fix(verify): --help says the pack refreshes a package's libraries only with --trusted
Merged
AL
1d ago+3+3+0123456789-3-3-0123456789
Summary
Closes #352. The --libraries help in h5p-verify said a library the package carries plays at the pack's newer version whenever the pack is used. The player does that only for a package played trusted, and the verifier plays untrusted by default.
Changes
packages/verify/bin/h5p-verify.mjs: "With --trusted and the pack, a library the package carries plays at the pack's newer version", aspackages/verify/README.md,docs/verify.mdand theh5p-verifyskill already say it.
Checked
- The condition against the code:
refresh: offer.refresh === true && !reader.untrustedinpackages/player/src/sw/mount.ts. h5p-verify --helpprints the new text, inside the usage's columns.pnpm docs:checkandpnpm lintpass.
Not checked
- No test reads the help text, so none was run for it.
Release
The help text ships with the next release of @missing-elements/h5p-verify.
š¤ Generated with Claude Code
Summary by cubic
Fixes the h5p-verify --libraries help text so it no longer claims the pack's newer library version always plays.
This only happens with --trusted, and the verifier runs untrusted by default. The help text now matches what packages/verify/README.md, docs/verify.md, and the h5p-verify skill already say.