fix(skill-tool): invalidate cached skill description on execute

This commit is contained in:
YeonGyu-Kim
2026-03-17 15:49:26 +09:00
parent d493f9ec3a
commit 0cf386ec52
2 changed files with 57 additions and 0 deletions
+1
View File
@@ -235,6 +235,7 @@ export function createSkillTool(options: SkillLoadOptions = {}): ToolDefinition
},
async execute(args: SkillArgs, ctx?: { agent?: string }) {
const skills = await getSkills()
cachedDescription = null
const commands = getCommands()
const requestedName = args.name.replace(/^\//, "")