Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.23 KB

File metadata and controls

38 lines (28 loc) · 1.23 KB

OpenCode Plugins

Plugins for OpenCode V2.

The workflows plugin is loaded from the user's global OpenCode configuration. The project config does not auto-load a second copy from source.

Plugins

Opt-in typed workflow graphs that run as Effects on the OpenCode server. Agent steps are sessions, decisions use Jev Choice with an uncalibrated generate.text fallback, checkpoints are Deferreds, cancel interrupts the fiber and child session, and the live graph and per-step details live in a session panel.

{
  "plugins": ["@phall1/opencode-workflows"]
}

Bundled: ping, echo, wire, autoplan, autodoc, autoimplement, sanity-check, monitor, ship, harden. Ordinary requests do not auto-start workflows; ask for one explicitly or use /workflow.

/workflow
/workflow autoplan plan a timeout fallback for this plugin
/workflow-graph

Local development

For local plugin development, temporarily disable the global pinned workflows entry and add ./packages/workflows to this project's opencode.jsonc. Local plugins need server.ts / tui.tsx at the package root (same layout as beads). The CLI picks ./tui up automatically.