Commit Graph

251 Commits

Author SHA1 Message Date
Aiden Cline c05adad02e fix: shell invocations are dropped if last interaction was revert (#2485) 2025-09-07 21:45:13 -05:00
Ytzhak 9d167eda41 fix: max output tokens when setting budget thinking tokens (#2056)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-07 13:15:53 -05:00
Aiden Cline 51a33e5c37 fix: title gen w/ gpt-5-nano (#2473) 2025-09-06 22:50:16 -05:00
Aiden Cline 77293db088 fix: title not generated if first msg is shell invocation (#2451) 2025-09-06 09:47:42 -05:00
Aiden Cline 02bd730bdf fix: command model selection (#2448) 2025-09-05 20:54:39 -05:00
Adam ce7bc4d770 fix: better file/content return 2025-09-04 12:39:49 -05:00
Aiden Cline 8c0076d57d fix: more durable @ references for commands (#2386) 2025-09-02 21:24:56 -05:00
Adam Spiers 8bef2c7538 make @file references in custom slash commands more robust (#2203)
Co-authored-by: Adam Spiers <opencode@adamspiers.org>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-01 21:14:27 -05:00
Dax Raad 041b37b64f switch gpt-5 to default to codex prompt + high reasoning 2025-09-01 21:46:03 -04: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
Aiden Cline f7e413fe95 fix: ensure shell cmds can be properly aborted (#2339) 2025-08-31 12:48:30 -05:00
Aiden Cline ed9a2aa2df fix: adjust title generation prompt to prevent direct response instead of title gen (#2338) 2025-08-31 11:01:19 -05:00
Aiden Cline 8d51ab434f fix: mcp tool not triggering hooks (#2320) 2025-08-29 21:51:06 -05:00
Aiden Cline dc5c71b365 ignore: add error log for title gen failures (#2309) 2025-08-29 10:53:58 -05:00
Aiden Cline 948ce1a0bf fix: add additional encouragement for title gen (#2298) 2025-08-29 09:47:08 -05:00
Aiden Cline 98e00fbf47 allow slash commands to resolve ~/ references (#2295) 2025-08-28 17:31:03 -05:00
Aiden Cline b067382147 add synthetic user message before bash execution (when using !) (#2283) 2025-08-27 17:41:24 -05:00
Aiden Cline 23e3f10235 fix: ensure / commands dont try to resolve @ references from cmd outputs (#2282) 2025-08-27 15:59:33 -05:00
Aiden Cline 8e27f9bef7 fix: command model selection (#2219) 2025-08-24 12:06:48 -05:00
Aiden Cline f4ccf0457f fix: count reasoning tokens (#2187) 2025-08-22 18:21:39 -05: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 08397fcdc8 tweak: adjust plan -> build transition prompt (#2111) 2025-08-21 06:52:38 -05:00
Dax Raad f69816302b sonic model 2025-08-20 01:02:41 -04:00
Aiden Cline 2ef0c3c1fb tweak: notify agent it is in build mode when switching from plan mode (#2065) 2025-08-19 15:32:31 -05:00
Aiden Cline f7dff48947 tweak: plan prompt, more explicit about not modifying files (#1991) 2025-08-16 08:56:43 -05:00
Yihui Khuu 03e7829394 feat(shell): load .zshenv and respect ZDOTDIR if present (#1958) 2025-08-15 13:24:34 -05:00
Yihui Khuu 74bf6028fa fix(shell): commands expecting stdin will be "working" indefinitely (#1964) 2025-08-15 13:23:59 -05:00
adamdotdevin dddc968bb2 feat(tui): navigate child sessions (subagents) 2025-08-15 10:16:08 -05:00
Mariano Uvalle 3f1eec0747 Feat: Render tool metadata after permission rejection. (#1949)
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-08-15 06:16:40 -05:00
Aiden Cline f056ad2494 fix: fish shell (#1950) 2025-08-15 06:11:09 -05:00
Aiden Cline e07e28e5b5 fix: small tweak to support nushell (#1943) 2025-08-14 17:54:22 -05:00
Dax Raad b4c81830db fix for session stuck in "Working..." 2025-08-14 12:20:22 -04:00
Aiden Cline d1c2011cb7 fix: support fish shell (#1911) 2025-08-13 20:04:04 -05:00
Aiden Cline 18dbb56040 fix: bash should hide stdout from zshrc (#1909) 2025-08-13 17:04:32 -04:00
Dax Raad 7b78ee7688 support !shell commands 2025-08-13 15:26:13 -04:00
adamdotdevin 1d30b9260f feat: bash commands 2025-08-13 13:28:22 -05:00
Dax Raad fa004648c4 wip: bash 2025-08-13 14:14:27 -04:00
Dax Raad bed043b156 wip: bash 2025-08-13 13:31:29 -04:00
Dax Raad a27799a187 wip: bash commands 2025-08-13 13:29:06 -04:00
adamdotdevin 565ff387fe fix: allow attachments outside cwd, and support svg 2025-08-13 10:36:50 -05:00
Dax Raad ebd5b7a36c update copilot prompt 2025-08-12 20:01:34 -04:00
Dax Raad fea9cc399a add openai prompt cache key 2025-08-12 17:37:15 -04:00
Dax Raad 804ac4f237 fix issue when @ tagging fiels throwing error 2025-08-12 13:30:52 -04:00
Dax 2a13b1b81e Add agent-level permissions with whitelist/blacklist support (#1862) 2025-08-12 11:39:39 -04:00
Dax Raad d571fb08a7 support wildcard matching tool names in config 2025-08-11 23:37:09 -04:00
Dax Raad 91a7b503d0 update anthropic prompt and variables 2025-08-11 21:01:33 -04:00
Dax Raad 5d25603044 Update GPT-5 system prompt to use copilot-specific prompt instead of codex prompt
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-08-11 14:28:49 -04:00
adamdotdevin 0e6cc67ee9 feat: toggle tool details visible 2025-08-11 11:58:46 -05:00
Timo Clasen 01f8eec4bf fix: only load the first local and global rule file (#1761) 2025-08-11 08:28:03 -05:00
Aiden Cline 8e8aed40af fix: instructions should be able to handle absolute paths (#1762) 2025-08-11 08:23:41 -05:00