dsh-remotion 0.3.4 → 0.4.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 (294) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.en.md +26 -65
  3. package/README.md +25 -67
  4. package/docs/USAGE.en.md +93 -0
  5. package/docs/USAGE.md +97 -0
  6. package/docs/VALIDATION.md +24 -0
  7. package/docs/validation-language-2026-10-03.md +16 -0
  8. package/lib/client.js +105 -0
  9. package/lib/index.d.ts +3 -0
  10. package/lib/index.js +5 -1
  11. package/lib/media-store.d.ts +25 -0
  12. package/lib/media-store.js +174 -0
  13. package/lib/media-templates.d.ts +52 -0
  14. package/lib/media-templates.js +91 -0
  15. package/lib/media-workbench.d.ts +42 -0
  16. package/lib/media-workbench.js +476 -0
  17. package/package.json +18 -5
  18. package/scripts/build-client.mjs +4 -0
  19. package/skills/remotion-best-practices/SKILL.md +54 -54
  20. package/skills/remotion-best-practices/agents/openai.yaml +7 -7
  21. package/skills/remotion-best-practices/assets/remotion-icon.svg +4 -4
  22. package/skills/remotion-best-practices/remotion-captions/REFERENCE.md +36 -36
  23. package/skills/remotion-best-practices/remotion-captions/agents/openai.yaml +7 -7
  24. package/skills/remotion-best-practices/remotion-captions/assets/remotion-icon.svg +4 -4
  25. package/skills/remotion-best-practices/remotion-captions/display-captions.md +190 -190
  26. package/skills/remotion-best-practices/remotion-captions/import-srt-captions.md +73 -73
  27. package/skills/remotion-best-practices/remotion-captions/transcribe-captions.md +70 -70
  28. package/skills/remotion-best-practices/remotion-create/REFERENCE.md +85 -85
  29. package/skills/remotion-best-practices/remotion-create/agents/openai.yaml +7 -7
  30. package/skills/remotion-best-practices/remotion-create/assets/remotion-icon.svg +4 -4
  31. package/skills/remotion-best-practices/remotion-create/tailwind.md +11 -11
  32. package/skills/remotion-best-practices/remotion-create/video-layout.md +9 -9
  33. package/skills/remotion-best-practices/remotion-docs/REFERENCE.md +46 -46
  34. package/skills/remotion-best-practices/remotion-docs/agents/openai.yaml +7 -7
  35. package/skills/remotion-best-practices/remotion-docs/assets/remotion-icon.svg +4 -4
  36. package/skills/remotion-best-practices/remotion-interactivity/REFERENCE.md +315 -315
  37. package/skills/remotion-best-practices/remotion-interactivity/agents/openai.yaml +7 -7
  38. package/skills/remotion-best-practices/remotion-interactivity/assets/remotion-icon.svg +4 -4
  39. package/skills/remotion-best-practices/remotion-maps/REFERENCE.md +36 -36
  40. package/skills/remotion-best-practices/remotion-maps/agents/openai.yaml +7 -7
  41. package/skills/remotion-best-practices/remotion-maps/assets/remotion-icon.svg +4 -4
  42. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -89
  43. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -284
  44. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -299
  45. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/city-path.json +12 -12
  46. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -39
  47. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -35
  48. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -215
  49. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -43
  50. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -128
  51. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -57
  52. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -161
  53. package/skills/remotion-best-practices/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -449
  54. package/skills/remotion-best-practices/remotion-maps/techniques/mapbox/references/render-stability.md +64 -64
  55. package/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md +484 -484
  56. package/skills/remotion-best-practices/remotion-maps/techniques/maplibre/references/render-stability.md +64 -64
  57. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -80
  58. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -70
  59. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -80
  60. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -363
  61. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -22
  62. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -7535
  63. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -605
  64. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -34
  65. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -91
  66. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -129
  67. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -85
  68. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/render-stability.md +64 -64
  69. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -202
  70. package/skills/remotion-best-practices/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -37
  71. package/skills/remotion-best-practices/remotion-markup/3d.md +86 -86
  72. package/skills/remotion-best-practices/remotion-markup/REFERENCE.md +358 -358
  73. package/skills/remotion-best-practices/remotion-markup/agents/openai.yaml +7 -7
  74. package/skills/remotion-best-practices/remotion-markup/assets/remotion-icon.svg +4 -4
  75. package/skills/remotion-best-practices/remotion-markup/audio-visualization.md +198 -198
  76. package/skills/remotion-best-practices/remotion-markup/audio.md +169 -169
  77. package/skills/remotion-best-practices/remotion-markup/calculate-metadata.md +136 -136
  78. package/skills/remotion-best-practices/remotion-markup/compositions.md +123 -123
  79. package/skills/remotion-best-practices/remotion-markup/connected-compositions.md +79 -79
  80. package/skills/remotion-best-practices/remotion-markup/cropping.md +34 -34
  81. package/skills/remotion-best-practices/remotion-markup/effects.md +251 -251
  82. package/skills/remotion-best-practices/remotion-markup/embedding-videos.md +171 -171
  83. package/skills/remotion-best-practices/remotion-markup/ffmpeg.md +38 -38
  84. package/skills/remotion-best-practices/remotion-markup/gifs.md +187 -187
  85. package/skills/remotion-best-practices/remotion-markup/google-fonts.md +76 -76
  86. package/skills/remotion-best-practices/remotion-markup/html-in-canvas.md +128 -128
  87. package/skills/remotion-best-practices/remotion-markup/images.md +73 -73
  88. package/skills/remotion-best-practices/remotion-markup/light-leaks.md +106 -106
  89. package/skills/remotion-best-practices/remotion-markup/local-fonts.md +69 -69
  90. package/skills/remotion-best-practices/remotion-markup/lottie.md +73 -73
  91. package/skills/remotion-best-practices/remotion-markup/measuring-dom-nodes.md +38 -38
  92. package/skills/remotion-best-practices/remotion-markup/measuring-text.md +146 -146
  93. package/skills/remotion-best-practices/remotion-markup/motion-blur.md +60 -60
  94. package/skills/remotion-best-practices/remotion-markup/multi-scene-video.md +81 -81
  95. package/skills/remotion-best-practices/remotion-markup/parameters.md +111 -111
  96. package/skills/remotion-best-practices/remotion-markup/remotion-maps/REFERENCE.md +36 -36
  97. package/skills/remotion-best-practices/remotion-markup/remotion-maps/agents/openai.yaml +7 -7
  98. package/skills/remotion-best-practices/remotion-markup/remotion-maps/assets/remotion-icon.svg +4 -4
  99. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -89
  100. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -284
  101. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -299
  102. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -12
  103. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -39
  104. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -35
  105. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -215
  106. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -43
  107. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -128
  108. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -57
  109. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -161
  110. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -449
  111. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -64
  112. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +484 -484
  113. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -64
  114. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -80
  115. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -70
  116. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -80
  117. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -363
  118. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -22
  119. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -7535
  120. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -605
  121. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -34
  122. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -91
  123. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -129
  124. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -85
  125. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -64
  126. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -202
  127. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -37
  128. package/skills/remotion-best-practices/remotion-markup/sequencing.md +169 -169
  129. package/skills/remotion-best-practices/remotion-markup/sfx.md +51 -51
  130. package/skills/remotion-best-practices/remotion-markup/silence-detection.md +71 -71
  131. package/skills/remotion-best-practices/remotion-markup/text-highlights.md +56 -56
  132. package/skills/remotion-best-practices/remotion-markup/timing.md +111 -111
  133. package/skills/remotion-best-practices/remotion-markup/transitions.md +239 -239
  134. package/skills/remotion-best-practices/remotion-markup/video-editing.md +90 -90
  135. package/skills/remotion-best-practices/remotion-markup/voiceover.md +99 -99
  136. package/skills/remotion-best-practices/remotion-multimedia/REFERENCE.md +20 -20
  137. package/skills/remotion-best-practices/remotion-multimedia/agents/openai.yaml +7 -7
  138. package/skills/remotion-best-practices/remotion-multimedia/assets/remotion-icon.svg +4 -4
  139. package/skills/remotion-best-practices/remotion-multimedia/get-audio-duration.md +56 -56
  140. package/skills/remotion-best-practices/remotion-multimedia/get-video-dimensions.md +66 -66
  141. package/skills/remotion-best-practices/remotion-multimedia/get-video-duration.md +58 -58
  142. package/skills/remotion-best-practices/remotion-render/REFERENCE.md +35 -35
  143. package/skills/remotion-best-practices/remotion-render/agents/openai.yaml +7 -7
  144. package/skills/remotion-best-practices/remotion-render/assets/remotion-icon.svg +4 -4
  145. package/skills/remotion-best-practices/remotion-render/transparent-videos.md +106 -106
  146. package/skills/remotion-best-practices/remotion-saas/REFERENCE.md +33 -33
  147. package/skills/remotion-best-practices/remotion-saas/agents/openai.yaml +7 -7
  148. package/skills/remotion-best-practices/remotion-saas/assets/remotion-icon.svg +4 -4
  149. package/skills/remotion-best-practices/remotion-saas/framework.md +19 -19
  150. package/skills/remotion-best-practices/remotion-saas/player.md +33 -33
  151. package/skills/remotion-best-practices/remotion-saas/rendering.md +69 -69
  152. package/skills/remotion-best-practices/remotion-studio/REFERENCE.md +24 -24
  153. package/skills/remotion-best-practices/remotion-studio/agents/openai.yaml +7 -7
  154. package/skills/remotion-best-practices/remotion-studio/assets/remotion-icon.svg +4 -4
  155. package/skills/remotion-best-practices/remotion-upgrade/REFERENCE.md +31 -31
  156. package/skills/remotion-best-practices/remotion-upgrade/agents/openai.yaml +7 -7
  157. package/skills/remotion-best-practices/remotion-upgrade/assets/remotion-icon.svg +4 -4
  158. package/skills/remotion-captions/SKILL.md +31 -31
  159. package/skills/remotion-captions/agents/openai.yaml +7 -7
  160. package/skills/remotion-captions/assets/remotion-icon.svg +4 -4
  161. package/skills/remotion-captions/display-captions.md +190 -190
  162. package/skills/remotion-captions/import-srt-captions.md +73 -73
  163. package/skills/remotion-captions/transcribe-captions.md +70 -70
  164. package/skills/remotion-create/SKILL.md +80 -80
  165. package/skills/remotion-create/agents/openai.yaml +7 -7
  166. package/skills/remotion-create/assets/remotion-icon.svg +4 -4
  167. package/skills/remotion-create/tailwind.md +11 -11
  168. package/skills/remotion-create/video-layout.md +9 -9
  169. package/skills/remotion-docs/SKILL.md +41 -41
  170. package/skills/remotion-docs/agents/openai.yaml +7 -7
  171. package/skills/remotion-docs/assets/remotion-icon.svg +4 -4
  172. package/skills/remotion-interactivity/SKILL.md +310 -310
  173. package/skills/remotion-interactivity/agents/openai.yaml +7 -7
  174. package/skills/remotion-interactivity/assets/remotion-icon.svg +4 -4
  175. package/skills/remotion-maps/SKILL.md +31 -31
  176. package/skills/remotion-maps/agents/openai.yaml +7 -7
  177. package/skills/remotion-maps/assets/remotion-icon.svg +4 -4
  178. package/skills/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -89
  179. package/skills/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -284
  180. package/skills/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -299
  181. package/skills/remotion-maps/techniques/cesium/assets/city-path.json +12 -12
  182. package/skills/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -39
  183. package/skills/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -35
  184. package/skills/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -215
  185. package/skills/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -43
  186. package/skills/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -128
  187. package/skills/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -57
  188. package/skills/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -161
  189. package/skills/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -449
  190. package/skills/remotion-maps/techniques/mapbox/references/render-stability.md +64 -64
  191. package/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md +484 -484
  192. package/skills/remotion-maps/techniques/maplibre/references/render-stability.md +64 -64
  193. package/skills/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -80
  194. package/skills/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -70
  195. package/skills/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -80
  196. package/skills/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -363
  197. package/skills/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -22
  198. package/skills/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -7535
  199. package/skills/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -605
  200. package/skills/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -34
  201. package/skills/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -91
  202. package/skills/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -129
  203. package/skills/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -85
  204. package/skills/remotion-maps/techniques/maptiler/references/render-stability.md +64 -64
  205. package/skills/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -202
  206. package/skills/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -37
  207. package/skills/remotion-markup/3d.md +86 -86
  208. package/skills/remotion-markup/SKILL.md +353 -353
  209. package/skills/remotion-markup/agents/openai.yaml +7 -7
  210. package/skills/remotion-markup/assets/remotion-icon.svg +4 -4
  211. package/skills/remotion-markup/audio-visualization.md +198 -198
  212. package/skills/remotion-markup/audio.md +169 -169
  213. package/skills/remotion-markup/calculate-metadata.md +136 -136
  214. package/skills/remotion-markup/compositions.md +123 -123
  215. package/skills/remotion-markup/connected-compositions.md +79 -79
  216. package/skills/remotion-markup/cropping.md +34 -34
  217. package/skills/remotion-markup/effects.md +251 -251
  218. package/skills/remotion-markup/embedding-videos.md +171 -171
  219. package/skills/remotion-markup/ffmpeg.md +38 -38
  220. package/skills/remotion-markup/gifs.md +187 -187
  221. package/skills/remotion-markup/google-fonts.md +76 -76
  222. package/skills/remotion-markup/html-in-canvas.md +128 -128
  223. package/skills/remotion-markup/images.md +73 -73
  224. package/skills/remotion-markup/light-leaks.md +106 -106
  225. package/skills/remotion-markup/local-fonts.md +69 -69
  226. package/skills/remotion-markup/lottie.md +73 -73
  227. package/skills/remotion-markup/measuring-dom-nodes.md +38 -38
  228. package/skills/remotion-markup/measuring-text.md +146 -146
  229. package/skills/remotion-markup/motion-blur.md +60 -60
  230. package/skills/remotion-markup/multi-scene-video.md +81 -81
  231. package/skills/remotion-markup/parameters.md +111 -111
  232. package/skills/remotion-markup/remotion-maps/REFERENCE.md +36 -36
  233. package/skills/remotion-markup/remotion-maps/agents/openai.yaml +7 -7
  234. package/skills/remotion-markup/remotion-maps/assets/remotion-icon.svg +4 -4
  235. package/skills/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -89
  236. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -284
  237. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -299
  238. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -12
  239. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -39
  240. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -35
  241. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -215
  242. package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -43
  243. package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -128
  244. package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -57
  245. package/skills/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -161
  246. package/skills/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -449
  247. package/skills/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -64
  248. package/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +484 -484
  249. package/skills/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -64
  250. package/skills/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -80
  251. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -70
  252. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -80
  253. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -363
  254. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -22
  255. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -7535
  256. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -605
  257. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -34
  258. package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -91
  259. package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -129
  260. package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -85
  261. package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -64
  262. package/skills/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -202
  263. package/skills/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -37
  264. package/skills/remotion-markup/sequencing.md +169 -169
  265. package/skills/remotion-markup/sfx.md +51 -51
  266. package/skills/remotion-markup/silence-detection.md +71 -71
  267. package/skills/remotion-markup/text-highlights.md +56 -56
  268. package/skills/remotion-markup/timing.md +111 -111
  269. package/skills/remotion-markup/transitions.md +239 -239
  270. package/skills/remotion-markup/video-editing.md +90 -90
  271. package/skills/remotion-markup/voiceover.md +99 -99
  272. package/skills/remotion-multimedia/SKILL.md +15 -15
  273. package/skills/remotion-multimedia/agents/openai.yaml +7 -7
  274. package/skills/remotion-multimedia/assets/remotion-icon.svg +4 -4
  275. package/skills/remotion-multimedia/get-audio-duration.md +56 -56
  276. package/skills/remotion-multimedia/get-video-dimensions.md +66 -66
  277. package/skills/remotion-multimedia/get-video-duration.md +58 -58
  278. package/skills/remotion-render/SKILL.md +30 -30
  279. package/skills/remotion-render/agents/openai.yaml +7 -7
  280. package/skills/remotion-render/assets/remotion-icon.svg +4 -4
  281. package/skills/remotion-render/transparent-videos.md +106 -106
  282. package/skills/remotion-saas/SKILL.md +28 -28
  283. package/skills/remotion-saas/agents/openai.yaml +7 -7
  284. package/skills/remotion-saas/assets/remotion-icon.svg +4 -4
  285. package/skills/remotion-saas/framework.md +19 -19
  286. package/skills/remotion-saas/player.md +33 -33
  287. package/skills/remotion-saas/rendering.md +69 -69
  288. package/skills/remotion-studio/SKILL.md +19 -19
  289. package/skills/remotion-studio/agents/openai.yaml +7 -7
  290. package/skills/remotion-studio/assets/remotion-icon.svg +4 -4
  291. package/skills/remotion-upgrade/SKILL.md +26 -26
  292. package/skills/remotion-upgrade/agents/openai.yaml +7 -7
  293. package/skills/remotion-upgrade/assets/remotion-icon.svg +4 -4
  294. package/templates/DESIGN.md +26 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,26 @@
