feat(engines): mimocode — install MiMo Code from mimo.xiaomi.com - #524
Merged
Merged
Conversation
Adds Xiaomi's MiMo Code as an engine: `moshcode install mimocode` runs `curl -fsSL https://mimo.xiaomi.com/install | bash`, which drops a binary named `mimo` in ~/.mimocode/bin (bridged via binDirs, aliases mimo / mimo-code / xiaomi). It is an opencode derivative, so headless ai() is `mimo run <message>`, resume is `--continue`, and `mimo upgrade` knows its curl install and swaps the binary in place. Agent mode is `--dangerously-skip-permissions --trust`. Verified under a pty on 0.1.14: without --trust a fresh directory opens on a workspace trust dialog (default Yes), and the bypass flag puts up its own warning on every launch (default "No, exit"). Both ship as `boot` answers for swarms and as `blocked` rules for the herd. Uncosted: it keeps its sessions in a sqlite db moshcode does not read yet. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
ThreatCrush Security Scan8 finding(s) in the 5 file(s) this pull request changes. MEDIUM: 8
93 pre-existing finding(s) elsewhere in the repository — **HIGH/CRITICAL**: 8 | **MEDIUM**: 74 | **LOW**: 11Not introduced by this pull request. The full set is in the Security tab.
…and 73 more. Full results in the Security tab. Snippets are redacted; ThreatCrush never prints matched credential material. |
This was referenced Sep 22, 2026
ralyodio
added a commit
that referenced
this pull request
Sep 22, 2026
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.
Adds Xiaomi's MiMo Code as an engine.
moshcode install mimocoderunscurl -fsSL https://mimo.xiaomi.com/install | bash. The installer drops a binary namedmimoin~/.mimocode/bin, so that dir is bridged viabinDirsandmimo/mimo-code/xiaomiresolve as aliases.ai()ismimo run <message>, resume is--continue, andmimo upgraderecognises its curl install ("Using method: curl") and swaps the binary in place.mimo --dangerously-skip-permissions --trust. Verified under a pty on 0.1.14: without--trusta fresh directory opens on a workspace trust dialog (default Yes), and the bypass flag puts up its own warning on every launch (default "No, exit"). Both ship asbootanswers for swarms and asblockedrules for the herd; the captured screens classify asblockedandbootAnswerpicks Down+Enter for the warning.~/.local/share/mimocode/mimocode.db(sqlite), which moshcode does not read yet.Tests:
node --test test/engines.test.mjs33/33. Full suite green except the twoapps/pwaMCP tests, which fail on a missing@libsql/client(apps/pwa is not a workspace; unrelated).🤖 Generated with Claude Code