open-agents-ai 0.138.99 → 0.139.0

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
@@ -37863,8 +37863,8 @@ function tuiSelect(opts) {
37863
37863
  }
37864
37864
  const reservedTopBottom = 6;
37865
37865
  const hasCrumbs = opts.breadcrumbs && opts.breadcrumbs.length > 0;
37866
- const selectChrome = hasCrumbs ? 8 : 7;
37867
- const contentArea = opts.availableRows ?? Math.max(6, (process.stdout.rows ?? 24) - reservedTopBottom);
37866
+ const selectChrome = (hasCrumbs ? 11 : 10) + 3;
37867
+ const contentArea = opts.availableRows ? opts.availableRows + reservedTopBottom : process.stdout.rows ?? 24;
37868
37868
  const maxVisible = opts.maxVisible ?? Math.max(3, contentArea - selectChrome);
37869
37869
  let scrollOffset = 0;
37870
37870
  let lastRenderedLines = 0;
@@ -37905,6 +37905,7 @@ function tuiSelect(opts) {
37905
37905
  function render() {
37906
37906
  overlayWrite("\x1B[48;5;234m\x1B[H\x1B[2J");
37907
37907
  const lines = [];
37908
+ lines.push("", "", "");
37908
37909
  if (hasBreadcrumbs) {
37909
37910
  const trail = opts.breadcrumbs.map((b) => selectColors.dim(b)).join(selectColors.dim(" \u203A "));
37910
37911
  lines.push(`
@@ -46533,6 +46534,20 @@ var init_banner = __esm({
46533
46534
  buf += `\x1B]8;;oa-cmd:/update\x07`;
46534
46535
  buf += `\x1B[1;${badgeStart}H\x1B[1;38;5;${updateFg}m\x1B[48;5;236m${badge}`;
46535
46536
  buf += `\x1B]8;;\x07`;
46537
+ const mnemonicStartCol = badgeStart + badge.length;
46538
+ const gridRow = frame.grid[0];
46539
+ if (gridRow) {
46540
+ const origMnemonicStart = vStart - 1 + vLen;
46541
+ let mnBuf = `\x1B[1;${mnemonicStartCol}H\x1B[0;38;5;240m\x1B[48;5;${bgDark}m`;
46542
+ for (let c3 = origMnemonicStart; c3 < gridRow.length && c3 < Math.floor(this.width * 0.44); c3++) {
46543
+ const cell = gridRow[c3];
46544
+ if (cell && cell.char !== " " && !cell.bold)
46545
+ mnBuf += cell.char;
46546
+ else if (cell)
46547
+ mnBuf += cell.char;
46548
+ }
46549
+ buf += mnBuf;
46550
+ }
46536
46551
  }
46537
46552
  buf += "\x1B[0m";
46538
46553
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.99",
3
+ "version": "0.139.0",
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",