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

Co-authored-by: Brendan Allan <git@brendonovich.dev>
This commit is contained in:
OpeOginni
2026-02-09 08:18:06 +01:00
committed by GitHub
parent b12eab782f
commit 687210a55d
3 changed files with 24 additions and 6 deletions

View File

@@ -404,6 +404,7 @@ render(() => {
window.__OPENCODE__ ??= {}
window.__OPENCODE__.serverPassword = data().password ?? undefined
function Inner() {
const cmd = useCommand()
@@ -413,7 +414,7 @@ render(() => {
}
return (
<AppInterface defaultUrl={data().url}>
<AppInterface defaultUrl={data().url} isSidecar>
<Inner />
</AppInterface>
)