Files
nix/packages/pi-coding-agent/AGENTS.md
Evan Reichard b16d816a18 build(pi-coding-agent): bump to 0.74.0 with enriched lockfile workflow
Upstream v0.74.0 lockfile omits resolved/integrity metadata needed by
buildNpmPackage's offline NPM cache. Add a package-local enriched lockfile,
a script to regenerate it from the npm registry, and a prePatch step to
copy it into the build sandbox.
2026-05-12 17:13:43 -04:00

873 B

pi-coding-agent Packaging Notes

pi-coding-agent is built from the earendil-works/pi-mono monorepo with buildNpmPackage.

Lockfile Metadata

Upstream package-lock.json may omit resolved / integrity metadata that npm can recover online, but Nix needs for its offline npm cache. Keep a package-local enriched lockfile at packages/pi-coding-agent/package-lock.json and copy it in during prePatch before npmConfigHook validates/generates npmDeps.

After bumping version in default.nix, regenerate it with:

node packages/pi-coding-agent/update-lockfile.mjs
# or explicitly:
node packages/pi-coding-agent/update-lockfile.mjs 0.74.0

Then refresh npmDepsHash from the FOD mismatch:

nix build .#packages.aarch64-linux.pi-coding-agent.npmDeps --no-link

Remember: new files must be git added before the flake can see them.