282 Commits

Author SHA1 Message Date
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
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
Aiden Cline
0fd6f365be
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
f74c0339cc
test: fix failing prompt test (#12847) 2026-02-09 11:25:22 -06:00
Aiden Cline
99ea1351ce
tweak: add new ContextOverflowError type (#12777) 2026-02-08 23:54:01 -06:00
Aiden Cline
62f38087b8
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
Dax
7249b87bf6
feat(skill): add skill discovery from URLs via well-known RFC (#12423)
Co-authored-by: Frank <frank@anoma.ly>
2026-02-06 17:31:40 -05:00
Khang Ha (Kelvin)
fde0b39b7c
fix: properly encode file URLs with special characters (#12424) 2026-02-06 16:16:56 -06:00
Matt Silverlock
24dbc46548
fix(github): handle step-start/step-finish parts in extractResponseText (#12470) 2026-02-06 10:20:33 -06:00
Yuvraj Virk
c07077f96c
fix: correct /data API usage and data format for importing share URLs (#7381) 2026-02-06 15:29:10 +00:00
Hank Stoever
229cdafcc4
fix(config): handle $ character with {file:} pattern (#12390)
Co-authored-by: Hank Stoever <1109058+hstove@users.noreply.github.com>
2026-02-05 20:10:35 -06:00
Dax Raad
9adcf524e2 core: bundle GitLab auth plugin directly instead of dynamic install
Remove dynamic installation of built-in plugins. GitLab auth is now imported

directly as an internal plugin, eliminating network requests during startup

and simplifying the plugin loading logic.

Removes the need for test mocks since plugins are no longer

dynamically installed at runtime.
2026-02-05 11:29:00 -05:00
Dax Raad
531b1941a0 ci: ensure config test waits for dependencies to complete installation 2026-02-05 10:13:52 -05:00
Dax
556adad67b
fix: wait for dependencies before loading custom tools and plugins (#12227) 2026-02-05 03:25:43 +00:00
Shantur Rathore
0d38e69038
fix(core): skip dependency install in read-only config dirs (#12128) 2026-02-04 14:45:59 -06:00
Adam
1721c6efdf
fix(core): session errors when attachment file not found 2026-02-04 10:21:03 -06:00
Sergiy Dybskiy
b942e0b4dc
fix: prevent double-prefixing of Bedrock cross-region inference models (#12056) 2026-02-03 23:06:17 -06:00
Łukasz Gładysz
6daa962aaa fix: prioritize OPENCODE_CONFIG_DIR for AGENTS.md (#11536) 2026-02-04 01:35:22 +00:00
Max Leiter
93e060272a
fix: prevent memory leaks from AbortController closures (#12024) 2026-02-03 17:51:26 -06:00
Aiden Cline
a68fedd4a6
chore: adjust way skill dirs are whitelisted (#12026) 2026-02-03 16:33:36 -06:00
Idris Gadi
95211a8854
feat(tui): allow theme colors in agent customization (#11444) 2026-02-03 15:09:21 -06:00
Dax
17e62b050f
feat: add support for reading skills from .agents/skills directories (#11842)
Co-authored-by: Filip <34747899+neriousy@users.noreply.github.com>
2026-02-03 15:51:54 -05:00
Aiden Cline
857b8a4b56
test: add test for new skill improvements (#11969) 2026-02-03 16:05:10 +00:00
Aiden Cline
3975329629
feat: improve skills, better prompting, fix permission asks after invoking skills, ensure agent knows where scripts/resources are (#11737) 2026-02-03 09:58:31 -06:00
Muhammad Mugni Hadi
3741516fe3
fix: handle nested array items for Gemini schema validation (#11952) 2026-02-03 09:24:52 -06:00
Filip
d116c227e0
fix(core): plugins are always reinstalled (#9675) 2026-02-03 00:47:52 -06:00
Kiyoung Chang
3adeed8f97
fix(provider): strip properties/required from non-object types in Gemini schema (#11888) 2026-02-02 23:13:24 -06:00
Aiden Cline
188cc24bfc
chore: cleanup external_dir perm logic (#11845) 2026-02-02 16:43:55 -06:00
Aiden Cline
aa6b552c39
Revert pr that was mistakenly merged (#11844) 2026-02-02 15:28:02 -06:00
Adam
3b93e8d95c
fix(app): added/deleted file status now correctly calculated 2026-02-02 14:24:23 -06:00
Jigar
43354eeabd
fix: convert system message content to string for Copilot provider (#11600)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 23:28:28 -06:00
Dax Raad
0f3630d936 ci: skip unicode filename test due to inconsistent behavior causing CI failures 2026-02-01 21:01:57 -05:00
Aiden Cline
5db089070a test: add unit test 2026-02-01 19:26:23 -05:00
Aiden Cline
f6948d0ffa
fix: variant logic for anthropic models through openai compat endpoint (#11665) 2026-02-01 14:50:49 -06:00
Rohan Godha
ca5e85d6ea
fix: prompt caching for opus on bedrock (#11664) 2026-02-01 14:42:42 -06:00
neavo
f15755684f
fix(opencode): scope agent variant to model (#11410) 2026-02-01 14:12:30 -06:00
YeonGyu-Kim
16145af480
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
zerone0x
cc1d3732bc
fix(tui): remove outer backtick wrapper in session transcript tool formatting (#11566)
Co-authored-by: Claude <noreply@anthropic.com>
2026-02-01 13:11:18 -06:00
Joscha Götzer
3577d829c2
fix: allow user plugins to override built-in auth plugins (#11058)
Co-authored-by: JosXa <info@josxa.dev>
2026-02-01 10:50:41 -06:00
Aiden Cline
d1d7447493
fix: ensure switching anthropic models mid convo on copilot works without errors, fix issue with reasoning opaque not being picked up for gemini models (#11569) 2026-02-01 01:36:44 -06:00
Aiden Cline
d4c90b2dfb
fix: issue where you couldn't @ folders/files that started with a "." (#11553) 2026-01-31 21:01:51 -06:00
Aiden Cline
da7c874808
tweak: show actual retry error message instead of generic error msg (#11520) 2026-01-31 13:15:42 -06:00
Aiden Cline
f834915d3f
test: fix flaky test (#11427) 2026-01-31 01:07:22 -06:00
Dax Raad
6b972329fd sync 2026-01-31 01:58:20 -05:00
Dax Raad
6ecd011e51 tui: allow specifying custom models file path via OPENCODE_MODELS_PATH
Users can now configure their own models configuration file by setting the OPENCODE_MODELS_PATH environment variable, providing more flexibility for testing and configuration.
2026-01-31 01:53:23 -05:00
opencode-agent[bot]
644f0d4e92 chore: generate 2026-01-31 02:35:22 +00:00
Steffen Deusch
d9f18e4006
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
opencode-agent[bot]
252b2c450d chore: generate 2026-01-31 01:32:46 +00:00
Cesar Garcia
0c32afbc35
fix(provider): use snake_case for thinking param with OpenAI-compatible APIs (#10109) 2026-01-31 01:32:02 +00:00