@automovie/template 0.1.0 → 0.2.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 (732) hide show
  1. package/README.md +14 -18
  2. package/generated/pnpm-workspace.json +54 -0
  3. package/{lib → generated}/skills/3d-modeling/conditioning.md +24 -27
  4. package/generated/skills/3d-modeling/crafting/SKILL.md +16 -0
  5. package/generated/skills/3d-modeling/crafting/construction.md +70 -0
  6. package/generated/skills/3d-modeling/crafting/lofting.md +73 -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 +27 -0
  10. package/generated/skills/3d-modeling/diffusion/prompts.md +9 -0
  11. package/generated/skills/3d-modeling/diffusion/request.md +16 -0
  12. package/generated/skills/3d-modeling/diffusion/shape-hints.md +31 -0
  13. package/generated/skills/3d-modeling/inspection.md +55 -0
  14. package/generated/skills/3d-modeling/modularization.md +25 -0
  15. package/{lib → generated}/skills/3d-modeling/rigging.md +21 -27
  16. package/{lib → generated}/skills/3d-modeling/sources.md +6 -6
  17. package/{lib → generated}/skills/contracts/development/design.md +2 -3
  18. package/{lib → generated}/skills/contracts/development/implementation.md +4 -4
  19. package/{lib → generated}/skills/contracts/development/testing.md +1 -1
  20. package/generated/skills/development/repair.md +13 -0
  21. package/{lib → generated}/skills/documentation/SKILL.md +2 -8
  22. package/generated/skills/documentation/writing.md +63 -0
  23. package/{lib/skills/motion → generated/skills/motion/laws}/authoring.md +13 -9
  24. package/{lib/skills/motion → generated/skills/motion/laws}/contacts.md +3 -1
  25. package/{lib/skills/motion/laws.md → generated/skills/motion/laws/declaration.md} +8 -8
  26. package/generated/skills/motion/laws/transitions.md +37 -0
  27. package/{lib/skills/motion → generated/skills/motion/laws}/variation.md +5 -5
  28. package/{lib/skills/motion → generated/skills/motion/laws}/verification.md +7 -13
  29. package/generated/skills/prompting/SKILL.md +82 -0
  30. package/{lib → generated}/skills/visual-debugging/capture.md +13 -11
  31. package/{lib → generated}/skills/visual-debugging/comparison.md +7 -9
  32. package/{lib → generated}/skills/visual-debugging/correction-rounds.md +13 -13
  33. package/{lib → generated}/skills/visual-debugging/passes.md +9 -9
  34. package/lib/IAutoMovieScaffoldProps.d.ts +14 -6
  35. package/lib/assertScaffoldProjectName.d.ts +1 -1
  36. package/lib/assertScaffoldProjectName.js +1 -1
  37. package/lib/createAutoMovieScaffold.d.ts +27 -0
  38. package/lib/createAutoMovieScaffold.js +145 -0
  39. package/lib/createAutoMovieScaffold.js.map +1 -0
  40. package/lib/index.d.ts +1 -45
  41. package/lib/index.js +1 -45
  42. package/lib/index.js.map +1 -1
  43. package/lib/listAutoMovieScaffoldFiles.d.ts +2 -2
  44. package/lib/listAutoMovieScaffoldFiles.js +2 -2
  45. package/package.json +9 -12
  46. package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +14 -11
  47. package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +7 -9
  48. package/scaffold/instructions/.agents/skills/3d-modeling/diffusion/SKILL.md +20 -0
  49. package/scaffold/instructions/.agents/skills/audio/SKILL.md +10 -21
  50. package/scaffold/instructions/.agents/skills/audio/acquisition.md +24 -12
  51. package/scaffold/instructions/.agents/skills/audio/film-sound.md +25 -0
  52. package/scaffold/instructions/.agents/skills/audio/generated-sound.md +15 -0
  53. package/scaffold/instructions/.agents/skills/audio/sound-effects.md +11 -17
  54. package/scaffold/instructions/.agents/skills/audio/soundtrack.md +5 -0
  55. package/scaffold/instructions/.agents/skills/contracts/SKILL.md +10 -16
  56. package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +5 -5
  57. package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +5 -7
  58. package/scaffold/instructions/.agents/skills/contracts/development/composition.md +12 -8
  59. package/scaffold/instructions/.agents/skills/contracts/development/entities.md +7 -6
  60. package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +20 -20
  61. package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +18 -16
  62. package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +13 -12
  63. package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +13 -15
  64. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +3 -3
  65. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +2 -2
  66. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +1 -1
  67. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +1 -1
  68. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +2 -2
  69. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/settings.md +1 -1
  70. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +1 -1
  71. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +6 -6
  72. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +3 -3
  73. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +4 -4
  74. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +2 -2
  75. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +4 -4
  76. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +3 -3
  77. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +3 -3
  78. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +3 -7
  79. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +3 -7
  80. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +5 -5
  81. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +3 -3
  82. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +4 -4
  83. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +4 -4
  84. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +3 -7
  85. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +4 -4
  86. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +2 -6
  87. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +2 -6
  88. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +2 -6
  89. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +5 -5
  90. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +2 -6
  91. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +4 -4
  92. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/review.md +5 -5
  93. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +5 -9
  94. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +3 -7
  95. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +2 -6
  96. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +3 -3
  97. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +4 -7
  98. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +7 -7
  99. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +2 -2
  100. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +3 -4
  101. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +4 -4
  102. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +5 -7
  103. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +2 -2
  104. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +37 -44
  105. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +7 -8
  106. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +4 -4
  107. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +5 -8
  108. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +12 -11
  109. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +3 -3
  110. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +12 -12
  111. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +16 -16
  112. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +7 -5
  113. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +14 -14
  114. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +16 -20
  115. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +7 -10
  116. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +5 -6
  117. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +29 -22
  118. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +13 -15
  119. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +9 -17
  120. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +4 -7
  121. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +8 -7
  122. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +29 -25
  123. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +11 -10
  124. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +18 -18
  125. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +13 -25
  126. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +41 -45
  127. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +16 -16
  128. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +8 -24
  129. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +12 -17
  130. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +7 -8
  131. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +4 -5
  132. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +3 -4
  133. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +3 -3
  134. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +3 -3
  135. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +3 -3
  136. package/scaffold/instructions/.agents/skills/development/SKILL.md +5 -7
  137. package/scaffold/instructions/.agents/skills/development/entities.md +20 -20
  138. package/scaffold/instructions/.agents/skills/development/reuse.md +19 -18
  139. package/scaffold/instructions/.agents/skills/development/source-layout.md +32 -24
  140. package/scaffold/instructions/.agents/skills/development/testing.md +13 -10
  141. package/scaffold/instructions/.agents/skills/direct-film/SKILL.md +51 -0
  142. package/scaffold/instructions/.agents/skills/evidence/SKILL.md +1 -1
  143. package/scaffold/instructions/.agents/skills/evidence/adoption.md +4 -4
  144. package/scaffold/instructions/.agents/skills/evidence/answering.md +2 -4
  145. package/scaffold/instructions/.agents/skills/evidence/configuration.md +8 -8
  146. package/scaffold/instructions/.agents/skills/image/SKILL.md +16 -58
  147. package/scaffold/instructions/.agents/skills/image/canon-references.md +27 -0
  148. package/scaffold/instructions/.agents/skills/image/conditioning.md +27 -0
  149. package/scaffold/instructions/.agents/skills/image/consistency.md +23 -0
  150. package/scaffold/instructions/.agents/skills/image/editing.md +15 -0
  151. package/scaffold/instructions/.agents/skills/image/finishing.md +11 -0
  152. package/scaffold/instructions/.agents/skills/image/models.md +18 -0
  153. package/scaffold/instructions/.agents/skills/image/prompting.md +25 -0
  154. package/scaffold/instructions/.agents/skills/image/turnaround-views.md +13 -0
  155. package/scaffold/instructions/.agents/skills/motion/SKILL.md +31 -47
  156. package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +24 -4
  157. package/scaffold/instructions/.agents/skills/motion/compose/composition.md +58 -0
  158. package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +15 -0
  159. package/scaffold/instructions/.agents/skills/motion/control-channels.md +20 -8
  160. package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +24 -0
  161. package/scaffold/instructions/.agents/skills/motion/diffusion/clips.md +17 -0
  162. package/scaffold/instructions/.agents/skills/motion/diffusion/hints.md +37 -0
  163. package/scaffold/instructions/.agents/skills/motion/diffusion/models.md +24 -0
  164. package/scaffold/instructions/.agents/skills/motion/diffusion/tracing.md +53 -0
  165. package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +8 -12
  166. package/scaffold/instructions/.agents/skills/motion/laws/$verification.md +0 -0
  167. package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +19 -0
  168. package/scaffold/instructions/.agents/skills/motion/laws/extension.md +35 -0
  169. package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +21 -0
  170. package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +16 -16
  171. package/scaffold/instructions/.agents/skills/motion/retargeting.md +8 -10
  172. package/scaffold/instructions/.agents/skills/motion/segment-review.md +4 -6
  173. package/scaffold/instructions/.agents/skills/motion/staging.md +21 -13
  174. package/scaffold/instructions/.agents/skills/production/SKILL.md +19 -19
  175. package/scaffold/instructions/.agents/skills/production/assembly.md +14 -12
  176. package/scaffold/instructions/.agents/skills/production/captions.md +15 -0
  177. package/scaffold/instructions/.agents/skills/production/media-records.md +13 -12
  178. package/scaffold/instructions/.agents/skills/production/project-context.md +33 -12
  179. package/scaffold/instructions/.agents/skills/production/reorganization.md +13 -0
  180. package/scaffold/instructions/.agents/skills/production/stage-caches.md +11 -11
  181. package/scaffold/instructions/.agents/skills/production/sustained-runs.md +9 -9
  182. package/scaffold/instructions/.agents/skills/review/SKILL.md +3 -5
  183. package/scaffold/instructions/.agents/skills/review/delivery-review.md +25 -29
  184. package/scaffold/instructions/.agents/skills/review/estimation.md +10 -10
  185. package/scaffold/instructions/.agents/skills/review/independent-reading.md +10 -18
  186. package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +10 -36
  187. package/scaffold/instructions/.agents/skills/review/source-review.md +6 -18
  188. package/scaffold/instructions/.agents/skills/story/SKILL.md +11 -11
  189. package/scaffold/instructions/.agents/skills/story/answers.md +27 -0
  190. package/scaffold/instructions/.agents/skills/story/correction/inspection.md +8 -12
  191. package/scaffold/instructions/.agents/skills/story/correction/repair.md +8 -12
  192. package/scaffold/instructions/.agents/skills/story/document-layout.md +9 -12
  193. package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +10 -9
  194. package/scaffold/instructions/.agents/skills/story/layers/brief.md +7 -19
  195. package/scaffold/instructions/.agents/skills/story/layers/notation.md +25 -16
  196. package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +23 -7
  197. package/scaffold/instructions/.agents/skills/story/layers/scripts.md +4 -4
  198. package/scaffold/instructions/.agents/skills/story/layers/settings.md +10 -16
  199. package/scaffold/instructions/.agents/skills/story/layers/shots.md +27 -0
  200. package/scaffold/instructions/.agents/skills/story/layers/treatments.md +4 -4
  201. package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +4 -4
  202. package/scaffold/instructions/.agents/skills/story/planning/direction.md +4 -4
  203. package/scaffold/instructions/.agents/skills/story/planning/discovery.md +8 -7
  204. package/scaffold/instructions/.agents/skills/story/planning/requirements.md +11 -11
  205. package/scaffold/instructions/.agents/skills/story/planning/research.md +24 -11
  206. package/scaffold/instructions/.agents/skills/story/workflow/SKILL.md +14 -0
  207. package/scaffold/instructions/.agents/skills/story/workflow/long.md +38 -0
  208. package/scaffold/instructions/.agents/skills/story/workflow/routes.md +40 -0
  209. package/scaffold/instructions/.agents/skills/story/workflow/short.md +33 -0
  210. package/scaffold/instructions/.agents/skills/video/SKILL.md +12 -21
  211. package/scaffold/instructions/.agents/skills/video/diffusion/SKILL.md +21 -0
  212. package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +21 -0
  213. package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +14 -0
  214. package/scaffold/instructions/.agents/skills/video/diffusion/models.md +26 -0
  215. package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +45 -0
  216. package/scaffold/instructions/.agents/skills/video/finishing.md +44 -0
  217. package/scaffold/instructions/.agents/skills/video/generation.md +24 -13
  218. package/scaffold/instructions/.agents/skills/video/requests.md +46 -0
  219. package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +5 -6
  220. package/scaffold/instructions/AGENTS.md +30 -56
  221. package/scaffold/production/PROJECT.md +1 -1
  222. package/scaffold/production/README.md +50 -96
  223. package/scaffold/production/_gitignore +1 -2
  224. package/scaffold/production/index.html +4 -8
  225. package/scaffold/production/lint.config.ts +1 -1
  226. package/scaffold/production/package.json +31 -31
  227. package/scaffold/production/src/IFilm.ts +3 -3
  228. package/scaffold/production/src/IFilmProduction.ts +16 -5
  229. package/scaffold/production/src/composition/films/index.ts +3 -2
  230. package/scaffold/production/src/composition/films/starter.ts +2 -2
  231. package/scaffold/production/src/main.ts +9 -195
  232. package/scaffold/production/src/markFilmProduction.ts +43 -0
  233. package/scaffold/production/src/selectFilm.ts +3 -5
  234. package/scaffold/production/src/subjects.ts +59 -0
  235. package/scaffold/production/vite.config.ts +4 -2
  236. package/scaffold/workspace/README.md +5 -7
  237. package/scaffold/workspace/package.json +1 -1
  238. package/src/IAutoMovieScaffoldProps.ts +15 -6
  239. package/src/assertScaffoldProjectName.ts +1 -1
  240. package/src/createAutoMovieScaffold.ts +152 -0
  241. package/src/index.ts +1 -46
  242. package/src/listAutoMovieScaffoldFiles.ts +2 -2
  243. package/build/resolveTemplateVersions.ts +0 -92
  244. package/build/syncScaffoldInstructions.ts +0 -28
  245. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.d.ts +0 -14
  246. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js +0 -52
  247. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js.map +0 -1
  248. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.d.ts +0 -2
  249. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js +0 -42
  250. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js.map +0 -1
  251. package/lib/AutoMovieScaffoldLayer.d.ts +0 -15
  252. package/lib/AutoMovieScaffoldLayer.js +0 -3
  253. package/lib/AutoMovieScaffoldLayer.js.map +0 -1
  254. package/lib/FILE_ATTRIBUTE_DIRECTORY.d.ts +0 -2
  255. package/lib/FILE_ATTRIBUTE_DIRECTORY.js +0 -6
  256. package/lib/FILE_ATTRIBUTE_DIRECTORY.js.map +0 -1
  257. package/lib/IAutoMovieCatalogVersionProps.d.ts +0 -16
  258. package/lib/IAutoMovieCatalogVersionProps.js +0 -3
  259. package/lib/IAutoMovieCatalogVersionProps.js.map +0 -1
  260. package/lib/IAutoMovieScaffoldSourceEntry.d.ts +0 -18
  261. package/lib/IAutoMovieScaffoldSourceEntry.js +0 -3
  262. package/lib/IAutoMovieScaffoldSourceEntry.js.map +0 -1
  263. package/lib/IAutoMovieTemplateDependencyVersionsProps.d.ts +0 -17
  264. package/lib/IAutoMovieTemplateDependencyVersionsProps.js +0 -3
  265. package/lib/IAutoMovieTemplateDependencyVersionsProps.js.map +0 -1
  266. package/lib/IAutoMovieWorkspacePackageVersions.d.ts +0 -34
  267. package/lib/IAutoMovieWorkspacePackageVersions.js +0 -3
  268. package/lib/IAutoMovieWorkspacePackageVersions.js.map +0 -1
  269. package/lib/IBoundChild.d.ts +0 -71
  270. package/lib/IBoundChild.js +0 -3
  271. package/lib/IBoundChild.js.map +0 -1
  272. package/lib/IBoundChildStatus.d.ts +0 -20
  273. package/lib/IBoundChildStatus.js +0 -3
  274. package/lib/IBoundChildStatus.js.map +0 -1
  275. package/lib/IBoundParent.d.ts +0 -61
  276. package/lib/IBoundParent.js +0 -3
  277. package/lib/IBoundParent.js.map +0 -1
  278. package/lib/IBoundParentStatus.d.ts +0 -14
  279. package/lib/IBoundParentStatus.js +0 -3
  280. package/lib/IBoundParentStatus.js.map +0 -1
  281. package/lib/ICreateResult.d.ts +0 -27
  282. package/lib/ICreateResult.js +0 -3
  283. package/lib/ICreateResult.js.map +0 -1
  284. package/lib/IScaffoldCompletedFilePublicationOutcome.d.ts +0 -16
  285. package/lib/IScaffoldCompletedFilePublicationOutcome.js +0 -3
  286. package/lib/IScaffoldCompletedFilePublicationOutcome.js.map +0 -1
  287. package/lib/IScaffoldCompletedPublication.d.ts +0 -15
  288. package/lib/IScaffoldCompletedPublication.js +0 -3
  289. package/lib/IScaffoldCompletedPublication.js.map +0 -1
  290. package/lib/IScaffoldFileSnapshot.d.ts +0 -24
  291. package/lib/IScaffoldFileSnapshot.js +0 -3
  292. package/lib/IScaffoldFileSnapshot.js.map +0 -1
  293. package/lib/IScaffoldParentPublicationRequest.d.ts +0 -26
  294. package/lib/IScaffoldParentPublicationRequest.js +0 -3
  295. package/lib/IScaffoldParentPublicationRequest.js.map +0 -1
  296. package/lib/IScaffoldPartialFilePublicationOutcome.d.ts +0 -22
  297. package/lib/IScaffoldPartialFilePublicationOutcome.js +0 -3
  298. package/lib/IScaffoldPartialFilePublicationOutcome.js.map +0 -1
  299. package/lib/IScaffoldPhysicalDirectory.d.ts +0 -20
  300. package/lib/IScaffoldPhysicalDirectory.js +0 -3
  301. package/lib/IScaffoldPhysicalDirectory.js.map +0 -1
  302. package/lib/IScaffoldPosixConstants.d.ts +0 -24
  303. package/lib/IScaffoldPosixConstants.js +0 -3
  304. package/lib/IScaffoldPosixConstants.js.map +0 -1
  305. package/lib/IScaffoldPublicationEntry.d.ts +0 -20
  306. package/lib/IScaffoldPublicationEntry.js +0 -3
  307. package/lib/IScaffoldPublicationEntry.js.map +0 -1
  308. package/lib/IScaffoldPublicationFailure.d.ts +0 -18
  309. package/lib/IScaffoldPublicationFailure.js +0 -3
  310. package/lib/IScaffoldPublicationFailure.js.map +0 -1
  311. package/lib/IScaffoldPublicationOptions.d.ts +0 -17
  312. package/lib/IScaffoldPublicationOptions.js +0 -3
  313. package/lib/IScaffoldPublicationOptions.js.map +0 -1
  314. package/lib/IScaffoldPublicationReceipt.d.ts +0 -25
  315. package/lib/IScaffoldPublicationReceipt.js +0 -3
  316. package/lib/IScaffoldPublicationReceipt.js.map +0 -1
  317. package/lib/IScaffoldRefusedFilePublicationOutcome.d.ts +0 -18
  318. package/lib/IScaffoldRefusedFilePublicationOutcome.js +0 -3
  319. package/lib/IScaffoldRefusedFilePublicationOutcome.js.map +0 -1
  320. package/lib/IScaffoldSyncPlan.d.ts +0 -25
  321. package/lib/IScaffoldSyncPlan.js +0 -3
  322. package/lib/IScaffoldSyncPlan.js.map +0 -1
  323. package/lib/IScaffoldSyncProps.d.ts +0 -16
  324. package/lib/IScaffoldSyncProps.js +0 -3
  325. package/lib/IScaffoldSyncProps.js.map +0 -1
  326. package/lib/IWindowsFileInformation.d.ts +0 -20
  327. package/lib/IWindowsFileInformation.js +0 -3
  328. package/lib/IWindowsFileInformation.js.map +0 -1
  329. package/lib/IWindowsLibrary.d.ts +0 -127
  330. package/lib/IWindowsLibrary.js +0 -3
  331. package/lib/IWindowsLibrary.js.map +0 -1
  332. package/lib/SCAFFOLD_SYNC_STATE_FILE.d.ts +0 -4
  333. package/lib/SCAFFOLD_SYNC_STATE_FILE.js +0 -8
  334. package/lib/SCAFFOLD_SYNC_STATE_FILE.js.map +0 -1
  335. package/lib/ScaffoldFilePublicationOutcome.d.ts +0 -14
  336. package/lib/ScaffoldFilePublicationOutcome.js +0 -3
  337. package/lib/ScaffoldFilePublicationOutcome.js.map +0 -1
  338. package/lib/ScaffoldParentChangedError.d.ts +0 -11
  339. package/lib/ScaffoldParentChangedError.js +0 -19
  340. package/lib/ScaffoldParentChangedError.js.map +0 -1
  341. package/lib/ScaffoldPublicationError.d.ts +0 -17
  342. package/lib/ScaffoldPublicationError.js +0 -46
  343. package/lib/ScaffoldPublicationError.js.map +0 -1
  344. package/lib/assertOrdinaryFile.d.ts +0 -13
  345. package/lib/assertOrdinaryFile.js +0 -20
  346. package/lib/assertOrdinaryFile.js.map +0 -1
  347. package/lib/assertOrdinarySingleLinkFile.d.ts +0 -13
  348. package/lib/assertOrdinarySingleLinkFile.js +0 -22
  349. package/lib/assertOrdinarySingleLinkFile.js.map +0 -1
  350. package/lib/assertScaffoldOwnership.d.ts +0 -13
  351. package/lib/assertScaffoldOwnership.js +0 -24
  352. package/lib/assertScaffoldOwnership.js.map +0 -1
  353. package/lib/assertScaffoldPhysicalDirectory.d.ts +0 -16
  354. package/lib/assertScaffoldPhysicalDirectory.js +0 -26
  355. package/lib/assertScaffoldPhysicalDirectory.js.map +0 -1
  356. package/lib/attachScaffoldSyncState.d.ts +0 -18
  357. package/lib/attachScaffoldSyncState.js +0 -30
  358. package/lib/attachScaffoldSyncState.js.map +0 -1
  359. package/lib/captureEmptyScaffoldPhysicalDirectory.d.ts +0 -13
  360. package/lib/captureEmptyScaffoldPhysicalDirectory.js +0 -69
  361. package/lib/captureEmptyScaffoldPhysicalDirectory.js.map +0 -1
  362. package/lib/captureScaffoldFile.d.ts +0 -13
  363. package/lib/captureScaffoldFile.js +0 -67
  364. package/lib/captureScaffoldFile.js.map +0 -1
  365. package/lib/captureScaffoldPhysicalDirectory.d.ts +0 -13
  366. package/lib/captureScaffoldPhysicalDirectory.js +0 -63
  367. package/lib/captureScaffoldPhysicalDirectory.js.map +0 -1
  368. package/lib/combineScaffoldFailures.d.ts +0 -19
  369. package/lib/combineScaffoldFailures.js +0 -32
  370. package/lib/combineScaffoldFailures.js.map +0 -1
  371. package/lib/createAutoMovieCatalogVersionResolver.d.ts +0 -17
  372. package/lib/createAutoMovieCatalogVersionResolver.js +0 -64
  373. package/lib/createAutoMovieCatalogVersionResolver.js.map +0 -1
  374. package/lib/createScaffoldSyncState.d.ts +0 -12
  375. package/lib/createScaffoldSyncState.js +0 -26
  376. package/lib/createScaffoldSyncState.js.map +0 -1
  377. package/lib/createScaffoldVariables.d.ts +0 -25
  378. package/lib/createScaffoldVariables.js +0 -41
  379. package/lib/createScaffoldVariables.js.map +0 -1
  380. package/lib/ensureScaffoldBaseDirectory.d.ts +0 -19
  381. package/lib/ensureScaffoldBaseDirectory.js +0 -89
  382. package/lib/ensureScaffoldBaseDirectory.js.map +0 -1
  383. package/lib/ensureScaffoldFileDirectory.d.ts +0 -25
  384. package/lib/ensureScaffoldFileDirectory.js +0 -103
  385. package/lib/ensureScaffoldFileDirectory.js.map +0 -1
  386. package/lib/inside.d.ts +0 -12
  387. package/lib/inside.js +0 -57
  388. package/lib/inside.js.map +0 -1
  389. package/lib/isScaffoldInstruction.d.ts +0 -12
  390. package/lib/isScaffoldInstruction.js +0 -29
  391. package/lib/isScaffoldInstruction.js.map +0 -1
  392. package/lib/loadWindowsLibrary.d.ts +0 -13
  393. package/lib/loadWindowsLibrary.js +0 -180
  394. package/lib/loadWindowsLibrary.js.map +0 -1
  395. package/lib/mergeScaffoldFiles.d.ts +0 -18
  396. package/lib/mergeScaffoldFiles.js +0 -37
  397. package/lib/mergeScaffoldFiles.js.map +0 -1
  398. package/lib/missingPath.d.ts +0 -12
  399. package/lib/missingPath.js +0 -18
  400. package/lib/missingPath.js.map +0 -1
  401. package/lib/nativeError.d.ts +0 -12
  402. package/lib/nativeError.js +0 -17
  403. package/lib/nativeError.js.map +0 -1
  404. package/lib/openPosixParent.d.ts +0 -13
  405. package/lib/openPosixParent.js +0 -135
  406. package/lib/openPosixParent.js.map +0 -1
  407. package/lib/openWindowsParent.d.ts +0 -13
  408. package/lib/openWindowsParent.js +0 -224
  409. package/lib/openWindowsParent.js.map +0 -1
  410. package/lib/overwriteScaffoldFile.d.ts +0 -22
  411. package/lib/overwriteScaffoldFile.js +0 -214
  412. package/lib/overwriteScaffoldFile.js.map +0 -1
  413. package/lib/physicalDirectoryIdentity.d.ts +0 -15
  414. package/lib/physicalDirectoryIdentity.js +0 -65
  415. package/lib/physicalDirectoryIdentity.js.map +0 -1
  416. package/lib/physicalVersion.d.ts +0 -13
  417. package/lib/physicalVersion.js +0 -18
  418. package/lib/physicalVersion.js.map +0 -1
  419. package/lib/planScaffoldPublication.d.ts +0 -22
  420. package/lib/planScaffoldPublication.js +0 -100
  421. package/lib/planScaffoldPublication.js.map +0 -1
  422. package/lib/planScaffoldSync.d.ts +0 -14
  423. package/lib/planScaffoldSync.js +0 -102
  424. package/lib/planScaffoldSync.js.map +0 -1
  425. package/lib/publishFiles.d.ts +0 -23
  426. package/lib/publishFiles.js +0 -124
  427. package/lib/publishFiles.js.map +0 -1
  428. package/lib/publishNativeScaffoldFile.d.ts +0 -21
  429. package/lib/publishNativeScaffoldFile.js +0 -211
  430. package/lib/publishNativeScaffoldFile.js.map +0 -1
  431. package/lib/publishScaffoldCandidate.d.ts +0 -24
  432. package/lib/publishScaffoldCandidate.js +0 -70
  433. package/lib/publishScaffoldCandidate.js.map +0 -1
  434. package/lib/readAutoMovieScaffoldSources.d.ts +0 -20
  435. package/lib/readAutoMovieScaffoldSources.js +0 -103
  436. package/lib/readAutoMovieScaffoldSources.js.map +0 -1
  437. package/lib/readScaffoldSyncFile.d.ts +0 -16
  438. package/lib/readScaffoldSyncFile.js +0 -64
  439. package/lib/readScaffoldSyncFile.js.map +0 -1
  440. package/lib/renderScaffold.d.ts +0 -19
  441. package/lib/renderScaffold.js +0 -33
  442. package/lib/renderScaffold.js.map +0 -1
  443. package/lib/renderScaffoldEntries.d.ts +0 -20
  444. package/lib/renderScaffoldEntries.js +0 -106
  445. package/lib/renderScaffoldEntries.js.map +0 -1
  446. package/lib/renderScaffoldInstructions.d.ts +0 -17
  447. package/lib/renderScaffoldInstructions.js +0 -23
  448. package/lib/renderScaffoldInstructions.js.map +0 -1
  449. package/lib/renderScaffoldLayer.d.ts +0 -20
  450. package/lib/renderScaffoldLayer.js +0 -28
  451. package/lib/renderScaffoldLayer.js.map +0 -1
  452. package/lib/renderTemplate.d.ts +0 -19
  453. package/lib/renderTemplate.js +0 -56
  454. package/lib/renderTemplate.js.map +0 -1
  455. package/lib/renderWorkspaceProductionScaffold.d.ts +0 -19
  456. package/lib/renderWorkspaceProductionScaffold.js +0 -30
  457. package/lib/renderWorkspaceProductionScaffold.js.map +0 -1
  458. package/lib/renderWorkspaceScaffold.d.ts +0 -19
  459. package/lib/renderWorkspaceScaffold.js +0 -33
  460. package/lib/renderWorkspaceScaffold.js.map +0 -1
  461. package/lib/replaceSharedScaffoldFile.d.ts +0 -30
  462. package/lib/replaceSharedScaffoldFile.js +0 -106
  463. package/lib/replaceSharedScaffoldFile.js.map +0 -1
  464. package/lib/resolveAutoMovieCatalogVersion.d.ts +0 -19
  465. package/lib/resolveAutoMovieCatalogVersion.js +0 -24
  466. package/lib/resolveAutoMovieCatalogVersion.js.map +0 -1
  467. package/lib/resolveAutoMovieTemplateDependencyVersions.d.ts +0 -19
  468. package/lib/resolveAutoMovieTemplateDependencyVersions.js +0 -62
  469. package/lib/resolveAutoMovieTemplateDependencyVersions.js.map +0 -1
  470. package/lib/resolveScaffoldPosixConstants.d.ts +0 -13
  471. package/lib/resolveScaffoldPosixConstants.js +0 -44
  472. package/lib/resolveScaffoldPosixConstants.js.map +0 -1
  473. package/lib/scaffoldAssetDirectory.d.ts +0 -19
  474. package/lib/scaffoldAssetDirectory.js +0 -63
  475. package/lib/scaffoldAssetDirectory.js.map +0 -1
  476. package/lib/scaffoldPhysicalIdentity.d.ts +0 -18
  477. package/lib/scaffoldPhysicalIdentity.js +0 -22
  478. package/lib/scaffoldPhysicalIdentity.js.map +0 -1
  479. package/lib/scaffoldSharedSkillDirectory.d.ts +0 -17
  480. package/lib/scaffoldSharedSkillDirectory.js +0 -62
  481. package/lib/scaffoldSharedSkillDirectory.js.map +0 -1
  482. package/lib/skills/3d-modeling/crafting.md +0 -82
  483. package/lib/skills/3d-modeling/diffusion.md +0 -34
  484. package/lib/skills/3d-modeling/inspection.md +0 -54
  485. package/lib/skills/3d-modeling/lofting.md +0 -43
  486. package/lib/skills/3d-modeling/modularization.md +0 -31
  487. package/lib/skills/3d-modeling/recovery.md +0 -29
  488. package/lib/skills/development/repair.md +0 -13
  489. package/lib/skills/documentation/writing.md +0 -51
  490. package/lib/skills/motion/layers.md +0 -7
  491. package/lib/skills/motion/transitions.md +0 -27
  492. package/lib/skills/prompting/SKILL.md +0 -80
  493. package/lib/syncScaffold.d.ts +0 -19
  494. package/lib/syncScaffold.js +0 -28
  495. package/lib/syncScaffold.js.map +0 -1
  496. package/lib/writeFiles.d.ts +0 -20
  497. package/lib/writeFiles.js +0 -33
  498. package/lib/writeFiles.js.map +0 -1
  499. package/lib/writeScaffoldFile.d.ts +0 -35
  500. package/lib/writeScaffoldFile.js +0 -107
  501. package/lib/writeScaffoldFile.js.map +0 -1
  502. package/lib/writtenVersion.d.ts +0 -13
  503. package/lib/writtenVersion.js +0 -18
  504. package/lib/writtenVersion.js.map +0 -1
  505. package/scaffold/instructions/.agents/skills/audio/local-speech.md +0 -11
  506. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/screenplay.md +0 -9
  507. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/screenplay.md +0 -13
  508. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/screenplay.md +0 -11
  509. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/screenplay.md +0 -25
  510. package/scaffold/instructions/.agents/skills/motion/method-references.md +0 -23
  511. package/scaffold/instructions/.agents/skills/production/sync-and-reorganization.md +0 -21
  512. package/scaffold/instructions/.agents/skills/story/correction/SKILL.md +0 -13
  513. package/scaffold/instructions/.agents/skills/story/evidence/SKILL.md +0 -13
  514. package/scaffold/instructions/.agents/skills/story/evidence/answer-placement.md +0 -13
  515. package/scaffold/instructions/.agents/skills/story/evidence/answer-writing.md +0 -23
  516. package/scaffold/instructions/.agents/skills/story/naturalness/SKILL.md +0 -13
  517. package/scaffold/instructions/.agents/skills/story/naturalness/rewriting.md +0 -17
  518. package/scaffold/instructions/.agents/skills/story/naturalness/transfer.md +0 -11
  519. package/scaffold/instructions/.agents/skills/story/workflow.md +0 -61
  520. package/scaffold/instructions/.agents/skills/video/diffusion.md +0 -33
  521. package/scaffold/instructions/.agents/skills/video/prompts.md +0 -51
  522. package/scaffold/production/evidence.config.ts +0 -12
  523. package/scaffold/production/src/executable/capture.ts +0 -489
  524. package/scaffold/production/src/executable/planCaptureStills.ts +0 -65
  525. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureError.ts +0 -1
  526. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureErrorCode.ts +0 -1
  527. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessWaitUntil.ts +0 -1
  528. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureOptions.ts +0 -79
  529. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureSession.ts +0 -39
  530. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessFrameWriter.ts +0 -20
  531. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessLocator.ts +0 -1
  532. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessPage.ts +0 -1
  533. package/scaffold/production/src/executable/render/headlessCapture/createHeadlessCaptureAdapter.ts +0 -92
  534. package/scaffold/production/src/executable/render/headlessCapture/index.ts +0 -9
  535. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoOptions.ts +0 -128
  536. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoResult.ts +0 -43
  537. package/scaffold/production/src/executable/render/node/IProductionRenditionClip.ts +0 -44
  538. package/scaffold/production/src/executable/render/node/acquireViewerBrowser.ts +0 -24
  539. package/scaffold/production/src/executable/render/node/addProductionMp4Sample.ts +0 -89
  540. package/scaffold/production/src/executable/render/node/appendLosslessVideoClip.ts +0 -62
  541. package/scaffold/production/src/executable/render/node/assembleProductionChunkVideoMp4.ts +0 -167
  542. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionClips.ts +0 -184
  543. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionVideo.ts +0 -127
  544. package/scaffold/production/src/executable/render/node/assertProductionRenditionClipDelivery.ts +0 -102
  545. package/scaffold/production/src/executable/render/node/cache/IAutoMovieDirectoryArtifactStore.ts +0 -59
  546. package/scaffold/production/src/executable/render/node/cache/IAutoMovieViewerFrameCacheReport.ts +0 -30
  547. package/scaffold/production/src/executable/render/node/cache/cacheViewerCaptureSession.ts +0 -187
  548. package/scaffold/production/src/executable/render/node/cache/composeViewerFrameKeys.ts +0 -55
  549. package/scaffold/production/src/executable/render/node/cache/createAutoMovieArtifactMiddleware.ts +0 -107
  550. package/scaffold/production/src/executable/render/node/cache/createAutoMovieDirectoryArtifactStore.ts +0 -203
  551. package/scaffold/production/src/executable/render/node/cache/digestAutoMovieSourceTree.ts +0 -66
  552. package/scaffold/production/src/executable/render/node/cache/readViewerFrameStates.ts +0 -95
  553. package/scaffold/production/src/executable/render/node/capture/DEFAULT_CHROME_EXECUTABLE.ts +0 -11
  554. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageOperationFailure.ts +0 -13
  555. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeArtifact.ts +0 -30
  556. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeOptions.ts +0 -51
  557. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceMetadata.ts +0 -27
  558. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderArtifact.ts +0 -44
  559. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderOptions.ts +0 -43
  560. package/scaffold/production/src/executable/render/node/capture/IAutoMovieSequenceDissolvePixelCheck.ts +0 -39
  561. package/scaffold/production/src/executable/render/node/capture/captureRenderAndSee.ts +0 -233
  562. package/scaffold/production/src/executable/render/node/capture/captureSequenceRenderAndSee.ts +0 -377
  563. package/scaffold/production/src/executable/render/node/capture/index.ts +0 -14
  564. package/scaffold/production/src/executable/render/node/capture/preserveCleanupFailure.ts +0 -34
  565. package/scaffold/production/src/executable/render/node/capture/renderAndSeeCommand.ts +0 -169
  566. package/scaffold/production/src/executable/render/node/capture/renderSequenceAndSeeCommand.ts +0 -165
  567. package/scaffold/production/src/executable/render/node/capture/verifySequenceDissolvePixels.ts +0 -179
  568. package/scaffold/production/src/executable/render/node/conformProductionRenditionVideoMp4.ts +0 -86
  569. package/scaffold/production/src/executable/render/node/conformProductionVisualDeliveryVideoMp4.ts +0 -230
  570. package/scaffold/production/src/executable/render/node/decodeAutoMovieDelivery.ts +0 -253
  571. package/scaffold/production/src/executable/render/node/equalRational.ts +0 -36
  572. package/scaffold/production/src/executable/render/node/exactProductionClockProduct.ts +0 -26
  573. package/scaffold/production/src/executable/render/node/exportModelToGLB.ts +0 -267
  574. package/scaffold/production/src/executable/render/node/index.ts +0 -27
  575. package/scaffold/production/src/executable/render/node/loadModelGltfCore.ts +0 -18
  576. package/scaffold/production/src/executable/render/node/mixAutoMovieAudioCues.ts +0 -74
  577. package/scaffold/production/src/executable/render/node/muxProductionFeatureMp4.ts +0 -170
  578. package/scaffold/production/src/executable/render/node/neutralTrackPresentation.ts +0 -59
  579. package/scaffold/production/src/executable/render/node/normalizeProductionH264Mp4.ts +0 -110
  580. package/scaffold/production/src/executable/render/node/openLosslessVideoTrack.ts +0 -81
  581. package/scaffold/production/src/executable/render/node/parseMp4.ts +0 -46
  582. package/scaffold/production/src/executable/render/node/parseProductionMp4Output.ts +0 -70
  583. package/scaffold/production/src/executable/render/node/parseProductionRenditionClip.ts +0 -92
  584. package/scaffold/production/src/executable/render/node/planViewerVideo.ts +0 -140
  585. package/scaffold/production/src/executable/render/node/probeParsedProductionVideoMp4.ts +0 -48
  586. package/scaffold/production/src/executable/render/node/probeProductionPngPicture.ts +0 -223
  587. package/scaffold/production/src/executable/render/node/probeProductionRenderedMedia.ts +0 -355
  588. package/scaffold/production/src/executable/render/node/probeProductionVideoMp4.ts +0 -27
  589. package/scaffold/production/src/executable/render/node/probeVideoTrack.ts +0 -220
  590. package/scaffold/production/src/executable/render/node/productionRenditionVideoPlan.ts +0 -149
  591. package/scaffold/production/src/executable/render/node/recordViewerPlayback.ts +0 -137
  592. package/scaffold/production/src/executable/render/node/renderViewerFrames.ts +0 -139
  593. package/scaffold/production/src/executable/render/node/renderViewerVideo.ts +0 -301
  594. package/scaffold/production/src/executable/render/node/renderViewerVideoSession.ts +0 -75
  595. package/scaffold/production/src/executable/render/node/residentMp4Box.ts +0 -36
  596. package/scaffold/production/src/executable/render/node/residentPngJs.ts +0 -26
  597. package/scaffold/production/src/executable/render/node/runViewerVideoEncoder.ts +0 -58
  598. package/scaffold/production/src/executable/render/node/sameSampleDescription.ts +0 -43
  599. package/scaffold/production/src/executable/render/node/sameSampleFlags.ts +0 -28
  600. package/scaffold/production/src/executable/render/node/sampleBytes.ts +0 -46
  601. package/scaffold/production/src/executable/render/node/sampleDescription.ts +0 -40
  602. package/scaffold/production/src/executable/render/node/sampleOptions.ts +0 -37
  603. package/scaffold/production/src/executable/render/node/serializeDescriptionBox.ts +0 -29
  604. package/scaffold/production/src/executable/render/node/trimProductionAudioPresentation.ts +0 -115
  605. package/scaffold/production/src/executable/render/node/verifySampleStorage.ts +0 -86
  606. package/scaffold/production/src/executable/render/node/writeViewerFrameSheet.ts +0 -101
  607. package/scaffold/production/src/executable/render.ts +0 -92
  608. package/scaffold/production/src/executable/review.ts +0 -54
  609. package/scaffold/production/src/executable/viewer/inspection/createViewerDiskSource.ts +0 -119
  610. package/scaffold/production/src/executable/viewer/inspection/readViewerMaintainedSourceFiles.ts +0 -64
  611. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureError.ts +0 -41
  612. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureErrorCode.ts +0 -22
  613. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessWaitUntil.ts +0 -18
  614. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessLocator.ts +0 -32
  615. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessPage.ts +0 -130
  616. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureOptions.ts +0 -38
  617. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureSession.ts +0 -41
  618. package/scaffold/production/src/executable/viewer/node/capture/createViewerCaptureSession.ts +0 -154
  619. package/scaffold/production/src/executable/viewer/node/capture/index.ts +0 -8
  620. package/scaffold/production/src/executable/viewer/node/index.ts +0 -2
  621. package/scaffold/production/src/executable/viewer/process/ProcessOwnership.ts +0 -102
  622. package/scaffold/production/src/executable/viewer/process/internal/IProcessChildObservation.ts +0 -18
  623. package/scaffold/production/src/executable/viewer/process/internal/IProcessOwnershipHost.ts +0 -70
  624. package/scaffold/production/src/executable/viewer/process/internal/ProcessOwnershipController.ts +0 -125
  625. package/scaffold/production/src/executable/viewer/process/internal/WindowsProcessOwnershipPrograms.ts +0 -52
  626. package/scaffold/production/src/executable/viewer/process/internal/createNodeProcessOwnershipHost.ts +0 -41
  627. package/scaffold/production/src/executable/viewer/process/internal/decodeLinuxProcessIdentity.ts +0 -22
  628. package/scaffold/production/src/executable/viewer/process/internal/decodePosixProcessIdentity.ts +0 -24
  629. package/scaffold/production/src/executable/viewer/process/internal/decodeWindowsProcessResult.ts +0 -24
  630. package/scaffold/production/src/executable/viewer/process/internal/readNativeProcessIdentity.ts +0 -45
  631. package/scaffold/production/src/executable/viewer/process/internal/requireProcessId.ts +0 -15
  632. package/scaffold/production/src/executable/viewer/process/internal/resolveProcessIdentityReadError.ts +0 -15
  633. package/scaffold/production/src/executable/viewer/process/internal/runWindowsProcessOperation.ts +0 -41
  634. package/scaffold/production/src/executable/viewer/process/internal/selectProcessOwnershipTree.ts +0 -68
  635. package/scaffold/production/test/features/executable/test_plan_capture_stills.ts +0 -75
  636. package/scaffold/workspace/pnpm-workspace.yaml +0 -46
  637. package/src/AUTOMOVIE_TEMPLATE_CATALOGS.ts +0 -48
  638. package/src/AUTOMOVIE_TEMPLATE_VERSIONS.ts +0 -39
  639. package/src/AutoMovieScaffoldLayer.ts +0 -18
  640. package/src/FILE_ATTRIBUTE_DIRECTORY.ts +0 -2
  641. package/src/IAutoMovieCatalogVersionProps.ts +0 -18
  642. package/src/IAutoMovieScaffoldSourceEntry.ts +0 -19
  643. package/src/IAutoMovieTemplateDependencyVersionsProps.ts +0 -19
  644. package/src/IAutoMovieWorkspacePackageVersions.ts +0 -44
  645. package/src/IBoundChild.ts +0 -86
  646. package/src/IBoundChildStatus.ts +0 -24
  647. package/src/IBoundParent.ts +0 -65
  648. package/src/IBoundParentStatus.ts +0 -15
  649. package/src/ICreateResult.ts +0 -35
  650. package/src/IScaffoldCompletedFilePublicationOutcome.ts +0 -17
  651. package/src/IScaffoldCompletedPublication.ts +0 -17
  652. package/src/IScaffoldFileSnapshot.ts +0 -28
  653. package/src/IScaffoldParentPublicationRequest.ts +0 -29
  654. package/src/IScaffoldPartialFilePublicationOutcome.ts +0 -25
  655. package/src/IScaffoldPhysicalDirectory.ts +0 -22
  656. package/src/IScaffoldPosixConstants.ts +0 -30
  657. package/src/IScaffoldPublicationEntry.ts +0 -22
  658. package/src/IScaffoldPublicationFailure.ts +0 -18
  659. package/src/IScaffoldPublicationOptions.ts +0 -19
  660. package/src/IScaffoldPublicationReceipt.ts +0 -29
  661. package/src/IScaffoldRefusedFilePublicationOutcome.ts +0 -20
  662. package/src/IScaffoldSyncPlan.ts +0 -26
  663. package/src/IScaffoldSyncProps.ts +0 -16
  664. package/src/IWindowsFileInformation.ts +0 -24
  665. package/src/IWindowsLibrary.ts +0 -148
  666. package/src/SCAFFOLD_SYNC_STATE_FILE.ts +0 -5
  667. package/src/ScaffoldFilePublicationOutcome.ts +0 -18
  668. package/src/ScaffoldParentChangedError.ts +0 -14
  669. package/src/ScaffoldPublicationError.ts +0 -58
  670. package/src/assertOrdinaryFile.ts +0 -20
  671. package/src/assertOrdinarySingleLinkFile.ts +0 -26
  672. package/src/assertScaffoldOwnership.ts +0 -29
  673. package/src/assertScaffoldPhysicalDirectory.ts +0 -29
  674. package/src/attachScaffoldSyncState.ts +0 -30
  675. package/src/captureEmptyScaffoldPhysicalDirectory.ts +0 -45
  676. package/src/captureScaffoldFile.ts +0 -34
  677. package/src/captureScaffoldPhysicalDirectory.ts +0 -34
  678. package/src/combineScaffoldFailures.ts +0 -35
  679. package/src/createAutoMovieCatalogVersionResolver.ts +0 -117
  680. package/src/createScaffoldSyncState.ts +0 -33
  681. package/src/createScaffoldVariables.ts +0 -50
  682. package/src/ensureScaffoldBaseDirectory.ts +0 -55
  683. package/src/ensureScaffoldFileDirectory.ts +0 -75
  684. package/src/inside.ts +0 -25
  685. package/src/isScaffoldInstruction.ts +0 -29
  686. package/src/loadWindowsLibrary.ts +0 -277
  687. package/src/mergeScaffoldFiles.ts +0 -39
  688. package/src/missingPath.ts +0 -16
  689. package/src/nativeError.ts +0 -15
  690. package/src/openPosixParent.ts +0 -155
  691. package/src/openWindowsParent.ts +0 -305
  692. package/src/overwriteScaffoldFile.ts +0 -262
  693. package/src/physicalDirectoryIdentity.ts +0 -33
  694. package/src/physicalVersion.ts +0 -18
  695. package/src/planScaffoldPublication.ts +0 -100
  696. package/src/planScaffoldSync.ts +0 -122
  697. package/src/publishFiles.ts +0 -120
  698. package/src/publishNativeScaffoldFile.ts +0 -287
  699. package/src/publishScaffoldCandidate.ts +0 -94
  700. package/src/readAutoMovieScaffoldSources.ts +0 -82
  701. package/src/readScaffoldSyncFile.ts +0 -66
  702. package/src/renderScaffold.ts +0 -43
  703. package/src/renderScaffoldEntries.ts +0 -110
  704. package/src/renderScaffoldInstructions.ts +0 -22
  705. package/src/renderScaffoldLayer.ts +0 -38
  706. package/src/renderTemplate.ts +0 -62
  707. package/src/renderWorkspaceProductionScaffold.ts +0 -35
  708. package/src/renderWorkspaceScaffold.ts +0 -43
  709. package/src/replaceSharedScaffoldFile.ts +0 -88
  710. package/src/resolveAutoMovieCatalogVersion.ts +0 -27
  711. package/src/resolveAutoMovieTemplateDependencyVersions.ts +0 -70
  712. package/src/resolveScaffoldPosixConstants.ts +0 -50
  713. package/src/scaffoldAssetDirectory.ts +0 -30
  714. package/src/scaffoldPhysicalIdentity.ts +0 -21
  715. package/src/scaffoldSharedSkillDirectory.ts +0 -25
  716. package/src/syncScaffold.ts +0 -38
  717. package/src/writeFiles.ts +0 -48
  718. package/src/writeScaffoldFile.ts +0 -88
  719. package/src/writtenVersion.ts +0 -19
  720. /package/{lib → generated}/skills/contracts/development/common.md +0 -0
  721. /package/{lib → generated}/skills/visual-debugging/rendering-cost.md +0 -0
  722. /package/scaffold/instructions/.agents/skills/3d-modeling/{$crafting.md → $crafting} +0 -0
  723. /package/scaffold/instructions/.agents/skills/3d-modeling/{$diffusion.md → diffusion/$image-hints.md} +0 -0
  724. /package/scaffold/instructions/.agents/skills/3d-modeling/{$lofting.md → diffusion/$models.md} +0 -0
  725. /package/scaffold/instructions/.agents/skills/3d-modeling/{$recovery.md → diffusion/$prompts.md} +0 -0
  726. /package/scaffold/instructions/.agents/skills/{motion/$authoring.md → 3d-modeling/diffusion/$request.md} +0 -0
  727. /package/scaffold/instructions/.agents/skills/{motion/$contacts.md → 3d-modeling/diffusion/$shape-hints.md} +0 -0
  728. /package/scaffold/instructions/.agents/skills/motion/{$laws.md → laws/$authoring.md} +0 -0
  729. /package/scaffold/instructions/.agents/skills/motion/{$layers.md → laws/$contacts.md} +0 -0
  730. /package/scaffold/instructions/.agents/skills/motion/{$transitions.md → laws/$declaration.md} +0 -0
  731. /package/scaffold/instructions/.agents/skills/motion/{$variation.md → laws/$transitions.md} +0 -0
  732. /package/scaffold/instructions/.agents/skills/motion/{$verification.md → laws/$variation.md} +0 -0
