|
1 | 1 | { |
2 | | - "model": "opus", |
| 2 | + "permissions": { |
| 3 | + "allow": [ |
| 4 | + "Bash(git* ls-tree *)", |
| 5 | + "Bash(git* rebase --continue)", |
| 6 | + "Bash(git* reset)", |
| 7 | + "Bash(git* rev-parse *)", |
| 8 | + "Bash(gh run list *)", |
| 9 | + "Bash(./gradlew *)", |
| 10 | + "Bash(grep *)", |
| 11 | + "Bash(rtk diff *)", |
| 12 | + "Bash(rtk find *)", |
| 13 | + "Bash(rtk git* branch)", |
| 14 | + "Bash(rtk git* diff *)", |
| 15 | + "Bash(rtk git* fetch origin *)", |
| 16 | + "Bash(rtk git* log *)", |
| 17 | + "Bash(rtk git* show *)", |
| 18 | + "Bash(rtk git* status)", |
| 19 | + "Bash(rtk git* status *)", |
| 20 | + "Bash(rtk grep *)", |
| 21 | + "Bash(rtk ls *)", |
| 22 | + "Bash(rtk ps *)", |
| 23 | + "Bash(rtk read *)", |
| 24 | + "Bash(rtk tree *)", |
| 25 | + "Bash(rtk wc *)", |
| 26 | + "Bash(tee *)", |
| 27 | + "Bash(xargs ls *)", |
| 28 | + "Bash(xargs sed *)", |
| 29 | + "Read(~/.claude/plugins/cache)", |
| 30 | + "Read(~/.claude/projects)" |
| 31 | + ], |
| 32 | + "additionalDirectories": [ |
| 33 | + "~/.claude/plugins/cache", |
| 34 | + "~/.claude/projects" |
| 35 | + ] |
| 36 | + }, |
| 37 | + "model": "us.anthropic.claude-opus-4-6-v1", |
3 | 38 | "hooks": { |
4 | 39 | "Notification": [ |
5 | 40 | { |
6 | | - "matcher": "", |
7 | 41 | "hooks": [ |
8 | 42 | { |
9 | 43 | "type": "command", |
10 | 44 | "command": "terminal-notifier -title \"🔔 Claude Code\" -message \"Claude needs your input\" -sound Blow" |
11 | 45 | } |
12 | 46 | ] |
| 47 | + }, |
| 48 | + { |
| 49 | + "matcher": "permission_prompt|elicitation_dialog", |
| 50 | + "hooks": [ |
| 51 | + { |
| 52 | + "type": "command", |
| 53 | + "command": "agent-deck hook-handler", |
| 54 | + "async": true |
| 55 | + } |
| 56 | + ] |
13 | 57 | } |
14 | 58 | ], |
15 | | - "Stop": [ |
| 59 | + "PermissionRequest": [ |
16 | 60 | { |
17 | | - "matcher": "", |
18 | 61 | "hooks": [ |
19 | 62 | { |
20 | 63 | "type": "command", |
21 | | - "command": "terminal-notifier -title \"✅ Claude Code\" -message \"Claude has finished the task\" -sound Blow" |
| 64 | + "command": "agent-deck hook-handler" |
| 65 | + } |
| 66 | + ] |
| 67 | + } |
| 68 | + ], |
| 69 | + "PreCompact": [ |
| 70 | + { |
| 71 | + "hooks": [ |
| 72 | + { |
| 73 | + "type": "command", |
| 74 | + "command": "agent-deck hook-handler" |
22 | 75 | } |
23 | 76 | ] |
24 | 77 | } |
|
33 | 86 | } |
34 | 87 | ] |
35 | 88 | } |
| 89 | + ], |
| 90 | + "SessionEnd": [ |
| 91 | + { |
| 92 | + "hooks": [ |
| 93 | + { |
| 94 | + "type": "command", |
| 95 | + "command": "agent-deck hook-handler", |
| 96 | + "async": true |
| 97 | + } |
| 98 | + ] |
| 99 | + } |
| 100 | + ], |
| 101 | + "SessionStart": [ |
| 102 | + { |
| 103 | + "hooks": [ |
| 104 | + { |
| 105 | + "type": "command", |
| 106 | + "command": "agent-deck hook-handler", |
| 107 | + "async": true |
| 108 | + } |
| 109 | + ] |
| 110 | + } |
| 111 | + ], |
| 112 | + "Stop": [ |
| 113 | + { |
| 114 | + "hooks": [ |
| 115 | + { |
| 116 | + "type": "command", |
| 117 | + "command": "terminal-notifier -title \"✅ Claude Code\" -message \"Claude has finished the task\" -sound Blow" |
| 118 | + }, |
| 119 | + { |
| 120 | + "type": "command", |
| 121 | + "command": "agent-deck hook-handler", |
| 122 | + "async": true |
| 123 | + } |
| 124 | + ] |
| 125 | + } |
| 126 | + ], |
| 127 | + "UserPromptSubmit": [ |
| 128 | + { |
| 129 | + "hooks": [ |
| 130 | + { |
| 131 | + "type": "command", |
| 132 | + "command": "agent-deck hook-handler", |
| 133 | + "async": true |
| 134 | + } |
| 135 | + ] |
| 136 | + } |
36 | 137 | ] |
37 | 138 | }, |
38 | 139 | "statusLine": { |
|
0 commit comments