spawn/packages
Claude cb72cb6740 fix(hermes): surface dashboard launch failures with a real diagnostic block
`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.
2026-05-13 14:52:42 +00:00
..
cli fix(hermes): surface dashboard launch failures with a real diagnostic block 2026-05-13 14:52:42 +00:00
shared fix: rethrow normalized Error in tryCatchIf/asyncTryCatchIf (#2930) 2026-03-23 19:33:05 -07:00