Orginize
This commit is contained in:
@@ -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'
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user