feat: register anthropic-effort hook in plugin lifecycle

- Add "anthropic-effort" to HookNameSchema enum
- Import and create hook in plugin entry with isHookEnabled guard
- Wire chat.params event handler to invoke the effort hook
- First hook to use the chat.params lifecycle event from plugin
This commit is contained in:
YeonGyu-Kim
2026-02-06 21:47:18 +09:00
parent ab8b904b36
commit 02c87f74aa
2 changed files with 29 additions and 0 deletions
+1
View File
@@ -101,6 +101,7 @@ export const HookNameSchema = z.enum([
"stop-continuation-guard",
"tasks-todowrite-disabler",
"write-existing-file-guard",
"anthropic-effort",
])
export const BuiltinCommandNameSchema = z.enum([