Skip to content

This page summarizes the generated settings schema (schemas/settings.schema.json, title M31A Settings). The authoritative schema is generated from packages/cli/src/config/settingsSchema.ts with npm run schema:settings.

How to read this reference ​

Settings are grouped into 26 top-level keys. A value shown as default is the schema default when omitted. Keys marked "restart" in the schema only take effect after restarting M31A. For how scopes merge, see Configuration.

General ​

KeyDefaultPurpose
preferredEditorunsetEditor identifier (vscode, cursor, zed, vim, and others).
openEditorInNewWindowfalseOpen VS Code-family editors in a new window.
vimModefalseVim input mode.
defaultApprovalModedefaultdefault, auto_edit, or plan.
devtoolsfalseLaunch the DevTools inspector.
enableAutoUpdatetrueAutomatic updates.
enableAutoUpdateNotificationtrueUpdate notification prompts.
enableNotificationsfalseTerminal notifications for prompts and completion.
notificationMethodautoNotification delivery method.
checkpointing.enabledfalseSession checkpointing.
plan.enabledtruePlan Mode.
plan.directoryunsetDirectory for plan artifacts.
plan.modelRoutingtrueRoute between model tiers in Plan Mode.
retryFetchErrorstrueRetry transient fetch failures.
maxAttempts10Maximum main-model attempts (capped at 10).
debugKeystrokeLoggingfalseLog keystrokes for debugging.
sessionRetention.enabledtrueAutomatic session cleanup.
sessionRetention.maxAge30dAge-based retention.
sessionRetention.maxCountunsetCount-based retention.
sessionRetention.minRetention1dMinimum retention floor.
topicUpdateNarrationtrueTopic and update progress narration.
logRagSnippetsfalseLog retrieved context snippets.

Output ​

KeyDefaultPurpose
formattexttext or json.

UI ​

Selected keys (the full object contains 35 entries):

KeyDefaultPurpose
themeunsetBuilt-in or custom theme name.
autoThemeSwitchingtrueFollow terminal background color.
terminalBackgroundPollingInterval60Poll interval in seconds.
customThemes{}Custom theme definitions.
hideWindowTitlefalseHide window title.
inlineThinkingModeoffInline thinking display.
dynamicWindowTitletrueStatus icons in window title.
showHomeDirectoryWarningtrueWarn when running in the home directory.
showCompatibilityWarningstrueTerminal compatibility warnings.
hideTipsfalseHide tips.
escapePastedAtSymbolsfalseEscape pasted @ symbols.
showShortcutsHinttrueShow shortcut hint.
compactToolOutputtrueStructured compact tool output.
hideBannerfalseHide banner.
hideContextSummaryfalseHide context summary above input.
sidebar.itemsunsetOrdered sidebar item IDs.
sidebar.showLabelstrueShow sidebar labels.
sidebar.hideCWDfalseHide working directory.
sidebar.hideSandboxStatusfalseHide sandbox indicator.
sidebar.hideModelInfofalseHide model info.
sidebar.hideContextPercentagetrueHide context percentage.
hideSidebarfalseHide sidebar.
collapseDrawerDuringApprovaltrueCollapse drawer during approval.
showMemoryUsagefalseShow memory usage.
showLineNumberstrueLine numbers in chat.
showCitationsfalseShow citations.
showModelInfoInChatfalseShow model name per turn.
showUserIdentitytrueShow signed-in identity.
useAlternateBuffertrueAlternate screen buffer.
renderProcesstrueInk render process.
terminalBufferfalseNew terminal buffer architecture.
useBackgroundColortrueBackground colors.
incrementalRenderingtrueReduce flicker.
showSpinnertrueWorking spinner.
loadingPhrasesofftips, witty, all, or off.
errorVerbositylowlow or full.
customWittyPhrases[]Custom loading phrases.
accessibility.screenReaderfalsePlain-text rendering.
debugRainbowfalseRender debugging.

IDE and privacy ​

KeyDefaultPurpose
ide.enabledfalseIDE integration mode.
ide.hasSeenNudgefalseNudge tracking.
privacy.usageStatisticsEnabledtrueUsage statistics.
telemetryunsetTelemetry configuration.

Model ​

KeyDefaultPurpose
nameunsetNVIDIA NIM model slug.
thinkingEffortdefaultReasoning budget.
contextWindowunsetToken limit override.
requestTimeoutMsunsetRequest start timeout.
maxSessionTurns-1Turn limit; -1 is unlimited.
summarizeToolOutputunsetPer-tool summarization budgets.
compressionThreshold0.5Compression trigger fraction.
disableLoopDetectionfalseDisable loop detection.
skipNextSpeakerChecktrueSkip next-speaker check.

modelConfigs contains aliases, customAliases, overrides, customOverrides, modelDefinitions, modelIdResolutions, classifierIdResolutions, and modelChains. These define model metadata, aliases, and availability fallback chains.

Context ​

