@dashclaw/cli 0.7.1 → 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.
@@ -187,7 +187,10 @@ async function downloadHooksBundle(endpoint, hooksDst, { fetchImpl = fetch } = {
187
187
  // ---------------------------------------------------------------------------
188
188
 
189
189
  const HOOK_EVENTS = {
190
- PreToolUse: { matcher: 'Agent|Task|Workflow|Bash|Edit|Write|MultiEdit|Skill|mcp__.*', script: 'dashclaw_pretool.py', timeout: 3600000 },
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
  };