codeharness 0.17.2 → 0.17.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/index.js +12 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -357,7 +357,7 @@ var DEPENDENCY_REGISTRY = [
|
|
|
357
357
|
{ cmd: "pipx", args: ["install", "beads"] }
|
|
358
358
|
],
|
|
359
359
|
checkCommand: { cmd: "bd", args: ["--version"] },
|
|
360
|
-
critical:
|
|
360
|
+
critical: false
|
|
361
361
|
}
|
|
362
362
|
];
|
|
363
363
|
function checkInstalled(spec) {
|
|
@@ -1443,7 +1443,7 @@ function getInstallCommand(stack) {
|
|
|
1443
1443
|
}
|
|
1444
1444
|
|
|
1445
1445
|
// src/commands/init.ts
|
|
1446
|
-
var HARNESS_VERSION = true ? "0.17.
|
|
1446
|
+
var HARNESS_VERSION = true ? "0.17.3" : "0.0.0-dev";
|
|
1447
1447
|
function getProjectName(projectDir) {
|
|
1448
1448
|
try {
|
|
1449
1449
|
const pkgPath = join6(projectDir, "package.json");
|
|
@@ -1552,9 +1552,9 @@ function registerInitCommand(program) {
|
|
|
1552
1552
|
api: options.api
|
|
1553
1553
|
},
|
|
1554
1554
|
documentation: {
|
|
1555
|
-
agents_md: "
|
|
1556
|
-
docs_scaffold: "
|
|
1557
|
-
readme: "
|
|
1555
|
+
agents_md: "skipped",
|
|
1556
|
+
docs_scaffold: "skipped",
|
|
1557
|
+
readme: "skipped"
|
|
1558
1558
|
}
|
|
1559
1559
|
};
|
|
1560
1560
|
const statePath = getStatePath(projectDir);
|
|
@@ -1721,18 +1721,14 @@ function registerInitCommand(program) {
|
|
|
1721
1721
|
}
|
|
1722
1722
|
} catch (err) {
|
|
1723
1723
|
if (err instanceof BeadsError) {
|
|
1724
|
-
result.status = "fail";
|
|
1725
1724
|
result.beads = { status: "failed", hooks_detected: false, error: err.message };
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
} else {
|
|
1730
|
-
fail(`Beads init failed: ${err.message}`);
|
|
1725
|
+
if (!isJson) {
|
|
1726
|
+
warn(`Beads init failed: ${err.message}`);
|
|
1727
|
+
info("Beads is optional \u2014 continuing without it");
|
|
1731
1728
|
}
|
|
1732
|
-
|
|
1733
|
-
|
|
1729
|
+
} else {
|
|
1730
|
+
throw err;
|
|
1734
1731
|
}
|
|
1735
|
-
throw err;
|
|
1736
1732
|
}
|
|
1737
1733
|
try {
|
|
1738
1734
|
const bmadAlreadyInstalled = isBmadInstalled(projectDir);
|
|
@@ -7426,7 +7422,7 @@ function checkVerifyEnv() {
|
|
|
7426
7422
|
return result;
|
|
7427
7423
|
}
|
|
7428
7424
|
try {
|
|
7429
|
-
execFileSync7("docker", ["run", "--rm", IMAGE_TAG, "codeharness", "--
|
|
7425
|
+
execFileSync7("docker", ["run", "--rm", IMAGE_TAG, "codeharness", "--help"], {
|
|
7430
7426
|
stdio: "pipe",
|
|
7431
7427
|
timeout: 3e4
|
|
7432
7428
|
});
|
|
@@ -7788,7 +7784,7 @@ function handleStatus(dir, isJson, filterStory) {
|
|
|
7788
7784
|
}
|
|
7789
7785
|
|
|
7790
7786
|
// src/index.ts
|
|
7791
|
-
var VERSION = true ? "0.17.
|
|
7787
|
+
var VERSION = true ? "0.17.3" : "0.0.0-dev";
|
|
7792
7788
|
function createProgram() {
|
|
7793
7789
|
const program = new Command();
|
|
7794
7790
|
program.name("codeharness").description("Makes autonomous coding agents produce software that actually works").version(VERSION).option("--json", "Output in machine-readable JSON format");
|