hermes-agent/apps/desktop/electron
Brooklyn Nicholson 5aade4bc57 fix(desktop): align fresh-install home so upgraders don't brick
Two related first-launch bugs on machines with a legacy ~/.hermes:

- install.ps1 hardcoded $HermesHome/$InstallDir to %LOCALAPPDATA%\hermes
  and ignored the HERMES_HOME the desktop passes through. The desktop
  freezes HERMES_HOME at module load and prefers a legacy ~/.hermes when
  %LOCALAPPDATA%\hermes is absent, so the installer wrote to a different
  home than the shell read -> "Could not connect to Hermes gateway". Honor
  $env:HERMES_HOME in the param defaults.

- isBootstrapComplete() trusted the marker + checkout without verifying a
  runnable venv, so an interrupted/split install spawned a dead backend
  instead of re-bootstrapping. Also require the venv python to exist.
2026-05-29 23:55:32 -05:00
..
backend-probes.cjs fix(desktop): probe steps 4 & 5 of resolveHermesBackend before trusting 2026-05-20 14:41:23 -04:00
backend-probes.test.cjs fix(desktop): probe steps 4 & 5 of resolveHermesBackend before trusting 2026-05-20 14:41:23 -04:00
bootstrap-platform.cjs feat(desktop): lead onboarding with Nous Portal + fix fresh-install detection (#34970) 2026-05-29 17:00:45 -05:00
bootstrap-platform.test.cjs feat(desktop): lead onboarding with Nous Portal + fix fresh-install detection (#34970) 2026-05-29 17:00:45 -05:00
bootstrap-runner.cjs feat(desktop): thin installer + first-launch install.ps1 bootstrap 2026-05-18 02:26:46 -04:00
entitlements.mac.inherit.plist ci(desktop): automate desktop releases 2026-05-05 13:04:33 -05:00
entitlements.mac.plist ci(desktop): automate desktop releases 2026-05-05 13:04:33 -05:00
hardening.cjs feat(desktop): reconcile live tool events, polish thread chrome, harden boot 2026-05-11 21:38:47 -04:00
hardening.test.cjs feat(desktop): reconcile live tool events, polish thread chrome, harden boot 2026-05-11 21:38:47 -04:00
main.cjs fix(desktop): align fresh-install home so upgraders don't brick 2026-05-29 23:55:32 -05:00
preload.cjs feat(desktop): thin installer + first-launch install.ps1 bootstrap 2026-05-18 02:26:46 -04:00