feat(cli): name-or-tag resolution for hyperframes add

hyperframes add now auto-detects whether the argument is a single
block name or a tag. No --tag flag needed:

  hyperframes add html-in-canvas  # installs all 7 html-in-canvas blocks
  hyperframes add captions        # installs all 5 caption blocks
  hyperframes add vfx-shatter     # installs one block

When the name doesn't match a registry item, the CLI falls back to
tag-based resolution and bulk-installs all matching blocks.

Also fixes tag assignments:
- VFX blocks tagged "html-in-canvas" (not "vfx")
- Caption blocks tagged "captions" only (no html-in-canvas)
This commit is contained in:
Miguel Ángel
2026-05-06 00:58:46 -07:00
parent 3ad51235c8
commit 20c1341cc8
13 changed files with 62 additions and 87 deletions
@@ -12,7 +12,6 @@
"duration": 15,
"tags": [
"html-in-canvas",
"vfx",
"3d",
"device",
"iphone",