Pass whole extensions rather than just context files (#10910)

Co-authored-by: Jake Macdonald <jakemac@google.com>
This commit is contained in:
Zack Birkenbuel
2025-10-20 16:15:23 -07:00
committed by GitHub
parent 6af2bff897
commit a240ecefcd
35 changed files with 487 additions and 1193 deletions

View File

@@ -73,13 +73,12 @@ export async function loadConfig(
};
const fileService = new FileDiscoveryService(workspaceDir);
const extensionContextFilePaths = extensions.flatMap((e) => e.contextFiles);
const { memoryContent, fileCount } = await loadServerHierarchicalMemory(
workspaceDir,
[workspaceDir],
false,
fileService,
extensionContextFilePaths,
extensions,
settings.folderTrust === true,
);
configParams.userMemory = memoryContent;