zilmate 1.9.3 → 1.10.1

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 (306) 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 +632 -0
  166. package/dist/agents/coding.agent.d.ts.map +1 -1
  167. package/dist/agents/coding.agent.js +11 -3
  168. package/dist/agents/coding.agent.js.map +1 -1
  169. package/dist/agents/developer-helper.agent.d.ts +704 -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/manager.d.ts +1009 -4
  174. package/dist/agents/manager.d.ts.map +1 -1
  175. package/dist/agents/manager.js +16 -5
  176. package/dist/agents/manager.js.map +1 -1
  177. package/dist/agents/security.agent.d.ts +157 -3
  178. package/dist/agents/security.agent.d.ts.map +1 -1
  179. package/dist/agents/security.agent.js +3 -0
  180. package/dist/agents/security.agent.js.map +1 -1
  181. package/dist/agents/swarm/main.js +1 -1
  182. package/dist/agents/swarm/main.js.map +1 -1
  183. package/dist/agents/swarm/registry.d.ts.map +1 -1
  184. package/dist/agents/swarm/registry.js +232 -26
  185. package/dist/agents/swarm/registry.js.map +1 -1
  186. package/dist/cli/chat.d.ts +1 -1
  187. package/dist/cli/chat.d.ts.map +1 -1
  188. package/dist/cli/chat.js +32 -10
  189. package/dist/cli/chat.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/format.d.ts +1 -0
  195. package/dist/cli/format.d.ts.map +1 -1
  196. package/dist/cli/format.js +68 -14
  197. package/dist/cli/format.js.map +1 -1
  198. package/dist/cli/menu.d.ts.map +1 -1
  199. package/dist/cli/menu.js +102 -0
  200. package/dist/cli/menu.js.map +1 -1
  201. package/dist/cli/setup.d.ts +10 -0
  202. package/dist/cli/setup.d.ts.map +1 -1
  203. package/dist/cli/setup.js +187 -3
  204. package/dist/cli/setup.js.map +1 -1
  205. package/dist/cli/update.d.ts +2 -0
  206. package/dist/cli/update.d.ts.map +1 -1
  207. package/dist/cli/update.js +89 -1
  208. package/dist/cli/update.js.map +1 -1
  209. package/dist/config/env.d.ts +12 -0
  210. package/dist/config/env.d.ts.map +1 -1
  211. package/dist/config/env.js +19 -5
  212. package/dist/config/env.js.map +1 -1
  213. package/dist/index.d.ts +1 -1
  214. package/dist/index.d.ts.map +1 -1
  215. package/dist/index.js +61 -5
  216. package/dist/index.js.map +1 -1
  217. package/dist/jobs/trigger-orchestrator.d.ts +5 -1
  218. package/dist/jobs/trigger-orchestrator.d.ts.map +1 -1
  219. package/dist/jobs/trigger-orchestrator.js +29 -9
  220. package/dist/jobs/trigger-orchestrator.js.map +1 -1
  221. package/dist/jobs/trigger-router.d.ts.map +1 -1
  222. package/dist/jobs/trigger-router.js +3 -2
  223. package/dist/jobs/trigger-router.js.map +1 -1
  224. package/dist/memory/corporate-wiki.d.ts +15 -0
  225. package/dist/memory/corporate-wiki.d.ts.map +1 -0
  226. package/dist/memory/corporate-wiki.js +152 -0
  227. package/dist/memory/corporate-wiki.js.map +1 -0
  228. package/dist/observability/doctor.d.ts.map +1 -1
  229. package/dist/observability/doctor.js +12 -4
  230. package/dist/observability/doctor.js.map +1 -1
  231. package/dist/pre-init.d.ts +2 -0
  232. package/dist/pre-init.d.ts.map +1 -0
  233. package/dist/pre-init.js +3 -0
  234. package/dist/pre-init.js.map +1 -0
  235. package/dist/runtime/chat-bridge.d.ts.map +1 -1
  236. package/dist/runtime/chat-bridge.js +33 -2
  237. package/dist/runtime/chat-bridge.js.map +1 -1
  238. package/dist/runtime/swarm.d.ts +0 -1
  239. package/dist/runtime/swarm.d.ts.map +1 -1
  240. package/dist/runtime/swarm.js +26 -15
  241. package/dist/runtime/swarm.js.map +1 -1
  242. package/dist/safety/approvals.d.ts +2 -2
  243. package/dist/safety/approvals.d.ts.map +1 -1
  244. package/dist/safety/approvals.js +47 -1
  245. package/dist/safety/approvals.js.map +1 -1
  246. package/dist/safety/redaction.d.ts.map +1 -1
  247. package/dist/safety/redaction.js +10 -0
  248. package/dist/safety/redaction.js.map +1 -1
  249. package/dist/server.d.ts +1 -0
  250. package/dist/server.d.ts.map +1 -1
  251. package/dist/server.js +1 -0
  252. package/dist/server.js.map +1 -1
  253. package/dist/tools/cloud.tool.d.ts +394 -0
  254. package/dist/tools/cloud.tool.d.ts.map +1 -0
  255. package/dist/tools/cloud.tool.js +784 -0
  256. package/dist/tools/cloud.tool.js.map +1 -0
  257. package/dist/tools/computer-use.tool.d.ts +6 -6
  258. package/dist/tools/corporate-wiki.tool.d.ts +22 -0
  259. package/dist/tools/corporate-wiki.tool.d.ts.map +1 -0
  260. package/dist/tools/corporate-wiki.tool.js +39 -0
  261. package/dist/tools/corporate-wiki.tool.js.map +1 -0
  262. package/dist/tools/desktop.tool.d.ts +96 -0
  263. package/dist/tools/desktop.tool.d.ts.map +1 -1
  264. package/dist/tools/desktop.tool.js +439 -0
  265. package/dist/tools/desktop.tool.js.map +1 -1
  266. package/dist/tools/devops.tool.d.ts +162 -0
  267. package/dist/tools/devops.tool.d.ts.map +1 -0
  268. package/dist/tools/devops.tool.js +377 -0
  269. package/dist/tools/devops.tool.js.map +1 -0
  270. package/dist/tools/multimedia.tool.d.ts +126 -0
  271. package/dist/tools/multimedia.tool.d.ts.map +1 -0
  272. package/dist/tools/multimedia.tool.js +533 -0
  273. package/dist/tools/multimedia.tool.js.map +1 -0
  274. package/dist/tools/osint.tool.d.ts +6 -6
  275. package/dist/tools/sandbox-dev.tool.d.ts +15 -0
  276. package/dist/tools/sandbox-dev.tool.d.ts.map +1 -0
  277. package/dist/tools/sandbox-dev.tool.js +139 -0
  278. package/dist/tools/sandbox-dev.tool.js.map +1 -0
  279. package/dist/tools/setup-assistant.tool.d.ts +1 -1
  280. package/dist/tools/shell.tool.d.ts +82 -0
  281. package/dist/tools/shell.tool.d.ts.map +1 -1
  282. package/dist/tools/shell.tool.js +192 -1
  283. package/dist/tools/shell.tool.js.map +1 -1
  284. package/dist/tools/swarm-ops.tool.d.ts +14 -0
  285. package/dist/tools/swarm-ops.tool.d.ts.map +1 -1
  286. package/dist/tools/swarm-ops.tool.js +44 -0
  287. package/dist/tools/swarm-ops.tool.js.map +1 -1
  288. package/dist/tools/sysops.tool.d.ts +157 -0
  289. package/dist/tools/sysops.tool.d.ts.map +1 -0
  290. package/dist/tools/sysops.tool.js +643 -0
  291. package/dist/tools/sysops.tool.js.map +1 -0
  292. package/dist/voice/cascade.d.ts +1 -0
  293. package/dist/voice/cascade.d.ts.map +1 -1
  294. package/dist/voice/cascade.js +16 -1
  295. package/dist/voice/cascade.js.map +1 -1
  296. package/dist/voice/deepgram.d.ts.map +1 -1
  297. package/dist/voice/deepgram.js +34 -2
  298. package/dist/voice/deepgram.js.map +1 -1
  299. package/dist/voice/terminal.d.ts +1 -0
  300. package/dist/voice/terminal.d.ts.map +1 -1
  301. package/dist/voice/terminal.js +28 -0
  302. package/dist/voice/terminal.js.map +1 -1
  303. package/dist/voice/types.d.ts +2 -0
  304. package/dist/voice/types.d.ts.map +1 -1
  305. package/package.json +9 -1
  306. package/scripts/release-github.mjs +23 -18
