Commit Graph

93 Commits

Author SHA1 Message Date
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
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 95efa59776 feat: background blocking tools 2026-07-01 12:18:04 -04:00
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
Kit Langton c4ed481ceb refactor(plugin): move tool implementation to plugin (#34665) 2026-06-30 23:30:56 -04:00
Kit Langton 274223dab3 feat(plugin): support plugin-provided tools (#34619) 2026-06-30 13:18:56 -04:00
Dax Raad 063f17382c fix: stabilize v2 runtime behavior 2026-06-26 20:56:36 -04:00
Victor Navarro cca3084696 feat(tui): add main branch source to diff mode (#30942) 2026-06-24 10:35:37 +00:00
opencode-agent[bot] b83005fa98 chore: generate 2026-06-23 23:46:36 +00:00
Dax 5e12cf6751 feat(core): add opencode integration (#33555) 2026-06-23 23:45:02 +00:00
Dax Raad 2ccb306175 refactor(plugin): use direct runtime registry 2026-06-22 20:10:29 -04:00
Dax 9371e151f4 feat(plugin): add namespaced hook API (#33416) 2026-06-22 19:06:57 -04:00
Dax f576efbfa8 feat(plugin): add v2 effect host (#33111) 2026-06-21 08:05:49 -04:00
Aiden Cline cf357dc4df feat(core): update Copilot for token-based billing (#30181) 2026-06-01 14:55:23 -05:00
Aiden Cline bd13b39b5c feat(plugin): add dispose hook (#29493) 2026-05-26 21:21:53 -05:00
James Long 58833d5701 fix(tui): default new sessions always to local project (#28541) 2026-05-20 18:35:37 -04:00
Sebastian e7ce2cb2ce use keymap state for layer visibility (#26246) 2026-05-19 17:07:26 +02:00
James Long 71e10d2689 fix(plugin): ask in tools from plugins returns promise instead of effect (#28217) 2026-05-18 18:57:29 +00:00
Aiden Cline d23a7b137d fix(tool): bridge custom tool zod metadata (#27770) 2026-05-15 14:50:21 -05:00
Aiden Cline 7ea63f84fb 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
Sebastian 18c1e45c76 Add TUI notifications and attention sounds (disabled by default) (#26980) 2026-05-13 03:26:25 +02:00
Aiden Cline c314ae25cb fix(plugin): preserve tool attachments (#27157) 2026-05-12 16:23:15 -05:00
Musa d10af17839 feat(plugin): add DigitalOcean OAuth + Inference Routers (#26095) 2026-05-12 16:22:40 -05:00
Dax 970fe5b840 Track session usage totals (#26644) 2026-05-12 01:18:57 -04:00
Sebastian 4197273544 Plugin command API shim (#26564) 2026-05-09 21:56:49 +02:00
Sebastian 4d6a1c6101 flatten to keybind compatible config (#26421) 2026-05-09 01:29:13 +02:00
Sebastian e39b558e44 internal which-key plugin, inactive by default (#26337) 2026-05-08 13:55:49 +02:00
Sebastian 4785e66cc6 introduce opentui keymap as sole key/cmd engine (#26053) 2026-05-07 20:35:31 +02:00
Kit Langton e159608e59 refactor: rename workspace adapters (#25272) 2026-05-01 07:36:52 -04:00
opencode-agent[bot] 239a6481dd chore: generate 2026-04-20 17:43:32 +00:00
James Murdza 4095d1989a fix(plugin): add env parameter to WorkspaceAdaptor.create type (#23235) 2026-04-20 13:41:38 -04:00
Dax bb8e86d1e5 fix: preserve prompt input across unmount/remount cycles (#22508) 2026-04-17 04:23:30 +00:00
Jason Quense 8e8f7a1fba fix: preserve plugin tool metadata in execute result (#22827)
Co-authored-by: jquense <jquense@ramp.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-16 21:38:21 -05:00
Kit Langton 0cbf9e9199 fix: remove 10 unused type-only imports and declarations (#22696) 2026-04-16 02:17:59 +00:00
Kit Langton 1f77795ac6 fix: prefix 32 unused parameters with underscore (#22694) 2026-04-15 21:56:23 -04:00
Aiden Cline e1c846850a feat: add experimental.compaction.autocontinue hook to disable auto continuing after compaction (#22361) 2026-04-13 20:14:53 -05:00
James Long a7569f1fc3 feat(core): expose workspace adaptors to plugins (#21927) 2026-04-13 13:33:13 -04:00
Kit Langton 5c6e657ad9 refactor(plugin): return Effect from ToolContext.ask (#21986) 2026-04-10 23:50:50 -04:00
James Long a37b37d00c rector(core,tui): handle workspace state in project context, add workspace status, improve ui (#21896) 2026-04-10 13:03:20 -04:00
James Long 7625a7e644 refactor(core): support multiple event streams in worker and remove workspaces from plugin api (#21348) 2026-04-07 13:22:34 -04:00
Aiden Cline 3c67cd1d14 tweak: adjust chat.params hook to allow altering of the maxOutputTokens (#21220) 2026-04-06 18:13:30 +00:00
Sebastian b822aab5cd Adds TUI prompt traits, refs, and plugin slots (#20741) 2026-04-02 22:11:17 +02:00
Aiden Cline 2ed135358d feat: add new provider plugin hook for resolving models and sync models from github models endpoint (falls back to models.dev) (#20533) 2026-04-01 23:04:14 +00:00
Sebastian 23214cc7e1 pluggable home footer (#20057) 2026-03-30 14:33:01 +02:00
Sebastian 04f1ad33c6 prompt slot (#19563) 2026-03-29 00:27:27 +01:00
Sebastian df9ae215ac Single target plugin entrypoints (#19467) 2026-03-27 23:44:46 +00:00
Sebastian 35ab6b6d40 tui plugins (#19347) 2026-03-27 15:00:26 +01:00
Aiden Cline c60b0f3722 fix: ensure enterprise url is set properly during auth flow (#19212) 2026-03-25 23:59:53 -05:00
Aiden Cline 5ece9ea6a1 feat: integrate support for multi step auth flows for providers that require additional questions (#18035) 2026-03-18 11:36:19 -05:00
Dax 9ab72a07ed Fix ESM imports for @opencode-ai/plugin (#16916) 2026-03-10 13:11:36 -04:00