Commit Graph

88 Commits

Author SHA1 Message Date
Kit Langton c1db6afc10 refactor(shell): use Effect ChildProcess for shell command execution (#20494) 2026-04-01 12:07:57 -04:00
Kit Langton 92b86bd2a0 test: finish HTTP mock processor coverage (#20372) 2026-04-01 00:45:42 +00:00
Kit Langton 0fc81f6d0b refactor(prompt): use Provider service in effect layers (#20167) 2026-04-01 00:44:15 +00:00
opencode-agent[bot] e806141be0 chore: generate 2026-03-31 23:15:56 +00:00
Kit Langton 00d6a0486c refactor(session): effectify SessionRevert service (#20143) 2026-03-31 19:14:49 -04:00
Kit Langton 9f35ffe300 test: migrate prompt tests to HTTP mock LLM server (#20304) 2026-03-31 19:14:32 -04:00
Major Hayden d4c3b2944a feat: enable prompt caching and cache token tracking for google-vertex-anthropic (#20266)
Signed-off-by: Major Hayden <major@mhtx.net>
2026-03-31 15:16:14 -05:00
Kit Langton 045b8c8077 fix(session): restore busy route handling and add regression coverage (#20125) 2026-03-30 20:30:34 +00:00
Kit Langton 9ee382c8c7 refactor(session): effectify SessionPrompt service (#19483) 2026-03-30 20:06:51 +00:00
ualtinok 0707c1d53c fix(session): fix token usage double-counting w/ anthropic & bedrock due to AI SDK v6 upgrade (#19758)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-03-29 12:40:10 -05:00
Kit Langton 4d4233cc49 refactor(session): effectify session processor (#19485) 2026-03-28 12:09:47 -04:00
Kit Langton 0939be67d5 refactor(session): effectify SessionCompaction service (#19459) 2026-03-28 01:09:14 +00:00
Aiden Cline 5dace6536b feat: AI SDK v6 support (#18433) 2026-03-27 15:24:30 -05:00
André Cruz 8016c14695 fix(opencode): classify ZlibError from Bun fetch as retryable instead of unknown (#19104)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-25 13:08:40 -05:00
James Long 87d41cd5ac feat(core): initial implementation of syncing (#17814) 2026-03-25 10:47:40 -04:00
Ryan Skidmore fbbd8c5ee8 fix: improve plugin system robustness — agent/command resolution, async errors, hook timing, two-phase init (#18280)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-24 12:50:55 -05:00
jorge g 8fa53ae5a5 fix: stabilize agent and skill ordering in prompt descriptions (#18261)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-19 15:04:03 -05:00
Kit Langton ed45bd6de1 fix(session): preserve tagged error messages (#18165) 2026-03-18 20:36:53 -04:00
Johannes Loher 3202268123 fix(core): consider code: context_length_exceeded as context overflow in API call errors (#17748) 2026-03-16 10:25:24 -05:00
Luke Parker 157f5755ac fix(opencode): teach Kit's test what an ID is (#17745) 2026-03-16 18:08:27 +10:00
Jason Quense b04934aa25 fix(opencode): preserve prompt tool enables with empty agent permissions (#17064)
Co-authored-by: jquense <jquense@ramp.com>
2026-03-15 23:01:46 -05:00
Shoubhit Dash 984e0b66ad perf(server): paginate session history (#17134) 2026-03-13 15:48:43 +05:30
Kit Langton 82307f8a45 refactor(provider): flow branded ProviderID/ModelID through internal signatures (#17182) 2026-03-12 14:48:17 +00:00
Kit Langton 36aee4908f feat(id): brand ProviderID and ModelID (#17110) 2026-03-12 09:27:52 -04:00
Kit Langton 2a225d7c72 feat(id): brand PartID through Drizzle and Zod schemas (#16966) 2026-03-11 23:40:50 +00:00
Kit Langton b9eaabe80b feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
Kit Langton 4401c08142 feat(id): brand SessionID through Drizzle and Zod schemas (#16953) 2026-03-11 23:16:56 +00:00
Aiden Cline 9e441a3ec3 chore: kill old copilot 403 message that was used for old plugin migration (#16904) 2026-03-10 16:20:41 -05:00
Dax 9c6d6ca359 refactor: replace Bun.sleep with node timers (#15013)
publish-github-action / publish (push) Has been cancelled
2026-03-05 21:54:06 -05:00
opencode-agent[bot] 1409bd2df3 chore: generate 2026-03-03 03:53:50 +00:00
Ryan Skidmore 02603fef14 fix(opencode): clone part data in Bus event to preserve token values (#15780) 2026-03-02 22:52:43 -05:00
Aiden Cline b4a0f89315 test: merge test files into a single file (#14366) 2026-02-19 20:32:01 -06:00
Dax Raad 908faf067b core: remove User-Agent header assertion from LLM test to fix failing test 2026-02-19 18:37:55 -06:00
Dax 019134be58 Remove use of Bun.file (#14215) 2026-02-19 11:32:32 -05:00
Aiden Cline f79ecdf133 core: keep message part order stable when files resolve asynchronously (#13915) 2026-02-16 18:45:11 -06:00
Kyle Mistele a65133f183 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
Aiden Cline 61c5e8ab80 fix(core): ensure compaction is more reliable, add reserve token buffer to ensure that input window has enough room to compact (#12924)
Co-authored-by: James Lal <james@littlebearlabs.io>
2026-02-10 19:55:22 -06:00
Aiden Cline 910b56442a test: fix failing prompt test (#12847) 2026-02-09 11:25:22 -06:00
Aiden Cline 671f90a945 tweak: add new ContextOverflowError type (#12777) 2026-02-08 23:54:01 -06:00
Aiden Cline e4f069ea64 fix: parse mid stream openai responses style errors to prevent infinite retries for errors that should STOP execution (#12768) 2026-02-08 20:55:41 -06:00
Khang Ha (Kelvin) c908bc5c51 fix: properly encode file URLs with special characters (#12424) 2026-02-06 16:16:56 -06:00
Adam 16e1b2bca9 fix(core): session errors when attachment file not found 2026-02-04 10:21:03 -06:00
Łukasz Gładysz cd4ab06096 fix: prioritize OPENCODE_CONFIG_DIR for AGENTS.md (#11536) 2026-02-04 01:35:22 +00:00
Aiden Cline 4389d43895 Revert pr that was mistakenly merged (#11844) 2026-02-02 15:28:02 -06:00
Aiden Cline a14f992f1c test: add unit test 2026-02-01 19:26:23 -05:00
neavo 7e13e7230a fix(opencode): scope agent variant to model (#11410) 2026-02-01 14:12:30 -06:00
YeonGyu-Kim b3b61142df fix: prevent duplicate AGENTS.md injection when reading instruction files (#11581)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-01 13:46:08 -06:00
Aiden Cline fc4fabe8a2 tweak: show actual retry error message instead of generic error msg (#11520) 2026-01-31 13:15:42 -06:00
Aiden Cline 447160ea01 test: fix flaky test (#11427) 2026-01-31 01:07:22 -06:00
Aiden Cline 1fd15a7c4d test: add llm.test.ts (#11375) 2026-01-30 17:04:32 -06:00