Skip to content

Pi Bot v0.1.3

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 15:50
· 2 commits to main since this release

中文

  • 外部 Agent(Claude Code、Codex、Antigravity、Cursor 等)能用的 Pi Bot 工具和普通 Bot 一样(文件、浏览器、记忆、例行任务等);建例行任务要你在卡片上确认,Claude Code 自带的定时器保持关闭。
  • 外部 Agent 的每个请求都按 Pi Bot 的权限规则判断;切到「不询问」模式前要你确认,它执行的命令写进审计日志;要改工作文件夹以外的文件,你点允许后由 Pi Bot 代为执行并把结果告诉 Agent。能正确识别 Antigravity 调用的工具,连接器下载失败时说明原因。
  • 审批:命令卡片新增「这一轮都允许」,本轮同类操作不再逐个询问;卡片先写为什么要问,开了自动批准仍在问时说明原因,Agent 的工具名改成大白话;审批快要暂停前先提醒手机一次;修复选了「这一轮都允许」后有的命令仍不执行。
  • Pi 派活时可勾选「这个任务里的操作自动批准」(默认勾上);派活卡片的模型一栏显示服务商名称;只需回一句话的小事 Pi 直接答,模板等你选定后才安装。
  • 群计划可以让生图成员单独做一步(文案 → 出图 → 视频),图按计划里的文件名存进计划文件夹;比例和尺寸真正传给各家生图服务,服务没照做时程序按比例居中裁剪。
  • 视频提交前按模型支持的时长、分辨率、比例自动调整,确认卡片写明调了什么;视频存进工作文件夹,可指定文件名;几段拼成一条成片时由视频成员用 ffmpeg 合成;因超时、网络或服务端错误失败的视频可在卡片上一键重试(按新任务计费)。
  • 群协作修复:成员在主话题被问到时不再被静默取消;清理过期的提问;计划步骤找不到合适的独立复核成员时提示统筹去掉这一步。
  • 记忆:你提到关于自己的长期信息,Bot 当场记住并在对话里告诉你记了什么;需要你确认的记忆会在对话里说明。
  • 手机和执行端:设备页显示当前走直连还是中继、为什么走中继、怎么改成直连,以及两者的实测延迟;自动选更快的 STUN 服务,也可手动选并测速;支持 IPv6 直连;设备上的日期按应用语言显示。
  • STUN 提示:升级的安装保持原来的「只用 Cloudflare」。在中国大陆 Cloudflare 常常太慢、手机跨网络只能走中继,可在「设置 › 设备 › 高级 › 公网地址查询服务(STUN)」改成「自动」或「哔哩哔哩」并测速;新安装默认「自动」。STUN 只查询公网地址,不经手聊天或文件。
  • 电脑睡眠唤醒或换网络后,手机和执行端连接自动恢复;中继轮换房间时会话不断。iOS 版完成适配(代码一直和安卓版同一套开源):模拟器可粘贴配对码、系统权限提示中英文;Apple 开发者账号审核中暂不提供安装包,有 Mac 和 Xcode 可按编译说明自己装到 iPhone。
  • 浏览器:能识别 ego lite,Pi Bot 重启后浏览器扩展自动重连;ego lite 和 Chrome 同时开着时,Bot 在你的默认浏览器里操作;解析到内网 IP 的内部域名,允许一次后可以记住。
  • 技能和连接:从其他 AI 工具带技能和 MCP 过来时可以全选、取消全选;导入失败时说明原因(没有权限、磁盘满、文件读不了、技能不安全等)并可重试;修复同一个 Codex 插件被列两次导致整批导入失败。
  • 模型:支持 xhigh 和 max 思考档位(模型支持时可选),0.1.2 的手机连上时按 high 显示、不改动你的设置;自定义的 Anthropic 兼容接口也能用自适应思考。
  • 界面:窗口较宽时聊天区跟着变宽;灵动岛显示谁在等你审批,点开聊天不再弹出 Bot 面板,设置图标换成不同颜色;钥匙串出错时用大白话说明并可一键重试;群组选项跳转、知识库开关、技能表单、Git 安装卡片等细节打磨。
  • 命令搜索路径默认配好:每次启动自动读取电脑上的 PATH(Windows 新增读取系统环境变量);修复排队发送的消息有时顺序错乱,登录 shell 提前退出时输出读完整、结束进程更稳妥。pi 扩展:运行 pi install npm:pibot-desktop 后在 pi 里输入 /pibot 打开 Pi Bot。
  • 修复 Bot 改文件:文件末尾的补丁在前面有相同内容时不再失败;换行符或行尾空格不一致时减少缩进的修改不再被拒;匹配次数更准确;行首加字、合并两行、在第一行前插入时改动对比不再出错;多文件并行搜索不再漏掉结果。
  • 隐私:每天第一次自动检查更新时多带一个固定标记,服务器据此按天统计有多少份安装在用;不发送使用行为、不带任何标识、不多发请求,服务器不保存 IP(详见隐私说明「检查更新」)。内置组件:pi 内核 1.6.0 → 1.7.0,Cua Driver 0.38.0 → 0.71.1。
  • 升级说明:macOS 这次请从官网下载安装(开发者账号审核期间用开发证书签名),钥匙串询问时选「始终允许」;升级后在「设置 › 操作电脑」重新打开辅助功能和屏幕录制;浏览器扩展显示未连接时重启一次浏览器。数据自动迁移不丢失;从 0.1.3 起可退回上一个版本,0.1.3 不能退回 0.1.2。
  • 感谢:@coolpope(思考档位扩展 #36)、@yuearc(登录 shell 的两处修复 #29)、@Pybsama(Bot 改文件的匹配与改动对比修复、多文件并行搜索修复 #43 #44 #45)。

English

  • External agents (Claude Code, Codex, Antigravity, Cursor and others) get the same Pi Bot tools as ordinary Bots (files, browser, memory, routines); creating a routine needs your confirmation, and Claude Code's own schedulers stay off.
  • Every external-agent request follows Pi Bot's permission rules; a no-ask mode needs your confirmation and their commands are audited. Writes outside the work folder that you allow are done by Pi Bot and reported back. Antigravity's tool calls are recognised; connector download failures say why.
  • Approvals: command cards add "Allow for this round"; cards say why they ask first, explain why auto-approve still asks, and name agent tools plainly; the phone is reminded once before an approval pauses; fixed commands that still did not run after "Allow for this round".
  • Pi's dispatch card can auto-approve actions in that task (ticked by default) and shows the provider's name next to the model; Pi answers one-reply jobs itself and installs a template only after you pick it.
  • Group plans can give the image member its own step (writer → pictures → video), saving pictures under the names the plan lists. Ratio and size are sent to each image service, and the program centre-crops a picture when a service ignores them.
  • Video settings are fitted to what the model supports before you confirm, and the card lists any change. Videos are saved in the work folder under a chosen name, clips can be joined into one film with ffmpeg, and a video that failed on a service error can be retried from its card (charged again).
  • Group fixes: a member asked from the main topic is no longer silently cancelled, stale questions are cleared, and the coordinator is told to drop a review step when no independent member can take it.
  • Memory: Bots remember lasting facts you mention about yourself and tell you in the chat what they saved; memories that need your confirmation are explained in the chat.
  • Phone and Runner: the device page shows direct or relay, why, how to get a direct link, and the measured latency of both; the faster STUN service is chosen automatically or by hand with a speed test; IPv6 direct paths; device dates follow the app language.
  • STUN: upgraded installs keep "Cloudflare only". In mainland China Cloudflare is often too slow and phones end up on the relay; choose "Automatic" or "Bilibili" in Settings › Devices › Advanced › STUN and run the speed test. New installs default to Automatic. STUN never carries chats or files.
  • Links recover after the computer sleeps or changes network, and sessions survive relay room rotation. The iOS app (open source all along, shared with Android) is now adapted and documented; no installer while the Apple account is reviewed, but you can build it with a Mac and Xcode.
  • Browser: ego lite is recognised and the extension reconnects after Pi Bot restarts; with ego lite and Chrome both open, Bots use your default browser; an internal domain that resolves to a private IP can be remembered after you allow it once.
  • Skills and connections: select all / none when bringing skills and MCP servers over from other AI tools; failed imports say why (permissions, full disk, unreadable files, unsafe skills) and can be retried; fixed a Codex plugin listed twice failing the whole import.
  • Models: xhigh and max thinking levels where the model supports them (a 0.1.2 phone shows them as high without changing your setting); custom Anthropic-compatible endpoints get adaptive thinking.
  • Interface: the chat widens with wide windows; the Live Island shows who awaits your approval and no longer pops the Bot panel when opening a chat; keychain errors are explained plainly with one-click retry; polish for group options, knowledge switches, skill forms and the Git card.
  • Command search paths work out of the box: the computer's PATH is read at every start (on Windows also the system environment). Fixed queued messages out of order and incomplete output when a login shell exits early. pi extension: run pi install npm:pibot-desktop, then /pibot in pi opens Pi Bot.
  • File edits by Bots: end-of-file patches no longer fail when earlier lines match, dedents survive line-ending or trailing-space differences, match counts are exact, and diffs are right when adding at a line start, joining lines or inserting at the top; parallel file search no longer drops results.
  • Privacy: the first automatic update check each day carries a fixed marker so the server can count active installs per day; no usage, no identifier, no extra request, and no IP kept (see Updates in the privacy notes). Built in: pi 1.6.0 → 1.7.0, Cua Driver 0.38.0 → 0.71.1.
  • Upgrading: on macOS install from the website (development-signed for now) and choose Always Allow when the keychain asks; re-enable Accessibility and Screen Recording in Settings › Computer use; restart the browser if the extension shows disconnected. Data migrates; 0.1.3 cannot roll back to 0.1.2.
  • Thanks to @coolpope (thinking levels, #36), @yuearc (two login-shell fixes, #29) and @Pybsama (file-edit matching and diff fixes, parallel file search, #43 #44 #45).