open-agents-ai 0.139.1 → 0.139.3

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 +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -38643,7 +38643,7 @@ async function startNeovimMode(opts) {
38643
38643
  if (!filtered)
38644
38644
  return;
38645
38645
  if (topOffset > 0) {
38646
- filtered = filtered.replace(/\x1B\[(\d+)(;\d+)?H/g, (_m, row, col) => `\x1B[${parseInt(row) + topOffset}${col ?? ""}H`);
38646
+ filtered = filtered.replace(/\x1B\[(\d+);(\d+)H/g, (_m, row, col) => `\x1B[${parseInt(row) + topOffset};${col}H`).replace(/\x1B\[(\d+)H/g, (_m, row) => `\x1B[${parseInt(row) + topOffset}H`).replace(/\x1B\[H/g, `\x1B[${topOffset + 1}H`).replace(/\x1B\[(\d+)d/g, (_m, row) => `\x1B[${parseInt(row) + topOffset}d`);
38647
38647
  }
38648
38648
  if (!state.focused) {
38649
38649
  process.stdout.write("\x1B7" + filtered + "\x1B8");
@@ -38675,6 +38675,9 @@ async function startNeovimMode(opts) {
38675
38675
  stdin.setRawMode(true);
38676
38676
  }
38677
38677
  stdin.resume();
38678
+ if (isTTY5) {
38679
+ process.stdout.write("\x1B[?1002h\x1B[?1006h");
38680
+ }
38678
38681
  state.stdinHandler = (data) => {
38679
38682
  if (state.cleanedUp)
38680
38683
  return;
@@ -38892,6 +38895,7 @@ function toggleFocus(state) {
38892
38895
  if (state.stdinHandler) {
38893
38896
  stdin.on("data", state.stdinHandler);
38894
38897
  }
38898
+ process.stdout.write("\x1B[?1002h\x1B[?1006h");
38895
38899
  if (state.nvim) {
38896
38900
  state.nvim.command("redraw!").catch(() => {
38897
38901
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.139.1",
3
+ "version": "0.139.3",
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",