Skip to content

Releases: XiaomingX/mimofan

mimofan v0.0.17

Choose a tag to compare

@XiaomingX XiaomingX released this 14 Aug 11:15

mimofan v0.0.17

本轮(LoopX 续作)在已落地的代码库语义索引基础上,补齐研究编排范式全链路命令壳 + GitHub 共同作者署名,并大规模落地安全审计门、浏览器/反向 MCP/ACP 协议扩展、记忆混合检索与跨会话推理、子代理 DAG 编排与循环守卫持久化等能力。

能力更新

研究编排范式

  • 可机评优化回路 /evolve#751:外部 evaluator 拥有正确性,代理不自我报分。
  • 可复现性纪律 /repro#754:固化 BRIEF.md + env_snapshot.json + provenance.jsonl,默认零行为变更。
  • 研究成果物汇总 /artifact#750:汇总到 initiatives/<id>/--publish 走副作用闸门,不自动推远程。
  • 独立评审者 /reviewer#752:只读审核 claim,作为 /artifact 公开章节前置门。
  • GitHub 共同作者署名git_commit 默认追加 Co-Authored-By: mimofan trailer。

安全(Security)

  • AUTO 权限分类器两阶段 + fail-closed(#730:未知工具默认落入拒绝分支。
  • 输入侧提示注入扫描(#723skill 供应链 provenance + 隔离审计(#731
  • 内容密钥扫描 / 流式脱敏 / 路径穿越防护(#718/#680/#648
  • execpolicy 路径安全内核 path_guard#681命令注入 fuzz(#640命令注入绕过 + SAST 修复(#756/#715/#670trust_mode 与路径边界解耦(#733

工具与协议(Tools & Protocol)

  • 浏览器自动化工具(#743navigate/click/type/screenshot/eval_js,复用 SSRF guard。
  • 反向 MCP server 接线到 CLI 子命令(#746ACP 能力矩阵扩展(#745用量/成本/工具分析洞察(#744聚合工具调用度量(#734有效上下文利用率度量(#735结构化输出 syntheticOutput#729/share --local 本地导出(#688

记忆(Memory)

  • 用户建模 UserProfile#732consolidation 模块 + 重要性评分(#716Embedder trait 抽象(#712混合检索 RRF + score_breakdown(#714hybrid_bm25 关键词召回(#777/#778跨会话推理 session_id#777MemoryStats + /status 接线(#628LongMemEval 评测 harness(#777edit/apply 首试成功率基准(#689compaction 事实保留率断言(#629

子代理与编排(Subagent & Orchestration)

  • DAG 任务编排 + 结构化 plan 维度fork_turns 窗口裁剪(#702task_shell_stop#776后台 shell 完成注入 <task-notification>#696pre-turn 快照 fire-and-forget(#643多目标 GoalQueue#654sidebar 与 ui_event_loop 拆分(#647循环守卫跨回合持久化 + 崩溃恢复 + 日志脱敏循环守卫两维度(#694bus + task_claims 接线(#699

模型与路由 / 平台可观测

  • catalog 实时刷新 + 磁盘持久化(#3385/#787AUTO 路由 token 成本上报(#692prefix-cache 命中率(#646
  • mimofan-telemetry crate,feature-gated OTel 桥接(#726调用图可达性骨架(#598自动化 Webhook 投递(#671/#775

TUI / UX

  • 首屏欢迎页 redesign + 美化HNSW 删除残影修复

验证

  • 构建cargo build --release(workspace version 0.0.17)成功,零 warning;产物 mimofan 0.0.17 (067c9b956340)
  • 单元测试cargo test --workspace --lib —— 764 passed / 0 failed(含 mimofan-memory 75 passed、mimofan-execpolicy 32 passed、mimofan-secrets 18 passed、mimofan-tui 608 passed 等全部 crate 绿)。
  • 修复的测试回归#777 引入的 should_remember salience gate(短内容不写入长期记忆,有意设计)与 3 个旧测试假设冲突(rebuild_is_noop_for_default_backendprune_removes_expiredcount_dual_store_consistency_reports_both),已将测试内容补足至通过 salience 阈值,未改动功能行为
  • 未纳入本次验证范围cargo test --workspace 的集成/二进制测试(LongMemEval harness、edit/apply 基准等)需真模型或耗时极长,不阻塞 release;已由对应独立单测与基准条目覆盖。

资产

  • mimofan-v0.0.17-x86_64-apple-darwin.tar.gz:macOS Intel 二进制包(本机打包)。
  • 其他平台(macOS arm64 / Linux musl x64+arm64 / Windows x64)由 CI 发布矩阵产出。

mimofan v0.0.16

Choose a tag to compare

@XiaomingX XiaomingX released this 10 Aug 16:45

0.0.16 - 2026-08-11

本轮(LoopX 续作)落地代码库语义索引能力,补齐离线代码检索基础设施。

Added

  • 代码库语义索引(#675 / #720:新增 mimofan-memory::codebase 模块,基于 rusqlite + FTS5 提供离线代码全文检索。特性:
    • CodebaseIndex 以 SQLite 持久化,按仓库隔离,文件级内容哈希增量跳过未变更文件;
    • chunk_source 按行窗口(40 行/重叠 8 行)切片,extract_symbols 启发式抽取 fn/struct/enum/impl/trait/mod/async fn 等符号;
    • search 支持语言 / 路径前缀 / 符号三类过滤,返回 SearchHit(含 snippet 高亮与 rank 排序);
    • normalize_querycompute_hash / fooBar 等标识符风格查询展开为空格分隔 token,对齐 unicode61 分词,解决裸下划线/驼峰词在 FTS5 中查不到的问题(保留 "..."*AND/OR/NOT 等显式 FTS 语法不被改写);
    • 含 9 个单元测试覆盖切片/符号抽取/增量跳过/语言与路径过滤/符号过滤/查询归一化。

mimofan v0.0.15

Choose a tag to compare

@XiaomingX XiaomingX released this 10 Aug 15:05

本轮能力更新(LoopX 续作)

补齐测试覆盖、收口安全审计遗漏路径、强化记忆访问统计。

Added

  • 记忆访问强化(#719 M7)Observation 新增 access_count / last_accessed_at,检索命中即更新,反哺 M4 重要性评分;含旧库 migration 与单测。

Fixed

  • /plugins 调试试用执行补齐 execpolicy 审核(#617 续):v0.0.14 已修工具路径与解析根因;本版补齐遗漏的调试命令路径,消除调试命令绕过安全策略的缺口。

Test

  • web_run / web_search 纯逻辑单元测试(#633:URL 识别、域名匹配、vqd 提取、PDF 判定、根域提取、垃圾检测、挑战页识别、URL 归一化、错误脱敏、Bing 重定向解码等共 13 例,零行为变更。

全 workspace 测试 0 失败。

mimofan v0.0.13

Choose a tag to compare

@XiaomingX XiaomingX released this 10 Aug 12:49

本轮能力更新(LoopX P0 批次)

补齐 Provider 矩阵与一批「引擎在手边但命令壳/守卫没接」的能力断连,并加固自动化与记忆检索。

Added

  • Gemini 原生适配(#737:新增 client/gemini.rs,实现 Gemini generateContent/streamGenerateContent 适配(系统指令、函数声明、停止原因映射、增量文本与 SSE 帧解析),补齐 GeminiCompatible provider 的端到端通路;含 9 个单元测试。
  • CostBudget 成本上限硬停守卫(#620PR #747:会话水位 + 当日累计双阈值,Warn/Hard 两档;超出硬上限时阻断后续请求,避免失控烧钱。
  • TUI transcript 全文搜索(#624PR #748:将 transcript 全文检索绑定到 TUI 交互,会话回顾可在界面内直接搜索。
  • /commit 生成并提交 commit message(#682PR #749:新增 GitCommitTool(带 ApprovalRequirement::Required 审批门槛),由模型基于 diff 生成提交信息并执行提交,闭合「先生成后提交」工作流。
  • /night /time /loop --schedule 接线 AutomationManager(#655:定时/循环类自动化命令真正落到 AutomationManager,消除 UI 壳未接引擎的断连。

Changed

  • 向量语义检索接入 SearchCache 缓存层(#642:为向量检索叠加 SearchCache 缓存,降低重复查询成本、稳定召回路径。

关联 PR:#747 #748 #749。全 workspace 测试 0 失败。

mimofan v0.0.12

Choose a tag to compare

@XiaomingX XiaomingX released this 10 Aug 09:59

本轮能力更新(LoopX 收口)

修复一批「引擎在手边但命令壳没接」的 UI 断连缺陷,并加固文件写操作的正确性。

Fixed

  • #704 /monitor 真正持久化:原仅回显「已接收」却零落盘;现经 MonitorStore 真正创建/列表/查询/暂停/恢复/删除,重启后仍保留。
  • #705 /balance 读取真实余额:复用 footer 同源 balance_cell,不再回显 "not wired yet"。
  • #707 /freeze 无参不再假成功:无参时明确提示需提供 plan,不误报已约束。
  • #706 UI 死代码/空壳清理:fleet Docker host 在提交阶段 fail-fast 拒绝;with_parallel_tool#[deprecated];footer 无数据支撑的占位项从可选列表移除。
  • #641 MSRV 修正为 1.95:rusqlite/libsqlite3-sys 使用 1.95 稳定的 cfg_select!,1.88 工具链会报晦涩宏错误。
  • #615 记忆 HNSW 召回稳定max_layer 100→16(≈ln(N)),修复小数据集召回随机为空的 flaky;核验并固化「已删记忆不被 search 召回」不变量(SQLite 为唯一真相源)。
  • #695 先读后改扩展到 write_file/apply_patch/notebook_edit:引入 SHA-256 content_hash 检测同长度改写;新增按工具归因的结构化拒绝 trailer prior_read_violation={...}

Chore

  • 移除 context_budget 零调用方的字符启发式 token 估算残留,统一到 tiktoken/BPE 计数器。

关联 PR:#738 #739 #740 #741。全 workspace 测试 853 套件 0 失败。

mimofan v0.0.11

Choose a tag to compare

@XiaomingX XiaomingX released this 09 Aug 16:06

mimofan v0.0.11

本次发布聚焦跨平台编译可用性修复,并随附漏洞挖掘能力底层设施的收尾。

修复

  • Linux 编译失败(issue #585:补齐 macOS-gated 函数在非 macOS 平台的 fallback,修复 cargo install --git 在 Linux 上的 E0425/E0308 编译错误。
    • normalize_macos_modifierscomposer_ui.rs)新增非 macOS 恒等 fallback。
    • native_ocr_available / try_native_ocrimage_ocr.rs)新增非 macOS fallback(返回 false / Ok(None))。
    • probe_bwrap_available / probe_cgroup_versiondiagnostics.rs)补 Linux 真实探测分支,并修正非 Linux 返回值类型。
    • install_parent_death_signal / install_server_parent_death_signalshell.rs / cli_commands/mod.rs)补 Linux 实现(prctl(PR_SET_PDEATHSIG, SIGKILL)),父进程异常退出时回收子进程。
    • 消除 try_headless_browser_fetch 的跨平台未使用变量 warning。
    • 验证:macOS cargo checkx86_64-unknown-linux-musl 交叉编译均通过(零 warning)。

收尾

  • LSP request/response 基础设施(issue #597:已于 v0.0.10 实现并合入 main,本轮通过双平台编译验证后关闭 issue。作为 MECE L0 前置已落地。

资产

  • mimofan-v0.0.11-x86_64-apple-darwin.tar.gz:macOS Intel 二进制包。
  • 其他平台(macOS arm64 / Linux musl x64+arm64 / Windows x64)由 CI 发布矩阵产出。

mimofan v0.0.10

Choose a tag to compare

@XiaomingX XiaomingX released this 09 Aug 12:55

mimofan v0.0.10

本次发布聚焦能力优化:补齐漏洞挖掘分析底座、统一 token 计数精度、强化长程任务稳定性,并提升 Provider 配置兼容性。

新增能力

  • LSP request/response 基础设施 (issue #597)
    新增 document_symbols / references / definition 请求层与 serverCapabilities 解析,是后续跨过程数据流分析(MECE L0)的前置底座。
  • 记忆分类索引 + 按需加载 (PR #583)
    对齐 CodeBuddy 记忆机制,按四分类体系建立索引并懒加载,降低内存与启动开销。

改进

  • Provider 配置增强anthropic-compatible 模式新增识别 ANTHROPIC_AUTH_TOKEN,并在 README.mdconfig.example.toml 补充环境变量配置说明。
  • 真实 BPE 统一全库 token 计数:修复中文 token 系统性低估,将 seam_manager / context_inspector / injector 三处估算收敛到共享 BPE 计数,压缩与上下文预算估算更准确。

修复

  • 编辑工具正确性三项修复:读范围授权 / replace_all / BOM+CRLF 保真。
  • 回合内循环检测(loop_guard):恢复循环 / 重复 / 停滞检测,缓解长程任务目标漂移。
  • 抑制 libring linker_messages 警告:编译零 warning。

文档

  • README 去 emoji 提升专业性 (PR #584)。

已知进行中(未含入本版本)

MECE 漏洞挖掘四层重构(issue #596 Epic 及 #586/#598/#599/#600/#601/#602/#603/#604 系列)仍在规划/实现中,本版本仅落地其 L0 前置(#597)。

资产

  • mimofan-v0.0.10-x86_64-apple-darwin.tar.gz:macOS Intel 二进制包。
  • 其他平台(macOS arm64 / Linux musl x64+arm64 / Windows x64)由 CI 发布矩阵产出。

v0.0.9

Choose a tag to compare

@github-actions github-actions released this 05 Aug 11:28

Mimofan is the canonical project, command, bun package, and
release-asset name. The legacy npm package deepseek-tui is
deprecated and receives no further releases. Users coming from
v0.8.x legacy deepseek / deepseek-tui names should migrate
with docs/REBRAND.md.

Install

Recommended — bun (one command, both binaries)

bun add -g mimofan

The wrapper downloads both binaries from this Release and places them in the same directory.

Docker / GHCR

docker run --rm -it \
  -e DEEPSEEK_API_KEY="$DEEPSEEK_API_KEY" \
  -v ~/.deepseek:/home/mimofan/.deepseek \
  ghcr.io/hmbown/mimofan:v0.0.9

The image ships the mimofan dispatcher and mimofan-tui runtime. The latest tag is also updated on release.

Cargo (Linux / macOS)

cargo install mimofan --locked

Manual download — platform archives (recommended)

Each archive below contains both the mimofan dispatcher and mimofan-tui runtime, plus an install script:

Platform Archive Install script
Linux x64 mimofan-linux-x64.tar.gz install.sh
Linux ARM64 mimofan-linux-arm64.tar.gz install.sh
Linux RISC-V mimofan-linux-riscv64.tar.gz install.sh
macOS x64 mimofan-macos-x64.tar.gz install.sh
macOS ARM mimofan-macos-arm64.tar.gz install.sh
Windows x64 (installer) MimofanSetup.exe NSIS setup
Windows x64 mimofan-windows-x64.zip install.bat
Windows x64 (portable) mimofan-windows-x64-portable.zip

Unix (Linux / macOS):

tar xzf mimofan-<platform>.tar.gz
cd mimofan-<platform>
./install.sh

Windows:

  • For the installer path, run MimofanSetup.exe; it installs both binaries under %LOCALAPPDATA%\Programs\Mimofan\bin and adds that directory to the current-user PATH.
  • Extract mimofan-windows-x64.zip
  • Run install.bat (copies to %USERPROFILE%\bin)
  • Add %USERPROFILE%\bin to your PATH

The portable Windows archive skips the install script — extract and run from any directory. The NSIS installer is currently unsigned and may trigger Windows SmartScreen until a signing certificate is wired into the release pipeline.

Each platform also has bare, unarchived binaries attached below (mimofan-<platform> and mimofan-tui-<platform>) — these are what the bun wrapper and the in-app mimofan update download, whereas the .tar.gz / .zip archives above are the recommended manual download and additionally bundle an install script. The legacy npm package deepseek-tui is deprecated and is not republished. For migration from v0.8.x legacy binary names, see docs/REBRAND.md.

Verify (recommended)

Download the checksum manifests from this Release and verify:

# Linux — archive bundles
sha256sum -c mimofan-bundles-sha256.txt

# Linux — individual binaries
sha256sum -c mimofan-artifacts-sha256.txt

# macOS
shasum -a 256 -c mimofan-bundles-sha256.txt
shasum -a 256 -c mimofan-artifacts-sha256.txt

What's in v0.0.9

Added

  • Issue Monitor 工作流 (#560):新增 issue 监控与自动处理流程,便于跟踪上游反馈与自动归档。

Changed

  • 架构规划收尾(DDD 第一性原理梳理,零功能新增、零交互层改动)
    • 标记 mimofan-memoryexperimental(未集成),避免零上游依赖的僵尸模块误导用户 (#570)。
    • execpolicy 双实现厘清为互补而非重复:CLI/tui 走本地文件策略、crate 提供可复用引擎;仅移除 shell.rs 的死导入 (#572)。
    • 双重「运行时」(crate::Runtime 无界面 API 核心 / tui::Engine 交互循环)厘清为两个限界上下文,命名撞车误判,不合并 (#574)。
    • UI 层 3 处渲染 IO(提示建议静态客户端、剪贴板落盘、文件树读取)确认为展示层正当职责,不做端口化注入(过度设计)(#576)。
    • 冗余英文文档清理并中文化架构说明 (#568)。
    • DDD 拆分 5 个「上帝文件」模块 (#566)。

Security

  • deny 规则大小写不敏感(行为变化,更安全) (#580):tui 的 deny/allow 匹配统一改用 crate 的 lowercase canonical_executable_formexecpolicy.tomldeny = ["rm *"] 现在也能拦住大写命令(RM -rf / / SUDO RM -rf /),不再因大小写绕过 deny 规则。这是本版本唯一的行为变化点。

Contributor credits for this release live in the changelog entry above —
thank you to everyone whose reports, PRs, reviews, and reproductions shaped it.

See CHANGELOG.md for full notes and docs/CHANGELOG_ARCHIVE.md for older releases.

v0.0.8

Choose a tag to compare

@XiaomingX XiaomingX released this 04 Aug 13:04

v0.0.8 更新内容

新功能

  • Spec Freeze (#557): 新增 /freeze/unfreeze 命令,支持冻结 agent 到特定计划/规格,防止偏离

  • Hashline Anchor 编辑 (#556): read_file 输出增加内容哈希行锚点,edit_file 支持基于哈希锚点的精确编辑

  • Task Claim 机制 (#555): 子智能体任务认领系统,防止重复工作

  • Scheduler Hints (#554): 多任务调度提示机制,支持优先级、依赖、冷却时间

  • Evidence Logging (#553): 决策审计日志,支持按线程和目标查询

  • Decision Gate (#552): 决策关卡机制,在关键决策点强制用户介入

改进

  • 添加死锁防护模式文档到 CLAUDE.md
  • 添加 API 基准测试脚本

v0.0.6: 环境变量增强与 SQLite 慢查询监测

Choose a tag to compare

@XiaomingX XiaomingX released this 31 Jul 13:50

v0.0.6 发布说明

🚀 新功能

配置系统增强 (Issues #418, #423)

  • 环境变量优先级解析:支持 ANTHROPIC_BASE_URL 和 ANTHROPIC_API_KEY 环境变量覆盖
  • 自定义服务商路由:自动支持 CUSTOM_BASE_URL 和 DEEPSEEK_BASE_URL 环境变量
  • 零配置启动:改进 onboarding 体验,支持环境变量自动检测

可观测性 (Issue #436)

  • SQLite 慢查询监测:引入 Slow SQL 检测功能,支持 tracing 日志输出
  • 性能瓶颈定位能力大幅提升

工具增强 (Issues #418, #423)

  • replace_file_content 工具:新增文件内容替换辅助工具

📝 改进

  • 代码质量:全面代码格式化,提升可读性
  • 文档更新:重构 README 快速启动指南,优化用户体验
  • 依赖管理:升级 starlark 依赖至 0.14.2

🔧 修复

  • 清理遗留代码和未使用的常量
  • 简化 base_url 回退逻辑

📦 关联 Issues

  • #418 - 自定义服务商环境变量支持
  • #423 - replace_file_content 工具实现
  • #434 - README UX 重构
  • #436 - SQLite 慢查询监测

📊 变更统计

  • 16 个文件变更
  • +187 行新增,-131 行删除
  • 主要涉及:config、memory、subagent、tui 模块

🔨 构建信息

  • 目标平台:macOS (Darwin 24.6.0)
  • Rust 版本:1.88+
  • 构建时间:约 10 分钟 (release profile)

📥 下载