Repository navigation
Use this release. @ageprotocol/cli 0.1.1 cannot be installed, and is deprecated.
0.1.1 declared its dependency on @ageprotocol/receipts as workspace:*, which only a pnpm workspace understands. npm refuses it with EUNSUPPORTEDPROTOCOL.
It happened because 0.1.1 switched publishing from pnpm to npm to get provenance. pnpm publish rewrites workspace:* to a real version and npm publish does not. The release workflow did not catch it, because it verified one artifact and published another: it packed with pnpm and published the directory with npm.
The workflow now packs once, installs those exact tarballs with npm the way a user would, verifies a receipt through them, and publishes those same bytes. It also refuses any tarball still declaring a workspace: dependency. Both checks were confirmed to stop a tarball built the way 0.1.1 was.
No code changed. Everything described in the 0.1.1 notes applies: agectl emit, verify --repo recomputing a commit's counts, and npm provenance. @ageprotocol/receipts 0.1.1 was correct and is unchanged.
npx @ageprotocol/cli emit --task "Fix the login redirect" --out receipt.json
npx @ageprotocol/cli verify receipt.json --repo .