You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(desktop): /goal with newline returns empty slash command #41323
When typing the /goal slash command with a multi-line description (using Enter to insert a newline) in Hermes Desktop, the app returns an empty slash command error instead of processing the goal. The same command works correctly in the CLI and in Telegram.
Steps to Reproduce
Open Hermes Desktop (connected to a remote gateway).
In the chat composer type:
/goal Write a Python script
that prints Hello World
(press Enter after “script” to create a newline).
Send the message.
Observe the response: empty slash command.
Expected Behavior
The /goal command should handle multi-line strings in the description and successfully set the goal, identical to the behavior observed in the CLI and Telegram gateway.
Actual Behavior
Desktop sends empty slash command and ignores the goal text after the newline.
Environment
Hermes Agent version: 0.16.0 (Docker)
Hermes Desktop version: latest (connected to remote backend)
Agreed, please add support for multi-line /goal in the UI the same as the CLI supports.
A workaround is to convert your multi-line goal into a single line, but it would be nice for the UI to behave like the CLI.
This is the canonical thread for the multi-line slash-command parse bug in Hermes Desktop/Web (newline in /goal//plan//learn args -> 'empty slash command', args silently dropped). Open fix PRs targeting this: #41522 and #45606 (both add a dotAll/newline-matching regex in chat-runtime.ts + slashExec.ts). Related closed work: #41384 (consolidated into #41522), #43476, #48848. Not a duplicate — keeping this open as the cluster anchor.
Activity
SoftologyPro commentedon Jun 9, 2026
Agreed, please add support for multi-line /goal in the UI the same as the CLI supports.
A workaround is to convert your multi-line goal into a single line, but it would be nice for the UI to behave like the CLI.
fix(desktop): preserve multiline slash-command arguments (NousResearc…
fix(slash): parse multi-line slash command arguments (NousResearch#41323
Zixim commentedon Jun 26, 2026
/planhas the exact same bugyogafire1 commentedon Jun 27, 2026
happens to me too on /learn command
alt-glitch commentedon Jun 27, 2026
This is the canonical thread for the multi-line slash-command parse bug in Hermes Desktop/Web (newline in
/goal//plan//learnargs -> 'empty slash command', args silently dropped). Open fix PRs targeting this: #41522 and #45606 (both add a dotAll/newline-matching regex in chat-runtime.ts + slashExec.ts). Related closed work: #41384 (consolidated into #41522), #43476, #48848. Not a duplicate — keeping this open as the cluster anchor.Merge pull request #57226 from NousResearch/bb/desktop-multiline-slash
fix(desktop): parse multiline slash commands + hand degenerate payloa…
4 remaining items
fix(NousResearch#801): systemd-supervised gateways must never follow …
fix(desktop): parse multiline slash commands + hand degenerate payloa…
Merge pull request NousResearch#57226 from NousResearch/bb/desktop-mu…
fix(desktop): parse multiline slash commands + hand degenerate payloa…
Merge pull request NousResearch#57226 from NousResearch/bb/desktop-mu…
fix(desktop): parse multiline slash commands + hand degenerate payloa…
Merge pull request NousResearch#57226 from NousResearch/bb/desktop-mu…
fix(desktop): parse multiline slash commands + hand degenerate payloa…
Merge pull request NousResearch#57226 from NousResearch/bb/desktop-mu…
fix(desktop): parse multiline slash commands + hand degenerate payloa…
Merge pull request NousResearch#57226 from NousResearch/bb/desktop-mu…
refactor(slash): delete the dead web slash re-implementation; one sla…
refactor(slash): delete the dead web slash re-implementation; one sla…
refactor(slash): delete the dead web slash re-implementation; one sla…
refactor(slash): delete the dead web slash re-implementation; one sla…