Skip to content

ProkBot Plus 1.19.0

Choose a tag to compare

@ferretgeek ferretgeek released this 27 Nov 14:05
· 3 commits to main since this release

更正(2026-11-28):Host 请直接用 1.19.1。 升级演练发现两点:Shell 脚本绑定只在 Bot 的 Shell 调用带了工作目录时生效,而 Bot 默认不传;模型判断有风险的操作要 10 秒以上时,这一版会直接报「分类出错」,没有批准卡片,1.19.1 改为请你在卡片上决定。

Correction (2026-11-28): for the Host, use 1.19.1 instead. The upgrade rehearsal found two things: the Shell script binding applies only when the Bot's Shell call carries a working directory, which Bots do not pass by default; and when the model needs more than 10 seconds to judge a risky action, this release reports a classification error with no approval card, which 1.19.1 turns into an approval card for you to decide.

Host 的 Shell 自动审查能认出带常见选项的命令并审查真正的脚本,新增实验性的闲置桌面休眠(默认关闭);iOS 1.26.0 / 1.27.0 回退版修复一处字节码问题。都由 jun9100 贡献(#25、#24、#27)。 Host 需要更新,休眠要在 .env 里另外开启;用 iOS 1.26.0 或 1.27.0 的,用新的 iOS 包重新生成;其他客户端不变。

The Host's Shell auto-review now understands commands with common options and reviews the real script, and the Host gains experimental idle desktop parking (off by default); the iOS 1.26.0 / 1.27.0 fallbacks get a bytecode fix. All contributed by jun9100 (#25, #24, #27). Update the Host; parking must be enabled separately in .env. If you use iOS 1.26.0 or 1.27.0, rebuild with the new iOS package; the other clients are unchanged.

变化 / Changes

  • Shell 自动审查 / Shell auto-review:python3 -u x.py、bash -e x.sh、node --no-warnings x.js 这类带常见选项的命令,原版会把选项当成脚本路径,于是拒绝执行;现在会找到真正的脚本,把内容交给分类器审查。遇到不认识的选项、重定向、可能加载其他代码的环境变量,或者 shell 实际执行的文件可能和字面不同时,仍按原版处理。编译好的程序和大脚本(超过 200 行或 8 KB,最大 256 MiB)按整个文件的哈希绑定,分类器看不全内容时交给你确认。分类器偶尔超时时会自动再试一次(GROKBOT_AUTO_REVIEW_MAX_ATTEMPTS,默认 2)。Commands with common options such as python3 -u x.py, bash -e x.sh or node --no-warnings x.js were rejected by the stock Host, which took the option for the script path; they now bind the real script and show its content to the classifier. Unknown options, redirections, environment variables that can load other code, or anything where the shell might run a different file than written keep the stock behaviour. Compiled programs and large scripts (over 200 lines or 8 KB, up to 256 MiB) are bound by a hash of the whole file, and anything the classifier cannot read in full goes to you for approval. The classifier retries once after an occasional timeout (GROKBOT_AUTO_REVIEW_MAX_ATTEMPTS, default 2).
  • 闲置桌面休眠(实验性,默认关闭)/ Idle desktop parking (experimental, off by default):在 .env 里设置 GROKBOT_DESKTOP_PARK_ENABLED=1 后,共享执行电脑上某个 Bot 的桌面闲置 30 分钟就会休眠,释放 Chrome 等程序占用的内存(实测两个桌面共释放约 750 MB);内存紧张时闲置 5 分钟就按最久没用的顺序休眠。下次用到时约 7 秒原地唤醒,浏览器登录状态(持久化 Cookie)保留。有回合在跑、待批准的操作、人工接管、后台 Shell 任务或打开着电脑画面时不会休眠。休眠会关掉桌面上的图形程序和 Chrome 里进行中的下载;唤醒后第一次浏览器操作可能失败,再试一次即可(原版重启 Chrome 后也是这样)。不开启时和之前完全一样。With GROKBOT_DESKTOP_PARK_ENABLED=1 in .env, a Bot's desktop on the shared execution computer is parked after 30 idle minutes, freeing the memory used by Chrome and the rest (about 750 MB for two desktops in testing); under memory pressure, desktops idle for 5 minutes are parked, least recently used first. On next use the desktop wakes in place in about 7 seconds, with browser logins (persistent cookies) kept. Desktops with a running turn, a pending approval, a handoff, background shell work or an open computer view are never parked. Parking closes GUI programs on that desktop and active Chrome downloads; the first browser action after a wake may fail and a retry works (the stock Host does the same after a Chrome restart). When off, nothing changes.
  • iOS 1.26.0 / 1.27.0 回退版 / iOS 1.26.0 / 1.27.0 fallbacks:设置群组成员的函数里,一次调用的参数寄存器和调用帧重叠,按 1.17.0 修 1.28.0 的同一方法改正,每个版本只改 8 个字节,字节码检查 0 问题。1.28.0 不变。In the function that sets group members, a call's argument register overlapped the call frame; it is fixed the same way 1.28.0 was in 1.17.0, changing 8 bytes per version, with 0 bytecode-audit issues. 1.28.0 is unchanged.

详见更新记录 / See the changelog.

怎么升级 / How to upgrade

  • Host:用新的 Host 包执行 python3 deploy.py update < /dev/null,Shell 自动审查的改进随之生效。想用休眠的,在实例目录的 .env 里加一行 GROKBOT_DESKTOP_PARK_ENABLED=1 再更新;其他可调参数见 Host README。从 1.14.0 或更早版本升级的,先看 1.15.0 的说明。Host: run python3 deploy.py update < /dev/null from the new Host package; the Shell auto-review changes take effect with it. To use parking, add GROKBOT_DESKTOP_PARK_ENABLED=1 to the instance directory's .env before updating; the other settings are in the Host README. If you are upgrading from 1.14.0 or earlier, read the 1.15.0 notes first.
  • iOS:用 1.26.0 或 1.27.0 的,用新的 iOS 包和原来的 IPA 重新生成;用 1.28.0 的不用动。iOS: if you use 1.26.0 or 1.27.0, rebuild with the new iOS package and the same IPA; nothing to do on 1.28.0.
  • Windows、Mac、Linux、Android、网页版与 1.18.0 相同,不用重新生成。Windows, Mac, Linux, Android and the web client are the same as 1.18.0; nothing to rebuild.

验证 / Validation

Shell 自动审查经过六轮评审,每轮都用原版函数加同名无害文件逐条复现,并在真实的 bash、dash、Python 和 Node 上核对 shell 的实际行为,但没有在部署好的 Host 上跑真实对话。休眠功能在独立的测试实例上按清单测过:闲置和内存紧张时的休眠与唤醒、各种不该休眠的情况、后台任务、主桌面不受影响、休眠和新请求同时发生、Host 和执行电脑重启、删除 Bot 后显示器复用,以及关闭时和之前一致;分开部署(独立执行节点)没有测。iOS 修复核对了补丁数据只改了这 8 个字节,贡献者用官方 1.26.0 和 1.27.0 IPA 生成通过,没有在真机上测试。六套测试全部通过;七个工具包分别解压后测试通过,Windows 包对官方 1.3.0、1.2.3、1.1.0、0.71.2 安装包,Linux 包对 1.3.0 x64 和 ARM64 原包,Android 和网页版包对 1.1.0、0.71.2 安装包的 --verify-only 都通过。

Shell auto-review went through six review rounds, each reproducing every case against the stock function with same-named harmless files and checking real behaviour in bash, dash, Python and Node; it was not run in real conversations on a deployed Host. Parking was tested on an isolated instance against a checklist: parking and waking when idle and under memory pressure, every case that must not park, background tasks, the main desktop staying untouched, parking racing new requests, Host and execution computer restarts, display reuse after a Bot is deleted, and unchanged behaviour when off; split deployments (a separate execution node) were not tested. For the iOS fix, the recipes were checked to change only those 8 bytes, and the contributor built the official 1.26.0 and 1.27.0 IPAs successfully; it was not tested on a device. All six suites pass. Each of the seven tool packages passed its tests after separate extraction; --verify-only passed in the Windows package with the official 1.3.0, 1.2.3, 1.1.0 and 0.71.2 installers, in the Linux package with the 1.3.0 x64 and ARM64 packages, and in the Android and web packages with 1.1.0 and 0.71.2.

下载 / Downloads

七个工具包按平台分开,SHA256SUMS.txt 是校验文件。工具包里没有官方程序、IPA,也没有打好补丁的客户端或网页版界面包。

Seven tool packages, one per platform, plus SHA256SUMS.txt. They contain no official programs or IPAs, no patched clients and no web client bundles.