mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-29 18:46:59 +00:00
Typing a second slash command in the composer went dead whenever the message started with one. `/work /cle` offered nothing, while `do /work then /cle` completed fine — which read as an intermittent glitch rather than a rule. Two regexes detect a slash, and the `^`-anchored command shape was tried first. Its argument tail (`(?:\s+\S*)*`) swallows the rest of the line, so a later `/skill` parsed as an argument to the first command; a command that takes no options then suppresses the popover outright, and every slash after the first was unreachable. Only the first slash can be an invocation, so detect the inline shape first. It requires a whitespace-preceded slash sitting at the caret, so it can't take over ordinary argument completion (`/personality alic` has no second slash) — it fires only where completion was already dead. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||