Repository navigation
feat: add prompt and attach options to other commands in cli - #7340
Closed
Killusions wants to merge 4 commits into
Closed
Killusions wants to merge 4 commits into
Killusions wants to merge 4 commits into
Conversation
Contributor
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
Killusions
force-pushed
the
feat/add-attach-option-to-other-commands-in-cli
branch
2 times, most recently
from
January 12, 2026 00:07
10a5591 to
582d395
Compare
Contributor
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Killusions
force-pushed
the
feat/add-attach-option-to-other-commands-in-cli
branch
4 times, most recently
from
January 16, 2026 13:51
33f61ba to
d65a3a9
Compare
Contributor
Author
|
Referenced an issue |
1 task done
Killusions
force-pushed
the
feat/add-attach-option-to-other-commands-in-cli
branch
from
January 16, 2026 15:12
d65a3a9 to
e963f9a
Compare
Killusions
force-pushed
the
feat/add-attach-option-to-other-commands-in-cli
branch
from
January 17, 2026 14:50
e963f9a to
b179b8a
Compare
Killusions
force-pushed
the
feat/add-attach-option-to-other-commands-in-cli
branch
2 times, most recently
from
January 26, 2026 12:29
7e20405 to
1ad9bf3
Compare
Killusions
force-pushed
the
feat/add-attach-option-to-other-commands-in-cli
branch
from
January 30, 2026 13:00
1ad9bf3 to
def72fe
Compare
opencode-agent
Bot
force-pushed
the
dev
branch
from
January 30, 2026 14:32
00637c0 to
71e0ba2
Compare
thdxr
force-pushed
the
dev
branch
2 times, most recently
from
January 30, 2026 14:37
f1ae801 to
08fa7f7
Compare
Killusions
force-pushed
the
feat/add-attach-option-to-other-commands-in-cli
branch
2 times, most recently
from
February 27, 2026 12:09
55e3fb9 to
1fe6bc6
Compare
Killusions
force-pushed
the
feat/add-attach-option-to-other-commands-in-cli
branch
from
March 2, 2026 09:20
1fe6bc6 to
6a53a81
Compare
Adds the --prompt option to the attach, acp, web and serve commands (where it starts a session) Close anomalyco#8890
Adds an --attach option similar to the attach command to the acp, web and server commands (where it proxies the remote server)
When attaching to a server, instead of starting a new session, allow resuming an existing one via URL (except for acp) Close anomalyco#8890
Killusions
force-pushed
the
feat/add-attach-option-to-other-commands-in-cli
branch
from
March 17, 2026 16:29
6a53a81 to
1952f1d
Compare
Contributor
Author
|
Closing not because it's no longer relevant but because with v2 it would have to be completely reimplemented. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the --prompt option to the attach, acp, web and serve commands (where it starts a session)
Adds an --attach option similar to the attach command to the acp, web and server commands (where it proxies the remote server)
Optionally when attaching to a server, instead of starting a new session, allow resuming an existing one via session URL
Also added
--sessionoption to the acp since the logic was already there for--attachAll tested manually (ACP with Zed) and added some tests. This allows a us to run the actual server in an isolated sandbox (only proxying out the server, optionally with initial prompt) and then proxy it forward on a secondary server (with correct cors options). We can then attach opencode cli or ACP clients.
Closes #8890