Commit Graph

35 Commits

Author SHA1 Message Date
Dax Raad c0995239fa core: prevent external diff tools from interfering with snapshot generation 2025-11-26 22:07:51 -05:00
Luke Parker fca9943523 fix: Diff view now ignores line endings changes/windows autocrlf (#4356) 2025-11-15 21:18:39 -06:00
Chris Olszewski 43f7cb6326 fix: snapshot history when running from git worktrees (#4312) 2025-11-15 01:02:00 -06:00
Ivan Starkov 284940c4df fix: UI Freezes for a few minutes if repo has binary files (#4109) 2025-11-08 23:28:09 -06:00
GitHub Action 9855771157 chore: format code 2025-11-08 01:59:02 +00:00
Dax Raad ed8913324e big format 2025-11-06 13:03:12 -05: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
Dax Raad 3e1f625289 core: provide line-level statistics in file diffs to help users understand the scale of changes 2025-10-21 11:54:41 -04:00
Dax Raad a4b31ad404 core: add session diff API to show file changes between snapshots 2025-10-20 17:59:26 -04:00
Aiden Cline 9a4ee2d8a7 fix: snapshot undo bug (#3290) 2025-10-19 18:42:34 -05:00
Dax Raad 0271b3847f ci: fixes 2025-10-11 00:24:35 -04:00
Dax Raad ee4e201045 core: prevent file deletion when reverting changes to existing files 2025-10-01 05:06:37 -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
Tommy D. Rossi fd7c62e697 fix: ShellError: exit code 1 errors (#2568)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-13 00:06:07 -05: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
Dax Raad 49c18fdbdd fix undo/redo when opencode is run in nested folders 2025-08-11 21:59:12 -04:00
Dax Raad c2a1da1b13 ignore: log 2025-08-11 21:52:05 -04:00
Dax Raad ed3d49d74a add snapshot field in config to disable snapshots 2025-08-06 11:35:37 -04:00
Dax Raad b926d0c010 more fixes for shell 128 error 2025-08-03 11:25:58 -04:00
Dax Raad 4f62117758 wip: snapshot 2025-07-28 22:58:31 -04:00
Dax Raad 621e7f8697 wip: handle deleting file 2025-07-24 17:49:23 -04:00
Dax Raad 877cbfc45b wip: fix type errors 2025-07-24 17:38:11 -04:00
Dax Raad 0d12a8c4d9 wip: more snapshot stuff 2025-07-24 17:38:11 -04:00
Dax Raad 99f1c60633 disable snapshots
publish / publish (push) Has been cancelled
2025-07-24 11:08:20 -04:00
Dax Raad 0475fb5137 wip: always force create snapshot 2025-07-23 20:46:43 -04:00
Dax 11d236609d basic undo feature (#1268)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Andrew Joslin <andrew@ajoslin.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Tobias Walle <9933601+tobias-walle@users.noreply.github.com>
2025-07-23 20:30:46 -04:00
Dax Raad 9278f64588 do not snapshot nongit projects for now
publish / publish (push) Has been cancelled
2025-07-20 13:59:30 -04:00
Robin Moser 9caeae6d51 fix: don't sign snapshot commits (#1046) 2025-07-16 04:46:32 -05:00
Dax Raad 44e2b7f4b6 fix logic for suprpessing snapshots in big directories
publish / publish (push) Has been cancelled
2025-07-15 09:07:04 -04:00
Dax Raad f1be27eafd wip: snapshot 2025-07-14 15:29:08 -04:00
Dax 9cad702612 v2 message format and upgrade to ai sdk v5 (#743)
publish / publish (push) Has been cancelled
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Liang-Shih Lin <liangshihlin@proton.me>
Co-authored-by: Dominik Engelhardt <dominikengelhardt@ymail.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-07-07 15:53:43 -04:00
Dax Raad 76577d2db4 disable snapshots temporarily
publish / publish (push) Has been cancelled
2025-07-04 08:45:18 -04:00
Dax Raad 2ba7a4e337 improve snapshotting speed further
publish / publish (push) Has been cancelled
2025-07-03 21:36:09 -04:00
Dax Raad a59340b05d improve snapshot speed
publish / publish (push) Has been cancelled
2025-07-03 20:16:25 -04:00
Dax Raad b47f1fb9fa snapshot functionality 2025-07-01 12:28:34 -04:00