Repository navigation
Conversation
OpenClaw answers through a gateway that runs as a user service, so installing it means onboarding it rather than putting the command on PATH. Its own installer owns both halves, and omarchy-default-agent routes through it instead of a bare mise use. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SJ72BVipaCjecQFZ6bK2N4
There was a problem hiding this comment.
Pull request overview
Adds OpenClaw installation, removal, onboarding, and terminal-agent integration.
Changes:
- Adds OpenClaw menu entries and agent launcher support.
- Adds gateway-aware installation and removal commands.
- Adds tests and custom glyph documentation.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 7 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
bin/omarchy-agent |
Launches the OpenClaw TUI. |
bin/omarchy-default-agent |
Supports OpenClaw’s custom installer. |
bin/omarchy-install-ai-openclaw |
Installs and onboards OpenClaw. |
bin/omarchy-remove-ai-openclaw |
Removes OpenClaw and its gateway. |
bin/omarchy-remove-preinstalls |
Removes the OpenClaw lazy stub. |
default/fonts/omarchy/README.md |
Documents glyph provenance. |
default/omarchy/omarchy-menu.jsonc |
Adds setup, install, and removal entries. |
install/user/mise.sh |
Creates the OpenClaw lazy wrapper. |
test/shell.d/default-agent-test.sh |
Tests selection and launch behavior. |
test/shell.d/menu-test.sh |
Tests menu and glyph integration. |
test/shell.d/openclaw-install-test.sh |
Tests installation and onboarding. |
test/shell.d/openclaw-remove-test.sh |
Tests removal and data preservation. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| omarchy-mise-install aqua:modem-dev/hunk hunk | ||
| omarchy-mise-install github:basecamp/hey-cli hey | ||
| omarchy-mise-install github:OpenRouterLabs/ori-releases ori | ||
| omarchy-mise-install npm:openclaw openclaw |
…agent # Conflicts: # test/shell.d/default-agent-test.sh
|
Verified against a live Omarchy + OpenClaw machine (openclaw 2026.9.4,
One confirmed gap (seconding the Copilot review, with evidence): existing/upgraded machines never get the Proposed migration, mirroring echo "Install OpenClaw lazy stub"
if [[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]; then
omarchy-mise-install npm:openclaw openclaw
fiOne more hole worth noting: adding OpenClaw as a selectable agent leaves the agents usage panel without stats for it — |
|
Automated duplication check: this pull request looks similar to #9869, which covers the same OpenClaw agent option. I keep that one open and close this one to consolidate review. If you feel this is the wrong decision, please open the PR again with a note on the difference. |
Adds OpenClaw in the places it belongs: under Install > AI and Remove > AI, and as a terminal agent under Setup > Defaults > Agent. Shaped after #7469, but OpenClaw is a different animal in one way that changes the whole arrangement.
Installing it means onboarding it
OpenClaw is not a command you point at a checkout. It is a gateway that runs as a systemd user service, holds the channel connections and the session state, and answers from whichever channel reaches it; the terminal UI is one more client of that gateway. A machine with
openclawonPATHand nothing listening behind it has nothing to talk to.So
omarchy-install-ai-openclawowns both halves: the mise install, thenopenclaw onboard --install-daemon, which is what leaves the gateway running. It reports through--checkwhether both are done, and does nothing at all when they are — setting OpenClaw as the default agent runs it on the way to launching, and a machine already set up must not sit through it again.--checkasks mise, notPATH. The stub is written on every machine at user setup and is cold until someone runs it, soomarchy-cmd-presentanswers yes on a machine that has never had OpenClaw. Taking that for installed would skip the floating terminal and run the whole setup, prompts and all, inside the menu action.That is why
omarchy-default-agentgrows the same seam #7469 needs: an agent may bring its own installer instead of reaching formise usefrom there. Every other agent keeps the mise path unchanged. If Hermes lands first the two versions of that seam are the same mechanism and reconcile mechanically.Removal
The gateway is a service OpenClaw writes itself, so
omarchy-remove-ai-openclawasks it to take it back rather than unlinking the unit behind it —gateway uninstallstops the running one first. A machine that never finished onboarding has no service to give up, and that is not an error worth stranding the rest of the removal over.The mise install goes. The stub stays: leaving it puts the machine back where a fresh one starts rather than a step behind it, and nothing runs until someone types
openclawagain.~/.openclawstays too — the config names the inference provider, the pairings each took a round trip through their service to approve, and the sessions and skills are the user's.The terminal agent
omarchy-agentlearns anopenclawcase:openclaw tui, with a prompt passed as--message. Notopenclaw chat, which is the same command with--local— that runs the agent in-process, blind to the gateway's sessions, and refuses outright while a gateway owns them. Installing OpenClaw here always leaves one running, so attaching is the only case that exists. There is no auto-approve flag to reach for; OpenClaw approves nothing silently, so it joins Pi and Ori with nothing to skip.Glyph
U+E90A, from Font Awesome's shrimp (CC BY 4.0). OpenClaw's own lobster is five paths under a gradient with the eyes carrying half the reading; flattened to one monochrome path it comes out a beetle-shaped blob, which is the trap the icon-font guide warns about. The stand-in reads as a crustacean at menu size, which is the job.Tests
openclaw-install-test.shandopenclaw-remove-test.shcover the two commands;default-agent-test.shcovers the installer seam and the launch flags. Each assertion was checked by mutation.🤖 Generated with Claude Code
https://claude.ai/code/session_01SJ72BVipaCjecQFZ6bK2N4