open-agents-ai 0.187.64 → 0.187.65

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 +15 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -278286,10 +278286,10 @@ var init_status_bar = __esm({
278286
278286
  const leftArrow = hasMultiple ? `\x1B]8;;oa-cmd:header-prev\x07\x1B[38;5;${TEXT_DIM}m${this._headerPanelIndex > 0 ? "\u25C0" : " "}\x1B]8;;\x07` : " ";
278287
278287
  const rightArrow = hasMultiple ? `\x1B]8;;oa-cmd:header-next\x07\x1B[38;5;${TEXT_DIM}m${this._headerPanelIndex < this._headerPanels.length - 1 ? "\u25B6" : " "}\x1B]8;;\x07` : " ";
278288
278288
  let buf = "\x1B7";
278289
- buf += `\x1B[2;1H\x1B[48;5;0m\x1B[2K`;
278290
- buf += `${BOX_FG}\u2502${RESET}\x1B[48;5;0m`;
278289
+ buf += `\x1B[2;1H${PANEL_BG_SEQ}\x1B[2K`;
278290
+ buf += `${BOX_FG}\u2502${RESET}${PANEL_BG_SEQ}`;
278291
278291
  buf += leftArrow;
278292
- buf += `\x1B[38;5;${TEXT_PRIMARY}m\x1B[48;5;0m`;
278292
+ buf += `\x1B[38;5;${TEXT_PRIMARY}m${PANEL_BG_SEQ}`;
278293
278293
  buf += content;
278294
278294
  buf += `\x1B[2;${w - 1}H`;
278295
278295
  buf += rightArrow;
@@ -284481,11 +284481,11 @@ async function startNeovimMode(opts) {
284481
284481
  if (!isTTY5)
284482
284482
  return;
284483
284483
  let buf = "\x1B7";
284484
- buf += `\x1B[2;1H\x1B[48;5;0m\x1B[2K`;
284484
+ buf += `\x1B[2;1H\x1B[49m\x1B[2K`;
284485
284485
  for (const btn of toolbarBtns) {
284486
284486
  buf += `\x1B[2;${btn.startCol}H`;
284487
284487
  buf += `\x1B]8;;oa-cmd:${btn.action}\x07`;
284488
- buf += `\x1B[38;5;245m\x1B[48;5;0m${btn.label}`;
284488
+ buf += `\x1B[38;5;245m\x1B[49m${btn.label}`;
284489
284489
  buf += `\x1B]8;;\x07`;
284490
284490
  }
284491
284491
  buf += "\x1B[0m\x1B8";
@@ -293928,7 +293928,7 @@ async function handleUpdate(subcommand, ctx3) {
293928
293928
  const contentHeight = Math.max(5, contentBottom - contentTop + 1);
293929
293929
  let buf = "\x1B[?2026h\x1B7\x1B[?25l";
293930
293930
  for (let r2 = contentTop; r2 <= contentBottom; r2++) {
293931
- buf += `\x1B[${r2};1H\x1B[48;5;0m\x1B[2K`;
293931
+ buf += `\x1B[${r2};1H\x1B[49m\x1B[2K`;
293932
293932
  }
293933
293933
  const centerRow = contentTop + Math.floor(contentHeight / 2);
293934
293934
  const centerCol = Math.floor(cols / 2);
@@ -294001,7 +294001,7 @@ async function handleUpdate(subcommand, ctx3) {
294001
294001
  const contentBottom = rows - 5;
294002
294002
  let buf = "\x1B7";
294003
294003
  for (let r2 = contentTop; r2 <= contentBottom; r2++) {
294004
- buf += `\x1B[${r2};1H\x1B[48;5;0m\x1B[2K`;
294004
+ buf += `\x1B[${r2};1H\x1B[49m\x1B[2K`;
294005
294005
  }
294006
294006
  buf += "\x1B8";
294007
294007
  process.stdout.write(buf);
@@ -296611,7 +296611,7 @@ var init_banner = __esm({
296611
296611
  this.width = process.stdout.columns ?? 80;
296612
296612
  let buf = "\x1B[?2026h";
296613
296613
  for (let r2 = 0; r2 < this.rows; r2++) {
296614
- buf += `\x1B[${r2 + 1};1H\x1B[2K`;
296614
+ buf += `\x1B[${r2 + 1};1H${tuiBg() >= 0 ? `\x1B[48;5;${tuiBg()}m` : "\x1B[49m"}\x1B[2K`;
296615
296615
  const row = frame.grid[r2];
296616
296616
  if (!row)
296617
296617
  continue;
@@ -297152,14 +297152,14 @@ var init_stream_renderer = __esm({
297152
297152
  this.lineStarted = false;
297153
297153
  }
297154
297154
  if (this.thinkingTokenCount % 50 === 0) {
297155
- this.writeRaw(`\x1B[1A\x1B[48;5;0m\x1B[2K${dimText(" \u23BF ")}${dimItalic(`thinking... (${this.thinkingTokenCount} tokens)`)}
297155
+ this.writeRaw(`\x1B[1A\x1B[49m\x1B[2K${dimText(" \u23BF ")}${dimItalic(`thinking... (${this.thinkingTokenCount} tokens)`)}
297156
297156
  `);
297157
297157
  }
297158
297158
  return;
297159
297159
  }
297160
297160
  if (this.thinkingIndicatorShown && kind === "content") {
297161
297161
  this.thinkingIndicatorShown = false;
297162
- this.writeRaw(`\x1B[1A\x1B[48;5;0m\x1B[2K${dimText(" \u23BF ")}${dimItalic(`thought for ${this.thinkingTokenCount} tokens`)}
297162
+ this.writeRaw(`\x1B[1A\x1B[49m\x1B[2K${dimText(" \u23BF ")}${dimItalic(`thought for ${this.thinkingTokenCount} tokens`)}
297163
297163
  `);
297164
297164
  this.thinkingTokenCount = 0;
297165
297165
  this.lineStarted = false;
@@ -308517,7 +308517,9 @@ async function startInteractive(config, repoPath) {
308517
308517
  let restoredSessionContext = null;
308518
308518
  if (process.stdout.isTTY) {
308519
308519
  process.stdout.write("\x1B[2J\x1B[3J\x1B]50;ClearScrollback\x07\x1B[H");
308520
- process.stdout.write(`\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?1015l\x1B[?1049h\x1B[48;5;0m\x1B[2J\x1B[3J\x1B[H\x1B[1;${process.stdout.rows ?? 24}r\x1B[?25l`);
308520
+ process.stdout.write("\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?1015l\x1B[?1049h" + // enter alternate screen buffer
308521
+ tuiBgSeq() + // theme bg for content area
308522
+ `\x1B[2J\x1B[3J\x1B[H\x1B[1;${process.stdout.rows ?? 24}r\x1B[?25l`);
308521
308523
  const restoreScreen = () => {
308522
308524
  process.stdout.write("\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?1015l\x1B[?25h\x1B[?1049l");
308523
308525
  };
@@ -309125,7 +309127,7 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
309125
309127
  const RECALL_WINDOW_MS = 1500;
309126
309128
  let sessionSudoPassword = null;
309127
309129
  let sudoPromptPending = false;
309128
- const panelBg = "\x1B[48;5;0m";
309130
+ const panelBg = tuiBgSeq();
309129
309131
  const idlePrompt = `${panelBg}${c3.bold(c3.white("\u276F "))}${panelBg}`;
309130
309132
  const activePrompt = `${panelBg}${c3.bold(c3.white("+ "))}${panelBg}`;
309131
309133
  const pausedPrompt = `${panelBg}${c3.bold(c3.yellow("| "))}${panelBg}`;
@@ -312305,6 +312307,7 @@ var init_interactive = __esm({
312305
312307
  init_stream_renderer();
312306
312308
  init_tui_select();
312307
312309
  init_edit_history();
312310
+ init_theme();
312308
312311
  init_dream_engine();
312309
312312
  init_bless_engine();
312310
312313
  init_dmn_engine();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.64",
3
+ "version": "0.187.65",
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",