{
  "id": "opencode-v2",
  "name": "OpenCode v2",
  "category": "coding-agent",
  "recipe": "opencode-v2-json",
  "protocol": "chat-completions",
  "source": "https://opencode.ai/v2/docs/providers",
  "referenceDate": "2026-09-29",
  "verification": {
    "setup": "prepared",
    "session": "not_run"
  },
  "notes": "Merge providers.jesse into the v2 config; do not mix v1 and v2 configuration schemas.",
  "contractVersion": "1.0.0",
  "endpoint": "https://jesse.my/api/v1/chat/completions",
  "apiRoot": "https://jesse.my/api",
  "model": "jesse",
  "files": [
    {
      "name": "opencode.jsonc",
      "format": "json",
      "content": "{\n  \"$schema\": \"https://opencode.ai/config.json\",\n  \"providers\": {\n    \"jesse\": {\n      \"package\": \"@opencode/ai/providers/openai-compatible\",\n      \"name\": \"Jesse\",\n      \"env\": [\n        \"JESSE_API_KEY\"\n      ],\n      \"settings\": {\n        \"baseURL\": \"https://jesse.my/api/v1\"\n      },\n      \"models\": {\n        \"jesse\": {\n          \"name\": \"Jesse\"\n        }\n      }\n    }\n  }\n}\n"
    },
    {
      "name": "README.md",
      "format": "markdown",
      "content": "# OpenCode v2 with Jesse\n\nMerge providers.jesse into the v2 config; do not mix v1 and v2 configuration schemas.\n\nAPI root: https://jesse.my/api\nOpenAI-compatible base URL: https://jesse.my/api/v1\nEndpoint: https://jesse.my/api/v1/chat/completions\nModel: jesse\nKey environment: JESSE_API_KEY\n\nKeep the key in the app's credential store or launch environment. These files are merge snippets; never overwrite existing providers or settings. GUI apps may not inherit shell environment variables.\n\nClient budgets: context 10000, output 4096. These are conservative defaults, not server capacity claims. Keep general vision, embeddings, audio, provider-hosted web tools and automatic retry of billable turns disabled.\n\nFull Jesse API access: shared/client_sdk.mjs supports 31 operations. The MCP bridge exposes the same operation list where the host supports MCP. Preserve the full Jesse receipt. Tool calls remain proposals and are not executed by the bridge.\n\nVerification: setup prepared; current full application session not_run. Run a chat, a streamed reply, a refused credential, a failing tool result and a file task with its actual tests before qualifying a coding-agent release.\n\nUpstream: https://opencode.ai/v2/docs/providers\n"
    }
  ]
}
