Commit Graph

33 Commits

Author SHA1 Message Date
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
Dax Raad 3381781b67 core: enable project discovery for experimental builds 2025-12-09 21:23:55 -05:00
Dax Raad 28e015bf97 core: fix project icon update handling to preserve existing icon properties 2025-12-09 16:55:26 -05:00
Dax Raad 3433e5bbd1 fix tests 2025-12-09 16:03:33 -05:00
Dax Raad edbe015078 discover logic 2025-12-09 15:51:55 -05:00
Dax Raad f8bffeaca1 sync 2025-12-09 15:48:22 -05:00
Dax Raad 40b2a24753 core: fix project event emission to include updated worktree data 2025-12-09 15:41:38 -05:00
Dax Raad 0dc4cc396c test fixes 2025-12-09 15:41:38 -05:00
Dax Raad 71eced2fc9 core: fix project creation to include updated timestamp 2025-12-09 15:18:55 -05:00
Dax Raad 7b5a485d65 core: make project updated timestamp optional to support legacy project data 2025-12-09 15:18:55 -05:00
Dax Raad 30598c8766 core: fix project icon update to preserve existing icon properties 2025-12-09 15:11:00 -05:00
Dax Raad 31c49cd6c7 core: add automatic project icon discovery from favicon/logo files 2025-12-09 15:06:24 -05:00
Dax Raad 12d730ec45 fix ci 2025-12-09 14:53:47 -05:00
Dax Raad 839b8903ef rework project loading 2025-12-09 14:41:14 -05:00
Dax Raad c4d4c5cf7c rename bus 2025-12-09 14:32:09 -05:00
Adam bd3cef5398 feat: add color to project 2025-12-09 13:29:59 -06:00
Dax Raad 6d86da7e46 add project.name/icon 2025-12-09 13:57:18 -05:00
Dax Raad b2f59e9d08 core: add project update timestamps to track when projects were last modified
Projects now track when they were last updated, making it easier for users
to see recent activity and identify stale projects in their workspace.
2025-12-09 11:52:53 -05:00
Aiden Cline 6ff4106a1e core: prevent sessions from disappearing after git init
Previously, sessions created in a non-git directory would disappear from
the session picker after running git init and making the first commit.
This happened because the migration logic ran prematurely before a stable
project ID existed.
2025-12-06 23:32:47 -06:00
Aiden Cline e68039a889 ignore: tweak 2025-12-05 01:00:47 -06:00
Aiden Cline e3a734e9eb fix: ensure projects that go from having no commits to having commits have sessions migrated (#5105)
Co-authored-by: GitHub Action <action@github.com>
2025-12-05 00:49:07 -06:00
Aiden Cline 848cfda06e fix: ensure that vcs is still set to git even if no commits in repo 2025-12-04 23:02:11 -06:00
Aiden Cline 78d54aad3c fix: drop absolute flag to resolve issues when using older git versions 2025-12-01 00:23:19 -06:00
Aiden Cline 15c8d556e1 enable parcel file watcher, expand parcel ignore patterns, replace fs watcher for git branches with parcel (#4805) 2025-11-26 17:33:43 -06:00
Dax Raad a8917b93b9 core: prevent crash when starting in repositories without any commits yet 2025-11-11 15:11:42 -05:00
Dax Raad 1316032d1d cache project id in root git folder 2025-11-10 21:57:55 -05:00
Dax Raad 6c481803d1 feat: add OPENCODE_FAKE_VCS flag for VCS testing and update todo tracking instructions 2025-10-28 02:54:29 -04:00
Jérôme Benoit 0787f01d1d chore: cleanup versioned zod imports (#3460)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-26 14:50:41 -05:00
Aiden Cline 539d438d97 fix: worktree cmd (#2870) 2025-09-29 22:21:54 -05:00
Dax Raad 41065c3353 ignore: rework bootstrap so server lazy starts it 2025-09-19 05:11:29 -04:00
Dax 0a4df97382 Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Aiden Cline 5dfa61f722 fix: ensure opencode still works if no commits present (#2363) 2025-09-01 20:57:14 -04:00
Dax aea78046d0 Refactor to support multiple instances inside single opencode process (#2360)
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk

1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00