Another cleanup pass
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user