{
  "$schema": "https://opencode.ai/config.json",
  "plugin": [
    "opencode-openai-codex-auth",
    "opencode-antigravity-auth@beta",
    "@mohak34/opencode-notifier@latest"
  ],
  "mcp": {
    "backlog": {
      "type": "local",
      "command": ["backlog", "mcp", "start"],
      "enabled": true
    }
  },
  "provider": {
    "google": {
      "name": "Google",
      "models": {
        "antigravity-gemini-3.1-pro-high": {
          "name": "Gemini 3.1 Pro Preview (Antigravity)",
          "thinking": true,
          "attachment": true,
          "limit": {
            "context": 1048576,
            "output": 65535
          },
          "modalities": {
            "input": ["text", "image", "pdf"],
            "output": ["text"]
          }
        },
        "antigravity-gemini-3-pro-high": {
          "name": "Gemini 3 Pro High (Antigravity)",
          "thinking": true,
          "attachment": true,
          "limit": {
            "context": 1048576,
            "output": 65535
          },
          "modalities": {
            "input": ["text", "image", "pdf"],
            "output": ["text"]
          }
        },
        "antigravity-gemini-3-pro-low": {
          "name": "Gemini 3 Pro Low (Antigravity)",
          "thinking": true,
          "attachment": true,
          "limit": {
            "context": 1048576,
            "output": 65535
          },
          "modalities": {
            "input": ["text", "image", "pdf"],
            "output": ["text"]
          }
        },
        "antigravity-gemini-3-flash": {
          "name": "Gemini 3 Flash (Antigravity)",
          "attachment": true,
          "limit": {
            "context": 1048576,
            "output": 65536
          },
          "modalities": {
            "input": ["text", "image", "pdf"],
            "output": ["text"]
          }
        }
      }
    }
  },
  "share": "manual",
  "formatter": {
    "prettier": {
      "disabled": false
    },
    "ruff": {
      "disabled": false
    },
    "uv": {
      "disabled": false
    }
  },
  "instructions": [
    "AGENTS.md",
    "CONTRIBUTING.md",
    "CLAUDE.md",
    "docs/guidelines.md",
    ".cursor/rules/*.md"
  ],
  "permission": {
    "edit": {
      "*.md": "allow",
      "~/projects/japanese/SubMiner/*": "allow"
    },
    "grep": "allow",
    "glob": "allow",
    "list": "allow",
    "task": "allow",
    "skill": "allow",
    "webfetch": "allow",
    "websearch": "allow",
    "codesearch": "allow",
    "read": {
      "*": "allow",
      "*.env": "deny",
      "*.env.*": "deny",
      "*.env.example": "allow"
    },
    "bash": {
      "*": "ask",
      "git *": "allow",
      "pnpm *": "allow",
      "rm *": "deny",
      "grep*": "allow",
      "wc *": "allow",
      "date *": "allow",
      "printenv AGENT_ID AGENT_ALIAS HEARTBEAT_MINUTES": "allow"
    },
    "external_directory": {
      "*": "ask",
      "~/projects/*": "allow"
    }
  }
}
