MCPcopy Create free account
hub / github.com/braintrustdata/bash-agent-evals / exec

Function exec

src/agents/bash-sqlite-agent.ts:161–163  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

159function createTimeoutBash(bash: Bash, timeoutMs: number) {
160 return {
161 async exec(command: string) {
162 return withTimeout(bash.exec(command), timeoutMs, command);
163 },
164 fs: bash.fs,
165 };
166}

Callers

nothing calls this directly

Calls 1

withTimeoutFunction · 0.70

Tested by

no test coverage detected