Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit 4b645ce

Browse files
authored
fix(agent): show skill name in permission prompt (#3128)
1 parent 889554a commit 4b645ce

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

packages/agent/src/adapters/claude/conversion/tool-use-to-acp.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,17 @@ export function toolInfoFromToolUse(
404404
content: [],
405405
};
406406

407+
case "Skill": {
408+
const skill = typeof input?.skill === "string" ? input.skill : undefined;
409+
const skillArgs =
410+
typeof input?.args === "string" ? input.args : undefined;
411+
return {
412+
title: skill ? `Skill: ${skill}` : "Skill",
413+
kind: "other",
414+
content: skillArgs ? toolContent().text(skillArgs).build() : [],
415+
};
416+
}
417+
407418
case "ExitPlanMode":
408419
return {
409420
title: "Ready to code?",

0 commit comments

Comments
 (0)