{
  "defaultBackend": "auto",
  "compact": false,
  "showStatus": true,
  "numResults": 10,

  "read": {
    "defaultMode": "auto",
    "defaultFormat": "markdown",
    "defaultReturn": "excerpts",
    "onlyMainContent": true,
    "removeImages": false,
    "maxChars": 0,
    "excerptMaxChars": 6000,
    "timeoutSeconds": 30,
    "headless": true
  },

  "context7": {
    "enabled": true,
    "apiKeyEnv": "CONTEXT7_API_KEY",
    "fast": false
  },

  "cowork": {
    "userDataDir": "~/.cloakbrowser/cowork-profile",
    "downloadDir": "~/Downloads",
    "herdr": {
      "enabled": false,
      "direction": "right",
      "focusOnOpen": true,
      "browserZoom": 0.75,
      "showDiagnostics": false,
      "captureScale": 1,
      "screencastEveryNthFrame": 1,
      "fallbackToWindow": true,
      "cdpPort": 0
    }
  },

  "backends": {
    "brave":  { "enabled": false, "apiKeyEnv": "BRAVE_API_KEY" },
    "serper": { "enabled": false, "apiKeyEnv": "SERPER_API_KEY" },
    "tavily": { "enabled": false, "apiKeyEnv": "TAVILY_API_KEY" },
    "exa":    { "enabled": false, "apiKeyEnv": "EXA_API_KEY" },
    "linkup": { "enabled": false, "apiKeyEnv": "LINKUP_API_KEY", "depth": "standard" }
  }
}
