|
47 | 47 | "hooks": [ |
48 | 48 | { |
49 | 49 | "type": "command", |
50 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" pre-bash", |
| 50 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" pre-bash", |
51 | 51 | "timeout": 5000 |
52 | 52 | } |
53 | 53 | ] |
|
59 | 59 | "hooks": [ |
60 | 60 | { |
61 | 61 | "type": "command", |
62 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" post-edit", |
| 62 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" post-edit", |
63 | 63 | "timeout": 10000 |
64 | 64 | } |
65 | 65 | ] |
|
70 | 70 | "hooks": [ |
71 | 71 | { |
72 | 72 | "type": "command", |
73 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" route", |
| 73 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" route", |
74 | 74 | "timeout": 10000 |
75 | 75 | } |
76 | 76 | ] |
|
81 | 81 | "hooks": [ |
82 | 82 | { |
83 | 83 | "type": "command", |
84 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" session-restore", |
| 84 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" session-restore", |
85 | 85 | "timeout": 15000 |
86 | 86 | }, |
87 | 87 | { |
88 | 88 | "type": "command", |
89 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/auto-memory-hook.mjs\" import", |
| 89 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/auto-memory-hook.mjs\" import", |
90 | 90 | "timeout": 8000 |
91 | 91 | } |
92 | 92 | ] |
|
97 | 97 | "hooks": [ |
98 | 98 | { |
99 | 99 | "type": "command", |
100 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" session-end", |
| 100 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" session-end", |
101 | 101 | "timeout": 10000 |
102 | 102 | } |
103 | 103 | ] |
|
108 | 108 | "hooks": [ |
109 | 109 | { |
110 | 110 | "type": "command", |
111 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/auto-memory-hook.mjs\" sync", |
| 111 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/auto-memory-hook.mjs\" sync", |
112 | 112 | "timeout": 10000 |
113 | 113 | } |
114 | 114 | ] |
|
120 | 120 | "hooks": [ |
121 | 121 | { |
122 | 122 | "type": "command", |
123 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" compact-manual" |
| 123 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" compact-manual" |
124 | 124 | }, |
125 | 125 | { |
126 | 126 | "type": "command", |
127 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" session-end", |
| 127 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" session-end", |
128 | 128 | "timeout": 5000 |
129 | 129 | } |
130 | 130 | ] |
|
134 | 134 | "hooks": [ |
135 | 135 | { |
136 | 136 | "type": "command", |
137 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" compact-auto" |
| 137 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" compact-auto" |
138 | 138 | }, |
139 | 139 | { |
140 | 140 | "type": "command", |
141 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" session-end", |
| 141 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" session-end", |
142 | 142 | "timeout": 6000 |
143 | 143 | } |
144 | 144 | ] |
|
149 | 149 | "hooks": [ |
150 | 150 | { |
151 | 151 | "type": "command", |
152 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" status", |
| 152 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" status", |
153 | 153 | "timeout": 3000 |
154 | 154 | } |
155 | 155 | ] |
|
160 | 160 | "hooks": [ |
161 | 161 | { |
162 | 162 | "type": "command", |
163 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" post-task", |
| 163 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" post-task", |
164 | 164 | "timeout": 5000 |
165 | 165 | } |
166 | 166 | ] |
|
171 | 171 | "hooks": [ |
172 | 172 | { |
173 | 173 | "type": "command", |
174 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" post-task", |
| 174 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" post-task", |
175 | 175 | "timeout": 5000 |
176 | 176 | } |
177 | 177 | ] |
|
286 | 286 | }, |
287 | 287 | "statusLine": { |
288 | 288 | "type": "command", |
289 | | - "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/statusline.cjs\"" |
| 289 | + "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/statusline.cjs\"" |
290 | 290 | }, |
291 | 291 | "mcpServers": { |
292 | 292 | "claude-flow": { |
|
0 commit comments