feat: globalize Magic Notes and improve runtime tools

This commit is contained in:
lofyer
2026-08-10 10:27:14 +08:00
parent 1a8e110866
commit 5ea022ad5c
47 changed files with 2442 additions and 1177 deletions
@@ -241,6 +241,17 @@ describe('CapabilityService', () => {
await expect(
reloaded.getSkillInstructions('model', 10_000)
).resolves.toContain('仅用于离线测试')
await expect(
reloaded.getRuntimeSkillContext('model', 10_000)
).resolves.toMatchObject({
instructions: expect.stringContaining('仅用于离线测试'),
packages: [
{
id: 'document-writing',
directory: join(builtinRoot, 'document-writing')
}
]
})
})
it('imports and removes a managed SKILL.md package', async () => {