feat: refactor skill scripts into cli subcommands (#759)
This commit is contained in:
@@ -24,14 +24,6 @@ type Props = {
|
||||
// Horizontal line character for Claude Code style
|
||||
const SOLID_LINE = "─";
|
||||
|
||||
/**
|
||||
* Truncate text to max length with ellipsis
|
||||
*/
|
||||
function truncate(text: string, maxLength: number): string {
|
||||
if (text.length <= maxLength) return text;
|
||||
return `${text.slice(0, maxLength - 3)}...`;
|
||||
}
|
||||
|
||||
/**
|
||||
* InlineTaskApproval - Renders Task tool approval UI inline with pretty formatting
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user