Skip to content

v0.1.11

Latest

Choose a tag to compare

@qiaozongming qiaozongming released this 10 Aug 06:06
· 5 commits to main since this release
192938e

Summary

The headline of this release is memory.disable_write — a switch that stops MiMoCode from writing memory while leaving reads intact. With it on, no checkpoints, MEMORY.md, notes.md or task progress.md are written and dream/distill stop running automatically; nothing is ever deleted and the builtin memory search tool keeps working. One caveat we corrected in the same release: existing memory is not auto-loaded while writing is off — the dumps normally reach context through a checkpoint rebuild, which is short-circuited by design when no new checkpoint can be written, so the switch's wording no longer promises automatic availability.

Also notable: a patched @ai-sdk/openai-compatible fixes MCP tools with more than two parameters silently losing their arguments — the stream parser finalized a tool call as soon as the accumulated arguments first parsed as valid JSON, so providers that emit complete-JSON snapshots (e.g. OpenRouter) had all later fragments dropped. Plus a new memory-search builtin skill (querying the SQLite trajectory DB) and an MCP refactor that makes the single-client-per-process property structural instead of relying on layer memoisation.


本次发布的主角是 memory.disable_write —— 一个只停写、不停读的记忆开关。开启后不再写入 checkpoint、MEMORY.mdnotes.md 和任务 progress.md,dream/distill 也不再自动运行;任何文件都不会被删除,内置 memory 检索工具照常可用。同一版本里我们同时修正了一处措辞:停写期间既有记忆不会自动加载——记忆内容平时是靠 checkpoint 重建进入上下文的,而停写时无法写新 checkpoint,重建会按设计短路并降级为压缩,因此开关文案不再承诺"自动可用"。

另一个重点:通过@ai-sdk/openai-compatible 打补丁,修复了参数多于两个的 MCP 工具静默丢参数的问题——流解析器一旦发现累积的 arguments 首次能解析为合法 JSON 就提前完结该工具调用,导致以完整 JSON 快照方式推流的 provider(如 OpenRouter)后续片段全部被丢弃。此外还新增 memory-search 内置技能(查询 SQLite 轨迹库),以及一次 MCP 重构:把"每进程单一 client"从依赖 layer memo 的巧合变成图上可见的结构性保证。

Features

  • memory: add the memory.disable_write switch — stop memory writes, keep reads by @wqymi in #2040
  • skill: add memory-search builtin skill — SQLite trajectory DB query guide by @JinyuXiang-Mimo in #2046, #2053

Bug Fixes

  • mcp: patch @ai-sdk/openai-compatible to stop dropping multi-arg tool calls by @YOMXXX in #2054
  • memory: stop promising memory loads itself while writing is off by @wqymi in #2071
  • agent: align subagent prompts with runtime tool schemas by @MiMoHardFather in #2039
  • session: scope diffs to requested message by @MiMoHardFather in #2055
  • tui: hide runtime-spawned agent hosts from the Sessions list by @wqymi in #2035
  • cli: normalize command output newlines by @yanyihan-xiaomi in #2041

Refactor

  • mcp: share one process-wide client layer by @wqymi in #2044

Docs

New Contributors

Full Changelog: v0.1.10...v0.1.11