@allyhub/sdk 0.1.0-alpha.8 → 0.2.0-next.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 (370) hide show
  1. package/NOTICE +85 -0
  2. package/client.d.ts +45 -1
  3. package/dist/anim.js +2 -75
  4. package/dist/define.d.ts +10 -4
  5. package/dist/define.js +2 -95
  6. package/dist/dom.d.ts +1 -1
  7. package/dist/dom.js +2 -457
  8. package/dist/fit.js +2 -60
  9. package/dist/free.d.ts +18 -0
  10. package/dist/free.js +2 -0
  11. package/dist/index.d.ts +28 -13
  12. package/dist/index.js +2 -11
  13. package/dist/input.d.ts +306 -0
  14. package/dist/input.js +2 -0
  15. package/dist/media.d.ts +3 -6
  16. package/dist/media.js +2 -27
  17. package/dist/messages.d.ts +3 -2
  18. package/dist/messages.js +2 -2
  19. package/dist/module.d.ts +24 -0
  20. package/dist/module.js +2 -0
  21. package/dist/noise.js +2 -233
  22. package/dist/parts.d.ts +97 -21
  23. package/dist/parts.js +2 -414
  24. package/dist/paths.d.ts +1 -1
  25. package/dist/paths.js +2 -720
  26. package/dist/phone.d.ts +26 -0
  27. package/dist/phone.js +2 -0
  28. package/dist/piece.d.ts +106 -35
  29. package/dist/piece.js +2 -38
  30. package/dist/props.d.ts +1 -1
  31. package/dist/props.js +2 -35
  32. package/dist/scenery.d.ts +2 -0
  33. package/dist/scenery.js +2 -0
  34. package/dist/text.js +2 -38
  35. package/dist/written.d.ts +12 -0
  36. package/dist/written.js +2 -0
  37. package/docs/README.md +18 -0
  38. package/docs/batches.md +148 -0
  39. package/docs/contract.md +51 -0
  40. package/docs/defaults.md +703 -0
  41. package/docs/docs.md +148 -0
  42. package/docs/footage.md +249 -0
  43. package/docs/layers.md +317 -0
  44. package/docs/modeling.md +143 -0
  45. package/docs/project.md +265 -0
  46. package/docs/scenery.md +308 -0
  47. package/docs/sheets.md +119 -0
  48. package/docs/slides.md +111 -0
  49. package/docs/sound.md +170 -0
  50. package/docs/speech.md +289 -0
  51. package/docs/video.md +265 -0
  52. package/node_modules/@allyhub-next/audio/dist/at-cut.d.ts +52 -0
  53. package/node_modules/@allyhub-next/audio/dist/at-cut.js +2 -0
  54. package/node_modules/@allyhub-next/audio/dist/decode.d.ts +33 -0
  55. package/node_modules/@allyhub-next/audio/dist/decode.js +2 -0
  56. package/node_modules/@allyhub-next/audio/dist/envelope.d.ts +37 -0
  57. package/node_modules/@allyhub-next/audio/dist/envelope.js +2 -0
  58. package/node_modules/@allyhub-next/audio/dist/index.d.ts +17 -0
  59. package/node_modules/@allyhub-next/audio/dist/index.js +2 -0
  60. package/node_modules/@allyhub-next/audio/dist/levels.d.ts +97 -0
  61. package/node_modules/@allyhub-next/audio/dist/levels.js +2 -0
  62. package/node_modules/@allyhub-next/audio/dist/master.d.ts +29 -0
  63. package/node_modules/@allyhub-next/audio/dist/master.js +2 -0
  64. package/node_modules/@allyhub-next/audio/dist/music.d.ts +11 -0
  65. package/node_modules/@allyhub-next/audio/dist/music.js +2 -0
  66. package/node_modules/@allyhub-next/audio/dist/node/decode.d.ts +39 -0
  67. package/node_modules/@allyhub-next/audio/dist/node/decode.js +2 -0
  68. package/node_modules/@allyhub-next/audio/dist/node/ebur128.d.ts +25 -0
  69. package/node_modules/@allyhub-next/audio/dist/node/ebur128.js +2 -0
  70. package/node_modules/@allyhub-next/audio/dist/node/ffmpeg.d.ts +31 -0
  71. package/node_modules/@allyhub-next/audio/dist/node/ffmpeg.js +2 -0
  72. package/node_modules/@allyhub-next/audio/dist/node/index.d.ts +8 -0
  73. package/node_modules/@allyhub-next/audio/dist/node/index.js +2 -0
  74. package/node_modules/@allyhub-next/audio/dist/node/loudness.d.ts +18 -0
  75. package/node_modules/@allyhub-next/audio/dist/node/loudness.js +2 -0
  76. package/node_modules/@allyhub-next/audio/dist/node/master.d.ts +42 -0
  77. package/node_modules/@allyhub-next/audio/dist/node/master.js +2 -0
  78. package/node_modules/@allyhub-next/audio/dist/node/measure.d.ts +60 -0
  79. package/node_modules/@allyhub-next/audio/dist/node/measure.js +2 -0
  80. package/node_modules/@allyhub-next/audio/dist/node/mix.d.ts +31 -0
  81. package/node_modules/@allyhub-next/audio/dist/node/mix.js +2 -0
  82. package/node_modules/@allyhub-next/audio/dist/plan.d.ts +143 -0
  83. package/node_modules/@allyhub-next/audio/dist/plan.js +2 -0
  84. package/node_modules/@allyhub-next/audio/dist/recorded.d.ts +26 -0
  85. package/node_modules/@allyhub-next/audio/dist/recorded.js +2 -0
  86. package/node_modules/@allyhub-next/audio/dist/recording/bandwidth.d.ts +47 -0
  87. package/node_modules/@allyhub-next/audio/dist/recording/bandwidth.js +2 -0
  88. package/node_modules/@allyhub-next/audio/dist/recording/chain.d.ts +89 -0
  89. package/node_modules/@allyhub-next/audio/dist/recording/chain.js +2 -0
  90. package/node_modules/@allyhub-next/audio/dist/recording/dynamics.d.ts +64 -0
  91. package/node_modules/@allyhub-next/audio/dist/recording/dynamics.js +2 -0
  92. package/node_modules/@allyhub-next/audio/dist/recording/fft.d.ts +26 -0
  93. package/node_modules/@allyhub-next/audio/dist/recording/fft.js +2 -0
  94. package/node_modules/@allyhub-next/audio/dist/recording/filters.d.ts +42 -0
  95. package/node_modules/@allyhub-next/audio/dist/recording/filters.js +2 -0
  96. package/node_modules/@allyhub-next/audio/dist/recording/fit.d.ts +56 -0
  97. package/node_modules/@allyhub-next/audio/dist/recording/fit.js +2 -0
  98. package/node_modules/@allyhub-next/audio/dist/recording/index.d.ts +10 -0
  99. package/node_modules/@allyhub-next/audio/dist/recording/index.js +2 -0
  100. package/node_modules/@allyhub-next/audio/dist/recording/loudness.d.ts +12 -0
  101. package/node_modules/@allyhub-next/audio/dist/recording/loudness.js +2 -0
  102. package/node_modules/@allyhub-next/audio/dist/recording/measure.d.ts +67 -0
  103. package/node_modules/@allyhub-next/audio/dist/recording/measure.js +2 -0
  104. package/node_modules/@allyhub-next/audio/dist/recording/mic.d.ts +32 -0
  105. package/node_modules/@allyhub-next/audio/dist/recording/mic.js +2 -0
  106. package/node_modules/@allyhub-next/audio/dist/recording/noise.d.ts +27 -0
  107. package/node_modules/@allyhub-next/audio/dist/recording/noise.js +2 -0
  108. package/node_modules/@allyhub-next/audio/dist/recording/presets.d.ts +64 -0
  109. package/node_modules/@allyhub-next/audio/dist/recording/presets.js +2 -0
  110. package/node_modules/@allyhub-next/audio/dist/recording/room.d.ts +78 -0
  111. package/node_modules/@allyhub-next/audio/dist/recording/room.js +2 -0
  112. package/node_modules/@allyhub-next/audio/dist/recording/setup.d.ts +111 -0
  113. package/node_modules/@allyhub-next/audio/dist/recording/setup.js +2 -0
  114. package/node_modules/@allyhub-next/audio/dist/recording/vec.d.ts +3 -0
  115. package/node_modules/@allyhub-next/audio/dist/recording/vec.js +2 -0
  116. package/node_modules/@allyhub-next/audio/dist/render.d.ts +26 -0
  117. package/node_modules/@allyhub-next/audio/dist/render.js +2 -0
  118. package/node_modules/@allyhub-next/audio/dist/sfx.d.ts +10 -0
  119. package/node_modules/@allyhub-next/audio/dist/sfx.js +2 -0
  120. package/node_modules/@allyhub-next/audio/dist/shape.d.ts +118 -0
  121. package/node_modules/@allyhub-next/audio/dist/shape.js +2 -0
  122. package/node_modules/@allyhub-next/audio/dist/voice.d.ts +45 -0
  123. package/node_modules/@allyhub-next/audio/dist/voice.js +2 -0
  124. package/node_modules/@allyhub-next/audio/package.json +17 -0
  125. package/node_modules/@allyhub-next/formats/dist/data/comments.d.ts +94 -0
  126. package/node_modules/@allyhub-next/formats/dist/data/comments.js +2 -0
  127. package/node_modules/@allyhub-next/formats/dist/data/config.d.ts +10 -0
  128. package/node_modules/@allyhub-next/formats/dist/data/config.js +2 -0
  129. package/node_modules/@allyhub-next/formats/dist/data/edits.d.ts +28 -0
  130. package/node_modules/@allyhub-next/formats/dist/data/edits.js +2 -0
  131. package/node_modules/@allyhub-next/formats/dist/data/elements.d.ts +6 -0
  132. package/node_modules/@allyhub-next/formats/dist/data/elements.js +2 -0
  133. package/node_modules/@allyhub-next/formats/dist/data/faces.d.ts +38 -0
  134. package/node_modules/@allyhub-next/formats/dist/data/faces.js +2 -0
  135. package/node_modules/@allyhub-next/formats/dist/data/file.d.ts +11 -0
  136. package/node_modules/@allyhub-next/formats/dist/data/file.js +2 -0
  137. package/node_modules/@allyhub-next/formats/dist/data/gen.d.ts +31 -0
  138. package/node_modules/@allyhub-next/formats/dist/data/gen.js +2 -0
  139. package/node_modules/@allyhub-next/formats/dist/data/messages.d.ts +34 -0
  140. package/node_modules/@allyhub-next/formats/dist/data/messages.js +2 -0
  141. package/node_modules/@allyhub-next/formats/dist/data/reference.d.ts +676 -0
  142. package/node_modules/@allyhub-next/formats/dist/data/reference.js +2 -0
  143. package/node_modules/@allyhub-next/formats/dist/data/script.d.ts +37 -0
  144. package/node_modules/@allyhub-next/formats/dist/data/script.js +2 -0
  145. package/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +214 -0
  146. package/node_modules/@allyhub-next/formats/dist/data/sheet.js +2 -0
  147. package/node_modules/@allyhub-next/formats/dist/data/words.d.ts +25 -0
  148. package/node_modules/@allyhub-next/formats/dist/data/words.js +2 -0
  149. package/node_modules/@allyhub-next/formats/dist/index.d.ts +16 -0
  150. package/node_modules/@allyhub-next/formats/dist/index.js +2 -0
  151. package/node_modules/@allyhub-next/formats/dist/items.d.ts +94 -0
  152. package/node_modules/@allyhub-next/formats/dist/items.js +2 -0
  153. package/node_modules/@allyhub-next/formats/dist/layout.d.ts +50 -0
  154. package/node_modules/@allyhub-next/formats/dist/layout.js +5 -0
  155. package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +301 -0
  156. package/node_modules/@allyhub-next/formats/dist/schemas.js +2 -0
  157. package/node_modules/@allyhub-next/formats/package.json +14 -0
  158. package/node_modules/@allyhub-next/formats/schemas/comments.schema.json +152 -0
  159. package/node_modules/@allyhub-next/formats/schemas/config.schema.json +43 -0
  160. package/node_modules/@allyhub-next/formats/schemas/edits.schema.json +112 -0
  161. package/node_modules/@allyhub-next/formats/schemas/elements.schema.json +33 -0
  162. package/node_modules/@allyhub-next/formats/schemas/gen.schema.json +97 -0
  163. package/node_modules/@allyhub-next/formats/schemas/interpretation.schema.json +125 -0
  164. package/node_modules/@allyhub-next/formats/schemas/items.json +75 -0
  165. package/node_modules/@allyhub-next/formats/schemas/messages.schema.json +11 -0
  166. package/node_modules/@allyhub-next/formats/schemas/script.schema.json +162 -0
  167. package/node_modules/@allyhub-next/formats/schemas/sheet.schema.json +395 -0
  168. package/node_modules/@allyhub-next/formats/schemas/words.schema.json +63 -0
  169. package/node_modules/@allyhub-next/protocol/dist/app.d.ts +98 -0
  170. package/node_modules/@allyhub-next/protocol/dist/app.js +2 -0
  171. package/node_modules/@allyhub-next/protocol/dist/auth.d.ts +116 -0
  172. package/node_modules/@allyhub-next/protocol/dist/auth.js +2 -0
  173. package/node_modules/@allyhub-next/protocol/dist/cli.d.ts +59 -0
  174. package/node_modules/@allyhub-next/protocol/dist/cli.js +2 -0
  175. package/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +272 -0
  176. package/node_modules/@allyhub-next/protocol/dist/cloud.js +2 -0
  177. package/node_modules/@allyhub-next/protocol/dist/editor.d.ts +405 -0
  178. package/node_modules/@allyhub-next/protocol/dist/editor.js +2 -0
  179. package/node_modules/@allyhub-next/protocol/dist/files.d.ts +101 -0
  180. package/node_modules/@allyhub-next/protocol/dist/files.js +2 -0
  181. package/node_modules/@allyhub-next/protocol/dist/index.d.ts +12 -0
  182. package/node_modules/@allyhub-next/protocol/dist/index.js +2 -0
  183. package/node_modules/@allyhub-next/protocol/dist/jsonrpc.d.ts +83 -0
  184. package/node_modules/@allyhub-next/protocol/dist/jsonrpc.js +2 -0
  185. package/node_modules/@allyhub-next/protocol/dist/registry.d.ts +53 -0
  186. package/node_modules/@allyhub-next/protocol/dist/registry.js +2 -0
  187. package/node_modules/@allyhub-next/protocol/dist/runtimes.d.ts +93 -0
  188. package/node_modules/@allyhub-next/protocol/dist/runtimes.js +2 -0
  189. package/node_modules/@allyhub-next/protocol/dist/teams.d.ts +67 -0
  190. package/node_modules/@allyhub-next/protocol/dist/teams.js +2 -0
  191. package/node_modules/@allyhub-next/protocol/dist/tools.d.ts +345 -0
  192. package/node_modules/@allyhub-next/protocol/dist/tools.js +2 -0
  193. package/node_modules/@allyhub-next/protocol/package.json +13 -0
  194. package/node_modules/@allyhub-next/runtimes/dist/bundled.d.ts +10 -0
  195. package/node_modules/@allyhub-next/runtimes/dist/bundled.js +2 -0
  196. package/node_modules/@allyhub-next/runtimes/dist/download.d.ts +15 -0
  197. package/node_modules/@allyhub-next/runtimes/dist/download.js +2 -0
  198. package/node_modules/@allyhub-next/runtimes/dist/errors.d.ts +16 -0
  199. package/node_modules/@allyhub-next/runtimes/dist/errors.js +2 -0
  200. package/node_modules/@allyhub-next/runtimes/dist/home.d.ts +2 -0
  201. package/node_modules/@allyhub-next/runtimes/dist/home.js +2 -0
  202. package/node_modules/@allyhub-next/runtimes/dist/index.d.ts +9 -0
  203. package/node_modules/@allyhub-next/runtimes/dist/index.js +2 -0
  204. package/node_modules/@allyhub-next/runtimes/dist/lock.d.ts +6 -0
  205. package/node_modules/@allyhub-next/runtimes/dist/lock.js +2 -0
  206. package/node_modules/@allyhub-next/runtimes/dist/manifest.d.ts +3 -0
  207. package/node_modules/@allyhub-next/runtimes/dist/manifest.js +2 -0
  208. package/node_modules/@allyhub-next/runtimes/dist/runtimes.d.ts +63 -0
  209. package/node_modules/@allyhub-next/runtimes/dist/runtimes.js +3 -0
  210. package/node_modules/@allyhub-next/runtimes/dist/unpack.d.ts +7 -0
  211. package/node_modules/@allyhub-next/runtimes/dist/unpack.js +2 -0
  212. package/node_modules/@allyhub-next/runtimes/manifest.json +395 -0
  213. package/node_modules/@allyhub-next/runtimes/package.json +14 -0
  214. package/node_modules/@allyhub-next/runtimes/schemas/runtimes.schema.json +153 -0
  215. package/node_modules/@allyhub-next/scenery/NOTICE +42 -0
  216. package/node_modules/@allyhub-next/scenery/dist/aim.d.ts +55 -0
  217. package/node_modules/@allyhub-next/scenery/dist/aim.js +2 -0
  218. package/node_modules/@allyhub-next/scenery/dist/bake.d.ts +203 -0
  219. package/node_modules/@allyhub-next/scenery/dist/bake.js +2 -0
  220. package/node_modules/@allyhub-next/scenery/dist/camera.d.ts +150 -0
  221. package/node_modules/@allyhub-next/scenery/dist/camera.js +2 -0
  222. package/node_modules/@allyhub-next/scenery/dist/curve.d.ts +40 -0
  223. package/node_modules/@allyhub-next/scenery/dist/curve.js +2 -0
  224. package/node_modules/@allyhub-next/scenery/dist/define.d.ts +164 -0
  225. package/node_modules/@allyhub-next/scenery/dist/define.js +2 -0
  226. package/node_modules/@allyhub-next/scenery/dist/fit.d.ts +64 -0
  227. package/node_modules/@allyhub-next/scenery/dist/fit.js +2 -0
  228. package/node_modules/@allyhub-next/scenery/dist/glass.d.ts +34 -0
  229. package/node_modules/@allyhub-next/scenery/dist/glass.js +2 -0
  230. package/node_modules/@allyhub-next/scenery/dist/handheld.d.ts +184 -0
  231. package/node_modules/@allyhub-next/scenery/dist/handheld.js +2 -0
  232. package/node_modules/@allyhub-next/scenery/dist/hull.d.ts +23 -0
  233. package/node_modules/@allyhub-next/scenery/dist/hull.js +2 -0
  234. package/node_modules/@allyhub-next/scenery/dist/index.d.ts +22 -0
  235. package/node_modules/@allyhub-next/scenery/dist/index.js +2 -0
  236. package/node_modules/@allyhub-next/scenery/dist/lens.d.ts +48 -0
  237. package/node_modules/@allyhub-next/scenery/dist/lens.js +2 -0
  238. package/node_modules/@allyhub-next/scenery/dist/moire.d.ts +136 -0
  239. package/node_modules/@allyhub-next/scenery/dist/moire.js +93 -0
  240. package/node_modules/@allyhub-next/scenery/dist/motion.d.ts +48 -0
  241. package/node_modules/@allyhub-next/scenery/dist/motion.js +2 -0
  242. package/node_modules/@allyhub-next/scenery/dist/move.d.ts +260 -0
  243. package/node_modules/@allyhub-next/scenery/dist/move.js +2 -0
  244. package/node_modules/@allyhub-next/scenery/dist/noise.d.ts +41 -0
  245. package/node_modules/@allyhub-next/scenery/dist/noise.js +2 -0
  246. package/node_modules/@allyhub-next/scenery/dist/phone.d.ts +34 -0
  247. package/node_modules/@allyhub-next/scenery/dist/phone.js +2 -0
  248. package/node_modules/@allyhub-next/scenery/dist/report.d.ts +677 -0
  249. package/node_modules/@allyhub-next/scenery/dist/report.js +2 -0
  250. package/node_modules/@allyhub-next/scenery/dist/screen-focus.d.ts +55 -0
  251. package/node_modules/@allyhub-next/scenery/dist/screen-focus.js +2 -0
  252. package/node_modules/@allyhub-next/scenery/dist/screen.d.ts +71 -0
  253. package/node_modules/@allyhub-next/scenery/dist/screen.js +2 -0
  254. package/node_modules/@allyhub-next/scenery/dist/solve.d.ts +82 -0
  255. package/node_modules/@allyhub-next/scenery/dist/solve.js +2 -0
  256. package/node_modules/@allyhub-next/scenery/dist/timing.d.ts +26 -0
  257. package/node_modules/@allyhub-next/scenery/dist/timing.js +2 -0
  258. package/node_modules/@allyhub-next/scenery/dist/vec.d.ts +19 -0
  259. package/node_modules/@allyhub-next/scenery/dist/vec.js +2 -0
  260. package/node_modules/@allyhub-next/scenery/package.json +13 -0
  261. package/node_modules/@allyhub-next/video-core/dist/anchors.d.ts +164 -0
  262. package/node_modules/@allyhub-next/video-core/dist/anchors.js +2 -0
  263. package/node_modules/@allyhub-next/video-core/dist/audio-types.d.ts +148 -0
  264. package/node_modules/@allyhub-next/video-core/dist/audio-types.js +2 -0
  265. package/node_modules/@allyhub-next/video-core/dist/backdrop.d.ts +87 -0
  266. package/node_modules/@allyhub-next/video-core/dist/backdrop.js +2 -0
  267. package/node_modules/@allyhub-next/video-core/dist/captions.d.ts +122 -0
  268. package/node_modules/@allyhub-next/video-core/dist/captions.js +11 -0
  269. package/node_modules/@allyhub-next/video-core/dist/console.d.ts +91 -0
  270. package/node_modules/@allyhub-next/video-core/dist/console.js +2 -0
  271. package/node_modules/@allyhub-next/video-core/dist/contrast.d.ts +98 -0
  272. package/node_modules/@allyhub-next/video-core/dist/contrast.js +2 -0
  273. package/node_modules/@allyhub-next/video-core/dist/cut-report.d.ts +77 -0
  274. package/node_modules/@allyhub-next/video-core/dist/cut-report.js +2 -0
  275. package/node_modules/@allyhub-next/video-core/dist/edit.d.ts +77 -0
  276. package/node_modules/@allyhub-next/video-core/dist/edit.js +13 -0
  277. package/node_modules/@allyhub-next/video-core/dist/edits.d.ts +163 -0
  278. package/node_modules/@allyhub-next/video-core/dist/edits.js +2 -0
  279. package/node_modules/@allyhub-next/video-core/dist/export.d.ts +96 -0
  280. package/node_modules/@allyhub-next/video-core/dist/export.js +2 -0
  281. package/node_modules/@allyhub-next/video-core/dist/fact.d.ts +965 -0
  282. package/node_modules/@allyhub-next/video-core/dist/fact.js +2 -0
  283. package/node_modules/@allyhub-next/video-core/dist/footage-motion.d.ts +168 -0
  284. package/node_modules/@allyhub-next/video-core/dist/footage-motion.js +2 -0
  285. package/node_modules/@allyhub-next/video-core/dist/formats.d.ts +240 -0
  286. package/node_modules/@allyhub-next/video-core/dist/formats.js +2 -0
  287. package/node_modules/@allyhub-next/video-core/dist/gen.d.ts +37 -0
  288. package/node_modules/@allyhub-next/video-core/dist/gen.js +2 -0
  289. package/node_modules/@allyhub-next/video-core/dist/index.d.ts +40 -0
  290. package/node_modules/@allyhub-next/video-core/dist/index.js +2 -0
  291. package/node_modules/@allyhub-next/video-core/dist/look.d.ts +66 -0
  292. package/node_modules/@allyhub-next/video-core/dist/look.js +2 -0
  293. package/node_modules/@allyhub-next/video-core/dist/marks.d.ts +34 -0
  294. package/node_modules/@allyhub-next/video-core/dist/marks.js +2 -0
  295. package/node_modules/@allyhub-next/video-core/dist/matrix.d.ts +289 -0
  296. package/node_modules/@allyhub-next/video-core/dist/matrix.js +2 -0
  297. package/node_modules/@allyhub-next/video-core/dist/measure.d.ts +465 -0
  298. package/node_modules/@allyhub-next/video-core/dist/measure.js +5 -0
  299. package/node_modules/@allyhub-next/video-core/dist/media.d.ts +226 -0
  300. package/node_modules/@allyhub-next/video-core/dist/media.js +2 -0
  301. package/node_modules/@allyhub-next/video-core/dist/messages.d.ts +88 -0
  302. package/node_modules/@allyhub-next/video-core/dist/messages.js +2 -0
  303. package/node_modules/@allyhub-next/video-core/dist/motion.d.ts +56 -0
  304. package/node_modules/@allyhub-next/video-core/dist/motion.js +2 -0
  305. package/node_modules/@allyhub-next/video-core/dist/music.d.ts +110 -0
  306. package/node_modules/@allyhub-next/video-core/dist/music.js +2 -0
  307. package/node_modules/@allyhub-next/video-core/dist/piece.d.ts +1146 -0
  308. package/node_modules/@allyhub-next/video-core/dist/piece.js +2 -0
  309. package/node_modules/@allyhub-next/video-core/dist/placement.d.ts +37 -0
  310. package/node_modules/@allyhub-next/video-core/dist/placement.js +2 -0
  311. package/node_modules/@allyhub-next/video-core/dist/problem.d.ts +262 -0
  312. package/node_modules/@allyhub-next/video-core/dist/problem.js +2 -0
  313. package/node_modules/@allyhub-next/video-core/dist/render-types.d.ts +49 -0
  314. package/node_modules/@allyhub-next/video-core/dist/render-types.js +2 -0
  315. package/node_modules/@allyhub-next/video-core/dist/schema.d.ts +352 -0
  316. package/node_modules/@allyhub-next/video-core/dist/schema.js +2 -0
  317. package/node_modules/@allyhub-next/video-core/dist/script-edit.d.ts +176 -0
  318. package/node_modules/@allyhub-next/video-core/dist/script-edit.js +2 -0
  319. package/node_modules/@allyhub-next/video-core/dist/script.d.ts +67 -0
  320. package/node_modules/@allyhub-next/video-core/dist/script.js +2 -0
  321. package/node_modules/@allyhub-next/video-core/dist/seams.d.ts +214 -0
  322. package/node_modules/@allyhub-next/video-core/dist/seams.js +2 -0
  323. package/node_modules/@allyhub-next/video-core/dist/slides.d.ts +37 -0
  324. package/node_modules/@allyhub-next/video-core/dist/slides.js +2 -0
  325. package/node_modules/@allyhub-next/video-core/dist/sound-under.d.ts +72 -0
  326. package/node_modules/@allyhub-next/video-core/dist/sound-under.js +2 -0
  327. package/node_modules/@allyhub-next/video-core/dist/speech.d.ts +83 -0
  328. package/node_modules/@allyhub-next/video-core/dist/speech.js +5 -0
  329. package/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +616 -0
  330. package/node_modules/@allyhub-next/video-core/dist/timeline.js +2 -0
  331. package/node_modules/@allyhub-next/video-core/dist/timing.d.ts +88 -0
  332. package/node_modules/@allyhub-next/video-core/dist/timing.js +2 -0
  333. package/node_modules/@allyhub-next/video-core/dist/transcript.d.ts +288 -0
  334. package/node_modules/@allyhub-next/video-core/dist/transcript.js +2 -0
  335. package/node_modules/@allyhub-next/video-core/dist/transition.d.ts +289 -0
  336. package/node_modules/@allyhub-next/video-core/dist/transition.js +2 -0
  337. package/node_modules/@allyhub-next/video-core/dist/voice.d.ts +175 -0
  338. package/node_modules/@allyhub-next/video-core/dist/voice.js +2 -0
  339. package/node_modules/@allyhub-next/video-core/dist/words.d.ts +128 -0
  340. package/node_modules/@allyhub-next/video-core/dist/words.js +2 -0
  341. package/node_modules/@allyhub-next/video-core/package.json +14 -0
  342. package/package.json +52 -41
  343. package/README.md +0 -17
  344. package/dist/anim.d.ts.map +0 -1
  345. package/dist/anim.js.map +0 -1
  346. package/dist/define.d.ts.map +0 -1
  347. package/dist/define.js.map +0 -1
  348. package/dist/dom.d.ts.map +0 -1
  349. package/dist/dom.js.map +0 -1
  350. package/dist/fit.d.ts.map +0 -1
  351. package/dist/fit.js.map +0 -1
  352. package/dist/index.d.ts.map +0 -1
  353. package/dist/index.js.map +0 -1
  354. package/dist/media.d.ts.map +0 -1
  355. package/dist/media.js.map +0 -1
  356. package/dist/messages.d.ts.map +0 -1
  357. package/dist/messages.js.map +0 -1
  358. package/dist/noise.d.ts.map +0 -1
  359. package/dist/noise.js.map +0 -1
  360. package/dist/parts.d.ts.map +0 -1
  361. package/dist/parts.js.map +0 -1
  362. package/dist/paths.d.ts.map +0 -1
  363. package/dist/paths.js.map +0 -1
  364. package/dist/piece.d.ts.map +0 -1
  365. package/dist/piece.js.map +0 -1
  366. package/dist/props.d.ts.map +0 -1
  367. package/dist/props.js.map +0 -1
  368. package/dist/text.d.ts.map +0 -1
  369. package/dist/text.js.map +0 -1
  370. /package/{LICENSE → LICENSE.md} +0 -0
