{
  "$schema": "https://opencode.ai/config.json",
  "model": "glm/glm-5.3",
  "small_model": "glm/glm-5.3",
  "autoupdate": false,
  "share": "disabled",
  "provider": {
    "glm": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "GLM",
      "options": {
        "baseURL": "https://api.z.ai/api/paas/v4",
        "apiKey": "{env:ZAI_API_KEY}",
        "timeout": 600000
      },
      "models": {
        "glm-5.3": {
          "name": "GLM 5.3",
          "tool_call": true,
          "limit": {
            "context": 200000,
            "output": 32000
          },
          "cost": {
            "input": 1.4,
            "output": 4.4,
            "cache_read": 0.26
          },
          "options": {
            "reasoningEffort": "low"
          }
        }
      }
    }
  },
  "mcp": {
    "holarch": {
      "type": "remote",
      "url": "https://app.holarch.app/mcp",
      "headers": {
        "Authorization": "Bearer {env:HOLARCH_TOKEN}"
      }
    }
  },
  "permission": {
    "bash": "deny",
    "webfetch": "deny",
    "websearch": "deny",
    "codesearch": "deny",
    "external_directory": "deny",
    "read": "allow",
    "edit": {
      "*": "deny",
      "plan/*": "allow",
      "plan/**": "allow"
    }
  }
}
