← Commit history

Publish 0.25.3

Colby Knox ·991baff420 · ·parent a497ae6
4 files changed +10−5
bin/hero-studio

  
package.json+2−2
@@ -2,7 +2,7 @@   "slug": "hero-studio",   "title": "Hero Studio",   "type": "app",-  "version": "0.25.2",+  "version": "0.25.3",   "description": "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 PAGE OWNER's brand guide (<owner>/brand): colors, type, logo and background themes, Adom's included; an unresolved guide holds unbranded rather than borrowing Adom's look. Placement is fixed for all. The floating app window is the showcase: it auto-loads a real screenshot from the package's wiki page (screenshots/, docs/), takes a manual import, or a full-hero import (the human-ratified re-stamp path for existing heroes). The pose gate opens in verification mode: per-item checklist (title, subtitle, showcase, type match) and a Generate that unlocks only fully confirmed. Includes showcase bleeds, brand tile themes, gradient angles, pixel-faithful wiki marquee and index-card previews, and a component-hero mode with a photo/raytrace/phong fallback ladder.",   "license": "MIT",   "tags": [@@ -70,7 +70,7 @@     "test:renderer": "node test/renderer.mjs",     "test:compose": "node test/compose-ladder.mjs",     "test:syntax": "node test/syntax.mjs",-    "test": "node test/syntax.mjs && node test/gate.mjs && node test/brand.mjs && node test/render-view.mjs && node test/renderer.mjs && node test/compose-ladder.mjs && node test/platform.mjs && node test/pose-surface.mjs && node test/bind-and-tabs.mjs && node test/batch.mjs && node test/circuit-traces.mjs",+    "test": "node test/syntax.mjs && node test/gate.mjs && node test/brand.mjs && node test/render-view.mjs && node test/renderer.mjs && node test/compose-ladder.mjs && node test/render-pup.mjs && node test/platform.mjs && node test/pose-surface.mjs && node test/bind-and-tabs.mjs && node test/batch.mjs && node test/circuit-traces.mjs",     "test:traces": "node test/circuit-traces.mjs",     "prepublishOnly": "node test/syntax.mjs",     "test:platform": "node test/platform.mjs"
page.json+4−2
@@ -2,7 +2,7 @@   "slug": "hero-studio",   "title": "Hero Studio",   "type": "app",-  "version": "0.25.2",+  "version": "0.25.3",   "description": "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 PAGE OWNER's brand guide (<owner>/brand): colors, type, logo and background themes, Adom's included; an unresolved guide holds unbranded rather than borrowing Adom's look. Placement is fixed for all. The floating app window is the showcase: it auto-loads a real screenshot from the package's wiki page (screenshots/, docs/), takes a manual import, or a full-hero import (the human-ratified re-stamp path for existing heroes). The pose gate opens in verification mode: per-item checklist (title, subtitle, showcase, type match) and a Generate that unlocks only fully confirmed. Includes showcase bleeds, brand tile themes, gradient angles, pixel-faithful wiki marquee and index-card previews, and a component-hero mode with a photo/raytrace/phong fallback ladder.",   "license": "MIT",   "tags": [@@ -64,11 +64,13 @@   "scripts": {     "install": "./install.sh",     "uninstall": "./uninstall.sh",+    "test:pup": "node test/render-pup.mjs",     "test:brand": "node test/brand.mjs",     "test:render": "node test/render-view.mjs",     "test:renderer": "node test/renderer.mjs",+    "test:compose": "node test/compose-ladder.mjs",     "test:syntax": "node test/syntax.mjs",-    "test": "node test/syntax.mjs && node test/gate.mjs && node test/brand.mjs && node test/render-view.mjs && node test/renderer.mjs && node test/platform.mjs && node test/pose-surface.mjs && node test/bind-and-tabs.mjs && node test/batch.mjs && node test/circuit-traces.mjs",+    "test": "node test/syntax.mjs && node test/gate.mjs && node test/brand.mjs && node test/render-view.mjs && node test/renderer.mjs && node test/compose-ladder.mjs && node test/render-pup.mjs && node test/platform.mjs && node test/pose-surface.mjs && node test/bind-and-tabs.mjs && node test/batch.mjs && node test/circuit-traces.mjs",     "test:traces": "node test/circuit-traces.mjs",     "prepublishOnly": "node test/syntax.mjs",     "test:platform": "node test/platform.mjs"
render-pup.mjs+4−1
@@ -96,8 +96,11 @@ if (!assetsReady) die('the hero\'s background images (the owner logo) did not lo // step verifies it is present in the screenshot, proving the relay shot THIS // window and not whatever was focused (hero-studio#8: a relay that ignores // sessionId captures the human's interactive studio, tooltips and all).+// The render view puts #hero at (0,0), right under the sentinel, so the page+// first moves down 24px: the sentinel then sits above the crop, never in it. const boxRaw = await evalIn(-  "(function(){var s=document.getElementById('hs-sentinel');if(!s){s=document.createElement('div');" ++  "(function(){document.body.style.paddingTop='24px';" ++  "var s=document.getElementById('hs-sentinel');if(!s){s=document.createElement('div');" +   "s.id='hs-sentinel';s.style.cssText='position:fixed;top:0;left:0;width:16px;height:16px;" +   "background:#ff00fe;z-index:2147483647';document.body.appendChild(s);}" +   "var b=document.querySelector('#hero').getBoundingClientRect();" +