File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { log } from './debug'
77const STATUS_DIR = '/tmp/harness-status'
88const 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 }
You can’t perform that action at this time.
0 commit comments