Commit graph

59 commits

Author SHA1 Message Date
Kit Langton
a1e942988d
refactor(core): plan inbox boundaries purely and carry drain position (#66879) 2026-11-27 16:49:33 -08:00
opencode-agent[bot]
c0aeddbef0
feat(core): write assistant parts as session_part rows by default (#65039)
Co-authored-by: rekram1-node <63023139+rekram1-node@users.noreply.github.com>
2026-11-20 01:54:06 +00:00
James Long
e42d622a75
fix(core): make build metadata a required service so flags can't silently fall back to release defaults (#62686) 2026-11-08 11:08:52 -06:00
Kit Langton
6000b7c51b
perf(core): write each assistant part as its own row instead of rewriting the message (#58916) 2026-11-04 14:16:44 -08:00
opencode-agent[bot]
d500927b9d
feat(core): record when a session's latest execution started (#59910)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
2026-10-29 07:45:09 +00:00
Kit Langton
510aa79d07
fix(core): store forked and imported session media as blobs (#60118) 2026-10-28 23:05:00 -07:00
Kit Langton
c1b5f1b416
feat(core): add the session_part table and read history from it (#58915) 2026-10-28 21:30:03 -07:00
Kit Langton
e12fad949b
feat(core): opt-in blob writes for session media behind experimental.media_blob (#58741) 2026-10-25 15:48:45 -07:00
Kit Langton
70c69f06f9
feat(core): store session media as media:<hash> refs in a content-addressed blob table (#58656) 2026-10-25 08:28:46 -07:00
Adam
de284dc1bc
refactor(core): keep Go allowance out of messages and sessions (#58765) 2026-10-24 13:05:02 -05:00
Adam
4cba1b7f5d
feat(core): record reported cost and Go allowance (#58562) 2026-10-24 03:32:36 -05:00
Aiden Cline
6dfc681835
refactor(core): avoid redundant decode and re-branding in session inbox and projector (#57890) 2026-10-21 15:38:18 -05:00
Aiden Cline
acdcdb8dd9
refactor: v2.1 minor breaking changes (#57260) 2026-10-20 00:42:13 -05:00
Rich Rauenzahn
a5bf171649
fix(core): keep the instruction baseline on committed revert (#54410)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-10-19 14:29:10 -05:00
Namit
e2979039f1
fix(core): bump session time_updated on step lifecycle events (#49105)
Co-authored-by: James Long <longster@gmail.com>
2026-10-07 11:40:47 -04:00
Dax Raad
2a132d6f50 fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
Dax
a5312e169b
refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
Kit Langton
36ac35a7c8
refactor(util): make layer graphs opaque and composable
Replace exposed layer graph assembly with opaque declarations, checked substitutions, and lifetime-aware compilation. Preserve deep replacement, ordered startup, and Effect-owned resource lifetimes; migrate callers and verify source and published package contracts.
2026-08-31 13:46:27 -04:00
Kit Langton
8ba434b597
refactor(core): move projected Session reads into Store (#46075)
Move existing Session list and message queries into SessionStore. Preserve public response wrapping, Session existence checks, pagination, ordering, and typed message decoding errors.
2026-08-29 09:31:04 -04:00
Kit Langton
6e954f75ee
refactor(core): isolate Session admission and controls (#46019)
Separate ID-bound Session policy from host routing. Bind Inbox and Location preparation dependencies at construction, preserve admission and execution semantics, and cover the extracted ownership contracts directly.
2026-08-28 23:22:25 -04:00
Kit Langton
ad9117b107
fix(session): run user shells immediately in the background
Run user shell commands concurrently with model execution, retain their output in one shell entry, and admit non-waking completion messages. Share result capture and notification formatting across shell callers.
2026-08-28 22:46:20 -04:00
Kit Langton
d15034264b
test(core): reuse session projection fixtures (#45661) 2026-08-28 14:37:33 -04:00
Dax
91028a690b
feat(tui): show LLM token throughput 2026-08-26 09:23:53 -04:00
Kit Langton
238e1903df
refactor(session): tighten persisted state (#43969) 2026-08-21 19:27:21 +00:00
Dax
a7642737c7
feat(core): add generic session inbox (#42109) 2026-08-12 15:28:04 -04:00
Aiden Cline
4df276b9e8
feat(session): persist previous agent on switch (#41621) 2026-08-10 22:35:16 -05:00
opencode-agent[bot]
a15ec425de
test: repair v2 CI failures (#40803)
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
2026-08-05 23:38:38 -05:00
Dax Raad
120e4e7388 fix(core): make event persistence opt-in 2026-08-05 19:33:59 -04:00
Kit Langton
0af6c82563
refactor(core): remove orphaned message projector paths (#40705) 2026-08-05 15:13:15 -04:00
Dax Raad
8db7487c89 refactor(core): consolidate tool architecture 2026-07-26 20:16:58 -04:00
Dax
e0810753f2
refactor: extract shared util package (#37828) 2026-07-21 10:34:29 -04:00
Kit Langton
96a9731947
feat(core): replace instruction checkpoints with value-delta sync (#36254) 2026-07-10 13:26:25 -04:00
Kit Langton
a72992e00f
feat(core): session.pending.list API with pending-only session_pending storage (#36126) 2026-07-09 17:25:40 -04:00
Kit Langton
6524dfc818
feat(core): resume suspended sessions after service restart (#36105) 2026-07-09 13:19:15 -04:00
Kit Langton
984cab7938
feat(core): generalize session input inbox (#36005) 2026-07-08 22:07:45 -04:00
Kit Langton
ed6ad272ec
refactor(schema): apply session review decisions (#35793) 2026-07-07 22:10:11 -04:00
Aiden Cline
910e37f6d8
fix: update v2 session usage metrics (#35468) 2026-07-07 14:31:54 -05:00
Kit Langton
bf01264661
feat(core): finalize session event lifecycle (#35272) 2026-07-06 18:14:06 -04:00
Dax Raad
4d100de194 feat(core): resolve prompt attachments 2026-07-06 15:04:23 -04:00
Kit Langton
91f1815732
refactor(core): rename system context to instructions (#35583) 2026-07-06 14:29:29 -04:00
Dax Raad
06dcf3f221 fix(tui): remove committed undo messages 2026-07-06 13:08:25 -04:00
Kit Langton
62af66a74f
fix(tui): distinguish variant switch notices (#35315) 2026-07-04 10:58:56 -04:00
Kit Langton
650d774372
refactor(schema): session shell payloads and event prefix restore (#35229) 2026-07-03 17:30:25 -04:00
Kit Langton
394e0b9045
refactor(schema): rename V2 session events and normalize payloads (#35217) 2026-07-03 14:25:59 -04:00
Kit Langton
cd0b274856
refactor(core): simplify v2 prompt lifecycle and execution coordination (#35047) 2026-07-02 21:38:44 -04:00
Kit Langton
4045041554
refactor(core): simplify system context into a belief model (#34917) 2026-07-02 09:32:35 -04:00
Dax Raad
d972aa9d83 feat(core): tool execute hooks, session instructions, synthetic endpoint
- V2 tool execute hooks: add `ctx.tool.execute.before/after` plugin API,
  core ToolHooks service, and registry wiring so hosted/local tool calls
  run registered before/after hooks; provider-executed calls are excluded.
- Session synthetic endpoint: add `POST /api/session/:sessionID/synthetic`
  with text/description/metadata plus regenerated Promise/Effect/JS client
  surfaces.
- SessionInstructions service: read tool discovers nearby AGENTS.md walking
  up to the Location root (exclusive) and injects them as durable synthetic
  instructions, with lazy history dedup of prior claims.
- to-llm-message: stop forwarding synthetic message metadata to the model so
  bookkeeping annotations stay model-hidden.
- schema changelog entry for synthetic metadata and the metadata leak fix.
2026-07-01 20:50:10 -04:00
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
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
opencode-agent[bot]
3730125f8f chore: generate 2026-06-24 23:43:02 +00:00