Commit graph

60 commits

Author SHA1 Message Date
Aiden Cline
7bec1e6b35
refactor(server): remove plugin readiness from plugin.list (#64524) 2026-11-17 21:31:07 +00:00
Aiden Cline
133f24a4d3
feat(server): report plugin readiness on plugin.list (#64029) 2026-11-17 14:12:51 -06:00
Filip
ec263d62b6
fix(core): keep plugin swaps going when a cleanup fails (#63548)
Co-authored-by: Filip Hejmowski <fhejmowski@simplito.com>
2026-11-12 16:15:41 +01:00
Aiden Cline
d4a5fb4d2a
refactor(core): tidy plugin host and config reload wiring (#61176) 2026-11-01 21:20:13 -06:00
Aiden Cline
94f3386a90
fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
Luke Parker
dae4077a96
feat(plugin): add OpenCode Desktop GUI plugins (#55246) 2026-10-27 10:54:50 +10:00
Luke Parker
01cd723db9
fix(core): publish catalog updates only when they change (#59084)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
2026-10-25 22:58:29 +00:00
Aiden Cline
2e5a4deea8
refactor(core): tighten pty, plugin, question, and snapshot types and checks (#57889) 2026-10-21 15:47:37 -05:00
Dax
a5312e169b
refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
Kit Langton
f40ecefdef
feat(core): disable plugins after transform failures (#47083)
Disable failed registration groups, rebuild healthy state, and report plugin failures with safe diagnostic references. Keep cleanup outside activation locks and preserve disabled revisions across unrelated reloads. Cover deferred hook and RPC cleanup with real-service regression tests.
2026-09-03 16:38:11 +00:00
Kit Langton
f269025416
fix(core): keep plugin activation stable across failures and refreshes (#46899) 2026-09-02 18:56:23 -04:00
Dax
57c02cd04b
fix(tui): refresh plugin dialog after updates (#46911) 2026-09-02 17:59:18 -04:00
Kit Langton
e0c0d5691d
fix(core): wait for plugin activation before session entry points (#46878) 2026-09-02 15:58:03 -04:00
Dax
36095decd7
fix(core): preserve unchanged plugin prefix (#46857) 2026-09-02 12:50:14 -04:00
Kit Langton
429387d158
fix(core): rebuild registry state on read (#46825) 2026-09-02 11:33:53 -04:00
Dax
e76e90b71e
refactor(core): decouple plugins from config loading (#46639) 2026-09-01 20:37:42 -04:00
Dax Raad
5d73a5789f feat(plugin): support live package updates 2026-08-31 23:35:21 -04:00
Dax
6a2c3e91c7
feat(plugin): add typed rpc and custom events (#46105) 2026-08-30 21:28:19 -04:00
Kit Langton
e7918e25fd
refactor(core): remove ineffective typed recovery (#45631) 2026-08-28 13:16:13 -04:00
Kit Langton
09b0edd662
refactor(core): compare plugin generations directly (#45728) 2026-08-27 22:31:42 -04:00
Kit Langton
1455995ac7
refactor(core): use word casing for MCP namespaces (#45618) 2026-08-27 16:11:50 -04:00
Dax Raad
cbef698861 fix(core): suppress state updates during location teardown 2026-08-26 10:48:44 -04:00
opencode-agent[bot]
0fd719067d
feat(plugin): add permission review hooks (#45003)
Co-authored-by: R44VC0RP <R44VC0RP@users.noreply.github.com>
Co-authored-by: nexxeln <nexxeln@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com>
2026-08-25 16:57:17 +00:00
Shoubhit Dash
9c1787617c
feat(plugin): add vcs provider api (#44979) 2026-08-25 19:37:06 +05:30
Kit Langton
b58f29a4ef
refactor(core): simplify plugin and config boundaries (#43930) 2026-08-21 17:48:17 +00:00
Dax
98a9d864e6
feat(plugin): add durable storage API (#43525) 2026-08-19 21:51:58 +00:00
Dax
b0c3a16ead
feat(plugin): expose server plugin status 2026-08-18 14:22:32 -04:00
Aiden Cline
006a0a4b34
feat(plugin): expose MCP server transforms (#43125) 2026-08-17 20:17:48 -05:00
Dax Raad
4acdeffbe9 refactor(core): require explicit import extensions 2026-08-11 20:22:50 -04:00
James Long
eeb870b0cc
feat(sdk): configure embedded logging (#41809) 2026-08-11 14:03:55 -04:00
Dax Raad
8db7487c89 refactor(core): consolidate tool architecture 2026-07-26 20:16:58 -04:00
Shoubhit Dash
efb629a33a
feat(core): add pluggable web search (#35558)
Co-authored-by: Dax Raad <d@ironbay.co>
2026-07-26 03:55:05 +00:00
Dax
8de40be6ea
feat(plugin): expose app metadata (#38179) 2026-07-21 22:16:25 +00:00
Dax
e0810753f2
refactor: extract shared util package (#37828) 2026-07-21 10:34:29 -04:00
Dax Raad
a4a948316b fix(core): skip unchanged plugin activation 2026-07-10 20:49:16 -04:00
Dax Raad
8fe78c8f8d fix(core): restore plugins after failed activation 2026-07-09 16:28:22 -04:00
Dax
4f976bcf1a
feat(plugin): add session request hook (#35794) 2026-07-07 19:56:47 -04:00
Dax Raad
33cb536879 feat(plugin): publish generation updates 2026-07-05 17:21:39 -04:00
Dax Raad
6ffecf9345 fix(core): reload local plugins on file changes 2026-07-05 16:54:17 -04:00
Dax Raad
a9b7bd9e2f feat(core): manage configurable plugin generations 2026-07-05 15:59:44 -04:00
Kit Langton
1401901529
chore: effect pattern lint infrastructure (#35210) 2026-07-03 13:58:26 -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
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
Kit Langton
194b0615e0
feat(plugin): support plugin-provided tools (#34619) 2026-06-30 13:18:56 -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
Kit Langton
7854f5b9f7
refactor(schema): normalize module patterns (#33770) 2026-06-25 15:42:22 +00:00
Kit Langton
24b0132bc5
refactor(schema): extract public event definitions (#33579) 2026-06-24 16:43:17 -04:00
Dax Raad
4a710e4679 fix(core): await plugin readiness 2026-06-22 22:49:57 -04:00
Dax Raad
975b1132f1 refactor(plugin): use direct runtime registry 2026-06-22 20:10:29 -04:00