Add --session flag to attach command to continue session via already running headless server #2092

Closed
opened 2026-02-16 17:34:07 -05:00 by yindo · 0 comments
Owner

Originally created by @netaneldr on GitHub (Oct 14, 2025).

I would like the cli's attach command to support --session flag to allow attaching tui instance with the specified session loading.

I tried to open this as a tiny PR but got rejected for not being a collaborator, so I'm trying to open this issue instead 🙏

https://github.com/sst/opencode/compare/sst:dev...ndraiman:ndraiman/tui-attach-session?expand=1

Add --session/-s flag to the attach command to allow continuing existing sessions.
The session ID is passed through to the TUI binary when specified.

Image
Originally created by @netaneldr on GitHub (Oct 14, 2025). I would like the cli's `attach` command to support `--session` flag to allow attaching tui instance with the specified session loading. I tried to open this as a tiny PR but got rejected for not being a collaborator, so I'm trying to open this issue instead 🙏 https://github.com/sst/opencode/compare/sst:dev...ndraiman:ndraiman/tui-attach-session?expand=1 > Add --session/-s flag to the attach command to allow continuing existing sessions. > The session ID is passed through to the TUI binary when specified. <img width="1250" height="909" alt="Image" src="https://github.com/user-attachments/assets/8b26a15e-6549-4d52-98cd-7cb2662c786b" />
yindo closed this issue 2026-02-16 17:34:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2092