agent-rev 0.4.3 → 0.4.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.
Files changed (2) hide show
  1. package/dist/ui/input.js +5 -0
  2. package/package.json +2 -2
package/dist/ui/input.js CHANGED
@@ -123,6 +123,11 @@ export class FixedInput {
123
123
  }
124
124
  /** Leave activity mode and restore the normal input box. */
125
125
  stopActivity() {
126
+ // Explicitly clear the full ACTIVE reserved zone before shrinking
127
+ // the scroll region — otherwise activity box rows bleed into scroll history.
128
+ const activeSB = this.rows - ACTIVE_RESERVED;
129
+ for (let r = activeSB + 1; r <= this.rows; r++)
130
+ process.stdout.write(`\x1b[${r};1H\x1b[2K`);
126
131
  this._activityHeader = null;
127
132
  this._activityLines = [];
128
133
  this._setScrollRegion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-rev",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Deterministic multi-agent CLI orchestrator \u2014 plan, code, review",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -8,7 +8,7 @@
8
8
  "dist/"
9
9
  ],
10
10
  "bin": {
11
- "agent-mp": "dist/index.js"
11
+ "agent-rev": "dist/index.js"
12
12
  },
13
13
  "scripts": {
14
14
  "build": "tsc && echo '#!/usr/bin/env node' | cat - dist/index.js > dist/index.tmp && mv dist/index.tmp dist/index.js && chmod +x dist/index.js",