This commit is contained in:
2026-09-11 13:41:50 -04:00
parent 04e013b090
commit 29d5216b96
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { createRequire } from 'node:module';
import path from 'node:path';
const harnessPath = process.env.JARVIS_HARNESS_PATH || '/home/raven/dev/agent-harness';
const harnessPath = process.env.JARVIS_HARNESS_PATH || path.resolve(new URL('../vendor/agent-harness', import.meta.url).pathname);
const require = createRequire(import.meta.url);
process.env.QVAC_CONFIG_PATH ||= path.resolve(new URL('../qvac.config.json', import.meta.url).pathname);
const Agent = require(path.join(harnessPath, 'index.js'));