Files
hermes-agent/hermes_cli
BearHuddleston 2566e6f829 fix(gateway): a sealed bundle never falls back to its own WhatsApp bridge dir
resolve_whatsapp_bridge_dir() skipped the write probe on a desktop bundle,
but when creating the HERMES_HOME mirror failed (a deleted profile home,
an unwritable HERMES_HOME, a failed copy) it still returned the install
tree. On a bundle that is the bridge inside the signed .app, and the
callers npm install into whatever dir they get: CLI setup, dashboard
pairing and the adapter's package.json reinstall would write node_modules
into Hermes Agent.app.

A bundled payload now raises WhatsAppBridgeUnavailable with the mirror
path and the cause instead. Dashboard pairing already reports a raised
error as the pairing failure and the gateway logs a failed adapter
build; `hermes whatsapp` prints the reason and stops before any install.
Non-bundled installs keep the install-tree fallback.
2026-11-28 11:34:20 -06:00
..
…
…
…
…
…
…
…
…
…
…
…
…