codeharness 0.36.8 → 0.36.10
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.
|
@@ -2895,7 +2895,7 @@ function generateDockerfileTemplate(projectDir, stackOrDetections) {
|
|
|
2895
2895
|
}
|
|
2896
2896
|
|
|
2897
2897
|
// src/modules/infra/init-project.ts
|
|
2898
|
-
var HARNESS_VERSION = true ? "0.36.
|
|
2898
|
+
var HARNESS_VERSION = true ? "0.36.10" : "0.0.0-dev";
|
|
2899
2899
|
function failResult(opts, error) {
|
|
2900
2900
|
return {
|
|
2901
2901
|
status: "fail",
|
package/dist/index.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
validateDockerfile,
|
|
41
41
|
warn,
|
|
42
42
|
writeState
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-MNWFS4S7.js";
|
|
44
44
|
|
|
45
45
|
// src/index.ts
|
|
46
46
|
import { Command } from "commander";
|
|
@@ -3572,7 +3572,7 @@ var loopIterationActor = fromPromise2(async ({ input }) => {
|
|
|
3572
3572
|
lastContract = dr.contract;
|
|
3573
3573
|
accumulatedCostUsd += dr.contract?.cost_usd ?? 0;
|
|
3574
3574
|
tasksCompleted++;
|
|
3575
|
-
if (taskName === lastAgentTaskInLoop
|
|
3575
|
+
if (taskName === lastAgentTaskInLoop) {
|
|
3576
3576
|
let verdict = null;
|
|
3577
3577
|
try {
|
|
3578
3578
|
verdict = parseVerdict(dr.output);
|
|
@@ -6257,6 +6257,9 @@ function registerRunCommand(program) {
|
|
|
6257
6257
|
const storyFlowTasks = /* @__PURE__ */ new Set();
|
|
6258
6258
|
for (const step of parsedWorkflow.storyFlow) {
|
|
6259
6259
|
if (typeof step === "string") storyFlowTasks.add(step);
|
|
6260
|
+
if (typeof step === "object" && "loop" in step) {
|
|
6261
|
+
for (const lt of step.loop) storyFlowTasks.add(lt);
|
|
6262
|
+
}
|
|
6260
6263
|
}
|
|
6261
6264
|
const epicLoopTasks = /* @__PURE__ */ new Set();
|
|
6262
6265
|
for (const step of parsedWorkflow.epicFlow) {
|
|
@@ -11186,7 +11189,7 @@ function registerTeardownCommand(program) {
|
|
|
11186
11189
|
} else if (otlpMode === "remote-routed") {
|
|
11187
11190
|
if (!options.keepDocker) {
|
|
11188
11191
|
try {
|
|
11189
|
-
const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-
|
|
11192
|
+
const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-7TCDGQKT.js");
|
|
11190
11193
|
stopCollectorOnly2();
|
|
11191
11194
|
result.docker.stopped = true;
|
|
11192
11195
|
if (!isJson) {
|
|
@@ -11218,7 +11221,7 @@ function registerTeardownCommand(program) {
|
|
|
11218
11221
|
info("Shared stack: kept running (other projects may use it)");
|
|
11219
11222
|
}
|
|
11220
11223
|
} else if (isLegacyStack) {
|
|
11221
|
-
const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-
|
|
11224
|
+
const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-7TCDGQKT.js");
|
|
11222
11225
|
let stackRunning = false;
|
|
11223
11226
|
try {
|
|
11224
11227
|
stackRunning = isStackRunning2(composeFile);
|
|
@@ -14203,7 +14206,7 @@ function registerDriversCommand(program) {
|
|
|
14203
14206
|
}
|
|
14204
14207
|
|
|
14205
14208
|
// src/index.ts
|
|
14206
|
-
var VERSION = true ? "0.36.
|
|
14209
|
+
var VERSION = true ? "0.36.10" : "0.0.0-dev";
|
|
14207
14210
|
function createProgram() {
|
|
14208
14211
|
const program = new Command();
|
|
14209
14212
|
program.name("codeharness").description("Makes autonomous coding agents produce software that actually works").version(VERSION).option("--json", "Output in machine-readable JSON format");
|