{
  "$schema": "https://opencode.ai/config.json",
  "model": "modelka/chat",
  "providers": {
    "modelka": {
      "name": "Моделька Pro",
      "env": [
        "MODELKA_API_KEY"
      ],
      "package": "@opencode/ai/providers/openai-compatible",
      "settings": {
        "baseURL": "https://modelka.pro/v1",
        "apiKey": "{env:MODELKA_API_KEY}"
      },
      "models": {
        "chat": {
          "name": "GPT-4o mini",
          "modelID": "openai/gpt-4o-mini",
          "capabilities": {
            "tools": false,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 16000,
            "output": 1024
          }
        }
      }
    }
  },
  "permissions": [
    {
      "action": "*",
      "resource": "*",
      "effect": "deny"
    }
  ],
  "policies": [
    {
      "action": "provider.use",
      "resource": "*",
      "effect": "deny"
    },
    {
      "action": "provider.use",
      "resource": "modelka",
      "effect": "allow"
    },
    {
      "action": "tool.use",
      "resource": "*",
      "effect": "deny"
    }
  ],
  "agents": {
    "title": {
      "disabled": true
    },
    "summary": {
      "disabled": true
    },
    "build": {
      "steps": 1,
      "permissions": [
        {
          "action": "*",
          "resource": "*",
          "effect": "deny"
        }
      ]
    }
  },
  "share": "disabled",
  "snapshots": false,
  "update": "disable"
}
