Commit Graph

1024 Commits

Author SHA1 Message Date
Aiden Cline 92c126d875
fix: lsp spawn logic (#2723) 2025-09-21 11:25:47 -05:00
Dax Raad 079095d7a9 core: filter models without keys in opencode provider 2025-09-21 04:43:32 -04:00
Aiden Cline 84d95a0d2a
ignore: lsp log (#2715) 2025-09-20 23:02:06 -05:00
Dax Raad 7be9dc8e49 ignore: fix 2025-09-19 06:13:45 -04:00
Dax Raad ae6154e1c3 ignore: rework bootstrap so server lazy starts it 2025-09-19 05:11:29 -04:00
Dax Raad baaff81a06 fix task tool ui disappearing once done 2025-09-19 01:09:52 -04:00
Aiden Cline ffa5689885
docs: subtask config option (#2682) 2025-09-18 17:52:23 -05:00
Dax 3b6c0ec0b3
support custom tools (#2668) 2025-09-18 03:58:21 -04:00
Julián Díaz 71076d5c68
fix: add synthetic user prompt after session compaction (#2659)
Co-authored-by: Julián Díaz <git@jdiaz.io>
2025-09-17 23:27:37 -04:00
Aiden Cline ff6a93f355
fix: only keep aborted messages if they have sufficient parts (#2651) 2025-09-17 14:24:53 -05:00
Aiden Cline 3c3d6b65c2
Revert "fix: type 'reasoning' was provided without its required follo… (#2648) 2025-09-17 11:17:26 -05:00
Aiden Cline 8c2aec43b8
fix: type 'reasoning' was provided without its required following item (#2633) 2025-09-17 09:45:13 -05:00
Aiden Cline 2564801bde
tweak: adjust title gen when using models like gpt-5-nano on non open… (#2646) 2025-09-17 08:39:34 -05:00
Dax Raad 40c206c2f9 add `opencode attach` command to connect to a remote opencode server 2025-09-17 03:30:25 -04:00
Dax Raad 259c722208 only prune messages from more than 2 turns ago 2025-09-17 03:30:09 -04:00
Dax Raad abd99aeb7d ignore: fix event type gen 2025-09-17 01:17:56 -04:00
Dax Raad d4c01f858b disable thinking for opencode zen and gpt-5 temporarily 2025-09-16 13:49:37 -04:00
Dax Raad 3aeac02bf1 enable session pruning and allow disabling with OPENCODE_DISABLE_PRUNE 2025-09-16 04:53:17 -04:00
Dax Raad 2d5bd26a59 feat: enhance provider model mapping and reasoning capabilities
- Add npm package tracking to provider model mapping
- Implement special handling for opencode provider with reasoning
- Update provider options mapping to use npm package names
2025-09-16 03:10:17 -04:00
Dax 14cb2d2af6
feat: improve file watcher with chokidar and better ignore patterns (#2621)
Co-authored-by: GitHub Action <action@github.com>
2025-09-16 00:17:10 -04:00
Stephen Murray 52fb571739
fix: restore chat.message plugin hook (#2619) 2025-09-15 21:44:07 -05:00
Dax 725104572e
feat: add desktop/web app package (#2606)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:28:08 -04:00
Dax c1b4e1f19d
Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Aiden Cline e3e459fc50
fix: reasoning metadata persistence (#2602) 2025-09-14 16:28:06 -05:00
Tommy D. Rossi 4bf0541bd6
log bash output when using `opencode run` (#2595) 2025-09-14 09:03:40 -05:00
Aiden Cline c81624aef7
tweak: make bash permissions key off of command pattern (#2592) 2025-09-14 09:01:57 -05:00
Kenn Costales df61aa801b
fix: fix wrong tool references `LS` and `Agent` (#2466) 2025-09-14 08:53:50 -05:00
Mani Sundararajan 1f8d396b76
fix(dev): build tui with correct file ext for windows (#2590) 2025-09-14 01:59:25 -04:00
Aiden Cline 16d66c209d
respect subagent in command, add `subtask` flag (#2569) 2025-09-13 12:47:18 -05:00
Aiden Cline 6506e48c54
tweak: keep aborted msgs in context (#2583) 2025-09-13 12:25:30 -05:00
Dax Raad a00b49d65b disable autocompact if context is 0 2025-09-13 05:59:18 -04:00
Dax Raad b1589be4ba add disable OPENCODE_DISABLE_AUTOCOMPACT 2025-09-13 05:55:04 -04:00
Dax Raad eb24d2f847 ignore: fix 2025-09-13 05:53:03 -04:00
Dax 9bb25a9260
Session management and prompt handling improvements (#2577)
Co-authored-by: GitHub Action <action@github.com>
2025-09-13 05:46:14 -04:00
Dax Raad 555fb53505 nudge llm to continue properly after compaction 2025-09-13 01:23:54 -04:00
Tommy D. Rossi b1e0a23351
fix: ShellError: exit code 1 errors (#2568)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-13 00:06:07 -05:00
Aiden Cline aebd50da7e
fix: make permission always behavior match expectation (#2573) 2025-09-12 18:59:38 -05:00
Stephen Murray c02f58c2af
fix: await cleanupRevert() to prevent dupe msgs after undo (#2572) 2025-09-12 18:42:39 -05:00
Dax Raad f2094b7bb3 temporarily disable midstream compaction 2025-09-12 14:00:54 -04:00
Dax Raad 3e2478ebf9 undo session pruning 2025-09-12 13:20:13 -04:00
Dax Raad 0290b4aaf0 ignore: internal 2025-09-12 10:45:44 +00:00
Dax Raad 469dc9095f add microcompact 2025-09-12 06:38:47 -04:00
Dax Raad 983e3b2ee3 fix compaction issues 2025-09-12 06:01:11 -04:00
Dax Raad f5b3992479 properly support model level npm definition 2025-09-11 16:22:44 -04:00
Chris Covington 53f1f16122
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
Dax Raad 3e9b451fb4 reduce LSP verbosity 2025-09-11 12:54:12 -04:00
Dax Raad 4ccf683527 remove block anchor edit 2025-09-11 12:53:10 -04:00
Dax Raad 4c94753eda compaction improvements 2025-09-11 02:22:51 -04:00
Aiden Cline 780e532094
resolve nested commands (#2537) 2025-09-10 14:05:26 -05:00
Aiden Cline 29310957c8
fix: handle @dir in command (#2533) 2025-09-10 13:27:44 -05:00
Aiden Cline bdc0f7c86d
tweak: wrap build-switch w/ system-reminder (#2525) 2025-09-09 23:57:13 -05:00
Dax Raad 38e8c42cf0 ci: format 2025-09-09 23:44:04 -04:00
Dax Raad e69d10b6c9 repair tool calls when casing is wrong 2025-09-09 23:25:27 -04:00
Frank a3513244f1 wip: zen 2025-09-09 15:47:28 -04:00
madflow 32b47fcc1e
feat: svelte lsp (#2508) 2025-09-09 13:59:58 -05:00
Aiden Cline fde03d3c93
fix: exit code being non zero when using run cmd (#2523) 2025-09-09 12:00:55 -05:00
Frank 02e8242c3b Remove debug logging 2025-09-09 03:35:09 -04:00
Frank 0f263bfefe Hide experimental models 2025-09-09 03:16:44 -04:00
Aiden Cline 162a789fa2
remove edit tool from plan agent (#2505) 2025-09-08 22:00:14 -05:00
Zack Jackson ab3c22b77a
feat: add dynamic tool registration for plugins and external services (#2420) 2025-09-08 16:25:04 -04:00
Aiden Cline 1cea8b9e77
tweak: reenable todowrite & todoread for qwen models (#2499) 2025-09-08 13:21:16 -05:00
Douglas Dennis d8fd7b155f
fix: aws bedrock add check for govcloud (#2495) 2025-09-08 11:54:06 -05:00
Aiden Cline c8ff81bae4
fix: silent error if bad flag was passed (#2486) 2025-09-07 23:14:38 -05:00
Aiden Cline 74469a0d3d
fix: shell invocations are dropped if last interaction was revert (#2485) 2025-09-07 21:45:13 -05:00
Ytzhak 4654fb88de
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 93c2f5060e
fix: title gen w/ gpt-5-nano (#2473) 2025-09-06 22:50:16 -05:00
Aiden Cline 564143071e
fix: title not generated if first msg is shell invocation (#2451) 2025-09-06 09:47:42 -05:00
Aiden Cline bffe547417
fix: command model selection (#2448) 2025-09-05 20:54:39 -05:00
Aiden Cline dc99005e65
fix: default to last used model (#2443) 2025-09-05 17:25:25 -05:00
Adam 8ffedbe157
fix: file read response 2025-09-05 15:58:56 -05:00
spoons-and-mirrors 900fe5ca04
tweak(edit): separate edit tool error message with clearer guidance to avoid llm doom editing loop (#2051) 2025-09-05 12:36:13 -04:00
Aiden Cline 9186c3feae
fix: webfetch prompt mistake (#2424) 2025-09-04 13:35:25 -05:00
Adam f171250033
fix: better file/content return 2025-09-04 12:39:49 -05:00
Adam f7ab6beaf3
fix: worktree file/content never includes patch 2025-09-04 06:10:07 -05:00
Dax Raad 4e24e04aec ignore: opencode auth stuff 2025-09-03 14:43:50 -04:00
Frank 0f8cb69bff wip console 2025-09-03 09:24:23 -04:00
Aiden Cline f740663ded
fix: more durable @ references for commands (#2386) 2025-09-02 21:24:56 -05:00
Dax Raad 8952b3d246 support OPENCODE_CONFIG_CONTENT 2025-09-02 16:38:50 -04:00
Aiden Cline d6350a7fa6
tweak: update ls tool to use rg (#2367) 2025-09-02 10:40:20 -05:00
OpeOginni 3ee4280dfa
fix: local subdirectory subagents not being picked up (#2376) 2025-09-02 09:46:00 -05:00
Adam 97a41062c9
fix: file.list relative to root 2025-09-02 06:20:08 -05:00
Adam Spiers 47d4c87bdd
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 4c261ab1db switch gpt-5 to default to codex prompt + high reasoning 2025-09-01 21:46:03 -04:00
Aiden Cline a431b8922c
fix: ensure opencode still works if no commits present (#2363) 2025-09-01 20:57:14 -04:00
Aiden Cline 0a01d20850
fix: ensure enabled lsps are all logged (#2364) 2025-09-01 17:43:31 -05:00
Dax Raad 61c7196bd9 catch migration failures 2025-09-01 18:00:40 -04:00
Dax f993541e0b
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 e2df3eb44d
add --command to opencode run (#2348) 2025-09-01 14:19:18 -05:00
Régis Blanc 37530359ee
fix: ensure gopls lsp id matches docs (#2344) 2025-08-31 21:52:08 -05:00
Aiden Cline 65f0bea146
ignore: better error logging (#2346) 2025-08-31 17:11:04 -05:00
Beshoy Girgis e4cc05a975
feat: Allow provider timeout override (#1982) 2025-08-31 14:06:02 -04:00
Aiden Cline 029612d8d5
fix: ensure shell cmds can be properly aborted (#2339) 2025-08-31 12:48:30 -05:00
Aiden Cline e9826e8a22
fix: adjust title generation prompt to prevent direct response instead of title gen (#2338) 2025-08-31 11:01:19 -05:00
Andre van Tonder fcfeac57c5
fix: resolve virtual envs for python LSP (#2155)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-08-30 23:53:03 -05:00
Aiden Cline b4d95545e0
add support for lsp workspace/didChangeConfiguration (#2334) 2025-08-30 14:49:13 -05:00
Aiden Cline 3625766ad4
tweak: ensure run command doesn't send request if no prompt present (#2332) 2025-08-30 10:39:28 -05:00
Anton 0c30a6f303 Use a single rust LSP server instance for entire cargo workspace (#2292) 2025-08-30 06:00:39 +00:00
Aiden Cline a3f4a030b4
fix: mcp tool not triggering hooks (#2320) 2025-08-29 21:51:06 -05:00
Aiden Cline 12eb1391b9
fix: lsp debug cmd log (#2310) 2025-08-29 11:11:26 -05:00
Aiden Cline 7f5e5fccc8
ignore: add error log for title gen failures (#2309) 2025-08-29 10:53:58 -05:00
Aiden Cline 1a5b456bb6
fix: add additional encouragement for title gen (#2298) 2025-08-29 09:47:08 -05:00
Netanel Draiman 7fab12da28
fix: replace isomorphic-git status with direct git diff for worktree support (#1706)
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2025-08-28 18:15:26 -05:00
Aiden Cline 6daf0fdb2b
allow slash commands to resolve ~/ references (#2295) 2025-08-28 17:31:03 -05:00
Adam e37e878e72
feat: home dir in app info 2025-08-28 14:34:20 -05:00
Jakub Kopecký a928a35c96
fix: mcp client name (#2289) 2025-08-28 12:48:29 -05:00
Ethan Shea 555202f3b1
Vercel AI Gateway key deeplinks into the dashboard (#2287) 2025-08-28 11:06:45 -05:00
Adam aa9ab0a304
feat: include ignored files 2025-08-28 10:49:45 -05:00
Aiden Cline ad8ea82611
add synthetic user message before bash execution (when using !) (#2283) 2025-08-27 17:41:24 -05:00
Aiden Cline 2d794ed03d
fix: ensure / commands dont try to resolve @ references from cmd outputs (#2282) 2025-08-27 15:59:33 -05:00
Adam 8749c0c707
feat: file list api 2025-08-27 15:28:03 -05:00
Jay V f4b69df7a3 docs: updating config schema 2025-08-26 16:10:53 -04:00
Aiden Cline d9de78cfe8
fix: bash tool description (#2260) 2025-08-26 13:42:01 -05:00
Aiden Cline cb03655aac
fix: eslint ENOTEMPTY (#2252) 2025-08-25 23:11:38 -05:00
Timo Clasen 012a292948
fix: model flag in non interactive mode (#2249) 2025-08-25 15:06:54 -05:00
Aiden Cline cc66e06101
fix: command model selection (#2219) 2025-08-24 12:06:48 -05:00
Vasiliy Kulikov 3706b2bca7
feat(lsp): option to disable lsps installing automatically (#1997)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-08-22 22:39:19 -05:00
Aiden Cline 1f57b9a70f
fix: count reasoning tokens (#2187) 2025-08-22 18:21:39 -05:00
Lubos 6e626afdcb
chore(openapi): set correct content type for server-sent events (#2045) 2025-08-22 17:51:24 -04:00
Aiden Cline 9a90ce84fb
fix: format error log (#2184) 2025-08-22 16:09:15 -05:00
Dax 133fe41cd5
slash commands (#2157)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-08-22 17:04:28 -04:00
Aiden Cline 4fadbcfb90
fix: error logging (#2165) 2025-08-21 23:27:49 -05:00
Dax Raad 08c5c401ba deal with non existing cache folder 2025-08-21 22:58:39 -04:00
Aiden Cline ba2e86c7ef
tweak: adjust plan agent to ask when running bash, give it edit tooli… (#2150) 2025-08-21 18:25:31 -04:00
Dax Raad d9233872b9 add `createOpencodeServer` to js sdk and wait for readiness. always use random port for `opencode serve`. add `/client` and `/server` imports for js sdk 2025-08-21 17:13:24 -04:00
Aiden Cline aa4dba1541
fix: if lsp fails to spawn it shouldn't inject errors into edit diagnostics (#2145) 2025-08-21 12:06:32 -05:00
zWing bca523eb63
fix(js-sdk): fix types in session.chat (#1925)
Co-authored-by: zwingzheng <zwingzheng@tencent.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-08-21 10:44:20 -05:00
Denys Pavlov 2ff4cd2c2b fix: preserve cache dir on cleanup (#2126) 2025-08-21 15:27:25 +00:00
Dax Raad d686269377 await config hooks 2025-08-21 15:27:25 +00:00
Dax Raad 4518f96e3d add plugin hook for config 2025-08-21 11:22:24 -04:00
Aiden Cline 9231043eb4
tweak: adjust plan -> build transition prompt (#2111) 2025-08-21 06:52:38 -05:00
Vincent Bernat dda672284c
fix: ignore case when checking Qwen in model ID for todos (#2122) 2025-08-20 14:44:27 -05:00
Dax Raad b11fe9fbc6 ignore: remove import 2025-08-20 12:29:24 -04:00
Dax Raad 60f3d413de remove auto browser open for now 2025-08-20 12:28:00 -04:00
Dax Raad 8a83301e0d copilot auth update version 2025-08-20 11:46:14 -04:00
Dax Raad aa10f8a7f6 sonic model 2025-08-20 01:02:41 -04:00
Aiden Cline a2db58f125
fix: don't let --continue access subagent session (#2091) 2025-08-19 22:40:07 -05:00
Aiden Cline 5b05ede748
fix: agent casing issue (#2081) 2025-08-19 18:08:56 -05:00
Aiden Cline 25f43adaa0
tweak: notify agent it is in build mode when switching from plan mode (#2065) 2025-08-19 15:32:31 -05:00
Aiden Cline c0f90eb564
tweak: better agent create error handling (#2058) 2025-08-19 00:14:50 -05:00
Aiden Cline e08ec077b0
fix: ensure name isn't added as field in options: {...} (#2053) 2025-08-18 18:15:20 -05:00
Aiden Cline 796245d146
blacklist gpt-5-chat-latest (#2048) 2025-08-18 17:50:38 -04:00
Dax f19586cebd
fix anthropic console auth (#2049) 2025-08-18 17:12:21 -04:00
spoons-and-mirrors cd3d91209a
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
Frank 2034fabc7d Squashed commit of the following:
commit 7b2ad6a1abf88e0731f15bbf6e281b29a610dd76
Merge: 74c85391 847a63e1
Author: Frank <frank@sst.dev>
Date:   Mon Aug 18 15:31:54 2025 +0800

    Merge branch 'dev' into github

commit 74c85391b576d01df298f6c30e3399b281b5c997
Author: Frank <frank@sst.dev>
Date:   Mon Aug 18 15:30:14 2025 +0800

    sync

commit 0d27f8e490f1aa242e1a3fcd1f21eb077f852207
Author: Frank <frank@sst.dev>
Date:   Mon Aug 18 14:30:57 2025 +0800

    sync

commit 0cf7e6c89f173b053f37cc0d316011b3e9d5fcc4
Author: Frank <frank@sst.dev>
Date:   Mon Aug 18 11:54:57 2025 +0800

    sync

commit a782cb7a268bf98916c3850083eaf44ebc38de05
Author: Frank <frank@sst.dev>
Date:   Mon Aug 18 11:53:25 2025 +0800

    sync

commit aa557014584abaf462656ba9b1de7c8bd6e9b9d8
Author: Frank <frank@sst.dev>
Date:   Mon Aug 18 11:48:10 2025 +0800

    sync

commit 73c8150479bd3c965087c634102df047a36b40ab
Author: Frank <frank@sst.dev>
Date:   Mon Aug 18 01:29:29 2025 +0800

    sync

commit c5325134e80ce3f9e2cb88e5a51893e4ffd880c2
Author: Frank <frank@sst.dev>
Date:   Mon Aug 18 01:07:48 2025 +0800

    sync

commit c5b646aa88760731ac9cd221f677bd400c31224b
Author: Frank <frank@sst.dev>
Date:   Mon Aug 18 01:02:02 2025 +0800

    sync

commit 27f7cc86ab4713a26d316ae71d2aa5978aaa2007
Author: Frank <frank@sst.dev>
Date:   Mon Aug 18 00:59:22 2025 +0800

    sync

commit 0a6152a0e0c2bb0e5b7cafbcb92b908433dd6c5b
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 18:11:31 2025 +0800

    fix /opencode trigger

commit f1089103c607ac11251cac5e032e62c8b4667b30
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 17:55:14 2025 +0800

    sync

commit 3ad18240248301380a68880315bfa83c18e9652d
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 17:44:11 2025 +0800

    sync

commit 24f0f81773762a38ba0a26e599b718495e2f4b54
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 17:18:22 2025 +0800

    sync

commit bc199d32bed9679d2f80ade527fa57a91e0883ca
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 16:59:03 2025 +0800

    sync

commit 6cf860be843e94401166a6de83e36d6bdd8ca6d7
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 16:54:48 2025 +0800

    sync

commit f5f753ff38498062b2e3de38a1be94158fce1463
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 14:43:12 2025 +0800

    sync

commit 26d2e23a3ee99141a5951a153e444a1be25548dc
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 14:33:40 2025 +0800

    sync

commit c5b3f54a0ae6064ff51c11ade41e21b594939715
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 14:16:10 2025 +0800

    sync

commit 1c74e9a7ad35551eea53d0e51dcd28e6ae30a944
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 08:17:53 2025 +0800

    sync

commit 89052dc9aaf7e4f02b7ca869ef6017322ee21c94
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 08:12:43 2025 +0800

    sync

commit 42931d4d2a942eedef44f5570a57bf84df26ecfa
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 08:08:37 2025 +0800

    sync

commit f22e97dd051ae3f592f4258a8d0270ca7fd60338
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 08:01:57 2025 +0800

    sync

commit 2dda422ef85d2308b459cebe7f202b7fb782e75e
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 07:55:38 2025 +0800

    sync

commit b8be1d0e9e89732bd60185c724cda72b8de5f145
Author: Frank <frank@sst.dev>
Date:   Sun Aug 17 07:48:18 2025 +0800

    sync

commit 78c84b96a3c8aa78e0ffa089a2a72ad80348fe72
Author: Frank <frank@sst.dev>
Date:   Sat Aug 16 20:49:26 2025 +0800

    sync

commit dd9c0c83090ea6c5da963303227a1e09a8434994
Author: Frank <frank@sst.dev>
Date:   Sat Aug 16 20:47:25 2025 +0800

    sync

commit 5eb917abba182712d1581376e95de45a092bbb24
Author: Frank <frank@sst.dev>
Date:   Sat Aug 16 20:35:48 2025 +0800

    sync

commit 43cf83e7ccbc99484602b06cbb6aafdbc63bf11c
Author: Frank <frank@sst.dev>
Date:   Sat Aug 16 20:32:49 2025 +0800

    sync

commit 10673ca3d2e1572e15c944ddd7d7af8175971f74
Author: Frank <frank@sst.dev>
Date:   Sat Aug 16 19:55:53 2025 +0800

    sync

commit c45ae8a233ed64c49a08b98f3ad01e0348b2df22
Author: Frank <frank@sst.dev>
Date:   Sat Aug 16 19:53:52 2025 +0800

    sync

commit 3c329dee05ecda95f5d249552aafc885997f07f2
Author: Frank <frank@sst.dev>
Date:   Sat Aug 16 19:49:56 2025 +0800

    sync

commit 5797048db864142f15d73c854131a77a31a421ee
Author: Frank <frank@sst.dev>
Date:   Sat Aug 16 18:00:04 2025 +0800

    sync

commit 2741338e8a27e57d9d023cf9c0a6a05276b82f41
Author: Frank <frank@sst.dev>
Date:   Sat Aug 16 17:54:42 2025 +0800

    sync

commit a51a8ca6d094bd5f98330c730d335285688c6ed8
Author: Frank <frank@sst.dev>
Date:   Fri Aug 15 18:59:29 2025 +0800

    sync

commit f4eeeb612dfa6f1714a954dd167519ade0c36a2d
Author: Frank <frank@sst.dev>
Date:   Fri Aug 15 18:56:35 2025 +0800

    sync

commit 1d0509c5630904a5a9e89ce0de09fbebb6f711be
Author: Frank <frank@sst.dev>
Date:   Fri Aug 15 18:54:21 2025 +0800

    sync

commit 339807d1b88d2439e9543b5da4ca2538a49f4ab8
Author: Frank <frank@sst.dev>
Date:   Fri Aug 15 18:49:22 2025 +0800

    sync

commit 70b4b78922fe80424d8922bb999ed84d28dff005
Author: Frank <frank@sst.dev>
Date:   Fri Aug 15 18:04:57 2025 +0800

    sync
2025-08-18 15:34:28 +08:00
Aiden Cline 847a63e15a
fix: gh install trim remote origin (#2030) 2025-08-17 22:45:22 -05:00
Aiden Cline ebd1b18b70
fix: better binary file detection (#2025) 2025-08-17 17:59:51 -05:00
Lucas 5d8d896fa2
feat(lsp): add rust-analyzer (#1972) 2025-08-16 22:59:51 -04:00
Aiden Cline 85c6301ac5
fix: lsp bug (#1994) 2025-08-16 22:59:18 -04:00
spoons-and-mirrors 1e204c23b9
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 daea79c0d4
feat: top level tool config (#2008) 2025-08-16 22:51:56 -04:00
Aiden Cline ca3769b7fa
tweak: plan prompt, more explicit about not modifying files (#1991) 2025-08-16 08:56:43 -05:00
Aiden Cline 576f5242bc
fix: remove unsupported mode flag, change to agent (#1979) 2025-08-15 22:02:06 -05:00
Timo Clasen af5f7d0887
fix: run command (#1971) 2025-08-15 15:58:20 -05:00
Yihui Khuu 70f14cccd6
feat(shell): load .zshenv and respect ZDOTDIR if present (#1958) 2025-08-15 13:24:34 -05:00
Yihui Khuu 86df4073d1
fix(shell): commands expecting stdin will be "working" indefinitely (#1964) 2025-08-15 13:23:59 -05:00
Aiden Cline dc01071498
feat: add scroll speed to config (#1968) 2025-08-15 13:21:02 -05:00
adamdotdevin 07dbc30c63
feat(tui): navigate child sessions (subagents) 2025-08-15 10:16:08 -05:00
adamdotdevin 1ae38c90a3
feat(api): get session and session children routes 2025-08-15 08:49:19 -05:00
adamdotdevin 9609c1803e
feat: /tui/show-toast api 2025-08-15 08:39:58 -05:00
adamdotdevin 6e0e87fb2a
fix: more commands cleanup 2025-08-15 07:43:30 -05:00
adamdotdevin 79a4e35a74
fix: keybind docs out of sync 2025-08-15 06:45:20 -05:00
adamdotdevin 40ed73af17
chore: deprecate unused keybinds 2025-08-15 06:36:28 -05:00
adamdotdevin 74da6b1bef
fix: add missing keybinds to config 2025-08-15 06:33:45 -05:00
Andre van Tonder 17a7c824b8
Add Vue LSP and enable eslint for `.vue` files. (#1952) 2025-08-15 06:18:27 -05:00
Mariano Uvalle 0befc5d602
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 8355ee2061
fix: more permissive owner/repo detection (#1948) 2025-08-15 06:11:41 -05:00
Aiden Cline 62fed8d2ce
fix: fish shell (#1950) 2025-08-15 06:11:09 -05:00
Timo Clasen 156cc6cffe
fix(TUI): fix agent types agents modal (#1942) 2025-08-14 17:58:44 -05:00
Aiden Cline 6eaaaffcdd
fix: small tweak to support nushell (#1943) 2025-08-14 17:54:22 -05:00
Dax Raad a433766a31 allow plugins to create custom auth providers 2025-08-14 16:25:08 -04:00
Dax Raad 796bc390db fix for session stuck in "Working..." 2025-08-14 12:20:22 -04:00
Lubos 703ae49675
chore: declare OpenAPI version 3.1.1 (#1931) 2025-08-14 12:10:32 -04:00
Aiden Cline 4dea0209bb
fix: support fish shell (#1911) 2025-08-13 20:04:04 -05:00
Aiden Cline 118617473e
fix: bash should hide stdout from zshrc (#1909) 2025-08-13 17:04:32 -04:00
Yuu Toriyama 3f0f910f7b Fix: Error [ERR_DLOPEN_FAILED] (#1546) 2025-08-13 19:49:14 +00:00
Dax Raad 93b71477e6 support !shell commands 2025-08-13 15:26:13 -04:00
adamdotdevin 1357319f6f
feat: bash commands 2025-08-13 13:28:22 -05:00
Dax Raad e729eed34d wip: bash 2025-08-13 14:14:27 -04:00
Dax Raad c6344c5714 wip: bash 2025-08-13 13:31:29 -04:00
Dax Raad 7505fa61b9 wip: bash commands 2025-08-13 13:29:06 -04:00
Matt Cook 77bb5af092
fix: grammatical error in agent launch example (by Opencode) (#1897) 2025-08-13 12:25:38 -05:00
Aiden Cline 0c4fe73cbf
fix: js plugin support as per documentation (#1896) 2025-08-13 12:25:04 -05:00
adamdotdevin f2021a85d6
fix: allow attachments outside cwd, and support svg 2025-08-13 10:36:50 -05:00
adamdotdevin 7d54f893c9
fix: update read tool description to exclude binary/image files 2025-08-13 10:13:57 -05:00
Mariano Uvalle e1f80c0067
Merge default agent permissions with global config (#1879) 2025-08-13 09:01:17 -04:00
Aiden Cline 832d8da453
fix: permission prompting issues (#1884) 2025-08-13 06:34:06 -05:00
Aiden Cline b5d61b77f7
fix: reasoning not supported (#1882) 2025-08-13 06:26:07 -05:00
Aiden Cline 790e9947bd
fix: task tool prompt (#1887) 2025-08-12 23:41:12 -04:00
Aiden Cline ed5f76d849
fix: better error message when config has invalid references (#1874) 2025-08-12 19:28:41 -05:00
Dax Raad e2920ac262 update copilot prompt 2025-08-12 20:01:34 -04:00
Dax Raad aa5e39e744 fix unzip not found printing to tui 2025-08-12 18:43:24 -04:00
Dax Raad 5785ded6e2 add openai prompt cache key 2025-08-12 17:37:15 -04:00
spoons-and-mirrors 47c327641b
feat: add session rename functionality to TUI modal (#1821)
Co-authored-by: opencode <noreply@opencode.ai>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: Dax <mail@thdxr.com>
2025-08-12 16:22:03 -04:00
Dax Raad d16ae1fc4e bash truncate character max instead of line max 2025-08-12 16:14:40 -04:00
Dax Raad 5cc44c872e disable todo tools for qwen models to improve compatibility 2025-08-12 18:56:26 +00:00
Dax Raad 6aa157cfe6 limit bash tool to 1000 lines of output 2025-08-12 14:51:13 -04:00
Dax Raad fab0e5de04 fix issue when @ tagging fiels throwing error 2025-08-12 13:30:52 -04:00
Dax Raad 5a17f44da4 support OPENCODE_PERMISSION json env variable 2025-08-12 12:28:08 -04:00
Dax 10735f93ca
Add agent-level permissions with whitelist/blacklist support (#1862) 2025-08-12 11:39:39 -04:00
Aiden Cline f12d470b33 fix: Missing ~/.local/share/opencode/bin directory causes misleading … (#1860) 2025-08-12 13:54:33 +00:00
Camden Clark 80b25c79bb
fix: preserve process.env when spawning formatter commands (#1850) 2025-08-12 02:05:26 -04:00
Dax Raad 1ec71e419b support wildcard matching tool names in config 2025-08-11 23:37:09 -04:00
Dax Raad 2b6afe90d0 fix azure reasoningEffort 2025-08-11 23:20:19 -04:00
Dax Raad 5f34dcc792 azure reasoning effort 2025-08-11 23:04:32 -04:00
Dax Raad fb0a200ecf refactor: replace OPENCODE_AGENTS env var with HTTP API call
Replace environment variable passing of agent data from Node.js to TUI
with proper HTTP API call to /agent endpoint. This improves architecture
by eliminating env var dependencies and allows dynamic agent data fetching.
2025-08-11 22:42:25 -04:00
Dax Raad e6f3cf0839 fix pyright 2025-08-11 22:27:24 -04:00
Dax Raad 7d095d19f6 fix undo/redo when opencode is run in nested folders 2025-08-11 21:59:12 -04:00
Dax Raad 0ca10ec2f5 ignore: log 2025-08-11 21:52:05 -04:00
Dax Raad f03fae03e5 switch back to didUpdate instead of closing and opening file 2025-08-11 21:36:05 -04:00
Dax Raad dac1506680 update anthropic prompt and variables 2025-08-11 21:01:33 -04:00
adamdotdevin ee0519aacc
feat: add clangd for cpp 2025-08-11 19:21:59 -05:00
Aiden Cline b2a4f57d64
feat: add -c and -s args to tui command following run command pattern (#1835) 2025-08-11 18:32:09 -05:00
Dax Raad 0ce7d92a8b ignore: fix share page 2025-08-11 16:12:26 -04:00
Dax Raad 22023fa9e7 remove git bash tool coauthor message 2025-08-11 18:36:06 +00:00
Dax Raad 6eaa231587 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 5e777fd2a2
feat: toggle tool details visible 2025-08-11 11:58:46 -05:00
Dax Raad 279edb6f24 fix azure gpt config 2025-08-11 10:56:16 -04:00
Dax Raad c51a34bf4b make models key optional in config 2025-08-11 10:54:14 -04:00
Timo Clasen 23757f3ac0
fix: only load the first local and global rule file (#1761) 2025-08-11 08:28:03 -05:00
Aiden Cline df7296cfe1
fix: instructions should be able to handle absolute paths (#1762) 2025-08-11 08:23:41 -05:00
cvzakharchenko 8db75266d0
Issue 1676: Don't eat up the last newline in a multi-line replacement (#1777) 2025-08-11 06:55:45 -05:00
Jake 6c30565d40
Add support for biome.jsonc config file (#1791) 2025-08-11 06:48:46 -05:00
spoons-and-mirrors b223a29603
Fix: Sanitize MCP Tool Names for Consistency in User Expectations (#1769) 2025-08-11 01:59:50 -04:00
Stibbs 8ed72ae087
chore: add OPENCODE env var (#1780) 2025-08-11 01:56:42 -04:00
Dax Raad 6145dfcca0 fix run command to be less messy 2025-08-11 01:45:05 -04:00
Dax Raad 061ba65d20 show combined output of bash tool progressively 2025-08-11 01:23:00 -04:00
Dax Raad 457386ad08 fix plan mode bash tool making changes 2025-08-11 01:15:12 -04:00
Aiden Cline 409a6f93b2
fix: enforce field requirement for cli cmds (#1796) 2025-08-10 22:17:12 -04:00
Dax Raad 70db372466 add OPENCODE_DISABLE_AUTOUPDATE flag 2025-08-10 21:52:52 -04:00
Dax Raad d8dc23bde9 pass through additional agent options to the provider 2025-08-10 21:34:46 -04:00
Tom 1c83ef75a2
fix(plugin): prevent compiled binary hang by removing lazy dynamic import (#1794)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-10 21:31:15 -04:00
Dax Raad 13d3fba86b switch gpt-5 to codex prompt 2025-08-10 20:47:38 -04:00
Dax Raad 3ab4f42ebb support agent options 2025-08-10 20:30:37 -04:00
adamdotdevin b8d2aebf09
feat: thinking blocks rendered in tui and share page 2025-08-10 19:25:03 -05:00
Aiden Cline 542186aa49
feat: webfetch permission support (#1772) 2025-08-10 08:00:44 -05:00
Dax Raad d3ff66e911 use minimal reasoning effort for gpt-5 2025-08-09 15:38:48 -04:00
Aiden Cline 1954b59167
feat: eslint lsp (#1744) 2025-08-09 11:04:58 -05:00
Aiden Cline e2fac991dc
better permissions ux when denying (#1747) 2025-08-09 11:03:33 -05:00
Dax Raad 7bbc643600 remove synthetic message in plan mode, fixes being confused in build mode 2025-08-08 20:45:24 -04:00
Dax Raad 53630ebdce gpt-5 lower verbosity 2025-08-08 20:42:22 -04:00
Dax 85eaa5b58b
Remove unused OpenTelemetry tracing and fix overlapping highlights (#1738)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-08 20:20:01 -04:00
Erick Christian b789844b9c
feat(agent): allow mode selection during creation (#1699) 2025-08-08 20:07:20 -04:00
rmoriz 83f4e8e156
Clarify remote mcp error (#1729)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-08 20:04:26 -04:00
Dax Raad 4f164c53d2 temporary fix for max output token 2025-08-07 22:54:59 -04:00
Dax Raad 8750744068 renable todo tool 2025-08-07 21:47:37 -04:00
Dax Raad 3e74107e36 looser todo tool schema 2025-08-07 21:47:37 -04:00
Dax c34aec060f
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 723a37ea9a
fix: get session api (#1684) 2025-08-07 15:28:18 -04:00
Dax Raad 1a561bb512 add api to get session 2025-08-06 20:24:36 -04:00
Timo Clasen 54457e48bb
fix(docs): small_model is not used for summarization (#1360) 2025-08-06 14:03:14 -05:00