Another cleanup pass

This commit is contained in:
2026-08-18 17:24:42 -04:00
parent 21a8b1e169
commit def93bd39a
14 changed files with 7243 additions and 7039 deletions
@@ -2,10 +2,18 @@ import test from 'brittle'
import { readFileSync } from 'node:fs'
import vm from 'node:vm'
const CODE = readFileSync(
new URL('../lib/agent-tools.js', import.meta.url),
'utf8'
)
const CODE =
readFileSync(new URL('../lib/agent-tools.js', import.meta.url), 'utf8') +
'\n' +
readFileSync(
new URL('../lib/agent-tool-definitions.js', import.meta.url),
'utf8'
) +
'\n' +
readFileSync(
new URL('../lib/agent-tool-dispatch.js', import.meta.url),
'utf8'
)
function load(extra = {}) {
const sandbox = {