Commit Graph

7492 Commits (optimize-apply-patch)

Author SHA1 Message Date
Aiden Cline eb553f53ac
fix: ensure sqlite migration logs to stderr instead of stdout (#13691) 2026-02-15 00:41:16 -06:00
opencode d1482e1483 release: v1.2.4 2026-02-15 01:55:33 +00:00
Dax Raad 45f0050372 core: add db command for database inspection and querying 2026-02-14 20:37:17 -05:00
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
Adam 85b5f5b705
feat(app): clear notifications action (#13668)
Co-authored-by: adamelmore <2363879+adamdottv@users.noreply.github.com>
2026-02-14 19:33:22 -06:00
Adam 460a87f359
fix(app): stack overflow in filetree (#13667)
Co-authored-by: adamelmore <2363879+adamdottv@users.noreply.github.com>
2026-02-14 19:24:48 -06: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
Frank 1e25df21a2 zen: minimax m2.5 & glm5 2026-02-14 00:47:26 -05:00
opencode ffc000de8e release: v1.2.0 2026-02-14 05:20:11 +00:00
Brendan Allan 0b9e929f68
desktop: fix rust 2026-02-14 12:48:16 +08:00
Brendan Allan 7d46872775
desktop: remote OPENCODE_SQLITE env (#13545) 2026-02-13 23:20:09 -05: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
Kit Langton d30e917385
fix(ui): support cmd-click links in inline code (#12552) 2026-02-13 13:57:38 -06:00
Niu Shuai 72c09e1dcc
fix: standardize zh-CN docs character set and terminology (#13500) 2026-02-13 12:58:12 -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
G36maid 88e2eb5416
docs: add pacman installation option for Arch Linux alongside AUR (#13293) 2026-02-13 09:07:48 -06:00
Jun b8848cfae1
docs(ko): polish Korean phrasing in acp, agents, config, and custom-tools docs (#13446) 2026-02-13 09:05:29 -06:00
Adam 4f51c0912d
chore: cleanup 2026-02-13 05:52:43 -06:00
Adam 1c71604e0a
fix(app): terminal resize 2026-02-13 05:52:42 -06:00
eytans e242fe19e4
fix(web): use prompt_async endpoint to avoid timeout over VPN/tunnel (#12749) 2026-02-13 05:25:47 -06:00
opencode-agent[bot] f991a6c0b6 chore: generate 2026-02-13 11:19:37 +00:00
Annopick b1764b2ffd
docs: Fix zh-cn translation mistake in tools.mdx (#13407) 2026-02-13 05:18:47 -06:00
Chris Yang ebe5a2b74a
fix(app): remount SDK/sync tree when server URL changes (#13437) 2026-02-13 05:16:14 -06:00
Jun 9f20e0d14b
fix(web): sync docs locale cookie on alias redirects (#13109) 2026-02-13 05:12:28 -06:00
Filip ebb907d646
fix(desktop): performance optimization for showing large diff & files (#13460) 2026-02-13 05:08:13 -06: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 dd296f7033
fix(app): reconnect event stream on disconnect 2026-02-12 20:20:24 -06:00
Adam fb7b2f6b4d
feat(app): toggle all provider models 2026-02-12 20:19:26 -06:00
Brendan Allan e0f1c3c20e
cleanup desktop loading page 2026-02-13 10:15:36 +08:00
Adam dec304a273
fix(app): emoji as avatar 2026-02-12 20:05:58 -06:00
Adam c9719dff72
fix(app): notification should navigate to session 2026-02-12 20:04:36 -06:00
Adam 7f95cc64c5
fix(app): prompt input quirks 2026-02-12 19:58:57 -06:00
Adam b525c03d20
chore: cleanup 2026-02-12 19:52:20 -06:00
Adam 8da5fd0a66
fix(app): worktree delete 2026-02-12 19:38:13 -06:00
Adam 0303c29e3f
fix(app): failed to create store 2026-02-12 19:38:06 -06:00
Brendan Allan adb0c4d4f9
desktop: only show loading window if sqlite migration is necessary 2026-02-13 08:49:52 +08: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
opencode-agent[bot] 20dcff1e2e chore: generate 2026-02-12 21:23:32 +00:00
Aman Kalra 11dd281c92
docs: update STACKIT provider documentation with typo fix (#13357)
Co-authored-by: amankalra172 <aman.kalra@st.ovgu.de>
2026-02-12 15:22:35 -06:00
Adam 548608b7ad
fix(app): terminal pty isolation 2026-02-12 15:15:34 -06:00
Adam 4e0f509e7b
feat(app): option to turn off sound effects 2026-02-12 15:03:05 -06:00
Adam ff3b174c42
fix(app): normalize oauth error messages 2026-02-12 14:58:25 -06:00
Adam 70303d0b42
chore: cleanup 2026-02-12 14:48:09 -06:00
Adam 7ccf223c84
chore: cleanup 2026-02-12 14:43:20 -06:00
Adam e9b9a62fe4
chore: cleanup 2026-02-12 14:39:02 -06:00
Adam 81c623f26e
chore: cleanup 2026-02-12 14:32:31 -06:00
Adam 3696d1ded1
chore: cleanup 2026-02-12 14:24:19 -06:00
Adam 50f208d69f
fix(app): suggestion active state broken 2026-02-12 14:17:05 -06:00
Adam 958320f9c1
fix(app): remote http server connections 2026-02-12 13:41:22 -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
Adam ff0abacf4b
fix(app): project icons unloading 2026-02-12 11:50:17 -06:00
Rasheed 0771e3a8be
fix(app): preserve undo history for plain-text paste (#13351) 2026-02-12 17:27:53 +00:00
Adam da952135ca
chore(app): refactor for better solidjs hygiene (#13344) 2026-02-12 11:26:19 -06: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
Dylan Fiedler ecab692ca1
fix(docs): correct `format` attribute in `StructuredOutputs` (#13340) 2026-02-12 10:55:43 -06:00
Frank 59a323e9a8 wip: zen 2026-02-12 11:11:25 -05:00
Frank 658bf6fa58 zen: minimax m2.5 2026-02-12 11:04:09 -05:00
Adam a82ca86008
fix(app): more defensive code component 2026-02-12 10:00:58 -06:00
Adam ed472d8a67
fix(app): more defensive session context metrics 2026-02-12 10:00:58 -06:00
Adam ff4414bb15
chore: refactor packages/app files (#13236)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Frank <frank@anoma.ly>
2026-02-12 09:49:14 -06:00
Dax Raad 56ad2db020 core: expose tool arguments in shell hook for plugin visibility 2026-02-12 09:54:47 -05:00
Frank ae811ad8d2 wip: zen 2026-02-12 14:45:52 +00:00
opencode-agent[bot] 85df106713 chore: generate 2026-02-12 14:45:52 +00: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
Frank d82d22b2d7 wip: zen 2026-02-12 09:17:49 -05:00
Adam ecb274273a
wip(ui): diff virtualization (#12693) 2026-02-12 07:25:58 -06:00
Adam 5f421883a8
chore: style loading screen 2026-02-12 07:16:30 -06:00
Brendan Allan 1413d77b1f
desktop: sqlite migration progress bar (#13294) 2026-02-12 09:44:06 +00:00
Aiden Cline 624dd94b5d
tweak: tool outputs to be more llm friendly (#13269) 2026-02-12 00:33:18 -06:00
Frank d86f24b6b3 zen: return cost 2026-02-12 01:08:02 -05: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
opencode-agent[bot] f6e7aefa72 chore: generate 2026-02-12 04:55:00 +00: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
opencode-agent[bot] 66780195dc chore: generate 2026-02-12 04:11:57 +00:00
Dax Raad ad2087094d support custom api url per model 2026-02-11 23:10:47 -05:00
Kit Langton 135f8ffb2a
feat(tui): add toggle to hide session header (#13244) 2026-02-12 02:21:42 +00:00
dpuyosa bf5a01edd9
feat(opencode): Venice Add automatic variant generation for Venice models (#12106) 2026-02-11 20:21:29 -06:00
Adam 81ca2df6ad
fix(app): guard randomUUID in insecure browser contexts (#13237)
Co-authored-by: Selim <31136147+selimerunkut@users.noreply.github.com>
2026-02-12 01:05:15 +00:00
Adam aea68c386a
fix(docs): locale translations for nav elements and headings 2026-02-11 18:51:50 -06:00
Adam 8eea53a41e
docs(ar): second-pass localization cleanup 2026-02-11 18:51:50 -06:00
Aiden Cline 3befd0c6c5
tweak: use promise all for mcp listTools calls (#13229) 2026-02-12 00:19:53 +00:00
Sebastian 125727d09c
upgrade opentui to 0.1.79 (#13036) 2026-02-12 00:13:11 +01:00
Aiden Cline 8c7b35ad05
tweak: compaction check (#13214) 2026-02-11 21:43:04 +00:00
Aiden Cline 006d673ed2
tweak: make read tool offset 1 indexed instead of 0 to avoid confusion that could be caused by line #s being 1 based (#13198) 2026-02-11 14:02:30 -06:00
Aiden Cline 6b4d617df0
feat: adjust read tool so that it can handle dirs too (#13090) 2026-02-11 13:23:00 -06:00
Dax Raad e3471526f4 add square logo variants to brand page 2026-02-11 13:47:54 -05:00
Adam fbabce1125
fix(app): translations 2026-02-11 11:03:35 -06:00
opencode-agent[bot] 8f56ed5b85 chore: generate 2026-02-11 17:00:20 +00:00
Filip 81b5a6a08b
fix(app):workspace reset (#13170)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-02-11 10:59:09 -06:00
opencode-agent[bot] 94cb6390aa chore: generate 2026-02-11 15:37:06 +00:00
opencode 42bea5d297 release: v1.1.59 2026-02-11 15:37:00 +00:00
Adam f252e3234c
fix(app): translations 2026-02-11 09:19:16 -06:00
Filip eef3ae3e1f
Fix/reverception (#13166)
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-02-11 09:18:44 -06:00
Adam fc88dde63f test(app): more e2e tests (#13162) 2026-02-11 15:12:28 +00:00
Adam 4619e9d183 fix(app): sidebar remount 2026-02-11 15:12:28 +00:00
opencode 4dc363f306 release: v1.1.58 2026-02-11 15:12:01 +00:00
Adam 2e8082dd21
Revert "feat(desktop): add WSL backend mode (#12914)"
This reverts commit 213a87234d.
2026-02-11 08:51:41 -06:00
Adam a52fe28246
fix(app): notifications on child sessions 2026-02-11 08:47:27 -06:00
Adam 8c5ba8aeb0
fix(app): terminal PTY buffer carryover 2026-02-11 08:47:26 -06:00
Adam 50330820c0
fix(console): translations 2026-02-11 08:47:26 -06:00
Adam 7222fc0ba0
fix(app): terminal resize 2026-02-11 08:47:26 -06:00
Kit Langton 17bdb5d56a
fix(tui): dismiss dialogs with ctrl+c (#12884) 2026-02-11 09:03:59 -05:00
Kit Langton 7a463cd193
fix(tui): keep /share available to copy existing link (#12532) 2026-02-11 08:58:24 -05:00
Kit Langton 352a54c698
feat(prompt): mode-specific input placeholders (#12388) 2026-02-11 08:57:59 -05:00
Kit Langton 93957da2c9
fix(tui): prevent home wordmark corruption in height-constrained terminals (#13069) 2026-02-11 08:52:14 -05:00
opencode edcfd562af release: v1.1.57 2026-02-11 13:45:34 +00:00
Adam ef5ec5dc28
fix(app): terminal copy/paste 2026-02-11 07:19:33 -06:00
Adam c426cb0f14
fix(app): copy path button styles 2026-02-11 07:19:33 -06:00
Shintaro Jokagi dd1862cc2b
fix(web): prevent language select label truncation (#13100) 2026-02-11 06:43:48 -06:00
Brendan Allan a25b2af05a
desktop: use tracing for logging (#13135) 2026-02-11 11:36:27 +00:00
Jack 8bfd6fdba2
fix: encode non-ASCII directory paths in v1 SDK HTTP headers (#13131) 2026-02-11 05:33:25 -06:00
Filip cf7a1b8d80
feat(desktop): enhance Windows app resolution and UI loading states (#13084) 2026-02-11 04:40:52 -06:00
opencode-agent[bot] 5ba4c0e024 chore: generate 2026-02-11 10:38:52 +00:00
Jun 567e094e6c
docs(ko): improve translations for intro, cli, and commands (#13094) 2026-02-11 04:37:52 -06:00
webwww123 b523998329
fix(docs): avoid footer language selector truncation (#13124) 2026-02-11 04:33:50 -06:00
Adam 7e1247c420
fix(desktop): server spawn resilience (#13028)
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-02-11 09:44:26 +00:00
Brendan Allan 783888131e
fix(desktop): read wayland preference from store (#13081) 2026-02-11 08:10:24 +00:00