Commit Graph

101 Commits

Author SHA1 Message Date
Dax 0a4df97382 Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Aiden Cline 2abe97aee6 respect subagent in command, add subtask flag (#2569) 2025-09-13 12:47:18 -05:00
Chris Covington 599233a52c feat: Add an experimental option to disable paste summaries (#2552)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-11 14:21:08 -05:00
Aiden Cline 89ff5fa1dc resolve nested commands (#2537) 2025-09-10 14:05:26 -05:00
Dax Raad 2f726087fb support OPENCODE_CONFIG_CONTENT 2025-09-02 16:38:50 -04:00
OpeOginni bf02c6a265 fix: local subdirectory subagents not being picked up (#2376) 2025-09-02 09:46:00 -05:00
Dax aea78046d0 Refactor to support multiple instances inside single opencode process (#2360)
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk

1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
Beshoy Girgis bf77aa6acd feat: Allow provider timeout override (#1982) 2025-08-31 14:06:02 -04:00
Jay V 117bfa6083 docs: updating config schema 2025-08-26 16:10:53 -04:00
Dax 1bd97ef802 slash commands (#2157)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-08-22 17:04:28 -04:00
Aiden Cline 7e4284152b fix: agent casing issue (#2081) 2025-08-19 18:08:56 -05:00
spoons-and-mirrors dbf12e634f tweak(timeline): add a dot to the session timeline modal for better visual cue of session's revert point (#1978) 2025-08-18 05:50:43 -05:00
spoons-and-mirrors 2b53a043a6 tweak(config): make markdown agent files in subfolder discoverable .opencode/agent/some-folder/*.md (#1999) 2025-08-16 22:55:14 -04:00
Aiden Cline 30c17d9544 feat: top level tool config (#2008) 2025-08-16 22:51:56 -04:00
Aiden Cline 0d6342bd7f feat: add scroll speed to config (#1968) 2025-08-15 13:21:02 -05:00
adamdotdevin dddc968bb2 feat(tui): navigate child sessions (subagents) 2025-08-15 10:16:08 -05:00
adamdotdevin d258ad2aa9 fix: more commands cleanup 2025-08-15 07:43:30 -05:00
adamdotdevin 8a95a0f288 fix: keybind docs out of sync 2025-08-15 06:45:20 -05:00
adamdotdevin 81cd149cc1 chore: deprecate unused keybinds 2025-08-15 06:36:28 -05:00
adamdotdevin 6e7a8cfb2f fix: add missing keybinds to config 2025-08-15 06:33:45 -05:00
Aiden Cline 530b7b092a fix: js plugin support as per documentation (#1896) 2025-08-13 12:25:04 -05:00
Aiden Cline b73ec26a1a fix: better error message when config has invalid references (#1874) 2025-08-12 19:28:41 -05:00
Dax Raad e2c02b1518 support OPENCODE_PERMISSION json env variable 2025-08-12 12:28:08 -04:00
Dax 2a13b1b81e Add agent-level permissions with whitelist/blacklist support (#1862) 2025-08-12 11:39:39 -04:00
adamdotdevin 0e6cc67ee9 feat: toggle tool details visible 2025-08-11 11:58:46 -05:00
Dax Raad d85e4fee1d make models key optional in config 2025-08-11 10:54:14 -04:00
Dax Raad 2c8bd78883 pass through additional agent options to the provider 2025-08-10 21:34:46 -04:00
Dax Raad 652bed02bb support agent options 2025-08-10 20:30:37 -04:00
Aiden Cline bb5396263c feat: webfetch permission support (#1772) 2025-08-10 08:00:44 -05:00
Dax 77c101d742 Merge agent and mode into one (#1689)
The concept of mode has been deprecated, there is now only the agent field in the config.

An agent can be cycled through as your primary agent with <tab> or you can spawn a subagent by @ mentioning it. if you include a description of when to use it, the primary agent will try to automatically use it

Full docs here: https://opencode.ai/docs/agents/
2025-08-07 16:32:12 -04:00
Timo Clasen 8f65d92165 fix(docs): small_model is not used for summarization (#1360) 2025-08-06 14:03:14 -05:00
Dax Raad ed3d49d74a add snapshot field in config to disable snapshots 2025-08-06 11:35:37 -04:00
Aiden Cline 4fa81b899d permissions disallow support (#1627) 2025-08-05 19:14:28 -05:00
Dax Raad 48faf9d3ce wip: plugins 2025-08-03 21:43:58 -04:00
Dax Raad 4fc04bbac2 wip: plugin load from package 2025-08-03 21:19:03 -04:00
Aiden Cline e159922c06 fix: expand tilde for file: references (#1553) 2025-08-03 06:15:06 -05:00
Dax Raad d3ca086b59 wip: plugins 2025-08-02 18:50:19 -04:00
Aiden Cline 63a7f04f65 better configuration error messages (#1517) 2025-08-01 19:10:32 -04:00
Dax Raad cbd7db5a73 make top_p configurable 2025-08-01 17:03:33 -04:00
Dax Raad 36318f74f7 configurable lsp 2025-08-01 14:52:10 -04:00
Aiden Cline 45d835e5e8 fix: {file:...} references weren't being parsed correctly in some cases (#1499) 2025-08-01 08:39:21 -05:00
Dax Raad 918b7019c7 formatter config 2025-07-31 19:36:07 -04:00
Dax Raad a64165b456 allow disabling formatter 2025-07-31 18:56:04 -04:00
Dax Raad c6a7ab6bd6 ignore: ts optimization 2025-07-31 16:54:15 -04:00
Aiden Cline 8788e221b8 fix: load global jsonc (#1479) 2025-07-31 15:02:28 -05:00
Aiden Cline d60e346cbb feat: jsonc configuration file support (#1434) 2025-07-31 06:25:26 -05:00
Robert Holden 1167e12f72 feat: mode directory markdown configuration loading (#1377) 2025-07-30 23:22:43 -04:00
Dax 50c93a349f use treesitter to parse bash commands and catch commands that go outside of cwd (#1443) 2025-07-30 20:57:52 -04:00
Dax Raad 8528f471c7 experimental well-known auth support
publish / publish (push) Has been cancelled
2025-07-29 19:30:51 -04:00
Jacob Hands 9e0edaa5d6 feat: add OPENCODE_CONFIG env var for specifying a custom config file (#1370) 2025-07-29 11:03:11 -04:00