mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-06 16:31:12 +08:00
feat: enhance hook templates management by adding protection category and improving command safety
This commit is contained in:
@@ -745,8 +745,8 @@ async function templateAction(subcommand: string, args: string[], options: HookO
|
||||
listTemplatesByCategory,
|
||||
executeTemplate,
|
||||
installTemplateToSettings,
|
||||
type HookInputData,
|
||||
} = await import('../core/hooks/hook-templates.js');
|
||||
type HookInputData = import('../core/hooks/hook-templates.js').HookInputData;
|
||||
|
||||
switch (subcommand) {
|
||||
case 'list': {
|
||||
|
||||
Reference in New Issue
Block a user