This commit is contained in:
2026-08-18 18:11:34 -04:00
parent bbaf47028f
commit 05dab1f18a
263 changed files with 895 additions and 872 deletions
@@ -5,25 +5,25 @@ import test from 'brittle'
import { readFileSync } from 'node:fs'
import vm from 'node:vm'
const STATE_SRC = readFileSync(new URL('../lib/agent-state.js', import.meta.url), 'utf8')
const STATE_SRC = readFileSync(new URL('../lib/agent/agent-state.js', import.meta.url), 'utf8')
const HELPERS_SRC = readFileSync(
new URL('../lib/agent-helpers.js', import.meta.url),
new URL('../lib/agent/agent-helpers.js', import.meta.url),
'utf8'
)
const PORT_SRC = readFileSync(
new URL('../lib/agent-grok-port.js', import.meta.url),
new URL('../lib/agent/agent-grok-port.js', import.meta.url),
'utf8'
)
const TOOLS_SRC =
readFileSync(new URL('../lib/agent-tools.js', import.meta.url), 'utf8') +
readFileSync(new URL('../lib/agent/agent-tools.js', import.meta.url), 'utf8') +
'\n' +
readFileSync(
new URL('../lib/agent-tool-definitions.js', import.meta.url),
new URL('../lib/agent/agent-tool-definitions.js', import.meta.url),
'utf8'
) +
'\n' +
readFileSync(
new URL('../lib/agent-tool-dispatch.js', import.meta.url),
new URL('../lib/agent/agent-tool-dispatch.js', import.meta.url),
'utf8'
)