# NousResearch/hermes-agent · Desktop keybind crash fix for missing keyboard codes

## Open now

- Nothing open on GitHub.

A bug was identified where desktop keybind normalization crashes when KeyboardEvent.code is absent or malformed. Fixes were introduced to guard against missing or invalid keyboard codes, bundled alongside other miscellaneous desktop corrections.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #122000. Verify it addresses your case.
- **Recommended:** read PR #122000 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-122000`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #91611: \[Bug\]: Desktop keybind normalization crashes when KeyboardEvent.code is missing

## Prior & competing PRs

- **#122000: fix(desktop): wave-8 misc fixes — search title, keybind guard, skill pill, @file: titles, math backslash, Cmd+1-9, @url: scheme, ARM64 gate**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/title_generator.py`, `apps/bootstrap-installer/src-tauri/src/bootstrap.rs`, `apps/bootstrap-installer/src-tauri/src/update.rs`, `apps/desktop/electron/link-title-url.test.ts`, `apps/desktop/electron/link-title-url.ts`, `apps/desktop/electron/main.ts`, `apps/desktop/src/app/chat/sidebar/index.tsx`, `apps/desktop/src/app/chat/sidebar/search-result-to-session.test.ts`, `apps/desktop/src/app/hooks/use-keybinds.ts`, `apps/desktop/src/components/assistant-ui/markdown-text.test.ts`, `apps/desktop/src/components/pane-shell/tree/tab-slot-shown.test.ts`, `apps/desktop/src/i18n/de.ts`, `apps/desktop/src/i18n/en.ts`, `apps/desktop/src/i18n/es.ts`, `apps/desktop/src/i18n/fr.ts`, `apps/desktop/src/lib/keybinds/actions.test.ts`, `apps/desktop/src/lib/keybinds/actions.ts`, `apps/desktop/src/lib/keybinds/combo.test.ts`, `apps/desktop/src/lib/keybinds/combo.ts`, `apps/desktop/src/lib/markdown-preprocess.ts` (+9 more)
- **#91638: fix(desktop): ignore malformed keyboard codes**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#122000`

## Fix status

- Merged to main in PR #122000 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-27`.
- Subsystem: `apps/desktop`
