Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"askUserQuestionTimeout": "30s",
"autoUpdatesChannel": "beta",
"browserExternalPageTools": "enabled",
"crossSessionInbound": "maybe",
"defaultShell": "zsh",
"diffTool": "ide",
"disableAutoMode": "enabled",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"autoContinueAtUsageLimit": "yes",
"cleanupPeriodDays": "thirty",
"enableAllProjectMcpServers": 1,
"enableWorkflows": "on",
"fastMode": "yes",
"hooks": {
"PreToolUse": [
Expand All @@ -21,6 +23,7 @@
"allow": "should be array",
"ask": "should be array"
},
"promptSuggestionEnabled": 1,
"sandbox": {
"network": {
"allowAllUnixSockets": "yes",
Expand All @@ -33,5 +36,6 @@
"hostPattern": 123,
"source": "hostPattern"
}
]
],
"switchModelsOnFlag": "true"
}
24 changes: 24 additions & 0 deletions src/schemas/json/claude-code-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4254,6 +4254,30 @@
"requireCoworkFullVmSandbox": {
"type": "boolean",
"description": "(Managed settings only) Run Claude's tools inside an isolated virtual machine instead of on your Mac. Disables the desktop app's iOS Simulator pane and Claude's simulator tools entirely, so the pane cannot attach a device while it is set. See https://code.claude.com/docs/en/desktop-ios-simulator#turn-off-simulator-access"
},
"autoContinueAtUsageLimit": {
"type": "boolean",
"description": "After a claude.ai usage limit stops your session, wait in the open session and continue the task automatically once the limit resets (default: true). When false, Claude Code does not start the wait on its own and you start one from the usage-limit options menu. Read from user settings, the --settings flag, and managed settings only; when none of those sets it, a project or local settings file that sets it turns the feature off rather than being ignored. Appears in /config as Continue automatically at usage limit. Requires Claude Code v2.1.234 or later. See https://code.claude.com/docs/en/interactive-mode#wait-for-a-usage-limit-to-reset",
"default": true
},
"crossSessionInbound": {
"type": "string",
"description": "What this session does with messages arriving from your other Claude Code sessions: \"accept\" delivers the message to Claude, \"hold\" shows a notice without delivering it, and \"refuse\" drops it. Unset lets Claude Code decide per message from the two sessions' permission-mode classes. A project or local value applies only when it is stricter than the value managed settings, the --settings flag, or user settings give. Appears in /config as Messages from your other sessions. Requires Claude Code v2.1.224 or later. See https://code.claude.com/docs/en/cross-session-messaging#control-inbound-messages",
"enum": ["accept", "hold", "refuse"]
},
"enableWorkflows": {
"type": "boolean",
"description": "Turn dynamic workflows on or off for yourself when your plan's default is not what you want. Unset leaves workflows on except on the Pro plan, where they are off. disableWorkflows, an organization's workflows policy, and the CLAUDE_CODE_DISABLE_WORKFLOWS environment variable take precedence, so true cannot turn workflows back on while any of them turns them off. Appears in /config as Dynamic workflows. See https://code.claude.com/docs/en/workflows"
},
"promptSuggestionEnabled": {
"type": "boolean",
"description": "Show prompt suggestions, the grayed-out predictions that appear in the prompt input (default: true). Set to false, or turn off Prompt suggestions in /config, to hide them. The CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION environment variable takes precedence for one session. Prompt suggestions need a claude.ai or Console account with telemetry on; on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry, or with telemetry off, this key has no effect. See https://code.claude.com/docs/en/interactive-mode#prompt-suggestions",
"default": true
},
"switchModelsOnFlag": {
"type": "boolean",
"description": "What happens when a safety classifier flags a request: true switches to the fallback model and continues, false pauses an interactive session so you can choose between switching and editing the prompt (where no dialog can show, such as a -p run, the flagged request ends as an error). Appears in /config as Switch models when a message is flagged. Requires Claude Code v2.1.170 or later. See https://code.claude.com/docs/en/model-config#ask-before-switching",
"default": true
}
},
"title": "Claude Code Settings"
Expand Down
1 change: 1 addition & 0 deletions src/test/claude-code-settings/enum-coverage.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"askUserQuestionTimeout": "10m",
"browserExternalPageTools": "disabled",
"channelsEnabled": false,
"crossSessionInbound": "hold",
"defaultShell": "bash",
"diffTool": "auto",
"editorMode": "normal",
Expand Down
1 change: 1 addition & 0 deletions src/test/claude-code-settings/managed-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"url": "https://github.com/untrusted-org/plugins.git"
}
],
"crossSessionInbound": "refuse",
"deniedMcpServers": [
{
"serverName": "dangerous-server"
Expand Down
5 changes: 5 additions & 0 deletions src/test/claude-code-settings/modern-complete-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"autoCompactEnabled": true,
"autoConnectIde": true,
"autoContinueAtUsageLimit": false,
"autoInstallIdeExtension": false,
"autoMemoryDirectory": "~/.claude/custom-memory",
"autoMemoryEnabled": false,
Expand Down Expand Up @@ -55,6 +56,7 @@
],
"cleanupPeriodDays": 60,
"companyAnnouncements": ["Welcome to the team!"],
"crossSessionInbound": "accept",
"defaultShell": "powershell",
"diffTool": "terminal",
"disableAgentView": false,
Expand All @@ -76,6 +78,7 @@
"emojiCompletionEnabled": false,
"enableAllProjectMcpServers": true,
"enableArtifact": true,
"enableWorkflows": true,
"enabledPlugins": {
"formatter@anthropic-tools": true
},
Expand Down Expand Up @@ -409,6 +412,7 @@
"preferredNotifChannel": "terminal_bell",
"prefersReducedMotion": true,
"processWrapper": "/opt/corp/launcher --profile claude",
"promptSuggestionEnabled": false,
"remoteControlAtStartup": false,
"requireCoworkFullVmSandbox": true,
"requiredMaximumVersion": "3.0.0",
Expand Down Expand Up @@ -516,6 +520,7 @@
"command": "~/.claude/subagent-statusline.sh",
"type": "command"
},
"switchModelsOnFlag": false,
"syntaxHighlightingDisabled": false,
"teammateDefaultModel": "sonnet",
"teammateMode": "tmux",
Expand Down
Loading