[PR #12366] feat(desktop): add isSidecar prop to AppInterface and logic to persist sidecar server urls #14189

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

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

State: closed
Merged: Yes


What does this PR do?

Fixes #12362

It adds a isSidecar to the AppInterface and sets the defaultUrl to the server list store when the url is a sidecar (AKA launched from the Desktop).

In the Add we have a checker to make sure if that url is already in the list we dont add it again, and a proper cleanup removing the previous sidecar url from the lost.

How did you verify your code works?

Ran on my Local Dev

https://github.com/user-attachments/assets/99d09af0-c8ef-4b04-90c2-928a9c6c3db5

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12366 **State:** closed **Merged:** Yes --- ### What does this PR do? Fixes #12362 It adds a `isSidecar` to the AppInterface and sets the defaultUrl to the server list store when the url is a sidecar (AKA launched from the Desktop). In the Add we have a checker to make sure if that url is already in the list we dont add it again, and a proper cleanup removing the previous sidecar url from the lost. ### How did you verify your code works? Ran on my Local Dev https://github.com/user-attachments/assets/99d09af0-c8ef-4b04-90c2-928a9c6c3db5
yindo added the pull-request label 2026-02-16 18:19:00 -05:00
yindo closed this issue 2026-02-16 18:19:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14189