cmux/CLI
Lawrence Chen 6e5903e4e9
Improve cmux omo error when opencode is not installed (#2230)
* Improve cmux omo error when opencode is not installed

On a fresh computer without opencode, cmux omo would fail with the
unhelpful "Failed to launch opencode: No such file or directory".
Now checks for opencode before doing setup work and shows install
instructions: npm install -g opencode-ai

* Show npm install progress and improve first-run experience

On first run, npm install oh-my-opencode can take 30+ seconds.
Previously piped to /dev/null, making it look like cmux omo hung.
Now pipes npm output directly to stderr so users see progress.
Also improves the message: "this may take a minute on first run".

* Move opencode check before plugin setup to fail fast

---------

Co-authored-by: Lawrence Chen <lawrencecchen@users.noreply.github.com>
2026-03-26 19:28:22 -07:00
..
cmux.swift Improve cmux omo error when opencode is not installed (#2230) 2026-03-26 19:28:22 -07:00