codeharness 0.12.0 → 0.12.2
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 +3 -29
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1348,7 +1348,7 @@ function importStoriesToBeads(stories, opts, beadsFns) {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
|
|
1350
1350
|
// src/commands/init.ts
|
|
1351
|
-
var HARNESS_VERSION = true ? "0.12.
|
|
1351
|
+
var HARNESS_VERSION = true ? "0.12.2" : "0.0.0-dev";
|
|
1352
1352
|
function getStackLabel(stack) {
|
|
1353
1353
|
if (stack === "nodejs") return "Node.js (package.json)";
|
|
1354
1354
|
if (stack === "python") return "Python";
|
|
@@ -2596,26 +2596,6 @@ var INTEGRATION_KEYWORDS = [
|
|
|
2596
2596
|
"integration test",
|
|
2597
2597
|
"manual verification"
|
|
2598
2598
|
];
|
|
2599
|
-
var DOCKER_SESSION_KEYWORDS = [
|
|
2600
|
-
"agent tool",
|
|
2601
|
-
"subagent",
|
|
2602
|
-
"via agent",
|
|
2603
|
-
"invoke",
|
|
2604
|
-
"/create-story",
|
|
2605
|
-
"/bmad-dev-story",
|
|
2606
|
-
"/bmad-code-review",
|
|
2607
|
-
"/harness-run",
|
|
2608
|
-
"/retrospective",
|
|
2609
|
-
"sprint execution",
|
|
2610
|
-
"fresh context",
|
|
2611
|
-
"spawns",
|
|
2612
|
-
"code review workflow",
|
|
2613
|
-
"dev-story workflow",
|
|
2614
|
-
"automatically proceeds",
|
|
2615
|
-
"retries the current story",
|
|
2616
|
-
"halts with status",
|
|
2617
|
-
"prints summary"
|
|
2618
|
-
];
|
|
2619
2599
|
var ESCALATE_KEYWORDS = [
|
|
2620
2600
|
"physical hardware",
|
|
2621
2601
|
"manual human",
|
|
@@ -2634,13 +2614,7 @@ function classifyStrategy(description) {
|
|
|
2634
2614
|
for (const kw of ESCALATE_KEYWORDS) {
|
|
2635
2615
|
if (lower.includes(kw)) return "escalate";
|
|
2636
2616
|
}
|
|
2637
|
-
|
|
2638
|
-
if (lower.includes(kw)) return "docker-session";
|
|
2639
|
-
}
|
|
2640
|
-
for (const kw of INTEGRATION_KEYWORDS) {
|
|
2641
|
-
if (lower.includes(kw)) return "docker-session";
|
|
2642
|
-
}
|
|
2643
|
-
return "cli-direct";
|
|
2617
|
+
return "docker";
|
|
2644
2618
|
}
|
|
2645
2619
|
var VERIFICATION_TAG_PATTERN = /<!--\s*verification:\s*(cli-verifiable|integration-required)\s*-->/;
|
|
2646
2620
|
function parseVerificationTag(text) {
|
|
@@ -6853,7 +6827,7 @@ function registerGithubImportCommand(program) {
|
|
|
6853
6827
|
}
|
|
6854
6828
|
|
|
6855
6829
|
// src/index.ts
|
|
6856
|
-
var VERSION = true ? "0.12.
|
|
6830
|
+
var VERSION = true ? "0.12.2" : "0.0.0-dev";
|
|
6857
6831
|
function createProgram() {
|
|
6858
6832
|
const program = new Command();
|
|
6859
6833
|
program.name("codeharness").description("Makes autonomous coding agents produce software that actually works").version(VERSION).option("--json", "Output in machine-readable JSON format");
|