open-agents-ai 0.138.42 → 0.138.44

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 +3 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -52158,15 +52158,14 @@ ${CONTENT_BG_SEQ}`);
52158
52158
  const w1 = this._origWrite ?? this._trueStdoutWrite;
52159
52159
  w1.call(process.stdout, buf);
52160
52160
  } else {
52161
- let buf = "\x1B7\x1B[?7l";
52161
+ let buf = "\x1B[?7l";
52162
52162
  for (let i = 0; i < inputWrap.lines.length; i++) {
52163
52163
  const row = pos.inputStartRow + i;
52164
52164
  const prefix = i === 0 ? this.promptText : " ".repeat(this.promptWidth);
52165
52165
  buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K${prefix}${inputWrap.lines[i]}${RESET}`;
52166
52166
  }
52167
- buf += "\x1B[?7h\x1B8";
52168
- const w2 = this._origWrite ?? this._trueStdoutWrite;
52169
- w2.call(process.stdout, buf);
52167
+ buf += "\x1B[?7h";
52168
+ this.termWrite(buf);
52170
52169
  }
52171
52170
  }
52172
52171
  /**
@@ -52309,12 +52308,7 @@ ${CONTENT_BG_SEQ}`);
52309
52308
  return;
52310
52309
  if (key?.name === "escape")
52311
52310
  return;
52312
- const rows = process.stdout.rows ?? 24;
52313
- const pos = self.rowPositions(rows);
52314
- const writer = self._origWrite ?? process.stdout.write.bind(process.stdout);
52315
- writer(`\x1B7\x1B[${pos.inputStartRow};1H`);
52316
52311
  origTtyWrite(s, key);
52317
- writer(`\x1B8`);
52318
52312
  return;
52319
52313
  }
52320
52314
  if (self.inputStateProvider && (key?.name !== "return" && key?.name !== "enter" && key?.name !== "backspace")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.42",
3
+ "version": "0.138.44",
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",