open-agents-ai 0.185.51 → 0.185.52

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 +27 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -41418,21 +41418,42 @@ var init_daemon_registry = __esm({
41418
41418
  d.status = "stopped";
41419
41419
  }
41420
41420
  }
41421
- /** Render the monitoring bar as an ANSI string */
41421
+ /**
41422
+ * Render the monitoring bar as an ANSI string.
41423
+ *
41424
+ * Each button is rendered with a slightly lighter grey background (236)
41425
+ * against the panel background (234), giving a subtle raised-button look
41426
+ * without bracket characters. Status dot is colored inline.
41427
+ *
41428
+ * Daemon buttons: magenta text on 236 bg
41429
+ * Call agent buttons: yellow text on 236 bg
41430
+ * Task agent buttons: cyan text on 236 bg
41431
+ */
41422
41432
  renderBar(width) {
41423
41433
  this.refresh();
41434
+ const BTN_BG = "\x1B[48;5;236m";
41435
+ const RST = "\x1B[0m";
41424
41436
  let bar = "";
41425
41437
  for (const [, d] of this.daemons) {
41426
- const dot = d.status === "running" ? "\x1B[32m\u25CF\x1B[0m" : d.status === "error" ? "\x1B[31m\u25CF\x1B[0m" : d.status === "starting" ? "\x1B[33m\u25CF\x1B[0m" : "\x1B[31m\u25CF\x1B[0m";
41427
- bar += ` \x1B[35m[${d.name} ${dot}\x1B[35m]\x1B[0m`;
41438
+ const dotColor = d.status === "running" ? "32" : (
41439
+ // green
41440
+ d.status === "error" ? "31" : (
41441
+ // red
41442
+ d.status === "starting" ? "33" : (
41443
+ // yellow
41444
+ "31"
41445
+ )
41446
+ )
41447
+ );
41448
+ bar += ` ${BTN_BG}\x1B[35m ${d.name} \x1B[${dotColor}m\u25CF\x1B[35m ${RST}`;
41428
41449
  }
41429
41450
  for (const [, a] of this.subAgents) {
41430
41451
  if (a.status === "completed")
41431
41452
  continue;
41432
- const dot = a.status === "active" ? "\x1B[32m\u25CF\x1B[0m" : "\x1B[33m\u25CF\x1B[0m";
41433
- const color = a.type === "call" ? "\x1B[33m" : "\x1B[36m";
41453
+ const dotColor = a.status === "active" ? "32" : "33";
41454
+ const fgColor = a.type === "call" ? "33" : "36";
41434
41455
  const label = `${a.type}:${a.id.length > 6 ? a.id.slice(-6) : a.id}`;
41435
- bar += ` ${color}[${label} ${dot}${color}]\x1B[0m`;
41456
+ bar += ` ${BTN_BG}\x1B[${fgColor}m ${label} \x1B[${dotColor}m\u25CF\x1B[${fgColor}m ${RST}`;
41436
41457
  }
41437
41458
  if (!bar) {
41438
41459
  return " \x1B[38;5;240m\u2800 no active daemons\x1B[0m";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.185.51",
3
+ "version": "0.185.52",
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",