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 |
||
|---|---|---|
| .. | ||
| postinstall.js | ||
| sync-pkg-version.cjs | ||
| verify-s03.sh | ||
| verify-s04.sh | ||