open-agents-ai 0.138.30 → 0.138.32

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 +18 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -29362,7 +29362,7 @@ function formatMarkdownLine(line) {
29362
29362
  }
29363
29363
  const ulMatch = line.match(/^(\s*)([-*+])\s+(.*)/);
29364
29364
  if (ulMatch) {
29365
- return ulMatch[1] + fg256(MD.listBullet, "\u2022") + " " + formatInlineMarkdown(ulMatch[3]);
29365
+ return ulMatch[1] + fg256(MD.listBullet, "\u25CB") + " " + formatInlineMarkdown(ulMatch[3]);
29366
29366
  }
29367
29367
  const olMatch = line.match(/^(\s*)(\d+[.)])\s+(.*)/);
29368
29368
  if (olMatch) {
@@ -29411,7 +29411,7 @@ function formatMarkdownBlock(text) {
29411
29411
  }
29412
29412
  function renderUserMessage(text) {
29413
29413
  process.stdout.write(`
29414
- ${c2.bold(c2.blue("> "))}${c2.bold(text)}
29414
+ \x1B[38;5;178m\u25B9\x1B[0m ${c2.bold(text)}
29415
29415
  `);
29416
29416
  }
29417
29417
  function renderAssistantText(text) {
@@ -29681,7 +29681,7 @@ function setContentWriteHook(hook) {
29681
29681
  }
29682
29682
  function renderError(message) {
29683
29683
  const redir = _contentWriteHook?.redirect?.();
29684
- const icon = _emojisEnabled ? c2.red("\u2716") : c2.red("E");
29684
+ const icon = _emojisEnabled ? "\x1B[38;5;178m\u2716\x1B[0m" : c2.red("E");
29685
29685
  if (redir) {
29686
29686
  redir(`
29687
29687
  ${icon} ${message}
@@ -29696,7 +29696,7 @@ ${icon} ${message}
29696
29696
  }
29697
29697
  function renderInfo(message) {
29698
29698
  const redir = _contentWriteHook?.redirect?.();
29699
- const icon = _emojisEnabled ? c2.cyan("\u2139") : c2.cyan("i");
29699
+ const icon = _emojisEnabled ? "\x1B[38;5;178m\u2139\x1B[0m" : "\x1B[38;5;178mi\x1B[0m";
29700
29700
  if (redir) {
29701
29701
  redir(`${icon} ${message}
29702
29702
  `);
@@ -29709,7 +29709,7 @@ function renderInfo(message) {
29709
29709
  }
29710
29710
  function renderWarning(message) {
29711
29711
  const redir = _contentWriteHook?.redirect?.();
29712
- const icon = _emojisEnabled ? c2.yellow("\u26A0") : c2.yellow("!");
29712
+ const icon = _emojisEnabled ? "\x1B[38;5;178m\u26A0\x1B[0m" : "\x1B[38;5;178m!\x1B[0m";
29713
29713
  if (redir) {
29714
29714
  redir(`${icon} ${message}
29715
29715
  `);
@@ -29722,7 +29722,7 @@ function renderWarning(message) {
29722
29722
  }
29723
29723
  function renderVerbose(message) {
29724
29724
  const redir = _contentWriteHook?.redirect?.();
29725
- const text = `${c2.dim(` > ${message}`)}
29725
+ const text = ` \x1B[38;5;178m\u25B9\x1B[0m ${c2.dim(message)}
29726
29726
  `;
29727
29727
  if (redir) {
29728
29728
  redir(text);
@@ -45473,7 +45473,7 @@ var init_stream_renderer = __esm({
45473
45473
  }
45474
45474
  const ulMatch = line.match(/^(\s*)([-*+])\s+(.*)/);
45475
45475
  if (ulMatch) {
45476
- return ulMatch[1] + fg2563(PASTEL.blockquote, "\u2022") + " " + this.highlightInline(ulMatch[3]);
45476
+ return ulMatch[1] + fg2563(PASTEL.blockquote, "\u25CB") + " " + this.highlightInline(ulMatch[3]);
45477
45477
  }
45478
45478
  const olMatch = line.match(/^(\s*)(\d+[.)])\s+(.*)/);
45479
45479
  if (olMatch) {
@@ -51591,7 +51591,8 @@ ${CONTENT_BG_SEQ}`);
51591
51591
  buf += "\x1B8";
51592
51592
  buf += "\x1B[?25h";
51593
51593
  buf += "\x1B[?2026l";
51594
- process.stdout.write(buf);
51594
+ const writer = this._origWrite ?? process.stdout.write.bind(process.stdout);
51595
+ writer(buf);
51595
51596
  }
51596
51597
  /**
51597
51598
  * Clear the input row and position cursor there at column 1.
@@ -52285,6 +52286,15 @@ ${CONTENT_BG_SEQ}`);
52285
52286
  self.scrollContentDown(3);
52286
52287
  return;
52287
52288
  }
52289
+ if (self.writeDepth > 0) {
52290
+ const rows = process.stdout.rows ?? 24;
52291
+ const pos = self.rowPositions(rows);
52292
+ const writer = self._origWrite ?? process.stdout.write.bind(process.stdout);
52293
+ writer(`\x1B7\x1B[${pos.inputStartRow};1H`);
52294
+ origTtyWrite(s, key);
52295
+ writer(`\x1B8`);
52296
+ return;
52297
+ }
52288
52298
  return origTtyWrite(s, key);
52289
52299
  };
52290
52300
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.30",
3
+ "version": "0.138.32",
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",