teaching: run carrier builds from the toolkit page
Extract the console runner into web/teaching/console-runner.js (classic script, file:// safe) and mount it on carrier-toolkit.html: per-part 运行本件, per-group 运行本组, 运行全部 and 运行装配, all fed by lessons.mjs ids at build time. Fix runButton() emitting a duplicate class attribute that dropped run-group/run-assembly. Server banner now prints the carrier page URL; new check:carrier-live gate drives the dry lesson end-to-end. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -300,6 +300,9 @@ server.listen(port, "127.0.0.1", () => {
|
||||
appOrigin,
|
||||
token,
|
||||
console: `${origin}/console.html?token=${token}`,
|
||||
// The carrier toolkit page mounts the same runner (console-runner.js), so it
|
||||
// is a first-class entry point, not a link out to the console.
|
||||
carrier: `${origin}/carrier-toolkit.html?token=${token}`,
|
||||
}));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user