Repository navigation
Install Node with opencode, qwen, ghui and playwright on their first run - #18550
Merged
Merged
Conversation
mise's shim installs a registry tool whose first backend is npm on its own, before the lazy install that would bring the lazy Node it needs, so the first run of these four fails with "failed to resolve configured install dependency 'node@latest' ... while offline". Keeping them out of the shim's automatic install sends their first command through the lazy install instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In omarchy.toml it would outlive an opt-out of the default tools and keep a user's own declaration of one of these tools from installing on its first command. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: muse-wonder via pi, thinking high <noreply@meta.com>
Contributor
[Medium impact] The PR appears safe to merge. SummaryRoutes first-run installation of
Reviews (1) · Last reviewed commit: "Say why the auto-install list lives with..." · Reviewed by Greptile |
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.
On a fresh install, the first
opencodefails at once while the machine is online, and installs nothing:The tds layout's bottom-right pane is where most people meet it first, and
qwen,ghuiandplaywrightfail the same way until someone runsmise install nodeby hand.Node has been a lazy tool since #15876, and these four are registry shorthands whose first backend is npm and whose registry entry lists their commands. When their shim runs, mise installs that registry tool on its own instead of taking the lazy install, which would bring the missing lazy Node with it, and npm's install refuses without Node. The explicit
npm:keys (cf, kimi, dsh and the rest) and amp, whose registry entry lists no command, already take the lazy install and work. mise's docs promise a lazy tool's first command installs what it depends on, so the bug is mise's; this works around it until mise takes the lazy install for these.This lists the four in
auto_install_disable_toolsin the[settings]ofetc/mise/conf.d/omarchy-tools.toml, beside their declarations rather than inomarchy.toml, so it leaves with them when a user opts out of the default tools instead of keeping a tool the user declares themselves from installing. Their first command then takes the lazy install, which installs Node with them.auto_update,mise execandmise install --include-lazydo not read the setting.agents/skills/mise-tools.mdsays when a tool belongs in the list, and the list comes out in one line once mise is fixed. A sweep of every shorthand in the file against mise 2026.11.6's registry finds exactly these four.Limits, accepted:
auto_install_disable_toolsreplaces this list rather than adding to it, so for that user the first run fails as it does today.mise installas the thing to run.mise xor a task there that used to install it on demand now asks formise install.mise install opencodewhile Node is missing still fails, as today: mise's named install never adds a tool's lazy dependencies.omarchy-default-agentalready installs Node with an npm agent (Add every coding agent and provider to the agents panel and the default agent #14040).On a worker built from the Omarchy ISO, with mise 2026.11.6: on quattro, after
mise uninstall --all node,opencode --versionandqwen --versionfail with the error above. With this file, each of the four, aftermise uninstall --all node <tool>, installs Node and the tool and prints its version (opencode v2.2.7, qwen 0.27.2, ghui 0.9.1, playwright 1.65.0).Found by Prime's QA pass, whose diagnosis and approach this follows.
🤖 Generated by Opus 5.5 in Claude Code. Reviewed by Codex Medium and muse-wonder via pi, thinking high.