feat(hooks): add pulse-monitor for token stall detection and auto-recovery

- Detect token stalls via message.part.updated heartbeat monitoring
- Support thinking/reasoning block detection with extended timeout
- Auto-recover: abort + 'continue' prompt on 5min stall
- Pause monitoring during tool execution
This commit is contained in:
YeonGyu-Kim
2025-12-06 11:17:55 +09:00
parent 359f04d93e
commit 1426544a8d
3 changed files with 148 additions and 1 deletions
+1
View File
@@ -4,3 +4,4 @@ export { createSessionNotification } from "./session-notification"
export { createSessionRecoveryHook } from "./session-recovery"
export { createCommentCheckerHooks } from "./comment-checker"
export { createGrepOutputTruncatorHook } from "./grep-output-truncator"
export { createPulseMonitorHook } from "./pulse-monitor"