codeharness 0.25.2 → 0.25.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.
@@ -151,7 +151,10 @@ import { dirname, resolve } from "path";
151
151
  import { fileURLToPath } from "url";
152
152
  var __dirname = dirname(fileURLToPath(import.meta.url));
153
153
  function getPackageRoot() {
154
- return resolve(__dirname, "..", "..");
154
+ if (__dirname.endsWith("/src/lib") || __dirname.endsWith("\\src\\lib")) {
155
+ return resolve(__dirname, "..", "..");
156
+ }
157
+ return resolve(__dirname, "..");
155
158
  }
156
159
  function generateFile(targetPath, content) {
157
160
  mkdirSync2(dirname(targetPath), { recursive: true });
@@ -3204,7 +3207,7 @@ function generateDockerfileTemplate(projectDir, stackOrDetections) {
3204
3207
  }
3205
3208
 
3206
3209
  // src/modules/infra/init-project.ts
3207
- var HARNESS_VERSION = true ? "0.25.2" : "0.0.0-dev";
3210
+ var HARNESS_VERSION = true ? "0.25.3" : "0.0.0-dev";
3208
3211
  function failResult(opts, error) {
3209
3212
  return {
3210
3213
  status: "fail",
@@ -16,7 +16,7 @@ import {
16
16
  stopCollectorOnly,
17
17
  stopSharedStack,
18
18
  stopStack
19
- } from "./chunk-SWNZSLNI.js";
19
+ } from "./chunk-WABTXRJD.js";
20
20
  export {
21
21
  checkRemoteEndpoint,
22
22
  cleanupOrphanedContainers,
package/dist/index.js CHANGED
@@ -50,7 +50,7 @@ import {
50
50
  validateDockerfile,
51
51
  warn,
52
52
  writeState
53
- } from "./chunk-SWNZSLNI.js";
53
+ } from "./chunk-WABTXRJD.js";
54
54
 
55
55
  // src/index.ts
56
56
  import { Command } from "commander";
@@ -7535,7 +7535,7 @@ function registerTeardownCommand(program) {
7535
7535
  } else if (otlpMode === "remote-routed") {
7536
7536
  if (!options.keepDocker) {
7537
7537
  try {
7538
- const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-NYARR2MR.js");
7538
+ const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-QQ4SOUOW.js");
7539
7539
  stopCollectorOnly2();
7540
7540
  result.docker.stopped = true;
7541
7541
  if (!isJson) {
@@ -7567,7 +7567,7 @@ function registerTeardownCommand(program) {
7567
7567
  info("Shared stack: kept running (other projects may use it)");
7568
7568
  }
7569
7569
  } else if (isLegacyStack) {
7570
- const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-NYARR2MR.js");
7570
+ const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-QQ4SOUOW.js");
7571
7571
  let stackRunning = false;
7572
7572
  try {
7573
7573
  stackRunning = isStackRunning2(composeFile);
@@ -9466,7 +9466,7 @@ function registerAuditCommand(program) {
9466
9466
  }
9467
9467
 
9468
9468
  // src/index.ts
9469
- var VERSION = true ? "0.25.2" : "0.0.0-dev";
9469
+ var VERSION = true ? "0.25.3" : "0.0.0-dev";
9470
9470
  function createProgram() {
9471
9471
  const program = new Command();
9472
9472
  program.name("codeharness").description("Makes autonomous coding agents produce software that actually works").version(VERSION).option("--json", "Output in machine-readable JSON format");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeharness",
3
- "version": "0.25.2",
3
+ "version": "0.25.3",
4
4
  "type": "module",
5
5
  "description": "CLI for codeharness — makes autonomous coding agents produce software that actually works",
6
6
  "bin": {