allyhub 0.8.0 → 0.9.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 (1569) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/NOTICE +122 -42
  3. package/client.d.ts +1 -1
  4. package/dist/command.js +1 -1
  5. package/dist/commands/add.js +4 -4
  6. package/dist/commands/check.js +1 -1
  7. package/dist/commands/cloud-tools.js +13 -7
  8. package/dist/commands/cloud.js +1 -1
  9. package/dist/commands/contributed.js +2 -0
  10. package/dist/commands/dev.js +2 -2
  11. package/dist/commands/doctor.js +4 -4
  12. package/dist/commands/extensions.js +3 -0
  13. package/dist/commands/frames/common.js +1 -1
  14. package/dist/commands/frames/compare.js +1 -1
  15. package/dist/commands/frames/cuts.js +1 -1
  16. package/dist/commands/frames/doc.js +1 -1
  17. package/dist/commands/frames/overlay.js +2 -0
  18. package/dist/commands/frames/piece.js +1 -1
  19. package/dist/commands/frames/sheet.js +1 -1
  20. package/dist/commands/frames.js +9 -9
  21. package/dist/commands/index.js +1 -1
  22. package/dist/commands/inspect/combos.js +2 -2
  23. package/dist/commands/inspect/common.js +2 -2
  24. package/dist/commands/inspect/facts.js +3 -3
  25. package/dist/commands/inspect/index.js +1 -1
  26. package/dist/commands/inspect/layout.js +1 -1
  27. package/dist/commands/inspect/views.js +2 -0
  28. package/dist/commands/mail.js +9 -0
  29. package/dist/commands/render.js +2 -2
  30. package/dist/fields.js +1 -1
  31. package/dist/help.js +4 -4
  32. package/dist/main.js +4 -4
  33. package/dist/media.js +1 -1
  34. package/dist/node_modules/@allyhub/3d-extension/LICENSE +241 -0
  35. package/dist/node_modules/@allyhub/3d-extension/dist/build-plugins.js +2 -0
  36. package/dist/node_modules/@allyhub/3d-extension/dist/build.js +2 -0
  37. package/dist/node_modules/@allyhub/3d-extension/dist/cli/index.js +2 -0
  38. package/dist/node_modules/@allyhub/3d-extension/dist/cli/lookup.js +2 -0
  39. package/dist/node_modules/@allyhub/3d-extension/dist/cli/model.js +3 -0
  40. package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery-input.js +2 -0
  41. package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery.js +7 -0
  42. package/dist/node_modules/@allyhub/3d-extension/dist/project-tools.js +2 -0
  43. package/dist/node_modules/@allyhub/3d-extension/dist/read-view.js +2 -0
  44. package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +2 -0
  45. package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +2 -0
  46. package/dist/node_modules/@allyhub/3d-extension/dist/title.js +2 -0
  47. package/dist/node_modules/@allyhub/3d-extension/dist/tools.js +2 -0
  48. package/dist/node_modules/@allyhub/3d-extension/dist/tree.js +2 -0
  49. package/dist/node_modules/@allyhub/3d-extension/dist/workspace.js +2 -0
  50. package/dist/node_modules/@allyhub/3d-extension/package.json +295 -0
  51. package/dist/node_modules/@allyhub/audio/dist/levels.js +1 -1
  52. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +1 -1
  53. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  54. package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +24 -0
  55. package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +61 -0
  56. package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +51 -0
  57. package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +13 -0
  58. package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +35 -0
  59. package/dist/node_modules/@allyhub/browser/dist/html.d.ts +19 -0
  60. package/dist/node_modules/@allyhub/browser/dist/index.d.ts +10 -0
  61. package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +35 -0
  62. package/dist/node_modules/@allyhub/browser/dist/page.d.ts +74 -0
  63. package/dist/node_modules/@allyhub/browser/dist/page.js +1 -1
  64. package/dist/node_modules/@allyhub/browser/dist/server.d.ts +26 -0
  65. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  66. package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +91 -0
  67. package/dist/node_modules/@allyhub/build/dist/build-plugins.js +2 -0
  68. package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +84 -0
  69. package/dist/node_modules/@allyhub/build/dist/cli-command.js +2 -0
  70. package/dist/node_modules/@allyhub/build/dist/content.d.ts +12 -24
  71. package/dist/node_modules/@allyhub/build/dist/content.js +1 -2
  72. package/dist/node_modules/@allyhub/build/dist/data.d.ts +2 -4
  73. package/dist/node_modules/@allyhub/build/dist/data.js +2 -2
  74. package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +44 -0
  75. package/dist/node_modules/@allyhub/build/dist/evaluate.js +2 -0
  76. package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +35 -0
  77. package/dist/node_modules/@allyhub/build/dist/file-check.js +2 -0
  78. package/dist/node_modules/@allyhub/build/dist/files.js +1 -1
  79. package/dist/node_modules/@allyhub/build/dist/generated.d.ts +29 -0
  80. package/dist/node_modules/@allyhub/build/dist/generated.js +2 -0
  81. package/dist/node_modules/@allyhub/build/dist/index.d.ts +23 -9
  82. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  83. package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +119 -0
  84. package/dist/node_modules/@allyhub/build/dist/inspect-view.js +2 -0
  85. package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +507 -0
  86. package/dist/node_modules/@allyhub/build/dist/kind-build.js +2 -0
  87. package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +2 -1
  88. package/dist/node_modules/@allyhub/build/dist/matrix.js +1 -1
  89. package/dist/node_modules/@allyhub/build/dist/media.d.ts +1 -1
  90. package/dist/node_modules/@allyhub/build/dist/media.js +1 -1
  91. package/dist/node_modules/@allyhub/build/dist/messages.d.ts +27 -15
  92. package/dist/node_modules/@allyhub/build/dist/messages.js +2 -2
  93. package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +16 -19
  94. package/dist/node_modules/@allyhub/build/dist/meta-worker.js +2 -4
  95. package/dist/node_modules/@allyhub/build/dist/meta.d.ts +1 -1
  96. package/dist/node_modules/@allyhub/build/dist/meta.js +1 -1
  97. package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +1 -1
  98. package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +1 -1
  99. package/dist/node_modules/@allyhub/build/dist/move-refs.js +1 -1
  100. package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +16 -8
  101. package/dist/node_modules/@allyhub/build/dist/plugin.js +8 -9
  102. package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +58 -35
  103. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  104. package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +19 -0
  105. package/dist/node_modules/@allyhub/build/dist/project-root.js +2 -0
  106. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +116 -0
  107. package/dist/node_modules/@allyhub/build/dist/project-tool.js +2 -0
  108. package/dist/node_modules/@allyhub/build/dist/references.d.ts +1 -1
  109. package/dist/node_modules/@allyhub/build/dist/references.js +1 -1
  110. package/dist/node_modules/@allyhub/build/dist/scan.d.ts +7 -12
  111. package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
  112. package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +73 -0
  113. package/dist/node_modules/@allyhub/build/dist/takes.d.ts +2 -26
  114. package/dist/node_modules/@allyhub/build/dist/takes.js +1 -2
  115. package/dist/node_modules/@allyhub/build/dist/types.d.ts +1 -1
  116. package/dist/node_modules/@allyhub/build/dist/types.js +1 -1
  117. package/dist/node_modules/@allyhub/build/dist/uses.d.ts +23 -0
  118. package/dist/node_modules/@allyhub/build/dist/uses.js +2 -0
  119. package/dist/node_modules/@allyhub/build/dist/version.d.ts +56 -0
  120. package/dist/node_modules/@allyhub/build/dist/version.js +2 -0
  121. package/dist/node_modules/@allyhub/build/dist/work.d.ts +30 -0
  122. package/dist/node_modules/@allyhub/build/dist/work.js +4 -0
  123. package/dist/node_modules/@allyhub/build/package.json +1 -1
  124. package/dist/node_modules/@allyhub/canvas-extension/LICENSE +241 -0
  125. package/dist/node_modules/@allyhub/canvas-extension/dist/check.js +2 -0
  126. package/dist/node_modules/@allyhub/canvas-extension/dist/inspect.js +4 -0
  127. package/dist/node_modules/@allyhub/canvas-extension/package.json +106 -0
  128. package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +27 -0
  129. package/dist/node_modules/@allyhub/canvas-model/LICENSE +241 -0
  130. package/dist/node_modules/@allyhub/canvas-model/dist/canvas.js +8 -0
  131. package/dist/node_modules/@allyhub/canvas-model/dist/check.js +3 -0
  132. package/dist/node_modules/@allyhub/canvas-model/dist/edit.js +2 -0
  133. package/dist/node_modules/@allyhub/canvas-model/dist/index.js +2 -0
  134. package/dist/node_modules/@allyhub/canvas-model/dist/merge.js +2 -0
  135. package/dist/node_modules/@allyhub/canvas-model/package.json +14 -0
  136. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +1 -1
  137. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
  138. package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
  139. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  140. package/dist/node_modules/@allyhub/check/dist/cache.js +1 -1
  141. package/dist/node_modules/@allyhub/check/dist/check.js +2 -3
  142. package/dist/node_modules/@allyhub/check/dist/index.js +1 -1
  143. package/dist/node_modules/@allyhub/check/package.json +1 -1
  144. package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +29 -0
  145. package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +91 -0
  146. package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
  147. package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +12 -0
  148. package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +43 -0
  149. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  150. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +25 -0
  151. package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +76 -0
  152. package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
  153. package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +24 -0
  154. package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
  155. package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +43 -0
  156. package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +19 -0
  157. package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
  158. package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +18 -0
  159. package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +22 -0
  160. package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +16 -0
  161. package/dist/node_modules/@allyhub/cloud/dist/mail.js +2 -0
  162. package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +11 -0
  163. package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +42 -0
  164. package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +2 -0
  165. package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +40 -0
  166. package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +20 -0
  167. package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +20 -0
  168. package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
  169. package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +58 -0
  170. package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +22 -0
  171. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  172. package/dist/node_modules/@allyhub/components/package.json +1 -1
  173. package/dist/node_modules/@allyhub/components/r/callout.json +2 -4
  174. package/dist/node_modules/@allyhub/components/r/caption-line.json +1 -3
  175. package/dist/node_modules/@allyhub/components/r/caption-subtitle.json +1 -3
  176. package/dist/node_modules/@allyhub/components/r/caption-word.json +1 -3
  177. package/dist/node_modules/@allyhub/components/r/chart.json +2 -4
  178. package/dist/node_modules/@allyhub/components/r/code-panel.json +2 -4
  179. package/dist/node_modules/@allyhub/components/r/connector.json +19 -0
  180. package/dist/node_modules/@allyhub/components/r/screen-demo.json +2 -4
  181. package/dist/node_modules/@allyhub/components/registry.json +6 -0
  182. package/dist/node_modules/@allyhub/components/src/callout.ts +80 -4
  183. package/dist/node_modules/@allyhub/components/src/chart.ts +14 -6
  184. package/dist/node_modules/@allyhub/components/src/code-panel.ts +10 -5
  185. package/dist/node_modules/@allyhub/components/src/connector.ts +295 -0
  186. package/dist/node_modules/@allyhub/components/src/index.ts +6 -0
  187. package/dist/node_modules/@allyhub/components/src/screen-demo.ts +47 -25
  188. package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
  189. package/dist/node_modules/@allyhub/dev-server/dist/card.js +1 -1
  190. package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
  191. package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
  192. package/dist/node_modules/@allyhub/dev-server/dist/kinds.js +2 -0
  193. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  194. package/dist/node_modules/@allyhub/dev-server/dist/presence.js +2 -0
  195. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  196. package/dist/node_modules/@allyhub/dev-server/dist/reach.js +1 -1
  197. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  198. package/dist/node_modules/@allyhub/dev-server/dist/routes.js +2 -0
  199. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  200. package/dist/node_modules/@allyhub/dev-server/dist/texts.js +4 -0
  201. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  202. package/dist/node_modules/@allyhub/dev-server/dist/tree.js +1 -1
  203. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  204. package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
  205. package/dist/node_modules/@allyhub/dev-server/dist/writer.js +2 -2
  206. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  207. package/dist/node_modules/@allyhub/diagnostics/LICENSE +241 -0
  208. package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
  209. package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
  210. package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
  211. package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
  212. package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
  213. package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
  214. package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
  215. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
  216. package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
  217. package/dist/node_modules/@allyhub/doc/dist/captions.js +2 -0
  218. package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
  219. package/dist/node_modules/@allyhub/doc/dist/cite.js +2 -0
  220. package/dist/node_modules/@allyhub/doc/dist/component.js +1 -1
  221. package/dist/node_modules/@allyhub/doc/dist/covers.js +61 -0
  222. package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
  223. package/dist/node_modules/@allyhub/doc/dist/html.js +243 -56
  224. package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
  225. package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
  226. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  227. package/dist/node_modules/@allyhub/doc/dist/page.js +2 -0
  228. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  229. package/dist/node_modules/@allyhub/doc/dist/parse.js +4 -4
  230. package/dist/node_modules/@allyhub/doc/dist/table.js +2 -0
  231. package/dist/node_modules/@allyhub/doc/dist/write.js +33 -28
  232. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  233. package/dist/node_modules/@allyhub/doc-extension/LICENSE +241 -0
  234. package/dist/node_modules/@allyhub/doc-extension/dist/build.js +3 -0
  235. package/dist/node_modules/@allyhub/doc-extension/dist/cli/cover.js +4 -0
  236. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +2 -0
  237. package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +2 -0
  238. package/dist/node_modules/@allyhub/doc-extension/dist/cli/pictures.js +2 -0
  239. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +2 -0
  240. package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +3 -0
  241. package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +2 -0
  242. package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +2 -0
  243. package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +2 -0
  244. package/dist/node_modules/@allyhub/doc-extension/package.json +187 -0
  245. package/dist/node_modules/@allyhub/doc-print/LICENSE +241 -0
  246. package/dist/node_modules/@allyhub/doc-print/dist/facts.js +2 -0
  247. package/dist/node_modules/@allyhub/doc-print/dist/fonts.js +4 -0
  248. package/dist/node_modules/@allyhub/doc-print/dist/index.js +2 -0
  249. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +116 -0
  250. package/dist/node_modules/@allyhub/doc-print/dist/pages.js +77 -0
  251. package/dist/node_modules/@allyhub/doc-print/dist/print.js +68 -0
  252. package/dist/node_modules/@allyhub/doc-print/package.json +13 -0
  253. package/dist/node_modules/@allyhub/export/dist/batch.js +1 -1
  254. package/dist/node_modules/@allyhub/export/dist/export.js +1 -6
  255. package/dist/node_modules/@allyhub/export/dist/index.js +1 -1
  256. package/dist/node_modules/@allyhub/export/dist/names.js +1 -1
  257. package/dist/node_modules/@allyhub/export/dist/processors.js +2 -0
  258. package/dist/node_modules/@allyhub/export/package.json +1 -1
  259. package/dist/node_modules/@allyhub/extension-api/LICENSE +241 -0
  260. package/dist/node_modules/@allyhub/extension-api/dist/api.js +2 -0
  261. package/dist/node_modules/@allyhub/extension-api/dist/index.js +2 -0
  262. package/dist/node_modules/@allyhub/extension-api/dist/lifecycle.js +2 -0
  263. package/dist/node_modules/@allyhub/extension-api/package.json +14 -0
  264. package/dist/node_modules/@allyhub/extension-host/LICENSE +241 -0
  265. package/dist/node_modules/@allyhub/extension-host/dist/host.js +2 -0
  266. package/dist/node_modules/@allyhub/extension-host/dist/index.js +2 -0
  267. package/dist/node_modules/@allyhub/extension-host/dist/node.js +3 -0
  268. package/dist/node_modules/@allyhub/extension-host/dist/points.js +2 -0
  269. package/dist/node_modules/@allyhub/extension-host/dist/shell.js +2 -0
  270. package/dist/node_modules/@allyhub/extension-host/package.json +22 -0
  271. package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
  272. package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
  273. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
  274. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +7 -12
  275. package/dist/node_modules/@allyhub/formats/dist/data/reference.js +1 -1
  276. package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +9 -4
  277. package/dist/node_modules/@allyhub/formats/dist/data/script.js +1 -1
  278. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +20 -82
  279. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  280. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +96 -8
  281. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  282. package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +2 -1
  283. package/dist/node_modules/@allyhub/formats/dist/data/website.js +1 -1
  284. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  285. package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
  286. package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
  287. package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
  288. package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
  289. package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
  290. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +5 -1
  291. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  292. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +226 -90
  293. package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
  294. package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +7 -1
  295. package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
  296. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +46 -42
  297. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  298. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  299. package/dist/node_modules/@allyhub/i18n/LICENSE +241 -0
  300. package/dist/node_modules/@allyhub/i18n/dist/index.js +2 -0
  301. package/dist/node_modules/@allyhub/i18n/package.json +13 -0
  302. package/dist/node_modules/@allyhub/image-draw/LICENSE +241 -0
  303. package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
  304. package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
  305. package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
  306. package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
  307. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
  308. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
  309. package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
  310. package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
  311. package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
  312. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
  313. package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
  314. package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
  315. package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
  316. package/dist/node_modules/@allyhub/image-extension/LICENSE +241 -0
  317. package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +2 -0
  318. package/dist/node_modules/@allyhub/image-extension/dist/build.js +2 -0
  319. package/dist/node_modules/@allyhub/image-extension/dist/check.js +2 -0
  320. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +3 -0
  321. package/dist/node_modules/@allyhub/image-extension/dist/evaluate.js +2 -0
  322. package/dist/node_modules/@allyhub/image-extension/dist/export.js +2 -0
  323. package/dist/node_modules/@allyhub/image-extension/dist/facts.js +2 -0
  324. package/dist/node_modules/@allyhub/image-extension/dist/project-tools.js +2 -0
  325. package/dist/node_modules/@allyhub/image-extension/dist/sources.js +2 -0
  326. package/dist/node_modules/@allyhub/image-extension/dist/stage.js +2 -0
  327. package/dist/node_modules/@allyhub/image-extension/dist/tools.js +2 -0
  328. package/dist/node_modules/@allyhub/image-extension/dist/workspace.js +2 -0
  329. package/dist/node_modules/@allyhub/image-extension/package.json +276 -0
  330. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +44 -0
  331. package/dist/node_modules/@allyhub/image-measure/LICENSE +241 -0
  332. package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
  333. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
  334. package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
  335. package/dist/node_modules/@allyhub/image-psd/LICENSE +241 -0
  336. package/dist/node_modules/@allyhub/image-psd/dist/index.js +2 -0
  337. package/dist/node_modules/@allyhub/image-psd/dist/map.js +2 -0
  338. package/dist/node_modules/@allyhub/image-psd/dist/pixels.js +2 -0
  339. package/dist/node_modules/@allyhub/image-psd/dist/read.js +18 -0
  340. package/dist/node_modules/@allyhub/image-psd/dist/write.js +2 -0
  341. package/dist/node_modules/@allyhub/image-psd/package.json +14 -0
  342. package/dist/node_modules/@allyhub/image-render/LICENSE +241 -0
  343. package/dist/node_modules/@allyhub/image-render/dist/webp.js +2 -0
  344. package/dist/node_modules/@allyhub/image-render/package.json +14 -0
  345. package/dist/node_modules/@allyhub/image-runtime/LICENSE +241 -0
  346. package/dist/node_modules/@allyhub/image-runtime/dist/board.js +2 -0
  347. package/dist/node_modules/@allyhub/image-runtime/dist/index.js +2 -0
  348. package/dist/node_modules/@allyhub/image-runtime/dist/layers.js +2 -0
  349. package/dist/node_modules/@allyhub/image-runtime/dist/load.js +3 -0
  350. package/dist/node_modules/@allyhub/image-runtime/dist/overset.js +2 -0
  351. package/dist/node_modules/@allyhub/image-runtime/dist/psd.js +2 -0
  352. package/dist/node_modules/@allyhub/image-runtime/package.json +18 -0
  353. package/dist/node_modules/@allyhub/image-sdk/LICENSE +241 -0
  354. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
  355. package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
  356. package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
  357. package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
  358. package/dist/node_modules/@allyhub/image-sdk/dist/fit.js +2 -0
  359. package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
  360. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
  361. package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
  362. package/dist/node_modules/@allyhub/image-sdk/dist/messages.js +2 -0
  363. package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
  364. package/dist/node_modules/@allyhub/image-sdk/dist/props.js +2 -0
  365. package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
  366. package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
  367. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
  368. package/dist/node_modules/@allyhub/image-sdk/dist/text.js +2 -0
  369. package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
  370. package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
  371. package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +3 -0
  372. package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +139 -0
  373. package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +41 -0
  374. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  375. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
  376. package/dist/node_modules/@allyhub/measure/dist/compare.js +1 -1
  377. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
  378. package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
  379. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
  380. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
  381. package/dist/node_modules/@allyhub/measure/dist/index.js +1 -1
  382. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  383. package/dist/node_modules/@allyhub/media/NOTICE +1 -42
  384. package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +25 -0
  385. package/dist/node_modules/@allyhub/media/dist/analysis.js +2 -0
  386. package/dist/node_modules/@allyhub/media/dist/audio.d.ts +2 -0
  387. package/dist/node_modules/@allyhub/media/dist/audio.js +1 -1
  388. package/dist/node_modules/@allyhub/media/dist/errors.d.ts +2 -2
  389. package/dist/node_modules/@allyhub/media/dist/index.d.ts +5 -21
  390. package/dist/node_modules/@allyhub/media/dist/index.js +1 -1
  391. package/dist/node_modules/@allyhub/media/dist/tools.d.ts +2 -12
  392. package/dist/node_modules/@allyhub/media/dist/tools.js +1 -1
  393. package/dist/node_modules/@allyhub/media/dist/video.js +1 -1
  394. package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +2 -2
  395. package/dist/node_modules/@allyhub/media/package.json +1 -1
  396. package/dist/node_modules/@allyhub/media-extension/LICENSE +241 -0
  397. package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +2 -0
  398. package/dist/node_modules/@allyhub/media-extension/dist/analyses/matte.js +2 -0
  399. package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +2 -0
  400. package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +2 -0
  401. package/dist/node_modules/@allyhub/media-extension/dist/cloud.js +2 -0
  402. package/dist/node_modules/@allyhub/media-extension/dist/index.js +2 -0
  403. package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +2 -0
  404. package/dist/node_modules/@allyhub/media-extension/dist/vision/boxes.js +2 -0
  405. package/dist/node_modules/@allyhub/media-extension/dist/vision/common.js +2 -0
  406. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +2 -0
  407. package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -0
  408. package/dist/node_modules/@allyhub/media-extension/dist/vision/matte.js +2 -0
  409. package/dist/node_modules/@allyhub/media-extension/dist/vision/mattes.js +2 -0
  410. package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +2 -0
  411. package/dist/node_modules/@allyhub/media-extension/package.json +62 -0
  412. package/dist/node_modules/@allyhub/model/dist/data.d.ts +7 -2
  413. package/dist/node_modules/@allyhub/model/dist/data.js +1 -1
  414. package/dist/node_modules/@allyhub/model/package.json +1 -1
  415. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +1 -1
  416. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
  417. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  418. package/dist/node_modules/@allyhub/piece/LICENSE +241 -0
  419. package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
  420. package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
  421. package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
  422. package/dist/node_modules/@allyhub/piece/dist/context.js +2 -0
  423. package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
  424. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
  425. package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
  426. package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
  427. package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
  428. package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
  429. package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
  430. package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
  431. package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
  432. package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
  433. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
  434. package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
  435. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +421 -0
  436. package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
  437. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
  438. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
  439. package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
  440. package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
  441. package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
  442. package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
  443. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
  444. package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
  445. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
  446. package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
  447. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
  448. package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
  449. package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
  450. package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
  451. package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
  452. package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
  453. package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
  454. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
  455. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +285 -0
  456. package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
  457. package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
  458. package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
  459. package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
  460. package/dist/node_modules/@allyhub/piece/package.json +18 -0
  461. package/dist/node_modules/@allyhub/project/dist/component-stills.js +11 -1
  462. package/dist/node_modules/@allyhub/project/dist/console.js +1 -1
  463. package/dist/node_modules/@allyhub/project/dist/digest.js +1 -1
  464. package/dist/node_modules/@allyhub/project/dist/index.js +1 -1
  465. package/dist/node_modules/@allyhub/project/dist/ledger.js +1 -1
  466. package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
  467. package/dist/node_modules/@allyhub/project/dist/page.js +2 -2
  468. package/dist/node_modules/@allyhub/project/dist/part-keys.js +2 -0
  469. package/dist/node_modules/@allyhub/project/dist/part-measure.js +2 -0
  470. package/dist/node_modules/@allyhub/project/dist/part-pool.js +2 -0
  471. package/dist/node_modules/@allyhub/project/dist/session.js +1 -1
  472. package/dist/node_modules/@allyhub/project/dist/stills.js +1 -1
  473. package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
  474. package/dist/node_modules/@allyhub/project/package.json +1 -1
  475. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +139 -0
  476. package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
  477. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +3 -10
  478. package/dist/node_modules/@allyhub/protocol/dist/app.js +1 -1
  479. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +12 -1
  480. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  481. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +2 -0
  482. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  483. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +232 -132
  484. package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
  485. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +2 -0
  486. package/dist/node_modules/@allyhub/protocol/dist/files.js +1 -1
  487. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +22 -9
  488. package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
  489. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
  490. package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
  491. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +5 -0
  492. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  493. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +6 -6
  494. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
  495. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
  496. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +273 -0
  497. package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
  498. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +26 -0
  499. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  500. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
  501. package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
  502. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
  503. package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
  504. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
  505. package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
  506. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +1 -1
  507. package/dist/node_modules/@allyhub/protocol/dist/routes.js +1 -1
  508. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
  509. package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
  510. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +2 -8
  511. package/dist/node_modules/@allyhub/protocol/dist/shares.js +1 -1
  512. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +70 -40
  513. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  514. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +224 -177
  515. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  516. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  517. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  518. package/dist/node_modules/@allyhub/render/dist/capture.js +1 -1
  519. package/dist/node_modules/@allyhub/render/dist/composite.js +1 -1
  520. package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
  521. package/dist/node_modules/@allyhub/render/dist/exports.js +2 -2
  522. package/dist/node_modules/@allyhub/render/dist/ffmpeg.js +3 -3
  523. package/dist/node_modules/@allyhub/render/dist/footage.js +1 -1
  524. package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
  525. package/dist/node_modules/@allyhub/render/dist/junction.js +1 -1
  526. package/dist/node_modules/@allyhub/render/dist/parts.js +1 -1
  527. package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
  528. package/dist/node_modules/@allyhub/render/dist/post.js +1 -1
  529. package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
  530. package/dist/node_modules/@allyhub/render/dist/sound.js +1 -1
  531. package/dist/node_modules/@allyhub/render/dist/tools.js +1 -1
  532. package/dist/node_modules/@allyhub/render/dist/version.js +2 -0
  533. package/dist/node_modules/@allyhub/render/package.json +1 -5
  534. package/dist/node_modules/@allyhub/runtime/dist/captions.js +1 -1
  535. package/dist/node_modules/@allyhub/runtime/dist/clock.js +1 -1
  536. package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
  537. package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
  538. package/dist/node_modules/@allyhub/runtime/dist/facade.js +1 -1
  539. package/dist/node_modules/@allyhub/runtime/dist/film.js +2 -0
  540. package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
  541. package/dist/node_modules/@allyhub/runtime/dist/frame.js +1 -1
  542. package/dist/node_modules/@allyhub/runtime/dist/index.js +1 -1
  543. package/dist/node_modules/@allyhub/runtime/dist/measure.js +2 -2
  544. package/dist/node_modules/@allyhub/runtime/dist/output.js +1 -1
  545. package/dist/node_modules/@allyhub/runtime/dist/piece.js +2 -2
  546. package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
  547. package/dist/node_modules/@allyhub/runtime/dist/sound.js +1 -1
  548. package/dist/node_modules/@allyhub/runtime/dist/speech.js +1 -1
  549. package/dist/node_modules/@allyhub/runtime/dist/stage-kit.js +1 -1
  550. package/dist/node_modules/@allyhub/runtime/dist/takes.js +1 -1
  551. package/dist/node_modules/@allyhub/runtime/package.json +1 -5
  552. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
  553. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
  554. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
  555. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
  556. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
  557. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +2 -0
  558. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  559. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +3 -3
  560. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +1 -0
  561. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +1 -1
  562. package/dist/node_modules/@allyhub/runtimes/manifest.json +0 -82
  563. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  564. package/dist/node_modules/@allyhub/scaffold/dist/index.js +6 -5
  565. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  566. package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +2 -0
  567. package/dist/node_modules/@allyhub/scenery/dist/define.js +1 -1
  568. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  569. package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +2 -3
  570. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +14 -7
  571. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +4 -4
  572. package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +314 -0
  573. package/dist/node_modules/@allyhub/scenery-host/dist/fact.js +2 -0
  574. package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +1 -0
  575. package/dist/node_modules/@allyhub/scenery-host/dist/index.js +1 -1
  576. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +2 -2
  577. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
  578. package/dist/node_modules/@allyhub/scenery-host/dist/layer/queries.d.ts +1 -1
  579. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +1 -1
  580. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
  581. package/dist/node_modules/@allyhub/scenery-host/dist/layer/state.d.ts +1 -1
  582. package/dist/node_modules/@allyhub/scenery-host/dist/layer/types.d.ts +2 -2
  583. package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.d.ts +3 -3
  584. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +1 -1
  585. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +1 -1
  586. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +42 -0
  587. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.js +4 -0
  588. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +6 -0
  589. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.js +2 -0
  590. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +70 -0
  591. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.js +12 -0
  592. package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +49 -0
  593. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +73 -0
  594. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.js +3 -0
  595. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +18 -0
  596. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.js +2 -0
  597. package/dist/node_modules/@allyhub/scenery-host/package.json +5 -1
  598. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  599. package/dist/node_modules/@allyhub/sheet/dist/api/code.js +1 -1
  600. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  601. package/dist/node_modules/@allyhub/sheet/dist/export.js +1 -1
  602. package/dist/node_modules/@allyhub/sheet/dist/file.js +1 -1
  603. package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
  604. package/dist/node_modules/@allyhub/sheet/dist/import.js +1 -1
  605. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  606. package/dist/node_modules/@allyhub/sheet/dist/patch.js +1 -1
  607. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
  608. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  609. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  610. package/dist/node_modules/@allyhub/sheet/package.json +5 -1
  611. package/dist/node_modules/@allyhub/sheet-extension/LICENSE +241 -0
  612. package/dist/node_modules/@allyhub/sheet-extension/dist/build-plugins.js +2 -0
  613. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +2 -0
  614. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/index.js +2 -0
  615. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +2 -0
  616. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +8 -0
  617. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +2 -0
  618. package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +3 -0
  619. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +7 -0
  620. package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +3 -0
  621. package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +2 -0
  622. package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +2 -0
  623. package/dist/node_modules/@allyhub/sheet-extension/dist/workspace.js +2 -0
  624. package/dist/node_modules/@allyhub/sheet-extension/package.json +209 -0
  625. package/dist/node_modules/@allyhub/slides-core/dist/animation.js +1 -1
  626. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  627. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  628. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  629. package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
  630. package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
  631. package/dist/node_modules/@allyhub/slides-core/dist/file.js +2 -2
  632. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  633. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  634. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +1 -1
  635. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  636. package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
  637. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  638. package/dist/node_modules/@allyhub/slides-core/package.json +5 -1
  639. package/dist/node_modules/@allyhub/slides-extension/LICENSE +241 -0
  640. package/dist/node_modules/@allyhub/slides-extension/dist/build-plugins.js +2 -0
  641. package/dist/node_modules/@allyhub/slides-extension/dist/build.js +2 -0
  642. package/dist/node_modules/@allyhub/slides-extension/dist/check.js +2 -0
  643. package/dist/node_modules/@allyhub/slides-extension/dist/cli/index.js +2 -0
  644. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +3 -0
  645. package/dist/node_modules/@allyhub/slides-extension/dist/deck-info.js +2 -0
  646. package/dist/node_modules/@allyhub/slides-extension/dist/deck-pptx.js +2 -0
  647. package/dist/node_modules/@allyhub/slides-extension/dist/evaluate.js +3 -0
  648. package/dist/node_modules/@allyhub/slides-extension/dist/export.js +2 -0
  649. package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +2 -0
  650. package/dist/node_modules/@allyhub/slides-extension/dist/read-view.js +2 -0
  651. package/dist/node_modules/@allyhub/slides-extension/dist/stage.js +2 -0
  652. package/dist/node_modules/@allyhub/slides-extension/dist/tools.js +2 -0
  653. package/dist/node_modules/@allyhub/slides-extension/dist/workspace.js +2 -0
  654. package/dist/node_modules/@allyhub/slides-extension/package.json +246 -0
  655. package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
  656. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  657. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
  658. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  659. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +1 -1
  660. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  661. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  662. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  663. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  664. package/dist/node_modules/@allyhub/slides-runtime/dist/component.js +1 -1
  665. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  666. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
  667. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  668. package/dist/node_modules/@allyhub/stage/dist/build-process.js +2 -2
  669. package/dist/node_modules/@allyhub/stage/dist/build-worker.js +1 -1
  670. package/dist/node_modules/@allyhub/stage/dist/identity.js +1 -1
  671. package/dist/node_modules/@allyhub/stage/dist/index.js +1 -1
  672. package/dist/node_modules/@allyhub/stage/dist/page.js +2 -2
  673. package/dist/node_modules/@allyhub/stage/dist/server.js +1 -1
  674. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  675. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  676. package/dist/node_modules/@allyhub/stage-page/dist/install.js +2 -0
  677. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +2 -2
  678. package/dist/node_modules/@allyhub/stage-page/dist/stage-module.js +2 -0
  679. package/dist/node_modules/@allyhub/stage-page/package.json +5 -1
  680. package/dist/node_modules/@allyhub/stage-runtime/LICENSE +241 -0
  681. package/dist/node_modules/@allyhub/stage-runtime/dist/index.js +2 -0
  682. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +80 -0
  683. package/dist/node_modules/@allyhub/stage-runtime/dist/use.js +2 -0
  684. package/dist/node_modules/@allyhub/stage-runtime/package.json +17 -0
  685. package/dist/node_modules/@allyhub/video-core/dist/captions.js +1 -1
  686. package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
  687. package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +1 -1
  688. package/dist/node_modules/@allyhub/video-core/dist/edits.js +1 -1
  689. package/dist/node_modules/@allyhub/video-core/dist/fact.js +1 -1
  690. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  691. package/dist/node_modules/@allyhub/video-core/dist/index.js +1 -1
  692. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -4
  693. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
  694. package/dist/node_modules/@allyhub/video-core/dist/piece.js +1 -1
  695. package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
  696. package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +1 -1
  697. package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +1 -1
  698. package/dist/node_modules/@allyhub/video-core/dist/speech.js +2 -2
  699. package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
  700. package/dist/node_modules/@allyhub/video-core/dist/timeline.js +1 -1
  701. package/dist/node_modules/@allyhub/video-core/dist/timing.js +1 -1
  702. package/dist/node_modules/@allyhub/video-core/dist/transcript.js +1 -1
  703. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  704. package/dist/node_modules/@allyhub/video-extension/LICENSE +241 -0
  705. package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +2 -0
  706. package/dist/node_modules/@allyhub/video-extension/dist/build.js +2 -0
  707. package/dist/node_modules/@allyhub/video-extension/dist/cli/audio-text.js +6 -0
  708. package/dist/node_modules/@allyhub/video-extension/dist/cli/audio.js +4 -0
  709. package/dist/node_modules/@allyhub/video-extension/dist/cli/cloud.js +2 -0
  710. package/dist/node_modules/@allyhub/video-extension/dist/cli/draw.js +2 -0
  711. package/dist/node_modules/@allyhub/video-extension/dist/cli/index.js +2 -0
  712. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +5 -0
  713. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference.js +2 -0
  714. package/dist/node_modules/@allyhub/video-extension/dist/cli/voice.js +3 -0
  715. package/dist/node_modules/@allyhub/video-extension/dist/cli/words-text.js +6 -0
  716. package/dist/node_modules/@allyhub/video-extension/dist/cli/words.js +2 -0
  717. package/dist/node_modules/@allyhub/video-extension/dist/evaluate.js +2 -0
  718. package/dist/node_modules/@allyhub/video-extension/dist/export.js +2 -0
  719. package/dist/node_modules/@allyhub/video-extension/dist/inspect/common.js +2 -0
  720. package/dist/node_modules/@allyhub/video-extension/dist/inspect/contrast.js +2 -0
  721. package/dist/node_modules/@allyhub/video-extension/dist/inspect/fidelity.js +2 -0
  722. package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +2 -0
  723. package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +2 -0
  724. package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +4 -0
  725. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline-text.js +2 -0
  726. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline.js +3 -0
  727. package/dist/node_modules/@allyhub/video-extension/dist/project-tools.js +2 -0
  728. package/dist/node_modules/@allyhub/video-extension/dist/read-view.js +2 -0
  729. package/dist/node_modules/@allyhub/video-extension/dist/sources.js +2 -0
  730. package/dist/node_modules/@allyhub/video-extension/dist/stage-routes.js +2 -0
  731. package/dist/node_modules/@allyhub/video-extension/dist/stage.js +2 -0
  732. package/dist/node_modules/@allyhub/video-extension/dist/tools.js +2 -0
  733. package/dist/node_modules/@allyhub/video-extension/dist/workspace.js +2 -0
  734. package/dist/node_modules/@allyhub/video-extension/package.json +454 -0
  735. package/dist/node_modules/@allyhub/video-measure/LICENSE +241 -0
  736. package/dist/node_modules/@allyhub/video-measure/dist/check.js +3 -0
  737. package/dist/node_modules/@allyhub/video-measure/dist/cuts.js +2 -0
  738. package/dist/node_modules/@allyhub/video-measure/dist/facts.js +2 -0
  739. package/dist/node_modules/@allyhub/video-measure/dist/generated.js +2 -0
  740. package/dist/node_modules/@allyhub/video-measure/dist/graphics.js +2 -0
  741. package/dist/node_modules/@allyhub/video-measure/dist/index.js +2 -0
  742. package/dist/node_modules/@allyhub/video-measure/dist/page.js +2 -0
  743. package/dist/node_modules/@allyhub/video-measure/dist/plans.js +3 -0
  744. package/dist/node_modules/@allyhub/video-measure/dist/recording-report.js +2 -0
  745. package/dist/node_modules/@allyhub/video-measure/dist/reference/piece.js +2 -0
  746. package/dist/node_modules/@allyhub/video-measure/dist/reference/sets.js +2 -0
  747. package/dist/node_modules/@allyhub/video-measure/dist/reference/text.js +2 -0
  748. package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +2 -0
  749. package/dist/node_modules/@allyhub/video-measure/dist/says.js +2 -0
  750. package/dist/node_modules/@allyhub/video-measure/dist/sound-report.js +2 -0
  751. package/dist/node_modules/@allyhub/video-measure/dist/stretch.js +2 -0
  752. package/dist/node_modules/@allyhub/video-measure/dist/version.js +2 -0
  753. package/dist/node_modules/@allyhub/video-measure/dist/words.js +3 -0
  754. package/dist/node_modules/@allyhub/video-measure/package.json +13 -0
  755. package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
  756. package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
  757. package/dist/node_modules/@allyhub/video-sdk/dist/anim.js +2 -0
  758. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
  759. package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
  760. package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
  761. package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
  762. package/dist/node_modules/@allyhub/video-sdk/dist/noise.js +2 -0
  763. package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
  764. package/dist/node_modules/@allyhub/video-sdk/dist/paths.js +2 -0
  765. package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
  766. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
  767. package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
  768. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
  769. package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
  770. package/dist/node_modules/@allyhub/website/dist/publish.js +2 -2
  771. package/dist/node_modules/@allyhub/website/dist/website.js +3 -3
  772. package/dist/node_modules/@allyhub/website/package.json +1 -1
  773. package/dist/node_modules/@allyhub/website-extension/LICENSE +241 -0
  774. package/dist/node_modules/@allyhub/website-extension/dist/build.js +2 -0
  775. package/dist/node_modules/@allyhub/website-extension/dist/cli/index.js +2 -0
  776. package/dist/node_modules/@allyhub/website-extension/dist/cli/site.js +4 -0
  777. package/dist/node_modules/@allyhub/website-extension/dist/hosting.js +2 -0
  778. package/dist/node_modules/@allyhub/website-extension/dist/preview.js +6 -0
  779. package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +2 -0
  780. package/dist/node_modules/@allyhub/website-extension/dist/tools.js +2 -0
  781. package/dist/node_modules/@allyhub/website-extension/package.json +152 -0
  782. package/dist/node_modules/@allyhub/x-extension/LICENSE +241 -0
  783. package/dist/node_modules/@allyhub/x-extension/dist/article-build.js +4 -0
  784. package/dist/node_modules/@allyhub/x-extension/dist/article-kind.js +2 -0
  785. package/dist/node_modules/@allyhub/x-extension/dist/build-plugins.js +2 -0
  786. package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -0
  787. package/dist/node_modules/@allyhub/x-extension/dist/config.js +2 -0
  788. package/dist/node_modules/@allyhub/x-extension/dist/media.js +2 -0
  789. package/dist/node_modules/@allyhub/x-extension/dist/stage-module.js +67 -0
  790. package/dist/node_modules/@allyhub/x-extension/dist/stage.js +2 -0
  791. package/dist/node_modules/@allyhub/x-extension/dist/workspace.js +2 -0
  792. package/dist/node_modules/@allyhub/x-extension/package.json +277 -0
  793. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +67 -0
  794. package/dist/node_modules/@allyhub/x-model/LICENSE +241 -0
  795. package/dist/node_modules/@allyhub/x-model/dist/article-check.js +5 -0
  796. package/dist/node_modules/@allyhub/x-model/dist/article.js +3 -0
  797. package/dist/node_modules/@allyhub/x-model/dist/check.js +2 -0
  798. package/dist/node_modules/@allyhub/x-model/dist/content-state.js +2 -0
  799. package/dist/node_modules/@allyhub/x-model/dist/count.js +2 -0
  800. package/dist/node_modules/@allyhub/x-model/dist/edit.js +3 -0
  801. package/dist/node_modules/@allyhub/x-model/dist/index.js +2 -0
  802. package/dist/node_modules/@allyhub/x-model/dist/limits.js +2 -0
  803. package/dist/node_modules/@allyhub/x-model/dist/post.js +2 -0
  804. package/dist/node_modules/@allyhub/x-model/dist/requests.js +2 -0
  805. package/dist/node_modules/@allyhub/x-model/package.json +14 -0
  806. package/dist/node_modules/@allyhub/x-view/LICENSE +241 -0
  807. package/dist/node_modules/@allyhub/x-view/dist/article.js +2 -0
  808. package/dist/node_modules/@allyhub/x-view/dist/index.js +2 -0
  809. package/dist/node_modules/@allyhub/x-view/dist/post.js +3 -0
  810. package/dist/node_modules/@allyhub/x-view/dist/stage.js +2 -0
  811. package/dist/node_modules/@allyhub/x-view/dist/text.js +2 -0
  812. package/dist/node_modules/@allyhub/x-view/package.json +21 -0
  813. package/dist/node_modules/@allyhub/x-view/src/style.css +709 -0
  814. package/dist/package.json +16 -0
  815. package/dist/parameters.js +1 -1
  816. package/dist/presence.js +2 -0
  817. package/dist/project.js +1 -1
  818. package/dist/sdk-docs.js +1 -1
  819. package/dist/text/batch-text.js +1 -1
  820. package/dist/text/console-text.js +1 -1
  821. package/dist/text/facts-text.js +5 -5
  822. package/dist/text/format.js +2 -2
  823. package/dist/text/index.js +1 -1
  824. package/dist/tool-options.js +1 -1
  825. package/dist/version.js +1 -1
  826. package/dist/works.js +1 -1
  827. package/editor-web/assets/abnfDiagram-WEYOIA3C-CN5PiJYY.js +1 -0
  828. package/editor-web/assets/alt-BOVao_9S.js +4 -0
  829. package/editor-web/assets/architecture-WOLXFQ4H-BnvZtQYk.js +1 -0
  830. package/editor-web/assets/architectureDiagram-ZHVYKT53-tkcEcFQ8.js +36 -0
  831. package/editor-web/assets/arrow-up-DTP2yVSU.js +1 -0
  832. package/editor-web/assets/article-B6YCzhj8.js +73 -0
  833. package/editor-web/assets/audio-lines-Ti8-m7H2.js +1 -0
  834. package/editor-web/assets/blockDiagram-RJAE7QA3-DhqEIpie.js +140 -0
  835. package/editor-web/assets/c4Diagram-XDPPPE54-Bg9G95tl.js +38 -0
  836. package/editor-web/assets/caladea-latin-400-italic-BXgumMrY.woff +0 -0
  837. package/editor-web/assets/caladea-latin-400-italic-LV4kG-PE.woff2 +0 -0
  838. package/editor-web/assets/caladea-latin-400-normal-BdRVtv9R.woff +0 -0
  839. package/editor-web/assets/caladea-latin-400-normal-CEHWF4nY.woff2 +0 -0
  840. package/editor-web/assets/caladea-latin-700-italic-ChDjCuPY.woff +0 -0
  841. package/editor-web/assets/caladea-latin-700-italic-DswTWW_F.woff2 +0 -0
  842. package/editor-web/assets/caladea-latin-700-normal-0s3Ufwiy.woff +0 -0
  843. package/editor-web/assets/caladea-latin-700-normal-Emkxzyyt.woff2 +0 -0
  844. package/editor-web/assets/caladea-latin-ext-400-italic-DaI5RAJ1.woff2 +0 -0
  845. package/editor-web/assets/caladea-latin-ext-400-italic-Ddrq60cI.woff +0 -0
  846. package/editor-web/assets/caladea-latin-ext-400-normal-BjxrNPcj.woff +0 -0
  847. package/editor-web/assets/caladea-latin-ext-400-normal-CyFL0oLC.woff2 +0 -0
  848. package/editor-web/assets/caladea-latin-ext-700-italic-BPwR0tp-.woff +0 -0
  849. package/editor-web/assets/caladea-latin-ext-700-italic-DKIXMnVd.woff2 +0 -0
  850. package/editor-web/assets/caladea-latin-ext-700-normal-jPPxbA1-.woff2 +0 -0
  851. package/editor-web/assets/caladea-latin-ext-700-normal-sbmkuTql.woff +0 -0
  852. package/editor-web/assets/calc-worker-B5-fDWnb.js +45 -0
  853. package/editor-web/assets/carlito-cyrillic-400-italic-BBq3u1wn.woff2 +0 -0
  854. package/editor-web/assets/carlito-cyrillic-400-italic-DkiFjkCS.woff +0 -0
  855. package/editor-web/assets/carlito-cyrillic-400-normal-BtG3bBmV.woff +0 -0
  856. package/editor-web/assets/carlito-cyrillic-400-normal-Bzv-FGbj.woff2 +0 -0
  857. package/editor-web/assets/carlito-cyrillic-700-italic-BWpxjWJ1.woff2 +0 -0
  858. package/editor-web/assets/carlito-cyrillic-700-italic-CkpLb3ak.woff +0 -0
  859. package/editor-web/assets/carlito-cyrillic-700-normal-Cj42L3Bs.woff2 +0 -0
  860. package/editor-web/assets/carlito-cyrillic-700-normal-bxg6f20d.woff +0 -0
  861. package/editor-web/assets/carlito-cyrillic-ext-400-italic-BiZjW1hk.woff2 +0 -0
  862. package/editor-web/assets/carlito-cyrillic-ext-400-italic-DcD3cPwb.woff +0 -0
  863. package/editor-web/assets/carlito-cyrillic-ext-400-normal-DYs6OoL4.woff2 +0 -0
  864. package/editor-web/assets/carlito-cyrillic-ext-400-normal-UzWcrHdi.woff +0 -0
  865. package/editor-web/assets/carlito-cyrillic-ext-700-italic-ClXPMqhh.woff2 +0 -0
  866. package/editor-web/assets/carlito-cyrillic-ext-700-italic-DoehkTRC.woff +0 -0
  867. package/editor-web/assets/carlito-cyrillic-ext-700-normal-BAPhAm-q.woff2 +0 -0
  868. package/editor-web/assets/carlito-cyrillic-ext-700-normal-C5O8kkCQ.woff +0 -0
  869. package/editor-web/assets/carlito-greek-400-italic-C1DqF7JR.woff2 +0 -0
  870. package/editor-web/assets/carlito-greek-400-italic-Cnl_RiK8.woff +0 -0
  871. package/editor-web/assets/carlito-greek-400-normal-Cv5gcxdy.woff2 +0 -0
  872. package/editor-web/assets/carlito-greek-400-normal-aOjZpsFX.woff +0 -0
  873. package/editor-web/assets/carlito-greek-700-italic-DfpwTZ8N.woff +0 -0
  874. package/editor-web/assets/carlito-greek-700-italic-VWqy950O.woff2 +0 -0
  875. package/editor-web/assets/carlito-greek-700-normal-B-Y_qvTa.woff +0 -0
  876. package/editor-web/assets/carlito-greek-700-normal-BXGaow7Z.woff2 +0 -0
  877. package/editor-web/assets/carlito-greek-ext-400-italic-BUNDIZnl.woff +0 -0
  878. package/editor-web/assets/carlito-greek-ext-400-italic-o-WxseCy.woff2 +0 -0
  879. package/editor-web/assets/carlito-greek-ext-400-normal-DnfnTswf.woff2 +0 -0
  880. package/editor-web/assets/carlito-greek-ext-400-normal-m-eDGcsW.woff +0 -0
  881. package/editor-web/assets/carlito-greek-ext-700-italic-DD0r8DLp.woff +0 -0
  882. package/editor-web/assets/carlito-greek-ext-700-italic-DiO5Rxw8.woff2 +0 -0
  883. package/editor-web/assets/carlito-greek-ext-700-normal-BGl1PQht.woff +0 -0
  884. package/editor-web/assets/carlito-greek-ext-700-normal-COKnZ-5a.woff2 +0 -0
  885. package/editor-web/assets/carlito-latin-400-italic-BiMes9J5.woff2 +0 -0
  886. package/editor-web/assets/carlito-latin-400-italic-DcRV6skQ.woff +0 -0
  887. package/editor-web/assets/carlito-latin-400-normal-R-CeALMm.woff2 +0 -0
  888. package/editor-web/assets/carlito-latin-400-normal-jEGHVXAP.woff +0 -0
  889. package/editor-web/assets/carlito-latin-700-italic-BkeTGILl.woff +0 -0
  890. package/editor-web/assets/carlito-latin-700-italic-Ckstd88m.woff2 +0 -0
  891. package/editor-web/assets/carlito-latin-700-normal-CjG3MLqY.woff +0 -0
  892. package/editor-web/assets/carlito-latin-700-normal-DQ6DOkPk.woff2 +0 -0
  893. package/editor-web/assets/carlito-latin-ext-400-italic-B7I2MSBC.woff +0 -0
  894. package/editor-web/assets/carlito-latin-ext-400-italic-CqQQuoTt.woff2 +0 -0
  895. package/editor-web/assets/carlito-latin-ext-400-normal-D112-ed2.woff +0 -0
  896. package/editor-web/assets/carlito-latin-ext-400-normal-DPZWia0-.woff2 +0 -0
  897. package/editor-web/assets/carlito-latin-ext-700-italic-BvVMpuZ3.woff2 +0 -0
  898. package/editor-web/assets/carlito-latin-ext-700-italic-Cocp2sK5.woff +0 -0
  899. package/editor-web/assets/carlito-latin-ext-700-normal-9QIvu-gI.woff +0 -0
  900. package/editor-web/assets/carlito-latin-ext-700-normal-D2WO8ap1.woff2 +0 -0
  901. package/editor-web/assets/carlito-vietnamese-400-italic-Dpe35oQb.woff +0 -0
  902. package/editor-web/assets/carlito-vietnamese-400-italic-vBbFSHZk.woff2 +0 -0
  903. package/editor-web/assets/carlito-vietnamese-400-normal-BA1ASEPx.woff2 +0 -0
  904. package/editor-web/assets/carlito-vietnamese-400-normal-D0HL2cT_.woff +0 -0
  905. package/editor-web/assets/carlito-vietnamese-700-italic-rWsihy0W.woff +0 -0
  906. package/editor-web/assets/carlito-vietnamese-700-italic-tiFMON_I.woff2 +0 -0
  907. package/editor-web/assets/carlito-vietnamese-700-normal-DIEsMQO6.woff +0 -0
  908. package/editor-web/assets/carlito-vietnamese-700-normal-gG8ns3Xg.woff2 +0 -0
  909. package/editor-web/assets/channel-C26aBI4o.js +1 -0
  910. package/editor-web/assets/chart-BOnxneyw.js +1 -0
  911. package/editor-web/assets/choice-O5nwc2N0.js +1 -0
  912. package/editor-web/assets/chunk-2E7WHVMD-C8Ve9lAa.js +88 -0
  913. package/editor-web/assets/chunk-4EMNKR2T-BDWwPUnT.js +1 -0
  914. package/editor-web/assets/chunk-55XCU76K-BQiNPKgx.js +1 -0
  915. package/editor-web/assets/chunk-7S6XSTFO-QoEt-6jf.js +2 -0
  916. package/editor-web/assets/chunk-AQDTSKZB-BeuwIv0-.js +72 -0
  917. package/editor-web/assets/chunk-DSNLSHJZ-BHW7sLAz.js +129 -0
  918. package/editor-web/assets/chunk-HAGFOTED-bbGED0hu.js +62 -0
  919. package/editor-web/assets/chunk-HNE4Q36P-FltWp8yo.js +1 -0
  920. package/editor-web/assets/chunk-NQOKRVIF-NeQzr6kH.js +213 -0
  921. package/editor-web/assets/chunk-UHW7PFBP-eA4-WUhn.js +1 -0
  922. package/editor-web/assets/chunk-VQ5W62QI-BPPv325z.js +1 -0
  923. package/editor-web/assets/chunk-WQQL4CDK-DOCIz7Te.js +10 -0
  924. package/editor-web/assets/chunk-YZO67HFG-Dc_ihQJi.js +1 -0
  925. package/editor-web/assets/chunk-ZAUX2LTX-CoqwCPSm.js +1 -0
  926. package/editor-web/assets/chunk-ZCHMQSOR-CZUQPkJx.js +2 -0
  927. package/editor-web/assets/classDiagram-v2-4MYWR3UA-DUh9c50k.js +217 -0
  928. package/editor-web/assets/collaborator-BJU5qwHd.js +1 -0
  929. package/editor-web/assets/cousine-cyrillic-400-normal-D7Mp9hmd.woff +0 -0
  930. package/editor-web/assets/cousine-cyrillic-400-normal-DaHhUWxZ.woff2 +0 -0
  931. package/editor-web/assets/cousine-cyrillic-700-normal-BEGCXyFC.woff +0 -0
  932. package/editor-web/assets/cousine-cyrillic-700-normal-BkkUdX_g.woff2 +0 -0
  933. package/editor-web/assets/cousine-cyrillic-ext-400-normal-CfRZlfI3.woff +0 -0
  934. package/editor-web/assets/cousine-cyrillic-ext-400-normal-DHXCUfGT.woff2 +0 -0
  935. package/editor-web/assets/cousine-cyrillic-ext-700-normal-C15KMCf5.woff2 +0 -0
  936. package/editor-web/assets/cousine-cyrillic-ext-700-normal-DhfE94aH.woff +0 -0
  937. package/editor-web/assets/cousine-greek-400-normal-CWPwwPBl.woff +0 -0
  938. package/editor-web/assets/cousine-greek-400-normal-D28eY3d7.woff2 +0 -0
  939. package/editor-web/assets/cousine-greek-700-normal-DsTT0TsI.woff2 +0 -0
  940. package/editor-web/assets/cousine-greek-700-normal-rpH_OJFi.woff +0 -0
  941. package/editor-web/assets/cousine-greek-ext-400-normal-n0k5mInY.woff +0 -0
  942. package/editor-web/assets/cousine-greek-ext-400-normal-qdX5ZLbv.woff2 +0 -0
  943. package/editor-web/assets/cousine-greek-ext-700-normal-CSy642Ya.woff +0 -0
  944. package/editor-web/assets/cousine-greek-ext-700-normal-DgHq_I2n.woff2 +0 -0
  945. package/editor-web/assets/cousine-hebrew-400-normal-COyK3YUR.woff2 +0 -0
  946. package/editor-web/assets/cousine-hebrew-400-normal-oCiNOOyc.woff +0 -0
  947. package/editor-web/assets/cousine-hebrew-700-normal-BCE0G3Nu.woff2 +0 -0
  948. package/editor-web/assets/cousine-hebrew-700-normal-Bf9jZ0p9.woff +0 -0
  949. package/editor-web/assets/cousine-latin-400-normal-BhCTjpdJ.woff2 +0 -0
  950. package/editor-web/assets/cousine-latin-400-normal-D0CzircV.woff +0 -0
  951. package/editor-web/assets/cousine-latin-700-normal-BO_dhHEP.woff +0 -0
  952. package/editor-web/assets/cousine-latin-700-normal-CwJ0o97b.woff2 +0 -0
  953. package/editor-web/assets/cousine-latin-ext-400-normal-B_NP9zZK.woff +0 -0
  954. package/editor-web/assets/cousine-latin-ext-400-normal-CGywThDL.woff2 +0 -0
  955. package/editor-web/assets/cousine-latin-ext-700-normal-DWTrZAet.woff2 +0 -0
  956. package/editor-web/assets/cousine-latin-ext-700-normal-NvcoPDWO.woff +0 -0
  957. package/editor-web/assets/cousine-vietnamese-400-normal-B4JqDdoh.woff2 +0 -0
  958. package/editor-web/assets/cousine-vietnamese-400-normal-Bfsm3lEf.woff +0 -0
  959. package/editor-web/assets/cousine-vietnamese-700-normal-B4DXCoMM.woff +0 -0
  960. package/editor-web/assets/cousine-vietnamese-700-normal-DLBKC3PH.woff2 +0 -0
  961. package/editor-web/assets/createLucideIcon-B3B95oX5.js +1 -0
  962. package/editor-web/assets/cynefin-EF2NZ3EQ-DUTZiog0.js +1 -0
  963. package/editor-web/assets/cynefinDiagram-WF24UDRP-oAjpfbrU.js +62 -0
  964. package/editor-web/assets/dagre-NK4GIZVX-BrKvKCvb.js +4 -0
  965. package/editor-web/assets/diagram-CBK3MWTC-GekVRnmm.js +24 -0
  966. package/editor-web/assets/diagram-I5XIIV2D-CDd1VFRT.js +24 -0
  967. package/editor-web/assets/diagram-ODIL2UCW-535RISTn.js +30 -0
  968. package/editor-web/assets/diagram-PFBEJUXE-MXzzKCGG.js +3 -0
  969. package/editor-web/assets/diagram-RJA3I4VV-vKVwkQxY.js +41 -0
  970. package/editor-web/assets/diagram-TYUNFSNR-UwGAiQLx.js +200 -0
  971. package/editor-web/assets/dist-9ymlIMhr.js +1 -0
  972. package/editor-web/assets/dist-C6NqUEG4.js +16 -0
  973. package/editor-web/assets/dist-C9UGmCG9.js +6 -0
  974. package/editor-web/assets/dist-CAk5bjBm.js +1 -0
  975. package/editor-web/assets/dist-CKyfo5RM.js +340 -0
  976. package/editor-web/assets/dist-CRaWqNwq.js +37 -0
  977. package/editor-web/assets/dist-CwIBc7HQ.js +1 -0
  978. package/editor-web/assets/dist-DXRmkezB.js +38 -0
  979. package/editor-web/assets/dist-EKK5i0dG.js +219 -0
  980. package/editor-web/assets/dist-YW8hS4IM.js +9 -0
  981. package/editor-web/assets/dist-hHJlpLWo.js +5 -0
  982. package/editor-web/assets/dist-oYKcwWUj.js +4 -0
  983. package/editor-web/assets/dist-shKo7XVN.js +2 -0
  984. package/editor-web/assets/dist-wrKxBrVu.js +24 -0
  985. package/editor-web/assets/ebnfDiagram-V4P3TTPT-73yGokYa.js +1 -0
  986. package/editor-web/assets/elk-QONTBCTQ-BW6V9y6a.js +27 -0
  987. package/editor-web/assets/erDiagram-KYQIGQAA-BPqIJ22h.js +99 -0
  988. package/editor-web/assets/eventmodeling-K75KTNOO-_VZ8jvuy.js +1 -0
  989. package/editor-web/assets/flowDiagram-IUGLLWBU-ouDQYiTr.js +1 -0
  990. package/editor-web/assets/ganttDiagram-R7GPNTJY-DZ157JN2.js +292 -0
  991. package/editor-web/assets/gitGraph-VSP46ZUC-fmcNL9bq.js +1 -0
  992. package/editor-web/assets/gitGraphDiagram-PDYL7XHY-DiZDyksR.js +106 -0
  993. package/editor-web/assets/hint-_AQWCDMj.js +1 -0
  994. package/editor-web/assets/index-BsstP-cI.js +28 -0
  995. package/editor-web/assets/index-DQRcmxBO.css +2 -0
  996. package/editor-web/assets/info-OHQRW6UA-V06620kN.js +1 -0
  997. package/editor-web/assets/infoDiagram-MVDRKAX5-CbIgheWX.js +2 -0
  998. package/editor-web/assets/ishikawaDiagram-HPEHV2GE-D5oJQPkG.js +70 -0
  999. package/editor-web/assets/italic-CDhZKo_q.js +1 -0
  1000. package/editor-web/assets/journeyDiagram-BOSHW7O7-BZEv6JI4.js +139 -0
  1001. package/editor-web/assets/jsx-runtime-DePvh3-m.js +1 -0
  1002. package/editor-web/assets/kanban-definition-FNSA4HC5-CLG1R8y_.js +89 -0
  1003. package/editor-web/assets/layout-SWqqA0yV.js +1 -0
  1004. package/editor-web/assets/mermaid-parser.core-DxDwXM7z.js +7 -0
  1005. package/editor-web/assets/mermaid.core-tU55ZwVG.js +44 -0
  1006. package/editor-web/assets/mindmap-definition-6OY57UG3-CYf4zzAh.js +98 -0
  1007. package/editor-web/assets/minus-Cgmm6ncD.js +1 -0
  1008. package/editor-web/assets/packet-JDAUHWVQ-DsHeKYNL.js +1 -0
  1009. package/editor-web/assets/pegDiagram-ECIUJNBX-CQyh6TTa.js +1 -0
  1010. package/editor-web/assets/picture-B-I4V_JT.js +1 -0
  1011. package/editor-web/assets/pie-XZMESJXO-3vCIvpNB.js +1 -0
  1012. package/editor-web/assets/pieDiagram-GNMPY74T-DF5yGBLn.js +39 -0
  1013. package/editor-web/assets/progress-0B_TVsPi.js +6 -0
  1014. package/editor-web/assets/quadrantDiagram-D57K4MC3-B7pxlDYP.js +7 -0
  1015. package/editor-web/assets/radar-ABXABTNO-cpEA41mL.js +1 -0
  1016. package/editor-web/assets/railroad-I3PHUGI6-BLyy5R2c.js +1 -0
  1017. package/editor-web/assets/railroad-abnf-LNEFI6M7-Y-oyol19.js +1 -0
  1018. package/editor-web/assets/railroad-ebnf-DWYD2UWJ-o58wHZsr.js +1 -0
  1019. package/editor-web/assets/railroad-peg-JR7BVNR7-CcD3PXZ8.js +1 -0
  1020. package/editor-web/assets/railroadDiagram-Y72NRBL7-BuCC4eyy.js +1 -0
  1021. package/editor-web/assets/react-BP46yLMB.js +1 -0
  1022. package/editor-web/assets/react-pgBZqVxJ.js +96 -0
  1023. package/editor-web/assets/read-view-DnCFmJFo.js +1 -0
  1024. package/editor-web/assets/read-view-uW5LmuBT.js +1 -0
  1025. package/editor-web/assets/read-view-v3cx-9XM.js +1 -0
  1026. package/editor-web/assets/repeat-2-C5PCbNsg.js +1 -0
  1027. package/editor-web/assets/requirementDiagram-EQYSW5RA-Dp-JFGn4.js +84 -0
  1028. package/editor-web/assets/sankeyDiagram-SY24JHO5-rYuCqEvw.js +40 -0
  1029. package/editor-web/assets/schemas-Ewwjtbf4.js +1 -0
  1030. package/editor-web/assets/sequenceDiagram-BLEHNHQU-DryW8x6d.js +169 -0
  1031. package/editor-web/assets/session-DiI9KYRI.js +1 -0
  1032. package/editor-web/assets/slides-CCwgBcGH.js +1 -0
  1033. package/editor-web/assets/sound-CqryteNl.js +1 -0
  1034. package/editor-web/assets/stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js +291 -0
  1035. package/editor-web/assets/strikethrough-DJckA35o.js +1 -0
  1036. package/editor-web/assets/svg-BjM9RazX.js +1 -0
  1037. package/editor-web/assets/swatch-DL3HqIjW.js +1 -0
  1038. package/editor-web/assets/swimlanes-B3ENRKFQ-BiRRhhbd.js +1 -0
  1039. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BkOls8Tv.js +8 -0
  1040. package/editor-web/assets/switch-DltnKqN-.js +1 -0
  1041. package/editor-web/assets/syntax-C0iPON60.js +18 -0
  1042. package/editor-web/assets/syntax-CC6QYhCz.js +1 -0
  1043. package/editor-web/assets/tabs-C-re0Kxn.js +1 -0
  1044. package/editor-web/assets/textarea-BGtPqZdB.js +105 -0
  1045. package/editor-web/assets/timeline-definition-JXYKGLGB-D-Q5ZtDF.js +120 -0
  1046. package/editor-web/assets/tinos-cyrillic-400-italic-CUXT6ECP.woff +0 -0
  1047. package/editor-web/assets/tinos-cyrillic-400-italic-D26KjN84.woff2 +0 -0
  1048. package/editor-web/assets/tinos-cyrillic-400-normal-BInRL8Bn.woff +0 -0
  1049. package/editor-web/assets/tinos-cyrillic-400-normal-kS2dpklR.woff2 +0 -0
  1050. package/editor-web/assets/tinos-cyrillic-700-italic-CUFPRiVR.woff2 +0 -0
  1051. package/editor-web/assets/tinos-cyrillic-700-italic-DU6-gZzV.woff +0 -0
  1052. package/editor-web/assets/tinos-cyrillic-700-normal-DGklj3DM.woff2 +0 -0
  1053. package/editor-web/assets/tinos-cyrillic-700-normal-HYhic5tl.woff +0 -0
  1054. package/editor-web/assets/tinos-cyrillic-ext-400-italic-Bz6A2Xew.woff2 +0 -0
  1055. package/editor-web/assets/tinos-cyrillic-ext-400-italic-CgiySoL2.woff +0 -0
  1056. package/editor-web/assets/tinos-cyrillic-ext-400-normal-DdITlKdb.woff2 +0 -0
  1057. package/editor-web/assets/tinos-cyrillic-ext-400-normal-l41d2z3M.woff +0 -0
  1058. package/editor-web/assets/tinos-cyrillic-ext-700-italic-BQu9kgBz.woff +0 -0
  1059. package/editor-web/assets/tinos-cyrillic-ext-700-italic-Ceua-rFl.woff2 +0 -0
  1060. package/editor-web/assets/tinos-cyrillic-ext-700-normal-CE86bzrR.woff2 +0 -0
  1061. package/editor-web/assets/tinos-cyrillic-ext-700-normal-yBtNmQaZ.woff +0 -0
  1062. package/editor-web/assets/tinos-greek-400-italic-CITkaQD8.woff2 +0 -0
  1063. package/editor-web/assets/tinos-greek-400-italic-Dc-Zjc_Z.woff +0 -0
  1064. package/editor-web/assets/tinos-greek-400-normal-BKmklotr.woff2 +0 -0
  1065. package/editor-web/assets/tinos-greek-400-normal-D6DCdDEC.woff +0 -0
  1066. package/editor-web/assets/tinos-greek-700-italic-C474ACqK.woff2 +0 -0
  1067. package/editor-web/assets/tinos-greek-700-italic-VKIu6SKO.woff +0 -0
  1068. package/editor-web/assets/tinos-greek-700-normal-CAsZoNo7.woff +0 -0
  1069. package/editor-web/assets/tinos-greek-700-normal-DZiY5218.woff2 +0 -0
  1070. package/editor-web/assets/tinos-greek-ext-400-italic-C7FWsVQN.woff +0 -0
  1071. package/editor-web/assets/tinos-greek-ext-400-italic-QOcg_kQA.woff2 +0 -0
  1072. package/editor-web/assets/tinos-greek-ext-400-normal-1tgngtmV.woff2 +0 -0
  1073. package/editor-web/assets/tinos-greek-ext-400-normal-BY5Lx0CY.woff +0 -0
  1074. package/editor-web/assets/tinos-greek-ext-700-italic-2QV0uNor.woff2 +0 -0
  1075. package/editor-web/assets/tinos-greek-ext-700-italic-zoEBc9cL.woff +0 -0
  1076. package/editor-web/assets/tinos-greek-ext-700-normal-Bu9AJavU.woff +0 -0
  1077. package/editor-web/assets/tinos-greek-ext-700-normal-nVGGTb9r.woff2 +0 -0
  1078. package/editor-web/assets/tinos-hebrew-400-italic-Cp89YzKh.woff2 +0 -0
  1079. package/editor-web/assets/tinos-hebrew-400-italic-k5xAEjEk.woff +0 -0
  1080. package/editor-web/assets/tinos-hebrew-400-normal-B17QmYDt.woff2 +0 -0
  1081. package/editor-web/assets/tinos-hebrew-400-normal-DhGqnHb1.woff +0 -0
  1082. package/editor-web/assets/tinos-hebrew-700-italic-BSdnwE5c.woff2 +0 -0
  1083. package/editor-web/assets/tinos-hebrew-700-italic-DuNrcWBH.woff +0 -0
  1084. package/editor-web/assets/tinos-hebrew-700-normal-B737la7J.woff +0 -0
  1085. package/editor-web/assets/tinos-hebrew-700-normal-BNVAlJ0i.woff2 +0 -0
  1086. package/editor-web/assets/tinos-latin-400-italic-BYAl0kbZ.woff2 +0 -0
  1087. package/editor-web/assets/tinos-latin-400-italic-HcuZF3H0.woff +0 -0
  1088. package/editor-web/assets/tinos-latin-400-normal-B05awSIM.woff +0 -0
  1089. package/editor-web/assets/tinos-latin-400-normal-rilFpyjL.woff2 +0 -0
  1090. package/editor-web/assets/tinos-latin-700-italic-M0H2aQ0O.woff +0 -0
  1091. package/editor-web/assets/tinos-latin-700-italic-vJg8Axdx.woff2 +0 -0
  1092. package/editor-web/assets/tinos-latin-700-normal-CjcRkLdR.woff +0 -0
  1093. package/editor-web/assets/tinos-latin-700-normal-qGf2y18O.woff2 +0 -0
  1094. package/editor-web/assets/tinos-latin-ext-400-italic-DKtLLJa2.woff +0 -0
  1095. package/editor-web/assets/tinos-latin-ext-400-italic-WsHooD3r.woff2 +0 -0
  1096. package/editor-web/assets/tinos-latin-ext-400-normal-BUQPNqi9.woff +0 -0
  1097. package/editor-web/assets/tinos-latin-ext-400-normal-C68eX7xt.woff2 +0 -0
  1098. package/editor-web/assets/tinos-latin-ext-700-italic-BtLLKPsV.woff2 +0 -0
  1099. package/editor-web/assets/tinos-latin-ext-700-italic-Gmi35kWa.woff +0 -0
  1100. package/editor-web/assets/tinos-latin-ext-700-normal-CesJqEpY.woff2 +0 -0
  1101. package/editor-web/assets/tinos-latin-ext-700-normal-nLvPiDAe.woff +0 -0
  1102. package/editor-web/assets/tinos-vietnamese-400-italic-BJdaJnTX.woff2 +0 -0
  1103. package/editor-web/assets/tinos-vietnamese-400-italic-C0nreyLC.woff +0 -0
  1104. package/editor-web/assets/tinos-vietnamese-400-normal-BYl6xqrz.woff +0 -0
  1105. package/editor-web/assets/tinos-vietnamese-400-normal-CrJeqB3M.woff2 +0 -0
  1106. package/editor-web/assets/tinos-vietnamese-700-italic-BPJuDXkI.woff2 +0 -0
  1107. package/editor-web/assets/tinos-vietnamese-700-italic-Dl6iR3hy.woff +0 -0
  1108. package/editor-web/assets/tinos-vietnamese-700-normal-CmLX0U_H.woff2 +0 -0
  1109. package/editor-web/assets/tinos-vietnamese-700-normal-bKCZ5S7w.woff +0 -0
  1110. package/editor-web/assets/trash-2-Bjj6cWzP.js +1 -0
  1111. package/editor-web/assets/treeView-D4JQ5SDB-B6DDatXq.js +1 -0
  1112. package/editor-web/assets/treemap-SAJKECNS-D7j5ZhiI.js +1 -0
  1113. package/editor-web/assets/undo-2-yOSG766T.js +1 -0
  1114. package/editor-web/assets/usecaseDiagram-WPOLBNNX-tkrdKUJB.js +328 -0
  1115. package/editor-web/assets/vennDiagram-Q3Y3IDCW-Ch4XbSnD.js +34 -0
  1116. package/editor-web/assets/video-DXFiCNGc.js +1 -0
  1117. package/editor-web/assets/wardley-7MLQ67FV-Bynt7qNQ.js +1 -0
  1118. package/editor-web/assets/wardleyDiagram-IVAIDKWA-DRuSgm_L.js +78 -0
  1119. package/editor-web/assets/xychartDiagram-4URNHDU4-DctpvfkL.js +7 -0
  1120. package/editor-web/index.html +7 -3
  1121. package/package.json +21 -5
  1122. package/dist/audio-text.js +0 -6
  1123. package/dist/cloud-hearing.js +0 -2
  1124. package/dist/commands/audio.js +0 -4
  1125. package/dist/commands/inspect/contrast.js +0 -2
  1126. package/dist/commands/inspect/fidelity.js +0 -2
  1127. package/dist/commands/inspect/joins.js +0 -2
  1128. package/dist/commands/inspect/motion.js +0 -4
  1129. package/dist/commands/inspect/sheet.js +0 -3
  1130. package/dist/commands/inspect/timeline.js +0 -3
  1131. package/dist/commands/model.js +0 -3
  1132. package/dist/commands/reference-text.js +0 -5
  1133. package/dist/commands/reference.js +0 -2
  1134. package/dist/commands/scenery-input.js +0 -2
  1135. package/dist/commands/scenery.js +0 -7
  1136. package/dist/commands/sheet.js +0 -8
  1137. package/dist/commands/site.js +0 -4
  1138. package/dist/commands/slides.js +0 -3
  1139. package/dist/commands/voice.js +0 -3
  1140. package/dist/commands/words-text.js +0 -6
  1141. package/dist/commands/words.js +0 -2
  1142. package/dist/node_modules/@allyhub/build/dist/sheet-code.d.ts +0 -34
  1143. package/dist/node_modules/@allyhub/build/dist/sheet-code.js +0 -2
  1144. package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +0 -11
  1145. package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +0 -33
  1146. package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +0 -206
  1147. package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +0 -15
  1148. package/dist/node_modules/@allyhub/chart/dist/index.d.ts +0 -6
  1149. package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +0 -22
  1150. package/dist/node_modules/@allyhub/check/dist/generated.js +0 -2
  1151. package/dist/node_modules/@allyhub/check/dist/plans.js +0 -3
  1152. package/dist/node_modules/@allyhub/check/dist/scenery.js +0 -2
  1153. package/dist/node_modules/@allyhub/doc/dist/chart.d.ts +0 -65
  1154. package/dist/node_modules/@allyhub/doc/dist/color.d.ts +0 -6
  1155. package/dist/node_modules/@allyhub/doc/dist/columns.d.ts +0 -6
  1156. package/dist/node_modules/@allyhub/doc/dist/component.d.ts +0 -27
  1157. package/dist/node_modules/@allyhub/doc/dist/docx.d.ts +0 -39
  1158. package/dist/node_modules/@allyhub/doc/dist/html.d.ts +0 -49
  1159. package/dist/node_modules/@allyhub/doc/dist/index.d.ts +0 -13
  1160. package/dist/node_modules/@allyhub/doc/dist/markdown.d.ts +0 -13
  1161. package/dist/node_modules/@allyhub/doc/dist/math.d.ts +0 -11
  1162. package/dist/node_modules/@allyhub/doc/dist/model.d.ts +0 -280
  1163. package/dist/node_modules/@allyhub/doc/dist/paper.d.ts +0 -39
  1164. package/dist/node_modules/@allyhub/doc/dist/parse.d.ts +0 -24
  1165. package/dist/node_modules/@allyhub/doc/dist/patch.d.ts +0 -8
  1166. package/dist/node_modules/@allyhub/doc/dist/title.d.ts +0 -23
  1167. package/dist/node_modules/@allyhub/doc/dist/write.d.ts +0 -18
  1168. package/dist/node_modules/@allyhub/export/dist/deck-pptx.js +0 -2
  1169. package/dist/node_modules/@allyhub/formats/dist/data/comments.d.ts +0 -94
  1170. package/dist/node_modules/@allyhub/formats/dist/data/comments.js +0 -2
  1171. package/dist/node_modules/@allyhub/measure/dist/contrast.js +0 -2
  1172. package/dist/node_modules/@allyhub/measure/dist/cuts.js +0 -2
  1173. package/dist/node_modules/@allyhub/measure/dist/facts.js +0 -2
  1174. package/dist/node_modules/@allyhub/measure/dist/fidelity.js +0 -3
  1175. package/dist/node_modules/@allyhub/measure/dist/overlay.js +0 -2
  1176. package/dist/node_modules/@allyhub/measure/dist/recording-report.js +0 -2
  1177. package/dist/node_modules/@allyhub/measure/dist/reference/piece.js +0 -2
  1178. package/dist/node_modules/@allyhub/measure/dist/reference/sets.js +0 -2
  1179. package/dist/node_modules/@allyhub/measure/dist/reference/text.js +0 -2
  1180. package/dist/node_modules/@allyhub/measure/dist/reference/video.js +0 -2
  1181. package/dist/node_modules/@allyhub/measure/dist/sound-report.js +0 -2
  1182. package/dist/node_modules/@allyhub/media/dist/asr/hear.d.ts +0 -41
  1183. package/dist/node_modules/@allyhub/media/dist/asr/hear.js +0 -2
  1184. package/dist/node_modules/@allyhub/media/dist/asr/languages.d.ts +0 -9
  1185. package/dist/node_modules/@allyhub/media/dist/asr/languages.js +0 -2
  1186. package/dist/node_modules/@allyhub/media/dist/asr/parakeet.d.ts +0 -54
  1187. package/dist/node_modules/@allyhub/media/dist/asr/parakeet.js +0 -7
  1188. package/dist/node_modules/@allyhub/media/dist/asr/protocol.d.ts +0 -20
  1189. package/dist/node_modules/@allyhub/media/dist/asr/protocol.js +0 -2
  1190. package/dist/node_modules/@allyhub/media/dist/asr/transcribe.d.ts +0 -50
  1191. package/dist/node_modules/@allyhub/media/dist/asr/transcribe.js +0 -2
  1192. package/dist/node_modules/@allyhub/media/dist/asr/windows.d.ts +0 -34
  1193. package/dist/node_modules/@allyhub/media/dist/asr/windows.js +0 -2
  1194. package/dist/node_modules/@allyhub/media/dist/asr/words.d.ts +0 -7
  1195. package/dist/node_modules/@allyhub/media/dist/asr/words.js +0 -2
  1196. package/dist/node_modules/@allyhub/media/dist/asr/worker.d.ts +0 -2
  1197. package/dist/node_modules/@allyhub/media/dist/asr/worker.js +0 -4
  1198. package/dist/node_modules/@allyhub/media/dist/local.d.ts +0 -39
  1199. package/dist/node_modules/@allyhub/media/dist/local.js +0 -2
  1200. package/dist/node_modules/@allyhub/media/dist/ocr/lines.d.ts +0 -36
  1201. package/dist/node_modules/@allyhub/media/dist/ocr/lines.js +0 -2
  1202. package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.d.ts +0 -62
  1203. package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.js +0 -2
  1204. package/dist/node_modules/@allyhub/media/dist/ocr/text.d.ts +0 -36
  1205. package/dist/node_modules/@allyhub/media/dist/ocr/text.js +0 -4
  1206. package/dist/node_modules/@allyhub/media/dist/ocr/worker.d.ts +0 -2
  1207. package/dist/node_modules/@allyhub/media/dist/ocr/worker.js +0 -5
  1208. package/dist/node_modules/@allyhub/media/dist/vision/common.d.ts +0 -32
  1209. package/dist/node_modules/@allyhub/media/dist/vision/common.js +0 -2
  1210. package/dist/node_modules/@allyhub/media/dist/vision/faces.d.ts +0 -18
  1211. package/dist/node_modules/@allyhub/media/dist/vision/faces.js +0 -2
  1212. package/dist/node_modules/@allyhub/media/dist/vision/index-media.d.ts +0 -48
  1213. package/dist/node_modules/@allyhub/media/dist/vision/index-media.js +0 -3
  1214. package/dist/node_modules/@allyhub/media/dist/vision/matte.d.ts +0 -16
  1215. package/dist/node_modules/@allyhub/media/dist/vision/matte.js +0 -2
  1216. package/dist/node_modules/@allyhub/media/dist/vision/mattes.d.ts +0 -109
  1217. package/dist/node_modules/@allyhub/media/dist/vision/mattes.js +0 -2
  1218. package/dist/node_modules/@allyhub/media/dist/vision/models.d.ts +0 -16
  1219. package/dist/node_modules/@allyhub/media/dist/vision/models.js +0 -2
  1220. package/dist/node_modules/@allyhub/media/dist/vision/protocol.d.ts +0 -51
  1221. package/dist/node_modules/@allyhub/media/dist/vision/protocol.js +0 -2
  1222. package/dist/node_modules/@allyhub/media/dist/vision/run.d.ts +0 -12
  1223. package/dist/node_modules/@allyhub/media/dist/vision/run.js +0 -4
  1224. package/dist/node_modules/@allyhub/media/dist/vision/runtime.d.ts +0 -16
  1225. package/dist/node_modules/@allyhub/media/dist/vision/runtime.js +0 -8
  1226. package/dist/node_modules/@allyhub/media/dist/vision/status.d.ts +0 -24
  1227. package/dist/node_modules/@allyhub/media/dist/vision/status.js +0 -2
  1228. package/dist/node_modules/@allyhub/media/dist/vision/track.d.ts +0 -54
  1229. package/dist/node_modules/@allyhub/media/dist/vision/track.js +0 -2
  1230. package/dist/node_modules/@allyhub/media/dist/vision/worker.d.ts +0 -2
  1231. package/dist/node_modules/@allyhub/media/dist/vision/worker.js +0 -5
  1232. package/dist/node_modules/@allyhub/media/dist/vision/yunet.d.ts +0 -35
  1233. package/dist/node_modules/@allyhub/media/dist/vision/yunet.js +0 -2
  1234. package/dist/node_modules/@allyhub/media/dist/worker-process.d.ts +0 -3
  1235. package/dist/node_modules/@allyhub/media/dist/worker-process.js +0 -2
  1236. package/dist/node_modules/@allyhub/ooxml/dist/brightness.d.ts +0 -31
  1237. package/dist/node_modules/@allyhub/ooxml/dist/color.d.ts +0 -33
  1238. package/dist/node_modules/@allyhub/ooxml/dist/enums.d.ts +0 -13
  1239. package/dist/node_modules/@allyhub/ooxml/dist/ext.d.ts +0 -79
  1240. package/dist/node_modules/@allyhub/ooxml/dist/generated/enums.d.ts +0 -132
  1241. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +0 -28
  1242. package/dist/node_modules/@allyhub/ooxml/dist/generated/spec.d.ts +0 -4708
  1243. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +0 -57
  1244. package/dist/node_modules/@allyhub/ooxml/dist/index.d.ts +0 -10
  1245. package/dist/node_modules/@allyhub/ooxml/dist/mce.d.ts +0 -12
  1246. package/dist/node_modules/@allyhub/ooxml/dist/node.d.ts +0 -111
  1247. package/dist/node_modules/@allyhub/ooxml/dist/ns.d.ts +0 -45
  1248. package/dist/node_modules/@allyhub/ooxml/dist/opc.d.ts +0 -48
  1249. package/dist/node_modules/@allyhub/ooxml/dist/report.d.ts +0 -45
  1250. package/dist/node_modules/@allyhub/ooxml/dist/xml.d.ts +0 -28
  1251. package/dist/node_modules/@allyhub/project/dist/deck-keys.js +0 -2
  1252. package/dist/node_modules/@allyhub/project/dist/deck-measure.js +0 -2
  1253. package/dist/node_modules/@allyhub/project/dist/deck-pool.js +0 -2
  1254. package/dist/node_modules/@allyhub/project/dist/says.js +0 -2
  1255. package/dist/node_modules/@allyhub/project/dist/scenery.js +0 -2
  1256. package/dist/node_modules/@allyhub/project/dist/stretch.js +0 -2
  1257. package/dist/node_modules/@allyhub/render/dist/doc/fonts.js +0 -4
  1258. package/dist/node_modules/@allyhub/render/dist/doc/index.js +0 -2
  1259. package/dist/node_modules/@allyhub/render/dist/doc/pages.js +0 -32
  1260. package/dist/node_modules/@allyhub/render/dist/doc/print.js +0 -41
  1261. package/dist/node_modules/@allyhub/render/dist/webp.js +0 -2
  1262. package/dist/node_modules/@allyhub/runtime/dist/console.js +0 -2
  1263. package/dist/node_modules/@allyhub/runtime/dist/env.js +0 -2
  1264. package/dist/node_modules/@allyhub/runtime/dist/errors.js +0 -2
  1265. package/dist/node_modules/@allyhub/runtime/dist/inspect.js +0 -3
  1266. package/dist/node_modules/@allyhub/runtime/dist/mix-plan.js +0 -2
  1267. package/dist/node_modules/@allyhub/runtime/dist/reads.js +0 -2
  1268. package/dist/node_modules/@allyhub/runtime/dist/stage.js +0 -2
  1269. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
  1270. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package.json +0 -8
  1271. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
  1272. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package.json +0 -8
  1273. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package-lock.json +0 -128
  1274. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package.json +0 -9
  1275. package/dist/node_modules/@allyhub/sheet/dist/address.d.ts +0 -32
  1276. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.d.ts +0 -23
  1277. package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +0 -204
  1278. package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +0 -19
  1279. package/dist/node_modules/@allyhub/sheet/dist/api/hint.d.ts +0 -3
  1280. package/dist/node_modules/@allyhub/sheet/dist/api/index.d.ts +0 -8
  1281. package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +0 -83
  1282. package/dist/node_modules/@allyhub/sheet/dist/api/rectangles.d.ts +0 -4
  1283. package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +0 -170
  1284. package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +0 -117
  1285. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +0 -362
  1286. package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +0 -68
  1287. package/dist/node_modules/@allyhub/sheet/dist/calc/analyse.d.ts +0 -27
  1288. package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.d.ts +0 -23
  1289. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.d.ts +0 -199
  1290. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/aggregate.d.ts +0 -2
  1291. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/convert.d.ts +0 -4
  1292. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.d.ts +0 -15
  1293. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/database.d.ts +0 -2
  1294. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.d.ts +0 -2
  1295. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.d.ts +0 -95
  1296. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/delimiters.d.ts +0 -16
  1297. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/distributions.d.ts +0 -2
  1298. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/dynamic.d.ts +0 -19
  1299. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/finance.d.ts +0 -2
  1300. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/index.d.ts +0 -17
  1301. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.d.ts +0 -2
  1302. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.d.ts +0 -2
  1303. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/logical.d.ts +0 -2
  1304. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.d.ts +0 -2
  1305. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.d.ts +0 -2
  1306. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/modern.d.ts +0 -2
  1307. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/special.d.ts +0 -29
  1308. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.d.ts +0 -2
  1309. package/dist/node_modules/@allyhub/sheet/dist/calc/graph.d.ts +0 -38
  1310. package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.d.ts +0 -19
  1311. package/dist/node_modules/@allyhub/sheet/dist/calc/remote.d.ts +0 -49
  1312. package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +0 -82
  1313. package/dist/node_modules/@allyhub/sheet/dist/calc/types.d.ts +0 -55
  1314. package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +0 -52
  1315. package/dist/node_modules/@allyhub/sheet/dist/check.d.ts +0 -15
  1316. package/dist/node_modules/@allyhub/sheet/dist/diff.d.ts +0 -79
  1317. package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +0 -154
  1318. package/dist/node_modules/@allyhub/sheet/dist/export.d.ts +0 -32
  1319. package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +0 -19
  1320. package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +0 -24
  1321. package/dist/node_modules/@allyhub/sheet/dist/fill.d.ts +0 -30
  1322. package/dist/node_modules/@allyhub/sheet/dist/filter.d.ts +0 -29
  1323. package/dist/node_modules/@allyhub/sheet/dist/format.d.ts +0 -15
  1324. package/dist/node_modules/@allyhub/sheet/dist/formula/ast.d.ts +0 -113
  1325. package/dist/node_modules/@allyhub/sheet/dist/formula/move.d.ts +0 -6
  1326. package/dist/node_modules/@allyhub/sheet/dist/formula/parse.d.ts +0 -4
  1327. package/dist/node_modules/@allyhub/sheet/dist/formula/print.d.ts +0 -6
  1328. package/dist/node_modules/@allyhub/sheet/dist/formula/rewrite.d.ts +0 -65
  1329. package/dist/node_modules/@allyhub/sheet/dist/formula/walk.d.ts +0 -6
  1330. package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +0 -46
  1331. package/dist/node_modules/@allyhub/sheet/dist/html.d.ts +0 -82
  1332. package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +0 -11
  1333. package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +0 -42
  1334. package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +0 -25
  1335. package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +0 -98
  1336. package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +0 -4
  1337. package/dist/node_modules/@allyhub/sheet/dist/profile.d.ts +0 -30
  1338. package/dist/node_modules/@allyhub/sheet/dist/rules.d.ts +0 -56
  1339. package/dist/node_modules/@allyhub/sheet/dist/scenario.d.ts +0 -42
  1340. package/dist/node_modules/@allyhub/sheet/dist/series.d.ts +0 -10
  1341. package/dist/node_modules/@allyhub/sheet/dist/sort.d.ts +0 -24
  1342. package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +0 -38
  1343. package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +0 -32
  1344. package/dist/node_modules/@allyhub/sheet/dist/table-styles.d.ts +0 -3
  1345. package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +0 -26
  1346. package/dist/node_modules/@allyhub/sheet/dist/values.d.ts +0 -67
  1347. package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +0 -324
  1348. package/dist/node_modules/@allyhub/sheet/dist/write.d.ts +0 -5
  1349. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +0 -53
  1350. package/dist/node_modules/@allyhub/sheet/dist/xlsx/colors.d.ts +0 -19
  1351. package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.d.ts +0 -31
  1352. package/dist/node_modules/@allyhub/sheet/dist/xlsx/functions.d.ts +0 -15
  1353. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +0 -49
  1354. package/dist/node_modules/@allyhub/sheet/dist/xlsx/index.d.ts +0 -5
  1355. package/dist/node_modules/@allyhub/sheet/dist/xlsx/numfmt.d.ts +0 -8
  1356. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +0 -159
  1357. package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.d.ts +0 -23
  1358. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.d.ts +0 -25
  1359. package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.d.ts +0 -3
  1360. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.d.ts +0 -23
  1361. package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.d.ts +0 -28
  1362. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +0 -40
  1363. package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +0 -129
  1364. package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +0 -730
  1365. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.d.ts +0 -18
  1366. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +0 -202
  1367. package/dist/node_modules/@allyhub/slides-core/dist/check.d.ts +0 -7
  1368. package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +0 -33
  1369. package/dist/node_modules/@allyhub/slides-core/dist/components.d.ts +0 -31
  1370. package/dist/node_modules/@allyhub/slides-core/dist/enums.d.ts +0 -329
  1371. package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +0 -131
  1372. package/dist/node_modules/@allyhub/slides-core/dist/identity.d.ts +0 -17
  1373. package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +0 -25
  1374. package/dist/node_modules/@allyhub/slides-core/dist/lang.d.ts +0 -6
  1375. package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +0 -34
  1376. package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +0 -58
  1377. package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +0 -293
  1378. package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +0 -84
  1379. package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +0 -6
  1380. package/dist/node_modules/@allyhub/slides-core/dist/placeholders.d.ts +0 -7
  1381. package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +0 -202
  1382. package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +0 -45
  1383. package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +0 -61
  1384. package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +0 -7
  1385. package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +0 -72
  1386. package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +0 -62
  1387. package/dist/node_modules/@allyhub/slides-core/dist/values.d.ts +0 -7
  1388. package/dist/node_modules/@allyhub/stage/dist/bakes.js +0 -4
  1389. package/dist/node_modules/@allyhub/stage/dist/graphics.js +0 -2
  1390. package/dist/node_modules/@allyhub/stage/dist/scenery-page.js +0 -12
  1391. package/dist/node_modules/@allyhub/stage/dist/scenery.js +0 -2
  1392. package/dist/node_modules/@allyhub/stage-page/dist/runtime/runtime.js +0 -79
  1393. package/dist/node_modules/@allyhub/video-core/dist/anchors.d.ts +0 -164
  1394. package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +0 -148
  1395. package/dist/node_modules/@allyhub/video-core/dist/backdrop.d.ts +0 -87
  1396. package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +0 -122
  1397. package/dist/node_modules/@allyhub/video-core/dist/component.js +0 -2
  1398. package/dist/node_modules/@allyhub/video-core/dist/contrast.d.ts +0 -98
  1399. package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +0 -77
  1400. package/dist/node_modules/@allyhub/video-core/dist/edit.d.ts +0 -77
  1401. package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +0 -163
  1402. package/dist/node_modules/@allyhub/video-core/dist/export.d.ts +0 -97
  1403. package/dist/node_modules/@allyhub/video-core/dist/export.js +0 -2
  1404. package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +0 -1179
  1405. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +0 -168
  1406. package/dist/node_modules/@allyhub/video-core/dist/formats.d.ts +0 -205
  1407. package/dist/node_modules/@allyhub/video-core/dist/formats.js +0 -2
  1408. package/dist/node_modules/@allyhub/video-core/dist/gen.d.ts +0 -37
  1409. package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +0 -41
  1410. package/dist/node_modules/@allyhub/video-core/dist/look.d.ts +0 -66
  1411. package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +0 -563
  1412. package/dist/node_modules/@allyhub/video-core/dist/media.d.ts +0 -226
  1413. package/dist/node_modules/@allyhub/video-core/dist/media.js +0 -2
  1414. package/dist/node_modules/@allyhub/video-core/dist/messages.d.ts +0 -88
  1415. package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +0 -56
  1416. package/dist/node_modules/@allyhub/video-core/dist/music.d.ts +0 -111
  1417. package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +0 -1154
  1418. package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +0 -37
  1419. package/dist/node_modules/@allyhub/video-core/dist/problem.d.ts +0 -278
  1420. package/dist/node_modules/@allyhub/video-core/dist/problem.js +0 -2
  1421. package/dist/node_modules/@allyhub/video-core/dist/render-types.d.ts +0 -49
  1422. package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +0 -350
  1423. package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +0 -180
  1424. package/dist/node_modules/@allyhub/video-core/dist/script.d.ts +0 -76
  1425. package/dist/node_modules/@allyhub/video-core/dist/script.js +0 -2
  1426. package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +0 -214
  1427. package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +0 -72
  1428. package/dist/node_modules/@allyhub/video-core/dist/source.d.ts +0 -7
  1429. package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +0 -83
  1430. package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +0 -631
  1431. package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +0 -88
  1432. package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +0 -288
  1433. package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +0 -300
  1434. package/dist/node_modules/@allyhub/video-core/dist/voice.d.ts +0 -175
  1435. package/dist/text/timeline-text.js +0 -2
  1436. package/editor-web/assets/abnfDiagram-WEYOIA3C-B9SmmTJt.js +0 -1
  1437. package/editor-web/assets/architecture-WOLXFQ4H-m-T100yu.js +0 -1
  1438. package/editor-web/assets/architectureDiagram-ZHVYKT53-B5nwfRgH.js +0 -36
  1439. package/editor-web/assets/blockDiagram-RJAE7QA3-ClawtW7w.js +0 -140
  1440. package/editor-web/assets/c4Diagram-XDPPPE54-CFHQpxmY.js +0 -38
  1441. package/editor-web/assets/calc-worker-BTNuOUVJ.js +0 -158
  1442. package/editor-web/assets/channel-hhT2g1yB.js +0 -1
  1443. package/editor-web/assets/choice-BJc3Tv5F.js +0 -10
  1444. package/editor-web/assets/chunk-2E7WHVMD-CoQrt8De.js +0 -88
  1445. package/editor-web/assets/chunk-4EMNKR2T-Iy5ZP2hH.js +0 -1
  1446. package/editor-web/assets/chunk-55XCU76K-DsS8sEfz.js +0 -1
  1447. package/editor-web/assets/chunk-7S6XSTFO-Co220fFP.js +0 -2
  1448. package/editor-web/assets/chunk-AQDTSKZB-JIGZAIpF.js +0 -72
  1449. package/editor-web/assets/chunk-DSNLSHJZ-Ror_NzZx.js +0 -129
  1450. package/editor-web/assets/chunk-HAGFOTED-C07qbJaC.js +0 -62
  1451. package/editor-web/assets/chunk-HNE4Q36P-CM3bprQy.js +0 -1
  1452. package/editor-web/assets/chunk-NQOKRVIF-ipM1cuU7.js +0 -213
  1453. package/editor-web/assets/chunk-UHW7PFBP-CA8McMqW.js +0 -1
  1454. package/editor-web/assets/chunk-VQ5W62QI-DEDvdgPj.js +0 -1
  1455. package/editor-web/assets/chunk-WQQL4CDK-h5ZO7LF7.js +0 -10
  1456. package/editor-web/assets/chunk-YZO67HFG-yC3xdjnt.js +0 -1
  1457. package/editor-web/assets/chunk-ZAUX2LTX-3rRCWRvD.js +0 -1
  1458. package/editor-web/assets/chunk-ZCHMQSOR-DK_PLi39.js +0 -2
  1459. package/editor-web/assets/classDiagram-v2-4MYWR3UA-B9pB-HTm.js +0 -217
  1460. package/editor-web/assets/cynefin-EF2NZ3EQ-CSd3PDdQ.js +0 -1
  1461. package/editor-web/assets/cynefinDiagram-WF24UDRP-BBCequ3T.js +0 -62
  1462. package/editor-web/assets/dagre-NK4GIZVX-C7ZOWX5t.js +0 -4
  1463. package/editor-web/assets/diagram-CBK3MWTC-CQVvlSNo.js +0 -24
  1464. package/editor-web/assets/diagram-I5XIIV2D-BCkke5x3.js +0 -24
  1465. package/editor-web/assets/diagram-ODIL2UCW-DDWQXIlX.js +0 -30
  1466. package/editor-web/assets/diagram-PFBEJUXE-C31QlFzr.js +0 -3
  1467. package/editor-web/assets/diagram-RJA3I4VV-DUXAFmI_.js +0 -41
  1468. package/editor-web/assets/diagram-TYUNFSNR-BCxuoEs9.js +0 -200
  1469. package/editor-web/assets/dist-BRuoygB7.js +0 -2
  1470. package/editor-web/assets/dist-CK42vCmN.js +0 -550
  1471. package/editor-web/assets/dist-C_buDsM-.js +0 -36
  1472. package/editor-web/assets/dist-DNcXHhzn.js +0 -37
  1473. package/editor-web/assets/dist-HxiPpGXi.js +0 -10
  1474. package/editor-web/assets/dist-PF3VMsK7.js +0 -1
  1475. package/editor-web/assets/ebnfDiagram-V4P3TTPT-Drbe1R2R.js +0 -1
  1476. package/editor-web/assets/elk-QONTBCTQ-Bqwuc5U-.js +0 -27
  1477. package/editor-web/assets/erDiagram-KYQIGQAA-lUcyPgf3.js +0 -99
  1478. package/editor-web/assets/eventmodeling-K75KTNOO-BfxFVok7.js +0 -1
  1479. package/editor-web/assets/flowDiagram-IUGLLWBU-FJVml4lT.js +0 -1
  1480. package/editor-web/assets/ganttDiagram-R7GPNTJY-AYc1JnE_.js +0 -292
  1481. package/editor-web/assets/gitGraph-VSP46ZUC-Z_2ysYZF.js +0 -1
  1482. package/editor-web/assets/gitGraphDiagram-PDYL7XHY-CB2O1LZ6.js +0 -106
  1483. package/editor-web/assets/hint-BwGc32IE.js +0 -1
  1484. package/editor-web/assets/index-BQKSbBSy.js +0 -69
  1485. package/editor-web/assets/index-CfD80QPx.css +0 -2
  1486. package/editor-web/assets/info-OHQRW6UA-BPePkERU.js +0 -1
  1487. package/editor-web/assets/infoDiagram-MVDRKAX5-CNluCREj.js +0 -2
  1488. package/editor-web/assets/ishikawaDiagram-HPEHV2GE-DIBDBol9.js +0 -70
  1489. package/editor-web/assets/journeyDiagram-BOSHW7O7-C4Hc63C8.js +0 -139
  1490. package/editor-web/assets/kanban-definition-FNSA4HC5-BShCYR9Q.js +0 -89
  1491. package/editor-web/assets/mermaid-parser.core-KGVt2icR.js +0 -7
  1492. package/editor-web/assets/mermaid.core-CVH2hRmI.js +0 -44
  1493. package/editor-web/assets/mindmap-definition-6OY57UG3-C1mo9OeK.js +0 -98
  1494. package/editor-web/assets/packet-JDAUHWVQ-B7YpYnvD.js +0 -1
  1495. package/editor-web/assets/pegDiagram-ECIUJNBX-Es99bVEq.js +0 -1
  1496. package/editor-web/assets/pie-XZMESJXO-xTUp8UcP.js +0 -1
  1497. package/editor-web/assets/pieDiagram-GNMPY74T-CD91pLk4.js +0 -39
  1498. package/editor-web/assets/quadrantDiagram-D57K4MC3-CSnvxc94.js +0 -7
  1499. package/editor-web/assets/radar-ABXABTNO-Dj-t0L18.js +0 -1
  1500. package/editor-web/assets/railroad-I3PHUGI6-BK32uCwU.js +0 -1
  1501. package/editor-web/assets/railroad-abnf-LNEFI6M7-D5R8k6d0.js +0 -1
  1502. package/editor-web/assets/railroad-ebnf-DWYD2UWJ-Crm1KEAC.js +0 -1
  1503. package/editor-web/assets/railroad-peg-JR7BVNR7-BILXac49.js +0 -1
  1504. package/editor-web/assets/railroadDiagram-Y72NRBL7-CevyjvbY.js +0 -1
  1505. package/editor-web/assets/react-BSSSHUyV.js +0 -101
  1506. package/editor-web/assets/requirementDiagram-EQYSW5RA-B5N8Q9VV.js +0 -84
  1507. package/editor-web/assets/sankeyDiagram-SY24JHO5-bCTsxF1A.js +0 -40
  1508. package/editor-web/assets/sequenceDiagram-BLEHNHQU-M37m0sEI.js +0 -169
  1509. package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BDIn7XwV.js +0 -291
  1510. package/editor-web/assets/svg-BiObwMnL.js +0 -1
  1511. package/editor-web/assets/swatch-CwskGSEY.js +0 -105
  1512. package/editor-web/assets/swimlanes-B3ENRKFQ-DIU1TlDI.js +0 -1
  1513. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DPM008dB.js +0 -8
  1514. package/editor-web/assets/tabs-uHwPMprC.js +0 -1
  1515. package/editor-web/assets/timeline-definition-JXYKGLGB-C0x4clqy.js +0 -120
  1516. package/editor-web/assets/treeView-D4JQ5SDB-C9lm0KTt.js +0 -1
  1517. package/editor-web/assets/treemap-SAJKECNS-BMH4lQc7.js +0 -1
  1518. package/editor-web/assets/usecaseDiagram-WPOLBNNX-BhltpBsJ.js +0 -328
  1519. package/editor-web/assets/vennDiagram-Q3Y3IDCW-D3qN9Kpt.js +0 -34
  1520. package/editor-web/assets/wardley-7MLQ67FV-C4k02DvU.js +0 -1
  1521. package/editor-web/assets/wardleyDiagram-IVAIDKWA-dhpBDNqg.js +0 -78
  1522. package/editor-web/assets/xychartDiagram-4URNHDU4-0yEarQ-o.js +0 -7
  1523. /package/dist/{commands → node_modules/@allyhub/3d-extension/dist/cli}/scenery-text.js +0 -0
  1524. /package/dist/node_modules/@allyhub/{check/dist/result.js → build/dist/stage-route.js} +0 -0
  1525. /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/drawn.js +0 -0
  1526. /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/pdf.js +0 -0
  1527. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.d.ts +0 -0
  1528. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.js +0 -0
  1529. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/contrast.js +0 -0
  1530. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/fonts.js +0 -0
  1531. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/guards.js +0 -0
  1532. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/pictures.js +0 -0
  1533. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/styles.js +0 -0
  1534. /package/dist/node_modules/@allyhub/{runtime/dist/bridge.js → image-extension/dist/page.js} +0 -0
  1535. /package/dist/node_modules/@allyhub/{render → image-render}/dist/pdf.js +0 -0
  1536. /package/dist/node_modules/@allyhub/{render → image-render}/dist/png.js +0 -0
  1537. /package/dist/node_modules/@allyhub/{render → measure}/dist/image.js +0 -0
  1538. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/anchors.js +0 -0
  1539. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/component.d.ts +0 -0
  1540. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.d.ts +0 -0
  1541. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.js +0 -0
  1542. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/contrast.js +0 -0
  1543. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/gen.js +0 -0
  1544. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/look.js +0 -0
  1545. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.d.ts +0 -0
  1546. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.js +0 -0
  1547. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.d.ts +0 -0
  1548. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.js +0 -0
  1549. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/messages.js +0 -0
  1550. /package/dist/node_modules/@allyhub/{runtime/dist → piece/dist/page}/locate.js +0 -0
  1551. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/source.js +0 -0
  1552. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/voice.js +0 -0
  1553. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.d.ts +0 -0
  1554. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.js +0 -0
  1555. /package/dist/node_modules/@allyhub/{stage/dist/scenery-solve.js → scenery-host/dist/stage/solve.js} +0 -0
  1556. /package/dist/node_modules/@allyhub/{export → slides-extension}/dist/deck-fonts.js +0 -0
  1557. /package/dist/node_modules/@allyhub/{dev-server/dist/fonts.js → slides-extension/dist/font-faces.js} +0 -0
  1558. /package/dist/node_modules/@allyhub/{dev-server → video-extension}/dist/sound.js +0 -0
  1559. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/cut-sheet.js +0 -0
  1560. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/flat.js +0 -0
  1561. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/loop.js +0 -0
  1562. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/compare.js +0 -0
  1563. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/folder.js +0 -0
  1564. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/interpret.js +0 -0
  1565. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/sections.js +0 -0
  1566. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/seams.js +0 -0
  1567. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/sound-measures.js +0 -0
  1568. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/still.js +0 -0
  1569. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/version-voice.js +0 -0
