hermes-agent/ui-tui/src/hooks
Brooklyn Nicholson 40ec9834b2 fix(tui): keep slash completion alive after a leading command
Typing a second slash command went dead whenever the message started with
one: `/work /cle` offered nothing while `do /work then /cle` completed
fine, which reads as an intermittent glitch rather than a rule.

Only the first slash can be an invocation, so detect the inline shape
first. The leading-command branch claimed the whole line and handed it to
the backend's completer, which has nothing to say about a slash sitting in
a command's argument tail. The inline trigger requires a whitespace-preceded
slash at the caret, so ordinary argument completion (`/cron ad`,
`/personality alic`) is untouched — it fires only where completion was
already dead.
2026-08-01 01:17:41 -05:00
..
useCompletion.ts fix(tui): keep slash completion alive after a leading command 2026-08-01 01:17:41 -05:00
useGitBranch.ts feat(tui): append git branch to cwd label in status bar 2026-04-18 17:17:05 -05:00
useInputHistory.ts refactor(tui): /clean pass across ui-tui — 49 files, −217 LOC 2026-04-16 22:32:53 -05:00
useQueue.ts fix: keep queued paste payloads atomic (#74797) 2026-07-31 12:04:59 -04:00
useVirtualHistory.ts fix(tui): recompute virtual tail after width resize 2026-05-23 14:49:26 -05:00