feat: Add Hermes Agent vterm integration with SPC z h keybinding #1

Merged
gortium merged 8 commits from feat/hermes-vterm-integration into master 2026-05-14 21:19:56 +00:00
3 changed files with 26 additions and 1 deletions
Showing only changes of commit a09a7c03ef - Show all commits

View File

@@ -1841,12 +1841,14 @@ Hermes Agent runs on lazyworkhorse server. Launched via SSH in a vterm buffer.
"Launch Hermes Agent in vterm via SSH to lazyworkhorse (CLI mode)."
(interactive)
(let ((buf (get-buffer-create "*hermes*")))
(delete-other-windows)
(switch-to-buffer buf)
(unless (get-buffer-process buf)
(vterm buf)
(let ((proc (get-buffer-process buf)))
(when proc
(process-send-string proc "ssh -t lazyworkhorse hermes\n")))))))
(process-send-string
proc "ssh -t lazyworkhorse 'docker exec -it hermes /opt/hermes/.venv/bin/hermes'\n")))))))
#+end_src
* Tramp

View File

@@ -19,8 +19,8 @@ alias emacs="emacsclient -c -a emacs"
# Opencode
alias oc="opencode"
# Hermes Agent in Emacs vterm
alias hermes="emacsclient -n -c -e '(gortium/hermes-vterm)'"
# Hermes Agent - SSH directly to remote server
alias hermes="ssh lazyworkhorse 'docker exec -it hermes /opt/hermes/.venv/bin/hermes'"
# Yazi
alias y="yazi"