Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
docs: fold V3.14.0 release lessons into agent guidance
Tw9322fdb925ad05
diff --git a/.agents/skills/release/SKILL.md b/.agents/skills/release/SKILL.mdindex 9de7dadb..7172e9ab 100644--- a/.agents/skills/release/SKILL.md+++ b/.agents/skills/release/SKILL.md@@ -1,7 +1,7 @@---name: releasedescription: Prepare, validate, and publish a Pake release. Not for version bumps without release intent.-version: 1.3.0+version: 1.4.0allowed-tools:- Bash- Read@@ -27,15 +27,15 @@ Four files must be updated in sync — never update one without the others:### Pre-Release-1. [ ] Confirm the new version number (check current: `cat package.json | jq .version`)+1. [ ] Confirm the new version number (check current: `cat package.json | jq .version`; previous tag: `git tag --list 'V*' --sort=-version:refname | head -1` — a bare `git tag --sort` picks up stray non-version tags like `list` and `continuous`)2. [ ] Confirm the version is not already on npm: `npm view [email protected] version` should return 404 before publishing3. [ ] Update all four version files above4. [ ] Run `pnpm run format` — must pass cleanly5. [ ] Run `pnpm test` — must pass cleanly. If the release workflow step fails with `pnpm install ... exit code 1` against the CN mirror, re-run once; a single transient flake is acceptable, two consecutive failures is not.6. [ ] Run `pnpm run cli:build` — Rollup + TS must pass (catches type errors that `format` misses).7. [ ] Run `pnpm run release:check` — verifies version sync, package contents, and npm dry-run-8. [ ] No uncommitted changes: `git status`-9. [ ] Commit version bump with message: `chore: bump version to VX.X.X`+8. [ ] No uncommitted changes: `git status`. Local tests and builds leave tracked churn (`src-tauri/pake.json`, `tauri.conf.json`, `tauri.macos.conf.json`, regenerated icons); `git restore` it instead of committing it.+9. [ ] Commit version bump with message: `chore: bump version to VX.X.X`. Include the rebuilt `dist/cli.js` (it embeds the version); stage it with `git add -f dist/cli.js` since `dist/` is gitignored.### Tagging (triggers CI)@@ -46,6 +46,8 @@ git push origin VX.X.XTag format: uppercase `V` prefix (e.g. `V3.11.0`), not `v3.11.0`.+If the bump push is rejected, the contributors bot pushed `chore: update contributors [skip ci]` in between: `git pull --rebase` onto it and push again, then tag. Do not force-push and do not tag the pre-rebase commit.+### Post-Tag Verification1. [ ] Confirm CI triggered: `gh run list --workflow=release.yml`diff --git a/AGENTS.md b/AGENTS.mdindex de8ab3eb..37caac96 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -103,6 +103,8 @@ Execution rules:- WebKit compositing behavior is platform-sensitive on Linux/Wayland. Runtime flag decisions live in `src-tauri/src/lib.rs`; keep the default conservative, cover compositor exceptions with unit tests, and document user-facing fallbacks in `docs/faq*.md`.- Linux AppImage reports often include harmless GTK, appindicator, or GStreamer warnings. Separate optional runtime warnings from the actual symptom before changing code; input/click failures on pure Wayland compositors are not the same class as blank-window failures.- Release state can be split. npm Trusted Publishing can succeed before the popular-app release workflow finishes, and GitHub Release assets can exist while a workflow run still shows queued or in progress. Report each surface explicitly.+- Local app builds and test runs mutate tracked files as build state: `src-tauri/pake.json`, `src-tauri/tauri.conf.json`, `src-tauri/tauri.macos.conf.json`, and regenerated icons under `src-tauri/png/` and `src-tauri/icons/`. Before committing, `git restore` whatever you did not intentionally change; never let a feature or release commit absorb this churn.+- Per-app optional fields in `default_app_list.json` consumed by workflows must get their defaults in the jq read step of `release.yml`, not in Actions expressions: GitHub expressions cast both `null` and `false` to `0`, so `matrix.config.x != false` cannot express "default true" and silently flips every app missing the field.## Platform-Specific Development@@ -142,6 +144,8 @@ Four files must be updated in sync for every release:Tag format: `V<major.minor.patch>` with uppercase `V` (e.g. `V3.13.1`). Current version: check `package.json`.+Find the previous release tag with `git tag --list 'V*' --sort=-version:refname | head -1`. A bare `git tag --sort` is polluted by stray non-version tags (`list`, `continuous`, `0.1.0`) and silently picks the wrong log range.+## Release Workflow (CI)Pushing a `V*` tag triggers `.github/workflows/release.yml`:@@ -165,7 +169,7 @@ For release follow-through, keep these boundaries explicit:- `workflow_dispatch` runs on a branch unless a tag ref or input is supplied. Do not infer a release tag from the branch name, run title, or compare UI.- For CLI/npm issue closeout, the npm registry is the decisive public surface. GitHub app release assets and quality workflows should still be reported, but they are separate surfaces.- For app-release claims, inspect the GitHub Release directly with `gh release view <tag> --json assets` and check asset count/state instead of trusting source state or workflow names alone.-- If CI pushes an automatic `chore: update contributors [skip ci]` commit after release, fast-forward local `main`; do not move an already pushed release tag to include it.+- The contributors bot can push `chore: update contributors [skip ci]` at any moment, including between local commits and the bump push. On a rejected push, `git pull --rebase` onto it and push again before tagging. After release, fast-forward local `main`; do not move an already pushed release tag to include it.`.github/workflows/quality-and-test.yml` runs auto-format on push, Rust quality checks, and CLI/build validation across Linux, Windows, and macOS.@@ -221,7 +225,7 @@ This file is already in `.gitignore`.### `dist/cli.js` out of sync with `bin/`-Symptom: tests or release builds use stale CLI behavior after a `bin/` edit. Fix with `pnpm run cli:build` and commit the regenerated `dist/cli.js`.+Symptom: tests or release builds use stale CLI behavior after a `bin/` edit. Fix with `pnpm run cli:build` and commit the regenerated `dist/cli.js`. Note `dist/` is gitignored while `dist/cli.js` is tracked, so stage it with `git add -f dist/cli.js`. The file embeds the package version, so version bumps must also rebuild and commit it.### First Tauri build is slow@@ -232,6 +236,8 @@ The first `cargo build` on a fresh clone takes 10+ minutes as Cargo compiles eve- **Main README**: keep only common, frequently-used parameters to avoid clutter.- **CLI Documentation** (`docs/cli-usage.md` and locale variants): include **all** CLI parameters with detailed usage examples.- **Rare or advanced parameters**: should have full documentation in `docs/cli-usage*.md` but minimal or no mention in the main README. Examples: `--title`, `--incognito`, `--system-tray-icon`, `--multi-window`, `--min-width`, `--min-height`.+- **README popular-packages showcase**: apps render in pairs of `<td>` cells, each with a 600px-wide screenshot from `https://raw.githubusercontent.com/tw93/static/main/pake/<Title>.png` (source spec 2624x1784, a Retina window capture). Upload the screenshot to `tw93/static` before pushing the README row, and note the app's download links stay 404 until the next `V*` release builds its assets.+- **App list curation**: judge showcase or `default_app_list.json` additions and removals with real demand from `gh release view <tag> --json assets` download counts, not intuition. Keep both README locales in the same order.- **Key configuration files**:- `src-tauri/pake.json` - default app configuration (CLI options are merged into it at build time).- `src-tauri/tauri.conf.json` - shared Tauri settings.