open-agents-ai 0.138.86 → 0.138.88

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 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -37854,8 +37854,9 @@ function tuiSelect(opts) {
37854
37854
  const first = findSelectable(0, 1);
37855
37855
  cursor = first >= 0 ? first : 0;
37856
37856
  }
37857
+ const reservedTopBottom = 6;
37857
37858
  const selectChrome = 3;
37858
- const contentArea = opts.availableRows ?? process.stdout.rows ?? 24;
37859
+ const contentArea = opts.availableRows ?? Math.max(6, (process.stdout.rows ?? 24) - reservedTopBottom);
37859
37860
  const maxVisible = opts.maxVisible ?? Math.max(3, contentArea - selectChrome);
37860
37861
  let scrollOffset = 0;
37861
37862
  let lastRenderedLines = 0;
@@ -52342,7 +52343,9 @@ function renderHeaderButtons(termWidth) {
52342
52343
  fg2 = BTN_HOVER_FG;
52343
52344
  }
52344
52345
  out += `\x1B[${btn.row};${btn.startCol}H`;
52346
+ out += `\x1B]8;;oa-cmd:${btn.command}\x07`;
52345
52347
  out += `\x1B[38;5;${fg2}m\x1B[48;5;${bg}m${btn.label}\x1B[0m`;
52348
+ out += `\x1B]8;;\x07`;
52346
52349
  }
52347
52350
  return out;
52348
52351
  }
@@ -56478,10 +56481,22 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
56478
56481
  headerBtnActive = command;
56479
56482
  (async () => {
56480
56483
  try {
56481
- await writeContentAsync(() => handleSlashCommand(command, commandCtxRef));
56484
+ const needsContentWrap = command === "/help" || command === "/cohere";
56485
+ if (needsContentWrap && statusBar.isActive)
56486
+ statusBar.beginContentWrite();
56487
+ await handleSlashCommand(command, commandCtxRef);
56488
+ if (needsContentWrap && statusBar.isActive)
56489
+ statusBar.endContentWrite();
56482
56490
  } catch {
56491
+ try {
56492
+ if (statusBar.isActive)
56493
+ statusBar.endContentWrite();
56494
+ } catch {
56495
+ }
56483
56496
  }
56484
56497
  headerBtnActive = null;
56498
+ if (statusBar.isActive)
56499
+ statusBar.handleResize();
56485
56500
  })();
56486
56501
  });
56487
56502
  rl.output = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.86",
3
+ "version": "0.138.88",
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",