fix: abort signal in polling loops, remove legacy k2p5, pass ctx.directory to skill tool

- Check context.abort in background-wait and background-output polling loops
- Remove legacy kimi-for-coding/k2p5 from athena fallback chain
- Pass ctx.directory from tool-registry to createSkillTool instead of process.cwd()
This commit is contained in:
ismeth
2026-02-20 21:10:54 +01:00
committed by YeonGyu-Kim
parent 15b2fe2534
commit 99e577d1e1
4 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ export function createSkillTool(options: SkillLoadOptions = {}): ToolDefinition
body = injectGitMasterConfig(body, options.gitMasterConfig)
}
const dir = matchedSkill.path ? dirname(matchedSkill.path) : matchedSkill.resolvedPath || process.cwd()
const dir = matchedSkill.path ? dirname(matchedSkill.path) : matchedSkill.resolvedPath || options.directory || process.cwd()
const output = [
`## Skill: ${matchedSkill.name}`,