zilmate 1.9.9 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/.agents/skills/ad-creative/SKILL.md +362 -0
  2. package/.agents/skills/ad-creative/evals/evals.json +90 -0
  3. package/.agents/skills/ad-creative/references/generative-tools.md +637 -0
  4. package/.agents/skills/ad-creative/references/platform-specs.md +213 -0
  5. package/.agents/skills/ai-seo/SKILL.md +489 -0
  6. package/.agents/skills/ai-seo/evals/evals.json +90 -0
  7. package/.agents/skills/ai-seo/references/content-patterns.md +285 -0
  8. package/.agents/skills/ai-seo/references/content-types.md +71 -0
  9. package/.agents/skills/ai-seo/references/okf.md +104 -0
  10. package/.agents/skills/ai-seo/references/platform-ranking-factors.md +154 -0
  11. package/.agents/skills/clerk-backend-api/SKILL.md +426 -0
  12. package/.agents/skills/clerk-backend-api/evals/evals.json +87 -0
  13. package/.agents/skills/clerk-backend-api/scripts/api-specs-context.sh +30 -0
  14. package/.agents/skills/clerk-backend-api/scripts/execute-request.sh +88 -0
  15. package/.agents/skills/clerk-backend-api/scripts/extract-endpoint-detail.sh +165 -0
  16. package/.agents/skills/clerk-backend-api/scripts/extract-tag-endpoints.sh +208 -0
  17. package/.agents/skills/clerk-backend-api/scripts/extract-tags.js +14 -0
  18. package/.agents/skills/copy-editing/SKILL.md +457 -0
  19. package/.agents/skills/copy-editing/evals/evals.json +89 -0
  20. package/.agents/skills/copy-editing/references/checklist.md +66 -0
  21. package/.agents/skills/copy-editing/references/content-refresh.md +38 -0
  22. package/.agents/skills/copy-editing/references/plain-english-alternatives.md +394 -0
  23. package/.agents/skills/hyperframes/SKILL.md +163 -0
  24. package/.agents/skills/hyperframes-cli/SKILL.md +109 -0
  25. package/.agents/skills/hyperframes-cli/references/doctor-browser.md +45 -0
  26. package/.agents/skills/hyperframes-cli/references/init-and-scaffold.md +51 -0
  27. package/.agents/skills/hyperframes-cli/references/lambda.md +132 -0
  28. package/.agents/skills/hyperframes-cli/references/lint-validate-inspect.md +121 -0
  29. package/.agents/skills/hyperframes-cli/references/preview-render.md +109 -0
  30. package/.agents/skills/hyperframes-cli/references/upgrade-info-misc.md +75 -0
  31. package/.agents/skills/hyperframes-media/SKILL.md +97 -0
  32. package/.agents/skills/hyperframes-media/assets/sfx/CREDITS.md +35 -0
  33. package/.agents/skills/hyperframes-media/assets/sfx/manifest.json +97 -0
  34. package/.agents/skills/hyperframes-media/references/bgm.md +72 -0
  35. package/.agents/skills/hyperframes-media/references/captions/authoring.md +159 -0
  36. package/.agents/skills/hyperframes-media/references/captions/motion.md +87 -0
  37. package/.agents/skills/hyperframes-media/references/captions/transcript-handling.md +97 -0
  38. package/.agents/skills/hyperframes-media/references/remove-background.md +143 -0
  39. package/.agents/skills/hyperframes-media/references/requirements.md +29 -0
  40. package/.agents/skills/hyperframes-media/references/sfx.md +42 -0
  41. package/.agents/skills/hyperframes-media/references/transcribe.md +52 -0
  42. package/.agents/skills/hyperframes-media/references/tts-to-captions.md +24 -0
  43. package/.agents/skills/hyperframes-media/references/tts.md +135 -0
  44. package/.agents/skills/hyperframes-media/scripts/audio.mjs +282 -0
  45. package/.agents/skills/hyperframes-media/scripts/heygen-tts.mjs +121 -0
  46. package/.agents/skills/hyperframes-media/scripts/lib/bgm.mjs +235 -0
  47. package/.agents/skills/hyperframes-media/scripts/lib/heygen.mjs +131 -0
  48. package/.agents/skills/hyperframes-media/scripts/lib/sfx.mjs +128 -0
  49. package/.agents/skills/hyperframes-media/scripts/lib/tts.mjs +220 -0
  50. package/.agents/skills/hyperframes-media/scripts/lyria-recipe.py +128 -0
  51. package/.agents/skills/hyperframes-media/scripts/wait-bgm.mjs +167 -0
  52. package/.agents/skills/hyperframes-registry/SKILL.md +101 -0
  53. package/.agents/skills/hyperframes-registry/examples/add-block.md +51 -0
  54. package/.agents/skills/hyperframes-registry/examples/add-component.md +73 -0
  55. package/.agents/skills/hyperframes-registry/references/contributing.md +166 -0
  56. package/.agents/skills/hyperframes-registry/references/demo-html-pattern.md +54 -0
  57. package/.agents/skills/hyperframes-registry/references/discovery.md +215 -0
  58. package/.agents/skills/hyperframes-registry/references/install-locations.md +45 -0
  59. package/.agents/skills/hyperframes-registry/references/templates.md +417 -0
  60. package/.agents/skills/hyperframes-registry/references/wiring-blocks.md +61 -0
  61. package/.agents/skills/hyperframes-registry/references/wiring-components.md +39 -0
  62. package/.agents/skills/marketing-psychology/SKILL.md +455 -0
  63. package/.agents/skills/marketing-psychology/evals/evals.json +88 -0
  64. package/.agents/skills/mintlify/SKILL.md +328 -0
  65. package/.agents/skills/product-launch-video/SKILL.md +206 -0
  66. package/.agents/skills/product-launch-video/references/cut-catalog.md +220 -0
  67. package/.agents/skills/product-launch-video/references/motion-language.md +156 -0
  68. package/.agents/skills/product-launch-video/references/story-design.md +373 -0
  69. package/.agents/skills/product-launch-video/references/visual-design.md +126 -0
  70. package/.agents/skills/product-launch-video/scripts/assemble-index.mjs +570 -0
  71. package/.agents/skills/product-launch-video/scripts/audio.mjs +253 -0
  72. package/.agents/skills/product-launch-video/scripts/build-frame.mjs +536 -0
  73. package/.agents/skills/product-launch-video/scripts/captions.mjs +508 -0
  74. package/.agents/skills/product-launch-video/scripts/lib/assets.mjs +55 -0
  75. package/.agents/skills/product-launch-video/scripts/lib/dimensions.mjs +45 -0
  76. package/.agents/skills/product-launch-video/scripts/lib/storyboard.mjs +249 -0
  77. package/.agents/skills/product-launch-video/scripts/lib/tokens.mjs +204 -0
  78. package/.agents/skills/product-launch-video/scripts/lib/transition-registry.mjs +38 -0
  79. package/.agents/skills/product-launch-video/scripts/lib/transitions.json +71 -0
  80. package/.agents/skills/product-launch-video/scripts/stage-assets.mjs +39 -0
  81. package/.agents/skills/product-launch-video/scripts/transitions.mjs +320 -0
  82. package/.agents/skills/product-launch-video/sub-agents/frame-worker.md +74 -0
  83. package/.agents/skills/prompt-engineering-patterns/SKILL.md +144 -0
  84. package/.agents/skills/prompt-engineering-patterns/assets/few-shot-examples.json +106 -0
  85. package/.agents/skills/prompt-engineering-patterns/assets/prompt-template-library.md +264 -0
  86. package/.agents/skills/prompt-engineering-patterns/references/chain-of-thought.md +412 -0
  87. package/.agents/skills/prompt-engineering-patterns/references/details.md +338 -0
  88. package/.agents/skills/prompt-engineering-patterns/references/few-shot-learning.md +386 -0
  89. package/.agents/skills/prompt-engineering-patterns/references/prompt-optimization.md +428 -0
  90. package/.agents/skills/prompt-engineering-patterns/references/prompt-templates.md +484 -0
  91. package/.agents/skills/prompt-engineering-patterns/references/system-prompts.md +195 -0
  92. package/.agents/skills/prompt-engineering-patterns/scripts/optimize-prompt.py +279 -0
  93. package/.agents/skills/remotion-to-hyperframes/SKILL.md +127 -0
  94. package/.agents/skills/remotion-to-hyperframes/assets/.gitkeep +0 -0
  95. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/run.sh +249 -0
  96. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/README.md +41 -0
  97. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/expected.json +26 -0
  98. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/hf-src/index.html +61 -0
  99. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/package.json +14 -0
  100. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/remotion.config.ts +13 -0
  101. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/src/Root.tsx +13 -0
  102. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/src/TitleCard.tsx +34 -0
  103. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/src/index.ts +4 -0
  104. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/tsconfig.json +15 -0
  105. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/README.md +54 -0
  106. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/expected.json +29 -0
  107. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/hf-src/index.html +118 -0
  108. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/package.json +14 -0
  109. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/remotion.config.ts +13 -0
  110. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/src/MultiScene.tsx +105 -0
  111. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/src/Root.tsx +13 -0
  112. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/src/index.ts +4 -0
  113. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/tsconfig.json +15 -0
  114. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/setup.sh +34 -0
  115. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/README.md +85 -0
  116. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/expected.json +41 -0
  117. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/hf-src/index.html +269 -0
  118. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/package.json +15 -0
  119. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/remotion.config.ts +13 -0
  120. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/Root.tsx +27 -0
  121. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/Stargazed.tsx +37 -0
  122. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/components/AnimatedNumber.tsx +23 -0
  123. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/components/StatCard.tsx +59 -0
  124. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/components/UnderlinedText.tsx +47 -0
  125. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/index.ts +4 -0
  126. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/scenes/OutroScene.tsx +18 -0
  127. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/scenes/StatsScene.tsx +34 -0
  128. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/scenes/TitleScene.tsx +55 -0
  129. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/tsconfig.json +15 -0
  130. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/README.md +51 -0
  131. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/01-use-state.tsx +29 -0
  132. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/02-use-effect-deps.tsx +29 -0
  133. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/03-async-metadata.tsx +39 -0
  134. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/04-third-party-react.tsx +30 -0
  135. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/05-lambda-config.tsx +38 -0
  136. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/06-warnings-only.tsx +36 -0
  137. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/07-custom-hook.tsx +28 -0
  138. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/08-mixed.tsx +41 -0
  139. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/expected.json +85 -0
  140. package/.agents/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/validate.sh +110 -0
  141. package/.agents/skills/remotion-to-hyperframes/references/api-map.md +142 -0
  142. package/.agents/skills/remotion-to-hyperframes/references/escape-hatch.md +115 -0
  143. package/.agents/skills/remotion-to-hyperframes/references/eval.md +140 -0
  144. package/.agents/skills/remotion-to-hyperframes/references/fonts.md +112 -0
  145. package/.agents/skills/remotion-to-hyperframes/references/limitations.md +136 -0
  146. package/.agents/skills/remotion-to-hyperframes/references/lottie.md +121 -0
  147. package/.agents/skills/remotion-to-hyperframes/references/media.md +149 -0
  148. package/.agents/skills/remotion-to-hyperframes/references/parameters.md +167 -0
  149. package/.agents/skills/remotion-to-hyperframes/references/sequencing.md +195 -0
  150. package/.agents/skills/remotion-to-hyperframes/references/timing.md +165 -0
  151. package/.agents/skills/remotion-to-hyperframes/references/transitions.md +114 -0
  152. package/.agents/skills/remotion-to-hyperframes/scripts/.gitkeep +0 -0
  153. package/.agents/skills/remotion-to-hyperframes/scripts/frame_strip.sh +107 -0
  154. package/.agents/skills/remotion-to-hyperframes/scripts/lint_source.py +358 -0
  155. package/.agents/skills/remotion-to-hyperframes/scripts/render_diff.sh +103 -0
  156. package/.agents/skills/remotion-to-hyperframes/scripts/tests/fixtures/blocker.tsx +50 -0
  157. package/.agents/skills/remotion-to-hyperframes/scripts/tests/fixtures/clean.tsx +46 -0
  158. package/.agents/skills/remotion-to-hyperframes/scripts/tests/smoke.sh +90 -0
  159. package/.agents/skills/seo-audit/SKILL.md +497 -0
  160. package/.agents/skills/seo-audit/evals/evals.json +136 -0
  161. package/.agents/skills/seo-audit/references/ai-writing-detection.md +200 -0
  162. package/.agents/skills/seo-audit/references/international-seo.md +230 -0
  163. package/README.md +4 -2
  164. package/SDK.md +64 -1
  165. package/dist/agents/coding.agent.d.ts +558 -0
  166. package/dist/agents/coding.agent.d.ts.map +1 -1
  167. package/dist/agents/coding.agent.js +8 -0
  168. package/dist/agents/coding.agent.js.map +1 -1
  169. package/dist/agents/developer-helper.agent.d.ts +712 -0
  170. package/dist/agents/developer-helper.agent.d.ts.map +1 -1
  171. package/dist/agents/developer-helper.agent.js +6 -0
  172. package/dist/agents/developer-helper.agent.js.map +1 -1
  173. package/dist/agents/docs-research.agent.d.ts +8 -0
  174. package/dist/agents/docs-research.agent.d.ts.map +1 -1
  175. package/dist/agents/finance.agent.d.ts +8 -0
  176. package/dist/agents/finance.agent.d.ts.map +1 -1
  177. package/dist/agents/manager.d.ts +837 -2
  178. package/dist/agents/manager.d.ts.map +1 -1
  179. package/dist/agents/manager.js +28 -0
  180. package/dist/agents/manager.js.map +1 -1
  181. package/dist/agents/security.agent.d.ts +165 -3
  182. package/dist/agents/security.agent.d.ts.map +1 -1
  183. package/dist/agents/security.agent.js +3 -0
  184. package/dist/agents/security.agent.js.map +1 -1
  185. package/dist/agents/swarm/main.js +1 -1
  186. package/dist/agents/swarm/main.js.map +1 -1
  187. package/dist/agents/swarm/registry.d.ts.map +1 -1
  188. package/dist/agents/swarm/registry.js +232 -26
  189. package/dist/agents/swarm/registry.js.map +1 -1
  190. package/dist/cli/doctor.d.ts +14 -0
  191. package/dist/cli/doctor.d.ts.map +1 -1
  192. package/dist/cli/doctor.js +91 -0
  193. package/dist/cli/doctor.js.map +1 -1
  194. package/dist/cli/menu.d.ts.map +1 -1
  195. package/dist/cli/menu.js +102 -0
  196. package/dist/cli/menu.js.map +1 -1
  197. package/dist/cli/setup.d.ts +10 -0
  198. package/dist/cli/setup.d.ts.map +1 -1
  199. package/dist/cli/setup.js +178 -0
  200. package/dist/cli/setup.js.map +1 -1
  201. package/dist/cli/swarm.d.ts +1 -0
  202. package/dist/cli/swarm.d.ts.map +1 -1
  203. package/dist/cli/swarm.js +47 -8
  204. package/dist/cli/swarm.js.map +1 -1
  205. package/dist/cli/theme.d.ts +0 -24
  206. package/dist/cli/theme.d.ts.map +1 -1
  207. package/dist/cli/theme.js +6 -2
  208. package/dist/cli/theme.js.map +1 -1
  209. package/dist/config/env.d.ts +10 -0
  210. package/dist/config/env.d.ts.map +1 -1
  211. package/dist/config/env.js +38 -17
  212. package/dist/config/env.js.map +1 -1
  213. package/dist/index.js +96 -5
  214. package/dist/index.js.map +1 -1
  215. package/dist/jobs/trigger-orchestrator.d.ts +5 -1
  216. package/dist/jobs/trigger-orchestrator.d.ts.map +1 -1
  217. package/dist/jobs/trigger-orchestrator.js +29 -9
  218. package/dist/jobs/trigger-orchestrator.js.map +1 -1
  219. package/dist/jobs/trigger-router.d.ts.map +1 -1
  220. package/dist/jobs/trigger-router.js +3 -2
  221. package/dist/jobs/trigger-router.js.map +1 -1
  222. package/dist/memory/corporate-wiki.d.ts +15 -0
  223. package/dist/memory/corporate-wiki.d.ts.map +1 -0
  224. package/dist/memory/corporate-wiki.js +152 -0
  225. package/dist/memory/corporate-wiki.js.map +1 -0
  226. package/dist/memory/scratchpad.d.ts +2 -0
  227. package/dist/memory/scratchpad.d.ts.map +1 -1
  228. package/dist/memory/scratchpad.js +27 -0
  229. package/dist/memory/scratchpad.js.map +1 -1
  230. package/dist/observability/doctor.d.ts.map +1 -1
  231. package/dist/observability/doctor.js +12 -4
  232. package/dist/observability/doctor.js.map +1 -1
  233. package/dist/observability/traces.d.ts +72 -0
  234. package/dist/observability/traces.d.ts.map +1 -0
  235. package/dist/observability/traces.js +1134 -0
  236. package/dist/observability/traces.js.map +1 -0
  237. package/dist/runtime/swarm.d.ts +1 -1
  238. package/dist/runtime/swarm.d.ts.map +1 -1
  239. package/dist/runtime/swarm.js +54 -25
  240. package/dist/runtime/swarm.js.map +1 -1
  241. package/dist/safety/approvals.d.ts +2 -2
  242. package/dist/safety/approvals.d.ts.map +1 -1
  243. package/dist/safety/approvals.js +47 -1
  244. package/dist/safety/approvals.js.map +1 -1
  245. package/dist/safety/redaction.d.ts.map +1 -1
  246. package/dist/safety/redaction.js +10 -0
  247. package/dist/safety/redaction.js.map +1 -1
  248. package/dist/tools/cloud.tool.d.ts +394 -0
  249. package/dist/tools/cloud.tool.d.ts.map +1 -0
  250. package/dist/tools/cloud.tool.js +784 -0
  251. package/dist/tools/cloud.tool.js.map +1 -0
  252. package/dist/tools/computer-use.tool.d.ts +2 -2
  253. package/dist/tools/corporate-wiki.tool.d.ts +22 -0
  254. package/dist/tools/corporate-wiki.tool.d.ts.map +1 -0
  255. package/dist/tools/corporate-wiki.tool.js +43 -0
  256. package/dist/tools/corporate-wiki.tool.js.map +1 -0
  257. package/dist/tools/devops.tool.d.ts +162 -0
  258. package/dist/tools/devops.tool.d.ts.map +1 -0
  259. package/dist/tools/devops.tool.js +377 -0
  260. package/dist/tools/devops.tool.js.map +1 -0
  261. package/dist/tools/multimedia.tool.d.ts +126 -0
  262. package/dist/tools/multimedia.tool.d.ts.map +1 -0
  263. package/dist/tools/multimedia.tool.js +533 -0
  264. package/dist/tools/multimedia.tool.js.map +1 -0
  265. package/dist/tools/osint.tool.d.ts +6 -6
  266. package/dist/tools/sandbox-dev.tool.d.ts +15 -0
  267. package/dist/tools/sandbox-dev.tool.d.ts.map +1 -0
  268. package/dist/tools/sandbox-dev.tool.js +146 -0
  269. package/dist/tools/sandbox-dev.tool.js.map +1 -0
  270. package/dist/tools/scratchpad.tool.d.ts +8 -0
  271. package/dist/tools/scratchpad.tool.d.ts.map +1 -1
  272. package/dist/tools/scratchpad.tool.js +40 -1
  273. package/dist/tools/scratchpad.tool.js.map +1 -1
  274. package/dist/tools/setup-assistant.tool.d.ts +1 -1
  275. package/dist/tools/swarm-ops.tool.d.ts +14 -0
  276. package/dist/tools/swarm-ops.tool.d.ts.map +1 -1
  277. package/dist/tools/swarm-ops.tool.js +47 -0
  278. package/dist/tools/swarm-ops.tool.js.map +1 -1
  279. package/dist/tools/sysops.tool.d.ts +157 -0
  280. package/dist/tools/sysops.tool.d.ts.map +1 -0
  281. package/dist/tools/sysops.tool.js +643 -0
  282. package/dist/tools/sysops.tool.js.map +1 -0
  283. package/dist/voice/deepgram.d.ts.map +1 -1
  284. package/dist/voice/deepgram.js +30 -2
  285. package/dist/voice/deepgram.js.map +1 -1
  286. package/package.json +8 -1
  287. package/scripts/release-github.mjs +23 -16
