@skastr0/groundwork-opencode-plugin
v0.2.1
Published
OpenCode plugin wrapper for Groundwork foundations
Downloads
605
Maintainers
Readme
@skastr0/groundwork-opencode-plugin
OpenCode runtime wrapper for Groundwork.
This package exports the OpenCode plugin entrypoint from dist/server.js and uses @skastr0/groundwork-core for shared policy, provenance, context, risk, and session behavior. The wrapper stays focused on OpenCode runtime integration while the reusable Groundwork foundations live in the core package.
Destructive Bash risk uses session-scoped block-once behavior through the shared core layer: the first exact command is blocked, an exact retry warns and proceeds, and the after-hook logs that the warned command executed.
Build
bun run --cwd packages/opencode-plugin buildThe build emits packages/opencode-plugin/dist/server.js. OpenCode development configs can point at this package after the workspace build has completed.
