by 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
← Commit history
Publish 0.25.5
5 files changed
+31−4
SKILL.md+1@@ -776,6 +776,7 @@ JS never runs: adom-cli hydrogen webview open-or-refresh --name "Hero Studio" \ --url "$(echo $VSCODE_PROXY_URI | sed 's/{{port}}/8846/')" --panel-id <webview-pane-id> adom-cli hydrogen webview set-proxy false --name "Hero Studio"+adom-cli hydrogen workspace active-tab --name "Hero Studio" # open-or-refresh leaves an existing tab where it was ``` ## Refresh the dataset
data/pages.json+4−2@@ -130,12 +130,14 @@ "score": 0, "stars": 0, "installs30d": 0,- "brief": "The hero-image lab with a human gate: pose, generate, provenance-stamped.",+ "brief": "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", "tags": [], "updated_at": "2026-07-24T15:00:09.396Z", "owner": "adom", "slug": "hero-studio",- "aiThread": "hero wizard dogfood"+ "aiThread": "bind test other",+ "org": "adom",+ "live": true }, { "type": "app",
package.json+1−1@@ -2,7 +2,7 @@ "slug": "hero-studio", "title": "Hero Studio", "type": "app",- "version": "0.25.4",+ "version": "0.25.5", "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": [
page.json+1−1@@ -2,7 +2,7 @@ "slug": "hero-studio", "title": "Hero Studio", "type": "app",- "version": "0.25.4",+ "version": "0.25.5", "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": [
pose.mjs+24@@ -505,6 +505,30 @@ async function openWebview() { if (!panelId) { console.error('no Hydrogen webview pane found to open the studio in'); await surfaceGaveUp('NO_WEBVIEW_PANE'); return; } await sh('adom-cli', ['hydrogen', 'webview', 'open-or-refresh', '--name', tabName, '--url', proxyBase, '--panel-id', panelId]); await sh('adom-cli', ['hydrogen', 'webview', 'set-proxy', 'false', '--name', tabName]);+ // open-or-refresh does not bring an existing tab forward, and Hydrogen can+ // bring a thread's own webview to the front just after ours opens. Bring+ // ours forward, then look twice more and take the front back if it was+ // lost; never more than that, so a human who clicks away is not fought.+ await sh('adom-cli', ['hydrogen', 'workspace', 'active-tab', '--name', tabName]);+ keepInFront().catch(() => {});+}+async function keepInFront() {+ let behind = null;+ for (const wait of [1500, 4000]) {+ await new Promise((r) => setTimeout(r, wait));+ let tabs = [];+ try { tabs = JSON.parse(await sh('adom-cli', ['hydrogen', 'workspace', 'tabs'])).tabs || []; } catch { return; }+ const mine = tabs.find((t) => t.name === tabName);+ if (!mine || mine.isActive !== false) return;+ behind = (tabs.find((t) => t.panelId === mine.panelId && t.isActive) || {}).name || null;+ await sh('adom-cli', ['hydrogen', 'workspace', 'active-tab', '--name', tabName]);+ }+ let tabs = [];+ try { tabs = JSON.parse(await sh('adom-cli', ['hydrogen', 'workspace', 'tabs'])).tabs || []; } catch { return; }+ const mine = tabs.find((t) => t.name === tabName);+ if (mine && mine.isActive === false) {+ console.error('the "' + tabName + '" tab is open but behind ' + (behind ? '"' + behind + '"' : 'another tab') + ' in its pane: click it to bring the studio forward');+ } } // 3b. THE SHOWCASE MANDATE. Wait for the UI to measure the slot, then tell the