codeharness 0.31.3 → 0.31.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.31.3" : "0.0.0-dev";
2898
+ var HARNESS_VERSION = true ? "0.31.4" : "0.0.0-dev";
2899
2899
  function failResult(opts, error) {
2900
2900
  return {
2901
2901
  status: "fail",
@@ -16,7 +16,7 @@ import {
16
16
  stopCollectorOnly,
17
17
  stopSharedStack,
18
18
  stopStack
19
- } from "./chunk-A4ECRBVK.js";
19
+ } from "./chunk-WI2XM5WP.js";
20
20
  export {
21
21
  checkRemoteEndpoint,
22
22
  cleanupOrphanedContainers,
package/dist/index.js CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  validateDockerfile,
41
41
  warn,
42
42
  writeState
43
- } from "./chunk-A4ECRBVK.js";
43
+ } from "./chunk-WI2XM5WP.js";
44
44
 
45
45
  // src/index.ts
46
46
  import { Command } from "commander";
@@ -5813,6 +5813,11 @@ function startRenderer(options) {
5813
5813
  }
5814
5814
  switch (event.type) {
5815
5815
  case "tool-start":
5816
+ if (state.lastThought) {
5817
+ const textEntry = { name: "", args: state.lastThought, isText: true };
5818
+ const updated = [...state.completedTools, textEntry];
5819
+ state.completedTools = updated.length > MAX_COMPLETED_TOOLS ? updated.slice(updated.length - MAX_COMPLETED_TOOLS) : updated;
5820
+ }
5816
5821
  promoteActiveTool(false);
5817
5822
  state.activeTool = { name: event.name };
5818
5823
  state.activeToolArgs = "";
@@ -11259,7 +11264,7 @@ function registerTeardownCommand(program) {
11259
11264
  } else if (otlpMode === "remote-routed") {
11260
11265
  if (!options.keepDocker) {
11261
11266
  try {
11262
- const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-A35UFVYH.js");
11267
+ const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-KXQ6RJW6.js");
11263
11268
  stopCollectorOnly2();
11264
11269
  result.docker.stopped = true;
11265
11270
  if (!isJson) {
@@ -11291,7 +11296,7 @@ function registerTeardownCommand(program) {
11291
11296
  info("Shared stack: kept running (other projects may use it)");
11292
11297
  }
11293
11298
  } else if (isLegacyStack) {
11294
- const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-A35UFVYH.js");
11299
+ const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-KXQ6RJW6.js");
11295
11300
  let stackRunning = false;
11296
11301
  try {
11297
11302
  stackRunning = isStackRunning2(composeFile);
@@ -14278,7 +14283,7 @@ function registerDriversCommand(program) {
14278
14283
  }
14279
14284
 
14280
14285
  // src/index.ts
14281
- var VERSION = true ? "0.31.3" : "0.0.0-dev";
14286
+ var VERSION = true ? "0.31.4" : "0.0.0-dev";
14282
14287
  function createProgram() {
14283
14288
  const program = new Command();
14284
14289
  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.31.3",
3
+ "version": "0.31.4",
4
4
  "type": "module",
5
5
  "description": "CLI for codeharness — makes autonomous coding agents produce software that actually works",
6
6
  "bin": {