You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v2: unconsumed server events — agent.selected, revert.committed, compaction.ended #527
While checking what else the server broadcasts (after #508 added session.model.selected), I diffed the event types in upstream's session-event.ts (2.0.28) against what the plugin actually consumes. Three gaps:
session.revert.committed — on the server this deletes messages for real (the projector removes rows from the boundary onward), so an undo in the TUI while the panel is open leaves us showing reverted messages until reopen.
session.compaction.ended — same class: compaction rewrites the message set, and auto-compaction can fire while the panel is open. We never react, so the list goes stale.
The remaining unconsumed types look fine to ignore (session.usage.recorded never reaches clients, session.message.content.updated is replay-only, the rest have no surface in nvim).
Happy to send a PR. agent.selected is a one-liner next to the existing model handler; revert/compaction probably just need to invalidate the messages sync so it re-pulls.
Activity