allyhub 0.17.1 → 0.19.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 (600) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/bin/allyhub.js +10 -0
  3. package/dist/args.js +1 -1
  4. package/dist/command.js +1 -1
  5. package/dist/commands/add.js +1 -1
  6. package/dist/commands/auth.js +1 -1
  7. package/dist/commands/cloud-tools.js +1 -1
  8. package/dist/commands/cloud.js +1 -1
  9. package/dist/commands/contributed.js +1 -1
  10. package/dist/commands/found-extensions.js +2 -0
  11. package/dist/commands/frames/common.js +1 -1
  12. package/dist/commands/frames/doc.js +1 -1
  13. package/dist/commands/frames.js +9 -9
  14. package/dist/commands/index.js +1 -1
  15. package/dist/commands/inspect/common.js +3 -3
  16. package/dist/commands/inspect/index.js +1 -1
  17. package/dist/commands/inspect/layout.js +1 -1
  18. package/dist/commands/inspect/views.js +1 -1
  19. package/dist/commands/list.js +2 -0
  20. package/dist/commands/mail.js +1 -1
  21. package/dist/commands/render.js +1 -1
  22. package/dist/commands/run-context.js +2 -0
  23. package/dist/commands.json +1 -0
  24. package/dist/fields.js +1 -1
  25. package/dist/main.js +7 -7
  26. package/dist/node_modules/@allyhub/3d-extension/dist/build.js +1 -1
  27. package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +1 -1
  28. package/dist/node_modules/@allyhub/3d-extension/package.json +3 -2
  29. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  30. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  31. package/dist/node_modules/@allyhub/build/dist/build-plugins.js +1 -1
  32. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  33. package/dist/node_modules/@allyhub/build/dist/meta-worker.js +1 -1
  34. package/dist/node_modules/@allyhub/build/dist/plugin.js +9 -9
  35. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  36. package/dist/node_modules/@allyhub/build/dist/project-root.js +1 -1
  37. package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
  38. package/dist/node_modules/@allyhub/build/dist/sdk-parts.js +2 -0
  39. package/dist/node_modules/@allyhub/build/dist/vite.js +2 -2
  40. package/dist/node_modules/@allyhub/build/package.json +9 -1
  41. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  42. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  43. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  44. package/dist/node_modules/@allyhub/check/dist/check.js +2 -2
  45. package/dist/node_modules/@allyhub/check/package.json +1 -1
  46. package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
  47. package/dist/node_modules/@allyhub/cloud/dist/call.js +1 -1
  48. package/dist/node_modules/@allyhub/cloud/dist/catalog.js +1 -1
  49. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  50. package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
  51. package/dist/node_modules/@allyhub/cloud/dist/credentials.js +1 -1
  52. package/dist/node_modules/@allyhub/cloud/dist/device.js +1 -1
  53. package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
  54. package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
  55. package/dist/node_modules/@allyhub/cloud/dist/loopback.js +2 -2
  56. package/dist/node_modules/@allyhub/cloud/dist/mail.js +1 -1
  57. package/dist/node_modules/@allyhub/cloud/dist/records.js +1 -1
  58. package/dist/node_modules/@allyhub/cloud/dist/signin.js +2 -2
  59. package/dist/node_modules/@allyhub/cloud/dist/sites.js +1 -1
  60. package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
  61. package/dist/node_modules/@allyhub/cloud/dist/tools.js +2 -0
  62. package/dist/node_modules/@allyhub/cloud/dist/uploads.js +1 -1
  63. package/dist/node_modules/@allyhub/cloud/dist/voice.js +1 -1
  64. package/dist/node_modules/@allyhub/cloud/package.json +5 -1
  65. package/dist/node_modules/@allyhub/components/package.json +1 -1
  66. package/dist/node_modules/@allyhub/dev-server/dist/offline-page.js +2 -0
  67. package/dist/node_modules/@allyhub/dev-server/dist/pages.js +1 -1
  68. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  69. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  70. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  71. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  72. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  73. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  74. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +1 -1
  75. package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +1 -1
  76. package/dist/node_modules/@allyhub/doc-extension/package.json +1 -1
  77. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  78. package/dist/node_modules/@allyhub/export/package.json +1 -1
  79. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  80. package/dist/node_modules/@allyhub/extension-host/dist/host.js +1 -1
  81. package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
  82. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  83. package/dist/node_modules/@allyhub/formats/dist/files.d.ts +4 -0
  84. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +24 -7
  85. package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
  86. package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +1 -1
  87. package/dist/node_modules/@allyhub/formats/package.json +25 -1
  88. package/dist/node_modules/@allyhub/html-extension/LICENSE +241 -0
  89. package/dist/node_modules/@allyhub/html-extension/dist/page.js +6 -0
  90. package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -0
  91. package/dist/node_modules/@allyhub/html-extension/dist/tools.js +2 -0
  92. package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
  93. package/dist/node_modules/@allyhub/html-extension/markup/markup.json +15 -0
  94. package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +36 -0
  95. package/dist/node_modules/@allyhub/html-extension/package.json +92 -0
  96. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  97. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  98. package/dist/node_modules/@allyhub/image-extension/package.json +1 -1
  99. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  100. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  101. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  102. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  103. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  104. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  105. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -1
  106. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  107. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  108. package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -600
  109. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  110. package/dist/node_modules/@allyhub/media/package.json +5 -1
  111. package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +1 -1
  112. package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +1 -1
  113. package/dist/node_modules/@allyhub/media-extension/package.json +2 -1
  114. package/dist/node_modules/@allyhub/model/package.json +1 -1
  115. package/dist/node_modules/@allyhub/office-extension/package.json +4 -1
  116. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  117. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +1 -2
  118. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +1 -1
  119. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +2 -2
  120. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +2 -2
  121. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  122. package/dist/node_modules/@allyhub/project/package.json +1 -1
  123. package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
  124. package/dist/node_modules/@allyhub/protocol/dist/blobs.js +1 -1
  125. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  126. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  127. package/dist/node_modules/@allyhub/protocol/dist/errors.js +1 -1
  128. package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
  129. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  130. package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.js +1 -1
  131. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
  132. package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
  133. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  134. package/dist/node_modules/@allyhub/protocol/dist/paywall.js +1 -1
  135. package/dist/node_modules/@allyhub/protocol/dist/purposes.js +1 -1
  136. package/dist/node_modules/@allyhub/protocol/dist/registry.js +1 -1
  137. package/dist/node_modules/@allyhub/protocol/dist/sites.js +1 -1
  138. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  139. package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
  140. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  141. package/dist/node_modules/@allyhub/protocol/package.json +41 -1
  142. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  143. package/dist/node_modules/@allyhub/render/dist/errors.js +1 -1
  144. package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
  145. package/dist/node_modules/@allyhub/render/package.json +9 -1
  146. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  147. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
  148. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +1 -1
  149. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  150. package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +1 -1
  151. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +1 -1
  152. package/dist/node_modules/@allyhub/runtimes/manifest.json +1 -1
  153. package/dist/node_modules/@allyhub/runtimes/package.json +9 -1
  154. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  155. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  156. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +3 -3
  157. package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +1 -1
  158. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +2 -2
  159. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  160. package/dist/node_modules/@allyhub/sheet/dist/annotations.js +1 -1
  161. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  162. package/dist/node_modules/@allyhub/sheet/dist/arrange.js +1 -1
  163. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
  164. package/dist/node_modules/@allyhub/sheet/dist/filter.js +1 -1
  165. package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
  166. package/dist/node_modules/@allyhub/sheet/dist/html.js +6 -6
  167. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  168. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  169. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +1 -1
  170. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +1 -1
  171. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -2
  172. package/dist/node_modules/@allyhub/sheet-extension/package.json +1 -1
  173. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  174. package/dist/node_modules/@allyhub/slides-extension/package.json +1 -1
  175. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  176. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  177. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  178. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400-italic.css +1 -79
  179. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400.css +1 -79
  180. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700-italic.css +1 -79
  181. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700.css +1 -79
  182. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/arial.css +1 -316
  183. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +1 -19
  184. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +1 -19
  185. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +1 -19
  186. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +1 -19
  187. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +1 -76
  188. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400-italic.css +1 -69
  189. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400.css +1 -69
  190. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700-italic.css +1 -69
  191. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700.css +1 -69
  192. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/calibri.css +1 -276
  193. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +1 -79
  194. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +1 -79
  195. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +1 -79
  196. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +1 -79
  197. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +1 -316
  198. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-color-emoji/emoji.css +1 -8
  199. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/400.css +1 -1009
  200. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/700.css +1 -1009
  201. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/microsoft-yahei.css +1 -2018
  202. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +1 -79
  203. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +1 -79
  204. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +1 -79
  205. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +1 -79
  206. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +1 -316
  207. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  208. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  209. package/dist/node_modules/@allyhub/telemetry/dist/doc.js +1 -1
  210. package/dist/node_modules/@allyhub/telemetry/dist/errors.js +1 -1
  211. package/dist/node_modules/@allyhub/telemetry/dist/telemetry.js +2 -2
  212. package/dist/node_modules/@allyhub/telemetry/package.json +1 -1
  213. package/dist/node_modules/@allyhub/text-extension/package.json +2 -1
  214. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  215. package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +1 -1
  216. package/dist/node_modules/@allyhub/video-extension/package.json +6 -2
  217. package/dist/node_modules/@allyhub/video-measure/dist/plans.js +2 -2
  218. package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +1 -1
  219. package/dist/node_modules/@allyhub/video-measure/package.json +5 -1
  220. package/dist/node_modules/@allyhub/video-sdk/dist/config.js +2 -0
  221. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +1 -1
  222. package/dist/node_modules/@allyhub/video-sdk/package.json +5 -1
  223. package/dist/node_modules/@allyhub/website/package.json +1 -1
  224. package/dist/node_modules/@allyhub/website-extension/dist/build.js +1 -1
  225. package/dist/node_modules/@allyhub/website-extension/package.json +4 -4
  226. package/dist/node_modules/@allyhub/x-extension/dist/build.js +1 -1
  227. package/dist/node_modules/@allyhub/x-extension/package.json +8 -2
  228. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  229. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  230. package/dist/node_modules/@allyhub/x-view/src/style.css +1 -709
  231. package/dist/package.json +14 -13
  232. package/dist/project.js +1 -1
  233. package/dist/resources.js +1 -1
  234. package/dist/sdk-docs.js +1 -1
  235. package/dist/slot.js +4 -0
  236. package/dist/telemetry.js +1 -1
  237. package/dist/version.js +1 -1
  238. package/editor-web/assets/{abnfDiagram-WEYOIA3C-CHNpVSPv.js → abnfDiagram-WEYOIA3C-DYaMS_BB.js} +1 -1
  239. package/editor-web/assets/{architecture-WOLXFQ4H-gPsJqQwV.js → architecture-WOLXFQ4H-g_Tjfl_y.js} +1 -1
  240. package/editor-web/assets/{architectureDiagram-ZHVYKT53-CEIDcC6r.js → architectureDiagram-ZHVYKT53-CqdhofOL.js} +1 -1
  241. package/editor-web/assets/article-8evPh712.js +3 -0
  242. package/editor-web/assets/{article-DfELjJ2o.js → article-BhRtWYMd.js} +2 -2
  243. package/editor-web/assets/{blockDiagram-RJAE7QA3-CUzEGVet.js → blockDiagram-RJAE7QA3-Bc-28Bci.js} +1 -1
  244. package/editor-web/assets/{c4Diagram-XDPPPE54-CB94NR9s.js → c4Diagram-XDPPPE54-CTGJb8FB.js} +1 -1
  245. package/editor-web/assets/{calc-worker-BdHh5LXM.js → calc-worker-oEIqrrTM.js} +1 -1
  246. package/editor-web/assets/channel-wIj_OqDm.js +1 -0
  247. package/editor-web/assets/{chart-file-CfbWK9l1.js → chart-file-dGiRgFcH.js} +1 -1
  248. package/editor-web/assets/{chunk-2E7WHVMD-DFYo_Boi.js → chunk-2E7WHVMD-B2MPOVTU.js} +1 -1
  249. package/editor-web/assets/{chunk-4EMNKR2T-CLLjmweX.js → chunk-4EMNKR2T-BUV1ZHP0.js} +1 -1
  250. package/editor-web/assets/{chunk-55XCU76K-CkwQ_3m1.js → chunk-55XCU76K-BZlpspL5.js} +1 -1
  251. package/editor-web/assets/{chunk-7S6XSTFO-V-AvHpAB.js → chunk-7S6XSTFO-CpKeisWE.js} +1 -1
  252. package/editor-web/assets/{chunk-AQDTSKZB-PjHyYpb8.js → chunk-AQDTSKZB-BJqwAPyo.js} +1 -1
  253. package/editor-web/assets/{chunk-DSNLSHJZ-QaczBS3J.js → chunk-DSNLSHJZ-D6oPWl_W.js} +1 -1
  254. package/editor-web/assets/{chunk-HAGFOTED-aLaQB5Xu.js → chunk-HAGFOTED-B5pk4MZF.js} +1 -1
  255. package/editor-web/assets/{chunk-HNE4Q36P-De3ftDQR.js → chunk-HNE4Q36P-DHbSPvxQ.js} +1 -1
  256. package/editor-web/assets/{chunk-NQOKRVIF-CrhVQyvP.js → chunk-NQOKRVIF-CcL_GcRA.js} +1 -1
  257. package/editor-web/assets/{chunk-UHW7PFBP-BFmZ5ZLn.js → chunk-UHW7PFBP-YgiOL6XE.js} +1 -1
  258. package/editor-web/assets/{chunk-VQ5W62QI-CzppUHLA.js → chunk-VQ5W62QI-p14b4UYc.js} +1 -1
  259. package/editor-web/assets/{chunk-WQQL4CDK-BrAU7V6v.js → chunk-WQQL4CDK-BWW0x-XH.js} +1 -1
  260. package/editor-web/assets/{chunk-YZO67HFG-BSiF71qj.js → chunk-YZO67HFG-oG3qd68C.js} +1 -1
  261. package/editor-web/assets/{chunk-ZAUX2LTX-BJc4r5b1.js → chunk-ZAUX2LTX-CpcheH0u.js} +1 -1
  262. package/editor-web/assets/{chunk-ZCHMQSOR-CkGTuehB.js → chunk-ZCHMQSOR-cWQvLl1w.js} +1 -1
  263. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-Byxc7J88.js → classDiagram-v2-4MYWR3UA-7PG7YcdU.js} +1 -1
  264. package/editor-web/assets/{cynefin-EF2NZ3EQ-BSxkVbdf.js → cynefin-EF2NZ3EQ-CtcknEQ_.js} +1 -1
  265. package/editor-web/assets/{cynefinDiagram-WF24UDRP-IkCgARNs.js → cynefinDiagram-WF24UDRP-Ca7VIsjN.js} +1 -1
  266. package/editor-web/assets/{dagre-NK4GIZVX-9PgeH6nY.js → dagre-NK4GIZVX-BzcSLtsr.js} +1 -1
  267. package/editor-web/assets/deck-C7fN0Qtn.js +1 -0
  268. package/editor-web/assets/{diagram-CBK3MWTC-DRzeg3Ds.js → diagram-CBK3MWTC-DpRmTGlG.js} +1 -1
  269. package/editor-web/assets/{diagram-I5XIIV2D-B_zeKMN6.js → diagram-I5XIIV2D-BTrs_AX8.js} +1 -1
  270. package/editor-web/assets/{diagram-ODIL2UCW-FFm0O8SN.js → diagram-ODIL2UCW-CkIVjPqH.js} +1 -1
  271. package/editor-web/assets/{diagram-PFBEJUXE-DrtCT8OA.js → diagram-PFBEJUXE-BlFMbAG1.js} +1 -1
  272. package/editor-web/assets/{diagram-RJA3I4VV-DtxJ3V0q.js → diagram-RJA3I4VV-D3f8VJ-D.js} +1 -1
  273. package/editor-web/assets/{diagram-TYUNFSNR-DmxF_8H_.js → diagram-TYUNFSNR-Bbpngj6F.js} +1 -1
  274. package/editor-web/assets/{dist-bQKpw3Zz.js → dist-3iovns9K.js} +3 -3
  275. package/editor-web/assets/dist-BkHnbOEj.js +4 -0
  276. package/editor-web/assets/dist-BvOrNcK-.js +19 -0
  277. package/editor-web/assets/dist-CEIszq39.js +1 -0
  278. package/editor-web/assets/dist-CU5RbLNH.js +1 -0
  279. package/editor-web/assets/dist-CWZj8IAm.js +1 -0
  280. package/editor-web/assets/{dist-PBbWAsrV.js → dist-C_Mtrnif.js} +3 -3
  281. package/editor-web/assets/{dist-CEknsRDd.js → dist-CdqpwdCV.js} +4 -4
  282. package/editor-web/assets/{dist-CAb3W9_P.js → dist-CjT76RAw.js} +1 -1
  283. package/editor-web/assets/dist-CpzEn9T8.js +6 -0
  284. package/editor-web/assets/dist-CrFYWl5-.js +3 -0
  285. package/editor-web/assets/{dist-Dr3o4vee.js → dist-D4eBFGVL.js} +1 -1
  286. package/editor-web/assets/dist-DTcjb3cP.js +18 -0
  287. package/editor-web/assets/dist-D_WSM29I.js +17 -0
  288. package/editor-web/assets/{dist-C21CkR7Z.js → dist-Dp_9ISjP.js} +12 -12
  289. package/editor-web/assets/{dist-C56mWAec.js → dist-J-tPYKGS.js} +4 -4
  290. package/editor-web/assets/{docx-draw-9Q_fArBC.js → docx-draw-CoK1oqQD.js} +1 -1
  291. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-DSX1Aoty.js → ebnfDiagram-V4P3TTPT-BaKj-yL6.js} +1 -1
  292. package/editor-web/assets/{elk-QONTBCTQ-C7gy9q56.js → elk-QONTBCTQ-Cn2qv1_U.js} +1 -1
  293. package/editor-web/assets/{erDiagram-KYQIGQAA-CKx_HoY4.js → erDiagram-KYQIGQAA-Bd7AEIDo.js} +1 -1
  294. package/editor-web/assets/{esm-BZb5QMQf.js → esm-Cjv8ogpP.js} +1 -1
  295. package/editor-web/assets/{eventmodeling-K75KTNOO-DL4HvSrd.js → eventmodeling-K75KTNOO-Sfp7_461.js} +1 -1
  296. package/editor-web/assets/flowDiagram-IUGLLWBU-BlVUglzw.js +1 -0
  297. package/editor-web/assets/{ganttDiagram-R7GPNTJY-N-AP4slN.js → ganttDiagram-R7GPNTJY-CBqcGdHI.js} +1 -1
  298. package/editor-web/assets/{gitGraph-VSP46ZUC-BKRGJKWm.js → gitGraph-VSP46ZUC-WTokXKTW.js} +1 -1
  299. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-ClwL7w2_.js → gitGraphDiagram-PDYL7XHY-BIWZHD9q.js} +1 -1
  300. package/editor-web/assets/index-BQWZnyAQ.js +28 -0
  301. package/editor-web/assets/index-Dvh1t1om.css +2 -0
  302. package/editor-web/assets/{info-OHQRW6UA-DpcY8t23.js → info-OHQRW6UA-COC6G-_J.js} +1 -1
  303. package/editor-web/assets/{infoDiagram-MVDRKAX5-ChtmtWni.js → infoDiagram-MVDRKAX5-DpaqdKBD.js} +1 -1
  304. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-BZNTuG_F.js → ishikawaDiagram-HPEHV2GE-Dyn2MAy1.js} +1 -1
  305. package/editor-web/assets/{iso-ahTwmFwH.js → iso-DoC-ZoBr.js} +1 -1
  306. package/editor-web/assets/{journeyDiagram-BOSHW7O7-C3uVmZbL.js → journeyDiagram-BOSHW7O7-DeSVfmm7.js} +1 -1
  307. package/editor-web/assets/{kanban-definition-FNSA4HC5-puEhftGG.js → kanban-definition-FNSA4HC5-Bfg0lj7B.js} +1 -1
  308. package/editor-web/assets/{mermaid-parser.core-Bw8re-WE.js → mermaid-parser.core-CyhovuYE.js} +3 -3
  309. package/editor-web/assets/{mermaid.core-Cc2GIqBr.js → mermaid.core-Dx1fBVUG.js} +4 -4
  310. package/editor-web/assets/{mindmap-definition-6OY57UG3-C6MUl_S_.js → mindmap-definition-6OY57UG3-QEU2HF_m.js} +1 -1
  311. package/editor-web/assets/{packet-JDAUHWVQ-C75RnvC5.js → packet-JDAUHWVQ-ReJTa_hw.js} +1 -1
  312. package/editor-web/assets/{pegDiagram-ECIUJNBX-ChjmsdV4.js → pegDiagram-ECIUJNBX-Bo1jFrvb.js} +1 -1
  313. package/editor-web/assets/{pie-XZMESJXO-BaKxJQpj.js → pie-XZMESJXO-BrtYafNA.js} +1 -1
  314. package/editor-web/assets/{pieDiagram-GNMPY74T-CT2ez8pr.js → pieDiagram-GNMPY74T-Cj0zQqs_.js} +1 -1
  315. package/editor-web/assets/{props-form-D5oKHfpk.js → props-form-BpSXbrSF.js} +1 -1
  316. package/editor-web/assets/{quadrantDiagram-D57K4MC3-BJItlTfk.js → quadrantDiagram-D57K4MC3-D5npDAVn.js} +1 -1
  317. package/editor-web/assets/{radar-ABXABTNO-DnLzBlTo.js → radar-ABXABTNO-C8RDrRqi.js} +1 -1
  318. package/editor-web/assets/{railroad-I3PHUGI6-D5hj6Yv3.js → railroad-I3PHUGI6-ebDrmYTK.js} +1 -1
  319. package/editor-web/assets/{railroad-abnf-LNEFI6M7-DUZlZoPu.js → railroad-abnf-LNEFI6M7-BxKuqg6V.js} +1 -1
  320. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-CDyyDC6d.js → railroad-ebnf-DWYD2UWJ-DOclnfpr.js} +1 -1
  321. package/editor-web/assets/{railroad-peg-JR7BVNR7-CC3ImNnT.js → railroad-peg-JR7BVNR7-DN0A1fpq.js} +1 -1
  322. package/editor-web/assets/{railroadDiagram-Y72NRBL7-Bjw-8Se5.js → railroadDiagram-Y72NRBL7-B3PjoVWw.js} +1 -1
  323. package/editor-web/assets/{requirementDiagram-EQYSW5RA-CDFnuEIO.js → requirementDiagram-EQYSW5RA-DLdzkQk5.js} +1 -1
  324. package/editor-web/assets/{sankeyDiagram-SY24JHO5-CQPVLY1w.js → sankeyDiagram-SY24JHO5-Dip4Piv_.js} +1 -1
  325. package/editor-web/assets/schemas-CQ_UU8-Z.js +1 -0
  326. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-BQzuLmBX.js → sequenceDiagram-BLEHNHQU-QnPcoybL.js} +1 -1
  327. package/editor-web/assets/{session-s1I85rox.js → session-DMlLCFWg.js} +1 -1
  328. package/editor-web/assets/slides-7xWhREpt.js +1 -0
  329. package/editor-web/assets/snapshots-BLX4NTQC.js +1 -0
  330. package/editor-web/assets/{split-7CVjIkSU.js → split-tFGKk-x8.js} +1 -1
  331. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-DOuageUf.js → stateDiagram-v2-A6IESKWZ-D103CiMX.js} +1 -1
  332. package/editor-web/assets/{swimlanes-B3ENRKFQ-CXKkok7X.js → swimlanes-B3ENRKFQ-y4gCqEoa.js} +1 -1
  333. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DKzB_wSf.js +8 -0
  334. package/editor-web/assets/tabs-CuEawka3.js +1 -0
  335. package/editor-web/assets/{timeline-definition-JXYKGLGB-DgAjAeZp.js → timeline-definition-JXYKGLGB-BMp76v4V.js} +1 -1
  336. package/editor-web/assets/{treeView-D4JQ5SDB-C0Xvnhck.js → treeView-D4JQ5SDB-Q_GYyk0b.js} +1 -1
  337. package/editor-web/assets/{treemap-SAJKECNS-aXfKAeSX.js → treemap-SAJKECNS-B5lRWdQB.js} +1 -1
  338. package/editor-web/assets/{usecaseDiagram-WPOLBNNX-CvUlBa-L.js → usecaseDiagram-WPOLBNNX--QRllA-U.js} +1 -1
  339. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-qMJ1iCxs.js → vennDiagram-Q3Y3IDCW-CzkATPA3.js} +1 -1
  340. package/editor-web/assets/{video-DQrjo1TI.js → video-D0uTbHWx.js} +1 -1
  341. package/editor-web/assets/{wardley-7MLQ67FV-DEdnH0by.js → wardley-7MLQ67FV-BXzwcdJa.js} +1 -1
  342. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-Bt-B2hQ5.js → wardleyDiagram-IVAIDKWA-BQvC8Agx.js} +1 -1
  343. package/editor-web/assets/{words-0Ww2RyT4.js → words-CaUHhQHf.js} +1 -1
  344. package/editor-web/assets/workbook-CiCXkjmN.js +45 -0
  345. package/editor-web/assets/{xychartDiagram-4URNHDU4-DV4bSzTb.js → xychartDiagram-4URNHDU4-aY-lsD5o.js} +1 -1
  346. package/editor-web/index.html +4 -4
  347. package/package.json +2 -2
  348. package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +0 -24
  349. package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +0 -61
  350. package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +0 -51
  351. package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +0 -29
  352. package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +0 -13
  353. package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +0 -35
  354. package/dist/node_modules/@allyhub/browser/dist/html.d.ts +0 -19
  355. package/dist/node_modules/@allyhub/browser/dist/index.d.ts +0 -10
  356. package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +0 -35
  357. package/dist/node_modules/@allyhub/browser/dist/page.d.ts +0 -74
  358. package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +0 -18
  359. package/dist/node_modules/@allyhub/browser/dist/server.d.ts +0 -26
  360. package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +0 -91
  361. package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +0 -84
  362. package/dist/node_modules/@allyhub/build/dist/code.d.ts +0 -26
  363. package/dist/node_modules/@allyhub/build/dist/content.d.ts +0 -64
  364. package/dist/node_modules/@allyhub/build/dist/data.d.ts +0 -11
  365. package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +0 -44
  366. package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +0 -35
  367. package/dist/node_modules/@allyhub/build/dist/files.d.ts +0 -4
  368. package/dist/node_modules/@allyhub/build/dist/fonts.d.ts +0 -26
  369. package/dist/node_modules/@allyhub/build/dist/generated.d.ts +0 -29
  370. package/dist/node_modules/@allyhub/build/dist/imports.d.ts +0 -17
  371. package/dist/node_modules/@allyhub/build/dist/index.d.ts +0 -37
  372. package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +0 -119
  373. package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +0 -530
  374. package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +0 -9
  375. package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +0 -19
  376. package/dist/node_modules/@allyhub/build/dist/media.d.ts +0 -10
  377. package/dist/node_modules/@allyhub/build/dist/messages.d.ts +0 -60
  378. package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +0 -59
  379. package/dist/node_modules/@allyhub/build/dist/meta.d.ts +0 -24
  380. package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +0 -6
  381. package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +0 -16
  382. package/dist/node_modules/@allyhub/build/dist/places.d.ts +0 -23
  383. package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +0 -50
  384. package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +0 -138
  385. package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +0 -19
  386. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +0 -133
  387. package/dist/node_modules/@allyhub/build/dist/references.d.ts +0 -6
  388. package/dist/node_modules/@allyhub/build/dist/scan.d.ts +0 -45
  389. package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +0 -80
  390. package/dist/node_modules/@allyhub/build/dist/takes.d.ts +0 -9
  391. package/dist/node_modules/@allyhub/build/dist/types.d.ts +0 -11
  392. package/dist/node_modules/@allyhub/build/dist/uses.d.ts +0 -44
  393. package/dist/node_modules/@allyhub/build/dist/version.d.ts +0 -56
  394. package/dist/node_modules/@allyhub/build/dist/vite.d.ts +0 -115
  395. package/dist/node_modules/@allyhub/build/dist/work.d.ts +0 -38
  396. package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +0 -29
  397. package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +0 -91
  398. package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +0 -12
  399. package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +0 -64
  400. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +0 -40
  401. package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +0 -76
  402. package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +0 -14
  403. package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +0 -24
  404. package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +0 -43
  405. package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +0 -19
  406. package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +0 -18
  407. package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +0 -22
  408. package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +0 -16
  409. package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +0 -11
  410. package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +0 -42
  411. package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +0 -2
  412. package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +0 -48
  413. package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +0 -20
  414. package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +0 -20
  415. package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +0 -58
  416. package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +0 -22
  417. package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +0 -3
  418. package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +0 -139
  419. package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +0 -41
  420. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +0 -195
  421. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +0 -8
  422. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +0 -16
  423. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +0 -4
  424. package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +0 -25
  425. package/dist/node_modules/@allyhub/media/dist/audio.d.ts +0 -16
  426. package/dist/node_modules/@allyhub/media/dist/beats.d.ts +0 -100
  427. package/dist/node_modules/@allyhub/media/dist/cache.d.ts +0 -26
  428. package/dist/node_modules/@allyhub/media/dist/errors.d.ts +0 -34
  429. package/dist/node_modules/@allyhub/media/dist/fetch.d.ts +0 -11
  430. package/dist/node_modules/@allyhub/media/dist/grid.d.ts +0 -101
  431. package/dist/node_modules/@allyhub/media/dist/index.d.ts +0 -21
  432. package/dist/node_modules/@allyhub/media/dist/picture.d.ts +0 -130
  433. package/dist/node_modules/@allyhub/media/dist/probe.d.ts +0 -52
  434. package/dist/node_modules/@allyhub/media/dist/progress.d.ts +0 -16
  435. package/dist/node_modules/@allyhub/media/dist/run.d.ts +0 -25
  436. package/dist/node_modules/@allyhub/media/dist/sheet.d.ts +0 -67
  437. package/dist/node_modules/@allyhub/media/dist/shots.d.ts +0 -110
  438. package/dist/node_modules/@allyhub/media/dist/sync.d.ts +0 -156
  439. package/dist/node_modules/@allyhub/media/dist/tools.d.ts +0 -25
  440. package/dist/node_modules/@allyhub/media/dist/video.d.ts +0 -35
  441. package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +0 -42
  442. package/dist/node_modules/@allyhub/media/dist/vision/probe.d.ts +0 -39
  443. package/dist/node_modules/@allyhub/media/dist/vision/types.d.ts +0 -2
  444. package/dist/node_modules/@allyhub/media/dist/voice-shape.d.ts +0 -51
  445. package/dist/node_modules/@allyhub/model/dist/authoring.d.ts +0 -48
  446. package/dist/node_modules/@allyhub/model/dist/bevel-attributes.d.ts +0 -19
  447. package/dist/node_modules/@allyhub/model/dist/bevel-collapse.d.ts +0 -12
  448. package/dist/node_modules/@allyhub/model/dist/bevel-corner-plan.d.ts +0 -24
  449. package/dist/node_modules/@allyhub/model/dist/bevel-deform.d.ts +0 -5
  450. package/dist/node_modules/@allyhub/model/dist/bevel-fans.d.ts +0 -12
  451. package/dist/node_modules/@allyhub/model/dist/bevel-junction.d.ts +0 -16
  452. package/dist/node_modules/@allyhub/model/dist/bevel-marks.d.ts +0 -14
  453. package/dist/node_modules/@allyhub/model/dist/bevel-metric.d.ts +0 -4
  454. package/dist/node_modules/@allyhub/model/dist/bevel-mixed.d.ts +0 -12
  455. package/dist/node_modules/@allyhub/model/dist/bevel-offsets.d.ts +0 -22
  456. package/dist/node_modules/@allyhub/model/dist/bevel-patch.d.ts +0 -45
  457. package/dist/node_modules/@allyhub/model/dist/bevel-profile.d.ts +0 -13
  458. package/dist/node_modules/@allyhub/model/dist/bevel-projection.d.ts +0 -10
  459. package/dist/node_modules/@allyhub/model/dist/bevel-reflex.d.ts +0 -10
  460. package/dist/node_modules/@allyhub/model/dist/bevel-square-out.d.ts +0 -18
  461. package/dist/node_modules/@allyhub/model/dist/bevel-strips.d.ts +0 -8
  462. package/dist/node_modules/@allyhub/model/dist/bmesh-cycles.d.ts +0 -52
  463. package/dist/node_modules/@allyhub/model/dist/build-cache.d.ts +0 -42
  464. package/dist/node_modules/@allyhub/model/dist/build-job.d.ts +0 -34
  465. package/dist/node_modules/@allyhub/model/dist/build-worker.d.ts +0 -2
  466. package/dist/node_modules/@allyhub/model/dist/build.d.ts +0 -67
  467. package/dist/node_modules/@allyhub/model/dist/cancel.d.ts +0 -8
  468. package/dist/node_modules/@allyhub/model/dist/curve-math.d.ts +0 -21
  469. package/dist/node_modules/@allyhub/model/dist/curve-mesh.d.ts +0 -30
  470. package/dist/node_modules/@allyhub/model/dist/evaluation-guard.d.ts +0 -11
  471. package/dist/node_modules/@allyhub/model/dist/export.d.ts +0 -12
  472. package/dist/node_modules/@allyhub/model/dist/mesh-queries.d.ts +0 -34
  473. package/dist/node_modules/@allyhub/model/dist/names.d.ts +0 -9
  474. package/dist/node_modules/@allyhub/model/dist/png.d.ts +0 -12
  475. package/dist/node_modules/@allyhub/model/dist/polygon-triangulation.d.ts +0 -4
  476. package/dist/node_modules/@allyhub/model/dist/program-location.d.ts +0 -7
  477. package/dist/node_modules/@allyhub/model/dist/report.d.ts +0 -70
  478. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +0 -21
  479. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +0 -4
  480. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +0 -17
  481. package/dist/node_modules/@allyhub/piece/dist/page/runtimes.d.ts +0 -9
  482. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +0 -661
  483. package/dist/node_modules/@allyhub/protocol/dist/account.js +0 -2
  484. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +0 -30
  485. package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +0 -200
  486. package/dist/node_modules/@allyhub/protocol/dist/blobs.d.ts +0 -44
  487. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +0 -68
  488. package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.d.ts +0 -77
  489. package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.js +0 -2
  490. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +0 -577
  491. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +0 -674
  492. package/dist/node_modules/@allyhub/protocol/dist/errors.d.ts +0 -7
  493. package/dist/node_modules/@allyhub/protocol/dist/events.d.ts +0 -803
  494. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +0 -103
  495. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +0 -247
  496. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +0 -8
  497. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +0 -38
  498. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +0 -91
  499. package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.d.ts +0 -83
  500. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +0 -143
  501. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +0 -274
  502. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +0 -211
  503. package/dist/node_modules/@allyhub/protocol/dist/open.d.ts +0 -13
  504. package/dist/node_modules/@allyhub/protocol/dist/paywall.d.ts +0 -134
  505. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +0 -59
  506. package/dist/node_modules/@allyhub/protocol/dist/peer.js +0 -2
  507. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +0 -21
  508. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +0 -125
  509. package/dist/node_modules/@allyhub/protocol/dist/purposes.d.ts +0 -47
  510. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +0 -191
  511. package/dist/node_modules/@allyhub/protocol/dist/routes.d.ts +0 -14
  512. package/dist/node_modules/@allyhub/protocol/dist/routes.js +0 -2
  513. package/dist/node_modules/@allyhub/protocol/dist/runtimes.d.ts +0 -96
  514. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +0 -35
  515. package/dist/node_modules/@allyhub/protocol/dist/shape.js +0 -2
  516. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +0 -156
  517. package/dist/node_modules/@allyhub/protocol/dist/shares.js +0 -2
  518. package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.d.ts +0 -34
  519. package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.js +0 -2
  520. package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +0 -298
  521. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +0 -496
  522. package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +0 -14
  523. package/dist/node_modules/@allyhub/protocol/dist/studio-server.d.ts +0 -264
  524. package/dist/node_modules/@allyhub/protocol/dist/studio-server.js +0 -2
  525. package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.d.ts +0 -18
  526. package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.js +0 -2
  527. package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.d.ts +0 -97
  528. package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.js +0 -2
  529. package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +0 -203
  530. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +0 -578
  531. package/dist/node_modules/@allyhub/protocol/dist/turns.d.ts +0 -71
  532. package/dist/node_modules/@allyhub/protocol/dist/turns.js +0 -2
  533. package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +0 -10
  534. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +0 -14
  535. package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +0 -38
  536. package/dist/node_modules/@allyhub/runtimes/dist/errors.d.ts +0 -20
  537. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +0 -15
  538. package/dist/node_modules/@allyhub/runtimes/dist/home.d.ts +0 -2
  539. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +0 -12
  540. package/dist/node_modules/@allyhub/runtimes/dist/lock.d.ts +0 -14
  541. package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +0 -3
  542. package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +0 -12
  543. package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +0 -101
  544. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +0 -73
  545. package/dist/node_modules/@allyhub/runtimes/dist/unpack.d.ts +0 -14
  546. package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +0 -20
  547. package/dist/node_modules/@allyhub/scenery-host/dist/bake/digest.d.ts +0 -14
  548. package/dist/node_modules/@allyhub/scenery-host/dist/bake/envmap.d.ts +0 -21
  549. package/dist/node_modules/@allyhub/scenery-host/dist/bake/run.d.ts +0 -63
  550. package/dist/node_modules/@allyhub/scenery-host/dist/budget.d.ts +0 -40
  551. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +0 -92
  552. package/dist/node_modules/@allyhub/scenery-host/dist/commands.d.ts +0 -54
  553. package/dist/node_modules/@allyhub/scenery-host/dist/draw2d.d.ts +0 -47
  554. package/dist/node_modules/@allyhub/scenery-host/dist/glass.d.ts +0 -39
  555. package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +0 -25
  556. package/dist/node_modules/@allyhub/scenery-host/dist/inventory.d.ts +0 -18
  557. package/dist/node_modules/@allyhub/scenery-host/dist/layer/fidelity.d.ts +0 -70
  558. package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +0 -7
  559. package/dist/node_modules/@allyhub/scenery-host/dist/layer/moire.d.ts +0 -6
  560. package/dist/node_modules/@allyhub/scenery-host/dist/measure/contacts.d.ts +0 -45
  561. package/dist/node_modules/@allyhub/scenery-host/dist/measure/health.d.ts +0 -10
  562. package/dist/node_modules/@allyhub/scenery-host/dist/measure/index.d.ts +0 -110
  563. package/dist/node_modules/@allyhub/scenery-host/dist/measure/relations.d.ts +0 -17
  564. package/dist/node_modules/@allyhub/scenery-host/dist/measure/solid.d.ts +0 -32
  565. package/dist/node_modules/@allyhub/scenery-host/dist/measure/support.d.ts +0 -11
  566. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +0 -32
  567. package/dist/node_modules/@allyhub/scenery-host/dist/queries/inventory.d.ts +0 -5
  568. package/dist/node_modules/@allyhub/scenery-host/dist/queries/map.d.ts +0 -5
  569. package/dist/node_modules/@allyhub/scenery-host/dist/queries/view.d.ts +0 -10
  570. package/dist/node_modules/@allyhub/scenery-host/dist/scene.d.ts +0 -35
  571. package/dist/node_modules/@allyhub/scenery-host/dist/screen-dom.d.ts +0 -24
  572. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +0 -42
  573. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +0 -6
  574. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +0 -70
  575. package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +0 -49
  576. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +0 -73
  577. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +0 -18
  578. package/dist/node_modules/@allyhub/scenery-host/dist/steady.d.ts +0 -4
  579. package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +0 -134
  580. package/editor-web/assets/article-BHTjq0_Y.js +0 -3
  581. package/editor-web/assets/channel-DCDCx5Es.js +0 -1
  582. package/editor-web/assets/deck-tTzKONci.js +0 -1
  583. package/editor-web/assets/dist-BEpzsYn_.js +0 -6
  584. package/editor-web/assets/dist-BUD4ywMB.js +0 -18
  585. package/editor-web/assets/dist-CbZAznNW.js +0 -19
  586. package/editor-web/assets/dist-DDzjbKIg.js +0 -4
  587. package/editor-web/assets/dist-DaEbElXI.js +0 -3
  588. package/editor-web/assets/dist-JLyDtl9X.js +0 -1
  589. package/editor-web/assets/dist-ZZlQa66J.js +0 -1
  590. package/editor-web/assets/dist-d4dayaWE.js +0 -17
  591. package/editor-web/assets/flowDiagram-IUGLLWBU-BUnRtJ8q.js +0 -1
  592. package/editor-web/assets/index-BedbINE5.css +0 -2
  593. package/editor-web/assets/index-DG2nHq4D.js +0 -28
  594. package/editor-web/assets/schemas-moE_A7Nj.js +0 -1
  595. package/editor-web/assets/slides-oQ_C0SVJ.js +0 -1
  596. package/editor-web/assets/snapshots-BPJKywuN.js +0 -1
  597. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-C3Car2M0.js +0 -8
  598. package/editor-web/assets/tabs-CiF1N-pL.js +0 -1
  599. package/editor-web/assets/workbook-FSSUiIp9.js +0 -45
  600. /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.17.1",
