Commit graph

4689 commits

Author SHA1 Message Date
Aiden Cline
4487fbf52f
fix(provider): support PDF attachments for xAI/Grok (#28561) 2026-05-20 20:46:31 -05:00
Kit Langton
fb9d69ef62
refactor(opencode): extract session LLM request prep (#28560) 2026-05-20 21:44:33 -04:00
Kit Langton
ddd6eb4496
fix(tui): separate question checkmark labels (#28558) 2026-05-20 21:35:59 -04:00
Kit Langton
661df8fcf8
fix(opencode): register account events in EventV2 bridge (#28555) 2026-05-20 21:29:12 -04:00
Dax
8643c0721e
Rename v2 auth service to account (#28260) 2026-05-21 00:53:27 +00:00
Kit Langton
41f6daf96a
Refactor LLM route-first provider API (#28523) 2026-05-20 20:15:52 -04:00
opencode-agent[bot]
b4a01cc3cd chore: generate 2026-05-20 22:37:29 +00:00
James Long
a6e1aa085f
fix(tui): default new sessions always to local project (#28541) 2026-05-20 18:35:37 -04:00
opencode-agent[bot]
7c121d48b9 chore: generate 2026-05-20 20:56:18 +00:00
Aiden Cline
f5a8202b41
fix(tui): simplify thinking toggle styling (#28487) 2026-05-20 15:54:29 -05:00
Kit Langton
43c24d8d0f
fix(tui): gate Zed context on terminal env (#28517) 2026-05-20 16:52:33 -04:00
James Long
d0779d2aca
feat(tui): collapse directories when possible in file tree (#28512) 2026-05-20 16:22:04 -04:00
James Long
58143c4b07
feat(tui): focus first file in file tree (#28513) 2026-05-20 16:04:45 -04:00
opencode-agent[bot]
b0ca0419be chore: generate 2026-05-20 19:25:52 +00:00
Shoubhit Dash
4308dd75fb
fix(httpapi): expose v2 catalog errors (#28498) 2026-05-21 00:53:35 +05:30
Kit Langton
ec6d42d41d
chore: update Effect beta (#28505) 2026-05-20 15:09:19 -04:00
opencode-agent[bot]
3553754083 chore: generate 2026-05-20 19:09:16 +00:00
Simon Klee
ed839846d1
run: replace subagent tabs with on-demand picker (#28508)
Move subagent navigation into the existing palette: a
"View subagents" command entry, a dedicated picker panel, and a
Down-arrow shortcut from the empty composer.
2026-05-20 21:07:35 +02:00
Kit Langton
ba803dd89a
fix(sdk): unbreak typecheck on dev after v2 error widening (#28503) 2026-05-20 14:29:19 -04:00
opencode-agent[bot]
0e118d1961 chore: generate 2026-05-20 17:57:38 +00:00
Shoubhit Dash
40e73c4910
fix(httpapi): expose v2 request errors (#28495) 2026-05-20 23:23:23 +05:30
Sebastian
ef82426e28
handle permanent file plugin errors (#27344) 2026-05-20 18:47:30 +02:00
Dax
9324ef0d08
fix(cli): default console login url (#28474) 2026-05-20 11:34:56 -04:00
opencode-agent[bot]
8940572098 chore: generate 2026-05-20 15:18:18 +00:00
James Long
17d66ee4fe
feat(tui): initial impl of diff viewer (#28476) 2026-05-20 11:16:56 -04:00
opencode-agent[bot]
13006d6d7c chore: generate 2026-05-20 07:10:40 +00:00
Simon Klee
539b118690
run: add shell mode to prompt (#28315)
Press `!` on an empty prompt to enter shell mode and run a command
through session.shell instead of sending a message
2026-05-20 09:09:12 +02:00
OpeOginni
66d409d679
fix(opencode): Update directory and path fields of imported session (#27516) 2026-05-19 19:09:23 -05:00
Kit Langton
34cae2f3cb
fix(action): remove orphan symlink breaking GitHub Action staging (#28390) 2026-05-19 20:49:22 +00:00
Kit Langton
e94d46af86
fix(config): resolve agent/command names from relative paths (#28359) 2026-05-19 20:48:32 +00:00
Kit Langton
c035c35eba
fix(config): tolerate invalid OPENCODE_PERMISSION JSON (#28388) 2026-05-19 20:37:50 +00:00
opencode-agent[bot]
eec0843ce4 chore: generate 2026-05-19 15:11:40 +00:00
Kit Langton
c79a9634d3
fix(tool): tolerate plugin tool defs with missing args (#28357) 2026-05-19 15:07:28 +00:00
Sebastian
8dd6448c90
use keymap state for layer visibility (#26246) 2026-05-19 17:07:26 +02:00
Kit Langton
6618e2bce2
feat(native-llm): route Anthropic API-key models through native runtime (#28271) 2026-05-19 08:20:27 -04:00
Sebastian
ee16f08ffa
Fix legacy pgup/pgdown TUI keybind aliases (#28275) 2026-05-19 13:52:00 +02:00
Shoubhit Dash
dac81cdb68
fix(httpapi): preserve v2 openapi errors (#28298) 2026-05-19 11:42:01 +05:30
Shoubhit Dash
2c3bcf3e41
feat(httpapi): add v2 public error schemas (#28297) 2026-05-19 11:26:56 +05:30
Kit Langton
8a321c4536
fix(native-llm): prefer console opencode token (#28237) 2026-05-18 17:23:57 -04:00
Aiden Cline
d8efc575fa
refactor(session): extract prompt tool resolution (#28204) 2026-05-18 14:50:31 -05:00
James Long
12ae22378f
fix(plugin): ask in tools from plugins returns promise instead of effect (#28217) 2026-05-18 18:57:29 +00:00
Kit Langton
dbe36851bc
Preview native LLM runtime stack (#27114) 2026-05-18 14:41:36 -04:00
James Long
ff9d7cab5c
fix(core): fix file references in workspaces (#28209) 2026-05-18 18:23:35 +00:00
Kit Langton
159d271e1e
refactor(sync): publish via EffectBridge.fork for codebase consistency (#28187) 2026-05-18 13:30:41 -04:00
opencode-agent[bot]
094886c848 chore: generate 2026-05-18 17:03:44 +00:00
Shoubhit Dash
dc0297f4ac
refactor(session): extract reference prompt helpers (#28197) 2026-05-18 22:32:18 +05:30
Shoubhit Dash
a2e6bd503b
refactor(reference): split materialization state (#28190) 2026-05-18 22:14:33 +05:30
Aiden Cline
05ac345696
refactor(session): move prompt reminders out of core loop (#28082) 2026-05-18 11:36:38 -05:00
opencode-agent[bot]
e3feca09b3 chore: generate 2026-05-18 16:20:46 +00:00
Kit Langton
896ad7b884
Speed up targeted opencode tests
Reduce avoidable setup costs in slow opencode tests while preserving reviewed coverage and recording the benchmark evidence for follow-up test-suite work.
2026-05-18 16:18:29 +00:00
opencode-agent[bot]
0a945219a9 chore: generate 2026-05-18 16:17:46 +00:00
Shoubhit Dash
94828eb44b
refactor(repository): type cache failures (#28188) 2026-05-18 21:46:18 +05:30
Shoubhit Dash
96192495ae
refactor(repository): add cache service (#28184) 2026-05-18 21:25:38 +05:30
Kit Langton
cb35493242
fix(bus): acquire PubSub subscription eagerly to close /event race (#27959) 2026-05-18 11:38:05 -04:00
Shoubhit Dash
5bfd7fd16c
refactor(repository): clarify reference domain (#28182) 2026-05-18 21:04:44 +05:30
opencode-agent[bot]
2932b41e64 chore: generate 2026-05-18 15:14:13 +00:00
Shoubhit Dash
eb389c58eb
refactor(reference): normalize config entries (#28178) 2026-05-18 20:42:41 +05:30
opencode-agent[bot]
e56999fd36 chore: generate 2026-05-18 12:31:37 +00:00
Simon Klee
1124315267
run: refresh prompt layout after paste (#28164)
Pasting into the prompt textarea left its layout stale until the next edit, so the visible content did not reflect the pasted text. Mark the layout dirty on paste and notify the content-change handler once the renderer is idle so the prompt updates immediately.
2026-05-18 12:30:20 +00:00
Shoubhit Dash
564cde393e
fix(tui): copy pasted prompt content (#28156) 2026-05-18 17:02:34 +05:30
opencode-agent[bot]
c813927bb6 chore: generate 2026-05-18 11:07:52 +00:00
Simon Klee
5970c12d90
run: replay session history on interactive resume (#26880) 2026-05-18 13:06:27 +02:00
opencode-agent[bot]
116a4e33ba chore: generate 2026-05-18 11:06:05 +00:00
Shoubhit Dash
611e48c4ac
fix(tui): collapse long tool output lines (#28148) 2026-05-18 16:34:34 +05:30
Kagura
e94aecaa08
fix(tui): use contrast-aware foreground for paste summary badge (#27969)
Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-05-18 08:38:40 +00:00
Dax
e85119aa64
Load models.dev snapshot from build global (#28077) 2026-05-17 21:59:44 -04:00
opencode-agent[bot]
969d0f48b2 chore: generate 2026-05-17 23:03:12 +00:00
Luke Parker
fc19dcc70c
fix: sort v2 session list by updated time (#27954) 2026-05-18 09:01:55 +10:00
Sebastian
f97e115ee2
dialog prompt submit keybind + opentui event sink (#27945) 2026-05-18 00:23:19 +02:00
Dax
23b594de6e
fix: preserve bus instance context (#28051) 2026-05-17 12:56:42 -04:00
Shoubhit Dash
e4cc4e1682
fix(lsp): preserve instance ref for update events (#28016) 2026-05-17 16:37:00 +05:30
Kit Langton
c0a8b509c7
style(tui): distinguish markdown h1 headings (#27814) 2026-05-16 11:18:17 -04:00
Shoubhit Dash
68af95390d
fix: hide task background instructions by default (#27872) 2026-05-16 19:18:15 +05:30
opencode-agent[bot]
321db7a819 chore: generate 2026-05-16 13:27:23 +00:00
Dax Raad
6d2219e001 fix(cli): preserve instance context in async commands 2026-05-16 09:25:45 -04:00
opencode-agent[bot]
dd432e3cde chore: generate 2026-05-16 13:21:57 +00:00
Dax Raad
77db212a0a fix read stream byte cap 2026-05-16 09:20:35 -04:00
Dax Raad
88363f1ed9 fixed issue in opencode run 2026-05-16 08:27:25 -04:00
Dax
53849bd866
fix(sync): publish events on injected project bus (#27825) 2026-05-16 05:56:49 +00:00
Aiden Cline
548648a3d9
core: reduce prompts for shell, todowrite, and task tools (#26821) 2026-05-16 00:18:47 -05:00
Dax Raad
042e6a5c86 tui: newly pinned sessions now append to the end of the list instead of jumping to the top 2026-05-15 23:57:40 -04:00
Sebastian
cc9c0b15c7
Revert "add dialog prompt submit keybind (#27807)" (#27815) 2026-05-16 04:44:32 +02:00
Kit Langton
f3b0d3d7ac
fix(tui): dedupe consecutive prompt history entries (#27816) 2026-05-16 02:36:35 +00:00
Sebastian
d441e931f9
add dialog prompt submit keybind (#27807) 2026-05-16 03:11:46 +02:00
Kit Langton
5911bd532d
fix(tui): show config error details on startup (#27803) 2026-05-15 20:42:56 -04:00
Dax Raad
2385123f03 Fix thinking toggle defaults 2026-05-15 20:27:36 -04:00
Sebastian
0f31fd631b
Fix multiline mentions (#27649) 2026-05-15 23:04:20 +02:00
Sebastian
aa07e21945
handle undefined tips (#27635) 2026-05-15 23:04:00 +02:00
Shoubhit Dash
f060874b29
feat(tui): add minimal thinking mode with click-to-expand (#27623) 2026-05-16 02:09:58 +05:30
Shoubhit Dash
65f96a5851
refactor(instance): retire WithInstance adapter (#27782) 2026-05-16 01:30:07 +05:30
Aiden Cline
48122b31cc
fix(tool): bridge custom tool zod metadata (#27770) 2026-05-15 14:50:21 -05:00
Shoubhit Dash
f33b4455a1
feat(tui): enable pinned session switching (#27780) 2026-05-16 01:10:16 +05:30
Shoubhit Dash
a24abd2b11
refactor(lsp): require explicit instance context (#27767) 2026-05-16 00:46:27 +05:30
opencode-agent[bot]
d44bef2107 chore: generate 2026-05-15 18:45:24 +00:00
Shoubhit Dash
f99339e525
fix(tui): keep session switching pinned-only (#27775) 2026-05-16 00:14:07 +05:30
Shoubhit Dash
2b0e72ab79
refactor(workspace): centralize adapter invocation (#27768) 2026-05-15 23:59:01 +05:30
Shoubhit Dash
2fdee50b3b
refactor(acp): extract runtime reentry (#27769) 2026-05-15 23:58:52 +05:30
opencode-agent[bot]
48293c5271 chore: generate 2026-05-15 17:37:07 +00:00
Shoubhit Dash
0c9cfe923f
refactor(instance): remove legacy runtime fallback (#27757) 2026-05-15 23:05:44 +05:30
Aiden Cline
ef7d801271
fix(tool): preserve custom tool arg descriptions (#27750)
Co-authored-by: khimaros <231498+khimaros@users.noreply.github.com>
2026-05-15 10:11:01 -05:00
opencode-agent[bot]
eb630075c3 chore: generate 2026-05-15 15:01:55 +00:00
Shoubhit Dash
a2392ca60d
refactor(worktree): provide runtime reentry refs (#27754) 2026-05-15 20:30:29 +05:30
opencode-agent[bot]
f9371eb66c chore: generate 2026-05-15 14:36:04 +00:00
Shoubhit Dash
fa9a2cb24d
refactor(instance): remove remaining bind call sites (#27731) 2026-05-15 20:04:42 +05:30
Aiden Cline
c2ffd7cf14
fix: markdown table rendering (#27747) 2026-05-15 09:22:24 -05:00
Shoubhit Dash
bf64f8cbb5
refactor(cli): dispose bootstrap instance explicitly (#27721) 2026-05-15 16:30:54 +05:30
opencode-agent[bot]
727a83aa7a chore: generate 2026-05-15 10:46:06 +00:00
Shoubhit Dash
e65383810a
refactor(tool): read repo overview directory from instance state (#27717) 2026-05-15 16:14:49 +05:30
Shoubhit Dash
12b666e2c9
refactor(project): import instance context directly (#27714) 2026-05-15 15:59:56 +05:30
Shoubhit Dash
356f684186
refactor(flags): migrate skip migrations flag (#27705) 2026-05-15 14:54:29 +05:30
Shoubhit Dash
7b370406a9
refactor(flags): migrate lsp download flag (#27699) 2026-05-15 14:35:31 +05:30
Shoubhit Dash
202cc863b4
refactor(flags): migrate claude code prompt flag (#27690) 2026-05-15 14:17:04 +05:30
Shoubhit Dash
22cb0395e2
refactor(flags): migrate external skills flag (#27685) 2026-05-15 13:24:56 +05:30
Shoubhit Dash
2d6bedecd4
refactor(flags): migrate output token max to runtime flags (#27680) 2026-05-15 13:07:35 +05:30
opencode-agent[bot]
2080390ca6 chore: generate 2026-05-15 07:36:10 +00:00
Kagura
1ac3f09468
fix(watcher): resolve symlinked .git path before subscribing (#27016)
Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-05-15 09:34:53 +02:00
Dax Raad
7a012cac08 fix(tool): ignore invalid custom tool exports 2026-05-14 23:36:28 -04:00
James Long
af06e52708
fix(session): ignore instruction lookup errors (#27656) 2026-05-14 23:12:30 -04:00
Dax Raad
f807152724 core: fix event projector lookup to use versioned type keys
Fixes a bug where projectors were stored with Definition object references
as Map keys but lookups were failing due to object identity mismatches.
Now uses versioned type strings as keys, ensuring events are correctly
matched to their projectors during sync processing.

This fixes issues where certain events would not be properly projected
to the read model, causing stale or missing data in views.
2026-05-14 22:52:03 -04:00
Dax Raad
b0ea7a5aa7 more test fixes 2026-05-14 22:45:09 -04:00
Dax Raad
16639eee76 test fixes 2026-05-14 22:32:38 -04:00
Dax Raad
a50ff72f3f fix: remove debug logging 2026-05-14 22:13:15 -04:00
Dax Raad
5f4e5e6896 more typecheck fixes 2026-05-14 22:05:12 -04:00
Dax Raad
f39cf911d7 fix missing event types in sdk 2026-05-14 21:57:25 -04:00
Dax
e11e089e42
Add Effect-native core event system (#27415) 2026-05-15 00:50:23 +00:00
Kit Langton
195f592640
refactor(server): simplify listener lifecycle (#27413) 2026-05-15 00:00:52 +00:00
Shoubhit Dash
fc34c74567
refactor(flags): move channel db flag to runtime flags (#27615) 2026-05-15 04:09:10 +05:30
Shoubhit Dash
cb4f5cdea9
refactor(flags): move auto share to runtime flags (#27611) 2026-05-15 03:58:26 +05:30
nv-kasikritc
d34a0194ec
feat(provider): add NVIDIA endpoints origin header (#27394) 2026-05-14 17:21:58 -05:00
Shoubhit Dash
43310f4d8c
refactor(flags): move embedded web ui flag to runtime flags (#27613) 2026-05-15 03:51:29 +05:30
Shoubhit Dash
e22cfa435a
refactor(lsp): move ty flag to runtime flags (#27610) 2026-05-15 03:40:30 +05:30
Shoubhit Dash
faca2b90c1
refactor(flags): migrate icon discovery runtime flag (#27609) 2026-05-15 03:24:14 +05:30
Shoubhit Dash
76ff18afde
refactor(format): move oxfmt flag to runtime flags (#27608) 2026-05-15 03:03:37 +05:30
Shoubhit Dash
f202226bbc
refactor(flags): move bash timeout to runtime flags (#27607) 2026-05-15 02:49:14 +05:30
Shoubhit Dash
34198f422c
refactor(provider): use runtime flag for experimental models (#27606) 2026-05-15 02:48:01 +05:30
Shoubhit Dash
cccdeef294
refactor(flags): migrate claude code skills flag to RuntimeFlags (#27605) 2026-05-15 02:47:26 +05:30
Musa
83c145f889
fix(plugin): scope digitalocean oauth to genai (#27599) 2026-05-14 15:20:34 -05:00
Kit Langton
d353a6bc24
fix(worktree): accept missing create payload (#27582) 2026-05-14 14:25:22 -04:00
opencode-agent[bot]
f6c8e35383 chore: generate 2026-05-14 17:58:35 +00:00
Kit Langton
94564f3588
fix(session): prevent double auto-compaction from filterCompacted reorder (#27545) 2026-05-14 13:56:12 -04:00
opencode-agent[bot]
756488d534 chore: generate 2026-05-14 16:42:18 +00:00
Shoubhit Dash
22de34c4de
feat: add experimental background subagents (#27084) 2026-05-14 22:10:15 +05:30
Sameer Kankute
7f7eb2e7f8
fix(provider): remove LiteLLM workarounds ported upstream, requires LiteLLM v1.85.0-rc.2+ (#26819)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 11:26:07 -05:00
Shoubhit Dash
e26abd8da9
fix(tool): close shell truncation stream (#27517) 2026-05-14 16:34:42 +05:30
Shoubhit Dash
8c1ce0b80c
refactor(flags): simplify tui plugin runtime flags (#27506) 2026-05-14 15:56:02 +05:30
Shoubhit Dash
7e43d3e3f5
refactor(lsp): type initialize errors (#27494) 2026-05-14 15:20:02 +05:30
Shoubhit Dash
be6e7b309e
refactor(provider): type init errors (#27484) 2026-05-14 14:48:58 +05:30
Shoubhit Dash
27ac53aaac
fix(server): stop exposing named defects (#27471) 2026-05-14 12:51:05 +05:30
Shoubhit Dash
78015571bf
refactor(server): centralize session busy mapping (#27473) 2026-05-14 12:50:36 +05:30
Aiden Cline
e76cf967e6
fix(session): finalize interrupted assistant messages (#27254) 2026-05-14 01:19:11 -05:00