Last active
August 1, 2025 19:00
-
-
Save forivall/d5dc89e94f1915cc8dcd7c4ad0598ca9 to your computer and use it in GitHub Desktop.
generated with `cd gemini-cli/packages/cli/src/config && npx ts-json-schema-generator --path 'settings.ts' --type Settings`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$ref": "#/definitions/Settings", | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "definitions": { | |
| "AccessibilitySettings": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "disableLoadingPhrases": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "AuthProviderType": { | |
| "enum": [ | |
| "dynamic_discovery", | |
| "google_credentials" | |
| ], | |
| "type": "string" | |
| }, | |
| "AuthType": { | |
| "enum": [ | |
| "oauth-personal", | |
| "gemini-api-key", | |
| "vertex-ai", | |
| "cloud-shell" | |
| ], | |
| "type": "string" | |
| }, | |
| "BugCommandSettings": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "urlTemplate": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "urlTemplate" | |
| ], | |
| "type": "object" | |
| }, | |
| "CheckpointingSettings": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "enabled": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "CustomTheme": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "AccentBlue": { | |
| "type": "string" | |
| }, | |
| "AccentCyan": { | |
| "type": "string" | |
| }, | |
| "AccentGreen": { | |
| "type": "string" | |
| }, | |
| "AccentPurple": { | |
| "type": "string" | |
| }, | |
| "AccentRed": { | |
| "type": "string" | |
| }, | |
| "AccentYellow": { | |
| "type": "string" | |
| }, | |
| "Background": { | |
| "type": "string" | |
| }, | |
| "Comment": { | |
| "type": "string" | |
| }, | |
| "DiffAdded": { | |
| "type": "string" | |
| }, | |
| "DiffRemoved": { | |
| "type": "string" | |
| }, | |
| "Foreground": { | |
| "type": "string" | |
| }, | |
| "GradientColors": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "Gray": { | |
| "type": "string" | |
| }, | |
| "LightBlue": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "type": { | |
| "const": "custom", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "AccentBlue", | |
| "AccentCyan", | |
| "AccentGreen", | |
| "AccentPurple", | |
| "AccentRed", | |
| "AccentYellow", | |
| "Background", | |
| "Comment", | |
| "DiffAdded", | |
| "DiffRemoved", | |
| "Foreground", | |
| "Gray", | |
| "LightBlue", | |
| "name", | |
| "type" | |
| ], | |
| "type": "object" | |
| }, | |
| "MCPOAuthConfig": { | |
| "additionalProperties": false, | |
| "description": "OAuth configuration for an MCP server.", | |
| "properties": { | |
| "authorizationUrl": { | |
| "type": "string" | |
| }, | |
| "clientId": { | |
| "type": "string" | |
| }, | |
| "clientSecret": { | |
| "type": "string" | |
| }, | |
| "enabled": { | |
| "type": "boolean" | |
| }, | |
| "redirectUri": { | |
| "type": "string" | |
| }, | |
| "scopes": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "tokenParamName": { | |
| "type": "string" | |
| }, | |
| "tokenUrl": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "MCPServerConfig": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "args": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "authProviderType": { | |
| "$ref": "#/definitions/AuthProviderType" | |
| }, | |
| "command": { | |
| "type": "string" | |
| }, | |
| "cwd": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "env": { | |
| "additionalProperties": { | |
| "type": "string" | |
| }, | |
| "type": "object" | |
| }, | |
| "excludeTools": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "extensionName": { | |
| "type": "string" | |
| }, | |
| "headers": { | |
| "additionalProperties": { | |
| "type": "string" | |
| }, | |
| "type": "object" | |
| }, | |
| "httpUrl": { | |
| "type": "string" | |
| }, | |
| "includeTools": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "oauth": { | |
| "$ref": "#/definitions/MCPOAuthConfig" | |
| }, | |
| "tcp": { | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "type": "number" | |
| }, | |
| "trust": { | |
| "type": "boolean" | |
| }, | |
| "url": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "Settings": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "accessibility": { | |
| "$ref": "#/definitions/AccessibilitySettings" | |
| }, | |
| "allowMCPServers": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "autoConfigureMaxOldSpaceSize": { | |
| "type": "boolean" | |
| }, | |
| "bugCommand": { | |
| "$ref": "#/definitions/BugCommandSettings" | |
| }, | |
| "checkpointing": { | |
| "$ref": "#/definitions/CheckpointingSettings" | |
| }, | |
| "contextFileName": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| } | |
| ] | |
| }, | |
| "coreTools": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "customThemes": { | |
| "additionalProperties": { | |
| "$ref": "#/definitions/CustomTheme" | |
| }, | |
| "type": "object" | |
| }, | |
| "disableAutoUpdate": { | |
| "type": "boolean" | |
| }, | |
| "excludeMCPServers": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "excludeTools": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "fileFiltering": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "enableRecursiveFileSearch": { | |
| "type": "boolean" | |
| }, | |
| "respectGeminiIgnore": { | |
| "type": "boolean" | |
| }, | |
| "respectGitIgnore": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "hideBanner": { | |
| "type": "boolean" | |
| }, | |
| "hideTips": { | |
| "type": "boolean" | |
| }, | |
| "hideWindowTitle": { | |
| "type": "boolean" | |
| }, | |
| "ideMode": { | |
| "type": "boolean" | |
| }, | |
| "ideModeFeature": { | |
| "type": "boolean" | |
| }, | |
| "maxSessionTurns": { | |
| "type": "number" | |
| }, | |
| "mcpServerCommand": { | |
| "type": "string" | |
| }, | |
| "mcpServers": { | |
| "additionalProperties": { | |
| "$ref": "#/definitions/MCPServerConfig" | |
| }, | |
| "type": "object" | |
| }, | |
| "memoryDiscoveryMaxDirs": { | |
| "type": "number" | |
| }, | |
| "memoryImportFormat": { | |
| "enum": [ | |
| "tree", | |
| "flat" | |
| ], | |
| "type": "string" | |
| }, | |
| "preferredEditor": { | |
| "type": "string" | |
| }, | |
| "sandbox": { | |
| "type": [ | |
| "boolean", | |
| "string" | |
| ] | |
| }, | |
| "selectedAuthType": { | |
| "$ref": "#/definitions/AuthType" | |
| }, | |
| "showMemoryUsage": { | |
| "type": "boolean" | |
| }, | |
| "summarizeToolOutput": { | |
| "additionalProperties": { | |
| "$ref": "#/definitions/SummarizeToolOutputSettings" | |
| }, | |
| "type": "object" | |
| }, | |
| "telemetry": { | |
| "$ref": "#/definitions/TelemetrySettings" | |
| }, | |
| "theme": { | |
| "type": "string" | |
| }, | |
| "toolCallCommand": { | |
| "type": "string" | |
| }, | |
| "toolDiscoveryCommand": { | |
| "type": "string" | |
| }, | |
| "usageStatisticsEnabled": { | |
| "type": "boolean" | |
| }, | |
| "vimMode": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "SummarizeToolOutputSettings": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "tokenBudget": { | |
| "type": "number" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "TelemetrySettings": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "enabled": { | |
| "type": "boolean" | |
| }, | |
| "logPrompts": { | |
| "type": "boolean" | |
| }, | |
| "otlpEndpoint": { | |
| "type": "string" | |
| }, | |
| "outfile": { | |
| "type": "string" | |
| }, | |
| "target": { | |
| "$ref": "#/definitions/TelemetryTarget" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "TelemetryTarget": { | |
| "enum": [ | |
| "gcp", | |
| "local" | |
| ], | |
| "type": "string" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment