Repository navigation
Merge upstream quattro (Hermes, captive portal, plugin reload) - #5
Conversation
Hermes joins Install > AI as a desktop app, sits beside it under Remove > AI, and becomes a choice in the default-agent list. The CLI installs through omarchy-install-hermes-cli rather than a bare `mise use`, so its interpreter is pinned before mise builds it. Rebased onto quattro. Ori claimed U+E909 in omacom#7709 while this branch was open, so the Hermes mark moves to U+E90A in the icon font, the menu entries, the font README, and the charset the menu test pins. The glyph outline itself is unchanged; it is spliced in beside Ori rather than over it. Co-Authored-By: witcheer <witcheer.eth@gmail.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SySdB3RtCA8BNv6Am246BP
…-install Harden Hermes wrapper ownership
install/user/mise.sh is sourced through run_logged under `bash -eE`, and its status reaches omarchy-provision-user's `set -euo pipefail`. Every other line in the file writes a mise stub and cannot fail; omarchy-install-hermes-cli can, and does whenever hermes-desktop is installed but the app has not been launched yet -- what a second user on a shared machine meets on their first login. The rest of provisioning runs after that source: refreshing applications, the default browser, the mailto handler, the first-install migration markers and the finalize-user marker. Without the marker the whole step retries and fails again at every login, and omarchy-provision-first-run calls it with `|| true`, so nothing surfaces. omarchy-install-ai-hermes and the migration already guard this call the same way. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…rojects The stub exports UV_PYTHON so mise builds Hermes against 3.13, which Hermes requires and Arch's Python is past. Exported, it survived the exec into Hermes itself and reached every command the agent shells out to. Hermes is a coding agent that runs commands in the user's own repositories, so a `uv venv` or `uv sync` there resolved 3.13 as well: on a project declaring requires-python >=3.14, uv warns that the interpreter contradicts it and builds the venv anyway. Dropping it at the handover keeps the pin over the install, where it belongs. mise x resolves the tool it already installed without it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Codex XHigh <noreply@openai.com>
Remove > AI > Hermes deleted ~/.hermes/hermes-agent, bootstrap-cache, bin and node unconditionally, plus any wrapper on PATH pointing into ~/.hermes. The official Hermes installer uses those same paths, so a user who installed the CLI themselves, then installed the app and never launched it, lost their checkout, venv and any local changes -- while being told their chats, memories and skills were safe. The app provisions its runtime on first launch and writes .hermes-bootstrap-complete when it lands. Without that marker the app never got that far and everything under ~/.hermes predates it, so dropping the package is the whole job. Two smaller things in the same path. The wrapper test matched ~/.hermes as a pattern, and the dot made it claim a wrapper pointing at a sibling like ~/xhermes; it is a plain string now, and a symlink there is the user's arrangement rather than something to delete. And -u, so an unset HOME is an error instead of a set of rm -rf paths rooted at /. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Codex XHigh <noreply@openai.com>
desktop_hermes_ready decided from a marker file and a text match, while a hermes the user installed themselves had to answer --version before it counted. The marker says the app's install once landed, not that it is still there, so a runtime deleted afterwards left --check reporting success: the default agent records Hermes, skips the install terminal, and the launch fails. It now runs the command, on the same 15 second budget the app itself uses. The path match is a plain string for the same reason it is in the remover -- the dot in ~/.hermes would otherwise claim a wrapper pointing at ~/xhermes. foreign_hermes_runs never tested foreignness, only that the command runs, so it is hermes_runs now and both callers share it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Codex XHigh <noreply@openai.com>
Three files spelled out the line that marks ~/.local/bin/hermes as Omarchy's: the installer that writes it, Remove Preinstalls, and the migration. Two of them were copies, and a change to what ownership means would have left them matching a line nobody writes any more -- Remove Preinstalls quietly sweeping nothing, the migration mistaking Omarchy's own wrapper for a stranger's. omarchy-install-hermes-cli --owns answers it now, and the other two ask. The installer's own metadata was also a flag behind: --check has been there since this landed and was never listed. A test pins the marker to one file, so a second copy fails rather than drifts. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
U+E90A carried a trace of the Hermes app icon: a portrait whose detail collapses into a grey smudge beside the ten flat silhouettes the rest of the font is made of, which is what icon-font.md warns against when it says to pick a source whose silhouette alone reads. It is Font Awesome's staff-snake now, under CC BY 4.0 -- the mark Hermes serves as its favicon and titles its README with. The README records that, along with the licence the artwork carries, since it is the only note of where these come from. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The agent table lists every CLI Omarchy pre-wires, and Hermes was missing from it. Hermes Desktop earns a paragraph of its own under the graphical apps, because the one-Hermes-per-machine arrangement is something a user meets rather than reads about: the app installs its own runtime on first launch, the terminal command and the default agent then use that same one, and removing the app takes the runtime but keeps their chats, memories and skills. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Hermes oneshot deliberately exits after answering, which closes the agent terminal. Seed the TUI chat session instead, keep inherited flags after the subcommand for older Hermes parsers, and bind the query as one argument so dash-prefixed prompts remain data. Co-Authored-By: Codex XHigh <noreply@openai.com>
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>
Keep the one-shot session on Hermes' native CLI source so it records the launch directory before the exact session is resumed in the TUI. Co-Authored-By: Codex XHigh <noreply@openai.com>
Bind option-looking prompts to one-shot mode, require a successful completed usage report before resuming, replay the prompt after first-run setup, and reject Hermes runtimes that lack the session-report capability. Co-Authored-By: Codex XHigh <noreply@openai.com>
Clear inherited session-source tags for Omarchy's local one-shot process so Hermes records the launch directory before the exact session is resumed in the TUI. Co-Authored-By: Codex XHigh <noreply@openai.com>
Hermes now keeps chat queries interactive and literal to TUI control syntax, so launch it directly and let its own session flow replace the local one-shot, usage-file, and resume bridge. Gate installation on the capability added with native interactive queries, preserve unowned mise environments, and keep the unprompted launch path unchanged. Co-Authored-By: Codex XHigh <noreply@openai.com>
Hermes was missing from the provision-user symlink list that already covers Claude, Codex, Pi, Antigravity, and ~/.agents. Add ~/.hermes/skills plus existing ~/.hermes/profiles/*/skills. Migration for current installs.
The provision-user suite never ran the one-shot migration. Cover default-home links, a pre-existing profile, idempotency, and a missing skill source. Document ~/.gemini/config/skills and stop wrapping that bullet.
Use Hermes native prompted sessions
The HUD is a frameless Electron window that paints its own per-pixel transparency. Under the default rules it gets a compositor border and Omarchy's window opacity on top, which turns the compact prompt into an outlined, muddy canvas. Scoped to the HUD by title, so the main Hermes window keeps the ordinary treatment. Co-authored-by: Luiz Filipe <moresco.luiz@gmail.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Catches the branch up on 94 commits so what lands here is reviewed against current quattro, and so omacom#8611 contributes its own five files rather than dragging a partial catch-up in behind it.
Link Omarchy agent skills into Hermes
Matches omarchy.org, the X header, and the ISO. The README and the agent skill carry their lowercase variants.
Add Hermes as a desktop app and a coding agent
Hermes v0.20 removed chat's --oneshot flag, which hermes_prompt_ready used as its capability marker. A fully bootstrapped Hermes Desktop install then read as not ready: --check failed forever, the default agent flow looped back into the installer, and --now dead-ended with "Launch Hermes Desktop once to finish installing it" on a machine where it already had. Probe for --tui and --query instead: the flags omarchy-agent actually passes to seed an interactive session, rather than one that merely shipped alongside them.
Review follow-up on the readiness probe. The two greps were fixed-string substring matches, so a future release listing only --tui-theme or --query-log while dropping the bare --tui/--query omarchy-agent passes would read as ready -- the same false verdict inverted. Anchor both to a flag boundary. Add a regression case pinning that a substring-only help is rejected, and one exercising --check through a mise-installed hermes in both capability directions: the desktop and foreign cases only covered their own wrappers, and the mise path is what a machine without the app runs. Co-Authored-By: Claude <noreply@anthropic.com>
Show captive portal status and sign-in action in network panel
Remove Hermes dropped the desktop package and its ~/.hermes runtime but never touched the mise CLI, on the assumption the install-time handoff had already removed it. A CLI the app never superseded -- an interrupted install, or the terminal CLI from before the app existed -- was left stranded on PATH after uninstall. Add a --remove mode to omarchy-install-hermes-cli that performs the same teardown the desktop takeover already does (mise rm -g + mise uninstall, and the marked stub), and call it from omarchy-remove-ai-hermes. The tool spec and ownership marker stay defined in one place, so the takeover and teardown paths cannot drift. Scoped to what Omarchy owns: a Hermes the user installed themselves is left alone. Co-Authored-By: Claude <noreply@anthropic.com>
The teardown removed the Omarchy tool spec from mise unconditionally, so removing Hermes Desktop could destroy a mise environment the user had built against the same spec while sparing their wrapper -- the very command the removal claims to preserve, broken behind its back. The whole teardown now turns on the marked stub, as replacement already does; the desktop takeover keeps its own bargain, where a second Hermes goes whoever built it and the app still provides the command after. Also close the probe over underscores -- _ continues a flag name just as - does, so --tui_mode no longer answers for --tui -- and pin the gaps review found in the tests: each flag must match on its own (either grep could be deleted before without a failure), a foreign wrapper's mise environment must survive --remove, and Remove Hermes must tear down the CLI in the interrupted-install case, not only after the app's runtime landed. Findings from an independent codex review at xhigh, each verified against the source and proven by mutation before landing. Co-Authored-By: Codex <noreply@openai.com> Co-Authored-By: Claude <noreply@anthropic.com>
Two review follow-ups. The probe counted any mention of --tui/--query in the help as support -- Hermes already writes "With --tui:" into --dev's description, so a release that dropped the option while keeping the prose would still read as ready. A flag now counts only when followed by a shape argparse prints after a definition: the usage bracket, the gap before same-line help text, an uppercase metavar, or the line end. Not probed by parsing a real invocation on purpose -- a release that ignores unknown arguments would turn the probe into a live session. And the teardown trusted its commands: a stub rm that failed aborted Remove Hermes under set -e before any ~/.hermes handling, while mise failures vanished into || true. --remove now attempts every step, then judges by what is left -- the marked stub still present, or mise still resolving the tool -- and Remove Hermes tolerates the failure until the runtime is handled, then carries it in its exit code. Findings from the same codex review at xhigh, verified and proven by mutation before landing. Co-Authored-By: Codex <noreply@openai.com> Co-Authored-By: Claude <noreply@anthropic.com>
* Honor keepLoaded for services during plugin hot-reload Plugin reload destroyed every service, including omarchy.lock, which drops the ext-session-lock client while Hyprland still holds the lock and surfaces the crashed-lockscreen fallback. * Prove keepLoaded service survival with a fixture service A fresh lock service also reports an empty lastEventAt, so comparing it across the rescan passed whether or not the instance survived. A fixture keepLoaded service whose in-memory marker is set before the rescan and read back after can only pass when the same instance is still mounted. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Drop kept services whose plugin no longer declares a service The _syncServices cleanup only asked whether the plugin was still installed and enabled, so a kept service whose plugin dropped its service kind or entry point kept running as a zombie until shell restart. Apply the same eligibility checks used at creation, and hand kept instances the refreshed manifest after a rescan. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Cover omarchy.media in keepLoaded expectations; note kept services reload on restart Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: David Heinemeier Hansson <david@hey.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
A failed --remove told the user to run it again, but that advice could never work: rm -f has usually taken the marked stub by the time the failure is judged, and a rerun that finds nothing it owns succeeds without touching the mise environment it was asked to finish removing. Spell out the three commands that complete the job by hand instead. Also correct the story the probe comment told: chat never lost --oneshot in v0.20 -- no released Hermes defined it there. It lived at the top level until v0.21 added chat's own, so the old probe was keyed to a flag no release ever carried under chat, and every install read as not ready. Recorded straight so a future hermes-desktop bump to v0.21+, which would make the old probe pass on the desktop path alone, cannot read as the fix. Findings from omarchybot's review (Opus 5, with Codex at xhigh). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Co-Authored-By: Claude <noreply@anthropic.com>
Fix the Hermes CLI readiness probe, and tear the CLI down on uninstall
Bring in Hermes as a default coding agent, captive-portal sign-in in the network panel, and the keepLoaded plugin-reload fix. Cursor stays a first-class agent; its icon moves to U+E90B so Hermes can keep U+E90A. Co-authored-by: Mark Groves <mark-groves@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 8a67744. Configure here.
| # own, rather than a copy of its marker kept here. | ||
| if omarchy-install-hermes-cli --owns; then | ||
| rm -f ~/.local/bin/hermes | ||
| fi |
There was a problem hiding this comment.
Preinstall removal blocks Hermes reinstall
Medium Severity
Remove Preinstalls deletes the Omarchy-owned hermes wrapper but leaves the matching mise environment. The installer then treats that leftover environment as unmarked and exits instead of writing a new wrapper, so choosing Hermes as the default agent fails until the user uninstalls the tool by hand.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 8a67744. Configure here.


Merges 35 commits from omacom/omarchy
quattrointo this fork (sinceb686ed89, 2026-08-31). Upstream HEAD is nowf99d33a8.Draft PR #4 tried the Hermes merge on 2026-09-01 but never landed, and upstream has moved another 10 commits since then. This PR supersedes it.
Fork-only Cursor work is preserved (default agent, official tarball installer, usage collector, menu entry). Hermes and Cursor both wanted
U+E90Ain the icon font; Hermes keeps that codepoint and Cursor stays atU+E90B.Hermes (the bulk of the movement)
omarchy-install-hermes-cli(Python 3.13 pin, wrapper ownership,--check/--now/--owns/--remove)--tui+--query); unprompted launch is unchanged--help, not a substring and not the old--oneshotmarker (which no releasedhermes chatever defined)UV_PYTHON) is dropped at handover so it does not leak into projectuvcommandsRemove Hermesnow also tears down a stranded mise CLI, and a failed teardown prints the three commands that finish the job by hand~/.hermes/skillsand existing profiles; migration for current installsNetwork panel
Shell plugins
keepLoadedservices (including the lock screen) survive plugin hot-reload instead of being destroyed and dropping the session lock (PR Honor keepLoaded for services during plugin hot-reload omacom/omarchy#9485)Other
Conflict resolution
bin/omarchy-default-agent— both agents kept; Cursor stays on its own installer, Hermes uses theagent_installerpathdefault/fonts/omarchy/omarchy.ttf+ README — Hermes atU+E90A, Cursor atU+E90Bdefault/omarchy/omarchy-menu.jsoncandtest/shell.d/menu-test.sh— both entries, distinct glyphs, charsete900-e90bFocused shell tests for default-agent, menu, Hermes CLI/migrations/remove/skills, captive portal, plugins, preinstalls, provision-user, Cursor install, and runtime smoke passed. Ready to merge into
quattro.Note
Medium Risk
Hermes install/remove touches PATH wrappers, mise environments, and
~/.hermeswith many edge cases; network captive-portal flow depends on NM probing and a fixed HTTP URL. Shell keepLoaded changes affect session lock behavior during plugin reload.Overview
This merge brings upstream Hermes end-to-end: Hermes Desktop in Install/Remove AI, Hermes as a default coding agent, and a dedicated
omarchy-install-hermes-clipath (Python 3.13 via mise/pipx, marked wrapper,--check/--now/--owns/--remove) so only one Hermes install wins when the desktop app owns~/.hermes. Prompted launches go throughhermes chat --yolo --tuiwith a single--query=argument; user provisioning links Omarchy skills into~/.hermes/skillsand existing profile skill dirs, with migrations for existing installs.The network panel now reads NetworkManager connectivity (portal vs limited vs full), shows blocked icons and Open Captive Portal (fixed
http://ping.archlinux.org/nm-check.txt), and polls while access is restricted.Shell plugin hot-reload keeps
keepLoadedservice instances (e.g. lock) mounted instead of destroying them and stranding the session lock; disabled/removed plugins still drop their services, and survivors get updated manifests.Smaller updates: tagline “Beautiful, Fun & Agentic”, Hermes menu glyph at
U+E90A(Cursor atU+E90B), Hyprland rules for the Hermes Desktop HUD, andinstall/user/mise.shtolerates Hermes install failure so provisioning continues.Reviewed by Cursor Bugbot for commit 8a67744. Configure here.