hermes-agent/apps/desktop/src
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
..
app fix(desktop): show 'hermes update' guidance for CLI installs instead of dead-end error 2026-05-29 01:53:43 -04:00
components perf(desktop): useDeferredValue for streaming markdown so parses don't block input 2026-05-21 20:31:26 -05:00
hooks feat: glass ui pass 2026-05-16 19:21:33 -05:00
lib feat: more ui qa 2026-05-16 21:26:50 -05:00
store fix(desktop): show 'hermes update' guidance for CLI installs instead of dead-end error 2026-05-29 01:53:43 -04:00
themes feat: more ui qa 2026-05-16 21:26:50 -05:00
types feat: glass ui pass 2026-05-16 19:21:33 -05:00
global.d.ts fix(desktop): show 'hermes update' guidance for CLI installs instead of dead-end error 2026-05-29 01:53:43 -04:00
hermes.ts feat: more ui qa 2026-05-16 21:26:50 -05:00
main.tsx chore(desktop): synthetic-stream perf harness + scripts 2026-05-21 19:38:26 -05:00
styles.css feat: more ui qa 2026-05-16 21:26:50 -05:00
vite-env.d.ts feat(desktop): add structured desktop chat app 2026-05-01 12:49:12 -05:00