fix(opencode): avoid duplicate skill catalog (#31269)

This commit is contained in:
Aiden Cline
2026-06-07 13:34:01 -05:00
committed by GitHub
parent 233427f08e
commit aacdb34e3f
2 changed files with 3 additions and 21 deletions
@@ -68,6 +68,9 @@ Use this skill.
})).find((tool) => tool.id === SkillTool.id)
if (!tool) throw new Error("Skill tool not found")
expect(tool.description).not.toContain("tool-skill")
expect(tool.description).not.toContain("Skill for tool tests.")
const requests: Array<Omit<PermissionV1.Request, "id" | "sessionID" | "tool">> = []
const ctx: Tool.Context = {
...baseCtx,