hermes-agent/apps/desktop/electron
emozilla ce31ec09b9 fix(desktop): show 'hermes update' guidance for CLI installs instead of dead-end error
A user who installed via the CLI (irm|iex / install.sh) then ran
`hermes desktop` has no staged hermes-setup.exe, so clicking Update
in-app hit resolveUpdaterBinary()=null and showed a misleading error
('re-run the Hermes installer') with a Try-again button that could
never succeed — a dead loop for a perfectly valid install.

Treat the no-updater case as an intentional outcome, not a failure:
- main.cjs applyUpdates returns { ok:true, manual:true, command:'hermes update' }
  (no throw, no 'error' stage) when no updater binary exists.
- New 'manual' update stage + apply-state.command thread the command to the UI.
- updates-overlay ManualView: a polished terminal-native card with the
  exact command and a copy button, framed as the correct path for a CLI
  user rather than an error.

GUI-installer users are unaffected — hermes-setup.exe present => seamless
auto-update runs as before. Zero new process orchestration; can't fail
the update demo.
2026-05-29 01:53:43 -04: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): add startup and onboarding flow 2026-05-07 22:33:44 -04:00
bootstrap-platform.test.cjs test(desktop): allow node-pty bare-require in packaged entrypoints 2026-05-20 14:41:31 -04: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): show 'hermes update' guidance for CLI installs instead of dead-end error 2026-05-29 01:53:43 -04:00
preload.cjs feat(desktop): thin installer + first-launch install.ps1 bootstrap 2026-05-18 02:26:46 -04:00