Skip to content

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

Merged
Brendonovich merged 7 commits intoanomalyco:devfrom
OpeOginni:fix/persist-desktop-sidecar
Feb 9, 2026
Merged

feat(desktop): add isSidecar prop to AppInterface and logic to persist sidecar server urls#12366
Brendonovich merged 7 commits intoanomalyco:devfrom
OpeOginni:fix/persist-desktop-sidecar

Conversation

@OpeOginni
Copy link
Copy Markdown
Contributor

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

Screen.Recording.2026-02-05.at.22.56.42.mov

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@Brendonovich Brendonovich enabled auto-merge (squash) February 9, 2026 07:17
@Brendonovich Brendonovich merged commit 687210a into anomalyco:dev Feb 9, 2026
6 checks passed
Colin4k1024 pushed a commit to Colin4k1024/opencode that referenced this pull request Feb 10, 2026
…t sidecar server urls (anomalyco#12366)

Co-authored-by: Brendan Allan <git@brendonovich.dev>
BryceRyan pushed a commit to BryceRyan/opencode that referenced this pull request Feb 10, 2026
…t sidecar server urls (anomalyco#12366)

Co-authored-by: Brendan Allan <git@brendonovich.dev>
relaxkeren pushed a commit to relaxkeren/opencode that referenced this pull request Feb 15, 2026
…t sidecar server urls (anomalyco#12366)

Co-authored-by: Brendan Allan <git@brendonovich.dev>
schneiderlo pushed a commit to schneiderlo/opencode that referenced this pull request Feb 17, 2026
…t sidecar server urls (anomalyco#12366)

Co-authored-by: Brendan Allan <git@brendonovich.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Desktop sidecar server url disappears when you switch servers

2 participants