@automovie/template 0.1.0 → 0.3.0

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 (784) hide show
  1. package/README.md +14 -18
  2. package/generated/pnpm-workspace.json +54 -0
  3. package/generated/skills/3d-modeling/conditioning.md +87 -0
  4. package/generated/skills/3d-modeling/crafting/SKILL.md +16 -0
  5. package/generated/skills/3d-modeling/crafting/construction.md +63 -0
  6. package/generated/skills/3d-modeling/crafting/lofting.md +75 -0
  7. package/generated/skills/3d-modeling/crafting/recovery.md +25 -0
  8. package/generated/skills/3d-modeling/diffusion/image-hints.md +30 -0
  9. package/generated/skills/3d-modeling/diffusion/models.md +43 -0
  10. package/generated/skills/3d-modeling/diffusion/prompts.md +9 -0
  11. package/generated/skills/3d-modeling/diffusion/request.md +18 -0
  12. package/generated/skills/3d-modeling/diffusion/shape-hints.md +33 -0
  13. package/generated/skills/3d-modeling/inspection.md +57 -0
  14. package/generated/skills/3d-modeling/modularization.md +25 -0
  15. package/generated/skills/3d-modeling/rigging.md +100 -0
  16. package/generated/skills/3d-modeling/sources.md +29 -0
  17. package/generated/skills/contracts/development/common.md +13 -0
  18. package/generated/skills/contracts/development/design.md +27 -0
  19. package/generated/skills/contracts/development/implementation.md +49 -0
  20. package/generated/skills/contracts/development/testing.md +27 -0
  21. package/generated/skills/development/repair.md +11 -0
  22. package/generated/skills/documentation/SKILL.md +19 -0
  23. package/generated/skills/documentation/writing.md +85 -0
  24. package/generated/skills/motion/laws/authoring.md +45 -0
  25. package/generated/skills/motion/laws/contacts.md +41 -0
  26. package/generated/skills/motion/laws/declaration.md +25 -0
  27. package/generated/skills/motion/laws/transitions.md +39 -0
  28. package/generated/skills/motion/laws/variation.md +23 -0
  29. package/generated/skills/motion/laws/verification.md +32 -0
  30. package/generated/skills/prompting/SKILL.md +100 -0
  31. package/generated/skills/visual-debugging/capture.md +64 -0
  32. package/{lib → generated}/skills/visual-debugging/comparison.md +7 -9
  33. package/generated/skills/visual-debugging/correction-rounds.md +25 -0
  34. package/generated/skills/visual-debugging/passes.md +29 -0
  35. package/generated/skills/visual-debugging/rendering-cost.md +5 -0
  36. package/lib/IAutoMovieScaffoldProps.d.ts +14 -6
  37. package/lib/assertScaffoldProjectName.d.ts +1 -1
  38. package/lib/assertScaffoldProjectName.js +1 -1
  39. package/lib/createAutoMovieScaffold.d.ts +27 -0
  40. package/lib/createAutoMovieScaffold.js +127 -0
  41. package/lib/createAutoMovieScaffold.js.map +1 -0
  42. package/lib/index.d.ts +2 -45
  43. package/lib/index.js +2 -45
  44. package/lib/index.js.map +1 -1
  45. package/lib/listAutoMovieScaffoldFiles.d.ts +2 -2
  46. package/lib/listAutoMovieScaffoldFiles.js +2 -2
  47. package/lib/renderAutoMovieWorkspace.d.ts +22 -0
  48. package/lib/renderAutoMovieWorkspace.js +141 -0
  49. package/lib/renderAutoMovieWorkspace.js.map +1 -0
  50. package/package.json +9 -12
  51. package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +22 -18
  52. package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +8 -10
  53. package/scaffold/instructions/.agents/skills/3d-modeling/diffusion/SKILL.md +24 -0
  54. package/scaffold/instructions/.agents/skills/audio/SKILL.md +11 -22
  55. package/scaffold/instructions/.agents/skills/audio/acquisition.md +22 -12
  56. package/scaffold/instructions/.agents/skills/audio/diffusion/SKILL.md +18 -0
  57. package/scaffold/instructions/.agents/skills/audio/diffusion/cloning.md +25 -0
  58. package/scaffold/instructions/.agents/skills/audio/diffusion/models.md +59 -0
  59. package/scaffold/instructions/.agents/skills/audio/diffusion/prompts.md +45 -0
  60. package/scaffold/instructions/.agents/skills/audio/film-sound.md +27 -0
  61. package/scaffold/instructions/.agents/skills/audio/generated-sound.md +17 -0
  62. package/scaffold/instructions/.agents/skills/audio/listening.md +13 -0
  63. package/scaffold/instructions/.agents/skills/audio/sound-effects.md +11 -17
  64. package/scaffold/instructions/.agents/skills/audio/soundtrack.md +7 -0
  65. package/scaffold/instructions/.agents/skills/automovie/SKILL.md +32 -0
  66. package/scaffold/instructions/.agents/skills/contracts/SKILL.md +6 -35
  67. package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +13 -13
  68. package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +20 -11
  69. package/scaffold/instructions/.agents/skills/contracts/development/composition.md +17 -10
  70. package/scaffold/instructions/.agents/skills/contracts/development/entities.md +10 -10
  71. package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +24 -26
  72. package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +19 -19
  73. package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +18 -18
  74. package/scaffold/instructions/.agents/skills/contracts/items.md +26 -0
  75. package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +36 -26
  76. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +3 -3
  77. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +3 -3
  78. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +2 -2
  79. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +2 -2
  80. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +2 -2
  81. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/settings.md +1 -1
  82. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +2 -2
  83. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +7 -7
  84. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +3 -3
  85. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +4 -4
  86. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +3 -3
  87. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +4 -4
  88. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +3 -3
  89. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +3 -3
  90. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +3 -7
  91. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +3 -7
  92. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +5 -5
  93. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +5 -5
  94. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +4 -4
  95. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +5 -5
  96. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +3 -7
  97. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +5 -5
  98. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +2 -6
  99. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +2 -6
  100. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +2 -6
  101. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +5 -5
  102. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +3 -7
  103. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +5 -5
  104. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/review.md +5 -5
  105. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +5 -9
  106. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +3 -7
  107. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +2 -6
  108. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +5 -5
  109. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +4 -9
  110. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +9 -11
  111. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +2 -4
  112. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +3 -6
  113. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +4 -6
  114. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +5 -9
  115. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +3 -5
  116. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +38 -48
  117. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +7 -10
  118. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +4 -6
  119. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +5 -10
  120. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +12 -13
  121. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +4 -7
  122. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +13 -13
  123. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +15 -17
  124. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +6 -6
  125. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +16 -18
  126. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +16 -22
  127. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +8 -13
  128. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +7 -10
  129. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +29 -24
  130. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +13 -17
  131. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +9 -19
  132. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +4 -9
  133. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +7 -8
  134. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +30 -28
  135. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +10 -11
  136. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +18 -20
  137. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +14 -28
  138. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +40 -47
  139. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +18 -20
  140. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +8 -26
  141. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +12 -19
  142. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +7 -10
  143. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +4 -7
  144. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +3 -6
  145. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +3 -3
  146. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +3 -3
  147. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +3 -3
  148. package/scaffold/instructions/.agents/skills/development/SKILL.md +14 -26
  149. package/scaffold/instructions/.agents/skills/development/entities.md +25 -21
  150. package/scaffold/instructions/.agents/skills/development/modules.md +31 -0
  151. package/scaffold/instructions/.agents/skills/development/source-layout.md +65 -41
  152. package/scaffold/instructions/.agents/skills/development/testing.md +12 -10
  153. package/scaffold/instructions/.agents/skills/evidence/SKILL.md +7 -7
  154. package/scaffold/instructions/.agents/skills/evidence/adoption.md +4 -4
  155. package/scaffold/instructions/.agents/skills/evidence/answering.md +3 -5
  156. package/scaffold/instructions/.agents/skills/evidence/configuration.md +8 -8
  157. package/scaffold/instructions/.agents/skills/image/SKILL.md +9 -62
  158. package/scaffold/instructions/.agents/skills/image/canon-references.md +37 -0
  159. package/scaffold/instructions/.agents/skills/image/diffusion/SKILL.md +23 -0
  160. package/scaffold/instructions/.agents/skills/image/diffusion/conditioning.md +29 -0
  161. package/scaffold/instructions/.agents/skills/image/diffusion/consistency.md +25 -0
  162. package/scaffold/instructions/.agents/skills/image/diffusion/editing.md +15 -0
  163. package/scaffold/instructions/.agents/skills/image/diffusion/finishing.md +11 -0
  164. package/scaffold/instructions/.agents/skills/image/diffusion/models.md +35 -0
  165. package/scaffold/instructions/.agents/skills/image/diffusion/prompting.md +27 -0
  166. package/scaffold/instructions/.agents/skills/image/turnaround-views.md +17 -0
  167. package/scaffold/instructions/.agents/skills/motion/SKILL.md +15 -48
  168. package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +25 -5
  169. package/scaffold/instructions/.agents/skills/motion/compose/composition.md +66 -0
  170. package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +15 -0
  171. package/scaffold/instructions/.agents/skills/motion/control-channels.md +25 -9
  172. package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +28 -0
  173. package/scaffold/instructions/.agents/skills/motion/diffusion/clips.md +31 -0
  174. package/scaffold/instructions/.agents/skills/motion/diffusion/hints.md +49 -0
  175. package/scaffold/instructions/.agents/skills/motion/diffusion/models.md +32 -0
  176. package/scaffold/instructions/.agents/skills/motion/diffusion/tracing.md +59 -0
  177. package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +9 -13
  178. package/scaffold/instructions/.agents/skills/motion/judgment.md +37 -0
  179. package/scaffold/instructions/.agents/skills/motion/laws/$verification.md +0 -0
  180. package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +19 -0
  181. package/scaffold/instructions/.agents/skills/motion/laws/extension.md +39 -0
  182. package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +51 -0
  183. package/scaffold/instructions/.agents/skills/motion/performance.md +11 -0
  184. package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +15 -15
  185. package/scaffold/instructions/.agents/skills/motion/retargeting.md +9 -11
  186. package/scaffold/instructions/.agents/skills/motion/segment-review.md +7 -7
  187. package/scaffold/instructions/.agents/skills/motion/staging.md +24 -14
  188. package/scaffold/instructions/.agents/skills/production/SKILL.md +11 -38
  189. package/scaffold/instructions/.agents/skills/production/assembly.md +19 -11
  190. package/scaffold/instructions/.agents/skills/production/captions.md +15 -0
  191. package/scaffold/instructions/.agents/skills/production/director.md +17 -0
  192. package/scaffold/instructions/.agents/skills/production/media-records.md +38 -15
  193. package/scaffold/instructions/.agents/skills/production/project-context.md +77 -14
  194. package/scaffold/instructions/.agents/skills/production/reorganization.md +13 -0
  195. package/scaffold/instructions/.agents/skills/production/stage-caches.md +9 -13
  196. package/scaffold/instructions/.agents/skills/production/sustained-runs.md +10 -10
  197. package/scaffold/instructions/.agents/skills/production/workflow.md +45 -0
  198. package/scaffold/instructions/.agents/skills/review/SKILL.md +10 -17
  199. package/scaffold/instructions/.agents/skills/review/delivery-review.md +50 -33
  200. package/scaffold/instructions/.agents/skills/review/estimation.md +35 -16
  201. package/scaffold/instructions/.agents/skills/review/independent-reading.md +12 -18
  202. package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +10 -36
  203. package/scaffold/instructions/.agents/skills/review/source-review.md +7 -23
  204. package/scaffold/instructions/.agents/skills/story/SKILL.md +10 -13
  205. package/scaffold/instructions/.agents/skills/story/answers.md +27 -0
  206. package/scaffold/instructions/.agents/skills/story/correction/inspection.md +10 -16
  207. package/scaffold/instructions/.agents/skills/story/correction/repair.md +18 -16
  208. package/scaffold/instructions/.agents/skills/story/document-layout.md +33 -21
  209. package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +12 -9
  210. package/scaffold/instructions/.agents/skills/story/layers/brief.md +5 -21
  211. package/scaffold/instructions/.agents/skills/story/layers/notation.md +27 -16
  212. package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +31 -7
  213. package/scaffold/instructions/.agents/skills/story/layers/scripts.md +5 -5
  214. package/scaffold/instructions/.agents/skills/story/layers/settings.md +28 -17
  215. package/scaffold/instructions/.agents/skills/story/layers/shots.md +27 -0
  216. package/scaffold/instructions/.agents/skills/story/layers/treatments.md +4 -4
  217. package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +7 -7
  218. package/scaffold/instructions/.agents/skills/story/planning/direction.md +5 -5
  219. package/scaffold/instructions/.agents/skills/story/planning/discovery.md +13 -10
  220. package/scaffold/instructions/.agents/skills/story/planning/requirements.md +13 -11
  221. package/scaffold/instructions/.agents/skills/story/planning/research.md +21 -11
  222. package/scaffold/instructions/.agents/skills/story/workflow/SKILL.md +15 -0
  223. package/scaffold/instructions/.agents/skills/story/workflow/long.md +42 -0
  224. package/scaffold/instructions/.agents/skills/story/workflow/routes.md +46 -0
  225. package/scaffold/instructions/.agents/skills/story/workflow/short.md +41 -0
  226. package/scaffold/instructions/.agents/skills/video/SKILL.md +9 -23
  227. package/scaffold/instructions/.agents/skills/video/diffusion/SKILL.md +21 -0
  228. package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +21 -0
  229. package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +31 -0
  230. package/scaffold/instructions/.agents/skills/video/diffusion/models.md +47 -0
  231. package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +53 -0
  232. package/scaffold/instructions/.agents/skills/video/direct-film.md +53 -0
  233. package/scaffold/instructions/.agents/skills/video/finishing.md +46 -0
  234. package/scaffold/instructions/.agents/skills/video/generated-film.md +24 -0
  235. package/scaffold/instructions/.agents/skills/video/generation.md +32 -13
  236. package/scaffold/instructions/.agents/skills/video/requests.md +46 -0
  237. package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +19 -18
  238. package/scaffold/instructions/AGENTS.md +44 -70
  239. package/scaffold/production/PROJECT.md +1 -1
  240. package/scaffold/production/README.md +44 -99
  241. package/scaffold/production/_gitignore +1 -2
  242. package/scaffold/production/index.html +4 -8
  243. package/scaffold/production/lint.config.ts +1 -1
  244. package/scaffold/production/package.json +31 -31
  245. package/scaffold/production/src/IFilm.ts +3 -3
  246. package/scaffold/production/src/IFilmProduction.ts +21 -6
  247. package/scaffold/production/src/composition/films/index.ts +3 -2
  248. package/scaffold/production/src/composition/films/starter.ts +2 -2
  249. package/scaffold/production/src/executable/physics.ts +8 -4
  250. package/scaffold/production/src/executable/recovery/node/artifact/archiveAutoMovieRecoveryModel.ts +4 -4
  251. package/scaffold/production/src/executable/recovery/node/artifact/createAutoMovieRecoveryArtifact.ts +5 -3
  252. package/scaffold/production/src/executable/recovery/node/artifact/writeAutoMovieRecoveryArtifact.ts +7 -7
  253. package/scaffold/production/src/executable/recovery/node/internal/readRecoveryCameraImages.ts +4 -2
  254. package/scaffold/production/src/executable/recovery/node/internal/recovery.ts +3 -3
  255. package/scaffold/production/src/executable/recovery/node/internal/recoveryImages.ts +3 -3
  256. package/scaffold/production/src/executable/recovery/node/internal/recoveryLocal.ts +4 -2
  257. package/scaffold/production/src/executable/recovery/node/internal/recoveryOpen.ts +2 -2
  258. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryContourFileMesh.ts +17 -18
  259. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryMeshSpool.ts +17 -18
  260. package/scaffold/production/src/executable/recovery/node/mesh/readAutoMovieRecoveryMeshFrontier.ts +4 -4
  261. package/scaffold/production/src/executable/recovery/node/publishAutoMovieRecoveryArtifact.ts +37 -21
  262. package/scaffold/production/src/executable/recovery/node/reconstruction/reconstructAutoMovieRecoveryLocal.ts +25 -15
  263. package/scaffold/production/src/executable/recovery/node/runAutoMovieRecoveryCommand.ts +1 -1
  264. package/scaffold/production/src/main.ts +9 -195
  265. package/scaffold/production/src/markFilmProduction.ts +43 -0
  266. package/scaffold/production/src/selectFilm.ts +3 -5
  267. package/scaffold/production/src/subjects.ts +65 -0
  268. package/scaffold/production/test/features/test_recovery_publication_cancellation.ts +129 -0
  269. package/scaffold/production/tsconfig.json +1 -2
  270. package/scaffold/production/vite.config.ts +16 -2
  271. package/scaffold/workspace/README.md +6 -8
  272. package/scaffold/workspace/package.json +1 -1
  273. package/src/IAutoMovieScaffoldProps.ts +15 -6
  274. package/src/assertScaffoldProjectName.ts +1 -1
  275. package/src/createAutoMovieScaffold.ts +115 -0
  276. package/src/index.ts +2 -46
  277. package/src/listAutoMovieScaffoldFiles.ts +2 -2
  278. package/src/renderAutoMovieWorkspace.ts +157 -0
  279. package/build/resolveTemplateVersions.ts +0 -92
  280. package/build/syncScaffoldInstructions.ts +0 -28
  281. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.d.ts +0 -14
  282. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js +0 -52
  283. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js.map +0 -1
  284. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.d.ts +0 -2
  285. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js +0 -42
  286. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js.map +0 -1
  287. package/lib/AutoMovieScaffoldLayer.d.ts +0 -15
  288. package/lib/AutoMovieScaffoldLayer.js +0 -3
  289. package/lib/AutoMovieScaffoldLayer.js.map +0 -1
  290. package/lib/FILE_ATTRIBUTE_DIRECTORY.d.ts +0 -2
  291. package/lib/FILE_ATTRIBUTE_DIRECTORY.js +0 -6
  292. package/lib/FILE_ATTRIBUTE_DIRECTORY.js.map +0 -1
  293. package/lib/IAutoMovieCatalogVersionProps.d.ts +0 -16
  294. package/lib/IAutoMovieCatalogVersionProps.js +0 -3
  295. package/lib/IAutoMovieCatalogVersionProps.js.map +0 -1
  296. package/lib/IAutoMovieScaffoldSourceEntry.d.ts +0 -18
  297. package/lib/IAutoMovieScaffoldSourceEntry.js +0 -3
  298. package/lib/IAutoMovieScaffoldSourceEntry.js.map +0 -1
  299. package/lib/IAutoMovieTemplateDependencyVersionsProps.d.ts +0 -17
  300. package/lib/IAutoMovieTemplateDependencyVersionsProps.js +0 -3
  301. package/lib/IAutoMovieTemplateDependencyVersionsProps.js.map +0 -1
  302. package/lib/IAutoMovieWorkspacePackageVersions.d.ts +0 -34
  303. package/lib/IAutoMovieWorkspacePackageVersions.js +0 -3
  304. package/lib/IAutoMovieWorkspacePackageVersions.js.map +0 -1
  305. package/lib/IBoundChild.d.ts +0 -71
  306. package/lib/IBoundChild.js +0 -3
  307. package/lib/IBoundChild.js.map +0 -1
  308. package/lib/IBoundChildStatus.d.ts +0 -20
  309. package/lib/IBoundChildStatus.js +0 -3
  310. package/lib/IBoundChildStatus.js.map +0 -1
  311. package/lib/IBoundParent.d.ts +0 -61
  312. package/lib/IBoundParent.js +0 -3
  313. package/lib/IBoundParent.js.map +0 -1
  314. package/lib/IBoundParentStatus.d.ts +0 -14
  315. package/lib/IBoundParentStatus.js +0 -3
  316. package/lib/IBoundParentStatus.js.map +0 -1
  317. package/lib/ICreateResult.d.ts +0 -27
  318. package/lib/ICreateResult.js +0 -3
  319. package/lib/ICreateResult.js.map +0 -1
  320. package/lib/IScaffoldCompletedFilePublicationOutcome.d.ts +0 -16
  321. package/lib/IScaffoldCompletedFilePublicationOutcome.js +0 -3
  322. package/lib/IScaffoldCompletedFilePublicationOutcome.js.map +0 -1
  323. package/lib/IScaffoldCompletedPublication.d.ts +0 -15
  324. package/lib/IScaffoldCompletedPublication.js +0 -3
  325. package/lib/IScaffoldCompletedPublication.js.map +0 -1
  326. package/lib/IScaffoldFileSnapshot.d.ts +0 -24
  327. package/lib/IScaffoldFileSnapshot.js +0 -3
  328. package/lib/IScaffoldFileSnapshot.js.map +0 -1
  329. package/lib/IScaffoldParentPublicationRequest.d.ts +0 -26
  330. package/lib/IScaffoldParentPublicationRequest.js +0 -3
  331. package/lib/IScaffoldParentPublicationRequest.js.map +0 -1
  332. package/lib/IScaffoldPartialFilePublicationOutcome.d.ts +0 -22
  333. package/lib/IScaffoldPartialFilePublicationOutcome.js +0 -3
  334. package/lib/IScaffoldPartialFilePublicationOutcome.js.map +0 -1
  335. package/lib/IScaffoldPhysicalDirectory.d.ts +0 -20
  336. package/lib/IScaffoldPhysicalDirectory.js +0 -3
  337. package/lib/IScaffoldPhysicalDirectory.js.map +0 -1
  338. package/lib/IScaffoldPosixConstants.d.ts +0 -24
  339. package/lib/IScaffoldPosixConstants.js +0 -3
  340. package/lib/IScaffoldPosixConstants.js.map +0 -1
  341. package/lib/IScaffoldPublicationEntry.d.ts +0 -20
  342. package/lib/IScaffoldPublicationEntry.js +0 -3
  343. package/lib/IScaffoldPublicationEntry.js.map +0 -1
  344. package/lib/IScaffoldPublicationFailure.d.ts +0 -18
  345. package/lib/IScaffoldPublicationFailure.js +0 -3
  346. package/lib/IScaffoldPublicationFailure.js.map +0 -1
  347. package/lib/IScaffoldPublicationOptions.d.ts +0 -17
  348. package/lib/IScaffoldPublicationOptions.js +0 -3
  349. package/lib/IScaffoldPublicationOptions.js.map +0 -1
  350. package/lib/IScaffoldPublicationReceipt.d.ts +0 -25
  351. package/lib/IScaffoldPublicationReceipt.js +0 -3
  352. package/lib/IScaffoldPublicationReceipt.js.map +0 -1
  353. package/lib/IScaffoldRefusedFilePublicationOutcome.d.ts +0 -18
  354. package/lib/IScaffoldRefusedFilePublicationOutcome.js +0 -3
  355. package/lib/IScaffoldRefusedFilePublicationOutcome.js.map +0 -1
  356. package/lib/IScaffoldSyncPlan.d.ts +0 -25
  357. package/lib/IScaffoldSyncPlan.js +0 -3
  358. package/lib/IScaffoldSyncPlan.js.map +0 -1
  359. package/lib/IScaffoldSyncProps.d.ts +0 -16
  360. package/lib/IScaffoldSyncProps.js +0 -3
  361. package/lib/IScaffoldSyncProps.js.map +0 -1
  362. package/lib/IWindowsFileInformation.d.ts +0 -20
  363. package/lib/IWindowsFileInformation.js +0 -3
  364. package/lib/IWindowsFileInformation.js.map +0 -1
  365. package/lib/IWindowsLibrary.d.ts +0 -127
  366. package/lib/IWindowsLibrary.js +0 -3
  367. package/lib/IWindowsLibrary.js.map +0 -1
  368. package/lib/SCAFFOLD_SYNC_STATE_FILE.d.ts +0 -4
  369. package/lib/SCAFFOLD_SYNC_STATE_FILE.js +0 -8
  370. package/lib/SCAFFOLD_SYNC_STATE_FILE.js.map +0 -1
  371. package/lib/ScaffoldFilePublicationOutcome.d.ts +0 -14
  372. package/lib/ScaffoldFilePublicationOutcome.js +0 -3
  373. package/lib/ScaffoldFilePublicationOutcome.js.map +0 -1
  374. package/lib/ScaffoldParentChangedError.d.ts +0 -11
  375. package/lib/ScaffoldParentChangedError.js +0 -19
  376. package/lib/ScaffoldParentChangedError.js.map +0 -1
  377. package/lib/ScaffoldPublicationError.d.ts +0 -17
  378. package/lib/ScaffoldPublicationError.js +0 -46
  379. package/lib/ScaffoldPublicationError.js.map +0 -1
  380. package/lib/assertOrdinaryFile.d.ts +0 -13
  381. package/lib/assertOrdinaryFile.js +0 -20
  382. package/lib/assertOrdinaryFile.js.map +0 -1
  383. package/lib/assertOrdinarySingleLinkFile.d.ts +0 -13
  384. package/lib/assertOrdinarySingleLinkFile.js +0 -22
  385. package/lib/assertOrdinarySingleLinkFile.js.map +0 -1
  386. package/lib/assertScaffoldOwnership.d.ts +0 -13
  387. package/lib/assertScaffoldOwnership.js +0 -24
  388. package/lib/assertScaffoldOwnership.js.map +0 -1
  389. package/lib/assertScaffoldPhysicalDirectory.d.ts +0 -16
  390. package/lib/assertScaffoldPhysicalDirectory.js +0 -26
  391. package/lib/assertScaffoldPhysicalDirectory.js.map +0 -1
  392. package/lib/attachScaffoldSyncState.d.ts +0 -18
  393. package/lib/attachScaffoldSyncState.js +0 -30
  394. package/lib/attachScaffoldSyncState.js.map +0 -1
  395. package/lib/captureEmptyScaffoldPhysicalDirectory.d.ts +0 -13
  396. package/lib/captureEmptyScaffoldPhysicalDirectory.js +0 -69
  397. package/lib/captureEmptyScaffoldPhysicalDirectory.js.map +0 -1
  398. package/lib/captureScaffoldFile.d.ts +0 -13
  399. package/lib/captureScaffoldFile.js +0 -67
  400. package/lib/captureScaffoldFile.js.map +0 -1
  401. package/lib/captureScaffoldPhysicalDirectory.d.ts +0 -13
  402. package/lib/captureScaffoldPhysicalDirectory.js +0 -63
  403. package/lib/captureScaffoldPhysicalDirectory.js.map +0 -1
  404. package/lib/combineScaffoldFailures.d.ts +0 -19
  405. package/lib/combineScaffoldFailures.js +0 -32
  406. package/lib/combineScaffoldFailures.js.map +0 -1
  407. package/lib/createAutoMovieCatalogVersionResolver.d.ts +0 -17
  408. package/lib/createAutoMovieCatalogVersionResolver.js +0 -64
  409. package/lib/createAutoMovieCatalogVersionResolver.js.map +0 -1
  410. package/lib/createScaffoldSyncState.d.ts +0 -12
  411. package/lib/createScaffoldSyncState.js +0 -26
  412. package/lib/createScaffoldSyncState.js.map +0 -1
  413. package/lib/createScaffoldVariables.d.ts +0 -25
  414. package/lib/createScaffoldVariables.js +0 -41
  415. package/lib/createScaffoldVariables.js.map +0 -1
  416. package/lib/ensureScaffoldBaseDirectory.d.ts +0 -19
  417. package/lib/ensureScaffoldBaseDirectory.js +0 -89
  418. package/lib/ensureScaffoldBaseDirectory.js.map +0 -1
  419. package/lib/ensureScaffoldFileDirectory.d.ts +0 -25
  420. package/lib/ensureScaffoldFileDirectory.js +0 -103
  421. package/lib/ensureScaffoldFileDirectory.js.map +0 -1
  422. package/lib/inside.d.ts +0 -12
  423. package/lib/inside.js +0 -57
  424. package/lib/inside.js.map +0 -1
  425. package/lib/isScaffoldInstruction.d.ts +0 -12
  426. package/lib/isScaffoldInstruction.js +0 -29
  427. package/lib/isScaffoldInstruction.js.map +0 -1
  428. package/lib/loadWindowsLibrary.d.ts +0 -13
  429. package/lib/loadWindowsLibrary.js +0 -180
  430. package/lib/loadWindowsLibrary.js.map +0 -1
  431. package/lib/mergeScaffoldFiles.d.ts +0 -18
  432. package/lib/mergeScaffoldFiles.js +0 -37
  433. package/lib/mergeScaffoldFiles.js.map +0 -1
  434. package/lib/missingPath.d.ts +0 -12
  435. package/lib/missingPath.js +0 -18
  436. package/lib/missingPath.js.map +0 -1
  437. package/lib/nativeError.d.ts +0 -12
  438. package/lib/nativeError.js +0 -17
  439. package/lib/nativeError.js.map +0 -1
  440. package/lib/openPosixParent.d.ts +0 -13
  441. package/lib/openPosixParent.js +0 -135
  442. package/lib/openPosixParent.js.map +0 -1
  443. package/lib/openWindowsParent.d.ts +0 -13
  444. package/lib/openWindowsParent.js +0 -224
  445. package/lib/openWindowsParent.js.map +0 -1
  446. package/lib/overwriteScaffoldFile.d.ts +0 -22
  447. package/lib/overwriteScaffoldFile.js +0 -214
  448. package/lib/overwriteScaffoldFile.js.map +0 -1
  449. package/lib/physicalDirectoryIdentity.d.ts +0 -15
  450. package/lib/physicalDirectoryIdentity.js +0 -65
  451. package/lib/physicalDirectoryIdentity.js.map +0 -1
  452. package/lib/physicalVersion.d.ts +0 -13
  453. package/lib/physicalVersion.js +0 -18
  454. package/lib/physicalVersion.js.map +0 -1
  455. package/lib/planScaffoldPublication.d.ts +0 -22
  456. package/lib/planScaffoldPublication.js +0 -100
  457. package/lib/planScaffoldPublication.js.map +0 -1
  458. package/lib/planScaffoldSync.d.ts +0 -14
  459. package/lib/planScaffoldSync.js +0 -102
  460. package/lib/planScaffoldSync.js.map +0 -1
  461. package/lib/publishFiles.d.ts +0 -23
  462. package/lib/publishFiles.js +0 -124
  463. package/lib/publishFiles.js.map +0 -1
  464. package/lib/publishNativeScaffoldFile.d.ts +0 -21
  465. package/lib/publishNativeScaffoldFile.js +0 -211
  466. package/lib/publishNativeScaffoldFile.js.map +0 -1
  467. package/lib/publishScaffoldCandidate.d.ts +0 -24
  468. package/lib/publishScaffoldCandidate.js +0 -70
  469. package/lib/publishScaffoldCandidate.js.map +0 -1
  470. package/lib/readAutoMovieScaffoldSources.d.ts +0 -20
  471. package/lib/readAutoMovieScaffoldSources.js +0 -103
  472. package/lib/readAutoMovieScaffoldSources.js.map +0 -1
  473. package/lib/readScaffoldSyncFile.d.ts +0 -16
  474. package/lib/readScaffoldSyncFile.js +0 -64
  475. package/lib/readScaffoldSyncFile.js.map +0 -1
  476. package/lib/renderScaffold.d.ts +0 -19
  477. package/lib/renderScaffold.js +0 -33
  478. package/lib/renderScaffold.js.map +0 -1
  479. package/lib/renderScaffoldEntries.d.ts +0 -20
  480. package/lib/renderScaffoldEntries.js +0 -106
  481. package/lib/renderScaffoldEntries.js.map +0 -1
  482. package/lib/renderScaffoldInstructions.d.ts +0 -17
  483. package/lib/renderScaffoldInstructions.js +0 -23
  484. package/lib/renderScaffoldInstructions.js.map +0 -1
  485. package/lib/renderScaffoldLayer.d.ts +0 -20
  486. package/lib/renderScaffoldLayer.js +0 -28
  487. package/lib/renderScaffoldLayer.js.map +0 -1
  488. package/lib/renderTemplate.d.ts +0 -19
  489. package/lib/renderTemplate.js +0 -56
  490. package/lib/renderTemplate.js.map +0 -1
  491. package/lib/renderWorkspaceProductionScaffold.d.ts +0 -19
  492. package/lib/renderWorkspaceProductionScaffold.js +0 -30
  493. package/lib/renderWorkspaceProductionScaffold.js.map +0 -1
  494. package/lib/renderWorkspaceScaffold.d.ts +0 -19
  495. package/lib/renderWorkspaceScaffold.js +0 -33
  496. package/lib/renderWorkspaceScaffold.js.map +0 -1
  497. package/lib/replaceSharedScaffoldFile.d.ts +0 -30
  498. package/lib/replaceSharedScaffoldFile.js +0 -106
  499. package/lib/replaceSharedScaffoldFile.js.map +0 -1
  500. package/lib/resolveAutoMovieCatalogVersion.d.ts +0 -19
  501. package/lib/resolveAutoMovieCatalogVersion.js +0 -24
  502. package/lib/resolveAutoMovieCatalogVersion.js.map +0 -1
  503. package/lib/resolveAutoMovieTemplateDependencyVersions.d.ts +0 -19
  504. package/lib/resolveAutoMovieTemplateDependencyVersions.js +0 -62
  505. package/lib/resolveAutoMovieTemplateDependencyVersions.js.map +0 -1
  506. package/lib/resolveScaffoldPosixConstants.d.ts +0 -13
  507. package/lib/resolveScaffoldPosixConstants.js +0 -44
  508. package/lib/resolveScaffoldPosixConstants.js.map +0 -1
  509. package/lib/scaffoldAssetDirectory.d.ts +0 -19
  510. package/lib/scaffoldAssetDirectory.js +0 -63
  511. package/lib/scaffoldAssetDirectory.js.map +0 -1
  512. package/lib/scaffoldPhysicalIdentity.d.ts +0 -18
  513. package/lib/scaffoldPhysicalIdentity.js +0 -22
  514. package/lib/scaffoldPhysicalIdentity.js.map +0 -1
  515. package/lib/scaffoldSharedSkillDirectory.d.ts +0 -17
  516. package/lib/scaffoldSharedSkillDirectory.js +0 -62
  517. package/lib/scaffoldSharedSkillDirectory.js.map +0 -1
  518. package/lib/skills/3d-modeling/conditioning.md +0 -82
  519. package/lib/skills/3d-modeling/crafting.md +0 -82
  520. package/lib/skills/3d-modeling/diffusion.md +0 -34
  521. package/lib/skills/3d-modeling/inspection.md +0 -54
  522. package/lib/skills/3d-modeling/lofting.md +0 -43
  523. package/lib/skills/3d-modeling/modularization.md +0 -31
  524. package/lib/skills/3d-modeling/recovery.md +0 -29
  525. package/lib/skills/3d-modeling/rigging.md +0 -97
  526. package/lib/skills/3d-modeling/sources.md +0 -29
  527. package/lib/skills/contracts/development/common.md +0 -13
  528. package/lib/skills/contracts/development/design.md +0 -28
  529. package/lib/skills/contracts/development/implementation.md +0 -49
  530. package/lib/skills/contracts/development/testing.md +0 -27
  531. package/lib/skills/development/repair.md +0 -13
  532. package/lib/skills/documentation/SKILL.md +0 -25
  533. package/lib/skills/documentation/writing.md +0 -51
  534. package/lib/skills/motion/authoring.md +0 -51
  535. package/lib/skills/motion/contacts.md +0 -39
  536. package/lib/skills/motion/laws.md +0 -23
  537. package/lib/skills/motion/layers.md +0 -7
  538. package/lib/skills/motion/transitions.md +0 -27
  539. package/lib/skills/motion/variation.md +0 -23
  540. package/lib/skills/motion/verification.md +0 -36
  541. package/lib/skills/prompting/SKILL.md +0 -80
  542. package/lib/skills/visual-debugging/capture.md +0 -60
  543. package/lib/skills/visual-debugging/correction-rounds.md +0 -34
  544. package/lib/skills/visual-debugging/passes.md +0 -29
  545. package/lib/skills/visual-debugging/rendering-cost.md +0 -5
  546. package/lib/syncScaffold.d.ts +0 -19
  547. package/lib/syncScaffold.js +0 -28
  548. package/lib/syncScaffold.js.map +0 -1
  549. package/lib/writeFiles.d.ts +0 -20
  550. package/lib/writeFiles.js +0 -33
  551. package/lib/writeFiles.js.map +0 -1
  552. package/lib/writeScaffoldFile.d.ts +0 -35
  553. package/lib/writeScaffoldFile.js +0 -107
  554. package/lib/writeScaffoldFile.js.map +0 -1
  555. package/lib/writtenVersion.d.ts +0 -13
  556. package/lib/writtenVersion.js +0 -18
  557. package/lib/writtenVersion.js.map +0 -1
  558. package/scaffold/instructions/.agents/skills/audio/local-speech.md +0 -11
  559. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/screenplay.md +0 -9
  560. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/screenplay.md +0 -13
  561. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/screenplay.md +0 -11
  562. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/screenplay.md +0 -25
  563. package/scaffold/instructions/.agents/skills/development/reuse.md +0 -47
  564. package/scaffold/instructions/.agents/skills/motion/method-references.md +0 -23
  565. package/scaffold/instructions/.agents/skills/production/sync-and-reorganization.md +0 -21
  566. package/scaffold/instructions/.agents/skills/story/correction/SKILL.md +0 -13
  567. package/scaffold/instructions/.agents/skills/story/evidence/SKILL.md +0 -13
  568. package/scaffold/instructions/.agents/skills/story/evidence/answer-placement.md +0 -13
  569. package/scaffold/instructions/.agents/skills/story/evidence/answer-writing.md +0 -23
  570. package/scaffold/instructions/.agents/skills/story/naturalness/SKILL.md +0 -13
  571. package/scaffold/instructions/.agents/skills/story/naturalness/rewriting.md +0 -17
  572. package/scaffold/instructions/.agents/skills/story/naturalness/transfer.md +0 -11
  573. package/scaffold/instructions/.agents/skills/story/workflow.md +0 -61
  574. package/scaffold/instructions/.agents/skills/video/diffusion.md +0 -33
  575. package/scaffold/instructions/.agents/skills/video/prompts.md +0 -51
  576. package/scaffold/production/evidence.config.ts +0 -12
  577. package/scaffold/production/src/executable/capture.ts +0 -489
  578. package/scaffold/production/src/executable/planCaptureStills.ts +0 -65
  579. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureError.ts +0 -1
  580. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureErrorCode.ts +0 -1
  581. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessWaitUntil.ts +0 -1
  582. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureOptions.ts +0 -79
  583. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureSession.ts +0 -39
  584. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessFrameWriter.ts +0 -20
  585. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessLocator.ts +0 -1
  586. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessPage.ts +0 -1
  587. package/scaffold/production/src/executable/render/headlessCapture/createHeadlessCaptureAdapter.ts +0 -92
  588. package/scaffold/production/src/executable/render/headlessCapture/index.ts +0 -9
  589. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoOptions.ts +0 -128
  590. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoResult.ts +0 -43
  591. package/scaffold/production/src/executable/render/node/IProductionRenditionClip.ts +0 -44
  592. package/scaffold/production/src/executable/render/node/acquireViewerBrowser.ts +0 -24
  593. package/scaffold/production/src/executable/render/node/addProductionMp4Sample.ts +0 -89
  594. package/scaffold/production/src/executable/render/node/appendLosslessVideoClip.ts +0 -62
  595. package/scaffold/production/src/executable/render/node/assembleProductionChunkVideoMp4.ts +0 -167
  596. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionClips.ts +0 -184
  597. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionVideo.ts +0 -127
  598. package/scaffold/production/src/executable/render/node/assertProductionRenditionClipDelivery.ts +0 -102
  599. package/scaffold/production/src/executable/render/node/cache/IAutoMovieDirectoryArtifactStore.ts +0 -59
  600. package/scaffold/production/src/executable/render/node/cache/IAutoMovieViewerFrameCacheReport.ts +0 -30
  601. package/scaffold/production/src/executable/render/node/cache/cacheViewerCaptureSession.ts +0 -187
  602. package/scaffold/production/src/executable/render/node/cache/composeViewerFrameKeys.ts +0 -55
  603. package/scaffold/production/src/executable/render/node/cache/createAutoMovieArtifactMiddleware.ts +0 -107
  604. package/scaffold/production/src/executable/render/node/cache/createAutoMovieDirectoryArtifactStore.ts +0 -203
  605. package/scaffold/production/src/executable/render/node/cache/digestAutoMovieSourceTree.ts +0 -66
  606. package/scaffold/production/src/executable/render/node/cache/readViewerFrameStates.ts +0 -95
  607. package/scaffold/production/src/executable/render/node/capture/DEFAULT_CHROME_EXECUTABLE.ts +0 -11
  608. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageOperationFailure.ts +0 -13
  609. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeArtifact.ts +0 -30
  610. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeOptions.ts +0 -51
  611. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceMetadata.ts +0 -27
  612. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderArtifact.ts +0 -44
  613. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderOptions.ts +0 -43
  614. package/scaffold/production/src/executable/render/node/capture/IAutoMovieSequenceDissolvePixelCheck.ts +0 -39
  615. package/scaffold/production/src/executable/render/node/capture/captureRenderAndSee.ts +0 -233
  616. package/scaffold/production/src/executable/render/node/capture/captureSequenceRenderAndSee.ts +0 -377
  617. package/scaffold/production/src/executable/render/node/capture/index.ts +0 -14
  618. package/scaffold/production/src/executable/render/node/capture/preserveCleanupFailure.ts +0 -34
  619. package/scaffold/production/src/executable/render/node/capture/renderAndSeeCommand.ts +0 -169
  620. package/scaffold/production/src/executable/render/node/capture/renderSequenceAndSeeCommand.ts +0 -165
  621. package/scaffold/production/src/executable/render/node/capture/verifySequenceDissolvePixels.ts +0 -179
  622. package/scaffold/production/src/executable/render/node/conformProductionRenditionVideoMp4.ts +0 -86
  623. package/scaffold/production/src/executable/render/node/conformProductionVisualDeliveryVideoMp4.ts +0 -230
  624. package/scaffold/production/src/executable/render/node/decodeAutoMovieDelivery.ts +0 -253
  625. package/scaffold/production/src/executable/render/node/equalRational.ts +0 -36
  626. package/scaffold/production/src/executable/render/node/exactProductionClockProduct.ts +0 -26
  627. package/scaffold/production/src/executable/render/node/exportModelToGLB.ts +0 -267
  628. package/scaffold/production/src/executable/render/node/index.ts +0 -27
  629. package/scaffold/production/src/executable/render/node/loadModelGltfCore.ts +0 -18
  630. package/scaffold/production/src/executable/render/node/mixAutoMovieAudioCues.ts +0 -74
  631. package/scaffold/production/src/executable/render/node/muxProductionFeatureMp4.ts +0 -170
  632. package/scaffold/production/src/executable/render/node/neutralTrackPresentation.ts +0 -59
  633. package/scaffold/production/src/executable/render/node/normalizeProductionH264Mp4.ts +0 -110
  634. package/scaffold/production/src/executable/render/node/openLosslessVideoTrack.ts +0 -81
  635. package/scaffold/production/src/executable/render/node/parseMp4.ts +0 -46
  636. package/scaffold/production/src/executable/render/node/parseProductionMp4Output.ts +0 -70
  637. package/scaffold/production/src/executable/render/node/parseProductionRenditionClip.ts +0 -92
  638. package/scaffold/production/src/executable/render/node/planViewerVideo.ts +0 -140
  639. package/scaffold/production/src/executable/render/node/probeParsedProductionVideoMp4.ts +0 -48
  640. package/scaffold/production/src/executable/render/node/probeProductionPngPicture.ts +0 -223
  641. package/scaffold/production/src/executable/render/node/probeProductionRenderedMedia.ts +0 -355
  642. package/scaffold/production/src/executable/render/node/probeProductionVideoMp4.ts +0 -27
  643. package/scaffold/production/src/executable/render/node/probeVideoTrack.ts +0 -220
  644. package/scaffold/production/src/executable/render/node/productionRenditionVideoPlan.ts +0 -149
  645. package/scaffold/production/src/executable/render/node/recordViewerPlayback.ts +0 -137
  646. package/scaffold/production/src/executable/render/node/renderViewerFrames.ts +0 -139
  647. package/scaffold/production/src/executable/render/node/renderViewerVideo.ts +0 -301
  648. package/scaffold/production/src/executable/render/node/renderViewerVideoSession.ts +0 -75
  649. package/scaffold/production/src/executable/render/node/residentMp4Box.ts +0 -36
  650. package/scaffold/production/src/executable/render/node/residentPngJs.ts +0 -26
  651. package/scaffold/production/src/executable/render/node/runViewerVideoEncoder.ts +0 -58
  652. package/scaffold/production/src/executable/render/node/sameSampleDescription.ts +0 -43
  653. package/scaffold/production/src/executable/render/node/sameSampleFlags.ts +0 -28
  654. package/scaffold/production/src/executable/render/node/sampleBytes.ts +0 -46
  655. package/scaffold/production/src/executable/render/node/sampleDescription.ts +0 -40
  656. package/scaffold/production/src/executable/render/node/sampleOptions.ts +0 -37
  657. package/scaffold/production/src/executable/render/node/serializeDescriptionBox.ts +0 -29
  658. package/scaffold/production/src/executable/render/node/trimProductionAudioPresentation.ts +0 -115
  659. package/scaffold/production/src/executable/render/node/verifySampleStorage.ts +0 -86
  660. package/scaffold/production/src/executable/render/node/writeViewerFrameSheet.ts +0 -101
  661. package/scaffold/production/src/executable/render.ts +0 -92
  662. package/scaffold/production/src/executable/review.ts +0 -54
  663. package/scaffold/production/src/executable/viewer/inspection/createViewerDiskSource.ts +0 -119
  664. package/scaffold/production/src/executable/viewer/inspection/readViewerMaintainedSourceFiles.ts +0 -64
  665. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureError.ts +0 -41
  666. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureErrorCode.ts +0 -22
  667. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessWaitUntil.ts +0 -18
  668. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessLocator.ts +0 -32
  669. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessPage.ts +0 -130
  670. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureOptions.ts +0 -38
  671. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureSession.ts +0 -41
  672. package/scaffold/production/src/executable/viewer/node/capture/createViewerCaptureSession.ts +0 -154
  673. package/scaffold/production/src/executable/viewer/node/capture/index.ts +0 -8
  674. package/scaffold/production/src/executable/viewer/node/index.ts +0 -2
  675. package/scaffold/production/src/executable/viewer/process/ProcessOwnership.ts +0 -102
  676. package/scaffold/production/src/executable/viewer/process/internal/IProcessChildObservation.ts +0 -18
  677. package/scaffold/production/src/executable/viewer/process/internal/IProcessOwnershipHost.ts +0 -70
  678. package/scaffold/production/src/executable/viewer/process/internal/ProcessOwnershipController.ts +0 -125
  679. package/scaffold/production/src/executable/viewer/process/internal/WindowsProcessOwnershipPrograms.ts +0 -52
  680. package/scaffold/production/src/executable/viewer/process/internal/createNodeProcessOwnershipHost.ts +0 -41
  681. package/scaffold/production/src/executable/viewer/process/internal/decodeLinuxProcessIdentity.ts +0 -22
  682. package/scaffold/production/src/executable/viewer/process/internal/decodePosixProcessIdentity.ts +0 -24
  683. package/scaffold/production/src/executable/viewer/process/internal/decodeWindowsProcessResult.ts +0 -24
  684. package/scaffold/production/src/executable/viewer/process/internal/readNativeProcessIdentity.ts +0 -45
  685. package/scaffold/production/src/executable/viewer/process/internal/requireProcessId.ts +0 -15
  686. package/scaffold/production/src/executable/viewer/process/internal/resolveProcessIdentityReadError.ts +0 -15
  687. package/scaffold/production/src/executable/viewer/process/internal/runWindowsProcessOperation.ts +0 -41
  688. package/scaffold/production/src/executable/viewer/process/internal/selectProcessOwnershipTree.ts +0 -68
  689. package/scaffold/production/test/features/executable/test_plan_capture_stills.ts +0 -75
  690. package/scaffold/workspace/pnpm-workspace.yaml +0 -46
  691. package/src/AUTOMOVIE_TEMPLATE_CATALOGS.ts +0 -48
  692. package/src/AUTOMOVIE_TEMPLATE_VERSIONS.ts +0 -39
  693. package/src/AutoMovieScaffoldLayer.ts +0 -18
  694. package/src/FILE_ATTRIBUTE_DIRECTORY.ts +0 -2
  695. package/src/IAutoMovieCatalogVersionProps.ts +0 -18
  696. package/src/IAutoMovieScaffoldSourceEntry.ts +0 -19
  697. package/src/IAutoMovieTemplateDependencyVersionsProps.ts +0 -19
  698. package/src/IAutoMovieWorkspacePackageVersions.ts +0 -44
  699. package/src/IBoundChild.ts +0 -86
  700. package/src/IBoundChildStatus.ts +0 -24
  701. package/src/IBoundParent.ts +0 -65
  702. package/src/IBoundParentStatus.ts +0 -15
  703. package/src/ICreateResult.ts +0 -35
  704. package/src/IScaffoldCompletedFilePublicationOutcome.ts +0 -17
  705. package/src/IScaffoldCompletedPublication.ts +0 -17
  706. package/src/IScaffoldFileSnapshot.ts +0 -28
  707. package/src/IScaffoldParentPublicationRequest.ts +0 -29
  708. package/src/IScaffoldPartialFilePublicationOutcome.ts +0 -25
  709. package/src/IScaffoldPhysicalDirectory.ts +0 -22
  710. package/src/IScaffoldPosixConstants.ts +0 -30
  711. package/src/IScaffoldPublicationEntry.ts +0 -22
  712. package/src/IScaffoldPublicationFailure.ts +0 -18
  713. package/src/IScaffoldPublicationOptions.ts +0 -19
  714. package/src/IScaffoldPublicationReceipt.ts +0 -29
  715. package/src/IScaffoldRefusedFilePublicationOutcome.ts +0 -20
  716. package/src/IScaffoldSyncPlan.ts +0 -26
  717. package/src/IScaffoldSyncProps.ts +0 -16
  718. package/src/IWindowsFileInformation.ts +0 -24
  719. package/src/IWindowsLibrary.ts +0 -148
  720. package/src/SCAFFOLD_SYNC_STATE_FILE.ts +0 -5
  721. package/src/ScaffoldFilePublicationOutcome.ts +0 -18
  722. package/src/ScaffoldParentChangedError.ts +0 -14
  723. package/src/ScaffoldPublicationError.ts +0 -58
  724. package/src/assertOrdinaryFile.ts +0 -20
  725. package/src/assertOrdinarySingleLinkFile.ts +0 -26
  726. package/src/assertScaffoldOwnership.ts +0 -29
  727. package/src/assertScaffoldPhysicalDirectory.ts +0 -29
  728. package/src/attachScaffoldSyncState.ts +0 -30
  729. package/src/captureEmptyScaffoldPhysicalDirectory.ts +0 -45
  730. package/src/captureScaffoldFile.ts +0 -34
  731. package/src/captureScaffoldPhysicalDirectory.ts +0 -34
  732. package/src/combineScaffoldFailures.ts +0 -35
  733. package/src/createAutoMovieCatalogVersionResolver.ts +0 -117
  734. package/src/createScaffoldSyncState.ts +0 -33
  735. package/src/createScaffoldVariables.ts +0 -50
  736. package/src/ensureScaffoldBaseDirectory.ts +0 -55
  737. package/src/ensureScaffoldFileDirectory.ts +0 -75
  738. package/src/inside.ts +0 -25
  739. package/src/isScaffoldInstruction.ts +0 -29
  740. package/src/loadWindowsLibrary.ts +0 -277
  741. package/src/mergeScaffoldFiles.ts +0 -39
  742. package/src/missingPath.ts +0 -16
  743. package/src/nativeError.ts +0 -15
  744. package/src/openPosixParent.ts +0 -155
  745. package/src/openWindowsParent.ts +0 -305
  746. package/src/overwriteScaffoldFile.ts +0 -262
  747. package/src/physicalDirectoryIdentity.ts +0 -33
  748. package/src/physicalVersion.ts +0 -18
  749. package/src/planScaffoldPublication.ts +0 -100
  750. package/src/planScaffoldSync.ts +0 -122
  751. package/src/publishFiles.ts +0 -120
  752. package/src/publishNativeScaffoldFile.ts +0 -287
  753. package/src/publishScaffoldCandidate.ts +0 -94
  754. package/src/readAutoMovieScaffoldSources.ts +0 -82
  755. package/src/readScaffoldSyncFile.ts +0 -66
  756. package/src/renderScaffold.ts +0 -43
  757. package/src/renderScaffoldEntries.ts +0 -110
  758. package/src/renderScaffoldInstructions.ts +0 -22
  759. package/src/renderScaffoldLayer.ts +0 -38
  760. package/src/renderTemplate.ts +0 -62
  761. package/src/renderWorkspaceProductionScaffold.ts +0 -35
  762. package/src/renderWorkspaceScaffold.ts +0 -43
  763. package/src/replaceSharedScaffoldFile.ts +0 -88
  764. package/src/resolveAutoMovieCatalogVersion.ts +0 -27
  765. package/src/resolveAutoMovieTemplateDependencyVersions.ts +0 -70
  766. package/src/resolveScaffoldPosixConstants.ts +0 -50
  767. package/src/scaffoldAssetDirectory.ts +0 -30
  768. package/src/scaffoldPhysicalIdentity.ts +0 -21
  769. package/src/scaffoldSharedSkillDirectory.ts +0 -25
  770. package/src/syncScaffold.ts +0 -38
  771. package/src/writeFiles.ts +0 -48
  772. package/src/writeScaffoldFile.ts +0 -88
  773. package/src/writtenVersion.ts +0 -19
  774. /package/scaffold/instructions/.agents/skills/3d-modeling/{$crafting.md → $crafting} +0 -0
  775. /package/scaffold/instructions/.agents/skills/3d-modeling/{$diffusion.md → diffusion/$image-hints.md} +0 -0
  776. /package/scaffold/instructions/.agents/skills/3d-modeling/{$lofting.md → diffusion/$models.md} +0 -0
  777. /package/scaffold/instructions/.agents/skills/3d-modeling/{$recovery.md → diffusion/$prompts.md} +0 -0
  778. /package/scaffold/instructions/.agents/skills/{motion/$authoring.md → 3d-modeling/diffusion/$request.md} +0 -0
  779. /package/scaffold/instructions/.agents/skills/{motion/$contacts.md → 3d-modeling/diffusion/$shape-hints.md} +0 -0
  780. /package/scaffold/instructions/.agents/skills/motion/{$laws.md → laws/$authoring.md} +0 -0
  781. /package/scaffold/instructions/.agents/skills/motion/{$layers.md → laws/$contacts.md} +0 -0
  782. /package/scaffold/instructions/.agents/skills/motion/{$transitions.md → laws/$declaration.md} +0 -0
  783. /package/scaffold/instructions/.agents/skills/motion/{$variation.md → laws/$transitions.md} +0 -0
  784. /package/scaffold/instructions/.agents/skills/motion/{$verification.md → laws/$variation.md} +0 -0
