Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Offer a choice when installing Hermes Desktop from Install > AI:
Add
omarchy install ai hermes --localand--remotefor explicit/noninteractive selection. Cancelling the interactive choice installs nothing. Noninteractive callers without a mode get guidance rather than an implicit runtime installation.Motivation
A user may already run Hermes in Docker or on another machine and only want a native desktop client. Today
omarchy-install-ai-hermesunconditionally runsomarchy-install-hermes-cli --nowbefore opening Desktop, so a second, host-side runtime is installed even when the user intends to connect to the existing gateway.Upstream already supports Connect to existing Hermes on first launch. Omarchy does not need to manage URLs, tokens, or the connection registry itself. This is distinct from #11000, which detects existing local desktop installations and intentionally leaves installation behavior unchanged.
Implementation and boundaries
hermes-desktopand opens its normal launcher. It does not replace CLI wrappers, retire a mise install, start a theme waiter, or stop/delete an existing runtime or service.The current
hermes-desktoppackage is built from Hermes v2026.9.7, which already includes the first-run remote startup boundary: a saved remote, or applying the first-run remote form, returns beforeensureLocalRuntime. The package launcher already falls back to/opt/hermes-desktop/Hermeswhen no local runtime exists; the added companion-checkout test executes that launcher with only the Electron binary and namespace probe replaced by fixtures.This is an installation choice, not a remote-only security policy. Existing local installations are preserved, and choosing local setup/profiles in Desktop can still provision or start a local agent. On an already configured Desktop, users select the existing gateway through Settings > Gateways rather than first-run onboarding. No remote credentials are copied into Omarchy configuration.
Validation
Passed locally against scratch homes and mocked package/service/app commands:
bash test/shell.d/hermes-desktop-remote-test.sh— explicit and interactive local/remote modes, cancellation, invalid/noninteractive input, setup failures, preservation of an existing runtime/CLI/unit, and the actual companion package launcher's no-runtime path.bash test/shell.d/hermes-desktop-install-test.sh— existing local installation coverage plus remote-only → local conversion using the full installer fixtures.bash test/shell.d/hermes-cli-test.shbash test/shell.d/hermes-theme-test.shbash test/shell.d/hermes-remove-test.shbash test/shell.d/default-agent-test.sh./test/cliI18N_STRUCTURAL=1 bash test/shell.d/i18n-test.shpython3 scripts/i18n-sync.py extract-scan --checkgit diff --check.Before ready for review
Kept as a draft pending that graphical/end-to-end verification. No live Omarchy installation or Docker service was changed during development. The full aggregate test suite has not been run.
Implementation assisted by OpenAI GPT-6.1 Sol via OpenCode.