Skip to content

resolveCommandEnvPolicy

resolveCommandEnvPolicy(config): CommandEnvPolicy

Defined in: packages/agent/src/tools/shell/env.ts:108

Resolve the commandEnv config into a CommandEnvPolicy. The default lives here, at the read site, rather than in the schema or DEFAULT_CONFIG: only an explicit true turns scrubbing on.

CommandEnvConfig | undefined

CommandEnvPolicy