Skip to main content

Module opencode

Module opencode 

Source
Expand description

OpenCode adapter (CONTEXT.md §16, plan.md Phase 3).

Drives opencode run --format json, honoring the provider config the user set up in OpenCode. Parses the JSON result defensively (usage, errors, session id), streams NDJSON progress when present, and best-effort MCP via env-pointed config (mcp_util).

Functions§

worker