hermes-agent/apps/desktop/src
Teknium 9be292f1e6
fix(desktop): make MoA preset selection persistent, not one-shot (#54670) (#56417)
The MoA preset section in the composer model dropdown presented presets like
persistent model selections, but selecting one dispatched the one-shot `/moa`
command (command.dispatch name=moa) — it ran a single turn through MoA and then
silently reverted to the prior model. The user saw MoA context for one message,
then it vanished with no indication.

Route MoA preset selection through the same persistent path real provider
selections use: onSelectModel({ model: preset, provider: 'moa' }) →
config.set model="<preset> --provider moa" → the gateway's switch_model. The
check mark now reflects the real current selection (currentProvider === 'moa'
&& currentModel === preset) instead of transient local state, and the
now-unused activeMoaPreset state is removed.

Tests: new model-menu-panel.test.tsx (2) — selecting a preset calls
onSelectModel with provider 'moa' (persistent), and the check renders on the
active preset. tsc -b clean.
2026-07-01 06:40:20 -07:00
..
app fix(desktop): make MoA preset selection persistent, not one-shot (#54670) (#56417) 2026-07-01 06:40:20 -07:00
components refactor(desktop): split tool fallback-model into a folder with leaf modules 2026-06-30 15:24:33 -05:00
fonts fix(desktop): crisp terminal text via opaque xterm canvas 2026-06-12 19:36:30 -05:00
hooks refactor(desktop): share theme-repaint observer; memory-graph depth polish 2026-06-30 02:06:29 -05:00
i18n Merge pull request #55331 from xxxigm/fix/desktop-projects-stale-backend 2026-06-30 11:47:04 -05:00
lib Merge pull request #55331 from xxxigm/fix/desktop-projects-stale-backend 2026-06-30 11:47:04 -05:00
store Merge pull request #55331 from xxxigm/fix/desktop-projects-stale-backend 2026-06-30 11:47:04 -05:00
themes feat(desktop): flag already-installed themes in the install pickers 2026-06-29 23:29:20 -05:00
types feat(desktop): Memory Graph — playable radial timeline of memories + skills 2026-06-30 00:54:21 -05:00
global.d.ts Merge pull request #52828 from helix4u/fix/desktop-backend-update-indicator 2026-06-26 11:49:07 -05:00
hermes-profile-scope.test.ts fix(desktop): route gateway restart / status / update to the active profile 2026-06-24 19:16:26 -05:00
hermes.test.ts fix(desktop): route profile session reads 2026-06-11 18:09:24 -05:00
hermes.ts fix(desktop): don't false-timeout long prompt.submit turns (MoA, deep reasoning) (#56411) 2026-07-01 06:33:47 -07:00
main.tsx feat(desktop): floating pet, pop-out overlay + Cmd+K picker 2026-06-20 14:18:40 -05:00
styles.css feat(desktop): add context usage breakdown popover 2026-06-29 09:18:10 -04:00
vite-env.d.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00