@dashclaw/cli 0.7.0 → 0.7.3
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/lib/claude/install.js +4 -1
- package/lib/local-doctor.js +563 -532
- package/lib/up/db.js +355 -318
- package/lib/up/fetch-app.js +33 -18
- package/package.json +1 -1
package/lib/claude/install.js
CHANGED
|
@@ -187,7 +187,10 @@ async function downloadHooksBundle(endpoint, hooksDst, { fetchImpl = fetch } = {
|
|
|
187
187
|
// ---------------------------------------------------------------------------
|
|
188
188
|
|
|
189
189
|
const HOOK_EVENTS = {
|
|
190
|
-
|
|
190
|
+
// timeout is SECONDS (Claude Code hook schema). 3600000 was a ms value in a
|
|
191
|
+
// seconds field: seconds*1000 overflows the harness's 32-bit timer, the hook
|
|
192
|
+
// is cancelled instantly, and every block/approval wait FAILS OPEN.
|
|
193
|
+
PreToolUse: { matcher: 'Agent|Task|Workflow|Bash|Edit|Write|MultiEdit|Skill|mcp__.*', script: 'dashclaw_pretool.py', timeout: 3660 },
|
|
191
194
|
PostToolUse: { matcher: 'Agent|Task|Workflow|Bash|Edit|Write|MultiEdit|mcp__.*', script: 'dashclaw_posttool.py' },
|
|
192
195
|
Stop: { script: 'dashclaw_stop.py' },
|
|
193
196
|
};
|