codeharness 0.35.4 → 0.35.5
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.5" : "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-VMNLIAOU.js";
|
|
44
44
|
|
|
45
45
|
// src/index.ts
|
|
46
46
|
import { Command } from "commander";
|
|
@@ -6278,6 +6278,7 @@ function registerRunCommand(program) {
|
|
|
6278
6278
|
totalCost: totalCostUsd,
|
|
6279
6279
|
elapsed: formatElapsed(Date.now() - sessionStartMs),
|
|
6280
6280
|
epicId: displayEpicId || void 0,
|
|
6281
|
+
epicTitle: epic?.name,
|
|
6281
6282
|
epicStoriesDone: epic?.storiesDone,
|
|
6282
6283
|
epicStoriesTotal: epic?.storiesTotal
|
|
6283
6284
|
});
|
|
@@ -6287,7 +6288,8 @@ function registerRunCommand(program) {
|
|
|
6287
6288
|
if (sprintStateResult.success) {
|
|
6288
6289
|
for (const [epicKey, epic] of Object.entries(sprintStateResult.data.epics ?? {})) {
|
|
6289
6290
|
const epicId = epicKey.replace("epic-", "");
|
|
6290
|
-
|
|
6291
|
+
const e = epic;
|
|
6292
|
+
epicData[epicId] = { name: e.name, storiesDone: e.storiesDone ?? 0, storiesTotal: e.storiesTotal ?? 0 };
|
|
6291
6293
|
}
|
|
6292
6294
|
}
|
|
6293
6295
|
const storyFlowTasks = /* @__PURE__ */ new Set();
|
|
@@ -6344,10 +6346,12 @@ function registerRunCommand(program) {
|
|
|
6344
6346
|
let displayStoryKey;
|
|
6345
6347
|
if (event.storyKey.startsWith("__epic_")) {
|
|
6346
6348
|
epicId = event.storyKey.replace("__epic_", "").replace("__", "");
|
|
6347
|
-
|
|
6349
|
+
const epicName = epicData[epicId]?.name;
|
|
6350
|
+
displayStoryKey = epicName ? `${epicName} \u2014 verification` : `Epic ${epicId} verification`;
|
|
6348
6351
|
} else if (event.storyKey === "__run__") {
|
|
6349
6352
|
epicId = currentStoryKey ? extractEpicId2(currentStoryKey) : "";
|
|
6350
|
-
|
|
6353
|
+
const epicName = epicId ? epicData[epicId]?.name : void 0;
|
|
6354
|
+
displayStoryKey = epicName ?? (epicId ? `Epic ${epicId}` : "Run");
|
|
6351
6355
|
} else {
|
|
6352
6356
|
epicId = extractEpicId2(event.storyKey);
|
|
6353
6357
|
displayStoryKey = event.storyKey;
|
|
@@ -6363,6 +6367,7 @@ function registerRunCommand(program) {
|
|
|
6363
6367
|
totalCost: totalCostUsd,
|
|
6364
6368
|
elapsed: formatElapsed(Date.now() - sessionStartMs),
|
|
6365
6369
|
epicId,
|
|
6370
|
+
epicTitle: epic?.name,
|
|
6366
6371
|
epicStoriesDone: epic?.storiesDone ?? 0,
|
|
6367
6372
|
epicStoriesTotal: epic?.storiesTotal ?? 0
|
|
6368
6373
|
});
|
|
@@ -11217,7 +11222,7 @@ function registerTeardownCommand(program) {
|
|
|
11217
11222
|
} else if (otlpMode === "remote-routed") {
|
|
11218
11223
|
if (!options.keepDocker) {
|
|
11219
11224
|
try {
|
|
11220
|
-
const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-
|
|
11225
|
+
const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-RJSBPNHU.js");
|
|
11221
11226
|
stopCollectorOnly2();
|
|
11222
11227
|
result.docker.stopped = true;
|
|
11223
11228
|
if (!isJson) {
|
|
@@ -11249,7 +11254,7 @@ function registerTeardownCommand(program) {
|
|
|
11249
11254
|
info("Shared stack: kept running (other projects may use it)");
|
|
11250
11255
|
}
|
|
11251
11256
|
} else if (isLegacyStack) {
|
|
11252
|
-
const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-
|
|
11257
|
+
const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-RJSBPNHU.js");
|
|
11253
11258
|
let stackRunning = false;
|
|
11254
11259
|
try {
|
|
11255
11260
|
stackRunning = isStackRunning2(composeFile);
|
|
@@ -14236,7 +14241,7 @@ function registerDriversCommand(program) {
|
|
|
14236
14241
|
}
|
|
14237
14242
|
|
|
14238
14243
|
// src/index.ts
|
|
14239
|
-
var VERSION = true ? "0.35.
|
|
14244
|
+
var VERSION = true ? "0.35.5" : "0.0.0-dev";
|
|
14240
14245
|
function createProgram() {
|
|
14241
14246
|
const program = new Command();
|
|
14242
14247
|
program.name("codeharness").description("Makes autonomous coding agents produce software that actually works").version(VERSION).option("--json", "Output in machine-readable JSON format");
|