Kind: Function
Source: atloria-monorepo/libs/agent-core/src/benchmark/agent-hardening.ts
Build bash environment with pager-disabling variables.
Pattern from SWE-agent: Disable all interactive pagers and progress bars to prevent the agent's bash commands from hanging on user input prompts.
Merges with existing env, overriding pager-related vars.
Signature
tsfunction buildBashEnv(existingEnv: Record<string, string | undefined>): Record<string, string>
Parameters
| Name | Type |
|---|---|
existingEnv | `Record<string, string |
Returns: Record<string, string>
Was this page helpful?