Skip to content

Stop the Hermes Desktop launcher reconciling a mise install - #587

Merged
ryanrhughes merged 1 commit into
masterfrom
hermes-desktop-default-agent
Sep 28, 2026
Merged

ryanrhughes merged 1 commit into
masterfrom
hermes-desktop-default-agent

Conversation

@spencerbull

Copy link
Copy Markdown
Contributor

The launcher called omarchy-install-hermes-cli with no arguments on every start, to remove a mise-built Hermes left beside the app by Omarchy's terminal install. omacom/omarchy#12844 retires that mise install: choosing Hermes as the default agent now sets up this package's runtime the same way Install > AI does, before the app is ever opened, and the installer answers only a named --check or --now. The call had nothing left to reconcile and printed usage into /dev/null, so the launcher now goes straight to the runtime it finds. The build-time launch check keeps a forbidden stand-in for that command on its PATH, so a launcher that reaches for it again fails the build, and pkgrel is bumped so the rebuilt launcher ships.

Land this after the Omarchy change. With the old launcher and new Omarchy, the call exits with usage and is ignored; with this launcher and old Omarchy, a mise Hermes beside a directly installed package is cleaned up by Omarchy's migration on the next update rather than at app launch.

Codex XHigh reviewed the change; its finding that the launch check no longer forbade the removed call is fixed above. Independence is not guaranteed: codex runs on the same machine and can read the session that wrote this.

🤖 Generated by Fable 5.1 in Claude Code. Reviewed by Codex XHigh.

The launcher called omarchy-install-hermes-cli with no arguments on every start to remove a mise-built Hermes left beside the app. Omarchy no longer builds Hermes through mise: it sets the app's runtime up before the app is opened, and the installer now only answers a named --check or --now, so the call had nothing left to reconcile and only printed usage. The launch check keeps a forbidden stand-in for that command on its PATH, so a launcher that reaches for it again fails the build.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Codex XHigh <noreply@openai.com>
@spencerbull
spencerbull force-pushed the hermes-desktop-default-agent branch from 2732b04 to d2d79ce Compare September 21, 2026 23:04
@ryanrhughes ryanrhughes added the build-approved Maintainer approved this PR to build on the self-hosted pool label Sep 28, 2026
@ryanrhughes
ryanrhughes merged commit 731bf88 into master Sep 28, 2026
10 checks passed
@ryanrhughes
ryanrhughes deleted the hermes-desktop-default-agent branch September 28, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-approved Maintainer approved this PR to build on the self-hosted pool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants