summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src
diff options
context:
space:
mode:
authorOpeOginni <[email protected]>2026-02-09 08:18:06 +0100
committerGitHub <[email protected]>2026-02-09 07:18:06 +0000
commit687210a55d6158a1f749b9f08333bd479853958f (patch)
treed2088e60f6d7185a519054658b3a212a237c11c2 /packages/desktop/src
parentb12eab782fab6039337ec2345cc708ea4957ca5e (diff)
downloadopencode-687210a55d6158a1f749b9f08333bd479853958f.tar.gz
opencode-687210a55d6158a1f749b9f08333bd479853958f.zip
feat(desktop): add isSidecar prop to AppInterface and logic to persist sidecar server urls (#12366)
Co-authored-by: Brendan Allan <[email protected]>
Diffstat (limited to 'packages/desktop/src')
-rw-r--r--packages/desktop/src/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/desktop/src/index.tsx b/packages/desktop/src/index.tsx
index dd78224e3..c0da8d254 100644
--- a/packages/desktop/src/index.tsx
+++ b/packages/desktop/src/index.tsx
@@ -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>
)