3
+ "version": "0.19.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}}}
@@ -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.17.1",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/text-extension",
3
- "version": "0.17.1",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./package.json": "./package.json"
@@ -75,6 +75,7 @@
75
75
  },
76
76
  "icon": "file-text",
77
77
  "color": "kind-slate",
78
+ "share": true,
78
79
  "module": "@allyhub/text-editor",
79
80
  "markup": "./markup",
80
81
  "place": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/video-core",
3
- "version": "0.17.1",
3
+ "version": "0.19.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/video-extension",
3
- "version": "0.17.1",
3
+ "version": "0.19.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": [
@@ -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,11 +1,15 @@
1
1
  {
2
2
  "name": "@allyhub/video-measure",
3
- "version": "0.17.1",
3
+ "version": "0.19.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
- import{PIECE_BRAND as f}from"@allyhub/piece";import{isPieceDefinition as a}from"@allyhub/video-core";import{shapeProblem as u,voiceProblem as m}from"@allyhub/audio";const d=e=>{throw new Error(e)},p="A video's module exports one video: export default video({ format, parts: (ctx) => [ part(…), … ] }). A second video (a cut-down, another format) is an item of its own, which imports what it shares.";export function isItemPiece(e){return a(e)}export function enginePiece(e){return e}const l=["music","post","script"];export const videoFor=e=>t=>{if((typeof t=="function"||typeof t.parts!="function")&&d(p),t.mic!==void 0){const i=m(t.mic);if(i!==void 0)throw new Error(`video: ${i}`)}const r=t.music;if(r!==void 0&&typeof r!="string"&&!("path"in r)){const i=Object.fromEntries(["filter","eq","compress"].filter(o=>r[o]!==void 0).map(o=>[o,r[o]])),n=u(i,!0);if(n!==void 0)throw new Error(`video: music: ${n}`)}const c=t.written?.paths,s={};for(const i of l){const n=t[i];if(n===void 0)continue;const o=c?.[i];s[i]=[n,o?.[0]===n?o[1]:e.base]}return{...t,[f]:!0,kind:"video",written:{file:e.file,...Object.keys(s).length>0?{paths:s}:{}}}},definePiece=()=>d("definePiece is gone: a video's module exports one video, export default video({ format, parts: (ctx) => [ … ] }), with what definePiece and its output had (id, format, matrix, music, mix…); a deck's module exports default presentation((prs) => { … }) from @allyhub/sdk/slides. Each other output is an item of its own, which imports what it shares."),paged=()=>d('paged() is gone: a deck is a module of its own, export default presentation({ slides: "./deck.yaml", script: "./deck.{locale}.yaml" }, (prs) => { … }) from @allyhub/sdk/slides, its slides in the file it names.');export function defineConfig(e){return e}
2
+ import{PIECE_BRAND as c}from"@allyhub/piece";import{isPieceDefinition as a}from"@allyhub/video-core";import{shapeProblem as m,voiceProblem as u}from"@allyhub/audio";export{defineConfig}from"./config.js";const d=e=>{throw new Error(e)},p="A video's module exports one video: export default video({ format, parts: (ctx) => [ part(…), … ] }). A second video (a cut-down, another format) is an item of its own, which imports what it shares.";export function isItemPiece(e){return a(e)}export function enginePiece(e){return e}const l=["music","post","script"];export const videoFor=e=>t=>{if((typeof t=="function"||typeof t.parts!="function")&&d(p),t.mic!==void 0){const i=u(t.mic);if(i!==void 0)throw new Error(`video: ${i}`)}const r=t.music;if(r!==void 0&&typeof r!="string"&&!("path"in r)){const i=Object.fromEntries(["filter","eq","compress"].filter(o=>r[o]!==void 0).map(o=>[o,r[o]])),n=m(i,!0);if(n!==void 0)throw new Error(`video: music: ${n}`)}const f=t.written?.paths,s={};for(const i of l){const n=t[i];if(n===void 0)continue;const o=f?.[i];s[i]=[n,o?.[0]===n?o[1]:e.base]}return{...t,[c]:!0,kind:"video",written:{file:e.file,...Object.keys(s).length>0?{paths:s}:{}}}},definePiece=()=>d("definePiece is gone: a video's module exports one video, export default video({ format, parts: (ctx) => [ … ] }), with what definePiece and its output had (id, format, matrix, music, mix…); a deck's module exports default presentation((prs) => { … }) from @allyhub/sdk/slides. Each other output is an item of its own, which imports what it shares."),paged=()=>d('paged() is gone: a deck is a module of its own, export default presentation({ slides: "./deck.yaml", script: "./deck.{locale}.yaml" }, (prs) => { … }) from @allyhub/sdk/slides, its slides in the file it names.');
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/video-sdk",
3
- "version": "0.17.1",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -11,6 +11,10 @@
11
11
  "types": "./dist/scenery.d.ts",
12
12
  "default": "./dist/scenery.js"
13
13
  },
14
+ "./config": {
15
+ "types": "./dist/config.d.ts",
16
+ "default": "./dist/config.js"
17
+ },
14
18
  "./package.json": "./package.json"
15
19
  },
