ReleaseXiaomi (MiMo)Xiaomi (MiMo)published Jul 20, 2026seen 5d

XiaomiMiMo/MiMo-Code v0.1.7

XiaomiMiMo/MiMo-Code

Open original ↗

Captured source

source ↗
published Jul 20, 2026seen 5dcaptured 5dhttp 200method plain

v0.1.7

Repository: XiaomiMiMo/MiMo-Code

Tag: v0.1.7

Published: 2026-07-20T13:06:50Z

Prerelease: no

Release notes:

Summary

This release adds `tool_script` — programmatic tool orchestration in a QuickJS sandbox, letting the model chain multiple tool calls in one script instead of many round-trips, with a hardened serialization contract, sandbox jail, MCP dispatch, and opt-in gating.

It also introduces session handoff + a try-best detector (behind MIMOCODE_ENABLE_TRY_BEST_HANDOFF, default off) and a big skills push: new bundles (data-analytics, product-design, sales, learn-everything), a skill_search tool with BM25 matching, bundle autocomplete + i18n, and the mimocode bundle renamed to mimocode-docs. Other updates: xAI/Grok bump with OAuth login, interleaved-reasoning transform sync, several provider/session robustness fixes, and switching install docs to bun ci.

---

本次发布新增 `tool_script`:在 QuickJS 沙箱里以脚本方式编排工具调用,让模型在一段脚本里串联多个工具、减少多轮往返,并配有严格的序列化契约、沙箱隔离、MCP 分发和按需开关。

同时引入会话交接(handoff)+ try-best 检测器(由 MIMOCODE_ENABLE_TRY_BEST_HANDOFF 控制,默认关闭),以及一批技能(skill)增强:新增 data-analytics、product-design、sales、learn-everything 等 bundle,带 BM25 匹配的 skill_search 工具,bundle 自动补全与多语言,并把 mimocode bundle 更名为 mimocode-docs。其他更新:xAI/Grok 升级并支持 OAuth 登录、interleaved reasoning 的 transform 同步、若干 provider/session 健壮性修复,以及安装文档改用 bun ci

Features

  • tool: add tool_script — programmatic tool orchestration in a QuickJS sandbox by @JinyuXiang-Mimo in #1749
  • skill: add skill_search tool with BM25 matching by @MiMoHardFather in #1799
  • skill: add data-analytics, product-design, and sales skill bundles by @MiMoHardFather in #1792
  • skill: add learn-everything bundle by @MiMoHardFather in #1805
  • skill: skill bundle autocomplete + i18n; rename mimocode bundle to mimocode-docs by @MiMoHardFather in #1796, #1797
  • session: session handoff and try-best detector (opt-in via MIMOCODE_ENABLE_TRY_BEST_HANDOFF, default off) by @MiMoHardFather in #1751, #1767
  • provider(xai): bump @ai-sdk/xai to 3.0.102, sync Grok transform, add OAuth login by @wqymi in #1818

Bug Fixes

  • tool_script: serialization contract, sandbox jail, MCP dispatch, and opt-in gating; discourage overuse and stop escaping return values by @JinyuXiang-Mimo, @yanyihan-xiaomi in #1784, #1777
  • provider: guard non-array message content in part mapping (j.map is not a function) by @wqymi in #1728
  • transform: sync interleaved handling — exclude openrouter + always echo reasoning field by @wqymi in #1819
  • session: treat GPT reasoning-only steps as terminal by @MiMoHardFather in #1820
  • session: narrow empty-step guard to only empty-args tool calls by @yanyihan-xiaomi in #1776
  • session: session LLM and plugin hook fixes by @MiMoHardFather in #1815
  • task: remove main-session task gate, keep subagent gate only by @yanyihan-xiaomi in #1759
  • tui: clean up unsupported tips by @yanyihan-xiaomi in #1768
  • skill: only expose top-level builtin entries; localize new bundles and hide internal workflows by @MiMoHardFather in #1795
  • build: fresh-clone engine node build + pin ghostty-web to a commit by @clyfish in #1771

Docs

  • document CJK/East-Asian font handling for office skills by @clyfish in #1758
  • clarify pptx preview script paths and CLI-only scope by @yanyihan-xiaomi in #1789
  • use bun ci for install instructions by @clyfish in #1775, #1778

Internal / CI

  • default MIMOCODE_ENABLE_TRY_BEST_HANDOFF to off + align tests by @MiMoHardFather in #1767, #1770
  • rename build:dev to build:local + add root shortcut by @yanyihan-xiaomi in #1821
  • skip two cold-warmup-flaky workflow/tool tests by @yanyihan-xiaomi in #1779

New Contributors

  • @clyfish made their first contribution in https://github.com/XiaomiMiMo/MiMo-Code/pull/1771

Full Changelog: https://github.com/XiaomiMiMo/MiMo-Code/compare/v0.1.6...v0.1.7