agents-deck 1.22.0 → 1.23.1

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/bin/agent-dag.js CHANGED
@@ -82,28 +82,35 @@ const sleep = ms => new Promise(r => setTimeout(r, ms));
82
82
 
83
83
  // ── Animated banner ───────────────────────────────────────────────────────────
84
84
  async function printBanner() {
85
- const IW = 38; // inner visible width between ║ chars
86
- const pad = (visLen) => " ".repeat(Math.max(0, IW - visLen));
87
- const HR = "═".repeat(IW);
88
-
89
- // Each entry: [rendered string with ANSI, visible char count, left-border color, right-border color]
90
- const rows = [
91
- { l: ` ${C.bCyan}${C.bold}◉${C.reset} ${C.white}${C.bold}agents-deck${C.reset} ${C.dim}v${PKG_VERSION}${C.reset}`, vis: 19 + PKG_VERSION.length, lc: C.blue, rc: C.blue },
92
- { l: ` ${C.dim}live DAG · Claude Code + Codex${C.reset}`, vis: 32, lc: C.magenta, rc: C.magenta },
93
- { l: ` ${C.yellow}watch agents fork ${C.cyan}→${C.reset} ${C.green}tools fire${C.reset}`, vis: 34, lc: C.bMag, rc: C.bMag },
85
+ // figlet slant font hardcoded, no runtime dep
86
+ const ART = [
87
+ ' __ __ __ ',
88
+ ' ____ _____ ____ ____ / /______ ____/ /__ _____/ /__',
89
+ ' / __ `/ __ `/ _ \\/ __ \\/ __/ ___/_____/ __ / _ \\/ ___/ //_/',
90
+ '/ /_/ / /_/ / __/ / / / /_(__ )_____/ /_/ / __/ /__/ ,< ',
91
+ '\\__,_/\\__, /\\___/_/ /_/\\__/____/ \\__,_/\\___/\\___/_/|_| ',
92
+ ' /____/ ',
94
93
  ];
94
+ const COLORS = [C.dim, C.blue, C.cyan, C.bCyan, C.magenta, C.dim];
95
95
 
96
- const lines = [
97
- "",
98
- ` ${C.cyan}${C.bold}╔${HR}╗${C.reset}`,
99
- ...rows.map(r => ` ${r.lc}${C.bold}║${C.reset}${r.l}${pad(r.vis)}${r.rc}${C.bold}║${C.reset}`),
100
- ` ${C.cyan}${C.bold}╚${HR}╝${C.reset}`,
101
- "",
102
- ];
103
- for (const line of lines) {
104
- process.stdout.write(line + "\n");
105
- if (tty) await sleep(45);
96
+ process.stdout.write('\n');
97
+
98
+ if (tty) {
99
+ const frames = ['⠋','⠙','⠹','⠸','⠼','⠴','⠦','⠧','⠇','⠏'];
100
+ for (let i = 0; i < 8; i++) {
101
+ process.stdout.write(`\r ${C.bCyan}${frames[i % frames.length]}${C.reset} ${C.dim}loading…${C.reset}`);
102
+ await sleep(70);
103
+ }
104
+ process.stdout.write('\r' + ' '.repeat(28) + '\n');
105
+ await sleep(40);
106
106
  }
107
+
108
+ for (let i = 0; i < ART.length; i++) {
109
+ process.stdout.write(` ${COLORS[i]}${ART[i]}${C.reset}\n`);
110
+ if (tty) await sleep(38);
111
+ }
112
+
113
+ process.stdout.write(`\n ${C.dim}v${PKG_VERSION} · live agent DAG · Claude Code + Codex${C.reset}\n\n`);
107
114
  }
108
115
 
109
116
  // ── Spinner ───────────────────────────────────────────────────────────────────