Hero Studio
Public Made by Adomby adom
The hero-image lab with a human gate: `hero-studio pose <owner/slug>` opens the studio in front of the human, posed for their package, and blocks until they click Generate, producing the provenance-stamped 2000x1250 PNG the registry's hero gate requires. The image carries the title and artwork; the exported image also bakes the type pill (top right) and full wiki slug (bottom right); the page shows the hero bare, and only the homepage marquee overlays its own dynamic info. Every hero wears its P
0.21.3: app.js line 260 unterminated string, studio never boots
0.21.3: public/js/app.js line 260 has an unterminated string, so the studio page never boots
else txt = 'RENDERER NOT READY, Generate will fail: ' + rs.local.why + '; pup fallback: ' + rs.pup.why + '. Fix: ' + (rs.local.fix || 'hero-studio doctor') + ';
The line ends + ';. That opens a string that never closes. node --check public/js/app.js fails with SyntaxError: Invalid or unexpected token at 260.
What it breaks
- The whole
app.jsfails to parse, so$is never defined.wizard.jsthen throwsReferenceError: $ is not defined(lines 412 and 446 in the console relay). - The surface never renders. The human gate can't be walked, so Generate can't be clicked.
hero-studio compose/GET /compose.pngreturn the generic mock with no title, because the render view (/?render=1) runs the same script.lintcomes back empty and stale.
Fix: end the line with + '.';. That's what I applied locally. After it, every file in public/js passes node --check, compose renders the posed showcase and headline, and lint measures fresh.
Suggestion: a node --check over public/js/*.js in the publish script or tests would have caught this before release.
Found while posing adom/hydrogen-first-social-post (Node 18.19.1, local Chrome renderer).