open-agents-ai 0.187.69 → 0.187.70

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 +25 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -278091,10 +278091,18 @@ var status_bar_exports = {};
278091
278091
  __export(status_bar_exports, {
278092
278092
  HumanSpeedTracker: () => HumanSpeedTracker,
278093
278093
  StatusBar: () => StatusBar,
278094
+ lockFooterRedraws: () => lockFooterRedraws,
278094
278095
  refreshThemeVars: () => refreshThemeVars,
278095
- setTerminalTitle: () => setTerminalTitle
278096
+ setTerminalTitle: () => setTerminalTitle,
278097
+ unlockFooterRedraws: () => unlockFooterRedraws
278096
278098
  });
278097
278099
  import { readFileSync as readFileSync32 } from "node:fs";
278100
+ function lockFooterRedraws() {
278101
+ _globalFooterLock = true;
278102
+ }
278103
+ function unlockFooterRedraws() {
278104
+ _globalFooterLock = false;
278105
+ }
278098
278106
  function refreshThemeVars() {
278099
278107
  PANEL_BG_SEQ = tuiBgSeq();
278100
278108
  CONTENT_BG_SEQ = tuiBgSeq();
@@ -278109,7 +278117,7 @@ function setTerminalTitle(task, version4) {
278109
278117
  const title = task ? `${task.slice(0, 60)} \xB7 ${ver}` : ver;
278110
278118
  process.stdout.write(`\x1B]2;${title}\x07`);
278111
278119
  }
278112
- 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_SEQ, CONTENT_BG_SEQ, BOX_FG, TEXT_PRIMARY, TEXT_DIM, BOX_TL, BOX_TR, BOX_BL, BOX_BR, BOX_H, BOX_V, RESET, _isWindows, StatusBar;
278120
+ 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_SEQ, CONTENT_BG_SEQ, BOX_FG, TEXT_PRIMARY, TEXT_DIM, BOX_TL, BOX_TR, BOX_BL, BOX_BR, BOX_H, BOX_V, _globalFooterLock, RESET, _isWindows, StatusBar;
278113
278121
  var init_status_bar = __esm({
278114
278122
  "packages/cli/dist/tui/status-bar.js"() {
278115
278123
  "use strict";
@@ -278287,6 +278295,7 @@ var init_status_bar = __esm({
278287
278295
  BOX_BR = "\u256F";
278288
278296
  BOX_H = "\u2500";
278289
278297
  BOX_V = "\u2502";
278298
+ _globalFooterLock = false;
278290
278299
  RESET = "\x1B[0m";
278291
278300
  _isWindows = process.platform === "win32";
278292
278301
  StatusBar = class _StatusBar {
@@ -278381,8 +278390,16 @@ var init_status_bar = __esm({
278381
278390
  _suggestDelayTimer = null;
278382
278391
  /** Whether suggestions were manually dismissed via Esc */
278383
278392
  _suggestDismissed = false;
278384
- /** Suppress hookStdin redraws during Enter processing to prevent cursor shift */
278393
+ /** Suppress hookStdin redraws during Enter processing or overlay operations */
278385
278394
  _suppressStdinRedraw = false;
278395
+ /** Lock footer redraws entirely (during install overlay, loading screens, etc.) */
278396
+ lockFooter() {
278397
+ this._suppressStdinRedraw = true;
278398
+ }
278399
+ /** Unlock footer redraws */
278400
+ unlockFooter() {
278401
+ this._suppressStdinRedraw = false;
278402
+ }
278386
278403
  /** Callback to get available slash commands for suggestion matching */
278387
278404
  _commandListProvider = null;
278388
278405
  /** Callback to apply a selected suggestion to the input line */
@@ -280717,10 +280734,10 @@ ${CONTENT_BG_SEQ}`);
280717
280734
  process.stdin.on("data", () => {
280718
280735
  if (!this.active)
280719
280736
  return;
280720
- if (this._suppressStdinRedraw)
280737
+ if (this._suppressStdinRedraw || _globalFooterLock)
280721
280738
  return;
280722
280739
  setImmediate(() => {
280723
- if (this._suppressStdinRedraw)
280740
+ if (this._suppressStdinRedraw || _globalFooterLock)
280724
280741
  return;
280725
280742
  if (this.writeDepth > 0) {
280726
280743
  this.renderInputRowDuringStream();
@@ -294147,6 +294164,7 @@ async function handleUpdate(subcommand, ctx3) {
294147
294164
  process.stdout.write(buf);
294148
294165
  }
294149
294166
  function startInstallOverlay(version4) {
294167
+ lockFooterRedraws();
294150
294168
  let frame = 0;
294151
294169
  let status = "";
294152
294170
  renderInstallFrame(version4, frame, status);
@@ -294160,6 +294178,7 @@ async function handleUpdate(subcommand, ctx3) {
294160
294178
  },
294161
294179
  stop(finalText) {
294162
294180
  clearInterval(timer);
294181
+ unlockFooterRedraws();
294163
294182
  status = "__DONE__";
294164
294183
  renderInstallFrame(version4, frame, status);
294165
294184
  setTimeout(() => {
@@ -294169,6 +294188,7 @@ async function handleUpdate(subcommand, ctx3) {
294169
294188
  },
294170
294189
  /** Clear the overlay content area entirely — return to normal scroll area */
294171
294190
  dismiss() {
294191
+ unlockFooterRedraws();
294172
294192
  clearInterval(timer);
294173
294193
  const rows = process.stdout.rows ?? 24;
294174
294194
  const contentTop = 4;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.69",
3
+ "version": "0.187.70",
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",