mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-12-03 15:42:16 +00:00
The `/` trigger was anchored strictly at position 0, so the completion popover only opened when the slash was the first character. Typing `please run /clean` mid-message produced nothing to pick, which put every skill out of reach unless the prompt started with it. Position 0 and mid-message are genuinely two different things, so detect them separately. At position 0 a slash is a command invocation and keeps its arg completion (`/personality alic`). After whitespace it's an inline reference inside prose, so it completes as a single token and never expands into an arg step. Both stay trailing-anchored, which keeps file paths (`src/foo/bar`, `look at /usr/local/bin`) from matching. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||