Commit graph

668 commits

Author SHA1 Message Date
Luke Parker
a4ce0b0989
fix(desktop): drive the IPC port handshake and event stream through state machines (#61953) 2026-11-05 00:03:43 -06:00
Luke Parker
36f40c852c
fix(desktop): native menu routing and plugin instance lifecycle as state machines (#61946) 2026-11-04 23:18:16 -06:00
Luke Parker
0d18f558b0
fix(desktop): model migration poll, picked files, plugin host follow and zoom as state machines (#61926) 2026-11-04 22:37:32 -06:00
Luke Parker
483969a884
fix(desktop): drive renderer recovery with an explicit state machine (#61908) 2026-11-04 21:45:32 -06:00
Luke Parker
d1da4264a9
fix(desktop): serialize force focus and fix the debug bar toggle (#61885) 2026-11-04 21:07:21 -06:00
Luke Parker
1a2505118f
fix(desktop): retry failed storage writes and refuse writes after close (#61804) 2026-11-04 16:25:22 -06:00
Luke Parker
2e5d757adc
fix(desktop): adopt the early window through an explicit state machine (#61800) 2026-11-04 16:25:12 -06:00
Luke Parker
ce5c980f8b
fix(desktop): bound the renderer startup splash with an explicit state machine (#61798) 2026-11-04 16:25:02 -06:00
Luke Parker
2047c0d4fd
fix(desktop): serialize background service connects through one state machine (#61748) 2026-11-04 14:38:43 -06:00
Luke Parker
d356b9b249
fix(desktop): reveal hidden windows on a bounded fallback and before recovery dialogs (#61743) 2026-11-04 13:56:42 -06:00
Luke Parker
1a8a369af7
fix(desktop): retry plugin host and CLI loads after a transient failure (#61720) 2026-11-04 13:09:11 -06:00
Luke Parker
4a6067d85c
fix(desktop): restart plugins when an update handoff fails (#61649) 2026-11-04 17:14:54 +00:00
Luke Parker
9a7f22a776
fix(app): derive server controllers from an explicit lifecycle machine (#61595) 2026-11-04 16:45:08 +00:00
Luke Parker
dd9a5ab6ab
fix(desktop): deliver each deep link once to its window (#61648) 2026-11-04 16:39:53 +00:00
Aiden Cline
78dda62d88
fix(cli): keep loopback requests off environment proxies (#60441)
Co-authored-by: r266-tech <r266-tech@users.noreply.github.com>
Co-authored-by: pj.reid <pj.reid@zetier.com>
2026-10-30 10:03:10 -05:00
Luke Parker
7b67adf7e1
fix(desktop): restore maximized windows on their saved display (#60482) 2026-10-30 16:11:55 +10:00
Luke Parker
f807ffeccb
fix(desktop): retain renderer permissions across shared-session windows (#60458) 2026-10-30 14:27:35 +10:00
opencode-agent[bot]
bf94de965d
feat(desktop): spellcheck toggle and system-language dictionaries (#59129)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
2026-10-30 04:21:10 +00:00
Luke Parker
1f67129936
fix(desktop): sign zip data descriptors in debug log export (#60456) 2026-10-30 14:18:36 +10:00
Kit Langton
9a9386edbc
refactor(client): group experimental SDK methods under client.experimental (#59072) 2026-10-28 15:18:38 -07:00
Dax
51e4de1da6
fix(cli): put dev builds back on the shared service and database (#59631) 2026-10-27 10:14:15 -04:00
Luke Parker
5792c3e63b
feat(app): manage desktop plugins in Extensions › Plugins (#59489) 2026-10-27 03:39:18 +00:00
Luke Parker
758cf5adbe
feat(plugin): add toasts, dialogs, notifications, UI, tabs and composer APIs to GUI plugins (#59469) 2026-10-27 02:40:22 +00:00
Luke Parker
dae4077a96
feat(plugin): add OpenCode Desktop GUI plugins (#55246) 2026-10-27 10:54:50 +10:00
Dax
6996bbcd6d
ci: separate release builds from signing and publishing (#59046) 2026-10-26 14:21:29 -04:00
opencode-agent[bot]
5bf3e82f71
feat(desktop): add a zoom setting that persists (#59277)
Co-authored-by: vimtor <36263538+vimtor@users.noreply.github.com>
2026-10-26 13:37:19 +00:00
Luke Parker
be315b1db8 chore: merge beta into dev
Brings the desktop beta work into dev as a merge commit, so its history is kept.
Core, server and client changes from beta were backported to dev one PR at a time
first (#59081 to #59107).

Left out of this merge, so dev keeps its current behaviour:
- Generated UI, entirely: the plugin-genui package, its core registration and
  publishing, the session-ui surfaces, charts, form replies and streaming tool
  input, the app setting and its strings, tool-input delta publishing, and their
  tests. It lands on dev later through its own pull request.
- The `ast-grep-ignore: no-star-import` comment in cross-spawn-spawner.ts,
  which lint:effect-patterns still needs.

Notes:
- Dev-channel builds now use their own service-dev.json, port and
  opencode-dev.db (#58331), so dev-build users start on a fresh database.
- #56550 (plugin instruction entries) and #57527 (untracked folder rows) come
  in as on beta; follow-ups go to dev.
- Docs from beta are pointed at check-test.yml, after the workflow rename.
- #59132's fix (settings toggles MCP servers in the session's location) is
  ported onto beta's rewritten Extensions page, and #59131's browser title test
  joins beta's tab tests.
2026-10-26 13:56:31 +10:00
opencode-agent[bot]
ec09e45314
fix(desktop): finish the macOS Cmd+Q quit after shutdown (#59144)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
Co-authored-by: anmol0b <91365474+anmol0b@users.noreply.github.com>
2026-10-26 03:37:24 +00:00
opencode-agent[bot]
f669c46c96
feat(app): show the open session's title in the browser tab (#59131)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
2026-10-26 02:57:11 +00:00
Luke Parker
4b83402a29 chore: merge dev into beta 2026-10-26 08:34:06 +10:00
opencode-agent[bot]
9e8c5f5402
feat(ui): make the line comment card a text field (#58970)
Co-authored-by: vimtor <36263538+vimtor@users.noreply.github.com>
2026-10-25 13:11:29 +00:00
Kit Langton
ce447693b1
feat(app): rebuild Knobs as a stack of features (#57921) 2026-10-24 21:52:22 -07:00
Kit Langton
64aaf2eaae
feat(desktop): add opt-in memory logging and remote debugging (#58315) 2026-10-24 13:04:12 -07:00
Luke Parker
8ee9351be9
fix(desktop): give dev builds their own server and keep beta off dev servers (#58331) 2026-10-23 13:49:45 +10:00
Kit Langton
28ea040f05
feat(desktop): experimental voice calls through Console (#58249) 2026-10-22 19:46:37 -07:00
Kit Langton
80e5e9687c
refactor(app): delete unused shell, workspace, composer, and stories modules (#58237) 2026-10-22 15:02:33 -07:00
Kit Langton
c916bf2840
fix(app): show a still of the browser page while the side panel moves (#58185) 2026-10-22 10:49:40 -07:00
Luke Parker
316a688fe9 chore: merge dev into beta 2026-10-22 08:46:18 +10:00
usrnk1
126d73b2fe
fix(desktop): use default cursor for drag handles (#57787) 2026-10-21 14:54:50 +02:00
Kit Langton
9b7372cf9b
perf(app): render the file tree with @pierre/trees (#57573) 2026-10-20 20:45:11 -07:00
Kit Langton
e5e4f4b2b5
fix(desktop): recover failed beta servers and clean unused CLI stages (#57321) 2026-10-20 10:41:19 -07:00
James Long
71a1b10ba4
feat(app): rename the current session with ctrl+r (#57423)
Some checks are pending
publish / build-node-app-archive (push) Blocked by required conditions
publish / build-node-cli (map[bun_install_flags:--cpu=* host:blacksmith-4vcpu-windows-2025 target:windows-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404 target:linux-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404-arm target:linux-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-windows-2025 target:windows-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:macos-26 target:darwin-arm64]) (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:${{ (github.ref_name == 'beta' && '--os=darwin --cpu=*') || '--os=darwin --cpu=x64' }} cli:darwin-x64-baseline host:${{ (github.ref_name == 'beta' && 'macos-26') || 'macos-26-intel' }} platform_flag:--mac --x64 tar… (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--cpu=* cli:windows-arm64 host:${{ (github.ref_name == 'beta' && 'blacksmith-4vcpu-windows-2025') || 'windows-2025' }} platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 cli:darwin-arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[cli:linux-arm64 host:blacksmith-4vcpu-ubuntu-2404-arm platform_flag:--linux --arm64 target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[cli:linux-x64-baseline host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[cli:windows-x64-baseline host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
publish / notify-discord-v2 (push) Blocked by required conditions
test / affected packages (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / build (linux) (push) Waiting to run
test / build (windows) (push) Waiting to run
test / e2e (linux, app-1) (push) Blocked by required conditions
test / e2e (linux, app-2) (push) Blocked by required conditions
test / e2e (linux, app-components) (push) Blocked by required conditions
test / e2e (linux, session-ui-components) (push) Blocked by required conditions
test / e2e (windows, app-1) (push) Blocked by required conditions
test / e2e (windows, app-2) (push) Blocked by required conditions
test / e2e (windows, app-components) (push) Blocked by required conditions
test / e2e (windows, session-ui-components) (push) Blocked by required conditions
test / e2e (linux) (push) Blocked by required conditions
test / e2e (windows) (push) Blocked by required conditions
2026-10-20 11:48:52 -04:00
Kit Langton
8c1a80b4e8
fix(desktop): keep the running server when beta updates (#57309) 2026-10-19 23:35:08 -07:00
Brendan Allan
15be9f1939
fix(desktop): align macOS traffic lights with the vertical tabs header (#57258) 2026-10-20 10:14:47 +08:00
Dax Raad
822b92dc4c feat(app): name the current server by its hostname
The server reports its hostname in /api/info. The current server (the
desktop sidecar or the server that served the web app) now shows its
hostname instead of "Local Server" or its address; a custom name still
wins and "This computer" is the fallback when no hostname is known.
Lists omit the current server, and the "This computer" hint appears only
in pickers that choose a server. Remotes on localhost addresses no
longer lose their tags in the new-session project picker.
2026-10-19 21:18:30 -04:00
Kit Langton
3d9fec7f8c
fix(desktop): close the window with ⇧⌘W so ⌘W never closes it (#57150) 2026-10-19 13:22:28 -07:00
James Long
6bac3b9ad8
refactor(desktop): drop Drive-specific service handling (#57189) 2026-10-19 16:19:26 -04:00
James Long
cb07c555d4
feat(desktop): preserve Drive-managed development state (#57112) 2026-10-19 14:15:32 -04:00
Dax Raad
161cbad85b fix(desktop): disable animated wheel scrolling on linux
Chromium animates each mouse-wheel notch on Linux, unlike native Linux apps.
Append disable-smooth-scrolling to the desktop app on Linux so wheel deltas
apply immediately.

Make ScrollView's viewport wheel listener and the session panel's
scrollbar-reveal wheel listener passive, so the compositor no longer waits on
the main thread before scrolling. Remove the home route's viewport wheel
handler, which could never cancel because its target was always inside the
viewport. Attach the desktop window wheel listener only while pinch zoom is
enabled; main's zoom-changed handler covers Ctrl+wheel otherwise.

ScrollView keyboard scrolling (PageUp/Down, Home/End, arrows, Space) now
jumps instantly instead of animating.
2026-10-18 23:23:59 -04:00
Dax Raad
7aac8f71d9 feat(app): use server projects and track used projects on home
- The GUI project list comes from the server (GET /api/project) everywhere, in
  its order (most recently active first), and follows project.updated: unknown
  projects join, archived ones leave, activity re-sorts. "Add project" resolves
  the directory on the server and reloads the list.
- Home lists only the server projects this client has used (per server, by
  project ID), with a Close menu item that hides a project until it is used
  again. The new-session location dialog lists used projects first, then the
  rest; Settings and the command palette keep the full list.
- Projects sharing one directory under several IDs collapse to the most
  recently active one on Home and in the location dialog.
- The directory list older builds stored is migrated once per server to used
  project IDs after the server list loads, then dropped.
- Removed local project reordering, recently closed, close-as-hide of the
  local list, the per-directory icon override cache and the opencode-test path
  filter.
2026-10-18 23:05:51 -04:00