Accept Claude Code's command_lifecycle stream events

This commit is contained in:
Ian Gulliver
2026-10-22 21:30:17 -07:00
parent 73291f7c35
commit 0233e2c310
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -56,6 +56,7 @@ var knownTypes = map[string]bool{
"control_response": true,
"control_cancel_request": true,
"keep_alive": true,
"command_lifecycle": true,
}
type Event struct {
@@ -585,7 +586,7 @@ func (s *Session) handleLine(line []byte) {
}
return
case "keep_alive":
case "keep_alive", "command_lifecycle":
return
}