fix(skill): recognize empty catalog tombstones

This commit is contained in:
Tianyi Cui
2026-07-29 20:44:06 +08:00
parent 709d545e7c
commit cf390cc6fd
2 changed files with 7 additions and 2 deletions

View File

@@ -320,6 +320,9 @@ describe('dsh-tool-skill', () => {
expect(JSON.stringify(removal.data.content)).toContain('No skills are currently available')
expect(JSON.stringify(removal.data.content)).not.toContain('first-skill')
expect(JSON.stringify(removal.data.content)).not.toContain('second-skill')
await fireStep(ctx, agent, 1, 4)
expect(catalogMessages(session)).toHaveLength(3)
})
it('resumes from the latest valid visible catalog content', async () => {