codeharness 0.24.0 → 0.24.2

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2437,7 +2437,7 @@ function generateDockerfileTemplate(projectDir, stackOrDetections) {
2437
2437
  }
2438
2438
 
2439
2439
  // src/modules/infra/init-project.ts
2440
- var HARNESS_VERSION = true ? "0.24.0" : "0.0.0-dev";
2440
+ var HARNESS_VERSION = true ? "0.24.2" : "0.0.0-dev";
2441
2441
  function failResult(opts, error) {
2442
2442
  return {
2443
2443
  status: "fail",
@@ -3551,7 +3551,6 @@ function startRenderer(options) {
3551
3551
  if (options?.quiet || !process.stdout.isTTY && !options?._forceTTY) {
3552
3552
  return noopHandle;
3553
3553
  }
3554
- process.stdout.write("\x1B[2J\x1B[H");
3555
3554
  let state = {
3556
3555
  sprintInfo: options?.sprintState ?? null,
3557
3556
  stories: [],
@@ -3565,11 +3564,9 @@ function startRenderer(options) {
3565
3564
  let cleaned = false;
3566
3565
  const inkInstance = inkRender(/* @__PURE__ */ jsx4(App, { state }), {
3567
3566
  exitOnCtrlC: false,
3568
- patchConsole: false,
3567
+ patchConsole: !options?._forceTTY,
3569
3568
  incrementalRendering: true,
3570
- // Only redraw changed lines (v6.5+)
3571
3569
  maxFps: 15
3572
- // Dashboard doesn't need 30fps
3573
3570
  });
3574
3571
  function rerender() {
3575
3572
  if (!cleaned) {
@@ -3612,7 +3609,8 @@ function startRenderer(options) {
3612
3609
  break;
3613
3610
  case "tool-input":
3614
3611
  state.activeToolArgs += event.partial;
3615
- break;
3612
+ return;
3613
+ // Skip rerender — args only shown on completion
3616
3614
  case "tool-complete":
3617
3615
  if (state.activeTool) {
3618
3616
  const entry = {
@@ -11638,7 +11636,7 @@ function registerAuditCommand(program) {
11638
11636
  }
11639
11637
 
11640
11638
  // src/index.ts
11641
- var VERSION = true ? "0.24.0" : "0.0.0-dev";
11639
+ var VERSION = true ? "0.24.2" : "0.0.0-dev";
11642
11640
  function createProgram() {
11643
11641
  const program = new Command();
11644
11642
  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.24.0",
3
+ "version": "0.24.2",
4
4
  "type": "module",
5
5
  "description": "CLI for codeharness — makes autonomous coding agents produce software that actually works",
6
6
  "bin": {