allyhub 0.18.0 → 0.20.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 (1050) hide show
  1. package/bin/allyhub.js +10 -0
  2. package/dist/args.js +1 -1
  3. package/dist/command.js +1 -1
  4. package/dist/commands/add.js +1 -1
  5. package/dist/commands/align.js +1 -1
  6. package/dist/commands/auth.js +1 -1
  7. package/dist/commands/check.js +1 -1
  8. package/dist/commands/cloud-tools.js +2 -2
  9. package/dist/commands/cloud.js +1 -1
  10. package/dist/commands/contributed.js +1 -1
  11. package/dist/commands/dev.js +5 -5
  12. package/dist/commands/export.js +3 -0
  13. package/dist/commands/found-extensions.js +2 -0
  14. package/dist/commands/frames/common.js +1 -1
  15. package/dist/commands/frames/doc.js +1 -1
  16. package/dist/commands/frames/piece.js +1 -1
  17. package/dist/commands/frames/sheet.js +1 -1
  18. package/dist/commands/frames.js +9 -9
  19. package/dist/commands/index.js +1 -1
  20. package/dist/commands/inspect/combos.js +1 -1
  21. package/dist/commands/inspect/common.js +3 -3
  22. package/dist/commands/inspect/facts.js +2 -2
  23. package/dist/commands/inspect/index.js +1 -1
  24. package/dist/commands/inspect/layout.js +1 -1
  25. package/dist/commands/inspect/views.js +1 -1
  26. package/dist/commands/list.js +2 -0
  27. package/dist/commands/mail.js +1 -1
  28. package/dist/commands/migrate.js +3 -0
  29. package/dist/commands/run-context.js +2 -0
  30. package/dist/commands/skills.js +3 -3
  31. package/dist/commands/upgrade.js +5 -0
  32. package/dist/commands.json +1 -0
  33. package/dist/fields.js +1 -1
  34. package/dist/help.js +3 -3
  35. package/dist/main.js +8 -7
  36. package/dist/node_modules/@allyhub/3d-extension/dist/build.js +1 -1
  37. package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +1 -1
  38. package/dist/node_modules/@allyhub/3d-extension/package.json +4 -3
  39. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  40. package/dist/node_modules/@allyhub/blocks/LICENSE +241 -0
  41. package/dist/node_modules/@allyhub/blocks/dist/alt.js +2 -0
  42. package/dist/node_modules/@allyhub/blocks/dist/elements.js +2 -0
  43. package/dist/node_modules/@allyhub/blocks/dist/flow-resolve.js +2 -0
  44. package/dist/node_modules/@allyhub/blocks/dist/flow-table.js +2 -0
  45. package/dist/node_modules/@allyhub/blocks/dist/format.js +2 -0
  46. package/dist/node_modules/@allyhub/blocks/dist/gantt.js +2 -0
  47. package/dist/node_modules/@allyhub/blocks/dist/grids.js +2 -0
  48. package/dist/node_modules/@allyhub/blocks/dist/html.js +75 -0
  49. package/dist/node_modules/@allyhub/blocks/dist/icons.generated.js +2 -0
  50. package/dist/node_modules/@allyhub/blocks/dist/icons.js +2 -0
  51. package/dist/node_modules/@allyhub/blocks/dist/index.js +2 -0
  52. package/dist/node_modules/@allyhub/blocks/dist/layout.js +2 -0
  53. package/dist/node_modules/@allyhub/blocks/dist/look.js +2 -0
  54. package/dist/node_modules/@allyhub/blocks/dist/measure.js +3 -0
  55. package/dist/node_modules/@allyhub/blocks/dist/model.js +2 -0
  56. package/dist/node_modules/@allyhub/blocks/dist/page.js +2 -0
  57. package/dist/node_modules/@allyhub/blocks/dist/palette.js +2 -0
  58. package/dist/node_modules/@allyhub/blocks/dist/path.js +2 -0
  59. package/dist/node_modules/@allyhub/blocks/dist/resolve.js +2 -0
  60. package/dist/node_modules/@allyhub/blocks/dist/samples.js +2 -0
  61. package/dist/node_modules/@allyhub/blocks/dist/sankey.js +2 -0
  62. package/dist/node_modules/@allyhub/blocks/dist/svg.js +2 -0
  63. package/dist/node_modules/@allyhub/blocks/dist/tidy.js +2 -0
  64. package/dist/node_modules/@allyhub/blocks/dist/trees.js +2 -0
  65. package/dist/node_modules/@allyhub/blocks/package.json +19 -0
  66. package/dist/node_modules/@allyhub/browser/dist/html.js +1 -1
  67. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  68. package/dist/node_modules/@allyhub/build/dist/build-plugins.js +1 -1
  69. package/dist/node_modules/@allyhub/build/dist/fonts.js +9 -3
  70. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  71. package/dist/node_modules/@allyhub/build/dist/inspect-view.js +1 -1
  72. package/dist/node_modules/@allyhub/build/dist/meta-worker.js +1 -1
  73. package/dist/node_modules/@allyhub/build/dist/migrate.js +2 -0
  74. package/dist/node_modules/@allyhub/build/dist/plugin.js +9 -9
  75. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  76. package/dist/node_modules/@allyhub/build/dist/project-root.js +1 -1
  77. package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
  78. package/dist/node_modules/@allyhub/build/dist/sdk-parts.js +2 -0
  79. package/dist/node_modules/@allyhub/build/dist/vite.js +2 -2
  80. package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
  81. package/dist/node_modules/@allyhub/build/package.json +13 -1
  82. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  83. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  84. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -1
  85. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +4 -3
  86. package/dist/node_modules/@allyhub/chart/dist/chart.js +4 -2
  87. package/dist/node_modules/@allyhub/chart/dist/chartex-xml.js +4 -0
  88. package/dist/node_modules/@allyhub/chart/dist/classic.js +2 -0
  89. package/dist/node_modules/@allyhub/chart/dist/embedded.js +2 -2
  90. package/dist/node_modules/@allyhub/chart/dist/extended.js +2 -0
  91. package/dist/node_modules/@allyhub/chart/dist/index.js +1 -1
  92. package/dist/node_modules/@allyhub/chart/dist/svg.js +1 -1
  93. package/dist/node_modules/@allyhub/chart/dist/tree.js +2 -0
  94. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  95. package/dist/node_modules/@allyhub/check/dist/check.js +2 -2
  96. package/dist/node_modules/@allyhub/check/package.json +1 -1
  97. package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
  98. package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
  99. package/dist/node_modules/@allyhub/cloud/dist/catalog.js +1 -1
  100. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  101. package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
  102. package/dist/node_modules/@allyhub/cloud/dist/credentials.js +1 -1
  103. package/dist/node_modules/@allyhub/cloud/dist/device.js +1 -1
  104. package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
  105. package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
  106. package/dist/node_modules/@allyhub/cloud/dist/loopback.js +2 -2
  107. package/dist/node_modules/@allyhub/cloud/dist/mail.js +1 -1
  108. package/dist/node_modules/@allyhub/cloud/dist/records.js +1 -1
  109. package/dist/node_modules/@allyhub/cloud/dist/signin.js +2 -2
  110. package/dist/node_modules/@allyhub/cloud/dist/sites.js +1 -1
  111. package/dist/node_modules/@allyhub/cloud/dist/storage.js +2 -0
  112. package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
  113. package/dist/node_modules/@allyhub/cloud/dist/tools.js +2 -0
  114. package/dist/node_modules/@allyhub/cloud/dist/uploads.js +2 -2
  115. package/dist/node_modules/@allyhub/cloud/dist/voice.js +1 -1
  116. package/dist/node_modules/@allyhub/cloud/package.json +5 -1
  117. package/dist/node_modules/@allyhub/components/package.json +1 -1
  118. package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
  119. package/dist/node_modules/@allyhub/dev-server/dist/item-process.js +2 -0
  120. package/dist/node_modules/@allyhub/dev-server/dist/item-worker.js +2 -0
  121. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  122. package/dist/node_modules/@allyhub/dev-server/dist/pages.js +20 -1
  123. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  124. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  125. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  126. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  127. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  128. package/dist/node_modules/@allyhub/dev-server/dist/writer.js +3 -3
  129. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  130. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +1 -1
  131. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  132. package/dist/node_modules/@allyhub/doc/dist/blocks.js +2 -0
  133. package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
  134. package/dist/node_modules/@allyhub/doc/dist/color.js +1 -1
  135. package/dist/node_modules/@allyhub/doc/dist/docx-read.js +12 -0
  136. package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -4
  137. package/dist/node_modules/@allyhub/doc/dist/html.js +83 -48
  138. package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
  139. package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
  140. package/dist/node_modules/@allyhub/doc/dist/merges.js +2 -0
  141. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  142. package/dist/node_modules/@allyhub/doc/dist/numbering.js +2 -0
  143. package/dist/node_modules/@allyhub/doc/dist/omml.js +3 -0
  144. package/dist/node_modules/@allyhub/doc/dist/page.js +2 -1
  145. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  146. package/dist/node_modules/@allyhub/doc/dist/parse.js +5 -4
  147. package/dist/node_modules/@allyhub/doc/dist/redline.js +2 -0
  148. package/dist/node_modules/@allyhub/doc/dist/revisions.js +2 -0
  149. package/dist/node_modules/@allyhub/doc/dist/shapes.js +4 -0
  150. package/dist/node_modules/@allyhub/doc/dist/styles.js +2 -0
  151. package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
  152. package/dist/node_modules/@allyhub/doc/dist/write.js +65 -39
  153. package/dist/node_modules/@allyhub/doc/package.json +5 -1
  154. package/dist/node_modules/@allyhub/doc-extension/dist/build.js +2 -2
  155. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +1 -1
  156. package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +3 -0
  157. package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +1 -1
  158. package/dist/node_modules/@allyhub/doc-extension/dist/cli/styles.js +4 -0
  159. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
  160. package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +1 -1
  161. package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +1 -1
  162. package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +1 -1
  163. package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +1 -1
  164. package/dist/node_modules/@allyhub/doc-extension/package.json +22 -2
  165. package/dist/node_modules/@allyhub/doc-print/dist/drawn.js +4 -4
  166. package/dist/node_modules/@allyhub/doc-print/dist/index.js +1 -1
  167. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +8 -7
  168. package/dist/node_modules/@allyhub/doc-print/dist/print.js +22 -16
  169. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  170. package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
  171. package/dist/node_modules/@allyhub/export/package.json +1 -1
  172. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  173. package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
  174. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  175. package/dist/node_modules/@allyhub/formats/dist/data/blocks-flow.js +2 -0
  176. package/dist/node_modules/@allyhub/formats/dist/data/blocks.d.ts +146 -0
  177. package/dist/node_modules/@allyhub/formats/dist/data/blocks.js +2 -0
  178. package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.d.ts +9 -0
  179. package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.js +2 -0
  180. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +47 -40
  181. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.js +1 -1
  182. package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.d.ts +6 -0
  183. package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.js +2 -0
  184. package/dist/node_modules/@allyhub/formats/dist/data/diagrams.d.ts +29 -0
  185. package/dist/node_modules/@allyhub/formats/dist/data/diagrams.js +2 -0
  186. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +18 -0
  187. package/dist/node_modules/@allyhub/formats/dist/data/faces.js +1 -1
  188. package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +59 -0
  189. package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +2 -0
  190. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +1 -1
  191. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +698 -258
  192. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  193. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +14104 -2167
  194. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  195. package/dist/node_modules/@allyhub/formats/dist/data/themes.d.ts +82 -0
  196. package/dist/node_modules/@allyhub/formats/dist/data/themes.js +2 -0
  197. package/dist/node_modules/@allyhub/formats/dist/data/tokens.d.ts +67 -0
  198. package/dist/node_modules/@allyhub/formats/dist/data/tokens.js +2 -0
  199. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  200. package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
  201. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +7 -0
  202. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  203. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +36 -10
  204. package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
  205. package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +1 -1
  206. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +3260 -290
  207. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  208. package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +45 -0
  209. package/dist/node_modules/@allyhub/formats/dist/tolerant.js +2 -0
  210. package/dist/node_modules/@allyhub/formats/package.json +25 -1
  211. package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -9
  212. package/dist/node_modules/@allyhub/html-extension/dist/tools.js +1 -1
  213. package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
  214. package/dist/node_modules/@allyhub/html-extension/markup/markup.json +14 -4
  215. package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +22 -1
  216. package/dist/node_modules/@allyhub/html-extension/package.json +9 -1
  217. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  218. package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +1 -1
  219. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +2 -2
  220. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  221. package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +1 -1
  222. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +1 -1
  223. package/dist/node_modules/@allyhub/image-extension/package.json +2 -2
  224. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +1 -1
  225. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +2 -2
  226. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  227. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  228. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  229. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  230. package/dist/node_modules/@allyhub/image-sdk/dist/block.js +2 -0
  231. package/dist/node_modules/@allyhub/image-sdk/dist/blocks.js +2 -0
  232. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +1 -1
  233. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  234. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  235. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -3
  236. package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +3 -3
  237. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  238. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  239. package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -600
  240. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  241. package/dist/node_modules/@allyhub/media/package.json +5 -1
  242. package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +1 -1
  243. package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +1 -1
  244. package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +1 -1
  245. package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +1 -1
  246. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
  247. package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -2
  248. package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +1 -1
  249. package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
  250. package/dist/node_modules/@allyhub/model/package.json +1 -1
  251. package/dist/node_modules/@allyhub/office-extension/markup/csv/allyhub.yaml +2 -0
  252. package/dist/node_modules/@allyhub/office-extension/markup/csv/markup.json +1 -1
  253. package/dist/node_modules/@allyhub/office-extension/markup/document/allyhub.yaml +2 -0
  254. package/dist/node_modules/@allyhub/office-extension/markup/presentation/allyhub.yaml +2 -0
  255. package/dist/node_modules/@allyhub/office-extension/markup/workbook/allyhub.yaml +2 -0
  256. package/dist/node_modules/@allyhub/office-extension/markup/workbook/markup.json +1 -1
  257. package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
  258. package/dist/node_modules/@allyhub/ooxml/dist/ext.js +1 -1
  259. package/dist/node_modules/@allyhub/ooxml/dist/mce.js +1 -1
  260. package/dist/node_modules/@allyhub/ooxml/dist/node.js +1 -1
  261. package/dist/node_modules/@allyhub/ooxml/dist/ns.js +1 -1
  262. package/dist/node_modules/@allyhub/ooxml/dist/opc.js +1 -1
  263. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  264. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +1 -1
  265. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +1 -2
  266. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +2 -0
  267. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +10 -2
  268. package/dist/node_modules/@allyhub/piece/dist/look.js +1 -1
  269. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +9 -3
  270. package/dist/node_modules/@allyhub/piece/dist/script.js +1 -1
  271. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +5 -2
  272. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +2 -2
  273. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  274. package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
  275. package/dist/node_modules/@allyhub/project/package.json +1 -1
  276. package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
  277. package/dist/node_modules/@allyhub/protocol/dist/blobs.js +1 -1
  278. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  279. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  280. package/dist/node_modules/@allyhub/protocol/dist/errors.js +1 -1
  281. package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
  282. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  283. package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.js +1 -1
  284. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
  285. package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
  286. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  287. package/dist/node_modules/@allyhub/protocol/dist/page-frame.js +2 -0
  288. package/dist/node_modules/@allyhub/protocol/dist/paywall.js +1 -1
  289. package/dist/node_modules/@allyhub/protocol/dist/purposes.js +1 -1
  290. package/dist/node_modules/@allyhub/protocol/dist/registry.js +1 -1
  291. package/dist/node_modules/@allyhub/protocol/dist/sites.js +1 -1
  292. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  293. package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
  294. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  295. package/dist/node_modules/@allyhub/protocol/package.json +41 -1
  296. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  297. package/dist/node_modules/@allyhub/render/dist/errors.js +1 -1
  298. package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
  299. package/dist/node_modules/@allyhub/render/package.json +9 -1
  300. package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
  301. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  302. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
  303. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +1 -1
  304. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  305. package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +1 -1
  306. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +2 -2
  307. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +3 -3
  308. package/dist/node_modules/@allyhub/runtimes/package.json +9 -1
  309. package/dist/node_modules/@allyhub/scaffold/dist/index.js +12 -8
  310. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  311. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  312. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +3 -3
  313. package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +1 -1
  314. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +2 -2
  315. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  316. package/dist/node_modules/@allyhub/sheet/dist/annotations.js +1 -1
  317. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  318. package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +1 -1
  319. package/dist/node_modules/@allyhub/sheet/dist/api/index.js +1 -1
  320. package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +1 -1
  321. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  322. package/dist/node_modules/@allyhub/sheet/dist/arrange.js +1 -1
  323. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
  324. package/dist/node_modules/@allyhub/sheet/dist/calc/server.js +1 -1
  325. package/dist/node_modules/@allyhub/sheet/dist/cell-styles.js +2 -0
  326. package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
  327. package/dist/node_modules/@allyhub/sheet/dist/check.js +1 -1
  328. package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
  329. package/dist/node_modules/@allyhub/sheet/dist/filter.js +1 -1
  330. package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
  331. package/dist/node_modules/@allyhub/sheet/dist/heatmap.js +2 -0
  332. package/dist/node_modules/@allyhub/sheet/dist/html.js +9 -9
  333. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  334. package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
  335. package/dist/node_modules/@allyhub/sheet/dist/paginate.js +1 -1
  336. package/dist/node_modules/@allyhub/sheet/dist/printed.js +1 -1
  337. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +1 -1
  338. package/dist/node_modules/@allyhub/sheet/dist/sparklines.js +2 -0
  339. package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
  340. package/dist/node_modules/@allyhub/sheet/dist/table-styles.js +1 -1
  341. package/dist/node_modules/@allyhub/sheet/dist/theme.js +2 -0
  342. package/dist/node_modules/@allyhub/sheet/dist/tiles.js +2 -0
  343. package/dist/node_modules/@allyhub/sheet/dist/units.js +2 -0
  344. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  345. package/dist/node_modules/@allyhub/sheet/dist/write.js +14 -14
  346. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
  347. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  348. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
  349. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
  350. package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.js +1 -1
  351. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
  352. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  353. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
  354. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +1 -1
  355. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +7 -7
  356. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +1 -1
  357. package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +2 -2
  358. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -2
  359. package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +2 -2
  360. package/dist/node_modules/@allyhub/sheet-extension/dist/migrations.js +4 -0
  361. package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +1 -1
  362. package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +1 -1
  363. package/dist/node_modules/@allyhub/sheet-extension/package.json +7 -3
  364. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  365. package/dist/node_modules/@allyhub/slides-core/dist/blocks.js +2 -0
  366. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  367. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  368. package/dist/node_modules/@allyhub/slides-core/dist/code.js +1 -1
  369. package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
  370. package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
  371. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  372. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  373. package/dist/node_modules/@allyhub/slides-core/dist/model.js +1 -1
  374. package/dist/node_modules/@allyhub/slides-core/dist/office-layouts.js +2 -0
  375. package/dist/node_modules/@allyhub/slides-core/dist/office.js +1 -1
  376. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  377. package/dist/node_modules/@allyhub/slides-core/dist/script.js +2 -2
  378. package/dist/node_modules/@allyhub/slides-core/dist/styles/brief.js +2 -0
  379. package/dist/node_modules/@allyhub/slides-core/dist/styles/editorial.js +2 -0
  380. package/dist/node_modules/@allyhub/slides-core/dist/styles/index.js +2 -0
  381. package/dist/node_modules/@allyhub/slides-core/dist/styles/kit.js +2 -0
  382. package/dist/node_modules/@allyhub/slides-core/dist/styles/layouts.js +2 -0
  383. package/dist/node_modules/@allyhub/slides-core/dist/styles/pitch.js +2 -0
  384. package/dist/node_modules/@allyhub/slides-core/dist/styles/stage.js +2 -0
  385. package/dist/node_modules/@allyhub/slides-core/dist/styles/tiles.js +2 -0
  386. package/dist/node_modules/@allyhub/slides-core/dist/theme.js +1 -1
  387. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  388. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  389. package/dist/node_modules/@allyhub/slides-extension/dist/check.js +1 -1
  390. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +2 -2
  391. package/dist/node_modules/@allyhub/slides-extension/dist/deck-fonts.js +1 -1
  392. package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +1 -1
  393. package/dist/node_modules/@allyhub/slides-extension/package.json +24 -1
  394. package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
  395. package/dist/node_modules/@allyhub/slides-pptx/dist/fonts.js +1 -1
  396. package/dist/node_modules/@allyhub/slides-pptx/dist/image-size.js +2 -0
  397. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  398. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +7 -2
  399. package/dist/node_modules/@allyhub/slides-pptx/dist/import/names.js +1 -1
  400. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  401. package/dist/node_modules/@allyhub/slides-pptx/dist/index.js +1 -1
  402. package/dist/node_modules/@allyhub/slides-pptx/dist/mtx.js +2 -0
  403. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +3 -2
  404. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chartex.js +3 -0
  405. package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
  406. package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +2 -2
  407. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  408. package/dist/node_modules/@allyhub/slides-pptx/dist/read/table.js +1 -1
  409. package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
  410. package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +1 -1
  411. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  412. package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
  413. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  414. package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +3 -2
  415. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  416. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  417. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +1 -1
  418. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  419. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  420. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/LICENSE +93 -0
  421. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-italic.woff2 +0 -0
  422. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-normal.woff2 +0 -0
  423. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-italic.woff2 +0 -0
  424. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-normal.woff2 +0 -0
  425. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-italic.woff2 +0 -0
  426. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-normal.woff2 +0 -0
  427. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-italic.woff2 +0 -0
  428. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-normal.woff2 +0 -0
  429. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400-italic.css +1 -0
  430. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400.css +1 -0
  431. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700-italic.css +1 -0
  432. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700.css +1 -0
  433. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400-italic.css +1 -0
  434. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400.css +1 -0
  435. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700-italic.css +1 -0
  436. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700.css +1 -0
  437. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/LICENSE +93 -0
  438. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-400-normal.woff2 +0 -0
  439. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-ext-400-normal.woff2 +0 -0
  440. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-400.css +1 -0
  441. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-ext-400.css +1 -0
  442. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400-italic.css +1 -79
  443. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400.css +1 -79
  444. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700-italic.css +1 -79
  445. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700.css +1 -79
  446. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/arial.css +1 -316
  447. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +1 -19
  448. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +1 -19
  449. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +1 -19
  450. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +1 -19
  451. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +1 -76
  452. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400-italic.css +1 -69
  453. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400.css +1 -69
  454. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700-italic.css +1 -69
  455. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700.css +1 -69
  456. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/calibri.css +1 -276
  457. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +1 -79
  458. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +1 -79
  459. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +1 -79
  460. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +1 -79
  461. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +1 -316
  462. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/LICENSE +93 -0
  463. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-italic.woff2 +0 -0
  464. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-normal.woff2 +0 -0
  465. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-italic.woff2 +0 -0
  466. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-normal.woff2 +0 -0
  467. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-italic.woff2 +0 -0
  468. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-normal.woff2 +0 -0
  469. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-italic.woff2 +0 -0
  470. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-normal.woff2 +0 -0
  471. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400-italic.css +1 -0
  472. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400.css +1 -0
  473. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700-italic.css +1 -0
  474. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700.css +1 -0
  475. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400-italic.css +1 -0
  476. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400.css +1 -0
  477. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700-italic.css +1 -0
  478. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700.css +1 -0
  479. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/LICENSE +93 -0
  480. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-italic.woff2 +0 -0
  481. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-normal.woff2 +0 -0
  482. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-italic.woff2 +0 -0
  483. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-normal.woff2 +0 -0
  484. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-italic.woff2 +0 -0
  485. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-normal.woff2 +0 -0
  486. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-italic.woff2 +0 -0
  487. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-normal.woff2 +0 -0
  488. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400-italic.css +1 -0
  489. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400.css +1 -0
  490. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700-italic.css +1 -0
  491. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700.css +1 -0
  492. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400-italic.css +1 -0
  493. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400.css +1 -0
  494. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700-italic.css +1 -0
  495. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700.css +1 -0
  496. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/LICENSE +93 -0
  497. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-italic.woff2 +0 -0
  498. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-normal.woff2 +0 -0
  499. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-italic.woff2 +0 -0
  500. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-normal.woff2 +0 -0
  501. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-italic.woff2 +0 -0
  502. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-normal.woff2 +0 -0
  503. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-italic.woff2 +0 -0
  504. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-normal.woff2 +0 -0
  505. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400-italic.css +1 -0
  506. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400.css +1 -0
  507. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700-italic.css +1 -0
  508. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700.css +1 -0
  509. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400-italic.css +1 -0
  510. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400.css +1 -0
  511. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700-italic.css +1 -0
  512. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700.css +1 -0
  513. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-color-emoji/emoji.css +1 -8
  514. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/400.css +1 -1009
  515. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/700.css +1 -1009
  516. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/microsoft-yahei.css +1 -2018
  517. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/LICENSE +93 -0
  518. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-italic.woff2 +0 -0
  519. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-normal.woff2 +0 -0
  520. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-italic.woff2 +0 -0
  521. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-normal.woff2 +0 -0
  522. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-italic.woff2 +0 -0
  523. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-normal.woff2 +0 -0
  524. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-italic.woff2 +0 -0
  525. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-normal.woff2 +0 -0
  526. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400-italic.css +1 -0
  527. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400.css +1 -0
  528. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700-italic.css +1 -0
  529. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700.css +1 -0
  530. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400-italic.css +1 -0
  531. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400.css +1 -0
  532. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700-italic.css +1 -0
  533. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700.css +1 -0
  534. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +1 -79
  535. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +1 -79
  536. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +1 -79
  537. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +1 -79
  538. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +1 -316
  539. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  540. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +42 -0
  541. package/dist/node_modules/@allyhub/stage-page/dist/style-faces.js +2 -0
  542. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  543. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +96 -92
  544. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  545. package/dist/node_modules/@allyhub/telemetry/dist/doc.js +1 -1
  546. package/dist/node_modules/@allyhub/telemetry/dist/errors.js +1 -1
  547. package/dist/node_modules/@allyhub/telemetry/dist/limit.js +2 -0
  548. package/dist/node_modules/@allyhub/telemetry/dist/telemetry.js +2 -2
  549. package/dist/node_modules/@allyhub/telemetry/package.json +5 -1
  550. package/dist/node_modules/@allyhub/text-extension/markup/allyhub.yaml +2 -0
  551. package/dist/node_modules/@allyhub/text-extension/markup-file/allyhub.yaml +2 -0
  552. package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
  553. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  554. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -1
  555. package/dist/node_modules/@allyhub/video-core/dist/seams.js +1 -1
  556. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  557. package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +1 -1
  558. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +1 -1
  559. package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +1 -1
  560. package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +1 -1
  561. package/dist/node_modules/@allyhub/video-extension/dist/inspect/loop.js +3 -0
  562. package/dist/node_modules/@allyhub/video-extension/package.json +7 -26
  563. package/dist/node_modules/@allyhub/video-measure/dist/check.js +2 -2
  564. package/dist/node_modules/@allyhub/video-measure/dist/index.js +1 -1
  565. package/dist/node_modules/@allyhub/video-measure/dist/plans.js +2 -2
  566. package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +1 -1
  567. package/dist/node_modules/@allyhub/video-measure/dist/seams.js +1 -1
  568. package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
  569. package/dist/node_modules/@allyhub/video-measure/package.json +5 -1
  570. package/dist/node_modules/@allyhub/video-sdk/dist/config.js +2 -0
  571. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +1 -1
  572. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +1 -1
  573. package/dist/node_modules/@allyhub/video-sdk/package.json +5 -1
  574. package/dist/node_modules/@allyhub/website/dist/index.js +1 -1
  575. package/dist/node_modules/@allyhub/website/dist/website.js +2 -2
  576. package/dist/node_modules/@allyhub/website/package.json +1 -1
  577. package/dist/node_modules/@allyhub/website-extension/dist/build.js +1 -1
  578. package/dist/node_modules/@allyhub/website-extension/package.json +6 -6
  579. package/dist/node_modules/@allyhub/x-extension/dist/build.js +1 -1
  580. package/dist/node_modules/@allyhub/x-extension/package.json +8 -4
  581. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +3 -3
  582. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  583. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  584. package/dist/node_modules/@allyhub/x-view/src/style.css +1 -709
  585. package/dist/package.json +14 -14
  586. package/dist/project.js +1 -1
  587. package/dist/resources.js +1 -1
  588. package/dist/sdk-docs.js +1 -1
  589. package/dist/self-upgrade.js +2 -0
  590. package/dist/slot.js +4 -0
  591. package/dist/telemetry.js +1 -1
  592. package/dist/text/batch-text.js +1 -1
  593. package/dist/text/facts-text.js +5 -5
  594. package/dist/text/format.js +2 -2
  595. package/dist/update-notice.js +3 -0
  596. package/dist/version.js +1 -1
  597. package/dist/works.js +1 -1
  598. package/editor-web/assets/{abnfDiagram-WEYOIA3C-Hy4-O0wN.js → abnfDiagram-WEYOIA3C-BkVJMd53.js} +1 -1
  599. package/editor-web/assets/{architecture-WOLXFQ4H-43JEVxqz.js → architecture-WOLXFQ4H-C6rnaynZ.js} +1 -1
  600. package/editor-web/assets/{architectureDiagram-ZHVYKT53-7bFTl41n.js → architectureDiagram-ZHVYKT53-D3vrh8LK.js} +1 -1
  601. package/editor-web/assets/arrow-down-D-QZrqcz.js +1 -0
  602. package/editor-web/assets/arrow-up-B1zjKUHX.js +1 -0
  603. package/editor-web/assets/article-DHf6mOY_.js +7 -0
  604. package/editor-web/assets/article-Dns1-Xh-.js +3 -0
  605. package/editor-web/assets/{audio-lines-PZj77e7t.js → audio-lines-BFoW_IeO.js} +1 -1
  606. package/editor-web/assets/bar-button-CKPfx2AB.js +1 -0
  607. package/editor-web/assets/{blockDiagram-RJAE7QA3-DcoNo1WH.js → blockDiagram-RJAE7QA3-BKngt8H7.js} +1 -1
  608. package/editor-web/assets/{browser-C9NP0ZYz.js → browser-DEGNhKTV.js} +1 -1
  609. package/editor-web/assets/{c4Diagram-XDPPPE54-CsMt61gx.js → c4Diagram-XDPPPE54-j7sUELqF.js} +1 -1
  610. package/editor-web/assets/calc-worker-Cr4a0xmt.js +168 -0
  611. package/editor-web/assets/channel-CVWSV3su.js +1 -0
  612. package/editor-web/assets/{chart-no-axes-column-Be0lFcGF.js → chart-no-axes-column-Dyy25XZ_.js} +1 -1
  613. package/editor-web/assets/chip-Bn_9JRRG.js +1 -0
  614. package/editor-web/assets/{chunk-2E7WHVMD-fj-TJIRG.js → chunk-2E7WHVMD-BXa-uRSi.js} +1 -1
  615. package/editor-web/assets/{chunk-4EMNKR2T-Du5cRy-Y.js → chunk-4EMNKR2T-B3ntcsZN.js} +1 -1
  616. package/editor-web/assets/{chunk-55XCU76K-BHXxBBtm.js → chunk-55XCU76K-AMvnFwUg.js} +1 -1
  617. package/editor-web/assets/{chunk-7S6XSTFO-R5HW6X5I.js → chunk-7S6XSTFO-BA6esfFu.js} +1 -1
  618. package/editor-web/assets/{chunk-AQDTSKZB-C98F2BUb.js → chunk-AQDTSKZB-BT_vANXs.js} +1 -1
  619. package/editor-web/assets/{chunk-DSNLSHJZ-NIGsJ2cK.js → chunk-DSNLSHJZ-DoUgmzGB.js} +1 -1
  620. package/editor-web/assets/{chunk-HAGFOTED-BtHxtfW5.js → chunk-HAGFOTED-DtnIrCZb.js} +1 -1
  621. package/editor-web/assets/{chunk-HNE4Q36P-BI8i7Vkk.js → chunk-HNE4Q36P-BlPwQx3_.js} +1 -1
  622. package/editor-web/assets/{chunk-NQOKRVIF-DP_Z_zEA.js → chunk-NQOKRVIF-D2r7jp2r.js} +1 -1
  623. package/editor-web/assets/{chunk-UHW7PFBP-C_8bui28.js → chunk-UHW7PFBP-Cmc0_F5o.js} +1 -1
  624. package/editor-web/assets/{chunk-VQ5W62QI-CKZgzWB2.js → chunk-VQ5W62QI-nJSMqAr0.js} +1 -1
  625. package/editor-web/assets/{chunk-WQQL4CDK-Ff4DgCht.js → chunk-WQQL4CDK-Btq2nbF6.js} +1 -1
  626. package/editor-web/assets/{chunk-YZO67HFG-Csbx1-pi.js → chunk-YZO67HFG-DTbcCoGt.js} +1 -1
  627. package/editor-web/assets/{chunk-ZAUX2LTX-BO1kcV3w.js → chunk-ZAUX2LTX-DVwkg-2N.js} +1 -1
  628. package/editor-web/assets/{chunk-ZCHMQSOR-CxeNZYZG.js → chunk-ZCHMQSOR-BV39jOOE.js} +1 -1
  629. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-D8eHQa5i.js → classDiagram-v2-4MYWR3UA-Cj74-fhM.js} +1 -1
  630. package/editor-web/assets/code-Ch6AB5bZ.js +1 -0
  631. package/editor-web/assets/collaborator-XiHOxwGM.js +1 -0
  632. package/editor-web/assets/{copy-CuJSs0nI.js → copy-SoaMYqsN.js} +1 -1
  633. package/editor-web/assets/{createLucideIcon-lm_6n8YT.js → createLucideIcon-euu7Wcd9.js} +1 -1
  634. package/editor-web/assets/{cynefin-EF2NZ3EQ-lIUY3WQQ.js → cynefin-EF2NZ3EQ-C0CkiipV.js} +1 -1
  635. package/editor-web/assets/{cynefinDiagram-WF24UDRP-CFOOhEEs.js → cynefinDiagram-WF24UDRP-hdsnJ4cI.js} +1 -1
  636. package/editor-web/assets/{dagre-NK4GIZVX-DdHVup2I.js → dagre-NK4GIZVX-CC7WSgaK.js} +1 -1
  637. package/editor-web/assets/deck-DQpNIS2p.js +1 -0
  638. package/editor-web/assets/{diagram-CBK3MWTC-CFAD9Y2B.js → diagram-CBK3MWTC-DmaVm13J.js} +1 -1
  639. package/editor-web/assets/{diagram-I5XIIV2D-DZJAn95A.js → diagram-I5XIIV2D-De8jqp7b.js} +1 -1
  640. package/editor-web/assets/{diagram-ODIL2UCW-BcIeYTaY.js → diagram-ODIL2UCW-B5pBTulX.js} +1 -1
  641. package/editor-web/assets/{diagram-PFBEJUXE-CnZmh_fl.js → diagram-PFBEJUXE-BYsXg5_w.js} +1 -1
  642. package/editor-web/assets/{diagram-RJA3I4VV-DpDd9rGx.js → diagram-RJA3I4VV-DZ8f6bYe.js} +1 -1
  643. package/editor-web/assets/{diagram-TYUNFSNR-ouGiUQcR.js → diagram-TYUNFSNR-qXHUsauD.js} +1 -1
  644. package/editor-web/assets/dist--z0ZHp4T.js +16 -0
  645. package/editor-web/assets/dist-9kuRjUTN.js +41 -0
  646. package/editor-web/assets/dist-B3rd02Cg.js +6 -0
  647. package/editor-web/assets/dist-B5GOGGEe.js +1 -0
  648. package/editor-web/assets/dist-Bx6q9kCu.js +1 -0
  649. package/editor-web/assets/dist-C4hHtrJr.js +1 -0
  650. package/editor-web/assets/dist-CCXJewsi.js +19 -0
  651. package/editor-web/assets/dist-CfK2BLl8.js +4 -0
  652. package/editor-web/assets/dist-Cmux3oJ_.js +1 -0
  653. package/editor-web/assets/dist-Cspf85KV.js +6 -0
  654. package/editor-web/assets/dist-DA72-4WB.js +82 -0
  655. package/editor-web/assets/{dist-DruvDNQe.js → dist-DAhe-kFC.js} +5 -5
  656. package/editor-web/assets/dist-DIJnhQFK.js +9 -0
  657. package/editor-web/assets/dist-DOrGo1GD.js +19 -0
  658. package/editor-web/assets/{dist-Bd8IxQPP.js → dist-DQ6RpEJD.js} +2 -2
  659. package/editor-web/assets/dist-DjiCHlSu.js +35 -0
  660. package/editor-web/assets/dist-Do4a40Wn.js +19 -0
  661. package/editor-web/assets/dist-FKEWS3Co.js +547 -0
  662. package/editor-web/assets/dist-QKd2i6kG.js +5 -0
  663. package/editor-web/assets/dist-SGnOfLhx.js +24 -0
  664. package/editor-web/assets/dist-VmVB7tl4.js +3 -0
  665. package/editor-web/assets/{docx-draw-C4aiB8HI.js → docx-draw-L54blreB.js} +1 -1
  666. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-HRjVlbUf.js → ebnfDiagram-V4P3TTPT-B7-IfVI-.js} +1 -1
  667. package/editor-web/assets/{elk-QONTBCTQ-BFmtKyOf.js → elk-QONTBCTQ-Gj_WaeBn.js} +1 -1
  668. package/editor-web/assets/{erDiagram-KYQIGQAA-C9gcGEgK.js → erDiagram-KYQIGQAA-BDF6Qoqx.js} +1 -1
  669. package/editor-web/assets/esm-PQD5Pn8a.js +21 -0
  670. package/editor-web/assets/{eventmodeling-K75KTNOO-Bpma5Bdb.js → eventmodeling-K75KTNOO-elxVXXEe.js} +1 -1
  671. package/editor-web/assets/{file-question-mark-DlIjUK37.js → file-question-mark-PeZgyqkK.js} +1 -1
  672. package/editor-web/assets/flowDiagram-IUGLLWBU-B-25n8zE.js +1 -0
  673. package/editor-web/assets/{ganttDiagram-R7GPNTJY-CE5ut4C3.js → ganttDiagram-R7GPNTJY-CEogW3jW.js} +1 -1
  674. package/editor-web/assets/{gitGraph-VSP46ZUC-Dva3iGx2.js → gitGraph-VSP46ZUC-Bh9cRWFa.js} +1 -1
  675. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-CJXFsAWp.js → gitGraphDiagram-PDYL7XHY-BQAvdM_V.js} +1 -1
  676. package/editor-web/assets/{group-BdrTp7gi.js → group-DwM2yqU8.js} +1 -1
  677. package/editor-web/assets/hint-CbwoSBMw.js +1 -0
  678. package/editor-web/assets/index-CXisi0Cj.css +2 -0
  679. package/editor-web/assets/index-wMlfx8aT.js +28 -0
  680. package/editor-web/assets/{info-OHQRW6UA-BY0AOfex.js → info-OHQRW6UA-CdPrqere.js} +1 -1
  681. package/editor-web/assets/{infoDiagram-MVDRKAX5-4Up1gMvC.js → infoDiagram-MVDRKAX5-uwIMeP44.js} +1 -1
  682. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-BkvB9Qbn.js → ishikawaDiagram-HPEHV2GE-rtfvqK7E.js} +1 -1
  683. package/editor-web/assets/iso-UwGLGD3F.js +1 -0
  684. package/editor-web/assets/{italic-zw4_eUNF.js → italic-BV7iHxoP.js} +1 -1
  685. package/editor-web/assets/{journeyDiagram-BOSHW7O7-BxV09WdR.js → journeyDiagram-BOSHW7O7-mmhfIyVG.js} +1 -1
  686. package/editor-web/assets/{kanban-definition-FNSA4HC5-zTJtIDPG.js → kanban-definition-FNSA4HC5-Fe7jBsi-.js} +1 -1
  687. package/editor-web/assets/{link-DopSU3aa.js → link-CFOv3nz-.js} +1 -1
  688. package/editor-web/assets/{mermaid-parser.core-BWT9UQh_.js → mermaid-parser.core-BxOSjBH9.js} +3 -3
  689. package/editor-web/assets/{mermaid.core-DFf_Vg5X.js → mermaid.core-BOln9YdH.js} +4 -4
  690. package/editor-web/assets/{mindmap-definition-6OY57UG3-BYexiugS.js → mindmap-definition-6OY57UG3-M3Q1LOtO.js} +1 -1
  691. package/editor-web/assets/minus-ngE8owxs.js +1 -0
  692. package/editor-web/assets/{packet-JDAUHWVQ-DX_kSrI6.js → packet-JDAUHWVQ-Dbb0TUG6.js} +1 -1
  693. package/editor-web/assets/{pegDiagram-ECIUJNBX-I3SrcMLp.js → pegDiagram-ECIUJNBX-BZMRpSFC.js} +1 -1
  694. package/editor-web/assets/{pie-XZMESJXO-BmAFSw3E.js → pie-XZMESJXO-Ctm9XdKp.js} +1 -1
  695. package/editor-web/assets/{pieDiagram-GNMPY74T-DIZKcme5.js → pieDiagram-GNMPY74T-cGbs5ZTl.js} +1 -1
  696. package/editor-web/assets/progress-DZQTiRLv.js +6 -0
  697. package/editor-web/assets/{quadrantDiagram-D57K4MC3-CO3oSqpQ.js → quadrantDiagram-D57K4MC3-BUe_zsxT.js} +1 -1
  698. package/editor-web/assets/{radar-ABXABTNO-D5CkFrrb.js → radar-ABXABTNO-CCmKtqLs.js} +1 -1
  699. package/editor-web/assets/{railroad-I3PHUGI6-BeKY1p0K.js → railroad-I3PHUGI6-k-yhjhjA.js} +1 -1
  700. package/editor-web/assets/{railroad-abnf-LNEFI6M7-CIYV9_3-.js → railroad-abnf-LNEFI6M7-B-PvntB3.js} +1 -1
  701. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-DN0zDl6d.js → railroad-ebnf-DWYD2UWJ-Ds2rua1h.js} +1 -1
  702. package/editor-web/assets/{railroad-peg-JR7BVNR7-Bd_GcO24.js → railroad-peg-JR7BVNR7-jNZ2wEp2.js} +1 -1
  703. package/editor-web/assets/{railroadDiagram-Y72NRBL7-DlFoiMhb.js → railroadDiagram-Y72NRBL7-CTqSQ15w.js} +1 -1
  704. package/editor-web/assets/react-Byupo4pA.js +1 -0
  705. package/editor-web/assets/replace-CLLMtF4e.js +1 -0
  706. package/editor-web/assets/{requirementDiagram-EQYSW5RA-LWAEz8Gy.js → requirementDiagram-EQYSW5RA-CUblhR5M.js} +1 -1
  707. package/editor-web/assets/ribbon-DajdQ_Ya.js +1 -0
  708. package/editor-web/assets/row-Bei9HNEe.js +1 -0
  709. package/editor-web/assets/{sankeyDiagram-SY24JHO5-B_pZGwUK.js → sankeyDiagram-SY24JHO5-nSz6zDX3.js} +1 -1
  710. package/editor-web/assets/schemas-C21MyseF.js +1 -0
  711. package/editor-web/assets/{iso-ahTwmFwH.js → schemas-DlRAoVtq.js} +1 -1
  712. package/editor-web/assets/{scissors-B_xOiUhd.js → scissors-m6QcoEf2.js} +1 -1
  713. package/editor-web/assets/search-D75Bi2GU.js +1 -0
  714. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-bNhyCq0C.js → sequenceDiagram-BLEHNHQU-DxTpOYuo.js} +1 -1
  715. package/editor-web/assets/{session-Beijw9EK.js → session-BhClkDyr.js} +1 -1
  716. package/editor-web/assets/{sigma-DSUsJhMn.js → sigma-B4AWtnVA.js} +1 -1
  717. package/editor-web/assets/snapshots-DwGHDN3t.js +1 -0
  718. package/editor-web/assets/sound-DkR3qxSt.js +1 -0
  719. package/editor-web/assets/split-DBAbwPZ5.js +3 -0
  720. package/editor-web/assets/{square-arrow-out-up-right-DF5dvsSp.js → square-arrow-out-up-right-1NqFsNDe.js} +1 -1
  721. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-DI-oM3qz.js → stateDiagram-v2-A6IESKWZ-C3e14iHY.js} +1 -1
  722. package/editor-web/assets/{sticky-note-BdkIu5_D.js → sticky-note-s4QfzaBB.js} +1 -1
  723. package/editor-web/assets/surface-CIF0Ae0z.js +1 -0
  724. package/editor-web/assets/swatch-BUzr_XmH.js +1 -0
  725. package/editor-web/assets/{swimlanes-B3ENRKFQ-awDmoLdW.js → swimlanes-B3ENRKFQ-DPPdzNzu.js} +1 -1
  726. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B8n3zOw_.js +8 -0
  727. package/editor-web/assets/switch-DrZxoPQS.js +1 -0
  728. package/editor-web/assets/{syntax-CU_WPKxt.js → syntax-emXV4DnN.js} +1 -1
  729. package/editor-web/assets/table-BW43XXVd.js +1 -0
  730. package/editor-web/assets/tabs-BwU2E7bU.js +1 -0
  731. package/editor-web/assets/text-wrap-Baus6l-V.js +1 -0
  732. package/editor-web/assets/textarea-BX_ax3X8.js +1 -0
  733. package/editor-web/assets/{timeline-definition-JXYKGLGB-CayduPvL.js → timeline-definition-JXYKGLGB-DRTJ1_Er.js} +1 -1
  734. package/editor-web/assets/tolerant-DM9s0Mt1.js +1 -0
  735. package/editor-web/assets/{treeView-D4JQ5SDB-BVEuNzCO.js → treeView-D4JQ5SDB-BYJ_m-i5.js} +1 -1
  736. package/editor-web/assets/{treemap-SAJKECNS-BOB14HP3.js → treemap-SAJKECNS-BcU6I6Rg.js} +1 -1
  737. package/editor-web/assets/type-CvZ0HZsV.js +41 -0
  738. package/editor-web/assets/{undo-2-C47jrRp5.js → undo-2-DCbMWoug.js} +1 -1
  739. package/editor-web/assets/{usecaseDiagram-WPOLBNNX-DxT99uaq.js → usecaseDiagram-WPOLBNNX-YV92pS4o.js} +1 -1
  740. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-CWUKom-r.js → vennDiagram-Q3Y3IDCW-oAvfHZtf.js} +1 -1
  741. package/editor-web/assets/video-SJvDRCJK.js +1 -0
  742. package/editor-web/assets/{wardley-7MLQ67FV-BAQyTneD.js → wardley-7MLQ67FV-BLNiqxtt.js} +1 -1
  743. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-CiIYz4lZ.js → wardleyDiagram-IVAIDKWA-SppgC6xW.js} +1 -1
  744. package/editor-web/assets/{whole-word-D3ZAtnkw.js → whole-word-C9TkGBCY.js} +1 -1
  745. package/editor-web/assets/{words-0Ww2RyT4.js → words-BUlNNuH2.js} +3 -3
  746. package/editor-web/assets/words-zMedmPWc.js +3 -0
  747. package/editor-web/assets/workbook-BZKYx4WB.js +41 -0
  748. package/editor-web/assets/{xychartDiagram-4URNHDU4-D_D5IGmd.js → xychartDiagram-4URNHDU4-BHMn_jwJ.js} +1 -1
  749. package/editor-web/assets/{zoom-in-PgsC94hP.js → zoom-in-yAGKspfC.js} +1 -1
  750. package/editor-web/index.html +9 -8
  751. package/package.json +3 -3
  752. package/CHANGELOG.md +0 -243
  753. package/dist/commands/render.js +0 -3
  754. package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +0 -24
  755. package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +0 -61
  756. package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +0 -51
  757. package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +0 -29
  758. package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +0 -13
  759. package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +0 -35
  760. package/dist/node_modules/@allyhub/browser/dist/html.d.ts +0 -19
  761. package/dist/node_modules/@allyhub/browser/dist/index.d.ts +0 -10
  762. package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +0 -35
  763. package/dist/node_modules/@allyhub/browser/dist/page.d.ts +0 -74
  764. package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +0 -18
  765. package/dist/node_modules/@allyhub/browser/dist/server.d.ts +0 -26
  766. package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +0 -91
  767. package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +0 -84
  768. package/dist/node_modules/@allyhub/build/dist/code.d.ts +0 -26
  769. package/dist/node_modules/@allyhub/build/dist/content.d.ts +0 -64
  770. package/dist/node_modules/@allyhub/build/dist/data.d.ts +0 -11
  771. package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +0 -44
  772. package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +0 -35
  773. package/dist/node_modules/@allyhub/build/dist/files.d.ts +0 -4
  774. package/dist/node_modules/@allyhub/build/dist/fonts.d.ts +0 -26
  775. package/dist/node_modules/@allyhub/build/dist/generated.d.ts +0 -29
  776. package/dist/node_modules/@allyhub/build/dist/imports.d.ts +0 -17
  777. package/dist/node_modules/@allyhub/build/dist/index.d.ts +0 -37
  778. package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +0 -119
  779. package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +0 -530
  780. package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +0 -9
  781. package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +0 -19
  782. package/dist/node_modules/@allyhub/build/dist/media.d.ts +0 -10
  783. package/dist/node_modules/@allyhub/build/dist/messages.d.ts +0 -60
  784. package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +0 -59
  785. package/dist/node_modules/@allyhub/build/dist/meta.d.ts +0 -24
  786. package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +0 -6
  787. package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +0 -16
  788. package/dist/node_modules/@allyhub/build/dist/places.d.ts +0 -23
  789. package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +0 -50
  790. package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +0 -138
  791. package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +0 -19
  792. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +0 -136
  793. package/dist/node_modules/@allyhub/build/dist/references.d.ts +0 -6
  794. package/dist/node_modules/@allyhub/build/dist/scan.d.ts +0 -45
  795. package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +0 -80
  796. package/dist/node_modules/@allyhub/build/dist/takes.d.ts +0 -9
  797. package/dist/node_modules/@allyhub/build/dist/types.d.ts +0 -11
  798. package/dist/node_modules/@allyhub/build/dist/uses.d.ts +0 -44
  799. package/dist/node_modules/@allyhub/build/dist/version.d.ts +0 -56
  800. package/dist/node_modules/@allyhub/build/dist/vite.d.ts +0 -115
  801. package/dist/node_modules/@allyhub/build/dist/work.d.ts +0 -38
  802. package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +0 -48
  803. package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +0 -91
  804. package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +0 -12
  805. package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +0 -64
  806. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +0 -40
  807. package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +0 -76
  808. package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +0 -14
  809. package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +0 -24
  810. package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +0 -43
  811. package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +0 -19
  812. package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +0 -18
  813. package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +0 -22
  814. package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +0 -16
  815. package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +0 -11
  816. package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +0 -42
  817. package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +0 -2
  818. package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +0 -48
  819. package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +0 -20
  820. package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +0 -20
  821. package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +0 -58
  822. package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +0 -22
  823. package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +0 -3
  824. package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +0 -139
  825. package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +0 -41
  826. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +0 -195
  827. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +0 -8
  828. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +0 -16
  829. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +0 -4
  830. package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +0 -25
  831. package/dist/node_modules/@allyhub/media/dist/audio.d.ts +0 -16
  832. package/dist/node_modules/@allyhub/media/dist/beats.d.ts +0 -100
  833. package/dist/node_modules/@allyhub/media/dist/cache.d.ts +0 -26
  834. package/dist/node_modules/@allyhub/media/dist/errors.d.ts +0 -34
  835. package/dist/node_modules/@allyhub/media/dist/fetch.d.ts +0 -11
  836. package/dist/node_modules/@allyhub/media/dist/grid.d.ts +0 -101
  837. package/dist/node_modules/@allyhub/media/dist/index.d.ts +0 -21
  838. package/dist/node_modules/@allyhub/media/dist/picture.d.ts +0 -130
  839. package/dist/node_modules/@allyhub/media/dist/probe.d.ts +0 -52
  840. package/dist/node_modules/@allyhub/media/dist/progress.d.ts +0 -16
  841. package/dist/node_modules/@allyhub/media/dist/run.d.ts +0 -25
  842. package/dist/node_modules/@allyhub/media/dist/sheet.d.ts +0 -67
  843. package/dist/node_modules/@allyhub/media/dist/shots.d.ts +0 -110
  844. package/dist/node_modules/@allyhub/media/dist/sync.d.ts +0 -156
  845. package/dist/node_modules/@allyhub/media/dist/tools.d.ts +0 -25
  846. package/dist/node_modules/@allyhub/media/dist/video.d.ts +0 -35
  847. package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +0 -42
  848. package/dist/node_modules/@allyhub/media/dist/vision/probe.d.ts +0 -39
  849. package/dist/node_modules/@allyhub/media/dist/vision/types.d.ts +0 -2
  850. package/dist/node_modules/@allyhub/media/dist/voice-shape.d.ts +0 -51
  851. package/dist/node_modules/@allyhub/model/dist/authoring.d.ts +0 -48
  852. package/dist/node_modules/@allyhub/model/dist/bevel-attributes.d.ts +0 -19
  853. package/dist/node_modules/@allyhub/model/dist/bevel-collapse.d.ts +0 -12
  854. package/dist/node_modules/@allyhub/model/dist/bevel-corner-plan.d.ts +0 -24
  855. package/dist/node_modules/@allyhub/model/dist/bevel-deform.d.ts +0 -5
  856. package/dist/node_modules/@allyhub/model/dist/bevel-fans.d.ts +0 -12
  857. package/dist/node_modules/@allyhub/model/dist/bevel-junction.d.ts +0 -16
  858. package/dist/node_modules/@allyhub/model/dist/bevel-marks.d.ts +0 -14
  859. package/dist/node_modules/@allyhub/model/dist/bevel-metric.d.ts +0 -4
  860. package/dist/node_modules/@allyhub/model/dist/bevel-mixed.d.ts +0 -12
  861. package/dist/node_modules/@allyhub/model/dist/bevel-offsets.d.ts +0 -22
  862. package/dist/node_modules/@allyhub/model/dist/bevel-patch.d.ts +0 -45
  863. package/dist/node_modules/@allyhub/model/dist/bevel-profile.d.ts +0 -13
  864. package/dist/node_modules/@allyhub/model/dist/bevel-projection.d.ts +0 -10
  865. package/dist/node_modules/@allyhub/model/dist/bevel-reflex.d.ts +0 -10
  866. package/dist/node_modules/@allyhub/model/dist/bevel-square-out.d.ts +0 -18
  867. package/dist/node_modules/@allyhub/model/dist/bevel-strips.d.ts +0 -8
  868. package/dist/node_modules/@allyhub/model/dist/bmesh-cycles.d.ts +0 -52
  869. package/dist/node_modules/@allyhub/model/dist/build-cache.d.ts +0 -42
  870. package/dist/node_modules/@allyhub/model/dist/build-job.d.ts +0 -34
  871. package/dist/node_modules/@allyhub/model/dist/build-worker.d.ts +0 -2
  872. package/dist/node_modules/@allyhub/model/dist/build.d.ts +0 -67
  873. package/dist/node_modules/@allyhub/model/dist/cancel.d.ts +0 -8
  874. package/dist/node_modules/@allyhub/model/dist/curve-math.d.ts +0 -21
  875. package/dist/node_modules/@allyhub/model/dist/curve-mesh.d.ts +0 -30
  876. package/dist/node_modules/@allyhub/model/dist/evaluation-guard.d.ts +0 -11
  877. package/dist/node_modules/@allyhub/model/dist/export.d.ts +0 -12
  878. package/dist/node_modules/@allyhub/model/dist/mesh-queries.d.ts +0 -34
  879. package/dist/node_modules/@allyhub/model/dist/names.d.ts +0 -9
  880. package/dist/node_modules/@allyhub/model/dist/png.d.ts +0 -12
  881. package/dist/node_modules/@allyhub/model/dist/polygon-triangulation.d.ts +0 -4
  882. package/dist/node_modules/@allyhub/model/dist/program-location.d.ts +0 -7
  883. package/dist/node_modules/@allyhub/model/dist/report.d.ts +0 -70
  884. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +0 -21
  885. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +0 -4
  886. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +0 -17
  887. package/dist/node_modules/@allyhub/piece/dist/page/runtimes.d.ts +0 -9
  888. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +0 -661
  889. package/dist/node_modules/@allyhub/protocol/dist/account.js +0 -2
  890. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +0 -30
  891. package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +0 -200
  892. package/dist/node_modules/@allyhub/protocol/dist/blobs.d.ts +0 -44
  893. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +0 -68
  894. package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.d.ts +0 -77
  895. package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.js +0 -2
  896. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +0 -577
  897. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +0 -674
  898. package/dist/node_modules/@allyhub/protocol/dist/errors.d.ts +0 -7
  899. package/dist/node_modules/@allyhub/protocol/dist/events.d.ts +0 -803
  900. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +0 -103
  901. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +0 -247
  902. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +0 -8
  903. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +0 -38
  904. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +0 -91
  905. package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.d.ts +0 -83
  906. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +0 -144
  907. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +0 -274
  908. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +0 -211
  909. package/dist/node_modules/@allyhub/protocol/dist/open.d.ts +0 -13
  910. package/dist/node_modules/@allyhub/protocol/dist/paywall.d.ts +0 -134
  911. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +0 -59
  912. package/dist/node_modules/@allyhub/protocol/dist/peer.js +0 -2
  913. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +0 -21
  914. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +0 -125
  915. package/dist/node_modules/@allyhub/protocol/dist/purposes.d.ts +0 -47
  916. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +0 -191
  917. package/dist/node_modules/@allyhub/protocol/dist/routes.d.ts +0 -14
  918. package/dist/node_modules/@allyhub/protocol/dist/routes.js +0 -2
  919. package/dist/node_modules/@allyhub/protocol/dist/runtimes.d.ts +0 -96
  920. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +0 -35
  921. package/dist/node_modules/@allyhub/protocol/dist/shape.js +0 -2
  922. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +0 -156
  923. package/dist/node_modules/@allyhub/protocol/dist/shares.js +0 -2
  924. package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.d.ts +0 -34
  925. package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.js +0 -2
  926. package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +0 -298
  927. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +0 -503
  928. package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +0 -14
  929. package/dist/node_modules/@allyhub/protocol/dist/studio-server.d.ts +0 -264
  930. package/dist/node_modules/@allyhub/protocol/dist/studio-server.js +0 -2
  931. package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.d.ts +0 -18
  932. package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.js +0 -2
  933. package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.d.ts +0 -97
  934. package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.js +0 -2
  935. package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +0 -196
  936. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +0 -578
  937. package/dist/node_modules/@allyhub/protocol/dist/turns.d.ts +0 -71
  938. package/dist/node_modules/@allyhub/protocol/dist/turns.js +0 -2
  939. package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +0 -10
  940. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +0 -14
  941. package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +0 -38
  942. package/dist/node_modules/@allyhub/runtimes/dist/errors.d.ts +0 -20
  943. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +0 -15
  944. package/dist/node_modules/@allyhub/runtimes/dist/home.d.ts +0 -2
  945. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +0 -12
  946. package/dist/node_modules/@allyhub/runtimes/dist/lock.d.ts +0 -14
  947. package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +0 -3
  948. package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +0 -12
  949. package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +0 -101
  950. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +0 -73
  951. package/dist/node_modules/@allyhub/runtimes/dist/unpack.d.ts +0 -14
  952. package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +0 -20
  953. package/dist/node_modules/@allyhub/scenery-host/dist/bake/digest.d.ts +0 -14
  954. package/dist/node_modules/@allyhub/scenery-host/dist/bake/envmap.d.ts +0 -21
  955. package/dist/node_modules/@allyhub/scenery-host/dist/bake/run.d.ts +0 -63
  956. package/dist/node_modules/@allyhub/scenery-host/dist/budget.d.ts +0 -40
  957. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +0 -92
  958. package/dist/node_modules/@allyhub/scenery-host/dist/commands.d.ts +0 -54
  959. package/dist/node_modules/@allyhub/scenery-host/dist/draw2d.d.ts +0 -47
  960. package/dist/node_modules/@allyhub/scenery-host/dist/glass.d.ts +0 -39
  961. package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +0 -25
  962. package/dist/node_modules/@allyhub/scenery-host/dist/inventory.d.ts +0 -18
  963. package/dist/node_modules/@allyhub/scenery-host/dist/layer/fidelity.d.ts +0 -70
  964. package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +0 -7
  965. package/dist/node_modules/@allyhub/scenery-host/dist/layer/moire.d.ts +0 -6
  966. package/dist/node_modules/@allyhub/scenery-host/dist/measure/contacts.d.ts +0 -45
  967. package/dist/node_modules/@allyhub/scenery-host/dist/measure/health.d.ts +0 -10
  968. package/dist/node_modules/@allyhub/scenery-host/dist/measure/index.d.ts +0 -110
  969. package/dist/node_modules/@allyhub/scenery-host/dist/measure/relations.d.ts +0 -17
  970. package/dist/node_modules/@allyhub/scenery-host/dist/measure/solid.d.ts +0 -32
  971. package/dist/node_modules/@allyhub/scenery-host/dist/measure/support.d.ts +0 -11
  972. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +0 -32
  973. package/dist/node_modules/@allyhub/scenery-host/dist/queries/inventory.d.ts +0 -5
  974. package/dist/node_modules/@allyhub/scenery-host/dist/queries/map.d.ts +0 -5
  975. package/dist/node_modules/@allyhub/scenery-host/dist/queries/view.d.ts +0 -10
  976. package/dist/node_modules/@allyhub/scenery-host/dist/scene.d.ts +0 -35
  977. package/dist/node_modules/@allyhub/scenery-host/dist/screen-dom.d.ts +0 -24
  978. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +0 -42
  979. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +0 -6
  980. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +0 -70
  981. package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +0 -49
  982. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +0 -73
  983. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +0 -18
  984. package/dist/node_modules/@allyhub/scenery-host/dist/steady.d.ts +0 -4
  985. package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +0 -134
  986. package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +0 -4
  987. package/dist/node_modules/@allyhub/video-measure/dist/still.js +0 -2
  988. package/editor-web/assets/arrow-down-B8VUPCGi.js +0 -1
  989. package/editor-web/assets/arrow-up-Ds4juY8X.js +0 -1
  990. package/editor-web/assets/article-CS48wwvk.js +0 -3
  991. package/editor-web/assets/article-Cyle57uq.js +0 -7
  992. package/editor-web/assets/bar-button-J9vbfzTx.js +0 -1
  993. package/editor-web/assets/calc-worker-BdHh5LXM.js +0 -45
  994. package/editor-web/assets/channel-HUlo15J7.js +0 -1
  995. package/editor-web/assets/chart-amT4lgX3.js +0 -2
  996. package/editor-web/assets/chart-file-CfbWK9l1.js +0 -1
  997. package/editor-web/assets/code-CD-CbJG9.js +0 -1
  998. package/editor-web/assets/collaborator-BU4qU7O3.js +0 -1
  999. package/editor-web/assets/deck-CtEtDHo2.js +0 -1
  1000. package/editor-web/assets/dist-BBshIz1Q.js +0 -5
  1001. package/editor-web/assets/dist-BI8QjOsV.js +0 -1
  1002. package/editor-web/assets/dist-BajH5QfK.js +0 -24
  1003. package/editor-web/assets/dist-Bl74xqMW.js +0 -19
  1004. package/editor-web/assets/dist-BrUtQth3.js +0 -18
  1005. package/editor-web/assets/dist-CN5A7Au2.js +0 -1
  1006. package/editor-web/assets/dist-CcL6r6l3.js +0 -1
  1007. package/editor-web/assets/dist-D2E3cgRP.js +0 -4
  1008. package/editor-web/assets/dist-D3C6FyrO.js +0 -82
  1009. package/editor-web/assets/dist-DGKjn59H.js +0 -16
  1010. package/editor-web/assets/dist-NQNQ5HqZ.js +0 -17
  1011. package/editor-web/assets/dist-SV0sOVIC.js +0 -43
  1012. package/editor-web/assets/dist-YW8hS4IM.js +0 -9
  1013. package/editor-web/assets/dist-Y_XZZa8q.js +0 -531
  1014. package/editor-web/assets/dist-ZrBAbqyJ.js +0 -3
  1015. package/editor-web/assets/dist-d4dayaWE.js +0 -17
  1016. package/editor-web/assets/dist-elglzHMT.js +0 -6
  1017. package/editor-web/assets/dist-hHcrvNn9.js +0 -1
  1018. package/editor-web/assets/esm-DzxAod8Q.js +0 -21
  1019. package/editor-web/assets/file-exclamation-point-_L3ElCJ5.js +0 -1
  1020. package/editor-web/assets/flowDiagram-IUGLLWBU-tz5ewhC5.js +0 -1
  1021. package/editor-web/assets/hint-rlht0uxG.js +0 -1
  1022. package/editor-web/assets/index-Dvh1t1om.css +0 -2
  1023. package/editor-web/assets/index-q7X6hdHp.js +0 -28
  1024. package/editor-web/assets/minus-CbPnUIOy.js +0 -1
  1025. package/editor-web/assets/progress-CwKcXARv.js +0 -6
  1026. package/editor-web/assets/props-form-DUFxM5eb.js +0 -1
  1027. package/editor-web/assets/react-Edyoga_4.js +0 -1
  1028. package/editor-web/assets/row-C_svyL8o.js +0 -1
  1029. package/editor-web/assets/schemas-moE_A7Nj.js +0 -1
  1030. package/editor-web/assets/search-Ba2BbT6T.js +0 -1
  1031. package/editor-web/assets/slides-oQ_C0SVJ.js +0 -1
  1032. package/editor-web/assets/snapshots-Dd0Wd_qM.js +0 -1
  1033. package/editor-web/assets/sound-bTlco_K3.js +0 -1
  1034. package/editor-web/assets/split-zARio3J8.js +0 -3
  1035. package/editor-web/assets/strikethrough-BwXWi4zg.js +0 -1
  1036. package/editor-web/assets/surface-DtCjIlrq.js +0 -1
  1037. package/editor-web/assets/svg-CWIBMIQ9.js +0 -1
  1038. package/editor-web/assets/swatch-DhztHwPU.js +0 -1
  1039. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-X35m3xN6.js +0 -8
  1040. package/editor-web/assets/switch-8MU4Nfxe.js +0 -1
  1041. package/editor-web/assets/table-DRbddzx0.js +0 -1
  1042. package/editor-web/assets/tabs-BHBvbekZ.js +0 -1
  1043. package/editor-web/assets/tag-CIfWT8B_.js +0 -1
  1044. package/editor-web/assets/text-align-start-Cic2-TLh.js +0 -1
  1045. package/editor-web/assets/textarea-D7TnPwv1.js +0 -1
  1046. package/editor-web/assets/video-oJ3qa1Qv.js +0 -1
  1047. package/editor-web/assets/words-XlXG79Ur.js +0 -3
  1048. package/editor-web/assets/workbook-DznVDqoE.js +0 -45
  1049. package/editor-web/assets/x-DlhyIKuu.js +0 -41
  1050. /package/dist/node_modules/@allyhub/{protocol/dist/runtimes.js → runtimes/dist/schema.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/stage-runtime",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,5 +1,5 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{CLIENT_EVENTS as a,EVENT_ABOUT as n,EVENT_PROPS as r,WINDOW_EVENTS as i}from"@allyhub/protocol";import{TELEMETRY_DEFAULT as h}from"./level.js";export const TELEMETRY_DOC="public/github/TELEMETRY.md";const l=e=>{const t=Object.keys(r[e].shape);return t.length===0?"":t.map(o=>`\`${o}\``).join(", ")};export function telemetryDoc(){const e=s=>`| \`${s}\` | ${n[s]} | ${l(s)} |`,t=a.map(e),o=i.map(e);return`# What AllyHub tells AllyHub
2
+ import{CLIENT_EVENTS as a,EVENT_ABOUT as n,EVENT_PROPS as r,WINDOW_EVENTS as i}from"@allyhub/protocol/events";import{TELEMETRY_DEFAULT as h}from"./level.js";export const TELEMETRY_DOC="public/github/TELEMETRY.md";const l=e=>{const t=Object.keys(r[e].shape);return t.length===0?"":t.map(o=>`\`${o}\``).join(", ")};export function telemetryDoc(){const e=s=>`| \`${s}\` | ${n[s]} | ${l(s)} |`,t=a.map(e),o=i.map(e);return`# What AllyHub tells AllyHub
3
3
 
4
4
  AllyHub's programs on your computer (the \`allyhub\` CLI and AllyHub Studio) tell AllyHub how they are used and when they fail, so that we find what breaks and what is worth building. This page is all of it.
5
5
 
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{ERRORS_PATH as n}from"@allyhub/protocol";export const ERRORS_WAIT_MS=1e4;export function errorsSender(t){const r=t.fetch??fetch;return async a=>{if(!await t.allowed())return{};const e=await r(`${t.url}${n}`,{method:"POST",body:a.body,signal:AbortSignal.timeout(t.waitMs??ERRORS_WAIT_MS)});return await e.body?.cancel(),{statusCode:e.status}}}
2
+ import{ERRORS_PATH as n}from"@allyhub/protocol/errors";export const ERRORS_WAIT_MS=1e4;export function errorsSender(t){const r=t.fetch??fetch;return async a=>{if(!await t.allowed())return{};const e=await r(`${t.url}${n}`,{method:"POST",body:a.body,signal:AbortSignal.timeout(t.waitMs??ERRORS_WAIT_MS)});return await e.body?.cancel(),{statusCode:e.status}}}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export const REPORT_LIMIT_DEFAULTS={ofOneErrorPerWindow:3,ofAllErrorsPerWindow:30,windowMs:36e5};const w=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|\b[0-9a-f]{8,}\b|\d+/giu;export function errorCountedOfReport(e){const o=e.exception?.values?.at(-1),r=typeof e.message=="string"?e.message:e.message?.formatted??e.message?.message??"";return(o===void 0?r:`${o.type??"Error"}: ${o.value??""}`).replace(w,"#")}export function limitReports(e={}){const o={...REPORT_LIMIT_DEFAULTS,...e},r=e.now??Date.now;let n=r(),t=0;const s=new Map;return c=>{const a=r();a-n>=o.windowMs&&(n=a,t=0,s.clear());const f=errorCountedOfReport(c),i=s.get(f)??0;return t>=o.ofAllErrorsPerWindow||i>=o.ofOneErrorPerWindow?!1:(t+=1,s.set(f,i+1),!0)}}
@@ -1,5 +1,5 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{randomUUID as f}from"node:crypto";import{appendFile as u,mkdir as w,readFile as y,readdir as T,rename as S,rm as h,stat as I}from"node:fs/promises";import{join as c}from"node:path";import{ClientEventSchema as p,EVENTS_AT_MOST as E,EVENTS_PATH as k}from"@allyhub/protocol";export const TELEMETRY_DEFAULTS={queueAtMost:1e3,keepDays:7,sendTimeoutMs:5e3,staleMs:10*6e4};const d="queue.jsonl",m=/^sending-.+\.jsonl$/u;export class Telemetry{o;options;constructor(e){this.o=e,this.options={...TELEMETRY_DEFAULTS,...e.options}}now(){return this.o.now?.()??new Date}async event(e,s,n={}){try{if(await this.o.level()!=="all")return;const o=p.safeParse({id:f(),at:this.now().toISOString(),name:e,props:s,...n.projectId===void 0?{}:{projectId:n.projectId},...n.sessionId===void 0?{}:{sessionId:n.sessionId},...n.traceId===void 0?{}:{traceId:n.traceId}});if(!o.success){this.o.onInvalid?.(e,o.error.message);return}await w(this.o.dir,{recursive:!0}),await u(c(this.o.dir,d),`${JSON.stringify(o.data)}
2
+ import{randomUUID as f}from"node:crypto";import{appendFile as u,mkdir as w,readFile as y,readdir as T,rename as S,rm as h,stat as I}from"node:fs/promises";import{join as c}from"node:path";import{ClientEventSchema as p,EVENTS_AT_MOST as E,EVENTS_PATH as k}from"@allyhub/protocol/events";export const TELEMETRY_DEFAULTS={queueAtMost:1e3,keepDays:7,sendTimeoutMs:5e3,staleMs:10*6e4};const d="queue.jsonl",m=/^sending-.+\.jsonl$/u;export class Telemetry{o;options;constructor(e){this.o=e,this.options={...TELEMETRY_DEFAULTS,...e.options}}now(){return this.o.now?.()??new Date}async event(e,s,n={}){try{if(await this.o.level()!=="all")return;const o=p.safeParse({id:f(),at:this.now().toISOString(),name:e,props:s,...n.projectId===void 0?{}:{projectId:n.projectId},...n.sessionId===void 0?{}:{sessionId:n.sessionId},...n.traceId===void 0?{}:{traceId:n.traceId}});if(!o.success){this.o.onInvalid?.(e,o.error.message);return}await w(this.o.dir,{recursive:!0}),await u(c(this.o.dir,d),`${JSON.stringify(o.data)}
3
3
  `)}catch{}}async read(e){const s=await y(e,"utf8").catch(()=>""),n=[];for(const o of s.split(`
4
4
  `))if(o.trim()!=="")try{const a=p.safeParse(JSON.parse(o));a.success&&n.push(a.data)}catch{}return n}async flush(){const e={sent:0,waiting:0,dropped:0};try{const s=this.o.dir,n=await T(s).catch(()=>[]);if(await this.o.level()!=="all"){for(const t of n)(t===d||m.test(t))&&await h(c(s,t),{force:!0});return e}const o=c(s,`sending-${f()}.jsonl`),a=[];n.includes(d)&&(await S(c(s,d),o),a.push(o));for(const t of n.filter(r=>m.test(r))){const r=c(s,t);this.now().getTime()-(await I(r)).mtime.getTime()>=this.options.staleMs&&a.push(r)}if(a.length===0)return e;let i=[];for(const t of a)i.push(...await this.read(t));const g=this.now().getTime()-this.options.keepDays*24*60*60*1e3,l=i.filter(t=>new Date(t.at).getTime()>=g).slice(-this.options.queueAtMost);if(e.dropped+=i.length-l.length,i=l,await this.o.sender.key()!==void 0)for(;i.length>0;){const t=i.slice(0,E),r=await this.send(t);if(r==="later")break;i=i.slice(t.length),r==="kept"?e.sent+=t.length:e.dropped+=t.length}i.length>0&&await u(c(s,d),i.map(t=>`${JSON.stringify(t)}
5
- `).join("")),e.waiting=i.length;for(const t of a)await h(t,{force:!0})}catch{}return e}async send(e){try{const s=await this.o.sender.keyedFetch(`${this.o.sender.url}${k}`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({events:e}),signal:AbortSignal.timeout(this.options.sendTimeoutMs)});return await s.body?.cancel(),s.ok?"kept":s.status===400||s.status===403||s.status===413?"refused":"later"}catch{return"later"}}}
5
+ `).join("")),e.waiting=i.length;for(const t of a)await h(t,{force:!0})}catch{}return e}async send(e){try{const s=await this.o.sender.keyedFetch(`${this.o.sender.url}${k}`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({events:[...e]}),signal:AbortSignal.timeout(this.options.sendTimeoutMs)});return await s.body?.cancel(),s.ok?"kept":s.status===400||s.status===403||s.status===413?"refused":"later"}catch{return"later"}}}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/telemetry",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -15,6 +15,10 @@
15
15
  "types": "./dist/errors.d.ts",
16
16
  "default": "./dist/errors.js"
17
17
  },
18
+ "./limit": {
19
+ "types": "./dist/limit.d.ts",
20
+ "default": "./dist/limit.js"
21
+ },
18
22
  "./levels": {
19
23
  "types": "./dist/levels.d.ts",
20
24
  "default": "./dist/levels.js"
@@ -1,2 +1,4 @@
1
1
  work:
2
2
  - file: notes/launch.md
3
+ versions:
4
+ sheet: 2
@@ -1,2 +1,4 @@
1
1
  work:
2
2
  - file: archive/assets.zip
3
+ versions:
4
+ sheet: 2
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/text-extension",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./package.json": "./package.json"
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{faceAt as A,facesAt as C}from"@allyhub/piece";import{keyAt as l,rectAt as z,simplifyKeys as E}from"./motion.js";export function sourceAt(t,e){const n=t.cuts;if(n&&n.length>0){let c=n[0]??{at:t.start,from:t.from};for(const r of n)r.at<=e+1e-9&&(c=r);return c.from+(e-c.at)}return t.from+(e-t.start)*t.speed}export function zoomRect(t,e,n,c){if(e===1)return t;const r=1-1/e;return[t[0]+n*t[2]*r,t[1]+c*t[3]*r,t[2]/e,t[3]/e]}export function zoomChannel(t,e){return t.map(n=>({t:n.t,v:n[e],...n.ease?{ease:n.ease}:{}}))}export function placementAt(t,e){let n=t.box,c=t.picture;if(t.boxes&&t.boxes.length>0){const o=t.boxes[0]?.box??t.box,i=z(t.boxes.map(h=>({t:h.t,rect:h.box,...h.ease?{ease:h.ease}:{}})),e),a=boxFit(t,o,i),[f,m,u,x]=t.picture,s=i[0]+i[2]/2+(f+u/2-(o[0]+o[2]/2))*a,p=i[1]+i[3]/2+(m+x/2-(o[1]+o[3]/2))*a;c=[s-u*a/2,p-x*a/2,u*a,x*a],n=i}let r=t.crop;if(r&&t.pan&&t.pan.length>0){const o=l(t.pan.map(a=>({t:a.t,v:a.x})),e),i=l(t.pan.map(a=>({t:a.t,v:a.y})),e);r=[o,i,r[2],r[3]]}return r&&t.zoom&&t.zoom.length>0&&(r=zoomRect(r,l(zoomChannel(t.zoom,"z"),e),l(zoomChannel(t.zoom,"cx"),e),l(zoomChannel(t.zoom,"cy"),e))),{box:n,picture:c,...r?{crop:r}:{}}}export function boxFit(t,e,n){const[,,c,r]=t.picture;if(c<=0||r<=0||e[2]<=0||e[3]<=0)return 1;const o=t.fit==="cover"?Math.max:Math.min,i=o(e[2]/c,e[3]/r);return o(n[2]/c,n[3]/r)/i}export function sourceToFrame(t,e){const n=t.crop;if(!n)return e;const c=t.picture[2]/n[2],r=t.picture[3]/n[3];return[t.picture[0]+(e[0]-n[0])*c,t.picture[1]+(e[1]-n[1])*r,e[2]*c,e[3]*r]}function w(t,e){const n=Math.max(t[0],e[0]),c=Math.max(t[1],e[1]),r=Math.min(t[0]+t[2],e[0]+e[2]),o=Math.min(t[1]+t[3],e[1]+e[3]);return r>n&&o>c?[n,c,r-n,o-c]:void 0}export function faceOnFrame(t,e,n,c=t.speaker??e.speaker){if(n<t.start||n>=t.end)return;const r=A(e,sourceAt(t,n),c);if(!r)return;const o=placementAt(t,n);return w(sourceToFrame(o,r),o.box)}export function facesOnFrame(t,e,n){if(n<t.start||n>=t.end)return[];const c=placementAt(t,n);return C(e,sourceAt(t,n)).flatMap(r=>{const o=w(sourceToFrame(c,r.box),c.box);return o?[{id:r.id,box:o}]:[]})}export function reframeWindow(t,e){const n=e.w/e.h,c=Math.min(t.width,t.height*n);return{w:Math.min(t.width,Math.round(c)),h:Math.min(t.height,Math.round(c/n))}}export const REFRAME_FACE_Y=.4,REFRAME_FALLBACK={x:.5,y:.4};export function reframePath(t){const{window:e,source:n,layer:c}=t,r=s=>Math.min(Math.max(s,0),n.width-e.w),o=s=>Math.min(Math.max(s,0),n.height-e.h),i=t.faceY??REFRAME_FACE_Y,a=s=>{const p=t.track?A(t.track,sourceAt(c,s),t.speaker??t.track.speaker):void 0,h=p?p[0]+p[2]/2:(t.focus?.x??.5)*n.width,y=p?p[1]+p[3]/2:(t.focus?.y??.4)*n.height;return[r(h-e.w/2),o(y-e.h*i)]},f=(c.cuts??[]).map(s=>s.at).filter(s=>s>c.start&&s<c.end),m=[c.start,...f,c.end],u=[];for(let s=0;s<m.length-1;s++){const p=m[s]??0,h=m[s+1]??p,y=[];for(let d=p;d<h-1e-6;d+=.1)y.push({t:d,v:a(d)});const M=Math.max(p,h-.001);y.push({t:M,v:a(M)});for(const d of E(y,1.5))u.push({t:Math.round(d.t*1e6)/1e6,x:Math.round((d.v[0]??0)*100)/100,y:Math.round((d.v[1]??0)*100)/100})}const x=u[0];return x&&u.every(s=>s.x===x.x&&s.y===x.y)?[x]:u}export const PUNCH_IN=.2,PUNCH_OUT=.25,PUNCH_SCALE=1.12,PUNCH_EASE="in-out",PUNCH_CENTER={x:.5,y:.42};export function punchKeys(t){const e=[...t].sort((o,i)=>o.start-i.start),n=[],c=o=>Math.round(o*1e6)/1e6;let r=PUNCH_OUT;for(const o of e){const i=o.in??PUNCH_IN,a=o.out??PUNCH_OUT,f=o.ease??PUNCH_EASE,m=o.start-i/2,u=o.start+i/2,x=n.at(-1);x&&x.t>m?(n.pop(),n.push({t:c(Math.max(x.t-r,u)),z:o.scale,cx:o.cx,cy:o.cy,ease:f})):(n.push({t:c(Math.max(0,m)),z:1,cx:o.cx,cy:o.cy}),n.push({t:c(u),z:o.scale,cx:o.cx,cy:o.cy,ease:f}));const s=Math.max(o.end,u);n.push({t:c(s),z:o.scale,cx:o.cx,cy:o.cy}),n.push({t:c(s+a),z:1,cx:o.cx,cy:o.cy,ease:f}),r=a}return n}export const PULLBACK_SCALE=1.12,PULLBACK_DUR=.6,PULLBACK_EASE="out";export function pullbackKeys(t,e,n=[]){const c=a=>Math.round(a*1e6)/1e6,r=n[0],o=Math.min(t+e.dur,r?.t??1/0);if(o<=t+1e-6)return[...n];const i=r&&r.t<=o+1e-9&&r.z===1?n.slice(1):n;return[{t:c(t),z:e.scale,cx:e.cx,cy:e.cy},{t:c(o),z:1,cx:e.cx,cy:e.cy,ease:e.ease??PULLBACK_EASE},...i]}export function parsePunch(t){const e=/^(.*\S)@(\d*\.\d+)$/u.exec(t.trim());return!e?.[1]||e[2]===void 0?{ref:t}:{ref:e[1],scale:Number(e[2])}}
2
+ import{faceAt as A,facesAt as g}from"@allyhub/piece";import{keyAt as f,rectAt as C,simplifyKeys as z}from"./motion.js";export function sourceAt(t,e){const n=t.cuts;if(n&&n.length>0){let s=n[0]??{at:t.start,from:t.from};for(const c of n)c.at<=e+1e-9&&(s=c);return s.from+(e-s.at)}return t.from+(e-t.start)*t.speed}export function sourceSpans(t){const e=(t.cuts??[]).map(c=>c.at).filter(c=>c>t.start&&c<t.end),n=[t.start,...e,t.end],s=[];for(let c=0;c<n.length-1;c++){const o=n[c]??0,u=n[c+1]??o;if(u<=o)continue;const r=sourceAt(t,o),h=r+(u-o)*(t.cuts?.length?1:t.speed);s.push(r<=h?[r,h]:[h,r])}return s.sort((c,o)=>c[0]-o[0])}export function zoomRect(t,e,n,s){if(e===1)return t;const c=1-1/e;return[t[0]+n*t[2]*c,t[1]+s*t[3]*c,t[2]/e,t[3]/e]}export function zoomChannel(t,e){return t.map(n=>({t:n.t,v:n[e],...n.ease?{ease:n.ease}:{}}))}export function placementAt(t,e){let n=t.box,s=t.picture;if(t.boxes&&t.boxes.length>0){const o=t.boxes[0]?.box??t.box,u=C(t.boxes.map(m=>({t:m.t,rect:m.box,...m.ease?{ease:m.ease}:{}})),e),r=boxFit(t,o,u),[h,d,i,x]=t.picture,a=u[0]+u[2]/2+(h+i/2-(o[0]+o[2]/2))*r,p=u[1]+u[3]/2+(d+x/2-(o[1]+o[3]/2))*r;s=[a-i*r/2,p-x*r/2,i*r,x*r],n=u}let c=t.crop;if(c&&t.pan&&t.pan.length>0){const o=f(t.pan.map(r=>({t:r.t,v:r.x})),e),u=f(t.pan.map(r=>({t:r.t,v:r.y})),e);c=[o,u,c[2],c[3]]}return c&&t.zoom&&t.zoom.length>0&&(c=zoomRect(c,f(zoomChannel(t.zoom,"z"),e),f(zoomChannel(t.zoom,"cx"),e),f(zoomChannel(t.zoom,"cy"),e))),{box:n,picture:s,...c?{crop:c}:{}}}export function boxFit(t,e,n){const[,,s,c]=t.picture;if(s<=0||c<=0||e[2]<=0||e[3]<=0)return 1;const o=t.fit==="cover"?Math.max:Math.min,u=o(e[2]/s,e[3]/c);return o(n[2]/s,n[3]/c)/u}export function sourceToFrame(t,e){const n=t.crop;if(!n)return e;const s=t.picture[2]/n[2],c=t.picture[3]/n[3];return[t.picture[0]+(e[0]-n[0])*s,t.picture[1]+(e[1]-n[1])*c,e[2]*s,e[3]*c]}function w(t,e){const n=Math.max(t[0],e[0]),s=Math.max(t[1],e[1]),c=Math.min(t[0]+t[2],e[0]+e[2]),o=Math.min(t[1]+t[3],e[1]+e[3]);return c>n&&o>s?[n,s,c-n,o-s]:void 0}export function faceOnFrame(t,e,n,s=t.speaker??e.speaker){if(n<t.start||n>=t.end)return;const c=A(e,sourceAt(t,n),s);if(!c)return;const o=placementAt(t,n);return w(sourceToFrame(o,c),o.box)}export function facesOnFrame(t,e,n){if(n<t.start||n>=t.end)return[];const s=placementAt(t,n);return g(e,sourceAt(t,n)).flatMap(c=>{const o=w(sourceToFrame(s,c.box),s.box);return o?[{id:c.id,box:o}]:[]})}export function reframeWindow(t,e){const n=e.w/e.h,s=Math.min(t.width,t.height*n);return{w:Math.min(t.width,Math.round(s)),h:Math.min(t.height,Math.round(s/n))}}export const REFRAME_FACE_Y=.4,REFRAME_FALLBACK={x:.5,y:.4};export function reframePath(t){const{window:e,source:n,layer:s}=t,c=a=>Math.min(Math.max(a,0),n.width-e.w),o=a=>Math.min(Math.max(a,0),n.height-e.h),u=t.faceY??REFRAME_FACE_Y,r=a=>{const p=t.track?A(t.track,sourceAt(s,a),t.speaker??t.track.speaker):void 0,m=p?p[0]+p[2]/2:(t.focus?.x??.5)*n.width,l=p?p[1]+p[3]/2:(t.focus?.y??.4)*n.height;return[c(m-e.w/2),o(l-e.h*u)]},h=(s.cuts??[]).map(a=>a.at).filter(a=>a>s.start&&a<s.end),d=[s.start,...h,s.end],i=[];for(let a=0;a<d.length-1;a++){const p=d[a]??0,m=d[a+1]??p,l=[];for(let y=p;y<m-1e-6;y+=.1)l.push({t:y,v:r(y)});const M=Math.max(p,m-.001);l.push({t:M,v:r(M)});for(const y of z(l,1.5))i.push({t:Math.round(y.t*1e6)/1e6,x:Math.round((y.v[0]??0)*100)/100,y:Math.round((y.v[1]??0)*100)/100})}const x=i[0];return x&&i.every(a=>a.x===x.x&&a.y===x.y)?[x]:i}export const PUNCH_IN=.2,PUNCH_OUT=.25,PUNCH_SCALE=1.12,PUNCH_EASE="in-out",PUNCH_CENTER={x:.5,y:.42};export function punchKeys(t){const e=[...t].sort((o,u)=>o.start-u.start),n=[],s=o=>Math.round(o*1e6)/1e6;let c=PUNCH_OUT;for(const o of e){const u=o.in??PUNCH_IN,r=o.out??PUNCH_OUT,h=o.ease??PUNCH_EASE,d=o.start-u/2,i=o.start+u/2,x=n.at(-1);x&&x.t>d?(n.pop(),n.push({t:s(Math.max(x.t-c,i)),z:o.scale,cx:o.cx,cy:o.cy,ease:h})):(n.push({t:s(Math.max(0,d)),z:1,cx:o.cx,cy:o.cy}),n.push({t:s(i),z:o.scale,cx:o.cx,cy:o.cy,ease:h}));const a=Math.max(o.end,i);n.push({t:s(a),z:o.scale,cx:o.cx,cy:o.cy}),n.push({t:s(a+r),z:1,cx:o.cx,cy:o.cy,ease:h}),c=r}return n}export const PULLBACK_SCALE=1.12,PULLBACK_DUR=.6,PULLBACK_EASE="out";export function pullbackKeys(t,e,n=[]){const s=r=>Math.round(r*1e6)/1e6,c=n[0],o=Math.min(t+e.dur,c?.t??1/0);if(o<=t+1e-6)return[...n];const u=c&&c.t<=o+1e-9&&c.z===1?n.slice(1):n;return[{t:s(t),z:e.scale,cx:e.cx,cy:e.cy},{t:s(o),z:1,cx:e.cx,cy:e.cy,ease:e.ease??PULLBACK_EASE},...u]}export function parsePunch(t){const e=/^(.*\S)@(\d*\.\d+)$/u.exec(t.trim());return!e?.[1]||e[2]===void 0?{ref:t}:{ref:e[1],scale:Number(e[2])}}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{READ_DEFAULTS as G,countWords as I,phoneScale as K}from"@allyhub/piece";import{boxFit as V,zoomChannel as W}from"./footage-motion.js";import{keyAt as J,rectAt as Q}from"./motion.js";export function textTime(t,r,i=G){const o=new Map;for(const h of t)o.set(h.text,(o.get(h.text)??0)+1);let a,p=0;for(const h of t){const w=o.get(h.text)??0;w>=p&&(p=w,a=h.text)}if(a===void 0)return;const x=t.filter(h=>h.text===a),e=h=>h.opacity>=i.opacity-1e-9&&h.shown>=i.shown-1e-9,n=i.every,c=h=>d(Math.min(h+n,r.end)),m=[];for(const h of x){if(!e(h))continue;const w=m.at(-1);w&&h.t-w[1]<n*.5?w[1]=c(h.t):m.push([d(h.t),c(h.t)])}const u=x.find(e)??x[0];if(!u)return;const f=(x.some(e)?x.filter(e):x).flatMap(h=>h.size===void 0?[]:[h.size]),b=f.length>0?Math.min(...f):void 0,s=(x.some(e)?x.filter(e):x).flatMap(h=>h.xHeight===void 0?[]:[h.xHeight]),l=s.length>0?Math.min(...s):void 0,g=K(r.frame,i.phone),z=h=>d(h.reduce((w,[S,F])=>w+Math.max(0,F-S),0)),y=[];for(const h of x){const w=y.at(-1);w&&h.t-w[1]<n*.5?w[1]=c(h.t):y.push([d(h.t),c(h.t)])}return{part:r.part,text:{layer:r.layer,z:r.z,text:a,box:u.box},...I(a),seconds:z(m),spans:m,onScreen:z(y),first:d(u.t),...b===void 0?{}:{size:{px:T(b),phone:T(b*g),...l===void 0?{}:{lowercase:{px:T(l),phone:T(l*g)}}}}}}const L=t=>t.toLowerCase().replace(/[^\p{L}\p{N}]/gu,"");export function speechShown(t,r){const i=new Set(r.flatMap(p=>p.split(/\s+/u).map(L))),o=t.split(/\s+/u).filter(p=>L(p)!==""),a=o.filter(p=>!i.has(L(p)));return{words:o.length,shown:o.length-a.length,unshown:[...new Set(a.map(L))]}}export function wordsAtOnce(t){const r=new Map;for(const o of t){if(o.spans.length===0)continue;const a=r.get(o.part)??[];a.push(o),r.set(o.part,a)}const i=[];for(const[o,a]of r){const p=[...new Set(a.flatMap(n=>n.spans.flat()))].sort((n,c)=>n-c),x=[];let e;for(const[n,c]of p.entries()){const m=a.filter(b=>b.spans.some(([s,l])=>c>=s&&c<l)),u=m.reduce((b,s)=>b+s.words,0),f=x.at(-1);(f?.words!==u||f.texts!==m.length)&&x.push({t:c,words:u,texts:m.length}),m.length>0&&(!e||u>e.words)?e={words:u,chars:m.reduce((b,s)=>b+s.chars,0),texts:m.length,from:c,until:p[n+1]??c}:e?.until===c&&u===e.words&&(e.until=p[n+1]??c)}e&&i.push({part:o,...e,steps:x})}return i}const d=t=>Math.round(t*1e3)/1e3,T=t=>Math.round(t*10)/10;export{cutThroughout}from"@allyhub/image-measure/layout";export function footageScale(t,r=1,i){const o=t.crop;if(!o||!t.source||o[2]<=0||o[3]<=0)return;const a=t.picture,p=t.zoom&&t.zoom.length>0?W(t.zoom,"z"):[],x=t.boxes&&t.boxes.length>1?t.boxes:void 0,e=x?.[0]?.box,n=x?.map(s=>({t:s.t,rect:s.box,...s.ease?{ease:s.ease}:{}})),c=Math.max(t.start,i?t.end-1/i:t.end),m=[t.start,...p.map(s=>s.t),...(x??[]).map(s=>s.t),c].map(s=>Math.min(Math.max(s,t.start),c)).sort((s,l)=>s-l),u=s=>{const l=p.length>0?J(p,s):1,g=n&&e?V(t,e,Q(n,s)):1,z=Math.max(a[2]*g/o[2],a[3]*g/o[3])*l*r,y=[t.fit];return Math.abs(l-1)>1e-6&&y.push(`zoom ${String(d(l))}×`),n&&Math.abs(g-1)>1e-6&&y.push(`box key ${String(d(g))}×`),{scale:d(z),t:d(s),from:y}};let f=u(t.start),b=f;for(const s of m){const l=u(s);l.scale>f.scale&&(f=l),l.scale<b.scale&&(b=l)}return{part:t.part,file:t.file,source:[t.source.width,t.source.height],shown:[Math.round(o[2]),Math.round(o[3])],max:f,min:b}}export function contentBox(t,r,i){return{x:[i.left,Math.max(i.left,t-i.right)],y:[i.top,Math.max(i.top,r-i.bottom)]}}export function unionSpans(t){const r=t.filter(([o,a])=>a>o).map(([o,a])=>[o,a]).sort((o,a)=>o[0]-a[0]),i=[];for(const o of r){const a=i.at(-1);a&&o[0]<=a[1]?a[1]=Math.max(a[1],o[1]):i.push(o)}return i}export function freeBands(t,r){const[i,o]=t.y,a=[];let p=i;const x=(e,n)=>{n>e&&a.push({y:[e,n],x:[t.x[0],t.x[1]],height:n-e})};for(const[e,n]of unionSpans(r))if(!(n<=p)){if(e>=o)break;x(p,Math.min(e,o)),p=Math.max(p,n)}return x(p,o),a}export function boxRows(t,r){if(!(t[2]<=0||t[3]<=0)&&!(t[0]>=r[1]||t[0]+t[2]<=r[0]))return[Math.floor(t[1]),Math.ceil(t[1]+t[3])]}const A=t=>[t[0]+t[2]/2,t[1]+t[3]/2];function N(t,r){if(!t.box||!r.box)return{px:0,grew:0};const[i,o]=A(t.box),[a,p]=A(r.box);return{px:Math.hypot(a-i,p-o),grew:Math.max(Math.abs(r.box[2]-t.box[2]),Math.abs(r.box[3]-t.box[3]))}}export function largestSteps(t){const r=[];for(const o of t){const a=o.samples.length,p=[],x=[];for(let e=1;e<a;e++){const n=o.samples[e-1],c=o.samples[e];if(!n||!c)continue;const m=N(n,c);p[e]=Math.max(m.px,m.grew),x[e]=Math.abs(c.opacity-n.opacity)}for(const[e,n]of[["move",p],["fade",x]]){let c=-1,m=0;for(let s=1;s<a;s++){const g=(n[s]??0)-Math.max(n[s-1]??0,n[s+1]??0);g>m+1e-9&&(c=s,m=g)}const u=o.samples[c-1],f=o.samples[c];if(c<1||!u||!f)continue;const b=N(u,f);r.push({part:o.part,layer:o.layer,what:o.what,selector:o.selector,kind:e,t:d(f.t),...u.box?{from:u.box}:{},...f.box?{to:f.box}:{},px:d(b.px),grew:d(b.grew),opacity:[d(u.opacity),d(f.opacity)],around:d(Math.max(n[c-1]??0,n[c+1]??0)),over:d(m)})}}const i=o=>o.kind==="move"?0:1;return r.sort((o,a)=>i(o)-i(a)||a.over-o.over)}export const MOVING_DEFAULTS={hold:1,slow:8,window:.25};const P=(t,r)=>t===r||t!==void 0&&r!==void 0&&t.every((i,o)=>i===r[o]);export function movingStretches(t,r){const i=r.hold??MOVING_DEFAULTS.hold,o=(r.slow??MOVING_DEFAULTS.slow)*((r.height??1080)/1080),a=r.window??MOVING_DEFAULTS.window,p=Math.max(1,Math.round(i*r.fps)),x=new Map;for(const e of t){const n=e.samples;let c=1;for(;c<n.length;){if(P(n[c-1]?.box,n[c]?.box)||!n[c-1]?.box||!n[c]?.box){c++;continue}const m=c-1;let u=c,f=c+1;for(;f<n.length&&f-u<=p;){const M=n[f-1]?.box,v=n[f]?.box;if(!M||!v)break;P(M,v)||(u=f),f++}c=u+1;const b=f>=n.length,s=n[m],l=n[u];if(!s?.box||!l?.box)continue;const[g,z]=A(s.box),[y,h]=A(l.box),w=Math.hypot(y-g,h-z),S=[s.box[2]>0?l.box[2]/s.box[2]:1,s.box[3]>0?l.box[3]/s.box[3]:1],F=l.t-s.t,D=Math.max(1,Math.round(a*r.fps));let j=0;for(let M=m;M<u;M+=D){const v=n[M],k=n[Math.min(u,M+D)];if(!v?.box||!k?.box||k.t<=v.t)continue;const[U,_]=A(v.box),[$,q]=A(k.box);Math.max(Math.hypot($-U,q-_),Math.abs(k.box[2]-v.box[2])/2,Math.abs(k.box[3]-v.box[3])/2)/(k.t-v.t)<o&&(j+=k.t-v.t)}const R=Math.abs(S[0]-1)>.001||Math.abs(S[1]-1)>.001,B=[e.part,d(s.t),d(l.t),S[0].toFixed(2),S[1].toFixed(2),...R?[]:[Math.round(y-g),Math.round(h-z)]].join("|"),C={layer:e.layer,what:e.what,...e.name===void 0?{}:{name:e.name}},O=x.get(B);if(O){O.things++,O.names.length<3&&O.names.push(C);continue}const E=r.transitions?.find(M=>(M.part===e.part||M.from===e.part)&&s.t<M.end&&l.t>M.start),H=r.parts?.find(M=>M.key===e.part)?.end;x.set(B,{part:e.part,start:d(s.t),end:d(l.t),things:1,names:[C],px:d(w),scale:[d(S[0]),d(S[1])],speed:F>0?d(w/F):0,slow:d(j),...E?{transition:{type:E.type,start:E.start,end:E.end}}:{},...H!==void 0&&b&&(n.at(-1)?.t??0)>=H-1.5/r.fps?{toEnd:!0}:{}})}}return[...x.values()].sort((e,n)=>e.start-n.start||n.things-e.things)}
2
+ import{READ_DEFAULTS as T,countWords as v,phoneScale as B}from"@allyhub/piece";import{boxFit as C,zoomChannel as D}from"./footage-motion.js";import{keyAt as E,rectAt as F}from"./motion.js";export function textTime(t,i,r=T){const e=new Map;for(const n of t)e.set(n.text,(e.get(n.text)??0)+1);let o,a=0;for(const n of t){const m=e.get(n.text)??0;m>=a&&(a=m,o=n.text)}if(o===void 0)return;const u=t.filter(n=>n.text===o),c=n=>n.opacity>=r.opacity-1e-9&&n.shown>=r.shown-1e-9,h=r.every,f=n=>M(Math.min(n+h,i.end)),p=[];for(const n of u){if(!c(n))continue;const m=p.at(-1);m&&n.t-m[1]<h*.5?m[1]=f(n.t):p.push([M(n.t),f(n.t)])}const d=u.find(c)??u[0];if(!d)return;const g=(u.some(c)?u.filter(c):u).flatMap(n=>n.size===void 0?[]:[n.size]),x=g.length>0?Math.min(...g):void 0,s=(u.some(c)?u.filter(c):u).flatMap(n=>n.xHeight===void 0?[]:[n.xHeight]),l=s.length>0?Math.min(...s):void 0,w=B(i.frame,r.phone),y=n=>M(n.reduce((m,[A,L])=>m+Math.max(0,L-A),0)),z=[];for(const n of u){const m=z.at(-1);m&&n.t-m[1]<h*.5?m[1]=f(n.t):z.push([M(n.t),f(n.t)])}return{part:i.part,text:{layer:i.layer,z:i.z,text:o,box:d.box},...v(o),seconds:y(p),spans:p,onScreen:y(z),first:M(d.t),...x===void 0?{}:{size:{px:b(x),phone:b(x*w),...l===void 0?{}:{lowercase:{px:b(l),phone:b(l*w)}}}}}}const S=t=>t.toLowerCase().replace(/[^\p{L}\p{N}]/gu,"");export function speechShown(t,i){const r=new Set(i.flatMap(a=>a.split(/\s+/u).map(S))),e=t.split(/\s+/u).filter(a=>S(a)!==""),o=e.filter(a=>!r.has(S(a)));return{words:e.length,shown:e.length-o.length,unshown:[...new Set(o.map(S))]}}export function wordsAtOnce(t){const i=new Map;for(const e of t){if(e.spans.length===0)continue;const o=i.get(e.part)??[];o.push(e),i.set(e.part,o)}const r=[];for(const[e,o]of i){const a=[...new Set(o.flatMap(h=>h.spans.flat()))].sort((h,f)=>h-f),u=[];let c;for(const[h,f]of a.entries()){const p=o.filter(x=>x.spans.some(([s,l])=>f>=s&&f<l)),d=p.reduce((x,s)=>x+s.words,0),g=u.at(-1);(g?.words!==d||g.texts!==p.length)&&u.push({t:f,words:d,texts:p.length}),p.length>0&&(!c||d>c.words)?c={words:d,chars:p.reduce((x,s)=>x+s.chars,0),texts:p.length,from:f,until:a[h+1]??f}:c?.until===f&&d===c.words&&(c.until=a[h+1]??f)}c&&r.push({part:e,...c,steps:u})}return r}const M=t=>Math.round(t*1e3)/1e3,b=t=>Math.round(t*10)/10;export{cutThroughout}from"@allyhub/image-measure/layout";export function footageScale(t,i=1,r){const e=t.crop;if(!e||!t.source||e[2]<=0||e[3]<=0)return;const o=t.picture,a=t.zoom&&t.zoom.length>0?D(t.zoom,"z"):[],u=t.boxes&&t.boxes.length>1?t.boxes:void 0,c=u?.[0]?.box,h=u?.map(s=>({t:s.t,rect:s.box,...s.ease?{ease:s.ease}:{}})),f=Math.max(t.start,r?t.end-1/r:t.end),p=[t.start,...a.map(s=>s.t),...(u??[]).map(s=>s.t),f].map(s=>Math.min(Math.max(s,t.start),f)).sort((s,l)=>s-l),d=s=>{const l=a.length>0?E(a,s):1,w=h&&c?C(t,c,F(h,s)):1,y=Math.max(o[2]*w/e[2],o[3]*w/e[3])*l*i,z=[t.fit];return Math.abs(l-1)>1e-6&&z.push(`zoom ${String(M(l))}×`),h&&Math.abs(w-1)>1e-6&&z.push(`box key ${String(M(w))}×`),{scale:M(y),t:M(s),from:z}};let g=d(t.start),x=g;for(const s of p){const l=d(s);l.scale>g.scale&&(g=l),l.scale<x.scale&&(x=l)}return{part:t.part,file:t.file,source:[t.source.width,t.source.height],shown:[Math.round(e[2]),Math.round(e[3])],max:g,min:x}}export function contentBox(t,i,r){return{x:[r.left,Math.max(r.left,t-r.right)],y:[r.top,Math.max(r.top,i-r.bottom)]}}export function unionSpans(t){const i=t.filter(([e,o])=>o>e).map(([e,o])=>[e,o]).sort((e,o)=>e[0]-o[0]),r=[];for(const e of i){const o=r.at(-1);o&&e[0]<=o[1]?o[1]=Math.max(o[1],e[1]):r.push(e)}return r}export function freeBands(t,i){const[r,e]=t.y,o=[];let a=r;const u=(c,h)=>{h>c&&o.push({y:[c,h],x:[t.x[0],t.x[1]],height:h-c})};for(const[c,h]of unionSpans(i))if(!(h<=a)){if(c>=e)break;u(a,Math.min(c,e)),a=Math.max(a,h)}return u(a,e),o}export function boxRows(t,i){if(!(t[2]<=0||t[3]<=0)&&!(t[0]>=i[1]||t[0]+t[2]<=i[0]))return[Math.floor(t[1]),Math.ceil(t[1]+t[3])]}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export const SEAM_DEFAULTS={frames:3,rest:15,top:3};export function seamOptions(t={}){const n=(a,d,r)=>a!==void 0&&Number.isFinite(a)&&a>=d?Math.round(a):r;return{frames:n(t.frames,2,SEAM_DEFAULTS.frames),rest:t.rest!==void 0&&Number.isFinite(t.rest)&&t.rest>=0?t.rest:SEAM_DEFAULTS.rest,top:n(t.top,0,SEAM_DEFAULTS.top)}}const A=t=>Math.round(t*10)/10,y=t=>Math.round(t*1e3)/1e3,$=t=>[t[0]+t[2]/2,t[1]+t[3]/2],I=t=>Math.sqrt(Math.max(0,t[2])*Math.max(0,t[3]));export function angleOf(t,n){return A(Math.atan2(n,t)*180/Math.PI)}export function turnOf(t,n){let a=(n-t)%360;return a>180&&(a-=360),a<=-180&&(a+=360),A(a)}const L=(t,n,a)=>{const d=Math.hypot(t,n);return{vx:A(t),vy:A(n),speed:A(d),...d>=a&&d>0?{angle:angleOf(t,n)}:{}}};export function seamSide(t,n,a,d,r,i){const w=new Map(a.map(s=>[y(s),s])),x=[];for(const s of t){if(s.part!==n)continue;const h=s.samples.filter(O=>w.has(y(O.t))&&O.box!==void 0&&O.opacity>.05),F=d==="last"?h.at(-1):h[0];if(!F?.box)continue;const f=h[0],g=h.at(-1);let m=0,M=0,p=0,v=0,b=0;const S=f?w.get(y(f.t))??f.t:0,N=g?w.get(y(g.t))??g.t:0;if(f?.box&&g?.box&&N>S){const O=N-S,[C,D]=$(f.box),[P,T]=$(g.box);m=(P-C)/O,M=(T-D)/O;const E=I(f.box);b=(I(g.box)-E)/O,p=E>0?b/E:0,v=(g.opacity-f.opacity)/O}const z=L(m,M,i.rest),k=F.box;x.push({layer:s.layer,what:s.what,selector:s.selector,...s.name===void 0?{}:{name:s.name},box:k,area:y(k[2]*k[3]/Math.max(1,r[0]*r[1])),...z,scale:y(p),fade:y(v),moving:Math.hypot(m,M)>=i.rest||Math.abs(b)>=i.rest})}const c=s=>Math.max(0,s.box[2]*s.box[3]),e=x.filter(s=>s.moving),l=[...e.sort((s,h)=>c(h)-c(s)),...x.filter(s=>!s.moving).sort((s,h)=>c(h)-c(s))],o=e.reduce((s,h)=>s+c(h),0),u=o>0?{...L(e.reduce((s,h)=>s+h.vx*c(h),0)/o,e.reduce((s,h)=>s+h.vy*c(h),0)/o,i.rest),scale:y(e.reduce((s,h)=>s+h.scale*c(h),0)/o)}:void 0;return{part:n,from:y(a[0]??0),to:y(a.at(-1)??0),things:x.length,moving:e.length,list:i.top===0?l:l.filter(s=>s.moving).slice(0,i.top),...u?{overall:u}:{}}}export function changeOf(t,n){return{...t?.angle!==void 0&&n?.angle!==void 0?{turn:turnOf(t.angle,n.angle)}:{},speed:[t?.speed??0,n?.speed??0]}}export function seamCarriers(t,n,a){const d=e=>!a||(e[0]??0)<a[0]&&(e[0]??0)+(e[2]??0)>0&&(e[1]??0)<a[1]&&(e[1]??0)+(e[3]??0)>0,r=e=>e.name??(e.what.startsWith("text ")?e.what:void 0),i=e=>{const l=new Map;for(const o of e){const u=r(o);u!==void 0&&l.set(u,l.has(u)?null:o)}return l},w=i(t),x=i(n),c=[];for(const[e,l]of w){const o=x.get(e);if(!l||!o||!d(l.box)||!d(o.box))continue;const[u,s]=$(l.box),[h,F]=$(o.box),f=I(l.box);c.push({name:e,before:l.box,after:o.box,distance:A(Math.hypot(h-u,F-s)),size:y(f>0?I(o.box)/f:0),speed:[l.speed,o.speed]})}return c}const q=t=>{const n=new Float32Array(t.width*t.height);for(let a=0;a<n.length;a++)n[a]=.2126*(t.data[a*4]??0)+.7152*(t.data[a*4+1]??0)+.0722*(t.data[a*4+2]??0);return n};export function pictureShift(t,n,a){const d=Math.min(t.width,n.width),r=Math.min(t.height,n.height),i=q(t),w=q(n),x=(f,g)=>{let m=0,M=0;for(let p=Math.max(0,g);p<Math.min(r,r+g);p++){const v=p-g;for(let b=Math.max(0,f);b<Math.min(d,d+f);b++)m+=Math.abs((w[p*n.width+b]??0)-(i[v*t.width+(b-f)]??0)),M++}return M>=d*r/2?m/M:1/0},c=x(0,0);let e={dx:0,dy:0,c};const l=new Map,o=Math.max(0,Math.round(a));for(let f=-o;f<=o;f++)for(let g=-o;g<=o;g++){const m=x(g,f);l.set(`${String(g)},${String(f)}`,m),(m<e.c-1e-9||Math.abs(m-e.c)<=1e-9&&Math.hypot(g,f)<Math.hypot(e.dx,e.dy))&&(e={dx:g,dy:f,c:m})}const u=(f,g)=>l.get(`${String(f)},${String(g)}`)??1/0,s=(f,g,m)=>{if(!Number.isFinite(f)||!Number.isFinite(m))return 0;const M=f-2*g+m;return M>1e-9?Math.max(-.5,Math.min(.5,(f-m)/(2*M))):0},h=s(u(e.dx-1,e.dy),e.c,u(e.dx+1,e.dy)),F=s(u(e.dx,e.dy-1),e.c,u(e.dx,e.dy+1));return{dx:e.c<c-1e-9?e.dx+h:0,dy:e.c<c-1e-9?e.dy+F:0,error:y(e.c),still:y(c)}}export function pictureMotion(t,n,a,d,r){if(t.length<2)return;let i=0,w=0,x=0,c=0,e=0;for(let l=1;l<t.length;l++){const o=t[l-1],u=t[l];if(!o||!u)continue;const s=pictureShift(o,u,d);i+=s.dx,w+=s.dy,x+=s.error,c+=s.still,e++}if(e!==0)return{...L(i/e*a*n,w/e*a*n,r),match:y(x/e),still:y(c/e)}}export const FLASH_DEFAULTS={reach:1,width:160,noise:24,change:.005,frames:1,usual:2};export function flashOptions(t={}){const n=(a,d,r)=>{const i=t[a];return i===void 0||!Number.isFinite(i)||i<d?FLASH_DEFAULTS[a]:r?Math.round(i):i};return{reach:n("reach",1,!0),width:n("width",8,!0),noise:n("noise",0,!1),change:n("change",0,!1),frames:n("frames",1,!0),usual:n("usual",0,!1)}}export function frameChange(t,n,a){if(t.width!==n.width||t.height!==n.height)return{share:1,mean:255};const d=t.width*t.height;if(d===0)return{share:0,mean:0};let r=0,i=0;for(let w=0;w<d*4;w+=4){let x=0;for(let c=0;c<3;c++)x=Math.max(x,Math.abs((t.data[w+c]??0)-(n.data[w+c]??0)));i+=x,x>a&&r++}return{share:r/d,mean:i/d}}export function foreignPixels(t,n,a,d){if(t.width!==n.width||a.width!==n.width||t.height!==n.height||a.height!==n.height)return{share:1,mean:255};const r=n.width*n.height;if(r===0)return{share:0,mean:0};let i=0,w=0;for(let x=0;x<r*4;x+=4){let c=0;for(let e=0;e<3;e++){const l=t.data[x+e]??0,o=a.data[x+e]??0,u=n.data[x+e]??0;c=Math.max(c,Math.min(l,o)-u,u-Math.max(l,o))}w+=c,c>d&&i++}return{share:i/r,mean:w/r}}export async function flashRuns(t,n,a,d,r,i=!1,w=[]){const x=new Set(w),c=async(o,u)=>{if(x.has(u+1)&&o-2>=0){const s=await a(o-1);return{side:"before",step:frameChange(s,await a(o),r.noise),usual:frameChange(await a(o-2),s,r.noise)}}if(x.has(o)&&u+2<=n){const s=await a(u+1);return{side:"after",step:frameChange(await a(u),s,r.noise),usual:frameChange(s,await a(u+2),r.noise)}}},e=[],l=new Set;for(const o of t){let u=!1;for(let s=1;s<=r.frames&&!(u&&!i);s++){const h=o+s-1,F=o-1,f=h+1;if(F<0||f>n)continue;const g=`${String(o)}-${String(h)}`;if(l.has(g))continue;l.add(g);let m=!1;for(let S=o;S<=h&&!m;S++)m=await d(S,F)||await d(S,f);if(m&&!i)continue;const M=await a(F),p=await a(f);let v={share:1/0,mean:1/0};for(let S=o;S<=h;S++){const N=m?{share:0,mean:0}:foreignPixels(M,await a(S),p,r.noise);N.share<v.share&&(v=N)}if(!i&&v.share<r.change-1e-12)continue;const b=await c(o,h);!i&&b&&b.step.share<=r.usual*b.usual.share+1e-12||(u=!0,e.push({from:o,to:h,foreign:v,before:frameChange(M,await a(o),r.noise),after:frameChange(await a(h),p,r.noise),across:frameChange(M,p,r.noise),...b?{own:b}:{}}))}}return e}
2
+ export const SEAM_DEFAULTS={frames:3,rest:15,top:3};export function seamOptions(t={}){const s=(o,h,M)=>o!==void 0&&Number.isFinite(o)&&o>=h?Math.round(o):M;return{frames:s(t.frames,2,SEAM_DEFAULTS.frames),rest:t.rest!==void 0&&Number.isFinite(t.rest)&&t.rest>=0?t.rest:SEAM_DEFAULTS.rest,top:s(t.top,0,SEAM_DEFAULTS.top)}}const F=t=>Math.round(t*10)/10,x=t=>Math.round(t*1e3)/1e3,N=t=>[t[0]+t[2]/2,t[1]+t[3]/2],$=t=>Math.sqrt(Math.max(0,t[2])*Math.max(0,t[3]));export function angleOf(t,s){return F(Math.atan2(s,t)*180/Math.PI)}export function turnOf(t,s){let o=(s-t)%360;return o>180&&(o-=360),o<=-180&&(o+=360),F(o)}const k=(t,s,o)=>{const h=Math.hypot(t,s);return{vx:F(t),vy:F(s),speed:F(h),...h>=o&&h>0?{angle:angleOf(t,s)}:{}}};export function seamSide(t,s,o,h,M,y){const p=new Map(o.map(n=>[x(n),n])),g=[];for(const n of t){if(n.part!==s)continue;const a=n.samples.filter(w=>p.has(x(w.t))&&w.box!==void 0&&w.opacity>.05),S=h==="last"?a.at(-1):a[0];if(!S?.box)continue;const r=a[0],i=a.at(-1);let f=0,m=0,v=0,O=0,b=0;const z=r?p.get(x(r.t))??r.t:0,E=i?p.get(x(i.t))??i.t:0;if(r?.box&&i?.box&&E>z){const w=E-z,[D,L]=N(r.box),[P,T]=N(i.box);f=(P-D)/w,m=(T-L)/w;const I=$(r.box);b=($(i.box)-I)/w,v=I>0?b/I:0,O=(i.opacity-r.opacity)/w}const C=k(f,m,y.rest),A=S.box;g.push({layer:n.layer,what:n.what,selector:n.selector,...n.name===void 0?{}:{name:n.name},box:A,area:x(A[2]*A[3]/Math.max(1,M[0]*M[1])),...C,scale:x(v),fade:x(O),moving:Math.hypot(f,m)>=y.rest||Math.abs(b)>=y.rest})}const l=n=>Math.max(0,n.box[2]*n.box[3]),e=g.filter(n=>n.moving),d=[...e.sort((n,a)=>l(a)-l(n)),...g.filter(n=>!n.moving).sort((n,a)=>l(a)-l(n))],c=e.reduce((n,a)=>n+l(a),0),u=c>0?{...k(e.reduce((n,a)=>n+a.vx*l(a),0)/c,e.reduce((n,a)=>n+a.vy*l(a),0)/c,y.rest),scale:x(e.reduce((n,a)=>n+a.scale*l(a),0)/c)}:void 0;return{part:s,from:x(o[0]??0),to:x(o.at(-1)??0),things:g.length,moving:e.length,list:y.top===0?d:d.filter(n=>n.moving).slice(0,y.top),...u?{overall:u}:{}}}export function changeOf(t,s){return{...t?.angle!==void 0&&s?.angle!==void 0?{turn:turnOf(t.angle,s.angle)}:{},speed:[t?.speed??0,s?.speed??0]}}export function seamCarriers(t,s,o){const h=e=>!o||(e[0]??0)<o[0]&&(e[0]??0)+(e[2]??0)>0&&(e[1]??0)<o[1]&&(e[1]??0)+(e[3]??0)>0,M=e=>e.name??(e.what.startsWith("text ")?e.what:void 0),y=e=>{const d=new Map;for(const c of e){const u=M(c);u!==void 0&&d.set(u,d.has(u)?null:c)}return d},p=y(t),g=y(s),l=[];for(const[e,d]of p){const c=g.get(e);if(!d||!c||!h(d.box)||!h(c.box))continue;const[u,n]=N(d.box),[a,S]=N(c.box),r=$(d.box);l.push({name:e,before:d.box,after:c.box,distance:F(Math.hypot(a-u,S-n)),size:x(r>0?$(c.box)/r:0),speed:[d.speed,c.speed]})}return l}const q=t=>{const s=new Float32Array(t.width*t.height);for(let o=0;o<s.length;o++)s[o]=.2126*(t.data[o*4]??0)+.7152*(t.data[o*4+1]??0)+.0722*(t.data[o*4+2]??0);return s};export function pictureShift(t,s,o){const h=Math.min(t.width,s.width),M=Math.min(t.height,s.height),y=q(t),p=q(s),g=(r,i)=>{let f=0,m=0;for(let v=Math.max(0,i);v<Math.min(M,M+i);v++){const O=v-i;for(let b=Math.max(0,r);b<Math.min(h,h+r);b++)f+=Math.abs((p[v*s.width+b]??0)-(y[O*t.width+(b-r)]??0)),m++}return m>=h*M/2?f/m:1/0},l=g(0,0);let e={dx:0,dy:0,c:l};const d=new Map,c=Math.max(0,Math.round(o));for(let r=-c;r<=c;r++)for(let i=-c;i<=c;i++){const f=g(i,r);d.set(`${String(i)},${String(r)}`,f),(f<e.c-1e-9||Math.abs(f-e.c)<=1e-9&&Math.hypot(i,r)<Math.hypot(e.dx,e.dy))&&(e={dx:i,dy:r,c:f})}const u=(r,i)=>d.get(`${String(r)},${String(i)}`)??1/0,n=(r,i,f)=>{if(!Number.isFinite(r)||!Number.isFinite(f))return 0;const m=r-2*i+f;return m>1e-9?Math.max(-.5,Math.min(.5,(r-f)/(2*m))):0},a=n(u(e.dx-1,e.dy),e.c,u(e.dx+1,e.dy)),S=n(u(e.dx,e.dy-1),e.c,u(e.dx,e.dy+1));return{dx:e.c<l-1e-9?e.dx+a:0,dy:e.c<l-1e-9?e.dy+S:0,error:x(e.c),still:x(l)}}export function pictureMotion(t,s,o,h,M){if(t.length<2)return;let y=0,p=0,g=0,l=0,e=0;for(let d=1;d<t.length;d++){const c=t[d-1],u=t[d];if(!c||!u)continue;const n=pictureShift(c,u,h);y+=n.dx,p+=n.dy,g+=n.error,l+=n.still,e++}if(e!==0)return{...k(y/e*o*s,p/e*o*s,M),match:x(g/e),still:x(l/e)}}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/video-core",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{fileURLToPath as t}from"node:url";const e=o=>t(import.meta.resolve(o)),a={sdk:{".":e("@allyhub/video-sdk"),"./scenery":e("@allyhub/video-sdk/scenery")},bound:{".":{factory:"sdkFor",names:["video","part","take","footage","picture"]}}};export default a;
2
+ import{fileURLToPath as t}from"node:url";const o=e=>t(import.meta.resolve(e)),i={sdk:{".":o("@allyhub/video-sdk"),"./scenery":o("@allyhub/video-sdk/scenery"),"./config":o("@allyhub/video-sdk/config")},bound:{".":{factory:"sdkFor",names:["video","part","take","footage","picture"]}},parts:{"./config":{of:".",names:["defineConfig","ProjectConfig"]}}};export default i;
@@ -1,5 +1,5 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
2
  import{INTERPRETATION_FILE as g}from"@allyhub/formats";import{INTERPRETATION_SHAPE as j}from"@allyhub/video-measure";const p=(e,s)=>`${String(e)} ${s}${e===1?"":"s"}`,h=e=>e.toFixed(2),f=e=>`${e>=0?"+":""}${String(Math.round(e*100))}%`,l=e=>e>=0?`+${e.toFixed(2)}`:`−${(-e).toFixed(2)}`,$=(e,s=2)=>e===null?"—":String(Math.round(e*10**s)/10**s),S=(e,s=70)=>`“${e.slice(0,s)}${e.length>s?"…":""}”`,T=12;function x(e){if(!e)return"";const s=e.bitrate===void 0?"":` at ${String(Math.round(e.bitrate/1e3))} kbps`;return` · ${e.codec??""}${s}`}function P(e){const s=t=>`median ${String(t.median)} dBFS (${String(t.p10)} to ${String(t.p90)})`;return` sound: ${e.words?`under the words ${s(e.words)}`:`whole ${s(e.whole)}`}${e.between?`; between them ${String(e.between.seconds)} s, ${s(e.between)}, ${String(Math.round(e.between.voicedShare*100))}% voiced, ${String(e.between.onsetsPerMinute)} onsets/min`:""}; floor ${String(e.floor)} dBFS`}function E(e){const s=e.motion;return` picture: luma ${$(e.luma.p1,1)}/${$(e.luma.p50,1)}/${$(e.luma.p99,1)} (1st/50th/99th), at black ${$(e.blackShare,3)}, grain ${$(e.noise)}, sharpness ${$(e.sharpness)}, saturation ${$(e.saturation,3)}, warmth ${$(e.warmth,3)}; camera speed ${$(s.speed.p50,4)} widths/s, shake ${$(s.shake.p50,5)} widths, still ${$(s.stillShare,3)}`}function F(e){const s=n=>e.recording.spectrum.find(a=>a.hz===n)?.db,t=e.bandwidth.reach.map(n=>`−${String(n.drop)} dB at ${n.hz===null?"—":`${String(n.hz)} Hz`}`).join(", ");return` loudness: ${$(e.loudness.integrated,1)} LUFS, range ${$(e.loudness.range,1)} LU, true peak ${$(e.loudness.truePeak,1)} dBTP; bands ${[125,500,2e3,8e3].map(n=>`${String(n)} ${String(s(n)??"—")}`).join(", ")} dB against 1 kHz; reach ${t}`}export function referenceText(e,s){const t=e.reference,n=t.pacing,a=t.shots,c=e.sections,m=Math.max(4,...c.sections.map(o=>o.name.length)),u=[s(`${e.dir}/reference.json`),` ${h(t.duration)} s · ${String(t.width)}×${String(t.height)} · ${String(t.fps)} fps${x(t.encoding)} · ${t.wordsMissing?"words missing":p(t.wordCount,"word")} · ${p(a.cuts.length,"cut")} (${String(a.weak.length)} weak; a cut scores ${String(a.threshold)} or more${a.candidates?`, all ${String(a.candidates.length)} peaks in shots.candidates`:""})`,...t.wordsMissing?[` words: not heard (${t.wordsMissing.message}${t.wordsMissing.hint===void 0?"":` ${t.wordsMissing.hint}`}); ${t.wordsMissing.instead}`]:t.sound===void 0?[" speech: none (no sound)"]:[` speech: ${p(t.speech.sentences.length,"sentence")}, ${p(t.speech.pauses.length,"pause")} of ${String(t.speech.pause)} s or more`],t.textMissing?` on-screen text: not read (${t.textMissing.message}${t.textMissing.hint===void 0?"":` ${t.textMissing.hint}`}); ${t.textMissing.instead}`:` on-screen text: ${p(t.text.length,"line")} read in ${p(t.ocr.frames,"frame")}${t.ocr.unread?`; ${p(t.ocr.unread,"frame")} not read (ocr.unread)`:""}`,...t.sound?[P(t.sound)]:[],` pace: ${String(n.cutsPerMinute)} cuts/min, median shot ${h(n.medianShot)} s, ${String(n.wordsPerMinute)} words/min${n.timeToFirstWord===void 0?"":`, first word at ${h(n.timeToFirstWord)} s`}, text on screen ${String(Math.round(n.textShare*100))}%${n.tempo?`, tempo ${String(n.tempo.bpm)} BPM (confidence ${$(n.tempo.confidence)})`:""}`,E(t.picture),...t.audio?[F(t.audio)]:[],"",c.from==="interpretation"?` Sections (${g}):`:" Neutral split, mechanics only (its rule is segments.rule in reference.json):",...c.sections.map(o=>` ${o.name.padEnd(m)} ${h(o.start).padStart(6)}–${h(o.end).padEnd(6)} ${p(o.cuts.length,"cut").padEnd(7)} ${String(o.wordsPerMinute).padStart(5)} words/min ${S(o.said)}`)];if(t.text.length>0){const o=[...t.text].sort((d,r)=>r.seconds-d.seconds||d.id-r.id).slice(0,T);u.push("",` Text on screen, the ${String(o.length)} longest on screen of ${String(t.text.length)} (#id; reference.json's text[] has every line with its box and spans):`,...o.map(d=>` #${String(d.id).padEnd(4)} ${S(d.text,40).padEnd(44)} y ${h(d.box[1]+d.box[3]/2)} height ${d.height.toFixed(3)} ${h(d.seconds).padStart(6)} s said ${String(Math.round(d.said*100))}%`))}u.push("",` sheets: ${e.sheets.map(s).join(", ")}`);const i=e.interpretation;return i&&"problems"in i?u.push(` ${s(i.file)} was not used: ${i.problems.join("; ")}. Fix it and run allyhub reference ${s(e.dir)} again.`):i||u.push(` No interpretation yet. Read the sheets and reference.json, then write ${s(`${e.dir}/${g}`)}: ${j}. allyhub reference ${s(e.dir)} then labels the sheets with its sections.`),u.join(`
3
- `)}export function compareText(e,s,t){const n=e.comparison,a=n.overall,c=a.diff,m=r=>`${r>=0?"+":""}${String(r)}`,u=(r,b,M,y)=>` ${r.padEnd(16)} ${b.padStart(9)} → ${M.padEnd(9)} ${y}`,i=r=>r===void 0?"none":`${h(r)} s`,o=n.matches.filter(r=>!r.withinTolerance),d=e.problems.filter(r=>r.level==="error");return[`${e.piece} (${e.format}) against ${s(e.reference)}`,n.sections.from==="interpretation"?`The reference's sections are ${g}'s.`:`The reference's sections are its neutral segments (s1, s2…: a mechanical split by pauses and cuts); write ${g} beside reference.json to compare against sections of your own.`,...e.ref.wordsMissing?["The reference's words are missing: its words/min and first word read as none."]:[],n.by==="time"?`Compared by time${n.byWhy===void 0?"":` (${n.byWhy}; --by parts tries anyway)`}: each section against the same seconds of the piece, named by the parts they span.`:"Compared by parts: the piece's parts aligned to the sections (--by time for the same seconds of each).",`The piece measured from its code: ${String(n.places.filter(r=>r.cut).length)} of the ${String(n.places.length)} places its picture may cut are cuts at the reference's threshold (places in --json).`,"Per section, reference → piece (piece − reference):",...n.matches.map(r=>` ${r.ref.names.join("+").padEnd(14)} ${h(r.ref.dur).padStart(6)} s → ${r.ours.keys.join("+").padEnd(16)} ${h(r.ours.dur).padStart(6)} s ${l(r.diff.seconds)} s (${f(r.diff.share)}) cuts/min ${String(r.ref.cutsPerMinute)}→${String(r.ours.cutsPerMinute)} words/min ${String(r.ref.wordsPerMinute)}→${String(r.ours.wordsPerMinute)} text ${h(r.ref.textSeconds)}→${h(r.ours.textSeconds)} s`),"Overall:",u("duration",`${h(a.reference.duration)} s`,`${h(a.ours.duration)} s`,`${l(c.seconds)} s (${f(c.share)})`),u("cuts/min",String(a.reference.cutsPerMinute),String(a.ours.cutsPerMinute),m(c.cutsPerMinute)),u("words/min",String(a.reference.wordsPerMinute),String(a.ours.wordsPerMinute),m(c.wordsPerMinute)),u("first word",i(a.reference.timeToFirstWord),i(a.ours.timeToFirstWord),c.timeToFirstWord===void 0?"":`${l(c.timeToFirstWord)} s`),u("text on screen",`${String(Math.round(a.reference.textShare*100))}%`,`${String(Math.round(a.ours.textShare*100))}%`,`${m(Math.round(c.textShare*100))} points`),"",n.summary.meanDurationDiff===void 0?"No section matched.":`At ±${String(Math.round(n.summary.tolerance*100))}%: ${String(n.summary.sectionsWithin)} of ${String(n.summary.sections)} reference sections within, mean |duration difference| ${String(Math.round(n.summary.meanDurationDiff*100))}%${o.length?`; outside: ${o.map(r=>r.ref.names.join("+")).join(", ")}`:""}.`,` sheet: ${s(e.sheet)}`,...d.length>0?["Must fix, to measure every number:",...t(d)]:[]].join(`
3
+ `)}export function compareText(e,s,t){const n=e.comparison,a=n.overall,c=a.diff,m=r=>`${r>=0?"+":""}${String(r)}`,u=(r,b,M,y)=>` ${r.padEnd(16)} ${b.padStart(9)} → ${M.padEnd(9)} ${y}`,i=r=>r===void 0?"none":`${h(r)} s`,o=n.matches.filter(r=>!r.withinTolerance),d=e.problems.filter(r=>r.level==="error");return[`${e.piece} (${e.format}) against ${s(e.reference)}`,n.sections.from==="interpretation"?`The reference's sections are ${g}'s.`:`The reference's sections are its neutral segments (s1, s2…: a mechanical split by pauses and cuts); write ${g} beside reference.json to compare against sections of your own.`,...e.ref.wordsMissing?["The reference's words are missing: its words/min and first word read as none."]:[],n.by==="time"?`Compared by time${n.byWhy===void 0?"":` (${n.byWhy}; --by parts tries anyway)`}: each section against the same seconds of the piece, named by the parts they span.`:"Compared by parts: the piece's parts aligned to the sections (--by time for the same seconds of each).",`The piece measured from its code: ${String(n.places.filter(r=>r.cut).length)} of the ${String(n.places.length)} places its picture may cut are cuts at the reference's threshold (places in --json).`,"Per section, reference → piece (piece − reference):",...n.matches.map(r=>` ${r.ref.names.join("+").padEnd(14)} ${h(r.ref.dur).padStart(6)} s → ${r.ours.keys.join("+").padEnd(16)} ${h(r.ours.dur).padStart(6)} s ${l(r.diff.seconds)} s (${f(r.diff.share)}) cuts/min ${String(r.ref.cutsPerMinute)}→${String(r.ours.cutsPerMinute)} words/min ${String(r.ref.wordsPerMinute)}→${String(r.ours.wordsPerMinute)} text ${h(r.ref.textSeconds)}→${h(r.ours.textSeconds)} s`),"Overall:",u("duration",`${h(a.reference.duration)} s`,`${h(a.ours.duration)} s`,`${l(c.seconds)} s (${f(c.share)})`),u("cuts/min",String(a.reference.cutsPerMinute),String(a.ours.cutsPerMinute),m(c.cutsPerMinute)),u("words/min",String(a.reference.wordsPerMinute),String(a.ours.wordsPerMinute),m(c.wordsPerMinute)),u("first word",i(a.reference.timeToFirstWord),i(a.ours.timeToFirstWord),c.timeToFirstWord===void 0?"":`${l(c.timeToFirstWord)} s`),u("text on screen",`${String(Math.round(a.reference.textShare*100))}%`,`${String(Math.round(a.ours.textShare*100))}%`,`${m(Math.round(c.textShare*100))} points`),"",n.summary.meanDurationDiff===void 0?"No section matched.":`At ±${String(Math.round(n.summary.tolerance*100))}%: ${String(n.summary.sectionsWithin)} of ${String(n.summary.sections)} reference sections within, mean |duration difference| ${String(Math.round(n.summary.meanDurationDiff*100))}%${o.length?`; outside: ${o.map(r=>r.ref.names.join("+")).join(", ")}`:""}.`,` sheet: ${s(e.sheet)}`,...d.length>0?["Errors, which stop numbers past them being measured:",...t(d)]:[]].join(`
4
4
  `)}const w=e=>e===void 0||!Number.isFinite(e)?"—":String(Number(e.toPrecision(4)));export function setText(e){const s=Object.entries(e.numbers),t=s.filter(([i])=>!i.includes("[")),n=Math.min(48,Math.max(8,...t.map(([i])=>i.length))),a=e.place!==void 0,c=[`${p(e.n,"reference")}${e.where?`, labels ${e.where.map(i=>`${i.key}=${i.value}`).join(", ")}`:""}${a?`; placed: ${e.place?.id??""}`:""}`,...(e.left??[]).map(i=>` left out: ${i.dir}: ${i.why}`),"",`${"number".padEnd(n)} ${"n".padStart(4)} ${["p10","p25","p50","p75","p90"].map(i=>i.padStart(9)).join(" ")}${a?` ${"value".padStart(9)} pct`:""}`,...t.map(([i,o])=>`${(i.length>n?`…${i.slice(i.length-n+1)}`:i).padEnd(n)} ${String(o.n).padStart(4)} ${[o.p10,o.p25,o.p50,o.p75,o.p90].map(r=>w(r).padStart(9)).join(" ")}${a?` ${w(o.value).padStart(9)} ${o.percentile===void 0?" —":String(Math.round(o.percentile)).padStart(3)}`:""}`)];t.length<s.length&&c.push(` and ${String(s.length-t.length)} numbers by bin (spectra, reaches, sharpness by speed, grain by light) in --json`);const m=Object.entries(e.labels);m.length>0&&c.push("",`Labels (${g}), each value's share:`,...m.map(([i,o])=>` ${i}: ${Object.entries(o).map(([d,r])=>`${d} ${String(Math.round(r*100))}%`).join(", ")}`));const u=Object.entries(e.measuredWith).filter(([,i])=>Object.keys(i).length>1);return u.length>0&&c.push("","Measured with different parameters:",...u.map(([i,o])=>` ${i}: ${Object.entries(o).map(([d,r])=>`${d} (${String(r)})`).join(", ")}`)),c.join(`
5
5
  `)}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{contrast as o}from"./contrast.js";import{fidelity as t}from"./fidelity.js";import{flash as m,seams as i}from"./joins.js";import{loop as r,motion as f,still as e}from"./motion.js";import{timeline as l}from"./timeline.js";const p={timeline:l,motion:f,loop:r,still:e,contrast:o,seams:i,flash:m,fidelity:t};export default p;
2
+ import{contrast as o}from"./contrast.js";import{fidelity as m}from"./fidelity.js";import{seams as r}from"./joins.js";import{loop as t}from"./loop.js";import{timeline as i}from"./timeline.js";const e={timeline:i,loop:t,contrast:o,seams:r,fidelity:m};export default e;
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as o}from"zod";import{STRETCH as n,VERSION_FIELDS as m,allFindings as c,defineView as f}from"@allyhub/build";import{SEAM_DEFAULTS as v}from"@allyhub/video-core";import{cutSeams as y,flashFrames as S,stretchOf as u}from"@allyhub/video-measure";import{filmOf as h,looking as p,mustBeVideo as d}from"./common.js";export const seams=f({input:o.strictObject({...m,...n,all:c(`every thing at each join (without it, the ${String(v.top)} largest each side)`)}),positional:["item"],examples:["allyhub inspect seams launch/film --part hook"],async run(e,i){const r=await i.version(e,"check",async s=>{const t=h(s);d(t,"it has no joins"),await p(i,t,e);const{from:a,to:l}=u(t.timeline,e);return y(t.version,e.all?{top:0}:{},{picture:!0,from:a,to:l})});return i.measured(r.result,r,{all:e.all})}}),flash=f({input:o.strictObject({...m,...n,all:c("every frame a flash is looked for in")}),positional:["item"],examples:["allyhub inspect flash launch/film --from 2 --to 6"],async run(e,i){const r=await i.version(e,"check",async s=>{const t=h(s);d(t,"a page has no frames either side"),await p(i,t,e);const{from:a,last:l}=u(t.timeline,e);return S(t.version,{},{from:a,to:l,all:e.all})});return i.measured(r.result,r,{all:e.all})}});
2
+ import{z as a}from"zod";import{STRETCH as l,VERSION_FIELDS as m,allFindings as c,defineView as p}from"@allyhub/build";import{SEAM_DEFAULTS as u}from"@allyhub/video-core";import{cutSeams as f,stretchOf as h}from"@allyhub/video-measure";import{filmOf as S,looking as d,mustBeVideo as g}from"./common.js";export const seams=p({input:a.strictObject({...m,...l,all:c(`every thing at each join (without it, the ${String(u.top)} largest each side)`)}),positional:["item"],examples:["allyhub inspect seams launch/film --part hook"],async run(t,e){const o=await e.version(t,"check",async r=>{const i=S(r);g(i,"it has no joins"),await d(e,i,t);const{from:s,to:n}=h(i.timeline,t);return f(i.version,t.all?{top:0}:{},{picture:!0,from:s,to:n})});return e.measured(o.result,o,{all:t.all})}});
@@ -0,0 +1,3 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as m}from"zod";import{VERSION_FIELDS as l,defineView as f}from"@allyhub/build";import{loopSeam as p}from"@allyhub/video-measure";import{filmOf as c,looking as g,mustBeVideo as u}from"./common.js";export const loop=f({input:m.strictObject(l),positional:["item"],examples:["allyhub inspect loop launch/film"],async run(a,e){const i=await e.version(a,"render",async o=>{const s=c(o);return u(s,"it has no loop"),await g(e,s),p(s.timeline,n=>s.still(n))}),t=i.result,r=o=>`mean ${String(o.mean)} of 255, largest ${String(o.max)}`;return{value:{loop:t,...e.pageJson(i)},text:[`Loop seam (${String(t.frames)} frames at ${String(t.fps)} fps): the last frame against the first differs by ${r(t.seam)}.`,` Two frames in a row, for scale: the first two ${r(t.first)}; the last two ${r(t.last)}.`,...e.pageLines(i)].join(`
3
+ `)}}});
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/video-extension",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./tools": {
@@ -103,7 +103,11 @@
103
103
  "entry": "{{name}}.ts"
104
104
  },
105
105
  "share": true,
106
- "build": "./dist/build.js"
106
+ "build": "./dist/build.js",
107
+ "config": [
108
+ "look",
109
+ "defaults"
110
+ ]
107
111
  }
108
112
  ],
109
113
  "editors": [
@@ -261,18 +265,10 @@
261
265
  "kind": "flat-frames",
262
266
  "about": "Runs of nearly flat frames unlike the picture around them"
263
267
  },
264
- {
265
- "kind": "still-picture",
266
- "about": "Stretches where the picture holds: how long, and how much changed in them"
267
- },
268
268
  {
269
269
  "kind": "cut-seam",
270
270
  "about": "How things move either side of each join: direction, speed and the change across; things named alike on both sides"
271
271
  },
272
- {
273
- "kind": "flash",
274
- "about": "Frames unlike both the frame before and the frame after: a flash, a blank frame, a layer for one frame"
275
- },
276
272
  {
277
273
  "kind": "music-length",
278
274
  "about": "Music length against video length"
@@ -308,24 +304,14 @@
308
304
  "summary": "One version's timeline, drawn nowhere: each part's stretch, layers and their stacking, speech, anchors, room tone, transitions, sound effects, music, generated media",
309
305
  "module": "./dist/inspect/index.js"
310
306
  },
311
- {
312
- "name": "motion",
313
- "summary": "Follow everything on screen frame by frame and list each thing's largest step, a move or a fade",
314
- "module": "./dist/inspect/index.js"
315
- },
316
307
  {
317
308
  "name": "loop",
318
309
  "summary": "A video's last frame against its first, and two frames in a row at each end for scale",
319
310
  "module": "./dist/inspect/index.js"
320
311
  },
321
- {
322
- "name": "still",
323
- "summary": "The stretches where a video's picture holds, measured now",
324
- "module": "./dist/inspect/index.js"
325
- },
326
312
  {
327
313
  "name": "contrast",
328
- "summary": "The text against the pixels behind its glyphs now, as WCAG contrast ratios (this command is where contrast is measured)",
314
+ "summary": "The text against the pixels behind its glyphs now, as WCAG contrast ratios",
329
315
  "module": "./dist/inspect/index.js"
330
316
  },
331
317
  {
@@ -333,11 +319,6 @@
333
319
  "summary": "A video's joins measured now, the picture's own shift too",
334
320
  "module": "./dist/inspect/index.js"
335
321
  },
336
- {
337
- "name": "flash",
338
- "summary": "Every frame of a video against the frames beside it, now",
339
- "module": "./dist/inspect/index.js"
340
- },
341
322
  {
342
323
  "name": "fidelity",
343
324
  "summary": "A scenery's screens drawn in the world against their own elements, now; each comparison side by side in .allyhub/work/fidelity/",
@@ -1,3 +1,3 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{comboKey as M}from"@allyhub/piece";import{ffmpegOf as S,ffmpegRuns as A,postPlaces as C,postProblems as E}from"@allyhub/render";import{cutThroughout as L}from"@allyhub/video-core";import{matrixFacts as _,measuredFacts as O}from"./facts.js";import{flatFrames as R}from"./flat.js";import{generatedFact as $,mismatchFacts as H}from"./generated.js";import{StretchLoudness as D,estimatePlan as K,loadedPlan as T,planProblems as U,wholeOf as j}from"./plans.js";import{cutSeams as z,flashFrames as B}from"./seams.js";import{stillPicture as G}from"./still.js";const I=new Set(["text-time","words-on-screen","speech-on-screen","text-covered","flat-frames","still-picture"]);export const CUT_RECHECK={most:48,every:2};export async function recheckCuts(o,t,n,f){const g=L(t);if(g.length===0)return t;const F=CUT_RECHECK.every/n,y=new Set;for(const a of g){const i=f.find(s=>s.key===a.part);if(!i)continue;const p=t.moments.filter(s=>s.part===a.part).map(s=>s.t).sort((s,m)=>s-m),d=a.moments[0]??a.t,w=a.moments.at(-1)??a.t,h=Math.max(i.start,p.filter(s=>s<d).at(-1)??i.start),c=Math.min(i.end-1/n,p.find(s=>s>w)??i.end),e=Math.min(CUT_RECHECK.most,Math.floor((c-h)/F)+1),r=e>1?(c-h)/(e-1):0;for(let s=0;s<e;s++){const m=Math.round((h+r*s)*n)/n;p.includes(m)||y.add(m)}}if(y.size===0)return t;const b=await o.measure([...y].sort((a,i)=>a-i));return{...t,moments:[...t.moments,...b.moments].sort((a,i)=>a.t-i.t)}}export{offFrameProblems}from"@allyhub/image-measure/layout";import{offFrameProblems as Y}from"@allyhub/image-measure/layout";function q(o){const t=o.options,n=t.post,f=typeof n=="object"&&n!==null?n.filter:void 0;return{transparent:t.transparent===!0,deliverable:t.deliverable!==!1,...typeof t.maxDuration=="number"?{maxDuration:t.maxDuration}:{},...typeof f=="string"?{post:f}:{}}}async function J(o){let t;try{t=await S(o===void 0?{}:{ffmpeg:o})}catch(n){return{missing:`the pinned ffmpeg could not be had: ${(n instanceof Error?n.message:String(n)).split(`
3
- `)[0]??""}`}}return await A(t)?{ffmpeg:t}:{missing:`${t} does not run`}}export async function checkFilm(o){const{piece:t,prepared:n}=o,f=q(t),g=t.kind,F=t.format;let y;const b=()=>y??=J(o.ffmpeg),a=[],i=[..._(t)],p=await o.versions({layout:async(e,r,s)=>{const m=e.timeline,l=await s.layout();r.problems.push(...Y(await o.time("recheck cut text",()=>recheckCuts(e,l,m.fps,m.parts)),s.target));const x=await b();r.facts.push(...await o.time("layout facts",()=>O(l,m,s.target,{root:n.root,media:n.media,ffmpeg:"ffmpeg"in x?x.ffmpeg:"ffmpeg"})))},timing:async(e,r)=>{o.facts&&(f.transparent||r.facts.push(...await o.time("flat frames",()=>R(e))),r.facts.push(...await o.time("still picture",()=>G(e))),r.facts.push(...await o.time("cut seams",()=>z(e))),f.transparent||r.facts.push(...await o.time("flash",()=>B(e))))},...f.deliverable?{}:{keep:e=>!I.has(e.kind)}});a.push(...p.problems),i.push(...p.facts);const d=p.loaded,w=C(f.post,d.map(e=>e.timeline));if(w.length>0){const e=await b();"ffmpeg"in e&&a.push(...await o.time("post chains",()=>E(w,{piece:t.id,output:g},e.ffmpeg)))}const h=[];let c;for(const{combo:e,id:r}of p.combos){const s=M(e),m=d.find(u=>M(u.combo)===s),l=m?T(m,r):K(t,e,r,g,F,d);if(!l)continue;if(h.push(j(l,m?.timeline)),t.matrix&&c===void 0){const u=await b();if("ffmpeg"in u){const v=new D(n.root,u.ffmpeg);await v.open(),c=v}else c={missing:"ffmpeg",why:`${u.missing} (set ALLYHUB_FFMPEG to an ffmpeg, or let the runtime manager fetch its pinned one)`}}const x=await o.time("plans (loudness, music)",()=>U(l,{...f.maxDuration===void 0?{}:{maxDuration:f.maxDuration},fps:m?.timeline.fps??d[0]?.timeline.fps??30,media:n.media,local:u=>o.mediaPath(u),...t.matrix&&c?{loudness:c}:{}}));a.push(...x.problems),i.push(...x.facts);const P=$(l,n.media);P&&i.push(P)}return i.push(...H({piece:t.id},p.media,n.media)),c instanceof D&&await c.save(),{problems:a,facts:i,wholes:h}}
2
+ import{comboKey as M}from"@allyhub/piece";import{ffmpegOf as S,ffmpegRuns as A,postPlaces as C,postProblems as E}from"@allyhub/render";import{cutThroughout as L}from"@allyhub/video-core";import{matrixFacts as _,measuredFacts as O}from"./facts.js";import{flatFrames as R}from"./flat.js";import{generatedFact as $,mismatchFacts as H}from"./generated.js";import{StretchLoudness as D,estimatePlan as K,loadedPlan as T,planProblems as U,wholeOf as j}from"./plans.js";import{cutSeams as z}from"./seams.js";const B=new Set(["text-time","words-on-screen","speech-on-screen","text-covered","flat-frames"]);export const CUT_RECHECK={most:48,every:2};export async function recheckCuts(n,t,s,r){const g=L(t);if(g.length===0)return t;const F=CUT_RECHECK.every/s,y=new Set;for(const a of g){const i=r.find(e=>e.key===a.part);if(!i)continue;const p=t.moments.filter(e=>e.part===a.part).map(e=>e.t).sort((e,m)=>e-m),d=a.moments[0]??a.t,w=a.moments.at(-1)??a.t,h=Math.max(i.start,p.filter(e=>e<d).at(-1)??i.start),f=Math.min(i.end-1/s,p.find(e=>e>w)??i.end),o=Math.min(CUT_RECHECK.most,Math.floor((f-h)/F)+1),c=o>1?(f-h)/(o-1):0;for(let e=0;e<o;e++){const m=Math.round((h+c*e)*s)/s;p.includes(m)||y.add(m)}}if(y.size===0)return t;const b=await n.measure([...y].sort((a,i)=>a-i));return{...t,moments:[...t.moments,...b.moments].sort((a,i)=>a.t-i.t)}}export{offFrameProblems}from"@allyhub/image-measure/layout";import{offFrameProblems as G}from"@allyhub/image-measure/layout";function I(n){const t=n.options,s=t.post,r=typeof s=="object"&&s!==null?s.filter:void 0;return{transparent:t.transparent===!0,deliverable:t.deliverable!==!1,...typeof t.maxDuration=="number"?{maxDuration:t.maxDuration}:{},...typeof r=="string"?{post:r}:{}}}async function Y(n){let t;try{t=await S(n===void 0?{}:{ffmpeg:n})}catch(s){return{missing:`the pinned ffmpeg could not be had: ${(s instanceof Error?s.message:String(s)).split(`
3
+ `)[0]??""}`}}return await A(t)?{ffmpeg:t}:{missing:`${t} does not run`}}export async function checkFilm(n){const{piece:t,prepared:s}=n,r=I(t),g=t.kind,F=t.format;let y;const b=()=>y??=Y(n.ffmpeg),a=[],i=[..._(t)],p=await n.versions({layout:async(o,c,e)=>{const m=o.timeline,l=await e.layout();c.problems.push(...G(await n.time("recheck cut text",()=>recheckCuts(o,l,m.fps,m.parts)),e.target));const x=await b();c.facts.push(...await n.time("layout facts",()=>O(l,m,e.target,{root:s.root,media:s.media,ffmpeg:"ffmpeg"in x?x.ffmpeg:"ffmpeg"})))},timing:async(o,c)=>{n.facts&&(r.transparent||c.facts.push(...await n.time("flat frames",()=>R(o))),c.facts.push(...await n.time("cut seams",()=>z(o))))},...r.deliverable?{}:{keep:o=>!B.has(o.kind)}});a.push(...p.problems),i.push(...p.facts);const d=p.loaded,w=C(r.post,d.map(o=>o.timeline));if(w.length>0){const o=await b();"ffmpeg"in o&&a.push(...await n.time("post chains",()=>E(w,{piece:t.id,output:g},o.ffmpeg)))}const h=[];let f;for(const{combo:o,id:c}of p.combos){const e=M(o),m=d.find(u=>M(u.combo)===e),l=m?T(m,c):K(t,o,c,g,F,d);if(!l)continue;if(h.push(j(l,m?.timeline)),t.matrix&&f===void 0){const u=await b();if("ffmpeg"in u){const P=new D(s.root,u.ffmpeg);await P.open(),f=P}else f={missing:"ffmpeg",why:`${u.missing} (set ALLYHUB_FFMPEG to an ffmpeg, or let the runtime manager fetch its pinned one)`}}const x=await n.time("plans (loudness, music)",()=>U(l,{...r.maxDuration===void 0?{}:{maxDuration:r.maxDuration},fps:m?.timeline.fps??d[0]?.timeline.fps??30,media:s.media,local:u=>n.mediaPath(u),...t.matrix&&f?{loudness:f}:{}}));a.push(...x.problems),i.push(...x.facts);const v=$(l,s.media);v&&i.push(v)}return i.push(...H({piece:t.id},p.media,s.media)),f instanceof D&&await f.save(),{problems:a,facts:i,wholes:h}}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export{OpenedFilm,filmTimes,lookOf,partOf,projectMedia,versionSound}from"./version.js";export{graphicsPage}from"./graphics.js";export{generatedReads,momentsIn,stretchOf}from"./stretch.js";export{projectSays}from"./says.js";export{CUT_RECHECK,checkFilm,offFrameProblems,recheckCuts}from"./check.js";export{StretchLoudness,estimatePlan,loadedPlan,planProblems}from"./plans.js";export{generatedFact,generatedPagedFact,mismatchFacts,secondsOf}from"./generated.js";export{Mattes,matrixFacts,matteOutline,matteRows,measuredFacts,personShare}from"./facts.js";export{FLAT_DEFAULTS,THUMB_WIDTH,flatFrames,flatRuns,pictureOf,probeFrames}from"./flat.js";export{STILL_DEFAULTS,pictureChange,readThumb,stillFrames,stillOptions,stillPicture,stillRuns}from"./still.js";export{cutSeams,flashFrames,joinsOf}from"./seams.js";export{filmWords,listCuts,partFolder,stripFrames,wordsAround}from"./cuts.js";export{CUT_REVIEW_DEFAULTS,CUT_SHEET_WIDTH,cutLine,cutSheetHtml,dbText,reviewCuts,silenceText,speechEdgeText}from"./cut-sheet.js";export{fileSoundReport,soundReport}from"./sound-report.js";export{ONSET_TOLERANCE_MS,landings,recordingDifference,speechStretches,voiceStep}from"./sound-measures.js";export{fileRecording,recordingReport,versionRecording}from"./recording-report.js";export{versionVoice}from"./version-voice.js";export{frameChange,loopSeam}from"./loop.js";export{INTERPRETATION_SHAPE,ReferenceError,badInterpretation,makeReference,readInterpretation,readReference,referenceDir,referenceId}from"./reference/folder.js";export{WORDS_MISSING_INSTEAD,measureVideo,referenceJson}from"./reference/video.js";export{SEGMENT_RULE,SPLIT_DEFAULTS,boundaryCandidates,gaps,measurePacing,numbersOf,segments,sentences}from"./reference/sections.js";export{TEXT_DEFAULTS,linesIn,observeText,textSeconds}from"./reference/text.js";export{labelsOf,referenceSections}from"./reference/interpret.js";export{TIMING_TOLERANCE,alignSections,compareSections}from"./reference/compare.js";export{comparePiece,measurePiece}from"./reference/piece.js";export{labelShares,labelsMatch,percentileOf,quantileOf,referenceNumbers,referenceParameters,referenceSet,statOf}from"./reference/sets.js";export{makeWords}from"./words.js";
2
+ export{OpenedFilm,filmTimes,lookOf,partOf,projectMedia,versionSound}from"./version.js";export{graphicsPage}from"./graphics.js";export{generatedReads,momentsIn,stretchOf}from"./stretch.js";export{projectSays}from"./says.js";export{CUT_RECHECK,checkFilm,offFrameProblems,recheckCuts}from"./check.js";export{StretchLoudness,estimatePlan,loadedPlan,planProblems}from"./plans.js";export{generatedFact,generatedPagedFact,mismatchFacts,secondsOf}from"./generated.js";export{Mattes,matrixFacts,matteOutline,matteRows,measuredFacts,personShare}from"./facts.js";export{FLAT_DEFAULTS,THUMB_WIDTH,flatFrames,flatRuns,pictureOf,probeFrames}from"./flat.js";export{cutSeams,joinsOf}from"./seams.js";export{filmWords,listCuts,partFolder,stripFrames,wordsAround}from"./cuts.js";export{CUT_REVIEW_DEFAULTS,CUT_SHEET_WIDTH,cutLine,cutSheetHtml,dbText,reviewCuts,silenceText,speechEdgeText}from"./cut-sheet.js";export{fileSoundReport,soundReport}from"./sound-report.js";export{ONSET_TOLERANCE_MS,landings,recordingDifference,speechStretches,voiceStep}from"./sound-measures.js";export{fileRecording,recordingReport,versionRecording}from"./recording-report.js";export{versionVoice}from"./version-voice.js";export{frameChange,loopSeam}from"./loop.js";export{INTERPRETATION_SHAPE,ReferenceError,badInterpretation,makeReference,readInterpretation,readReference,referenceDir,referenceId}from"./reference/folder.js";export{WORDS_MISSING_INSTEAD,measureVideo,referenceJson}from"./reference/video.js";export{SEGMENT_RULE,SPLIT_DEFAULTS,boundaryCandidates,gaps,measurePacing,numbersOf,segments,sentences}from"./reference/sections.js";export{TEXT_DEFAULTS,linesIn,observeText,textSeconds}from"./reference/text.js";export{labelsOf,referenceSections}from"./reference/interpret.js";export{TIMING_TOLERANCE,alignSections,compareSections}from"./reference/compare.js";export{comparePiece,measurePiece}from"./reference/piece.js";export{labelShares,labelsMatch,percentileOf,quantileOf,referenceNumbers,referenceParameters,referenceSet,statOf}from"./reference/sets.js";export{makeWords}from"./words.js";
@@ -1,3 +1,3 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{createHash as A}from"node:crypto";import{mkdir as C,readFile as P}from"node:fs/promises";import{join as F}from"node:path";import E from"write-file-atomic";import{ebur128Summary as _,runFfmpeg as H}from"@allyhub/audio/node";import{problem as I}from"@allyhub/diagnostics";import{comboKey as x,dimsCombo as L,slotsOf as J,structureOf as S}from"@allyhub/piece";import{fact as k}from"@allyhub/video-core";import"@allyhub/piece";import{MIX_DEFAULTS as K}from"@allyhub/audio";import{CACHE_DIR as v}from"@allyhub/formats";const O=e=>e.audio.mix?{speechLevel:e.audio.mix.speech}:{},M=e=>{const o=e.audio.music;if(!o?.file)return{};const t=o.play?.at(-1),n=t&&!o.loop?t.at+(t.to-t.from):void 0,m=o.until!==void 0?Math.min(o.until,n??o.until):n;return{music:o.file,...o.from>0?{musicFrom:o.from}:{},...o.loop?{musicLoop:!0}:{},...m===void 0?{}:{musicLength:Math.round(m*1e3)/1e3}}};function N(e,o,t){const n=[];for(const s of e.footage??[])s.part===t.key&&n.push({file:s.file,as:"footage",from:s.start-t.start,to:s.end-t.start});t.speech&&n.push({file:t.speech.file,as:"speech",from:t.speech.start-t.start,to:t.speech.end-t.start});for(const s of e.cues)s.part!==t.key||s.file===void 0||n.push({file:s.file,as:"sound",from:s.t-t.start});const m=new Set(n.map(s=>s.file));for(const s of o?.media??[])s.part!==t.key||m.has(s.path)||(m.add(s.path),n.push({file:s.path,as:"read",from:0,to:t.end-t.start}));return n}const $=(e,o)=>e.parts.map(t=>({key:t.key,uses:N(e,o,t),...t.slot===void 0?{}:{slot:t.slot},dur:t.end-t.start,...t.speech?{speech:{file:t.speech.file,from:t.speech.from,dur:(t.speech.end-t.speech.start)*(t.speech.speed??1)}}:{}}));export function loadedPlan(e,o){const t=$(e.timeline,e.reads);return{piece:e.piece,output:e.output,combo:e.combo,...o===void 0?{}:{id:o},format:e.format,duration:e.timeline.duration,parts:t,media:[...new Set((e.reads?.media??[]).map(n=>n.path))].sort(),estimated:!1,...M(e.timeline),...O(e.timeline)}}export function estimatePlan(e,o,t,n,m,s){const l=e.matrix?.space;if(!l)return;const p=x(L(e.dims,o)),i=s.filter(r=>r.output===n&&r.format===m&&x(L(e.dims,r.combo))===p),f=i.find(r=>S(l,r.combo)===S(l,o));if(!f)return;const h=[],a=new Set,d=$(f.timeline,f.reads);for(let r=0;r<d.length;r++){const u=d[r];if(!u)continue;if(u.slot===void 0||!J(l,o).includes(u.slot)){h.push(u);continue}const c=u.slot;for(;d[r+1]?.slot===c;)r++;const y=i.find(g=>g.combo[c]===o[c]);if(!y)return;for(const g of $(y.timeline,y.reads))if(g.slot===c){h.push(g);for(const w of y.reads?.media??[])w.part===g.key&&a.add(w.path)}}for(const r of f.reads?.media??[]){const u=f.timeline.parts.find(c=>c.key===r.part);(r.part===void 0||u&&u.slot===void 0)&&a.add(r.path)}return{piece:e.id,output:n,combo:o,...t===void 0?{}:{id:t},format:m,duration:h.reduce((r,u)=>r+u.dur,0),parts:h,media:[...a].sort(),estimated:!0,...M(f.timeline),...O(f.timeline)}}const j=e=>F(e,v,"loudness.json");export class StretchLoudness{root;ffmpeg;known={};changed=!1;constructor(o,t){this.root=o,this.ffmpeg=t}async open(){try{this.known=JSON.parse(await P(j(this.root),"utf8"))}catch{this.known={}}}async of(o,t,n,m){const s=A("sha256").update(`${t}:${n.toFixed(3)}:${m.toFixed(3)}`).digest("hex").slice(0,32),l={missing:"silent",why:`${o} from ${n.toFixed(2)} s for ${m.toFixed(2)} s is below −70 LUFS`};if(s in this.known)return this.known[s]??l;let p;try{const{err:i}=await H(this.ffmpeg,["-hide_banner","-nostats","-ss",Math.max(0,n).toFixed(3),"-t",m.toFixed(3),"-i",o,"-vn","-sn","-dn","-af","ebur128=framelog=verbose","-f","null","-"]);if(!i.includes("Summary:"))return{missing:"failed",why:`ffmpeg gave no loudness for ${o}`};p=_(i).integrated}catch(i){return{missing:"failed",why:`ffmpeg could not measure ${o}: ${(i instanceof Error?i.message:String(i)).split(`
3
- `)[0]??""}`}}return this.known[s]=p??null,this.changed=!0,p??l}async save(){if(!this.changed)return;const o=j(this.root);await C(F(this.root,v),{recursive:!0}),await E(o,JSON.stringify(this.known))}}const D=e=>({piece:e.piece,output:e.output,combo:e.combo,format:e.format}),U=e=>e.id??x(e.combo);export async function planProblems(e,o){const t=[],n=[],m=D(e),s=i=>Math.round(i*10)/10,l=i=>Math.round(i*1e3)/1e3;if(o.maxDuration!==void 0&&e.duration>o.maxDuration+.5/o.fps&&t.push(I("AK-X006",`Combo ${U(e)} lasts ${e.duration.toFixed(2)} s${e.estimated?" (from its parts)":""}, longer than the output's maxDuration of ${String(o.maxDuration)} s. Shorten its longest parts (${[...e.parts].sort((i,f)=>f.dur-i.dur).slice(0,2).map(i=>`${i.key} ${i.dur.toFixed(1)} s`).join(", ")}), or leave the combo out with a rule.`,D(e))),e.music!==void 0){const i=o.media[e.music]?.duration;if(i!==void 0){const f=e.musicFrom??0,h=e.musicLength??Math.max(0,i-f),a=e.musicLoop&&e.musicLength===void 0;n.push(k("music-length",m,{file:e.music,music:l(h),...f>0?{from:l(f)}:{},...e.musicLoop?{loop:!0}:{},video:l(e.duration),without:a?0:l(Math.max(0,e.duration-h)),...e.estimated?{estimated:!0}:{}}))}}const p=o.loudness;if(p){const i=async h=>{const a=h.speech;if(!a)return;if(!(p instanceof StretchLoudness))return p;const d=o.media[a.file],r=o.local(a.file);if(!d||!r)return{missing:"file",why:`${a.file} is ${d?"not on this computer":"not in the media index"}`};const u=await p.of(r,d.sha256,0,d.duration??36e3);if(typeof u!="number")return u;const c=await p.of(r,d.sha256,a.from,a.dur);return typeof c=="number"?c+((e.speechLevel??K.speech)-u):c};let f=e.parts[0]?.dur??0;for(let h=1;h<e.parts.length;h++){const a=e.parts[h-1],d=e.parts[h],r=f;if(f+=d?.dur??0,!a||!d)continue;const[u,c]=[await i(a),await i(d)];if(u===void 0||c===void 0)continue;const y={before:a.key,after:d.key},g=e.estimated?{estimated:!0}:{},w={...m,part:d.key,t:l(r)};if(typeof u=="number"&&typeof c=="number")n.push(k("join-loudness",w,{...y,beforeLufs:s(u),afterLufs:s(c),difference:s(c-u),...g}));else{const b=typeof u=="number"?c:u;if(typeof b=="number")continue;n.push(k("join-loudness",w,{...y,missing:b.missing,why:b.why,...g}))}}}return{problems:t,facts:n}}export function wholeOf(e,o){return{piece:e.piece,output:e.output,combo:e.combo,...e.id===void 0?{}:{id:e.id},format:e.format,duration:e.duration,media:[...e.media,...e.music?[e.music]:[]],speaks:o?(o.audio.speech?.length??0)>0:e.parts.some(t=>t.speech!==void 0),estimated:e.estimated}}
2
+ import{createHash as A}from"node:crypto";import{mkdir as C,readFile as P}from"node:fs/promises";import{join as F}from"node:path";import E from"write-file-atomic";import{ebur128Summary as _,runFfmpeg as H}from"@allyhub/audio/node";import{problem as I}from"@allyhub/diagnostics";import{comboKey as x,dimsCombo as L,slotsOf as J,structureOf as S}from"@allyhub/piece";import{fact as k}from"@allyhub/video-core";import{MIX_DEFAULTS as K}from"@allyhub/audio";import{CACHE_DIR as v}from"@allyhub/formats";const O=e=>e.audio.mix?{speechLevel:e.audio.mix.speech}:{},M=e=>{const o=e.audio.music;if(!o?.file)return{};const t=o.play?.at(-1),n=t&&!o.loop?t.at+(t.to-t.from):void 0,d=o.until!==void 0?Math.min(o.until,n??o.until):n;return{music:o.file,...o.from>0?{musicFrom:o.from}:{},...o.loop?{musicLoop:!0}:{},...d===void 0?{}:{musicLength:Math.round(d*1e3)/1e3}}};function N(e,o,t){const n=[];for(const s of e.footage??[])s.part===t.key&&n.push({file:s.file,as:"footage",from:s.start-t.start,to:s.end-t.start});t.speech&&n.push({file:t.speech.file,as:"speech",from:t.speech.start-t.start,to:t.speech.end-t.start});for(const s of e.cues)s.part!==t.key||s.file===void 0||n.push({file:s.file,as:"sound",from:s.t-t.start});const d=new Set(n.map(s=>s.file));for(const s of o?.media??[])s.part!==t.key||d.has(s.path)||(d.add(s.path),n.push({file:s.path,as:"read",from:0,to:t.end-t.start}));return n}const $=(e,o)=>e.parts.map(t=>({key:t.key,uses:N(e,o,t),...t.slot===void 0?{}:{slot:t.slot},dur:t.end-t.start,...t.speech?{speech:{file:t.speech.file,from:t.speech.from,dur:(t.speech.end-t.speech.start)*(t.speech.speed??1)}}:{}}));export function loadedPlan(e,o){const t=$(e.timeline,e.reads);return{piece:e.piece,output:e.output,combo:e.combo,...o===void 0?{}:{id:o},format:e.format,duration:e.timeline.duration,parts:t,media:[...new Set((e.reads?.media??[]).map(n=>n.path))].sort(),estimated:!1,...M(e.timeline),...O(e.timeline)}}export function estimatePlan(e,o,t,n,d,s){const l=e.matrix?.space;if(!l)return;const p=x(L(e.dims,o)),i=s.filter(r=>r.output===n&&r.format===d&&x(L(e.dims,r.combo))===p),f=i.find(r=>S(l,r.combo)===S(l,o));if(!f)return;const h=[],a=new Set,m=$(f.timeline,f.reads);for(let r=0;r<m.length;r++){const u=m[r];if(!u)continue;if(u.slot===void 0||!J(l,o).includes(u.slot)){h.push(u);continue}const c=u.slot;for(;m[r+1]?.slot===c;)r++;const y=i.find(g=>g.combo[c]===o[c]);if(!y)return;for(const g of $(y.timeline,y.reads))if(g.slot===c){h.push(g);for(const w of y.reads?.media??[])w.part===g.key&&a.add(w.path)}}for(const r of f.reads?.media??[]){const u=f.timeline.parts.find(c=>c.key===r.part);(r.part===void 0||u&&u.slot===void 0)&&a.add(r.path)}return{piece:e.id,output:n,combo:o,...t===void 0?{}:{id:t},format:d,duration:h.reduce((r,u)=>r+u.dur,0),parts:h,media:[...a].sort(),estimated:!0,...M(f.timeline),...O(f.timeline)}}const j=e=>F(e,v,"loudness.json");export class StretchLoudness{root;ffmpeg;known={};changed=!1;constructor(o,t){this.root=o,this.ffmpeg=t}async open(){try{this.known=JSON.parse(await P(j(this.root),"utf8"))}catch{this.known={}}}async of(o,t,n,d){const s=A("sha256").update(`${t}:${n.toFixed(3)}:${d.toFixed(3)}`).digest("hex").slice(0,32),l={missing:"silent",why:`${o} from ${n.toFixed(2)} s for ${d.toFixed(2)} s is below −70 LUFS`};if(s in this.known)return this.known[s]??l;let p;try{const{err:i}=await H(this.ffmpeg,["-hide_banner","-nostats","-ss",Math.max(0,n).toFixed(3),"-t",d.toFixed(3),"-i",o,"-vn","-sn","-dn","-af","ebur128=framelog=verbose","-f","null","-"]);if(!i.includes("Summary:"))return{missing:"failed",why:`ffmpeg gave no loudness for ${o}`};p=_(i).integrated}catch(i){return{missing:"failed",why:`ffmpeg could not measure ${o}: ${(i instanceof Error?i.message:String(i)).split(`
3
+ `)[0]??""}`}}return this.known[s]=p??null,this.changed=!0,p??l}async save(){if(!this.changed)return;const o=j(this.root);await C(F(this.root,v),{recursive:!0}),await E(o,JSON.stringify(this.known))}}const D=e=>({piece:e.piece,output:e.output,combo:e.combo,format:e.format}),U=e=>e.id??x(e.combo);export async function planProblems(e,o){const t=[],n=[],d=D(e),s=i=>Math.round(i*10)/10,l=i=>Math.round(i*1e3)/1e3;if(o.maxDuration!==void 0&&e.duration>o.maxDuration+.5/o.fps&&t.push(I("AK-X006",`Combo ${U(e)} lasts ${e.duration.toFixed(2)} s${e.estimated?" (from its parts)":""}, longer than the output's maxDuration of ${String(o.maxDuration)} s. Shorten its longest parts (${[...e.parts].sort((i,f)=>f.dur-i.dur).slice(0,2).map(i=>`${i.key} ${i.dur.toFixed(1)} s`).join(", ")}), or leave the combo out with a rule.`,D(e))),e.music!==void 0){const i=o.media[e.music]?.duration;if(i!==void 0){const f=e.musicFrom??0,h=e.musicLength??Math.max(0,i-f),a=e.musicLoop&&e.musicLength===void 0;n.push(k("music-length",d,{file:e.music,music:l(h),...f>0?{from:l(f)}:{},...e.musicLoop?{loop:!0}:{},video:l(e.duration),without:a?0:l(Math.max(0,e.duration-h)),...e.estimated?{estimated:!0}:{}}))}}const p=o.loudness;if(p){const i=async h=>{const a=h.speech;if(!a)return;if(!(p instanceof StretchLoudness))return p;const m=o.media[a.file],r=o.local(a.file);if(!m||!r)return{missing:"file",why:`${a.file} is ${m?"not on this computer":"not in the media index"}`};const u=await p.of(r,m.sha256,0,m.duration??36e3);if(typeof u!="number")return u;const c=await p.of(r,m.sha256,a.from,a.dur);return typeof c=="number"?c+((e.speechLevel??K.speech)-u):c};let f=e.parts[0]?.dur??0;for(let h=1;h<e.parts.length;h++){const a=e.parts[h-1],m=e.parts[h],r=f;if(f+=m?.dur??0,!a||!m)continue;const[u,c]=[await i(a),await i(m)];if(u===void 0||c===void 0)continue;const y={before:a.key,after:m.key},g=e.estimated?{estimated:!0}:{},w={...d,part:m.key,t:l(r)};if(typeof u=="number"&&typeof c=="number")n.push(k("join-loudness",w,{...y,beforeLufs:s(u),afterLufs:s(c),difference:s(c-u),...g}));else{const b=typeof u=="number"?c:u;if(typeof b=="number")continue;n.push(k("join-loudness",w,{...y,missing:b.missing,why:b.why,...g}))}}}return{problems:t,facts:n}}export function wholeOf(e,o){return{piece:e.piece,output:e.output,combo:e.combo,...e.id===void 0?{}:{id:e.id},format:e.format,duration:e.duration,media:[...e.media,...e.music?[e.music]:[]],speaks:o?(o.audio.speech?.length??0)>0:e.parts.some(t=>t.speech!==void 0),estimated:e.estimated}}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{BANDWIDTH_DEFAULTS as f,RECORDING_MEASURE_DEFAULTS as T,SAMPLE_RATE as g,bandwidthOf as x,measureRecording as A}from"@allyhub/audio";import{analyzeSound as _,decodeStereo as y}from"@allyhub/audio/node";import{takeVoice as D}from"@allyhub/build";import{MediaError as w,beats as P,cached as R,pictureStats as I,probeVideo as L,shots as O}from"@allyhub/media";import{READ_TEXT_TOOL as k,TRANSCRIBE_TOOL as b,screenText as v,transcribe as N}from"@allyhub/media-extension";import{soundUnder as F}from"@allyhub/video-core";import"@allyhub/piece";import{SEGMENT_RULE as U,SPLIT_DEFAULTS as W,boundaryCandidates as C,gaps as B,measurePacing as G,segments as V,sentences as X}from"./sections.js";import{TEXT_DEFAULTS as S,observeText as z}from"./text.js";export const wordOf=({confidence:e,...s})=>e===void 0?s:{...s,confidence:e};const H=.15,m=e=>({...e instanceof w?{code:e.code}:{},message:e instanceof Error?e.message:String(e),...e instanceof w&&e.hint!==void 0?{hint:e.hint}:{}}),E=(e,s)=>s.signal?.aborted===!0||e instanceof w&&e.code==="cancelled";async function J(e,s){try{return{ocr:await v(e,s)}}catch(t){if(E(t,s))throw t;return{ocr:{engine:k,frames:[]},textMissing:m(t)}}}async function j(e,s,t){if(!s.hasAudio)return{words:[]};try{return{words:await R(e,"reference-words",{version:2,options:{model:b,lang:t.lang??null}},t,async()=>(await N(e,{...t.lang===void 0?{}:{lang:t.lang},cloud:t.cloud,signal:t.signal,onProgress:t.onProgress})).words.map(wordOf)),asr:b}}catch(a){if(E(a,t))throw a;return{words:[],wordsMissing:m(a)}}}async function q(e,s){const t=await _(e),a=await y(e),o=A(a,g,T),n=x(a,g,f),i=(s??[]).map(d=>[d.start,d.end]),r=i.length>0?x(a,g,{...f,pick:d=>{const c=d/g;return i.some(([h,l])=>c>=h&&c<=l)}}):void 0;return{loudness:{integrated:t.integrated??null,range:t.range??null,truePeak:t.truePeak??null},recording:{params:{...T},...o},bandwidth:{params:{...f},...n},...r?{voice:r}:{}}}export async function measureVideo(e,s){const t={signal:s.signal,onProgress:s.onProgress},a={root:s.root,fresh:s.fresh},o=u=>{s.onProgress?.({step:"decode",message:u})},n=await L(e,t);o("Finding cuts");const i=await O(e,{...a,...t,...s.all===!0?{all:!0}:{}});let r,d;n.hasAudio&&(o("Finding onsets and tempo"),r=await P(e,{...a,...t}),o("Measuring the sound's levels"),d=await D(e,s.root??process.cwd(),t));const c=await j(e,n,{...s,...a});o("Reading on-screen text");const{ocr:h,textMissing:l}=await J(e,{...s,...a,...t,extra:i.cuts.map(u=>u.t+H)});o("Measuring the picture");const M=await I(e,{...a,...t,cuts:i.cuts.map(u=>u.t)});let p;return n.hasAudio&&(o("Measuring the sound as a recording"),p=await q(e,c.wordsMissing?void 0:c.words).catch(()=>{})),{info:n,...c,shots:i,...r?{beats:r}:{},...d?{levels:d}:{},ocr:h,...l?{textMissing:l}:{},text:z(h.frames,c.words,n.duration,S),picture:M,...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.",TEXT_MISSING_INSTEAD="No text lines, and the text's share of the time is 0 because nothing was read; everything else is measured as usual.";export function referenceJson(e,s){const t=W,a={duration:e.info.duration,words:e.words,cuts:e.shots.cuts,weak:e.shots.weak,text:e.text},o=B(e.words),n=e.info,i=n.codec!==void 0||n.bitrate!==void 0||n.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:n.duration,width:n.width,height:n.height,fps:n.fps,...i?{encoding:{...n.codec===void 0?{}:{codec:n.codec},...n.bitrate===void 0?{}:{bitrate:n.bitrate},...n.audio===void 0?{}:{audio:n.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}}:{},...e.textMissing?{textMissing:{...e.textMissing,instead:TEXT_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:X(e.words,t.pause),pauses:o.filter(r=>r.dur>=t.pause),...s.all===!0?{gaps:o}:{}},boundaries:{cutWithin:t.cutWithin,candidates:C(a,t)},ocr:{engine:e.ocr.engine,frames:e.ocr.frames.length,...e.ocr.frames.some(r=>r.unread)?{unread:e.ocr.frames.filter(r=>r.unread).length}:{},samePlace:S.samePlace,saidWithin:S.saidWithin},text:e.text,pacing:G(a,{onsets:e.beats?.onsets.length??0,tempo:e.beats?.tempo}),...e.levels?{sound:F(e.levels,e.wordsMissing?void 0:e.words,(e.beats?.onsets??[]).map(r=>r.t))}:{},segments:{rule:U,pause:t.pause,cutWithin:t.cutWithin,minLength:t.minLength,list:V(a,t)},sheets:s.sheets,picture:{...e.picture,params:{...e.picture.params}},...e.audio?{audio:e.audio}:{}}}
2
+ import{BANDWIDTH_DEFAULTS as f,RECORDING_MEASURE_DEFAULTS as T,SAMPLE_RATE as g,bandwidthOf as x,measureRecording as A}from"@allyhub/audio";import{analyzeSound as _,decodeStereo as y}from"@allyhub/audio/node";import{takeVoice as D}from"@allyhub/build";import{MediaError as w,beats as P,cached as R,pictureStats as I,probeVideo as L,shots as O}from"@allyhub/media";import{READ_TEXT_TOOL as k,TRANSCRIBE_TOOL as b,screenText as v,transcribe as N}from"@allyhub/media-extension";import{soundUnder as F}from"@allyhub/video-core";import{SEGMENT_RULE as U,SPLIT_DEFAULTS as W,boundaryCandidates as C,gaps as B,measurePacing as G,segments as V,sentences as X}from"./sections.js";import{TEXT_DEFAULTS as S,observeText as z}from"./text.js";export const wordOf=({confidence:e,...s})=>e===void 0?s:{...s,confidence:e};const H=.15,E=e=>({...e instanceof w?{code:e.code}:{},message:e instanceof Error?e.message:String(e),...e instanceof w&&e.hint!==void 0?{hint:e.hint}:{}}),m=(e,s)=>s.signal?.aborted===!0||e instanceof w&&e.code==="cancelled";async function J(e,s){try{return{ocr:await v(e,s)}}catch(t){if(m(t,s))throw t;return{ocr:{engine:k,frames:[]},textMissing:E(t)}}}async function j(e,s,t){if(!s.hasAudio)return{words:[]};try{return{words:await R(e,"reference-words",{version:2,options:{model:b,lang:t.lang??null}},t,async()=>(await N(e,{...t.lang===void 0?{}:{lang:t.lang},cloud:t.cloud,signal:t.signal,onProgress:t.onProgress})).words.map(wordOf)),asr:b}}catch(a){if(m(a,t))throw a;return{words:[],wordsMissing:E(a)}}}async function q(e,s){const t=await _(e),a=await y(e),i=A(a,g,T),n=x(a,g,f),o=(s??[]).map(d=>[d.start,d.end]),r=o.length>0?x(a,g,{...f,pick:d=>{const c=d/g;return o.some(([h,l])=>c>=h&&c<=l)}}):void 0;return{loudness:{integrated:t.integrated??null,range:t.range??null,truePeak:t.truePeak??null},recording:{params:{...T},...i},bandwidth:{params:{...f},...n},...r?{voice:r}:{}}}export async function measureVideo(e,s){const t={signal:s.signal,onProgress:s.onProgress},a={root:s.root,fresh:s.fresh},i=u=>{s.onProgress?.({step:"decode",message:u})},n=await L(e,t);i("Finding cuts");const o=await O(e,{...a,...t,...s.all===!0?{all:!0}:{}});let r,d;n.hasAudio&&(i("Finding onsets and tempo"),r=await P(e,{...a,...t}),i("Measuring the sound's levels"),d=await D(e,s.root??process.cwd(),t));const c=await j(e,n,{...s,...a});i("Reading on-screen text");const{ocr:h,textMissing:l}=await J(e,{...s,...a,...t,extra:o.cuts.map(u=>u.t+H)});i("Measuring the picture");const M=await I(e,{...a,...t,cuts:o.cuts.map(u=>u.t)});let p;return n.hasAudio&&(i("Measuring the sound as a recording"),p=await q(e,c.wordsMissing?void 0:c.words).catch(()=>{})),{info:n,...c,shots:o,...r?{beats:r}:{},...d?{levels:d}:{},ocr:h,...l?{textMissing:l}:{},text:z(h.frames,c.words,n.duration,S),picture:M,...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.",TEXT_MISSING_INSTEAD="No text lines, and the text's share of the time is 0 because nothing was read; everything else is measured as usual.";export function referenceJson(e,s){const t=W,a={duration:e.info.duration,words:e.words,cuts:e.shots.cuts,weak:e.shots.weak,text:e.text},i=B(e.words),n=e.info,o=n.codec!==void 0||n.bitrate!==void 0||n.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:n.duration,width:n.width,height:n.height,fps:n.fps,...o?{encoding:{...n.codec===void 0?{}:{codec:n.codec},...n.bitrate===void 0?{}:{bitrate:n.bitrate},...n.audio===void 0?{}:{audio:n.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}}:{},...e.textMissing?{textMissing:{...e.textMissing,instead:TEXT_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:X(e.words,t.pause),pauses:i.filter(r=>r.dur>=t.pause),...s.all===!0?{gaps:i}:{}},boundaries:{cutWithin:t.cutWithin,candidates:C(a,t)},ocr:{engine:e.ocr.engine,frames:e.ocr.frames.length,...e.ocr.frames.some(r=>r.unread)?{unread:e.ocr.frames.filter(r=>r.unread).length}:{},samePlace:S.samePlace,saidWithin:S.saidWithin},text:e.text,pacing:G(a,{onsets:e.beats?.onsets.length??0,tempo:e.beats?.tempo}),...e.levels?{sound:F(e.levels,e.wordsMissing?void 0:e.words,(e.beats?.onsets??[]).map(r=>r.t))}:{},segments:{rule:U,pause:t.pause,cutWithin:t.cutWithin,minLength:t.minLength,list:V(a,t)},sheets:s.sheets,picture:{...e.picture,params:{...e.picture.params}},...e.audio?{audio:e.audio}:{}}}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{changeOf as A,fact as z,flashOptions as J,flashRuns as K,pictureMotion as L,seamCarriers as N,seamOptions as Q,seamSide as S}from"@allyhub/video-core";import{readPng as T}from"@allyhub/render";const w=e=>Math.round(e*1e3)/1e3;export function joinsOf(e){const u=e.fps,c=[];for(let a=1;a<e.parts.length;a++){const s=e.parts[a-1],n=e.parts[a];if(!s||!n)continue;const p=Math.round(n.start*u),i=(e.transitions??[]).find(o=>o.part===n.key);c.push({from:s.key,to:n.key,at:p,before:i?Math.round(i.start*u):p,after:i?Math.round(i.end*u):p,first:Math.round(s.start*u),end:Math.round(n.end*u),...i?{transition:{type:i.type,start:w(i.start),end:w(i.end)}}:{}})}return c}const U=e=>{const{width:u,height:c,data:a}=T(e);return{width:u,height:c,data:a}};function D(e,u,c){const a=new Map,s=new Map,n=new Map,p=async o=>(a.has(o)||a.set(o,await e.sign(o/u)),a.get(o)),i=async o=>U(await e.thumb(o/u,c));return{sign:p,async same(o,M){const l=await p(o);return l!==void 0&&l===await p(M)},async picture(o){const M=n.get(o);if(M)return M;const l=await p(o),t=(l===void 0?void 0:s.get(l))??Promise.resolve(await i(o));return n.set(o,t),l!==void 0&&s.set(l,t),t}}}export async function cutSeams(e,u={},c={}){const a=e.timeline,s=Q(u),n=a.fps,p=s.frames,i=[a.width,a.height],o=c.width??160,M=c.picture?D(e,n,o):void 0,l=[];for(const r of joinsOf(a)){const t=r.at/n;if(c.from!==void 0&&t<c.from-1e-6||c.to!==void 0&&t>c.to+1e-6)continue;const m=Math.max(r.first,r.before-p),d=r.before-1,g=r.after,b=Math.min(r.end-1,r.after+p-1);if(d<m||b<g)continue;const y=(h,k)=>Array.from({length:k-h+1},(F,O)=>h+O),f=y(m,d),x=y(g,b),P=await e.tracks(m/n,d/n),B=await e.tracks(g/n,b/n),v=S(P,r.from,f.map(h=>h/n),"last",i,s),j=S(B,r.to,x.map(h=>h/n),"first",i,s);if(M){const h=a.width/o,k=async G=>{const q=[];for(const H of G)q.push(await M.picture(H));return L(q,n,h,8,s.rest)},F=await k(f),O=await k(x);F&&(v.picture=F),O&&(j.picture=O)}const C={...s,top:0},I=S(P,r.from,f.map(h=>h/n),"last",i,C).list,R=S(B,r.to,x.map(h=>h/n),"first",i,C).list,_=h=>h.find(k=>k.moving),E={at:w(t),before:v,after:j,...r.transition?{transition:r.transition}:{},change:{lead:A(_(I),_(R)),overall:A(v.overall,j.overall),...v.picture&&j.picture?{picture:A(v.picture,j.picture)}:{}},carriers:N(I,R,i),options:s};l.push(z("cut-seam",{piece:e.target.piece,output:e.target.output,combo:e.target.combo,format:e.target.format,part:r.to,t:w(t)},E))}return l}export async function flashFrames(e,u={},c={}){const a=e.timeline,s=J(u),n=a.fps,p=Math.max(0,Math.round(a.duration*n)-1),i=joinsOf(a),o=new Set;if(c.from!==void 0||c.to!==void 0){const t=Math.max(1,Math.ceil((c.from??0)*n-1e-6)),m=Math.min(p-1,Math.floor((c.to??1/0)*n+1e-6));for(let d=t;d<=m;d++)o.add(d)}else for(const t of i)for(const m of new Set([t.before,t.at,t.after]))for(let d=m-s.reach;d<m+s.reach;d++)for(let g=1;g<=s.frames;g++){const b=d-g+1;b>=1&&d<=p-1&&o.add(b)}const M=D(e,n,s.width),l=await K([...o].sort((t,m)=>t-m),p,t=>M.picture(t),(t,m)=>M.same(t,m),s,c.all===!0,i.map(t=>t.at)),r=t=>({share:Math.round(t.share*1e5)/1e5,mean:w(t.mean)});return l.map(t=>{const m=w(t.from/n),d=w((t.to+1)/n),g=a.parts.filter(f=>Math.round(f.start*n)<=t.to&&Math.round(f.end*n)>t.from).map(f=>f.key),b=i.map(f=>f.at).filter(f=>Math.abs(f-t.from)<=s.reach+s.frames).sort((f,x)=>Math.abs(f-t.from)-Math.abs(x-t.from))[0],y=(a.transitions??[]).find(f=>Math.round(f.start*n)<=t.to&&Math.round(f.end*n)>t.from);return z("flash",{piece:e.target.piece,output:e.target.output,combo:e.target.combo,format:e.target.format,t:m,...g[0]?{part:g[0]}:{}},{start:m,end:d,frames:t.to-t.from+1,parts:g,foreign:r(t.foreign),before:r(t.before),after:r(t.after),across:r(t.across),...t.own?{own:{side:t.own.side,step:r(t.own.step),usual:r(t.own.usual)}}:{},...b===void 0?{}:{join:w(b/n)},...y?{transition:{type:y.type,from:y.from,to:y.part}}:{},options:s})})}
2
+ import{changeOf as P,fact as I,pictureMotion as J,seamCarriers as K,seamOptions as L,seamSide as y}from"@allyhub/video-core";import{readPng as N}from"@allyhub/render";const b=t=>Math.round(t*1e3)/1e3;export function joinsOf(t){const f=t.fps,i=[];for(let r=1;r<t.parts.length;r++){const c=t.parts[r-1],n=t.parts[r];if(!c||!n)continue;const p=Math.round(n.start*f),s=(t.transitions??[]).find(e=>e.part===n.key);i.push({from:c.key,to:n.key,at:p,before:s?Math.round(s.start*f):p,after:s?Math.round(s.end*f):p,first:Math.round(c.start*f),end:Math.round(n.end*f),...s?{transition:{type:s.type,start:b(s.start),end:b(s.end)}}:{}})}return i}const Q=t=>{const{width:f,height:i,data:r}=N(t);return{width:f,height:i,data:r}};function R(t,f,i){const r=new Map,c=new Map,n=new Map,p=async e=>(r.has(e)||r.set(e,await t.sign(e/f)),r.get(e)),s=async e=>Q(await t.thumb(e/f,i));return{sign:p,async same(e,m){const u=await p(e);return u!==void 0&&u===await p(m)},async picture(e){const m=n.get(e);if(m)return m;const u=await p(e),d=(u===void 0?void 0:c.get(u))??Promise.resolve(await s(e));return n.set(e,d),u!==void 0&&c.set(u,d),d}}}export async function cutSeams(t,f={},i={}){const r=t.timeline,c=L(f),n=r.fps,p=c.frames,s=[r.width,r.height],e=i.width??160,m=i.picture?R(t,n,e):void 0,u=[];for(const a of joinsOf(r)){const d=a.at/n;if(i.from!==void 0&&d<i.from-1e-6||i.to!==void 0&&d>i.to+1e-6)continue;const M=Math.max(a.first,a.before-p),k=a.before-1,v=a.after,x=Math.min(a.end-1,a.after+p-1);if(k<M||x<v)continue;const S=(o,h)=>Array.from({length:h-o+1},(F,w)=>o+w),O=S(M,k),A=S(v,x),j=await t.tracks(M/n,k/n),B=await t.tracks(v/n,x/n),g=y(j,a.from,O.map(o=>o/n),"last",s,c),l=y(B,a.to,A.map(o=>o/n),"first",s,c);if(m){const o=r.width/e,h=async G=>{const D=[];for(const H of G)D.push(await m.picture(H));return J(D,n,o,8,c.rest)},F=await h(O),w=await h(A);F&&(g.picture=F),w&&(l.picture=w)}const C={...c,top:0},_=y(j,a.from,O.map(o=>o/n),"last",s,C).list,q=y(B,a.to,A.map(o=>o/n),"first",s,C).list,z=o=>o.find(h=>h.moving),E={at:b(d),before:g,after:l,...a.transition?{transition:a.transition}:{},change:{lead:P(z(_),z(q)),overall:P(g.overall,l.overall),...g.picture&&l.picture?{picture:P(g.picture,l.picture)}:{}},carriers:K(_,q,s),options:c};u.push(I("cut-seam",{piece:t.target.piece,output:t.target.output,combo:t.target.combo,format:t.target.format,part:a.to,t:b(d)},E))}return u}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{join as l}from"node:path";import{ProjectError as d}from"@allyhub/build";import{parseAnchorRef as w}from"@allyhub/piece";import{finalStill as c,soundOf as $}from"@allyhub/render";import{webp as y}from"@allyhub/image-render/webp";import{graphicsPage as m}from"./graphics.js";export function lookOf(o){const t=o.options,e=t.motionBlur,a=t.post,n=t.capture,u=i=>typeof i=="object"&&i!==null?i:void 0,h=u(e),r=u(a),s=r?.filter,p=r?.lut;return{...t.transparent===!0?{transparent:!0}:{},...h&&typeof h.samples=="number"?{motionBlur:{samples:h.samples,...typeof h.shutter=="number"?{shutter:h.shutter}:{}}}:{},...u(n)?{capture:n}:{},...typeof s=="string"||typeof p=="string"?{post:{...typeof s=="string"?{filter:s}:{},...typeof p=="string"?{lut:p}:{}}}:{}}}export function projectMedia(o){return{root:o.root,media:o.media,path:t=>Object.hasOwn(o.media,t)?l(o.root,t):void 0}}export function versionSound(o,t,e,a={}){return $(projectMedia(o),t,e,a)}export function filmTimes(o,t,e){const n=(e?[e]:t).flatMap(r=>(r.anchors??[]).map(s=>({part:r.key,...s}))),u=new Set(n.map(r=>r.name)),h=n.length>0?`Anchors${e?` of ${e.key}`:""}: ${n.map(r=>`@${r.name} (${r.part} ${r.at.toFixed(2)}${r.end===void 0?"":`–${r.end.toFixed(2)}`})`).join(", ")}.`:`${e?`Part ${e.key}`:"It"} has no anchors: a part gives them with anchors: { name: seconds }, or its script's line with @{name}.`;return o.map(r=>{if(typeof r=="number")return e?e.start+r:r;const s=w(r,u),p=s?n.filter(f=>f.name===s.name):[],i=p[0];if(!s||!i)throw new d("no-anchor",`No anchor ${r}.`,"not-found",h);if(p.length>1)throw new d("bad-time",`${String(p.length)} parts have an anchor ${s.name}: ${p.map(f=>f.part).join(", ")}.`,"usage","Name the part.");if(s.end&&i.end===void 0)throw new d("bad-time",`${r} asks for the end of the anchor ${i.name} of ${i.part}, which is a point.`,"usage",`Use @${i.name}.`);const g=(s.end?i.end??i.at:i.at)+s.shift;return Math.round(g*1e3)/1e3})}export function partOf(o,t){const e=o.parts.filter(n=>n.key.startsWith(`${t}/`)),a=o.parts.find(n=>n.key===t)??(e.length===1?e[0]:void 0);if(!a)throw new d("no-part",`No part ${t}.`,"not-found",`Parts: ${o.parts.map(n=>n.key).join(", ")}.`);return a}export class OpenedFilm{opened;page;constructor(t){this.opened=t}get target(){return this.opened.target}get piece(){return this.opened.piece}get prepared(){return this.opened.prepared}get version(){return this.opened.version}get timeline(){return this.version.timeline}get look(){return lookOf(this.piece)}get media(){return projectMedia(this.prepared)}graphics(){return this.page??=m(this.version.stage,{gpu:this.opened.gpu}),this.page}async openPage(){const t=await this.opened.another();return m(t.stage,{gpu:this.opened.gpu})}code(){return this.opened.code()}still(t,e={}){return this.timeline.parts.find(n=>t>=n.start&&t<n.end)?.frame?this.ownFrame(t,e.format??"png"):c(this.graphics(),t,{target:this.target,look:this.look,media:this.media,...e.raw===void 0?{}:{raw:e.raw},...e.format===void 0?{}:{format:e.format},...e.ffmpeg===void 0?{}:{ffmpeg:e.ffmpeg}})}async ownFrame(t,e){return await this.version.seek(t),this.version.stage.capture({format:e})}sound(t={}){return versionSound(this.prepared,this.target,this.timeline,t)}draws(){return{compose:async(t,e,a)=>{if((this.timeline.footage??[]).some(u=>u.part===e))return c(m(t.stage,{gpu:this.opened.gpu}),a,{target:this.target,look:this.look,media:this.media})},webp:t=>y(t,"lossless")}}partStills(t){return this.opened.partStills(t,this.draws())}}
2
+ import{join as l}from"node:path";import{ProjectError as c}from"@allyhub/build";import{parseAnchorRef as w}from"@allyhub/piece";import{backgroundStill as $,finalStill as m,soundOf as y}from"@allyhub/render";import{webp as v}from"@allyhub/image-render/webp";import{graphicsPage as f}from"./graphics.js";export function lookOf(o){const t=o.options,e=t.motionBlur,a=t.post,n=t.capture,h=i=>typeof i=="object"&&i!==null?i:void 0,u=h(e),r=h(a),s=r?.filter,p=r?.lut;return{...t.transparent===!0?{transparent:!0}:{},...u&&typeof u.samples=="number"?{motionBlur:{samples:u.samples,...typeof u.shutter=="number"?{shutter:u.shutter}:{}}}:{},...h(n)?{capture:n}:{},...typeof s=="string"||typeof p=="string"?{post:{...typeof s=="string"?{filter:s}:{},...typeof p=="string"?{lut:p}:{}}}:{}}}export function projectMedia(o){return{root:o.root,media:o.media,path:t=>Object.hasOwn(o.media,t)?l(o.root,t):void 0}}export function versionSound(o,t,e,a={}){return y(projectMedia(o),t,e,a)}export function filmTimes(o,t,e){const n=(e?[e]:t).flatMap(r=>(r.anchors??[]).map(s=>({part:r.key,...s}))),h=new Set(n.map(r=>r.name)),u=n.length>0?`Anchors${e?` of ${e.key}`:""}: ${n.map(r=>`@${r.name} (${r.part} ${r.at.toFixed(2)}${r.end===void 0?"":`–${r.end.toFixed(2)}`})`).join(", ")}.`:`${e?`Part ${e.key}`:"It"} has no anchors: a part gives them with anchors: { name: seconds }, or its script's line with @{name}.`;return o.map(r=>{if(typeof r=="number")return e?e.start+r:r;const s=w(r,h),p=s?n.filter(d=>d.name===s.name):[],i=p[0];if(!s||!i)throw new c("no-anchor",`No anchor ${r}.`,"not-found",u);if(p.length>1)throw new c("bad-time",`${String(p.length)} parts have an anchor ${s.name}: ${p.map(d=>d.part).join(", ")}.`,"usage","Name the part.");if(s.end&&i.end===void 0)throw new c("bad-time",`${r} asks for the end of the anchor ${i.name} of ${i.part}, which is a point.`,"usage",`Use @${i.name}.`);const g=(s.end?i.end??i.at:i.at)+s.shift;return Math.round(g*1e3)/1e3})}export function partOf(o,t){const e=o.parts.filter(n=>n.key.startsWith(`${t}/`)),a=o.parts.find(n=>n.key===t)??(e.length===1?e[0]:void 0);if(!a)throw new c("no-part",`No part ${t}.`,"not-found",`Parts: ${o.parts.map(n=>n.key).join(", ")}.`);return a}export class OpenedFilm{opened;page;constructor(t){this.opened=t}get target(){return this.opened.target}get piece(){return this.opened.piece}get prepared(){return this.opened.prepared}get version(){return this.opened.version}get timeline(){return this.version.timeline}get look(){return lookOf(this.piece)}get media(){return projectMedia(this.prepared)}graphics(){return this.page??=f(this.version.stage,{gpu:this.opened.gpu}),this.page}async openPage(){const t=await this.opened.another();return f(t.stage,{gpu:this.opened.gpu})}code(){return this.opened.code()}still(t,e={}){return this.timeline.parts.find(n=>t>=n.start&&t<n.end)?.frame?this.ownFrame(t,e.format??"png"):m(this.graphics(),t,{target:this.target,look:this.look,media:this.media,...e.raw===void 0?{}:{raw:e.raw},...e.format===void 0?{}:{format:e.format},...e.ffmpeg===void 0?{}:{ffmpeg:e.ffmpeg}})}coverKeys(){return(this.version.summary?.covers??[]).map(t=>t.key)}async cover(t){const e=this.coverKeys().indexOf(t);if(e<0)throw new Error(`No cover ${t}.`);return $(this.timeline,await this.graphics().cover(e))}async ownFrame(t,e){return await this.version.seek(t),this.version.stage.capture({format:e})}sound(t={}){return versionSound(this.prepared,this.target,this.timeline,t)}draws(){return{compose:async(t,e,a)=>{if((this.timeline.footage??[]).some(h=>h.part===e))return m(f(t.stage,{gpu:this.opened.gpu}),a,{target:this.target,look:this.look,media:this.media})},webp:t=>v(t,"lossless")}}partStills(t){return this.opened.partStills(t,this.draws())}}
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "@allyhub/video-measure",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
8
8
  "default": "./dist/index.js"
9
+ },
10
+ "./cut-sheet": {
11
+ "types": "./dist/cut-sheet.d.ts",
12
+ "default": "./dist/cut-sheet.js"
9
13
  }
10
14
  },
11
15
  "private": true,
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export function defineConfig(n){return n}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export{clamp,ease,fitText,lerp,progress,rand,stagger,tween}from"./anim.js";export{noise2D,noise3D,noise4D}from"./noise.js";export{drag,fittsTime,INPUT_DEFAULTS,cursor,handPath,reach,scroll,tap,typing}from"./input.js";export{aimed}from"@allyhub/scenery";export{drawOn,interpolatePath,normalizePath,pathLength,pointAtLength,tangentAtLength,trimPath}from"./paths.js";export{ROUTE_DEFAULTS,routeConnections,routeCrossings}from"./route.js";export{FIT_LINES_PRECISION,fitLines,textLines}from"@allyhub/image-sdk/dom";export{custom,defineComponent,LAYER_OPTIONS}from"@allyhub/image-sdk/define";export{adjustment,fill,group,shape,textLayer}from"@allyhub/image-sdk";export{say}from"./parts.js";export{defineConfig,definePiece,paged}from"./piece.js";export{asset,boolean,color,list,number,object,text,time}from"@allyhub/image-sdk/props";export{countText,splitText}from"@allyhub/image-sdk/text";export{pictureProblem}from"@allyhub/image-sdk/picture";export{PICTURE_DEFAULTS}from"@allyhub/piece";export{markRuns,readMarks,withoutMarks}from"@allyhub/piece";
2
+ export{clamp,ease,fitText,lerp,progress,rand,stagger,tween}from"./anim.js";export{noise2D,noise3D,noise4D}from"./noise.js";export{drag,fittsTime,INPUT_DEFAULTS,cursor,handPath,reach,scroll,tap,typing}from"./input.js";export{aimed}from"@allyhub/scenery";export{drawOn,interpolatePath,normalizePath,pathLength,pointAtLength,tangentAtLength,trimPath}from"./paths.js";export{ROUTE_DEFAULTS,routeConnections,routeCrossings}from"./route.js";export{FIT_LINES_PRECISION,fitLines,textLines}from"@allyhub/image-sdk/dom";export{custom,defineComponent,LAYER_OPTIONS}from"@allyhub/image-sdk/define";export{block}from"@allyhub/image-sdk/block";export{adjustment,fill,group,shape,textLayer}from"@allyhub/image-sdk";export{say}from"./parts.js";export{defineConfig,definePiece,paged}from"./piece.js";export{asset,boolean,color,list,number,object,text,time}from"@allyhub/image-sdk/props";export{countText,splitText}from"@allyhub/image-sdk/text";export{pictureProblem}from"@allyhub/image-sdk/picture";export{PICTURE_DEFAULTS}from"@allyhub/piece";export{markRuns,readMarks,withoutMarks}from"@allyhub/piece";