-
Notifications
You must be signed in to change notification settings - Fork 5k
feat: support configuring default server URL for desktop #7363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Based on the search results, I found one potentially related PR: Related PR:
This PR is related because it also deals with desktop server configuration, though it focuses on port flexibility rather than the default server URL feature. It may be worth reviewing to understand the existing server configuration approach. The current PR (#7363) appears to be addressing a distinct feature: allowing the desktop app to connect to a pre-existing server instead of spawning its own sidecar, with UI for managing this connection preference. |
Allow desktop app to connect to an existing server instead of always spawning its own sidecar. On startup, if a default URL is configured, the app will attempt to connect to it. If unreachable, shows a dialog with Retry/Start Local options. - Add get_default_server_url/set_default_server_url Tauri commands - Add check_server_health() for remote server validation - Update startup logic to check configured URL before spawning sidecar - Pass serverUrl instead of port to frontend via __OPENCODE__ - Add Platform API methods for frontend access
f4c586e to
7a37df9
Compare
|
Hey! Your PR title Please update it to start with one of:
See CONTRIBUTING.md for details. |
|
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. |
|
@athal7 screenshots please! |
opencode-default-server.mov |
|
@Brendonovich you good with the tauri side of this one? |
6aa4260 to
d332c0d
Compare
Summary
Fixes #7371