open-agents-ai 0.187.405 → 0.187.407

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.
package/dist/index.js CHANGED
@@ -532784,7 +532784,7 @@ var init_status_bar = __esm({
532784
532784
  buf += `\x1B[${hdrRow};${w - 1}H`;
532785
532785
  buf += rightArrow;
532786
532786
  }
532787
- buf += `\x1B[${hdrRow};${w}H${BOX_FG}│${RESET2}`;
532787
+ buf += `\x1B[${hdrRow};${w}H${BOX_FG}│${RESET2}${PANEL_BG_SEQ}`;
532788
532788
  buf += "\x1B8";
532789
532789
  this.termWrite(buf);
532790
532790
  }
@@ -533924,11 +533924,11 @@ var init_status_bar = __esm({
533924
533924
  for (let i2 = 0; i2 < inputWrap.lines.length; i2++) {
533925
533925
  const row = pos.inputStartRow + i2;
533926
533926
  const prefix = i2 === 0 ? this.promptText : " ".repeat(this.promptWidth);
533927
- buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K${prefix}${inputWrap.lines[i2]}${RESET2}`;
533927
+ buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K${prefix}${inputWrap.lines[i2]}${RESET2}${PANEL_BG_SEQ}`;
533928
533928
  }
533929
533929
  const boxInnerP = w - 2;
533930
- buf += `\x1B[${pos.bufferRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_BL}${BOX_H.repeat(Math.max(0, boxInnerP))}${BOX_BR}${RESET2}`;
533931
- buf += `\x1B[${pos.metricsRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildMetricsLine()}${RESET2}\x1B[?7h\x1B[${pos.inputStartRow};1H`;
533930
+ buf += `\x1B[${pos.bufferRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_BL}${BOX_H.repeat(Math.max(0, boxInnerP))}${BOX_BR}${RESET2}${PANEL_BG_SEQ}`;
533931
+ buf += `\x1B[${pos.metricsRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildMetricsLine()}${RESET2}${PANEL_BG_SEQ}\x1B[?7h\x1B[${pos.inputStartRow};1H`;
533932
533932
  this.termWrite(buf);
533933
533933
  if (this._bannerRefresh) this._bannerRefresh();
533934
533934
  } else {
@@ -534735,7 +534735,7 @@ ${CONTENT_BG_SEQ}`);
534735
534735
  if (fullLine.length <= availWidth) {
534736
534736
  let displayLine;
534737
534737
  if (ghost) {
534738
- displayLine = fullLine + `\x1B[7m\x1B[38;5;${TEXT_DIM}m${ghost[0]}\x1B[0m\x1B[2m\x1B[38;5;${TEXT_DIM}m${ghost.slice(1)}\x1B[0m`;
534738
+ displayLine = fullLine + `\x1B[7m\x1B[38;5;${TEXT_DIM}m${ghost[0]}\x1B[0m${PANEL_BG_SEQ}\x1B[2m\x1B[38;5;${TEXT_DIM}m${ghost.slice(1)}\x1B[0m${PANEL_BG_SEQ}`;
534739
534739
  } else {
534740
534740
  displayLine = _StatusBar.insertVisualCursor(fullLine, cursorPos);
534741
534741
  }
@@ -534831,7 +534831,7 @@ ${CONTENT_BG_SEQ}`);
534831
534831
  const inputWrap = this.wrapInput(w);
534832
534832
  let buf = "\x1B[?7l";
534833
534833
  const boxInner = w - 2;
534834
- buf += `\x1B[${pos.inputStartRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_TL}${BOX_H.repeat(Math.max(0, boxInner))}${BOX_TR}${RESET2}`;
534834
+ buf += `\x1B[${pos.inputStartRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_TL}${BOX_H.repeat(Math.max(0, boxInner))}${BOX_TR}${RESET2}${PANEL_BG_SEQ}`;
534835
534835
  const Lspacer = layout();
534836
534836
  const spacerRow = pos.inputStartRow - 1;
534837
534837
  const tasksOccupiesSpacer = Lspacer.tasksHeight > 0 && spacerRow >= Lspacer.tasksTop && spacerRow <= Lspacer.tasksBottom;
@@ -534845,7 +534845,7 @@ ${CONTENT_BG_SEQ}`);
534845
534845
  buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K`;
534846
534846
  buf += `${BOX_FG}${BOX_V}${RESET2}${PANEL_BG_SEQ}${lineContent}`;
534847
534847
  buf += `${PANEL_BG_SEQ}\x1B[K`;
534848
- buf += `\x1B[${row};${w}H${BOX_FG}${BOX_V}${RESET2}`;
534848
+ buf += `\x1B[${row};${w}H${BOX_FG}${BOX_V}${RESET2}${PANEL_BG_SEQ}`;
534849
534849
  }
534850
534850
  const cursorTermRow = pos.inputStartRow + 1 + inputWrap.cursorRow;
534851
534851
  if (this._suggestions.length > 0 && pos.suggestStartRow > 0) {
@@ -534857,17 +534857,17 @@ ${CONTENT_BG_SEQ}`);
534857
534857
  const fg3 = isHighlighted ? `\x1B[1;38;5;${TEXT_PRIMARY}m` : `\x1B[38;5;${TEXT_PRIMARY}m`;
534858
534858
  const slash = isHighlighted ? `\x1B[38;5;245m` : `\x1B[38;5;${TEXT_DIM}m`;
534859
534859
  const marker = isHighlighted ? `\x1B[38;5;${TEXT_PRIMARY}m› ` : " ";
534860
- buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_V}${RESET2}`;
534860
+ buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_V}${RESET2}${PANEL_BG_SEQ}`;
534861
534861
  buf += `${bg2} ${marker}${slash}/${fg3}${cmd}`;
534862
534862
  buf += `${PANEL_BG_SEQ}\x1B[K`;
534863
- buf += `\x1B[${row};${w}H${BOX_FG}${BOX_V}${RESET2}`;
534863
+ buf += `\x1B[${row};${w}H${BOX_FG}${BOX_V}${RESET2}${PANEL_BG_SEQ}`;
534864
534864
  }
534865
534865
  const suggestBottomRow = pos.suggestStartRow + this._suggestions.length;
534866
- buf += `\x1B[${suggestBottomRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_BL}${BOX_H.repeat(Math.max(0, boxInner))}${BOX_BR}${RESET2}`;
534866
+ buf += `\x1B[${suggestBottomRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_BL}${BOX_H.repeat(Math.max(0, boxInner))}${BOX_BR}${RESET2}${PANEL_BG_SEQ}`;
534867
534867
  } else {
534868
- buf += `\x1B[${pos.bufferRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_BL}${BOX_H.repeat(Math.max(0, boxInner))}${BOX_BR}${RESET2}`;
534868
+ buf += `\x1B[${pos.bufferRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_BL}${BOX_H.repeat(Math.max(0, boxInner))}${BOX_BR}${RESET2}${PANEL_BG_SEQ}`;
534869
534869
  }
534870
- buf += `\x1B[${pos.metricsRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildMetricsLine()}${RESET2}`;
534870
+ buf += `\x1B[${pos.metricsRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildMetricsLine()}${RESET2}${PANEL_BG_SEQ}`;
534871
534871
  buf += "\x1B[?7h";
534872
534872
  if (this.writeDepth === 0) {
534873
534873
  buf += `\x1B[${cursorTermRow};${inputWrap.cursorCol}H${CURSOR_BLINK_BLOCK}\x1B[?25h`;
@@ -534917,7 +534917,7 @@ ${CONTENT_BG_SEQ}`);
534917
534917
  } else {
534918
534918
  buf += `\x1B[${pos.bufferRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_BL}${BOX_H.repeat(Math.max(0, boxInnerR))}${BOX_BR}${RESET2}`;
534919
534919
  }
534920
- buf += `\x1B[${pos.metricsRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildMetricsLine()}${RESET2}\x1B[?7h\x1B8` + // DEC restore cursor
534920
+ buf += `\x1B[${pos.metricsRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildMetricsLine()}${RESET2}${PANEL_BG_SEQ}\x1B[?7h\x1B8` + // DEC restore cursor
534921
534921
  (this.writeDepth === 0 ? `${CURSOR_BLINK_BLOCK}\x1B[?25h` : "");
534922
534922
  this.termWrite(buf);
534923
534923
  if (pos.tabBarRow > 0) this.renderAgentTabs();
@@ -534979,7 +534979,7 @@ ${CONTENT_BG_SEQ}`);
534979
534979
  buf += `\x1B[${row};1H${PANEL_BG_SEQ}\x1B[2K`;
534980
534980
  buf += `${BOX_FG}${BOX_V}${RESET2}${PANEL_BG_SEQ}${lineContent}`;
534981
534981
  buf += `${PANEL_BG_SEQ}\x1B[K`;
534982
- buf += `\x1B[${row};${w}H${BOX_FG}${BOX_V}${RESET2}`;
534982
+ buf += `\x1B[${row};${w}H${BOX_FG}${BOX_V}${RESET2}${PANEL_BG_SEQ}`;
534983
534983
  }
534984
534984
  buf += "\x1B[?7h";
534985
534985
  this.termWrite(buf);
@@ -549893,7 +549893,7 @@ async function handleEndpoint(arg, ctx3, local = false) {
549893
549893
  await handleSponsoredEndpoint(ctx3, local);
549894
549894
  return;
549895
549895
  }
549896
- if (result.confirmed && result.key) {
549896
+ if (result.confirmed && result.key && !result.key.startsWith("__")) {
549897
549897
  const selectedRecord = history.find((h) => h.value === result.key);
549898
549898
  const savedAuth = selectedRecord?.meta?.authKey;
549899
549899
  const endpointArg = savedAuth ? `${result.key} --auth ${savedAuth}` : result.key;
@@ -549949,6 +549949,8 @@ async function handleEndpoint(arg, ctx3, local = false) {
549949
549949
  await handleEndpoint(addedUrl, ctx3, local);
549950
549950
  } else if (noHistResult.confirmed && noHistResult.key === "__sponsor__") {
549951
549951
  await handleSponsoredEndpoint(ctx3, local);
549952
+ } else if (noHistResult.confirmed && noHistResult.key && !noHistResult.key.startsWith("__")) {
549953
+ await handleEndpoint(noHistResult.key, ctx3, local);
549952
549954
  } else if (!noHistResult.confirmed) {
549953
549955
  renderInfo2("Endpoint selection cancelled.");
549954
549956
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.405",
3
+ "version": "0.187.407",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "open-agents-ai",
9
- "version": "0.187.405",
9
+ "version": "0.187.407",
10
10
  "hasInstallScript": true,
11
11
  "license": "CC-BY-NC-4.0",
12
12
  "dependencies": {
@@ -2773,9 +2773,9 @@
2773
2773
  "license": "MIT"
2774
2774
  },
2775
2775
  "node_modules/axios": {
2776
- "version": "1.15.0",
2777
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz",
2778
- "integrity": "sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==",
2776
+ "version": "1.15.1",
2777
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.1.tgz",
2778
+ "integrity": "sha512-WOG+Jj8ZOvR0a3rAn+Tuf1UQJRxw5venr6DgdbJzngJE3qG7X0kL83CZGpdHMxEm+ZK3seAbvFsw4FfOfP9vxg==",
2779
2779
  "license": "MIT",
2780
2780
  "dependencies": {
2781
2781
  "follow-redirects": "^1.15.11",
@@ -4146,9 +4146,9 @@
4146
4146
  }
4147
4147
  },
4148
4148
  "node_modules/eventsource-parser": {
4149
- "version": "3.0.7",
4150
- "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.7.tgz",
4151
- "integrity": "sha512-zwxwiQqexizSXFZV13zMiEtW1E3lv7RlUv+1f5FBiR4x7wFhEjm3aFTyYkZQWzyN08WnPdox015GoRH5D/E5YA==",
4149
+ "version": "3.0.8",
4150
+ "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.8.tgz",
4151
+ "integrity": "sha512-70QWGkr4snxr0OXLRWsFLeRBIRPuQOvt4s8QYjmUlmlkyTZkRqS7EDVRZtzU3TiyDbXSzaOeF0XUKy8PchzukQ==",
4152
4152
  "license": "MIT",
4153
4153
  "engines": {
4154
4154
  "node": ">=18.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.405",
3
+ "version": "0.187.407",
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",