KeyDefaultPurpose
fileNameunsetContext file name or array of names.
importFormatunsetMemory import format.
includeDirectoryTreetrueInclude directory tree in initial request.
discoveryMaxDirs200Discovery search limit.
memoryBoundaryMarkers.gitDiscovery boundaries.
includeDirectories[]Extra workspace directories.
loadMemoryFromIncludeDirectoriesfalseScan extras on reload.
fileFiltering.respectGitIgnoretrueHonor .gitignore.
fileFiltering.respectM31aIgnoretrueHonor .m31aignore.
fileFiltering.enableRecursiveFileSearchtrueRecursive @ search.
fileFiltering.enableFuzzySearchtrueFuzzy file search.
fileFiltering.customIgnoreFilePaths[]Additional ignore files.

Tools ​

KeyDefaultPurpose
sandboxunsetLegacy process sandbox.
sandboxAllowedPaths[]Extra sandbox paths.
sandboxNetworkAccessfalseSandbox network access.
shell.enableInteractiveShelltruenode-pty shell.
shell.backgroundCompletionBehaviorsilentBackground shell completion notice.
shell.pagercatShell output pager.
shell.showColortrueColor in shell output.
shell.inactivityTimeout300Seconds without output before timeout.
shell.enableShellOutputEfficiencytrueShell output optimizations.
coreunsetBuilt-in tool allowlist.
allowedunsetTools that skip confirmation.
confirmationRequiredunsetTools that always prompt.
excludeunsetTools hidden from discovery.
discoveryCommandunsetCustom tool discovery command.
callCommandunsetCustom tool invocation command.
useRipgreptrueUse ripgrep for search.
truncateToolOutputThreshold40000Output truncation threshold.
disableLLMCorrectiontrueDisable LLM edit correction.

MCP ​

KeyDefaultPurpose
serverCommandunsetDefault server launch command.
allowedunsetAllowed server names.
excludedunsetExcluded server names.

mcpServers holds named server definitions (command, args, URL, timeout).

Security ​

KeyDefaultPurpose
toolSandboxingfalsePer-tool sandboxing.
disableYoloModefalseBlock YOLO mode.
disableAlwaysAllowfalseHide "always allow" choices.
enablePermanentToolApprovalfalseAllow permanent approvals.
autoAddToPolicyByDefaultfalseDefault to adding a policy rule.
blockGitExtensionsfalseBlock Git-based extensions.
allowedExtensions[]Extension source regex allowlist.
folderTrust.enabledtrueWorkspace trust.
environmentVariableRedaction.enabledfalseRedact secret-like env vars.
environmentVariableRedaction.allowed[]Never redact these.
environmentVariableRedaction.blocked[]Always redact these.
authunsetAuthentication type settings.
enableConsecafalseExperimental security checker.

Advanced ​

KeyDefaultPurpose
autoConfigureMemorytrueConfigure Node memory limits.
dnsResolutionOrderunsetDNS order.
excludedEnvVarsDEBUG, DEBUG_MODEVariables excluded from context.
ignoreLocalEnvfalseIgnore project .env files.
bugCommandunsetBug report command settings.

Experimental ​

Selected keys:

KeyDefaultPurpose
worktreesfalseGit worktree support.
enableAgentstrueSubagents.
voiceModefalseVoice dictation.
extensionManagementtrueExtension management.
extensionConfigtrueExtension settings requests.
extensionRegistryfalseRegistry explore UI.
extensionRegistryURIhttps://geminicli.com/extensions.jsonRegistry URI.
extensionReloadingfalseHot reload extensions.
useOSC52Paste / useOSC52CopyfalseOSC 52 clipboard.
taskTrackerfalseTask tracker tools.
modelSteeringfalseModel steering hints.
directWebFetchfalseBypass LLM web summarization.
dynamicModelConfigurationfalseDynamic model definitions.
stressTestProfilefalseForce early compaction.
autoMemoryfalseAuto-extract memory and skills.
generalistProfile / powerUserProfilefalseContext profiles.
contextManagementfalseContext management logic.

Extensions, skills, hooks, and admin ​

KeyDefaultPurpose
extensions.disabled[]Disabled extensions.
skills.enabledtrueAgent Skills.
skills.disabled[]Disabled skills.
hooksConfig.enabledtrueHooks system.
hooksConfig.disabled[]Disabled hook names.
hooksConfig.notificationsunsetHook execution indicators.
hooks.BeforeTool and other events[]Per-event hook definitions.
admin.secureModeEnabledfalseBlock YOLO and always-allow.
admin.extensions / admin.mcp / admin.skillsunsetAdmin restrictions.

Context management ​

KeyDefaultPurpose
historyWindow.maxTokens150000Compression threshold.
historyWindow.retainedTokens40000Tokens always retained.
messageLimits.normalMaxTokens2500Per-turn token budget.
messageLimits.retainedMaxTokens12000Per-message cap.
messageLimits.normalizationHeadRatio0.25Head ratio on truncation.
tools.distillation / tools.outputMasking{}Tool context controls.

Other top-level keys ​

  • mcpServers — named MCP server definitions.
  • policyPaths / adminPolicyPaths — additional policy sources.
  • agents — overrides and browser settings for subagents.
  • useWriteTodos — enable the write_todos tool.
  • $schema — editor schema URL.

Next steps ​

See Configuration for file locations and merge behavior.

Built with VitePress. Powered by NVIDIA NIM.