fix(package): trim shipped docs and legacy replay flags

Merged
TH
3d ago
+22-16

Summary

Keep the root README as the only README in the 0.22 core tarball. Remove the unused compatibility branches for --backend VALUE and -c from replay snapshot parsing. Repair two rental restart test imports left stale by the host-kit environment split.

Before / after

  • The npm pack list drops the 14,442-byte snapshot bridge developer README. It retains the bridge sources and the root README.
  • In a replay script, snapshot --backend --raw now preserves --raw under the existing unknown-token rules. The interactive CLI snapshot parser is unchanged.

Validation

  • Exact affected validation at 5c397b8d7b on Node 26.8.1 and pnpm 11.17.0, receipt run-lJjaD1: 43 passed, 29 skipped.
  • The consolidated pack guard checks README basenames and all required bridge sources and headers in the existing dry run. Both guard suites passed (14 tests).
  • On Node 24.13.0, six symlink, ancestry, and upload cases failed at be11e9ac4b and reproduced at its unchanged parent. All 80 tests in those four files passed at be11e9ac4b with Node 26.8.1.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.