codeharness 0.35.3 → 0.35.4
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.35.
|
|
2898
|
+
var HARNESS_VERSION = true ? "0.35.4" : "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-3CJIJVLY.js";
|
|
44
44
|
|
|
45
45
|
// src/index.ts
|
|
46
46
|
import { Command } from "commander";
|
|
@@ -6265,18 +6265,19 @@ function registerRunCommand(program) {
|
|
|
6265
6265
|
let storiesDone = counts.done;
|
|
6266
6266
|
let currentStoryKey = "";
|
|
6267
6267
|
let currentTaskName = "";
|
|
6268
|
+
let displayEpicId = "";
|
|
6269
|
+
let displayStoryKeyForHeader = "";
|
|
6268
6270
|
const headerRefresh = setInterval(() => {
|
|
6269
6271
|
if (interrupted) return;
|
|
6270
|
-
const
|
|
6271
|
-
const epic = epicId ? epicData[epicId] : void 0;
|
|
6272
|
+
const epic = displayEpicId ? epicData[displayEpicId] : void 0;
|
|
6272
6273
|
renderer.updateSprintState({
|
|
6273
|
-
storyKey: currentStoryKey,
|
|
6274
|
+
storyKey: displayStoryKeyForHeader || currentStoryKey,
|
|
6274
6275
|
phase: currentTaskName,
|
|
6275
6276
|
done: storiesDone,
|
|
6276
6277
|
total: counts.total,
|
|
6277
6278
|
totalCost: totalCostUsd,
|
|
6278
6279
|
elapsed: formatElapsed(Date.now() - sessionStartMs),
|
|
6279
|
-
epicId:
|
|
6280
|
+
epicId: displayEpicId || void 0,
|
|
6280
6281
|
epicStoriesDone: epic?.storiesDone,
|
|
6281
6282
|
epicStoriesTotal: epic?.storiesTotal
|
|
6282
6283
|
});
|
|
@@ -6339,8 +6340,20 @@ function registerRunCommand(program) {
|
|
|
6339
6340
|
currentTaskName = event.taskName;
|
|
6340
6341
|
const inLoop = inEpicPhase && epicLoopTasks.has(event.taskName) && taskStates[event.taskName] === "done";
|
|
6341
6342
|
const stateKey = inLoop ? `loop:${event.taskName}` : event.taskName;
|
|
6342
|
-
|
|
6343
|
-
|
|
6343
|
+
let epicId;
|
|
6344
|
+
let displayStoryKey;
|
|
6345
|
+
if (event.storyKey.startsWith("__epic_")) {
|
|
6346
|
+
epicId = event.storyKey.replace("__epic_", "").replace("__", "");
|
|
6347
|
+
displayStoryKey = `Epic ${epicId} verification`;
|
|
6348
|
+
} else if (event.storyKey === "__run__") {
|
|
6349
|
+
epicId = currentStoryKey ? extractEpicId2(currentStoryKey) : "";
|
|
6350
|
+
displayStoryKey = epicId ? `Epic ${epicId}` : "Run";
|
|
6351
|
+
} else {
|
|
6352
|
+
epicId = extractEpicId2(event.storyKey);
|
|
6353
|
+
displayStoryKey = event.storyKey;
|
|
6354
|
+
}
|
|
6355
|
+
displayEpicId = epicId;
|
|
6356
|
+
displayStoryKeyForHeader = displayStoryKey;
|
|
6344
6357
|
const epic = epicData[epicId];
|
|
6345
6358
|
renderer.updateSprintState({
|
|
6346
6359
|
storyKey: displayStoryKey,
|
|
@@ -11204,7 +11217,7 @@ function registerTeardownCommand(program) {
|
|
|
11204
11217
|
} else if (otlpMode === "remote-routed") {
|
|
11205
11218
|
if (!options.keepDocker) {
|
|
11206
11219
|
try {
|
|
11207
|
-
const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-
|
|
11220
|
+
const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-CR3F2RCU.js");
|
|
11208
11221
|
stopCollectorOnly2();
|
|
11209
11222
|
result.docker.stopped = true;
|
|
11210
11223
|
if (!isJson) {
|
|
@@ -11236,7 +11249,7 @@ function registerTeardownCommand(program) {
|
|
|
11236
11249
|
info("Shared stack: kept running (other projects may use it)");
|
|
11237
11250
|
}
|
|
11238
11251
|
} else if (isLegacyStack) {
|
|
11239
|
-
const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-
|
|
11252
|
+
const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-CR3F2RCU.js");
|
|
11240
11253
|
let stackRunning = false;
|
|
11241
11254
|
try {
|
|
11242
11255
|
stackRunning = isStackRunning2(composeFile);
|
|
@@ -14223,7 +14236,7 @@ function registerDriversCommand(program) {
|
|
|
14223
14236
|
}
|
|
14224
14237
|
|
|
14225
14238
|
// src/index.ts
|
|
14226
|
-
var VERSION = true ? "0.35.
|
|
14239
|
+
var VERSION = true ? "0.35.4" : "0.0.0-dev";
|
|
14227
14240
|
function createProgram() {
|
|
14228
14241
|
const program = new Command();
|
|
14229
14242
|
program.name("codeharness").description("Makes autonomous coding agents produce software that actually works").version(VERSION).option("--json", "Output in machine-readable JSON format");
|