@@ -57,11 +57,11 @@ const UNSHIPPED_FILES = /(?:\.(?:c|m)?js(?:\.map)?|\.d\.(?:c|m)?ts|\.tsbuildinfo
57
57
  * @returns The shipped files.
58
58
  *
59
59
  * @evidence contracts/development/implementation.md#principled-implementation A depth-first walk over `readdirSync` with file types visits each entry once without a stat per entry; names are compared with relational operators, which order by code unit independent of the host locale, unlike `localeCompare`; skipping symbolic links relies on the premise that the authored scaffold contains none, so a link is never shipped as a copy of its target.
60
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The two exclusion constants are the whole shipping policy and sit beside the walk, so `renderScaffold` receives the population without deciding it.
60
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure The two exclusion constants are the whole shipping policy and sit beside the walk, so `createAutoMovieScaffold` and the prepare script receive the population without deciding it.
61
61
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Exclusions are by directory name and output-file shape only, with no exception for any particular file or fixture.
62
62
  * @evidence contracts/development/common.md#meaningful-documentation The comment lists every excluded directory and file shape, states that links are skipped, and states the path form and the order of the result.
63
63
  * @evidence contracts/development/implementation.md#efficient-algorithms The walk is linear in the number of entries under `root` plus a per-directory sort of its entries, never descending into an excluded directory, so a populated `node_modules` costs one skipped entry.
64
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call lists the directory as it is on disk now, and `renderScaffold` calls it once per render.
64
+ * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call lists the directory as it is on disk now, and each caller lists once per scaffold layer or shared item.
65
65
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources `readdirSync` opens and closes each directory before returning, the recursion depth equals the scaffold's directory depth, and only the result array is retained, holding one string per shipped file.
66
66
  */
67
67
  const listAutoMovieScaffoldFiles = (root) => {
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Render pnpm settings for a new production or workspace. Given an existing
3
+ * workspace's directory and YAML, fill missing scaffold catalog entries.
4
+ * Existing pins, overrides, workspace members and build policy keep their values.
5
+ * A linked SDK supplies missing scoped packages when their sibling manifests
6
+ * identify them. Other new entries use the installed scaffold's ranges.
7
+ *
8
+ * @param workspace The new layout or the existing workspace whose catalogs the CLI needs.
9
+ * @returns Workspace YAML, byte-for-byte unchanged when every required entry exists.
10
+ * @throws If the shipped settings or workspace YAML cannot be read as required.
11
+ * @evidence contracts/development/implementation.md#principled-implementation Both paths resolve the shipped manifests' catalog references from the same build settings and template version. Local SDK lookup requires an existing link and the requested package identity.
12
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure The layout selects creation or completion. The YAML document owns edits and the caller owns the write.
13
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The build discovers the dependencies. Package names and workspace layouts follow their published conventions.
14
+ * @evidence contracts/development/implementation.md#efficient-algorithms The existing document is parsed once and each required entry is visited once. Only missing SDK entries probe sibling manifests in distinct linked directories.
15
+ * @evidence contracts/development/implementation.md#reuse-equivalent-work Both layouts share the resolved defaults. SDK directories are deduplicated per document.
16
+ * @evidence contracts/development/implementation.md#bound-retention-and-release-resources File reads close synchronously. Parsed settings, document and link directories live for one call.
17
+ * @evidence contracts/development/common.md#meaningful-documentation The comment describes each mode, precedence, return value and failure.
18
+ */
19
+ export declare function renderAutoMovieWorkspace(workspace: "production" | "workspace" | {
20
+ directory: string;
21
+ source: string;
22
+ }): string;
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.renderAutoMovieWorkspace = renderAutoMovieWorkspace;
37
+ const fs = __importStar(require("node:fs"));
38
+ const path = __importStar(require("node:path"));
39
+ const yaml_1 = require("yaml");
40
+ /**
41
+ * Render pnpm settings for a new production or workspace. Given an existing
42
+ * workspace's directory and YAML, fill missing scaffold catalog entries.
43
+ * Existing pins, overrides, workspace members and build policy keep their values.
44
+ * A linked SDK supplies missing scoped packages when their sibling manifests
45
+ * identify them. Other new entries use the installed scaffold's ranges.
46
+ *
47
+ * @param workspace The new layout or the existing workspace whose catalogs the CLI needs.
48
+ * @returns Workspace YAML, byte-for-byte unchanged when every required entry exists.
49
+ * @throws If the shipped settings or workspace YAML cannot be read as required.
50
+ * @evidence contracts/development/implementation.md#principled-implementation Both paths resolve the shipped manifests' catalog references from the same build settings and template version. Local SDK lookup requires an existing link and the requested package identity.
51
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure The layout selects creation or completion. The YAML document owns edits and the caller owns the write.
52
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The build discovers the dependencies. Package names and workspace layouts follow their published conventions.
53
+ * @evidence contracts/development/implementation.md#efficient-algorithms The existing document is parsed once and each required entry is visited once. Only missing SDK entries probe sibling manifests in distinct linked directories.
54
+ * @evidence contracts/development/implementation.md#reuse-equivalent-work Both layouts share the resolved defaults. SDK directories are deduplicated per document.
55
+ * @evidence contracts/development/implementation.md#bound-retention-and-release-resources File reads close synchronously. Parsed settings, document and link directories live for one call.
56
+ * @evidence contracts/development/common.md#meaningful-documentation The comment describes each mode, precedence, return value and failure.
57
+ */
58
+ function renderAutoMovieWorkspace(workspace) {
59
+ const settings = JSON.parse(fs.readFileSync(path.join(__dirname, "../generated/pnpm-workspace.json"), "utf8"));
60
+ const manifest = JSON.parse(fs.readFileSync(path.join(__dirname, "../package.json"), "utf8"));
61
+ const catalogs = {
62
+ automovie: Object.fromEntries(settings.automovie.map((name) => [name, `^${manifest.version}`])),
63
+ ...settings.catalogs,
64
+ };
65
+ if (typeof workspace === "string")
66
+ return (0, yaml_1.stringify)({
67
+ ...(workspace === "workspace"
68
+ ? { packages: ["movies/shorts/*", "movies/series/*", "packages/*"] }
69
+ : {}),
70
+ catalogs,
71
+ allowBuilds: settings.allowBuilds,
72
+ });
73
+ const document = (0, yaml_1.parseDocument)(workspace.source, { merge: true });
74
+ if (document.errors.length)
75
+ throw document.errors[0];
76
+ const root = mapping(document.toJS({ mapAsMap: true }), "pnpm-workspace.yaml");
77
+ const current = mapping(root.get("catalogs"), "catalogs");
78
+ const sdk = mapping(current.get("automovie"), "catalogs.automovie");
79
+ const overrides = mapping(root.get("overrides"), "overrides");
80
+ const directories = new Set();
81
+ for (const [name, spec] of new Map([...sdk, ...overrides]))
82
+ if (name.startsWith("@automovie/") &&
83
+ typeof spec === "string" &&
84
+ spec.startsWith("link:"))
85
+ directories.add(path.dirname(path.resolve(workspace.directory, spec.slice(5))));
86
+ let changed = false;
87
+ for (const [catalog, dependencies] of Object.entries(catalogs)) {
88
+ const entries = mapping(current.get(catalog), `catalogs.${catalog}`);
89
+ const missing = Object.entries(dependencies).filter(([name]) => !entries.has(name));
90
+ if (missing.length === 0)
91
+ continue;
92
+ if (!changed)
93
+ isolateMapping(document, ["catalogs"], current);
94
+ isolateMapping(document, ["catalogs", catalog], entries);
95
+ for (const [name, range] of missing) {
96
+ const link = catalog === "automovie" && !overrides.has(name)
97
+ ? linkedSibling(workspace.directory, directories, name)
98
+ : undefined;
99
+ document.setIn(["catalogs", catalog, name], link ?? range);
100
+ }
101
+ changed = true;
102
+ }
103
+ return changed ? document.toString() : workspace.source;
104
+ }
105
+ /** Give this path its own entries, preserving the old values at other uses of its anchor. */
106
+ function isolateMapping(document, keys, values) {
107
+ const node = document.getIn(keys, true);
108
+ if (!(0, yaml_1.isMap)(node)) {
109
+ document.setIn(keys, document.createNode(values));
110
+ return;
111
+ }
112
+ if (node.anchor)
113
+ (0, yaml_1.visit)(document, {
114
+ Alias: (_key, alias) => {
115
+ if (alias.resolve(document) === node)
116
+ return document.createNode(values, { aliasDuplicateObjects: false });
117
+ },
118
+ });
119
+ }
120
+ /** Read an optional YAML mapping, refusing malformed pnpm settings before edits. */
121
+ function mapping(value, key) {
122
+ if (value === undefined || value === null)
123
+ return new Map();
124
+ if (value instanceof Map)
125
+ return value;
126
+ throw new Error(`${key} must be a mapping in pnpm-workspace.yaml`);
127
+ }
128
+ /** Resolve a missing scoped SDK package beside the workspace's linked SDK packages. */
129
+ function linkedSibling(root, directories, name) {
130
+ if (!name.startsWith("@automovie/"))
131
+ return undefined;
132
+ for (const directory of directories) {
133
+ const candidate = path.join(directory, name.slice("@automovie/".length));
134
+ const file = path.join(candidate, "package.json");
135
+ if (fs.existsSync(file) &&
136
+ JSON.parse(fs.readFileSync(file, "utf8")).name === name)
137
+ return `link:${path.relative(root, candidate).split(path.sep).join("/")}`;
138
+ }
139
+ return undefined;
140
+ }
141
+ //# sourceMappingURL=renderAutoMovieWorkspace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderAutoMovieWorkspace.js","sourceRoot":"","sources":["../src/renderAutoMovieWorkspace.ts"],"names":[],"mappings":"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"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@automovie/template",
3
- "version": "0.1.0",
4
- "description": "The self-contained scaffold every AutoMovie production is created from and the library that materializes it.",
3
+ "version": "0.3.0",
4
+ "description": "The scaffold every AutoMovie production is created from and the function that creates its files.",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
7
7
  ".": {
@@ -22,7 +22,7 @@
22
22
  "url": "https://github.com/samchon/automovie"
23
23
  },
24
24
  "files": [
25
- "build",
25
+ "generated",
26
26
  "lib",
27
27
  "README.md",
28
28
  "scaffold",
@@ -39,23 +39,20 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "koffi": "^3.2.1",
43
42
  "yaml": "^2.9.0"
44
43
  },
45
44
  "devDependencies": {
46
- "@ttsc/evidence": "^0.36.3",
47
- "@ttsc/lint": "^0.36.3",
45
+ "@automovie/evidence": "^0.3.0",
46
+ "@ttsc/evidence": "^0.37.1",
47
+ "@ttsc/lint": "^0.37.1",
48
48
  "@types/node": "^22.19.17",
49
49
  "rimraf": "^6.0.1",
50
- "ttsc": "^0.36.3",
50
+ "ttsc": "^0.37.1",
51
51
  "typescript": "^7.0.2",
52
- "@wrtnlabs/evidence": "^0.8.2",
53
- "@automovie/evidence": "^0.1.0"
52
+ "@wrtnlabs/evidence": "^0.8.2"
54
53
  },
55
54
  "scripts": {
56
- "build:versions": "ttsx --no-plugins build/resolveTemplateVersions.ts",
57
- "build:instructions": "ttsx --no-plugins build/syncScaffoldInstructions.ts",
58
- "build": "pnpm run build:versions && rimraf lib && pnpm run build:instructions && ttsc",
55
+ "build": "rimraf lib && pnpm run prepare && ttsc",
59
56
  "evidence": "evidence"
60
57
  },
61
58
  "types": "lib/index.d.ts"
@@ -1,32 +1,36 @@
1
1
  ---
2
2
  name: 3d-modeling
3
- description: Defines the form each subject of a production takes, namely the polygon man for a person, a coarse form of a few primitives for anything else, and on the user's request a generated, crafted or recovered form with its rig. Use before building or changing a subject's form; judging any picture belongs to the visual-debugging skill and body motion to the motion skill.
3
+ description: Prepares a subject's form and attachments.
4
4
  ---
5
5
 
6
6
  # 3D modeling
7
7
 
8
- A production's film is a hint for video diffusion, which supplies the look, so each subject takes the least form that serves the hint. Read [project context](../production/project-context.md) first for the representation the production adopted.
8
+ Prepare each subject's form and attachments from its production record.
9
9
 
10
10
  ## Default form
11
11
 
12
- A subject the hint does not need takes no form and stays a description in the generation prompt. A person is the polygon man that [entity work](../development/entities.md#people) prepares. Anything else a scene shows or touches is a [coarse form](coarse-forms.md), a few primitives that are just enough to tell what it is.
12
+ Use [entity work](../development/entities.md#coarse-first) for people and provided objects. A needed subject without a provided model takes a coarse form, and a subject the hint does not need stays a description in the generation prompt.
13
13
 
14
- ## Requested detail {#requested-detail}
14
+ | Read | To |
15
+ | --- | --- |
16
+ | [Coarse forms](coarse-forms.md) | Build a subject no package provides from a few primitives |
17
+ | [Modularization](modularization.md) | Define parts, groups, placements or shared boundaries |
18
+ | [Inspecting a form](inspection.md) | Inspect a form's measures, coverage or light |
19
+
20
+ Commissioned detail uses modularization and form inspection too.
21
+
22
+ A coarse form that reads poorly gets a better choice of primitives, never finer geometry.
15
23
 
16
- Go further only when the user asks for it, as a [detail option](../development/entities.md#detail), or when primitives cannot make a form identifiable. The user chooses its source: a diffusion model's output, code that shapes it in detail, or an existing mesh.
24
+ ## Commissioned detail
17
25
 
18
- Build only what the request names and the subject's visible role needs. Finer geometry than that takes the time motion needed, and diffusion repaints it anyway.
26
+ For a commissioned [detail option](../development/entities.md#detail), use the source the user chooses and cover the required views and controls.
19
27
 
20
- | Task | Read |
28
+ | Read | To |
21
29
  | --- | --- |
22
- | Generate the form with a diffusion model | [Diffusion](diffusion.md) |
23
- | Shape it in code from dimensions and formulas | [Crafting](crafting.md) |
24
- | Build or fit it from sections and guides | [Lofting](lofting.md) |
25
- | Find an existing mesh, material, environment map or motion clip | [Sources](sources.md) |
26
- | Take a found or generated mesh into the production, or vary it by a parameter | [Conditioning](conditioning.md) |
27
- | Rebuild a fixed mesh as curves or surfaces | [Recovery](recovery.md) |
28
- | Define parts, groups, placements or shared boundaries | [Modularization](modularization.md) |
29
- | Add or change a skeleton, skin, attachment or deformation control | [Rigging](rigging.md) |
30
- | Inspect a form's measures, coverage, construction or light | [Inspecting a form](inspection.md) |
31
-
32
- Whatever its source, a form is reproducible, rigged when it moves and judged on screen under [visual debugging](../visual-debugging/SKILL.md): a completed generation, fit, compilation or test establishes no visual result. The installed packages' documentation owns data formats and callable behavior.
30
+ | [Diffusion](diffusion/SKILL.md) | Generate the form with a diffusion model |
31
+ | [Crafting](crafting/SKILL.md) | Shape it in code from dimensions and formulas |
32
+ | [Lofting](crafting/lofting.md) | Build or fit it from sections and guides |
33
+ | [Sources](sources.md) | Find an existing mesh, material, environment map or motion clip |
34
+ | [Conditioning](conditioning.md) | Take a found or generated mesh into the production, or vary it by a parameter |
35
+ | [Mesh recovery](crafting/recovery.md) | Rebuild a fixed mesh as curves or surfaces |
36
+ | [Rigging](rigging.md) | Add or change a skeleton, skin, attachment or deformation control |
@@ -1,25 +1,23 @@
1
1
  # Coarse forms
2
2
 
3
- A coarse form is the few primitives that tell a reader of the hint what a subject is, how big it is and where its parts are. A person takes the polygon man under [entity work](../development/entities.md#people); this page covers every other subject.
3
+ A coarse form is the few primitives that tell a reader of the hint what a subject is, how big it is and where its parts are. It serves every subject that is neither a person nor an object an installed archetype offers.
4
4
 
5
5
  ## Parts
6
6
 
7
- People recognize an object quickly once two or three of its simple volumes and their arrangement can be made out ([Biederman 1987](https://doi.org/10.1037/0033-295X.94.2.115)). Build the two to four volumes that make the subject itself, each where the real one sits: a cylinder with an arc on its side is a mug, and the same arc over the top makes it a bucket.
7
+ Use two to four simple volumes in their real arrangement to distinguish the subject ([Biederman 1987](https://doi.org/10.1037/0033-295X.94.2.115)). Name it in the generation prompt.
8
8
 
9
- The generation prompt names the subject, so the form only has to be told apart from the other subjects in its scene.
10
-
11
- Add a further part only when a scene uses it: one a body grips, sits on, strikes or opens, or one that moves on its own pivot, such as a door or a lid.
9
+ Add only parts a scene interacts with or moves separately. Define their affordances under entity work.
12
10
 
13
11
  ## Size
14
12
 
15
- Take every dimension from the subject's record. The hint's outline and depth are rendered from the form, so a wrong size or bulk comes back wrong in the film.
13
+ Size the form from the subject's record.
16
14
 
17
15
  ## Primitives
18
16
 
19
- Use boxes, cylinders, cones, spheres, wedges and flat outlines extruded straight, each with the fewest sides that keep its outline at the scene's camera distance. A low-polygon kit piece from [Sources](sources.md) serves instead when it already has these parts at the record's size.
17
+ Use primitives or straight extrusions with only the sides needed at the scene's camera distance. A correctly sized low-poly piece from [Sources](sources.md) also works.
20
18
 
21
- Leave out bevels, surface relief, ornament, texture and any interior no camera sees. [Entity work](../development/entities.md#what-stays-out) says how the facts a coarse form cannot show reach the film.
19
+ Leave out bevels, surface relief, ornament, texture and any interior no camera sees. Entity work says how the facts a coarse form cannot show reach the film.
22
20
 
23
- ## Check
21
+ ## Outline check
24
22
 
25
- Render the form's outline from the cameras its scenes use, beside the polygon man. Stop when someone who has not read the screenplay could name the subject from that outline and its size is right against the figure, then accept it under [entity work](../development/entities.md#inspect-and-hand-off).
23
+ Render its outline from the actual scene cameras beside the polygon man. Confirm the silhouette identifies it without the screenplay and the scale is correct. Follow entity inspection and handoff.
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: 3d-modeling-diffusion
3
+ description: Generates a commissioned detail option's form with a text- or image-to-3D model.
4
+ ---
5
+
6
+ # Diffusion
7
+
8
+ Generate only a commissioned [detail option](../../development/entities.md#detail). Use the coarse form for dimensions and parts and canon references for appearance:
9
+
10
+ | Read | When the subject has |
11
+ | --- | --- |
12
+ | [Geometry condition](shape-hints.md#geometry-condition) | A coarse form whose layout the detail must keep |
13
+ | [Texture on the given mesh](shape-hints.md#texture-on-the-given-mesh) | A crafted form that is already final |
14
+ | [Bodies](shape-hints.md#bodies) | A polygon man, for a detailed person |
15
+ | [Rendered views](shape-hints.md#views-rendered-from-the-shape) | Canon references, and no model that takes a shape |
16
+ | [Text prompts](prompts.md) | Only its record |
17
+
18
+ Condition geometry on the [coarse form](../coarse-forms.md) and appearance on canon references. Texture a final crafted form from those references. For bodies, condition on the polygon man's joints and bind to the same skeleton.
19
+
20
+ The views are rendered from the coarse form and restyled under [turnaround views](../../image/turnaround-views.md), and [image hints](image-hints.md) covers those images. A text prompt keeps the record's wording.
21
+
22
+ Choose the model with the user, from [3D models](models.md) or beyond, and record it in [project context](../../production/project-context.md); [request](request.md) sets what to ask for, whatever steers it.
23
+
24
+ Freeze each accepted result and take it into the entity's detail option under [Conditioning](../conditioning.md), keep it where [media records](../../production/media-records.md#files) sets, and compare it with the coarse form as [detail](../../development/entities.md#detail) sets.
@@ -1,28 +1,17 @@
1
1
  ---
2
2
  name: audio
3
- description: Decides what each shot sounds like for the video model to generate, makes a voice preview when the user wants to hear voices before video generation, and builds a soundtrack only when the commission asks for one, always for the user to accept by ear. Use when writing a shot's sound into a generation prompt, when the user requests a voice preview, or when a soundtrack is commissioned.
3
+ description: Plans, generates and finishes a film's sound.
4
4
  ---
5
5
 
6
6
  # Audio
7
7
 
8
- Because [you cannot hear](../../../AGENTS.md#what-you-can-observe), you measure what decoded bytes show and the user accepts every sound by listening. Audio work has three cases. Source changes follow [development](../development/SKILL.md).
9
-
10
- ## Generated sound
11
-
12
- A generated film's voices, effects and ambience come from the video model, which generates them in sync with the picture. The production's audio work is to decide what each shot sounds like, from the screenplay's speech and sound decisions, and write it into that shot's prompt in the selected model's syntax under [video](../video/SKILL.md).
13
-
14
- The model times and lip-syncs speech inside the clip it generates, so keep each shot's lines speakable at a natural pace within that clip's duration, about one or two short exchanges per four seconds.
15
-
16
- When the selected model or mode generates no sound, report it to the user with two choices, a sound-generating model or mode, or a separate video-to-audio pass over the accepted take, and follow their choice.
17
-
18
- ## Voice preview
19
-
20
- Make a preview only when the user wants to hear the voices before video generation. Use [local speech](local-speech.md) or another speech service under [acquisition](acquisition.md), adding [sound effects](sound-effects.md) only when the user asks for them too, and ask the user to play it with the motion hint in the Viewer and listen. A preview is never delivered or required, and the video prompt still carries the film's sound.
21
-
22
- ## Commissioned soundtrack {#commissioned-soundtrack}
23
-
24
- A motion hint and a direct 3D film are silent unless the commission asks for sound, and no stage waits on a soundtrack nobody commissioned.
25
-
26
- When one is commissioned, record its tracks and loudness target in the [delivery profile](../production/project-context.md), acquire its material under [acquisition](acquisition.md), build it under [sound effects](sound-effects.md), and have the user listen at every acceptance: each adopted take, each mixed passage with its picture, and the delivered file.
27
-
28
- Record which takes and passages the user heard, because a measurement cannot stand for a listening.
8
+ | Read | To |
9
+ | --- | --- |
10
+ | [Generated sound](generated-sound.md) | Decide a shot's sound for its video request |
11
+ | [Film sound](film-sound.md) | Finish a generated film's sound across its takes |
12
+ | [Audio generation](diffusion/SKILL.md) | Choose a generator, write audio prompts or clone a voice |
13
+ | [Voice preview](acquisition.md#voice-preview) | Make a voice preview |
14
+ | [Commissioned soundtrack](soundtrack.md) | Build a commissioned soundtrack |
15
+ | [Listening](listening.md) | Verify an adopted take, mix or audio delivery |
16
+ | [Acquisition](acquisition.md) | Find, license and adopt speech, music or recordings |
17
+ | [Sound effects](sound-effects.md) | Build and place effects and beds |
@@ -1,25 +1,35 @@
1
1
  # Audio acquisition
2
2
 
3
- Audio is acquired only for a requested voice preview or a [commissioned soundtrack](SKILL.md#commissioned-soundtrack); a generated film's sound needs none of it.
3
+ Adopt and clear audio sourced apart from the video model, including voice previews, dialogue, beds, scores and commissioned soundtracks.
4
4
 
5
- Audio generation and recording happen outside deterministic replay. Read the installed packages' contracts for admitted formats and mixing, and this production's host, before wiring audio into a render; a decoder's presence does not mean the delivery entry uses it. Setup and secrets follow [source layout](../development/source-layout.md).
5
+ Before wiring audio, check the installed format and mixing contracts and the delivery host's supported path. Follow [source layout](../development/source-layout.md) for setup and secrets.
6
6
 
7
- ## Choose a source
7
+ ## Source choice
8
8
 
9
- Use the user's supplied recordings or chosen provider first, and [research](../story/planning/research.md) reference sounds when needed. Otherwise compare an existing recording or licensed library, a hosted speech or audio service, and local generation against the required language, performance, privacy, cost, hardware and turnaround, using existing connectors and command-line tools before writing acquisition code.
9
+ Start with the user's recordings or provider. [Research](../story/planning/research.md) reference sounds as needed. Compare libraries, hosted and local generation by language, performance, privacy, cost and time. Reuse connectors and CLI tools.
10
10
 
11
- Check each asset's license for commercial use, adaptation, attribution and delivery; permission to synchronize sound with a film differs from permission to publish its raw files, and a free download grants neither.
11
+ Check [all rights layers](../production/media-records.md#records) for commercial use, adaptation, attribution and release. Check synchronization and raw-file distribution separately. For recorded music, clear composition synchronization and recording master use.
12
12
 
13
- ## Adopt a take
13
+ Clone or design a voice after a real person only with that person's recorded consent, and through the provider's own voice verification where it has one.
14
14
 
15
- Keep accepted bytes and their record under [media records](../production/media-records.md#records); a regeneration is a new take until the user has heard it. Convert to a format the installed packages admit while keeping the original.
15
+ ## Speech
16
16
 
17
- For a commissioned soundtrack, keep an accepted music take's tempo map and cue sheet beside it: they are the anchors the screenplay's music events and the scenes' timing cite.
17
+ ### Generating speech
18
18
 
19
- Measure durations and trims from the accepted bytes, place dialogue, captions, cuts and cues against them, and when a line does not fit, edit the take, script or shot intentionally and have the user listen to the result.
19
+ Write speech and voice descriptions as audio prompts, or clone a reference voice or convert an existing performance, under this skill's audio generation pages.
20
20
 
21
- ## Have it heard
21
+ ### Voice preview
22
22
 
23
- Measure what decoded bytes show, such as duration, silence, clipping and loudness, and ask the user to listen to each adopted take for words, pronunciation, performance and noise. The [audio skill](SKILL.md#commissioned-soundtrack) sets when the user listens; in the delivered audio the user listens for intelligibility, missing cues, transitions and the ending.
23
+ Make a preview, generated as above, only when the user wants to hear voices before video generation, with effects only when requested too.
24
24
 
25
- A waveform, timing report or successful render does not establish that the intended recording is audible. Fix acquisition, identity, timing or wiring at its owner.
25
+ Ask the user to play it alongside the motion hint and listen. A preview is never delivered or required, and the [video prompt](../video/diffusion/prompts.md#sound) still carries the film's sound.
26
+
27
+ ## Takes
28
+
29
+ ### Take adoption
30
+
31
+ Keep accepted bytes and their record under [media records](../production/media-records.md#records); a regeneration is a new take until the user has heard it. Convert the take to a format the installed packages admit, at the sample rate the output requires, keeping the original.
32
+
33
+ Measure durations and trims from the accepted bytes, and place dialogue, captions, cuts and cues against them. When a line does not fit, edit the take, script or shot deliberately and have the user listen to the result.
34
+
35
+ Keep each accepted music take's tempo map with it for screenplay events and scene timing. Make the cue sheet from the locked cut under [assembly](../production/assembly.md#repair-and-delivery).
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: audio-diffusion
3
+ description: Chooses audio models, writes sound prompts and clones voices.
4
+ ---
5
+
6
+ # Audio generation
7
+
8
+ Generate audio for the sound work the audio skill admits. This route includes diffusion, flow and autoregressive models; choose by the conditioning the task needs. Rights and accepted takes belong to [acquisition](../acquisition.md).
9
+
10
+ | Read | To |
11
+ | --- | --- |
12
+ | [Models](models.md) | Choose a speech, conversion or sound model |
13
+ | [Prompts](prompts.md) | Write speech, effects or music prompts |
14
+ | [Cloning](cloning.md) | Clone a voice or convert an existing performance |
15
+
16
+ ## Model documentation
17
+
18
+ Read the exact checkpoint and endpoint guide for languages, inputs, controls, normalization, pronunciation, speaker binding, limits, formats, duration and seeds.
@@ -0,0 +1,25 @@
1
+ # Voice cloning
2
+
3
+ Voice cloning uses reference audio to condition a speaker's identity. For new words, use reference-conditioned text-to-speech; for an existing delivery, use performance conversion. Voice design from description belongs to [prompts](prompts.md#voice-design).
4
+
5
+ ## Reference and transcript
6
+
7
+ Choose a checkpoint whose documentation supports cloning in the required language, and check reference permission under [source choice](../acquisition.md#source-choice).
8
+
9
+ Use a clean single-speaker reference whose delivery fits the task; continuation can carry its emotion, pace and recording character. Trim at complete phrase boundaries and retain the padding the model requires.
10
+
11
+ Match reference length and format to the model. Verify any reference transcript against the reference audio. Keep it separate from the new words.
12
+
13
+ ## New speech
14
+
15
+ Bind each character to its accepted reference bytes. Use the checkpoint's recommended reference-only or transcript-conditioned input for the task.
16
+
17
+ Write new lines and delivery controls under [prompts](prompts.md), and verify a [first take](prompts.md#first-take) before a batch. Reuse the accepted reference for later lines; even a fixed reference can vary between requests.
18
+
19
+ Record reference digest, conditioning mode and transcript when used under [media records](../../production/media-records.md#records). Fine-tuning also needs training recordings and separate verification.
20
+
21
+ ## Performance conversion
22
+
23
+ When the words and delivery already work but the voice drifts, convert the existing speech to the accepted voice. [Separate](../film-sound.md#separation) dialogue from the mix first so music and effects are not converted with it.
24
+
25
+ Compare duration and word boundaries with the source, and have the user [listen](../listening.md#user-listening) for retained expression, voice identity and artifacts. Replace the dialogue stem, recheck synchronization under [partial repair](../../video/finishing.md#partial-repair), and finish the affected [mix](../film-sound.md).
@@ -0,0 +1,59 @@
1
+ # Audio models
2
+
3
+ These models differ in how they create a voice, take a reference and preserve a performance; the user may choose another. Verify the chosen checkpoint in its own documentation.
4
+
5
+ Choose against the requested language, reference material, performance and rights. Check the exact checkpoint's terms under [source choice](../acquisition.md#source-choice); code and weights can have different licenses.
6
+
7
+ ## Speech
8
+
9
+ ### Voice cloning
10
+
11
+ [VoxCPM2](https://github.com/OpenBMB/VoxCPM) designs voices from text, clones from reference audio, or continues a reference with its transcript. It supports Korean among 30 languages, with Apache-2.0 code and weights. Earlier VoxCPM releases have different language coverage.
12
+
13
+ [Qwen3-TTS](https://github.com/QwenLM/Qwen3-TTS) separates Base checkpoints for reference cloning, VoiceDesign for descriptions, and CustomVoice for provided speakers. Its ten languages include Korean; the releases use Apache-2.0. Choose Base when cloning an arbitrary reference.
14
+
15
+ [CosyVoice3](https://github.com/QwenAudio/CosyVoice) offers cross-language reference cloning and performance instructions. The [Fun-CosyVoice3-0.5B-2512 checkpoint](https://huggingface.co/FunAudioLLM/Fun-CosyVoice3-0.5B-2512) supports Korean among nine languages under Apache-2.0. Its [examples](https://github.com/QwenAudio/CosyVoice/blob/main/example.py) distinguish instruction and reference modes.
16
+
17
+ [GPT-SoVITS](https://github.com/RVC-Boss/GPT-SoVITS) offers reference synthesis and few-shot voice adaptation, including Korean. Adaptation adds preparation of training recordings. The repository is MIT; check pretrained components and recordings separately.
18
+
19
+ [Chatterbox](https://github.com/resemble-ai/chatterbox) provides multilingual reference cloning including Korean; Turbo and Nano target English with smaller models. Its repository declares the research retired and unmaintained since August 2026, retaining MIT code, so weigh maintenance before adopting it.
20
+
21
+ [XTTS-v2](https://huggingface.co/coqui/XTTS-v2) clones from one or several references across 17 languages including Korean. Its weights use the Coqui Public Model License, which the maintained [TTS code fork](https://github.com/idiap/coqui-ai-TTS) does not relicense.
22
+
23
+ ### Voice design and dialogue
24
+
25
+ [MOSS-TTS](https://github.com/OpenMOSS/MOSS-TTS) has separate long-speech, dialogue, voice-design, realtime and effects models; choose the one for the task. Its [v1.5 speech checkpoint](https://huggingface.co/OpenMOSS-Team/MOSS-TTS-v1.5) supports reference cloning and duration control across 31 languages including Korean under Apache-2.0.
26
+
27
+ [MOSS-TTSD](https://github.com/OpenMOSS/MOSS-TTSD) uses speaker-bound references and transcript prefixes for continued dialogue. Its speaker and language support belong to that release, separately from the single-speaker model.
28
+
29
+ [Fish Drama 3](https://huggingface.co/fishaudio/drama-3) generates multiple characters and long content with reference voices and local revisions. Its [direction guide](https://docs.fish.audio/features/text-to-speech/drama-3) distinguishes line delivery, momentary sounds and word-scoped changes. [S2-Pro](https://github.com/fishaudio/fish-speech) is a smaller previous generation.
30
+
31
+ Drama 3's license file uses Fish Audio Community terms while model metadata still labels research terms; inspect the downloaded revision. S2-Pro retains research terms.
32
+
33
+ [Higgs TTS 3](https://huggingface.co/bosonai/higgs-tts-3-4b) offers conversational reference cloning and inline performance controls, including Korean. Its custom license has a creator-use grant with attribution conditions, separate from hosted or product use. The older Higgs repository is not its runtime.
34
+
35
+ ### Emotion and continuation
36
+
37
+ [IndexTTS-2.5](https://github.com/index-tts/index-tts) separates speaker and emotion references, with speed and pronunciation controls. It lists Chinese, English, Japanese, Spanish and Arabic, not Korean. Read its Bilibili Model Use License and check which duration controls the chosen release implements.
38
+
39
+ [F5-TTS](https://github.com/SWivid/F5-TTS) uses flow matching for reference-and-transcript continuation. Its [inference guide](https://github.com/SWivid/F5-TTS/blob/main/src/f5_tts/infer/README.md) covers reference trimming, punctuation and number readings. Code is MIT, but official [weights](https://huggingface.co/SWivid/F5-TTS) are CC-BY-NC-4.0; community checkpoints need separate evidence.
40
+
41
+ ### Converting a performance
42
+
43
+ [OpenVoice V2](https://github.com/myshell-ai/OpenVoice) separates base speech synthesis from tone-color conversion, supporting six languages including Korean under MIT. It serves [performance conversion](cloning.md#performance-conversion); reference-conditioned TTS can choose new timing.
44
+
45
+ ### Other roles
46
+
47
+ [VibeVoice](https://github.com/microsoft/VibeVoice) separates ASR and realtime synthesis from its original TTS release, whose code Microsoft removed. An available recognizer or experimental speaker does not establish arbitrary-reference cloning.
48
+
49
+ [ElevenLabs](https://elevenlabs.io/docs/overview/capabilities/text-to-speech/best-practices) offers hosted speech with model-specific pronunciation and delivery controls. Its [voice-design guide](https://elevenlabs.io/docs/eleven-creative/voices/voice-design) separates voice traits from preview text, while [voice changer](https://elevenlabs.io/docs/overview/capabilities/voice-changer) converts an existing performance.
50
+
51
+ [Gemini TTS](https://aistudio.google.com/docs/speech-generation#prompting-guide) separates the spoken transcript, turn-level delivery and momentary vocal events. Its current endpoint's structured input differs from earlier prompt-only examples; verify the endpoint before reusing a recipe.
52
+
53
+ ## Effects and ambience
54
+
55
+ [Stable Audio 3](https://github.com/Stability-AI/stable-audio-3) generates instrumental music and effects under Stability's Community License. Its [prompt guide](https://stability.ai/guides/stable-audio-3-prompt-guide) covers sources, acoustic character, stems, audio variations and continuation; it is not intended for intelligible vocals.
56
+
57
+ [MOSS-SoundEffect](https://github.com/OpenMOSS/MOSS-TTS) is another purpose-built effects model.
58
+
59
+ [MMAudio](https://github.com/hkchengrex/MMAudio) takes picture and text for short effects and ambience, not dialogue or a continuous scene bed. Code is MIT and checkpoints CC-BY-NC-4.0.