@@ -1,18 +0,0 @@
1
- import type { Block, Doc, PageLook } from "./model.js";
2
- /** A page's look as front matter, the lines between its `---`; empty for the default look. */
3
- export declare function frontMatterOf(look: PageLook): string;
4
- /**
5
- * The file with the page's look as `look` says: its front matter written
6
- * again, added first, or taken out for the default look. The rest of the
7
- * file keeps its bytes.
8
- */
9
- export declare function withPage(doc: Pick<Doc, "source" | "frontMatter">, look: PageLook): string;
10
- /**
11
- * Whether `b`, written right after `a`, is an item of the same list:
12
- * bullets and tasks share one, numbers make their own, and a number of its
13
- * own starts another (as writeBlocks writes them).
14
- */
15
- export declare function continuesList(a: Block, b: Block): boolean;
16
- /** Blocks as doc.mdx: one after the other, an empty line between them. */
17
- export declare function writeBlocks(blocks: readonly Block[]): string;
18
- //# sourceMappingURL=write.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{execFile as U}from"node:child_process";import{mkdir as V,mkdtemp as q,readFile as D,rm as G,writeFile as C}from"node:fs/promises";import{tmpdir as H}from"node:os";import{dirname as J,join as p}from"node:path";import{promisify as Q}from"node:util";import{cropImage as v,ffmpegOf as R,ffprobeOf as W,finalStill as I,readPng as z,writePng as L}from"@allyhub/render";import{clockOf as X,DECK_FPS as Y,SLIDE_SECONDS as Z}from"@allyhub/slides-core";import{filesOf as ee,picturedShapes as te,writePptx as ie}from"@allyhub/slides-pptx";import{deckFonts as oe}from"./deck-fonts.js";const $=Q(U),ne=Z,y=Y/2;async function re(t){const a=await q(p(H(),"allyhub-deck-movie-"));try{await Promise.all(t.map((c,u)=>C(p(a,`${String(u).padStart(5,"0")}.png`),c)));const d=p(a,"movie.mp4");return await $(await R(),["-y","-loglevel","error","-framerate",String(y),"-i",p(a,"%05d.png"),"-vf","pad=ceil(iw/2)*2:ceil(ih/2)*2","-c:v","libx264","-crf","18","-pix_fmt","yuv420p","-movflags","+faststart",d]),new Uint8Array(await D(d))}finally{await G(a,{recursive:!0,force:!0})}}async function ae(t){return await t.graphics().deck?.()}export async function renderDeckPptx(t,a,d={}){const c=await ae(t);if(!c)return;const u=d.only===void 0?void 0:c.slides[d.only];if(d.only!==void 0&&!u)return;const f=u?{...c,slides:[{...u,hidden:!1}]}:c,l=t.graphics(),s=l.timeline.width/f.width,w=new Map,k=te(f);for(const e of new Set(k.map(i=>i.slide))){const i=l.timeline.parts.find(r=>r.key===e);if(!i)continue;const n=z(await I(l,i.still,{target:t.target,look:t.look,media:t.media}));for(const r of k.filter(m=>m.slide===e)){const m=v(n,[r.frame.left*s,r.frame.top*s,r.frame.width*s,r.frame.height*s]);m&&w.set(r.key,L(m))}}const S=new Map;for(const e of k){const i=f.slides.find(o=>o.id===e.slide),n=i?.shapes.find(o=>o.name===e.shape),r=l.timeline.parts.find(o=>o.key===e.slide);if(!i||!r||!n?.component)continue;const m=[e.frame.left*s,e.frame.top*s,e.frame.width*s,e.frame.height*s],K=X(i,c.slides[0]?.id===i.id),F=r.start+K.comesOn(n.name),E=async o=>{const g=z(await I(l,o,{target:t.target,look:t.look,media:t.media})),x=v(g,m);return x?L(x):void 0},h=await E(F),_=w.get(e.key);if(!h||!_||Buffer.compare(h,_)===0)continue;const b=[h],T=Math.ceil(ne*y);for(let o=1;o<T;o++){const g=await E(F+o/y);g&&b.push(g)}S.set(e.key,{bytes:await re(b),seconds:b.length/y}),w.set(e.key,h)}const M=new Map;for(const e of ee(f))try{M.set(e,await D(p(t.prepared.root,e)))}catch{}const O=new Map,P=[],j=await W();for(const e of new Set(f.slides.flatMap(i=>i.shapes.flatMap(n=>n.kind==="movie"&&n.media?[n.media.path]:[])))){const i=await $(j,["-v","error","-show_entries","format=duration","-of","csv=p=0",p(t.prepared.root,e)]).then(n=>Number(n.stdout.trim()),()=>Number.NaN);Number.isFinite(i)&&i>0?O.set(e,i):P.push(`${e}: its length could not be measured, so it plays on a click in PowerPoint`)}const N=l.timeline.parts[0]?.title,{fonts:A,left:B}=await oe(f,t.prepared.root,t.prepared.config);return await V(J(a),{recursive:!0}),await C(a,ie({deck:f,file:e=>M.get(e),pictures:w,...S.size>0?{movies:S}:{},...O.size>0?{lengths:O}:{},fonts:A,...N===void 0?{}:{title:N}})),{files:[a],fontsLeft:B,missing:P}}
@@ -1,94 +0,0 @@
1
- import { z } from "zod";
2
- export declare const TargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3
- type: z.ZodLiteral<"quote">;
4
- exact: z.ZodString;
5
- prefix: z.ZodOptional<z.ZodString>;
6
- suffix: z.ZodOptional<z.ZodString>;
7
- }, z.core.$strict>, z.ZodObject<{
8
- type: z.ZodLiteral<"cells">;
9
- range: z.ZodString;
10
- }, z.core.$strict>, z.ZodObject<{
11
- type: z.ZodLiteral<"item">;
12
- }, z.core.$strict>], "type">;
13
- export type Target = z.infer<typeof TargetSchema>;
14
- export declare const AuthorSchema: z.ZodObject<{
15
- kind: z.ZodEnum<{
16
- person: "person";
17
- agent: "agent";
18
- }>;
19
- name: z.ZodString;
20
- }, z.core.$strict>;
21
- export declare const CommentSchema: z.ZodObject<{
22
- id: z.ZodString;
23
- author: z.ZodObject<{
24
- kind: z.ZodEnum<{
25
- person: "person";
26
- agent: "agent";
27
- }>;
28
- name: z.ZodString;
29
- }, z.core.$strict>;
30
- text: z.ZodString;
31
- at: z.ZodISODateTime;
32
- }, z.core.$strict>;
33
- export declare const ThreadSchema: z.ZodObject<{
34
- id: z.ZodString;
35
- target: z.ZodDiscriminatedUnion<[z.ZodObject<{
36
- type: z.ZodLiteral<"quote">;
37
- exact: z.ZodString;
38
- prefix: z.ZodOptional<z.ZodString>;
39
- suffix: z.ZodOptional<z.ZodString>;
40
- }, z.core.$strict>, z.ZodObject<{
41
- type: z.ZodLiteral<"cells">;
42
- range: z.ZodString;
43
- }, z.core.$strict>, z.ZodObject<{
44
- type: z.ZodLiteral<"item">;
45
- }, z.core.$strict>], "type">;
46
- resolved: z.ZodDefault<z.ZodBoolean>;
47
- comments: z.ZodArray<z.ZodObject<{
48
- id: z.ZodString;
49
- author: z.ZodObject<{
50
- kind: z.ZodEnum<{
51
- person: "person";
52
- agent: "agent";
53
- }>;
54
- name: z.ZodString;
55
- }, z.core.$strict>;
56
- text: z.ZodString;
57
- at: z.ZodISODateTime;
58
- }, z.core.$strict>>;
59
- }, z.core.$strict>;
60
- export type Thread = z.infer<typeof ThreadSchema>;
61
- export declare const CommentsFileSchema: z.ZodObject<{
62
- $schema: z.ZodOptional<z.ZodString>;
63
- version: z.ZodLiteral<1>;
64
- threads: z.ZodDefault<z.ZodArray<z.ZodObject<{
65
- id: z.ZodString;
66
- target: z.ZodDiscriminatedUnion<[z.ZodObject<{
67
- type: z.ZodLiteral<"quote">;
68
- exact: z.ZodString;
69
- prefix: z.ZodOptional<z.ZodString>;
70
- suffix: z.ZodOptional<z.ZodString>;
71
- }, z.core.$strict>, z.ZodObject<{
72
- type: z.ZodLiteral<"cells">;
73
- range: z.ZodString;
74
- }, z.core.$strict>, z.ZodObject<{
75
- type: z.ZodLiteral<"item">;
76
- }, z.core.$strict>], "type">;
77
- resolved: z.ZodDefault<z.ZodBoolean>;
78
- comments: z.ZodArray<z.ZodObject<{
79
- id: z.ZodString;
80
- author: z.ZodObject<{
81
- kind: z.ZodEnum<{
82
- person: "person";
83
- agent: "agent";
84
- }>;
85
- name: z.ZodString;
86
- }, z.core.$strict>;
87
- text: z.ZodString;
88
- at: z.ZodISODateTime;
89
- }, z.core.$strict>>;
90
- }, z.core.$strict>>>;
91
- }, z.core.$strict>;
92
- export type CommentsFile = z.infer<typeof CommentsFileSchema>;
93
- export declare const COMMENTS_FILE = "comments.json";
94
- //# sourceMappingURL=comments.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as t}from"zod";import{INSTANT as e,dataFile as r}from"./file.js";export const TargetSchema=t.discriminatedUnion("type",[t.strictObject({type:t.literal("quote"),exact:t.string().min(1),prefix:t.string().optional(),suffix:t.string().optional()}),t.strictObject({type:t.literal("cells"),range:t.string().regex(/^[A-Z]+[1-9]\d*(?::[A-Z]+[1-9]\d*)?$/u)}),t.strictObject({type:t.literal("item")})]),AuthorSchema=t.strictObject({kind:t.enum(["person","agent"]),name:t.string().min(1)}),CommentSchema=t.strictObject({id:t.string().min(1),author:AuthorSchema,text:t.string().min(1),at:e}),ThreadSchema=t.strictObject({id:t.string().min(1),target:TargetSchema,resolved:t.boolean().default(!1),comments:t.array(CommentSchema).min(1)}),CommentsFileSchema=r({version:t.literal(1),threads:t.array(ThreadSchema).default([])}),COMMENTS_FILE="comments.json";
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{contrastOptions as b,contrastOver as z,fact as T,hexOf as A,linesRegion as C,overlapArea as D}from"@allyhub/video-core";import{readPng as k}from"@allyhub/render";const E=e=>Math.round(e*1e3)/1e3;function I(e){let t;for(const n of e)if(n){if(!t){t=[n[0],n[1],n[0]+n[2],n[1]+n[3]];continue}t=[Math.min(t[0],n[0]),Math.min(t[1],n[1]),Math.max(t[2],n[0]+n[2]),Math.max(t[3],n[1]+n[3])]}return t?[t[0],t[1],t[2]-t[0],t[3]-t[1]]:void 0}export async function textContrast(e,t,n={},s){const r=e.timeline,l=b(n),u=[],d=r.fps;for(const c of[...new Set(t)].sort((i,o)=>i-o)){const i=Math.round(Math.min(Math.max(c,0),r.duration)*d)/d,o=r.parts.find(a=>i>=a.start-1e-6&&i<a.end-1e-6),p=(await e.inks(i)).filter(a=>(a.text.opacity??1)>=l.opacity-1e-9);if(p.length===0)continue;const g=p.map(a=>C(a.lines,r.width,r.height)),w=I(g),x=async a=>{if(w){await e.hideText(!0,a);try{if(s){const m=await s.still(i);return{pixels:k(m),x:0,y:0,scale:1}}const f=await e.region(i,o?.key,w,l.scale);return{...f,pixels:k(f.png)}}finally{await e.hideText(!1)}}},O=await x(!1),v=p.some(a=>a.stroke===!0||a.shadow===!0)?await x(!0):void 0;p.forEach((a,f)=>{const m=P(a,g[f],O,l,s!==void 0,a.stroke===!0||a.shadow===!0?v:void 0);if(!s&&g[f]){const S=g[f],y=(r.footage??[]).filter(h=>(o===void 0||h.part===o.key)&&i>=h.start-1e-6&&i<h.end-1e-6&&D(h.box,S)>0).map(h=>h.file);y.length>0&&(m.footage=[...new Set(y)])}u.push(T("text-contrast",{piece:e.target.piece,output:e.target.output,combo:e.target.combo,format:e.target.format,...o?{part:o.key}:{},t:E(i)},m))})}return u}const M=(e,t,n)=>z(e.lines,{width:t.pixels.width,height:t.pixels.height,data:t.pixels.data},{x:t.x,y:t.y,scale:t.scale},n.percentile);function P(e,t,n,s,r,l){const u=[...new Set(e.lines.flatMap(o=>o.fill?[A(o.fill)]:[]))],d={text:e.text,fill:u,size:e.size,weight:e.weight,...e.shadow?{shadow:!0}:{},...e.stroke?{stroke:!0}:{},picture:r?"final":"graphics",options:s};if(u.length===0)return{...d,missing:"fill",why:"its glyphs are not filled with a colour (a background clipped to the text, or a transparent fill)"};const c=t&&n?M(e,n,s):void 0;if(!c)return{...d,missing:"pixels",why:"none of its glyphs is inside the frame"};const i=t&&l?M(e,l,s):void 0;return{...d,ratio:{min:c.min,low:c.low,median:c.median},pixels:c.pixels,background:c.background,...i?{under:{ratio:{min:i.min,low:i.low,median:i.median},background:i.background}}:{}}}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{transitionLabel as b}from"@allyhub/video-core";const M=t=>Math.round(t*1e3)/1e3;function y(t,s,a){return!t||a<=s?[]:t.filter(e=>e.start>=s-1e-6&&e.start<a-1e-6).map(e=>e.text)}function k(t,s,a,e,h=1){const c=[];for(let r=1;r<t.length;r++){const n=t[r-1],f=t[r];if(!n||!f)continue;const i=M(n.from+(f.at-n.at)*h),u=y(e,i,f.from);c.push({t:f.at,kind:u.length>0?"words":"gap",part:a,file:s,skip:[i,M(f.from)],removed:u})}return c}function x(t){const s=t.cuts?.[0],a=t.cuts?.at(-1),e=t.speed??1;return{start:s?s.from:t.from,end:a?a.from+(t.end-a.at)*e:t.from+(t.end-t.start)*e}}export function listCuts(t,s,a=[]){const e=[];for(const r of t.parts){const n=r.speech;n?.cuts&&e.push(...k(n.cuts,n.file,r.key,s[n.file]?.words,n.speed))}for(const r of t.footage??[])r.cuts&&e.push(...k(r.cuts,r.file,r.part,s[r.file]?.words));t.parts.forEach((r,n)=>{const f=t.parts[n-1];if(!f||r.start<=0)return;const i=f.speech,u=r.speech,p={t:r.start,kind:"join",part:r.key,previous:f.key,removed:[]},d=t.transitions?.find(o=>o.part===r.key);d&&(p.transition={type:d.type,label:b(d),start:d.start,end:d.end});const m=.5/t.fps;if(i&&Math.abs(i.end-r.start)>=m&&(p.speechOut=i.end),u&&Math.abs(u.start-r.start)>=m&&(p.speechIn=u.start),i&&u?.file===i.file){const o=M(x(i).end),l=M(x(u).start);p.file=i.file,p.skip=[o,l],p.removed=y(s[i.file]?.words,o,l)}e.push(p)});for(const r of a){const n=r.part??t.parts.find(f=>f.start<=r.t&&r.t<f.end)?.key??"";e.push({t:r.t,kind:"camera",part:n,layer:r.layer,removed:[]})}const h=.5/t.fps,c=[];for(const r of e)c.some(n=>Math.abs(n.t-r.t)<h)||c.push(r);return c.sort((r,n)=>r.t-n.t)}export async function sceneryCuts(t){return(await t.ask("scenery.cuts",{fps:t.timeline.fps})).flatMap(a=>a.answer)}export function filmWords(t){return t.flatMap(s=>s.words.map(a=>({...a,part:s.part}))).sort((s,a)=>s.start-a.start)}export function wordsAround(t,s,a=6){const e=t.filter(c=>c.start<s-1e-6).slice(-a),h=t.filter(c=>c.start>=s-1e-6).slice(0,a);return{before:e.map(c=>c.text).join(" "),after:h.map(c=>c.text).join(" ")}}export function stripFrames(t,s,a,e,h={}){const c=(h.offsets??[1,.5,.2]).map(o=>-Math.abs(o)),r=h.windowFrames??5,n=Math.max(0,a-1),f=Math.min(Math.max(Math.ceil(t*s-1e-6),0),n),i=e?Math.round(e.start*s):f,u=e?Math.round(e.end*s):f,p=Math.min(r,u-i),d=p>0?Array.from({length:p},(o,l)=>p===1?i:i+Math.round(l*(u-1-i)/(p-1))):[],m=(d.length>0?[...c.slice(0,2).map(o=>Math.round((t+o)*s)),i-1,...d,u,...c.slice(0,2).map(o=>Math.round((t-o)*s))]:[...c.map(o=>Math.round((t+o)*s)),f-1,f,...c.map(o=>Math.round((t-o)*s))]).map(o=>Math.min(Math.max(o,0),n));return[...new Set(m)].sort((o,l)=>o-l).map(o=>({n:o,t:o/s,side:o<f?"before":"after",...o>=i&&o<u?{window:!0}:{}}))}export const partFolder=t=>t.replace(/[^\p{L}\p{N}_-]/gu,"_");
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{readFile as A}from"node:fs/promises";import{join as F}from"node:path";import{contentBox as B,fact as S,freeBandsData as O,indexPath as $,layoutFacts as q,placementAt as j,sourceAt as z,speechShown as T}from"@allyhub/video-core";import{runFfmpegWith as D}from"@allyhub/render";export function matteOutline(i){const o=(t,n)=>t>=0&&n>=0&&t<i.width&&n<i.height&&(i.data[n*i.width+t]??0)>127,f=[];for(let t=0;t<=i.height;t++){let n=-1;for(let s=0;s<=i.width;s++){const a=s<i.width&&o(s,t-1)!==o(s,t);a&&n<0&&(n=s),!a&&n>=0&&(f.push(`M${String(n)} ${String(t)}H${String(s)}`),n=-1)}}for(let t=0;t<=i.width;t++){let n=-1;for(let s=0;s<=i.height;s++){const a=s<i.height&&o(t-1,s)!==o(t,s);a&&n<0&&(n=s),!a&&n>=0&&(f.push(`M${String(t)} ${String(n)}V${String(s)}`),n=-1)}}return f.join("")}async function H(i,o){try{const f=JSON.parse(await A(F(i,$(o,"matte.json")),"utf8"));return f.version===2&&typeof f.width=="number"&&typeof f.height=="number"?{width:f.width,height:f.height}:void 0}catch{return}}export class Mattes{frames=new Map;sizes=new Map;src;constructor(o){this.src=o}has(o){return this.src.media[o]?.matte===!0}frame(o,f){const t=`${o}@${f.toFixed(3)}`;let n=this.frames.get(t);return n||(n=this.read(o,f),this.frames.set(t,n)),n}async read(o,f){const t=this.src.media[o]?.sha256;if(!t)return;let n=this.sizes.get(t);n||(n=H(this.src.root,t),this.sizes.set(t,n));const s=await n;if(s)try{const{out:a}=await D(this.src.ffmpeg,["-v","error","-ss",Math.max(0,f).toFixed(3),"-i",F(this.src.root,$(t,"matte.mp4")),"-frames:v","1","-vf","extractplanes=y","-f","rawvideo","-pix_fmt","gray","-"],void 0,!0);return a.length>=s.width*s.height?{...s,data:a}:void 0}catch{return}}}export function personShare(i,o,f,t,n){const s=j(o,f),a=s.crop??[0,0,t.width,t.height],p=s.picture;if(p[2]<=0||p[3]<=0||i[2]<=0||i[3]<=0)return 0;const c=Math.min(48,Math.max(1,Math.ceil(i[2]/4))),g=Math.min(48,Math.max(1,Math.ceil(i[3]/4))),w=(r,d,u)=>r>=(u[0]??0)&&r<(u[0]??0)+(u[2]??0)&&d>=(u[1]??0)&&d<(u[1]??0)+(u[3]??0);let h=0;for(let r=0;r<g;r++)for(let d=0;d<c;d++){const u=i[0]+(d+.5)*i[2]/c,y=i[1]+(r+.5)*i[3]/g;if(!w(u,y,s.box)||!w(u,y,p))continue;const l=a[0]+(u-p[0])*a[2]/p[2],x=a[1]+(y-p[1])*a[3]/p[3],m=Math.floor(l*n.width/t.width),e=Math.floor(x*n.height/t.height);m<0||e<0||m>=n.width||e>=n.height||(n.data[e*n.width+m]??0)>127&&h++}return Math.round(h/(c*g)*1e3)/1e3}export function matteRows(i,o,f,t,n,s){const a=j(i,o),p=a.crop??[0,0,f.width,f.height],c=a.picture;if(c[2]<=0||c[3]<=0||p[2]<=0||p[3]<=0)return[];const g=Math.max(n[0],a.box[0],c[0]),w=Math.min(n[1],a.box[0]+a.box[2],c[0]+c[2]);if(w<=g)return[];const h=e=>Math.floor((p[0]+(e-c[0])*p[2]/c[2])*t.width/f.width),r=Math.max(0,h(g)),d=Math.min(t.width-1,h(w-1e-6));if(d<r)return[];const u=new Uint8Array(t.height);for(let e=0;e<t.height;e++){const k=e*t.width;for(let M=r;M<=d;M++)if((t.data[k+M]??0)>127){u[e]=1;break}}const y=Math.max(Math.floor(s[0]),Math.floor(a.box[1]),Math.floor(c[1])),l=Math.min(Math.ceil(s[1]),Math.ceil(a.box[1]+a.box[3]),Math.ceil(c[1]+c[3])),x=[];let m=-1;for(let e=y;e<=l;e++){let k=!1;if(e<l){const M=p[1]+(e+.5-c[1])*p[3]/c[3],b=Math.floor(M*t.height/f.height);k=b>=0&&b<t.height&&u[b]===1}k&&m<0&&(m=e),!k&&m>=0&&(x.push([m,e]),m=-1)}return x}async function J(i,o,f,t,n,s){const a=[],p=B(i.width,i.height,i.safe);for(const c of o.parts){const g=(o.footage??[]).filter(e=>e.part===c.key),w=g.filter(e=>t.media[e.file]?.faces),h=g.filter(e=>n.has(e.file));if(w.length===0&&h.length===0)continue;const r=i.moments.filter(e=>e.part===c.key);if(r.length===0)continue;const d=[...new Set(g.map(e=>e.file))],u=e=>[...new Set(e.map(k=>k.file))],y=new Set(w.map(e=>e.speaker??t.media[e.file]?.faces?.speaker)),l=y.size===1?[...y][0]:void 0,x=[];for(const e of r){const k=[];for(const M of h){if(e.t<M.start||e.t>=M.end)continue;const b=t.media[M.file];if(b?.width===void 0||b.height===void 0)continue;const v=await n.frame(M.file,z(M,e.t));v&&k.push(...matteRows(M,e.t,{width:b.width,height:b.height},v,p.x,[0,i.height]))}x.push(k)}const m=O({width:i.width,height:i.height,safe:i.safe,...s?{profile:s}:{},moments:r.map(e=>e.t),face:w.length>0?{files:u(w),...l===void 0?{}:{speaker:l},boxes:r.map(e=>e.face)}:{missing:"face-track",files:d},person:h.length>0?{files:u(h),rows:x}:{missing:"person-matte",files:d}});a.push(S("free-bands",{...f,part:c.key,t:r[0]?.t??c.start},m))}return a}export async function measuredFacts(i,o,f,t,n){const s={piece:f.piece,output:f.output,combo:f.combo,format:f.format},a=q(i,s,n),p=i.reading?.texts??[];for(const h of o.parts){const r=h.speech?.heard;r!==void 0&&a.push(S("speech-on-screen",{...s,part:h.key,t:h.start},T(r,p.filter(d=>d.part===h.key).map(d=>d.text.text))))}const c=new Mattes(t);a.push(...await J(i,o,s,t,c,n));const g=(o.footage??[]).filter(h=>c.has(h.file));if(g.length===0)return a;const w=(h,r)=>h.text===r.text&&h.box.join()===r.box.join();for(const h of i.moments){const r=g.filter(d=>h.t>=d.start&&h.t<d.end);if(!(r.length===0||h.texts.length===0))for(const d of h.texts){let u;for(const l of r){const x=t.media[l.file];if(x?.width===void 0||x.height===void 0)continue;const m=await c.frame(l.file,z(l,h.t));if(!m)continue;const e=personShare(d.box,l,h.t,{width:x.width,height:x.height},m);e>0&&e>(u?.ofText??0)&&(u={ofText:e,file:l.file})}if(!u)continue;const y=a.find(l=>l.kind==="text-speaker"&&l.t===h.t&&l.part===h.part&&w(l.data.text,d));y?.kind==="text-speaker"?y.data.person=u:a.push(S("text-speaker",{...s,part:h.part,t:h.t},{text:d,person:u}))}}return a}export function matrixFacts(i){const o=i.matrix;if(!o)return[];const f=Object.entries(o.space.slots).flatMap(([t,n])=>n.map(s=>({slot:t,candidate:s.name,combos:o.picks.filter(a=>a.combo[t]===s.name).map(a=>a.id)})));return[S("matrix-coverage",{piece:i.id},{choice:o.choice,...o.pick===void 0?{}:{pick:o.pick},...o.valid===void 0?{}:{possible:o.valid},chosen:o.picks.length,candidates:f})]}
@@ -1,3 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{cropImage as O,readPng as T}from"@allyhub/render";import{compareImages as U}from"./compare.js";import{FIDELITY_DEFAULTS as $,shrinkLinear as B}from"@allyhub/scenery-host/fidelity";import{fact as F}from"@allyhub/video-core";const h=e=>Math.round(e*1e3)/1e3,D=e=>Math.round(e*10)/10,P=(e,s,a)=>e[0]-a<s[0]+s[2]&&s[0]<e[0]+e[2]+a&&e[1]-a<s[1]+s[3]&&s[1]<e[1]+e[3]+a;export function fidelityOf(e,s,a,c,l){const x=B(e,s.width,s.height),{result:i,side:m}=U(x,s,{tolerance:l.tolerance,background:l.backdrop,gap:l.gap,shift:0,resize:"stretch"}),u=a[0]/s.width,p=a[1]/s.height;return{side:m,data:{deltaE:i.deltaE,channels:{r:h(i.channels.r.mean),g:h(i.channels.g.mean),b:h(i.channels.b.mean),alpha:h(i.channels.alpha.mean)},share:i.pixels>0?h(i.differing/i.pixels):0,regions:i.regions.slice(0,l.regions).map(o=>{const w=[D(o.box[0]*u),D(o.box[1]*p),D(o.box[2]*u),D(o.box[3]*p)];return{box:w,share:i.pixels>0?h(o.pixels/i.pixels):0,meanDeltaE:o.meanDeltaE,maxDeltaE:o.maxDeltaE,elements:c.flatMap((M,g)=>P(w,M.box,Math.max(u,p))?[g]:[])}})}}}async function L(e,s,a){return(await e.ask(s,a)).find(l=>l.answer!==null)?.answer}export async function screenFidelity(e,s={},a={}){const c={...$,...s},l=a.at??e.timeline.parts.map(n=>n.still),x=(await e.ask("scenery.fidelity",{times:l,...a.at===void 0?{}:{every:!0}})).flatMap(n=>n.answer),i=[],m=[];if(x.length===0)return{facts:i,sheets:m};const{piece:u,output:p,combo:o,format:w}=e.target,M=`rgb(${c.backdrop.join(", ")})`;let g;try{for(const n of x){const j={piece:u,output:p,combo:o,format:w,...n.part===void 0?{}:{part:n.part},t:Math.round((n.partStart+n.start)*1e6)/1e6};for(const f of n.screens){const z={layer:n.layer,start:n.start,end:n.end,screen:f.mesh,at:n.at,size:f.size,tolerance:c.tolerance,backdrop:[...c.backdrop]},y=b=>{i.push(F("scenery-screen-fidelity",j,{...z,missing:b}))};if(f.missing!==void 0){y(f.missing);continue}g!==n.t&&(await e.seek(n.t),g=n.t);let r,t,d;try{if(r=await L(e,"scenery.fidelity.read",{id:n.id,mesh:f.mesh,most:c.width}),typeof r=="object"&&r!==null&&(t=await L(e,"scenery.fidelity.lift",{id:n.id,mesh:f.mesh,backdrop:M}),typeof t=="object"&&t!==null))try{d=await e.grab(t.box)}finally{await e.ask("scenery.fidelity.restore",void 0)}}catch(b){y(`it could not be compared: ${(b instanceof Error?b.message:String(b)).split(`
3
- `)[0]??""}`);continue}if(typeof r!="object"||r===null){y(r??"its scenery layer did not answer");continue}if(typeof t!="object"||t===null||!d){y(typeof t=="string"?t:"its element could not be laid flat");continue}const S={width:r.width,height:r.height,data:new Uint8Array(Buffer.from(r.data,"base64"))},k=T(d.png),E=d.x===t.box[0]&&d.y===t.box[1]&&k.width===t.box[2]&&k.height===t.box[3]?k:O(k,[t.box[0]-d.x,t.box[1]-d.y,t.box[2],t.box[3]]);if(!E){y("its element, laid flat, was not in the capture");continue}const I=fidelityOf(E,S,f.size,t.elements,c),A=F("scenery-screen-fidelity",j,{...z,texture:{level:r.level,size:[r.width,r.height],of:r.size,element:t.element},flat:[E.width,E.height],...I.data,...t.elements.length>0?{elements:t.elements}:{}});i.push(A),a.sheet&&m.push(await a.sheet(I.side,A))}}}finally{await e.ask("scenery.fidelity.restore",void 0).catch(()=>[])}return{facts:i,sheets:m}}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{deckFacts as R}from"@allyhub/slides-core";import{facesOnFrame as Y,placementAt as C,sourceAt as D}from"@allyhub/video-core";import{matteOutline as F}from"./facts.js";const $=s=>Math.round(s*10)/10,O=s=>[$(s[0]??0),$(s[1]??0),$(s[2]??0),$(s[3]??0)];export async function frameOverlay(s,x,f,w,u){const h=f.width,o=f.height,r=f.safe,g=[[0,0,h,r.top],[0,o-r.bottom,h,r.bottom],[0,r.top,r.left,o-r.top-r.bottom],[h-r.right,r.top,r.right,o-r.top-r.bottom]].filter(e=>e[2]>0&&e[3]>0);let c;for(const e of f.moments)Math.abs(e.t-s)<1/x.fps&&(!c||Math.abs(e.t-s)<Math.abs(c.t-s))&&(c=e);const t={faces:[],person:[],covered:g,texts:(c?.texts??[]).map(e=>({layer:e.layer,text:e.text,box:e.box})),shapes:[],guides:[],missing:[]},p=f.deck?.slides.find(e=>e.slide===c?.part);if(f.deck&&p){t.shapes=p.shapes.map(i=>({name:i.name,box:i.box}));const e=i=>i==="slide"?[0,0,h,o]:p.shapes.find(a=>a.name===i)?.box;for(const i of R({pxPerPt:f.deck.pxPerPt,slides:[p]},{width:h,height:o},{piece:""})){if(i.kind!=="near-alignment")continue;const a=i.data,d=n=>a.line==="left"?n[0]:a.line==="right"?n[0]+n[2]:a.line==="centre-x"?n[0]+n[2]/2:a.line==="top"?n[1]:a.line==="bottom"?n[1]+n[3]:n[1]+n[3]/2,l=["left","right","centre-x"].includes(a.line)?"x":"y";for(const n of[a.a,a.b]){const m=e(n);m&&t.guides.push({axis:l,at:$(d(m)),label:`${a.a}/${a.b} ${String(a.gap)} pt`})}}}for(const e of(x.footage??[]).filter(i=>s>=i.start&&s<i.end)){const i=w[e.file],a=i?.faces;if(a){const A=e.speaker??a.speaker;for(const y of Y(e,a,s))t.faces.push({id:y.id,box:O(y.box),speaker:y.id===A,file:e.file})}else t.missing.push(`face-track ${e.file}`);if(!u.has(e.file)){t.missing.push(`person-matte ${e.file}`);continue}if(i?.width===void 0||i.height===void 0)continue;const d=await u.frame(e.file,D(e,s));if(!d){t.missing.push(`person-matte ${e.file}`);continue}const l=C(e,s),n=l.crop??[0,0,i.width,i.height],m=l.picture[2]/n[2],M=l.picture[3]/n[3];t.person.push({file:e.file,path:F(d),matrix:[i.width/d.width*m,i.height/d.height*M,l.picture[0]-n[0]*m,l.picture[1]-n[1]*M],clip:O(l.box)})}return t.missing=[...new Set(t.missing)],t}const b="#ffd400",P="#00e5ff",v="#ff3b30",k="#5cff5c",S="#ff4fd8",E="#ff9500";export const OVERLAY_KEY=[[b,"face boxes with ids (solid: the speaker the layer follows)"],[P,"person matte outline"],[v,"covered areas"],[k,"text boxes, with their layer"]],DECK_OVERLAY_KEY=[[S,"shapes as drawn, with their names"],[k,"text, with its shape"],[E,"lines nearly in line (near-alignment)"]];const K=s=>s.replace(/[&<>]/g,x=>({"&":"&amp;","<":"&lt;",">":"&gt;"})[x]??x);export function overlaySvg(s,x,f,w,u){const h=u/Math.max(w,1e-6),o=t=>String(Math.round(t*10)/10),r=(t,p)=>`<rect x="${o(t[0])}" y="${o(t[1])}" width="${o(t[2])}" height="${o(t[3])}" vector-effect="non-scaling-stroke" ${p}/>`,g=(t,p,e,i,a=!1)=>{const d=(e.length*.6+.6)*h,l=h*1.3,n=Math.max(0,Math.min(p-l,f-l)),m=Math.max(0,Math.min(a?t-d:t,x-d));return`<rect x="${o(m)}" y="${o(n)}" width="${o(d)}" height="${o(l)}" fill="rgba(0,0,0,.72)"/><text x="${o(m+h*.3)}" y="${o(n+h*1.02)}" font-size="${o(h)}" fill="${i}">${K(e)}</text>`},c=s.covered.map(t=>r(t,`fill="${v}" fill-opacity=".14" stroke="${v}" stroke-width="2" stroke-dasharray="6 4"`));s.person.forEach((t,p)=>{c.push(`<clipPath id="pc${String(p)}">${r(t.clip,"")}</clipPath><g clip-path="url(#pc${String(p)})"><path d="${t.path}" transform="matrix(${String(t.matrix[0])} 0 0 ${String(t.matrix[1])} ${o(t.matrix[2])} ${o(t.matrix[3])})" fill="none" stroke="${P}" stroke-width="2" vector-effect="non-scaling-stroke"/></g>`)});for(const t of s.texts)c.push(r(t.box,`fill="none" stroke="${k}" stroke-width="2"`),g(t.box[0],t.box[1],t.layer,k));for(const t of s.shapes)c.push(r(t.box,`fill="none" stroke="${S}" stroke-width="1" stroke-dasharray="4 3"`),g(t.box[0]+t.box[2],t.box[1]+1.3*h,t.name,S,!0));for(const t of s.guides)c.push(t.axis==="x"?`<line x1="${o(t.at)}" y1="0" x2="${o(t.at)}" y2="${String(f)}" stroke="${E}" stroke-width="1" vector-effect="non-scaling-stroke"/>`:`<line x1="0" y1="${o(t.at)}" x2="${String(x)}" y2="${o(t.at)}" stroke="${E}" stroke-width="1" vector-effect="non-scaling-stroke"/>`);for(const t of s.faces)c.push(r(t.box,`fill="none" stroke="${b}" stroke-width="${t.speaker?"3":"2"}"${t.speaker?"":' stroke-dasharray="8 5"'}`),g(t.box[0],t.box[1],`face ${String(t.id)}${t.speaker?" speaker":""}`,b));return s.missing.length>0&&c.push(g(0,f,`not measured: ${s.missing.join("; ")}`,"#ffffff")),`<svg class="ov" viewBox="0 0 ${String(x)} ${String(f)}" preserveAspectRatio="xMidYMid meet" font-family="sans-serif" font-weight="600">${c.join("")}</svg>`}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{RECORDING_MEASURE_DEFAULTS as x,SAMPLE_RATE as y,VOICE_FIT_DEFAULTS as A,fitVoice as _,measureRecording as p,recordedSpeech as T}from"@allyhub/audio";import{mkdtemp as j,rm as D}from"node:fs/promises";import{tmpdir as I}from"node:os";import{join as k}from"node:path";import{decodeStereo as E,ffmpegOf as N}from"@allyhub/audio/node";import{ProjectError as $}from"@allyhub/project";import{mixSound as F}from"@allyhub/render";import{recordingDifference as L}from"./sound-measures.js";import{versionVoice as M}from"./version-voice.js";const U=e=>Math.round(e*10)/10;export async function fileRecording(e,i={},o={}){return p(await E(e,{},o),y,{...x,...i})}export async function recordingReport(e){const{voice:i,timeline:o,ask:s}=e,m=e.ffmpeg===void 0?{}:{ffmpeg:e.ffmpeg},n={...x,...s.measure},u=i.rate,S=i.groups.some(t=>t.clips.length>0)||i.plain[0].some(t=>t!==0),f=e.mix&&(s.mix===!0||!S)?e.mix:void 0,h=f?p(f,y,n):p(T(i),u,n),l=o.audio.mic?.video??!1,g=i.groups.findIndex(t=>JSON.stringify(t.voice)===JSON.stringify(l)),w=i.setting??"studio",d=Object.keys(o.audio.mic?.parts??{}),a=[];f&&a.push(s.mix===!0?"The piece is measured whole, its mix as mastered: the music and everything under the voice with it, as a file is.":"The piece says nothing: its mix, as mastered, is measured whole, as a file is.");let c,r;const v={...A,...s.fit,measure:n};return e.file!==void 0&&(c=await fileRecording(e.file,n,m),a.push("The file is measured whole: music or any other sound under its voice is measured with it."),s.fit&&(f?a.push("The fit records the piece's speech, so it fits nothing when the piece is measured whole."):g<0?a.push(l===!1?"The video's voice is played as it is (mic: false): there is no setting to fit.":"No part speaks with the video's own mic setting: there is none to fit."):(r=_(w,t=>T(i,{index:g,voice:t}),c,u,v),d.length>0&&a.push(`The fit sets the video's voice; ${d.join(", ")} keep${d.length===1?"s":""} the setting of ${d.length===1?"its":"their"} own.`)))),{measured:f?"mix":"speech",setting:w,groups:i.groups.map(t=>({setup:t.voice.setup,parts:t.parts,speech:U(t.clips.reduce((R,O)=>R+O.dur,0))})),piece:h,...c?{file:c,difference:L(h,c)}:{},...r?{fit:{setting:r.setting,moved:r.moved,distance:r.distance,limited:r.limited,after:r.after,notes:r.notes}}:{},options:{measure:n,...s.fit?{fit:v}:{}},notes:a}}export async function versionRecording(e,i={}){if(e.target.output!=="video")throw new $("not-video",`${e.target.piece} is not a video, so it has no sound.`,"usage");const o=await N(i),s={ffmpeg:o},m=await j(k(I(),"allyhub-recording-"));try{const n=k(m,"mix.wav");return await F({timeline:e.timeline,sound:await e.sound(s),out:n,ffmpeg:o}),await recordingReport({voice:await M(e,s),timeline:e.timeline,ask:i.ask??{},mix:await E(n,{},s),...i.file===void 0?{}:{file:i.file},ffmpeg:o})}finally{await D(m,{recursive:!0,force:!0})}}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{mkdtemp as v,rm as B}from"node:fs/promises";import{tmpdir as I}from"node:os";import{join as O}from"node:path";import{SceneScorer as N,beats as D,frameAt as E,pickShots as G,sheetHtml as K}from"@allyhub/media";import{mixSound as X,readPng as q}from"@allyhub/render";import{joinedWords as z}from"@allyhub/video-core";import{filmWords as J,listCuts as Q,sceneryCuts as V}from"../cuts.js";import{MAX_GROUP as A,alignSections as Y,compareSections as Z}from"./compare.js";import{labelsOf as tt,referenceSections as et}from"./interpret.js";import{measurePacing as st,numbersOf as L}from"./sections.js";import{textSeconds as nt}from"./text.js";const _=64,ot=.3,T=8,F=o=>Math.round(o*1e3)/1e3;function rt(o,p){const e=q(o);if(p){const d=e.data;for(let h=0;h<d.length;h+=4){const m=(d[h+3]??255)/255;for(let c=0;c<3;c++)d[h+c]=Math.round((d[h+c]??0)*m+(p[c]??0)*(1-m))}}const r=_,u=Math.max(1,Math.round(e.height*r/e.width)),i=new Uint8Array(r*u*3);for(let d=0;d<u;d++){const h=Math.floor(d*e.height/u),m=Math.max(h+1,Math.floor((d+1)*e.height/u));for(let c=0;c<r;c++){const a=Math.floor(c*e.width/r),g=Math.max(a+1,Math.floor((c+1)*e.width/r)),l=[0,0,0];for(let f=h;f<m;f++)for(let x=a;x<g;x++){const y=(f*e.width+x)*4;for(let w=0;w<3;w++)l[w]=(l[w]??0)+(e.data[y+w]??0)}const n=(m-h)*(g-a);for(let f=0;f<3;f++)i[(d*r+c)*3+f]=Math.round((l[f]??0)/n)}}return{rgb:i,w:r,h:u}}async function at(o,p,e,r,u,i){const d=[],h=1/e,m=Math.round(ot*e);for(const c of o){const a=Math.round(c*e),g=Math.max(0,a-m),l=Math.min(Math.round(r*e)-1,a+m);let n;for(let s=g;s<=l;s++){const t=rt(await p(s*h),i);n??=new N(t.w,t.h),n.push(t.rgb)}if(!n)continue;const f=n.changes(Math.max(1,Math.round(e*.2))),y=G(n.jumps,f,e,u).cuts.some(s=>Math.abs(g*h+s.t-c)<=h*1.5);let w=0;for(let s=a-g-1;s<=a-g+1;s++)w=Math.max(w,n.jumps[s]??0,f[s]??0);d.push({t:F(c),score:F(Math.min(1,w)),cut:y})}return d}export async function measurePiece(o,p){const e=o.timeline,r=1/e.fps,u=z(J(await o.version.stage.lines()),r),i=Q(e,o.prepared.media,await V(o.version)).map(t=>t.t);for(const t of e.footage??[]){const[M,$,S,j]=t.box;if(M>.5||$>.5||M+S<e.width-.5||$+j<e.height-.5)continue;const k=e.parts.find(P=>P.key===t.part);k&&(t.start>k.start+r/2&&i.push(t.start),t.end<k.end-r/2&&i.push(t.end))}const d=[];for(const t of i.sort((M,$)=>M-$)){const M=d.at(-1);M!==void 0&&t-M<r/2||d.push(t)}const h=(e.footage??[]).length===0?/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e.background):null,m=h?[1,2,3].map(t=>parseInt(h[t]??"0",16)):void 0,c=t=>Math.min(t,e.duration-r),a=await at(d,t=>m?o.version.thumb(c(t),_*2):o.still(c(t),{raw:!0}),e.fps,e.duration,p,m),g=a.filter(t=>t.cut).map(t=>({t:t.t,score:1})),l=await o.version.measure(),n=e.duration,f=t=>t.toLowerCase().replace(/[^\p{L}\p{N}]/gu,""),x=new Set(u.map(t=>f(t.text))),y=(l.reading?.texts??[]).filter(t=>t.text.viewport!==!0&&t.spans.length>0).sort((t,M)=>t.first-M.first).map((t,M)=>{const[$,S,j,k]=t.text.box,P=t.text.text.match(/\p{L}/gu)??[],W=t.text.text.split(/\s+/).map(f).filter(Boolean),C=Math.min(...t.spans.map(b=>b[0])),H=Math.max(...t.spans.map(b=>b[1]));return{id:M,text:t.text.text,box:[$/l.width,S/l.height,j/l.width,k/l.height],height:k/l.height,conf:100,words:t.words,upper:P.length===0?0:P.filter(b=>b!==b.toLowerCase()).length/P.length,start:C,end:H,spans:t.spans,seconds:t.seconds,seen:Math.max(1,t.spans.length),frames:n>0?Math.min(1,t.seconds/n):0,spread:n>0?Math.min(1,(H-C)/n):0,said:W.length===0?0:W.filter(b=>x.has(b)).length/W.length}}),w=await v(O(I(),"allyhub-compare-mix-"));let s=0;try{const t=O(w,"mix.wav");await X({timeline:e,sound:await o.sound(),out:t}),s=(await D(t)).onsets.length}finally{await B(w,{recursive:!0,force:!0})}return{m:{duration:n,words:u,cuts:g,text:y},onsets:s,places:a}}export async function comparePiece(o,p){const{ref:e}=p,r=et(e,p.words,p.interpretation),u=o.timeline,{m:i,onsets:d,places:h}=await measurePiece(o,{threshold:e.shots.threshold,minShot:e.shots.minShot,weakFloor:e.shots.weakFloor,prominence:e.shots.prominence}),m=u.parts.map(s=>({key:s.key,labels:tt([s.key,...s.tags??[]]),...L(s.start,s.end,i)})),c=p.by==="time"?[]:Y(r.sections,m),a=p.by??(c.length>0||m.length===0?"parts":"time"),g=p.by===void 0&&a==="time"?`its ${String(m.length)} part${m.length===1?"":"s"} cannot be aligned to the reference's ${String(r.sections.length)} sections (a part matches at most ${String(A)}, and a section at most ${String(A)} parts)`:void 0,l=a==="time"?r.sections.map(s=>{const t=Math.min(s.start,u.duration),M=Math.min(s.end,u.duration);return{key:u.parts.filter(S=>S.start<M&&S.end>t).map(S=>S.key).join("+")||"(after its end)",labels:[],...L(t,M,i)}}):[],n=a==="time"?l:m,f=a==="time"?l.map((s,t)=>({ref:[t],ours:[t],cost:0})):void 0,x=st(i,{onsets:d}),y=Z({from:r.from,sections:r.sections,cuts:e.shots.cuts,totals:{duration:e.duration,cutsPerMinute:e.pacing.cutsPerMinute,wordsPerMinute:e.pacing.wordsPerMinute,timeToFirstWord:e.pacing.timeToFirstWord,textShare:e.duration>0?F(nt(e.text,0,e.duration,r.watermarks)/e.duration):0}},{sections:n,cuts:i.cuts,totals:{duration:i.duration,cutsPerMinute:x.cutsPerMinute,wordsPerMinute:x.wordsPerMinute,timeToFirstWord:x.timeToFirstWord,textShare:x.textShare}},void 0,f),w=await p.draw(...await it(p.video,s=>o.still(Math.min(s,u.duration)),e,r,n,y));return{comparison:{...y,by:a,...g===void 0?{}:{byWhy:g},places:h.map(s=>({...s,threshold:e.shots.threshold,margin:F(s.score-e.shots.threshold)})),parts:m.map(s=>({key:s.key,start:s.start,end:s.end,words:s.words,cutsPerMinute:s.cutsPerMinute,textSeconds:s.textSeconds}))},sheet:w}}const R=o=>`${o>=0?"+":""}${String(Math.round(o*100))}%`,U=o=>o>=0?`+${o.toFixed(2)}`:`−${(-o).toFixed(2)}`;async function it(o,p,e,r,u,i){const d=(a,g)=>a+(g-a)/2,h=[];for(let a=0;a<i.matches.length;a+=T){const g=[],l=[];for(const n of i.matches.slice(a,a+T)){const f=n.ref.indices.map(y=>r.sections[y]?.said??"").join(" ");g.push({image:await E(o,d(n.ref.start,n.ref.end),{width:360,format:"jpeg"}),label:`${n.ref.names.join("+")} · ${n.ref.dur.toFixed(2)} s`,text:f.slice(0,120)});const x=n.ours.indices.map(y=>u[y]?.said??"").join(" ");l.push({image:await p(d(n.ours.start,n.ours.end)),label:`${n.ours.keys.join("+")} · ${n.ours.dur.toFixed(2)} s · ${U(n.diff.seconds)} s (${R(n.diff.share)})`,text:x.slice(0,120)})}h.push({title:"Reference",cells:g},{title:"Piece",cells:l})}const m=Math.min(T,Math.max(1,i.matches.length)),c=Math.max(900,120+m*210);return[K({title:`${e.id}: duration ${U(i.overall.diff.seconds)} s (${R(i.overall.diff.share)}) · ${String(i.summary.sectionsWithin)} of ${String(i.summary.sections)} ${r.from==="interpretation"?"sections":"neutral segments"} within ±${String(Math.round(i.summary.tolerance*100))}%`,rows:h,cols:m,width:c,aspect:e.width/e.height,titleWidth:90}),c]}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{readFile as y,readdir as j,stat as w}from"node:fs/promises";import{join as m}from"node:path";import{INTERPRETATION_FILE as $,REFERENCE_FILE as p,ReferenceSchema as E}from"@allyhub/formats";import{ReferenceError as h}from"./folder.js";const g=[/^version$/,/(^|\.)params\./,/^shots\.(threshold|minShot|weakFloor|prominence)$/,/^speech\.pause$/,/^boundaries\.cutWithin$/,/^ocr\.(confidence\.word|confidence\.short|samePlace|saidWithin)$/,/^sound\.(gap|edge|voiced)$/,/^segments\.(pause|cutWithin|minLength)$/,/^pacing\.tempo\.prior$/,/^served\./],S=[[/^audio\.recording\.spectrum$/,"hz"],[/^audio\.(bandwidth|voice)\.reach$/,"drop"],[/^picture\.(sharpnessBySpeed|noiseByLuma)$/,"from"]];function b(e,t,o){if(typeof e=="number"){Number.isFinite(e)&&(o[t]=e);return}if(!(typeof e=="boolean"||typeof e=="string"||e===null)){if(Array.isArray(e)){o[`${t}#`]=e.length;const n=S.find(([r])=>r.test(t))?.[1];if(n===void 0)return;for(const r of e){const c=r[n];if(typeof c!="number")continue;const a=`${t}[${n}=${String(c)}]`;for(const[f,i]of Object.entries(r))f===n||f==="to"||b(i,`${a}.${f}`,o)}return}if(typeof e=="object")for(const[n,r]of Object.entries(e))b(r,t===""?n:`${t}.${n}`,o)}}export function referenceNumbers(e){const t={};b(e,"",t);const o={};for(const[n,r]of Object.entries(t))g.some(c=>c.test(n))||(o[n]=r);return o}export function referenceParameters(e){const t={};b(e,"",t);const o={};for(const[n,r]of Object.entries(t))g.some(c=>c.test(n))&&(o[n]=r);return o}export function quantileOf(e,t,o){const n=e.map((i,s)=>({v:i,w:o?.[s]??1})).filter(i=>Number.isFinite(i.v)&&i.w>0).sort((i,s)=>i.v-s.v);if(n.length===0)return Number.NaN;const r=Math.min(...n.map(i=>i.w)),a=(n.reduce((i,s)=>i+s.w/r,0)-1)*Math.min(1,Math.max(0,t));let f=0;for(let i=0;i<n.length;i++){const s=n[i];if(!s)continue;const l=f+s.w/r-1;if(a<=l)return s.v;const u=n[i+1];if(u&&a<l+1)return s.v+(u.v-s.v)*(a-l);f=l+1}return n[n.length-1]?.v??Number.NaN}export function statOf(e,t){const o=e.map((c,a)=>t?.[a]??1),n=o.reduce((c,a)=>c+a,0),r=c=>quantileOf(e,c,t);return{n:e.length,min:Math.min(...e),p10:r(.1),p25:r(.25),p50:r(.5),p75:r(.75),p90:r(.9),max:Math.max(...e),mean:n>0?e.reduce((c,a,f)=>c+a*(o[f]??1),0)/n:Number.NaN}}export function percentileOf(e,t,o){let n=0,r=0,c=0;return t.forEach((a,f)=>{const i=o?.[f]??1;c+=i,a<e?n+=i:a===e&&(r+=i)}),c>0?100*(n+r/2)/c:Number.NaN}function N(e){const t=o=>typeof o=="string"||typeof o=="number"||typeof o=="boolean"?[String(o)]:[];return Array.isArray(e)?e.flatMap(t):t(e)}export function labelsMatch(e,t){return t.every(o=>N(e?.[o.key]).includes(o.value))}export function labelShares(e,t){const o={};let n=0;e.forEach((c,a)=>{const f=t?.[a]??1;n+=f;for(const[i,s]of Object.entries(c??{})){if(typeof s=="number")continue;const l=o[i]??={};for(const u of N(s))l[u]=(l[u]??0)+f}});const r={};for(const[c,a]of Object.entries(o))r[c]=Object.fromEntries(Object.entries(a).sort((f,i)=>i[1]-f[1]).map(([f,i])=>[f,n>0?i/n:0]));return r}export function labelNumbers(e){const t={};for(const[o,n]of Object.entries(e??{}))typeof n=="number"&&Number.isFinite(n)&&(t[`labels.${o}`]=n);return t}const x=async e=>(await w(e).catch(()=>{}))?.isDirectory()===!0,k=async e=>await w(m(e,p)).catch(()=>{})!==void 0;async function O(e){let t;try{t=JSON.parse(await y(m(e,p),"utf8"))}catch(r){return`${p} cannot be read (${r.message})`}const o=E.safeParse(t);if(!o.success)return`${p} is not one this AllyHub reads (measure it again)`;let n;try{const r=JSON.parse(await y(m(e,$),"utf8"));r.labels&&typeof r.labels=="object"&&!Array.isArray(r.labels)&&(n=r.labels)}catch{n=void 0}return{dir:e,id:o.data.id,numbers:{...referenceNumbers(o.data),...labelNumbers(n)},parameters:referenceParameters(o.data),...n?{labels:n}:{}}}async function M(e){const t=[];for(const o of e){if(!await x(o))throw new h("not-found",`${o} is not a folder.`,{kind:"not-found"});if(await k(o)){t.push(o);continue}const n=(await j(o,{withFileTypes:!0})).filter(r=>r.isDirectory()).map(r=>m(o,r.name)).sort();for(const r of n)await k(r)&&t.push(r)}return[...new Set(t)]}export async function referenceSet(e,t={}){const o=await M(e),n=[],r=[];for(const s of o){if(t.place!==void 0&&s===t.place)continue;const l=await O(s);if(typeof l=="string")n.push({dir:s,why:l});else{if(t.where?.length&&!labelsMatch(l.labels,t.where))continue;r.push(l)}}if(r.length===0)throw new h("empty-set",`No reference folder ${t.where?.length?`whose labels hold ${t.where.map(s=>`${s.key}=${s.value}`).join(", ")}`:`with a ${p}`} in ${e.join(", ")}.`,{kind:"not-found",hint:`Pass reference folders (allyhub reference), or folders of them; labels are ${$}'s.`});const c=[...new Set(r.flatMap(s=>Object.keys(s.numbers)))].sort();let a;if(t.place!==void 0){const s=await O(t.place);if(typeof s=="string")throw new h("bad-reference",`${t.place}: ${s}.`,{kind:"not-found"});a=s}const f={};for(const s of c){const l=r.flatMap(d=>d.numbers[s]===void 0?[]:[d.numbers[s]]),u=a?.numbers[s];f[s]={...statOf(l),...u===void 0?{}:{value:u,percentile:percentileOf(u,l)}}}const i={};for(const s of r)for(const[l,u]of Object.entries(s.parameters)){const d=i[l]??={};d[String(u)]=(d[String(u)]??0)+1}return{n:r.length,members:r.map(s=>({id:s.id,dir:s.dir})),...n.length>0?{left:n}:{},...t.where?.length?{where:[...t.where]}:{},numbers:f,labels:labelShares(r.map(s=>s.labels)),measuredWith:i,...a?{place:{id:a.id,dir:a.dir,...a.labels?{labels:a.labels}:{},alone:Object.keys(a.numbers).filter(s=>!(s in f))}}:{}}}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{normText as S}from"@allyhub/video-core";export const TEXT_DEFAULTS={samePlace:.05,saidWithin:1};export function sampleSpans(t,e){return t.map((r,o)=>{const p=o>0?((t[o-1]??0)+r)/2:0,g=o<t.length-1?(r+(t[o+1]??e))/2:e;return[Math.max(0,p),Math.min(e,g)]})}const l=t=>Math.round(t*1e3)/1e3,B=t=>{if(t.length===0)return 0;const e=[...t].sort((o,p)=>o-p),r=Math.floor(e.length/2);return e.length%2?e[r]??0:((e[r-1]??0)+(e[r]??0))/2},A=t=>[t[0]+t[2]/2,t[1]+t[3]/2],D=t=>t.split(/\s+/).map(e=>S(e)).filter(e=>e.length>0);export function observeText(t,e,r,o={}){const p=o.samePlace??TEXT_DEFAULTS.samePlace,g=o.saidWithin??TEXT_DEFAULTS.saidWithin,w=sampleSpans(t.map(u=>u.t),r),c=new Map;for(const u of e){const f=S(u.text);if(!f)continue;const s=c.get(f)??[];s.push(u.start),c.set(f,s)}const a=[],k=new Map;return t.forEach((u,f)=>{for(const s of u.lines){const m=S(s.text);if(!m)continue;const[x,y]=A(s.box),h=k.get(m)??[],M=h.find(T=>{const d=a[T]?.sightings.at(-1);if(!d||d.frame===f)return!1;const[W,E]=A(d.line.box);return Math.hypot(x-W,y-E)<p});M===void 0?(h.push(a.length),k.set(m,h),a.push({key:m,sightings:[{frame:f,line:s}]})):a[M]?.sightings.push({frame:f,line:s})}}),a.map((u,f)=>{const s=u.sightings,m=new Map;for(const n of s)m.set(n.line.text,(m.get(n.line.text)??0)+1);const x=[...m].reduce((n,i)=>i[1]>n[1]?i:n)[0],y=[0,1,2,3].map(n=>l(B(s.map(i=>i.line.box[n]??0)))),h=[];s.forEach((n,i)=>{const[b,I]=w[n.frame]??[0,0],v=h.at(-1);v&&s[i-1]?.frame===n.frame-1?v[1]=I:h.push([b,I])});const M=x.replace(/[^\p{L}]/gu,""),T=M.replace(/[^\p{Lu}]/gu,"").length,d=D(x),W=s.map(n=>t[n.frame]?.t??0),E=d.filter(n=>(c.get(n)??[]).some(i=>W.some(b=>Math.abs(i-b)<=g))).length,P=h[0]?.[0]??0,L=h.at(-1)?.[1]??P;return{id:f,text:x,box:y,height:y[3],conf:Math.round(s.reduce((n,i)=>n+i.line.conf,0)/s.length),words:x.split(/\s+/).filter(Boolean).length,upper:M.length?l(T/M.length):0,start:l(P),end:l(L),spans:h.map(([n,i])=>[l(n),l(i)]),seconds:l(h.reduce((n,[i,b])=>n+(b-i),0)),seen:s.length,frames:t.length?l(s.length/t.length):0,spread:r>0?Math.min(1,l((L-P)/r)):0,said:d.length?l(E/d.length):0}})}export function textSeconds(t,e,r,o=new Set){const p=t.filter(c=>!o.has(c.id)).flatMap(c=>c.spans).map(([c,a])=>[Math.max(c,e),Math.min(a,r)]).filter(([c,a])=>a>c).sort((c,a)=>c[0]-a[0]);let g=0,w=-1/0;for(const[c,a]of p)a<=w||(g+=a-Math.max(c,w),w=a);return l(g)}export function linesIn(t,e,r){return t.filter(o=>o.spans.some(([p,g])=>p<r&&g>e)).map(o=>o.id)}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{BANDWIDTH_DEFAULTS as w,RECORDING_MEASURE_DEFAULTS as b,SAMPLE_RATE as l,bandwidthOf as E,measureRecording as M}from"@allyhub/audio";import{analyzeSound as T,decodeStereo as x}from"@allyhub/audio/node";import{takeVoice as A}from"@allyhub/build";import{ASR_MODEL as m,MediaError as f,beats as P,cached as D,pictureStats as _,probeVideo as k,screenText as y,shots as L,transcribe as R}from"@allyhub/media";import{soundUnder as v}from"@allyhub/video-core";import{SEGMENT_RULE as F,SPLIT_DEFAULTS as U,boundaryCandidates as W,gaps as I,measurePacing as O,segments as N,sentences as C}from"./sections.js";import{TEXT_DEFAULTS as S,observeText as G}from"./text.js";export const wordOf=({confidence:e,...s})=>e===void 0?s:{...s,confidence:e};const V=.15;async function B(e,s,t){if(!s.hasAudio)return{words:[]};try{return{words:await D(e,"reference-words",{version:1,options:{model:m,lang:t.lang??null}},t,async()=>(await R(e,{...t.lang===void 0?{}:{lang:t.lang},cloud:t.cloud,signal:t.signal,onProgress:t.onProgress})).words.map(wordOf)),asr:m}}catch(n){if(t.signal?.aborted===!0||n instanceof f&&n.code==="cancelled")throw n;return{words:[],wordsMissing:{...n instanceof f?{code:n.code}:{},message:n instanceof Error?n.message:String(n),...n instanceof f&&n.hint!==void 0?{hint:n.hint}:{}}}}}async function z(e,s){const t=await T(e),n=await x(e),o=M(n,l,b),a=E(n,l,w),d=(s??[]).map(i=>[i.start,i.end]),r=d.length>0?E(n,l,{...w,pick:i=>{const c=i/l;return d.some(([h,g])=>c>=h&&c<=g)}}):void 0;return{loudness:{integrated:t.integrated??null,range:t.range??null,truePeak:t.truePeak??null},recording:{params:{...b},...o},bandwidth:{params:{...w},...a},...r?{voice:r}:{}}}export async function measureVideo(e,s={}){const t={signal:s.signal,onProgress:s.onProgress},n={root:s.root,fresh:s.fresh},o=u=>{s.onProgress?.({step:"decode",message:u})},a=await k(e,t);o("Finding cuts");const d=await L(e,{...n,...t,...s.all===!0?{all:!0}:{}});let r,i;a.hasAudio&&(o("Finding onsets and tempo"),r=await P(e,{...n,...t}),o("Measuring the sound's levels"),i=await A(e,s.root??process.cwd(),t));const c=await B(e,a,{...s,...n});o("Reading on-screen text");const h=await y(e,{...n,...t,extra:d.cuts.map(u=>u.t+V),...s.all===!0?{all:!0}:{}});o("Measuring the picture");const g=await _(e,{...n,...t,cuts:d.cuts.map(u=>u.t)});let p;return a.hasAudio&&(o("Measuring the sound as a recording"),p=await z(e,c.wordsMissing?void 0:c.words).catch(()=>{})),{info:a,...c,shots:d,...r?{beats:r}:{},...i?{levels:i}:{},ocr:h,text:G(h.frames,c.words,a.duration,S),picture:g,...p?{audio:p}:{}}}export const WORDS_MISSING_INSTEAD="No words file, sentences or pauses; word counts, words per minute and each text line's `said` share are 0 because nothing was heard. The boundary candidates and the neutral split are the cuts alone; cuts, beats, on-screen text and contact sheets are measured as usual.";export function referenceJson(e,s){const t=U,n={duration:e.info.duration,words:e.words,cuts:e.shots.cuts,weak:e.shots.weak,text:e.text},o=I(e.words),a=e.info,d=a.codec!==void 0||a.bitrate!==void 0||a.audio!==void 0;return{version:1,id:s.id,source:{file:s.file,...s.url===void 0?{}:{url:s.url},...s.title===void 0?{}:{title:s.title},sha256:s.sha256},analysedAt:(s.at??new Date).toISOString(),duration:a.duration,width:a.width,height:a.height,fps:a.fps,...d?{encoding:{...a.codec===void 0?{}:{codec:a.codec},...a.bitrate===void 0?{}:{bitrate:a.bitrate},...a.audio===void 0?{}:{audio:a.audio}}}:{},...s.words===void 0?{}:{words:s.words},wordCount:e.words.length,...e.asr===void 0?{}:{asr:e.asr},...e.wordsMissing?{wordsMissing:{...e.wordsMissing,instead:WORDS_MISSING_INSTEAD}}:{},shots:{threshold:e.shots.threshold,minShot:e.shots.minShot,weakFloor:e.shots.weakFloor,prominence:e.shots.prominence,cuts:e.shots.cuts,weak:e.shots.weak,...e.shots.candidates?{candidates:e.shots.candidates}:{}},speech:{pause:t.pause,sentences:C(e.words,t.pause),pauses:o.filter(r=>r.dur>=t.pause),...s.all===!0?{gaps:o}:{}},boundaries:{cutWithin:t.cutWithin,candidates:W(n,t)},ocr:{engine:e.ocr.engine,confidence:e.ocr.confidence,frames:e.ocr.frames.length,samePlace:S.samePlace,saidWithin:S.saidWithin,...e.ocr.frames.some(r=>r.low)?{low:e.ocr.frames.flatMap(r=>(r.low??[]).map(i=>({t:r.t,...i})))}:{}},text:e.text,pacing:O(n,{onsets:e.beats?.onsets.length??0,tempo:e.beats?.tempo}),...e.levels?{sound:v(e.levels,e.wordsMissing?void 0:e.words,(e.beats?.onsets??[]).map(r=>r.t))}:{},segments:{rule:F,pause:t.pause,cutWithin:t.cutWithin,minLength:t.minLength,list:N(n,t)},sheets:s.sheets,picture:{...e.picture,params:{...e.picture.params}},...e.audio?{audio:e.audio}:{}}}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{mkdtemp as X,rm as ee}from"node:fs/promises";import{tmpdir as te}from"node:os";import{join as j}from"node:path";import{SAMPLE_RATE as ne,drySpeech as se,integratedLoudness as oe}from"@allyhub/audio";import{ANALYZE_DEFAULTS as N,analyzeSound as ie,decodeMono as T,decodeStereo as ae,ffmpegOf as R,fileLoudness as re,spanLoudness as I}from"@allyhub/audio/node";import{VOICE_RATE as f,VOICE_SHAPE_DEFAULTS as de,estimateTempo as ce,onsetNovelty as le,pickOnsets as ue,voiceShape as C}from"@allyhub/media";import{mixSound as fe}from"@allyhub/render";import{joinedWords as me,measureVoice as pe,paceOf as he,soundUnder as we,speechUnits as ge}from"@allyhub/video-core";import{ONSET_TOLERANCE_MS as be,landings as ve,partAt as ye,speechStretches as Se,voiceStep as G}from"./sound-measures.js";import{ProjectError as Me}from"@allyhub/project";import{versionVoice as ke}from"./version-voice.js";const x=r=>Math.round(r*10)/10,y=r=>Math.round(r*1e3)/1e3,q=.1;async function z(r,o,c,l){const i={noise:c.silence?.noise??N.noise,min:c.silence?.min??N.minSilence},d=await ie(r,{ffmpeg:l,noise:i.noise,minSilence:i.min}),S=le(d.samples,d.rate,c.onsets),M=ue(S,c.onsets),w=ce(S),u=pe(await T(r,f,{ffmpeg:l}),f),$=n=>n===void 0?null:x(n);return{analysis:d,basics:{duration:y(d.duration),loudness:{integrated:d.integrated??null,range:d.range??null,truePeak:d.truePeak??null,samplePeak:$(d.samplePeak),rms:$(d.rms)},clipped:d.clipped,silences:d.silences.map(n=>({start:y(n.start),end:y(n.end),duration:y(n.duration)})),onsets:M,pace:he(d.duration,M.length,w,o??[]),sound:we(u,o,M.map(n=>n.t),c.sound),options:{silence:i,onsets:c.onsets??{}}}}}export async function fileSoundReport(r,o={}){const c=await R(o),{basics:l}=await z(r,void 0,o,c);return{source:{kind:"file",file:r},...l}}export async function soundReport(r,o={}){if(r.target.output!=="video")throw new Me("not-video",`${r.target.piece} is not a video, so it has no sound.`,"usage");const c=await R(o),l={ffmpeg:c},i=r.timeline,d=await r.sound(l),S=await X(j(te(),"allyhub-audio-"));try{const M=async e=>fe({timeline:i,sound:d,out:e,ffmpeg:c});let w=o.file,u;w===void 0&&(w=j(S,"mix.wav"),u=await M(w));const $=me(await r.version.stage.words(),1/i.fps),{basics:n,analysis:L}=await z(w,$,o,c),B=n.sound.words&&n.sound.between&&n.sound.between.seconds>=1?x(n.sound.words.median-n.sound.between.median):null,k=new Map;for(const e of i.audio.speech??[])k.set(e.file,"speech");i.audio.music?.file&&k.set(i.audio.music.file,"music");for(const e of i.footage??[])e.audio&&e.take!==!0&&k.set(e.file,"footage");for(const e of i.cues)e.file!==void 0&&k.set(e.file,"sfx");const F=[];for(const[e,t]of k){const s=d.sources.file(e),a=s===void 0?void 0:await re(s,l).catch(()=>{});F.push({file:e,as:t,lufs:a?x(a.lufs):null,by:a?.by??null})}const H=ve(i.parts,i.cues,n.onsets,o.tolerance),O=new Map,K=e=>{let t=O.get(e);if(!t){const s=d.sources.file(e);t=s===void 0?Promise.resolve(void 0):T(s,f,l).catch(()=>{}),O.set(e,t)}return t},W=async e=>{const t=await K(e.file);if(!t)return null;const s=Se(e).map(({from:g,dur:A})=>t.subarray(Math.max(0,Math.round(g*f)),Math.round((g+A)*f))),a=new Float32Array(s.reduce((g,A)=>g+A.length,0));let p=0;for(const g of s)a.set(g,p),p+=g.length;const m=ge(e.heard??""),h=m.words+m.cjk,D=e.end-e.start;return{...C(a,f,o.voice),...h>0&&D>0?{pace:Math.round(h/D*100)/100}:{}}},P=o.file===void 0?void 0:await T(o.file,f,l).catch(()=>{}),Y=e=>{if(!P)return null;const t=P.subarray(Math.max(0,Math.round(e.start*f)),Math.round(e.end*f));return t.length>0?C(t,f,o.voice):null},U=await ke(r,l),Z=se(U),J=await ae(w,{},l),V=(e,t,s,a)=>{const p=oe(e.map(m=>m.subarray(Math.max(0,Math.round(s*t)),Math.round(a*t))),t);return p===void 0?null:x(p)},b=[];for(const e of i.parts){const t=e.speech;if(!t)continue;const s=I(L.frames,t.start,t.end),a=await W(t),p=b.at(-1)?.voice,m=o.file===void 0?void 0:Y(t);b.push({part:e.key,start:t.start,end:t.end,file:t.file,from:t.from,loudness:s.mean??null,levels:{before:V(Z,U.rate,t.start,t.end),after:V(J,ne,t.start,t.end),...e.speechGainDb===void 0?{}:{gainDb:e.speechGainDb}},gaps:n.silences.filter(h=>h.start<t.end-q&&h.end>t.start+q).map(h=>({start:y(Math.max(h.start,t.start)),end:y(Math.min(h.end,t.end))})),voice:a,...p&&a?{step:G(p,a)}:{},...m===void 0?{}:{fileVoice:m},...a&&m?{fileStep:G(a,m)}:{}})}const v=[];for(const[e,t]of b.entries()){const s=b[e+1];s&&s.start<t.end-.001&&v.push(`The speech of ${t.part} and ${s.part} overlap (${s.start.toFixed(2)} < ${t.end.toFixed(2)} s): words may be heard twice.`),t.gaps.length>0&&v.push(`Silence inside the speech of ${t.part}: ${t.gaps.map(a=>`${a.start.toFixed(2)}–${a.end.toFixed(2)} s`).join(", ")}.`)}o.file!==void 0&&Math.abs(n.duration-i.duration)>1/i.fps+.05&&v.push(`The file is ${n.duration.toFixed(2)} s but the video is ${i.duration.toFixed(2)} s: the cuts and cues are placed on the video's clock.`);for(const e of F)e.by==="level"&&v.push(`${e.file} is too short (or quiet) for integrated loudness: it is levelled by its K-weighted level over its whole length, ${e.lufs===null?"–":e.lufs.toFixed(1)} LUFS.`);const E=u?.target.lufs;u?.loudness&&E!==void 0&&E!==!1&&Math.abs(u.loudness.integrated-E)>.15&&v.push(`The master reached ${u.loudness.integrated.toFixed(1)} LUFS, not the ${String(E)} asked for: its limiter at ${String(u.target.truePeak)} dBTP takes what more gain would add.`);const Q=b.filter(e=>e.levels.before!==null&&e.levels.after!==null),_=e=>{const t=Q.map(s=>s.levels[e]??0);return t.length>1?x(Math.max(...t)-Math.min(...t)):null};return{source:o.file===void 0?{kind:"mix"}:{kind:"file",file:o.file},...u?{master:u}:{},...n,silences:n.silences.map(e=>{const t=ye(i.parts,e.start);return{...e,...t===void 0?{}:{part:t}}}),bedUnderVoice:B,stems:F,speechSpread:{before:_("before"),after:_("after")},...H,parts:i.parts.map(e=>{const t=I(L.frames,e.start,e.end);return{key:e.key,start:e.start,end:e.end,loudness:t.mean??null,peak:t.max??null,onsets:n.onsets.filter(s=>s.t>=e.start&&s.t<e.end).length}}),speech:b,options:{...n.options,voice:{...de,...o.voice},toleranceMs:o.tolerance??be},notes:v}}finally{await ee(S,{recursive:!0,force:!0})}}
@@ -1,41 +0,0 @@
1
- import { type TranscribeOptions } from "./transcribe.js";
2
- import type { Stretch } from "../audio.js";
3
- /**
4
- * Seconds of the file heard on each side of the stretch when not told
5
- * otherwise. Parakeet hears nothing in some stretches of under about 3 s,
6
- * and which of two close words it hears can change with the window
7
- * (measured on a talking-head take: one word heard as "observing" or
8
- * "absorbing" by window), so a stretch is heard several times, each
9
- * window wider.
10
- */
11
- export declare const HEAR_PADS: readonly number[];
12
- /** A word heard, in the file's seconds. */
13
- export interface HeardWord {
14
- text: string;
15
- start: number;
16
- end: number;
17
- /** null when the recognizer gave none. */
18
- confidence: number | null;
19
- /** In the padding around the stretch asked for, not inside it. */
20
- padding: boolean;
21
- }
22
- /** One hearing of a stretch. */
23
- export interface Hearing {
24
- /** Seconds of the file heard on each side of the stretch. */
25
- pad: number;
26
- /** The stretch decoded, seconds of the file. */
27
- heard: Stretch;
28
- /** Every word heard, padding included; the recognizer's times, not tightened. */
29
- words: HeardWord[];
30
- /** The words heard inside the stretch, as text. */
31
- text: string;
32
- }
33
- export interface Hearings {
34
- hearings: Hearing[];
35
- model: string;
36
- /** Every hearing that heard a word gave its confidence. */
37
- confidence: boolean;
38
- }
39
- /** `stretch` of `file` heard again on its own, once per padding in `pads`. */
40
- export declare function hearAgain(file: string, stretch: Stretch, pads?: readonly number[], options?: Omit<TranscribeOptions, "stretch">): Promise<Hearings>;
41
- //# sourceMappingURL=hear.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{transcribe as m}from"./transcribe.js";export const HEAR_PADS=[1,2,3];export async function hearAgain(i,o,c=HEAR_PADS,f={}){const l=e=>e.end<=o.from||e.start>=o.to,r=[];let a="",d=!0;for(const e of c){const n=await m(i,{...f,stretch:{from:Math.max(0,o.from-e),to:o.to+e}});a=n.model,n.words.length>0&&!n.confidence&&(d=!1);const s=n.words.map(t=>({text:t.text,start:t.start,end:t.end,confidence:t.confidence??null,padding:l(t)}));r.push({pad:e,heard:n.stretch??o,words:s,text:s.filter(t=>!t.padding).map(t=>t.text).join(" ")})}return{hearings:r,model:a,confidence:d}}
@@ -1,9 +0,0 @@
1
- /** Parakeet TDT 0.6B v3's 25 languages, as its model card lists them. */
2
- export declare const PARAKEET_LANGUAGES: readonly string[];
3
- /** "pt-BR" → "pt", "zh_CN" → "zh". */
4
- export declare const baseLanguage: (lang: string) => string;
5
- /** True when no language is given (Parakeet detects it) or Parakeet speaks it. */
6
- export declare function speaks(lang: string | undefined): boolean;
7
- /** Throws, saying what is covered, when local recognition does not cover `lang`. */
8
- export declare function requireLanguage(lang: string | undefined): void;
9
- //# sourceMappingURL=languages.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{MediaError as t}from"../errors.js";export const PARAKEET_LANGUAGES=["en","es","fr","de","bg","hr","cs","da","nl","et","fi","el","hu","it","lv","lt","mt","pl","pt","ro","sk","sl","sv","ru","uk"],baseLanguage=e=>e.trim().toLowerCase().split(/[-_]/,1)[0]??"";export function speaks(e){return e===void 0||PARAKEET_LANGUAGES.includes(baseLanguage(e))}export function requireLanguage(e){if(!speaks(e))throw new t("unsupported_language",`Local speech recognition for ${String(e)} is not available yet.`,{hint:`It covers ${PARAKEET_LANGUAGES.join(", ")}. For another language, make the word times another way (for example say(text) and allyhub voice, which reads it with a cloud voice).`})}
@@ -1,54 +0,0 @@
1
- import { type ToolOptions } from "../tools.js";
2
- import { ERROR_PREFIX, RESULT_PREFIX, WORKER_INPUT, type WorkerInput, type WorkerResult } from "./protocol.js";
3
- export { ERROR_PREFIX, RESULT_PREFIX, WORKER_INPUT, type WorkerInput, type WorkerResult, };
4
- export declare const MODEL = "parakeet-tdt-0.6b-v3-int8";
5
- /** The model's runtime in the runtime manager's manifest. */
6
- export declare const MODEL_RUNTIME = "parakeet";
7
- /** The runtime the decoder loads. */
8
- export declare const RUNTIME = "sherpa-onnx-node";
9
- export declare const RUNTIME_VERSION = "1.13.8";
10
- /** In the order the recognizer takes them: encoder, decoder, joiner, tokens. */
11
- export declare const MODEL_FILES: readonly string[];
12
- export interface Host {
13
- platform: string;
14
- arch: string;
15
- glibc?: string | undefined;
16
- }
17
- /** Why the runtime cannot run here, or undefined. On Linux it needs glibc 2.32 (so not musl). */
18
- export declare function unsupportedReason(host?: Host): string | undefined;
19
- /** The runtime's native package for this system (sherpa-onnx-node's optional dependency). */
20
- export declare function nativePackage(platform?: string, arch?: string): string;
21
- /** Whether the runtime and its native package for this system are on this computer. */
22
- export declare function runtimeInstalled(): boolean;
23
- /** Loads the runtime in a child, as the decoder does: undefined when it loads, else why not. */
24
- export declare function runtimeLoadError(): string | undefined;
25
- /** The model's folder, downloaded first when it is not here. */
26
- export declare function ensureModel(opts?: ToolOptions): Promise<string>;
27
- export interface Status {
28
- model: string;
29
- /** Why it cannot run on this computer, if it cannot. */
30
- unsupported?: string;
31
- runtime: {
32
- name: string;
33
- installed: boolean;
34
- version: string;
35
- };
36
- modelFiles: {
37
- installed: boolean;
38
- dir: string;
39
- bytes: number;
40
- };
41
- /** What the first transcription would download now (bytes). */
42
- download: number;
43
- languages: readonly string[];
44
- }
45
- /** What is installed, and where; reads no model file, so it is quick. */
46
- export declare function status(opts?: ToolOptions): Promise<Status>;
47
- /** The recognizer's config for sherpa-onnx's OfflineRecognizer. */
48
- export declare function recognizerConfig(dir: string): object;
49
- /** Decodes a 16 kHz mono WAV in a child process. */
50
- export declare function decode(input: WorkerInput, { seconds, signal }: {
51
- seconds: number;
52
- signal?: AbortSignal | undefined;
53
- }): Promise<WorkerResult>;
54
- //# sourceMappingURL=parakeet.d.ts.map
@@ -1,7 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{execFile as R,spawnSync as L}from"node:child_process";import{createRequire as b}from"node:module";import{join as _}from"node:path";import{pathToFileURL as y}from"node:url";import{createPackages as m}from"@allyhub/runtimes";import{nodeCommand as $,workerCommand as k}from"@allyhub/runtimes/node";import{MediaError as a,oneLine as c}from"../errors.js";import{ensureRuntime as T,runtimesOf as M}from"../tools.js";import{workerEnv as f}from"../worker-process.js";import{PARAKEET_LANGUAGES as S}from"./languages.js";import{ERROR_PREFIX as d,RESULT_PREFIX as u,WORKER_INPUT as g}from"./protocol.js";export{d as ERROR_PREFIX,u as RESULT_PREFIX,g as WORKER_INPUT};export const MODEL="parakeet-tdt-0.6b-v3-int8",MODEL_RUNTIME="parakeet",RUNTIME="sherpa-onnx-node",RUNTIME_VERSION="1.13.8",MODEL_FILES=["encoder.int8.onnx","decoder.int8.onnx","joiner.int8.onnx","tokens.txt"];const h=["darwin-arm64","darwin-x64","linux-x64","linux-arm64","win32-x64","win32-ia32"];function O(){const e=process.report.getReport();return{platform:process.platform,arch:process.arch,glibc:e.header?.glibcVersionRuntime}}export function unsupportedReason(e=O()){const r=`${e.platform}-${e.arch}`;if(!h.includes(r))return`Local speech recognition runs on ${h.join(", ")}; this computer is ${r}.`;if(e.platform!=="linux")return;if(!e.glibc)return"Local speech recognition needs glibc 2.32 or newer; this Linux has none (musl?).";const[n=0,t=0]=e.glibc.split(".").map(Number);if(!(n>2||n===2&&t>=32))return`Local speech recognition needs glibc 2.32 or newer; this computer has glibc ${e.glibc}.`}export function nativePackage(e=process.platform,r=process.arch){return`sherpa-onnx-${e==="win32"?"win":e}-${r}`}export function runtimeInstalled(){const e=m().entry(RUNTIME);if(!e)return!1;try{return b(e).resolve(`${nativePackage()}/package.json`),!0}catch{return!1}}const U=`import(process.env.ALLYHUB_SHERPA_MODULE).catch((e) => {
3
- process.stderr.write(String(e && e.message).replace(/\\s+/g, " "));
4
- process.exitCode = 1;
5
- });`;export function runtimeLoadError(){const e=m().entry(RUNTIME);if(!e)return`${RUNTIME} is not installed`;const r=y(e).href,n=L($(),["--input-type=module","-e",U],{env:f({ALLYHUB_SHERPA_MODULE:r}),encoding:"utf8",stdio:["ignore","ignore","pipe"],timeout:6e4});if(n.status===0)return;const t=n.stderr.trim();return t?c(t):n.error?c(n.error):n.signal?`loading it crashed (${n.signal})`:"it does not load"}export async function ensureModel(e={}){return(await T(MODEL_RUNTIME,"model","the Parakeet speech model",e)).dir}export async function status(e={}){const r=unsupportedReason(),n=(await M(e).status()).find(t=>t.name===MODEL_RUNTIME);if(!n)throw new a("install",`The runtime manager has no ${MODEL_RUNTIME} model.`);return{model:MODEL,...r?{unsupported:r}:{},runtime:{name:RUNTIME,installed:runtimeInstalled(),version:RUNTIME_VERSION},modelFiles:{installed:n.installed,dir:n.dir,bytes:n.size},download:n.installed?0:n.size,languages:S}}export function recognizerConfig(e){const[r,n,t,i]=MODEL_FILES.map(o=>_(e,o));return{featConfig:{sampleRate:16e3,featureDim:80},modelConfig:{transducer:{encoder:r,decoder:n,joiner:t},tokens:i,numThreads:4,provider:"cpu",debug:0,modelType:"nemo_transducer"},decodingMethod:"greedy_search"}}const A=e=>Math.max(18e5,e*2e3);function I(e,r){const n=e?e.killed?"was stopped (it took too long)":e.signal?`crashed (${e.signal})`:`exited with code ${String(e.code)}`:"exited without a result",t=r.split(`
6
- `).map(o=>o.trim()).filter(Boolean),i=t.find(o=>o.startsWith(d))?.slice(d.length)??t.at(-1);return i?`${n}: ${c(i)}`:n}export function decode(e,{seconds:r,signal:n}){const{command:t,args:i}=k(import.meta.url,"worker");return new Promise((o,l)=>{R(t,i,{env:f({[g]:JSON.stringify(e)}),maxBuffer:256*1024*1024,timeout:A(r),...n?{signal:n}:{}},(s,x,w)=>{if(n?.aborted){l(new a("cancelled","Stopped.",{cause:s}));return}const p=x.split(`
7
- `).find(E=>E.startsWith(u));if(!s&&p){o(JSON.parse(p.slice(u.length)));return}l(new a("decode",`The speech decoder ${I(s,w)}.`,{hint:"If it keeps failing, install AllyHub again: its speech runtime may be broken."}))})})}
@@ -1,20 +0,0 @@
1
- import type { Window } from "./windows.js";
2
- /** The worker's input (an environment variable) and output (prefixed lines). */
3
- export declare const WORKER_INPUT = "ALLYHUB_PARAKEET_INPUT";
4
- export declare const RESULT_PREFIX = "ALLYHUB_PARAKEET_RESULT:";
5
- export declare const ERROR_PREFIX = "ALLYHUB_PARAKEET_ERROR:";
6
- export interface WorkerInput {
7
- wav: string;
8
- config: object;
9
- /**
10
- * What the decoder imports for sherpa-onnx: the package by name (the
11
- * default), or a module's path or URL that stands in for it (tests).
12
- */
13
- module?: string;
14
- }
15
- export interface WorkerResult {
16
- /** Seconds of audio. */
17
- duration: number;
18
- windows: Window[];
19
- }
20
- //# sourceMappingURL=protocol.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export const WORKER_INPUT="ALLYHUB_PARAKEET_INPUT",RESULT_PREFIX="ALLYHUB_PARAKEET_RESULT:",ERROR_PREFIX="ALLYHUB_PARAKEET_ERROR:";
@@ -1,50 +0,0 @@
1
- import type { Word } from "@allyhub/formats";
2
- import { type Stretch } from "../audio.js";
3
- import { type ToolOptions } from "../tools.js";
4
- /** Word times of a 16 kHz WAV, from a cloud model. */
5
- export type CloudHearing = (wav: string, o: {
6
- lang?: string | undefined;
7
- signal?: AbortSignal | undefined;
8
- }) => Promise<{
9
- words: {
10
- text: string;
11
- start: number;
12
- end: number;
13
- }[];
14
- model: string;
15
- }>;
16
- export interface TranscribeOptions extends ToolOptions {
17
- /** Hears in the cloud when the local model is not installed. */
18
- cloud?: CloudHearing | undefined;
19
- /**
20
- * The language spoken (BCP 47: "en", "pt-BR"). Local recognition covers
21
- * Parakeet's 25 languages; another one fails before anything is
22
- * downloaded. Left out, Parakeet tells its languages apart itself.
23
- */
24
- lang?: string;
25
- /**
26
- * Only this stretch of the file (seconds), heard on its own: the words'
27
- * times stay in the file's seconds.
28
- */
29
- stretch?: Stretch;
30
- /** The module the decoder imports in sherpa-onnx-node's place (a stand-in, in tests). */
31
- decoder?: string;
32
- }
33
- export interface Transcript {
34
- /** Word times in seconds, punctuation kept on its word (the `.words.json` format). */
35
- words: Word[];
36
- /** Seconds of audio heard. */
37
- duration: number;
38
- /** The model that heard it. */
39
- model: string;
40
- /**
41
- * Whether the recognizer gave each token's probability, so that every
42
- * word has a `confidence`; false when the runtime gives none.
43
- */
44
- confidence: boolean;
45
- /** The stretch heard, seconds of the file, when one was asked for. */
46
- stretch?: Stretch;
47
- }
48
- /** The words spoken in an audio or video file, with their times. */
49
- export declare function transcribe(file: string, opts?: TranscribeOptions): Promise<Transcript>;
50
- //# sourceMappingURL=transcribe.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{mkdtemp as v,rm as k,stat as h}from"node:fs/promises";import{tmpdir as y}from"node:os";import{join as w,resolve as P}from"node:path";import{toSpeechWav as R}from"../audio.js";import{MediaError as p}from"../errors.js";import{ensureEngine as S}from"../tools.js";import{requireLanguage as b}from"./languages.js";import{RUNTIME as E,decode as _,ensureModel as x,MODEL as z,recognizerConfig as C,status as F}from"./parakeet.js";import{windowsToWords as L}from"./words.js";export async function transcribe(M,e={}){const r=P(M);if(!(await h(r).catch(()=>{}))?.isFile())throw new p("not_found",`Cannot find the file ${r}.`);const n=e.stretch,i=await F(e),d=i.runtime.installed&&i.modelFiles.installed?void 0:e.cloud;if(!d&&(b(e.lang),i.unsupported))throw new p("unsupported_platform",i.unsupported);const l=await v(w(y(),"allyhub-transcribe-"));try{e.onProgress?.({step:"audio",message:n?`Reading the sound of ${r} from ${String(n.from)} s to ${String(n.to)} s`:`Reading the sound of ${r}`});const s=w(l,"speech.wav");await R(r,s,{...e,stretch:n});const t=Math.max(0,((await h(s)).size-44)/32e3);if(d){e.onProgress?.({step:"decode",message:`Recognising ${String(Math.round(t))} s of speech in the cloud`});const o=await d(s,{lang:e.lang,signal:e.signal}),a=n?.from??0;return{words:o.words.map(u=>({...u,start:u.start+a,end:u.end+a})),duration:t,model:o.model,confidence:!1,...n?{stretch:{from:a,to:a+t}}:{}}}const $=await x(e);e.onProgress?.({step:"decode",message:`Recognising ${String(Math.round(t))} s of speech with Parakeet`});const c=await _({wav:s,config:C($),module:e.decoder??await S(E,"the speech engine",e)},{seconds:t,...e.signal?{signal:e.signal}:{}}),f=n?.from??0,m=c.windows.map(o=>({...o,offset:o.offset+f})),g=o=>Math.round(o*1e3)/1e3;return{words:L(m),duration:g(c.duration),model:z,confidence:m.some(o=>o.tokens.length>0)&&m.every(o=>o.tokens.length===0||o.logProbs!==void 0),...n?{stretch:{from:f,to:g(f+c.duration)}}:{}}}finally{await k(l,{recursive:!0,force:!0})}}
@@ -1,34 +0,0 @@
1
- /** One decoded stretch: token times (s) from the start of the stretch. */
2
- export interface Decoded {
3
- tokens: string[];
4
- timestamps: number[];
5
- durations?: number[];
6
- /**
7
- * Each token's log probability as the decoder chose it (sherpa-onnx's
8
- * `ys_log_probs`): absent when the runtime gives none.
9
- */
10
- logProbs?: number[];
11
- }
12
- /** A decoded window, `offset` seconds into the audio. */
13
- export interface Window extends Decoded {
14
- offset: number;
15
- }
16
- /**
17
- * Window boundaries (sample indices: the first 0, the last samples.length)
18
- * about every `windowSeconds`, each moved to the quietest 100 ms within
19
- * ±5 s.
20
- */
21
- export declare function silenceCuts(samples: Float32Array, sampleRate: number, windowSeconds?: number): number[];
22
- /**
23
- * Stretches (s) of at least 1 s without tokens that are about as loud as
24
- * the window: speech the model skipped. A window with no tokens at all is
25
- * music or noise, not a skip.
26
- */
27
- export declare function droppedSpeechGaps(samples: Float32Array, sampleRate: number, decoded: Decoded): [number, number][];
28
- /**
29
- * `decoded` with the words of `patch` (decoded from `offset` s into the
30
- * window) that start inside the gap, less the gap's neighbours heard again
31
- * near its edges (compared as whole words, by their letters).
32
- */
33
- export declare function spliceGap(decoded: Decoded, patch: Decoded, offset: number, [from, to]: [number, number]): Decoded;
34
- //# sourceMappingURL=windows.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- function x(n,e,o){let r=0;for(let s=e;s<o;s++){const a=n[s]??0;r+=a*a}return r/Math.max(1,o-e)}function S(n,e,o,r){let s=o,a=1/0;for(let i=e;i+r<=o;i+=r){const c=x(n,i,i+r);c<a&&(a=c,s=i+r/2)}return s}export function silenceCuts(n,e,o=60){const r=Math.round(o*e),s=5*e,a=Math.round(e/10),i=[0];let c=0;for(;c+r<n.length;){const f=c+r,u=Math.max(c+a,f-s),l=Math.min(f+s,n.length);if(c=Math.round(S(n,u,l,a)),c>=n.length)break;i.push(c)}return n.length>0&&i.push(n.length),i}export function droppedSpeechGaps(n,e,o){if(o.tokens.length===0)return[];const r=.3*x(n,0,n.length),{timestamps:s,durations:a}=o,i=[0,...s.map((u,l)=>u+(a?.[l]??0))],c=[...s,n.length/e],f=u=>Math.round(u*e);return i.map((u,l)=>[u,c[l]??u]).filter(([u,l])=>l-u>=1&&x(n,f(u),f(l))>r)}function k(n){const e=[];for(const o of n){const r=e.at(-1);o.text.startsWith(" ")||!r?e.push([o]):r.push(o)}return e}const d=n=>n.map(e=>e.text).join("").toLowerCase().replace(/[^\p{L}\p{N}]/gu,""),h=n=>n[0]?.start??0;function b(n,e){for(let o=Math.min(n.length,e.length);o>0;o--)if(n.slice(-o).every((r,s)=>r===e[s]))return o;return 0}const w=.3;export function spliceGap(n,e,o,[r,s]){const a=(t,g)=>t.tokens.map((P,m)=>{const y=t.logProbs?.[m];return{text:P,start:g+(t.timestamps[m]??0),duration:t.durations?.[m]??0,...y===void 0?{}:{logProb:y}}}),i=k(a(n,0)),c=k(a(e,o)).filter(t=>h(t)>=r&&h(t)<s),f=i.filter(t=>h(t)<r).map(d),u=i.filter(t=>h(t)>=s).map(d),l=c.filter(t=>h(t)<r+w).map(d),E=c.filter(t=>h(t)>=s-w).map(d),C=c.slice(b(f,l),c.length-b(E,u)).map(([t,...g])=>t?[{...t,text:` ${t.text.trimStart()}`},...g]:g),p=[...i,...C].sort((t,g)=>h(t)-h(g)).flat(),M=p.map(t=>t.logProb);return{tokens:p.map(t=>t.text),timestamps:p.map(t=>t.start),durations:p.map(t=>t.duration),...M.every(t=>t!==void 0)&&p.length>0?{logProbs:M}:{}}}
@@ -1,7 +0,0 @@
1
- import type { Word } from "@allyhub/formats";
2
- import type { Window } from "./windows.js";
3
- /** The words of decoded windows, in seconds from the start of the audio. */
4
- export declare function windowsToWords(windows: readonly Window[]): Word[];
5
- /** Words that are only punctuation, joined to their neighbour. */
6
- export declare function attachPunctuation<W extends Word>(words: readonly W[]): W[];
7
- //# sourceMappingURL=words.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- const f=/[\p{L}\p{N}]/u,p=/^[¿¡"'“‘„«‹([{]+$/u,m=.3,u=s=>Math.round(s*1e3)/1e3;export function windowsToWords(s){const t=[];for(const e of s){let n=!0;e.tokens.forEach((o,r)=>{const x=o.replace(/▁/g," "),i=x.trim();if(!i){n=!0;return}const d=e.offset+(e.timestamps[r]??0),l=d+Math.max(0,e.durations?.[r]??0),c=f.test(i)?e.logProbs?.[r]:void 0,a=t.at(-1);n||/^\s/.test(x)||!a?t.push({text:i,start:d,end:l,...c===void 0?{}:{logProb:c}}):(a.text+=i,f.test(i)&&(a.end=Math.max(a.end,l)),c!==void 0&&(a.logProb=Math.min(a.logProb??0,c))),n=!1})}return h(attachPunctuation(t))}export function attachPunctuation(s){const t=[];let e="";for(const o of s){if(f.test(o.text)){t.push({...o,text:e+o.text}),e="";continue}const r=t.at(-1);p.test(o.text)||!r?e+=o.text:r.text+=o.text}const n=t.at(-1);return e&&n&&(n.text+=e),t}function h(s){return s.map((t,e)=>{let n=t.end;if(n<=t.start){const o=s[e+1]?.start??1/0;n=Math.max(t.start,Math.min(o,t.start+.3))}return{text:t.text,start:u(t.start),end:u(n),...t.logProb===void 0?{}:{confidence:u(Math.exp(t.logProb))}}})}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=worker.d.ts.map
@@ -1,4 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{isAbsolute as g}from"node:path";import{pathToFileURL as u}from"node:url";import{ERROR_PREFIX as w,RESULT_PREFIX as E,WORKER_INPUT as f}from"./protocol.js";import{droppedSpeechGaps as y,silenceCuts as S,spliceGap as _}from"./windows.js";const h=.5,R=.5;function d(t,s,e=0){const m=Math.round(e*s.sampleRate),n=new Float32Array(m+s.samples.length);n.set(s.samples,m);const p=t.createStream();p.acceptWaveform({sampleRate:s.sampleRate,samples:n}),t.decode(p);const o=t.getResult(p),{tokens:a,timestamps:l,durations:r}=o,c=o.ys_log_probs;return{tokens:a,timestamps:l.map(i=>Math.max(0,i-e)),...r?{durations:r}:{},...Array.isArray(c)&&c.length===a.length?{logProbs:c}:{}}}function A(t,s){let e=d(t,s);const m=y(s.samples,s.sampleRate,e);let n=e;const p=o=>Math.round(o*s.sampleRate);for(const[o,a]of m){const l=Math.max(0,o-R),r=s.samples.subarray(p(l),p(a+R)),c=d(t,{sampleRate:s.sampleRate,samples:r},h);n=_(n,c,l,[o,a])}if(n.tokens.length>e.tokens.length)e=n;else if(m.length>0){const o=d(t,s,h);o.tokens.length>e.tokens.length&&(e=o)}return e}async function O(t){const s=g(t)?u(t).href:t;try{const e=await import(s);return e.default??e}catch(e){throw new Error(`sherpa-onnx-node does not load (${t}): ${e instanceof Error?e.message:String(e)}`)}}async function $(){const t=JSON.parse(process.env[f]??"{}"),{wav:s,config:e}=t;if(!s||!e)throw new Error(`${f} is incomplete`);const m=process.ppid,n=await O(t.module??"sherpa-onnx-node"),p=new n.OfflineRecognizer(e),o=n.readWave(s),a=S(o.samples,o.sampleRate),l=[];for(let r=0;r+1<a.length;r++){if(process.ppid!==m)throw new Error("the CLI exited, so the decoder stopped");const c=a[r]??0,i={sampleRate:o.sampleRate,samples:o.samples.subarray(c,a[r+1])};l.push({offset:c/o.sampleRate,...A(p,i)})}return{duration:o.samples.length/o.sampleRate,windows:l}}$().then(t=>{process.stdout.write(`${E}${JSON.stringify(t)}
3
- `)},t=>{const s=(t instanceof Error?t.message:String(t)).replace(/\s+/g," ").trim();process.stderr.write(`${w}${s}
4
- `,()=>{process.exit(1)})});