@@ -0,0 +1,215 @@
1
+ # Registry Discovery
2
+
3
+ ## Reading the registry manifest
4
+
5
+ The top-level `registry.json` lists all available items:
6
+
7
+ ```bash
8
+ curl -s https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/registry.json
9
+ ```
10
+
11
+ Each entry has `name` and `type` (`hyperframes:example`, `hyperframes:block`, or `hyperframes:component`).
12
+
13
+ ## Reading an item's manifest
14
+
15
+ Each item has a `registry-item.json` with full metadata:
16
+
17
+ ```
18
+ <base>/<type-dir>/<name>/registry-item.json
19
+ ```
20
+
21
+ Where `<type-dir>` is `examples`, `blocks`, or `components`.
22
+
23
+ ## Item manifest fields
24
+
25
+ | Field | Type | Required | Description |
26
+ | ---------------------- | -------- | -------- | ---------------------------------------------- |
27
+ | `name` | string | yes | Kebab-case identifier |
28
+ | `type` | string | yes | `hyperframes:block` or `hyperframes:component` |
29
+ | `title` | string | yes | Human-readable title |
30
+ | `description` | string | yes | One-line description |
31
+ | `tags` | string[] | no | Filter tags (e.g., `["data", "chart"]`) |
32
+ | `dimensions` | object | blocks | `{ width, height }` — blocks only |
33
+ | `duration` | number | blocks | Duration in seconds — blocks only |
34
+ | `files` | array | yes | Files to install (`path`, `target`, `type`) |
35
+ | `registryDependencies` | string[] | no | Other registry items this depends on |
36
+
37
+ ## Available items
38
+
39
+ ### Blocks
40
+
41
+ For an always-current list run `npx hyperframes catalog --type block`. The tables below group the 97 blocks by category. **Block name ≠ shader name**: shader-transition blocks (e.g. `domain-warp-dissolve`) wrap a HyperShader runtime whose internal name omits the `-dissolve`/`-warp` suffix — see the showcase HTML installed alongside the block for the canonical name.
42
+
43
+ #### Shader transitions (14)
44
+
45
+ Single-shader blocks; each installs one HyperShader runtime + a showcase composition. Use ≤2 per video.
46
+
47
+ | Name | Description |
48
+ | ------------------------ | ------------------------------------------------------------------------ |
49
+ | `chromatic-radial-split` | Chromatic aberration radial split |
50
+ | `cinematic-zoom` | Dramatic zoom blur |
51
+ | `cross-warp-morph` | Cross-warped morphing |
52
+ | `domain-warp-dissolve` | Fractal noise domain warping |
53
+ | `flash-through-white` | White flash crossfade (rarely a neutral default — see SKILL.md guidance) |
54
+ | `glitch` | Digital glitch artifacts |
55
+ | `gravitational-lens` | Gravitational lensing distortion |
56
+ | `light-leak` | Cinematic light leak overlay |
57
+ | `ridged-burn` | Ridged turbulence burn |
58
+ | `ripple-waves` | Concentric ripple wave distortion |
59
+ | `sdf-iris` | Signed-distance-field iris reveal |
60
+ | `swirl-vortex` | Swirling vortex distortion |
61
+ | `thermal-distortion` | Heat-haze thermal distortion |
62
+ | `whip-pan` | Fast camera whip-pan |
63
+
64
+ #### Transition galleries (13)
65
+
66
+ Showcase compositions grouping multiple CSS / GSAP transition styles by family. Use as reference for picking a CSS scene transition; not meant to embed as-is.
67
+
68
+ | Name | Description |
69
+ | ------------------------- | ----------------------------------- |
70
+ | `transitions-3d` | 3D perspective flip and rotate |
71
+ | `transitions-blur` | Blur-based scene transitions |
72
+ | `transitions-cover` | Cover / uncover slide |
73
+ | `transitions-destruction` | Destructive break-apart |
74
+ | `transitions-dissolve` | Dissolve and fade |
75
+ | `transitions-distortion` | Warp and distortion |
76
+ | `transitions-grid` | Grid-based tile |
77
+ | `transitions-light` | Light-based glow and flash |
78
+ | `transitions-mechanical` | Mechanical shutter and iris |
79
+ | `transitions-other` | Misc creative (VHS, gravity, morph) |
80
+ | `transitions-push` | Push and slide |
81
+ | `transitions-radial` | Radial wipe and reveal |
82
+ | `transitions-scale` | Scale and zoom |
83
+
84
+ #### Liquid Glass (7)
85
+
86
+ WebGPU + html-in-canvas frosted-glass surfaces. **Require Brave / Chrome canary** with WebGPU enabled — set `PRODUCER_HEADLESS_SHELL_PATH` to point at the browser; engine auto-passes `--enable-unsafe-webgpu`. See `/hyperframes-animation` → `adapters/typegpu.md`.
87
+
88
+ | Name | Description |
89
+ | ----------------------------- | --------------------------------------------------------------------------------------- |
90
+ | `ios26-liquid-glass` | 3D iPhone (GLTF) + iOS 26 home screen, glass app icons, shader wallpaper, notifications |
91
+ | `macos-tahoe-liquid-glass` | 3D MacBook (GLTF) + macOS Tahoe-style desktop, glass menu bar, Finder, dock |
92
+ | `liquid-glass-widgets` | Frosted stat cards, showcase panel, pill chips over aurora shader |
93
+ | `liquid-glass-notification` | Frosted notification cards floating over aurora shader |
94
+ | `liquid-glass-context-menu` | Frosted context-menu panel drifting over aurora shader |
95
+ | `liquid-glass-media-controls` | Frosted media-control panels spreading over aurora shader |
96
+ | `vfx-liquid-glass` | Bare VFX composition shell for liquid-glass effects |
97
+
98
+ #### VFX (6)
99
+
100
+ HTML-in-canvas + WebGL composition blocks. See `/hyperframes-animation` → `adapters/three.md` and `adapters/html-in-canvas-patterns.md` for the underlying APIs.
101
+
102
+ | Name | Description |
103
+ | ----------------------- | ------------------------------------------------------------------------------------------------------- |
104
+ | `vfx-iphone-device` | GLTF iPhone 15 Pro Max + MacBook Pro with live HTML-in-canvas screens, glass-lens morph, 360° turntable |
105
+ | `vfx-liquid-background` | Organic liquid sim — vertex displacement on subdivided plane, HTML floats above |
106
+ | `vfx-magnetic` | VFX shell (magnetic field-line treatment) |
107
+ | `vfx-portal` | VFX shell (portal reveal) |
108
+ | `vfx-shatter` | VFX shell (shatter into fragments) |
109
+ | `vfx-text-cursor` | Cursor glow + chromatic shadow rays + spectral edges on a black stage |
110
+
111
+ #### Showcases (6)
112
+
113
+ Story-driven showcase compositions — narrated YouTube-style inserts. Most include bundled SFX.
114
+
115
+ | Name | Description |
116
+ | -------------------------- | ----------------------------------------------------------------- |
117
+ | `app-showcase` | Three floating smartphone screens, fitness app product showcase |
118
+ | `apple-money-count` | Counter $0 → $10,000, green flash, money-icon burst, SFX |
119
+ | `blue-sweater-intro-video` | Warm AI-creator intro resolving into an X follow card |
120
+ | `north-korea-locked-down` | Map zoom with red scribble circle, locked-down pop-up label |
121
+ | `nyc-paris-flight` | Map animation, plane NYC → Paris, marker circle, landing pop, SFX |
122
+ | `vpn-youtube-spot` | App-store scroll, VPN install flow, SFX |
123
+
124
+ #### Maps + data viz (8)
125
+
126
+ D3 + GSAP animated geographies and charts.
127
+
128
+ | Name | Description |
129
+ | ---------------------------------- | -------------------------------------------------------------------------------------------------- |
130
+ | `us-map` | US choropleth, staggered state reveals, value labels, gradient legend |
131
+ | `us-map-bubble` | US bubble map — proportional city markers, callouts, connection lines |
132
+ | `us-map-flow` | US flow map — animated origin-destination arcs |
133
+ | `us-map-hex` | US hex-grid map — each state as equal-weight hex with data fill |
134
+ | `spain-map` | Spain choropleth by autonomous community — D3 conic conformal |
135
+ | `world-map` | World choropleth + rotating globe inset, D3 Natural Earth |
136
+ | `data-chart` | Animated bar + line chart, staggered reveal, NYT-style typography |
137
+ | `flowchart` / `flowchart-vertical` | Decision tree, SVG connectors, sticky-note nodes, cursor + typing correction (vertical = portrait) |
138
+
139
+ #### Social overlays (7)
140
+
141
+ Platform-recognizable UI overlays. Stamp on top of a beat or use as a beat closer.
142
+
143
+ | Name | Description |
144
+ | -------------------- | ------------------------------------------------ |
145
+ | `instagram-follow` | Profile card + follow button |
146
+ | `tiktok-follow` | Profile card + follow button |
147
+ | `yt-lower-third` | YouTube subscribe lower third with avatar |
148
+ | `x-post` | X/Twitter post card with engagement metrics |
149
+ | `reddit-post` | Post card with upvotes and comments |
150
+ | `spotify-card` | Now-playing card with album art and progress bar |
151
+ | `macos-notification` | macOS-style banner with app icon and message |
152
+
153
+ #### Branding + 3D UI (2)
154
+
155
+ | Name | Description |
156
+ | -------------- | ------------------------------------------------------------------- |
157
+ | `logo-outro` | Piece-by-piece logo assembly, glow bloom, tagline fade-in, URL pill |
158
+ | `ui-3d-reveal` | Perspective 3D reveal for UI elements |
159
+
160
+ #### Code snippets (24)
161
+
162
+ A code/terminal window that **types a code or shell session per-character**. Theme = visual chrome only; structure, wiring, and install are identical across all 24 — pick one by name, wire it like any block (`data-composition-id` + `data-start` + `data-track-index`, see `wiring-blocks.md`). Two chrome families:
163
+
164
+ **VS Code workbench (12)** — full editor chrome (activity bar, sidebar, tabs, integrated terminal, status bar). Theme variants: `code-snippet-dark-2026`, `code-snippet-dark-modern`, `code-snippet-dark-plus`, `code-snippet-light-2026`, `code-snippet-light-modern`, `code-snippet-light-plus`, `code-snippet-high-contrast`, `code-snippet-high-contrast-light`, `code-snippet-monokai`, `code-snippet-solarized-light`, `code-snippet-visual-studio-dark`, `code-snippet-visual-studio-light`.
165
+
166
+ **Apple Terminal (12)** — macOS Terminal.app window typing a shell session. Profile = window colors:
167
+
168
+ | Name | Look |
169
+ | -------------------------------------------- | ---------------------------------------- |
170
+ | `code-snippet-apple-terminal-basic` | White bg, black text |
171
+ | `code-snippet-apple-terminal-clear-dark` | Semi-transparent dark bg |
172
+ | `code-snippet-apple-terminal-clear-light` | Semi-transparent light bg |
173
+ | `code-snippet-apple-terminal-grass` | Black bg, green text |
174
+ | `code-snippet-apple-terminal-homebrew` | Black bg, bright green text, lime cursor |
175
+ | `code-snippet-apple-terminal-man-page` | Pale yellow bg, black text |
176
+ | `code-snippet-apple-terminal-novel` | Warm parchment bg, dark brown text |
177
+ | `code-snippet-apple-terminal-ocean` | Deep blue bg, white text |
178
+ | `code-snippet-apple-terminal-pro` | Black bg, grey text, lime cursor |
179
+ | `code-snippet-apple-terminal-red-sands` | Deep red bg, sandy text |
180
+ | `code-snippet-apple-terminal-silver-aerogel` | Dark grey bg, white text |
181
+ | `code-snippet-apple-terminal-solid-colors` | Deep purple bg, white text |
182
+
183
+ #### Code Animations (9)
184
+
185
+ The richer, motion-first counterpart to the static `code-snippet-*` window themes above: each is a self-contained 1920×1080 block (~5–8s) with a paused, deterministic GSAP timeline that _animates_ code — typing, diffing, morphing, spotlighting, or GPU hero reveals — rather than typing a fixed snippet inside editor/terminal chrome. **Reuse-first**: `npx hyperframes add <name>`, then customize the baked code/diff content in place; hand-author only when no block covers the motion you need.
186
+
187
+ **DOM / text reveal (6):**
188
+
189
+ | Name | Description |
190
+ | --------------------- | -------------------------------------------------------------------------------------------------------------------------- |
191
+ | `code-typing` | Token-streamed typing reveal, caret tracks the frontier (no CSS animation) — live-coding on screen |
192
+ | `code-diff` | An edit shown as a colored diff: removed lines collapse red, added expand green — before/after at line level |
193
+ | `code-morph` | One snippet transforms into another, tokens glide between positions (Shiki Magic Move) — a refactor / one state to another |
194
+ | `code-highlight` | A highlight band sweeps a target line while surrounding context dims — spotlight one line |
195
+ | `code-scroll` | Camera scrolls a long file to center + spotlight a target line — walk through a real module |
196
+ | `code-snippet-flight` | Discrete snippets fly in from the side and assemble into a stacked program (block-level FLIP) |
197
+
198
+ **GPU / WebGL hero reveals (3):** heavier, for a title-card / hero code moment.
199
+
200
+ | Name | Description |
201
+ | ------------------------ | --------------------------------------------------------------------------------------------------------------- |
202
+ | `code-3d-extrude` | Syntax-highlighted code on a lit beveled 3D slab that rotates through real space and settles (true WebGL depth) |
203
+ | `code-shader-dissolve` | Code resolves out of seeded noise with a chromatic dissolve front + edge glow, then holds crisp |
204
+ | `code-particle-assemble` | Thousands of GPU points fly to the exact glyph pixels and resolve into readable syntax-highlighted code |
205
+
206
+ ### Components
207
+
208
+ | Name | Description | Tags |
209
+ | -------------------- | --------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
210
+ | `grain-overlay` | Animated film grain texture overlay | texture, grain, overlay, film |
211
+ | `shimmer-sweep` | CSS gradient light sweep for AI accents | text, shimmer, highlight, effect |
212
+ | `morph-text` | Gooey text morph cycling an editable word list (SVG threshold + GSAP blur) | text, text-effect, typography, morph, gooey |
213
+ | `grid-pixelate-wipe` | Grid dissolve transition between scenes | transition, wipe, grid, pixelate |
214
+ | `parallax-zoom` | Center card scales up to fill the frame while siblings parallax outward (single `--pz-progress` 0→1) | transition, zoom, parallax, grid, hero |
215
+ | `parallax-unzoom` | Reverse of `parallax-zoom` — focus card shrinks from full frame as siblings parallax in (`--pu-progress`) | transition, reveal, unzoom, parallax, grid, hero |
@@ -0,0 +1,45 @@
1
+ # Install Locations
2
+
3
+ ## Default paths
4
+
5
+ | Item type | Default install path | Configured by |
6
+ | --------- | ------------------------------------- | ----------------------------------- |
7
+ | Block | `compositions/<name>.html` | `hyperframes.json#paths.blocks` |
8
+ | Component | `compositions/components/<name>.html` | `hyperframes.json#paths.components` |
9
+
10
+ ## How path remapping works
11
+
12
+ The `target` field in each item's `registry-item.json` specifies a default install path. The `add` command remaps the prefix based on `hyperframes.json#paths`:
13
+
14
+ - Block targets starting with `compositions/` get remapped to `<paths.blocks>/`
15
+ - Component targets starting with `compositions/components/` get remapped to `<paths.components>/`
16
+
17
+ ## hyperframes.json
18
+
19
+ Created automatically by `hyperframes init`. If it doesn't exist when you run `add`, the CLI creates it with defaults:
20
+
21
+ ```json
22
+ {
23
+ "$schema": "https://hyperframes.heygen.com/schema/hyperframes.json",
24
+ "registry": "https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry",
25
+ "paths": {
26
+ "blocks": "compositions",
27
+ "components": "compositions/components",
28
+ "assets": "assets"
29
+ }
30
+ }
31
+ ```
32
+
33
+ ## Custom layouts
34
+
35
+ To install blocks into a `scenes/` directory instead of `compositions/`:
36
+
37
+ ```json
38
+ {
39
+ "paths": {
40
+ "blocks": "scenes"
41
+ }
42
+ }
43
+ ```
44
+
45
+ Then `hyperframes add data-chart` writes to `scenes/data-chart.html` instead of `compositions/data-chart.html`. The snippet output reflects the remapped path.
@@ -0,0 +1,417 @@
1
+ # Contribute Templates
2
+
3
+ Copy-paste starter templates for each component type. These embed the proven patterns that pass lint and validate.
4
+
5
+ ## Caption Template
6
+
7
+ ```html
8
+ <!doctype html>
9
+ <html lang="en">
10
+ <head>
11
+ <meta charset="utf-8" />
12
+ <link
13
+ href="https://fonts.googleapis.com/css2?family=Montserrat:wght@800;900&display=swap"
14
+ rel="stylesheet"
15
+ />
16
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
17
+ <style>
18
+ *,
19
+ *::before,
20
+ *::after {
21
+ margin: 0;
22
+ padding: 0;
23
+ box-sizing: border-box;
24
+ }
25
+ body {
26
+ background: #111;
27
+ overflow: hidden;
28
+ }
29
+ #root-BLOCKNAME {
30
+ position: relative;
31
+ width: 1920px;
32
+ height: 1080px;
33
+ overflow: hidden;
34
+ background: #111;
35
+ }
36
+ .cap-container {
37
+ position: absolute;
38
+ top: 0;
39
+ left: 0;
40
+ width: 100%;
41
+ height: 100%;
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: center;
45
+ }
46
+ .cg {
47
+ position: absolute;
48
+ display: flex;
49
+ align-items: center;
50
+ justify-content: center;
51
+ gap: 32px;
52
+ max-width: 1700px;
53
+ overflow: visible;
54
+ opacity: 0;
55
+ visibility: hidden;
56
+ }
57
+ .cw {
58
+ font-family: "Montserrat", sans-serif;
59
+ font-weight: 900;
60
+ font-size: 128px;
61
+ color: #ffffff;
62
+ text-transform: uppercase;
63
+ line-height: 1;
64
+ display: inline-block;
65
+ -webkit-text-stroke: 3px rgba(0, 0, 0, 0.8);
66
+ paint-order: stroke fill;
67
+ text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
68
+ }
69
+ </style>
70
+ </head>
71
+ <body>
72
+ <div
73
+ id="root-BLOCKNAME"
74
+ data-composition-id="BLOCKNAME"
75
+ data-start="0"
76
+ data-duration="9"
77
+ data-width="1920"
78
+ data-height="1080"
79
+ >
80
+ <div class="cap-container" id="cc-BLOCKNAME"></div>
81
+ <div
82
+ id="drv-BLOCKNAME"
83
+ class="clip"
84
+ data-start="0"
85
+ data-duration="9"
86
+ data-track-index="0"
87
+ style="position:absolute;width:1px;height:1px;opacity:0;pointer-events:none"
88
+ ></div>
89
+ </div>
90
+ <script>
91
+ (function () {
92
+ window.__timelines = window.__timelines || {};
93
+
94
+ // REPLACE with actual transcript data
95
+ var WORDS = [
96
+ { text: "Welcome", start: 0.3, end: 0.65 },
97
+ { text: "to", start: 0.65, end: 0.8 },
98
+ { text: "the", start: 0.8, end: 0.95 },
99
+ { text: "future", start: 0.95, end: 1.4 },
100
+ // ... add all words
101
+ ];
102
+
103
+ var GROUPS = [
104
+ { start: 0.3, end: 1.3, wordStart: 0, wordEnd: 3, text: "Welcome to the future" },
105
+ // ... add all groups
106
+ ];
107
+
108
+ var container = document.getElementById("cc-BLOCKNAME");
109
+
110
+ GROUPS.forEach(function (g, gi) {
111
+ var groupEl = document.createElement("div");
112
+ groupEl.id = "PREFIX-cg-" + gi;
113
+ groupEl.className = "cg";
114
+
115
+ for (var wi = g.wordStart; wi <= g.wordEnd; wi++) {
116
+ var wordEl = document.createElement("span");
117
+ wordEl.id = "PREFIX-cw-" + wi;
118
+ wordEl.className = "cw";
119
+ wordEl.textContent = WORDS[wi].text;
120
+ groupEl.appendChild(wordEl);
121
+ }
122
+
123
+ // Pretext overflow prevention
124
+ if (window.__hyperframes && window.__hyperframes.fitTextFontSize) {
125
+ var _fit = window.__hyperframes.fitTextFontSize(g.text.toUpperCase(), {
126
+ fontFamily: "Montserrat",
127
+ fontWeight: 900,
128
+ maxWidth: 1550,
129
+ baseFontSize: 128,
130
+ minFontSize: 48,
131
+ });
132
+ if (_fit.fontSize < 128) {
133
+ for (var _fi = 0; _fi < groupEl.children.length; _fi++) {
134
+ groupEl.children[_fi].style.fontSize = _fit.fontSize + "px";
135
+ }
136
+ }
137
+ }
138
+ container.appendChild(groupEl);
139
+ });
140
+
141
+ var tl = gsap.timeline({ paused: true });
142
+
143
+ GROUPS.forEach(function (g, gi) {
144
+ var groupEl = document.getElementById("PREFIX-cg-" + gi);
145
+
146
+ // SHOW — set opacity to 1 (never use tl.from with opacity:0 here)
147
+ tl.set(groupEl, { opacity: 1, visibility: "visible" }, g.start);
148
+
149
+ // ENTRANCE — customize this per style
150
+ tl.from(groupEl, { scale: 1.3, duration: 0.15, ease: "back.out(2)" }, g.start);
151
+
152
+ // KARAOKE — highlight each word
153
+ for (var wi = g.wordStart; wi <= g.wordEnd; wi++) {
154
+ var wordEl = document.getElementById("PREFIX-cw-" + wi);
155
+ tl.to(wordEl, { color: "#FFD700", scale: 1.1, duration: 0.06 }, WORDS[wi].start);
156
+ tl.to(wordEl, { color: "#FFFFFF", scale: 1, duration: 0.08 }, WORDS[wi].end);
157
+ }
158
+
159
+ // EXIT
160
+ tl.to(groupEl, { opacity: 0, scale: 0.9, duration: 0.1 }, g.end - 0.1);
161
+
162
+ // HARD KILL (mandatory)
163
+ tl.set(groupEl, { opacity: 0, visibility: "hidden" }, g.end);
164
+ });
165
+
166
+ window.__timelines["BLOCKNAME"] = tl;
167
+ })();
168
+ </script>
169
+ </body>
170
+ </html>
171
+ ```
172
+
173
+ **Replace checklist:**
174
+
175
+ - `BLOCKNAME` → your block name (e.g., `cap-swoosh`)
176
+ - `PREFIX` → short unique prefix for IDs (e.g., `sw`)
177
+ - Font family, weight, size → your style's typography
178
+ - Entrance animation → your style's entrance
179
+ - Karaoke highlight → your style's active word treatment
180
+ - Colors → your style's palette
181
+
182
+ ---
183
+
184
+ ## VFX Template
185
+
186
+ ```html
187
+ <!doctype html>
188
+ <html lang="en">
189
+ <head>
190
+ <meta charset="utf-8" />
191
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
192
+ <script src="https://cdn.jsdelivr.net/npm/three@0.147.0/build/three.min.js"></script>
193
+ <style>
194
+ *,
195
+ *::before,
196
+ *::after {
197
+ margin: 0;
198
+ padding: 0;
199
+ box-sizing: border-box;
200
+ }
201
+ body {
202
+ background: #030308;
203
+ overflow: hidden;
204
+ }
205
+ #root-BLOCKNAME {
206
+ position: relative;
207
+ width: 1920px;
208
+ height: 1080px;
209
+ overflow: hidden;
210
+ background: #030308;
211
+ }
212
+ #canvas-BLOCKNAME {
213
+ position: absolute;
214
+ top: 0;
215
+ left: 0;
216
+ width: 1920px;
217
+ height: 1080px;
218
+ }
219
+ </style>
220
+ </head>
221
+ <body>
222
+ <div
223
+ id="root-BLOCKNAME"
224
+ data-composition-id="BLOCKNAME"
225
+ data-start="0"
226
+ data-duration="10"
227
+ data-width="1920"
228
+ data-height="1080"
229
+ >
230
+ <canvas id="canvas-BLOCKNAME" width="1920" height="1080"></canvas>
231
+ <div
232
+ id="drv-BLOCKNAME"
233
+ class="clip"
234
+ data-start="0"
235
+ data-duration="10"
236
+ data-track-index="0"
237
+ style="position:absolute;width:1px;height:1px;opacity:0;pointer-events:none"
238
+ ></div>
239
+ </div>
240
+ <script>
241
+ (function () {
242
+ window.__timelines = window.__timelines || {};
243
+
244
+ // Seeded PRNG — NEVER use Math.random()
245
+ function mulberry32(a) {
246
+ return function () {
247
+ a |= 0;
248
+ a = (a + 0x6d2b79f5) | 0;
249
+ var t = Math.imul(a ^ (a >>> 15), 1 | a);
250
+ t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
251
+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
252
+ };
253
+ }
254
+ var rng = mulberry32(42);
255
+
256
+ var W = 1920,
257
+ H = 1080;
258
+ var canvas = document.getElementById("canvas-BLOCKNAME");
259
+ var renderer = new THREE.WebGLRenderer({ canvas: canvas, antialias: true });
260
+ renderer.setSize(W, H);
261
+ renderer.setPixelRatio(1);
262
+ renderer.toneMapping = THREE.ACESFilmicToneMapping;
263
+ renderer.toneMappingExposure = 1.1;
264
+
265
+ var scene = new THREE.Scene();
266
+ scene.background = new THREE.Color(0x030308);
267
+ var camera = new THREE.PerspectiveCamera(50, W / H, 0.1, 100);
268
+ camera.position.set(0, 0, 8);
269
+
270
+ // YOUR SCENE SETUP HERE
271
+ // - lights
272
+ // - geometry
273
+ // - materials
274
+
275
+ // State proxy — GSAP animates this, render reads it
276
+ var st = {
277
+ rotY: 0,
278
+ camZ: 8,
279
+ // add your animated properties
280
+ };
281
+
282
+ var tl = gsap.timeline({ paused: true });
283
+
284
+ // YOUR TWEENS HERE
285
+ tl.to(st, { rotY: Math.PI * 2, duration: 10, ease: "none" }, 0);
286
+
287
+ window.__timelines["BLOCKNAME"] = tl;
288
+
289
+ function renderScene() {
290
+ // Apply state to Three.js objects
291
+ camera.position.z = st.camZ;
292
+ // mesh.rotation.y = st.rotY;
293
+
294
+ renderer.render(scene, camera);
295
+ }
296
+
297
+ // Render via onUpdate — NO requestAnimationFrame
298
+ tl.eventCallback("onUpdate", renderScene);
299
+ renderScene();
300
+ })();
301
+ </script>
302
+ </body>
303
+ </html>
304
+ ```
305
+
306
+ **Replace checklist:**
307
+
308
+ - `BLOCKNAME` → your block name (e.g., `vfx-chrome-blob`)
309
+ - Scene setup → your geometry, lights, materials
310
+ - State proxy → your animated properties
311
+ - Tweens → your animation timeline
312
+ - renderScene → apply state to your Three.js objects
313
+
314
+ ---
315
+
316
+ ## registry-item.json Templates
317
+
318
+ **For blocks:**
319
+
320
+ ```json
321
+ {
322
+ "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
323
+ "name": "BLOCKNAME",
324
+ "type": "hyperframes:block",
325
+ "title": "Human-Readable Title",
326
+ "description": "One sentence: what it does and who uses it",
327
+ "dimensions": { "width": 1920, "height": 1080 },
328
+ "duration": 10,
329
+ "tags": ["category", "subcategory"],
330
+ "files": [
331
+ {
332
+ "path": "BLOCKNAME.html",
333
+ "target": "compositions/BLOCKNAME.html",
334
+ "type": "hyperframes:composition"
335
+ }
336
+ ]
337
+ }
338
+ ```
339
+
340
+ **For components** (no `dimensions` or `duration`):
341
+
342
+ ```json
343
+ {
344
+ "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
345
+ "name": "COMPONENTNAME",
346
+ "type": "hyperframes:component",
347
+ "title": "Human-Readable Title",
348
+ "description": "One sentence: what it does",
349
+ "tags": ["category"],
350
+ "files": [
351
+ {
352
+ "path": "COMPONENTNAME.html",
353
+ "target": "compositions/components/COMPONENTNAME.html",
354
+ "type": "hyperframes:snippet"
355
+ }
356
+ ]
357
+ }
358
+ ```
359
+
360
+ Tags by category:
361
+
362
+ - Captions: `captions`, `viral`, `professional`, `karaoke`, `minimal`
363
+ - VFX: `three-js`, `particles`, `shader`, `gpu`
364
+ - Transitions: `transition`, `shader`, `wipe`, `dissolve`
365
+ - Blocks: `lower-third`, `social`, `title-card`, `data-viz`
366
+ - Components: `effect`, `overlay`, `text-treatment`
367
+
368
+ ---
369
+
370
+ ## Component Template
371
+
372
+ ```html
373
+ <!doctype html>
374
+ <html lang="en">
375
+ <head>
376
+ <meta charset="utf-8" />
377
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
378
+ <style>
379
+ *,
380
+ *::before,
381
+ *::after {
382
+ margin: 0;
383
+ padding: 0;
384
+ box-sizing: border-box;
385
+ }
386
+ body {
387
+ background: transparent;
388
+ overflow: hidden;
389
+ }
390
+ .COMPNAME-wrap {
391
+ position: absolute;
392
+ inset: 0;
393
+ overflow: hidden;
394
+ pointer-events: none;
395
+ }
396
+ </style>
397
+ </head>
398
+ <body>
399
+ <div class="COMPNAME-wrap">
400
+ <!-- Your reusable effect/overlay here -->
401
+ </div>
402
+ <script>
403
+ (function () {
404
+ // Component snippet — no data-composition-id, no __timelines.
405
+ // The parent composition controls timing.
406
+ // Keep all class names and IDs prefixed with COMPNAME.
407
+ })();
408
+ </script>
409
+ </body>
410
+ </html>
411
+ ```
412
+
413
+ **Replace checklist:**
414
+
415
+ - `COMPNAME` → your component name (e.g., `shimmer-sweep`)
416
+ - Background should be `transparent` so it overlays cleanly
417
+ - No `data-composition-id` or `window.__timelines` — the parent owns timing