@@ -0,0 +1,37 @@
1
+ import { z } from "zod";
2
+ import { SpokenSchema, VariantsSchema } from "./messages.js";
3
+ /** A part's id, and a name in a script: letters, digits, `_` and `-`. */
4
+ export declare const SCRIPT_NAME: RegExp;
5
+ /** A text: a string, a pair, a message with variants, a list, or a group by name. */
6
+ export type ScriptText = string | z.infer<typeof SpokenSchema> | z.infer<typeof VariantsSchema> | ScriptText[] | {
7
+ [name: string]: ScriptText;
8
+ };
9
+ export declare const ScriptTextSchema: z.ZodType<ScriptText>;
10
+ export declare const ScriptPartSchema: z.ZodObject<{
11
+ id: z.ZodString;
12
+ say: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13
+ declarations: z.ZodDefault<z.ZodArray<z.ZodString>>;
14
+ selectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
15
+ match: z.ZodRecord<z.ZodString, z.ZodString>;
16
+ }, z.core.$strict>]>>;
17
+ screen: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ScriptText, unknown, z.core.$ZodTypeInternals<ScriptText, unknown>>>>;
18
+ }, z.core.$strict>;
19
+ export declare const ScriptFileSchema: z.ZodObject<{
20
+ title: z.ZodOptional<z.ZodString>;
21
+ text: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ScriptText, unknown, z.core.$ZodTypeInternals<ScriptText, unknown>>>>;
22
+ parts: z.ZodDefault<z.ZodArray<z.ZodObject<{
23
+ id: z.ZodString;
24
+ say: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
25
+ declarations: z.ZodDefault<z.ZodArray<z.ZodString>>;
26
+ selectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
27
+ match: z.ZodRecord<z.ZodString, z.ZodString>;
28
+ }, z.core.$strict>]>>;
29
+ screen: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ScriptText, unknown, z.core.$ZodTypeInternals<ScriptText, unknown>>>>;
30
+ }, z.core.$strict>>>;
31
+ }, z.core.$strict>;
32
+ export type ScriptFile = z.infer<typeof ScriptFileSchema>;
33
+ /** The script of an item in a language. */
34
+ export declare const scriptFileFor: (dir: string, locale: string) => string;
35
+ /** The language a script file is in, or undefined for another file. */
36
+ export declare function scriptLocale(path: string): string | undefined;
37
+ //# sourceMappingURL=script.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as t}from"zod";import{SpokenSchema as n,VariantsSchema as s}from"./messages.js";export const SCRIPT_NAME=/^[A-Za-z0-9_-]+$/u;const r=t.string().regex(SCRIPT_NAME,"A name is letters, digits, _ and -.");export const ScriptTextSchema=t.lazy(()=>t.union([t.string(),n,s,t.array(ScriptTextSchema),t.record(r,ScriptTextSchema)])),ScriptPartSchema=t.strictObject({id:r,say:t.union([t.string(),s]).optional(),screen:t.record(r,ScriptTextSchema).optional()}),ScriptFileSchema=t.strictObject({title:t.string().optional(),text:t.record(r,ScriptTextSchema).optional(),parts:t.array(ScriptPartSchema).default([])}).superRefine((e,a)=>{const i=new Set;e.parts.forEach((o,c)=>{i.has(o.id)&&a.addIssue({code:"custom",path:["parts",c,"id"],message:`Two parts are "${o.id}".`}),i.add(o.id)})}),scriptFileFor=(e,a)=>`${e}/script.${a}.yaml`;export function scriptLocale(e){return/(?:^|\/)script\.([A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*)\.yaml$/u.exec(e)?.[1]}
@@ -0,0 +1,214 @@
1
+ import { z } from "zod";
2
+ export declare const COLUMN_TYPES: readonly ["text", "number", "select", "multi-select", "date", "checkbox", "url", "email", "phone", "file"];
3
+ export declare const OPTION_COLORS: readonly ["gray", "brown", "red", "orange", "yellow", "green", "blue", "purple", "pink"];
4
+ /** A column: nothing (text), its type alone, or its fields. */
5
+ export declare const ColumnSchema: z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
6
+ number: "number";
7
+ date: "date";
8
+ file: "file";
9
+ text: "text";
10
+ url: "url";
11
+ email: "email";
12
+ select: "select";
13
+ "multi-select": "multi-select";
14
+ checkbox: "checkbox";
15
+ phone: "phone";
16
+ }>, z.ZodUnion<readonly [z.ZodObject<{
17
+ width: z.ZodOptional<z.ZodNumber>;
18
+ wrap: z.ZodOptional<z.ZodBoolean>;
19
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
+ text: "text";
21
+ url: "url";
22
+ email: "email";
23
+ checkbox: "checkbox";
24
+ phone: "phone";
25
+ }>>>;
26
+ }, z.core.$strict>, z.ZodObject<{
27
+ width: z.ZodOptional<z.ZodNumber>;
28
+ wrap: z.ZodOptional<z.ZodBoolean>;
29
+ type: z.ZodLiteral<"number">;
30
+ format: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
31
+ plain: "plain";
32
+ percent: "percent";
33
+ currency: "currency";
34
+ }>, z.ZodObject<{
35
+ style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
36
+ plain: "plain";
37
+ percent: "percent";
38
+ currency: "currency";
39
+ }>>>;
40
+ decimals: z.ZodOptional<z.ZodInt>;
41
+ currency: z.ZodOptional<z.ZodString>;
42
+ thousands: z.ZodOptional<z.ZodBoolean>;
43
+ }, z.core.$strict>]>>;
44
+ }, z.core.$strict>, z.ZodObject<{
45
+ width: z.ZodOptional<z.ZodNumber>;
46
+ wrap: z.ZodOptional<z.ZodBoolean>;
47
+ type: z.ZodLiteral<"date">;
48
+ format: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
49
+ short: "short";
50
+ iso: "iso";
51
+ long: "long";
52
+ }>, z.ZodObject<{
53
+ style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
54
+ short: "short";
55
+ iso: "iso";
56
+ long: "long";
57
+ }>>>;
58
+ time: z.ZodOptional<z.ZodBoolean>;
59
+ }, z.core.$strict>]>>;
60
+ }, z.core.$strict>, z.ZodObject<{
61
+ width: z.ZodOptional<z.ZodNumber>;
62
+ wrap: z.ZodOptional<z.ZodBoolean>;
63
+ type: z.ZodLiteral<"select">;
64
+ options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
65
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
66
+ color: z.ZodOptional<z.ZodEnum<{
67
+ gray: "gray";
68
+ brown: "brown";
69
+ red: "red";
70
+ orange: "orange";
71
+ yellow: "yellow";
72
+ green: "green";
73
+ blue: "blue";
74
+ purple: "purple";
75
+ pink: "pink";
76
+ }>>;
77
+ }, z.core.$strict>]>>>;
78
+ }, z.core.$strict>, z.ZodObject<{
79
+ width: z.ZodOptional<z.ZodNumber>;
80
+ wrap: z.ZodOptional<z.ZodBoolean>;
81
+ type: z.ZodLiteral<"multi-select">;
82
+ options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
83
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
84
+ color: z.ZodOptional<z.ZodEnum<{
85
+ gray: "gray";
86
+ brown: "brown";
87
+ red: "red";
88
+ orange: "orange";
89
+ yellow: "yellow";
90
+ green: "green";
91
+ blue: "blue";
92
+ purple: "purple";
93
+ pink: "pink";
94
+ }>>;
95
+ }, z.core.$strict>]>>>;
96
+ separator: z.ZodOptional<z.ZodString>;
97
+ }, z.core.$strict>, z.ZodObject<{
98
+ width: z.ZodOptional<z.ZodNumber>;
99
+ wrap: z.ZodOptional<z.ZodBoolean>;
100
+ type: z.ZodLiteral<"file">;
101
+ separator: z.ZodOptional<z.ZodString>;
102
+ height: z.ZodOptional<z.ZodNumber>;
103
+ }, z.core.$strict>]>]>;
104
+ export type ColumnFile = z.input<typeof ColumnSchema>;
105
+ /** sheet.yaml: everything optional; an empty file is nothing. */
106
+ export declare const SheetSpecSchema: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
107
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
108
+ key: z.ZodOptional<z.ZodString>;
109
+ primary: z.ZodOptional<z.ZodString>;
110
+ columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
111
+ number: "number";
112
+ date: "date";
113
+ file: "file";
114
+ text: "text";
115
+ url: "url";
116
+ email: "email";
117
+ select: "select";
118
+ "multi-select": "multi-select";
119
+ checkbox: "checkbox";
120
+ phone: "phone";
121
+ }>, z.ZodUnion<readonly [z.ZodObject<{
122
+ width: z.ZodOptional<z.ZodNumber>;
123
+ wrap: z.ZodOptional<z.ZodBoolean>;
124
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
125
+ text: "text";
126
+ url: "url";
127
+ email: "email";
128
+ checkbox: "checkbox";
129
+ phone: "phone";
130
+ }>>>;
131
+ }, z.core.$strict>, z.ZodObject<{
132
+ width: z.ZodOptional<z.ZodNumber>;
133
+ wrap: z.ZodOptional<z.ZodBoolean>;
134
+ type: z.ZodLiteral<"number">;
135
+ format: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
136
+ plain: "plain";
137
+ percent: "percent";
138
+ currency: "currency";
139
+ }>, z.ZodObject<{
140
+ style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
141
+ plain: "plain";
142
+ percent: "percent";
143
+ currency: "currency";
144
+ }>>>;
145
+ decimals: z.ZodOptional<z.ZodInt>;
146
+ currency: z.ZodOptional<z.ZodString>;
147
+ thousands: z.ZodOptional<z.ZodBoolean>;
148
+ }, z.core.$strict>]>>;
149
+ }, z.core.$strict>, z.ZodObject<{
150
+ width: z.ZodOptional<z.ZodNumber>;
151
+ wrap: z.ZodOptional<z.ZodBoolean>;
152
+ type: z.ZodLiteral<"date">;
153
+ format: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
154
+ short: "short";
155
+ iso: "iso";
156
+ long: "long";
157
+ }>, z.ZodObject<{
158
+ style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
159
+ short: "short";
160
+ iso: "iso";
161
+ long: "long";
162
+ }>>>;
163
+ time: z.ZodOptional<z.ZodBoolean>;
164
+ }, z.core.$strict>]>>;
165
+ }, z.core.$strict>, z.ZodObject<{
166
+ width: z.ZodOptional<z.ZodNumber>;
167
+ wrap: z.ZodOptional<z.ZodBoolean>;
168
+ type: z.ZodLiteral<"select">;
169
+ options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
170
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
171
+ color: z.ZodOptional<z.ZodEnum<{
172
+ gray: "gray";
173
+ brown: "brown";
174
+ red: "red";
175
+ orange: "orange";
176
+ yellow: "yellow";
177
+ green: "green";
178
+ blue: "blue";
179
+ purple: "purple";
180
+ pink: "pink";
181
+ }>>;
182
+ }, z.core.$strict>]>>>;
183
+ }, z.core.$strict>, z.ZodObject<{
184
+ width: z.ZodOptional<z.ZodNumber>;
185
+ wrap: z.ZodOptional<z.ZodBoolean>;
186
+ type: z.ZodLiteral<"multi-select">;
187
+ options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
188
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
189
+ color: z.ZodOptional<z.ZodEnum<{
190
+ gray: "gray";
191
+ brown: "brown";
192
+ red: "red";
193
+ orange: "orange";
194
+ yellow: "yellow";
195
+ green: "green";
196
+ blue: "blue";
197
+ purple: "purple";
198
+ pink: "pink";
199
+ }>>;
200
+ }, z.core.$strict>]>>>;
201
+ separator: z.ZodOptional<z.ZodString>;
202
+ }, z.core.$strict>, z.ZodObject<{
203
+ width: z.ZodOptional<z.ZodNumber>;
204
+ wrap: z.ZodOptional<z.ZodBoolean>;
205
+ type: z.ZodLiteral<"file">;
206
+ separator: z.ZodOptional<z.ZodString>;
207
+ height: z.ZodOptional<z.ZodNumber>;
208
+ }, z.core.$strict>]>]>>]>>;
209
+ }, z.core.$strict>]>;
210
+ export type SheetSpecFile = z.input<typeof SheetSpecSchema>;
211
+ export declare const SHEET_SPEC = "sheet.yaml";
212
+ /** The folder of files a person added to cells. */
213
+ export declare const SHEET_FILES = "files";
214
+ //# sourceMappingURL=sheet.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as t}from"zod";export const COLUMN_TYPES=["text","number","select","multi-select","date","checkbox","url","email","phone","file"],OPTION_COLORS=["gray","brown","red","orange","yellow","green","blue","purple","pink"];const l=t.string().regex(/\S/u),c=t.union([t.string().regex(/\S/u),t.number(),t.boolean(),t.strictObject({name:t.union([t.string().regex(/\S/u),t.number()]),color:t.enum(OPTION_COLORS).optional()})]),y=e=>String(typeof e=="object"?e.name:e).trim(),p=t.string().regex(/^[^"]*[^"\s][^"]*$/u),u=t.enum(["plain","percent","currency"]),h=t.union([u,t.strictObject({style:u.nullable().optional(),decimals:t.int().min(0).max(10).optional(),currency:t.string().regex(/^[A-Za-z]{3}$/u).optional(),thousands:t.boolean().optional()})]),m=t.enum(["iso","short","long"]),S=t.union([m,t.strictObject({style:m.nullable().optional(),time:t.boolean().optional()})]),o={width:t.number().positive().optional(),wrap:t.boolean().optional()};function b(e,i){const r=e.separator??";",a=new Set;(e.options??[]).forEach((g,s)=>{const n=y(g);n.includes(r)&&i.addIssue({code:"custom",path:["options",s],message:`"${n}" has the separator ${JSON.stringify(r)} in it`}),a.has(n)&&i.addIssue({code:"custom",path:["options",s],message:`"${n}" is an option twice`}),a.add(n)})}const O=t.union([t.strictObject({type:t.enum(["text","checkbox","url","email","phone"]).nullable().optional(),...o}),t.strictObject({type:t.literal("number"),format:h.optional(),...o}),t.strictObject({type:t.literal("date"),format:S.optional(),...o}),t.strictObject({type:t.literal("select"),options:t.array(c).optional(),...o}).superRefine(b),t.strictObject({type:t.literal("multi-select"),options:t.array(c).optional(),separator:p.optional(),...o}).superRefine(b),t.strictObject({type:t.literal("file"),separator:p.optional(),height:t.number().positive().optional(),...o})]);export const ColumnSchema=t.union([t.null(),t.enum(COLUMN_TYPES),O]),SheetSpecSchema=t.union([t.null(),t.strictObject({title:t.union([t.string(),t.number()]).optional(),key:l.optional(),primary:l.optional(),columns:t.union([t.null(),t.record(t.string(),ColumnSchema)]).optional()})]),SHEET_SPEC="sheet.yaml",SHEET_FILES="files";
@@ -0,0 +1,25 @@
1
+ import { z } from "zod";
2
+ export declare const WordSchema: z.ZodObject<{
3
+ text: z.ZodString;
4
+ start: z.ZodNumber;
5
+ end: z.ZodNumber;
6
+ confidence: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strict>;
8
+ export type Word = z.infer<typeof WordSchema>;
9
+ export declare const WordsFileSchema: z.ZodObject<{
10
+ $schema: z.ZodOptional<z.ZodString>;
11
+ version: z.ZodLiteral<1>;
12
+ language: z.ZodOptional<z.ZodString>;
13
+ duration: z.ZodOptional<z.ZodNumber>;
14
+ model: z.ZodOptional<z.ZodString>;
15
+ words: z.ZodArray<z.ZodObject<{
16
+ text: z.ZodString;
17
+ start: z.ZodNumber;
18
+ end: z.ZodNumber;
19
+ confidence: z.ZodOptional<z.ZodNumber>;
20
+ }, z.core.$strict>>;
21
+ }, z.core.$strict>;
22
+ export type WordsFile = z.infer<typeof WordsFileSchema>;
23
+ /** The words file of a media file: beside it, its extension replaced. */
24
+ export declare function wordsFileFor(media: string): string;
25
+ //# sourceMappingURL=words.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as r}from"zod";import{SECONDS as s,dataFile as n}from"./file.js";export const WordSchema=r.strictObject({text:r.string().min(1),start:s,end:s,confidence:r.number().min(0).max(1).optional()}).refine(t=>t.end>=t.start,{message:"A word ends at or after its start.",path:["end"]}),WordsFileSchema=n({version:r.literal(1),language:r.string().min(2).optional(),duration:s.optional(),model:r.string().optional(),words:r.array(WordSchema)}).refine(t=>t.words.every((o,e)=>e===0||o.start>=(t.words[e-1]?.start??0)),{message:"Words are in the order they are said.",path:["words"]});export function wordsFileFor(t){const o=t.lastIndexOf("/"),e=t.lastIndexOf(".");return`${e>o?t.slice(0,e):t}.words.json`}
@@ -0,0 +1,16 @@
1
+ export * from "./layout.js";
2
+ export * from "./items.js";
3
+ export * from "./schemas.js";
4
+ export * from "./data/file.js";
5
+ export * from "./data/words.js";
6
+ export * from "./data/edits.js";
7
+ export * from "./data/elements.js";
8
+ export * from "./data/gen.js";
9
+ export * from "./data/comments.js";
10
+ export * from "./data/messages.js";
11
+ export * from "./data/script.js";
12
+ export * from "./data/sheet.js";
13
+ export * from "./data/config.js";
14
+ export * from "./data/faces.js";
15
+ export * from "./data/reference.js";
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export*from"./layout.js";export*from"./items.js";export*from"./schemas.js";export*from"./data/file.js";export*from"./data/words.js";export*from"./data/edits.js";export*from"./data/elements.js";export*from"./data/gen.js";export*from"./data/comments.js";export*from"./data/messages.js";export*from"./data/script.js";export*from"./data/sheet.js";export*from"./data/config.js";export*from"./data/faces.js";export*from"./data/reference.js";
@@ -0,0 +1,94 @@
1
+ /** The extensions a code entry file may have. */
2
+ export declare const CODE_EXTENSIONS: readonly ["ts", "tsx", "mts", "js", "jsx", "mjs"];
3
+ /** The editors an item opens in: one per kind. */
4
+ export declare const EDITORS: readonly ["video", "slides", "doc", "sheet", "scenery", "website"];
5
+ export type EditorId = (typeof EDITORS)[number];
6
+ export declare const ITEM_KINDS: {
7
+ readonly video: {
8
+ readonly entries: readonly string[];
9
+ readonly editor: "video";
10
+ readonly name: "video";
11
+ };
12
+ readonly slides: {
13
+ readonly entries: readonly string[];
14
+ readonly editor: "slides";
15
+ readonly name: "slides";
16
+ };
17
+ readonly doc: {
18
+ readonly entries: readonly ["doc.mdx"];
19
+ readonly editor: "doc";
20
+ readonly name: "doc";
21
+ };
22
+ readonly sheet: {
23
+ readonly entries: readonly ["sheet.csv"];
24
+ readonly editor: "sheet";
25
+ readonly name: "sheet";
26
+ };
27
+ readonly scenery: {
28
+ readonly entries: readonly string[];
29
+ readonly editor: "scenery";
30
+ readonly name: "3D scenery";
31
+ };
32
+ readonly website: {
33
+ readonly entries: readonly ["astro.config.mjs", "astro.config.ts", "astro.config.mts", "astro.config.js"];
34
+ readonly editor: "website";
35
+ readonly name: "website";
36
+ };
37
+ };
38
+ export type ItemKind = keyof typeof ITEM_KINDS;
39
+ export declare const KINDS: ItemKind[];
40
+ /** The kind a file name is the entry file of, if any. */
41
+ export declare function entryKind(name: string): ItemKind | undefined;
42
+ /** An item of the project, by its folder. */
43
+ export interface Item {
44
+ kind: ItemKind;
45
+ /** Its folder, a project path: what names the item. */
46
+ dir: string;
47
+ /** Its entry file, a project path. */
48
+ entry: string;
49
+ }
50
+ export type ItemProblem =
51
+ /** A folder with more than one entry file: it is no item until one goes. */
52
+ {
53
+ code: "two-entries";
54
+ dir: string;
55
+ entries: string[];
56
+ }
57
+ /** An item inside another item's folder: the outer one has it as a file. */
58
+ | {
59
+ code: "nested";
60
+ dir: string;
61
+ inside: string;
62
+ }
63
+ /** An entry file at the project's root: the root is the project, not an item. */
64
+ | {
65
+ code: "at-root";
66
+ entry: string;
67
+ };
68
+ export interface ItemScan {
69
+ /** The items, by their folders, in path order. */
70
+ items: Item[];
71
+ problems: ItemProblem[];
72
+ }
73
+ /**
74
+ * The items of a project, from its files (project paths; dot folders and
75
+ * node_modules are left out here whatever is passed).
76
+ */
77
+ export declare function scanItems(files: Iterable<string>): ItemScan;
78
+ /** The item a project path belongs to: the one whose folder holds it. */
79
+ export declare function itemFor(path: string, items: readonly Item[]): Item | undefined;
80
+ /** The registry as data, for a host that does not run this code. */
81
+ export interface ItemManifest {
82
+ version: 1;
83
+ kinds: {
84
+ kind: ItemKind;
85
+ name: string;
86
+ editor: EditorId;
87
+ /** Glob patterns of its entry files, from the project's root. */
88
+ patterns: string[];
89
+ }[];
90
+ /** Folders never looked into, as glob patterns. */
91
+ ignore: string[];
92
+ }
93
+ export declare function itemManifest(): ItemManifest;
94
+ //# sourceMappingURL=items.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{baseOf as p,dirOf as u,unscanned as l,within as m}from"./layout.js";export const CODE_EXTENSIONS=["ts","tsx","mts","js","jsx","mjs"];const a=e=>CODE_EXTENSIONS.map(n=>`${e}.${n}`);export const EDITORS=["video","slides","doc","sheet","scenery","website"],ITEM_KINDS={video:{entries:a("video"),editor:"video",name:"video"},slides:{entries:a("slides"),editor:"slides",name:"slides"},doc:{entries:["doc.mdx"],editor:"doc",name:"doc"},sheet:{entries:["sheet.csv"],editor:"sheet",name:"sheet"},scenery:{entries:a("scenery"),editor:"scenery",name:"3D scenery"},website:{entries:["astro.config.mjs","astro.config.ts","astro.config.mts","astro.config.js"],editor:"website",name:"website"}},KINDS=Object.keys(ITEM_KINDS);const h=new Map(KINDS.flatMap(e=>ITEM_KINDS[e].entries.map(n=>[n,e])));export function entryKind(e){return h.get(p(e))}export function scanItems(e){const n=[...e].filter(t=>!l(t)).sort(),o=[],i=new Map;for(const t of n){if(entryKind(t)===void 0)continue;const s=u(t);if(s===""){o.push({code:"at-root",entry:t});continue}i.set(s,[...i.get(s)??[],t])}const d=[];for(const[t,s]of i){const[r]=s;if(s.length>1||r===void 0){o.push({code:"two-entries",dir:t,entries:s});continue}const f=entryKind(r);f&&d.push({kind:f,dir:t,entry:r})}d.sort((t,s)=>t.dir.localeCompare(s.dir));const c=[];for(const t of d){const s=c.find(r=>m(t.dir,r.dir));s?o.push({code:"nested",dir:t.dir,inside:s.dir}):c.push(t)}return{items:c,problems:o}}export function itemFor(e,n){let o;for(const i of n)m(e,i.dir)&&(!o||i.dir.length>o.dir.length)&&(o=i);return o}export function itemManifest(){return{version:1,kinds:KINDS.map(e=>({kind:e,name:ITEM_KINDS[e].name,editor:ITEM_KINDS[e].editor,patterns:ITEM_KINDS[e].entries.map(n=>`**/${n}`)})),ignore:["**/.*/**","**/node_modules/**"]}}
@@ -0,0 +1,50 @@
1
+ /** Where tools put the files they fetch or make, shared by several items. */
2
+ export declare const ASSETS_DIR = "assets";
3
+ export declare const MEDIA_DIR = "assets/media";
4
+ export declare const DATA_DIR = "assets/data";
5
+ export declare const TEXT_DIR = "assets/text";
6
+ export declare const FONTS_DIR = "assets/fonts";
7
+ /** 3D models, environments (HDRIs) and textures fetched from a library. */
8
+ export declare const MODELS_DIR = "assets/media/models";
9
+ export declare const ENVIRONMENTS_DIR = "assets/media/environments";
10
+ export declare const TEXTURES_DIR = "assets/media/textures";
11
+ /** Code several items share. */
12
+ export declare const COMPONENTS_DIR = "components";
13
+ /** This computer's only, never shared: a framework's build folder. */
14
+ export declare const LOCAL_DIR = ".allyhub";
15
+ /** The agent's working files, free to throw away. */
16
+ export declare const WORK_DIR = ".allyhub/work";
17
+ /** Reference videos measured (allyhub reference), a folder each. */
18
+ export declare const REFERENCE_DIR = ".allyhub/work/reference";
19
+ /** Renders and exports. */
20
+ export declare const OUT_DIR = ".allyhub/out";
21
+ /** What the tools rebuild. */
22
+ export declare const CACHE_DIR = ".allyhub/cache";
23
+ /** What a person deleted, kept until they empty it. */
24
+ export declare const TRASH_DIR = ".allyhub/trash";
25
+ /** An agent's notes on the project, kept on this computer (AllyHub's own agent: docs/skills-schedules-memory.md). */
26
+ export declare const MEMORY_DIR = ".allyhub/memory";
27
+ export declare const PACKAGE_FILE = "package.json";
28
+ export declare const TSCONFIG_FILE = "tsconfig.json";
29
+ export declare const AGENTS_FILE = "AGENTS.md";
30
+ export declare const CLAUDE_FILE = "CLAUDE.md";
31
+ export declare const CONFIG_FILES: readonly ["allyhub.config.ts", "allyhub.config.mts", "allyhub.config.js", "allyhub.config.mjs"];
32
+ /**
33
+ * The `.gitignore` a new project starts with: everything but these is the
34
+ * project. `.playwright-cli/` is where playwright-cli keeps its snapshots.
35
+ */
36
+ export declare const GITIGNORE = "node_modules/\n.allyhub/\n.playwright-cli/\n";
37
+ /**
38
+ * Whether a project path is never looked into for items: a dot folder
39
+ * (`.allyhub`, `.agents`, `.git`…) or `node_modules`, at any depth.
40
+ */
41
+ export declare function unscanned(path: string): boolean;
42
+ /** A project path in its one spelling: forward slashes, no `./`, no trailing slash. */
43
+ export declare function projectPath(path: string): string;
44
+ /** The folder a project path is in; "" for the project's root. */
45
+ export declare function dirOf(path: string): string;
46
+ /** The last part of a project path. */
47
+ export declare function baseOf(path: string): string;
48
+ /** Whether `path` is `dir` or inside it. */
49
+ export declare function within(path: string, dir: string): boolean;
50
+ //# sourceMappingURL=layout.d.ts.map
@@ -0,0 +1,5 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export const ASSETS_DIR="assets",MEDIA_DIR="assets/media",DATA_DIR="assets/data",TEXT_DIR="assets/text",FONTS_DIR="assets/fonts",MODELS_DIR="assets/media/models",ENVIRONMENTS_DIR="assets/media/environments",TEXTURES_DIR="assets/media/textures",COMPONENTS_DIR="components",LOCAL_DIR=".allyhub",WORK_DIR=".allyhub/work",REFERENCE_DIR=".allyhub/work/reference",OUT_DIR=".allyhub/out",CACHE_DIR=".allyhub/cache",TRASH_DIR=".allyhub/trash",MEMORY_DIR=".allyhub/memory",PACKAGE_FILE="package.json",TSCONFIG_FILE="tsconfig.json",AGENTS_FILE="AGENTS.md",CLAUDE_FILE="CLAUDE.md",CONFIG_FILES=["allyhub.config.ts","allyhub.config.mts","allyhub.config.js","allyhub.config.mjs"],GITIGNORE=`node_modules/
3
+ ${LOCAL_DIR}/
4
+ .playwright-cli/
5
+ `;export function unscanned(t){return t.split("/").some(e=>e.startsWith(".")||e==="node_modules")}export function projectPath(t){return t.replaceAll("\\","/").replace(/^(?:\.\/)+/u,"").replace(/\/+$/u,"").replace(/\/{2,}/gu,"/")}export function dirOf(t){const e=t.lastIndexOf("/");return e<0?"":t.slice(0,e)}export function baseOf(t){return t.slice(t.lastIndexOf("/")+1)}export function within(t,e){return e===""||t===e||t.startsWith(`${e}/`)}