Stop extension MCPs from hopping into settings. (#1026)

This commit is contained in:
Tommaso Sciortino
2025-06-13 14:51:29 -07:00
committed by GitHub
parent bb67d31739
commit a2fe3d2ad0
4 changed files with 33 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ describe('loadExtensions', () => {
'ext1',
'1.0.0',
false,
'my-context.md',
'my-context-file.md',
);
const extensions = loadExtensions(tempWorkspaceDir);
@@ -80,7 +80,7 @@ describe('loadExtensions', () => {
expect(extensions).toHaveLength(1);
const ext1 = extensions.find((e) => e.config.name === 'ext1');
expect(ext1?.contextFiles).toEqual([
path.join(workspaceExtensionsDir, 'ext1', 'my-context.md'),
path.join(workspaceExtensionsDir, 'ext1', 'my-context-file.md'),
]);
});
});