singularity-forge/scripts
alphinus_biosdesk 32156ec036 fix: sync pkg/package.json version with pi-coding-agent to prevent false update banner
pkg/package.json had a hardcoded version (0.1.0) that never got updated.
Since gsd-pi sets PI_PACKAGE_DIR=pkg/, pi's config.js reads VERSION from
pkg/package.json. The update check compares this stale version against npm
registry and always shows 'Update Available' even when the user is already
on the latest release.

Fix:
- Update pkg/package.json to current pi-coding-agent version (0.57.1)
- Add sync-pkg-version.cjs script that reads the installed pi-coding-agent
  version and writes it into pkg/package.json
- Run the sync script in prepublishOnly so the version stays correct on
  every publish
2026-03-11 09:07:17 +01:00
..
postinstall.js fix(postinstall): write banner to stderr so npm doesn't suppress it 2026-03-11 01:13:19 -06:00
sync-pkg-version.cjs fix: sync pkg/package.json version with pi-coding-agent to prevent false update banner 2026-03-11 09:07:17 +01:00
verify-s03.sh feat(wizard): add BRAVE_ANSWERS_KEY support 2026-03-10 22:44:28 -06:00
verify-s04.sh fix: update all .pi/ paths to .gsd/ 2026-03-11 01:36:03 -06:00