github XiaomiMiMo/MiMo-Code v0.1.5

6 hours ago

Summary

This release ships a builtin skills system — 14 domain-specific skill bundles (document handling, academic writing, arXiv search, deep research, super-research, html-to-video, skill authoring, design blueprint, and self-documentation) that auto-load when relevant files are attached or task context matches. Skills show localized descriptions in the TUI dialog and support auto-detection of office file attachments. The self-extend skill is renamed to evolve, reframing it as a proactive total self-modification interface. Two new built-in research workflows ship alongside: deep-research (parallel sub-agents → reflect → cited report) and fact-check (adversarial 3-juror verification).

Other highlights: Windows native installer now fully supported (PowerShell one-liner, working upgrade/uninstall); vision-aware image paste spills images to temp files for non-vision models with automatic multimodal model selection; Edit tool defaults to exact string matching (fuzzy now opt-in); gpt-5.5 encrypted reasoning round-trip fix; rewritten repetition detector eliminating false-positive loop-kills on structured content.

Experimental opt-in: Orchestrator mode (MIMOCODE_EXPERIMENTAL_ORCHESTRATOR) adds delegating multi-session coordination with git worktree isolation; cron + loop scheduling (MIMOCODE_EXPERIMENTAL_CRON) enables recurring prompts with durable persistence.


这个版本的重点是内置 Skills——14 个领域 skill 随版本分发(办公文档、学术写作、arXiv 检索、深度调研、超级科研、HTML 转视频、skill 创作、设计蓝图、自文档化等),挂载相关文件或上下文命中时自动激活,TUI 对话框显示多语言描述。self-extend 改名 evolve,作为全面自我修改的入口。同时上线 deep-researchfact-check 两个内置 workflow。

其他值得关注的:Windows 一行式安装命令正式可用(upgrade/uninstall 完整支持);粘贴图片时非多模态模型会收到临时文件引用而非 base64,自动选用多模态模型处理;Edit 工具默认精确匹配;gpt-5.5 加密 reasoning 往返修复;重复检测器重写,不再误杀结构化内容。

实验性功能(需手动开启):Orchestrator 模式支持委派式多 session 协作;cron + loop 支持定时与自适应循环。

Features

  • skill/builtin: ship 14 builtin skills — docx, pdf, pptx, xlsx document handling; arxiv paper search; research-paper-writing (with PDF export); html-to-video pipeline; skill-creator; mimocode self-documentation; frontend-design; modern-python-toolchain; design-blueprint; deep-research; super-research (renamed from auto-research; literature surveys, experiment loops, paper reproduction, citation auditing). Office file attachments auto-inject skill context; TUI skill dialog shows localized descriptions; slash visibility gated by MIMOCODE_ENABLE_SLASH_SKILLS (#1557, #1564, #1565, #1555, #1569, #1570, #1572, #1567, #1531, #1583, #1579, #1585, #1587, #1586, #1604, #1580, #1594)
  • skill/builtin: rename self-extend to evolve — rewrite SKILL.md as proactive total self-modification interface (tools, hooks, knowledge, workflows, UI all rewritable); sync hook-api.md with missing events; add ctx.ask() to tool-api.md (#1590)
  • installer: first-class Windows PowerShell native installer (one-liner alongside macOS/Linux), working mimo upgrade/mimo uninstall, UTF-8 encoding; recommend native installer for npm/pnpm/bun users (#1511, #1549, #1551, #1592)
  • tui: vision-aware image paste — non-vision models receive a temp-file @file reference instead of base64 bytes; automatic multimodal model selection; actor models [--vision] discovery command (#1513, #1546)
  • edit: default to exact string matching with closest-match error hints — fuzzy matching moved to opt-in via MIMOCODE_ENABLE_FUZZY_EDIT (#1466)
  • security: secondary permission prompt for irreversible bash deletions (bash_delete permission type) — intercepts rm, rmdir, shred, git reset --hard, git push --force, etc. Opt-out via MIMOCODE_AUTO_APPROVE_DELETE=true (#1588)
  • tui: --dangerously-skip-permissions flag with confirmation warning (#1542)
  • tui: clickable sidebar toggle button at content edge (#1541)
  • config: automatic $schema URL migration from opencode.ai to mimo.xiaomi.com/mimocode/ (#1511)
  • bash: token efficiency pipeline (opt-in, MIMOCODE_EXPERIMENTAL_TOKEN_EFFICIENCY_HEURISTIC) — heuristic shape-based filter strips predictable noise from common output patterns (#1473, #1519)
  • provider: non-empty provider.<id>.models config acts as implicit whitelist when only_configured_models is enabled (#1532, #1589)
  • orchestrator: Orchestrator mode (opt-in, MIMOCODE_EXPERIMENTAL_ORCHESTRATOR) — a primary agent that delegates to child sessions via a session tool with create/switch/list/cancel/ask/approve verbs, git worktree isolation per child, permission-approval forwarding (#1529)
  • cron: cron + loop scheduling system (opt-in, MIMOCODE_EXPERIMENTAL_CRON) — 5-field cron parser, durable + session-only persistence, self-paced loop with adaptive delay and keepalive, /loop skill, TUI fire-time clock row (#1479)

Bug Fixes

  • provider: fix gpt-5.5 empty output and reasoning part rs_… not found errors — request encrypted reasoning content for Responses API round-tripping (#1530)
  • provider: defer vision model resolution to environment() call time — fixes crash where mimo upgrade/mimo uninstall failed without project context (#1546)
  • detection: rewrite repetition detector from sliding-window n-gram to consecutive-block repeat algorithm — eliminates false-positive loop-kills on structured content; adds CJK character-level tokenization (#1476)
  • tui: patch @opentui/core@0.1.101 to fix CJK paste-highlight drift (UTF-16 length → display width) (#1471)
  • tui: prevent double session creation on home screen submit (#1497)
  • tui: clear alternate screen buffer before spawning interactive commands (#1492)
  • tui: fix background actor Task showing "completed · 0ms" while still running (#1499)
  • session: add HTTP 400 to retryable status codes; exclude system sessions from mimo -c (#1528)
  • effect: two-phase instance disposal — Bus shuts down after other services emit final events, fixing sessions stuck as permanently busy (#1527)
  • build: generate ext/_manifest.ts in Node target (#1501)
  • compose: strengthen skill invocation prompt and fix RLHF resistance (#1598)

Refactor

  • Prediction uses side-channel generateText instead of llm.stream — bypasses session-coupled hooks, uses tighter context window (#1498)

Docs

  • Add Builtin Skills and Workflows sections to README (en/zh) (#1581)
  • Simplify npm README to concise feature list with GitHub link (#1470)

Internal / CI

  • Skip flaky tests: cancel-truncation (#1523), cancel-interrupts-loop-queued-behind-shell (#1584)
  • Remove unused imports and afterEach in overflow test (#1568)
  • Add registry sync script (#1591)

Don't miss a new MiMo-Code release

NewReleases is sending notifications on new releases.