( skillName: string, args: string | undefined, skillContent: Pick<SkillContent, "source" | "description">, )
| 19 | type SkillContentForFormatting = Pick<SkillContent, "source" | "description" | "instructions"> |
| 20 | |
| 21 | export function buildSkillApprovalMessage( |
| 22 | skillName: string, |
| 23 | args: string | undefined, |
| 24 | skillContent: Pick<SkillContent, "source" | "description">, |
| 25 | ): string { |
| 26 | return JSON.stringify({ |
| 27 | tool: "skill", |
| 28 | skill: skillName, |
| 29 | args, |
| 30 | source: skillContent.source, |
| 31 | description: skillContent.description, |
| 32 | }) |
| 33 | } |
| 34 | |
| 35 | export function buildSkillResult( |
| 36 | skillName: string, |
no outgoing calls
no test coverage detected