Skip to content

Add --server-url option to TUI command - #2635

Closed
pigmej wants to merge 1 commit into
anomalyco:devfrom
pigmej:tui-connect-server
Closed

pigmej wants to merge 1 commit into
anomalyco:devfrom
pigmej:tui-connect-server

Conversation

@pigmej

@pigmej pigmej commented Sep 16, 2025

Copy link
Copy Markdown
  • Add --server-url option to allow connecting to existing server
  • When provided, uses the specified server URL instead of starting new server
  • Enables connecting TUI to external opencode server instances

Solves (?) #878

Run the server in one terminal like: opencode serve
Note the port & host (or specify it)
Then in another terminal, run opencode --server-url {url_from_above}

I checked the behaviour ONLY when they're both on the same physical OS, I have no idea if there are some other assumptions from TUI about machine location etc.

- Add --server-url option to allow connecting to existing server
- When provided, uses the specified server URL instead of starting new server
- Enables connecting TUI to external opencode server instances
@thdxr

thdxr commented Sep 17, 2025

Copy link
Copy Markdown
Member

i ended up just pushing an opencode attach <url> command - ty for prodding me though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants