[PR #2635] Add --server-url option to TUI command #10387

Closed
opened 2026-02-16 18:15:01 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2635

State: closed
Merged: No


  • 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.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2635 **State:** closed **Merged:** No --- - 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.
yindo added the pull-request label 2026-02-16 18:15:01 -05:00
yindo closed this issue 2026-02-16 18:15:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10387