Send To AI must not open a tab in sage's editor

FixKlusterServices
Shipped
September 5, 2026 at 1:42 AM UTC
Author
Kamo
Commit
53b1fd7

A Send-to-AI hand-off is hosted in a Remote Terminal the operator is already watching in the console. On top of that, the agent also handed the session to VS Code on the dev machine — `code --open-url graphical session — and what arrived there was a BLANK tab, unbidden, over whatever they were doing at the time. Blank because the extension renders a session it can attach to, and this one is live in an external tmux terminal it has no part in. Waiting for the transcript before opening, which `link_to_editor` already did, only rules out one of the two ways to get an empty tab; it cannot make the extension adopt a session that is being driven somewhere else. So the hand-off is removed rather than repaired. Its own docstring called it fire-and-forget and not load-bearing: nothing reads it, the terminal is the session's home, and the tab it opened was never the session anyway. the ONLY surface the session has, which is the difference between the two. `coderSessionId` stays, because `--session-id` still pins the transcript by name; only the editor half of what it was for is gone.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing