open-agents-ai 0.187.98 → 0.187.99

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 +11 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -280759,10 +280759,13 @@ ${CONTENT_BG_SEQ}`);
280759
280759
  buf += "\x1BM";
280760
280760
  }
280761
280761
  buf += "\x1B[?7l";
280762
+ const boxInnerH = w - 2;
280763
+ buf += `\x1B[${pos.inputStartRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_TL}${BOX_H.repeat(Math.max(0, boxInnerH))}${BOX_TR}${RESET}`;
280762
280764
  for (let i2 = 0; i2 < inputWrap.lines.length; i2++) {
280763
- const row = pos.inputStartRow + i2;
280765
+ const row = pos.inputStartRow + 1 + i2;
280764
280766
  const prefix = i2 === 0 ? this.promptText : " ".repeat(this.promptWidth);
280765
- buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K${prefix}${inputWrap.lines[i2]}${RESET}`;
280767
+ const lineContent = `${prefix}${inputWrap.lines[i2]}`;
280768
+ buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_V}${RESET}${PANEL_BG_SEQ}${lineContent}${PANEL_BG_SEQ}\x1B[K\x1B[${row};${w}H${BOX_FG}${BOX_V}${RESET}`;
280766
280769
  }
280767
280770
  const boxInnerS = w - 2;
280768
280771
  buf += `\x1B[${pos.bufferRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_BL}${BOX_H.repeat(Math.max(0, boxInnerS))}${BOX_BR}${RESET}`;
@@ -280779,9 +280782,13 @@ ${CONTENT_BG_SEQ}`);
280779
280782
  } else {
280780
280783
  let buf = "\x1B[?7l";
280781
280784
  for (let i2 = 0; i2 < inputWrap.lines.length; i2++) {
280782
- const row = pos.inputStartRow + i2;
280785
+ const row = pos.inputStartRow + 1 + i2;
280783
280786
  const prefix = i2 === 0 ? this.promptText : " ".repeat(this.promptWidth);
280784
- buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K${prefix}${inputWrap.lines[i2]}${RESET}`;
280787
+ const lineContent = `${prefix}${inputWrap.lines[i2]}`;
280788
+ buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K`;
280789
+ buf += `${BOX_FG}${BOX_V}${RESET}${PANEL_BG_SEQ}${lineContent}`;
280790
+ buf += `${PANEL_BG_SEQ}\x1B[K`;
280791
+ buf += `\x1B[${row};${w}H${BOX_FG}${BOX_V}${RESET}`;
280785
280792
  }
280786
280793
  buf += "\x1B[?7h";
280787
280794
  this.termWrite(buf);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.98",
3
+ "version": "0.187.99",
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",