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
@@ -11,7 +11,6 @@
},
"duration": 13,
"tags": [
"html-in-canvas",
"captions",
"bounce"
],
@@ -11,7 +11,6 @@
},
"duration": 13,
"tags": [
"html-in-canvas",
"captions",
"cinematic"
],
@@ -11,7 +11,6 @@
},
"duration": 13,
"tags": [
"html-in-canvas",
"captions",
"karaoke"
],
@@ -11,7 +11,6 @@
},
"duration": 13,
"tags": [
"html-in-canvas",
"captions",
"minimal"
],
@@ -11,7 +11,6 @@
},
"duration": 13,
"tags": [
"html-in-canvas",
"captions",
"slam"
],
@@ -12,7 +12,6 @@
"duration": 15,
"tags": [
"html-in-canvas",
"vfx",
"3d",
"device",
"iphone",
@@ -12,7 +12,6 @@
"duration": 12,
"tags": [
"html-in-canvas",
"vfx",
"liquid",
"webgl",
"displacement",
@@ -11,7 +11,6 @@
},
"duration": 20,
"tags": [
"vfx",
"html-in-canvas",
"webgl"
],
@@ -11,7 +11,6 @@
},
"duration": 15,
"tags": [
"vfx",
"html-in-canvas",
"webgl"
],
@@ -11,7 +11,6 @@
},
"duration": 10,
"tags": [
"vfx",
"html-in-canvas",
"webgl"
],
@@ -11,7 +11,6 @@
},
"duration": 12,
"tags": [
"vfx",
"html-in-canvas",
"webgl"
],
@@ -12,7 +12,6 @@
"duration": 8,
"tags": [
"html-in-canvas",
"vfx",
"text",
"shader",
"cursor",