1
+ # 更新记录
2
+
3
+ [返回简介](README.md) · [使用说明](docs/USAGE.md) · [验证记录](docs/VALIDATION.md)
4
+
5
+ ## 0.4.1 (2026-10-03)
6
+
7
+ - 视频工作台后台错误与任务阶段支持英文;切换语言重新展示失败引导,项目文字和原始引擎日志保留原文。
8
+ - 验收范围见 [中英文界面检查](docs/validation-language-2026-10-03.md)。
9
+
10
+ ## 0.4.0 (2026-10-03)
11
+
12
+ - 新增视频工作台、三种模板、素材副本上传、官方 Studio 预览、本机 MP4 与可编辑 ZIP 备份。
13
+ - 新增修订冲突检查、旧成片提示、任务记录与取消;首次环境准备使用固定版本官方 CLI 4.0.532。
14
+ - 保留现有上游技能;模板与工作台为本仓库原创实现。
15
+
16
+ ## 0.3.4 (2026-09-28)
17
+
18
+ - 更新官方 Harness 0.2.0-rc.1 的兼容声明和共同加载验证;运行时代码未变。验证范围见[验证记录](docs/VALIDATION.md)。
19
+
20
+ ## 0.3.3 (2026-09-28)
21
+
22
+ - 同步 Remotion 官方 v4.0.529 的技能内容,保留来源与许可证。
23
+
24
+ ## 更早的改动
25
+
26
+ 完整历史可查阅 [GitHub 提交记录](https://github.com/STARDUSTLC666/dsh-remotion/commits/master)。
package/README.en.md CHANGED
@@ -1,89 +1,50 @@
1
- [中文](README.md)
2
-
3
- ![npm](https://img.shields.io/npm/v/dsh-remotion) ![downloads](https://img.shields.io/npm/dm/dsh-remotion) ![license](https://img.shields.io/github/license/STARDUSTLC666/dsh-remotion) ![stars](https://img.shields.io/github/stars/STARDUSTLC666/dsh-remotion?style=social)
4
-
5
1
  # dsh-remotion
6
2
 
7
- [![Awesome DSH Plugin](https://awesome-dsh-plugin.com/badge.svg)](https://awesome-dsh-plugin.com)
3
+ [中文](README.md)
8
4
 
9
- DSH (DeepSeek Harness) video-creation skill plugin: installing it registers the official Remotion skill into DSH (programmatic video with React: animation, audio, captions, 3D, charts, fonts; synced with the official Remotion v4.0.529 twelve-skill structure).
5
+ Bring Remotion React video creation skills into DSH.
10
6
 
11
- ## Compatibility
7
+ [![npm](https://img.shields.io/npm/v/dsh-remotion)](https://www.npmjs.com/package/dsh-remotion) [![downloads](https://img.shields.io/npm/dm/dsh-remotion)](https://www.npmjs.com/package/dsh-remotion)
12
8
 
13
- Validation host: Harness `0.2.0-rc.1` built from official sources (commit `407e65c8`) with Node `24.16.0` on 2026-09-28. All 23 plugin tests pass in an isolated environment; all 18 plugins mount together in one host registering 12 skills and 1 tools, with tool schemas and health-check contracts passing. No live ports or external services were exercised in this round.
9
+ ## What it does
14
10
 
15
- ## Installation
11
+ - A settings workbench for templates, editable content, media uploads, official Studio preview and local MP4 export.
12
+ - Title card, product card and slideshow templates in landscape, portrait or square format.
13
+ - Editable project backups, cancellable jobs and a warning when an MP4 uses an older revision.
16
14
 
17
- ```bash
18
- dsh plugin --profile web add dsh-remotion
19
- ```
15
+ - Cover animation, audio, captions, charts and 3D scenes.
16
+ - Guide project creation, Studio preview and rendering.
17
+ - Preserve upstream skills and provide runtime health checks.
20
18
 
21
- After restarting, say "make a video with Remotion" to trigger it.
19
+ ## Install
22
20
 
23
- ## Uninstall
21
+ In DSH Desktop, install `dsh-remotion` from the Plugins panel. If the bundled dsh command is available:
24
22
 
25
23
  ```bash
26
- dsh plugin --profile web remove dsh-remotion
24
+ dsh plugin --profile desktop add dsh-remotion
27
25
  ```
28
26
 
29
- Then restart the web service. To clean up fully, also remove the plugin entry from your profile `cordis.patch.yml` if you overrode it.
30
-
31
-
32
- ## Contents
33
-
34
- - **remotion-best-practices** (router hub) + 11 domain skills (captions/create/docs/interactivity/maps/markup/multimedia/render/saas/studio/upgrade), synced from official Remotion v4.0.529
35
-
36
- ## Requirements
37
-
38
- Node.js ≥ 22 + npx (npm registry); rendering needs ffmpeg (guided by the skill itself).
39
-
40
- ## Porting notes
41
-
42
- Synced from the official `remotion-dev/skills` checkout at v4.0.529 (2026-09-25): upstream skill bodies are vendored as-is, including the embedded reference copies under `remotion-best-practices/` and `remotion-markup/`, with `scripts/sync-skills.mjs` making the port repeatable and checkable. Only the frontmatter is ours (`name`/`description` plus the upstream `version`).
27
+ For the web version, replace `desktop` with `web`. Restart DSH after installation.
43
28
 
44
- ## Multi-harness
29
+ ## Start using it
45
30
 
46
- Skills use the open Agent Skills (SKILL.md) format — **not just DSH**. Copy the directories under `skills/` into another agent's skills directory:
31
+ Open Settings → Remotion → New video. Save your content, then upload media. Prepare the render environment on first use, inspect the official Studio preview, stop it and export MP4.
47
32
 
48
- | Agent | Skills directory |
49
- | :-- | :-- |
50
- | Claude Code | `~/.claude/skills/` |
51
- | Cursor | `.cursor/skills/` (or project-local `skills/`) |
52
- | Gemini CLI | `~/.gemini/skills/` |
53
- | OpenAI Codex | `~/.codex/skills/` |
33
+ Ask: “Make a Remotion video from these assets, preview it in Studio, then export MP4.”
54
34
 
55
- Port once, use everywhere.
35
+ ## Requirements and configuration
56
36
 
37
+ The plugin preserves upstream skills and adds a local workbench. First use needs Node.js 22.19+ / 24+ and npm; Remotion retains its [official license](https://www.remotion.dev/license). Dependencies are downloaded only when you explicitly prepare the environment.
57
38
 
58
- ## Health checks and reloads
39
+ Detailed configuration, tool arguments and troubleshooting are in the [usage guide](docs/USAGE.en.md). For standalone development, follow the Node requirement in [package.json](package.json).
59
40
 
60
- `remotion_health` rereads every `SKILL.md`, verifies readable files, valid YAML frontmatter, names matching their directories, and nonempty descriptions/bodies, then queries the host's `skills.get`. The effective name, description, body and resource directory must match this plugin instance's loaded snapshot. Existing files alone do not prove successful or still-active registration.
61
-
62
- Health checks do not mutate files or registrations. After changing a file or repairing one that failed initial loading, reload the plugin (or restart DSH). The result reports `changed`, `not_registered` or `registration_failed` until then. A previously loaded file that was temporarily missing becomes healthy again if its exact original content is restored and its registration remains active.
63
-
64
- Each item retains `name / ok / detail` and adds `code / fileOk / registered / registryChecked / reloadRequired`. `registered` means the registry still matches the loaded version, so a changed file can have `registered: true` and `ok: false`. Missing or failed registry lookup produces `registry_unavailable`; a disposed plugin produces `disposed`. The public `checkBundledSkills()` is disk-only, while the original non-throwing `parseSkillFile()` helper remains available.
65
-
66
- ## Development and shared implementation
67
-
68
- `src/index.ts` declares only package identity, skill names and the resource directory. Parsing, validation, registration and health logic live in `src/skill-bundle.ts`. The canonical source is in `dsh-hyperframes`; Remotion carries an identical version-controlled copy. Each package builds and ships its own `lib/skill-bundle.js`, with no cross-package runtime dependency and no sibling checkout required for building or installation.
69
-
70
- With dependencies already installed:
71
-
72
- ```bash
73
- node node_modules/typescript/bin/tsc -p tsconfig.json
74
- node --test "test/*.test.mjs"
75
- ```
76
-
77
- When developing the sibling repositories together, edit the shared module and regression tests in HyperFrames, then synchronize:
78
-
79
- ```bash
80
- # Run in dsh-hyperframes; updates only three shared files in sibling dsh-remotion
81
- node scripts/sync-skill-bundle.mjs
82
- node scripts/sync-skill-bundle.mjs --check
83
- ```
41
+ ## Documentation
84
42
 
85
- Both suites compare shared source and regression tests to prevent drift. A standalone checkout skips only that cross-repository comparison. Tests cover invalid YAML, unreadable files, empty bodies, rejected/inactive registrations, file changes and repairs, disposal races and cleanup failures, without invoking video or speech services.
43
+ - [Usage and troubleshooting](docs/USAGE.en.md)
44
+ - [Changelog](CHANGELOG.md)
45
+ - [Validation scope and history](docs/VALIDATION.md)
46
+ - [Report a problem or suggest a feature](https://github.com/STARDUSTLC666/dsh-remotion/issues)
86
47
 
87
48
  ## License
88
49
 
89
- MIT for the porting arrangement; skill content copyright remains with Remotion.
50
+ [MIT](LICENSE). Upstream skill licensing is documented in the usage guide.
package/README.md CHANGED
@@ -1,92 +1,50 @@
1
- [English](README.en.md)
2
-
3
1
  # dsh-remotion
4
2
 
5
- > **在 20+ 个 agent 里写视频**:Remotion 官方技能,React 编程式视频。
6
-
7
- ![npm version](https://img.shields.io/npm/v/dsh-remotion?label=npm&color=blue) ![npm downloads](https://img.shields.io/npm/dm/dsh-remotion) ![license](https://img.shields.io/npm/l/dsh-remotion) ![stars](https://img.shields.io/github/stars/STARDUSTLC666/dsh-remotion?style=social)
3
+ [English](README.en.md)
8
4
 
9
- [![Awesome DSH Plugin](https://awesome-dsh-plugin.com/badge.svg)](https://awesome-dsh-plugin.com)
5
+ 把 Remotion 的 React 视频创作技能接入 DSH。
10
6
 
7
+ [![npm](https://img.shields.io/npm/v/dsh-remotion)](https://www.npmjs.com/package/dsh-remotion) [![downloads](https://img.shields.io/npm/dm/dsh-remotion)](https://www.npmjs.com/package/dsh-remotion)
11
8
 
12
- DSH(DeepSeek Harness)视频创作技能插件:**安装即把 Remotion 官方移植技能注册进 DSH**(React 编程式视频:动画、音频、字幕、3D、图表、字体等;同步 Remotion 官方 v4.0.529 的 12 技能结构)。
9
+ ## 功能
13
10
 
14
- ## 兼容性
11
+ - 设置页视频工作台:选模板、编辑内容、上传素材,在官方 Studio 预览并导出本机 MP4。
12
+ - 提供标题卡、产品介绍、图文轮播;支持横屏、竖屏和正方形。
13
+ - 保留可编辑工程备份、渲染记录与取消操作;工程修改后提醒重新导出。
15
14
 
16
- 验证宿主:官方源码构建的 Harness `0.2.0-rc.1`(commit `407e65c8`)+ Node `24.16.0`(2026-09-28)。23 项插件测试在隔离环境全部通过;同一个宿主里 18 个插件共同加载,注册 12 个技能、1 个工具,工具 schema 与健康检查契约通过。本轮未启用真实端口与外部服务。
15
+ - 提供动画、音频、字幕、图表和 3D 场景指引。
16
+ - 覆盖项目创建、Studio 预览与渲染流程。
17
+ - 保留官方技能内容与运行时自检。
17
18
 
18
19
  ## 安装
19
20
 
20
- ```bash
21
- dsh plugin --profile web add dsh-remotion
22
- ```
23
-
24
- 重启后说「用 Remotion 做个视频」即可触发。
25
-
26
- ## 卸载
21
+ 桌面版可在「插件」面板按包名 `dsh-remotion` 安装。已配置 dsh 命令时也可使用:
27
22
 
28
23
  ```bash
29
- dsh plugin --profile web remove dsh-remotion
24
+ dsh plugin --profile desktop add dsh-remotion
30
25
  ```
31
26
 
32
- 卸载后重启 Web 服务。如需彻底清理,可再手动删除自己 profile `cordis.patch.yml` 中覆盖的插件行。
33
-
34
-
35
- ## 技能内容
36
-
37
- - **remotion-best-practices**(总纲路由)+ 11 个领域技能(captions/create/docs/interactivity/maps/markup/multimedia/render/saas/studio/upgrade),同步自 Remotion 官方 v4.0.529
38
-
39
- ## 依赖
40
-
41
- Node.js ≥ 22 + npx(npm registry);渲染需 ffmpeg(Remotion 自带指引)。
42
-
43
- ## 移植说明
27
+ 网页版把命令中的 `desktop` 改为 `web`。安装后重启 DSH。
44
28
 
45
- 技能同步自官方 `remotion-dev/skills` 检出 v4.0.529(2026-09-25):上游正文原样引入(含 `remotion-best-practices/`、`remotion-markup/` 下的内嵌引用副本),仅把 frontmatter 换成本包的 `name`/`description` + 上游 `version`;`scripts/sync-skills.mjs` 让移植可复现、可校验(`--check`)。
29
+ ## 开始使用
46
30
 
47
- ## 跨平台使用
31
+ 打开「设置 → Remotion」→「新建视频」,填写内容并保存,再上传素材。首次点击「准备渲染环境」下载依赖,完成后启动官方预览,检查画面、停止预览,再导出 MP4。
48
32
 
49
- 技能采用开放的 Agent Skills(SKILL.md)格式,**不止 DSH 能用**——把 `skills/` 下的目录复制到其他 agent 的技能目录即可:
33
+ 可说:“用 Remotion 把这些素材做成视频,先在 Studio 预览,再导出 MP4。”
50
34
 
51
- | Agent | 技能目录 |
52
- | :-- | :-- |
53
- | Claude Code | `~/.claude/skills/` |
54
- | Cursor | `.cursor/skills/`(或项目内 `skills/`)|
55
- | Gemini CLI | `~/.gemini/skills/` |
56
- | OpenAI Codex | `~/.codex/skills/` |
35
+ ## 依赖与配置
57
36
 
58
- 一次移植,处处可用。
37
+ 插件保留上游技能,并新增本地视频工作台。首次使用需 Node.js 22.19+ / 24+ 与 npm;Remotion 渲染器的使用条件见 [官方许可证](https://www.remotion.dev/license)。不会在 DSH 启动时自动下载依赖。
59
38
 
39
+ 详细配置、工具参数与排错见[使用说明](docs/USAGE.md)。从源码独立开发时,Node 要求以 [package.json](package.json) 为准。
60
40
 
61
- ## 技能自检与重载
62
-
63
- 运行 `remotion_health` 会重新读取每个 `SKILL.md`,验证文件可读、YAML frontmatter 合法、名称与目录一致、描述与正文非空,再通过宿主 `skills.get` 确认实际生效的名称、描述、正文和资源目录与本次加载内容相符。文件存在但未注册、注册失败或后来被移除时,自检都会失败。
64
-
65
- 自检不修改文件或注册表。修改技能文件,或修复加载时损坏的技能后,应重载插件(也可重启 DSH)。它会报告 `changed`、`not_registered` 或 `registration_failed`,不会把磁盘修复直接当成运行时修复。若原先已成功加载,只是文件暂时丢失,恢复与加载时完全相同的内容即可重新通过检查。
66
-
67
- 每项结果保留 `name / ok / detail`,并增加 `code / fileOk / registered / registryChecked / reloadRequired`:`registered` 表示注册表仍匹配加载时的版本,因此文件变更时它可以为 true 而 `ok` 为 false。缺少或无法查询宿主注册表时返回 `registry_unavailable`;插件卸载后返回 `disposed`。`checkBundledSkills()` 仅检查磁盘文件,不推断运行时状态;原有不抛错的 `parseSkillFile()` 解析入口保持可用。
68
-
69
- ## 开发与共享实现
70
-
71
- `src/index.ts` 只声明包名、技能清单和目录,解析、校验、注册与自检集中在包内 `src/skill-bundle.ts`。规范源位于 `dsh-hyperframes/src/skill-bundle.ts`,Remotion 保存相同的受版本控制副本;两包都编译并分发自己的 `lib/skill-bundle.js`,没有跨包运行时依赖,也不需要另一个仓库即可构建或安装。
72
-
73
- 依赖预先安装后,可直接离线构建和测试:
74
-
75
- ```bash
76
- node node_modules/typescript/bin/tsc -p tsconfig.json
77
- node --test "test/*.test.mjs"
78
- ```
79
-
80
- 两个仓库并列开发时,在 HyperFrames 修改公共模块与公共回归测试,再同步:
81
-
82
- ```bash
83
- # 在 dsh-hyperframes 中执行;只更新相邻 dsh-remotion 的三个公共文件
84
- node scripts/sync-skill-bundle.mjs
85
- node scripts/sync-skill-bundle.mjs --check
86
- ```
41
+ ## 文档
87
42
 
88
- 两包测试都会检查公共源码与回归测试是否一致,防止副本漂移;单独检出时只跳过跨仓库比对,其余测试正常运行。测试覆盖损坏 YAML、不可读文件、空正文、注册异常/失效、内容变更与修复、卸载及清理异常,全程不调用视频或语音服务。
43
+ - [使用与排错](docs/USAGE.md)
44
+ - [更新记录](CHANGELOG.md)
45
+ - [验证范围与历史记录](docs/VALIDATION.md)
46
+ - [问题反馈与功能建议](https://github.com/STARDUSTLC666/dsh-remotion/issues)
89
47
 
90
48
  ## License
91
49
 
92
- MIT(移植编排);技能内容版权归 Remotion。
50
+ [MIT](LICENSE)。上游技能内容的来源和许可证见使用说明。
@@ -0,0 +1,93 @@
1
+ # dsh-remotion usage guide
2
+
3
+ [Overview](../README.en.md) · [Changelog](../CHANGELOG.md) · [Validation](VALIDATION.md)
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ dsh plugin --profile web add dsh-remotion
9
+ ```
10
+
11
+ After restarting, say "make a video with Remotion" to trigger it.
12
+
13
+ ## Uninstall
14
+
15
+ ```bash
16
+ dsh plugin --profile web remove dsh-remotion
17
+ ```
18
+
19
+ Then restart the web service. To clean up fully, also remove the plugin entry from your profile `cordis.patch.yml` if you overrode it.
20
+
21
+ ## Video workbench
22
+
23
+ Open Settings → Remotion in DSH Web or Desktop.
24
+
25
+ 1. Create a video. Select title card, product card or slideshow; set title/body, canvas and 3–30 seconds, then save.
26
+ 2. Upload local PNG/JPEG copies, one MP3/WAV background audio and one muted MP4 background video. Limits: 20 MB each, 40 MB total. Slideshow follows upload order and needs at least two seconds per image.
27
+ 3. Explicitly prepare the environment. It downloads official CLI 4.0.532; installed Chrome is reused, with a browser download only when needed. You can continue editing during preparation. Check the [official Remotion license](https://www.remotion.dev/license) for your use case.
28
+ 4. Start official Studio and inspect the picture. Stop this preview before editing or exporting; no window opens automatically.
29
+ 5. Export, play and download MP4. Editing preserves earlier MP4s with a revision warning; export again for a new output.
30
+
31
+ The editable ZIP includes source, data and media. Extract it, run npm install and npm run preview / render. Original template code is MIT; engines retain their own licenses. ZIP import is not yet available in settings.
32
+
33
+ Projects and caches stay in DSH_HOME/data/dsh-remotion. Original assets and existing user projects are untouched. Closing settings preserves input within this page; saved projects survive restart, while active jobs stop with DSH. Jobs can be cancelled. Tools: remotion_project (list/create/get/update), remotion_render (prepare/preview/render/job/cancel). Updates/rendering need id/revision; job/cancel need job id.
34
+
35
+ This is template editing, without a full timeline, transcription, TTS or cloud rendering. Default: 24 FPS, maximum 200 MB MP4. Preview listens on 127.0.0.1 only; other users on the same machine may still reach the service.
36
+
37
+ ## Contents
38
+
39
+ - **remotion-best-practices** (router hub) + 11 domain skills (captions/create/docs/interactivity/maps/markup/multimedia/render/saas/studio/upgrade), synced from official Remotion v4.0.529
40
+
41
+ ## Requirements
42
+
43
+ Node.js `^22.19.0 || >=24.0.0` + npx (npm registry); rendering needs ffmpeg (guided by the skill itself).
44
+
45
+ ## Porting notes
46
+
47
+ Synced from the official `remotion-dev/skills` checkout at v4.0.529 (2026-09-25): upstream skill bodies are vendored as-is, including the embedded reference copies under `remotion-best-practices/` and `remotion-markup/`, with `scripts/sync-skills.mjs` making the port repeatable and checkable. Only the frontmatter is ours (`name`/`description` plus the upstream `version`).
48
+
49
+ ## Multi-harness
50
+
51
+ Skills use the open Agent Skills (SKILL.md) format — **not just DSH**. Copy the directories under `skills/` into another agent's skills directory:
52
+
53
+ | Agent | Skills directory |
54
+ | :-- | :-- |
55
+ | Claude Code | `~/.claude/skills/` |
56
+ | Cursor | `.cursor/skills/` (or project-local `skills/`) |
57
+ | Gemini CLI | `~/.gemini/skills/` |
58
+ | OpenAI Codex | `~/.codex/skills/` |
59
+
60
+ Port once, use everywhere.
61
+
62
+ ## Health checks and reloads
63
+
64
+ `remotion_health` rereads every `SKILL.md`, verifies readable files, valid YAML frontmatter, names matching their directories, and nonempty descriptions/bodies, then queries the host's `skills.get`. The effective name, description, body and resource directory must match this plugin instance's loaded snapshot. Existing files alone do not prove successful or still-active registration.
65
+
66
+ Health checks do not mutate files or registrations. After changing a file or repairing one that failed initial loading, reload the plugin (or restart DSH). The result reports `changed`, `not_registered` or `registration_failed` until then. A previously loaded file that was temporarily missing becomes healthy again if its exact original content is restored and its registration remains active.
67
+
68
+ Each item retains `name / ok / detail` and adds `code / fileOk / registered / registryChecked / reloadRequired`. `registered` means the registry still matches the loaded version, so a changed file can have `registered: true` and `ok: false`. Missing or failed registry lookup produces `registry_unavailable`; a disposed plugin produces `disposed`. The public `checkBundledSkills()` is disk-only, while the original non-throwing `parseSkillFile()` helper remains available.
69
+
70
+ ## Development and shared implementation
71
+
72
+ `src/index.ts` declares only package identity, skill names and the resource directory. Parsing, validation, registration and health logic live in `src/skill-bundle.ts`. The canonical source is in `dsh-hyperframes`; Remotion carries an identical version-controlled copy. Each package builds and ships its own `lib/skill-bundle.js`, with no cross-package runtime dependency and no sibling checkout required for building or installation.
73
+
74
+ With dependencies already installed:
75
+
76
+ ```bash
77
+ node node_modules/typescript/bin/tsc -p tsconfig.json
78
+ node --test "test/*.test.mjs"
79
+ ```
80
+
81
+ When developing the sibling repositories together, edit the shared module and regression tests in HyperFrames, then synchronize:
82
+
83
+ ```bash
84
+ # Run in dsh-hyperframes; updates only three shared files in sibling dsh-remotion
85
+ node scripts/sync-skill-bundle.mjs
86
+ node scripts/sync-skill-bundle.mjs --check
87
+ ```
88
+
89
+ Both suites compare shared source and regression tests to prevent drift. A standalone checkout skips only that cross-repository comparison. Tests cover invalid YAML, unreadable files, empty bodies, rejected/inactive registrations, file changes and repairs, disposal races and cleanup failures, without invoking video or speech services.
90
+
91
+ ## License
92
+
93
+ MIT for the porting arrangement; skill content copyright remains with Remotion.
package/docs/USAGE.md ADDED
@@ -0,0 +1,97 @@
1
+ # dsh-remotion 使用说明
2
+
3
+ [返回简介](../README.md) · [更新记录](../CHANGELOG.md) · [验证记录](VALIDATION.md)
4
+
5
+ ## 安装
6
+
7
+ ```bash
8
+ dsh plugin --profile web add dsh-remotion
9
+ ```
10
+
11
+ 重启后说「用 Remotion 做个视频」即可触发。
12
+
13
+ ## 卸载
14
+
15
+ ```bash
16
+ dsh plugin --profile web remove dsh-remotion
17
+ ```
18
+
19
+ 卸载后重启 Web 服务。如需彻底清理,可再手动删除自己 profile `cordis.patch.yml` 中覆盖的插件行。
20
+
21
+ ## 视频工作台
22
+
23
+ 在桌面或 Web 的「设置 → Remotion」中操作:
24
+
25
+ 1. 新建视频,选择标题卡、产品介绍或图文轮播,填写标题/正文、画幅和 3–30 秒时长,明确保存。
26
+ 2. 上传 PNG/JPEG、一个背景音频(MP3/WAV)、一个静音背景视频(MP4)的副本。每个文件最多 20 MB、总计 40 MB;轮播按上传顺序,每张至少两秒。
27
+ 3. 首次点击「准备渲染环境」。此时下载固定版本官方 CLI 4.0.532,优先使用已安装的 Chrome,没有时再下载浏览器;可以继续编辑工程。下载失败保留工程,查看运行记录后重试。使用前确认 [Remotion 官方许可证](https://www.remotion.dev/license)适合你的用途。
28
+ 4. 启动官方 Studio,检查画面。停止本次预览后再编辑或导出;不会自动打开或占用前台窗口。
29
+ 5. 导出 MP4、在工作台播放并下载。工程更新后保留旧成品并显示旧修订提醒;再次导出即可生成新成片。
30
+
31
+ 「备份可编辑工程」包含源代码、项目数据和素材。解压后按 README 使用 npm install、npm run preview / render;原模板代码 MIT,渲染器保留自己的许可证。
32
+
33
+ 工程、素材、运行目录和依赖缓存默认位于 DSH_HOME/data/dsh-remotion,两个插件分别保存。使用同一个 DSH_HOME 的 Web 与桌面 profile 共享这些已保存工程。不会改写原始素材或用户已有视频工程。关闭设置后,当前输入和任务状态保留在本次页面;刷新页面会提示未保存输入,已保存工程长期保留。任务可取消,关闭 DSH 会停止本插件任务。备份 ZIP 目前不支持在设置页导回。
34
+
35
+ 智能体工具:remotion_project(list/create/get/update);remotion_render(prepare/preview/render/job/cancel)。渲染与更新需要工程 id 和当前 revision;查询/取消使用 job id。工具不会默认下载依赖。
36
+
37
+ ## 使用限制
38
+
39
+ 本轮为轻量模板编辑,尚不提供时间轴编辑、字幕转写、TTS 或云端渲染。外部链接不能作为素材路径;请先保存到本地再上传。默认 24 FPS,成品上限 200 MB。预览仅监听 127.0.0.1,属于本机服务;多用户机器仍需考虑同机访问。
40
+
41
+ ## 技能内容
42
+
43
+ - **remotion-best-practices**(总纲路由)+ 11 个领域技能(captions/create/docs/interactivity/maps/markup/multimedia/render/saas/studio/upgrade),同步自 Remotion 官方 v4.0.529
44
+
45
+ ## 依赖
46
+
47
+ Node.js `^22.19.0 || >=24.0.0` + npx(npm registry);渲染需 ffmpeg(Remotion 自带指引)。
48
+
49
+ ## 移植说明
50
+
51
+ 技能同步自官方 `remotion-dev/skills` 检出 v4.0.529(2026-09-25):上游正文原样引入(含 `remotion-best-practices/`、`remotion-markup/` 下的内嵌引用副本),仅把 frontmatter 换成本包的 `name`/`description` + 上游 `version`;`scripts/sync-skills.mjs` 让移植可复现、可校验(`--check`)。
52
+
53
+ ## 跨平台使用
54
+
55
+ 技能采用开放的 Agent Skills(SKILL.md)格式,**不止 DSH 能用**——把 `skills/` 下的目录复制到其他 agent 的技能目录即可:
56
+
57
+ | Agent | 技能目录 |
58
+ | :-- | :-- |
59
+ | Claude Code | `~/.claude/skills/` |
60
+ | Cursor | `.cursor/skills/`(或项目内 `skills/`)|
61
+ | Gemini CLI | `~/.gemini/skills/` |
62
+ | OpenAI Codex | `~/.codex/skills/` |
63
+
64
+ 一次移植,处处可用。
65
+
66
+ ## 技能自检与重载
67
+
68
+ 运行 `remotion_health` 会重新读取每个 `SKILL.md`,验证文件可读、YAML frontmatter 合法、名称与目录一致、描述与正文非空,再通过宿主 `skills.get` 确认实际生效的名称、描述、正文和资源目录与本次加载内容相符。文件存在但未注册、注册失败或后来被移除时,自检都会失败。
69
+
70
+ 自检不修改文件或注册表。修改技能文件,或修复加载时损坏的技能后,应重载插件(也可重启 DSH)。它会报告 `changed`、`not_registered` 或 `registration_failed`,不会把磁盘修复直接当成运行时修复。若原先已成功加载,只是文件暂时丢失,恢复与加载时完全相同的内容即可重新通过检查。
71
+
72
+ 每项结果保留 `name / ok / detail`,并增加 `code / fileOk / registered / registryChecked / reloadRequired`:`registered` 表示注册表仍匹配加载时的版本,因此文件变更时它可以为 true 而 `ok` 为 false。缺少或无法查询宿主注册表时返回 `registry_unavailable`;插件卸载后返回 `disposed`。`checkBundledSkills()` 仅检查磁盘文件,不推断运行时状态;原有不抛错的 `parseSkillFile()` 解析入口保持可用。
73
+
74
+ ## 开发与共享实现
75
+
76
+ `src/index.ts` 只声明包名、技能清单和目录,解析、校验、注册与自检集中在包内 `src/skill-bundle.ts`。规范源位于 `dsh-hyperframes/src/skill-bundle.ts`,Remotion 保存相同的受版本控制副本;两包都编译并分发自己的 `lib/skill-bundle.js`,没有跨包运行时依赖,也不需要另一个仓库即可构建或安装。
77
+
78
+ 依赖预先安装后,可直接离线构建和测试:
79
+
80
+ ```bash
81
+ node node_modules/typescript/bin/tsc -p tsconfig.json
82
+ node --test "test/*.test.mjs"
83
+ ```
84
+
85
+ 两个仓库并列开发时,在 HyperFrames 修改公共模块与公共回归测试,再同步:
86
+
87
+ ```bash
88
+ # 在 dsh-hyperframes 中执行;只更新相邻 dsh-remotion 的三个公共文件
89
+ node scripts/sync-skill-bundle.mjs
90
+ node scripts/sync-skill-bundle.mjs --check
91
+ ```
92
+
93
+ 两包测试都会检查公共源码与回归测试是否一致,防止副本漂移;单独检出时只跳过跨仓库比对,其余测试正常运行。测试覆盖损坏 YAML、不可读文件、空正文、注册异常/失效、内容变更与修复、卸载及清理异常,全程不调用视频或语音服务。
94
+
95
+ ## License
96
+
97
+ MIT(移植编排);技能内容版权归 Remotion。
@@ -0,0 +1,24 @@
1
+ # dsh-remotion 验证记录
2
+
3
+ [0.4.1 中英文界面验收](validation-language-2026-10-03.md)。
4
+
5
+ 本页整理原 README 的历史验证说明,保留当时的版本、日期与范围。自动测试、启动检查、浏览器操作和真实服务验收分别记录,不能相互替代。更详细的版本验收文件仍保留在仓库中。
6
+
7
+ ## 0.4.0 视频工作台(2026-10-03)
8
+
9
+ - Windows、Node 24.16.0:39 项测试全部通过,无跳过。覆盖工程修订冲突、素材限制、快照、路径与请求校验、渲染失败、取消及退出清理。
10
+ - 官方 Harness 0.2.0-rc.2(639ed01)Web:实际完成新建、保存、上传图片/音频/背景视频、准备环境、启动/停止官方 Studio、导出、播放及下载源工程和 MP4。关闭设置后未保存输入保留;并发修改会提示冲突,明确放弃后才读取新版本。中文/英文和 390px 窄窗口均检查。
11
+ - 官方 Remotion 4.0.532:实际生成标题卡 1280×720 和产品介绍 720×720 两份 H.264/AAC MP4,均为约 6 秒、24 FPS、144 帧。检查成片中文、图片与背景视频,并在浏览器播放到结尾。Studio 检查了画布、帧率、时长和时间轴。
12
+ - 原素材保留,上传的是工作台副本;旧成片按其实际修订展示。导出失败不产生成功收据。
13
+ - 生产依赖审计使用官方 npm registry,结果为 0 项漏洞;不把自动测试或网页验收当作原生桌面窗口操作验收。
14
+ - 官方公开 npm 安装的 Harness 0.2.1-alpha.1:18 个独立插件同载的注册与输出检查通过(109 个工具、35 个技能、TypeScript/Python PTC 声明);保存的工作台工程和环境正常恢复,并再次实际导出 720×720 的产品介绍 MP4。
15
+
16
+ 边界:这一版本的新工作台尚未在原生桌面窗口中逐项操作;Linux/macOS 的真实浏览器渲染、任意长文本与用户自有素材的最终成片不属于本次验收。原始模板为 MIT,Remotion 依赖遵循它自己的许可条件。
17
+
18
+ ## 原中文记录
19
+
20
+ 验证宿主:官方源码构建的 Harness `0.2.0-rc.1`(commit `407e65c8`)+ Node `24.16.0`(2026-09-28)。23 项插件测试在隔离环境全部通过;同一个宿主里 18 个插件共同加载,注册 12 个技能、1 个工具,工具 schema 与健康检查契约通过。本轮未启用真实端口与外部服务。
21
+
22
+ ## Original English record
23
+
24
+ Validation host: Harness `0.2.0-rc.1` built from official sources (commit `407e65c8`) with Node `24.16.0` on 2026-09-28. All 23 plugin tests pass in an isolated environment; all 18 plugins mount together in one host registering 12 skills and 1 tools, with tool schemas and health-check contracts passing. No live ports or external services were exercised in this round.
@@ -0,0 +1,16 @@
1
+ # 0.4.1:中英文界面验收
2
+
3
+ 2026-10-03,Windows / Node 24.16.0。采用 E 盘独立 DSH_HOME、合成资料与无密钥 profile;用户资料、账号、密钥、桌面窗口与 VPN 保持原状。
4
+
5
+ - 自动测试:39 项全部通过。
6
+ - 可见 Web 操作:英文界面超长标题保存被拒绝,提示说明 72 字符上限并保留输入;改为合法中文标题后成功保存。中文界面恢复同一修订的项目和正文。
7
+ - 宿主:官方 DSH 0.2.1-alpha.1 Web;官方 RC2 与 alpha SDK 同载 18 组件,110 工具、35 插件技能、19 输出样例注册与 schema 检查通过。无账号的健康结果不代表真实连接。
8
+ - 边界:本轮没有重新渲染 MP4,渲染和 Studio 的实际验收见 0.4.0 记录。原始引擎日志保持原文。
9
+
10
+ 中英文共用同一份资料;界面翻译不会改写标题、正文、路径、引用或项目文件。系统文件选择控件和文件对话框跟随 Windows / 浏览器语言。未知技术诊断与原始引擎日志保留原文;英文界面提供操作恢复引导。
11
+
12
+ 此记录不代表原生桌面窗口内的新功能已逐项操作通过。发布包完整性、GitHub CI 与公开 npm 全新安装在发布时另行核对。
13
+
14
+ ## English scope
15
+
16
+ The Chinese and English UI share the same data. UI translation preserves original content, paths and project files. Visible interactions were performed in an isolated official alpha Web profile; both RC2 and alpha SDK registration/schema checks passed. Native file controls use the OS/browser language, and original diagnostic logs are retained. Browser results do not certify native desktop interaction or real-service delivery.