Commit Graph

24 Commits

Author SHA1 Message Date
Adam 5598ddc33d fix(desktop): error handling 2025-12-19 07:38:38 -06:00
Brendan Allan 0ec639f084 tauri: disable pinch zoom on linux (#5735) 2025-12-18 05:13:09 -06:00
Brendan Allan e20530c176 tauri: configure display backends more correctly on linux (#5730) 2025-12-18 18:34:12 +08:00
Brendan Allan f92416ef27 tauri: say OpenCode Server instead of OpenCode CLI 2025-12-18 17:18:46 +08:00
Brendan Allan e0104be09f tauri: server spawn fail dialog w/ copy logs button (#5729) 2025-12-18 03:17:31 -06:00
Dax Raad dff2d2f102 core: ensure desktop app loads user shell environment variables
Changes shell spawn flags from -l to -il so that ~/.zshrc and
~/.bashrc are sourced when starting the desktop app on macOS
and Linux. This fixes missing PATH and other environment
variables that users expect to be available.
2025-12-16 14:21:19 -05:00
Dax Raad 9204d72e24 chore: update opencode plugin dependencies and fix tauri sidecar path 2025-12-16 13:52:40 -05:00
Dax Raad ca052fdec3 tui: fix autocomplete file loading and update dependencies 2025-12-16 13:37:22 -05:00
Brendan Allan 0e8e5a6b7c tauri: explicitly kill sidecar before updater relaunch 2025-12-16 19:01:37 +08:00
Adam 0f48a29ae9 fix: image attachments in desktop 2025-12-15 12:01:11 -06:00
Brendan Allan f275d2a973 tauri: use correct sidecar name 2025-12-15 12:40:49 +08:00
Dax Raad 6e25ba5fe6 desktop: fix build on Linux and Windows by making macOS title bar styling conditional 2025-12-12 16:47:48 -05:00
Brendan Allan 5b1b37592e tauri: add basic custom titlebar (#5438) 2025-12-12 09:37:17 -06:00
Brendan Allan aab6900341 tauri: create window with full screen size 2025-12-12 17:04:00 +08:00
Brendan Allan 0a885c5350 tauri: initialise store and window-state plugins 2025-12-12 16:58:37 +08:00
Dax Raad e6ea3b0a56 core: add client identification to user agent and request headers for better tracking 2025-12-11 16:18:04 -05:00
Dax Raad 004cae2fc8 tui: pass dynamic port to frontend
Frontend now receives the server port via window.__OPENCODE__.port,
allowing it to connect when using a random free port instead of hardcoded 4096
2025-12-10 16:17:36 -05:00
Dax Raad d5bf02f994 tui: use random free port and enable icon discovery by default
- Tauri app now automatically finds an available port instead of defaulting to 4096
- Icon discovery feature is now enabled by default in the Tauri app
- Prevents port conflicts when multiple OpenCode instances are running
2025-12-10 16:13:11 -05:00
Brendan Allan c138a6a5da tauri: comment out restart server dialog 2025-12-10 11:18:17 +08:00
Brendan Allan 4cca4c66f1 desktop: move updater logic to js 2025-12-09 17:16:24 +08:00
Brendan Allan 9f6e350a85 Export DesktopInterface from desktop and add PlatformContext 2025-12-08 13:43:36 +08:00
Dax Raad 329251fec8 enable zoom hotkeys 2025-12-07 13:48:12 -05:00
Brendan Allan 19d739b3ed OpenCode Desktop app (#5044)
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2025-12-05 14:39:49 -06:00
Dax Raad 334ab2cbc7 tauri 2025-11-22 00:15:01 -05:00