OpenCode packet

Use Prompt Switchboard with OpenCode through a public packet without overclaiming a published plugin.

OpenCode already ships an official plugin surface and project-root config model. Prompt Switchboard now adds a public-bundle-ready OpenCode packet in this repo: MCP config, a smoke loop, and a plugin scaffold you can publish later without pretending it is already live.

Current truth

Support class

  • Public-bundle-ready packet and generic MCP path today, not a verified repo-owned host lane yet
  • Official surface verified: project config plus npm or local plugins
  • Current repo claim: public packet shipped, published plugin listing not yet live

Public packet contents

  • Project-root opencode.jsonc example
  • Publish-ready plugin package scaffold
  • Compare-first smoke loop and follow-through map
  • Truthful install and publication notes

Placement and config

Save the MCP example as a project-root opencode.jsonc in your Prompt Switchboard clone. If you later publish the plugin package, add it to the OpenCode plugin array using the official npm plugin flow.

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["prompt-switchboard-opencode-plugin"],
  "mcp": {
    "prompt_switchboard": {
      "type": "local",
      "command": [
        "npm",
        "--prefix",
        "/absolute/path/to/multi-ai-sidepanel",
        "run",
        "mcp:server"
      ],
      "enabled": true
    }
  }
}

Smallest useful smoke

  1. prompt_switchboard.bridge_status
  2. prompt_switchboard.check_readiness
  3. prompt_switchboard.compare

If you install the plugin scaffold locally, use the bundled helper tool to print the same bootstrap and smoke steps from inside OpenCode.

Public distribution truth

Owner-run publish packet

  1. Run npm run release:host-kits and verify the OpenCode packet archive under dist/public-bundles/.
  2. Choose the owner-controlled npm package name and namespace for the OpenCode plugin package.
  3. Publish mcp/integration-kits/public-bundles/opencode-plugin/ to npm.
  4. Install it through the official OpenCode plugin flow and verify one compare-first smoke path.
  5. Only after the package URL and install proof exist should you update public docs to claim Prompt Switchboard is publicly published for OpenCode.