Commit Graph

3368 Commits

Author SHA1 Message Date
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
Desmond Sow eace76e525
fix: opencode hanging when using client.app.log() during initialization (#11642) 2026-02-01 13:14:34 -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
Alex Yaroshuk 23c803707d
fix(app): binary file handling in file view (#11312) 2026-02-01 09:40:33 -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
adamjhf c3faeae9d0
fix: correct pluralization of match count in grep and glob tools (#11565) 2026-02-01 00:15:28 -06:00
Dax 94baf1f721
fix(tui): remove extra padding between search and results in dialog-select (#11564) 2026-02-01 04:04:57 +00:00
Dax 9b8b9e28e2
feat(tui): add UI for skill tool in session view (#11561) 2026-01-31 22:59:46 -05:00
Dax 2a56a1d6ef
fix(tui): conditionally render bash tool output (#11558) 2026-01-31 22:40:37 -05: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
Dax 5b784871f0
feat: add skill dialog for selecting and inserting skills (#11547) 2026-01-31 20:52:54 -05:00
Dax Raad e70d984320 tui: enable password authentication for remote session attachment
Allow users to authenticate when attaching to a remote OpenCode session by supporting basic auth via a password flag or OPENCODE_SERVER_PASSWORD environment variable
2026-01-31 14:42:36 -05:00
Aiden Cline da7c874808
tweak: show actual retry error message instead of generic error msg (#11520) 2026-01-31 13:15:42 -06:00
Jérôme Benoit a19ef17bcb
fix(provider): use process.env directly for runtime env mutations (#11482) 2026-01-31 12:35:23 -06:00
大猫子 35f64b80fa
docs: fix documentation issues (#11435)
Co-authored-by: damaozi <1811866786@qq.com>
2026-01-31 12:30:45 -06:00
Jérôme Benoit feca42b025
feat(opencode): add reasoning variants support for SAP AI Core (#8753)
Co-authored-by: Github Action <action@github.com>
2026-01-31 09:26:23 -06:00
Ryan Vogel 53f118c57a
Revert "feat(app): add skill slash commands" (#11484) 2026-01-31 10:20:23 -05:00
Ryan Vogel 786ae0a584
feat(app): add skill slash commands (#11369) 2026-01-31 08:59:28 -06:00
陆奕丞 f73f88fb56
fix(pty): Add UTF-8 encoding defaults for Windows PTY (#11459) 2026-01-31 08:55:34 -06:00
opencode 597ae57bb1 release: v1.1.48 2026-01-31 13:48:22 +00: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
Dax Raad d005e70f50 core: ensure models configuration is not empty before loading 2026-01-31 00:57:17 -05:00
Dax 81ac41e089
feat: make skills invokable as slash commands in the TUI (#11390) 2026-01-31 00:41:55 -05:00
Aiden Cline c0e71c4261
fix: don't --follow by default for grep and other things using ripgrep (#11415) 2026-01-30 23:38:43 -06:00
Dax Raad 90f39bf672 core: prevent parallel test runs from contaminating environment variables 2026-01-31 00:37:21 -05:00
Aiden Cline 95bf01a757
fix: ensure the mistral ordering fixes also apply to devstral (#11412) 2026-01-30 23:16:07 -06: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
Dax Raad 2f4374c829 Merge remote dev and apply revert 2026-01-30 20:38:10 -05:00
Dax Raad 3542f3e406 Revert "feat: make skills invokable as slash commands in the TUI"
This reverts commit 85126556b8.
2026-01-30 20:37:41 -05:00
Benjamin Bartels f1caf84064
feat(build): respect OPENCODE_MODELS_URL env var (#11384) 2026-01-30 19:37:37 -06:00
Dax Raad 85126556b8 feat: make skills invokable as slash commands in the TUI
- Add Skill.content() method to load skill template content from SKILL.md files
- Modify Command.list() to include skills as invokable commands
- Add 'skill' boolean property to Command.Info schema
- Update autocomplete to show skills with (Skill) label in slash commands
- Regenerate SDK to include skill property in Command type
2026-01-30 20:36:48 -05: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 aef0e58ad7
chore(deps): bump ai-sdk packages (#11383)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-01-30 17:58:02 -06:00
Aiden Cline 1a6461e8bc
fix: ensure ask question tool isn't included when using acp (#11379) 2026-01-30 17:32:51 -06: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
Michael Yochpaz 2c36cbb87c
refactor(provider): remove google-vertex-anthropic special case in ge… (#10743) 2026-01-30 15:57:36 -06:00
Ryan Vogel 4a56491e42 fix(provider): exclude chat models from textVerbosity setting (#11363) 2026-01-30 21:06:48 +00:00
opencode 6cd2a68851 release: v1.1.47 2026-01-30 21:06:38 +00:00
Dax Raad e94ae550ea commit 2026-01-30 15:17:55 -05:00
opencode e9ef94dc4d release: v1.1.46 2026-01-30 19:19:34 +00:00
Idris Gadi 7d0777a7ff
chore(tui): remove unused experimental keys (#11195) 2026-01-30 12:16:01 -06:00
Dax Raad 9493316502 ci 2026-01-30 09:56:06 -05:00
Aiden Cline 11d486707c 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
opencode 71e0ba271f release: v1.1.45 2026-01-30 14:32:22 +00:00
opencode bbc7bdb3fd release: v1.1.43 2026-01-30 00:31:06 +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 75166a1961
fix: use ?? to prevent args being undefined for mcp server in some cases (#11203) 2026-01-29 22:00:12 +00:00
Dax 2125dc11c7
fix: show all provider models when no providers connected (#11198) 2026-01-29 21:19:50 +00:00
Mert Can Demir fdd484d2c1
feat: expose acp thinking variants (#9064)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-29 20:15:36 +00:00
Dax 9ed3b0742f
ci (#11149)
Co-authored-by: opencode <opencode@sst.dev>
2026-01-29 13:17:55 -05:00
Spoon 45ec3105b1
feat: support config skill registration (#9640)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-29 11:47:06 -06:00
Aiden Cline aa92ef37fd tweak: add 'skill' to permissions config section so that ides will show it as autocomplete option (this is already a respected setting) 2026-01-29 10:55:39 -06:00
Aiden Cline 301895c7f7 fix: ensure kimi k2.5 from fireworks ai and kimi for coding providers properly set temperature 2026-01-29 10:30:22 -06:00
Ravi Kumar 03ba49af4e
fix(telemetry): restore userId and sessionId metadata in experimental_telemetry (#8195) 2026-01-29 10:14:28 -06:00
opencode 7c0067d59d release: v1.1.42 2026-01-29 05:59:07 +00:00
Aiden Cline 92eb982863 fix: undo change that used anthropic messages endpoint for anthropic models on copilot due to ratelimiting issues, go back to completions endpoint instead 2026-01-28 23:52:23 -06: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 0fabdccf11 fix: ensure that kimi doesnt have fake variants available 2026-01-28 23:40:44 -06:00
Sebastian Herrlinger 41ea4694db more timeout race guards 2026-01-29 00:17:39 -05:00
Ariane Emory e84d92da28
feat: Sequential numbering for forked session titles (Issue #10105) (#10321) 2026-01-28 23:08:35 -06:00
Sebastian Herrlinger 58ba486375 guard destroyed input field in timeout 2026-01-28 23:53:37 -05:00
Benjamin Oldenburg f40bdd1ac3
feat(cli): include cache tokens in stats (#10582) 2026-01-28 22:03:44 -06:00
Aiden Cline b938e1ea99 test: fix test 2026-01-28 22:02:14 -06:00
opencode 9cfdbbb1af release: v1.1.41 2026-01-29 04:00:39 +00:00
Aiden Cline 29ea9fcf25 fix: ensure variants for copilot models work w/ maxTokens being set 2026-01-28 21:55:50 -06:00
ideallove 870c38a6aa
fix: maxOutputTokens was accidentally hardcoded to undefined (#10995) 2026-01-28 21:28:15 -06:00
Saba Tchikhinashvili b937fe9450
fix(provider): include providerID in SDK cache key (#11020)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 21:26:26 -06:00
tan 427ef95f7d
fix(opencode): allow media-src data: URL for small audio files (#11082) 2026-01-28 21:21:49 -06:00
Babou 8cdb82038a
docs: update experimental environment variables in CLI docs (#11030) 2026-01-28 20:20:13 -06:00
Aiden Cline 4d2696e027 tweak: add ctx.abort to grep tool 2026-01-28 20:06:36 -06:00
Goni Zahavy e5b33f8a5e
fix(opencode): add `AbortSignal` support to `Ripgrep.files()` and `GlobTool` (#10833) 2026-01-28 18:47:09 -06:00
opencode 4e41ca74b9 release: v1.1.40 2026-01-28 20:09:37 +00:00
Tommy D. Rossi 8c05eb22b1
fix(markdown): Add streaming prop to markdown element (#11025) 2026-01-28 12:55:57 -05:00
RenegadeE 26e14ce628
fix: add SubtaskPart with metadata reference (#10990)
Co-authored-by: yangtianzhe <yangtianzhe@corp.netease.com>
2026-01-28 11:11:43 -05:00
adamelmore acb92fcd34
chore: cleanup 2026-01-28 07:28:03 -06:00
adamelmore c9bbea4266
chore: cleanup 2026-01-28 07:28:03 -06:00
adamelmore 65e1186efe
wip(app): global config 2026-01-28 07:28:03 -06:00
adamelmore 2f35c40bb5
chore(app): global config changes 2026-01-28 07:28:02 -06:00
Aiden Cline 8798a77a72 bump: plugins 2026-01-28 07:19:18 +00:00
opencode 6eb2bdd665 release: v1.1.39 2026-01-28 07:19:17 +00:00
Aiden Cline 5a0b3ee673 fix: ensure copilot plugin properly sets headers for new messages api 2026-01-28 02:04:30 -05:00
opencode 3bb10773e6 release: v1.1.38 2026-01-28 06:42:23 +00:00
Aiden Cline 558590712d fix: ensure parallel tool calls dont double load AGENTS.md 2026-01-28 01:38:10 -05:00
Aiden Cline 026b3cc88d bump plugin version 2026-01-28 01:31:01 -05:00
Aiden Cline 28e5557bf4 ignore: adjust flag 2026-01-28 01:09:31 -05:00
GitHub Action 9a8da20a97 chore: generate 2026-01-28 06:05:21 +00:00
Goni Zahavy 63f5669eb5
fix(opencode): ensure unsub(PartUpdated) is always called in TaskTool (#9992) 2026-01-28 01:04:43 -05:00
Tito aedd760141
fix(cli): restore brand integrity of CLI wordmark (#10912) 2026-01-27 22:24:02 -05:00
GitHub Action 5f2a7c630b chore: generate 2026-01-28 03:06:58 +00:00
Tommy D. Rossi 7988f52231
feat(app): use opentui markdown component behind experimental flag (#10900) 2026-01-27 22:06:09 -05:00
opencode e3be4c9f23 release: v1.1.37 2026-01-28 02:35:38 +00:00
Rohan Godha 898118bafb
feat: support headless authentication for chatgpt/codex (#10890)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-27 19:05:52 -05:00
Aiden Cline b8e726521d fix(tui): handle 4-5 codes too in c to copy logic 2026-01-27 16:29:01 -05:00
Frank df8b23db9e Revert "Set temperature for kimi k2.5"
This reverts commit bb63d16fa8.
2026-01-27 14:48:08 -05:00
Frank bb63d16fa8 Set temperature for kimi k2.5 2026-01-27 14:13:21 -05:00
Aiden Cline 32ce0f4b0d tweak: add recommended topP/temp for kimi k2.5 2026-01-27 12:43:30 -05:00
Aiden Cline f12f7e7718 tweak: adjust retry check to be more defensive 2026-01-27 11:31:02 -05:00
GitHub Action dbc8d7edca chore: generate 2026-01-27 15:59:54 +00:00
dpuyosa d8e7e915e2
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
adamelmore 1f9313847f
feat(core): add worktree to plugin tool context 2026-01-27 06:29:19 -06:00
adamelmore a8c18dba82
fix(core): expose Instance.directory to custom tools 2026-01-26 20:07:47 -06:00
Aiden Cline 6cf2c3e3db fix: use Instance.directory instead of process.cwd() in read tool 2026-01-26 20:57:50 -05:00
adamelmore 021d9d105e
fix(app): reactive file tree 2026-01-26 16:46:09 -06:00
Aiden Cline 45b09c1465 tweak: when using messages api for copilot, attach anthropic beta headers 2026-01-26 17:17:54 -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 ac53a372b0 feat: use anthropic compat messages api for anthropic models through copilot 2026-01-26 13:18:08 -05:00
Sebastian Herrlinger f48784d152 upgrade opentui to v0.1.75 2026-01-26 11:17:26 -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
Steffen Deusch b1fbfa7e94
feat(opencode): add agent description (#10680) 2026-01-26 10:43:10 -05:00
adamelmore 7c34319b19
fix(app): query selector with non-latin chars 2026-01-26 09:33:42 -06:00
Ariane Emory 0edd304f42
fix: Make diff wrapping toggle always available in command_list and correct a type error (resolves #10682) (#10683) 2026-01-26 09:01:23 -05:00
Noam Bressler 6b83b172ae
fix: await SessionRevert.cleanup for shell (#10669) 2026-01-26 07:36:17 -05:00
Idris Gadi 444934a4c1
fix(tui): add visual feedback for diff wrap and conceal toggles (#10655) 2026-01-26 07:34:09 -05:00
adamelmore 5993a098b4 fix(core): don't override source in custom provider loaders 2026-01-25 20:40:00 -06:00
adamelmore 03d884797c wip(app): provider settings 2026-01-25 20:40:00 -06:00
Aiden Cline eaad75b176 tweak: adjust tui syncing logic to help prevent case where agents would be undefined / missing 2026-01-25 21:26:47 -05:00
Aiden Cline 578361de64 fix: remove broken app.tsx command option 2026-01-25 20:27:41 -05:00
Ariane Emory 3071720ce7
fix(tui): Move animations toggle to global System category (resolves #10495) (#10497) 2026-01-25 17:57:47 -05:00
Aiden Cline 94dd0a8dbe ignore: rm spoof and bump plugin version 2026-01-25 17:27:24 -05:00
adamelmore 407f34fed5 chore: cleanup 2026-01-25 13:20:18 -06:00
adamelmore 94ce289dd9 fix(app): run start command after reset 2026-01-25 13:20:18 -06:00
Aiden Cline e49306b86c rm log statement 2026-01-25 12:44:17 -05:00
opencode 056186225b release: v1.1.36 2026-01-25 17:29:26 +00:00
ishaksebsib ebe86e40a0
fix(tui): prevent crash when theme search returns no results (#10565) 2026-01-25 12:11:49 -05:00
Michael Yochpaz 0bc4a43320
fix(provider): enable thinking for google-vertex-anthropic models (#10442)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-24 23:42:29 -05: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
Aiden Cline 397ee419d1 tweak: make question valdiation more lax to avoid tool call failures 2026-01-24 23:11:21 -05:00
opencode 33298e8775 release: v1.1.35 2026-01-25 00:37:58 +00:00
Maharshi Patel 8f99e9a606
fix(opentui): question selection click when terminal unfocused (#9731) 2026-01-24 15:12:16 -05:00
Dax Raad ff9c186485 tests 2026-01-24 14:16:46 -05:00
Dax Raad 0d9ca0ea31 sync 2026-01-24 14:14:17 -05:00
Dax Raad 68bd16df69 core: fix models snapshot loading to prevent caching issues 2026-01-24 14:06:07 -05:00
Dax Raad fa1a54ba3d fix nix 2026-01-24 13:24:40 -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
zerone0x 087d7da14d
fix(provider): deep merge providerOptions in applyCaching (#10323)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-24 13:07:04 -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
Sebastian Herrlinger ad27427b48 use min/maxHeight for question textarea 2026-01-24 12:14:12 -05:00
Aiden Cline 88bcd04659 tweak: tell the model what model it is in environment section of prompt 2026-01-24 12:10:15 -05:00
justfortheloveof 077d17d433
fix: permission prompt should ignore keyboard events while dialog stack len > 0 (#10338) 2026-01-24 12:01:46 -05:00
GitHub Action ae77ef3370 chore: generate 2026-01-24 14:47:36 +00:00