Commit Graph

609 Commits

Author SHA1 Message Date
Zhiming Guo 8749e2d2a0 fix(opencode): Fixes image reading with OpenAI-compatible providers like Kimi K2.5. (#11323)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-05 01:54:07 -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 be3850adf7 Revert "feat: add Trinity model system prompt support" (#12029) 2026-02-03 16:39:03 -06:00
Mariam Jabara cba69f683a feat: add Trinity model system prompt support (#12025) 2026-02-03 16:33:27 -06:00
Tyler Gannon 1f2805e8b8 feat(plugin): add shell.env hook for manipulating environment in tools and shell (#12012) 2026-02-03 15:18:41 -06:00
Aiden Cline aad6f257fa fix: ensure mcp tools are sanitized (#11984) 2026-02-03 12:22:00 -06:00
Aiden Cline 4389d43895 Revert pr that was mistakenly merged (#11844) 2026-02-02 15:28:02 -06:00
Dax c740357f61 Simplify directory tree output for prompts (#11731) 2026-02-01 23:37:07 -05:00
Dax Raad 0890284bb9 core: allow starting new sessions after errors by fixing stuck session status 2026-02-01 20:39:58 -05:00
Aiden Cline 916949305d fix: adjust resolve parts so that when messages with multiple @ references occur, the tool calls are properly ordered 2026-02-01 19:26:23 -05:00
Filip 7b5b8c6633 test(app): workspace tests (#11659) 2026-02-01 15:39:50 -06:00
Aiden Cline 7453b646dd fix: when using codex sub, send the custom agent prompts as a separate developer message (previously sent as user message but api allows for instructions AND developer messages) (#11667)
Co-authored-by: Carlos <carloscanas942@gmail.com>
2026-02-01 14:57:47 -06: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
Steffen Deusch 18023af20b feat(opencode): add copilot specific provider to properly handle copilot reasoning tokens (#8900)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-30 19:53:22 -06:00
Aiden Cline 3bbaa5d114 fix: rm ai sdk middleware that was preventing <think> blocks from being sent back as assistant message content (#11270)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-01-30 09:36:57 -05:00
Ravi Kumar 271321e73b fix(telemetry): restore userId and sessionId metadata in experimental_telemetry (#8195) 2026-01-29 10:14:28 -06:00
Ariane Emory c515114796 feat: Sequential numbering for forked session titles (Issue #10105) (#10321) 2026-01-28 23:08:35 -06:00
Aiden Cline d2d0a47886 fix: ensure variants for copilot models work w/ maxTokens being set 2026-01-28 21:55:50 -06:00
ideallove b97e4c5d6d fix: maxOutputTokens was accidentally hardcoded to undefined (#10995) 2026-01-28 21:28:15 -06:00
RenegadeE 531328d477 fix: add SubtaskPart with metadata reference (#10990)
Co-authored-by: yangtianzhe <yangtianzhe@corp.netease.com>
2026-01-28 11:11:43 -05:00
Aiden Cline 06ce93a626 fix: ensure parallel tool calls dont double load AGENTS.md 2026-01-28 01:38:10 -05:00
Aiden Cline 907fa1fe71 tweak: adjust retry check to be more defensive 2026-01-27 11:31:02 -05:00
GitHub Action 32c2ef0d3b chore: generate 2026-01-27 15:59:54 +00:00
dpuyosa 6f18cad79d feat(opencode): Handle Venice cache creation tokens (#10735)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-27 10:59:12 -05:00
Aiden Cline 76d122b48e tweak: retry logic to catch certain provider problems 2026-01-26 16:12:41 -05:00
Tim c3541d98a4 fix: ensure openai 404 errors are retried (#10590) 2026-01-26 13:50:04 -05:00
Aiden Cline c29791caa2 feat: use anthropic compat messages api for anthropic models through copilot 2026-01-26 13:18:08 -05:00
Aiden Cline 5be2bcf5c9 feat: dynamically resolve AGENTS.md files from subdirectories as agent explores them (#10678) 2026-01-26 10:49:41 -05:00
adamelmore c13fc50272 fix(app): query selector with non-latin chars 2026-01-26 09:33:42 -06:00
Noam Bressler 2db6a1bf32 fix: await SessionRevert.cleanup for shell (#10669) 2026-01-26 07:36:17 -05:00
Aiden Cline 66da7594d4 ignore: rm spoof and bump plugin version 2026-01-25 17:27:24 -05:00
Aiden Cline 75ede6a527 tweak: tell the model what model it is in environment section of prompt 2026-01-24 12:10:15 -05:00
Alex Yaroshuk 724bb5ad92 fix(app): normalize path separators for session diff filtering on Windows (#10291) 2026-01-23 16:17:47 -06:00
Aiden Cline 4a98b986ea fix: ensure images are properly returned as tool results 2026-01-21 23:54:44 -06:00
luo jiyin 155a6302d2 fix: correct spelling 'supercedes' to 'supersedes' (#9935)
Signed-off-by: luojiyin <luojiyin@hotmail.com>
2026-01-21 22:10:40 -06:00
Daniel Rodriguez e10f160f10 fix: include _noop tool in activeTools for LiteLLM proxy compatibility (#9912) 2026-01-21 18:46:41 -06:00
Aiden Cline 3ac44e7f9d add chat.headers hook, adjust codex and copilot plugins to use it 2026-01-21 15:10:08 -06:00
Aiden Cline 54714b7d10 fix: when dropping unsupported metadata match on providerID/model.id instead of providerID/model.api.id to prevent regression when using legacy model ids (pre-variant) 2026-01-21 13:39:55 -06:00
Dax Raad c96a23bc7d core: update session summary after revert to show file changes 2026-01-21 01:01:20 -05:00
GitHub Action a9ae6d4dcd chore: generate 2026-01-21 05:37:18 +00:00
Kenny fce5f6cad1 feat: add OPENCODE_DISABLE_PROJECT_CONFIG env var (#8093)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-20 23:36:42 -06:00
Aiden Cline 81e5542077 tweak: ensure synthetic user message following subtasks is only added when user manually invoked subtask 2026-01-20 22:51:54 -06:00
GitHub Action 15c2751770 chore: generate 2026-01-21 02:39:31 +00:00
Ariane Emory 6b32465309 fix: don't update session timestamp for metadata-only changes (resolves #9494) (#9495) 2026-01-20 20:38:54 -06:00
Aiden Cline 4c4f51cc29 core: fix issue when switching models (mainly between providers) where past reasoning/metadata would be sent to server and cause 400 errors since they came from another account/provider 2026-01-20 16:39:00 -06:00
Aiden Cline c568f0b748 chore: rename toModelMessage -> toModelMessages 2026-01-20 16:16:23 -06:00
Trevor Walker ecccd10bf3 fix(opencode): preserve tool input from running state for MCP tool results (#9667) 2026-01-20 15:12:15 -06:00