V3.15.1

tw93/PakeV3.15.1Jul 18, 2026by github-actions[bot]

AI Summary

Introduces automation capabilities with a machine-readable JSON mode for scripts and AI agents, alongside declarative configuration support and local build packaging features.

Key Highlights

  • Added `--json` mode for machine-readable script execution
  • Added `--config app.json` for declarative application description
  • Support for bundling local build outputs directly without a server
  • Pake is now installable as a Claude Code skill

New Features

  • Machine-readable JSON mode (`--json`)
  • Declarative configuration support (`--config`)
  • Local build packaging
  • Claude Code skill integration

Full Release Notes

<div align="center">
<img src="https://gw.alipayobjects.com/zos/k/fa/logo-modified.png" alt="Pake Logo" width="120" height="120" style="border-radius:50%" />
<h1 style="margin: 12px 0 6px;">Pake V3.15.1</h1>
<p><em>Turn any webpage into a desktop app with one command.</em></p>
</div>

### Changelog

1. Added `--json` machine-readable mode for scripts and AI agents: stdout carries exactly one JSON result with stable exit and error codes, all logs go to stderr.
2. Added `--config app.json` to describe an app declaratively, with a published JSON schema, range validation, and CLI-flag-wins precedence.
3. Local build output can now be packaged directly: `pake ./dist --name MyTool` bundles a static directory without a server, with the CLI's own files safely restored after every run.
4. Pake is now installable as a Claude Code skill: `/plugin marketplace add tw93/Pake` then `/plugin install pake@pake`.
5. 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.

### 更新日志

1. 新增 `--json` 机器可读模式,方便脚本与 AI agent 调用:stdout 仅输出一个 JSON 结果,退出码与错误码稳定,日志全部走 stderr。
2. 新增 `--config app.json` 声明式描述应用,提供公开 JSON schema 与数值范围校验,命令行参数优先于配置文件。
3. 本地构建产物可直接打包:`pake ./dist --name MyTool` 无需起服务即可打包静态目录,每次运行后自动恢复 CLI 自身文件。
4. Pake 现可作为 Claude Code skill 安装:`/plugin marketplace add tw93/Pake`,再 `/plugin install pake@pake`。
5. 修复 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.

> https://github.com/tw93/Pake