Interface IAgentPreferences

Agent preferences from USS (Unified State Sync).

All 16 sentinel keys verified from live state.vscdb on 2026-02-28.

interface IAgentPreferences {
    allowedCommands: string[];
    allowGitignoreAccess: boolean;
    allowNonWorkspaceFiles: boolean;
    artifactReviewPolicy: ArtifactReviewPolicy;
    autoContinueOnMax: number;
    deniedCommands: string[];
    disableAutoFixLints: boolean;
    disableAutoOpenEdited: boolean;
    enableSounds: boolean;
    explainFixInCurrentConvo: boolean;
    planningMode: number;
    sandboxAllowNetwork: boolean;
    secureModeEnabled: boolean;
    shellIntegrationEnabled: boolean;
    terminalExecutionPolicy: TerminalExecutionPolicy;
    terminalSandboxEnabled: boolean;
}

Properties

allowedCommands: string[]

Explicitly allowed terminal commands (terminalAllowedCommandsSentinelKey)

allowGitignoreAccess: boolean

Allow Cascade to read .gitignore files (allowCascadeAccessGitignoreFilesSentinelKey)

allowNonWorkspaceFiles: boolean

Allow agent to access files outside workspace (allowAgentAccessNonWorkspaceFilesSentinelKey)

artifactReviewPolicy: ArtifactReviewPolicy

Code change review policy (artifactReviewPolicySentinelKey)

autoContinueOnMax: number

Auto-continue on max generator invocations (autoContinueOnMaxGeneratorInvocationsSentinelKey)

deniedCommands: string[]

Explicitly denied terminal commands (terminalDeniedCommandsSentinelKey)

disableAutoFixLints: boolean

Disable Cascade auto-fix for lint errors (disableCascadeAutoFixLintsSentinelKey)

disableAutoOpenEdited: boolean

Disable auto-open of edited files (disableAutoOpenEditedFilesSentinelKey)

enableSounds: boolean

Enable sounds for special events (enableSoundsForSpecialEventsSentinelKey)

explainFixInCurrentConvo: boolean

Explain and fix in current conversation (explainAndFixInCurrentConversationSentinelKey)

planningMode: number

Planning mode (planningModeSentinelKey)

sandboxAllowNetwork: boolean

Whether sandbox allows network access (sandboxAllowNetworkSentinelKey)

secureModeEnabled: boolean

Whether strict/secure mode is enabled (secureModeSentinelKey)

shellIntegrationEnabled: boolean

Whether shell integration is enabled (enableShellIntegrationSentinelKey)

terminalExecutionPolicy: TerminalExecutionPolicy

Terminal command auto-execution policy (terminalAutoExecutionPolicySentinelKey)

terminalSandboxEnabled: boolean

Whether terminal sandbox is enabled (enableTerminalSandboxSentinelKey)