Repository navigation
Mingbird v3.1.1
鸣鸟 Mingbird v3.1.1
🇨🇳 中文在上 / English below.
平台感知 + 桌面 UI 大改版 + 云端 API 入口。625 项测试全绿(576 + 49 新增)。
🎨 桌面界面重设计
- 会话侧边栏:历史会话常驻左侧,按今天/昨天/更早分组,支持即时搜索;点击即切换。旧版导航轨与独立历史页移除。
- 会话管理:侧栏会话右键即可归档(移出列表、文件保留在
sessions/_archived可找回)或删除(确认后彻底移除);运行中的当前会话禁止操作。 - 计划抽屉:右侧默认收起,只留完成角标;展开后显示进度条与当前项,不再长期占用主窗口宽度。
- 统一输入区:附件、语音、语言、工作目录、任务时限、续跑收进底部输入卡;模型/思考/联网收进顶部胶囊,旧版两条工具栏移除。
- 输入快捷键与主流对齐:Enter 发送、Shift+Enter 换行(Ctrl+Enter 仍为发送);Web 端带输入法组合保护,中文打字不会误发。
- 视觉与主题:一套令牌覆盖深浅色,消息右对齐、思考/工具行紧凑化,Windows 11 标题栏随主题切换;200% 高分屏布局修复(侧栏/对话框不再只有一半宽)。
- Web UI 同步重设计:浏览器端换成同一套令牌与布局;流式输出改为按帧重绘。
- 云端 API 进设置:设置 → 推理引擎新增「云端 API」协议(任意 OpenAI 兼容服务);云端与本地互斥,云端生效时断网开关置灰,状态栏显示「联网 · 云端模型」。
- 跨平台:字体族按平台解析,Linux 语言探测,POSIX 进程组终止。
✨ 平台感知
- 平台信息块:每个任务告知模型真实的平台、shell 与命令对照(Windows:cmd.exe /
dir/findstr;POSIX:ls/grep),静态出厂提示零改动。 - 工具参数类型校正:字符串数字/布尔按 schema 校正;解析失败返回结构化错误;空串可选参数按未提供处理。
- 命令输出精简三态:自动(上下文档位 ≤32K)/ 强制开 / 强制关;
AGENT_SLIM_OUTPUT=1|0可覆盖。 - 注册表写入纳入确认门:
reg add/delete/import与setx/schtasks同门;无人值守下默认拒绝。 - Web UI:SSE 事件改为单调 id,超过 600 条不再永久静默;越界确认需要匹配当前待答请求。
English
Platform-aware harness + a redesigned desktop UI + a cloud API entry. 625 tests green (576 + 49 new).
🎨 Desktop UI redesign
- Conversation sidebar: history lives in a persistent left rail grouped by today/yesterday/earlier with instant search; click to switch. The old nav rail and separate history page are gone.
- Conversation management: right-click any sidebar conversation to archive (hidden from list and search, files kept under
sessions/_archived, move back to restore) or delete (confirm dialog, full sidecar set removed); blocked for the current conversation while a task runs. - Plan drawer: collapsed by default with a progress badge; expands to show the progress bar and current item without occupying a permanent column.
- Unified composer: attachments, voice, language, workdir, time limit and resume live in the bottom card; model/thinking/online move into header pills. The two old toolbars are gone.
- Mainstream input shortcuts: Enter sends, Shift+Enter for a newline (Ctrl+Enter still sends); the web composer guards IME composition.
- Visual system: one token set covers light/dark, right-aligned user messages, tighter thinking/tool rows, Windows 11 caption colour follows the theme, and a 200%-DPI layout fix (sidebar and dialogs no longer render at half width).
- Web UI redesign: the browser frontend shares the same tokens and layout; streaming repaints once per frame.
- Cloud API in Settings: Inference engine → Cloud API (any OpenAI-compatible service). Cloud and local models are mutually exclusive; while cloud is active the offline toggle is disabled and the status bar reads "Online · cloud model".
- Cross-platform: per-OS font families, Linux locale detection, and POSIX process-group termination.
✨ Platform awareness
- Platform block: every task states the real platform, shell and command mapping (Windows: cmd.exe /
dir/findstr; POSIX:ls/grep) with the static factory prompt untouched. - Tool-argument type repair: numeric/boolean strings are coerced per schema; unparseable values get structured errors; empty optional values are treated as omitted.
- Compact command output (three states): auto (context tier ≤32K) / force on / force off;
AGENT_SLIM_OUTPUT=1|0overrides. - Registry writes join the confirm gate:
reg add/delete/importnow follows the same ring assetx/schtasks, and is denied under unattended runs. - Web UI: SSE events carry monotonic ids; an out-of-workspace approval must match the current pending request.
Install / 安装
Windows:下载 Mingbird-v3.1.1-CN-Setup.exe(中文)或 Mingbird-v3.1.1-EN-Setup.exe(English),双击安装。需要 Ollama 或任何 OpenAI 兼容本地服务;2~9B 小模型核显即可跑,全程数据不出本机。
Windows (EN): download Mingbird-v3.1.1-CN-Setup.exe (Chinese UI) or Mingbird-v3.1.1-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.1-macos-arm64.tar.gz / mingbird-v3.1.1-macos-x64.tar.gz / mingbird-v3.1.1-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).