open-agents-ai 0.138.34 → 0.138.35

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 +17 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -54053,10 +54053,26 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
54053
54053
  statusBar.scrollContentDown(lines);
54054
54054
  });
54055
54055
  process.stdin.pipe(mouseFilter);
54056
+ const { PassThrough } = await import("node:stream");
54057
+ const rlOutput = new PassThrough();
54058
+ rlOutput.on("data", (chunk) => {
54059
+ if (!statusBar.isActive) {
54060
+ process.stdout.write(chunk);
54061
+ return;
54062
+ }
54063
+ const rows = process.stdout.rows ?? 24;
54064
+ const fh = statusBar._currentFooterHeight ?? 3;
54065
+ const inputRow = rows - fh + 1;
54066
+ const writer = statusBar._origWrite ? statusBar._origWrite.bind(process.stdout) : process.stdout.write.bind(process.stdout);
54067
+ writer(`\x1B7\x1B[${inputRow};1H`);
54068
+ writer(chunk);
54069
+ writer(`\x1B8`);
54070
+ });
54056
54071
  const rl = readline2.createInterface({
54057
54072
  input: mouseFilter,
54058
54073
  // filtered stream, NOT raw stdin
54059
- output: process.stdout,
54074
+ output: rlOutput,
54075
+ // forced to input row, NOT raw stdout
54060
54076
  prompt: idlePrompt,
54061
54077
  terminal: true,
54062
54078
  historySize: MAX_HISTORY_LINES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.34",
3
+ "version": "0.138.35",
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",