agent/core/agent_loop.py emits Event("session_terminated", ...) when context compaction fails, however this event type is not handled in any consumer:
agent/main.py contains no case for "session_terminated" and falls through to the silent catch-all
- No existing event type definition for "session_terminated" in
frontend/src/types/events.ts
The event is emitted correctly, the gap being purely in the consumer layers.
agent/core/agent_loop.pyemits Event("session_terminated", ...) when context compaction fails, however this event type is not handled in any consumer:agent/main.pycontains no case for "session_terminated" and falls through to the silent catch-allfrontend/src/types/events.tsThe event is emitted correctly, the gap being purely in the consumer layers.