{
  "$schema": "https://opencode.ai/config.json",

  "default_agent": "plan",

  "provider": {
    "lmstudio": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "LM Studio (local)",
      "options": {
        "baseURL": "http://127.0.0.1:1234/v1"
      },
      "models": {
        "google/gemma-3-4b": {
          "name": "google/gemma-3-4b"
        },
        "google/gemma-4-26b-a4b": {
          "name": "google/gemma-4-26b-a4b"
        },
        "mistralai/ministral-3-14b-reasoning": {
          "name": "mistralai/ministral-3-14b-reasoning"
        },
        "openai/gpt-oss-20b": {
          "name": "openai/gpt-oss-20b"
        }
      }
    }
  },

  "permission": {
    "bash": "allow",
    "read": "allow",
    "write": "ask",
    "edit": "ask",
    "glob": "allow",
    "grep": "allow",
    "list": "allow",
    "webfetch": "allow",
    "websearch": "allow",
    "question": "allow",
    "todoread": "allow",
    "todowrite": "allow",
    "skill": "allow",
    "patch": "allow",
    "lsp": "allow"
  },

  "experimental": {
    "lsp": true
  }
}
