Skip to content

buildScrubbedEnv

buildScrubbedEnv(source?): ProcessEnv

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/shell/env.ts:105

Build the child environment for a spawned shell command: a copy of the parent env with LLM/cloud credentials removed. Defaults to the live process.env (via systemUtils); a source can be injected for testing.

ProcessEnv = processEnv

ProcessEnv