open-agents-ai 0.138.12 → 0.138.13

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 +6 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -52104,6 +52104,9 @@ var init_status_bar = __esm({
52104
52104
  rl._ttyWrite = function(s, key) {
52105
52105
  if (!self.active)
52106
52106
  return origTtyWrite(s, key);
52107
+ if (s && (/\x1B\[</.test(s) || /^\d+;\d+;\d*[Mm]/.test(s) || /^;\d+[Mm]/.test(s) || /\[<\d/.test(s))) {
52108
+ return;
52109
+ }
52107
52110
  if (key?.name === "pageup" || s === "\x1B[5~") {
52108
52111
  self.pageUpContent();
52109
52112
  return;
@@ -53313,9 +53316,9 @@ async function startInteractive(config, repoPath) {
53313
53316
  initOaDirectory(repoRoot);
53314
53317
  const savedSettings = resolveSettings(repoRoot);
53315
53318
  if (process.stdout.isTTY && !isResumed) {
53316
- process.stdout.write("\x1B[?1049h\x1B[2J\x1B[3J\x1B[H\x1B[?25l");
53319
+ process.stdout.write("\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?1015l\x1B[?1049h\x1B[2J\x1B[3J\x1B[H\x1B[?25l");
53317
53320
  const restoreScreen = () => {
53318
- process.stdout.write("\x1B[?25h\x1B[?1049l");
53321
+ process.stdout.write("\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?1015l\x1B[?25h\x1B[?1049l");
53319
53322
  };
53320
53323
  process.on("exit", restoreScreen);
53321
53324
  process.on("SIGINT", () => {
@@ -53390,7 +53393,7 @@ async function startInteractive(config, repoPath) {
53390
53393
  const version = getVersion3();
53391
53394
  if (isResumed) {
53392
53395
  if (process.stdout.isTTY) {
53393
- process.stdout.write("\x1B[?1049h\x1B[2J\x1B[3J\x1B[H\x1B[?25l");
53396
+ process.stdout.write("\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?1015l\x1B[?1049h\x1B[2J\x1B[3J\x1B[H\x1B[?25l");
53394
53397
  const restoreScreen = () => {
53395
53398
  process.stdout.write("\x1B[?25h\x1B[?1049l");
53396
53399
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.12",
3
+ "version": "0.138.13",
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",