Resume prompted Hermes sessions literally

Hermes TUI startup queries execute slash, shell, interpolation, and multiline syntax before reaching the model. Run the prompt through literal one-shot mode, read its exact session ID from a private usage report, and resume that session in the TUI so arbitrary prompt text stays data while the conversation remains interactive.

Co-Authored-By: Codex XHigh <noreply@openai.com>
This commit is contained in:
Spencer BullandCodex XHigh committed 2026-08-27 22:37:03 -05:00
1 parent b609ae2355
commit 750dde5ed2
4 files changed
+102 -3

No files matched your search

+1 -2
View File
@@ -88,8 +88,7 @@ codex)
;;
hermes)
if [[ -n ${prompt:-} ]]; then
# Keep inherited flags after chat so older Hermes subparsers do not clear them.
command=(hermes chat --yolo --tui "--query=$prompt")
command=(omarchy-agent-hermes "$prompt")
else
command=(hermes --yolo)
fi