{"version":"2.1.299","anchor":"bridge-session-watch-via-sse","canonical_anchor":"bridge-session-watch-via-sse","heading":"Remote Control can watch for session changes instead of only polling","tier":"notice","area":"Remote Control","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299\/e\/bridge-session-watch-via-sse","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299","markdown":"### Remote Control can watch for session changes instead of only polling\n\nThe Remote Control bridge gains a sessions-watch stream that learns of new or changed sessions as they happen, controlled by four `watch_*` settings\n\n**Unclear.** The default value of `watch_sessions` is not stated, so it is unclear whether session watching is used by default.\n\n**What**\n\nRemote Control lets you reach a Claude Code session from another device. The part that talks to Anthropic's servers, the bridge, used to check for new work at fixed intervals, which is called polling.\n\n- The bridge now has a `sessionsWatch` client. It gets a resume token from `\/v1\/code\/sessions?limit=1` and opens a stream of server-sent events (a connection where the server pushes updates) at `\/v1\/code\/sessions\/watch`, sending the last event it saw so it can pick up where it left off.\n\n- A \"sync\" event marks the watcher as connected. \"added\" and \"changed\" events trigger an immediate check for work.\n\n- While the watcher is connected, its own pacing replaces the fixed poll intervals.\n\n- Four new settings in the bridge's server-supplied configuration control this: `watch_sessions`, `watch_connected_poll_interval_ms`, `watch_fallback_poll_interval_ms` and `watch_session_end_window_ms`.\n\n- The watcher starts only when the configuration has `watch_sessions` set and other checks pass, and stops otherwise.\n\n**Why**\n\nWhen the watcher runs, Remote Control can notice new sessions sooner and ask the server for updates less often. Whether it runs depends on configuration sent from the server.\n\n- Area: Remote Control\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}