feat(claude-code-hooks): improve session handling and add tests
🤖 Generated with assistance of OhMyOpenCode
This commit is contained in:
@@ -9,3 +9,9 @@ export function clearSessionHookState(sessionID: string): void {
|
||||
sessionInterruptState.delete(sessionID)
|
||||
sessionFirstMessageProcessed.delete(sessionID)
|
||||
}
|
||||
|
||||
export function clearAllSessionHookState(): void {
|
||||
sessionErrorState.clear()
|
||||
sessionInterruptState.clear()
|
||||
sessionFirstMessageProcessed.clear()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user