mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-18 06:20:35 +00:00
`startHermesDashboard()` previously hid every failure behind the generic warning "Hermes web dashboard failed to start — TUI still available". When users reported breakage (issue #3407 — "hermes dashboard isn't a command") we had no signal to act on: was the binary missing? subcommand gone? fastapi/uvicorn lazy-install failed? web dist build failed? Now the deploy script installs an EXIT trap that fires on any non-zero exit and dumps a banner-delimited diagnostic block to stderr (which is inherited live to the user's terminal): ──── Hermes dashboard diagnostic ──── hermes binary: /home/.../venv/bin/hermes hermes version: Hermes Agent v0.13.0 (2026.5.7) hermes subcommands: includes "dashboard" ─── /tmp/hermes-dashboard.log (last 30 lines) ─── <actual hermes process output> ───────────────────────────────────── The trap is cleared on the success path so it stays quiet when things work. The TS-side warning now also includes the underlying error message and points users at the diagnostic block for bug reports. Bumps `@openrouter/spawn` to 1.0.45. Verified locally: installed hermes-agent v0.13.0 (2026.5.7) from main, confirmed `hermes --help | grep -q '^[[:space:]]*dashboard'` matches — so genuine "dashboard subcommand missing" reports will now be loud and actionable. Refs #3407. |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||