16
20
  "sideEffects": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/website",
3
- "version": "0.17.1",
3
+ "version": "0.19.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{readFile as i}from"node:fs/promises";import{join as p}from"node:path";import{problem as a}from"@allyhub/diagnostics";import"@allyhub/build";import{parseWebsite as f}from"@allyhub/formats";export async function readWebsite(r,o){const e=o.entry,t=f(await i(p(r,e),"utf8"));return{problems:t.ok?[]:t.problems.map(m=>a("AK-M013",`${e}: ${m}.`,{where:{file:e}}))}}const n={read:(r,o)=>readWebsite(o.root,r)};export default n;
2
+ import{readFile as m}from"node:fs/promises";import{join as p}from"node:path";import{problem as a}from"@allyhub/diagnostics";import{parseWebsite as n}from"@allyhub/formats";export async function readWebsite(r,e){const o=e.entry,t=n(await m(p(r,o),"utf8"));return{problems:t.ok?[]:t.problems.map(i=>a("AK-M013",`${o}: ${i}.`,{where:{file:o}}))}}const s={read:(r,e)=>readWebsite(e.root,r)};export default s;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/website-extension",
3
- "version": "0.17.1",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./tools": {
@@ -166,7 +166,7 @@
166
166
  "name": "website/settings",
167
167
  "source": "machine",
