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

Function getSharedOverlay

src/agents/bash-sqlite-agent.ts:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30let sharedOverlay: OverlayFs | null = null;
31
32function getSharedOverlay(): OverlayFs {
33 if (!sharedOverlay) {
34 sharedOverlay = new OverlayFs({ root: DATA_DIR, mountPoint: '/' });
35 }
36 return sharedOverlay;
37}
38
39// Custom sqlite3 command using better-sqlite3 (bypasses broken sql.js ESM bundling in just-bash)
40function createSqlite3Command() {

Callers 1

runBashSqliteAgentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected