@agntk/agent-harness 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +5 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +77 -1
- package/dist/index.js.map +1 -1
- package/dist/{universal-installer-QGS4SJGX.js → universal-installer-EVBDGOWM.js} +79 -2
- package/dist/universal-installer-EVBDGOWM.js.map +1 -0
- package/package.json +1 -1
- package/dist/universal-installer-QGS4SJGX.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import "../chunk-ZZJOFKAT.js";
|
|
|
7
7
|
|
|
8
8
|
// src/cli/index.ts
|
|
9
9
|
import { Command } from "commander";
|
|
10
|
+
import { createRequire } from "module";
|
|
10
11
|
import { resolve, join, basename } from "path";
|
|
11
12
|
import { existsSync } from "fs";
|
|
12
13
|
import { config as loadDotenv } from "dotenv";
|
|
@@ -83,7 +84,9 @@ function requireHarness(dir) {
|
|
|
83
84
|
process.exit(1);
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
|
-
|
|
87
|
+
var __pkgRequire = createRequire(import.meta.url);
|
|
88
|
+
var __pkg = __pkgRequire("../../package.json");
|
|
89
|
+
program.name("harness").description("Agent Harness \u2014 build AI agents by editing files, not writing code.").version(__pkg.version).option("-q, --quiet", "Suppress non-error output").option("-v, --verbose", "Enable debug output").option("--log-level <level>", "Set log level (debug, info, warn, error, silent)").hook("preAction", () => {
|
|
87
90
|
const opts = program.opts();
|
|
88
91
|
if (opts.quiet) setGlobalLogLevel("error");
|
|
89
92
|
else if (opts.verbose) setGlobalLogLevel("debug");
|
|
@@ -3487,7 +3490,7 @@ Customize the workflows in your workflows/ directory.`);
|
|
|
3487
3490
|
}
|
|
3488
3491
|
return;
|
|
3489
3492
|
}
|
|
3490
|
-
const { universalInstall } = await import("../universal-installer-
|
|
3493
|
+
const { universalInstall } = await import("../universal-installer-EVBDGOWM.js");
|
|
3491
3494
|
const result = await universalInstall(dir, source, {
|
|
3492
3495
|
type: opts.type,
|
|
3493
3496
|
id: opts.id,
|