Releases: tw93/Pake
Release list
V3.15.1 Bridge
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.
V3.14.0 Canvas
Changelog
- Added
--hide-window-decorationsfor Windows and Linux: pack a frameless window with a top drag region, and toggle native fullscreen with F11. - Added Notion to the popular app lineup, with official high-res icons and immersive header polish on macOS.
- Fixed corrupted saved zoom values: the app now falls back to 100% instead of passing an invalid zoom to the native webview.
- Updated YouTube Music icons, and added Notion and Flomo to the README showcase.
更新日志
- 新增
--hide-window-decorations,Windows 和 Linux 可打包无边框窗口,顶部保留拖拽区域,F11 切换原生全屏。 - 常用应用新增 Notion,配官方高清图标,并优化 macOS 沉浸式头部下的显示。
- 修复本地保存的缩放值损坏时的异常,现在会自动回退到 100%,不再把非法缩放传给原生 WebView。
- 更新 YouTube Music 图标,README 展示新增 Notion 和 Flomo。
Special thanks to @ViniciusMartinsss, @zuyu, @Ghraven, and @alanpcs for the features, fixes, and icons behind this release. If Pake helps you, please consider giving it a star and recommending it to your friends.
V3.13.1 Bridge
Changelog
- Fixed Sign in with Apple popup login on macOS for sites such as Yelp and Upwork, while keeping the existing macOS auth crash guard for other providers.
- Fixed Linux and Windows clipboard shortcuts, including safe Ctrl+V paste without adding Tauri clipboard read permissions.
- Improved Linux packaging defaults for RPM-based distros and added --no-bundle fallback for raw executable builds.
- Improved Wayland/AppImage guidance and runtime behavior for Linux WebKit edge cases.
- Fixed several packaging and CLI edge cases: macOS --targets app, invalid zoom values, data image download extensions, Linux icon naming, tray icon fallback, and injected JS wrappers.
更新日志
- 修复 macOS 上 Yelp、Upwork 等站点的 Sign in with Apple 弹窗登录,同时保留其他认证提供方的 macOS 崩溃保护。
- 修复 Linux 和 Windows 的剪贴板快捷键,包括不新增 Tauri 剪贴板读取权限的安全 Ctrl+V 粘贴。
- 改进 RPM 系 Linux 发行版的默认打包目标,并新增 --no-bundle 原始可执行文件兜底。
- 改进 Linux WebKit 的 Wayland/AppImage 行为和 FAQ 指引。
- 修复多个打包和 CLI 边界问题:macOS --targets app、非法 zoom、data image 下载扩展名、Linux 图标命名、托盘图标兜底、注入 JS 包装等。
Special thanks to @evokateur, @mgaldamez, @kud, @rumwru, and everyone who reported the packaging and WebKit edge cases behind this release. If Pake helps you, please consider giving it a star and recommending it to your friends.
V3.12.0 Gateway
Changelog
- Added enterprise SSO support for packaged apps, including
--safe-domainfor trusted workspace and identity-provider domains. - Kept supported auth and internal
_blanknavigations inside the app when--new-windowis disabled. - Fixed
pake --helpso it lists all supported CLI options. - Fixed custom
CARGO_TARGET_DIRbuilds so generated installers and raw binaries are copied from the right target directory. - Made
--hide-title-barmacOS-only and ignored it with a warning on unsupported platforms.
更新日志
- 新增企业 SSO 支持,并加入
--safe-domain参数,用于配置可信工作区和身份提供方域名。 - 修复认证链接和内部
_blank链接在未开启--new-window时的应用内跳转行为。 - 修复
pake --help,现在会展示全部支持的 CLI 参数。 - 修复自定义
CARGO_TARGET_DIR构建时安装包和原始二进制文件的拷贝路径。 - 将
--hide-title-bar明确限制为 macOS 能力,在其他平台忽略并给出提示。
Special thanks to @P-nutsK and @xantorres for the reports and PRs behind this release. If Pake helps you, please consider giving it a star and recommending it to your friends.
V3.11.10 Bedrock
Changelog
- License Update: Relicensed from MIT to GPL-3.0, with a separate Pake Output Exception (
LICENSE-EXCEPTION) so apps you build with Pake stay unrestricted. - Arch Linux Packaging: Added a
.zstpackage target for Arch-based distributions, with valid package metadata and correct installer path reporting. - macOS Auth Popup Fix: Fixed a crash that could occur during macOS authentication (SOAuthorization) popups.
- Wayland Input Fix: Fixed AppImage input handling under the niri Wayland compositor.
- Linux Title Bar Fixes: Correctly hid the decorated title bar and preserved the display title on Linux.
- Stricter CLI Validation: Rejected blank, non-finite, and malformed numeric and zoom values instead of silently accepting them.
- GitHub Action Options: Added
--min-width,--min-height, and--app-versioninputs to the pake-cli GitHub Action workflow. - Clearer AppImage Guidance: AppImage build failures now explain the sudo step needed to refresh the gdk-pixbuf cache.
更新日志
- 许可证更新:项目从 MIT 改为 GPL-3.0,并以独立的 Pake Output Exception(
LICENSE-EXCEPTION)保证用 Pake 打包出的应用不受限制。 - Arch Linux 打包:新增
.zst包格式,适配 Arch 系发行版,生成有效的包元数据并正确报告安装包路径。 - macOS 认证弹窗修复:修复 macOS 认证(SOAuthorization)弹窗过程中可能出现的崩溃。
- Wayland 输入修复:修复 niri Wayland 合成器下 AppImage 的输入处理。
- Linux 标题栏修复:在 Linux 上正确隐藏装饰标题栏并保留显示标题。
- CLI 校验更严格:拒绝空值、非有限数和格式错误的数值与缩放参数,不再静默接受。
- GitHub Action 参数:为 pake-cli GitHub Action 工作流新增
--min-width、--min-height和--app-version。 - AppImage 提示更清晰:AppImage 构建失败时会说明刷新 gdk-pixbuf 缓存所需的 sudo 步骤。
Special thanks to @Ghraven, @artrixdotdev, and @a5677746shdh for the PRs behind this release. If Pake helps you, please consider giving it a star and recommending it to your friends.
V3.11.8 Polish
Changelog
- Better Right-Click Downloads: Image and video downloads from packaged webviews now use the native download path, including pages with stricter CSP rules.
- Clearer AppImage Failure Guidance: Linux AppImage build failures now surface more useful guidance from the build target, including gtk/gdk-pixbuf dependency issues and strip-related failures.
- Desktop Names With Dots: macOS and Windows app names now allow dots inside names, so names like
Vectorizer.AIwork while leading dots, dashes, and spaces are still rejected (#1215). - Local File Name Preservation: Local file packaging now keeps dots in generated macOS and Windows app names, while Linux package names remain normalized for package-manager compatibility.
- pnpm Fallback Message Refinement: The internal pnpm fallback path has clearer handling when the installed pnpm version differs from Pake's pinned
pnpm@10.26.2. - Contributor Guidance Cleanup: Published agent guidance is now self-contained in the repository, with release and packaging instructions aligned around generated
dist/cli.jsand public artifact verification.
更新日志
- 右键下载更稳定:打包后的 WebView 中,图片和视频右键下载会走原生下载路径,包括 CSP 更严格的页面。
- AppImage 构建失败提示更清晰:Linux AppImage 构建失败时,会从构建目标给出更有用的排查信息,包括 gtk/gdk-pixbuf 依赖问题和 strip 相关失败。
- 桌面应用名称支持点号:macOS 和 Windows 应用名现在允许中间带点号,例如
Vectorizer.AI;前导点号、横线和空格仍会被拒绝 (#1215)。 - 本地文件名保留点号:本地文件打包时,macOS 和 Windows 生成的应用名会保留文件名中的点号;Linux 包名仍按包管理器兼容规则归一化。
- pnpm 回退提示优化:当用户本机 pnpm 版本和 Pake 固定的
pnpm@10.26.2不一致时,内部回退路径的处理和提示更清楚。 - 贡献者文档清理:公开的 agent guidance 已整理为仓库内自包含文档,并围绕生成的
dist/cli.js和公开产物验证补齐发布、打包说明。
Special thanks to @yumingyuan2 for the naming consistency report behind this release. If Pake helps you, please consider giving it a star and recommending it to your friends.
Pake V3.11.7 Steady
Changelog
- Optional In-Page Find: Added opt-in
--enable-findsupport for packaged apps. When enabled,Cmd/Ctrl+Fopens Find,Cmd/Ctrl+Gjumps to the next match, andCmd/Ctrl+Shift+Gjumps to the previous match (#1198). - Native Find Menu Integration: Added Find, Find Next, and Find Previous entries to the app Edit menu when
--enable-findis enabled, keeping menu shortcuts aligned with the injected Find UI. - pnpm 11 Compatibility Fix: If the installed pnpm major version differs from Pake's pinned
pnpm@10.26.2, Pake now falls back to npm for internal dependency installation instead of failing first-time setup (#1202). - Trusted npm Publishing: Added GitHub Actions OIDC Trusted Publishing for
pake-cli, so npm releases are now published by the release workflow instead of a manual local publish step. - Release Version Guard: Added
scripts/check-release-version.mjsandpnpm run release:checkto verify synced versions, generated CLI output, tests, and npm package contents before release. - Maintainer Release Guidance: Hardened release, GitHub issue, and code-review agent guidance around public artifact verification, generated
dist/cli.js, and post-release issue follow-through.
更新日志
- 可选页面内查找:新增
--enable-find参数,打包应用后可启用页面内 Find。启用后,Cmd/Ctrl+F打开查找,Cmd/Ctrl+G跳到下一个匹配,Cmd/Ctrl+Shift+G跳到上一个匹配 (#1198)。 - 原生查找菜单集成:启用
--enable-find后,应用 Edit 菜单会显示 Find、Find Next、Find Previous,让菜单快捷键和注入的查找 UI 保持一致。 - pnpm 11 兼容修复:当用户本机 pnpm 主版本和 Pake 固定的
pnpm@10.26.2不一致时,Pake 会回退到 npm 执行内部依赖安装,避免首次运行直接失败 (#1202)。 - npm Trusted Publishing:新增基于 GitHub Actions OIDC 的
pake-cliTrusted Publishing,npm 发布由 release workflow 完成,不再依赖本地手动 publish。 - 发布版本校验:新增
scripts/check-release-version.mjs和pnpm run release:check,发布前统一检查版本同步、生成的 CLI、测试和 npm 包内容。 - 维护者发布规则:补强 release、GitHub issue 和 code-review 相关 agent guidance,明确公开产物验证、生成的
dist/cli.js和发布后 issue 跟进边界。
Special thanks to @DavidFelsen and @RichardBray for the clear reports behind this release. If Pake helps you, please consider giving it a star and recommending it to your friends.
Pake V3.11.5 Ironclad
Changelog
- Linux Wayland Blank Screen Fix: Disabled WebKit compositing mode by default on Linux, fixing the blank/white screen issue on Wayland sessions without GPU acceleration.
- macOS New-Window Crash Fix: Fixed a crash caused by duplicate
WKUserContentControllerscript handler registration when using--new-window, along with broader Rust panic safety hardening on all user-reachable paths. - CSP Style Injection Fix: Switched from
innerHTMLtotextContentfor style injection, fixing broken styling on sites with strict Content-Security-Policy headers. - macOS Dock Badge: Added native dock badge support via the Web Badging API. Sites that call
navigator.setAppBadge()(e.g. email, chat) now show unread counts on the macOS dock icon. - Incognito Mode: New
--incognitoflag for private browsing sessions. No cookies, local storage, or cache persist between launches. - Window Size Options: New
--width/--heightCLI flags to set custom window dimensions at build time. - CN Mirror Explicit Opt-in: CN download mirrors are now strictly opt-in via
PAKE_USE_CN_MIRROR=1. Removed automatic domain-based detection that could cause unexpected build failures. - x.com Selector Updates: Fixed broken search bar at narrow widths and updated stale CSS selectors to match current x.com layout.
- Windows ICO Transparency: Fixed transparent icon backgrounds rendering as black on Windows by building PNG-in-ICO format with sharp.
- Notification Onclick Callback: Web Notification API
onclickcallbacks now fire correctly, fixing silent notification clicks in chat and email apps. - User-Agent Update: Default user-agent strings updated to current Chrome/Safari versions, reducing embedded-WebView detection by sites.
- File Extension Handling: Fixed
check_file_or_appendcrash when downloading files without an extension (#1183). - macOS Native Menu: Surfaced native Move and Resize options in the macOS window menu.
- macOS ARM64 Build Fix: Pinned sharp-libvips to a single version, fixing duplicate native lib errors on Apple Silicon (#1182).
更新日志
- Linux Wayland 白屏修复:默认关闭 Linux 上的 WebKit compositing 模式,修复 Wayland 无 GPU 加速环境下应用启动白屏的问题。
- macOS 新窗口崩溃修复:修复
--new-window模式下WKUserContentController重复注册脚本导致的崩溃,同时对所有用户可达的 Rust 代码路径做了 panic 安全加固。 - CSP 样式注入修复:将样式注入方式从
innerHTML改为textContent,修复启用了严格 Content-Security-Policy 的站点样式失效问题。 - macOS Dock 角标:通过 Web Badging API 支持原生 Dock 角标。调用
navigator.setAppBadge()的站点(如邮箱、聊天)现在会在 Dock 图标上显示未读数。 - 隐身模式:新增
--incognito参数,启用后每次启动不保留 Cookie、本地存储和缓存。 - 窗口尺寸:新增
--width/--height参数,在构建时自定义窗口大小。 - CN 镜像显式启用:国内下载镜像改为必须通过
PAKE_USE_CN_MIRROR=1手动启用,移除了之前基于域名的自动检测逻辑。 - x.com 选择器更新:修复窄屏下搜索栏消失的问题,更新了失效的 CSS 选择器以匹配当前 x.com 布局。
- Windows ICO 透明度:修复 Windows 图标透明背景渲染为黑色的问题,改用 PNG-in-ICO 格式生成。
- 通知点击回调:Web Notification API 的
onclick回调现在能正确触发,修复聊天和邮件应用通知点击无反应的问题。 - User-Agent 更新:默认 UA 字符串更新至当前 Chrome/Safari 版本,降低被站点识别为嵌入式 WebView 的概率。
- 文件扩展名处理:修复下载无扩展名文件时
check_file_or_append崩溃的问题 (#1183)。 - macOS 原生菜单:在 macOS 窗口菜单中新增 Move 和 Resize 原生选项。
- macOS ARM64 构建修复:锁定 sharp-libvips 为单一版本,修复 Apple Silicon 上重复原生库报错 (#1182)。
Special thanks to @AllDaGearNoIdea and @sebastianbreguel for their contributions to this release. If Pake helps you, please consider giving it a star and recommending it to your friends.
V3.11.0 Evolve 👻
Changelog
- macOS Auto-Install: Added
--installflag to automatically move the built app bundle to/Applicationsafter a successful build, making it immediately launchable from Spotlight. - Managed New Windows: Added
--new-windowflag to open popup and OAuth windows inside the app as managed webview windows instead of routing them to the system browser. Auth flows (OAuth, SSO) stay within the app context. - macOS Media Permissions: Added
--cameraand--microphoneflags for sites that require media access (e.g., video conferencing). Entitlements are opt-in and only added when the flags are explicitly passed. - Distinct App Identifiers: Added
--identifierflag to set a custom bundle identifier. When two apps wrap the same URL with different names, they now get distinct identifiers so they can coexist without conflicts. - Icon Fallback Source: Integrated dashboard-icons CDN as a final fallback when domain-based icon sources fail, improving icon coverage for self-hosted and auth-protected sites.
- Linux AppImage Crash Fix: Auto-generated identifiers now always start with a letter, preventing D-Bus naming violations that caused apps to panic on startup when the hash began with a digit.
- Gemini Download Fix: Blob URL downloads now fall back to
fetch()when the URL is not in the local cache, fixing silent download failures for AI-generated content in apps like Gemini. - Zoom Rendering Fix: A
resizeevent is dispatched after applying CSS zoom on macOS, fixing UI elements disappearing in complex web apps like ChatGPT after zooming in. - Windows Icon Copy Fix: Fixed a build error ("Source and destination must not be the same") on Windows when packaging pre-registered apps like Grok or ChatGPT.
- macOS New-Window Crash Fix: Fixed a crash when clicking external URLs inside apps built with
--new-windowon macOS, caused by a WebKit-incompatible window feature call.
更新日志
- macOS 一键安装:新增
--install参数,构建完成后自动将 App 移入/Applications,可直接从 Spotlight 启动。 - 托管新窗口:新增
--new-window参数,将弹窗和 OAuth 窗口作为托管 WebView 窗口在 App 内打开,Auth 流程(OAuth、SSO)不再跳转到系统浏览器。 - macOS 媒体权限:新增
--camera和--microphone参数,适用于需要摄像头或麦克风的站点(如视频会议)。Entitlements 为按需添加,仅在明确传入对应参数时生效。 - 独立应用标识符:新增
--identifier参数,支持自定义 Bundle ID。同一 URL、不同名称的两个 App 现在会生成不同的标识符,互不冲突。 - 图标 Fallback 来源:新增 dashboard-icons CDN 作为最终回退源,提升自托管及需要登录的站点的图标覆盖率。
- Linux AppImage 启动崩溃修复:自动生成的 Bundle ID 现在始终以字母开头,修复了 hash 首字符为数字时违反 D-Bus 命名规范导致 App 启动即 panic 的问题。
- Gemini 下载修复:Blob URL 下载在缓存未命中时改为通过
fetch()直接获取,修复了 Gemini 等应用中 AI 生成内容下载静默失败的问题。 - 缩放渲染修复:macOS 上应用 CSS zoom 后新增
resize事件派发,修复 ChatGPT 等复杂 Web 应用缩放后部分 UI 元素消失的问题。 - Windows 图标复制修复:修复了 Windows 上打包 Grok、ChatGPT 等预置应用时报 "Source and destination must not be the same" 的构建错误。
- macOS 新窗口崩溃修复:修复了使用
--new-window构建的 App 在 macOS 上点击外部链接时崩溃的问题,根因为 WebKit 不兼容的窗口特性调用。
Special thanks to @chindris-mihai-alexandru and @dbraendle for their contributions to this release. If Pake helps you, please consider giving it a star and recommending it to your friends.
V3.10.0 Eleven 🎃
Changelog
- Multi-Window Support: Added
--multi-windowflag to allow opening multiple windows within a single app instance. A "New Window" entry appears in the macOS File menu (Cmd+N) and the system tray menu when enabled. Re-launching the app also opens a new window instead of focusing the existing one. - Internal URL Regex Control: Added
--internal-url-regexoption for fine-grained control over which URLs are treated as internal links. Accepts a regex pattern as an alternative to the default same-domain check, with safe fallback on invalid patterns. - Windows ICO Icon Fix: Reordered multi-resolution ICO icon entries to prioritize 256px images, improving app icon display quality on Windows.
- DMG Background Fix: Restored retina metadata and adjusted dimensions for the macOS DMG background image to display correctly in CI builds.
更新日志
- 多窗口支持:新增
--multi-window参数,允许在同一 App 实例中打开多个窗口。启用后,macOS File 菜单(Cmd+N)和系统托盘菜单均会出现 "New Window" 入口,重新启动 App 时也会打开新窗口而非聚焦已有窗口。 - 内部链接正则控制:新增
--internal-url-regex参数,支持通过正则表达式精确控制哪些 URL 被视为内部链接,作为默认同域名判断的替代方案,非法正则时自动回退到默认逻辑。 - Windows ICO 图标修复:对多分辨率 ICO 文件重新排序,优先使用 256px 图标,提升 Windows 下 App 图标的显示质量。
- DMG 背景图修复:恢复 macOS DMG 背景图的 Retina 元数据并调整尺寸,修复 CI 构建中背景图显示异常的问题。
Special thanks to @chindris-mihai-alexandru for their contributions to this release. If Pake helps you, please consider giving it a star and recommending it to your friends.
