MCPcopy Create free account
hub / github.com/Ark0N/Codeman / startHookConfirmTimer

Method startHookConfirmTimer

src/respawn-controller.ts:2469–2499  ·  view source on GitHub ↗

* Start a short confirmation timer after receiving a hook signal. * This handles race conditions where a hook arrives but Claude immediately starts new work. * * @param hookType - Which hook triggered this ('stop' or 'idle_prompt')

(hookType: 'stop' | 'idle_prompt')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

signalStopHookMethod · 0.95

Calls 10

cancelTrackedTimerMethod · 0.95
startTrackedTimerMethod · 0.95
logMethod · 0.95
logActionMethod · 0.95
setStateMethod · 0.95
resetHookStateMethod · 0.95
startNoOutputTimerMethod · 0.95
startPreFilterTimerMethod · 0.95
startAutoAcceptTimerMethod · 0.95
onIdleConfirmedMethod · 0.95

Tested by

no test coverage detected