Files
Cursor Agent 1cc9019479 fix: skip idle terminal.onEvent subscription and release pruned terminal buffers
- connection.ts: Only subscribe to client.terminal.onEvent when
  applyTerminalEvent handler is provided. No production caller passes
  this handler, so the subscription was a no-op wasting WebSocket traffic.

- terminalSessionState.ts: Reset buffer atoms to EMPTY_TERMINAL_BUFFER_STATE
  when metadata snapshot pruning removes terminals no longer reported by
  the server. Releases up to 512KB of retained string data per pruned
  terminal session on long-running clients.
2026-05-22 02:39:23 +00:00
..
2026-05-21 18:30:24 -07:00