feat(plugins): merge Skill management into plugins
This commit is contained in:
@@ -134,7 +134,7 @@ describe('CodingCapabilityRegistry', () => {
|
||||
expect(unavailable.tools).toEqual([]);
|
||||
});
|
||||
|
||||
it('does not wait for policy refresh when child or parent core-only resources cannot consume plugins', async () => {
|
||||
it('does not wait for policy refresh when child or legacy standalone assignments cannot consume plugins', async () => {
|
||||
const refresh = vi.fn(() => new Promise<void>(() => {}));
|
||||
const policyClient = { getState: () => policy, refresh };
|
||||
const child = await registry({ policyClient }).resolveWorkerResources({
|
||||
@@ -149,7 +149,7 @@ describe('CodingCapabilityRegistry', () => {
|
||||
});
|
||||
|
||||
expect(child.tools).toEqual([]);
|
||||
expect(coreOnly.effectiveSkillIds).toEqual(['grilling']);
|
||||
expect(coreOnly.effectiveSkillIds).toEqual([]);
|
||||
expect(refresh).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user