From 247ab229ef79c369a0c5c6e112e4fbf2aeead009 Mon Sep 17 00:00:00 2001
From: Aleksandr Shevchuk
Date: Thu, 19 Nov 2026 10:41:34 +0200
Subject: [PATCH 1/2] Pin h5p-author 0.13.0, whose tool and bundles read a
package back into its source
---
package.json | 2 +-
pnpm-lock.yaml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index f4e21eb..3741bfe 100644
--- a/package.json
+++ b/package.json
@@ -28,7 +28,7 @@
"@codemirror/state": "6.7.6",
"@codemirror/view": "6.43.15",
"@lezer/highlight": "1.2.5",
- "@missing-elements/h5p-author": "0.12.0",
+ "@missing-elements/h5p-author": "0.13.0",
"@missing-elements/h5p-libraries": "1.1.0",
"@missing-elements/h5p-offline-player": "1.6.0",
"@missing-elements/h5p-runtime": "1.0.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3499457..dbe85cf 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -33,8 +33,8 @@ importers:
specifier: 1.2.5
version: 1.2.5
'@missing-elements/h5p-author':
- specifier: 0.12.0
- version: 0.12.0(@missing-elements/h5p-runtime@1.0.1)
+ specifier: 0.13.0
+ version: 0.13.0(@missing-elements/h5p-runtime@1.0.1)
'@missing-elements/h5p-libraries':
specifier: 1.1.0
version: 1.1.0
@@ -164,8 +164,8 @@ packages:
'@marijn/find-cluster-break@1.0.4':
resolution: {integrity: sha512-Wy0V7+SGUjnF9/TkiM1hKVDPj7jKXduPNboMVtHTA8dySMURWqfg/JZ9E2Sq8JgSJmkl7k7Qe9FLeMSrSraWmQ==}
- '@missing-elements/h5p-author@0.12.0':
- resolution: {integrity: sha512-gsKB2PO0rYpLNakn4CgCKAk6+B0Ou1+a41PzEOKh36pWCrArBmCawGYmjZk2c0IKa8hgDlT2RkbBVKuT4inKag==}
+ '@missing-elements/h5p-author@0.13.0':
+ resolution: {integrity: sha512-cPdQrADIVyz3Ut0OQzU35kJMly301pF8cG+KICAPL81YZSlxqMmatSqV3EnMfbb+O3EWNh8RazSYKRMg6aFXsQ==}
engines: {node: '>=22'}
hasBin: true
@@ -1278,7 +1278,7 @@ snapshots:
'@marijn/find-cluster-break@1.0.4': {}
- '@missing-elements/h5p-author@0.12.0(@missing-elements/h5p-runtime@1.0.1)':
+ '@missing-elements/h5p-author@0.13.0(@missing-elements/h5p-runtime@1.0.1)':
dependencies:
'@missing-elements/h5p-libraries': 1.1.0
'@missing-elements/h5p-normalize': 1.4.0
From 2ea8da5cc157de1e1ab445978e19f7eefdca7764 Mon Sep 17 00:00:00 2001
From: Aleksandr Shevchuk
Date: Thu, 19 Nov 2026 10:41:34 +0200
Subject: [PATCH 2/2] Say that the chat asks for the type at most, and that it
can change an .h5p you have
---
src/h5p/build/index.njk | 7 ++++---
src/h5p/create-with-ai/index.njk | 15 +++++++++++----
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/src/h5p/build/index.njk b/src/h5p/build/index.njk
index eda217b..fbbdc60 100644
--- a/src/h5p/build/index.njk
+++ b/src/h5p/build/index.njk
@@ -120,8 +120,9 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
{#- The prompt is a code block, which site.js gives a Copy button. It names the skill, which the
- chat has once the first step is done, and the content type, so the chat asks only for the
- author and licence: the sample is what Haiku wrote for this request, with the site's name and
+ chat has once the first step is done, and the content type, so the chat asks nothing (since
+ 2026-11-14 the skill asks for the type at most, and writes the author and licence the prompt
+ gives, or defaults): the sample is what Haiku wrote for this request, with the site's name and
licence put on it. Until 2026-11-13 the prompt sent the chat to read the skill at /h5p/skill/
instead, which worked only in chats that now take the skill as a zip. -#}
@@ -137,7 +138,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
Ask your chat
- Paste the prompt below into a new chat, with a subject of your own. The chat asks whose name and which licence go on the activity, which you may skip, and writes it.
+ Paste the prompt below into a new chat, with a subject of your own. It names the type, so the chat asks nothing and writes the activity.
Play it, then download it
diff --git a/src/h5p/create-with-ai/index.njk b/src/h5p/create-with-ai/index.njk
index a937f56..fd71d21 100644
--- a/src/h5p/create-with-ai/index.njk
+++ b/src/h5p/create-with-ai/index.njk
@@ -109,14 +109,21 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
another language, say so, such as "in French": the activity's buttons come in it too, where
H5P has a translation.
+
+ To change an activity you already have, attach its .h5p and say what to change,
+ such as "add two harder questions". A chat that builds the file itself, as in step 4, reads
+ the activity back, changes it and builds it again, if it was made with the versions of H5P's
+ libraries the build tool has. Otherwise the chat says so and offers to make the activity anew.
+
- 3 Answer its questions
+ 3 Answer its question
If the prompt names no type, the chat proposes one or two that fit your material, and you
- choose. Then it asks whose name and which licence go on the activity, which you may skip, and
- writes it.
+ choose. It asks nothing else, and writes the activity. To put your name and a licence on it,
+ say them in the prompt, such as "by Ann Lee, CC BY 4.0"; otherwise it carries the name the
+ chat knows you by, or "Unknown", and an undisclosed licence.
@@ -168,7 +175,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
Prompts to start from
- Each names its type, so the chat asks only whose name and licence go on it. Change the subject
+ Each names its type, so the chat asks nothing. Change the subject
and the numbers to yours.