@monoes/monomindcli 2.10.21 → 2.10.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.claude/settings.json
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"hooks": [
|
|
51
51
|
{
|
|
52
52
|
"type": "command",
|
|
53
|
-
"command": "node \"$
|
|
53
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" pre-bash'",
|
|
54
54
|
"timeout": 5000
|
|
55
55
|
}
|
|
56
56
|
]
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"hooks": [
|
|
61
61
|
{
|
|
62
62
|
"type": "command",
|
|
63
|
-
"command": "node \"$
|
|
63
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" pre-search'",
|
|
64
64
|
"timeout": 4000
|
|
65
65
|
}
|
|
66
66
|
]
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"hooks": [
|
|
71
71
|
{
|
|
72
72
|
"type": "command",
|
|
73
|
-
"command": "node \"$
|
|
73
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" pre-write'",
|
|
74
74
|
"timeout": 3000
|
|
75
75
|
}
|
|
76
76
|
]
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"hooks": [
|
|
81
81
|
{
|
|
82
82
|
"type": "command",
|
|
83
|
-
"command": "node \"$
|
|
83
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" pre-tool'",
|
|
84
84
|
"timeout": 2000
|
|
85
85
|
}
|
|
86
86
|
]
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"hooks": [
|
|
91
91
|
{
|
|
92
92
|
"type": "command",
|
|
93
|
-
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/handlers/capture-handler.cjs\" pretool",
|
|
93
|
+
"command": "node \"$(p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; echo \"$p\")/.claude/helpers/handlers/capture-handler.cjs\" pretool",
|
|
94
94
|
"timeout": 2000
|
|
95
95
|
}
|
|
96
96
|
]
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"hooks": [
|
|
103
103
|
{
|
|
104
104
|
"type": "command",
|
|
105
|
-
"command": "node \"$
|
|
105
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" post-edit'",
|
|
106
106
|
"timeout": 10000
|
|
107
107
|
}
|
|
108
108
|
]
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"hooks": [
|
|
113
113
|
{
|
|
114
114
|
"type": "command",
|
|
115
|
-
"command": "node \"$
|
|
115
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/loop-tracker.cjs\"'",
|
|
116
116
|
"timeout": 3000
|
|
117
117
|
}
|
|
118
118
|
]
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"hooks": [
|
|
123
123
|
{
|
|
124
124
|
"type": "command",
|
|
125
|
-
"command": "node \"$
|
|
125
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" post-graph-tool'",
|
|
126
126
|
"timeout": 2000
|
|
127
127
|
}
|
|
128
128
|
]
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"hooks": [
|
|
133
133
|
{
|
|
134
134
|
"type": "command",
|
|
135
|
-
"command": "node \"$
|
|
135
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" post-tool'",
|
|
136
136
|
"timeout": 2000
|
|
137
137
|
}
|
|
138
138
|
]
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"hooks": [
|
|
143
143
|
{
|
|
144
144
|
"type": "command",
|
|
145
|
-
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/handlers/capture-handler.cjs\" posttool",
|
|
145
|
+
"command": "node \"$(p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; echo \"$p\")/.claude/helpers/handlers/capture-handler.cjs\" posttool",
|
|
146
146
|
"timeout": 3000
|
|
147
147
|
}
|
|
148
148
|
]
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"hooks": [
|
|
154
154
|
{
|
|
155
155
|
"type": "command",
|
|
156
|
-
"command": "node \"$
|
|
156
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" notification'",
|
|
157
157
|
"timeout": 2000
|
|
158
158
|
}
|
|
159
159
|
]
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"hooks": [
|
|
166
166
|
{
|
|
167
167
|
"type": "command",
|
|
168
|
-
"command": "node \"$
|
|
168
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/monolean-tracker.cjs\"'",
|
|
169
169
|
"timeout": 3000
|
|
170
170
|
}
|
|
171
171
|
]
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
"hooks": [
|
|
175
175
|
{
|
|
176
176
|
"type": "command",
|
|
177
|
-
"command": "node \"$
|
|
177
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" route'",
|
|
178
178
|
"timeout": 10000
|
|
179
179
|
}
|
|
180
180
|
]
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"hooks": [
|
|
184
184
|
{
|
|
185
185
|
"type": "command",
|
|
186
|
-
"command": "node \"$
|
|
186
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" user-prompt'",
|
|
187
187
|
"timeout": 2000
|
|
188
188
|
}
|
|
189
189
|
]
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"hooks": [
|
|
196
196
|
{
|
|
197
197
|
"type": "command",
|
|
198
|
-
"command": "node \"$
|
|
198
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/mastermind-activate.cjs\"'",
|
|
199
199
|
"timeout": 5000
|
|
200
200
|
}
|
|
201
201
|
]
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"hooks": [
|
|
206
206
|
{
|
|
207
207
|
"type": "command",
|
|
208
|
-
"command": "node \"$
|
|
208
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/monolean-activate.cjs\"'",
|
|
209
209
|
"timeout": 5000
|
|
210
210
|
}
|
|
211
211
|
]
|
|
@@ -214,22 +214,22 @@
|
|
|
214
214
|
"hooks": [
|
|
215
215
|
{
|
|
216
216
|
"type": "command",
|
|
217
|
-
"command": "node \"$
|
|
217
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" session-restore'",
|
|
218
218
|
"timeout": 15000
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"type": "command",
|
|
222
|
-
"command": "node \"$
|
|
222
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/graphify-freshen.cjs\"'",
|
|
223
223
|
"timeout": 5000
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
"type": "command",
|
|
227
|
-
"command": "node \"$
|
|
227
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/control-start.cjs\"'",
|
|
228
228
|
"timeout": 5000
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
231
|
"type": "command",
|
|
232
|
-
"command": "node \"$
|
|
232
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" session-start'",
|
|
233
233
|
"timeout": 2000
|
|
234
234
|
}
|
|
235
235
|
]
|
|
@@ -240,17 +240,17 @@
|
|
|
240
240
|
"hooks": [
|
|
241
241
|
{
|
|
242
242
|
"type": "command",
|
|
243
|
-
"command": "node \"$
|
|
243
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" session-end'",
|
|
244
244
|
"timeout": 10000
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
"type": "command",
|
|
248
|
-
"command": "node \"$
|
|
248
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/control-stop.cjs\" --session'",
|
|
249
249
|
"timeout": 5000
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
"type": "command",
|
|
253
|
-
"command": "node \"$
|
|
253
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" session-end'",
|
|
254
254
|
"timeout": 2000
|
|
255
255
|
}
|
|
256
256
|
]
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
"hooks": [
|
|
262
262
|
{
|
|
263
263
|
"type": "command",
|
|
264
|
-
"command": "node \"$
|
|
264
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" stop'",
|
|
265
265
|
"timeout": 2000
|
|
266
266
|
}
|
|
267
267
|
]
|
|
@@ -273,16 +273,16 @@
|
|
|
273
273
|
"hooks": [
|
|
274
274
|
{
|
|
275
275
|
"type": "command",
|
|
276
|
-
"command": "node \"$
|
|
276
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" compact-manual'"
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
279
|
"type": "command",
|
|
280
|
-
"command": "node \"$
|
|
280
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" session-end'",
|
|
281
281
|
"timeout": 5000
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"type": "command",
|
|
285
|
-
"command": "node \"$
|
|
285
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" compact'",
|
|
286
286
|
"timeout": 2000
|
|
287
287
|
}
|
|
288
288
|
]
|
|
@@ -292,16 +292,16 @@
|
|
|
292
292
|
"hooks": [
|
|
293
293
|
{
|
|
294
294
|
"type": "command",
|
|
295
|
-
"command": "node \"$
|
|
295
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" compact-auto'"
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"type": "command",
|
|
299
|
-
"command": "node \"$
|
|
299
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" session-end'",
|
|
300
300
|
"timeout": 6000
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
303
|
"type": "command",
|
|
304
|
-
"command": "node \"$
|
|
304
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" compact'",
|
|
305
305
|
"timeout": 2000
|
|
306
306
|
}
|
|
307
307
|
]
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
"hooks": [
|
|
314
314
|
{
|
|
315
315
|
"type": "command",
|
|
316
|
-
"command": "node \"$
|
|
316
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/monolean-propagate.cjs\"'",
|
|
317
317
|
"timeout": 3000
|
|
318
318
|
}
|
|
319
319
|
]
|
|
@@ -322,22 +322,22 @@
|
|
|
322
322
|
"hooks": [
|
|
323
323
|
{
|
|
324
324
|
"type": "command",
|
|
325
|
-
"command": "node \"$
|
|
325
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" agent-start'",
|
|
326
326
|
"timeout": 3000
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"type": "command",
|
|
330
|
-
"command": "node \"$
|
|
330
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/hook-handler.cjs\" pre-task'",
|
|
331
331
|
"timeout": 3000
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
334
|
"type": "command",
|
|
335
|
-
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/handlers/capture-handler.cjs\" subagent-start",
|
|
335
|
+
"command": "node \"$(p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; echo \"$p\")/.claude/helpers/handlers/capture-handler.cjs\" subagent-start",
|
|
336
336
|
"timeout": 4000
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
339
|
"type": "command",
|
|
340
|
-
"command": "node \"$
|
|
340
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" subagent-start'",
|
|
341
341
|
"timeout": 2000
|
|
342
342
|
}
|
|
343
343
|
]
|
|
@@ -348,12 +348,12 @@
|
|
|
348
348
|
"hooks": [
|
|
349
349
|
{
|
|
350
350
|
"type": "command",
|
|
351
|
-
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/handlers/capture-handler.cjs\" subagent-stop",
|
|
351
|
+
"command": "node \"$(p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; echo \"$p\")/.claude/helpers/handlers/capture-handler.cjs\" subagent-stop",
|
|
352
352
|
"timeout": 8000
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
355
|
"type": "command",
|
|
356
|
-
"command": "node \"$
|
|
356
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/event-logger.cjs\" subagent-stop'",
|
|
357
357
|
"timeout": 2000
|
|
358
358
|
}
|
|
359
359
|
]
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
},
|
|
459
459
|
"statusLine": {
|
|
460
460
|
"type": "command",
|
|
461
|
-
"command": "node \"$
|
|
461
|
+
"command": "sh -c 'p=\"$CLAUDE_PROJECT_DIR\"; [ -d \"$p/.claude/helpers\" ] || p=\"$PWD\"; while [ ! -d \"$p/.claude/helpers\" ] && [ \"$p\" != \"/\" ]; do p=$(dirname \"$p\"); done; exec node \"$p/.claude/helpers/statusline.cjs\"'"
|
|
462
462
|
},
|
|
463
463
|
"mcpServers": {
|
|
464
464
|
"monomind": {
|
|
@@ -473,4 +473,4 @@
|
|
|
473
473
|
"enabledMcpjsonServers": [
|
|
474
474
|
"monomind"
|
|
475
475
|
]
|
|
476
|
-
}
|
|
476
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-generator.d.ts","sourceRoot":"","sources":["../../../src/init/settings-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,YAAY,CAAC;AAG3D;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAiI7D;
|
|
1
|
+
{"version":3,"file":"settings-generator.d.ts","sourceRoot":"","sources":["../../../src/init/settings-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,YAAY,CAAC;AAG3D;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAiI7D;AAmWD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAGjE"}
|
|
@@ -130,7 +130,23 @@ export function generateSettings(options) {
|
|
|
130
130
|
return settings;
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* POSIX shell snippet assigning the real project directory to $p.
|
|
134
|
+
*
|
|
135
|
+
* $CLAUDE_PROJECT_DIR can come up empty (observed in a live session after an
|
|
136
|
+
* EnterWorktree/ExitWorktree cycle) or stale/wrong — blindly trusting it (or
|
|
137
|
+
* blindly falling back to a bare `.`) breaks every hook with a cryptic Node
|
|
138
|
+
* MODULE_NOT_FOUND before the script even starts, on every tool call. This
|
|
139
|
+
* validates the env var against the actual helpers directory, falls back to
|
|
140
|
+
* $PWD (same validation), and — since a hook can fire with cwd inside a
|
|
141
|
+
* subdirectory of the project — walks up parent directories (the same way
|
|
142
|
+
* git looks for `.git`) until `.claude/helpers` is found or the filesystem
|
|
143
|
+
* root is hit. `dirname` shortens the path monotonically, so this always
|
|
144
|
+
* terminates in at most a few iterations; it never loops.
|
|
145
|
+
*/
|
|
146
|
+
const RESOLVE_PROJECT_DIR_ASSIGN = 'p="$CLAUDE_PROJECT_DIR"; [ -d "$p/.claude/helpers" ] || p="$PWD"; ' +
|
|
147
|
+
'while [ ! -d "$p/.claude/helpers" ] && [ "$p" != "/" ]; do p=$(dirname "$p"); done;';
|
|
148
|
+
/**
|
|
149
|
+
* Build a hook command with reliable project-directory resolution.
|
|
134
150
|
*
|
|
135
151
|
* Uses portable `node` (resolved from PATH at runtime) instead of baking
|
|
136
152
|
* the absolute `process.execPath` from the machine that ran `monomind init`.
|
|
@@ -142,9 +158,7 @@ export function generateSettings(options) {
|
|
|
142
158
|
* on PATH for nvm/fnm/volta-managed installs that load via shell profile.
|
|
143
159
|
*/
|
|
144
160
|
function hookCmd(script, subcommand) {
|
|
145
|
-
|
|
146
|
-
const dir = '${CLAUDE_PROJECT_DIR:-.}';
|
|
147
|
-
return `sh -c 'exec node "${dir}/${script}" ${subcommand}'`;
|
|
161
|
+
return `sh -c '${RESOLVE_PROJECT_DIR_ASSIGN} exec node "$p/${script}" ${subcommand}'`;
|
|
148
162
|
}
|
|
149
163
|
/** Shorthand for CJS hook-handler commands */
|
|
150
164
|
function hookHandlerCmd(subcommand) {
|
|
@@ -156,16 +170,14 @@ function autoMemoryCmd(subcommand) {
|
|
|
156
170
|
}
|
|
157
171
|
/** Shorthand for capture-handler (agent telemetry for org dashboard) */
|
|
158
172
|
function captureHandlerCmd(subcommand) {
|
|
159
|
-
// capture-handler reads stdin directly — no sh -c wrapper
|
|
160
|
-
//
|
|
161
|
-
|
|
162
|
-
return `node "${
|
|
173
|
+
// capture-handler reads stdin directly — no sh -c/exec wrapper, so the
|
|
174
|
+
// directory is resolved in a nested subshell instead of the outer
|
|
175
|
+
// invocation, keeping `node` itself as the one and only process.
|
|
176
|
+
return `node "$(${RESOLVE_PROJECT_DIR_ASSIGN} echo "$p")/.claude/helpers/handlers/capture-handler.cjs" ${subcommand}`;
|
|
163
177
|
}
|
|
164
178
|
/** Shorthand for standalone CJS helper scripts (no subcommand) */
|
|
165
179
|
function standaloneHelperCmd(script) {
|
|
166
|
-
|
|
167
|
-
const dir = '${CLAUDE_PROJECT_DIR:-.}';
|
|
168
|
-
return `sh -c 'exec node "${dir}/.claude/helpers/${script}"'`;
|
|
180
|
+
return `sh -c '${RESOLVE_PROJECT_DIR_ASSIGN} exec node "$p/.claude/helpers/${script}"'`;
|
|
169
181
|
}
|
|
170
182
|
/**
|
|
171
183
|
* Generate statusLine configuration for Claude Code
|
|
@@ -175,11 +187,9 @@ function generateStatusLineConfig(_options) {
|
|
|
175
187
|
// Claude Code pipes JSON session data to the script via stdin.
|
|
176
188
|
// Valid fields: type, command, padding (optional).
|
|
177
189
|
// The script runs after each assistant message (debounced 300ms).
|
|
178
|
-
// eslint-disable-next-line no-template-curly-in-string
|
|
179
|
-
const dir = '${CLAUDE_PROJECT_DIR:-.}';
|
|
180
190
|
return {
|
|
181
191
|
type: 'command',
|
|
182
|
-
command: `sh -c 'exec node "$
|
|
192
|
+
command: `sh -c '${RESOLVE_PROJECT_DIR_ASSIGN} exec node "$p/.claude/helpers/statusline.cjs"'`,
|
|
183
193
|
};
|
|
184
194
|
}
|
|
185
195
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-generator.js","sourceRoot":"","sources":["../../../src/init/settings-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,OAAoB;IACnD,MAAM,QAAQ,GAA4B,EAAE,CAAC;IAE7C,uBAAuB;IACvB,IAAI,OAAO,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAChC,QAAQ,CAAC,KAAK,GAAG,mBAAmB,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;IACnF,CAAC;IAED,0CAA0C;IAC1C,IAAI,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC;QAC/B,QAAQ,CAAC,UAAU,GAAG,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,kBAAkB;IAClB,0CAA0C;IAC1C,uEAAuE;IACvE,0EAA0E;IAC1E,2EAA2E;IAC3E,mDAAmD;IACnD,QAAQ,CAAC,WAAW,GAAG;QACrB,KAAK,EAAE;YACL,uBAAuB;YACvB,sBAAsB;YACtB,yBAAyB;YACzB,sBAAsB;YACtB,8BAA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,OAAO,EAAE,IAAI;oBACb,aAAa,EAAE,IAAI;oBACnB,UAAU,EAAE,IAAI;iBACjB;aACF;SACF;QACD,SAAS,EAAE;YACT,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC,QAAQ;YAClC,SAAS,EAAE,OAAO,CAAC,OAAO,CAAC,SAAS;SACrC;QACD,MAAM,EAAE;YACN,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,aAAa;YACtC,cAAc,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,oBAAoB,IAAI,IAAI,EAAE;YACzE,WAAW,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,iBAAiB,IAAI,IAAI,EAAE;SACpE;QACD,MAAM,EAAE;YACN,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,YAAY;SACtC;QACD,QAAQ,EAAE;YACR,OAAO,EAAE,IAAI;YACb,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,CAAC,cAAc,EAAE,cAAc,EAAE,YAAY,CAAC;YACxD,SAAS,EAAE;gBACT,SAAS,EAAE,KAAK;gBAChB,QAAQ,EAAE,KAAK;aAChB;SACF;QACD,GAAG,EAAE;YACH,YAAY,EAAE,IAAI;YAClB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,MAAM;SACjB;QACD,GAAG,EAAE;YACH,YAAY,EAAE,IAAI;YAClB,uBAAuB,EAAE,IAAI;YAC7B,SAAS,EAAE,WAAW;SACvB;QACD,QAAQ,EAAE;YACR,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,IAAI;SAClB;KACF,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAS,OAAO,CAAC,MAAc,EAAE,UAAkB;IACjD,
|
|
1
|
+
{"version":3,"file":"settings-generator.js","sourceRoot":"","sources":["../../../src/init/settings-generator.ts"],"names":[],"m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