5 Commits

Author SHA1 Message Date
Alex Dunmow
098a2091b9 feat(theme): --settle capture delay for reveal transitions and canvas heroes
Scroll-reveal themes (gotham .reveal, scifi-clean data-sc-reveal) start
content at opacity:0 under JS and fade in ~0.5s after the observer fires;
capturing on WaitVisible(main) catches mid-transition ghosts. --settle adds
a post-wait delay so transitions and canvas animations (cyberpunk rain)
finish before the screenshot.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 10:23:43 +08:00
Alex Dunmow
e71bf16d71 feat(theme): --scale for retina gallery captures
deviceScaleFactor pass-through to chromedp EmulateViewport; --scale 2
produces 2880x1800 PNGs for hidpi store galleries.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 10:21:41 +08:00
Alex Dunmow
dda752bfc1 feat(theme): --modes light,dark for --pages gallery captures
Sets the bn-theme cookie + emulated prefers-color-scheme before navigation
so each page can be captured in both color modes (Wave B screenshot sets).
Mode-suffixed filenames (NN-<slug>-<mode>.png); empty --modes keeps the
old single site-default capture and naming.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 08:53:49 +08:00
Alex Dunmow
ddf2dd59ef chore: rename dev host localdev.blockninjacms.com -> blockninja.dev 2026-07-05 20:50:18 +08:00
Alex Dunmow
2f065e3ed4 feat: ninja CLI in its own repo (block/cli, WO-WZ-023)
The ninja developer CLI moves out of block/core into its own module
git.dev.alexdunmow.com/block/cli. Pins block/core@v0.18.2 for abi/v1, the
plugin.mod parser, and DESCRIBE guest builds; vendors its own orchestrator
registry client (internal/api, generated from a vendored plugin_registry.proto)
since it cannot import block/core/internal. Produces byte-identical v1
artifacts (verified: art-deco codeless SHA256-identical to the pre-move build).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 22:39:32 +08:00