fix(package): trim shipped docs and legacy replay flags
Merged
TH
3d ago+22+22+01234567890123456789-16-16-01234567890123456789
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 --rawnow preserves--rawunder the existing unknown-token rules. The interactive CLI snapshot parser is unchanged.
Validation
- Exact affected validation at
5c397b8d7bon Node 26.8.1 and pnpm 11.17.0, receiptrun-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
be11e9ac4band reproduced at its unchanged parent. All 80 tests in those four files passed atbe11e9ac4bwith Node 26.8.1.
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.