{
  "id": "macp",
  "name": "MACP Runtime",
  "description": "Registers the macp ACP runtime backend and routes turns through the MACP controller queue.",
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "defaultModel": {
        "type": "string",
        "description": "Default Pi model in provider/model format. Retained for Pi bridge compatibility. Defaults to openai/gpt-5-mini."
      },
      "systemPrompt": {
        "type": "string",
        "description": "Optional system prompt retained for Pi bridge compatibility."
      },
      "timeoutMs": {
        "type": "number",
        "minimum": 1,
        "description": "Maximum turn runtime in milliseconds. Defaults to 300000."
      },
      "logDir": {
        "type": "string",
        "description": "Directory for plugin state/log files. Defaults to the plugin state dir."
      },
      "repoRoot": {
        "type": "string",
        "description": "Repository root containing .mosaic/orchestrator. Defaults to ~/src/mosaic-stack-new."
      },
      "orchDir": {
        "type": "string",
        "description": "Override for the orchestrator directory. Defaults to <repoRoot>/.mosaic/orchestrator."
      },
      "defaultDispatch": {
        "type": "string",
        "description": "Dispatch type written into queued MACP tasks. Defaults to yolo."
      },
      "defaultRuntime": {
        "type": "string",
        "description": "Fallback runtime when agentId is unavailable. Defaults to codex."
      }
    }
  }
}
