Commit graph

536 commits

Author SHA1 Message Date
James Long
8c94e9005f
chore: merge dev into v2 (#34788)
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
Co-authored-by: Kit Langton <kit.langton@gmail.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Affan Ali <93028901+affanali2k3@users.noreply.github.com>
Co-authored-by: affanali2k3 <affanalikhanxx@gmail.com>
Co-authored-by: Frank <frank@anoma.ly>
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: 𝓛𝓲𝓽𝓽𝓵𝓮 𝓕𝓻𝓪𝓷𝓴 <little-frank@opencord.local>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com>
Co-authored-by: OpeOginni <107570612+OpeOginni@users.noreply.github.com>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Co-authored-by: Ben Guthrie <benjee.012@gmail.com>
Co-authored-by: Dax <mail@thdxr.com>
Co-authored-by: Filip <34747899+neriousy@users.noreply.github.com>
Co-authored-by: Max Anderson <max.a.anderson95@gmail.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
Co-authored-by: Jack <jack@anoma.ly>
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
Co-authored-by: Dustin Deus <deusdustin@gmail.com>
Co-authored-by: starptech <starptech@starptechs-MBP.fritz.box>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: usrnk1 <7547651+usrnk1@users.noreply.github.com>
Co-authored-by: Jay <53023+jayair@users.noreply.github.com>
Co-authored-by: runvip <164729189+runvip@users.noreply.github.com>
Co-authored-by: opencode <opencode@sst.dev>
Co-authored-by: Julian Coy <julian@ex-machina.co>
Co-authored-by: Vladimir Glafirov <vglafirov@gitlab.com>
2026-07-01 17:12:00 -04:00
Dax Raad
716f6658db feat(core): add skill autoinvoke metadata 2026-07-01 15:13:40 -04:00
Dax Raad
b3650e2316 fix(core): provide job service in session default layer 2026-07-01 14:38:35 -04:00
Dax Raad
fb884bb91e feat: update session notices and skill reloads 2026-07-01 14:37:27 -04:00
Dax Raad
e2bca216a2 feat: background blocking tools 2026-07-01 12:18:04 -04:00
Dax Raad
ae49b21376 fix(core): save external permissions at project root 2026-07-01 11:27:24 -04:00
Dax Raad
5710064ae1 feat(core): generate session titles from first prompt
Add SessionTitle service that generates a session title from the
session's sole user message via the customizable "title" agent, then
renames the session. Runs once per session, gated on durable history
having exactly one user message (no default-title string comparison).

Wire it into SessionRunner as a background fork after the first turn's
prompt promotion makes the user message visible; forking before
promotion caused the first-message lookup to see zero rows and silently
no-op.

Closes #34364
2026-07-01 11:07:44 -04:00
Shoubhit Dash
4617b03ca9
fix: surface shell stderr output (#34761) 2026-07-01 20:33:48 +05:30
Dax Raad
6a91a682e4 feat(core): add plugin list endpoint
Adds a plugin.list HTTP endpoint that reports currently loaded plugins, wires it through protocol, server, and generated clients, and merges it into sdk-next's plugin API. Also updates the sample plugin to register a primary agent instead of a subagent for local testing.
2026-07-01 00:53:53 -04:00
Aiden Cline
f8626865b9
fix(core): expose models.dev modes as models (#34714) 2026-06-30 22:48:25 -05:00
Kit Langton
1ce607c230
refactor(plugin): move tool implementation to plugin (#34665) 2026-06-30 23:30:56 -04:00
Dax Raad
c26f6f95f7 fix(core): deny subagent tool for default subagents 2026-06-30 23:11:06 -04:00
Dax Raad
6ca6566bd3 fix(core): derive reasoning variants from models.dev 2026-06-30 22:50:20 -04:00
Dax Raad
8dd993d25a fix(tui): stabilize reload connection state 2026-06-30 22:31:51 -04:00
Dax Raad
24ab17e718 fix(tui): keep background shell spinner active 2026-06-30 21:56:45 -04:00
Aiden Cline
0a60662d71
feat(cli): add mcp list, add, auth, and logout commands (#34643) 2026-06-30 13:49:07 -05:00
Kit Langton
194b0615e0
feat(plugin): support plugin-provided tools (#34619) 2026-06-30 13:18:56 -04:00
opencode-agent[bot]
a5c51e11d0
fix(core): drop legacy config filename (#34650)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-06-30 11:12:15 -05:00
Aiden Cline
b1ca070b3b
feat(core): add mcp support (#34513) 2026-06-30 08:37:44 -05:00
Aiden Cline
12887e572e
fix(core): align agent tests with universal default permissions (#34561) 2026-06-30 08:24:54 -05:00
Aiden Cline
75715e2115
fix(core): parse models.dev reasoning options (#34618) 2026-06-30 07:54:18 -05:00
Dax Raad
23adaaaeab feat(core): add native skill activation 2026-06-30 01:16:33 -04:00
opencode-agent[bot]
524ee8fc03
fix(core): gate v2 edit tools by model (#34558)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-06-29 23:53:41 -05:00
Dax Raad
02cb350880 feat(tui): refresh agents after update events 2026-06-30 00:18:26 -04:00
opencode-agent[bot]
4ce830a919
fix(core): align v2 prompt tool names (#34557)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-06-29 22:53:56 -05:00
Kit Langton
461a1c3ab4
refactor(core): replace background job service (#34559) 2026-06-29 23:53:35 -04:00
Aiden Cline
f928b5be07
fix(core): sanitize registered tool names (#34512) 2026-06-29 18:30:40 -05:00
Kit Langton
ecfa918760
feat(client): expose fs read in promise client (#34504) 2026-06-29 19:21:18 -04:00
Dax Raad
fe59174c23 fix(core): resume after synthetic session message 2026-06-29 17:32:54 -04:00
Dax Raad
2fe057324f fix(core): provide filesystem to shell tool 2026-06-29 17:27:24 -04:00
Dax Raad
19a5b5a05d feat(core): support background shell tool 2026-06-29 17:01:04 -04:00
Dax Raad
ff4cab03c1 refactor(core): simplify session fork event 2026-06-29 16:16:13 -04:00
Dax Raad
b2d46ecd7e feat(core): add durable session fork event 2026-06-29 16:13:51 -04:00
Kit Langton
935ac2db91
feat(client): expose v2 project APIs (#34456) 2026-06-29 14:10:11 -04:00
Dax Raad
01edae4a7f fix(core): spawn shell non-interactively without sourcing rc files
ShellSelect.args() ran zsh/bash with -l and explicitly sourced .zshrc/.bashrc,
loading user functions and aliases that can shadow builtins and return non-zero
exit codes, breaking && chains. Match the old tool behavior: plain non-login
non-interactive shell -c command with cwd passed via spawn options.
2026-06-29 12:05:56 -04:00
Dax Raad
5ae93092aa refactor(core): replace bash tool with shell tool 2026-06-29 00:44:17 -04:00
Kit Langton
595c6bd4a7
feat: add v2 generate text endpoint (#34371) 2026-06-28 22:43:58 -04:00
Kit Langton
7073e8797f
fix(core): remove per-prompt system option (#34361) 2026-06-28 21:56:59 -04:00
Kit Langton
f7034a35a8
feat(core): add v2 manual compaction (#34336) 2026-06-28 21:18:19 -04:00
Kit Langton
53b93b6991
feat(sdk-next): let embedders contribute plugins via opencode.plugin (#34356) 2026-06-28 20:30:21 -04:00
opencode-agent[bot]
6067019434
fix(core): restore v2 model prompts (#34275)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-06-28 14:47:20 -05:00
Dax
42a3cf9645
fix(core): commit staged revert before admitting new prompt (#34338) 2026-06-28 14:50:06 -04:00
Kit Langton
04c6bed240
feat(core): restore per-request system prompt (#34335) 2026-06-28 14:02:46 -04:00
Kit Langton
94e3a29d2f
feat(core): wire v2 subagent tool (#34320) 2026-06-28 12:52:39 -04:00
Kit Langton
41283933ff
chore: merge dev into v2 (#34317)
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Affan Ali <93028901+affanali2k3@users.noreply.github.com>
Co-authored-by: affanali2k3 <affanalikhanxx@gmail.com>
Co-authored-by: Frank <frank@anoma.ly>
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: James Long <longster@gmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com>
Co-authored-by: OpeOginni <107570612+OpeOginni@users.noreply.github.com>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Co-authored-by: Ben Guthrie <benjee.012@gmail.com>
Co-authored-by: Dax <mail@thdxr.com>
Co-authored-by: Filip <34747899+neriousy@users.noreply.github.com>
2026-06-28 11:30:38 -04:00
Dax
d1d7ebc2c6
feat(tui): wire up undo/redo and revert for V2 sessions (#34263) 2026-06-28 00:04:53 +00:00
Dax Raad
b6553d14e1 fix(core): fail interrupted session steps 2026-06-27 01:16:30 -04:00
Dax Raad
6a16c41e8f fix(core): continue after tool defects 2026-06-26 22:02:30 -04:00
Dax Raad
658cbe9caf fix(core): load OpenCode provider config asynchronously 2026-06-26 21:16:15 -04:00
Dax Raad
655adbf46e fix: stabilize v2 runtime behavior 2026-06-26 20:56:36 -04:00
Dax Raad
e6f660fecf feat(tui): add v2 terminal interface 2026-06-26 14:38:25 -04:00
opencode-agent[bot]
0e2dd4ad15 chore: generate 2026-06-26 17:56:55 +00:00
Dax Raad
1ac6b4bec4 fix(core): authorize external read paths 2026-06-26 13:55:04 -04:00
Dax Raad
850a0dfe7c fix(core): resolve prompt attachment mime types 2026-06-26 13:51:00 -04:00
Aiden Cline
0d3e0fc8f4
fix(core): enlarge OAuth callback card (#34082) 2026-06-26 10:16:51 -05:00
Aiden Cline
639c8e6475
tweak: update OAuth callback branding (#34081) 2026-06-26 10:08:29 -05:00
Shoubhit Dash
971518c6d9
fix(core): refresh cached remote skills (#34059) 2026-06-26 12:12:50 +00:00
Aiden Cline
e8fea9e63a
feat(oauth): unify OAuth callback browser pages (#34025) 2026-06-26 00:36:40 -05:00
Kit Langton
ef5c9f4931
feat(sdk): expose active sessions (#33991) 2026-06-26 03:33:35 +00:00
Kit Langton
40ecfceec2
fix(sdk): wake embedded session execution (#33992) 2026-06-25 23:04:14 -04:00
Aiden Cline
ded29f03f0
fix(core): refine small model defaults (#33926) 2026-06-25 20:31:53 -05:00
opencode-agent[bot]
f428755851
feat(core): split MCP timeout configuration (#33977)
Co-authored-by: Test <test@opencode.test>
2026-06-25 20:31:00 -05:00
James Long
0e731c2a1a
refactor(core): support tiered layer nodes (#33937) 2026-06-25 14:34:17 -04:00
Kit Langton
f44423609b
feat(sdk): restore session runtime operations (#33777) 2026-06-25 14:23:01 -04:00
opencode-agent[bot]
ecabab49a7 chore: generate 2026-06-25 17:13:12 +00:00
Kit Langton
9e9d405d7e
refactor(schema): tighten public contracts (#33771) 2026-06-25 17:10:23 +00:00
opencode-agent[bot]
77f2d2227a chore: generate 2026-06-25 15:44:27 +00:00
Kit Langton
7854f5b9f7
refactor(schema): normalize module patterns (#33770) 2026-06-25 15:42:22 +00:00
opencode
7c0e1b431c sync release versions for v1.17.11 2026-06-25 12:09:26 +00:00
Kit Langton
cdd67cf30f
feat(sdk): add HttpApi clients and embedded host (#33445) 2026-06-24 23:08:54 -04:00
Kit Langton
56a37c3640
refactor(protocol): extract server contracts (#33708) 2026-06-24 22:15:31 -04:00
opencode-agent[bot]
3730125f8f chore: generate 2026-06-24 23:43:02 +00:00
Dax
9bb5370205
feat(core): add session snapshot and revert system (#33226) 2026-06-24 23:41:16 +00:00
Dax Raad
25c6abc31a fix(core): lower OpenAI text verbosity 2026-06-24 19:32:59 -04:00
Dax Raad
f4afb2c0a5 fix(core): preserve unconfigured console models 2026-06-24 18:58:17 -04:00
Dax Raad
bba74985ab fix(core): handle unavailable fff index 2026-06-24 18:49:22 -04:00
Dax Raad
e9ee2129ea fix(core): disable fff broad scanning 2026-06-24 18:42:15 -04:00
Dax Raad
68260ea6c9 fix(core): scope fff broad scanning 2026-06-24 18:42:15 -04:00
Kit Langton
24b0132bc5
refactor(schema): extract public event definitions (#33579) 2026-06-24 16:43:17 -04:00
opencode
858f35f1b3 sync release versions for v1.17.10 2026-06-24 20:37:40 +00:00
opencode-agent[bot]
31b58b4704 chore: generate 2026-06-24 17:21:26 +00:00
Dax Raad
42bb793574 feat(core): generate model variants 2026-06-24 13:17:14 -04:00
Dax Raad
17f312d537 refactor(core): simplify model requests 2026-06-24 13:17:14 -04:00
opencode-agent[bot]
fbfd725d73 chore: generate 2026-06-24 05:10:01 +00:00
Chris Yuan
246d40db73
fix(skill): emit base directory as filesystem path, not file:// URL (#33580)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-06-24 00:08:22 -05:00
Kit Langton
57895586c2
refactor(core): remove schema forwarding facades (#33577) 2026-06-24 02:52:58 +00:00
Kit Langton
516cfe4e09
refactor(schema): extract shared public schemas (#33571) 2026-06-23 22:31:06 -04:00
Dax Raad
e8610d821c refactor(core): drop filesystem entry mime 2026-06-23 21:49:01 -04:00
opencode-agent[bot]
1490752059 chore: generate 2026-06-24 00:54:55 +00:00
Dax
4898263dec
feat(core): map providers to integrations (#33562) 2026-06-24 00:53:31 +00:00
Dax
c556bddda3
feat(core): add opencode integration (#33560) 2026-06-24 00:26:54 +00:00
opencode-agent[bot]
cfddb2407c chore: generate 2026-06-23 23:46:36 +00:00
Dax
cf80b5c470
feat(core): add opencode integration (#33555) 2026-06-23 23:45:02 +00:00
Aiden Cline
c17b9557f1
fix(core): preserve structured error messages (#33530) 2026-06-23 18:43:59 -05:00
Aiden Cline
a3825286cf
test(core): avoid models cache recovery race (#33525) 2026-06-23 11:40:08 -05:00
Dax Raad
ed75ce9ecc fix(core): prioritize reference plugin registration 2026-06-22 23:39:26 -04:00
Dax Raad
4a710e4679 fix(core): await plugin readiness 2026-06-22 22:49:57 -04:00
Dax Raad
d2c866bf70 test(core): speed up test setup 2026-06-22 22:49:57 -04:00
Aiden Cline
d29f5eba92
refactor(core): remove shell description input (#32823) 2026-06-22 21:18:06 -05:00
Dax Raad
975b1132f1 refactor(plugin): use direct runtime registry 2026-06-22 20:10:29 -04:00
Dax Raad
cd97de7391 refactor(plugin): consolidate internal registration 2026-06-22 19:49:00 -04:00
Dax
909a1a6d78
feat(plugin): add namespaced hook API (#33416) 2026-06-22 19:06:57 -04:00
Kit Langton
dc468bdcfd
fix(core): reset steps for promoted prompts (#33452) 2026-06-22 19:01:14 -04:00
Kit Langton
f48f24ec4e
refactor(core): simplify session input promotion (#33443) 2026-06-22 17:51:49 -04:00
Kit Langton
1787fa4261
refactor(core): drop legacy compaction event (#33404) 2026-06-22 21:39:41 +02:00
opencode-agent[bot]
494123a875 chore: generate 2026-06-22 16:18:36 +00:00
Kit Langton
fe840d42b8
refactor(core): simplify session run coordination (#33388) 2026-06-22 12:16:30 -04:00
opencode-agent[bot]
4d5efba5c9 chore: generate 2026-06-22 15:36:00 +00:00
Kit Langton
c6ee511485
refactor(core): simplify session context epochs (#33378) 2026-06-22 11:34:03 -04:00
Kit Langton
f9f2280452
fix(core): defer session model validation (#33377) 2026-06-22 11:07:27 -04:00
Dax Raad
cf31029350 fix(core): batch plugin shutdown 2026-06-22 09:04:29 -04:00
Dax Raad
e50261e524 fix(core): format generated migrations 2026-06-22 08:23:25 -04:00
Dax Raad
b13a2d712a fix(server): isolate event schema types 2026-06-22 08:20:39 -04:00
Dax Raad
1b91b5df34 fix(core): constrain event schema services 2026-06-22 08:14:49 -04:00
Dax Raad
595cc91ddc feat(server): stream events across locations 2026-06-22 08:12:43 -04:00
opencode-agent[bot]
cd292a4ecb chore: generate 2026-06-22 04:17:10 +00:00
Dax
2bb4311042
refactor(core): simplify integration test fixtures (#33292) 2026-06-22 04:15:34 +00:00
opencode-agent[bot]
cdc6d01c5a chore: generate 2026-06-22 04:00:59 +00:00
Dax Raad
35b3fc85d0 feat(core): expose session switching endpoints 2026-06-21 23:59:22 -04:00
Kit Langton
49593c1ec4
fix(core): settle interrupted assistant steps (#33266) 2026-06-21 20:22:09 +00:00
Kit Langton
ff837fe949
fix(core): handle read file failures (#33260) 2026-06-21 20:12:42 +00:00
Kit Langton
69f1ec22e3
fix(core): bound web tool failures (#33259) 2026-06-21 15:37:25 -04:00
Kit Langton
823d327401
fix(core): handle missing read paths (#33255) 2026-06-21 13:50:14 -04:00
opencode-agent[bot]
82d9cab48d chore: generate 2026-06-21 14:36:19 +00:00
Dax
fb43c15f88
refactor(core): simplify event model (#33238) 2026-06-21 10:34:57 -04:00
opencode-agent[bot]
02687b6324 chore: generate 2026-06-21 12:07:16 +00:00
Dax
c780d7cee7
feat(plugin): add v2 effect host (#33111) 2026-06-21 08:05:49 -04:00
opencode
e84d94d998 sync release versions for v1.17.9 2026-06-21 00:03:08 +00:00
Kit Langton
4f1ae1604e
chore: upgrade Effect to beta 83 (#32340) 2026-06-20 19:57:29 -04:00
Kit Langton
4f1a9d7aef
fix(core): honor configured agent step limits (#33142) 2026-06-20 23:04:30 +02:00
Grant Martin
3f1fffeb6d
fix(core): fix command docs in customize-opencode skill (#32718) 2026-06-19 18:22:27 -04:00
opencode
8716c4309a sync release versions for v1.17.8 2026-06-17 21:27:16 +00:00
Keefe Tang
8fd5753f76
fix(provider): pass apiKey to createUnified for Cloudflare AI Gateway (#32052)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-06-16 19:04:38 +02:00
opencode
85e278b728 sync release versions for v1.17.7 2026-06-14 18:49:21 +00:00
opencode-agent[bot]
3ab19bfd7d chore: generate 2026-06-14 12:46:12 +00:00
Dax
0cf3ee4406
refactor(core): derive catalog availability from integrations (#32272) 2026-06-14 14:44:50 +02:00
Shoubhit Dash
7ad68f8150
fix(server): apply plugin pty environment (#32296) 2026-06-14 13:17:48 +02:00
opencode-agent[bot]
8cc2276dba chore: generate 2026-06-14 10:48:03 +00:00
Shoubhit Dash
f2cf607376
refactor(core): canonicalize pty service (#32182) 2026-06-14 12:46:39 +02:00
opencode
42f339c681 sync release versions for v1.17.6 2026-06-13 22:39:08 +00:00
James Long
409ba229ab
fix(core): ignore unavailable project copy roots (#32234) 2026-06-13 18:10:59 -04:00
opencode
7143bf8ff0 sync release versions for v1.17.5 2026-06-13 19:59:03 +00:00
santigc6
3f174531b9
feat(opencode): add external browser OAuth for snowflake cortex provider (#31700)
Co-authored-by: santiago.gonzalezcarvajcentenera <santiago.gonzalezcarvajcentenera@colaborador.elcorteingles.es>
Co-authored-by: David Fierro <14184197+davidfierro@users.noreply.github.com>
Co-authored-by: Kamesh Sampath <kamesh.sampath@hotmail.com>
Co-authored-by: Cortex Code <noreply@snowflake.com>
2026-06-13 13:09:45 -05:00
opencode-agent[bot]
6c36b585c3 chore: generate 2026-06-12 18:46:51 +00:00
James Long
c2e6b18076
feat(core): refactor project copies for v2 (#31943) 2026-06-12 14:45:16 -04:00
James Long
30b2544fe1
refactor(opencode): build server from layer nodes (#32086) 2026-06-12 14:14:51 -04:00
opencode-agent[bot]
2c5335d84c chore: generate 2026-06-12 06:47:04 +00:00
Dax Raad
7793db3ac8 fix(core): preserve credential schema compatibility 2026-06-12 02:45:25 -04:00
opencode-agent[bot]
5f77482a29 chore: generate 2026-06-12 06:16:50 +00:00
Dax
30aec297d8
refactor(core): simplify integration credentials (#31968) 2026-06-12 06:15:25 +00:00