singularity-forge/scripts
Jeremy eec05b68a8 fix(release): sync all workspace versions and harden release scripts
Two bugs were causing version drift across the repo:

1. Root package.json was silently reverted from 2.74.0 → 2.73.1 during
   commit b03c9401c (a CI optimization rebase). Tag v2.74.0 is already
   published on npm, so the next release would have computed 2.73.2 —
   lower than what's already out — and shipped a broken version.

2. scripts/bump-version.mjs only touches pi-coding-agent + pkg + native
   platform shims. Other workspace packages drift independently:
   - @gsd-build/mcp-server: stuck at 2.52.0 (22 minor versions behind)
   - @gsd-build/rpc-client: stuck at 2.52.0
   - @gsd/pi-ai, pi-tui, pi-agent-core: stuck at 0.57.1
   - @gsd/native, @gsd-build/daemon: stuck at 0.1.0

Changes:

- Bump all non-private workspace packages to 2.74.0 to match the latest
  release tag. Update daemon + mcp-server's internal rpc-client dep
  from ^2.52.0 → ^2.74.0. Regenerate root lockfile.

- scripts/generate-changelog.mjs: compute newVersion from max(latest
  stable tag, package.json) instead of package.json alone. Prevents
  version regressions when package.json is accidentally clobbered by
  rebases or merges.

- scripts/bump-version.mjs: extend to sync all eight non-private
  workspace packages (daemon, mcp-server, native, pi-agent-core, pi-ai,
  pi-coding-agent, pi-tui, rpc-client) including their internal deps
  on each other. Private packages (studio, web) are left alone.

Studio and web remain on their own versioning (private: true, never
published). The native platform shims under native/npm/* are still
synced via native/scripts/sync-platform-versions.cjs from the root
version as before.
2026-04-14 19:35:28 -05:00
..
base64-scan.sh ci(security): add base64-encoded directive scan to lint job (#2371) 2026-03-24 13:34:25 -06:00
build-web-if-stale.cjs fix: skip web build on Windows — Next.js webpack hits EPERM on system dirs 2026-03-21 13:30:23 -06:00
bump-version.mjs fix(release): sync all workspace versions and harden release scripts 2026-04-14 19:35:28 -05:00
check-skill-references.mjs fix: remove broken SwiftUI skill and add CI reference check (#1476) (#1520) 2026-03-19 18:04:37 -06:00
ci_monitor.cjs feat: add GitHub Workflows skill with CI workflow and ci_monitor tool (#294) 2026-03-13 22:31:17 -06:00
ci_monitor.md feat: add GitHub Workflows skill with CI workflow and ci_monitor tool (#294) 2026-03-13 22:31:17 -06:00
compile-tests.mjs fix(ci): copy web/components to dist-test for xterm-theme test (#2891) 2026-03-27 15:22:34 -06:00
copy-export-html.cjs refactor: extract inline build scripts from package.json to files 2026-03-16 13:34:05 -05:00
copy-resources.cjs fix: apply pi manifest opt-out to extension-discovery.ts (#1545) 2026-03-20 08:11:51 -06:00
copy-themes.cjs refactor: extract inline build scripts from package.json to files 2026-03-16 13:34:05 -05:00
dev-cli.js feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
dev.js fix(windows): harden portability across runtime and tooling 2026-04-10 20:33:18 -05:00
dist-test-resolve.mjs perf(test): compile unit tests with esbuild, reclassify integration tests, fix node_modules symlink (#2809) 2026-03-27 14:51:49 -06:00
docs-prompt-injection-scan.sh feat(ci): skip build/test for docs-only PRs and add prompt injection scan (#1699) 2026-03-21 08:39:03 -06:00
ensure-workspace-builds.cjs Build and link bundled RPC client 2026-04-09 18:29:38 -05:00
generate-changelog.mjs fix(release): sync all workspace versions and harden release scripts 2026-04-14 19:35:28 -05:00
install-hooks.mjs fix(windows): harden portability across runtime and tooling 2026-04-10 20:33:18 -05:00
install-hooks.sh fix: restore PR files lost during merge conflict resolution 2026-03-25 22:39:33 -06:00
install-pi-global.js Add pi global install scripts (#57) 2026-03-11 14:34:03 -06:00
link-workspace-packages.cjs Build and link bundled RPC client 2026-04-09 18:29:38 -05:00
parallel-monitor.mjs fix(windows): harden portability across runtime and tooling 2026-04-10 20:33:18 -05:00
postinstall.js feat: managed RTK integration with opt-in preference and web UI toggle (#2620) 2026-03-26 09:33:07 -06:00
pr-risk-check.mjs fix(ci): update FILE-SYSTEM-MAP.md path after docs reorganization 2026-04-10 10:26:33 -05:00
prepublish-check.mjs fix(windows): harden portability across runtime and tooling 2026-04-10 20:33:18 -05:00
preview-dashboard.ts feat(dashboard): two-column layout with redesigned widget (#1530) 2026-03-19 20:07:18 -06:00
recover-gsd-1364.ps1 fix: recover + prevent #1364 .gsd/ data-loss (v2.30.0–v2.38.0) (#1635) 2026-03-20 13:26:09 -06:00
recover-gsd-1364.sh fix: recover + prevent #1364 .gsd/ data-loss (v2.30.0–v2.38.0) (#1635) 2026-03-20 13:26:09 -06:00
recover-gsd-1668.ps1 fix(worktree): detect default branch instead of hardcoding "main" on milestone merge (#1668) (#1669) 2026-03-21 08:34:55 -06:00
recover-gsd-1668.sh fix(worktree): detect default branch instead of hardcoding "main" on milestone merge (#1668) (#1669) 2026-03-21 08:34:55 -06:00
require-tests.sh ci: enforce test requirements and coverage thresholds on PRs 2026-03-26 17:55:53 -05:00
rtk-benchmark.mjs feat: managed RTK integration with opt-in preference and web UI toggle (#2620) 2026-03-26 09:33:07 -06:00
secret-scan.mjs fix(windows): harden portability across runtime and tooling 2026-04-10 20:33:18 -05:00
secret-scan.sh feat: add pre-commit secret scanner and CI secret detection (#1148) 2026-03-18 08:33:17 -06:00
stage-web-standalone.cjs feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
sync-pkg-version.cjs feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
test-reporter-compact.mjs perf(test): compile unit tests with esbuild, reclassify integration tests, fix node_modules symlink (#2809) 2026-03-27 14:51:49 -06:00
uninstall-pi-global.js Add pi global install scripts (#57) 2026-03-11 14:34:03 -06:00
update-changelog.mjs feat(ci): automate prod-release with version bump, changelog, and tag push (#1194) 2026-03-18 11:17:43 -06:00
validate-pack.js fix(ci): unblock windows portability follow-up 2026-04-10 20:45:51 -05:00
validate-pack.sh fix: broken npm install — remove bundleDependencies, use postinstall symlinks (#369) 2026-03-14 10:04:12 -06:00
verify-s03.sh feat(wizard): add BRAVE_ANSWERS_KEY support 2026-03-10 22:44:28 -06:00
verify-s04.sh Replace remaining 'get stuff done' instances in verify script 2026-03-11 08:11:11 -06:00
version-stamp.mjs fix(ci): address 5 pipeline integrity issues from release audit (#4119) 2026-04-13 08:56:12 -04:00
watch-resources.js fix(memory): fix memory and resource leaks across TUI, LSP, DB, and automation (#2314) 2026-03-24 07:23:36 -06:00
with-env.mjs fix(windows): harden portability across runtime and tooling 2026-04-10 20:33:18 -05:00