Commit Graph

47 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
Brendan Allan a56ae240a5 tauri: nsis header and sidebar 2025-12-18 00:02:16 +08:00
Brendan Allan d9c6de9188 tauri: update nsis icon 2025-12-17 23:40:52 +08:00
Brendan Allan a2d3ff42e2 tauri: dev icons + separate prod config (#5691)
Co-authored-by: GitHub Action <action@github.com>
2025-12-17 22:23:03 +08: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
Dax Raad de2eedb3c8 ci: add app bundle target to fix macOS updater by generating .app.tar.gz files 2025-12-15 14:41:38 -05:00
Adam 0f48a29ae9 fix: image attachments in desktop 2025-12-15 12:01:11 -06:00
Dax Raad 644ff926c1 ci: update publish workflow concurrency to include version inputs and upgrade ubuntu runner to 24.04 2025-12-15 10:14:20 -05:00
Dax Raad 3f900417ae ci: fix AppImage build hanging by using portable appimage format
- Add appimage target back to tauri.conf.json
- Force reinstall tauri-cli from feat/truly-portable-appimage branch
- Add 10 minute timeout to prevent indefinite hangs
- Add logging to verify correct tauri-cli version is installed

This fixes the issue where AppImage builds would hang at 'Running input plugin: gtk' by using the new portable appimage format that bypasses linuxdeploy entirely.
2025-12-15 09:47:19 -05:00
Brendan Allan f275d2a973 tauri: use correct sidecar name 2025-12-15 12:40:49 +08:00
Brendan Allan 2b764bfcf4 tauri: rename sidecar to opencode-cli 2025-12-15 12:40:14 +08:00
Dax Raad 8450de5e48 fix desktop updater 2025-12-14 21:12:38 -05:00
Dax Raad cef7619bab disable app image 2025-12-14 17:04:46 -05:00
Brendan Allan 58027f5035 tauri: change mainBinaryName to just OpenCode 2025-12-14 12:08:53 +08:00
Brendan Allan 2b0f02d243 tauri: bring back appimage 2025-12-14 12:00:14 +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
GitHub Action f16dbfdf4f chore: format code 2025-12-12 08:59:18 +00: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 447cc6321b ci 2025-12-11 14:38:45 -05:00
Dax Raad 36add26108 temporarily remove undo/redo keybinds 2025-12-11 12:55:08 -05:00
Brendan Allan 8474df815e tauri: update icons 2025-12-11 09:49:00 +08:00
Dax Raad daca1c9413 desktop: enable zoom hotkeys in Tauri app 2025-12-10 19:27:05 -05:00
Adam 1b80d7238e fix: tauri 2025-12-10 17:19:50 -06: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
Adam 8665b50844 wip(desktop): progress 2025-12-10 15:17:03 -06: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 5730ee1f16 tauri: update macos icon 2025-12-10 11:28:40 +08: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 7d131f75e6 Desktop macOS codesigning and notarization (#5154)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Dax Raad <d@ironbay.co>
2025-12-07 13:42:23 -05:00
Adam e54eb9fc77 chore: update tauri update pub key 2025-12-06 05:49:05 -06: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 5eaae8e109 load desktop app 2025-11-22 14:40:11 -05:00
GitHub Action 4be2d4521b chore: format code 2025-11-22 05:15:55 +00:00
Dax Raad 334ab2cbc7 tauri 2025-11-22 00:15:01 -05:00