@@ -1,19 +0,0 @@
1
- import type { IAutoMovieScaffoldProps } from "./IAutoMovieScaffoldProps";
2
- /**
3
- * Render one production for a workspace from {@link renderWorkspaceScaffold}, into an in-memory `{ posixPath: content }` map relative to its directory `movies/<shorts|series>/<directory>`.
4
- *
5
- * Only the `production` layer is rendered: the instructions and their sync state stay at the workspace root. `{{name}}` is the admitted package name, `{{skills}}` is `../../../.agents/skills`, the workspace root's shared tree three directories up, and every `{{version:<key>}}` is `catalog:<name>` of its `AUTOMOVIE_TEMPLATE_CATALOGS` group, resolved by the root's `pnpm-workspace.yaml`. Nothing is written.
6
- *
7
- * @param props The production's package name, admitted by {@link assertScaffoldProjectName}.
8
- * @returns The rendered file map.
9
- * @throws When the name is refused, when the layer or the shared-skill directory is missing, or on a token error or path collision.
10
- *
11
- * @evidence contracts/development/implementation.md#principled-implementation The fixed depth of `movies/<family>/<directory>` makes the shared skills exactly three directories up, and pnpm resolves `catalog:` through the workspace root's catalog.
12
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The same production layer serves a single production and a workspace production; only the skills path and dependency mode differ.
13
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The workspace root is never searched for or inspected; the caller chooses the target, and the layout is documented instead of detected.
14
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the target directory, what is excluded, every token value, and what throws.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms One layer render with the reader's and renderer's costs.
16
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now and is made once per CLI run.
17
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Reads close before returning, and the returned map is owned by the caller.
18
- */
19
- export declare const renderWorkspaceProductionScaffold: (props: IAutoMovieScaffoldProps) => Record<string, string>;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderWorkspaceProductionScaffold = void 0;
4
- const assertScaffoldProjectName_1 = require("./assertScaffoldProjectName");
5
- const createScaffoldVariables_1 = require("./createScaffoldVariables");
6
- const renderScaffoldLayer_1 = require("./renderScaffoldLayer");
7
- /**
8
- * Render one production for a workspace from {@link renderWorkspaceScaffold}, into an in-memory `{ posixPath: content }` map relative to its directory `movies/<shorts|series>/<directory>`.
9
- *
10
- * Only the `production` layer is rendered: the instructions and their sync state stay at the workspace root. `{{name}}` is the admitted package name, `{{skills}}` is `../../../.agents/skills`, the workspace root's shared tree three directories up, and every `{{version:<key>}}` is `catalog:<name>` of its `AUTOMOVIE_TEMPLATE_CATALOGS` group, resolved by the root's `pnpm-workspace.yaml`. Nothing is written.
11
- *
12
- * @param props The production's package name, admitted by {@link assertScaffoldProjectName}.
13
- * @returns The rendered file map.
14
- * @throws When the name is refused, when the layer or the shared-skill directory is missing, or on a token error or path collision.
15
- *
16
- * @evidence contracts/development/implementation.md#principled-implementation The fixed depth of `movies/<family>/<directory>` makes the shared skills exactly three directories up, and pnpm resolves `catalog:` through the workspace root's catalog.
17
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The same production layer serves a single production and a workspace production; only the skills path and dependency mode differ.
18
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The workspace root is never searched for or inspected; the caller chooses the target, and the layout is documented instead of detected.
19
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the target directory, what is excluded, every token value, and what throws.
20
- * @evidence contracts/development/implementation.md#efficient-algorithms One layer render with the reader's and renderer's costs.
21
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now and is made once per CLI run.
22
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Reads close before returning, and the returned map is owned by the caller.
23
- */
24
- const renderWorkspaceProductionScaffold = (props) => (0, renderScaffoldLayer_1.renderScaffoldLayer)("production", (0, createScaffoldVariables_1.createScaffoldVariables)({
25
- name: (0, assertScaffoldProjectName_1.assertScaffoldProjectName)(props.name),
26
- skills: "../../../.agents/skills",
27
- dependencies: "catalog",
28
- }));
29
- exports.renderWorkspaceProductionScaffold = renderWorkspaceProductionScaffold;
30
- //# sourceMappingURL=renderWorkspaceProductionScaffold.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderWorkspaceProductionScaffold.js","sourceRoot":"","sources":["../src/renderWorkspaceProductionScaffold.ts"],"names":[],"mappings":";;;AACA,2EAAwE;AACxE,uEAAoE;AACpE,+DAA4D;AAE5D;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,iCAAiC,GAEhB,CAC5B,KAA8B,EACN,EAAE,CAC1B,IAAA,yCAAmB,EACjB,YAAY,EACZ,IAAA,iDAAuB,EAAC;IACtB,IAAI,EAAE,IAAA,qDAAyB,EAAC,KAAK,CAAC,IAAI,CAAC;IAC3C,MAAM,EAAE,yBAAyB;IACjC,YAAY,EAAE,SAAS;CACxB,CAAC,CACH,CAAC;AAZS,QAAA,iCAAiC,GAAjC,iCAAiC,CAY1C"}
@@ -1,19 +0,0 @@
1
- import type { IAutoMovieScaffoldProps } from "./IAutoMovieScaffoldProps";
2
- /**
3
- * Render a pnpm workspace root that holds several productions, into an in-memory `{ posixPath: content }` map.
4
- *
5
- * The map joins the shared instruction surface from {@link renderScaffoldInstructions} with the `workspace` layer: `pnpm-workspace.yaml` listing `movies/shorts/*`, `movies/series/*` and `packages/*` with named `catalogs` of the build-time `AUTOMOVIE_TEMPLATE_VERSIONS` ranges, grouped by `AUTOMOVIE_TEMPLATE_CATALOGS` with one anchor per release group, a root `package.json` named by the admitted name with the `automovie` CLI as a development dependency, its README and `.gitignore`. The generated instruction digests are added for explicit later sync. No production is included; {@link renderWorkspaceProductionScaffold} renders each one. Nothing is written.
6
- *
7
- * @param props The workspace's name, admitted by {@link assertScaffoldProjectName}.
8
- * @returns The rendered file map.
9
- * @throws When the name is refused, when a layer or the shared-skill directory is missing, on a placeholder refusal, on a token error, or on a path collision within or between layers.
10
- *
11
- * @evidence contracts/development/implementation.md#principled-implementation The root catalog is rendered from the same version table that a single production's dependencies use, so a workspace production's `catalog:` specifiers resolve to the ranges this package was built with.
12
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function chooses the layers and token values; name admission, layer rendering, joining and sync state each have one owner.
13
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The workspace layer is ordinary scaffold content rendered with the shared tokens; nothing is generated by string assembly here.
14
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the joined layers, what the workspace layer contains, the added state, what is excluded, and what throws.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms Two layer renders, one join pass and one digest per instruction file.
16
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now and is made once per CLI run.
17
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Reads close before returning, and the returned map is owned by the caller.
18
- */
19
- export declare const renderWorkspaceScaffold: (props: IAutoMovieScaffoldProps) => Record<string, string>;
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderWorkspaceScaffold = void 0;
4
- const assertScaffoldProjectName_1 = require("./assertScaffoldProjectName");
5
- const attachScaffoldSyncState_1 = require("./attachScaffoldSyncState");
6
- const createScaffoldVariables_1 = require("./createScaffoldVariables");
7
- const mergeScaffoldFiles_1 = require("./mergeScaffoldFiles");
8
- const renderScaffoldInstructions_1 = require("./renderScaffoldInstructions");
9
- const renderScaffoldLayer_1 = require("./renderScaffoldLayer");
10
- /**
11
- * Render a pnpm workspace root that holds several productions, into an in-memory `{ posixPath: content }` map.
12
- *
13
- * The map joins the shared instruction surface from {@link renderScaffoldInstructions} with the `workspace` layer: `pnpm-workspace.yaml` listing `movies/shorts/*`, `movies/series/*` and `packages/*` with named `catalogs` of the build-time `AUTOMOVIE_TEMPLATE_VERSIONS` ranges, grouped by `AUTOMOVIE_TEMPLATE_CATALOGS` with one anchor per release group, a root `package.json` named by the admitted name with the `automovie` CLI as a development dependency, its README and `.gitignore`. The generated instruction digests are added for explicit later sync. No production is included; {@link renderWorkspaceProductionScaffold} renders each one. Nothing is written.
14
- *
15
- * @param props The workspace's name, admitted by {@link assertScaffoldProjectName}.
16
- * @returns The rendered file map.
17
- * @throws When the name is refused, when a layer or the shared-skill directory is missing, on a placeholder refusal, on a token error, or on a path collision within or between layers.
18
- *
19
- * @evidence contracts/development/implementation.md#principled-implementation The root catalog is rendered from the same version table that a single production's dependencies use, so a workspace production's `catalog:` specifiers resolve to the ranges this package was built with.
20
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function chooses the layers and token values; name admission, layer rendering, joining and sync state each have one owner.
21
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The workspace layer is ordinary scaffold content rendered with the shared tokens; nothing is generated by string assembly here.
22
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the joined layers, what the workspace layer contains, the added state, what is excluded, and what throws.
23
- * @evidence contracts/development/implementation.md#efficient-algorithms Two layer renders, one join pass and one digest per instruction file.
24
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now and is made once per CLI run.
25
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Reads close before returning, and the returned map is owned by the caller.
26
- */
27
- const renderWorkspaceScaffold = (props) => (0, attachScaffoldSyncState_1.attachScaffoldSyncState)((0, mergeScaffoldFiles_1.mergeScaffoldFiles)((0, renderScaffoldInstructions_1.renderScaffoldInstructions)(), (0, renderScaffoldLayer_1.renderScaffoldLayer)("workspace", (0, createScaffoldVariables_1.createScaffoldVariables)({
28
- name: (0, assertScaffoldProjectName_1.assertScaffoldProjectName)(props.name),
29
- skills: ".agents/skills",
30
- dependencies: "release",
31
- }))));
32
- exports.renderWorkspaceScaffold = renderWorkspaceScaffold;
33
- //# sourceMappingURL=renderWorkspaceScaffold.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderWorkspaceScaffold.js","sourceRoot":"","sources":["../src/renderWorkspaceScaffold.ts"],"names":[],"mappings":";;;AACA,2EAAwE;AACxE,uEAAoE;AACpE,uEAAoE;AACpE,6DAA0D;AAC1D,6EAA0E;AAC1E,+DAA4D;AAE5D;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,uBAAuB,GAEN,CAC5B,KAA8B,EACN,EAAE,CAC1B,IAAA,iDAAuB,EACrB,IAAA,uCAAkB,EAChB,IAAA,uDAA0B,GAAE,EAC5B,IAAA,yCAAmB,EACjB,WAAW,EACX,IAAA,iDAAuB,EAAC;IACtB,IAAI,EAAE,IAAA,qDAAyB,EAAC,KAAK,CAAC,IAAI,CAAC;IAC3C,MAAM,EAAE,gBAAgB;IACxB,YAAY,EAAE,SAAS;CACxB,CAAC,CACH,CACF,CACF,CAAC;AAjBS,QAAA,uBAAuB,GAAvB,uBAAuB,CAiBhC"}
@@ -1,30 +0,0 @@
1
- import { type IScaffoldFileSnapshot } from "./IScaffoldFileSnapshot";
2
- import { type IScaffoldPhysicalDirectory } from "./IScaffoldPhysicalDirectory";
3
- import { type ScaffoldFilePublicationOutcome } from "./ScaffoldFilePublicationOutcome";
4
- /**
5
- * Replace the directory entry of an existing scaffold file that other entries also name, such as a build cache's hard link.
6
- *
7
- * The new bytes go into a fresh single-link sibling `<name>.automovie-sync` through {@link publishNativeScaffoldFile}, which is then renamed over `existing.path`. The other names keep the old file and its old bytes, which is what the single-link rule of the in-place rewrite protects. Right before the rename, the pathname must still hold the inspected generation; right after it, the pathname must hold the staged file.
8
- *
9
- * `refused` means nothing changed. `partial` means the staged sibling exists but the target entry was not, or not provably, replaced; the sibling is left in place and named in the error, and nothing is retried or deleted.
10
- *
11
- * @param props.base Captured scaffold root; `parent` must lie inside it.
12
- * @param props.bytes Exact file content.
13
- * @param props.existing Inspected generation of the shared file.
14
- * @param props.parent Captured parent directory of `existing.path`.
15
- * @returns The frozen outcome.
16
- *
17
- * @evidence contracts/development/implementation.md#principled-implementation Replacing an entry by renaming a verified sibling over it changes only that name; every other hard link keeps its inode, so no other name observes the write.
18
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Native exclusive creation, generation checks and one rename compose the replacement; in-place rewriting stays with overwriteScaffoldFile for single-link files.
19
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The link-count safety is kept rather than weakened: a shared file is never truncated, a changed target refuses the rename, and failures are reported, never cleaned up or retried. A writer changing the target between the last check and the rename is the documented remaining race.
20
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the sibling name, both generation checks, what other names observe and what each outcome leaves on disk.
21
- * @evidence contracts/development/implementation.md#efficient-algorithms One native create with write and readback, linear in the file size, plus a constant number of lstats and one rename.
22
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Every call writes one file and re-observes it, which is an effect that must not be shared.
23
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Handles belong to publishNativeScaffoldFile, which releases them before returning; this owner holds only scalar snapshots.
24
- */
25
- export declare const replaceSharedScaffoldFile: (props: {
26
- base: IScaffoldPhysicalDirectory;
27
- bytes: Uint8Array;
28
- existing: IScaffoldFileSnapshot;
29
- parent: IScaffoldPhysicalDirectory;
30
- }) => ScaffoldFilePublicationOutcome;
@@ -1,106 +0,0 @@
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.replaceSharedScaffoldFile = void 0;
37
- const fs = __importStar(require("node:fs"));
38
- const path = __importStar(require("node:path"));
39
- const assertScaffoldOwnership_1 = require("./assertScaffoldOwnership");
40
- const captureScaffoldFile_1 = require("./captureScaffoldFile");
41
- const publishNativeScaffoldFile_1 = require("./publishNativeScaffoldFile");
42
- /**
43
- * Replace the directory entry of an existing scaffold file that other entries also name, such as a build cache's hard link.
44
- *
45
- * The new bytes go into a fresh single-link sibling `<name>.automovie-sync` through {@link publishNativeScaffoldFile}, which is then renamed over `existing.path`. The other names keep the old file and its old bytes, which is what the single-link rule of the in-place rewrite protects. Right before the rename, the pathname must still hold the inspected generation; right after it, the pathname must hold the staged file.
46
- *
47
- * `refused` means nothing changed. `partial` means the staged sibling exists but the target entry was not, or not provably, replaced; the sibling is left in place and named in the error, and nothing is retried or deleted.
48
- *
49
- * @param props.base Captured scaffold root; `parent` must lie inside it.
50
- * @param props.bytes Exact file content.
51
- * @param props.existing Inspected generation of the shared file.
52
- * @param props.parent Captured parent directory of `existing.path`.
53
- * @returns The frozen outcome.
54
- *
55
- * @evidence contracts/development/implementation.md#principled-implementation Replacing an entry by renaming a verified sibling over it changes only that name; every other hard link keeps its inode, so no other name observes the write.
56
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Native exclusive creation, generation checks and one rename compose the replacement; in-place rewriting stays with overwriteScaffoldFile for single-link files.
57
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The link-count safety is kept rather than weakened: a shared file is never truncated, a changed target refuses the rename, and failures are reported, never cleaned up or retried. A writer changing the target between the last check and the rename is the documented remaining race.
58
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the sibling name, both generation checks, what other names observe and what each outcome leaves on disk.
59
- * @evidence contracts/development/implementation.md#efficient-algorithms One native create with write and readback, linear in the file size, plus a constant number of lstats and one rename.
60
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Every call writes one file and re-observes it, which is an effect that must not be shared.
61
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Handles belong to publishNativeScaffoldFile, which releases them before returning; this owner holds only scalar snapshots.
62
- */
63
- const replaceSharedScaffoldFile = (props) => {
64
- const target = props.existing.path;
65
- const childName = `${path.basename(target)}.automovie-sync`;
66
- const staged = (0, publishNativeScaffoldFile_1.publishNativeScaffoldFile)({
67
- bytes: props.bytes,
68
- childName,
69
- expectedParentIdentity: props.parent.identity,
70
- parentPath: props.parent.path,
71
- });
72
- if (staged.status !== "completed")
73
- return staged;
74
- const staging = path.join(props.parent.path, childName);
75
- try {
76
- const fresh = (0, captureScaffoldFile_1.captureScaffoldFile)(staging);
77
- if (fresh.shared)
78
- throw new Error(`staged scaffold file gained another link: ${staging}`);
79
- (0, assertScaffoldOwnership_1.assertScaffoldOwnership)(props.base, props.parent);
80
- const current = (0, captureScaffoldFile_1.captureScaffoldFile)(target);
81
- if (current.identity !== props.existing.identity ||
82
- current.written !== props.existing.written)
83
- throw new Error(`scaffold file changed since inspection: ${target}`);
84
- fs.renameSync(staging, target);
85
- const resident = (0, captureScaffoldFile_1.captureScaffoldFile)(target);
86
- if (resident.identity !== fresh.identity ||
87
- resident.written !== fresh.written ||
88
- resident.shared)
89
- throw new Error(`scaffold file changed during entry replacement: ${target}`);
90
- (0, assertScaffoldOwnership_1.assertScaffoldOwnership)(props.base, props.parent);
91
- }
92
- catch (error) {
93
- return Object.freeze({
94
- bytesWritten: props.bytes.byteLength,
95
- error: new Error(`shared scaffold file was not replaced; staged copy remains at ${staging}`, { cause: error }),
96
- parentIdentity: props.parent.identity,
97
- status: "partial",
98
- });
99
- }
100
- return Object.freeze({
101
- parentIdentity: props.parent.identity,
102
- status: "completed",
103
- });
104
- };
105
- exports.replaceSharedScaffoldFile = replaceSharedScaffoldFile;
106
- //# sourceMappingURL=replaceSharedScaffoldFile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"replaceSharedScaffoldFile.js","sourceRoot":"","sources":["../src/replaceSharedScaffoldFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,EAAE,oCAAgB;AAC9B,MAAY,IAAI,sCAAkB;AAKlC,uEAAoE;AACpE,+DAA4D;AAC5D,2EAAwE;AAExE;;;;;;;;;;;;;;;;;;;;GAoBG;AACI,MAAM,yBAAyB,GAKC,CAAC,KAKvC,EAAkC,EAAE;IACnC,MAAM,MAAM,GAAW,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;IAC3C,MAAM,SAAS,GAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC;IACpE,MAAM,MAAM,GAAmC,IAAA,qDAAyB,EAAC;QACvE,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,SAAS;QACT,sBAAsB,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ;QAC7C,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI;KAC9B,CAAC,CAAC;IACH,IAAI,MAAM,CAAC,MAAM,KAAK,WAAW;QAAE,OAAO,MAAM,CAAC;IACjD,MAAM,OAAO,GAAW,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IAChE,IAAI,CAAC;QACH,MAAM,KAAK,GAA0B,IAAA,yCAAmB,EAAC,OAAO,CAAC,CAAC;QAClE,IAAI,KAAK,CAAC,MAAM;YACd,MAAM,IAAI,KAAK,CAAC,6CAA6C,OAAO,EAAE,CAAC,CAAC;QAC1E,IAAA,iDAAuB,EAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAClD,MAAM,OAAO,GAA0B,IAAA,yCAAmB,EAAC,MAAM,CAAC,CAAC;QACnE,IACE,OAAO,CAAC,QAAQ,KAAK,KAAK,CAAC,QAAQ,CAAC,QAAQ;YAC5C,OAAO,CAAC,OAAO,KAAK,KAAK,CAAC,QAAQ,CAAC,OAAO;YAE1C,MAAM,IAAI,KAAK,CAAC,2CAA2C,MAAM,EAAE,CAAC,CAAC;QACvE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC/B,MAAM,QAAQ,GAA0B,IAAA,yCAAmB,EAAC,MAAM,CAAC,CAAC;QACpE,IACE,QAAQ,CAAC,QAAQ,KAAK,KAAK,CAAC,QAAQ;YACpC,QAAQ,CAAC,OAAO,KAAK,KAAK,CAAC,OAAO;YAClC,QAAQ,CAAC,MAAM;YAEf,MAAM,IAAI,KAAK,CAAC,mDAAmD,MAAM,EAAE,CAAC,CAAC;QAC/E,IAAA,iDAAuB,EAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,MAAM,CAAC,MAAM,CAAC;YACnB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,UAAU;YACpC,KAAK,EAAE,IAAI,KAAK,CACd,iEAAiE,OAAO,EAAE,EAC1E,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB;YACD,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ;YACrC,MAAM,EAAE,SAAkB;SAC3B,CAAC,CAAC;IACL,CAAC;IACD,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ;QACrC,MAAM,EAAE,WAAoB;KAC7B,CAAC,CAAC;AACL,CAAC,CAAC;AAxDW,QAAA,yBAAyB,GAAzB,yBAAyB,CAwDpC"}
@@ -1,19 +0,0 @@
1
- import { type IAutoMovieCatalogVersionProps } from "./IAutoMovieCatalogVersionProps";
2
- /**
3
- * Read one dependency specifier from a pnpm workspace catalog.
4
- *
5
- * This is a single lookup through {@link createAutoMovieCatalogVersionResolver}, with the same direct-ownership rule and refusals; a caller with several lookups over one manifest should create the resolver once instead.
6
- *
7
- * @param props The manifest and the entry to read.
8
- * @returns The specifier exactly as written, such as `^1.2.3`.
9
- * @throws With a message naming the catalog and dependency when the manifest is invalid YAML or the entry is missing, misplaced, or not a non-blank string.
10
- *
11
- * @evidence contracts/development/implementation.md#principled-implementation The lookup inherits the structural YAML reading of the resolver, so a commented, quoted, anchored, or CRLF entry resolves to its interpreted value.
12
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function is a one-line adapter from a props record to the resolver, so single and repeated lookups share one implementation.
13
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Every refusal of the resolver propagates unchanged, with nothing caught or defaulted here.
14
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the relation to the resolver, when to use the resolver instead, the return form, and every failure.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms One manifest parse is followed by scans of the direct root, catalogs and selected-catalog keys, plus alias resolution when used. Total work depends on manifest size, and repeated lookups should share the resolver rather than repeat this parse.
16
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A single lookup has nothing to share; repeated lookups belong on one resolver.
17
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The parsed document becomes unreachable when the call returns, and no handle is opened.
18
- */
19
- export declare const resolveAutoMovieCatalogVersion: (props: IAutoMovieCatalogVersionProps) => string;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveAutoMovieCatalogVersion = void 0;
4
- const createAutoMovieCatalogVersionResolver_1 = require("./createAutoMovieCatalogVersionResolver");
5
- /**
6
- * Read one dependency specifier from a pnpm workspace catalog.
7
- *
8
- * This is a single lookup through {@link createAutoMovieCatalogVersionResolver}, with the same direct-ownership rule and refusals; a caller with several lookups over one manifest should create the resolver once instead.
9
- *
10
- * @param props The manifest and the entry to read.
11
- * @returns The specifier exactly as written, such as `^1.2.3`.
12
- * @throws With a message naming the catalog and dependency when the manifest is invalid YAML or the entry is missing, misplaced, or not a non-blank string.
13
- *
14
- * @evidence contracts/development/implementation.md#principled-implementation The lookup inherits the structural YAML reading of the resolver, so a commented, quoted, anchored, or CRLF entry resolves to its interpreted value.
15
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function is a one-line adapter from a props record to the resolver, so single and repeated lookups share one implementation.
16
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Every refusal of the resolver propagates unchanged, with nothing caught or defaulted here.
17
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the relation to the resolver, when to use the resolver instead, the return form, and every failure.
18
- * @evidence contracts/development/implementation.md#efficient-algorithms One manifest parse is followed by scans of the direct root, catalogs and selected-catalog keys, plus alias resolution when used. Total work depends on manifest size, and repeated lookups should share the resolver rather than repeat this parse.
19
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A single lookup has nothing to share; repeated lookups belong on one resolver.
20
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The parsed document becomes unreachable when the call returns, and no handle is opened.
21
- */
22
- const resolveAutoMovieCatalogVersion = (props) => (0, createAutoMovieCatalogVersionResolver_1.createAutoMovieCatalogVersionResolver)(props.workspace)(props.catalog, props.dependency);
23
- exports.resolveAutoMovieCatalogVersion = resolveAutoMovieCatalogVersion;
24
- //# sourceMappingURL=resolveAutoMovieCatalogVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveAutoMovieCatalogVersion.js","sourceRoot":"","sources":["../src/resolveAutoMovieCatalogVersion.ts"],"names":[],"mappings":";;;AACA,mGAAgG;AAEhG;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,8BAA8B,GAE7B,CAAC,KAAoC,EAAU,EAAE,CAC7D,IAAA,6EAAqC,EAAC,KAAK,CAAC,SAAS,CAAC,CACpD,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,UAAU,CACjB,CAAC;AANS,QAAA,8BAA8B,GAA9B,8BAA8B,CAMvC"}
@@ -1,19 +0,0 @@
1
- import type { IAutoMovieTemplateDependencyVersionsProps } from "./IAutoMovieTemplateDependencyVersionsProps";
2
- /**
3
- * Build the version table behind the scaffold's `{{version:<key>}}` tokens.
4
- *
5
- * Workspace package ranges are copied unchanged. Every external dependency is read from the pnpm catalog that owns it: `media` for the media and runtime libraries, `three`, `gltf` for the model exporter, `vite`, `utils` for `@types/node`, `samchon` for the compiler, lint, evidence and test tools, and `typescript`. For `@huggingface/transformers`, `kokoro-js`, and `onnxruntime-node`, whose runtime graphs must agree on one exact version, a leading `^` or `~` is removed; any other range form is kept as written.
6
- *
7
- * @param props The manifest text and the workspace package ranges.
8
- * @returns The table keyed by token name, such as `engine` or `kokoroJs`.
9
- * @throws When any catalog entry is missing or invalid, naming it.
10
- *
11
- * @evidence contracts/development/implementation.md#principled-implementation Removing only a leading caret or tilde turns an npm range anchored on one version into that exact version, which is the semver meaning of both markers; the premise is that those three catalog entries are written as `^x.y.z`, `~x.y.z`, or `x.y.z`, which the workspace manifest does.
12
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function owns only the mapping from token names to catalog entries; YAML reading belongs to `createAutoMovieCatalogVersionResolver`, and file access to the build script.
13
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The exact-version rule applies to the three named runtime packages by their catalog names because their graphs need one version, and no value is hard-coded; every version comes from the inputs.
14
- * @evidence contracts/development/common.md#meaningful-documentation The comment states which catalog owns each group, which entries become exact and how, the keys of the result, and what throws.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms The manifest is parsed once; each of twenty-two lookups scans the direct keys of the root, catalogs mapping and requested catalog, including alias resolution where needed. The fixed lookup count keeps total work linear in manifest size, with one parsed document and thirty-three result strings.
16
- * @evidence contracts/development/implementation.md#reuse-equivalent-work All twenty-two lookups share one resolver and therefore one parsed document of `props.workspace`, the only input they depend on; nothing outlives the call, so no invalidation is needed.
17
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The resolver and its parsed document are released when the function returns; only the result table, thirty-three strings, is retained by the caller.
18
- */
19
- export declare const resolveAutoMovieTemplateDependencyVersions: (props: IAutoMovieTemplateDependencyVersionsProps) => Record<string, string>;
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveAutoMovieTemplateDependencyVersions = void 0;
4
- const createAutoMovieCatalogVersionResolver_1 = require("./createAutoMovieCatalogVersionResolver");
5
- /**
6
- * Build the version table behind the scaffold's `{{version:<key>}}` tokens.
7
- *
8
- * Workspace package ranges are copied unchanged. Every external dependency is read from the pnpm catalog that owns it: `media` for the media and runtime libraries, `three`, `gltf` for the model exporter, `vite`, `utils` for `@types/node`, `samchon` for the compiler, lint, evidence and test tools, and `typescript`. For `@huggingface/transformers`, `kokoro-js`, and `onnxruntime-node`, whose runtime graphs must agree on one exact version, a leading `^` or `~` is removed; any other range form is kept as written.
9
- *
10
- * @param props The manifest text and the workspace package ranges.
11
- * @returns The table keyed by token name, such as `engine` or `kokoroJs`.
12
- * @throws When any catalog entry is missing or invalid, naming it.
13
- *
14
- * @evidence contracts/development/implementation.md#principled-implementation Removing only a leading caret or tilde turns an npm range anchored on one version into that exact version, which is the semver meaning of both markers; the premise is that those three catalog entries are written as `^x.y.z`, `~x.y.z`, or `x.y.z`, which the workspace manifest does.
15
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function owns only the mapping from token names to catalog entries; YAML reading belongs to `createAutoMovieCatalogVersionResolver`, and file access to the build script.
16
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The exact-version rule applies to the three named runtime packages by their catalog names because their graphs need one version, and no value is hard-coded; every version comes from the inputs.
17
- * @evidence contracts/development/common.md#meaningful-documentation The comment states which catalog owns each group, which entries become exact and how, the keys of the result, and what throws.
18
- * @evidence contracts/development/implementation.md#efficient-algorithms The manifest is parsed once; each of twenty-two lookups scans the direct keys of the root, catalogs mapping and requested catalog, including alias resolution where needed. The fixed lookup count keeps total work linear in manifest size, with one parsed document and thirty-three result strings.
19
- * @evidence contracts/development/implementation.md#reuse-equivalent-work All twenty-two lookups share one resolver and therefore one parsed document of `props.workspace`, the only input they depend on; nothing outlives the call, so no invalidation is needed.
20
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The resolver and its parsed document are released when the function returns; only the result table, thirty-three strings, is retained by the caller.
21
- */
22
- const resolveAutoMovieTemplateDependencyVersions = (props) => {
23
- const catalogVersion = (0, createAutoMovieCatalogVersionResolver_1.createAutoMovieCatalogVersionResolver)(props.workspace);
24
- const exactCatalogVersion = (catalog, dependency) => catalogVersion(catalog, dependency).replace(/^[~^]/u, "");
25
- return {
26
- cli: props.packages.cli,
27
- engine: props.packages.engine,
28
- evidence: props.packages.evidence,
29
- human: props.packages.human,
30
- ingest: props.packages.ingest,
31
- interface: props.packages.interface,
32
- motions: props.packages.motions,
33
- recovery: props.packages.recovery,
34
- render: props.packages.render,
35
- template: props.packages.template,
36
- viewer: props.packages.viewer,
37
- huggingFaceTransformers: exactCatalogVersion("media", "@huggingface/transformers"),
38
- h264Mp4Encoder: catalogVersion("media", "h264-mp4-encoder"),
39
- ffmpegStatic: catalogVersion("media", "ffmpeg-static"),
40
- kokoroJs: exactCatalogVersion("media", "kokoro-js"),
41
- libopusWasm: catalogVersion("media", "libopus-wasm"),
42
- mp4box: catalogVersion("media", "mp4box"),
43
- onnxruntimeNode: exactCatalogVersion("media", "onnxruntime-node"),
44
- playwright: catalogVersion("media", "playwright"),
45
- playwrightCore: catalogVersion("media", "playwright-core"),
46
- pngjs: catalogVersion("media", "pngjs"),
47
- pngjsTypes: catalogVersion("media", "@types/pngjs"),
48
- three: catalogVersion("three", "three"),
49
- gltfTransformCore: catalogVersion("gltf", "@gltf-transform/core"),
50
- threeTypes: catalogVersion("three", "@types/three"),
51
- vite: catalogVersion("vite", "vite"),
52
- nodeTypes: catalogVersion("utils", "@types/node"),
53
- nestiaE2e: catalogVersion("samchon", "@nestia/e2e"),
54
- ttsc: catalogVersion("samchon", "ttsc"),
55
- ttscLint: catalogVersion("samchon", "@ttsc/lint"),
56
- evidenceCli: catalogVersion("samchon", "@wrtnlabs/evidence"),
57
- evidenceLint: catalogVersion("samchon", "@ttsc/evidence"),
58
- typescript: catalogVersion("typescript", "typescript"),
59
- };
60
- };
61
- exports.resolveAutoMovieTemplateDependencyVersions = resolveAutoMovieTemplateDependencyVersions;
62
- //# sourceMappingURL=resolveAutoMovieTemplateDependencyVersions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveAutoMovieTemplateDependencyVersions.js","sourceRoot":"","sources":["../src/resolveAutoMovieTemplateDependencyVersions.ts"],"names":[],"mappings":";;;AACA,mGAAgG;AAEhG;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,0CAA0C,GAEzB,CAC5B,KAAgD,EACxB,EAAE;IAC1B,MAAM,cAAc,GAClB,IAAA,6EAAqC,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,mBAAmB,GAAoD,CAC3E,OAAe,EACf,UAAkB,EACV,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IACvE,OAAO;QACL,GAAG,EAAE,KAAK,CAAC,QAAQ,CAAC,GAAG;QACvB,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM;QAC7B,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,QAAQ;QACjC,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK;QAC3B,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM;QAC7B,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,SAAS;QACnC,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,OAAO;QAC/B,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,QAAQ;QACjC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM;QAC7B,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,QAAQ;QACjC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM;QAC7B,uBAAuB,EAAE,mBAAmB,CAC1C,OAAO,EACP,2BAA2B,CAC5B;QACD,cAAc,EAAE,cAAc,CAAC,OAAO,EAAE,kBAAkB,CAAC;QAC3D,YAAY,EAAE,cAAc,CAAC,OAAO,EAAE,eAAe,CAAC;QACtD,QAAQ,EAAE,mBAAmB,CAAC,OAAO,EAAE,WAAW,CAAC;QACnD,WAAW,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC;QACpD,MAAM,EAAE,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC;QACzC,eAAe,EAAE,mBAAmB,CAAC,OAAO,EAAE,kBAAkB,CAAC;QACjE,UAAU,EAAE,cAAc,CAAC,OAAO,EAAE,YAAY,CAAC;QACjD,cAAc,EAAE,cAAc,CAAC,OAAO,EAAE,iBAAiB,CAAC;QAC1D,KAAK,EAAE,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC;QACvC,UAAU,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC;QACnD,KAAK,EAAE,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC;QACvC,iBAAiB,EAAE,cAAc,CAAC,MAAM,EAAE,sBAAsB,CAAC;QACjE,UAAU,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC;QACnD,IAAI,EAAE,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC;QACpC,SAAS,EAAE,cAAc,CAAC,OAAO,EAAE,aAAa,CAAC;QACjD,SAAS,EAAE,cAAc,CAAC,SAAS,EAAE,aAAa,CAAC;QACnD,IAAI,EAAE,cAAc,CAAC,SAAS,EAAE,MAAM,CAAC;QACvC,QAAQ,EAAE,cAAc,CAAC,SAAS,EAAE,YAAY,CAAC;QACjD,WAAW,EAAE,cAAc,CAAC,SAAS,EAAE,oBAAoB,CAAC;QAC5D,YAAY,EAAE,cAAc,CAAC,SAAS,EAAE,gBAAgB,CAAC;QACzD,UAAU,EAAE,cAAc,CAAC,YAAY,EAAE,YAAY,CAAC;KACvD,CAAC;AACJ,CAAC,CAAC;AAjDW,QAAA,0CAA0C,GAA1C,0CAA0C,CAiDrD"}
@@ -1,13 +0,0 @@
1
- import type { IScaffoldPosixConstants } from "./IScaffoldPosixConstants";
2
- /**
3
- * Resolve the running POSIX system's open flags before binding libc. Native constants take precedence; missing required flags refuse rather than becoming zero. Linux and Android use the generic Linux close-on-exec bit and Darwin uses its XNU bit when Node omits it. Other systems without that native bit refuse.
4
- *
5
- * @evidence contracts/development/implementation.md#principled-implementation Supplied native bits retain their ABI meaning; missing close-on-exec uses Linux UAPI's 1<<19 for Linux/Android or Apple XNU's 0x01000000 for Darwin, while an unknown ABI refuses. Both primary headers are linked beside their constants.
6
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Flag resolution is pure and separate from libc loading so platform admission finishes before a library or descriptor is acquired.
7
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The platform branch names supported native ABI differences, with no substituted filesystem or test-only path.
8
- * @evidence contracts/development/common.md#meaningful-documentation The comment states input precedence, unsupported-platform refusal and that all required native bits must exist.
9
- * @evidence contracts/development/implementation.md#efficient-algorithms Seven constant-key reads and one platform choice take fixed time and return one seven-field record.
10
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This resolver performs fixed scalar work once during lazy libc initialization; it coordinates no repeated request.
11
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Pure flag resolution acquires no library, descriptor or asynchronous task and retains no input object.
12
- */
13
- export declare function resolveScaffoldPosixConstants(platform: NodeJS.Platform, constants: Readonly<Partial<IScaffoldPosixConstants>>): IScaffoldPosixConstants;
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveScaffoldPosixConstants = resolveScaffoldPosixConstants;
4
- /** Generic Linux UAPI open flag: https://github.com/torvalds/linux/blob/master/include/uapi/asm-generic/fcntl.h. */
5
- const LINUX_O_CLOEXEC = 1 << 19;
6
- /** Darwin open flag: https://github.com/apple-oss-distributions/xnu/blob/main/bsd/sys/fcntl.h. */
7
- const DARWIN_O_CLOEXEC = 0x01000000;
8
- /**
9
- * Resolve the running POSIX system's open flags before binding libc. Native constants take precedence; missing required flags refuse rather than becoming zero. Linux and Android use the generic Linux close-on-exec bit and Darwin uses its XNU bit when Node omits it. Other systems without that native bit refuse.
10
- *
11
- * @evidence contracts/development/implementation.md#principled-implementation Supplied native bits retain their ABI meaning; missing close-on-exec uses Linux UAPI's 1<<19 for Linux/Android or Apple XNU's 0x01000000 for Darwin, while an unknown ABI refuses. Both primary headers are linked beside their constants.
12
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Flag resolution is pure and separate from libc loading so platform admission finishes before a library or descriptor is acquired.
13
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The platform branch names supported native ABI differences, with no substituted filesystem or test-only path.
14
- * @evidence contracts/development/common.md#meaningful-documentation The comment states input precedence, unsupported-platform refusal and that all required native bits must exist.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms Seven constant-key reads and one platform choice take fixed time and return one seven-field record.
16
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This resolver performs fixed scalar work once during lazy libc initialization; it coordinates no repeated request.
17
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Pure flag resolution acquires no library, descriptor or asynchronous task and retains no input object.
18
- */
19
- function resolveScaffoldPosixConstants(platform, constants) {
20
- const read = (name) => {
21
- const value = constants[name];
22
- if (value === undefined)
23
- throw new Error(`supported POSIX runtime omitted ${name}`);
24
- return value;
25
- };
26
- const closeOnExec = constants.O_CLOEXEC ??
27
- (platform === "darwin"
28
- ? DARWIN_O_CLOEXEC
29
- : platform === "linux" || platform === "android"
30
- ? LINUX_O_CLOEXEC
31
- : undefined);
32
- if (closeOnExec === undefined)
33
- throw new Error("supported POSIX runtime omitted O_CLOEXEC");
34
- return {
35
- O_CLOEXEC: closeOnExec,
36
- O_CREAT: read("O_CREAT"),
37
- O_DIRECTORY: read("O_DIRECTORY"),
38
- O_EXCL: read("O_EXCL"),
39
- O_NOFOLLOW: read("O_NOFOLLOW"),
40
- O_RDONLY: read("O_RDONLY"),
41
- O_RDWR: read("O_RDWR"),
42
- };
43
- }
44
- //# sourceMappingURL=resolveScaffoldPosixConstants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveScaffoldPosixConstants.js","sourceRoot":"","sources":["../src/resolveScaffoldPosixConstants.ts"],"names":[],"mappings":";;;AAEA,oHAAoH;AACpH,MAAM,eAAe,GAAW,CAAC,IAAI,EAAE,CAAC;AAExC,kGAAkG;AAClG,MAAM,gBAAgB,GAAW,UAAU,CAAC;AAE5C;;;;;;;;;;GAUG;AACH,uCACE,QAAyB,EACzB,SAAqD;IAErD,MAAM,IAAI,GAAoD,CAC5D,IAAmC,EAC3B,EAAE;QACV,MAAM,KAAK,GAAuB,SAAS,CAAC,IAAI,CAAC,CAAC;QAClD,IAAI,KAAK,KAAK,SAAS;YACrB,MAAM,IAAI,KAAK,CAAC,mCAAmC,IAAI,EAAE,CAAC,CAAC;QAC7D,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;IACF,MAAM,WAAW,GACf,SAAS,CAAC,SAAS;QACnB,CAAC,QAAQ,KAAK,QAAQ;YACpB,CAAC,CAAC,gBAAgB;YAClB,CAAC,CAAC,QAAQ,KAAK,OAAO,IAAI,QAAQ,KAAK,SAAS;gBAC9C,CAAC,CAAC,eAAe;gBACjB,CAAC,CAAC,SAAS,CAAC,CAAC;IACnB,IAAI,WAAW,KAAK,SAAS;QAC3B,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC/D,OAAO;QACL,SAAS,EAAE,WAAW;QACtB,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;QACxB,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;QAChC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;QAC9B,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;KACvB,CAAC;AACJ,CAAC"}
@@ -1,19 +0,0 @@
1
- import type { AutoMovieScaffoldLayer } from "./AutoMovieScaffoldLayer";
2
- /**
3
- * Absolute path of one bundled scaffold layer, `scaffold/<layer>`.
4
- *
5
- * The directory is resolved from this module's own location, one level up, so the same code finds it from `src` under `ttsx` and from the published `lib`, which the package ships next to `scaffold`.
6
- *
7
- * @param layer The layer to locate.
8
- * @returns The absolute layer directory.
9
- * @throws When nothing exists at that path, naming the path, which means the package was installed or built without that part of its `scaffold` folder.
10
- *
11
- * @evidence contracts/development/implementation.md#principled-implementation `__dirname` is the CommonJS location of the compiled module, and both `src` and `lib` sit directly under the package root next to `scaffold`, which `package.json` lists in `files`; the premise fails only for a bundler that relocates the module, which the package does not use.
12
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One function owns where the assets are, so the renderers read a layer without knowing the package layout; the closed layer union is its only input.
13
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The path comes only from the module location and the layer name, with no environment override or test hook, and a missing directory throws instead of falling back to another location.
14
- * @evidence contracts/development/common.md#meaningful-documentation The comment states how the path is derived, why it holds for both `src` and `lib`, and what a missing directory means.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms One path resolution and one existence check per call, independent of the scaffold's size.
16
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The result is recomputed on each call because the existence check must observe the installed package, and each render calls it once per layer.
17
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function returns a string and opens no handle.
18
- */
19
- export declare const scaffoldAssetDirectory: (layer: AutoMovieScaffoldLayer) => string;
@@ -1,63 +0,0 @@
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.scaffoldAssetDirectory = void 0;
37
- const fs = __importStar(require("node:fs"));
38
- const path = __importStar(require("node:path"));
39
- /**
40
- * Absolute path of one bundled scaffold layer, `scaffold/<layer>`.
41
- *
42
- * The directory is resolved from this module's own location, one level up, so the same code finds it from `src` under `ttsx` and from the published `lib`, which the package ships next to `scaffold`.
43
- *
44
- * @param layer The layer to locate.
45
- * @returns The absolute layer directory.
46
- * @throws When nothing exists at that path, naming the path, which means the package was installed or built without that part of its `scaffold` folder.
47
- *
48
- * @evidence contracts/development/implementation.md#principled-implementation `__dirname` is the CommonJS location of the compiled module, and both `src` and `lib` sit directly under the package root next to `scaffold`, which `package.json` lists in `files`; the premise fails only for a bundler that relocates the module, which the package does not use.
49
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One function owns where the assets are, so the renderers read a layer without knowing the package layout; the closed layer union is its only input.
50
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The path comes only from the module location and the layer name, with no environment override or test hook, and a missing directory throws instead of falling back to another location.
51
- * @evidence contracts/development/common.md#meaningful-documentation The comment states how the path is derived, why it holds for both `src` and `lib`, and what a missing directory means.
52
- * @evidence contracts/development/implementation.md#efficient-algorithms One path resolution and one existence check per call, independent of the scaffold's size.
53
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The result is recomputed on each call because the existence check must observe the installed package, and each render calls it once per layer.
54
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function returns a string and opens no handle.
55
- */
56
- const scaffoldAssetDirectory = (layer) => {
57
- const directory = path.resolve(__dirname, "..", "scaffold", layer);
58
- if (!fs.existsSync(directory))
59
- throw new Error(`scaffold assets are missing: ${directory}`);
60
- return directory;
61
- };
62
- exports.scaffoldAssetDirectory = scaffoldAssetDirectory;
63
- //# sourceMappingURL=scaffoldAssetDirectory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scaffoldAssetDirectory.js","sourceRoot":"","sources":["../src/scaffoldAssetDirectory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,EAAE,oCAAgB;AAC9B,MAAY,IAAI,sCAAkB;AAIlC;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,sBAAsB,GAErB,CAAC,KAA6B,EAAU,EAAE;IACtD,MAAM,SAAS,GAAW,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;IAC3E,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC;QAC3B,MAAM,IAAI,KAAK,CAAC,gCAAgC,SAAS,EAAE,CAAC,CAAC;IAC/D,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAPW,QAAA,sBAAsB,GAAtB,sBAAsB,CAOjC"}
@@ -1,18 +0,0 @@
1
- import type * as fs from "node:fs";
2
- /**
3
- * Physical identity of a file or directory, formatted `<device>:<inode>` from a bigint stat.
4
- *
5
- * Captured directory identities and the identity a held native parent handle reports are compared as these strings. On POSIX both come from `fstat` via this function. On Windows, Node reports the volume serial number as `dev` and the file index as `ino`, which is the pair the native adapter reads from `GetFileInformationByHandle` and formats the same way.
6
- *
7
- * @param status Stat taken with `{ bigint: true }`.
8
- * @returns The identity string.
9
- *
10
- * @evidence contracts/development/implementation.md#principled-implementation The device and inode pair is the POSIX definition of file identity, and bigint stats keep both exact beyond 2^53; on Windows the premise is libuv's mapping of volume serial and file index to `dev` and `ino`, and a ReFS file whose 128-bit identifier does not fit the 64-bit index is the unresolved limitation.
11
- * @evidence contracts/development/implementation.md#clear-and-simple-structure physicalDirectoryIdentity and the POSIX native adapter share this format; the Windows binding assembles the same device and index pair from BY_HANDLE_FILE_INFORMATION for the coordinator's comparison.
12
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The function formats exactly the stat it receives, with no platform branch or substituted value.
13
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the format, which stat it needs, and the cross-platform equivalence the comparisons rely on.
14
- * @evidence contracts/development/implementation.md#efficient-algorithms Formatting two bigints is constant time per stat.
15
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each stat is a separate observation of the file system, and identity checks exist to observe change, so caching a result would defeat them.
16
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources A pure formatter that returns a string and keeps nothing.
17
- */
18
- export declare const scaffoldPhysicalIdentity: (status: fs.BigIntStats) => string;