Skip to content

Mingbird v3.1.2

Choose a tag to compare

@Gustor-Wang Gustor-Wang released this 21 Oct 15:34
· 28 commits to main since this release

鸣鸟 Mingbird v3.1.2

🇨🇳 中文在上 / English below.

v3.1.1 源码审计修复版。桌面 UI 与 v3.1.1 相同。628 项测试全绿(625 + 3 新增)。

🔧 修复

  • 并行派发死路径:config.json 手写的 parallel 段此前被配置层静默丢弃(load_config() 只拷贝默认表已有的键,默认表缺这个键,环境变量也没有通道能打开 enabled),整条链路从未打开过。现在默认表携带该键,并有全链路回归测试钉住。
  • 无人值守 = 全局拒绝:AGENT_UNATTENDED=1 下所有人类确认通道(含流式 @@ASK@@ 弹窗分支)一律立即拒绝,不再为一个不存在的人类挂 120 秒等待。
  • 爬行守卫字节口径:预算按字节(2× 文件大小)、消耗此前按字符累计——中文文件实际拿到约 3 倍额度;现在两侧统一为 UTF-8 字节。
  • 文档措辞如实化:prefill 钉子如实表述为 1250 估算 token(中文校准估算器)不变式——任何改动、无论增减都会挂 CI;旧"797 token / 单字节"表述全部改齐。

English

Audit-fix release from a source review of v3.1.1. The desktop UI is unchanged. 628 tests green (625 + 3 new).

🔧 Fixes

  • Parallel dispatch dead path: a hand-written parallel section in config.json was silently dropped — load_config() only copies keys the defaults table knows, the key was missing there, and no environment variable could flip enabled. The defaults table now carries the key, pinned by a full-pipeline regression test.
  • Unattended = global deny: with AGENT_UNATTENDED=1, every human-confirmation channel (including the streaming @@ASK@@ pop-up branch) denies immediately instead of waiting 120 s for a human that was promised absent.
  • Crawl guard byte accounting: the budget is byte-based (2× file size) while consumption counted characters — CJK files got roughly 3× the intended quota. Both sides now count UTF-8 bytes.
  • Docs made honest: the prefill pin is now described as an estimated-token equality (1250 under the CJK-calibrated estimator) that fails on any change, growth or shrinkage.

Install / 安装

Windows:下载 Mingbird-v3.1.2-CN-Setup.exe(中文)或 Mingbird-v3.1.2-EN-Setup.exe(English),双击安装。需要 Ollama 或任何 OpenAI 兼容本地服务;2~9B 小模型核显即可跑,全程数据不出本机。
Windows (EN): download Mingbird-v3.1.2-CN-Setup.exe (Chinese UI) or Mingbird-v3.1.2-EN-Setup.exe (English UI) and run the installer. Requires Ollama or any OpenAI-compatible local server; 2–9B models run on integrated graphics, and your data never leaves the machine.

macOS / Linux(实验性):下载 mingbird-v3.1.2-macos-arm64.tar.gz / mingbird-v3.1.2-macos-x64.tar.gz / mingbird-v3.1.2-linux-x64.tar.gz,解压后运行 LocalAgent。系统语言自动识别(中文系统直接显示中文;英文系统输出自动跟随英文。也可在可执行文件旁建 app_lang.txt 写 zh/en 强制)。
macOS / Linux (experimental, EN): download the tar.gz for your arch, extract, run LocalAgent. System language is auto-detected; you can also force it by placing an app_lang.txt (zh/en) next to the executable.

From source:pip install -r requirements.txt → python agent_gui.py(Python 3.12 推荐)。 / From source (EN): pip install -r requirements.txt → python agent_gui.py (Python 3.12 recommended).