Reload skills when extensions change (#18225)

This commit is contained in:
christine betts
2026-02-03 15:31:14 -05:00
committed by GitHub
parent 0f918f0cc8
commit 2cf3a14439
3 changed files with 13 additions and 0 deletions

View File

@@ -133,6 +133,7 @@ describe('ExtensionManager theme loading', () => {
}),
isTrustedFolder: () => true,
getImportFormat: () => 'tree',
reloadSkills: vi.fn(),
} as unknown as Config;
await extensionManager.start(mockConfig);
@@ -208,6 +209,7 @@ describe('ExtensionManager theme loading', () => {
getAgentRegistry: () => ({
reload: vi.fn().mockResolvedValue(undefined),
}),
reloadSkills: vi.fn(),
} as unknown as Config;
await extensionManager.start(mockConfig);