168
168
  "does": {
169
- "person": "Taking a website offline and its settings are the person's, in its view: the agent never changes them (docs/design/hosted-websites.md)."
169
+ "person": "Taking a website offline and its settings are the person's, in its view: the agent never changes them."
170
170
  },
171
171
  "module": "./dist/project-tools.js"
172
172
  },
@@ -174,7 +174,7 @@
174
174
  "name": "website/unpublish",
175
175
  "source": "machine",
176
176
  "does": {
177
- "person": "Taking a website offline and its settings are the person's, in its view: the agent never changes them (docs/design/hosted-websites.md)."
177
+ "person": "Taking a website offline and its settings are the person's, in its view: the agent never changes them."
178
178
  },
179
179
  "module": "./dist/project-tools.js"
180
180
  },
@@ -182,7 +182,7 @@
182
182
  "name": "website/remove",
183
183
  "source": "machine",
184
184
  "does": {
185
- "person": "Taking a website offline and its settings are the person's, in its view: the agent never changes them (docs/design/hosted-websites.md)."
185
+ "person": "Taking a website offline and its settings are the person's, in its view: the agent never changes them."
186
186
  },
187
187
  "module": "./dist/project-tools.js"
188
188
  }
@@ -1,5 +1,5 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{copyFile as M,mkdir as B,readFile as x,writeFile as j}from"node:fs/promises";import{basename as E,dirname as L,extname as O,join as f,posix as N}from"node:path";import"@allyhub/build";import{problem as T}from"@allyhub/diagnostics";import{checkXPost as A,mediaKind as D,overBytes as G,readPost as _,requestsOf as I}from"@allyhub/x-model";import w from"@allyhub/image-extension/build";import{X_CONFIG as J,premiumOf as q}from"./config.js";import{MADE_TYPES as K,measures as Y,projectPath as z}from"./media.js";import{moduleText as H,writeModule as Q}from"./stage-module.js";export async function readXPost(t,e){const s=n=>({where:{file:t.entry,...n===void 0?{}:{line:n}}}),i=_(await x(f(e.root,t.entry),"utf8"));if(!i.value)return{problems:i.errors.map(n=>T("allyhub.x/format",`${t.entry}: ${n.path.length>0?`${n.path.join(".")}: `:""}${n.message}`,s(i.line(n.path))))};const u=Y(i.value.posts.flatMap(n=>(n.media??[]).map(m=>m.file)),K,t,e),{findings:o}=A(i.value,{premium:q(e.config),media:u.media}),l=o.map(n=>T(`allyhub.x/${n.rule}`,`${t.entry}: ${n.message}`,s(i.line(n.path)))),h=await Q(e.root,t,H(t,i.value,new Set(u.uses.map(n=>n.of)),u.media)),r=await w.read?.({...t,entry:h,dir:N.dirname(h)},e);return l.push(...r?.problems??[]),{problems:l,...r?.piece===void 0?{}:{piece:r.piece},...r?.stage===void 0?{}:{stage:r.stage},uses:u.uses.map(n=>{const m=R(i,n.of);return m===void 0?n:{...n,line:m}})}}function R(t,e){const s=t.value?.posts??[];for(const[i,u]of s.entries())for(const[o,l]of(u.media??[]).entries())if(l.file===e)return t.line(["posts",i,"media",o,"file"])}async function U(t,e){const s=[],i=e.prepared.problems.find(o=>o.level==="error"&&o.where?.file===t.entry),u=_(await x(f(e.root,t.entry),"utf8"));for(const o of e.types){if(i||!u.value){s.push({type:o,failure:{code:"check-failed",message:i?.message??`${t.entry} cannot be read.`,hint:"allyhub check lists what is wrong; fix it, then render again."}});continue}const l=u.value,h=e.out(o),r=f(L(h),E(h,O(h)));if(await B(r,{recursive:!0}),o==="txt"){const c=[];let g;for(const[y,P]of l.posts.entries()){const a=f(r,`${String(y+1)}.txt`);await j(a,`${P.text}
2
+ import{copyFile as M,mkdir as B,readFile as x,writeFile as j}from"node:fs/promises";import{basename as E,dirname as L,extname as O,join as f,posix as N}from"node:path";import{problem as T}from"@allyhub/diagnostics";import{checkXPost as A,mediaKind as D,overBytes as G,readPost as _,requestsOf as I}from"@allyhub/x-model";import w from"@allyhub/image-extension/build";import{X_CONFIG as J,premiumOf as q}from"./config.js";import{MADE_TYPES as K,measures as Y,projectPath as z}from"./media.js";import{moduleText as H,writeModule as Q}from"./stage-module.js";export async function readXPost(t,e){const s=n=>({where:{file:t.entry,...n===void 0?{}:{line:n}}}),i=_(await x(f(e.root,t.entry),"utf8"));if(!i.value)return{problems:i.errors.map(n=>T("allyhub.x/format",`${t.entry}: ${n.path.length>0?`${n.path.join(".")}: `:""}${n.message}`,s(i.line(n.path))))};const u=Y(i.value.posts.flatMap(n=>(n.media??[]).map(m=>m.file)),K,t,e),{findings:o}=A(i.value,{premium:q(e.config),media:u.media}),l=o.map(n=>T(`allyhub.x/${n.rule}`,`${t.entry}: ${n.message}`,s(i.line(n.path)))),h=await Q(e.root,t,H(t,i.value,new Set(u.uses.map(n=>n.of)),u.media)),r=await w.read?.({...t,entry:h,dir:N.dirname(h)},e);return l.push(...r?.problems??[]),{problems:l,...r?.piece===void 0?{}:{piece:r.piece},...r?.stage===void 0?{}:{stage:r.stage},uses:u.uses.map(n=>{const m=R(i,n.of);return m===void 0?n:{...n,line:m}})}}function R(t,e){const s=t.value?.posts??[];for(const[i,u]of s.entries())for(const[o,l]of(u.media??[]).entries())if(l.file===e)return t.line(["posts",i,"media",o,"file"])}async function U(t,e){const s=[],i=e.prepared.problems.find(o=>o.level==="error"&&o.where?.file===t.entry),u=_(await x(f(e.root,t.entry),"utf8"));for(const o of e.types){if(i||!u.value){s.push({type:o,failure:{code:"check-failed",message:i?.message??`${t.entry} cannot be read.`,hint:"allyhub check lists what is wrong; fix it, then render again."}});continue}const l=u.value,h=e.out(o),r=f(L(h),E(h,O(h)));if(await B(r,{recursive:!0}),o==="txt"){const c=[];let g;for(const[y,P]of l.posts.entries()){const a=f(r,`${String(y+1)}.txt`);await j(a,`${P.text}
3
3
  `),c.push(a);for(const[$,d]of(P.media??[]).entries()){const p=e.made(d.file)??C(e.root,t,d.file);if(p===void 0){g=`${d.file}, a medium of post ${String(y+1)}, could not be made.`;break}const b=`${String(y+1)}-${String($+1)}`,S=f(r,`${b}${O(p).toLowerCase()}`);if(await M(p,S),c.push(S),d.alt!==void 0&&d.alt.trim()!==""){const X=f(r,`${b}.alt.txt`);await j(X,`${d.alt}
4
4
  `),c.push(X)}}if(g!==void 0)break}s.push(g===void 0?{type:o,files:c}:{type:o,failure:{code:"media",message:g}});continue}const n=q(e.prepared.config),m=[],k=[];let v;for(const[c,g]of I(l).entries()){const y=[];for(const[P,a]of(l.posts[c]?.media??[]).entries()){const $=e.made(a.file)??C(e.root,t,a.file);if($===void 0){v=`${a.file}, a medium of post ${String(c+1)}, could not be made.`;break}const d=O($).toLowerCase(),p=`${String(c+1)}-${String(P+1)}${d}`;await M($,f(r,p)),m.push(f(r,p));const b=D(d.slice(1)),S=(await x($)).length;v??=b===void 0?`${a.file} was made as ${d}, which X takes as no medium.`:G(a.file,S,b,n),y.push({file:p,...a.alt===void 0?{}:{alt:a.alt}})}k.push({request:g,media:y})}if(v!==void 0){s.push({type:o,failure:{code:"media",message:v}});continue}const F=f(r,"posts.json");await j(F,`${JSON.stringify({about:"POST /2/tweets's request for each post, in order. Publishing uploads each medium (its alt text by POST /2/media/metadata), names its id in media.media_ids, and makes each post after the first a reply to the one before (reply.in_reply_to_tweet_id).",posts:k},null,2)}
5
5
  `),s.push({type:o,files:[F,...m]})}return s}function C(t,e,s){const i=z(e,s);return i===void 0?void 0:f(t,i)}const V={config:J,read:readXPost,onStage:!0,...w.checks===void 0?{}:{checks:w.checks},checkPiece:t=>w.checkPiece?.(t)??Promise.resolve({problems:[],facts:[]}),render:(t,e)=>e.types.every(s=>s==="png")?w.render?.(t,e)??Promise.resolve([]):U(t,e),unreadable:t=>{const e=_(t);return e.value||e.errors.every(s=>s.path.length>0)?[]:e.errors.map(s=>s.message)}};export default V;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/x-extension",
3
- "version": "0.17.1",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
@@ -95,6 +95,9 @@
95
95
  },
96
96
  "turnInto": false,
97
97
  "build": "./dist/build.js",
98
+ "config": [
99
+ "x"
100
+ ],
98
101
  "editor": "allyhub.x.post-editor",
99
102
  "shown": {
100
103
  "line": {
@@ -187,7 +190,10 @@
187
190
  "entry": "{{name}}.md"
188
191
  },
189
192
  "turnInto": false,
190
- "build": "./dist/article-kind.js"
193
+ "build": "./dist/article-kind.js",
194
+ "config": [
195
+ "x"
196
+ ]
191
197
  }
192
198
  ],
193
199
  "editors": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/x-model",
3
- "version": "0.17.1",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/x-view",
3
- "version": "0.17.1",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {