Changelog
- Added
--jsonmachine-readable mode for scripts and AI agents: stdout carries exactly one JSON result with stable exit and error codes, all logs go to stderr. - Added
--config app.jsonto describe an app declaratively, with a published JSON schema, range validation, and CLI-flag-wins precedence. - Local build output can now be packaged directly:
pake ./dist --name MyToolbundles a static directory without a server, with the CLI's own files safely restored after every run. - Pake is now installable as a Claude Code skill:
/plugin marketplace add tw93/Pakethen/plugin install pake@pake. - Fixed Ctrl+V dropping clipboard images on Windows and Linux, and fixed duplicate windows when Cmd/Ctrl+N is used with both system tray and multi-window enabled.
更新日志
- 新增
--json机器可读模式,方便脚本与 AI agent 调用:stdout 仅输出一个 JSON 结果,退出码与错误码稳定,日志全部走 stderr。 - 新增
--config app.json声明式描述应用,提供公开 JSON schema 与数值范围校验,命令行参数优先于配置文件。 - 本地构建产物可直接打包:
pake ./dist --name MyTool无需起服务即可打包静态目录,每次运行后自动恢复 CLI 自身文件。 - Pake 现可作为 Claude Code skill 安装:
/plugin marketplace add tw93/Pake,再/plugin install pake@pake。 - 修复 Windows 和 Linux 下 Ctrl+V 无法粘贴剪贴板图片的问题,以及系统托盘与多窗口同时开启时 Cmd/Ctrl+N 会打开两个窗口的问题。
Special thanks to @bootnihil, @dxysun, and @Sha1rholder for the detailed reports behind this release's fixes. If Pake helps you, please consider giving it a star and recommending it to your friends.