open-agents-ai 0.185.53 → 0.185.54

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 +9 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -62164,7 +62164,7 @@ function setTerminalTitle(task, version) {
62164
62164
  const title = task ? `${task.slice(0, 60)} \xB7 ${ver}` : ver;
62165
62165
  process.stdout.write(`\x1B]2;${title}\x07`);
62166
62166
  }
62167
- var EXPERT_TOOL_BASELINES, CONTEXT_SWITCH_OVERHEAD, TURN_PLANNING_OVERHEAD, DEFAULT_TOOL_BASELINE, CODE_READ_CHARS_PER_SEC, PROSE_READ_CHARS_PER_SEC, MIN_CONTENT_FOR_READING, CODE_CONTENT_TOOLS, PROSE_CONTENT_TOOLS, HumanSpeedTracker, PANEL_BG, CONTENT_BG, TEXT_PRIMARY, TEXT_DIM, PANEL_BG_SEQ, CONTENT_BG_SEQ, RESET, StatusBar;
62167
+ var EXPERT_TOOL_BASELINES, CONTEXT_SWITCH_OVERHEAD, TURN_PLANNING_OVERHEAD, DEFAULT_TOOL_BASELINE, CODE_READ_CHARS_PER_SEC, PROSE_READ_CHARS_PER_SEC, MIN_CONTENT_FOR_READING, CODE_CONTENT_TOOLS, PROSE_CONTENT_TOOLS, HumanSpeedTracker, PANEL_BG, CONTENT_BG, TEXT_PRIMARY, TEXT_DIM, PANEL_BG_SEQ, CONTENT_BG_SEQ, RESET, _isWindows, StatusBar;
62168
62168
  var init_status_bar = __esm({
62169
62169
  "packages/cli/dist/tui/status-bar.js"() {
62170
62170
  "use strict";
@@ -62337,6 +62337,7 @@ var init_status_bar = __esm({
62337
62337
  PANEL_BG_SEQ = `\x1B[48;5;${PANEL_BG}m`;
62338
62338
  CONTENT_BG_SEQ = `\x1B[48;5;${CONTENT_BG}m`;
62339
62339
  RESET = "\x1B[0m";
62340
+ _isWindows = process.platform === "win32";
62340
62341
  StatusBar = class _StatusBar {
62341
62342
  metrics = {
62342
62343
  promptTokens: 0,
@@ -63580,6 +63581,8 @@ var init_status_bar = __esm({
63580
63581
  if (this._bannerRefresh)
63581
63582
  this._bannerRefresh();
63582
63583
  }
63584
+ if (_isWindows)
63585
+ this.termWrite("\x1B[3J");
63583
63586
  }
63584
63587
  /**
63585
63588
  * Update the top boundary of the scroll region (e.g. after carousel retirement).
@@ -63631,7 +63634,8 @@ ${CONTENT_BG_SEQ}`);
63631
63634
  }
63632
63635
  process.stdout.write(`\x1B[?25l` + // hide cursor
63633
63636
  CONTENT_BG_SEQ + // set content area bg (#111)
63634
- `\x1B[${this.scrollRegionTop};${scrollEnd}r\x1B[${scrollEnd};1H`);
63637
+ `\x1B[${this.scrollRegionTop};${scrollEnd}r` + (_isWindows ? "\x1B[3J" : "") + // Windows: clear accumulated scrollback
63638
+ `\x1B[${scrollEnd};1H`);
63635
63639
  }
63636
63640
  /**
63637
63641
  * Call AFTER writing content to the scrollable area.
@@ -63652,6 +63656,8 @@ ${CONTENT_BG_SEQ}`);
63652
63656
  process.stdout.write(RESET);
63653
63657
  this._brailleSpinner.setMetrics({ isStreaming: false });
63654
63658
  this.renderFooterAndPositionInput();
63659
+ if (_isWindows)
63660
+ this.termWrite("\x1B[3J");
63655
63661
  this.scheduleMouseIdle();
63656
63662
  }
63657
63663
  }
@@ -64221,7 +64227,7 @@ ${CONTENT_BG_SEQ}`);
64221
64227
  this.updateFooterHeight();
64222
64228
  const rows = process.stdout.rows ?? 24;
64223
64229
  const pos = this.rowPositions(rows);
64224
- this.termWrite(`\x1B[${this.scrollRegionTop};${pos.scrollEnd}r\x1B[${pos.scrollEnd};1H`);
64230
+ this.termWrite(`\x1B[${this.scrollRegionTop};${pos.scrollEnd}r\x1B[${pos.scrollEnd};1H` + (_isWindows ? "\x1B[3J" : ""));
64225
64231
  }
64226
64232
  /**
64227
64233
  * Draw the COMPLETE footer — separators, prompt, metrics — in a single
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.185.53",
3
+ "version": "0.185.54",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",