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
This issue might be a duplicate of existing issues. Please check:
Add --session flag to attach command. #3166: Add --session flag to attach command - This was already implemented and closed, adding session support to the attach command which is similar to your request for attachable run command
While these issues focused on the attach command with session support, your request for opencode run --attach <server> to reduce MCP server cold boot time appears to be a related but distinct feature request for making the run command work with existing servers rather than starting fresh each time.
Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Oct 14, 2025
This issue might be a duplicate of existing issues. Please check:
--sessionflag toattachcommand. #3166: Add--sessionflag toattachcommand - This was already implemented and closed, adding session support to the attach command which is similar to your request for attachable run command--sessionflag toattachcommand to continue session via already running headless server #3165: Add--sessionflag toattachcommand to continue session via already running headless server - Another duplicate of the same functionality that was implementedWhile these issues focused on the
attachcommand with session support, your request foropencode run --attach <server>to reduce MCP server cold boot time appears to be a related but distinct feature request for making theruncommand work with existing servers rather than starting fresh each time.Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 15, 2025
hey thanks!
Adding headless support should be easy here, we have an example for how to do it in another cmd/*.ts file (since opencode can attach)
Fix: Add --attach flag to opencode run (Fixes anomalyco#3188)
monke-yo commentedon Nov 4, 2025
@rekram1-node check #3889
rekram1-node commentedon Nov 4, 2025
already did :)