- darwin-x64/darwin-arm64 move to macos-15-intel/macos-15: `macos-13` is
retired, which left the v0.1.6 `darwin-x64` leg queued for 21h+ so
`checksums` never ran and no tarballs or SHA256SUMS were attached.
- assert the exact six platform assets instead of a literal line count, which
passed while a dropped leg was silently missing.
- `workflow_dispatch` with a `tag` input rebuilds assets for an existing
release without touching npm, Homebrew or the AUR (publish/packaging stay on
the tag-push path); `TAG` replaces `github.ref_name` throughout.
- `actions/attest-build-provenance` over the tarballs, so `pi2 update` can
verify provenance with `gh attestation verify` rather than trusting a
checksum shipped in the same release.
Workspaces page:
- list the newest sessions across workspaces in the activity column; the
daemon exposes GET /api/v1/sessions/recent as a disk projection and the
browser enriches live rows from the per-workspace session relay
- put recent activity first below 1100px and fix the mobile page-header
flex-basis gap
Smoke:
- pin PI2_HOST=127.0.0.1 in both smoke scripts and make the startup-line
assertion follow the configured host; the daemon default stays 0.0.0.0
Install:
- standalone binary build/install scripts, packaging templates, CI/release
hooks, CLI-first install docs and the supporting config/doctor changes
The unscoped name was rejected by the registry's similarity filter ("too similar
to existing packages pify, ping, pino, pm2, uid"), so the package moves under the
maintainer's npm scope, which is not subject to that heuristic.
The executable is still `pi2`, the GitHub repository is still `zgs225/pi2d` (the
trusted publisher matches on owner/repo/workflow filename, not the npm name), and
the tarball contents are unchanged. The releasing checklist also had the npm
account wrong: the registry account is `yuez`, while `zgs225` is the GitHub owner
the trusted publisher is configured against.
The release job now authenticates with the GitHub OIDC token: `id-token: write`,
no NPM_TOKEN anywhere near the publish step, and a guard that fails when a
leftover repository secret is still mapped in. npm 11.5.1+ is required for
trusted publishing and setup-node's node 22 ships npm 10, so the job upgrades npm
and asserts npm/node versions plus the presence of the OIDC endpoint before
publishing. Provenance then comes for free.
docs/releasing.md documents the unavoidable bootstrap: npm only offers the
trusted-publisher settings page once the package exists, so the first version is
published from the maintainer's machine and every later one from CI.
ci runs typecheck + unit tests + build + scripts/smoke.sh and asserts the
publishable tarball embeds dist/ and web/dist/ without leaking src/ or test/.
release verifies the tag matches package.json, runs the tests and publishes
with provenance.