@@ -0,0 +1,394 @@
1
+ # Plain English Alternatives
2
+
3
+ Replace complex or pompous words with plain English alternatives.
4
+
5
+ Source: Plain English Campaign A-Z of Alternative Words (2001), Australian Government Style Manual (2024), plainlanguage.gov
6
+
7
+ ---
8
+
9
+ ## Contents
10
+ - A
11
+ - B
12
+ - C
13
+ - D
14
+ - E
15
+ - F
16
+ - G-H
17
+ - I
18
+ - L-M
19
+ - N-O
20
+ - P
21
+ - R
22
+ - S
23
+ - T-U
24
+ - V-Z
25
+ - Phrases to Remove Entirely
26
+
27
+ ## A
28
+
29
+ | Complex | Plain Alternative |
30
+ |---------|-------------------|
31
+ | (an) absence of | no, none |
32
+ | abundance | enough, plenty, many |
33
+ | accede to | allow, agree to |
34
+ | accelerate | speed up |
35
+ | accommodate | meet, hold, house |
36
+ | accomplish | do, finish, complete |
37
+ | accordingly | so, therefore |
38
+ | acknowledge | thank you for, confirm |
39
+ | acquire | get, buy, obtain |
40
+ | additional | extra, more |
41
+ | adjacent | next to |
42
+ | advantageous | useful, helpful |
43
+ | advise | tell, say, inform |
44
+ | aforesaid | this, earlier |
45
+ | aggregate | total |
46
+ | alleviate | ease, reduce |
47
+ | allocate | give, share, assign |
48
+ | alternative | other, choice |
49
+ | ameliorate | improve |
50
+ | anticipate | expect |
51
+ | apparent | clear, obvious |
52
+ | appreciable | large, noticeable |
53
+ | appropriate | proper, right, suitable |
54
+ | approximately | about, roughly |
55
+ | ascertain | find out |
56
+ | assistance | help |
57
+ | at the present time | now |
58
+ | attempt | try |
59
+ | authorise | allow, let |
60
+
61
+ ---
62
+
63
+ ## B
64
+
65
+ | Complex | Plain Alternative |
66
+ |---------|-------------------|
67
+ | belated | late |
68
+ | beneficial | helpful, useful |
69
+ | bestow | give |
70
+ | by means of | by |
71
+
72
+ ---
73
+
74
+ ## C
75
+
76
+ | Complex | Plain Alternative |
77
+ |---------|-------------------|
78
+ | calculate | work out |
79
+ | cease | stop, end |
80
+ | circumvent | avoid, get around |
81
+ | clarification | explanation |
82
+ | commence | start, begin |
83
+ | communicate | tell, talk, write |
84
+ | competent | able |
85
+ | compile | collect, make |
86
+ | complete | fill in, finish |
87
+ | component | part |
88
+ | comprise | include, make up |
89
+ | (it is) compulsory | (you) must |
90
+ | conceal | hide |
91
+ | concerning | about |
92
+ | consequently | so |
93
+ | considerable | large, great, much |
94
+ | constitute | make up, form |
95
+ | consult | ask, talk to |
96
+ | consumption | use |
97
+ | currently | now |
98
+
99
+ ---
100
+
101
+ ## D
102
+
103
+ | Complex | Plain Alternative |
104
+ |---------|-------------------|
105
+ | deduct | take off |
106
+ | deem | treat as, consider |
107
+ | defer | delay, put off |
108
+ | deficiency | lack |
109
+ | delete | remove, cross out |
110
+ | demonstrate | show, prove |
111
+ | denote | show, mean |
112
+ | designate | name, appoint |
113
+ | despatch/dispatch | send |
114
+ | determine | decide, find out |
115
+ | detrimental | harmful |
116
+ | diminish | reduce, lessen |
117
+ | discontinue | stop |
118
+ | disseminate | spread, distribute |
119
+ | documentation | papers, documents |
120
+ | due to the fact that | because |
121
+ | duration | time, length |
122
+ | dwelling | home |
123
+
124
+ ---
125
+
126
+ ## E
127
+
128
+ | Complex | Plain Alternative |
129
+ |---------|-------------------|
130
+ | economical | cheap, good value |
131
+ | eligible | allowed, qualified |
132
+ | elucidate | explain |
133
+ | enable | allow |
134
+ | encounter | meet |
135
+ | endeavour | try |
136
+ | enquire | ask |
137
+ | ensure | make sure |
138
+ | entitlement | right |
139
+ | envisage | expect |
140
+ | equivalent | equal, the same |
141
+ | erroneous | wrong |
142
+ | establish | set up, show |
143
+ | evaluate | assess, test |
144
+ | excessive | too much |
145
+ | exclusively | only |
146
+ | exempt | free from |
147
+ | expedite | speed up |
148
+ | expenditure | spending |
149
+ | expire | run out |
150
+
151
+ ---
152
+
153
+ ## F
154
+
155
+ | Complex | Plain Alternative |
156
+ |---------|-------------------|
157
+ | fabricate | make |
158
+ | facilitate | help, make possible |
159
+ | finalise | finish, complete |
160
+ | following | after |
161
+ | for the purpose of | to, for |
162
+ | for the reason that | because |
163
+ | forthwith | now, at once |
164
+ | forward | send |
165
+ | frequently | often |
166
+ | furnish | give, provide |
167
+ | furthermore | also, and |
168
+
169
+ ---
170
+
171
+ ## G-H
172
+
173
+ | Complex | Plain Alternative |
174
+ |---------|-------------------|
175
+ | generate | produce, create |
176
+ | henceforth | from now on |
177
+ | hitherto | until now |
178
+
179
+ ---
180
+
181
+ ## I
182
+
183
+ | Complex | Plain Alternative |
184
+ |---------|-------------------|
185
+ | if and when | if, when |
186
+ | illustrate | show |
187
+ | immediately | at once, now |
188
+ | implement | carry out, do |
189
+ | imply | suggest |
190
+ | in accordance with | under, following |
191
+ | in addition to | and, also |
192
+ | in conjunction with | with |
193
+ | in excess of | more than |
194
+ | in lieu of | instead of |
195
+ | in order to | to |
196
+ | in receipt of | receive |
197
+ | in relation to | about |
198
+ | in respect of | about, for |
199
+ | in the event of | if |
200
+ | in the majority of instances | most, usually |
201
+ | in the near future | soon |
202
+ | in view of the fact that | because |
203
+ | inception | start |
204
+ | indicate | show, suggest |
205
+ | inform | tell |
206
+ | initiate | start, begin |
207
+ | insert | put in |
208
+ | instances | cases |
209
+ | irrespective of | despite |
210
+ | issue | give, send |
211
+
212
+ ---
213
+
214
+ ## L-M
215
+
216
+ | Complex | Plain Alternative |
217
+ |---------|-------------------|
218
+ | (a) large number of | many |
219
+ | liaise with | work with, talk to |
220
+ | locality | place, area |
221
+ | locate | find |
222
+ | magnitude | size |
223
+ | (it is) mandatory | (you) must |
224
+ | manner | way |
225
+ | modification | change |
226
+ | moreover | also, and |
227
+
228
+ ---
229
+
230
+ ## N-O
231
+
232
+ | Complex | Plain Alternative |
233
+ |---------|-------------------|
234
+ | negligible | small |
235
+ | nevertheless | but, however |
236
+ | notify | tell |
237
+ | notwithstanding | despite, even if |
238
+ | numerous | many |
239
+ | objective | aim, goal |
240
+ | (it is) obligatory | (you) must |
241
+ | obtain | get |
242
+ | occasioned by | caused by |
243
+ | on behalf of | for |
244
+ | on numerous occasions | often |
245
+ | on receipt of | when you get |
246
+ | on the grounds that | because |
247
+ | operate | work, run |
248
+ | optimum | best |
249
+ | option | choice |
250
+ | otherwise | or |
251
+ | outstanding | unpaid |
252
+ | owing to | because |
253
+
254
+ ---
255
+
256
+ ## P
257
+
258
+ | Complex | Plain Alternative |
259
+ |---------|-------------------|
260
+ | partially | partly |
261
+ | participate | take part |
262
+ | particulars | details |
263
+ | per annum | a year |
264
+ | perform | do |
265
+ | permit | let, allow |
266
+ | personnel | staff, people |
267
+ | peruse | read |
268
+ | possess | have, own |
269
+ | practically | almost |
270
+ | predominant | main |
271
+ | prescribe | set |
272
+ | preserve | keep |
273
+ | previous | earlier, before |
274
+ | principal | main |
275
+ | prior to | before |
276
+ | proceed | go ahead |
277
+ | procure | get |
278
+ | prohibit | ban, stop |
279
+ | promptly | quickly |
280
+ | provide | give |
281
+ | provided that | if |
282
+ | provisions | rules, terms |
283
+ | proximity | nearness |
284
+ | purchase | buy |
285
+ | pursuant to | under |
286
+
287
+ ---
288
+
289
+ ## R
290
+
291
+ | Complex | Plain Alternative |
292
+ |---------|-------------------|
293
+ | reconsider | think again |
294
+ | reduction | cut |
295
+ | referred to as | called |
296
+ | regarding | about |
297
+ | reimburse | repay |
298
+ | reiterate | repeat |
299
+ | relating to | about |
300
+ | remain | stay |
301
+ | remainder | rest |
302
+ | remuneration | pay |
303
+ | render | make, give |
304
+ | represent | stand for |
305
+ | request | ask |
306
+ | require | need |
307
+ | residence | home |
308
+ | retain | keep |
309
+ | revised | changed, new |
310
+
311
+ ---
312
+
313
+ ## S
314
+
315
+ | Complex | Plain Alternative |
316
+ |---------|-------------------|
317
+ | scrutinise | examine, check |
318
+ | select | choose |
319
+ | solely | only |
320
+ | specified | given, stated |
321
+ | state | say |
322
+ | statutory | legal, by law |
323
+ | subject to | depending on |
324
+ | submit | send, give |
325
+ | subsequent to | after |
326
+ | subsequently | later |
327
+ | substantial | large, much |
328
+ | sufficient | enough |
329
+ | supplement | add to |
330
+ | supplementary | extra |
331
+
332
+ ---
333
+
334
+ ## T-U
335
+
336
+ | Complex | Plain Alternative |
337
+ |---------|-------------------|
338
+ | terminate | end, stop |
339
+ | thereafter | then |
340
+ | thereby | by this |
341
+ | thus | so |
342
+ | to date | so far |
343
+ | transfer | move |
344
+ | transmit | send |
345
+ | ultimately | in the end |
346
+ | undertake | agree, do |
347
+ | uniform | same |
348
+ | utilise | use |
349
+
350
+ ---
351
+
352
+ ## V-Z
353
+
354
+ | Complex | Plain Alternative |
355
+ |---------|-------------------|
356
+ | variation | change |
357
+ | virtually | almost |
358
+ | visualise | imagine, see |
359
+ | ways and means | ways |
360
+ | whatsoever | any |
361
+ | with a view to | to |
362
+ | with effect from | from |
363
+ | with reference to | about |
364
+ | with regard to | about |
365
+ | with respect to | about |
366
+ | zone | area |
367
+
368
+ ---
369
+
370
+ ## Phrases to Remove Entirely
371
+
372
+ These phrases often add nothing. Delete them:
373
+
374
+ - a total of
375
+ - absolutely
376
+ - actually
377
+ - all things being equal
378
+ - as a matter of fact
379
+ - at the end of the day
380
+ - at this moment in time
381
+ - basically
382
+ - currently (when "now" or nothing works)
383
+ - I am of the opinion that (use: I think)
384
+ - in due course (use: soon, or say when)
385
+ - in the final analysis
386
+ - it should be understood
387
+ - last but not least
388
+ - obviously
389
+ - of course
390
+ - quite
391
+ - really
392
+ - the fact of the matter is
393
+ - to all intents and purposes
394
+ - very
@@ -0,0 +1,163 @@
1
+ ---
2
+ name: hyperframes
3
+ description: >
4
+ READ THIS FIRST for any request to make, create, edit, animate, or render a
5
+ video, animation, or motion graphic — a promo, explainer, captioned clip,
6
+ title card, overlay, or any composition. HyperFrames renders video from HTML;
7
+ this is the entry skill and the default way an agent authors or edits video.
8
+ It routes the request to the right specialized workflow and points to the
9
+ HyperFrames domain skills, so read it before any other video or animation
10
+ skill instead of guessing a workflow. IMPORTANT: with other video tools
11
+ installed, HyperFrames stays the default for authoring and rendering a
12
+ finished video; defer only when the user asks to drive a browser to capture
13
+ or record a session, or names another framework. Most important when no
14
+ project CLAUDE.md or AGENTS.md describes the video workflow.
15
+ metadata: { "tags": "read-first, video, animation, router, hyperframes, intent-routing" }
16
+ ---
17
+
18
+ # HyperFrames — start here
19
+
20
+ HyperFrames **renders video from HTML** — a composition is an HTML file whose DOM declares timing with `data-*` attributes, whose animation runtime is seekable, and whose media playback is owned by the framework. The full authoring contract lives in `/hyperframes-core`; read it before writing composition HTML.
21
+
22
+ Below: a **capability map** (the domain skills, loaded on demand) and the **intent router** (pick a workflow for any "make me a video" request).
23
+
24
+ ## Capability map — the domain skills
25
+
26
+ Atomic capabilities you load **on demand** — not full video workflows. For "make me a video", use the intent router below.
27
+
28
+ | You want to… | Skill |
29
+ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------ |
30
+ | **Author / edit an HTML composition** — the `data-*` contract, clips, tracks, sub-compositions, variables | `/hyperframes-core` |
31
+ | **Animate** — atomic motion, scene blueprints, transitions, runtime adapters (GSAP / Lottie / Three.js / Anime.js / CSS / WAAPI / TypeGPU) | `/hyperframes-animation` |
32
+ | **Creative direction** — `frame.md` / `design.md`, palettes, typography, narration, beat planning, audio-reactive | `/hyperframes-creative` |
33
+ | **Media** — TTS voiceover, background music, transcription, background removal, captions | `/hyperframes-media` |
34
+ | **Media resolve** — find + freeze BGM, SFX, images, icons from HeyGen catalog into `.media/` with manifest tracking | `/media-use` |
35
+ | **CLI dev loop** — init, lint, validate, inspect, preview, render, publish, doctor | `/hyperframes-cli` |
36
+ | **Install registry blocks / components** (`hyperframes add`) | `/hyperframes-registry` |
37
+
38
+ ---
39
+
40
+ # Intent routing — pick a workflow
41
+
42
+ This section knows only the top-level workflows; it does not load their internal references or the domain skills above.
43
+
44
+ ## Before routing — confirm the input, not the spec
45
+
46
+ Routing needs to know **what the video is about** — its input and subject. If that's unspecified ("make a video about our thing" with no URL, product, topic, or asset), ask before entering any workflow — committing to a workflow IS the routing decision. At most two questions:
47
+
48
+ - **Input** — a product (URL / brief), a general website, a GitHub PR, a topic to explain, or an existing talking-head video?
49
+
50
+ **Spec defaults — state, don't ask** (they never change the route): aspect **16:9** (use **9:16** only for a named vertical destination — TikTok / Reels / Shorts); narration / caption **language** = the user's. The chosen workflow re-confirms its own specifics at its first step.
51
+
52
+ ## Workflow cheat-sheet
53
+
54
+ | Workflow | Use it for |
55
+ | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
56
+ | `/product-launch-video` | Marketing / launching / promoting a **product** — from its URL, a brief, or a script (even if the site is only named) |
57
+ | `/website-to-video` | Turning a **general website** into a video — site tour, portfolio / landing-page showcase, social clip from the site's visuals |
58
+ | `/faceless-explainer` | **Explaining a topic / concept** from text — no product, no URL; every visual is LLM-invented |
59
+ | `/pr-to-video` | A **GitHub PR / code change** → changelog / feature-reveal / fix / refactor explainer |
60
+ | `/embedded-captions` | Adding **captions / subtitles** to an existing talking-head video (footage untouched) |
61
+ | `/talking-head-recut` | Packaging an existing talking-head video with **designed graphic overlays** — lower-thirds, data callouts, kinetic titles, pull-quotes |
62
+ | `/motion-graphics` | A short, **unnarrated, design-led motion graphic** — kinetic type, a stat / chart hit, a logo sting, a lower-third overlay |
63
+ | `/music-to-video` | A **music track** → a **beat-synced** video — lyric video, slideshow, or kinetic promo; the music drives pacing (optional user images / videos cut onto the beat grid) |
64
+ | `/slideshow` | A **presentation / pitch deck / interactive deck** — discrete slides, fragments, branching, hotspots; output is a navigable **deck**, not a rendered video |
65
+ | `/general-video` | **Anything else** — longer or multi-scene pieces, a static loop / poster, a custom composition |
66
+ | `/remotion-to-hyperframes` | **Porting an existing Remotion (React) composition** to HyperFrames (migration, not creation) |
67
+
68
+ **Disambiguation (only where confusable):**
69
+
70
+ - **Motion-first & unnarrated** (under ~10s, the motion _is_ the message) → `/motion-graphics`, regardless of input.
71
+ - **A URL or script** — markets a specific product (even just naming the site) → `/product-launch-video`; a general non-product site → `/website-to-video`; a GitHub PR link → `/pr-to-video`; explains a concept with no product / site → `/faceless-explainer`. Genuinely unclear product-vs-topic, or launch-vs-general-site → ask one question.
72
+ - **Existing footage** — plain spoken-word subtitles → `/embedded-captions`; designed overlay cards → `/talking-head-recut`. Neither edits the footage itself (re-timing / recolor / reframe / reorder / audio is NLE editing — out of scope).
73
+ - **A music track is the input** (an audio file, or a video to pull audio from) with **no narration** → `/music-to-video` — the music's beats/energy drive the pacing. (Narrated pieces stay with the input-matched workflow above; `/motion-graphics` is for short unnarrated motion that isn't music-driven.)
74
+ - **A presentation / pitch deck / interactive deck** (discrete slides, navigation, presenter mode) → `/slideshow` — output is a navigable deck, not a rendered video. An explicit "slideshow" request proceeds directly; an adjacent trigger ("deck / slides / presentation / convert this page") makes `/slideshow` confirm it's a slideshow before authoring, and switch to the appropriate non-slideshow workflow if not.
75
+ - **Length is a guide, not a gate** — intent picks the workflow; go to `/general-video` only when the piece is clearly longer than ~3 min, or is a static / loop / custom format.
76
+
77
+ ## If the matched workflow isn't installed
78
+
79
+ Once you've picked a workflow, check it's actually available to you. If the matched workflow skill isn't installed, don't fall back to guessing — tell the user to install it first:
80
+
81
+ - **Just this workflow:** `npx skills add heygen-com/hyperframes --skill <workflow-name>` (e.g. `--skill pr-to-video` — bare name, no leading `/`).
82
+ - **All workflows at once:** `npx skills add heygen-com/hyperframes --all` (core + every workflow, skips the picker).
83
+
84
+ After they run it, re-read the workflow's skill and continue.
85
+
86
+ ## Keeping skills current
87
+
88
+ HyperFrames skills are versioned. `npx hyperframes init` checks the installed skills against the latest on GitHub and installs/refreshes the **full** set whenever anything is out of date or missing — so a freshly init'd project always has the complete, latest set (and re-running init on an up-to-date project is a no-op). The check is a quick GitHub round-trip; offline (or rate-limited) it falls back to installing after a short timeout, so init never hard-fails on a network hiccup. The creation workflows scaffold with `init`, so starting a new project always runs this check and pulls our latest skills from GitHub when they're stale. The `--skip-skills` flag is currently neutered (a temporary measure while the skills.sh registry catches up): passing it no longer skips the check, so every `init` checks GitHub. CI/tests opt out via the `HYPERFRAMES_SKIP_SKILLS=1` env var.
89
+
90
+ If a task is behaving unexpectedly, or before a long build, confirm the installed skills are current:
91
+
92
+ - **Check:** `npx hyperframes skills check` (add `--json` for a machine-readable verdict; exits non-zero when anything is outdated **or missing**).
93
+ - **Update:** `npx hyperframes skills update` — pulls the full set to the latest, **installing any not yet present** (same as init's install step).
94
+
95
+ The CLI also surfaces a one-line reminder when a `render` / `lint` / `validate` run detects stale skills.
96
+
97
+ ## Workflow details
98
+
99
+ ### `/product-launch-video`
100
+
101
+ - **Input:** A product being marketed — **(a)** a product URL (crawled with headless Chrome for assets + brand tokens), **(b)** a script / brief that names the product's site even without a link (PLV resolves + crawls it, unless the user opts out), or **(c)** a script with no derivable site / "don't scrape" (no-capture mode — pick a style preset that supplies palette + design system). A supplied script can be the **verbatim** voice-over or **restructured** per scene — PLV asks.
102
+ - **Output:** product launch / SaaS promo as a HyperFrames composition → MP4. (sweet spot 30–90s).
103
+ - **Triggers:** "launch video for X", "promo for our site", "explain my SaaS in a minute", "turn my script into a 60s promo", "text-only launch video, don't scrape".
104
+
105
+ ### `/website-to-video`
106
+
107
+ - **Input:** A **general website / URL** to turn into a video — when the goal is a video _of_ the site, not a product launch. Captured with headless Chrome for real screenshots + brand assets.
108
+ - **Output:** a site tour / portfolio / landing-page showcase / social clip built from the site's own visuals → MP4.
109
+ - **Triggers:** "turn this website into a video", "site tour from ", "social clip from our homepage", "I just have a URL — make something".
110
+
111
+ ### `/faceless-explainer`
112
+
113
+ - **Input:** Arbitrary text — a topic, article, or notes — being **explained**, with no product being marketed and no site to capture. (Forked from `/product-launch-video`; no headless Chrome.)
114
+ - **Output:** faceless explainer → MP4, every visual LLM-invented per scene (typography / abstract / diagram / data-viz); ships the `pin-and-paper` preset. (sweet spot 30–90s).
115
+ - **Triggers:** "faceless explainer about X", "explain how DNS works as a video", "turn this article into an explainer", "explainer from my notes".
116
+
117
+ ### `/pr-to-video`
118
+
119
+ - **Input:** A **GitHub pull request** — a PR URL, an `owner/repo#N` ref, or "this PR" — read via the `gh` CLI (not a site to scrape).
120
+ - **Output:** code-change explainer (changelog / feature-reveal / fix / refactor) → MP4 — diff highlights, before/after, file-tree + impact scenes. ≤ (sweet spot 30–90s).
121
+ - **Triggers:** "make a video about this PR", "turn PR #1187 into a changelog video", "release-notes video from github.com/org/repo/pull/123".
122
+
123
+ ### `/embedded-captions`
124
+
125
+ - **Input:** An existing **talking-head video** (MP4) to caption — actual footage, not a URL or brief. Transcribed locally (Whisper, no API key) and matted (RVM) so the subject can occlude captions.
126
+ - **Output:** the same footage **untouched**, with a caption layer — **Standard** (verbatim lower-third rail + an embedded climax behind the subject) or **Cinematic** (every caption composited behind the subject). Any length.
127
+ - **Triggers:** "add captions / subtitles to this video", "captions behind the subject", "cinematic captions for my clip".
128
+
129
+ ### `/talking-head-recut`
130
+
131
+ - **Input:** An existing **talking-head / interview / podcast video** (MP4) to package with on-screen graphics — actual footage. Transcribed locally (Whisper). The clip plays in full underneath, untouched.
132
+ - **Output:** the same footage with timed **graphic-overlay cards** — kinetic titles, lower-thirds, data callouts, pull-quotes, side panels, picture-in-picture — synced to the transcript. Any length.
133
+ - **Triggers:** "package this video", "add graphic overlays / lower-thirds / data callouts to my talk", "turn this interview into a graphics-packaged edit".
134
+
135
+ ### `/motion-graphics`
136
+
137
+ - **Input:** A short, design-led motion graphic where the **motion is the message** — typically under ~10s, no narration. Genres: kinetic typography, a stat / number count-up, a chart hit, a logo sting, a lower-third / overlay, or a search-driven page / tweet / headline shot.
138
+ - **Output:** a short motion graphic → MP4 or a **transparent overlay** (alpha WebM / MOV) for a lower-third / callout.
139
+ - **Triggers:** "an 8s logo sting", "animate this stat", "a kinetic-type intro", "turn this tweet into a motion graphic", "a transparent lower-third overlay".
140
+
141
+ ### `/music-to-video`
142
+
143
+ - **Input:** A **music track** — an audio file, or a video to pull the audio from — with **no narration and no website capture**. Optionally, user-supplied images / videos to weave in. The track is analyzed once into a deterministic beat / energy map (`audiomap.json`) the whole video is built on.
144
+ - **Output:** a **beat-synced** HyperFrames composition → MP4 where the music drives pacing. Typography and templates are the floor (a complete video needs zero assets); any supplied media is cut onto the same beat grid (beat-cut / ken-burns). The genre — lyric video, slideshow, kinetic promo — emerges from the per-frame choices; the pipeline never branches on it.
145
+ - **Triggers:** "make a video for this song", "beat-synced video from this track", "lyric video", "turn this music into a video", "music visualizer / kinetic promo to this beat".
146
+
147
+ ### `/slideshow`
148
+
149
+ - **Input:** A **presentation / pitch deck / interactive deck** to author — a brief, an outline, or an existing page to convert to slides. Not a request for a rendered video; if the intent is ambiguous, the skill confirms "do you want this as a HyperFrames slideshow?" before authoring.
150
+ - **Output:** a runnable HyperFrames composition + a **JSON island** the player's `SlideshowController` reads to turn the GSAP timeline into a navigable **deck** — discrete slides, fragment reveals, branching sequences, hotspot navigation, presenter mode, and speaker notes. The deliverable is a deck, not an MP4.
151
+ - **Triggers:** "make a pitch deck / presentation / slide deck", "an interactive deck", "convert this page into slides", "a slideshow with presenter mode".
152
+
153
+ ### `/general-video`
154
+
155
+ - **Input:** Anything not above — a creative brief, a single element to animate, an edit to a composition you're building. Input- and length-agnostic.
156
+ - **Output:** a HyperFrames composition (any length / format) via the original flow: design system → prompt expansion → plan → layout-before-animation → build (delegating to the `hyperframes-`\* skills) → validate.
157
+ - **Triggers:** "make a title card", "animate this", "a longer brand / sizzle reel", "a multi-scene composition", "a static loop / poster", any "make a video" that fits no row above.
158
+
159
+ ### `/remotion-to-hyperframes`
160
+
161
+ - **Input:** An existing **Remotion** (React) composition's source — the user **explicitly** asks to port / convert / migrate it. One-way (Remotion → HyperFrames); not creation-from-input. A passing mention of Remotion is not a trigger.
162
+ - **Output:** a HyperFrames HTML composition translated from the Remotion source, graded against the Remotion render (SSIM eval harness + tiered test corpus).
163
+ - **Triggers:** "port my Remotion project to HyperFrames", "convert this Remotion comp", "migrate from Remotion".
@@ -0,0 +1,109 @@
1
+ ---
2
+ name: hyperframes-cli
3
+ description: HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).
4
+ ---
5
+
6
+ # HyperFrames CLI
7
+
8
+ Everything runs through `npx hyperframes` unless project instructions specify a local wrapper. Obey the local wrapper exactly. Requires Node.js >= 22 and FFmpeg.
9
+
10
+ ## Workflow
11
+
12
+ 1. **Scaffold** — `npx hyperframes init my-video` (or `capture` from a URL)
13
+ 2. **Write** — author HTML composition (see the `hyperframes-core` skill)
14
+ 3. **Lint** — `npx hyperframes lint`
15
+ 4. **Validate** — `npx hyperframes validate` (runtime errors + contrast)
16
+ 5. **Visual inspect** — `npx hyperframes inspect`
17
+ 6. **Preview** — `npx hyperframes preview` opens **Studio**, the timeline editor where the user can manually edit anything (not just watch). Review there, then ask before rendering.
18
+ 7. **Render** — pick the variant:
19
+ - Iterate: `npx hyperframes render --quality draft`
20
+ - Deliver: `npx hyperframes render --quality high --output out.mp4`
21
+ - CI / cross-host repro: `npx hyperframes render --docker --strict --output out.mp4`
22
+ - Cloud (long / large): `npx hyperframes lambda render ./my-project --width 1920 --height 1080 --wait` (see Lambda below)
23
+
24
+ Run lint, validate, and inspect before preview. `lint` catches missing `data-composition-id`, overlapping tracks, and unregistered timelines. `validate` loads the composition in headless Chrome and reports runtime console errors plus WCAG contrast issues. `inspect` seeks through the timeline and reports text spilling out of bubbles/containers or off the canvas — and, when a `*.motion.json` sidecar is present, verifies motion intent (entrances firing under seek, stagger order, in-frame, liveness) against that same seeked timeline.
25
+
26
+ For motion-heavy work, prefer snapshot-driven iteration and a `*.motion.json` sidecar — see `references/lint-validate-inspect.md` for the discipline and motion-verification spec.
27
+
28
+ ## Agent Conventions
29
+
30
+ Cross-cutting rules that hold for every command:
31
+
32
+ - **`--json` is available on every command except `render`, `preview`, and `play`.** Use it for any agent / CI invocation of the supported commands; output includes a `_meta` envelope (cli version, latest available, update advice). `render` reports status via stdout + exit code only — verify success with the post-render check below; `preview` / `play` are servers, no JSON.
33
+ - **`doctor --json` always exits 0**, even when the environment is broken. Gate on the payload's `ok` field: `npx hyperframes doctor --json | jq -e '.ok' > /dev/null`. This insulates pipelines from CLI release churn.
34
+ - **Non-TTY mode is auto-detected.** When `stdout` is not a TTY (CI, agents, piped output) the CLI auto-switches to non-interactive; `init` then **requires `--example`**. Pass `--non-interactive` to force this mode even on a TTY.
35
+ - **CI gating on render**: `--strict` fails on lint errors, `--strict-all` fails on warnings too, `--strict-variables` fails on undeclared `--variables` keys.
36
+ - **Paths in `--json` are redacted** — `$HOME` becomes the literal `$HOME` so output is safe to paste into bug reports and agent contexts.
37
+ - **Render is user-gated.** Never auto-render once the checks pass. Pause at `preview`, tell the user the video is editable in Studio, and render only after they approve.
38
+ - **Post-render verification.** After `render` returns exit 0, confirm the output file exists and has plausible size before reporting success: `[ -s "$OUTPUT" ] || echo "render produced no output"`. The CLI prints `◇ <path>` on success; for long renders also sanity-check duration with `ffprobe -i "$OUTPUT" -show_format -v error`.
39
+
40
+ ## Routing
41
+
42
+ | Want to… | Read |
43
+ | ---------------------------------------------------------------------------------------------------------- | ------------------------------------- |
44
+ | Scaffold a project (`init`, `capture`, `skills`) | `references/init-and-scaffold.md` |
45
+ | Check correctness (`lint`, `validate`, `inspect`, `snapshot`) | `references/lint-validate-inspect.md` |
46
+ | Preview or render (`preview`, `play`, `render`, `publish`) | `references/preview-render.md` |
47
+ | Diagnose the environment (`doctor`, `browser`) | `references/doctor-browser.md` |
48
+ | Cloud render on AWS Lambda (`lambda deploy / sites / render / progress / destroy / policies`) | `references/lambda.md` |
49
+ | Everything else (`info`, `upgrade`, `compositions`, `docs`, `benchmark`, `telemetry`, asset preprocessing) | `references/upgrade-info-misc.md` |
50
+
51
+ ## Cross-Skill Hand-Offs
52
+
53
+ - **Tailwind projects** (`init --tailwind`) → use `hyperframes-core` (Tailwind reference) before editing classes or theme tokens.
54
+ - **Registry blocks/components** (`hyperframes add`, `hyperframes catalog`) → use `hyperframes-registry` for install paths, sub-composition wiring, and snippet merging.
55
+ - **Asset preprocessing** (`tts`, `transcribe`, `remove-background`) → use `hyperframes-media` for voice selection, Whisper model rules, captions, and TTS-to-captions chain.
56
+ - **Parametrized renders** (`--variables`) → declared via `data-composition-variables` on `<html>`; see `hyperframes-core` for the full schema.
57
+
58
+ ## Lambda (Cloud Rendering)
59
+
60
+ `hyperframes lambda` deploys distributed rendering to AWS Lambda and drives renders from your laptop or CI. End-to-end is three commands:
61
+
62
+ ```bash
63
+ npx hyperframes lambda deploy # provision SAM stack (Lambda + Step Functions + S3)
64
+ npx hyperframes lambda render ./my-project --width 1920 --height 1080 --wait
65
+ npx hyperframes lambda destroy # tear down (S3 bucket is retained)
66
+ ```
67
+
68
+ Use Lambda when a render is too long / too large for one host (multi-minute videos, 4K, large parallel batches) and you have AWS credentials configured. For dev-loop iteration stay on local `render`.
69
+
70
+ See `references/lambda.md` for prerequisites, all 6 subcommands (`deploy`, `sites create`, `render`, `progress`, `destroy`, `policies`), IAM policy validation, state files, and cost / cleanup rules.
71
+
72
+ ## Minimum Completion Gate
73
+
74
+ ### Static gates
75
+
76
+ ```bash
77
+ npx hyperframes lint
78
+ npx hyperframes validate
79
+ ```
80
+
81
+ Add `inspect` for layout-sensitive work and `render --strict` in CI to fail on lint errors.
82
+
83
+ ### Visual smoke test — required when the project uses sub-compositions
84
+
85
+ `lint` / `validate` / `inspect` evaluate each composition **in isolation**. They never load `index.html` and mount sub-compositions via `data-composition-src`, so they cannot catch cross-file mount failures (see `hyperframes-core` → `references/sub-compositions.md`, "Common pitfalls"). The only gate that catches them is one that actually loads `index.html` and seeks the timeline.
86
+
87
+ Use `hyperframes snapshot` — it loads the project the same way `render` does (so it exercises the same mount path) but only captures the timestamps you request, so it's seconds instead of a full render:
88
+
89
+ ```bash
90
+ # Capture one frame at the midpoint of every sub-composition.
91
+ # Midpoints = data-start + data-duration/2 for each host slot in index.html.
92
+ npx hyperframes snapshot --at <t1>,<t2>,<t3>,...
93
+
94
+ # Or, if you don't need per-scene targeting, an evenly-spaced sample:
95
+ npx hyperframes snapshot --frames 9
96
+ ```
97
+
98
+ Output lands in `snapshots/frame-NN-at-Xs.png`. Eyeball each frame against the scene plan.
99
+
100
+ Per-frame red flags (each maps to a specific failure mode the static gates miss):
101
+
102
+ | What you see | Root cause |
103
+ | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
104
+ | Text shows up tiny + unstyled in the top-left corner | `<style>` block left in `<head>` outside `<template>` (Pitfall 1) — no CSS reached live DOM |
105
+ | SVG/icon elements blown up to canvas-size | Same as above — no width/height constraints applied |
106
+ | Hero element of the scene is missing entirely; only background + watermark visible | Host-id ≠ template id (Pitfall 2) — timeline never ran, frame captured at initial state |
107
+ | Snapshot command logs `Sub-composition timelines not registered after 45000ms` | Pitfall 2 — direct confirmation |
108
+
109
+ `snapshots/` can be deleted after eyeballing; the user-facing final render is a separate pass with `npx hyperframes render`.