DocsSettings Reference

Settings Reference

Configure GRID via Settings → Preferences or edit settings.json directly.

Secret Detection

Automatically detect and redact secrets before sending to AI providers.

SettingTypeDefaultDescription
grid.secretDetection.enabledbooleantrueEnable secret detection and redaction
grid.secretDetection.modeenum"redact"block or redact
grid.secretDetection.disabledPatternIdsarray[]Disable specific detection patterns
grid.secretDetection.customPatternsarray[]Add custom regex patterns

Available Pattern IDs: openai-key, anthropic-key, generic-api-key, jwt-token, bearer-token, aws-access-key, aws-secret-key, github-token, gitlab-token, google-api-key, stripe-key, password-pattern, private-key, generic-token

Safety & Rollback

SettingTypeDefaultDescription
grid.safety.rollback.enablebooleanfalseEnable file snapshots before AI changes
grid.safety.rollback.maxSnapshotBytesnumber5000000Max bytes per snapshot (5MB default)

Global Settings

SettingTypeDefaultDescription
grid.global.localFirstAIbooleanfalsePrefer local models (Ollama) over cloud

Vector Store (Advanced)

Optional vector database for enhanced codebase search.

SettingTypeDefaultDescription
grid.rag.vectorStoreenum"none"none, qdrant, or chroma
grid.rag.vectorStoreUrlstringURL to vector store endpoint

Example settings.json

{
  "grid.global.localFirstAI": true,
  "grid.secretDetection.enabled": true,
  "grid.secretDetection.mode": "redact",
  "grid.safety.rollback.enable": true,
  "grid.browserSubagent.preferredProvider": "tavily",
  "grid.browserSubagent.tavilyApiKey": "tvly-..."
}