Skip to content

Mingbird v2.1.5

Choose a tag to compare

@Gustor-Wang Gustor-Wang released this 13 Oct 15:06
· 35 commits to main since this release

鸣鸟 Mingbird v2.1.5

🇨🇳 中文在上 / English below.

来自 issue #6 的修复:Windows 安装版的技能列表此前恒显示「已装技能 0」——17 个内置技能其实都在,agent 也一直能正常加载,坏的只是显示。测试 576 项全绿(569 + 7 新增)。

修复

  • 安装版技能列表不再显示 0:PyInstaller 的 onedir 布局把打包数据装进 _internal(运行时的 sys._MEIPASS),而 GUI 只扫安装根目录与用户主目录的 skills——安装版里内置技能全部不可见。打包版 GUI 现在优先扫打包资源目录,源码运行行为不变。
  • 技能列表展示的每个目录现在都可真正加载:安装版 agent 侧同时认 EXE 旁的 skills 目录(优先级:工作区 > 用户主目录 > EXE 旁 > 内置)。此前把 _internal\skills 复制到安装根目录的临时办法升级后继续有效,放在那里的自装技能既显示又可加载。
  • 新增 7 项测试,其中一项用真实 PyInstaller 产物模拟安装版扫描、断言内置技能可被列出——防止「源码正常、发行版失效」这类回归再次漏网。

English

Fixes from issue #6: the skill list on the Windows installer always showed "0 skills installed" — the 17 bundled skills were all there and the agent could load them fine; only the display was broken. Tests: 576 green (569 + 7 new).

Fixes

  • The skill list no longer shows 0 on the Windows installer: PyInstaller's onedir layout puts bundled data under _internal (sys._MEIPASS at runtime), while the GUI scanned only the install-root skills folder and the user-home one — bundled skills were invisible in installed builds. Frozen builds now scan the packaged resource directory first; source runs are unchanged.
  • Every directory the skill list shows is now actually loadable: in installed builds the agent also honors a skills folder placed next to the EXE (priority: workspace > user home > EXE folder > built-in). The workaround of copying _internal\skills next to the EXE keeps working after the upgrade, and a skill dropped there is both displayed and loadable.
  • 7 new tests, including one that simulates an installed build against a real PyInstaller output tree and asserts the bundled skills get listed — guarding against "works from source, broken in the installer" regressions.

Install / 安装

Windows:下载 Mingbird-v2.1.5-CN-Setup.exe(中文)或 Mingbird-v2.1.5-EN-Setup.exe(English),双击安装。需要 Ollama 或任何 OpenAI 兼容本地服务;2~9B 小模型核显即可跑,全程数据不出本机。
Windows (EN): download Mingbird-v2.1.5-CN-Setup.exe (Chinese UI) or Mingbird-v2.1.5-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-v2.1.5-macos-arm64.tar.gz / mingbird-v2.1.5-macos-x64.tar.gz / mingbird-v2.1.5-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 (English systems get English output); 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).