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
@@ -2,25 +2,25 @@ import test from 'brittle'
import { readFileSync } from 'node:fs'
const STATE = readFileSync(
new URL('../lib/agent-state.js', import.meta.url),
new URL('../lib/agent/agent-state.js', import.meta.url),
'utf8'
)
const TOOLS =
readFileSync(new URL('../lib/agent-tools.js', import.meta.url), 'utf8') +
readFileSync(new URL('../lib/agent/agent-tools.js', import.meta.url), 'utf8') +
readFileSync(
new URL('../lib/agent-tool-definitions.js', import.meta.url),
new URL('../lib/agent/agent-tool-definitions.js', import.meta.url),
'utf8'
) +
readFileSync(
new URL('../lib/agent-tool-dispatch.js', import.meta.url),
new URL('../lib/agent/agent-tool-dispatch.js', import.meta.url),
'utf8'
)
const OPENAI = readFileSync(
new URL('../lib/agent-openai.js', import.meta.url),
new URL('../lib/agent/agent-openai.js', import.meta.url),
'utf8'
)
const TUI = readFileSync(
new URL('../lib/agent-tui.js', import.meta.url),
new URL('../lib/agent/agent-tui.js', import.meta.url),
'utf8'
)
const CLI = readFileSync(new URL('../src/agent.js', import.meta.url), 'utf8')