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
@@ -14,7 +14,18 @@ const PORT_SRC = readFileSync(
new URL('../lib/agent-grok-port.js', import.meta.url),
'utf8'
)
const TOOLS_SRC = readFileSync(new URL('../lib/agent-tools.js', import.meta.url), 'utf8')
const TOOLS_SRC =
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 loadPort() {
const sandbox = { TextDecoder, TextEncoder, Uint8Array, console }