Commit graph

829 commits

Author SHA1 Message Date
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