Skip to content

Commit 3827062

Browse files
committed
red-states-still-get-stuck (squashed)
1 parent a5e7555 commit 3827062

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/hooks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { log } from './debug'
77
const STATUS_DIR = '/tmp/harness-status'
88
const HARNESS_HOOK_MARKER = '__claude_harness__'
99
// Bump this when the hook format changes to force reinstallation
10-
const HARNESS_HOOK_VERSION = 5
10+
const HARNESS_HOOK_VERSION = 6
1111

1212
// Per-event hook commands. Each event type gets its own simple command
1313
// that writes the appropriate status. No jq dependency — these don't need
@@ -133,7 +133,7 @@ export function installHooks(worktreePath: string): void {
133133
settings.hooks['Stop'].push(makeHarnessHookEntry(makeHookCommand('waiting')))
134134

135135
// Processing signals
136-
for (const event of ['UserPromptSubmit', 'PreToolUse']) {
136+
for (const event of ['UserPromptSubmit', 'PreToolUse', 'PostToolUse']) {
137137
if (!settings.hooks[event]) settings.hooks[event] = []
138138
settings.hooks[event].push(makeHarnessHookEntry(makeHookCommand('processing')))
139139
}

0 commit comments

Comments
 (0)