Repository navigation
ProkBot Plus 1.5.1
修复版:上游 ProkBot 作者在合并评审中指出的问题。 上游 ProkBot 准备合并本项目的修复(Gitee PR #2),评审时发现了几处问题,这一版一并修好。
A fix release for the problems the upstream ProkBot author found while reviewing the merge (Gitee PR #2).
变化 / Changes
- OpenAI Chat 兼容接口 / OpenAI Chat-compatible endpoints:有些兼容接口不发
[DONE]、不发finish_reason,或在工具调用后报stop,以前整轮对话会报错;现在两个结束标记有一个就行,工具照常执行。工具参数是空的,只在工具没有必填参数时按{}执行。Some compatible endpoints omit[DONE]orfinish_reason, or reportstopafter tool calls, which used to fail the whole turn. Either end marker now completes the reply and the tools run. Empty tool arguments mean{}only for tools without required parameters. - 桌面客户端不再动不动要求重新配对 / The desktop client no longer asks to pair again for any 401:连接器授权过期等情况也会返回 401,以前 Mac 和 Windows 客户端会因此断开。现在先核对设备本身是否被撤销,是才断开。Connector authorizations that expire also return 401, which used to disconnect the Mac and Windows clients. The client now checks whether the device itself was revoked before disconnecting.
- 设置文件损坏后能继续用 / A damaged settings file no longer blocks the client:
local-client-persistence.json损坏时改名保留,客户端用空数据继续,从 Host 重新读取账号和侧边栏。A damagedlocal-client-persistence.jsonis kept under another name, and the client continues, reading the account and sidebar from the Host again. - 启动不再闪白 / No white flash at startup:浅色系统下窗口一开始就是保存的主题(默认深色)。With a light system theme, the window starts in the saved theme (dark by default).
- 两个对话同时回复 / Two conversations replying at once:有的服务给工具调用编号,两个对话撞号时后一个会报错;现在两个都照常进行。Some services number tool calls, and when two conversations reused an ID the second failed; both now continue.
- 其他 / Other:Codex 提示不再写死「Mac 或 Windows」;
deploy.py recover拒绝旧备份时直接给出可用的命令;iOS 补丁从清单读取版本。The Codex prompt no longer assumes Mac or Windows;deploy.py recovergives the exact command when it refuses an old backup; the iOS patcher reads its version from the manifest.
怎么用 / How to use
- 服务端修复:用新的 Host 工具包运行
python3 host/deploy.py update升级 Host。Server fixes: upgrade the Host withpython3 host/deploy.py updatefrom the new Host package. - 桌面修复:用新的 Windows 或 Mac 工具包重新生成客户端。Desktop fixes: rebuild the Windows or Mac client from the new package.
- Android、网页版和 iOS 客户端与 1.5.0 相同,不用动。The Android, web and iOS clients are the same as 1.5.0.
验证 / Validation
五套测试全部通过,每项修复都有回归测试。六个工具包分别解压后测试通过,Windows、Android 和网页版包对官方 1.1.0、0.71.2 安装包的 --verify-only 都通过。这一版没有在真实服务器、Windows 或 Mac 上实测,遇到问题欢迎提 Issue。
All five suites pass, and each fix has regression tests. Each of the six tool packages passed its tests after separate extraction, and --verify-only in the Windows, Android and web packages passed with both the official 1.1.0 and 0.71.2 installers. This release was not tried on a real server, Windows or Mac; please open an issue if something goes wrong.
下载 / Downloads
六个工具包按平台分开,SHA256SUMS.txt 是校验文件。工具包里没有官方程序,也没有打好补丁的客户端或网页版界面包。
Six tool packages, one per platform, plus SHA256SUMS.txt. They contain no official programs, no patched clients and no web client bundles.