Commit Graph

3486 Commits

Author SHA1 Message Date
Dax Raad b5c8bd3421 test: add tests for path-derived IDs in json migration
Tests verify that file paths are used for IDs even when JSON contains
different values - ensuring robustness against stale JSON content.
2026-02-14 20:37:17 -05:00
Dax Raad 2bab5e8c39 fix: derive all IDs from file paths during json migration
Earlier migrations moved data to new directories without updating JSON
fields. Now consistently derives all IDs from file paths:

- Projects: id from filename
- Sessions: id from filename, projectID from parent directory
- Messages: id from filename, sessionID from parent directory
- Parts: id from filename, messageID from parent directory

This ensures migrated data matches the actual file layout regardless of
stale values in JSON content.
2026-02-14 20:37:17 -05:00
opencode c190f5f611 release: v1.2.3 2026-02-15 00:34:56 +00:00
Aiden Cline 839c5cda12 fix: ensure anthropic models on OR also have variant support (#13498) 2026-02-14 14:30:07 -06:00
Dax 67c985ce82 fix: add WAL checkpoint on database open (#13633) 2026-02-14 19:33:08 +00:00
Aiden Cline 933a491ade fix: ensure vercel variants pass amazon models under bedrock key (#13631) 2026-02-14 13:18:52 -06:00
opencode 3b6b3e6fc8 release: v1.2.2 2026-02-14 19:08:58 +00:00
Dax Raad 8631d6c01d core: add comprehensive test coverage for Session.list() filters
Adds test cases for filtering sessions by directory, root sessions only,

start time, search terms, and result limits to ensure the listing

functionality works correctly for all filter combinations.
2026-02-14 13:43:41 -05:00
Dax Raad 68bb8ce1da core: filter sessions at database level to improve session list loading performance 2026-02-14 13:41:15 -05:00
Aiden Cline 759ec104b6 fix vercel gateway variants (#13541)
Co-authored-by: Benjamin Woodruff <github@benjam.info>"
2026-02-14 12:32:29 -06:00
Aiden Cline ef205c3660 bump vertex ai packages (#13625) 2026-02-14 12:29:01 -06:00
opencode cd775a2862 release: v1.2.1 2026-02-14 06:39:47 +00:00
Dax Raad b020758446 tui: show all project sessions from any working directory
Previously sessions were only listed if they were created in the current
working directory or its subdirectories. Users can now view and switch
to any session in the project regardless of which directory they're in.
2026-02-14 01:21:41 -05:00
Aiden Cline 179c40749d fix: tweak websearch tool description date info to avoid cache busts (#13559) 2026-02-13 23:59:10 -06:00
opencode ffc000de8e release: v1.2.0 2026-02-14 05:20:11 +00:00
opencode-agent[bot] afb04ed5d4 chore: generate 2026-02-14 04:19:48 +00:00
Dax 6d95f0d14c sqlite again (#10597)
Co-authored-by: Github Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-02-14 04:19:02 +00:00
Kevin d018903887 fix: prevent opencode run crash on malformed tool inputs (#13051)
Co-authored-by: 0xK3vin <kevin@git-pu.sh>
2026-02-13 20:54:20 -06:00
严浩 bc1fd0633d fix(test): move timeout config to CLI flag (#13494)
Co-authored-by: 严浩 <h_mini2024@oo1.dev>
2026-02-13 10:20:02 -05:00
Rahul Mishra 693127d382 feat(cli): add --dir option to run command (#12443) 2026-02-13 00:59:37 -06:00
Aiden Cline 0d90a22f90 feat: update some ai sdk packages and uuse adaptive reasoning for opus 4.6 on vertex/bedrock/anthropic (#13439) 2026-02-13 00:56:11 -06:00
opencode 34ebe814dd release: v1.1.65 2026-02-13 05:51:04 +00:00
Aiden Cline 1fb6c0b5b3 Revert "fix: token substitution in OPENCODE_CONFIG_CONTENT" (#13429) 2026-02-12 23:24:31 -06:00
Aiden Cline 98aeb60a7f fix: ensure @-ing a dir uses the read tool instead of dead list tool (#13428) 2026-02-12 23:20:33 -06:00
Spoon 1608565c80 feat(hook): add tool.definition hook for plugins to modify tool description and parameters (#4956) 2026-02-12 22:52:17 -06:00
Adam 8da5fd0a66 fix(app): worktree delete 2026-02-12 19:38:13 -06:00
projectArtur 991496a753 fix: resolve ACP hanging indefinitely in thinking state on Windows (#13222)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-12 18:20:00 -06:00
opencode 76db218674 release: v1.1.64 2026-02-12 23:18:40 +00:00
Ariane Emory 29671c1397 fix: token substitution in OPENCODE_CONFIG_CONTENT (#13384) 2026-02-12 16:59:44 -06:00
Aiden Cline f66624fe6e chore: cleanup flag code (#13389) 2026-02-12 22:38:51 +00:00
opencode-agent[bot] d475fd6137 chore: generate 2026-02-12 22:14:45 +00:00
Smit Chaudhary 93eee0daf4 fix: look for recent model in fallback in cli (#12582) 2026-02-12 16:13:48 -06:00
Luke Parker 4018c863e3 fix: baseline CPU detection (#13371) 2026-02-13 07:50:43 +10:00
Luke Parker a8f2884521 feat: windows selection behavior, manual ctrl+c (#13315) 2026-02-13 07:38:27 +10:00
Sebastian c0814da785 do not open console on error (#13374) 2026-02-12 21:29:58 +00:00
Adam 548608b7ad fix(app): terminal pty isolation 2026-02-12 15:15:34 -06:00
Aiden Cline d1ee4c8dca test: add more test cases for project.test.ts (#13355) 2026-02-12 18:46:44 +00:00
opencode ac018e3a35 release: v1.1.63 2026-02-12 18:46:38 +00:00
Dax Raad e6e9c15d34 improve codex model list 2026-02-12 18:15:30 +00:00
opencode aaee5fb680 release: v1.1.62 2026-02-12 18:15:24 +00:00
Dax Raad 789705ea96 ignore: document test fixtures for agents 2026-02-12 12:10:21 -05:00
Ryan Vogel ba54cee55e feat(tool): return image attachments from webfetch (#13331) 2026-02-12 12:09:29 -05:00
Dax Raad 56ad2db020 core: expose tool arguments in shell hook for plugin visibility 2026-02-12 09:54:47 -05:00
opencode 892bb75265 release: v1.1.61 2026-02-12 14:45:45 +00:00
Dax Raad a115565054 core: allow model configurations without npm/api provider details
Makes npm and api fields optional in the provider schema so model definitions

can be more flexible when provider package details aren't needed.
2026-02-12 09:26:28 -05:00
Aiden Cline 624dd94b5d tweak: tool outputs to be more llm friendly (#13269) 2026-02-12 00:33:18 -06:00
opencode 03de51bd3c release: v1.1.60 2026-02-12 05:58:24 +00:00
Luke Parker 8f9742d988 fix(win32): use ffi to get around bun raw input/ctrl+c issues (#13052) 2026-02-12 15:39:31 +10:00
Kyle Mistele e269788a8f feat: support claude agent SDK-style structured outputs in the OpenCode SDK (#8161)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Dax Raad <d@ironbay.co>
2026-02-12 04:54:05 +00:00
Dax Raad ad2087094d support custom api url per model 2026-02-11 23:10:47 -05:00