Pin h5p-author 0.13.0, and say what the chat asks now

Merged
AL
4h ago
+21-13

Closes #73.

h5p-author 0.13.0 reads a package back into its source (missing-elements/h5p-toolkit#236), so the h5p-author skill can change an .h5p the user has (missing-elements/h5p-toolkit#242). It also notes what builds but is almost surely a mistake (missing-elements/h5p-toolkit#241).

What changes

  • The pin: package.json and the lockfile move @missing-elements/h5p-author from 0.12.0 to 0.13.0. Nothing else in the lockfile changes.
    • h5p-author.mjs, the archive and the 55 bundles now have read, which the skill uses to change a package where npm can't be reached.
    • Both skill zips carry the new references/change.md.
  • What the chat asks: since 2026-11-14 the skill asks for the content type at most. The build page's "Ask your chat" and the guide's step 3 and "Prompts to start from" said it also asks whose name and which licence go on the activity.
    • They now say it asks nothing else.
    • The guide says how to put a name and a licence on the activity from the prompt, and what goes on it otherwise.
    • Step 3 is now "Answer its question".
  • Changing an activity: the guide's step 2 says to attach an .h5p and say what to change. It says when the chat can do it: when it builds the file itself, and when the activity was made with the versions of H5P's libraries the build tool has.

Tested

  • Checks: pnpm install --frozen-lockfile and pnpm build, which runs tsc, pass. The lockfile change is 5 lines; pnpm dropped no libc: lines.
  • Zips: the 41 skill files in each zip equal the published 0.13.0 tarball's, change.md included. The ChatGPT zip's plugin.json says 0.13.0, and bundles/index.json says author 0.13.0, pack 1.1.0.
  • The archive: its tool prints 0.13.0 and pack 1.1.0. It reads a Fill in the Blanks package that holds math into its source, and builds that again.
  • The one-file tool with one bundle, as the skill runs them where npm can't be reached:
    • With only H5P.Blanks.zip, reading that package stops at the addon it needs: "The parts folder parts has no H5P.MathDisplay-1.0.h5p, which this package needs".
    • With the site's bundles/parts/H5P.MathDisplay-1.0.h5p added, it reads.
  • The build page, served by vite preview, in Chromium:
    • A #source= link with a Multiple Choice that marks no answer correct built and played in 0.6 s.
    • It listed the new note: "params.answers marks no answer correct, so no learner can score: set "correct": true on the right one".
    • No console errors.
  • The text: the built guide and build page carry the new sentences, and no page says the chat asks for a name or a licence.

Summary by cubic

Pins @missing-elements/h5p-author to 0.13.0 so the chat can change an .h5p you already have, and updates the guide and build page to say the chat asks for the content type at most.

  • 0.13.0 adds a read command that turns an .h5p back into its source, which the skill uses to change a package and rebuild it.
  • The guide now says to attach an .h5p and say what to change, and when the chat can do it: when it builds the file itself, and when the activity was made with the bundled versions of H5P's libraries.
  • The build page and guide no longer say the chat asks whose name and which licence go on the activity; the prompt can set them, and there are defaults.
  • The build page now warns when a content type marks no answer correct in params.answers, so no learner can score.