hermes-agent/apps/desktop/src/app/chat
Brooklyn Nicholson e774d7fbf9 refactor(desktop): extract the composer trigger/completion engine into useComposerTrigger
The last welded composer engine. The `@`/`/` trigger state, detection
(refreshTrigger), the adapter-driven item list + its effects, popover selection,
closeTrigger, commitTypedSlashDirective, and the contentEditable chip insertion
(replaceTriggerWithChip) move verbatim into hooks/use-composer-trigger.ts behind a
hook that takes the editor refs + the two completion sources (at/slash). ChatBar's
input/keydown/keyup paths + the popover render consume the returned API; the
keydown navigation block stays in place (no key-handling restructure), and
triggerKeyConsumedRef is exposed so keyup still skips its post-consume refresh.

ChatBar 1,248 → 1,047. Behaviour-preserving: typecheck 0 errors, eslint clean,
and the composer DOM repro suite (slash-nav, enter-submit, IME composition,
trigger-popover) is green — the documented IME/caret/focus edge fixes ride along
verbatim. (The 1 attachments.test.tsx failure is pre-existing on main.)
2026-06-30 15:27:36 -05:00
..
composer refactor(desktop): extract the composer trigger/completion engine into useComposerTrigger 2026-06-30 15:27:36 -05:00
hooks refactor(desktop): keep remote fs routing inside the fs facade 2026-06-28 14:39:33 -05:00
right-rail style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
sidebar Merge pull request #55470 from NousResearch/bb/desktop-button-consistency 2026-06-30 02:19:37 -05:00
chat-drop-overlay.tsx Refactor desktop i18n field copy into nested structures 2026-06-06 07:51:44 -07:00
chat-swap-overlay.tsx Refactor desktop i18n field copy into nested structures 2026-06-06 07:51:44 -07:00
index.tsx feat(desktop): read-only spectator transcript for subagent watch windows 2026-06-29 12:06:25 -05:00
perf-probe.tsx chore(desktop): zero eslint/typecheck debt + prettier pass (#39100) 2026-06-04 14:10:38 +00:00
scroll-to-bottom-button.test.tsx fix(desktop): surface off-screen approvals via the jump-to-bottom control (#45853) 2026-06-13 23:07:22 +00:00
scroll-to-bottom-button.tsx fix(desktop): surface off-screen approvals via the jump-to-bottom control (#45853) 2026-06-13 23:07:22 +00:00
thread-loading.test.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
thread-loading.ts perf(desktop): isolate streaming re-renders & cut layout thrash 2026-06-12 21:07:33 -05:00