Commit Graph

1881 Commits

Author SHA1 Message Date
GitHub Action
51c647ca89 chore: format code 2025-09-16 01:06:51 +00:00
Jay V
52fa7840c2 docs: zen 2025-09-15 21:05:47 -04:00
Frank
2c61b39088 wip: zen 2025-09-15 19:37:55 -04:00
Frank
bc213e1a61 wip: zen 2025-09-15 18:47:04 -04:00
Frank
d795a38fc7 wip: zen 2025-09-15 18:44:21 -04:00
opencode
96698ea070 release: v0.9.1 2025-09-15 22:31:44 +00:00
Dax Raad
6fff10b670 docs: zen 2025-09-15 18:21:03 -04:00
Frank
194aea8e54 wip: zen 2025-09-15 18:14:07 -04:00
Frank
910ea84360 wip: zen 2025-09-15 17:07:48 -04:00
GitHub Action
f5e75606e3 chore: format code 2025-09-15 19:39:00 +00:00
Jay V
0707890359 docs: zen 2025-09-15 15:38:23 -04:00
GitHub Action
5bb1f5f0a0 chore: format code 2025-09-15 07:54:04 +00:00
Dax Raad
d38594d34a ci: sync 2025-09-15 03:53:27 -04:00
Dax Raad
925284c6c1 ci: sync 2025-09-15 03:53:21 -04:00
GitHub Action
e716271466 chore: format code 2025-09-15 07:31:02 +00:00
Dax Raad
df046e5e04 ci: typecheck 2025-09-15 03:30:26 -04: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
opencode
4954edf8ae release: v0.9.0 2025-09-15 07:18:49 +00: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
89d820b1c4
fix: visual token bug (#2603) 2025-09-14 21:23:52 -05: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
opencode
4b30705c42 release: v0.8.0 2025-09-14 06:07:43 +00: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
3752bb9717
fix: token counting visual bug (#2587) 2025-09-13 19:46:24 -05: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
opencode
535230dce4 release: v0.7.9 2025-09-13 05:29:37 +00: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
Nicholas Hamilton
2b69bcccdf
docs: typo in web agents.mdx (#2574) 2025-09-12 23:26:52 -05:00
Trillium Smith
e03f27381f
docs: add tip block for finding available models (#2501)
Co-authored-by: GitHub Action <action@github.com>
2025-09-12 21:22:54 -04: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
opencode
417e8f619c release: v0.7.8 2025-09-12 18:09:55 +00:00
Dax Raad
f2094b7bb3 temporarily disable midstream compaction 2025-09-12 14:00:54 -04:00
opencode
f7d9a031e6 release: v0.7.7 2025-09-12 17:28:35 +00: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
opencode
4ceee53480 release: v0.7.6 2025-09-12 10:45:44 +00:00
Dax Raad
469dc9095f add microcompact 2025-09-12 06:38:47 -04:00
opencode
661d50f95f release: v0.7.5 2025-09-12 10:25:57 +00:00
opencode
3978a8e636 release: v0.7.4 2025-09-12 10:08:33 +00:00
Dax Raad
983e3b2ee3 fix compaction issues 2025-09-12 06:01:11 -04:00
opencode
54f7fb5019 release: v0.7.3 2025-09-11 21:38:17 +00: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
Aiden Cline
4614e4983e
fix: command being passed as arg when no args present (#2553) 2025-09-11 13:03:12 -05:00
opencode
84f0c63fa1 release: v0.7.2 2025-09-11 17:02:59 +00: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
aa9ebe5d7c ignore: compacting 2025-09-11 02:31:28 -04:00
Dax Raad
4c94753eda compaction improvements 2025-09-11 02:22:51 -04:00
GitHub Action
c3a55c35bb chore: format code 2025-09-11 05:33:59 +00:00
Frank
d5275010d5 wip: zen 2025-09-11 01:33:23 -04:00
Jay V
c2fa28c1be ignore: zen 2025-09-10 17:59:03 -10:00
Emmanuel LOUISY-GABRIEL
5b56848c3d
Update providers.mdx because of small typo (#2539) 2025-09-10 15:49:25 -05: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
opencode
2b0577c725 release: v0.7.1 2025-09-10 15:40:31 +00:00
Dax Raad
bcd656ffae fix issue with flags being parsed incorrectly 2025-09-10 11:34:39 -04:00
opencode
d36fcc4f8e release: v0.7.0 2025-09-10 08:42:45 +00:00
Dax Raad
a6265ea3d2 upgrade to latest bun 2025-09-10 03:36:42 -04:00
Aiden Cline
bdc0f7c86d
tweak: wrap build-switch w/ system-reminder (#2525) 2025-09-09 23:57:13 -05:00
GitHub Action
c8ca036834 chore: format code 2025-09-10 03:49:07 +00:00
Dax Raad
b05cbc9101 ci: format 2025-09-09 23:44:04 -04:00
Dax Raad
38e8c42cf0 ci: format 2025-09-09 23:44:04 -04:00
opencode
58fe884327 release: v0.6.10 2025-09-10 03:32:47 +00:00
Dax Raad
e69d10b6c9 repair tool calls when casing is wrong 2025-09-09 23:25:27 -04:00
opencode
10aee9755c release: v0.6.9 2025-09-09 21:17:41 +00: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
opencode
dcabafcdce release: v0.6.8 2025-09-09 07:40:23 +00:00
Frank
02e8242c3b Remove debug logging 2025-09-09 03:35:09 -04:00
opencode
57e26bd2fe release: v0.6.7 2025-09-09 07:23:01 +00: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
opencode
f0f6e9cad7 release: v0.6.6 2025-09-08 20:20:35 +00:00
Mani Sundararajan
bbaae459c6
feat: make npm package install work on windows (#2419) 2025-09-08 16:14:18 -04:00
Frank
cd42503e2c Zen: telemetry 2025-09-08 15:46:59 -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
Aiden Cline
4d481dea7e
fix: dont paste collapse if in bash mode (#2482) 2025-09-07 20:24:49 -05:00
opencode
7df32eac2a release: v0.6.5 2025-09-07 19:44:44 +00: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
Jay V
42b440be0c docs: handle base path 2025-09-04 00:53:45 -07:00
Zack Jackson
e001af2709
feat: add createOpencodeTui() function to SDK for programmatic TUI launching (#2410) 2025-09-04 02:49:44 -04:00
Aiden Cline
a97612287f
fix: file fuzzy search (#2409) 2025-09-03 23:20:16 -05:00
Jay V
21008d733f docs: link 2025-09-03 17:12:51 -07:00
Jay V
2808e95ac7 ignore: zen 2025-09-03 15:53:31 -07:00
Dax Raad
4e24e04aec ignore: opencode auth stuff 2025-09-03 14:43:50 -04:00
Jay V
22f5c26eec docs: edits 2025-09-03 11:05:43 -04:00
opencode
b6de122ddc release: v0.6.4 2025-09-03 13:31:11 +00:00
Frank
0f8cb69bff wip console 2025-09-03 09:24:23 -04:00
Dax Raad
1c31c2dd97 wip: zen 2025-09-02 23:30:48 -04:00
Dax Raad
c67b721787 docs: remove remaining directory query param mentions from SDK docs 2025-09-02 22:25:32 -04:00
Dax Raad
11e41e7564 docs: remove directory query param mentions from SDK docs 2025-09-02 22:25:32 -04:00
Dax Raad
afd42bf46d docs: fix SDK usage to use path/query/body, correct return types, and update examples 2025-09-02 22:25:32 -04:00
Aiden Cline
f740663ded
fix: more durable @ references for commands (#2386) 2025-09-02 21:24:56 -05:00
Jay V
751b81af34 docs: zen 2025-09-02 21:29:03 -04:00
Frank
4e629c5b64 wip: cloud 2025-09-02 20:01:13 -04:00
Jay V
c141b88087 ignore: zen 2025-09-02 17:28:35 -04:00
Dax Raad
042802848d wip: zen 2025-09-02 16:38:50 -04:00
Dax Raad
a8aa44bd3f docs: simplify config example to show only model 2025-09-02 16:38:50 -04:00
Dax Raad
db2a3a171e docs: clarify config behavior and remove theme example 2025-09-02 16:38:50 -04:00
Dax Raad
38a4bee1be docs: add config example to SDK server creation 2025-09-02 16:38:50 -04: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
Yuta URANO
ae83138832
docs: update log level configuration in troubleshooting guide (#2374) 2025-09-02 10:31:04 -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
Dax Raad
810c9cff1d wip: cloud 2025-09-02 03:18:30 -04: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
opencode
a9875c5531 release: v0.6.3 2025-09-02 01:52:01 +00:00
Dax Raad
4c261ab1db switch gpt-5 to default to codex prompt + high reasoning 2025-09-01 21:46:03 -04:00
opencode
2fc8263032 release: v0.6.2 2025-09-02 01:03:43 +00: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
opencode
7b62c10553 release: v0.6.1 2025-09-01 22:07:53 +00:00
Dax Raad
61c7196bd9 catch migration failures 2025-09-01 18:00:40 -04:00
opencode
365fdd9ff8 release: v0.6.0 2025-09-01 21:43:13 +00:00
Dax Raad
f6bc9238df docs: sdk 2025-09-01 17:35:52 -04:00
Aiden Cline
26f75d4e68
fix: tui attachment bound (#2361) 2025-09-01 16:33:36 -05:00
Jay V
8ba8d3c7e3 docs: update email 2025-09-01 17:30:32 -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
2946898934
fix: ensure command uses currently selected model (#2336) 2025-08-30 15:41:06 -05:00
Aiden Cline
b4d95545e0
add support for lsp workspace/didChangeConfiguration (#2334) 2025-08-30 14:49:13 -05:00
Aiden Cline
dac821229e
fix: resolve [pasted lines] when passing paste as arguments for command (#2333) 2025-08-30 10:56:00 -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
Roderik van der Veer
924e84b0de
fix: change command selection to prefer exact matches over fuzzy sear… (#2314) 2025-08-30 09:44:27 -05:00
Anton
0c30a6f303 Use a single rust LSP server instance for entire cargo workspace (#2292) 2025-08-30 06:00:39 +00:00
opencode
0c7a887dbc release: v0.5.29 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
Frank
c3a25eff78 wip: cloud 2025-08-29 19:34:58 -04:00
Parbez
918dd58a15
Fix code block formatting in sdk.mdx (#2312) 2025-08-29 14:29:18 -05:00
Aiden Cline
12eb1391b9
fix: lsp debug cmd log (#2310) 2025-08-29 11:11:26 -05:00
Dax Raad
4496cd4b64 ignore: cloud solid fixes 2025-08-29 11:58:17 -04: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
Aiden Cline
d7a9f343c5
tui: show actual error if command fails (#2296) 2025-08-28 18:42:55 -05:00
Adam
5ecd7fdd0c
chore: remove unused dep 2025-08-28 18:16:38 -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
Aiden Cline
37cf262094
fix: tui not showing err toasts (#2290) 2025-08-28 10:55:47 -05:00
Adam
aa9ab0a304
feat: include ignored files 2025-08-28 10:49:45 -05:00
Aiden Cline
87cf08a9e7
docs: add copy button to user messages too (#2285) 2025-08-27 18:14:27 -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
Aiden Cline
8381760b27
docs: fix client.event.subscribe example (#2280) 2025-08-27 11:42:09 -05:00
Dax Raad
0fbd7c84fd sdk update 2025-08-27 12:18:09 -04:00
Aiden Cline
5c17ee52c5
docs: document anthropic thinking budgets (#2243) 2025-08-27 09:41:51 -05:00
spoons-and-mirrors
6233251fc0
fix: shimmer cpu cost (#2084) 2025-08-27 06:18:26 -05:00
Jay V
587b8ae7ee docs: edit 2025-08-26 17:30:43 -04:00
Stibbs
877855d1ee
docs: mcp access mgmt instructions (#2087) 2025-08-26 17:27:44 -04:00
opencode
eebca580e3 release: v0.5.28 2025-08-26 20:23:34 +00:00
Frank
e73a7c23d0 Revert "fix(tui): too early"
This reverts commit 564418f1ff.
2025-08-26 16:13:16 -04:00
Jay V
11de2e59f3 docs: edit commands 2025-08-26 16:10:53 -04:00
Jay V
f4b69df7a3 docs: updating config schema 2025-08-26 16:10:53 -04:00
Jay V
83b9b67c4c docs: adding new provider 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
opencode
567a1964c0 release: v0.5.27 2025-08-25 17:10:18 +00:00
adamdotdevin
564418f1ff
fix(tui): too early 2025-08-25 12:04:49 -05:00
opencode
d7c4faec58 release: v0.5.26 2025-08-25 16:54:15 +00:00
adamdotdevin
34982b5d18 fix(tui): wording 2025-08-25 16:38:25 +00:00
opencode
5b5bd146ea release: v0.5.25 2025-08-25 16:38:24 +00:00
adamdotdevin
836c2060c7
fix(tui): sort custom commands lower 2025-08-25 11:32:15 -05:00
adamdotdevin
6357136ca5
fix(tui): sort custom commands lower 2025-08-25 11:29:56 -05:00
adamdotdevin
0a0b363587
feat(tui): grok free 2025-08-25 11:27:58 -05:00