Commit Graph

453 Commits

Author SHA1 Message Date
Kit Langton 7dede6e4fd feat(server): durable log reads, changes feed, and watermarked snapshots (#34962) 2026-07-02 16:42:30 -04:00
Kit Langton bfaefd8bb3 fix(core): record selected catalog model identity on assistant steps (#34911) 2026-07-02 16:09:33 -04:00
Aiden Cline 6cf7b5d1d9 test(core): avoid shell PATH in command test (#34980) 2026-07-02 12:28:58 -05:00
Aiden Cline 4c7171c820 test(core): make command shell test portable (#34972) 2026-07-02 12:02:34 -05:00
Aiden Cline fe76a9a5de feat(core): port v2 command invocation (#34849) 2026-07-02 11:22:04 -05:00
Kit Langton d00e555afd refactor(core): migrate glob tool to internal plugin (#34946) 2026-07-02 10:39:04 -04:00
Kit Langton 9616214453 refactor(core): mechanism-neutral context entry rendering (#34945) 2026-07-02 10:16:24 -04:00
Kit Langton 4457a878e4 feat(core): API-managed per-session context entries (#34941) 2026-07-02 10:05:47 -04:00
Kit Langton f512e1bc98 refactor(core): simplify system context into a belief model (#34917) 2026-07-02 09:32:35 -04:00
Simon Klee 3e36163298 feat(mini): migrate mini to v2 (#34895)
feat(run): migrate non-interactive prompts to V2
feat(run): route mini prompts through V2
fix(run): use current session contracts
fix(run): fix V2 prompt turns
feat(cli): add mini subcommand
feat(run): use settled execution events
fix(run): handle remote prompt file attachments
feat(run): send prompt files as attachments
feat(run): use current APIs for run state
fix(run): adopt app-node runtime deps
feat(run): track subagent sessions
feat(run): move catalogs and default model onto current APIs
2026-07-02 12:06:49 +02:00
Aiden Cline 7ac6e9dc79 fix(core): derive models.dev reasoning variants (#34726) 2026-07-02 00:23:46 -05:00
Kit Langton 235acd2a83 fix(core): route ChatGPT OAuth to the codex backend (#34843) 2026-07-02 00:15:34 -04:00
Dax Raad fa1d564262 feat(core): discover instructions on directory reads 2026-07-01 21:11:22 -04:00
Dax Raad 0792b91132 fix(core): relativize instruction description to project root 2026-07-01 21:03:46 -04:00
Dax Raad d9493ae60c fix(core): use relative paths in instruction load description 2026-07-01 21:02:47 -04:00
Dax Raad b63ccf0037 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
Dax Raad 84d38e1b6d fix(server): restore provider node deps after dev merge 2026-07-01 18:39:43 -04:00
James Long 5e2b06579a 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 e826c7e3bc feat(core): add skill autoinvoke metadata 2026-07-01 15:13:40 -04:00
Dax Raad 12ab1c5917 fix(core): provide job service in session default layer 2026-07-01 14:38:35 -04:00
Dax Raad 6f72b5c73b feat: update session notices and skill reloads 2026-07-01 14:37:27 -04:00
Dax Raad 95efa59776 feat: background blocking tools 2026-07-01 12:18:04 -04:00
Dax Raad 91d1cb924e fix(core): save external permissions at project root 2026-07-01 11:27:24 -04:00
Dax Raad 498b537ebb 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 86600ac0a0 fix: surface shell stderr output (#34761) 2026-07-01 20:33:48 +05:30
Dax Raad 09cc40e316 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 ce91cc576e fix(core): expose models.dev modes as models (#34714) 2026-06-30 22:48:25 -05:00
Kit Langton c4ed481ceb refactor(plugin): move tool implementation to plugin (#34665) 2026-06-30 23:30:56 -04:00
Dax Raad 60747a70d8 fix(core): deny subagent tool for default subagents 2026-06-30 23:11:06 -04:00
Dax Raad d1c3165946 fix(core): derive reasoning variants from models.dev 2026-06-30 22:50:20 -04:00
Dax Raad 96f7571594 fix(tui): stabilize reload connection state 2026-06-30 22:31:51 -04:00
Dax Raad e04de74fae fix(tui): keep background shell spinner active 2026-06-30 21:56:45 -04:00
Aiden Cline 7b1ec7a1ca feat(cli): add mcp list, add, auth, and logout commands (#34643) 2026-06-30 13:49:07 -05:00
Kit Langton 274223dab3 feat(plugin): support plugin-provided tools (#34619) 2026-06-30 13:18:56 -04:00
opencode-agent[bot] daa801a5ac 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 511f5536ca feat(core): add mcp support (#34513) 2026-06-30 08:37:44 -05:00
Aiden Cline c4f3a9e44d fix(core): align agent tests with universal default permissions (#34561) 2026-06-30 08:24:54 -05:00
Aiden Cline 8effdf2dc1 fix(core): parse models.dev reasoning options (#34618) 2026-06-30 07:54:18 -05:00
Dax Raad 31db828104 feat(core): add native skill activation 2026-06-30 01:16:33 -04:00
opencode-agent[bot] 0d60bce597 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 756c2dcde0 feat(tui): refresh agents after update events 2026-06-30 00:18:26 -04:00
opencode-agent[bot] 3d6404c90f 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 0f2bbcc4d5 refactor(core): replace background job service (#34559) 2026-06-29 23:53:35 -04:00
Aiden Cline eec39a1ea5 fix(core): sanitize registered tool names (#34512) 2026-06-29 18:30:40 -05:00
Kit Langton a5d17b5971 feat(client): expose fs read in promise client (#34504) 2026-06-29 19:21:18 -04:00
Dax Raad fdc92f26b8 fix(core): resume after synthetic session message 2026-06-29 17:32:54 -04:00
Dax Raad 1f4c051cc6 fix(core): provide filesystem to shell tool 2026-06-29 17:27:24 -04:00
Dax Raad f06f5888c4 feat(core): support background shell tool 2026-06-29 17:01:04 -04:00
Dax Raad cf692dd8d7 refactor(core): simplify session fork event 2026-06-29 16:16:13 -04:00
Dax Raad 710cea7f52 feat(core): add durable session fork event 2026-06-29 16:13:51 -04:00