Commit graph

408 commits

Author SHA1 Message Date
Kit Langton
7ac3128c74 feat(core): wire v2 subagent tool 2026-06-28 11:15:36 -04:00
Kit Langton
5e90a68d6a wip(core): v2 subagent foundations (awaitIdle, wait, create parentID)
Checkpoint of the safe subagent slice:
- SessionExecution.awaitIdle (coordinator drain-to-quiescence loop)
- SessionV2.wait delegates to awaitIdle; drop unavailable error + handler catch
- SessionV2.create: parentID/title, optional location inherited from parent
- subagent tool file (core/src/tool/subagent.ts) NOT yet wired into the node
  graph; wiring the global SessionV2 dep from a location-scoped tool is the open
  problem being experimented on next.
2026-06-27 23:46:07 -04:00
Kit Langton
727f9f46a0 chore: merge origin/dev into v2
Brings the latest dev (45 commits) into v2. Conflict resolutions:

- core/src/session.ts: keep v2's Service (BusyError active-checks in
  revert.stage/clear/commit, rename method + Renamed event) and add
  dev's history method. v2's Renamed event flows through the merged
  SessionEvent.Definitions into the OpenCodeEvent union, so it encodes
  correctly on the SSE stream.
- server/src/handlers/event.ts: take dev's OpenCodeEvent encoder, which
  supersedes v2's PublicEventManifest handler wiring. This also brings
  dev's live event stream (allBounded + heartbeat + keepalive headers)
  onto v2.
- Removed the now-orphaned public-event-manifest.ts (only self-referenced
  after taking dev's handler).
- Generated client + sdk types regenerated via codegen (not hand-merged);
  they pick up dev's effect SSE OpenAPI-naming patch (V2EventStream).
2026-06-27 22:43: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
opencode-agent[bot]
41202819a4 chore: generate 2026-06-27 18:11:37 +00:00
James Long
a31698f99b
refactor(core): move more tests to nodes (#34248) 2026-06-27 18:10:07 +00:00
opencode-agent[bot]
6248542c49 chore: generate 2026-06-27 17:20:42 +00:00
James Long
d25c91e5eb
refactor(core): move session test to nodes (#34245) 2026-06-27 13:19:14 -04:00
James Long
5d63020dcd
test(core): cover app node builder graphs (#34244) 2026-06-27 16:54:18 +00:00
opencode-agent[bot]
062f54590e chore: generate 2026-06-27 16:30:47 +00:00
James Long
a76c6918d2
refactor(core): rename app node modules (#34238) 2026-06-27 12:29:21 -04:00
James Long
ecc5c44d9a
refactor(core): make node build bind maps conditionally (#34218) 2026-06-27 11:09:07 -04:00
Dax Raad
b6553d14e1 fix(core): fail interrupted session steps 2026-06-27 01:16:30 -04:00
Dax Raad
93159bccbf feat(core): port v2 runtime fixes onto dev
Cherry-picks the packages/core changes from the v2 branch onto dev:
- combined ordered stdout/stderr in AppProcess + bash structured output
- edit/apply-patch return FileDiff info with status and line stats
- ignore no-op model switches; record reasoning timestamps
- return unexpected local tool defects to the model and continue
- keep OAuth account metadata out of request bodies
- nest OpenAI reasoning effort/summary options
- load OpenCode provider config asynchronously; batch plugin boot
- export latest public event manifest

Includes the supporting schema reasoning time field and regenerated
client/SDK types.
2026-06-27 00:07:25 -04:00
opencode-agent[bot]
71c3a7c8f2 chore: generate 2026-06-27 02:47:33 +00:00
James Long
ecdfff5a42
refactor(core): separate out location node functionality and integrate into v2 (#34119) 2026-06-26 22:46:07 -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
Kit Langton
42e6b7db32
feat(sdk): expose live event stream (#34098) 2026-06-26 21:16:33 +02:00
opencode-agent[bot]
20f47fec7a chore: generate 2026-06-26 18:51:42 +00:00
Kit Langton
65210f2d97
feat(api): add finite durable session history pages (#34097) 2026-06-26 14:49:47 -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