Skip to content

describeRemovedOnFailure

describeRemovedOnFailure(removed): string | undefined

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

The one line a failed command’s tool result carries when scrubbing removed variables from its environment, or undefined when nothing was removed (scrubbing off, or nothing matched). It names the variables and the setting, never a value, so a command that failed for want of a key says why instead of surfacing only the child’s own error about the wrong layer.

readonly string[]

string | undefined