Commit Graph

310 Commits

Author SHA1 Message Date
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
Aiden Cline 9d3f32065b
test: add llm.test.ts (#11375) 2026-01-30 17:04:32 -06:00
Patrick Schiel e7ff7143b6
fix: handle redirected_statement treesitter node in bash permissions (#6737) 2026-01-30 16:11:45 -06:00
Ryan Vogel 4a56491e42 fix(provider): exclude chat models from textVerbosity setting (#11363) 2026-01-30 21:06:48 +00:00
Mikhail Levchenko b5ffa997da
feat(config): add managed settings support for enterprise deployments (#6441)
Co-authored-by: Dax <mail@thdxr.com>
2026-01-29 22:56:25 +00:00
Aiden Cline 33c5c100ff
fix: frontmatter was adding newlines in some cases causing invalid model ids (#11095)
Co-authored-by: aptdnfapt <aptdnfapt@users.noreply.github.com>
2026-01-28 23:40:59 -06:00
Aiden Cline b938e1ea99 test: fix test 2026-01-28 22:02:14 -06:00
Aiden Cline 558590712d fix: ensure parallel tool calls dont double load AGENTS.md 2026-01-28 01:38:10 -05:00
Aiden Cline f12f7e7718 tweak: adjust retry check to be more defensive 2026-01-27 11:31:02 -05:00
Aiden Cline 8b5dde5536 tweak: retry logic to catch certain provider problems 2026-01-26 16:12:41 -05:00
GitHub Action 18bfc740c8 chore: generate 2026-01-26 18:50:58 +00:00
Tim 837037cd04
fix: ensure openai 404 errors are retried (#10590) 2026-01-26 13:50:04 -05:00
Aiden Cline 39a73d4894
feat: dynamically resolve AGENTS.md files from subdirectories as agent explores them (#10678) 2026-01-26 10:49:41 -05:00
adamelmore 5993a098b4 fix(core): don't override source in custom provider loaders 2026-01-25 20:40:00 -06:00
Aiden Cline e2d0d85d93 test: fix 2026-01-24 23:42:12 -05:00
Aiden Cline 2917a2fa61 test: fix 2026-01-24 23:41:47 -05:00
Dax Raad 32e6bcae3b core: fix unicode filename handling in snapshot diff by disabling quote escaping
This ensures unicode and special characters in filenames are displayed correctly when generating diff patches, allowing proper file detection and revert operations
2026-01-24 13:07:07 -05:00
Britt f4cf3f4976
fix(web): construct apply_patch metadata before requesting permission (#10422) 2026-01-24 12:00:21 -06:00
Dax Raad e3c1861a3e get rid of models.dev macro 2026-01-24 12:27:13 -05:00
Arthur cf7e10c4e8
fix: add xhigh reasoning effort for GitHub Copilot GPT-5 models (#10092)
Co-authored-by: Arthur Freitas Ramos <arthur@MacBook-Air-de-Arthur.local>
2026-01-24 00:09:47 -05:00
Aiden Cline c2844697f3 fix: ensure images are properly returned as tool results 2026-01-21 23:54:44 -06:00
Alex Sadleir fc0210c2fd
fix(acp): rename setSessionModel to unstable_setSessionModel (#9940) 2026-01-21 22:11:09 -06:00
Daniel Olowoniyi 2a370f8038
feat: implement home directory expansion for permission patterns using `~` and `$HOME` prefixes. (#9813) 2026-01-21 12:52:21 -06:00
Bart Broere 8df09abb1b
feat: Make the models.dev domain configurable for offline environments (#9258) 2026-01-21 11:23:07 -06:00
Stephen Collings 0e1a8a1839
fix: Claude w/bedrock custom inference profile - caching support (#9838)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-21 10:42:13 -06:00
GitHub Action 96e9c89cc6 chore: generate 2026-01-21 05:37:18 +00:00
Kenny a18ae2c8b7
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 021e42c0bb 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 0c4ffec857 chore: rename toModelMessage -> toModelMessages 2026-01-20 16:16:23 -06:00
Aiden Cline 9706aaf552 rm filetime assertions from patch tool 2026-01-20 00:32:29 -06:00
Aiden Cline e2f1f4d81e
add scheduler, cleanup module (#9346) 2026-01-18 23:33:23 -06:00
Aiden Cline 0d8e706fac test: fix transfomr test 2026-01-18 14:44:39 -06:00
zerone0x 38c641a2fc
fix(tool): treat .fbs files as text instead of images (#9276)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-18 13:17:49 -06:00
Noam Bressler bef1f66281
fix(acp): use single global event subscription and route by sessionID (#5628)
Co-authored-by: noamzbr <noamzbr@users.noreply.github.com>
Co-authored-by: noam-v <noam@bespo.ai>
2026-01-18 01:29:42 -06:00
GitHub Action d13c0ea915 chore: generate 2026-01-18 06:42:13 +00:00
Bowen Dwelle 3591372c45
feat(tool): increase question header and label limits (#9201) 2026-01-18 00:41:36 -06:00
Aiden Cline b7ad6bd839
feat: apply_patch tool for openai models (#9127) 2026-01-18 00:35:09 -06:00
Aiden Cline 052f887a9a core: prevent env variables in config from being replaced with actual values
When opencode.json was missing a $schema, the config loader would add it
and write the file back - but with env variables like {env:API_KEY} replaced
with their actual secret values. This made it impossible to safely commit
opencode.json to version control.

Now the original config text is preserved when adding $schema, keeping
variable placeholders intact.
2026-01-17 20:59:50 -06:00
Aiden Cline ea13b6e8aa test: add azure test case 2026-01-17 00:35:49 -06:00
Aiden Cline 33290c54cd Revert "feat(mcp): add OAuth redirect URI configuration for MCP servers (#7379)"
This reverts commit 40b275d7e6.
2026-01-16 22:17:33 -06:00
Aiden Cline 7c3eeeb0fa
fix: gpt id stuff fr fr this time :/ (#9006) 2026-01-16 22:09:36 -06:00
Aiden Cline 8c24879246 test: fix 2026-01-16 15:52:51 -06:00
Aiden Cline f5a6a4af7f Revert "fix: ensure that tool attachments arent sent as user messages (#8944)"
This reverts commit 8fd1b92e6e.
2026-01-16 15:50:24 -06:00
Aiden Cline 8fd1b92e6e
fix: ensure that tool attachments arent sent as user messages (#8944) 2026-01-16 12:47:43 -06:00
Aiden Cline 40836e9683 fix: fix the itemId stripping logic, this time it should fix that id issue w/ gpt models fr 2026-01-16 11:34:45 -06:00
Aiden Cline d510bd52a4 Revert "test: fix test now that image fix went in"
This reverts commit fffa718f5e.
2026-01-16 09:34:00 -06:00
Aiden Cline fffa718f5e test: fix test now that image fix went in 2026-01-16 00:11:30 -06:00
Christopher Tso 40b275d7e6
feat(mcp): add OAuth redirect URI configuration for MCP servers (#7379) 2026-01-15 23:36:48 -06:00
Aiden Cline d8ef9f808d test: fix transform test 2026-01-15 19:27:04 -06:00
Dan Lapid b572c68100
fix(mcp): show auth URL when browser cannot open in remote sessions (#7884) 2026-01-15 20:21:39 -05:00
Sercan Sagman 81983d4a2e
fix(agent): default agent selection in acp and headless mode (#8678)
Signed-off-by: assagman <ahmetsercansagman@gmail.com>
2026-01-15 17:09:19 -06:00
seilk 9b57db30d1 feat: add litellmProxy provider option for explicit LiteLLM compatibility (#8658)
Co-authored-by: Mark Henderson <Mark.Henderson99@hotmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-15 22:01:15 +00:00
Aiden Cline dc1c25cff5
fix: ensure frontmatter can process same content as other agents (#8719) 2026-01-15 13:06:14 -06:00
opencode-agent[bot] ebc194ca9a
Prettify retry duration display in TUI (#8608)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2026-01-15 11:50:18 -06:00
Brandon Smith 8d720f9463
fix(opencode): add input limit for compaction (#8465) 2026-01-15 01:35:16 -06:00
Aiden Cline 92931437c4
fix: codex id issue (#8605) 2026-01-15 01:31:50 -06:00
Aiden Cline 50dfa9caf3
chore: upgrade bun from 1.3.5 -> 1.3.6, also update types/bun from 1.3.4 -> 1.3.6 and fix type errs (#8499)
Co-authored-by: Github Action <action@github.com>
2026-01-14 11:53:12 -06:00
Jacopo Binosi 3a9e6b558c
feat(opencode): add AWS Web Identity Token File support for Bedrock (#8461) 2026-01-14 10:20:47 -06:00
Shane Bishop 077ca4454f
fix(desktop): "load more" button behavior in desktop sidebar (#8430) 2026-01-14 07:36:08 -06:00
Vladimir Glafirov 452f11ff77
fix: Add Plugin Mocks to Provider Tests (#8276) 2026-01-13 15:23:41 -06:00
Dax Raad 501347cda5 test: fix plan agent test path from .opencode/plan/* to .opencode/plans/* 2026-01-13 16:19:14 -05:00
Dax 0a3c72d678
feat: add plan mode with enter/exit tools (#8281) 2026-01-13 15:55:48 -05:00
Vladimir Glafirov 05867f9318
feat: Add GitLab Duo Agentic Chat Provider Support (#7333)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-13 13:21:39 -06:00
Aiden Cline fd37d5b54e tweak: truncation dir perm 2026-01-12 16:46:47 -06:00
Aiden Cline 5c4345da4f test: fix read test 2026-01-12 15:49:31 -06:00
Aiden Cline 735f3d17bc
fix: ensure plurals are properly handled (#8070) 2026-01-12 15:21:01 -06:00
Aiden Cline 62702fbd11 fix: permissions wildcarding so that for ex: 'ls *' includes ls * AND 'ls' to prevent having to double state commands or use 'ls*' 2026-01-12 13:02:29 -06:00
Aiden Cline d527ceeb2b test: fix 2026-01-12 12:33:39 -06:00
Dillon Mulroy fa79736b87
fix: check worktree for external_directory permission in subdirs (#7811) 2026-01-11 14:17:36 -06:00
Dax Raad f94ee5ce90 core: extract external directory validation to shared utility to reduce code duplication across tools 2026-01-10 18:49:42 -05:00
Frédéric DE MATOS 1662e149b3
fix: add ChatGPT-Account-Id header for organization subscriptions (#7603) 2026-01-10 07:50:24 -06:00
Jeon Suyeol 8e3ab4afa7
feat(config): deduplicate plugins by name with priority-based resolution (#5957) 2026-01-09 02:11:24 -06:00
Dax 22dd70b75b
feat(question): support multi-select questions (#7386) 2026-01-08 17:32:21 -05:00