opencode/packages/plugin
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
..
script release: avoid package.json drift during publish 2026-04-18 12:32:23 -04:00
src feat(core): tool execute hooks, session instructions, synthetic endpoint 2026-07-01 20:50:10 -04:00
.gitignore wip: plugins 2025-08-02 18:50:19 -04:00
package.json chore: merge dev into v2 (#34788) 2026-07-01 17:12:00 -04:00
sst-env.d.ts zen: update sst version 2026-02-18 13:54:23 -05:00
tsconfig.json refactor(plugin): move tool implementation to plugin (#34665) 2026-06-30 23:30:56 -04:00