Repository navigation
author 0.10.2
h5p-author 0.10.2 changes how a chat that built nothing hands the source over (#208, #209). It now gives the source as a JSON code block, or as a file where it can make one, with the build page's plain address. No link carries the source. The build itself is unchanged.
Why the link went
0.10.1 had the model write the build page's link itself, with the source in it as readable JSON. Haiku wrote working links, but ChatGPT on a free account did not:
- Its model escaped characters it did not need to, then wrote spaces raw partway through:
"question":"What happens during evaporation?". A Markdown link cannot hold a raw space, so ChatGPT showed the address as text, and the link it made stopped at the first space, after 283 characters of the source. - The address in angle brackets,
[…](<…>), which lets a Markdown link hold spaces, came out of ChatGPT as[Build and play it](: its renderer drops the<…>.
A link that carries the source needs every character of a long text right, and a chat app's model does not always manage that.
What the reply holds now
- The whole source, once, in one
jsoncode block, which the chat's copy button copies exactly. - One line: copy it, open https://missing-elements.github.io/h5p/build/, choose Paste your chat's JSON, paste it in place of the sample's, and press Build. Where the source names files, the page asks for them.
- Only where the chat has a code tool: the source as a
.source.jsonfile too, which the page opens under Or open a file, and the line offering the build archive.
Outside a chat, the file takes the code block's place. Routes 1 to 3, which build the package in the chat, keep the compressed link their command prints. The build page still opens #source= links of both kinds.
Measured
Haiku, the weakest model first, reading the skill through a logging reader. 6 of 6 replies held one json block that built and passed the verifier, the plain address, and no link carrying the source. They covered Question Sets in English and Ukrainian, an Accordion about HTML tags, a True/False naming a photo, and a Drag the Words with % and parentheses. Both runs with a code tool and no network also gave the .source.json file, equal to the block, and the archive line, and none of the four without one did.
A copy installed with npx skills add takes the change with npx skills update -g. A copy uploaded to Claude, ChatGPT or Grok needs a new upload, from the zips at https://missing-elements.github.io/h5p/create-with-ai/#install, which hold this release once the site pins it.
Full Changelog: author-v0.10.1...author-v0.10.2