allyhub 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1569) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/NOTICE +122 -42
  3. package/client.d.ts +1 -1
  4. package/dist/command.js +1 -1
  5. package/dist/commands/add.js +4 -4
  6. package/dist/commands/check.js +1 -1
  7. package/dist/commands/cloud-tools.js +13 -7
  8. package/dist/commands/cloud.js +1 -1
  9. package/dist/commands/contributed.js +2 -0
  10. package/dist/commands/dev.js +2 -2
  11. package/dist/commands/doctor.js +4 -4
  12. package/dist/commands/extensions.js +3 -0
  13. package/dist/commands/frames/common.js +1 -1
  14. package/dist/commands/frames/compare.js +1 -1
  15. package/dist/commands/frames/cuts.js +1 -1
  16. package/dist/commands/frames/doc.js +1 -1
  17. package/dist/commands/frames/overlay.js +2 -0
  18. package/dist/commands/frames/piece.js +1 -1
  19. package/dist/commands/frames/sheet.js +1 -1
  20. package/dist/commands/frames.js +9 -9
  21. package/dist/commands/index.js +1 -1
  22. package/dist/commands/inspect/combos.js +2 -2
  23. package/dist/commands/inspect/common.js +2 -2
  24. package/dist/commands/inspect/facts.js +3 -3
  25. package/dist/commands/inspect/index.js +1 -1
  26. package/dist/commands/inspect/layout.js +1 -1
  27. package/dist/commands/inspect/views.js +2 -0
  28. package/dist/commands/mail.js +9 -0
  29. package/dist/commands/render.js +2 -2
  30. package/dist/fields.js +1 -1
  31. package/dist/help.js +4 -4
  32. package/dist/main.js +4 -4
  33. package/dist/media.js +1 -1
  34. package/dist/node_modules/@allyhub/3d-extension/LICENSE +241 -0
  35. package/dist/node_modules/@allyhub/3d-extension/dist/build-plugins.js +2 -0
  36. package/dist/node_modules/@allyhub/3d-extension/dist/build.js +2 -0
  37. package/dist/node_modules/@allyhub/3d-extension/dist/cli/index.js +2 -0
  38. package/dist/node_modules/@allyhub/3d-extension/dist/cli/lookup.js +2 -0
  39. package/dist/node_modules/@allyhub/3d-extension/dist/cli/model.js +3 -0
  40. package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery-input.js +2 -0
  41. package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery.js +7 -0
  42. package/dist/node_modules/@allyhub/3d-extension/dist/project-tools.js +2 -0
  43. package/dist/node_modules/@allyhub/3d-extension/dist/read-view.js +2 -0
  44. package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +2 -0
  45. package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +2 -0
  46. package/dist/node_modules/@allyhub/3d-extension/dist/title.js +2 -0
  47. package/dist/node_modules/@allyhub/3d-extension/dist/tools.js +2 -0
  48. package/dist/node_modules/@allyhub/3d-extension/dist/tree.js +2 -0
  49. package/dist/node_modules/@allyhub/3d-extension/dist/workspace.js +2 -0
  50. package/dist/node_modules/@allyhub/3d-extension/package.json +295 -0
  51. package/dist/node_modules/@allyhub/audio/dist/levels.js +1 -1
  52. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +1 -1
  53. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  54. package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +24 -0
  55. package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +61 -0
  56. package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +51 -0
  57. package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +13 -0
  58. package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +35 -0
  59. package/dist/node_modules/@allyhub/browser/dist/html.d.ts +19 -0
  60. package/dist/node_modules/@allyhub/browser/dist/index.d.ts +10 -0
  61. package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +35 -0
  62. package/dist/node_modules/@allyhub/browser/dist/page.d.ts +74 -0
  63. package/dist/node_modules/@allyhub/browser/dist/page.js +1 -1
  64. package/dist/node_modules/@allyhub/browser/dist/server.d.ts +26 -0
  65. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  66. package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +91 -0
  67. package/dist/node_modules/@allyhub/build/dist/build-plugins.js +2 -0
  68. package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +84 -0
  69. package/dist/node_modules/@allyhub/build/dist/cli-command.js +2 -0
  70. package/dist/node_modules/@allyhub/build/dist/content.d.ts +12 -24
  71. package/dist/node_modules/@allyhub/build/dist/content.js +1 -2
  72. package/dist/node_modules/@allyhub/build/dist/data.d.ts +2 -4
  73. package/dist/node_modules/@allyhub/build/dist/data.js +2 -2
  74. package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +44 -0
  75. package/dist/node_modules/@allyhub/build/dist/evaluate.js +2 -0
  76. package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +35 -0
  77. package/dist/node_modules/@allyhub/build/dist/file-check.js +2 -0
  78. package/dist/node_modules/@allyhub/build/dist/files.js +1 -1
  79. package/dist/node_modules/@allyhub/build/dist/generated.d.ts +29 -0
  80. package/dist/node_modules/@allyhub/build/dist/generated.js +2 -0
  81. package/dist/node_modules/@allyhub/build/dist/index.d.ts +23 -9
  82. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  83. package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +119 -0
  84. package/dist/node_modules/@allyhub/build/dist/inspect-view.js +2 -0
  85. package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +507 -0
  86. package/dist/node_modules/@allyhub/build/dist/kind-build.js +2 -0
  87. package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +2 -1
  88. package/dist/node_modules/@allyhub/build/dist/matrix.js +1 -1
  89. package/dist/node_modules/@allyhub/build/dist/media.d.ts +1 -1
  90. package/dist/node_modules/@allyhub/build/dist/media.js +1 -1
  91. package/dist/node_modules/@allyhub/build/dist/messages.d.ts +27 -15
  92. package/dist/node_modules/@allyhub/build/dist/messages.js +2 -2
  93. package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +16 -19
  94. package/dist/node_modules/@allyhub/build/dist/meta-worker.js +2 -4
  95. package/dist/node_modules/@allyhub/build/dist/meta.d.ts +1 -1
  96. package/dist/node_modules/@allyhub/build/dist/meta.js +1 -1
  97. package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +1 -1
  98. package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +1 -1
  99. package/dist/node_modules/@allyhub/build/dist/move-refs.js +1 -1
  100. package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +16 -8
  101. package/dist/node_modules/@allyhub/build/dist/plugin.js +8 -9
  102. package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +58 -35
  103. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  104. package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +19 -0
  105. package/dist/node_modules/@allyhub/build/dist/project-root.js +2 -0
  106. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +116 -0
  107. package/dist/node_modules/@allyhub/build/dist/project-tool.js +2 -0
  108. package/dist/node_modules/@allyhub/build/dist/references.d.ts +1 -1
  109. package/dist/node_modules/@allyhub/build/dist/references.js +1 -1
  110. package/dist/node_modules/@allyhub/build/dist/scan.d.ts +7 -12
  111. package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
  112. package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +73 -0
  113. package/dist/node_modules/@allyhub/build/dist/takes.d.ts +2 -26
  114. package/dist/node_modules/@allyhub/build/dist/takes.js +1 -2
  115. package/dist/node_modules/@allyhub/build/dist/types.d.ts +1 -1
  116. package/dist/node_modules/@allyhub/build/dist/types.js +1 -1
  117. package/dist/node_modules/@allyhub/build/dist/uses.d.ts +23 -0
  118. package/dist/node_modules/@allyhub/build/dist/uses.js +2 -0
  119. package/dist/node_modules/@allyhub/build/dist/version.d.ts +56 -0
  120. package/dist/node_modules/@allyhub/build/dist/version.js +2 -0
  121. package/dist/node_modules/@allyhub/build/dist/work.d.ts +30 -0
  122. package/dist/node_modules/@allyhub/build/dist/work.js +4 -0
  123. package/dist/node_modules/@allyhub/build/package.json +1 -1
  124. package/dist/node_modules/@allyhub/canvas-extension/LICENSE +241 -0
  125. package/dist/node_modules/@allyhub/canvas-extension/dist/check.js +2 -0
  126. package/dist/node_modules/@allyhub/canvas-extension/dist/inspect.js +4 -0
  127. package/dist/node_modules/@allyhub/canvas-extension/package.json +106 -0
  128. package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +27 -0
  129. package/dist/node_modules/@allyhub/canvas-model/LICENSE +241 -0
  130. package/dist/node_modules/@allyhub/canvas-model/dist/canvas.js +8 -0
  131. package/dist/node_modules/@allyhub/canvas-model/dist/check.js +3 -0
  132. package/dist/node_modules/@allyhub/canvas-model/dist/edit.js +2 -0
  133. package/dist/node_modules/@allyhub/canvas-model/dist/index.js +2 -0
  134. package/dist/node_modules/@allyhub/canvas-model/dist/merge.js +2 -0
  135. package/dist/node_modules/@allyhub/canvas-model/package.json +14 -0
  136. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +1 -1
  137. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
  138. package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
  139. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  140. package/dist/node_modules/@allyhub/check/dist/cache.js +1 -1
  141. package/dist/node_modules/@allyhub/check/dist/check.js +2 -3
  142. package/dist/node_modules/@allyhub/check/dist/index.js +1 -1
  143. package/dist/node_modules/@allyhub/check/package.json +1 -1
  144. package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +29 -0
  145. package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +91 -0
  146. package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
  147. package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +12 -0
  148. package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +43 -0
  149. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  150. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +25 -0
  151. package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +76 -0
  152. package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
  153. package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +24 -0
  154. package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
  155. package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +43 -0
  156. package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +19 -0
  157. package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
  158. package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +18 -0
  159. package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +22 -0
  160. package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +16 -0
  161. package/dist/node_modules/@allyhub/cloud/dist/mail.js +2 -0
  162. package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +11 -0
  163. package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +42 -0
  164. package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +2 -0
  165. package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +40 -0
  166. package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +20 -0
  167. package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +20 -0
  168. package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
  169. package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +58 -0
  170. package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +22 -0
  171. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  172. package/dist/node_modules/@allyhub/components/package.json +1 -1
  173. package/dist/node_modules/@allyhub/components/r/callout.json +2 -4
  174. package/dist/node_modules/@allyhub/components/r/caption-line.json +1 -3
  175. package/dist/node_modules/@allyhub/components/r/caption-subtitle.json +1 -3
  176. package/dist/node_modules/@allyhub/components/r/caption-word.json +1 -3
  177. package/dist/node_modules/@allyhub/components/r/chart.json +2 -4
  178. package/dist/node_modules/@allyhub/components/r/code-panel.json +2 -4
  179. package/dist/node_modules/@allyhub/components/r/connector.json +19 -0
  180. package/dist/node_modules/@allyhub/components/r/screen-demo.json +2 -4
  181. package/dist/node_modules/@allyhub/components/registry.json +6 -0
  182. package/dist/node_modules/@allyhub/components/src/callout.ts +80 -4
  183. package/dist/node_modules/@allyhub/components/src/chart.ts +14 -6
  184. package/dist/node_modules/@allyhub/components/src/code-panel.ts +10 -5
  185. package/dist/node_modules/@allyhub/components/src/connector.ts +295 -0
  186. package/dist/node_modules/@allyhub/components/src/index.ts +6 -0
  187. package/dist/node_modules/@allyhub/components/src/screen-demo.ts +47 -25
  188. package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
  189. package/dist/node_modules/@allyhub/dev-server/dist/card.js +1 -1
  190. package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
  191. package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
  192. package/dist/node_modules/@allyhub/dev-server/dist/kinds.js +2 -0
  193. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  194. package/dist/node_modules/@allyhub/dev-server/dist/presence.js +2 -0
  195. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  196. package/dist/node_modules/@allyhub/dev-server/dist/reach.js +1 -1
  197. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  198. package/dist/node_modules/@allyhub/dev-server/dist/routes.js +2 -0
  199. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  200. package/dist/node_modules/@allyhub/dev-server/dist/texts.js +4 -0
  201. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  202. package/dist/node_modules/@allyhub/dev-server/dist/tree.js +1 -1
  203. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  204. package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
  205. package/dist/node_modules/@allyhub/dev-server/dist/writer.js +2 -2
  206. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  207. package/dist/node_modules/@allyhub/diagnostics/LICENSE +241 -0
  208. package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
  209. package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
  210. package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
  211. package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
  212. package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
  213. package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
  214. package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
  215. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
  216. package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
  217. package/dist/node_modules/@allyhub/doc/dist/captions.js +2 -0
  218. package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
  219. package/dist/node_modules/@allyhub/doc/dist/cite.js +2 -0
  220. package/dist/node_modules/@allyhub/doc/dist/component.js +1 -1
  221. package/dist/node_modules/@allyhub/doc/dist/covers.js +61 -0
  222. package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
  223. package/dist/node_modules/@allyhub/doc/dist/html.js +243 -56
  224. package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
  225. package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
  226. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  227. package/dist/node_modules/@allyhub/doc/dist/page.js +2 -0
  228. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  229. package/dist/node_modules/@allyhub/doc/dist/parse.js +4 -4
  230. package/dist/node_modules/@allyhub/doc/dist/table.js +2 -0
  231. package/dist/node_modules/@allyhub/doc/dist/write.js +33 -28
  232. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  233. package/dist/node_modules/@allyhub/doc-extension/LICENSE +241 -0
  234. package/dist/node_modules/@allyhub/doc-extension/dist/build.js +3 -0
  235. package/dist/node_modules/@allyhub/doc-extension/dist/cli/cover.js +4 -0
  236. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +2 -0
  237. package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +2 -0
  238. package/dist/node_modules/@allyhub/doc-extension/dist/cli/pictures.js +2 -0
  239. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +2 -0
  240. package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +3 -0
  241. package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +2 -0
  242. package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +2 -0
  243. package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +2 -0
  244. package/dist/node_modules/@allyhub/doc-extension/package.json +187 -0
  245. package/dist/node_modules/@allyhub/doc-print/LICENSE +241 -0
  246. package/dist/node_modules/@allyhub/doc-print/dist/facts.js +2 -0
  247. package/dist/node_modules/@allyhub/doc-print/dist/fonts.js +4 -0
  248. package/dist/node_modules/@allyhub/doc-print/dist/index.js +2 -0
  249. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +116 -0
  250. package/dist/node_modules/@allyhub/doc-print/dist/pages.js +77 -0
  251. package/dist/node_modules/@allyhub/doc-print/dist/print.js +68 -0
  252. package/dist/node_modules/@allyhub/doc-print/package.json +13 -0
  253. package/dist/node_modules/@allyhub/export/dist/batch.js +1 -1
  254. package/dist/node_modules/@allyhub/export/dist/export.js +1 -6
  255. package/dist/node_modules/@allyhub/export/dist/index.js +1 -1
  256. package/dist/node_modules/@allyhub/export/dist/names.js +1 -1
  257. package/dist/node_modules/@allyhub/export/dist/processors.js +2 -0
  258. package/dist/node_modules/@allyhub/export/package.json +1 -1
  259. package/dist/node_modules/@allyhub/extension-api/LICENSE +241 -0
  260. package/dist/node_modules/@allyhub/extension-api/dist/api.js +2 -0
  261. package/dist/node_modules/@allyhub/extension-api/dist/index.js +2 -0
  262. package/dist/node_modules/@allyhub/extension-api/dist/lifecycle.js +2 -0
  263. package/dist/node_modules/@allyhub/extension-api/package.json +14 -0
  264. package/dist/node_modules/@allyhub/extension-host/LICENSE +241 -0
  265. package/dist/node_modules/@allyhub/extension-host/dist/host.js +2 -0
  266. package/dist/node_modules/@allyhub/extension-host/dist/index.js +2 -0
  267. package/dist/node_modules/@allyhub/extension-host/dist/node.js +3 -0
  268. package/dist/node_modules/@allyhub/extension-host/dist/points.js +2 -0
  269. package/dist/node_modules/@allyhub/extension-host/dist/shell.js +2 -0
  270. package/dist/node_modules/@allyhub/extension-host/package.json +22 -0
  271. package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
  272. package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
  273. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
  274. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +7 -12
  275. package/dist/node_modules/@allyhub/formats/dist/data/reference.js +1 -1
  276. package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +9 -4
  277. package/dist/node_modules/@allyhub/formats/dist/data/script.js +1 -1
  278. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +20 -82
  279. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  280. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +96 -8
  281. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  282. package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +2 -1
  283. package/dist/node_modules/@allyhub/formats/dist/data/website.js +1 -1
  284. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  285. package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
  286. package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
  287. package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
  288. package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
  289. package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
  290. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +5 -1
  291. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  292. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +226 -90
  293. package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
  294. package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +7 -1
  295. package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
  296. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +46 -42
  297. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  298. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  299. package/dist/node_modules/@allyhub/i18n/LICENSE +241 -0
  300. package/dist/node_modules/@allyhub/i18n/dist/index.js +2 -0
  301. package/dist/node_modules/@allyhub/i18n/package.json +13 -0
  302. package/dist/node_modules/@allyhub/image-draw/LICENSE +241 -0
  303. package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
  304. package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
  305. package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
  306. package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
  307. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
  308. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
  309. package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
  310. package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
  311. package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
  312. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
  313. package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
  314. package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
  315. package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
  316. package/dist/node_modules/@allyhub/image-extension/LICENSE +241 -0
  317. package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +2 -0
  318. package/dist/node_modules/@allyhub/image-extension/dist/build.js +2 -0
  319. package/dist/node_modules/@allyhub/image-extension/dist/check.js +2 -0
  320. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +3 -0
  321. package/dist/node_modules/@allyhub/image-extension/dist/evaluate.js +2 -0
  322. package/dist/node_modules/@allyhub/image-extension/dist/export.js +2 -0
  323. package/dist/node_modules/@allyhub/image-extension/dist/facts.js +2 -0
  324. package/dist/node_modules/@allyhub/image-extension/dist/project-tools.js +2 -0
  325. package/dist/node_modules/@allyhub/image-extension/dist/sources.js +2 -0
  326. package/dist/node_modules/@allyhub/image-extension/dist/stage.js +2 -0
  327. package/dist/node_modules/@allyhub/image-extension/dist/tools.js +2 -0
  328. package/dist/node_modules/@allyhub/image-extension/dist/workspace.js +2 -0
  329. package/dist/node_modules/@allyhub/image-extension/package.json +276 -0
  330. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +44 -0
  331. package/dist/node_modules/@allyhub/image-measure/LICENSE +241 -0
  332. package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
  333. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
  334. package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
  335. package/dist/node_modules/@allyhub/image-psd/LICENSE +241 -0
  336. package/dist/node_modules/@allyhub/image-psd/dist/index.js +2 -0
  337. package/dist/node_modules/@allyhub/image-psd/dist/map.js +2 -0
  338. package/dist/node_modules/@allyhub/image-psd/dist/pixels.js +2 -0
  339. package/dist/node_modules/@allyhub/image-psd/dist/read.js +18 -0
  340. package/dist/node_modules/@allyhub/image-psd/dist/write.js +2 -0
  341. package/dist/node_modules/@allyhub/image-psd/package.json +14 -0
  342. package/dist/node_modules/@allyhub/image-render/LICENSE +241 -0
  343. package/dist/node_modules/@allyhub/image-render/dist/webp.js +2 -0
  344. package/dist/node_modules/@allyhub/image-render/package.json +14 -0
  345. package/dist/node_modules/@allyhub/image-runtime/LICENSE +241 -0
  346. package/dist/node_modules/@allyhub/image-runtime/dist/board.js +2 -0
  347. package/dist/node_modules/@allyhub/image-runtime/dist/index.js +2 -0
  348. package/dist/node_modules/@allyhub/image-runtime/dist/layers.js +2 -0
  349. package/dist/node_modules/@allyhub/image-runtime/dist/load.js +3 -0
  350. package/dist/node_modules/@allyhub/image-runtime/dist/overset.js +2 -0
  351. package/dist/node_modules/@allyhub/image-runtime/dist/psd.js +2 -0
  352. package/dist/node_modules/@allyhub/image-runtime/package.json +18 -0
  353. package/dist/node_modules/@allyhub/image-sdk/LICENSE +241 -0
  354. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
  355. package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
  356. package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
  357. package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
  358. package/dist/node_modules/@allyhub/image-sdk/dist/fit.js +2 -0
  359. package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
  360. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
  361. package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
  362. package/dist/node_modules/@allyhub/image-sdk/dist/messages.js +2 -0
  363. package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
  364. package/dist/node_modules/@allyhub/image-sdk/dist/props.js +2 -0
  365. package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
  366. package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
  367. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
  368. package/dist/node_modules/@allyhub/image-sdk/dist/text.js +2 -0
  369. package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
  370. package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
  371. package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +3 -0
  372. package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +139 -0
  373. package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +41 -0
  374. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  375. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
  376. package/dist/node_modules/@allyhub/measure/dist/compare.js +1 -1
  377. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
  378. package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
  379. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
  380. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
  381. package/dist/node_modules/@allyhub/measure/dist/index.js +1 -1
  382. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  383. package/dist/node_modules/@allyhub/media/NOTICE +1 -42
  384. package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +25 -0
  385. package/dist/node_modules/@allyhub/media/dist/analysis.js +2 -0
  386. package/dist/node_modules/@allyhub/media/dist/audio.d.ts +2 -0
  387. package/dist/node_modules/@allyhub/media/dist/audio.js +1 -1
  388. package/dist/node_modules/@allyhub/media/dist/errors.d.ts +2 -2
  389. package/dist/node_modules/@allyhub/media/dist/index.d.ts +5 -21
  390. package/dist/node_modules/@allyhub/media/dist/index.js +1 -1
  391. package/dist/node_modules/@allyhub/media/dist/tools.d.ts +2 -12
  392. package/dist/node_modules/@allyhub/media/dist/tools.js +1 -1
  393. package/dist/node_modules/@allyhub/media/dist/video.js +1 -1
  394. package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +2 -2
  395. package/dist/node_modules/@allyhub/media/package.json +1 -1
  396. package/dist/node_modules/@allyhub/media-extension/LICENSE +241 -0
  397. package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +2 -0
  398. package/dist/node_modules/@allyhub/media-extension/dist/analyses/matte.js +2 -0
  399. package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +2 -0
  400. package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +2 -0
  401. package/dist/node_modules/@allyhub/media-extension/dist/cloud.js +2 -0
  402. package/dist/node_modules/@allyhub/media-extension/dist/index.js +2 -0
  403. package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +2 -0
  404. package/dist/node_modules/@allyhub/media-extension/dist/vision/boxes.js +2 -0
  405. package/dist/node_modules/@allyhub/media-extension/dist/vision/common.js +2 -0
  406. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +2 -0
  407. package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -0
  408. package/dist/node_modules/@allyhub/media-extension/dist/vision/matte.js +2 -0
  409. package/dist/node_modules/@allyhub/media-extension/dist/vision/mattes.js +2 -0
  410. package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +2 -0
  411. package/dist/node_modules/@allyhub/media-extension/package.json +62 -0
  412. package/dist/node_modules/@allyhub/model/dist/data.d.ts +7 -2
  413. package/dist/node_modules/@allyhub/model/dist/data.js +1 -1
  414. package/dist/node_modules/@allyhub/model/package.json +1 -1
  415. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +1 -1
  416. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
  417. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  418. package/dist/node_modules/@allyhub/piece/LICENSE +241 -0
  419. package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
  420. package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
  421. package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
  422. package/dist/node_modules/@allyhub/piece/dist/context.js +2 -0
  423. package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
  424. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
  425. package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
  426. package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
  427. package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
  428. package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
  429. package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
  430. package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
  431. package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
  432. package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
  433. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
  434. package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
  435. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +421 -0
  436. package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
  437. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
  438. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
  439. package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
  440. package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
  441. package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
  442. package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
  443. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
  444. package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
  445. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
  446. package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
  447. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
  448. package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
  449. package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
  450. package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
  451. package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
  452. package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
  453. package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
  454. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
  455. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +285 -0
  456. package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
  457. package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
  458. package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
  459. package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
  460. package/dist/node_modules/@allyhub/piece/package.json +18 -0
  461. package/dist/node_modules/@allyhub/project/dist/component-stills.js +11 -1
  462. package/dist/node_modules/@allyhub/project/dist/console.js +1 -1
  463. package/dist/node_modules/@allyhub/project/dist/digest.js +1 -1
  464. package/dist/node_modules/@allyhub/project/dist/index.js +1 -1
  465. package/dist/node_modules/@allyhub/project/dist/ledger.js +1 -1
  466. package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
  467. package/dist/node_modules/@allyhub/project/dist/page.js +2 -2
  468. package/dist/node_modules/@allyhub/project/dist/part-keys.js +2 -0
  469. package/dist/node_modules/@allyhub/project/dist/part-measure.js +2 -0
  470. package/dist/node_modules/@allyhub/project/dist/part-pool.js +2 -0
  471. package/dist/node_modules/@allyhub/project/dist/session.js +1 -1
  472. package/dist/node_modules/@allyhub/project/dist/stills.js +1 -1
  473. package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
  474. package/dist/node_modules/@allyhub/project/package.json +1 -1
  475. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +139 -0
  476. package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
  477. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +3 -10
  478. package/dist/node_modules/@allyhub/protocol/dist/app.js +1 -1
  479. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +12 -1
  480. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  481. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +2 -0
  482. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  483. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +232 -132
  484. package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
  485. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +2 -0
  486. package/dist/node_modules/@allyhub/protocol/dist/files.js +1 -1
  487. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +22 -9
  488. package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
  489. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
  490. package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
  491. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +5 -0
  492. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  493. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +6 -6
  494. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
  495. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
  496. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +273 -0
  497. package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
  498. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +26 -0
  499. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  500. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
  501. package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
  502. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
  503. package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
  504. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
  505. package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
  506. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +1 -1
  507. package/dist/node_modules/@allyhub/protocol/dist/routes.js +1 -1
  508. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
  509. package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
  510. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +2 -8
  511. package/dist/node_modules/@allyhub/protocol/dist/shares.js +1 -1
  512. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +70 -40
  513. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  514. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +224 -177
  515. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  516. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  517. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  518. package/dist/node_modules/@allyhub/render/dist/capture.js +1 -1
  519. package/dist/node_modules/@allyhub/render/dist/composite.js +1 -1
  520. package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
  521. package/dist/node_modules/@allyhub/render/dist/exports.js +2 -2
  522. package/dist/node_modules/@allyhub/render/dist/ffmpeg.js +3 -3
  523. package/dist/node_modules/@allyhub/render/dist/footage.js +1 -1
  524. package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
  525. package/dist/node_modules/@allyhub/render/dist/junction.js +1 -1
  526. package/dist/node_modules/@allyhub/render/dist/parts.js +1 -1
  527. package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
  528. package/dist/node_modules/@allyhub/render/dist/post.js +1 -1
  529. package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
  530. package/dist/node_modules/@allyhub/render/dist/sound.js +1 -1
  531. package/dist/node_modules/@allyhub/render/dist/tools.js +1 -1
  532. package/dist/node_modules/@allyhub/render/dist/version.js +2 -0
  533. package/dist/node_modules/@allyhub/render/package.json +1 -5
  534. package/dist/node_modules/@allyhub/runtime/dist/captions.js +1 -1
  535. package/dist/node_modules/@allyhub/runtime/dist/clock.js +1 -1
  536. package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
  537. package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
  538. package/dist/node_modules/@allyhub/runtime/dist/facade.js +1 -1
  539. package/dist/node_modules/@allyhub/runtime/dist/film.js +2 -0
  540. package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
  541. package/dist/node_modules/@allyhub/runtime/dist/frame.js +1 -1
  542. package/dist/node_modules/@allyhub/runtime/dist/index.js +1 -1
  543. package/dist/node_modules/@allyhub/runtime/dist/measure.js +2 -2
  544. package/dist/node_modules/@allyhub/runtime/dist/output.js +1 -1
  545. package/dist/node_modules/@allyhub/runtime/dist/piece.js +2 -2
  546. package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
  547. package/dist/node_modules/@allyhub/runtime/dist/sound.js +1 -1
  548. package/dist/node_modules/@allyhub/runtime/dist/speech.js +1 -1
  549. package/dist/node_modules/@allyhub/runtime/dist/stage-kit.js +1 -1
  550. package/dist/node_modules/@allyhub/runtime/dist/takes.js +1 -1
  551. package/dist/node_modules/@allyhub/runtime/package.json +1 -5
  552. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
  553. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
  554. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
  555. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
  556. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
  557. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +2 -0
  558. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  559. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +3 -3
  560. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +1 -0
  561. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +1 -1
  562. package/dist/node_modules/@allyhub/runtimes/manifest.json +0 -82
  563. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  564. package/dist/node_modules/@allyhub/scaffold/dist/index.js +6 -5
  565. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  566. package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +2 -0
  567. package/dist/node_modules/@allyhub/scenery/dist/define.js +1 -1
  568. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  569. package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +2 -3
  570. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +14 -7
  571. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +4 -4
  572. package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +314 -0
  573. package/dist/node_modules/@allyhub/scenery-host/dist/fact.js +2 -0
  574. package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +1 -0
  575. package/dist/node_modules/@allyhub/scenery-host/dist/index.js +1 -1
  576. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +2 -2
  577. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
  578. package/dist/node_modules/@allyhub/scenery-host/dist/layer/queries.d.ts +1 -1
  579. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +1 -1
  580. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
  581. package/dist/node_modules/@allyhub/scenery-host/dist/layer/state.d.ts +1 -1
  582. package/dist/node_modules/@allyhub/scenery-host/dist/layer/types.d.ts +2 -2
  583. package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.d.ts +3 -3
  584. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +1 -1
  585. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +1 -1
  586. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +42 -0
  587. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.js +4 -0
  588. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +6 -0
  589. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.js +2 -0
  590. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +70 -0
  591. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.js +12 -0
  592. package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +49 -0
  593. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +73 -0
  594. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.js +3 -0
  595. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +18 -0
  596. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.js +2 -0
  597. package/dist/node_modules/@allyhub/scenery-host/package.json +5 -1
  598. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  599. package/dist/node_modules/@allyhub/sheet/dist/api/code.js +1 -1
  600. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  601. package/dist/node_modules/@allyhub/sheet/dist/export.js +1 -1
  602. package/dist/node_modules/@allyhub/sheet/dist/file.js +1 -1
  603. package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
  604. package/dist/node_modules/@allyhub/sheet/dist/import.js +1 -1
  605. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  606. package/dist/node_modules/@allyhub/sheet/dist/patch.js +1 -1
  607. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
  608. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  609. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  610. package/dist/node_modules/@allyhub/sheet/package.json +5 -1
  611. package/dist/node_modules/@allyhub/sheet-extension/LICENSE +241 -0
  612. package/dist/node_modules/@allyhub/sheet-extension/dist/build-plugins.js +2 -0
  613. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +2 -0
  614. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/index.js +2 -0
  615. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +2 -0
  616. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +8 -0
  617. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +2 -0
  618. package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +3 -0
  619. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +7 -0
  620. package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +3 -0
  621. package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +2 -0
  622. package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +2 -0
  623. package/dist/node_modules/@allyhub/sheet-extension/dist/workspace.js +2 -0
  624. package/dist/node_modules/@allyhub/sheet-extension/package.json +209 -0
  625. package/dist/node_modules/@allyhub/slides-core/dist/animation.js +1 -1
  626. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  627. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  628. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  629. package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
  630. package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
  631. package/dist/node_modules/@allyhub/slides-core/dist/file.js +2 -2
  632. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  633. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  634. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +1 -1
  635. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  636. package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
  637. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  638. package/dist/node_modules/@allyhub/slides-core/package.json +5 -1
  639. package/dist/node_modules/@allyhub/slides-extension/LICENSE +241 -0
  640. package/dist/node_modules/@allyhub/slides-extension/dist/build-plugins.js +2 -0
  641. package/dist/node_modules/@allyhub/slides-extension/dist/build.js +2 -0
  642. package/dist/node_modules/@allyhub/slides-extension/dist/check.js +2 -0
  643. package/dist/node_modules/@allyhub/slides-extension/dist/cli/index.js +2 -0
  644. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +3 -0
  645. package/dist/node_modules/@allyhub/slides-extension/dist/deck-info.js +2 -0
  646. package/dist/node_modules/@allyhub/slides-extension/dist/deck-pptx.js +2 -0
  647. package/dist/node_modules/@allyhub/slides-extension/dist/evaluate.js +3 -0
  648. package/dist/node_modules/@allyhub/slides-extension/dist/export.js +2 -0
  649. package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +2 -0
  650. package/dist/node_modules/@allyhub/slides-extension/dist/read-view.js +2 -0
  651. package/dist/node_modules/@allyhub/slides-extension/dist/stage.js +2 -0
  652. package/dist/node_modules/@allyhub/slides-extension/dist/tools.js +2 -0
  653. package/dist/node_modules/@allyhub/slides-extension/dist/workspace.js +2 -0
  654. package/dist/node_modules/@allyhub/slides-extension/package.json +246 -0
  655. package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
  656. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  657. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
  658. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  659. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +1 -1
  660. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  661. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  662. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  663. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  664. package/dist/node_modules/@allyhub/slides-runtime/dist/component.js +1 -1
  665. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  666. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
  667. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  668. package/dist/node_modules/@allyhub/stage/dist/build-process.js +2 -2
  669. package/dist/node_modules/@allyhub/stage/dist/build-worker.js +1 -1
  670. package/dist/node_modules/@allyhub/stage/dist/identity.js +1 -1
  671. package/dist/node_modules/@allyhub/stage/dist/index.js +1 -1
  672. package/dist/node_modules/@allyhub/stage/dist/page.js +2 -2
  673. package/dist/node_modules/@allyhub/stage/dist/server.js +1 -1
  674. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  675. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  676. package/dist/node_modules/@allyhub/stage-page/dist/install.js +2 -0
  677. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +2 -2
  678. package/dist/node_modules/@allyhub/stage-page/dist/stage-module.js +2 -0
  679. package/dist/node_modules/@allyhub/stage-page/package.json +5 -1
  680. package/dist/node_modules/@allyhub/stage-runtime/LICENSE +241 -0
  681. package/dist/node_modules/@allyhub/stage-runtime/dist/index.js +2 -0
  682. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +80 -0
  683. package/dist/node_modules/@allyhub/stage-runtime/dist/use.js +2 -0
  684. package/dist/node_modules/@allyhub/stage-runtime/package.json +17 -0
  685. package/dist/node_modules/@allyhub/video-core/dist/captions.js +1 -1
  686. package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
  687. package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +1 -1
  688. package/dist/node_modules/@allyhub/video-core/dist/edits.js +1 -1
  689. package/dist/node_modules/@allyhub/video-core/dist/fact.js +1 -1
  690. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  691. package/dist/node_modules/@allyhub/video-core/dist/index.js +1 -1
  692. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -4
  693. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
  694. package/dist/node_modules/@allyhub/video-core/dist/piece.js +1 -1
  695. package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
  696. package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +1 -1
  697. package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +1 -1
  698. package/dist/node_modules/@allyhub/video-core/dist/speech.js +2 -2
  699. package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
  700. package/dist/node_modules/@allyhub/video-core/dist/timeline.js +1 -1
  701. package/dist/node_modules/@allyhub/video-core/dist/timing.js +1 -1
  702. package/dist/node_modules/@allyhub/video-core/dist/transcript.js +1 -1
  703. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  704. package/dist/node_modules/@allyhub/video-extension/LICENSE +241 -0
  705. package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +2 -0
  706. package/dist/node_modules/@allyhub/video-extension/dist/build.js +2 -0
  707. package/dist/node_modules/@allyhub/video-extension/dist/cli/audio-text.js +6 -0
  708. package/dist/node_modules/@allyhub/video-extension/dist/cli/audio.js +4 -0
  709. package/dist/node_modules/@allyhub/video-extension/dist/cli/cloud.js +2 -0
  710. package/dist/node_modules/@allyhub/video-extension/dist/cli/draw.js +2 -0
  711. package/dist/node_modules/@allyhub/video-extension/dist/cli/index.js +2 -0
  712. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +5 -0
  713. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference.js +2 -0
  714. package/dist/node_modules/@allyhub/video-extension/dist/cli/voice.js +3 -0
  715. package/dist/node_modules/@allyhub/video-extension/dist/cli/words-text.js +6 -0
  716. package/dist/node_modules/@allyhub/video-extension/dist/cli/words.js +2 -0
  717. package/dist/node_modules/@allyhub/video-extension/dist/evaluate.js +2 -0
  718. package/dist/node_modules/@allyhub/video-extension/dist/export.js +2 -0
  719. package/dist/node_modules/@allyhub/video-extension/dist/inspect/common.js +2 -0
  720. package/dist/node_modules/@allyhub/video-extension/dist/inspect/contrast.js +2 -0
  721. package/dist/node_modules/@allyhub/video-extension/dist/inspect/fidelity.js +2 -0
  722. package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +2 -0
  723. package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +2 -0
  724. package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +4 -0
  725. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline-text.js +2 -0
  726. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline.js +3 -0
  727. package/dist/node_modules/@allyhub/video-extension/dist/project-tools.js +2 -0
  728. package/dist/node_modules/@allyhub/video-extension/dist/read-view.js +2 -0
  729. package/dist/node_modules/@allyhub/video-extension/dist/sources.js +2 -0
  730. package/dist/node_modules/@allyhub/video-extension/dist/stage-routes.js +2 -0
  731. package/dist/node_modules/@allyhub/video-extension/dist/stage.js +2 -0
  732. package/dist/node_modules/@allyhub/video-extension/dist/tools.js +2 -0
  733. package/dist/node_modules/@allyhub/video-extension/dist/workspace.js +2 -0
  734. package/dist/node_modules/@allyhub/video-extension/package.json +454 -0
  735. package/dist/node_modules/@allyhub/video-measure/LICENSE +241 -0
  736. package/dist/node_modules/@allyhub/video-measure/dist/check.js +3 -0
  737. package/dist/node_modules/@allyhub/video-measure/dist/cuts.js +2 -0
  738. package/dist/node_modules/@allyhub/video-measure/dist/facts.js +2 -0
  739. package/dist/node_modules/@allyhub/video-measure/dist/generated.js +2 -0
  740. package/dist/node_modules/@allyhub/video-measure/dist/graphics.js +2 -0
  741. package/dist/node_modules/@allyhub/video-measure/dist/index.js +2 -0
  742. package/dist/node_modules/@allyhub/video-measure/dist/page.js +2 -0
  743. package/dist/node_modules/@allyhub/video-measure/dist/plans.js +3 -0
  744. package/dist/node_modules/@allyhub/video-measure/dist/recording-report.js +2 -0
  745. package/dist/node_modules/@allyhub/video-measure/dist/reference/piece.js +2 -0
  746. package/dist/node_modules/@allyhub/video-measure/dist/reference/sets.js +2 -0
  747. package/dist/node_modules/@allyhub/video-measure/dist/reference/text.js +2 -0
  748. package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +2 -0
  749. package/dist/node_modules/@allyhub/video-measure/dist/says.js +2 -0
  750. package/dist/node_modules/@allyhub/video-measure/dist/sound-report.js +2 -0
  751. package/dist/node_modules/@allyhub/video-measure/dist/stretch.js +2 -0
  752. package/dist/node_modules/@allyhub/video-measure/dist/version.js +2 -0
  753. package/dist/node_modules/@allyhub/video-measure/dist/words.js +3 -0
  754. package/dist/node_modules/@allyhub/video-measure/package.json +13 -0
  755. package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
  756. package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
  757. package/dist/node_modules/@allyhub/video-sdk/dist/anim.js +2 -0
  758. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
  759. package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
  760. package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
  761. package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
  762. package/dist/node_modules/@allyhub/video-sdk/dist/noise.js +2 -0
  763. package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
  764. package/dist/node_modules/@allyhub/video-sdk/dist/paths.js +2 -0
  765. package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
  766. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
  767. package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
  768. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
  769. package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
  770. package/dist/node_modules/@allyhub/website/dist/publish.js +2 -2
  771. package/dist/node_modules/@allyhub/website/dist/website.js +3 -3
  772. package/dist/node_modules/@allyhub/website/package.json +1 -1
  773. package/dist/node_modules/@allyhub/website-extension/LICENSE +241 -0
  774. package/dist/node_modules/@allyhub/website-extension/dist/build.js +2 -0
  775. package/dist/node_modules/@allyhub/website-extension/dist/cli/index.js +2 -0
  776. package/dist/node_modules/@allyhub/website-extension/dist/cli/site.js +4 -0
  777. package/dist/node_modules/@allyhub/website-extension/dist/hosting.js +2 -0
  778. package/dist/node_modules/@allyhub/website-extension/dist/preview.js +6 -0
  779. package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +2 -0
  780. package/dist/node_modules/@allyhub/website-extension/dist/tools.js +2 -0
  781. package/dist/node_modules/@allyhub/website-extension/package.json +152 -0
  782. package/dist/node_modules/@allyhub/x-extension/LICENSE +241 -0
  783. package/dist/node_modules/@allyhub/x-extension/dist/article-build.js +4 -0
  784. package/dist/node_modules/@allyhub/x-extension/dist/article-kind.js +2 -0
  785. package/dist/node_modules/@allyhub/x-extension/dist/build-plugins.js +2 -0
  786. package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -0
  787. package/dist/node_modules/@allyhub/x-extension/dist/config.js +2 -0
  788. package/dist/node_modules/@allyhub/x-extension/dist/media.js +2 -0
  789. package/dist/node_modules/@allyhub/x-extension/dist/stage-module.js +67 -0
  790. package/dist/node_modules/@allyhub/x-extension/dist/stage.js +2 -0
  791. package/dist/node_modules/@allyhub/x-extension/dist/workspace.js +2 -0
  792. package/dist/node_modules/@allyhub/x-extension/package.json +277 -0
  793. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +67 -0
  794. package/dist/node_modules/@allyhub/x-model/LICENSE +241 -0
  795. package/dist/node_modules/@allyhub/x-model/dist/article-check.js +5 -0
  796. package/dist/node_modules/@allyhub/x-model/dist/article.js +3 -0
  797. package/dist/node_modules/@allyhub/x-model/dist/check.js +2 -0
  798. package/dist/node_modules/@allyhub/x-model/dist/content-state.js +2 -0
  799. package/dist/node_modules/@allyhub/x-model/dist/count.js +2 -0
  800. package/dist/node_modules/@allyhub/x-model/dist/edit.js +3 -0
  801. package/dist/node_modules/@allyhub/x-model/dist/index.js +2 -0
  802. package/dist/node_modules/@allyhub/x-model/dist/limits.js +2 -0
  803. package/dist/node_modules/@allyhub/x-model/dist/post.js +2 -0
  804. package/dist/node_modules/@allyhub/x-model/dist/requests.js +2 -0
  805. package/dist/node_modules/@allyhub/x-model/package.json +14 -0
  806. package/dist/node_modules/@allyhub/x-view/LICENSE +241 -0
  807. package/dist/node_modules/@allyhub/x-view/dist/article.js +2 -0
  808. package/dist/node_modules/@allyhub/x-view/dist/index.js +2 -0
  809. package/dist/node_modules/@allyhub/x-view/dist/post.js +3 -0
  810. package/dist/node_modules/@allyhub/x-view/dist/stage.js +2 -0
  811. package/dist/node_modules/@allyhub/x-view/dist/text.js +2 -0
  812. package/dist/node_modules/@allyhub/x-view/package.json +21 -0
  813. package/dist/node_modules/@allyhub/x-view/src/style.css +709 -0
  814. package/dist/package.json +16 -0
  815. package/dist/parameters.js +1 -1
  816. package/dist/presence.js +2 -0
  817. package/dist/project.js +1 -1
  818. package/dist/sdk-docs.js +1 -1
  819. package/dist/text/batch-text.js +1 -1
  820. package/dist/text/console-text.js +1 -1
  821. package/dist/text/facts-text.js +5 -5
  822. package/dist/text/format.js +2 -2
  823. package/dist/text/index.js +1 -1
  824. package/dist/tool-options.js +1 -1
  825. package/dist/version.js +1 -1
  826. package/dist/works.js +1 -1
  827. package/editor-web/assets/abnfDiagram-WEYOIA3C-CN5PiJYY.js +1 -0
  828. package/editor-web/assets/alt-BOVao_9S.js +4 -0
  829. package/editor-web/assets/architecture-WOLXFQ4H-BnvZtQYk.js +1 -0
  830. package/editor-web/assets/architectureDiagram-ZHVYKT53-tkcEcFQ8.js +36 -0
  831. package/editor-web/assets/arrow-up-DTP2yVSU.js +1 -0
  832. package/editor-web/assets/article-B6YCzhj8.js +73 -0
  833. package/editor-web/assets/audio-lines-Ti8-m7H2.js +1 -0
  834. package/editor-web/assets/blockDiagram-RJAE7QA3-DhqEIpie.js +140 -0
  835. package/editor-web/assets/c4Diagram-XDPPPE54-Bg9G95tl.js +38 -0
  836. package/editor-web/assets/caladea-latin-400-italic-BXgumMrY.woff +0 -0
  837. package/editor-web/assets/caladea-latin-400-italic-LV4kG-PE.woff2 +0 -0
  838. package/editor-web/assets/caladea-latin-400-normal-BdRVtv9R.woff +0 -0
  839. package/editor-web/assets/caladea-latin-400-normal-CEHWF4nY.woff2 +0 -0
  840. package/editor-web/assets/caladea-latin-700-italic-ChDjCuPY.woff +0 -0
  841. package/editor-web/assets/caladea-latin-700-italic-DswTWW_F.woff2 +0 -0
  842. package/editor-web/assets/caladea-latin-700-normal-0s3Ufwiy.woff +0 -0
  843. package/editor-web/assets/caladea-latin-700-normal-Emkxzyyt.woff2 +0 -0
  844. package/editor-web/assets/caladea-latin-ext-400-italic-DaI5RAJ1.woff2 +0 -0
  845. package/editor-web/assets/caladea-latin-ext-400-italic-Ddrq60cI.woff +0 -0
  846. package/editor-web/assets/caladea-latin-ext-400-normal-BjxrNPcj.woff +0 -0
  847. package/editor-web/assets/caladea-latin-ext-400-normal-CyFL0oLC.woff2 +0 -0
  848. package/editor-web/assets/caladea-latin-ext-700-italic-BPwR0tp-.woff +0 -0
  849. package/editor-web/assets/caladea-latin-ext-700-italic-DKIXMnVd.woff2 +0 -0
  850. package/editor-web/assets/caladea-latin-ext-700-normal-jPPxbA1-.woff2 +0 -0
  851. package/editor-web/assets/caladea-latin-ext-700-normal-sbmkuTql.woff +0 -0
  852. package/editor-web/assets/calc-worker-B5-fDWnb.js +45 -0
  853. package/editor-web/assets/carlito-cyrillic-400-italic-BBq3u1wn.woff2 +0 -0
  854. package/editor-web/assets/carlito-cyrillic-400-italic-DkiFjkCS.woff +0 -0
  855. package/editor-web/assets/carlito-cyrillic-400-normal-BtG3bBmV.woff +0 -0
  856. package/editor-web/assets/carlito-cyrillic-400-normal-Bzv-FGbj.woff2 +0 -0
  857. package/editor-web/assets/carlito-cyrillic-700-italic-BWpxjWJ1.woff2 +0 -0
  858. package/editor-web/assets/carlito-cyrillic-700-italic-CkpLb3ak.woff +0 -0
  859. package/editor-web/assets/carlito-cyrillic-700-normal-Cj42L3Bs.woff2 +0 -0
  860. package/editor-web/assets/carlito-cyrillic-700-normal-bxg6f20d.woff +0 -0
  861. package/editor-web/assets/carlito-cyrillic-ext-400-italic-BiZjW1hk.woff2 +0 -0
  862. package/editor-web/assets/carlito-cyrillic-ext-400-italic-DcD3cPwb.woff +0 -0
  863. package/editor-web/assets/carlito-cyrillic-ext-400-normal-DYs6OoL4.woff2 +0 -0
  864. package/editor-web/assets/carlito-cyrillic-ext-400-normal-UzWcrHdi.woff +0 -0
  865. package/editor-web/assets/carlito-cyrillic-ext-700-italic-ClXPMqhh.woff2 +0 -0
  866. package/editor-web/assets/carlito-cyrillic-ext-700-italic-DoehkTRC.woff +0 -0
  867. package/editor-web/assets/carlito-cyrillic-ext-700-normal-BAPhAm-q.woff2 +0 -0
  868. package/editor-web/assets/carlito-cyrillic-ext-700-normal-C5O8kkCQ.woff +0 -0
  869. package/editor-web/assets/carlito-greek-400-italic-C1DqF7JR.woff2 +0 -0
  870. package/editor-web/assets/carlito-greek-400-italic-Cnl_RiK8.woff +0 -0
  871. package/editor-web/assets/carlito-greek-400-normal-Cv5gcxdy.woff2 +0 -0
  872. package/editor-web/assets/carlito-greek-400-normal-aOjZpsFX.woff +0 -0
  873. package/editor-web/assets/carlito-greek-700-italic-DfpwTZ8N.woff +0 -0
  874. package/editor-web/assets/carlito-greek-700-italic-VWqy950O.woff2 +0 -0
  875. package/editor-web/assets/carlito-greek-700-normal-B-Y_qvTa.woff +0 -0
  876. package/editor-web/assets/carlito-greek-700-normal-BXGaow7Z.woff2 +0 -0
  877. package/editor-web/assets/carlito-greek-ext-400-italic-BUNDIZnl.woff +0 -0
  878. package/editor-web/assets/carlito-greek-ext-400-italic-o-WxseCy.woff2 +0 -0
  879. package/editor-web/assets/carlito-greek-ext-400-normal-DnfnTswf.woff2 +0 -0
  880. package/editor-web/assets/carlito-greek-ext-400-normal-m-eDGcsW.woff +0 -0
  881. package/editor-web/assets/carlito-greek-ext-700-italic-DD0r8DLp.woff +0 -0
  882. package/editor-web/assets/carlito-greek-ext-700-italic-DiO5Rxw8.woff2 +0 -0
  883. package/editor-web/assets/carlito-greek-ext-700-normal-BGl1PQht.woff +0 -0
  884. package/editor-web/assets/carlito-greek-ext-700-normal-COKnZ-5a.woff2 +0 -0
  885. package/editor-web/assets/carlito-latin-400-italic-BiMes9J5.woff2 +0 -0
  886. package/editor-web/assets/carlito-latin-400-italic-DcRV6skQ.woff +0 -0
  887. package/editor-web/assets/carlito-latin-400-normal-R-CeALMm.woff2 +0 -0
  888. package/editor-web/assets/carlito-latin-400-normal-jEGHVXAP.woff +0 -0
  889. package/editor-web/assets/carlito-latin-700-italic-BkeTGILl.woff +0 -0
  890. package/editor-web/assets/carlito-latin-700-italic-Ckstd88m.woff2 +0 -0
  891. package/editor-web/assets/carlito-latin-700-normal-CjG3MLqY.woff +0 -0
  892. package/editor-web/assets/carlito-latin-700-normal-DQ6DOkPk.woff2 +0 -0
  893. package/editor-web/assets/carlito-latin-ext-400-italic-B7I2MSBC.woff +0 -0
  894. package/editor-web/assets/carlito-latin-ext-400-italic-CqQQuoTt.woff2 +0 -0
  895. package/editor-web/assets/carlito-latin-ext-400-normal-D112-ed2.woff +0 -0
  896. package/editor-web/assets/carlito-latin-ext-400-normal-DPZWia0-.woff2 +0 -0
  897. package/editor-web/assets/carlito-latin-ext-700-italic-BvVMpuZ3.woff2 +0 -0
  898. package/editor-web/assets/carlito-latin-ext-700-italic-Cocp2sK5.woff +0 -0
  899. package/editor-web/assets/carlito-latin-ext-700-normal-9QIvu-gI.woff +0 -0
  900. package/editor-web/assets/carlito-latin-ext-700-normal-D2WO8ap1.woff2 +0 -0
  901. package/editor-web/assets/carlito-vietnamese-400-italic-Dpe35oQb.woff +0 -0
  902. package/editor-web/assets/carlito-vietnamese-400-italic-vBbFSHZk.woff2 +0 -0
  903. package/editor-web/assets/carlito-vietnamese-400-normal-BA1ASEPx.woff2 +0 -0
  904. package/editor-web/assets/carlito-vietnamese-400-normal-D0HL2cT_.woff +0 -0
  905. package/editor-web/assets/carlito-vietnamese-700-italic-rWsihy0W.woff +0 -0
  906. package/editor-web/assets/carlito-vietnamese-700-italic-tiFMON_I.woff2 +0 -0
  907. package/editor-web/assets/carlito-vietnamese-700-normal-DIEsMQO6.woff +0 -0
  908. package/editor-web/assets/carlito-vietnamese-700-normal-gG8ns3Xg.woff2 +0 -0
  909. package/editor-web/assets/channel-C26aBI4o.js +1 -0
  910. package/editor-web/assets/chart-BOnxneyw.js +1 -0
  911. package/editor-web/assets/choice-O5nwc2N0.js +1 -0
  912. package/editor-web/assets/chunk-2E7WHVMD-C8Ve9lAa.js +88 -0
  913. package/editor-web/assets/chunk-4EMNKR2T-BDWwPUnT.js +1 -0
  914. package/editor-web/assets/chunk-55XCU76K-BQiNPKgx.js +1 -0
  915. package/editor-web/assets/chunk-7S6XSTFO-QoEt-6jf.js +2 -0
  916. package/editor-web/assets/chunk-AQDTSKZB-BeuwIv0-.js +72 -0
  917. package/editor-web/assets/chunk-DSNLSHJZ-BHW7sLAz.js +129 -0
  918. package/editor-web/assets/chunk-HAGFOTED-bbGED0hu.js +62 -0
  919. package/editor-web/assets/chunk-HNE4Q36P-FltWp8yo.js +1 -0
  920. package/editor-web/assets/chunk-NQOKRVIF-NeQzr6kH.js +213 -0
  921. package/editor-web/assets/chunk-UHW7PFBP-eA4-WUhn.js +1 -0
  922. package/editor-web/assets/chunk-VQ5W62QI-BPPv325z.js +1 -0
  923. package/editor-web/assets/chunk-WQQL4CDK-DOCIz7Te.js +10 -0
  924. package/editor-web/assets/chunk-YZO67HFG-Dc_ihQJi.js +1 -0
  925. package/editor-web/assets/chunk-ZAUX2LTX-CoqwCPSm.js +1 -0
  926. package/editor-web/assets/chunk-ZCHMQSOR-CZUQPkJx.js +2 -0
  927. package/editor-web/assets/classDiagram-v2-4MYWR3UA-DUh9c50k.js +217 -0
  928. package/editor-web/assets/collaborator-BJU5qwHd.js +1 -0
  929. package/editor-web/assets/cousine-cyrillic-400-normal-D7Mp9hmd.woff +0 -0
  930. package/editor-web/assets/cousine-cyrillic-400-normal-DaHhUWxZ.woff2 +0 -0
  931. package/editor-web/assets/cousine-cyrillic-700-normal-BEGCXyFC.woff +0 -0
  932. package/editor-web/assets/cousine-cyrillic-700-normal-BkkUdX_g.woff2 +0 -0
  933. package/editor-web/assets/cousine-cyrillic-ext-400-normal-CfRZlfI3.woff +0 -0
  934. package/editor-web/assets/cousine-cyrillic-ext-400-normal-DHXCUfGT.woff2 +0 -0
  935. package/editor-web/assets/cousine-cyrillic-ext-700-normal-C15KMCf5.woff2 +0 -0
  936. package/editor-web/assets/cousine-cyrillic-ext-700-normal-DhfE94aH.woff +0 -0
  937. package/editor-web/assets/cousine-greek-400-normal-CWPwwPBl.woff +0 -0
  938. package/editor-web/assets/cousine-greek-400-normal-D28eY3d7.woff2 +0 -0
  939. package/editor-web/assets/cousine-greek-700-normal-DsTT0TsI.woff2 +0 -0
  940. package/editor-web/assets/cousine-greek-700-normal-rpH_OJFi.woff +0 -0
  941. package/editor-web/assets/cousine-greek-ext-400-normal-n0k5mInY.woff +0 -0
  942. package/editor-web/assets/cousine-greek-ext-400-normal-qdX5ZLbv.woff2 +0 -0
  943. package/editor-web/assets/cousine-greek-ext-700-normal-CSy642Ya.woff +0 -0
  944. package/editor-web/assets/cousine-greek-ext-700-normal-DgHq_I2n.woff2 +0 -0
  945. package/editor-web/assets/cousine-hebrew-400-normal-COyK3YUR.woff2 +0 -0
  946. package/editor-web/assets/cousine-hebrew-400-normal-oCiNOOyc.woff +0 -0
  947. package/editor-web/assets/cousine-hebrew-700-normal-BCE0G3Nu.woff2 +0 -0
  948. package/editor-web/assets/cousine-hebrew-700-normal-Bf9jZ0p9.woff +0 -0
  949. package/editor-web/assets/cousine-latin-400-normal-BhCTjpdJ.woff2 +0 -0
  950. package/editor-web/assets/cousine-latin-400-normal-D0CzircV.woff +0 -0
  951. package/editor-web/assets/cousine-latin-700-normal-BO_dhHEP.woff +0 -0
  952. package/editor-web/assets/cousine-latin-700-normal-CwJ0o97b.woff2 +0 -0
  953. package/editor-web/assets/cousine-latin-ext-400-normal-B_NP9zZK.woff +0 -0
  954. package/editor-web/assets/cousine-latin-ext-400-normal-CGywThDL.woff2 +0 -0
  955. package/editor-web/assets/cousine-latin-ext-700-normal-DWTrZAet.woff2 +0 -0
  956. package/editor-web/assets/cousine-latin-ext-700-normal-NvcoPDWO.woff +0 -0
  957. package/editor-web/assets/cousine-vietnamese-400-normal-B4JqDdoh.woff2 +0 -0
  958. package/editor-web/assets/cousine-vietnamese-400-normal-Bfsm3lEf.woff +0 -0
  959. package/editor-web/assets/cousine-vietnamese-700-normal-B4DXCoMM.woff +0 -0
  960. package/editor-web/assets/cousine-vietnamese-700-normal-DLBKC3PH.woff2 +0 -0
  961. package/editor-web/assets/createLucideIcon-B3B95oX5.js +1 -0
  962. package/editor-web/assets/cynefin-EF2NZ3EQ-DUTZiog0.js +1 -0
  963. package/editor-web/assets/cynefinDiagram-WF24UDRP-oAjpfbrU.js +62 -0
  964. package/editor-web/assets/dagre-NK4GIZVX-BrKvKCvb.js +4 -0
  965. package/editor-web/assets/diagram-CBK3MWTC-GekVRnmm.js +24 -0
  966. package/editor-web/assets/diagram-I5XIIV2D-CDd1VFRT.js +24 -0
  967. package/editor-web/assets/diagram-ODIL2UCW-535RISTn.js +30 -0
  968. package/editor-web/assets/diagram-PFBEJUXE-MXzzKCGG.js +3 -0
  969. package/editor-web/assets/diagram-RJA3I4VV-vKVwkQxY.js +41 -0
  970. package/editor-web/assets/diagram-TYUNFSNR-UwGAiQLx.js +200 -0
  971. package/editor-web/assets/dist-9ymlIMhr.js +1 -0
  972. package/editor-web/assets/dist-C6NqUEG4.js +16 -0
  973. package/editor-web/assets/dist-C9UGmCG9.js +6 -0
  974. package/editor-web/assets/dist-CAk5bjBm.js +1 -0
  975. package/editor-web/assets/dist-CKyfo5RM.js +340 -0
  976. package/editor-web/assets/dist-CRaWqNwq.js +37 -0
  977. package/editor-web/assets/dist-CwIBc7HQ.js +1 -0
  978. package/editor-web/assets/dist-DXRmkezB.js +38 -0
  979. package/editor-web/assets/dist-EKK5i0dG.js +219 -0
  980. package/editor-web/assets/dist-YW8hS4IM.js +9 -0
  981. package/editor-web/assets/dist-hHJlpLWo.js +5 -0
  982. package/editor-web/assets/dist-oYKcwWUj.js +4 -0
  983. package/editor-web/assets/dist-shKo7XVN.js +2 -0
  984. package/editor-web/assets/dist-wrKxBrVu.js +24 -0
  985. package/editor-web/assets/ebnfDiagram-V4P3TTPT-73yGokYa.js +1 -0
  986. package/editor-web/assets/elk-QONTBCTQ-BW6V9y6a.js +27 -0
  987. package/editor-web/assets/erDiagram-KYQIGQAA-BPqIJ22h.js +99 -0
  988. package/editor-web/assets/eventmodeling-K75KTNOO-_VZ8jvuy.js +1 -0
  989. package/editor-web/assets/flowDiagram-IUGLLWBU-ouDQYiTr.js +1 -0
  990. package/editor-web/assets/ganttDiagram-R7GPNTJY-DZ157JN2.js +292 -0
  991. package/editor-web/assets/gitGraph-VSP46ZUC-fmcNL9bq.js +1 -0
  992. package/editor-web/assets/gitGraphDiagram-PDYL7XHY-DiZDyksR.js +106 -0
  993. package/editor-web/assets/hint-_AQWCDMj.js +1 -0
  994. package/editor-web/assets/index-BsstP-cI.js +28 -0
  995. package/editor-web/assets/index-DQRcmxBO.css +2 -0
  996. package/editor-web/assets/info-OHQRW6UA-V06620kN.js +1 -0
  997. package/editor-web/assets/infoDiagram-MVDRKAX5-CbIgheWX.js +2 -0
  998. package/editor-web/assets/ishikawaDiagram-HPEHV2GE-D5oJQPkG.js +70 -0
  999. package/editor-web/assets/italic-CDhZKo_q.js +1 -0
  1000. package/editor-web/assets/journeyDiagram-BOSHW7O7-BZEv6JI4.js +139 -0
  1001. package/editor-web/assets/jsx-runtime-DePvh3-m.js +1 -0
  1002. package/editor-web/assets/kanban-definition-FNSA4HC5-CLG1R8y_.js +89 -0
  1003. package/editor-web/assets/layout-SWqqA0yV.js +1 -0
  1004. package/editor-web/assets/mermaid-parser.core-DxDwXM7z.js +7 -0
  1005. package/editor-web/assets/mermaid.core-tU55ZwVG.js +44 -0
  1006. package/editor-web/assets/mindmap-definition-6OY57UG3-CYf4zzAh.js +98 -0
  1007. package/editor-web/assets/minus-Cgmm6ncD.js +1 -0
  1008. package/editor-web/assets/packet-JDAUHWVQ-DsHeKYNL.js +1 -0
  1009. package/editor-web/assets/pegDiagram-ECIUJNBX-CQyh6TTa.js +1 -0
  1010. package/editor-web/assets/picture-B-I4V_JT.js +1 -0
  1011. package/editor-web/assets/pie-XZMESJXO-3vCIvpNB.js +1 -0
  1012. package/editor-web/assets/pieDiagram-GNMPY74T-DF5yGBLn.js +39 -0
  1013. package/editor-web/assets/progress-0B_TVsPi.js +6 -0
  1014. package/editor-web/assets/quadrantDiagram-D57K4MC3-B7pxlDYP.js +7 -0
  1015. package/editor-web/assets/radar-ABXABTNO-cpEA41mL.js +1 -0
  1016. package/editor-web/assets/railroad-I3PHUGI6-BLyy5R2c.js +1 -0
  1017. package/editor-web/assets/railroad-abnf-LNEFI6M7-Y-oyol19.js +1 -0
  1018. package/editor-web/assets/railroad-ebnf-DWYD2UWJ-o58wHZsr.js +1 -0
  1019. package/editor-web/assets/railroad-peg-JR7BVNR7-CcD3PXZ8.js +1 -0
  1020. package/editor-web/assets/railroadDiagram-Y72NRBL7-BuCC4eyy.js +1 -0
  1021. package/editor-web/assets/react-BP46yLMB.js +1 -0
  1022. package/editor-web/assets/react-pgBZqVxJ.js +96 -0
  1023. package/editor-web/assets/read-view-DnCFmJFo.js +1 -0
  1024. package/editor-web/assets/read-view-uW5LmuBT.js +1 -0
  1025. package/editor-web/assets/read-view-v3cx-9XM.js +1 -0
  1026. package/editor-web/assets/repeat-2-C5PCbNsg.js +1 -0
  1027. package/editor-web/assets/requirementDiagram-EQYSW5RA-Dp-JFGn4.js +84 -0
  1028. package/editor-web/assets/sankeyDiagram-SY24JHO5-rYuCqEvw.js +40 -0
  1029. package/editor-web/assets/schemas-Ewwjtbf4.js +1 -0
  1030. package/editor-web/assets/sequenceDiagram-BLEHNHQU-DryW8x6d.js +169 -0
  1031. package/editor-web/assets/session-DiI9KYRI.js +1 -0
  1032. package/editor-web/assets/slides-CCwgBcGH.js +1 -0
  1033. package/editor-web/assets/sound-CqryteNl.js +1 -0
  1034. package/editor-web/assets/stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js +291 -0
  1035. package/editor-web/assets/strikethrough-DJckA35o.js +1 -0
  1036. package/editor-web/assets/svg-BjM9RazX.js +1 -0
  1037. package/editor-web/assets/swatch-DL3HqIjW.js +1 -0
  1038. package/editor-web/assets/swimlanes-B3ENRKFQ-BiRRhhbd.js +1 -0
  1039. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BkOls8Tv.js +8 -0
  1040. package/editor-web/assets/switch-DltnKqN-.js +1 -0
  1041. package/editor-web/assets/syntax-C0iPON60.js +18 -0
  1042. package/editor-web/assets/syntax-CC6QYhCz.js +1 -0
  1043. package/editor-web/assets/tabs-C-re0Kxn.js +1 -0
  1044. package/editor-web/assets/textarea-BGtPqZdB.js +105 -0
  1045. package/editor-web/assets/timeline-definition-JXYKGLGB-D-Q5ZtDF.js +120 -0
  1046. package/editor-web/assets/tinos-cyrillic-400-italic-CUXT6ECP.woff +0 -0
  1047. package/editor-web/assets/tinos-cyrillic-400-italic-D26KjN84.woff2 +0 -0
  1048. package/editor-web/assets/tinos-cyrillic-400-normal-BInRL8Bn.woff +0 -0
  1049. package/editor-web/assets/tinos-cyrillic-400-normal-kS2dpklR.woff2 +0 -0
  1050. package/editor-web/assets/tinos-cyrillic-700-italic-CUFPRiVR.woff2 +0 -0
  1051. package/editor-web/assets/tinos-cyrillic-700-italic-DU6-gZzV.woff +0 -0
  1052. package/editor-web/assets/tinos-cyrillic-700-normal-DGklj3DM.woff2 +0 -0
  1053. package/editor-web/assets/tinos-cyrillic-700-normal-HYhic5tl.woff +0 -0
  1054. package/editor-web/assets/tinos-cyrillic-ext-400-italic-Bz6A2Xew.woff2 +0 -0
  1055. package/editor-web/assets/tinos-cyrillic-ext-400-italic-CgiySoL2.woff +0 -0
  1056. package/editor-web/assets/tinos-cyrillic-ext-400-normal-DdITlKdb.woff2 +0 -0
  1057. package/editor-web/assets/tinos-cyrillic-ext-400-normal-l41d2z3M.woff +0 -0
  1058. package/editor-web/assets/tinos-cyrillic-ext-700-italic-BQu9kgBz.woff +0 -0
  1059. package/editor-web/assets/tinos-cyrillic-ext-700-italic-Ceua-rFl.woff2 +0 -0
  1060. package/editor-web/assets/tinos-cyrillic-ext-700-normal-CE86bzrR.woff2 +0 -0
  1061. package/editor-web/assets/tinos-cyrillic-ext-700-normal-yBtNmQaZ.woff +0 -0
  1062. package/editor-web/assets/tinos-greek-400-italic-CITkaQD8.woff2 +0 -0
  1063. package/editor-web/assets/tinos-greek-400-italic-Dc-Zjc_Z.woff +0 -0
  1064. package/editor-web/assets/tinos-greek-400-normal-BKmklotr.woff2 +0 -0
  1065. package/editor-web/assets/tinos-greek-400-normal-D6DCdDEC.woff +0 -0
  1066. package/editor-web/assets/tinos-greek-700-italic-C474ACqK.woff2 +0 -0
  1067. package/editor-web/assets/tinos-greek-700-italic-VKIu6SKO.woff +0 -0
  1068. package/editor-web/assets/tinos-greek-700-normal-CAsZoNo7.woff +0 -0
  1069. package/editor-web/assets/tinos-greek-700-normal-DZiY5218.woff2 +0 -0
  1070. package/editor-web/assets/tinos-greek-ext-400-italic-C7FWsVQN.woff +0 -0
  1071. package/editor-web/assets/tinos-greek-ext-400-italic-QOcg_kQA.woff2 +0 -0
  1072. package/editor-web/assets/tinos-greek-ext-400-normal-1tgngtmV.woff2 +0 -0
  1073. package/editor-web/assets/tinos-greek-ext-400-normal-BY5Lx0CY.woff +0 -0
  1074. package/editor-web/assets/tinos-greek-ext-700-italic-2QV0uNor.woff2 +0 -0
  1075. package/editor-web/assets/tinos-greek-ext-700-italic-zoEBc9cL.woff +0 -0
  1076. package/editor-web/assets/tinos-greek-ext-700-normal-Bu9AJavU.woff +0 -0
  1077. package/editor-web/assets/tinos-greek-ext-700-normal-nVGGTb9r.woff2 +0 -0
  1078. package/editor-web/assets/tinos-hebrew-400-italic-Cp89YzKh.woff2 +0 -0
  1079. package/editor-web/assets/tinos-hebrew-400-italic-k5xAEjEk.woff +0 -0
  1080. package/editor-web/assets/tinos-hebrew-400-normal-B17QmYDt.woff2 +0 -0
  1081. package/editor-web/assets/tinos-hebrew-400-normal-DhGqnHb1.woff +0 -0
  1082. package/editor-web/assets/tinos-hebrew-700-italic-BSdnwE5c.woff2 +0 -0
  1083. package/editor-web/assets/tinos-hebrew-700-italic-DuNrcWBH.woff +0 -0
  1084. package/editor-web/assets/tinos-hebrew-700-normal-B737la7J.woff +0 -0
  1085. package/editor-web/assets/tinos-hebrew-700-normal-BNVAlJ0i.woff2 +0 -0
  1086. package/editor-web/assets/tinos-latin-400-italic-BYAl0kbZ.woff2 +0 -0
  1087. package/editor-web/assets/tinos-latin-400-italic-HcuZF3H0.woff +0 -0
  1088. package/editor-web/assets/tinos-latin-400-normal-B05awSIM.woff +0 -0
  1089. package/editor-web/assets/tinos-latin-400-normal-rilFpyjL.woff2 +0 -0
  1090. package/editor-web/assets/tinos-latin-700-italic-M0H2aQ0O.woff +0 -0
  1091. package/editor-web/assets/tinos-latin-700-italic-vJg8Axdx.woff2 +0 -0
  1092. package/editor-web/assets/tinos-latin-700-normal-CjcRkLdR.woff +0 -0
  1093. package/editor-web/assets/tinos-latin-700-normal-qGf2y18O.woff2 +0 -0
  1094. package/editor-web/assets/tinos-latin-ext-400-italic-DKtLLJa2.woff +0 -0
  1095. package/editor-web/assets/tinos-latin-ext-400-italic-WsHooD3r.woff2 +0 -0
  1096. package/editor-web/assets/tinos-latin-ext-400-normal-BUQPNqi9.woff +0 -0
  1097. package/editor-web/assets/tinos-latin-ext-400-normal-C68eX7xt.woff2 +0 -0
  1098. package/editor-web/assets/tinos-latin-ext-700-italic-BtLLKPsV.woff2 +0 -0
  1099. package/editor-web/assets/tinos-latin-ext-700-italic-Gmi35kWa.woff +0 -0
  1100. package/editor-web/assets/tinos-latin-ext-700-normal-CesJqEpY.woff2 +0 -0
  1101. package/editor-web/assets/tinos-latin-ext-700-normal-nLvPiDAe.woff +0 -0
  1102. package/editor-web/assets/tinos-vietnamese-400-italic-BJdaJnTX.woff2 +0 -0
  1103. package/editor-web/assets/tinos-vietnamese-400-italic-C0nreyLC.woff +0 -0
  1104. package/editor-web/assets/tinos-vietnamese-400-normal-BYl6xqrz.woff +0 -0
  1105. package/editor-web/assets/tinos-vietnamese-400-normal-CrJeqB3M.woff2 +0 -0
  1106. package/editor-web/assets/tinos-vietnamese-700-italic-BPJuDXkI.woff2 +0 -0
  1107. package/editor-web/assets/tinos-vietnamese-700-italic-Dl6iR3hy.woff +0 -0
  1108. package/editor-web/assets/tinos-vietnamese-700-normal-CmLX0U_H.woff2 +0 -0
  1109. package/editor-web/assets/tinos-vietnamese-700-normal-bKCZ5S7w.woff +0 -0
  1110. package/editor-web/assets/trash-2-Bjj6cWzP.js +1 -0
  1111. package/editor-web/assets/treeView-D4JQ5SDB-B6DDatXq.js +1 -0
  1112. package/editor-web/assets/treemap-SAJKECNS-D7j5ZhiI.js +1 -0
  1113. package/editor-web/assets/undo-2-yOSG766T.js +1 -0
  1114. package/editor-web/assets/usecaseDiagram-WPOLBNNX-tkrdKUJB.js +328 -0
  1115. package/editor-web/assets/vennDiagram-Q3Y3IDCW-Ch4XbSnD.js +34 -0
  1116. package/editor-web/assets/video-DXFiCNGc.js +1 -0
  1117. package/editor-web/assets/wardley-7MLQ67FV-Bynt7qNQ.js +1 -0
  1118. package/editor-web/assets/wardleyDiagram-IVAIDKWA-DRuSgm_L.js +78 -0
  1119. package/editor-web/assets/xychartDiagram-4URNHDU4-DctpvfkL.js +7 -0
  1120. package/editor-web/index.html +7 -3
  1121. package/package.json +21 -5
  1122. package/dist/audio-text.js +0 -6
  1123. package/dist/cloud-hearing.js +0 -2
  1124. package/dist/commands/audio.js +0 -4
  1125. package/dist/commands/inspect/contrast.js +0 -2
  1126. package/dist/commands/inspect/fidelity.js +0 -2
  1127. package/dist/commands/inspect/joins.js +0 -2
  1128. package/dist/commands/inspect/motion.js +0 -4
  1129. package/dist/commands/inspect/sheet.js +0 -3
  1130. package/dist/commands/inspect/timeline.js +0 -3
  1131. package/dist/commands/model.js +0 -3
  1132. package/dist/commands/reference-text.js +0 -5
  1133. package/dist/commands/reference.js +0 -2
  1134. package/dist/commands/scenery-input.js +0 -2
  1135. package/dist/commands/scenery.js +0 -7
  1136. package/dist/commands/sheet.js +0 -8
  1137. package/dist/commands/site.js +0 -4
  1138. package/dist/commands/slides.js +0 -3
  1139. package/dist/commands/voice.js +0 -3
  1140. package/dist/commands/words-text.js +0 -6
  1141. package/dist/commands/words.js +0 -2
  1142. package/dist/node_modules/@allyhub/build/dist/sheet-code.d.ts +0 -34
  1143. package/dist/node_modules/@allyhub/build/dist/sheet-code.js +0 -2
  1144. package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +0 -11
  1145. package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +0 -33
  1146. package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +0 -206
  1147. package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +0 -15
  1148. package/dist/node_modules/@allyhub/chart/dist/index.d.ts +0 -6
  1149. package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +0 -22
  1150. package/dist/node_modules/@allyhub/check/dist/generated.js +0 -2
  1151. package/dist/node_modules/@allyhub/check/dist/plans.js +0 -3
  1152. package/dist/node_modules/@allyhub/check/dist/scenery.js +0 -2
  1153. package/dist/node_modules/@allyhub/doc/dist/chart.d.ts +0 -65
  1154. package/dist/node_modules/@allyhub/doc/dist/color.d.ts +0 -6
  1155. package/dist/node_modules/@allyhub/doc/dist/columns.d.ts +0 -6
  1156. package/dist/node_modules/@allyhub/doc/dist/component.d.ts +0 -27
  1157. package/dist/node_modules/@allyhub/doc/dist/docx.d.ts +0 -39
  1158. package/dist/node_modules/@allyhub/doc/dist/html.d.ts +0 -49
  1159. package/dist/node_modules/@allyhub/doc/dist/index.d.ts +0 -13
  1160. package/dist/node_modules/@allyhub/doc/dist/markdown.d.ts +0 -13
  1161. package/dist/node_modules/@allyhub/doc/dist/math.d.ts +0 -11
  1162. package/dist/node_modules/@allyhub/doc/dist/model.d.ts +0 -280
  1163. package/dist/node_modules/@allyhub/doc/dist/paper.d.ts +0 -39
  1164. package/dist/node_modules/@allyhub/doc/dist/parse.d.ts +0 -24
  1165. package/dist/node_modules/@allyhub/doc/dist/patch.d.ts +0 -8
  1166. package/dist/node_modules/@allyhub/doc/dist/title.d.ts +0 -23
  1167. package/dist/node_modules/@allyhub/doc/dist/write.d.ts +0 -18
  1168. package/dist/node_modules/@allyhub/export/dist/deck-pptx.js +0 -2
  1169. package/dist/node_modules/@allyhub/formats/dist/data/comments.d.ts +0 -94
  1170. package/dist/node_modules/@allyhub/formats/dist/data/comments.js +0 -2
  1171. package/dist/node_modules/@allyhub/measure/dist/contrast.js +0 -2
  1172. package/dist/node_modules/@allyhub/measure/dist/cuts.js +0 -2
  1173. package/dist/node_modules/@allyhub/measure/dist/facts.js +0 -2
  1174. package/dist/node_modules/@allyhub/measure/dist/fidelity.js +0 -3
  1175. package/dist/node_modules/@allyhub/measure/dist/overlay.js +0 -2
  1176. package/dist/node_modules/@allyhub/measure/dist/recording-report.js +0 -2
  1177. package/dist/node_modules/@allyhub/measure/dist/reference/piece.js +0 -2
  1178. package/dist/node_modules/@allyhub/measure/dist/reference/sets.js +0 -2
  1179. package/dist/node_modules/@allyhub/measure/dist/reference/text.js +0 -2
  1180. package/dist/node_modules/@allyhub/measure/dist/reference/video.js +0 -2
  1181. package/dist/node_modules/@allyhub/measure/dist/sound-report.js +0 -2
  1182. package/dist/node_modules/@allyhub/media/dist/asr/hear.d.ts +0 -41
  1183. package/dist/node_modules/@allyhub/media/dist/asr/hear.js +0 -2
  1184. package/dist/node_modules/@allyhub/media/dist/asr/languages.d.ts +0 -9
  1185. package/dist/node_modules/@allyhub/media/dist/asr/languages.js +0 -2
  1186. package/dist/node_modules/@allyhub/media/dist/asr/parakeet.d.ts +0 -54
  1187. package/dist/node_modules/@allyhub/media/dist/asr/parakeet.js +0 -7
  1188. package/dist/node_modules/@allyhub/media/dist/asr/protocol.d.ts +0 -20
  1189. package/dist/node_modules/@allyhub/media/dist/asr/protocol.js +0 -2
  1190. package/dist/node_modules/@allyhub/media/dist/asr/transcribe.d.ts +0 -50
  1191. package/dist/node_modules/@allyhub/media/dist/asr/transcribe.js +0 -2
  1192. package/dist/node_modules/@allyhub/media/dist/asr/windows.d.ts +0 -34
  1193. package/dist/node_modules/@allyhub/media/dist/asr/windows.js +0 -2
  1194. package/dist/node_modules/@allyhub/media/dist/asr/words.d.ts +0 -7
  1195. package/dist/node_modules/@allyhub/media/dist/asr/words.js +0 -2
  1196. package/dist/node_modules/@allyhub/media/dist/asr/worker.d.ts +0 -2
  1197. package/dist/node_modules/@allyhub/media/dist/asr/worker.js +0 -4
  1198. package/dist/node_modules/@allyhub/media/dist/local.d.ts +0 -39
  1199. package/dist/node_modules/@allyhub/media/dist/local.js +0 -2
  1200. package/dist/node_modules/@allyhub/media/dist/ocr/lines.d.ts +0 -36
  1201. package/dist/node_modules/@allyhub/media/dist/ocr/lines.js +0 -2
  1202. package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.d.ts +0 -62
  1203. package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.js +0 -2
  1204. package/dist/node_modules/@allyhub/media/dist/ocr/text.d.ts +0 -36
  1205. package/dist/node_modules/@allyhub/media/dist/ocr/text.js +0 -4
  1206. package/dist/node_modules/@allyhub/media/dist/ocr/worker.d.ts +0 -2
  1207. package/dist/node_modules/@allyhub/media/dist/ocr/worker.js +0 -5
  1208. package/dist/node_modules/@allyhub/media/dist/vision/common.d.ts +0 -32
  1209. package/dist/node_modules/@allyhub/media/dist/vision/common.js +0 -2
  1210. package/dist/node_modules/@allyhub/media/dist/vision/faces.d.ts +0 -18
  1211. package/dist/node_modules/@allyhub/media/dist/vision/faces.js +0 -2
  1212. package/dist/node_modules/@allyhub/media/dist/vision/index-media.d.ts +0 -48
  1213. package/dist/node_modules/@allyhub/media/dist/vision/index-media.js +0 -3
  1214. package/dist/node_modules/@allyhub/media/dist/vision/matte.d.ts +0 -16
  1215. package/dist/node_modules/@allyhub/media/dist/vision/matte.js +0 -2
  1216. package/dist/node_modules/@allyhub/media/dist/vision/mattes.d.ts +0 -109
  1217. package/dist/node_modules/@allyhub/media/dist/vision/mattes.js +0 -2
  1218. package/dist/node_modules/@allyhub/media/dist/vision/models.d.ts +0 -16
  1219. package/dist/node_modules/@allyhub/media/dist/vision/models.js +0 -2
  1220. package/dist/node_modules/@allyhub/media/dist/vision/protocol.d.ts +0 -51
  1221. package/dist/node_modules/@allyhub/media/dist/vision/protocol.js +0 -2
  1222. package/dist/node_modules/@allyhub/media/dist/vision/run.d.ts +0 -12
  1223. package/dist/node_modules/@allyhub/media/dist/vision/run.js +0 -4
  1224. package/dist/node_modules/@allyhub/media/dist/vision/runtime.d.ts +0 -16
  1225. package/dist/node_modules/@allyhub/media/dist/vision/runtime.js +0 -8
  1226. package/dist/node_modules/@allyhub/media/dist/vision/status.d.ts +0 -24
  1227. package/dist/node_modules/@allyhub/media/dist/vision/status.js +0 -2
  1228. package/dist/node_modules/@allyhub/media/dist/vision/track.d.ts +0 -54
  1229. package/dist/node_modules/@allyhub/media/dist/vision/track.js +0 -2
  1230. package/dist/node_modules/@allyhub/media/dist/vision/worker.d.ts +0 -2
  1231. package/dist/node_modules/@allyhub/media/dist/vision/worker.js +0 -5
  1232. package/dist/node_modules/@allyhub/media/dist/vision/yunet.d.ts +0 -35
  1233. package/dist/node_modules/@allyhub/media/dist/vision/yunet.js +0 -2
  1234. package/dist/node_modules/@allyhub/media/dist/worker-process.d.ts +0 -3
  1235. package/dist/node_modules/@allyhub/media/dist/worker-process.js +0 -2
  1236. package/dist/node_modules/@allyhub/ooxml/dist/brightness.d.ts +0 -31
  1237. package/dist/node_modules/@allyhub/ooxml/dist/color.d.ts +0 -33
  1238. package/dist/node_modules/@allyhub/ooxml/dist/enums.d.ts +0 -13
  1239. package/dist/node_modules/@allyhub/ooxml/dist/ext.d.ts +0 -79
  1240. package/dist/node_modules/@allyhub/ooxml/dist/generated/enums.d.ts +0 -132
  1241. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +0 -28
  1242. package/dist/node_modules/@allyhub/ooxml/dist/generated/spec.d.ts +0 -4708
  1243. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +0 -57
  1244. package/dist/node_modules/@allyhub/ooxml/dist/index.d.ts +0 -10
  1245. package/dist/node_modules/@allyhub/ooxml/dist/mce.d.ts +0 -12
  1246. package/dist/node_modules/@allyhub/ooxml/dist/node.d.ts +0 -111
  1247. package/dist/node_modules/@allyhub/ooxml/dist/ns.d.ts +0 -45
  1248. package/dist/node_modules/@allyhub/ooxml/dist/opc.d.ts +0 -48
  1249. package/dist/node_modules/@allyhub/ooxml/dist/report.d.ts +0 -45
  1250. package/dist/node_modules/@allyhub/ooxml/dist/xml.d.ts +0 -28
  1251. package/dist/node_modules/@allyhub/project/dist/deck-keys.js +0 -2
  1252. package/dist/node_modules/@allyhub/project/dist/deck-measure.js +0 -2
  1253. package/dist/node_modules/@allyhub/project/dist/deck-pool.js +0 -2
  1254. package/dist/node_modules/@allyhub/project/dist/says.js +0 -2
  1255. package/dist/node_modules/@allyhub/project/dist/scenery.js +0 -2
  1256. package/dist/node_modules/@allyhub/project/dist/stretch.js +0 -2
  1257. package/dist/node_modules/@allyhub/render/dist/doc/fonts.js +0 -4
  1258. package/dist/node_modules/@allyhub/render/dist/doc/index.js +0 -2
  1259. package/dist/node_modules/@allyhub/render/dist/doc/pages.js +0 -32
  1260. package/dist/node_modules/@allyhub/render/dist/doc/print.js +0 -41
  1261. package/dist/node_modules/@allyhub/render/dist/webp.js +0 -2
  1262. package/dist/node_modules/@allyhub/runtime/dist/console.js +0 -2
  1263. package/dist/node_modules/@allyhub/runtime/dist/env.js +0 -2
  1264. package/dist/node_modules/@allyhub/runtime/dist/errors.js +0 -2
  1265. package/dist/node_modules/@allyhub/runtime/dist/inspect.js +0 -3
  1266. package/dist/node_modules/@allyhub/runtime/dist/mix-plan.js +0 -2
  1267. package/dist/node_modules/@allyhub/runtime/dist/reads.js +0 -2
  1268. package/dist/node_modules/@allyhub/runtime/dist/stage.js +0 -2
  1269. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
  1270. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package.json +0 -8
  1271. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
  1272. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package.json +0 -8
  1273. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package-lock.json +0 -128
  1274. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package.json +0 -9
  1275. package/dist/node_modules/@allyhub/sheet/dist/address.d.ts +0 -32
  1276. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.d.ts +0 -23
  1277. package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +0 -204
  1278. package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +0 -19
  1279. package/dist/node_modules/@allyhub/sheet/dist/api/hint.d.ts +0 -3
  1280. package/dist/node_modules/@allyhub/sheet/dist/api/index.d.ts +0 -8
  1281. package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +0 -83
  1282. package/dist/node_modules/@allyhub/sheet/dist/api/rectangles.d.ts +0 -4
  1283. package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +0 -170
  1284. package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +0 -117
  1285. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +0 -362
  1286. package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +0 -68
  1287. package/dist/node_modules/@allyhub/sheet/dist/calc/analyse.d.ts +0 -27
  1288. package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.d.ts +0 -23
  1289. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.d.ts +0 -199
  1290. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/aggregate.d.ts +0 -2
  1291. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/convert.d.ts +0 -4
  1292. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.d.ts +0 -15
  1293. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/database.d.ts +0 -2
  1294. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.d.ts +0 -2
  1295. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.d.ts +0 -95
  1296. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/delimiters.d.ts +0 -16
  1297. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/distributions.d.ts +0 -2
  1298. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/dynamic.d.ts +0 -19
  1299. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/finance.d.ts +0 -2
  1300. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/index.d.ts +0 -17
  1301. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.d.ts +0 -2
  1302. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.d.ts +0 -2
  1303. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/logical.d.ts +0 -2
  1304. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.d.ts +0 -2
  1305. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.d.ts +0 -2
  1306. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/modern.d.ts +0 -2
  1307. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/special.d.ts +0 -29
  1308. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.d.ts +0 -2
  1309. package/dist/node_modules/@allyhub/sheet/dist/calc/graph.d.ts +0 -38
  1310. package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.d.ts +0 -19
  1311. package/dist/node_modules/@allyhub/sheet/dist/calc/remote.d.ts +0 -49
  1312. package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +0 -82
  1313. package/dist/node_modules/@allyhub/sheet/dist/calc/types.d.ts +0 -55
  1314. package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +0 -52
  1315. package/dist/node_modules/@allyhub/sheet/dist/check.d.ts +0 -15
  1316. package/dist/node_modules/@allyhub/sheet/dist/diff.d.ts +0 -79
  1317. package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +0 -154
  1318. package/dist/node_modules/@allyhub/sheet/dist/export.d.ts +0 -32
  1319. package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +0 -19
  1320. package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +0 -24
  1321. package/dist/node_modules/@allyhub/sheet/dist/fill.d.ts +0 -30
  1322. package/dist/node_modules/@allyhub/sheet/dist/filter.d.ts +0 -29
  1323. package/dist/node_modules/@allyhub/sheet/dist/format.d.ts +0 -15
  1324. package/dist/node_modules/@allyhub/sheet/dist/formula/ast.d.ts +0 -113
  1325. package/dist/node_modules/@allyhub/sheet/dist/formula/move.d.ts +0 -6
  1326. package/dist/node_modules/@allyhub/sheet/dist/formula/parse.d.ts +0 -4
  1327. package/dist/node_modules/@allyhub/sheet/dist/formula/print.d.ts +0 -6
  1328. package/dist/node_modules/@allyhub/sheet/dist/formula/rewrite.d.ts +0 -65
  1329. package/dist/node_modules/@allyhub/sheet/dist/formula/walk.d.ts +0 -6
  1330. package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +0 -46
  1331. package/dist/node_modules/@allyhub/sheet/dist/html.d.ts +0 -82
  1332. package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +0 -11
  1333. package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +0 -42
  1334. package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +0 -25
  1335. package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +0 -98
  1336. package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +0 -4
  1337. package/dist/node_modules/@allyhub/sheet/dist/profile.d.ts +0 -30
  1338. package/dist/node_modules/@allyhub/sheet/dist/rules.d.ts +0 -56
  1339. package/dist/node_modules/@allyhub/sheet/dist/scenario.d.ts +0 -42
  1340. package/dist/node_modules/@allyhub/sheet/dist/series.d.ts +0 -10
  1341. package/dist/node_modules/@allyhub/sheet/dist/sort.d.ts +0 -24
  1342. package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +0 -38
  1343. package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +0 -32
  1344. package/dist/node_modules/@allyhub/sheet/dist/table-styles.d.ts +0 -3
  1345. package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +0 -26
  1346. package/dist/node_modules/@allyhub/sheet/dist/values.d.ts +0 -67
  1347. package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +0 -324
  1348. package/dist/node_modules/@allyhub/sheet/dist/write.d.ts +0 -5
  1349. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +0 -53
  1350. package/dist/node_modules/@allyhub/sheet/dist/xlsx/colors.d.ts +0 -19
  1351. package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.d.ts +0 -31
  1352. package/dist/node_modules/@allyhub/sheet/dist/xlsx/functions.d.ts +0 -15
  1353. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +0 -49
  1354. package/dist/node_modules/@allyhub/sheet/dist/xlsx/index.d.ts +0 -5
  1355. package/dist/node_modules/@allyhub/sheet/dist/xlsx/numfmt.d.ts +0 -8
  1356. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +0 -159
  1357. package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.d.ts +0 -23
  1358. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.d.ts +0 -25
  1359. package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.d.ts +0 -3
  1360. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.d.ts +0 -23
  1361. package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.d.ts +0 -28
  1362. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +0 -40
  1363. package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +0 -129
  1364. package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +0 -730
  1365. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.d.ts +0 -18
  1366. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +0 -202
  1367. package/dist/node_modules/@allyhub/slides-core/dist/check.d.ts +0 -7
  1368. package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +0 -33
  1369. package/dist/node_modules/@allyhub/slides-core/dist/components.d.ts +0 -31
  1370. package/dist/node_modules/@allyhub/slides-core/dist/enums.d.ts +0 -329
  1371. package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +0 -131
  1372. package/dist/node_modules/@allyhub/slides-core/dist/identity.d.ts +0 -17
  1373. package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +0 -25
  1374. package/dist/node_modules/@allyhub/slides-core/dist/lang.d.ts +0 -6
  1375. package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +0 -34
  1376. package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +0 -58
  1377. package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +0 -293
  1378. package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +0 -84
  1379. package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +0 -6
  1380. package/dist/node_modules/@allyhub/slides-core/dist/placeholders.d.ts +0 -7
  1381. package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +0 -202
  1382. package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +0 -45
  1383. package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +0 -61
  1384. package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +0 -7
  1385. package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +0 -72
  1386. package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +0 -62
  1387. package/dist/node_modules/@allyhub/slides-core/dist/values.d.ts +0 -7
  1388. package/dist/node_modules/@allyhub/stage/dist/bakes.js +0 -4
  1389. package/dist/node_modules/@allyhub/stage/dist/graphics.js +0 -2
  1390. package/dist/node_modules/@allyhub/stage/dist/scenery-page.js +0 -12
  1391. package/dist/node_modules/@allyhub/stage/dist/scenery.js +0 -2
  1392. package/dist/node_modules/@allyhub/stage-page/dist/runtime/runtime.js +0 -79
  1393. package/dist/node_modules/@allyhub/video-core/dist/anchors.d.ts +0 -164
  1394. package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +0 -148
  1395. package/dist/node_modules/@allyhub/video-core/dist/backdrop.d.ts +0 -87
  1396. package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +0 -122
  1397. package/dist/node_modules/@allyhub/video-core/dist/component.js +0 -2
  1398. package/dist/node_modules/@allyhub/video-core/dist/contrast.d.ts +0 -98
  1399. package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +0 -77
  1400. package/dist/node_modules/@allyhub/video-core/dist/edit.d.ts +0 -77
  1401. package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +0 -163
  1402. package/dist/node_modules/@allyhub/video-core/dist/export.d.ts +0 -97
  1403. package/dist/node_modules/@allyhub/video-core/dist/export.js +0 -2
  1404. package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +0 -1179
  1405. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +0 -168
  1406. package/dist/node_modules/@allyhub/video-core/dist/formats.d.ts +0 -205
  1407. package/dist/node_modules/@allyhub/video-core/dist/formats.js +0 -2
  1408. package/dist/node_modules/@allyhub/video-core/dist/gen.d.ts +0 -37
  1409. package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +0 -41
  1410. package/dist/node_modules/@allyhub/video-core/dist/look.d.ts +0 -66
  1411. package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +0 -563
  1412. package/dist/node_modules/@allyhub/video-core/dist/media.d.ts +0 -226
  1413. package/dist/node_modules/@allyhub/video-core/dist/media.js +0 -2
  1414. package/dist/node_modules/@allyhub/video-core/dist/messages.d.ts +0 -88
  1415. package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +0 -56
  1416. package/dist/node_modules/@allyhub/video-core/dist/music.d.ts +0 -111
  1417. package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +0 -1154
  1418. package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +0 -37
  1419. package/dist/node_modules/@allyhub/video-core/dist/problem.d.ts +0 -278
  1420. package/dist/node_modules/@allyhub/video-core/dist/problem.js +0 -2
  1421. package/dist/node_modules/@allyhub/video-core/dist/render-types.d.ts +0 -49
  1422. package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +0 -350
  1423. package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +0 -180
  1424. package/dist/node_modules/@allyhub/video-core/dist/script.d.ts +0 -76
  1425. package/dist/node_modules/@allyhub/video-core/dist/script.js +0 -2
  1426. package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +0 -214
  1427. package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +0 -72
  1428. package/dist/node_modules/@allyhub/video-core/dist/source.d.ts +0 -7
  1429. package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +0 -83
  1430. package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +0 -631
  1431. package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +0 -88
  1432. package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +0 -288
  1433. package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +0 -300
  1434. package/dist/node_modules/@allyhub/video-core/dist/voice.d.ts +0 -175
  1435. package/dist/text/timeline-text.js +0 -2
  1436. package/editor-web/assets/abnfDiagram-WEYOIA3C-B9SmmTJt.js +0 -1
  1437. package/editor-web/assets/architecture-WOLXFQ4H-m-T100yu.js +0 -1
  1438. package/editor-web/assets/architectureDiagram-ZHVYKT53-B5nwfRgH.js +0 -36
  1439. package/editor-web/assets/blockDiagram-RJAE7QA3-ClawtW7w.js +0 -140
  1440. package/editor-web/assets/c4Diagram-XDPPPE54-CFHQpxmY.js +0 -38
  1441. package/editor-web/assets/calc-worker-BTNuOUVJ.js +0 -158
  1442. package/editor-web/assets/channel-hhT2g1yB.js +0 -1
  1443. package/editor-web/assets/choice-BJc3Tv5F.js +0 -10
  1444. package/editor-web/assets/chunk-2E7WHVMD-CoQrt8De.js +0 -88
  1445. package/editor-web/assets/chunk-4EMNKR2T-Iy5ZP2hH.js +0 -1
  1446. package/editor-web/assets/chunk-55XCU76K-DsS8sEfz.js +0 -1
  1447. package/editor-web/assets/chunk-7S6XSTFO-Co220fFP.js +0 -2
  1448. package/editor-web/assets/chunk-AQDTSKZB-JIGZAIpF.js +0 -72
  1449. package/editor-web/assets/chunk-DSNLSHJZ-Ror_NzZx.js +0 -129
  1450. package/editor-web/assets/chunk-HAGFOTED-C07qbJaC.js +0 -62
  1451. package/editor-web/assets/chunk-HNE4Q36P-CM3bprQy.js +0 -1
  1452. package/editor-web/assets/chunk-NQOKRVIF-ipM1cuU7.js +0 -213
  1453. package/editor-web/assets/chunk-UHW7PFBP-CA8McMqW.js +0 -1
  1454. package/editor-web/assets/chunk-VQ5W62QI-DEDvdgPj.js +0 -1
  1455. package/editor-web/assets/chunk-WQQL4CDK-h5ZO7LF7.js +0 -10
  1456. package/editor-web/assets/chunk-YZO67HFG-yC3xdjnt.js +0 -1
  1457. package/editor-web/assets/chunk-ZAUX2LTX-3rRCWRvD.js +0 -1
  1458. package/editor-web/assets/chunk-ZCHMQSOR-DK_PLi39.js +0 -2
  1459. package/editor-web/assets/classDiagram-v2-4MYWR3UA-B9pB-HTm.js +0 -217
  1460. package/editor-web/assets/cynefin-EF2NZ3EQ-CSd3PDdQ.js +0 -1
  1461. package/editor-web/assets/cynefinDiagram-WF24UDRP-BBCequ3T.js +0 -62
  1462. package/editor-web/assets/dagre-NK4GIZVX-C7ZOWX5t.js +0 -4
  1463. package/editor-web/assets/diagram-CBK3MWTC-CQVvlSNo.js +0 -24
  1464. package/editor-web/assets/diagram-I5XIIV2D-BCkke5x3.js +0 -24
  1465. package/editor-web/assets/diagram-ODIL2UCW-DDWQXIlX.js +0 -30
  1466. package/editor-web/assets/diagram-PFBEJUXE-C31QlFzr.js +0 -3
  1467. package/editor-web/assets/diagram-RJA3I4VV-DUXAFmI_.js +0 -41
  1468. package/editor-web/assets/diagram-TYUNFSNR-BCxuoEs9.js +0 -200
  1469. package/editor-web/assets/dist-BRuoygB7.js +0 -2
  1470. package/editor-web/assets/dist-CK42vCmN.js +0 -550
  1471. package/editor-web/assets/dist-C_buDsM-.js +0 -36
  1472. package/editor-web/assets/dist-DNcXHhzn.js +0 -37
  1473. package/editor-web/assets/dist-HxiPpGXi.js +0 -10
  1474. package/editor-web/assets/dist-PF3VMsK7.js +0 -1
  1475. package/editor-web/assets/ebnfDiagram-V4P3TTPT-Drbe1R2R.js +0 -1
  1476. package/editor-web/assets/elk-QONTBCTQ-Bqwuc5U-.js +0 -27
  1477. package/editor-web/assets/erDiagram-KYQIGQAA-lUcyPgf3.js +0 -99
  1478. package/editor-web/assets/eventmodeling-K75KTNOO-BfxFVok7.js +0 -1
  1479. package/editor-web/assets/flowDiagram-IUGLLWBU-FJVml4lT.js +0 -1
  1480. package/editor-web/assets/ganttDiagram-R7GPNTJY-AYc1JnE_.js +0 -292
  1481. package/editor-web/assets/gitGraph-VSP46ZUC-Z_2ysYZF.js +0 -1
  1482. package/editor-web/assets/gitGraphDiagram-PDYL7XHY-CB2O1LZ6.js +0 -106
  1483. package/editor-web/assets/hint-BwGc32IE.js +0 -1
  1484. package/editor-web/assets/index-BQKSbBSy.js +0 -69
  1485. package/editor-web/assets/index-CfD80QPx.css +0 -2
  1486. package/editor-web/assets/info-OHQRW6UA-BPePkERU.js +0 -1
  1487. package/editor-web/assets/infoDiagram-MVDRKAX5-CNluCREj.js +0 -2
  1488. package/editor-web/assets/ishikawaDiagram-HPEHV2GE-DIBDBol9.js +0 -70
  1489. package/editor-web/assets/journeyDiagram-BOSHW7O7-C4Hc63C8.js +0 -139
  1490. package/editor-web/assets/kanban-definition-FNSA4HC5-BShCYR9Q.js +0 -89
  1491. package/editor-web/assets/mermaid-parser.core-KGVt2icR.js +0 -7
  1492. package/editor-web/assets/mermaid.core-CVH2hRmI.js +0 -44
  1493. package/editor-web/assets/mindmap-definition-6OY57UG3-C1mo9OeK.js +0 -98
  1494. package/editor-web/assets/packet-JDAUHWVQ-B7YpYnvD.js +0 -1
  1495. package/editor-web/assets/pegDiagram-ECIUJNBX-Es99bVEq.js +0 -1
  1496. package/editor-web/assets/pie-XZMESJXO-xTUp8UcP.js +0 -1
  1497. package/editor-web/assets/pieDiagram-GNMPY74T-CD91pLk4.js +0 -39
  1498. package/editor-web/assets/quadrantDiagram-D57K4MC3-CSnvxc94.js +0 -7
  1499. package/editor-web/assets/radar-ABXABTNO-Dj-t0L18.js +0 -1
  1500. package/editor-web/assets/railroad-I3PHUGI6-BK32uCwU.js +0 -1
  1501. package/editor-web/assets/railroad-abnf-LNEFI6M7-D5R8k6d0.js +0 -1
  1502. package/editor-web/assets/railroad-ebnf-DWYD2UWJ-Crm1KEAC.js +0 -1
  1503. package/editor-web/assets/railroad-peg-JR7BVNR7-BILXac49.js +0 -1
  1504. package/editor-web/assets/railroadDiagram-Y72NRBL7-CevyjvbY.js +0 -1
  1505. package/editor-web/assets/react-BSSSHUyV.js +0 -101
  1506. package/editor-web/assets/requirementDiagram-EQYSW5RA-B5N8Q9VV.js +0 -84
  1507. package/editor-web/assets/sankeyDiagram-SY24JHO5-bCTsxF1A.js +0 -40
  1508. package/editor-web/assets/sequenceDiagram-BLEHNHQU-M37m0sEI.js +0 -169
  1509. package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BDIn7XwV.js +0 -291
  1510. package/editor-web/assets/svg-BiObwMnL.js +0 -1
  1511. package/editor-web/assets/swatch-CwskGSEY.js +0 -105
  1512. package/editor-web/assets/swimlanes-B3ENRKFQ-DIU1TlDI.js +0 -1
  1513. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DPM008dB.js +0 -8
  1514. package/editor-web/assets/tabs-uHwPMprC.js +0 -1
  1515. package/editor-web/assets/timeline-definition-JXYKGLGB-C0x4clqy.js +0 -120
  1516. package/editor-web/assets/treeView-D4JQ5SDB-C9lm0KTt.js +0 -1
  1517. package/editor-web/assets/treemap-SAJKECNS-BMH4lQc7.js +0 -1
  1518. package/editor-web/assets/usecaseDiagram-WPOLBNNX-BhltpBsJ.js +0 -328
  1519. package/editor-web/assets/vennDiagram-Q3Y3IDCW-D3qN9Kpt.js +0 -34
  1520. package/editor-web/assets/wardley-7MLQ67FV-C4k02DvU.js +0 -1
  1521. package/editor-web/assets/wardleyDiagram-IVAIDKWA-dhpBDNqg.js +0 -78
  1522. package/editor-web/assets/xychartDiagram-4URNHDU4-0yEarQ-o.js +0 -7
  1523. /package/dist/{commands → node_modules/@allyhub/3d-extension/dist/cli}/scenery-text.js +0 -0
  1524. /package/dist/node_modules/@allyhub/{check/dist/result.js → build/dist/stage-route.js} +0 -0
  1525. /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/drawn.js +0 -0
  1526. /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/pdf.js +0 -0
  1527. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.d.ts +0 -0
  1528. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.js +0 -0
  1529. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/contrast.js +0 -0
  1530. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/fonts.js +0 -0
  1531. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/guards.js +0 -0
  1532. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/pictures.js +0 -0
  1533. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/styles.js +0 -0
  1534. /package/dist/node_modules/@allyhub/{runtime/dist/bridge.js → image-extension/dist/page.js} +0 -0
  1535. /package/dist/node_modules/@allyhub/{render → image-render}/dist/pdf.js +0 -0
  1536. /package/dist/node_modules/@allyhub/{render → image-render}/dist/png.js +0 -0
  1537. /package/dist/node_modules/@allyhub/{render → measure}/dist/image.js +0 -0
  1538. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/anchors.js +0 -0
  1539. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/component.d.ts +0 -0
  1540. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.d.ts +0 -0
  1541. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.js +0 -0
  1542. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/contrast.js +0 -0
  1543. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/gen.js +0 -0
  1544. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/look.js +0 -0
  1545. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.d.ts +0 -0
  1546. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.js +0 -0
  1547. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.d.ts +0 -0
  1548. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.js +0 -0
  1549. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/messages.js +0 -0
  1550. /package/dist/node_modules/@allyhub/{runtime/dist → piece/dist/page}/locate.js +0 -0
  1551. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/source.js +0 -0
  1552. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/voice.js +0 -0
  1553. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.d.ts +0 -0
  1554. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.js +0 -0
  1555. /package/dist/node_modules/@allyhub/{stage/dist/scenery-solve.js → scenery-host/dist/stage/solve.js} +0 -0
  1556. /package/dist/node_modules/@allyhub/{export → slides-extension}/dist/deck-fonts.js +0 -0
  1557. /package/dist/node_modules/@allyhub/{dev-server/dist/fonts.js → slides-extension/dist/font-faces.js} +0 -0
  1558. /package/dist/node_modules/@allyhub/{dev-server → video-extension}/dist/sound.js +0 -0
  1559. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/cut-sheet.js +0 -0
  1560. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/flat.js +0 -0
  1561. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/loop.js +0 -0
  1562. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/compare.js +0 -0
  1563. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/folder.js +0 -0
  1564. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/interpret.js +0 -0
  1565. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/sections.js +0 -0
  1566. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/seams.js +0 -0
  1567. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/sound-measures.js +0 -0
  1568. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/still.js +0 -0
  1569. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/version-voice.js +0 -0
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{basename as q,resolve as x}from"node:path";import{Mattes as J,DECK_OVERLAY_KEY as Q,OVERLAY_KEY as Z,frameOverlay as v,overlaySvg as tt}from"@allyhub/measure";import{DeckPool as et,filmTimes as it,partOf as st}from"@allyhub/project";import{GRID_WIDTH as nt,MAX_TILES as H,defaultCols as ot,gridHtml as rt,gridLayout as at,labelSize as dt,probeVideo as ct,sheetHtml as lt,sheetTile as ft,stretchFrames as pt}from"@allyhub/media";import{clipTypeOf as ht,ffmpegOf as mt,hasFinalLook as ut,videoFrame as wt,writeClip as gt}from"@allyhub/render";import{EXIT as yt}from"@allyhub/protocol";import{CommandError as $t}from"../../command.js";import{drawPage as R,gridError as V,isFile as bt,looks as kt,momentOf as xt,pictureUrl as W,picturePath as L,save as P,secondsName as _,usage as F,withCombo as D,workPath as Ft}from"./common.js";const T=t=>Math.round(t*1e3)/1e3,j=t=>({source:"piece",piece:t.target.piece,combo:t.target.combo,...t.target.id===void 0?{}:{id:t.target.id},format:t.target.format}),I=(t,e)=>Ft(e,"frames",t.target.piece);function C(t,e){const i=t.at(-1);return t.find(n=>e>=n.start&&e<n.end)??(i&&e>=i.end?i:void 0)}export async function stillsSheet(t,e){const i=t.timeline,n=t.version.summary?.text??[],h=i.parts.flatMap((a,l)=>{const p=a.steps??[a.still];return p.map(($,d)=>({p:a,t:$,slide:l,step:d,of:p.length}))}),m=i.width/i.height,u=m<1?4:3,y=m<1?1320:1600,r=t.piece.kind==="slides",b=[];if(r){const a=await et.on(t.session,t.piece,t.target,t.version.stage),l=ft({width:y,cols:u});b.push(...await a.stills(h.map(p=>({slide:p.p.key,step:p.step,width:l,format:"webp"}))))}else for(const a of h)b.push(await t.still(a.t));const o=[];for(let a=0;a<h.length;a+=u)o.push({cells:h.slice(a,a+u).map(({p:l,slide:p,step:$,of:d},S)=>{const k=n.find(g=>g.key===l.key);return{image:b[a+S]??Buffer.alloc(0),label:r?`${String(p+1)}${d>1?`.${String($)}`:""} · ${l.key}${l.hidden?" · hidden":""}`:`${l.key} · ${l.still.toFixed(2)} s`,text:k?.notes??k?.spoken??k?.onScreen.join(" · ")??""}})});const E=await R(t.session.browser,{html:lt({title:r?`${t.target.piece} · ${i.parts.length===1?"1 slide":`${String(i.parts.length)} slides`}`:`${t.target.piece} · ${i.parts.length===1?"1 part":`${String(i.parts.length)} parts`} · ${i.duration.toFixed(2)} s`,rows:o,cols:u,width:y,aspect:m}),width:y}),M=await P(L(e.cwd,e.out,x(I(t,e.root),`${D("sheet",t.target)}.png`)),E);return{mode:"sheet",...r?{slides:!0}:{},...j(t),out:M,parts:i.parts.map(a=>({key:a.key,t:T(a.still)}))}}export function clipKind(t){const e=ht(t);if(!e)throw F("bad-clip",`Cannot tell what kind of video ${t} is.`,"End --clip with .gif, .mp4 or .webm.");return e}async function Mt(t,e){if(!await bt(t))throw new $t("not-found",`There is no file ${t} (--beside).`,{exit:yt.notFound});const i=await ct(t),n=Math.max(1,Math.round(i.duration*i.fps)),h=[];for(const m of e){const u=Math.round(m*i.fps);h.push(m<0||u>n-1?void 0:await wt(t,u,i.fps))}return{info:i,shots:h}}export async function pieceMoments(t,e){const i=t.timeline,n=e.part===void 0?void 0:st(i,e.part),h=n?.start??0,m=e.from!==void 0||e.to!==void 0;if(m&&e.at!==void 0)throw F("bad-option","Give --at or --from and --to, not both.");if(m&&(e.from===void 0||e.to===void 0))throw F("bad-option","A stretch needs --from and --to.");if(e.clip!==void 0&&!m)throw F("bad-option","--clip needs --from and --to.","For example --from 3.2 --to 4.4 --clip move.gif.");const u=e.clip===void 0?void 0:clipKind(e.clip),y=e.clip===void 0||e.out!==void 0;let r;try{r=e.from!==void 0&&e.to!==void 0?pt({from:h+e.from,to:h+e.to},{fps:i.fps,duration:i.duration,grid:y}):void 0}catch(s){throw V(s)}const b=(e.at??[]).map(xt),o=r?r.times:b.length===0&&n?[n.still]:it(b,i.parts,n);if(o.length>H&&y)throw F("bad-time",`${String(o.length)} moments; one picture holds at most ${String(H)}.`);for(const s of o)if(s<0||s>i.duration+1/i.fps)throw F("bad-time",`${s.toFixed(2)} s is outside ${t.target.piece}, which is ${i.duration.toFixed(2)} s long.`,n?`With --part, --at counts from the part's start; ${n.key} runs ${n.start.toFixed(2)}–${n.end.toFixed(2)} s.`:`Parts: ${i.parts.map(c=>`${c.key} ${c.start.toFixed(2)}–${c.end.toFixed(2)}`).join(", ")}.`);const E=s=>Math.min(s,i.duration),M={...j(t),final:ut(t.look,i),...r?{stretch:{from:r.from,to:r.to,every:r.every,frames:r.times.length}}:{}};if(o.length===1&&!r&&!e.overlay&&e.beside===void 0){const s=o[0]??0,c=n?.key??C(i.parts,s)?.key??"",f=await P(L(e.cwd,e.out,x(I(t,e.root),`${D(e.at===void 0&&n?n.key:_(s),t.target)}.png`)),await t.still(E(s),{format:kt()}));return{mode:"frame",...M,out:f,t:T(s),part:c,width:i.width,height:i.height}}const l=[];for(const s of o)l.push(await t.still(E(s)));const p=e.clip!==void 0&&u?await gt(l,{file:x(e.cwd,e.clip),type:u,fps:i.fps/(r?.every??1)}):void 0;if(!y)return{mode:"clip",...M,clip:p};const $=[];if(e.overlay){const s=i.duration-1/i.fps,c=await t.version.measure(o.map(w=>Math.min(w,s))),f=new J({root:t.prepared.root,media:t.prepared.media,ffmpeg:await mt()});for(const w of o)$.push(await v(Math.min(w,s),i,c,t.prepared.media,f))}const d=e.beside===void 0?void 0:await Mt(x(e.cwd,e.beside),o),S=d?2:1,k=i.width/i.height;let g;try{g=at({count:o.length,cols:ot(o.length,k*S),width:nt,aspect:k*S})}catch(s){throw V(s)}const K=(g.tiles[0]?.width??i.width)/S,G=Math.max(11,dt(K)-4),A=[...l],X=d?q(e.beside??""):"",z=o.map((s,c)=>{const f=$[c],w={src:W(c),label:t.piece.kind==="slides"?C(i.parts,s)?.key??"":`${s.toFixed(r?3:2)} s · ${C(i.parts,s)?.key??""}`,...f?{over:tt(f,i.width,i.height,K/i.width,G)}:{}};if(!d)return{pictures:[w]};const O=d.shots[c];return O&&A.push(O),{pictures:[{src:O?W(A.length-1):void 0,label:`${X} · ${s.toFixed(2)} s${O?"":" · past its end"}`},w]}}),B=await R(t.session.browser,{html:rt({layout:g,cells:z,...e.overlay?{legend:t.piece.kind==="slides"?Q:Z}:{}}),width:g.width,pictures:A}),Y=o[0]??0,N=o.at(-1)??Y,U=await P(L(e.cwd,e.out,x(I(t,e.root),`${D(`${r?"stretch":"moments"}-${_(Y)}-${_(N)}`,t.target)}.png`)),B);return{mode:"grid",...M,out:U,cols:g.cols,tiles:o.map((s,c)=>{const f=g.tiles[c],w=$[c];return{t:T(s),part:C(i.parts,s)?.key??"",...f?{box:[f.x,f.y,f.width,f.height]}:{},...w?{overlay:w}:{},...d?{beside:{t:T(s),shown:d.shots[c]!==void 0}}:{}}}),...d?{beside:{file:x(e.cwd,e.beside??""),video:{duration:d.info.duration,width:d.info.width,height:d.info.height,fps:d.info.fps}}}:{},...p?{clip:p}:{}}}
2
+ import{basename as J,resolve as S}from"node:path";import{DECK_OVERLAY_KEY as Q,OVERLAY_KEY as Z,frameOverlay as v,overlaySvg as tt}from"./overlay.js";import{Mattes as et}from"@allyhub/video-measure";import{filmTimes as it,partOf as nt}from"@allyhub/video-measure";import{GRID_WIDTH as st,MAX_TILES as W,defaultCols as ot,gridHtml as rt,gridLayout as at,labelSize as dt,probeVideo as ct,sheetHtml as pt,sheetTile as ft,stretchFrames as lt}from"@allyhub/media";import{clipTypeOf as ht,ffmpegOf as mt,hasFinalLook as ut,videoFrame as wt,writeClip as gt}from"@allyhub/render";import{inTime as K}from"@allyhub/build";import{EXIT as $t}from"@allyhub/protocol";import{CommandError as yt}from"../../command.js";import{drawPage as j,gridError as z,isFile as bt,looks as kt,momentOf as xt,pictureUrl as G,picturePath as P,save as Y,secondsName as D,usage as M,withCombo as H,workPath as Ft}from"./common.js";const A=t=>Math.round(t*1e3)/1e3,X=t=>({source:"piece",piece:t.target.piece,combo:t.target.combo,...t.target.id===void 0?{}:{id:t.target.id},format:t.target.format}),R=(t,e)=>Ft(e,"frames",t.target.piece);function L(t,e){const i=t.at(-1);return t.find(r=>e>=r.start&&e<r.end)??(i&&e>=i.end?i:void 0)}export async function stillsSheet(t,e){const i=t.timeline,r=t.version.summary?.text??[],h=i.parts.flatMap((n,a)=>{const y=n.steps??[n.still];return y.map((m,x)=>({p:n,t:m,slide:a,step:x,of:y.length}))}),p=i.parts.flatMap(n=>n.frame?[n.frame]:[]),u=p.length>0,E=new Set(p.map(n=>(n.width/n.height).toFixed(3))),d=u&&p[0]?E.size===1?p[0].width/p[0].height:1:i.width/i.height,w=d<1?4:3,o=d<1?1320:1600,g=!K(t.piece,t.prepared.kinds),$=t.prepared.kinds.find(n=>n.id===t.piece.kind)?.part??{noun:"part",plural:"parts"},C=[];if(g||u){const n=ft({width:o,cols:w});C.push(...await t.partStills(h.map(a=>({part:a.p.key,step:a.step,width:n,format:"webp"}))))}else for(const n of h)C.push(await t.still(n.t));const k=[];for(let n=0;n<h.length;n+=w)k.push({cells:h.slice(n,n+w).map(({p:a,slide:y,step:m,of:x},_)=>{const b=r.find(I=>I.key===a.key);return{image:C[n+_]??Buffer.alloc(0),label:g?`${String(y+1)}${x>1?`.${String(m)}`:""} · ${a.key}${a.hidden?" · hidden":""}`:a.frame?`${a.key} · ${String(a.frame.width)}×${String(a.frame.height)}`:`${a.key} · ${a.still.toFixed(2)} s`,text:b?.notes??b?.spoken??b?.onScreen.join(" · ")??""}})});const T=await j(t.opened.session.browser,{html:pt({title:g?`${t.target.piece} · ${i.parts.length===1?"1 slide":`${String(i.parts.length)} slides`}`:`${t.target.piece} · ${i.parts.length===1?`1 ${$.noun}`:`${String(i.parts.length)} ${$.plural}`}${u?"":` · ${i.duration.toFixed(2)} s`}`,rows:k,cols:w,width:o,aspect:d}),width:o}),O=await Y(P(e.cwd,e.out,S(R(t,e.root),`${H("sheet",t.target)}.png`)),T);return{mode:"sheet",...g?{slides:!0}:{},unit:$,...X(t),out:O,parts:i.parts.map(n=>({key:n.key,t:A(n.still)}))}}export function clipKind(t){const e=ht(t);if(!e)throw M("bad-clip",`Cannot tell what kind of video ${t} is.`,"End --clip with .gif, .mp4 or .webm.");return e}async function St(t,e){if(!await bt(t))throw new yt("not-found",`There is no file ${t} (--beside).`,{exit:$t.notFound});const i=await ct(t),r=Math.max(1,Math.round(i.duration*i.fps)),h=[];for(const p of e){const u=Math.round(p*i.fps);h.push(p<0||u>r-1?void 0:await wt(t,u,i.fps))}return{info:i,shots:h}}export async function pieceMoments(t,e){const i=t.timeline,r=e.part===void 0?void 0:nt(i,e.part),h=r?.start??0,p=e.from!==void 0||e.to!==void 0;if(p&&e.at!==void 0)throw M("bad-option","Give --at or --from and --to, not both.");if(p&&(e.from===void 0||e.to===void 0))throw M("bad-option","A stretch needs --from and --to.");if(e.clip!==void 0&&!p)throw M("bad-option","--clip needs --from and --to.","For example --from 3.2 --to 4.4 --clip move.gif.");const u=e.clip===void 0?void 0:clipKind(e.clip),E=e.clip===void 0||e.out!==void 0;let d;try{d=e.from!==void 0&&e.to!==void 0?lt({from:h+e.from,to:h+e.to},{fps:i.fps,duration:i.duration,grid:E}):void 0}catch(s){throw z(s)}const w=(e.at??[]).map(xt),o=d?d.times:w.length===0&&r?[r.still]:it(w,i.parts,r);if(o.length>W&&E)throw M("bad-time",`${String(o.length)} moments; one picture holds at most ${String(W)}.`);for(const s of o)if(s<0||s>i.duration+1/i.fps)throw M("bad-time",`${s.toFixed(2)} s is outside ${t.target.piece}, which is ${i.duration.toFixed(2)} s long.`,r?`With --part, --at counts from the part's start; ${r.key} runs ${r.start.toFixed(2)}–${r.end.toFixed(2)} s.`:`Parts: ${i.parts.map(c=>`${c.key} ${c.start.toFixed(2)}–${c.end.toFixed(2)}`).join(", ")}.`);const g=s=>Math.min(s,i.duration),$={...X(t),final:ut(t.look,i),...d?{stretch:{from:d.from,to:d.to,every:d.every,frames:d.times.length}}:{}};if(o.length===1&&!d&&!e.overlay&&e.beside===void 0){const s=o[0]??0,c=r??L(i.parts,s),f=c?.key??"",l=c?.frame??{width:i.width,height:i.height},F=await Y(P(e.cwd,e.out,S(R(t,e.root),`${H(e.at===void 0&&r?r.key:D(s),t.target)}.png`)),await t.still(g(s),{format:kt()}));return{mode:"frame",...$,out:F,t:A(s),part:f,width:l.width,height:l.height}}const k=[];for(const s of o)k.push(await t.still(g(s)));const T=e.clip!==void 0&&u?await gt(k,{file:S(e.cwd,e.clip),type:u,fps:i.fps/(d?.every??1)}):void 0;if(!E)return{mode:"clip",...$,clip:T};const O=[];if(e.overlay){const s=i.duration-1/i.fps,c=await t.version.measure(o.map(l=>Math.min(l,s))),f=new et({root:t.prepared.root,media:t.prepared.media,ffmpeg:await mt()});for(const l of o)O.push(await v(Math.min(l,s),i,c,t.prepared.media,f))}const n=e.beside===void 0?void 0:await St(S(e.cwd,e.beside),o),a=n?2:1,y=i.width/i.height;let m;try{m=at({count:o.length,cols:ot(o.length,y*a),width:st,aspect:y*a})}catch(s){throw z(s)}const x=(m.tiles[0]?.width??i.width)/a,_=Math.max(11,dt(x)-4),b=[...k],I=n?J(e.beside??""):"",B=o.map((s,c)=>{const f=O[c],l={src:G(c),label:K(t.piece,t.prepared.kinds)?`${s.toFixed(d?3:2)} s · ${L(i.parts,s)?.key??""}`:L(i.parts,s)?.key??"",...f?{over:tt(f,i.width,i.height,x/i.width,_)}:{}};if(!n)return{pictures:[l]};const F=n.shots[c];return F&&b.push(F),{pictures:[{src:F?G(b.length-1):void 0,label:`${I} · ${s.toFixed(2)} s${F?"":" · past its end"}`},l]}}),N=await j(t.opened.session.browser,{html:rt({layout:m,cells:B,...e.overlay?{legend:K(t.piece,t.prepared.kinds)?Z:Q}:{}}),width:m.width,pictures:b}),V=o[0]??0,U=o.at(-1)??V,q=await Y(P(e.cwd,e.out,S(R(t,e.root),`${H(`${d?"stretch":"moments"}-${D(V)}-${D(U)}`,t.target)}.png`)),N);return{mode:"grid",...$,out:q,cols:m.cols,tiles:o.map((s,c)=>{const f=m.tiles[c],l=O[c];return{t:A(s),part:L(i.parts,s)?.key??"",...f?{box:[f.x,f.y,f.width,f.height]}:{},...l?{overlay:l}:{},...n?{beside:{t:A(s),shown:n.shots[c]!==void 0}}:{}}}),...n?{beside:{file:S(e.cwd,e.beside??""),video:{duration:n.info.duration,width:n.info.width,height:n.info.height,fps:n.info.fps}}}:{},...T?{clip:T}:{}}}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{readFileSync as w}from"node:fs";import{dirname as $,join as l}from"node:path";import{startBrowser as x}from"@allyhub/browser";import{EXIT as b}from"@allyhub/protocol";import{SHEET_FONT as y,sheetFontsCss as S}from"@allyhub/render/doc";import{columnIndex as p,readArea as A,sheetHtml as E}from"@allyhub/sheet";import{CommandError as M}from"../../command.js";import{openSheet as N}from"../sheet.js";import{drawPage as k,picturePath as I,save as T,workPath as C}from"./common.js";export const SHEET_ROWS=200,SHEET_COLUMNS=60;const g=12;function F(e,a){const c=e.used;if(!c)return;const u=/^\$?([A-Za-z]{1,3}):\$?([A-Za-z]{1,3})$/u.exec(a);if(u){const t=p(u[1]??""),n=p(u[2]??"");return t===void 0||n===void 0?void 0:{...c,left:Math.min(t,n),right:Math.max(t,n)}}const o=/^\$?(\d+):\$?(\d+)$/u.exec(a);if(!o)return;const m=Number(o[1])-1,s=Number(o[2])-1;return{...c,top:Math.min(m,s),bottom:Math.max(m,s)}}const H=e=>e.replace(/^'|'$/gu,"").replaceAll("''","'");export async function sheetPicture(e){const{workbook:a,calc:c,file:u}=await N(e.root,e.cwd,e.item),o=$(u),m=r=>{throw new M("not-found",`${r} is not a sheet or a range of this workbook.`,{exit:b.notFound,hint:`Sheets: ${a.sheets.map(i=>i.name).join(", ")}. A range is Summary!B3:D9, or B3:D9 on the first sheet.`})};let s,t;if(e.range!==void 0){const r=a.sheet(e.range);if(r)s=[r];else{const i=e.range.lastIndexOf("!"),f=i<0?a.sheets[0]:a.sheet(H(e.range.slice(0,i))),h=e.range.slice(i+1);if(!f||(t=A(h)??F(f,h),!t))return m(e.range);s=[f]}}const n=E(c,{...s?{sheets:s}:{},...t?{area:t}:{rows:SHEET_ROWS,columns:SHEET_COLUMNS},headings:!0,css:`body{padding:${String(g)}px}`,font:y,file:r=>{try{return new Uint8Array(w(l(e.root,o,r)))}catch{return}}}),d=await x({gpu:!1,htmlInCanvas:!1});try{const r=await k(d,{html:n.html.replace("<style>",`<style>${await S(n.html)}`),width:n.width+2*g}),i=e.range===void 0?"sheet":e.range.replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/gu,""),f=await T(I(e.cwd,e.out,l(C(e.root,"frames",o),`${i||"sheet"}.png`)),r);return{mode:"frame",source:"sheet",sheet:o,out:f,...e.range===void 0?{}:{range:e.range},cut:n.cut}}finally{await d.close()}}
2
+ import{readFileSync as w}from"node:fs";import{dirname as $,join as l}from"node:path";import{startBrowser as x}from"@allyhub/browser";import{EXIT as b}from"@allyhub/protocol";import{SHEET_FONT as y,sheetFontsCss as S}from"@allyhub/doc-print";import{columnIndex as p,rangeName as A,readArea as E,sheetHtml as k}from"@allyhub/sheet";import{CommandError as N}from"../../command.js";import{openSheet as M}from"@allyhub/sheet-extension/cli";import{kindsAt as I}from"../extensions.js";import{drawPage as T,picturePath as C,save as F,workPath as H}from"./common.js";export const SHEET_ROWS=200,SHEET_COLUMNS=60;const g=12;function O(e,o){const c=e.used;if(!c)return;const m=/^\$?([A-Za-z]{1,3}):\$?([A-Za-z]{1,3})$/u.exec(o);if(m){const t=p(m[1]??""),r=p(m[2]??"");return t===void 0||r===void 0?void 0:{...c,left:Math.min(t,r),right:Math.max(t,r)}}const s=/^\$?(\d+):\$?(\d+)$/u.exec(o);if(!s)return;const u=Number(s[1])-1,n=Number(s[2])-1;return{...c,top:Math.min(u,n),bottom:Math.max(u,n)}}const P=e=>e.replace(/^'|'$/gu,"").replaceAll("''","'");export async function sheetPicture(e){const{workbook:o,calc:c,file:m}=await M(e.root,{cwd:e.cwd,kinds:I},e.item),s=$(m),u=a=>{throw new N("not-found",`${a} is not a sheet or a range of this workbook.`,{exit:b.notFound,hint:`Sheets: ${o.sheets.map(i=>i.name).join(", ")}. A range is Summary!B3:D9, or B3:D9 on the first sheet.`})};let n,t;if(e.range!==void 0){const a=o.sheet(e.range);if(a)n=[a];else{const i=e.range.lastIndexOf("!"),d=i<0?o.sheets[0]:o.sheet(P(e.range.slice(0,i))),h=e.range.slice(i+1);if(!d||(t=E(h)??O(d,h),!t))return u(e.range);n=[d]}}const r=k(c,{...n?{sheets:n}:{},...t?{area:t}:{rows:SHEET_ROWS,columns:SHEET_COLUMNS},headings:!0,css:`body{padding:${String(g)}px}`,font:y,file:a=>{try{return new Uint8Array(w(l(e.root,s,a)))}catch{return}}}),f=await x({gpu:!1,htmlInCanvas:!1});try{const a=await T(f,{html:r.html.replace("<style>",`<style>${await S(r.html)}`),width:r.width+2*g}),i=e.range===void 0?"sheet":e.range.replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/gu,""),d=await F(C(e.cwd,e.out,l(H(e.root,"frames",s),`${i||"sheet"}.png`)),a);return{mode:"frame",source:"sheet",sheet:s,out:d,...e.range===void 0?{}:{range:e.range},cut:r.cut,at:{...n?.[0]?{sheet:n[0].name}:{},...t?{range:A(t)}:{}}}}finally{await f.close()}}
@@ -1,10 +1,10 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as t}from"zod";import{formatConsole as W,formatProblem as M}from"../text/index.js";import{COMPARE_DEFAULTS as I,CUT_REVIEW_DEFAULTS as L,cutLine as _,dbText as y,silenceText as R}from"@allyhub/measure";import{consoleJson as k}from"@allyhub/project";import{PAGE_CAPTURE_DEFAULTS as v}from"@allyhub/browser";import{EXIT as T}from"@allyhub/protocol";import{defineCommand as h}from"../command.js";import{dir as A}from"../fields.js";import{parameters as F}from"../parameters.js";import{projectRoot as g}from"../project.js";import{VERSION_FIELDS as S,commandError as O,withVersion as b}from"../version.js";import{compareText as C,comparePictures as D}from"./frames/compare.js";import{isPicture as B,isVideo as E,usage as m}from"./frames/common.js";import{cutSheets as H}from"./frames/cuts.js";import{fileFrames as N}from"./frames/file.js";import{pageShot as U}from"./frames/page.js";import{pieceMoments as G,stillsSheet as V}from"./frames/piece.js";import{docPicture as J,findDoc as q}from"./frames/doc.js";import{sheetPicture as X}from"./frames/sheet.js";import{findSheet as K}from"./sheet.js";import{sizeOf as Q}from"./scenery-input.js";function w(e){return[...e.problems.filter(a=>a.level==="error").map(M),...W(k(e.console))]}const $=e=>({problems:e.problems,...k(e.console)}),x=(e,s)=>g(e,s),Y=t.strictObject({...S,item:t.string().optional().describe("The piece (its id, or a path into it; default the project's only one), a sheet, a doc, or a video file: a path ending in .mp4, .mov, .webm, .m4v, .qt, .mkv or .avi is a file"),range:t.string().optional().describe("A sheet's: what to draw, a sheet (Summary), a range (Summary!B3:D9, or B3:D9 on the first sheet), columns (A:C) or rows (1:20); default its sheets, from A1"),page:t.string().optional().describe("A doc's: the pages to draw large, counted from 1 (2, 2-4, 1,5); default every page, small, tiled"),at:t.array(t.string()).optional().describe("Moments: seconds (from the start of --part when given) or anchors (@press, @/map a stretch's end, @press+0.2); a video file's are seconds. One is written as the frame itself, several are tiled. Without it, --part's still, or every part's still on one sheet"),part:t.string().optional().describe("The part --at, --from and --to count from; alone, its still"),from:t.number().optional().describe("A stretch of consecutive frames from this second (with --to), instead of --at"),to:t.number().optional().describe("The stretch's last second"),clip:t.string().optional().describe("Write the stretch as a small silent video, .gif, .mp4 or .webm by its extension; with --out, the grid too"),overlay:t.boolean().default(!1).describe("Draw over each tile the face boxes with ids, the person matte's outline, the covered areas and the text boxes (a deck's: each shape's box and name, and the lines nearly in line); places nothing. Alone, over every part's still"),beside:t.string().optional().describe("Another video file (a reference) whose frame at the same time goes on each tile's left"),grid:t.number().int().min(4).optional().describe("A video file at one --at: the frame at its own size with numbered lines every this many pixels"),out:t.string().optional().describe("Where the picture goes, always a WebP whatever the extension; default under .allyhub/work/frames/")});function Z(e){const s=[["--combo",e.combo!==void 0],["--part",e.part!==void 0],["--beside",e.beside!==void 0],["--overlay",e.overlay]].filter(([,a])=>a).map(([a])=>a);if(s.length>0)throw m("bad-option",`${s.join(" and ")} ${s.length===1?"is":"are"} a piece's: a video file has no combos or parts.`)}function ee(e){const s=[["--at",e.at!==void 0],["--part",e.part!==void 0],["--from",e.from!==void 0],["--to",e.to!==void 0],["--clip",e.clip!==void 0],["--overlay",e.overlay],["--beside",e.beside!==void 0],["--range",e.range!==void 0],["--combo",e.combo!==void 0]].filter(([,a])=>a).map(([a])=>a);if(s.length>0)throw m("bad-option",`${s.join(" and ")} ${s.length===1?"is":"are"} not a doc's: a doc has pages (--page), not moments.`)}export const frames=h({name:"frames",summary:"Pictures of a piece over time, drawn as the render draws them: every part's still on a sheet (default), a moment, a stretch tiled or as a clip, overlays; a sheet's cells, or a range of them; a doc's pages as they print, with how many; or any video file's frames",input:Y,positional:["item"],output:t.looseObject({mode:t.enum(["sheet","frame","grid","clip"])}),examples:["allyhub frames launch/film","allyhub frames launch/film --at 2.5","allyhub frames launch/film --part hook --from 0 --to 1 --clip hook.gif","allyhub frames launch/film --at 1,2,3 --overlay","allyhub frames reference.mp4 --at 0,1,2","allyhub frames reference.mp4 --at 3 --grid 50","allyhub frames finance/budget --range 'Summary!A1:F20'","allyhub frames launch/plan","allyhub frames launch/plan --page 2-3"]},async(e,s)=>{const a=s.cwd;if(e.item!==void 0&&E(e.item)){Z(e);const r=await N({cwd:a,root:await x(a,e.dir),file:e.item,at:e.at,from:e.from,to:e.to,clip:e.clip,out:e.out,grid:e.grid}).catch(z=>{throw O(z)}),c=r.video,u=`${r.file} · ${c.duration.toFixed(2)} s · ${String(c.width)}×${String(c.height)} · ${String(c.fps)} fps`,j="clip"in r&&r.clip?`${r.clip.out} (${r.clip.type}, ${String(r.clip.frames)} frames at ${String(r.clip.fps)} fps, no sound)`:void 0;return{value:r,text:[u,..."out"in r?[`${r.out}${"tiles"in r?` (${String(r.tiles.length)} moments in ${String(r.cols)} columns)`:""}`]:[],...j?[j]:[]].join(`
3
- `)}}if(e.grid!==void 0)throw m("bad-option","--grid draws a video file's frame at its own size: give the file.");const p=await g(a,e.dir);if(e.item!==void 0&&await K(p,a,e.item)!==void 0){const r=await X({cwd:a,root:p,item:e.item,range:e.range,out:e.out});return{value:r,text:[r.out,...r.cut].join(`
4
- `)}}const l=e.item===void 0?void 0:await q(p,a,e.item);if(l!==void 0){ee(e);const r=await J({cwd:a,root:p,file:l,page:e.page,out:e.out,progress:u=>{s.progress(u)}}),c=r.drawn.length===r.pages?"every page":`page${r.drawn.length===1?"":"s"} ${r.drawn.join(", ")}`;return{value:r,text:[r.out,`${r.doc}: ${String(r.pages)} page${r.pages===1?"":"s"} on ${String(r.paper.width)} × ${String(r.paper.height)} mm paper; ${c} drawn`].join(`
5
- `)}}if(e.page!==void 0)throw m("bad-option","--page is a doc's: name the doc.");if(e.range!==void 0)throw m("bad-option","--range is a sheet's: name the sheet.");const i=e.at!==void 0||e.part!==void 0||e.from!==void 0||e.to!==void 0;if(!i&&(e.clip!==void 0||e.beside!==void 0))throw m("bad-option","--clip and --beside draw moments: give --at, --part, or --from and --to.");if(!i&&!e.overlay){const{result:r,...c}=await b(e,s,"render",u=>V(u,{cwd:a,root:p,out:e.out}));return{value:{...r,...$(c)},text:[`${r.out} (${r.piece} · ${r.format} · ${String(r.parts.length)} ${"slides"in r?"slide":"part"}${r.parts.length===1?"":"s"})`,...w(c)].join(`
6
- `)}}const f=!i&&e.overlay,{result:o,...n}=await b(e,s,"render",r=>G(r,{cwd:a,root:p,at:f?r.timeline.parts.map(c=>String(c.still)):e.at,part:e.part,from:e.from,to:e.to,clip:e.clip,out:e.out,overlay:e.overlay,beside:e.beside})),d=[];if(o.mode==="frame"&&d.push(`${o.out} (${o.piece} · ${o.format} · ${o.part} · ${o.t.toFixed(2)} s)`),o.mode==="grid"){d.push(`${o.out} (${o.piece} · ${String(o.tiles.length)} moments in ${String(o.cols)} columns)`,` ${o.tiles.map(c=>`${c.t.toFixed(o.stretch?3:2)} ${c.part}`).join(" · ")}`);const r=[...new Set(o.tiles.flatMap(c=>c.overlay?.missing??[]))];r.length>0&&d.push(` Not measured: ${r.join(", ")}.`)}return o.stretch&&d.push(` Stretch ${o.stretch.from.toFixed(3)}–${o.stretch.to.toFixed(3)} s, one frame in ${String(o.stretch.every)}: ${String(o.stretch.frames)} frames.`),"clip"in o&&o.clip&&d.push(`${o.clip.out} (${o.clip.type}, ${String(o.clip.frames)} frames at ${String(o.clip.fps)} fps, no sound)`),{value:{...o,...$(n)},text:[...d,...w(n)].join(`
7
- `)}}),framesCuts=h({name:"frames cuts",summary:"A review sheet per cut of a video (a cut take's jumps, part joins, a scenery camera's cuts): frames around it, waveform and level, the words each side, the sound at it",input:t.strictObject({...S,part:t.string().optional().describe("Only this part's cuts and its joins"),out:t.string().optional().describe("The folder the sheets go in; default .allyhub/work/cuts/"),params:F({span:t.number().positive().max(10).default(L.span).describe("Seconds shown on each side of a cut")})}),positional:["item"],output:t.looseObject({out:t.string(),cuts:t.array(t.looseObject({sheet:t.string()}))}),examples:["allyhub frames cuts launch/film","allyhub frames cuts launch/film --part hook"]},async(e,s)=>{const a=s.cwd,p=await g(a,e.dir),{result:l,...i}=await b(e,s,"render",n=>H(n,{cwd:a,root:p,part:e.part,out:e.out,review:{span:e.params.span}})),f=l.part===void 0?`${String(l.cuts.length)} cut${l.cuts.length===1?"":"s"}`:`${String(l.cuts.length)} of ${String(l.total)} cuts (part ${l.part} and its joins)`,o=[`${l.piece} · ${l.format} · ${f}; silence is sound under ${String(l.threshold)} dBFS`];for(const n of l.cuts){const d=n.sound?`level ${y(n.sound.levelDb)} / around ${y(n.sound.aroundDb)} dBFS, peak ${y(n.sound.peakDb)}, step ${n.sound.jumpDb<0?"−":"+"}${Math.abs(n.sound.jumpDb).toFixed(1)} dB`:"no sound";o.push(`${String(n.index).padStart(3)} ${n.t.toFixed(3).padStart(7)} s ${n.kind.padEnd(6)} ${_(n)}`,` silence at the cut: ${R(n.silence)} · ${d}`,` “${n.said.before}” | “${n.said.after}”${n.across?` · across the cut: “${n.across}”`:""}`,` ${n.sheet}`)}return{value:{...l,...$(i)},text:[...o,...w(i)].join(`
8
- `)}});const P=I;export const framesCompare=h({name:"frames compare",summary:"How a candidate picture differs from a reference, as numbers (ΔE, channels, SSIM, levels, grain, edges, regions) with a heatmap and a side-by-side: a piece's moment, a picture file or a video file's frame",input:t.strictObject({reference:t.string().describe("The reference picture (PNG, WebP, JPEG…)"),candidate:t.string().optional().describe("A piece (its id, or a path into it; default the project's only one) at --at or --part's still; or a file by its extension: a picture (.png, .jpg, .webp…), or a video file's frame at --at (.mp4, .mov, .webm…)"),combo:S.combo,dir:A,at:t.string().optional().describe("The moment: seconds (from the start of --part when given) or an anchor of the piece; a video file's are seconds (default 0)"),part:t.string().optional().describe("The piece's part --at counts from; alone, its still"),refCrop:t.string().optional().describe("Cut the reference to x,y,width,height, or to an element of the elements.json beside it (frames web writes one)"),crop:t.string().optional().describe("Cut the candidate to x,y,width,height before any resize"),encode:t.string().optional().describe("Draw the candidate through this encode first, as a platform serves it: codec:kbps, h264 or hevc (hevc:618)"),out:t.string().optional().describe("Where its files go, a path without extension; default under .allyhub/work/compare/"),params:F({resize:t.enum(["stretch","width","none"]).default(P.resize).describe("When sizes differ: stretch the candidate to the reference, scale it to its width, or compare the common area"),shift:t.number().int().min(0).max(32).default(P.shift).describe("Search the best offset within this many pixels each way")})}),positional:["reference","candidate"],output:t.looseObject({reference:t.string(),files:t.looseObject({side:t.string(),heatmap:t.string()})}),examples:["allyhub frames compare reference.png launch/film --at 2.5 --encode hevc:618","allyhub frames compare reference.png shot.webp --ref-crop cta","allyhub frames compare reference.png theirs.mp4 --at 3"]},async(e,s)=>{const a=s.cwd,p=e.params,l=e.candidate!==void 0&&(B(e.candidate)||E(e.candidate))?e.candidate:void 0,i=d=>({cwd:a,root:d,reference:e.reference,file:l,at:e.at===void 0?void 0:[e.at],part:e.part,refCrop:e.refCrop,crop:e.crop,encode:e.encode,out:e.out,options:{shift:p.shift,resize:p.resize}});if(l!==void 0){if(e.combo!==void 0||e.part!==void 0)throw m("bad-option","--combo and --part are a piece's: the candidate is a file.");const d=await D(i(await x(a,e.dir)),void 0).catch(r=>{throw O(r)});return{value:d,text:C(d)}}const f=await g(a,e.dir),{result:o,...n}=await b({...e,item:e.candidate},s,"render",d=>D(i(f),d));return{value:{...o,...$(n)},text:[C(o),...w(n)].join(`
9
- `)}}),framesWeb=h({name:"frames web",summary:"A web page's screenshot with its named elements' boxes in the image's pixels, for a screen demo",input:t.strictObject({url:t.string().describe("The page: an address, or an HTML file on this computer"),el:t.array(t.string()).optional().describe("An element to locate, name=selector (CSS, or text=<words>); [data-el] elements are found too"),click:t.array(t.string()).optional().describe("Selectors clicked in order before the shot (close a banner, open a dialog)"),full:t.boolean().default(!1).describe("The whole page, not one viewport"),out:t.string().optional().describe("Where the picture goes (a WebP), its boxes in <out>.elements.json beside it; default under .allyhub/work/pages/"),dir:A,size:t.string().default(`${String(v.width)}x${String(v.height)}`).describe("The viewport, WIDTHxHEIGHT in CSS pixels"),scale:t.number().min(1).max(4).default(v.scale).describe("Image pixels per CSS pixel; 2 draws a high-density screen, sharp when a camera goes in"),wait:t.number().int().min(0).optional().describe("Milliseconds to wait after loading and clicking")}),positional:["url"],output:t.looseObject({out:t.string(),elementsFile:t.string()}),examples:["allyhub frames web https://example.com --el cta=text=Sign\\ up --scale 2 --out assets/media/home","allyhub frames web page.html --click '#accept' --full"]},async(e,s)=>{const a=s.cwd,[p,l]=Q(e.size),i=await U({cwd:a,root:await x(a,e.dir),url:e.url,out:e.out,el:e.el,click:e.click,width:p,height:l,scale:e.scale,full:e.full,wait:e.wait});return{value:i,text:[`${i.out}: ${String(i.width)}×${String(i.height)}${i.scale===1?"":` (${String(i.scale)} image pixels per CSS pixel)`}, ${String(Object.keys(i.elements).length)} elements (${Object.keys(i.elements).join(", ")||"none"}) in ${i.elementsFile}`,...i.missing.length>0?[`Not found: ${i.missing.join(", ")} (the selector is wrong, or something must be opened with --click first).`]:[]].join(`
10
- `),exit:i.missing.length>0?T.failed:T.ok}}),FRAMES_COMMANDS=[frames,framesCuts,framesCompare,framesWeb];
2
+ import{relative as L,sep as _}from"node:path";import{z as t}from"zod";import{formatConsole as R,formatProblem as B}from"../text/index.js";import{sizeOf as H}from"@allyhub/build";import{COMPARE_DEFAULTS as N}from"@allyhub/measure";import{CUT_REVIEW_DEFAULTS as U,cutLine as G,dbText as S,silenceText as V}from"@allyhub/video-measure";import{consoleJson as T}from"@allyhub/project";import{PAGE_CAPTURE_DEFAULTS as x}from"@allyhub/browser";import{itemIdOf as J}from"@allyhub/formats";import{EXIT as A}from"@allyhub/protocol";import{defineCommand as b}from"../command.js";import{dir as F}from"../fields.js";import{parameters as O}from"../parameters.js";import{tellPresence as C}from"../presence.js";import{projectRoot as w}from"../project.js";import{VERSION_FIELDS as j,commandError as D,withVersion as $}from"../version.js";import{compareText as E,comparePictures as P}from"./frames/compare.js";import{isPicture as q,isVideo as z,usage as u}from"./frames/common.js";import{cutSheets as X}from"./frames/cuts.js";import{fileFrames as K}from"./frames/file.js";import{pageShot as Q}from"./frames/page.js";import{pieceMoments as Y,stillsSheet as Z}from"./frames/piece.js";import{docPicture as ee}from"./frames/doc.js";import{findDoc as te}from"@allyhub/doc-extension/cli";import{sheetPicture as oe}from"./frames/sheet.js";import{findSheet as W}from"@allyhub/sheet-extension/cli";function y(e){return[...e.problems.filter(a=>a.level==="error").map(B),...R(T(e.console))]}const v=e=>({problems:e.problems,...T(e.console)}),k=(e,i)=>w(e,i),re=t.strictObject({...j,item:t.string().optional().describe("The piece (its id, its file without its extension, or its file; default the project's only one), a sheet, a doc, or a video file: a path ending in .mp4, .mov, .webm, .m4v, .qt, .mkv or .avi is a file"),range:t.string().optional().describe("A sheet's: what to draw, a sheet (Summary), a range (Summary!B3:D9, or B3:D9 on the first sheet), columns (A:C) or rows (1:20); default its sheets, from A1"),page:t.string().optional().describe("A doc's: the pages to draw large, counted from 1 (2, 2-4, 1,5); default every page, small, tiled"),at:t.array(t.string()).optional().describe("Moments: seconds (from the start of --part when given) or anchors (@press, @/map a stretch's end, @press+0.2); a video file's are seconds. One is written as the frame itself, several are tiled. Without it, --part's still, or every part's still on one sheet"),part:t.string().optional().describe("The part --at, --from and --to count from; alone, its still"),from:t.number().optional().describe("A stretch of consecutive frames from this second (with --to), instead of --at"),to:t.number().optional().describe("The stretch's last second"),clip:t.string().optional().describe("Write the stretch as a small silent video, .gif, .mp4 or .webm by its extension; with --out, the grid too"),overlay:t.boolean().default(!1).describe("Draw over each tile the face boxes with ids, the person matte's outline, the covered areas and the text boxes (a deck's: each shape's box and name, and the lines nearly in line); places nothing. Alone, over every part's still"),beside:t.string().optional().describe("Another video file (a reference) whose frame at the same time goes on each tile's left"),grid:t.number().int().min(4).optional().describe("A video file at one --at: the frame at its own size with numbered lines every this many pixels"),out:t.string().optional().describe("Where the picture goes, always a WebP whatever the extension; default under .allyhub/work/frames/")});function ae(e){const i=[["--combo",e.combo!==void 0],["--part",e.part!==void 0],["--beside",e.beside!==void 0],["--overlay",e.overlay]].filter(([,a])=>a).map(([a])=>a);if(i.length>0)throw u("bad-option",`${i.join(" and ")} ${i.length===1?"is":"are"} a piece's: a video file has no combos or parts.`)}function ne(e){const i=[["--at",e.at!==void 0],["--part",e.part!==void 0],["--from",e.from!==void 0],["--to",e.to!==void 0],["--clip",e.clip!==void 0],["--overlay",e.overlay],["--beside",e.beside!==void 0],["--range",e.range!==void 0],["--combo",e.combo!==void 0]].filter(([,a])=>a).map(([a])=>a);if(i.length>0)throw u("bad-option",`${i.join(" and ")} ${i.length===1?"is":"are"} not a doc's: a doc has pages (--page), not moments.`)}export const frames=b({name:"frames",summary:"Pictures of a piece over time, drawn as the render draws them: every part's still on a sheet (default), a moment, a stretch tiled or as a clip, overlays; a sheet's cells, or a range of them; a doc's pages as they print, with how many; or any video file's frames",input:re,positional:["item"],output:t.looseObject({mode:t.enum(["sheet","frame","grid","clip"])}),examples:["allyhub frames launch/film","allyhub frames launch/film --at 2.5","allyhub frames launch/film --part hook --from 0 --to 1 --clip hook.gif","allyhub frames launch/film --at 1,2,3 --overlay","allyhub frames reference.mp4 --at 0,1,2","allyhub frames reference.mp4 --at 3 --grid 50","allyhub frames finance/budget --range 'Summary!A1:F20'","allyhub frames launch/plan","allyhub frames launch/plan --page 2-3"]},async(e,i)=>{const a=i.cwd;if(e.item!==void 0&&z(e.item)){ae(e);const o=await K({cwd:a,root:await k(a,e.dir),file:e.item,at:e.at,from:e.from,to:e.to,clip:e.clip,out:e.out,grid:e.grid}).catch(g=>{throw D(g)}),n=o.video,p=`${o.file} · ${n.duration.toFixed(2)} s · ${String(n.width)}×${String(n.height)} · ${String(n.fps)} fps`,f="clip"in o&&o.clip?`${o.clip.out} (${o.clip.type}, ${String(o.clip.frames)} frames at ${String(o.clip.fps)} fps, no sound)`:void 0;return{value:o,text:[p,..."out"in o?[`${o.out}${"tiles"in o?` (${String(o.tiles.length)} moments in ${String(o.cols)} columns)`:""}`]:[],...f?[f]:[]].join(`
3
+ `)}}if(e.grid!==void 0)throw u("bad-option","--grid draws a video file's frame at its own size: give the file.");const d=await w(a,e.dir);if(e.item!==void 0&&await W(d,a,e.item)!==void 0){const o=await oe({cwd:a,root:d,item:e.item,range:e.range,out:e.out}),n=await W(d,a,e.item);return n!==void 0&&Object.keys(o.at).length>0&&await C(d,{doing:"looking",item:J(L(d,n).split(_).join("/")),place:o.at}),{value:o,text:[o.out,...o.cut].join(`
4
+ `)}}const c=e.item===void 0?void 0:await te(d,a,e.item);if(c!==void 0){ne(e);const o=await ee({cwd:a,root:d,file:c,page:e.page,out:e.out,progress:p=>{i.progress(p)}}),n=o.drawn.length===o.pages?"every page":`page${o.drawn.length===1?"":"s"} ${o.drawn.join(", ")}`;return{value:o,text:[o.out,`${o.doc}: ${String(o.pages)} page${o.pages===1?"":"s"} on ${String(o.paper.width)} × ${String(o.paper.height)} mm paper; ${n} drawn`].join(`
5
+ `)}}if(e.page!==void 0)throw u("bad-option","--page is a doc's: name the doc.");if(e.range!==void 0)throw u("bad-option","--range is a sheet's: name the sheet.");const l=e.at!==void 0||e.part!==void 0||e.from!==void 0||e.to!==void 0;if(!l&&(e.clip!==void 0||e.beside!==void 0))throw u("bad-option","--clip and --beside draw moments: give --at, --part, or --from and --to.");if(!l&&!e.overlay){const{result:o,...n}=await $(e,i,"render",g=>Z(g,{cwd:a,root:d,out:e.out})),{unit:p,...f}=o;return{value:{...f,...v(n)},text:[`${o.out} (${o.piece} · ${o.format} · ${String(o.parts.length)} ${o.parts.length===1?p.noun:p.plural})`,...y(n)].join(`
6
+ `)}}const h=!l&&e.overlay,{result:r,...s}=await $(e,i,"render",async o=>{const n=await Y(o,{cwd:a,root:d,at:h?o.timeline.parts.map(I=>String(I.still)):e.at,part:e.part,from:e.from,to:e.to,clip:e.clip,out:e.out,overlay:e.overlay,beside:e.beside}),p="tiles"in n?n.tiles[0]:void 0,f=n.mode==="frame"?n.t:n.stretch?.from??p?.t,g=n.mode==="frame"?n.part:p?.part;return f!==void 0&&!h&&await C(d,{doing:"looking",item:o.piece.place,place:{t:f,...g===void 0?{}:{part:g}}}),n}),m=[];if(r.mode==="frame"&&m.push(`${r.out} (${r.piece} · ${r.format} · ${r.part} · ${r.t.toFixed(2)} s)`),r.mode==="grid"){m.push(`${r.out} (${r.piece} · ${String(r.tiles.length)} moments in ${String(r.cols)} columns)`,` ${r.tiles.map(n=>`${n.t.toFixed(r.stretch?3:2)} ${n.part}`).join(" · ")}`);const o=[...new Set(r.tiles.flatMap(n=>n.overlay?.missing??[]))];o.length>0&&m.push(` Not measured: ${o.join(", ")}.`)}return r.stretch&&m.push(` Stretch ${r.stretch.from.toFixed(3)}–${r.stretch.to.toFixed(3)} s, one frame in ${String(r.stretch.every)}: ${String(r.stretch.frames)} frames.`),"clip"in r&&r.clip&&m.push(`${r.clip.out} (${r.clip.type}, ${String(r.clip.frames)} frames at ${String(r.clip.fps)} fps, no sound)`),{value:{...r,...v(s)},text:[...m,...y(s)].join(`
7
+ `)}}),framesCuts=b({name:"frames cuts",summary:"A review sheet per cut of a video (a cut take's jumps, part joins, a scenery camera's cuts): frames around it, waveform and level, the words each side, the sound at it",input:t.strictObject({...j,part:t.string().optional().describe("Only this part's cuts and its joins"),out:t.string().optional().describe("The folder the sheets go in; default .allyhub/work/cuts/"),params:O({span:t.number().positive().max(10).default(U.span).describe("Seconds shown on each side of a cut")})}),positional:["item"],output:t.looseObject({out:t.string(),cuts:t.array(t.looseObject({sheet:t.string()}))}),examples:["allyhub frames cuts launch/film","allyhub frames cuts launch/film --part hook"]},async(e,i)=>{const a=i.cwd,d=await w(a,e.dir),{result:c,...l}=await $(e,i,"render",s=>X(s,{cwd:a,root:d,part:e.part,out:e.out,review:{span:e.params.span}})),h=c.part===void 0?`${String(c.cuts.length)} cut${c.cuts.length===1?"":"s"}`:`${String(c.cuts.length)} of ${String(c.total)} cuts (part ${c.part} and its joins)`,r=[`${c.piece} · ${c.format} · ${h}; silence is sound under ${String(c.threshold)} dBFS`];for(const s of c.cuts){const m=s.sound?`level ${S(s.sound.levelDb)} / around ${S(s.sound.aroundDb)} dBFS, peak ${S(s.sound.peakDb)}, step ${s.sound.jumpDb<0?"−":"+"}${Math.abs(s.sound.jumpDb).toFixed(1)} dB`:"no sound";r.push(`${String(s.index).padStart(3)} ${s.t.toFixed(3).padStart(7)} s ${s.kind.padEnd(6)} ${G(s)}`,` silence at the cut: ${V(s.silence)} · ${m}`,` “${s.said.before}” | “${s.said.after}”${s.across?` · across the cut: “${s.across}”`:""}`,` ${s.sheet}`)}return{value:{...c,...v(l)},text:[...r,...y(l)].join(`
8
+ `)}});const M=N;export const framesCompare=b({name:"frames compare",summary:"How a candidate picture differs from a reference, as numbers (ΔE, channels, SSIM, levels, grain, edges, regions) with a heatmap and a side-by-side: a piece's moment, a picture file or a video file's frame",input:t.strictObject({reference:t.string().describe("The reference picture (PNG, WebP, JPEG…)"),candidate:t.string().optional().describe("A piece (its id, its file without its extension, or its file; default the project's only one) at --at or --part's still; or a file by its extension: a picture (.png, .jpg, .webp…), or a video file's frame at --at (.mp4, .mov, .webm…)"),combo:j.combo,dir:F,at:t.string().optional().describe("The moment: seconds (from the start of --part when given) or an anchor of the piece; a video file's are seconds (default 0)"),part:t.string().optional().describe("The piece's part --at counts from; alone, its still"),refCrop:t.string().optional().describe("Cut the reference to x,y,width,height, or to an element of the elements.json beside it (frames web writes one)"),crop:t.string().optional().describe("Cut the candidate to x,y,width,height before any resize"),encode:t.string().optional().describe("Draw the candidate through this encode first, as a platform serves it: codec:kbps, h264 or hevc (hevc:618)"),out:t.string().optional().describe("Where its files go, a path without extension; default under .allyhub/work/compare/"),params:O({resize:t.enum(["stretch","width","none"]).default(M.resize).describe("When sizes differ: stretch the candidate to the reference, scale it to its width, or compare the common area"),shift:t.number().int().min(0).max(32).default(M.shift).describe("Search the best offset within this many pixels each way")})}),positional:["reference","candidate"],output:t.looseObject({reference:t.string(),files:t.looseObject({side:t.string(),heatmap:t.string()})}),examples:["allyhub frames compare reference.png launch/film --at 2.5 --encode hevc:618","allyhub frames compare reference.png shot.webp --ref-crop cta","allyhub frames compare reference.png theirs.mp4 --at 3"]},async(e,i)=>{const a=i.cwd,d=e.params,c=e.candidate!==void 0&&(q(e.candidate)||z(e.candidate))?e.candidate:void 0,l=m=>({cwd:a,root:m,reference:e.reference,file:c,at:e.at===void 0?void 0:[e.at],part:e.part,refCrop:e.refCrop,crop:e.crop,encode:e.encode,out:e.out,options:{shift:d.shift,resize:d.resize}});if(c!==void 0){if(e.combo!==void 0||e.part!==void 0)throw u("bad-option","--combo and --part are a piece's: the candidate is a file.");const m=await P(l(await k(a,e.dir)),void 0).catch(o=>{throw D(o)});return{value:m,text:E(m)}}const h=await w(a,e.dir),{result:r,...s}=await $({...e,item:e.candidate},i,"render",m=>P(l(h),m));return{value:{...r,...v(s)},text:[E(r),...y(s)].join(`
9
+ `)}}),framesWeb=b({name:"frames web",summary:"A web page's screenshot with its named elements' boxes in the image's pixels, for a screen demo",input:t.strictObject({url:t.string().describe("The page: an address, or an HTML file on this computer"),el:t.array(t.string()).optional().describe("An element to locate, name=selector (CSS, or text=<words>); [data-el] elements are found too"),click:t.array(t.string()).optional().describe("Selectors clicked in order before the shot (close a banner, open a dialog)"),full:t.boolean().default(!1).describe("The whole page, not one viewport"),out:t.string().optional().describe("Where the picture goes (a WebP), its boxes in <out>.elements.json beside it; default under .allyhub/work/pages/"),dir:F,size:t.string().default(`${String(x.width)}x${String(x.height)}`).describe("The viewport, WIDTHxHEIGHT in CSS pixels"),scale:t.number().min(1).max(4).default(x.scale).describe("Image pixels per CSS pixel; 2 draws a high-density screen, sharp when a camera goes in"),wait:t.number().int().min(0).optional().describe("Milliseconds to wait after loading and clicking")}),positional:["url"],output:t.looseObject({out:t.string(),elementsFile:t.string()}),examples:["allyhub frames web https://example.com --el cta=text=Sign\\ up --scale 2 --out assets/media/home","allyhub frames web page.html --click '#accept' --full"]},async(e,i)=>{const a=i.cwd,[d,c]=H(e.size),l=await Q({cwd:a,root:await k(a,e.dir),url:e.url,out:e.out,el:e.el,click:e.click,width:d,height:c,scale:e.scale,full:e.full,wait:e.wait});return{value:l,text:[`${l.out}: ${String(l.width)}×${String(l.height)}${l.scale===1?"":` (${String(l.scale)} image pixels per CSS pixel)`}, ${String(Object.keys(l.elements).length)} elements (${Object.keys(l.elements).join(", ")||"none"}) in ${l.elementsFile}`,...l.missing.length>0?[`Not found: ${l.missing.join(", ")} (the selector is wrong, or something must be opened with --click first).`]:[]].join(`
10
+ `),exit:l.missing.length>0?A.failed:A.ok}}),FRAMES_COMMANDS=[frames,framesCuts,framesCompare,framesWeb];
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{add as o,addSearch as r}from"./add.js";import{align as m}from"./align.js";import{audio as t,audioRecording as e}from"./audio.js";import{authLogin as i,authStatus as p}from"./auth.js";import{orgsList as s}from"./orgs.js";import{check as f}from"./check.js";import{dev as a}from"./dev.js";import{doctor as d}from"./doctor.js";import{FRAMES_COMMANDS as C}from"./frames.js";import{INSPECT_COMMANDS as l}from"./inspect/index.js";import{model as S,modelCapabilities as c}from"./model.js";import{slidesCapabilities as h,slidesImport as M}from"./slides.js";import{reference as n,referenceCompare as D,referenceSetCommand as O}from"./reference.js";import{render as u}from"./render.js";import{SCENERY_COMMANDS as E}from"./scenery.js";import{sheet as N,sheetCalc as A,sheetCapabilities as R,sheetDiff as _,sheetImport as g,sheetTrace as L}from"./sheet.js";import{skills as b,skillsShow as k}from"./skills.js";import{CLOUD_SOURCE as v,upload as w}from"./cloud-tools.js";import{siteDeploy as I,siteLive as U,siteStatus as x}from"./site.js";import{voice as T}from"./voice.js";import{words as y,wordsEdits as F}from"./words.js";export const COMMANDS=[f,...l,u,...C,t,e,N,A,L,_,R,g,a,o,r,b,k,y,F,m,n,D,O,...E,S,c,h,M,i,p,s,w,T,I,x,U,d],COMMAND_SOURCES=[v];
2
+ import{add as n,addSearch as p}from"./add.js";import{align as e}from"./align.js";import{authLogin as s,authStatus as f}from"./auth.js";import{orgsList as l}from"./orgs.js";import{MAIL_COMMANDS as S}from"./mail.js";import{check as a}from"./check.js";import{dev as C}from"./dev.js";import{doctor as d}from"./doctor.js";import{EXTENSIONS_SOURCE as c,builtInCommands as M}from"./contributed.js";import{doctorExtensions as O}from"./extensions.js";import{FRAMES_COMMANDS as E}from"./frames.js";import{INSPECT_COMMANDS as o,VIEWS_SOURCE as u,inspectCommands as N}from"./inspect/index.js";import{render as h}from"./render.js";import{skills as A,skillsShow as _}from"./skills.js";import{CLOUD_SOURCE as D,upload as x}from"./cloud-tools.js";export const COMMANDS=[a,...o,h,...E,C,n,p,A,_,e,s,f,l,x,...S,d,O],COMMAND_SOURCES=[D,c,u];let t;export function allCommands(){return t??=Promise.all([N(),M()]).then(([m,i])=>{const r=COMMANDS.indexOf(o[0]);return[...COMMANDS.slice(0,r),...m,...COMMANDS.slice(r+o.length),...i]}),t}
@@ -1,3 +1,3 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as s}from"zod";import{prepare as p}from"@allyhub/build";import{batchOf as d}from"@allyhub/export";import{EXIT as n}from"@allyhub/protocol";import{pieceNamed as l}from"@allyhub/video-core";import{CommandError as f,defineCommand as h}from"../../command.js";import{dir as b}from"../../fields.js";import{projectRoot as u}from"../../project.js";import{formatBatches as w,formatProblem as y}from"../../text/index.js";import{commandError as x}from"../../version.js";export const inspectCombos=h({name:"inspect combos",summary:"A batch's matrix, read without a browser: its slots, rules, the combos chosen and why, the render's cost",input:s.strictObject({item:s.string().optional().describe("The piece: its id, or a path into it; default every piece with slots"),dir:b}),positional:["item"],output:s.looseObject({}),examples:["allyhub inspect combos","allyhub inspect combos ads/tidyform"]},async(t,a)=>{try{const o=await u(a.cwd,t.dir),i=await p(o),c=i.pieces.filter(e=>t.item===void 0?e.matrix!==void 0:l({id:e.id,path:e.place},t.item));if(t.item!==void 0&&c.length===0)throw new f("no-piece",`No piece ${t.item}.`,{exit:n.notFound,hint:`Pieces: ${i.pieces.map(e=>e.id).join(", ")||"none"}.`});const r=c.flatMap(e=>d(e)??[]),m=i.problems.filter(e=>e.code.startsWith("AK-X"));return{value:{batches:r,problems:m},text:[...r.length===0?[t.item===void 0?"No piece has slots (matrix.slots).":`${t.item} has no slots: every combo of its dimensions is made.`]:w(r),...m.map(y)].join(`
3
- `),exit:m.some(e=>e.level==="error")?n.failed:n.ok}}catch(o){throw x(o)}});
2
+ import{z as m}from"zod";import{prepare as p}from"@allyhub/build";import{batchOf as d}from"@allyhub/export";import{EXIT as n}from"@allyhub/protocol";import{pieceNamed as l}from"@allyhub/video-core";import{CommandError as f,defineCommand as h}from"../../command.js";import{dir as b}from"../../fields.js";import{projectRoot as u}from"../../project.js";import{formatBatches as w,formatProblem as x}from"../../text/index.js";import{commandError as y}from"../../version.js";import{kindsAt as j}from"../extensions.js";export const inspectCombos=h({name:"inspect combos",summary:"A batch's matrix, read without a browser: its slots, rules, the combos chosen and why, the render's cost",input:m.strictObject({item:m.string().optional().describe("The piece: its id (its file without its extension) or its file; default every piece with slots"),dir:b}),positional:["item"],output:m.looseObject({}),examples:["allyhub inspect combos","allyhub inspect combos ads/tidyform"]},async(t,a)=>{try{const o=await u(a.cwd,t.dir),i=await p(o,{kinds:j(o)}),c=i.pieces.filter(e=>t.item===void 0?e.matrix!==void 0:l({id:e.id,path:e.place},t.item));if(t.item!==void 0&&c.length===0)throw new f("no-piece",`No piece ${t.item}.`,{exit:n.notFound,hint:`Pieces: ${i.pieces.map(e=>e.id).join(", ")||"none"}.`});const r=c.flatMap(e=>d(e)??[]),s=i.problems.filter(e=>e.code.startsWith("AK-X"));return{value:{batches:r,problems:s},text:[...r.length===0?[t.item===void 0?"No piece has slots (matrix.slots).":`${t.item} has no slots: every combo of its dimensions is made.`]:w(r),...s.map(x)].join(`
3
+ `),exit:s.some(e=>e.level==="error")?n.failed:n.ok}}catch(o){throw y(o)}});
@@ -1,3 +1,3 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as t}from"zod";import{consoleJson as m,momentsIn as p,versionLabel as l}from"@allyhub/project";import{EXIT as i}from"@allyhub/protocol";import{FACT_KINDS as d,countFacts as f,isFactKind as c}from"@allyhub/video-core";import{CommandError as s}from"../../command.js";import{formatConsole as u,formatFacts as h,formatProblem as b}from"../../text/index.js";import{known as x}from"../../version.js";export const plural=(e,o)=>`${String(e)} ${o}${e===1?"":"s"}`,sec=e=>e.toFixed(2),boxText=e=>`[${e.join(",")}]`,HEAD="measurements for you to judge, not problems. Boxes are [x,y,w,h], in pixels (a deck's in points); --json has every one.",STRETCH={part:t.string().optional().describe("Only this part"),from:t.number().min(0).optional().describe("From this second of the video"),to:t.number().min(0).optional().describe("Up to this second of the video")},MOMENTS={at:t.array(t.string()).optional().describe("At these moments: seconds (from --part's start when given) or anchors (@press, @/map, @press+0.2)"),every:t.number().positive().optional().describe("Every this many seconds through the stretch (--part, or --from to --to, else all of it)")},kind=t.array(t.string()).optional().describe(`Only facts of these kinds: ${Object.keys(d).join(", ")}`),all=e=>t.boolean().default(!1).describe(`Every finding on a line of its own${e===void 0?"":`, and ${e}`}`);export function kindsOf(e){if(e!==void 0)return e.map(o=>{if(!c(o))throw new s("bad-kind",`There is no kind of fact ${o}.`,{exit:i.usage,hint:`Kinds: ${Object.keys(d).join(", ")}.`});return o})}export function momentsOf(e,o){if(e.at!==void 0&&e.every!==void 0)throw new s("bad-option","--at and --every do not go together.",{exit:i.usage});const n=e.at?.map(r=>{const a=Number(r.replace(/s$/u,""));return r.trim().startsWith("@")||!Number.isFinite(a)?r:a});return x(()=>p(o.timeline,{...n===void 0?{}:{at:n},...e.every===void 0?{}:{every:e.every},part:e.part,from:e.from,to:e.to},o.target))}export function mustBeVideo(e,o){if(e.piece.kind!=="video")throw new s("bad-option",`${l(e.target)} is not a video: ${o}.`,{exit:i.usage})}export function pageLines(e){const o=e.problems.filter(n=>n.level==="error");return[...o.length>0?["Must fix (facts may be missing where they are):",...o.map(b)]:[],...u(m(e.console))]}export const pageJson=e=>({problems:e.problems.filter(o=>o.level==="error"),...m(e.console)});export function factsResult(e,o,n,r=[]){return{value:{facts:e,counts:f(e),total:n.total??e.length,...n.extra,...pageJson(o)},text:[`${plural(e.length,"fact")} measured now: ${HEAD}`,...h(e,{all:n.all}),...r,...pageLines(o)].join(`
3
- `)}}
2
+ import{z as s}from"zod";import{FACTS_HEAD as c,MOMENTS as d,STRETCH as x,allFindings as g}from"@allyhub/build";import{consoleJson as m}from"@allyhub/project";import{momentsIn as h}from"@allyhub/video-measure";import{EXIT as f}from"@allyhub/protocol";import{countFacts as b}from"@allyhub/diagnostics";import{CommandError as a}from"../../command.js";import{builtInExtensions as $,extensionsAt as p,factKindsOf as l,factOwner as w}from"../extensions.js";import{formatConsole as y,formatFacts as k,formatProblem as v}from"../../text/index.js";import{known as E}from"../../version.js";export const plural=(e,t)=>`${String(e)} ${t}${e===1?"":"s"}`,sec=e=>e.toFixed(2),boxText=e=>`[${e.join(",")}]`,HEAD=c;export{d as MOMENTS,x as STRETCH};export const kind=s.array(s.string()).optional().describe(`Only facts of these kinds: ${l($()).map(e=>e.kind).join(", ")}`),all=g;export function kindsOf(e,t){if(e===void 0)return;const n=l(p(t)).map(o=>o.kind);return e.map(o=>{if(!n.includes(o))throw new a("bad-kind",`There is no kind of fact ${o}.`,{exit:f.usage,hint:`Kinds: ${n.join(", ")}.`});return o})}export function momentsOf(e,t){if(e.at!==void 0&&e.every!==void 0)throw new a("bad-option","--at and --every do not go together.",{exit:f.usage});const n=e.at?.map(o=>{const r=Number(o.replace(/s$/u,""));return o.trim().startsWith("@")||!Number.isFinite(r)?o:r});return E(()=>h(t.timeline,{...n===void 0?{}:{at:n},...e.every===void 0?{}:{every:e.every},part:e.part,from:e.from,to:e.to},t.target))}export function pageLines(e){const t=e.problems.filter(n=>n.level==="error");return[...t.length>0?["Must fix (facts may be missing where they are):",...t.map(v)]:[],...y(m(e.console))]}export const pageJson=e=>({problems:e.problems.filter(t=>t.level==="error"),...m(e.console)});export function factsResult(e,t,n,o=[]){return{value:{facts:e,counts:b(e),total:n.total??e.length,...n.extra,...pageJson(t)},text:[`${plural(e.length,"fact")} measured now: ${HEAD}`,...k(e,{all:n.all}),...o,...pageLines(t)].join(`
3
+ `)}}export function unseenKinds(e,t,n){const o=p(n);return(e??[]).flatMap(r=>{if(t.some(u=>u.kind===r))return[];const i=w(o,r);return i?[{kind:r,...i}]:[]})}export const unseenLines=e=>e.map(t=>`No ${t.kind} facts here. It is ${t.extension}'s: ${t.about}`);
@@ -1,4 +1,4 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as i}from"zod";import{consoleJson as y}from"@allyhub/project";import{countFacts as d,filterFacts as h}from"@allyhub/video-core";import{defineCommand as k}from"../../command.js";import{dir as w}from"../../fields.js";import{projectRoot as j}from"../../project.js";import{formatFacts as u}from"../../text/index.js";import{checkIndexed as v,combosOf as O,commandError as $}from"../../version.js";import{findSheet as x}from"../sheet.js";import{HEAD as b,STRETCH as F,all as S,kind as E,kindsOf as T,pageLines as z,plural as m}from"./common.js";import{projectSheetFacts as C,sheetFacts as H}from"./sheet.js";export const inspect=k({name:"inspect",summary:"The check's facts, for you to judge, never problems: by kind, part and time",input:i.strictObject({item:i.string().optional().describe("Only this item: its id, a path into it, or a folder of items"),combo:i.array(i.string()).optional().describe("Only combos matching name=value pairs joined with commas (lang=zh-cn,hook=b), or a combo's id (c03)"),kind:E,...F,all:S(),dir:w}),positional:["item"],output:i.looseObject({}),examples:["allyhub inspect","allyhub inspect launch/film --kind text-time,text-covered","allyhub inspect launch/film --part hook --all"]},async(t,c)=>{try{const o=await j(c.cwd,t.dir),a=T(t.kind),p=t.item===void 0?void 0:await x(o,c.cwd,t.item);if(p){const l=await H(o,p,{all:t.all}),s=h(l,{kinds:a});return{value:{facts:s,counts:d(s),total:l.length,problems:[]},text:[`${m(s.length,"fact")}: ${b}`,...u(s,{all:t.all})].join(`
3
- `)}}const r=await v({dir:o,...t.item===void 0?{}:{piece:t.item},combos:O(t)},c),e=[...r.facts,...t.item===void 0?await C(o,{all:t.all}):[]],n=h(e,{kinds:a,part:t.part,from:t.from,to:t.to}),f=r.problems.filter(l=>l.level==="error"),g=n.length===e.length?m(e.length,"fact"):`${m(n.length,"fact")} of ${String(e.length)}`;return{value:{facts:n,counts:d(n),total:e.length,problems:f,...y(r.console)},text:[`${g}: ${b}`,...u(n,{all:t.all}),...z({problems:f,console:r.console})].join(`
4
- `)}}catch(o){throw $(o)}});
2
+ import{z as f}from"zod";import{itemKindBuild as S,projectItems as g}from"@allyhub/build";import{NEVER_CANCELLED as C}from"@allyhub/extension-api";import{consoleJson as L}from"@allyhub/project";import{countFacts as k,filterFacts as y}from"@allyhub/diagnostics";import{defineCommand as A}from"../../command.js";import{dir as F}from"../../fields.js";import{itemNamed as N,projectRoot as I}from"../../project.js";import{formatFacts as j}from"../../text/index.js";import{checkIndexed as K,combosOf as R,commandError as T}from"../../version.js";import{HEAD as O,STRETCH as z,all as D,kind as H,kindsOf as P,pageLines as B,plural as h,unseenKinds as v,unseenLines as E}from"./common.js";import{extensionsAt as J,factKindsOf as V,kindsAt as x}from"../extensions.js";async function w(t,i,n){const e=J(t),o=await e.kindProvider(i.kind);if(!o?.facts)return;const r=new Set(V(e).map(s=>s.kind));return(await o.facts(i,{root:t,tool:s=>Promise.reject(new Error(`No project tool ${s} in the CLI.`))},n,C)??[]).filter(s=>r.has(s.kind))}async function _(t,i){const{items:n}=await g(t,x(t)),e=[];for(const o of n)e.push(...await w(t,o,i)??[]);return e}async function q(t,i,n){const e=x(t),{items:o}=await g(t,e),r=N(o,t,i,n);if(!r)return;const a=await S(e,r);return{item:r,onStage:a?.onStage===!0}}export const inspect=A({name:"inspect",summary:"The check's facts, for you to judge, never problems: by kind, part and time",input:f.strictObject({item:f.string().optional().describe("Only this item: its id (its file without its extension) or its file, or a folder of items"),combo:f.array(f.string()).optional().describe("Only combos matching name=value pairs joined with commas (lang=zh-cn,hook=b), or a combo's id (c03)"),kind:H,...z,all:D(),dir:F}),positional:["item"],output:f.looseObject({}),examples:["allyhub inspect","allyhub inspect launch/film --kind text-time,text-covered","allyhub inspect launch/film --part hook --all"]},async(t,i)=>{try{const n=await I(i.cwd,t.dir),e=P(t.kind,n),o=t.item===void 0?void 0:await q(n,i.cwd,t.item),r=o?.onStage===!1?o.item:void 0,a=r&&await w(n,r,{all:t.all});if(a){const d=a,m=y(d,{kinds:e}),p=v(e,m,n);return{value:{facts:m,counts:k(m),total:d.length,problems:[],...p.length>0?{unseen:p}:{}},text:[`${h(m.length,"fact")}: ${O}`,...j(m,{all:t.all}),...E(p)].join(`
3
+ `)}}const s=await K({dir:n,...t.item===void 0?{}:{piece:t.item},combos:R(t)},i),l=[...s.facts,...t.item===void 0?await _(n,{all:t.all}):o===void 0?[]:await w(n,o.item,{all:t.all})??[]],c=y(l,{kinds:e,part:t.part,from:t.from,to:t.to}),b=s.problems.filter(d=>d.level==="error"),u=v(e,c,n),$=c.length===l.length?h(l.length,"fact"):`${h(c.length,"fact")} of ${String(l.length)}`;return{value:{facts:c,counts:k(c),total:l.length,problems:b,...u.length>0?{unseen:u}:{},...L(s.console)},text:[`${$}: ${O}`,...j(c,{all:t.all}),...E(u),...B({problems:b,console:s.console})].join(`
4
+ `)}}catch(n){throw T(n)}});
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{inspectCombos as t}from"./combos.js";import{inspectContrast as o}from"./contrast.js";import{inspect as i}from"./facts.js";import{inspectFidelity as p}from"./fidelity.js";import{inspectFlash as m,inspectSeams as r}from"./joins.js";import{inspectLayout as e}from"./layout.js";import{inspectLoop as s,inspectMotion as n,inspectStill as c}from"./motion.js";import{inspectSheet as f}from"./sheet.js";import{inspectTimeline as l}from"./timeline.js";export const INSPECT_COMMANDS=[i,e,l,t,n,s,c,o,r,m,p,f];
2
+ import{inspectCombos as o}from"./combos.js";import{inspect as m}from"./facts.js";import{inspectLayout as i}from"./layout.js";import{builtInViews as p}from"./views.js";export const INSPECT_COMMANDS=[m,i,o];export async function inspectCommands(){const t=await p(),[,...a]=INSPECT_COMMANDS,s=[...a,...t],n=Math.max(...s.map(e=>e.spec.name.length))-8;return[{...m,about:{lines:["Views, each a measurement now (allyhub help inspect <view> says what one takes):",...s.map(e=>` ${e.spec.name.slice(8).padEnd(n)} ${e.spec.summary}`)],value:{views:s.map(e=>({name:e.spec.name.slice(8),summary:e.spec.summary}))}}},...a,...t]}export{VIEWS_SOURCE}from"./views.js";
@@ -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 r}from"zod";import{measuredFacts as u}from"@allyhub/measure";import{DECK_FACT_DEFAULTS as c,deckFacts as h}from"@allyhub/slides-core";import{stretchOf as y}from"@allyhub/project";import{ffmpegOf as b}from"@allyhub/render";import{filterFacts as k}from"@allyhub/video-core";import{defineCommand as w}from"../../command.js";import{textOnScreen as g}from"../../text/index.js";import{VERSION_FIELDS as x,known as v,withVersion as O}from"../../version.js";import{MOMENTS as S,STRETCH as $,all as A,boxText as E,factsResult as F,kind as T,kindsOf as C,momentsOf as L,sec as N}from"./common.js";export const inspectLayout=w({name:"inspect layout",summary:"One version's layout measured now, at its measured moments or at --at / --every; --texts lists every text block with its fonts",input:r.strictObject({...x,...S,...$,texts:r.boolean().default(!1).describe("List every text block at every moment, with its box and fonts"),within:r.number().positive().optional().describe(`A deck: lines up to this many points apart and not in line are near-alignment (default ${String(c.within)})`),drift:r.number().nonnegative().optional().describe(`A deck: places further apart than this, in points, are placement-drift (default ${String(c.drift)})`),level:r.array(r.enum(["master","layout","slide"])).optional().describe("A deck: measure only shapes of these levels (default every one): slide leaves out what a master or a layout draws on every slide"),except:r.array(r.string()).optional().describe("A deck: leave shapes of these names out of every fact, * for any letters (tick-*)"),room:r.string().regex(/^[\d.]+,[\d.]+$/u).optional().describe("A deck's read-size: a room as its screen's width and its farthest seat, in metres (3,12); without it no room is measured"),kind:T,all:A()}),positional:["item"],output:r.looseObject({}),examples:["allyhub inspect layout launch/film --at 1.5,@press --texts","allyhub inspect layout launch/film --every 0.5 --part hook","allyhub inspect layout launch/deck --kind near-alignment --within 10","allyhub inspect layout launch/deck --level slide --except 'tick-*'"]},async(e,d)=>{const s=await O(e,d,"render",async t=>{const n=t.timeline,{part:l}=v(()=>y(n,e)),o=await t.version.measure(L(e,t)),m=[...t.version.summary?.facts??[],...o.deck?h(o.deck,{width:o.width,height:o.height},{piece:t.target.piece,output:t.target.output,combo:t.target.combo,format:t.target.format},{...e.within===void 0?{}:{within:e.within},...e.drift===void 0?{}:{drift:e.drift},...e.level===void 0?{}:{levels:e.level},...e.except===void 0?{}:{except:e.except},...e.room===void 0?{}:{room:{screen:Number(e.room.split(",")[0]),distance:Number(e.room.split(",")[1])}}}):await u(o,n,t.target,{root:t.prepared.root,media:t.prepared.media,ffmpeg:await b()},n.profile?.label)];return{facts:k(m,{kinds:C(e.kind),part:e.part}),total:m.length,moments:e.texts?o.moments.filter(i=>!l||i.part===l.key).map(i=>({t:i.t,part:i.part,...i.face?{face:i.face}:{},texts:i.texts})):void 0}}),{facts:p,total:f,moments:a}=s.result;return F(p,s,{all:e.all,total:f,...a?{extra:{moments:a}}:{}},(a??[]).map(t=>` ${N(t.t)} ${t.part}${t.face?` face ${E(t.face)}`:""}: ${t.texts.map(g).join("; ")||"(no text)"}`))});
2
+ import{z as r}from"zod";import{measuredFacts as u}from"@allyhub/video-measure";import{DECK_FACT_DEFAULTS as c,deckFacts as h}from"@allyhub/slides-core";import{stretchOf as y}from"@allyhub/video-measure";import{ffmpegOf as b}from"@allyhub/render";import{filterFacts as k}from"@allyhub/diagnostics";import{defineCommand as w}from"../../command.js";import{textOnScreen as g}from"../../text/index.js";import{VERSION_FIELDS as x,known as v,withVersion as O}from"../../version.js";import{MOMENTS as S,STRETCH as $,all as A,boxText as E,factsResult as F,kind as T,kindsOf as C,momentsOf as L,sec as N}from"./common.js";export const inspectLayout=w({name:"inspect layout",summary:"One version's layout measured now, at its measured moments or at --at / --every; --texts lists every text block with its fonts",input:r.strictObject({...x,...S,...$,texts:r.boolean().default(!1).describe("List every text block at every moment, with its box and fonts"),within:r.number().positive().optional().describe(`A deck: lines up to this many points apart and not in line are near-alignment (default ${String(c.within)})`),drift:r.number().nonnegative().optional().describe(`A deck: places further apart than this, in points, are placement-drift (default ${String(c.drift)})`),level:r.array(r.enum(["master","layout","slide"])).optional().describe("A deck: measure only shapes of these levels (default every one): slide leaves out what a master or a layout draws on every slide"),except:r.array(r.string()).optional().describe("A deck: leave shapes of these names out of every fact, * for any letters (tick-*)"),room:r.string().regex(/^[\d.]+,[\d.]+$/u).optional().describe("A deck's read-size: a room as its screen's width and its farthest seat, in metres (3,12); without it no room is measured"),kind:T,all:A()}),positional:["item"],output:r.looseObject({}),examples:["allyhub inspect layout launch/film --at 1.5,@press --texts","allyhub inspect layout launch/film --every 0.5 --part hook","allyhub inspect layout launch/deck --kind near-alignment --within 10","allyhub inspect layout launch/deck --level slide --except 'tick-*'"]},async(e,d)=>{const n=await O(e,d,"render",async t=>{const s=t.timeline,{part:l}=v(()=>y(s,e)),i=await t.version.measure(L(e,t)),m=[...t.version.summary?.facts??[],...i.deck?h(i.deck,{width:i.width,height:i.height},{piece:t.target.piece,output:t.target.output,combo:t.target.combo,format:t.target.format},{...e.within===void 0?{}:{within:e.within},...e.drift===void 0?{}:{drift:e.drift},...e.level===void 0?{}:{levels:e.level},...e.except===void 0?{}:{except:e.except},...e.room===void 0?{}:{room:{screen:Number(e.room.split(",")[0]),distance:Number(e.room.split(",")[1])}}}):await u(i,s,t.target,{root:t.prepared.root,media:t.prepared.media,ffmpeg:await b()})];return{facts:k(m,{kinds:C(e.kind,t.prepared.root),part:e.part}),total:m.length,moments:e.texts?i.moments.filter(o=>!l||o.part===l.key).map(o=>({t:o.t,part:o.part,...o.face?{face:o.face}:{},texts:o.texts})):void 0}}),{facts:p,total:f,moments:a}=n.result;return F(p,n,{all:e.all,total:f,...a?{extra:{moments:a}}:{}},(a??[]).map(t=>` ${N(t.t)} ${t.part}${t.face?` face ${E(t.face)}`:""}: ${t.texts.map(g).join("; ")||"(no text)"}`))});
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{pathToFileURL as c}from"node:url";import{z as w}from"zod";import{CheckSession as h,OpenedVersion as y,keyedMeasures as g,keyedStills as v}from"@allyhub/project";import{defineCommand as x}from"../../command.js";import{tellPresence as b}from"../../presence.js";import{projectRoot as k}from"../../project.js";import{formatFacts as S}from"../../text/index.js";import{commandError as $,withOpened as E}from"../../version.js";import{builtInExtensions as u,kindsAt as m,projectExtensions as p}from"../extensions.js";import{factsResult as V,kindsOf as C,pageJson as O,pageLines as j}from"./common.js";const d=new Map;function I(e){let i=d.get(e.module);return i||(i=import(c(e.module).href).then(t=>{if(typeof t.default!="object"||t.default===null)throw new Error(`${e.extension}'s inspect views (${e.module}) have no default export.`);return t.default}),d.set(e.module,i)),i}export async function projectSession(e,i,t={}){const n=await h.open({root:e,kinds:m(e),...t.browser===void 0?{}:{browser:t.browser}});try{return await i({prepared:n.prepared,browser:n.browser,open:(r,o)=>n.open(r,o),async version(r,o,a){const s=await y.open({root:e,item:r,purpose:o,session:n});try{return await a(s)}finally{await s.close()}},componentStills:(r,o,a)=>v(o,{prepared:n.prepared,item:r,combo:a,gpu:n.gpu,withSession:s=>s(n)}),componentMeasures:(r,o,a)=>g(o,{prepared:n.prepared,item:r,combo:a,gpu:n.gpu,withSession:s=>s(n)})})}finally{await n.close()}}export function viewContext(e){return{cwd:e.cwd,env:e.env,progress:i=>{e.progress(i)},signal:e.signal,root:i=>k(e.cwd,i),kinds:m,session:projectSession,version:(i,t,n)=>E(i,e,t,n),looking:(i,{item:t,place:n})=>b(i,{doing:"looking",item:t,...n===void 0?{}:{place:n}}),factKinds:(i,t)=>C(i,t),factLines:(i,t)=>S(i,t),pageLines:j,pageJson:O,measured:(i,t,n,r=[])=>V(i,t,n,r)}}async function l(e){const t=(await I(e))[e.name];if(!t)throw new Error(`${e.extension} contributes the inspect view "${e.name}" but its module (${e.module}) has none of that name.`);return x({name:`inspect ${e.name}`,summary:e.summary,input:t.input,...t.positional?{positional:[...t.positional]}:{},output:w.looseObject({}),examples:[...t.examples]},async(n,r)=>{try{const o=await t.run(n,viewContext(r));return{value:o.value,text:o.text,...o.exit===void 0?{}:{exit:o.exit}}}catch(o){throw $(o)}})}export async function viewCommands(e){return Promise.all(e.inspectViews().map(l))}let f;export function builtInViews(){return f??=viewCommands(u()),f}export const VIEWS_SOURCE={works:!1,under:"inspect",entries:[],async nouns(e){const i=new Set(u().inspectViews().map(n=>n.name)),t=await p(e).catch(()=>{});return t?t.inspectViews().filter(n=>!i.has(n.name)).map(n=>({name:`inspect ${n.name}`,summary:`${n.summary} (${n.extension})`})):[]},async resolve(e,i){if(e[0]!=="inspect"||e[1]===void 0)return;const n=(await p(i).catch(()=>{}))?.inspectViews().find(r=>r.name===e[1]);if(n)return{command:await l(n),rest:e.slice(2),list:!1}}};
@@ -0,0 +1,9 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{readFile as h}from"node:fs/promises";import{basename as k,resolve as R}from"node:path";import{setTimeout as D}from"node:timers/promises";import{lookup as L}from"mrmime";import{z as t}from"zod";import{CloudError as F,createMailAlias as N,mailbox as C,rawMail as E,readMail as y,replyMail as H,searchMail as w,sendMail as _}from"@allyhub/cloud";import{EXIT as x,MAIL_LIMITS as f,MAIL_DIRECTIONS as z,MAIL_ORDERS as W}from"@allyhub/protocol";import{CommandError as j,defineCommand as r}from"../command.js";import{cloudOf as l,cloudWork as d}from"./cloud.js";const Z=t.looseObject({address:t.string(),name:t.string()}),u=t.looseObject({id:t.string(),receivedAt:t.string(),to:t.string(),from:Z.nullable(),subject:t.string(),threadId:t.string()}),$=u.extend({text:t.string(),links:t.array(t.looseObject({href:t.string(),text:t.string()}))}),B=e=>e instanceof F&&(e.code==="network"||e.status!==void 0&&e.status>=500),O={to:t.string().optional().describe("Sent to this address (or its part before @), with or without its +tag"),from:t.string().optional().describe("A part of the sender's address or name"),subject:t.string().optional().describe("A part of the subject"),text:t.string().optional().describe("A part of the text"),project:t.string().optional().describe("Sent to an address labelled with this project"),thread:t.string().optional().describe("In this thread (a thread id)")},S=e=>e.from===null?"(no sender)":e.from.name===""?e.from.address:`${e.from.name} <${e.from.address}>`,v=e=>e.direction==="out"&&e.recipients.length>0?e.recipients.map(s=>s.address).join(", "):e.to,P=e=>`${e.id} ${e.receivedAt} ${S(e)}
3
+ to ${v(e)}: ${e.subject===""?"(no subject)":e.subject}`;function g(e){const s=[`From: ${S(e)}`,`To: ${v(e)}`,`Subject: ${e.subject}`,`Received: ${e.receivedAt}`,`Id: ${e.id} Thread: ${e.threadId}`,"",e.text===""?"(no text)":e.text];return e.textCut&&s.push("","(The text is cut; --raw prints all of it.)"),e.links.length>0&&s.push("","Links:",...e.links.map(a=>` ${a.href}${a.text===""?"":` (${a.text})`}`)),e.attachments.length>0&&s.push("","Attachments:",...e.attachments.map(a=>` ${a.name??"(no name)"} ${a.type} ${String(a.size)} bytes`)),s.join(`
4
+ `)}export const mailAddresses=r({name:"mail addresses",summary:"Your mailbox's addresses in this organization, which your agents use as their own (made the first time); mail to any of them, with any +tag, comes to the same mailbox",input:t.strictObject({}),output:t.looseObject({domain:t.string(),displayName:t.string(),addresses:t.array(t.looseObject({address:t.string(),kind:t.string(),project:t.string().nullable()}))}),examples:["allyhub mail addresses"]},(e,s)=>d(async()=>{const a=await C(l(s));return{value:a,text:[...a.addresses.map(i=>`${i.address} ${i.kind}${i.project===null?"":` project ${i.project}`}`),`Sent as "${a.displayName}"; mail is kept ${String(a.retentionDays)} days.`].join(`
5
+ `)}})),mailAlias=r({name:"mail alias",summary:"Add an address of its own to your mailbox (<name>.<team>@<domain>), for a site that refuses +tags or wants a different address for each account",input:t.strictObject({name:t.string().describe("Its name: 2 to 40 lowercase letters, digits and hyphens"),project:t.string().optional().describe("A project to label it with, to search its mail by")}),positional:["name"],output:t.looseObject({address:t.string()}),examples:["allyhub mail alias launch-test2 --project acme-launch"]},(e,s)=>d(async()=>{const a=await N(l(s),{name:e.name,...e.project===void 0?{}:{project:e.project}});return{value:a,text:a.address}})),mailSearch=r({name:"mail search",summary:"List the mail your mailbox received and sent, newest first; each option narrows it",input:t.strictObject({...O,direction:t.enum(z).optional().describe("in (received) or out (sent); both by default"),since:t.string().optional().describe("Received after this moment (ISO 8601, as 2026-11-05T10:00:00Z)"),order:t.enum(W).default("newest").describe("newest or oldest first"),limit:t.number().int().min(1).max(f.listed).default(20).describe(`How many to list, at most ${String(f.listed)}`)}),output:t.looseObject({messages:t.array(u)}),examples:["allyhub mail search --from shop.example --limit 5","allyhub mail search --to ada.acme+staging --since 2026-11-05T10:00:00Z"]},(e,s)=>d(async()=>{const a=await w(l(s),e);return{value:{messages:a},text:a.length===0?"No mail matches.":a.map(P).join(`
6
+ `)}})),mailRead=r({name:"mail read",summary:"Read a message: its text, its links and its attachments' names; its HTML or the message as it came on ask",input:t.strictObject({id:t.string().describe("The message's id, from mail search or mail wait"),html:t.boolean().default(!1).describe("Include its HTML"),raw:t.boolean().default(!1).describe("Print the message as it came (MIME), headers and all")}),positional:["id"],output:t.union([$,t.looseObject({raw:t.string()})]),examples:["allyhub mail read 3f2c… --html"]},(e,s)=>d(async()=>{const a=l(s);if(e.raw){const o=new TextDecoder().decode(await E(a,e.id));return{value:{raw:o},text:o}}const i=await y(a,e.id,{html:e.html});return{value:i,text:i.html===void 0?g(i):`${g(i)}
7
+
8
+ HTML:
9
+ ${i.html}`}})),mailWait=r({name:"mail wait",summary:"Wait for the next message that matches, received after --since (by default, when the wait starts), and print it whole",input:t.strictObject({...O,since:t.string().optional().describe("Count mail received after this moment (ISO 8601); give the moment before you acted, so a message that came first is not missed"),timeout:t.number().min(1).max(3600).default(120).describe("Seconds to wait before giving up"),every:t.number().min(1).max(60).default(3).describe("Seconds between looks")}),output:t.looseObject({message:$.nullable(),timedOut:t.boolean()}),examples:['allyhub mail wait --to ada.acme+staging --from staging.example --since "$(date -u +%Y-%m-%dT%H:%M:%SZ)"']},(e,s)=>d(async()=>{const a=l(s),i=e.since??new Date().toISOString();if(Number.isNaN(Date.parse(i)))throw new j("invalid-since",`--since is not a moment: "${i}".`,{hint:"Write it as 2026-11-05T10:00:00Z.",exit:x.usage});const{timeout:o,every:c,...n}=e,T={...n,direction:"in",since:new Date(i).toISOString(),order:"oldest",limit:1},p=Date.now()+o*1e3;for(;;){let b;try{[b]=await w(a,T,s.signal)}catch(m){if(!B(m)||s.signal.aborted||Date.now()+c*1e3>p)throw m}if(b!==void 0){const m=await y(a,b.id);return{value:{message:m,timedOut:!1},text:g(m)}}if(Date.now()+c*1e3>p)break;await D(c*1e3,void 0,{signal:s.signal})}return{value:{message:null,timedOut:!0},text:`No mail matched in ${String(o)} seconds.`,exit:1}}));const I={text:t.string().optional().describe("Its text; or --body-file"),bodyFile:t.string().optional().describe("A file holding its text"),htmlFile:t.string().optional().describe("A file holding its HTML, sent beside its text"),attach:t.array(t.string()).optional().describe(`Files to attach, ${String(f.attachmentBytes/1024/1024)} MB together at most`),from:t.string().optional().describe("One of your mailbox's addresses, a +tag allowed; your main one by default")};async function A(e,s){const a=n=>R(s.cwd,n);if(e.text===void 0==(e.bodyFile===void 0))throw new j("no-text","Give the message's text with --text or --body-file, one of them.",{exit:x.usage});const i=e.text??await h(a(e.bodyFile??""),"utf8"),o=e.htmlFile===void 0?void 0:await h(a(e.htmlFile),"utf8"),c=await Promise.all((e.attach??[]).map(async n=>({name:k(n),type:L(n)??"application/octet-stream",content:(await h(a(n))).toString("base64")})));return{text:i,...o===void 0?{}:{html:o},...c.length===0?{}:{attachments:c},...e.from===void 0?{}:{from:e.from}}}const M=(e,s)=>`${s} ${e.subject===""?"(no subject)":`"${e.subject}"`} from ${e.to}. Id: ${e.id} Thread: ${e.threadId}`;export const mailSend=r({name:"mail send",summary:"Send a message from your mailbox, to whom your person lets it write (your organization's people by default); a line under it says an AI agent wrote it",input:t.strictObject({to:t.array(t.string()).min(1).describe("Recipients' addresses"),cc:t.array(t.string()).optional().describe("Addresses to copy"),subject:t.string().describe("Its subject"),...I}),output:u,examples:['allyhub mail send --to ben@acme.com --subject "Storyboard v2" --body-file note.txt --attach out/storyboard.pdf']},(e,s)=>d(async()=>{const a=await A(e,s),i=await _(l(s),{to:e.to,...e.cc===void 0?{}:{cc:e.cc},subject:e.subject,...a});return{value:i,text:M(i,"Sent")}})),mailReply=r({name:"mail reply",summary:"Reply to a message, in its thread: to its sender, or with --all to everyone it named; from the address it came to",input:t.strictObject({id:t.string().describe("The message's id"),all:t.boolean().default(!1).describe("Reply to everyone it named too"),...I}),positional:["id"],output:u,examples:['allyhub mail reply 3f2c… --text "Thanks, on it."']},(e,s)=>d(async()=>{const a=await A(e,s),i=await H(l(s),e.id,{...e.all?{all:!0}:{},...a});return{value:i,text:M(i,"Replied")}})),MAIL_COMMANDS=[mailAddresses,mailAlias,mailSearch,mailRead,mailWait,mailSend,mailReply];
@@ -1,3 +1,3 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{join as y,resolve as x}from"node:path";import{z as t}from"zod";import{formatConsole as v,formatProblem as w}from"../text/index.js";import{exportProject as k}from"@allyhub/export";import{SHARE_ENCODE as n}from"@allyhub/render";import{consoleJson as p}from"@allyhub/project";import{OUT_DIR as $}from"@allyhub/formats";import{EXIT as c}from"@allyhub/protocol";import{defineCommand as P}from"../command.js";import{parameters as j}from"../parameters.js";import{projectRoot as O}from"../project.js";import{combosOf as S,commandError as A}from"../version.js";import{dir as B,indexing as N}from"../fields.js";const T={codec:t.enum(["h264","h265"]).default("h264").describe("The mp4's video codec; h265 is smaller"),crf:t.number().int().min(0).max(63).optional().describe(`Quality, lower is better: default ${String(n.crf)} for an mp4, ready to share (a platform profile's format its own), 30 for a webm`),maxBitrate:t.number().int().min(0).max(5e5).optional().describe(`An mp4's most video bitrate, kbit/s, 0 for none: default ${String(n.maxKbps)} at 1080p ${String(n.fps)} fps, scaled by the frame's pixels and the frames a second (16000 at 1080p 60, 32000 at 4K 30), so the file is ready to share; a platform profile's format its own`),audioBitrate:t.number().int().min(32).max(512).optional().describe("The sound's bitrate, kbit/s: default 192 (AAC in an mp4), 160 (Opus in a webm); a mov keeps PCM"),steps:t.boolean().default(!1).describe("A deck's pdf, png and pptx: a page, a file or a slide per step of each page, not only its last"),values:t.enum(["data","shown"]).optional().describe("A sheet's csv, json and md: each value as data (a date 2026-01-15, a time 09:30, a duration 36:00, a number to 15 digits; csv's and json's default) or as its format shows it (15 Jan 2026, $1,200.00; md's default)"),bom:t.boolean().default(!0).describe("A sheet's csv starts with a UTF-8 byte-order mark, by which Excel reads its letters right (é, €, 中文); false for a tool that does not expect one"),pptx:t.enum(["native","picture"]).default("native").describe("A deck's pptx: native, PowerPoint's own model, editable there (the deck's masters, layouts, placeholders, shapes, text, pictures, videos and notes, a component as its picture); or picture, each slide a picture of the page")},D=(o,i)=>`${String(o)} ${i}${o===1?"":"s"}`;export const render=P({name:"render",summary:"The files: a video, its frames, subtitles, cover and mastered mix; a batch's table of ads; a deck's PDF, PPTX and PNGs; a doc's PDF and Markdown; a sheet's Excel workbook with live formulas, PDF, PNG, CSV, Markdown and JSON; a 3D model's GLB",input:t.strictObject({items:t.array(t.string()).optional().describe("Only these items: an id, a path into one, or a folder of items; default every one"),combo:t.array(t.string()).optional().describe("Only the combos matching name=value pairs joined with commas (lang=zh-cn,hook=b), or a combo's id (c03)"),type:t.array(t.string()).optional().describe("File types: mp4, mov, webm, gif, png, srt, vtt (cues cut as the piece's captions layer cuts them, else by default), cover, wav (the mix, mastered as the render masters it: 48 kHz, 16 bits, the film's length), pdf, pptx; csv for a piece with slots, its table of ads (<piece>/ads.csv: a row per ad with its combo, picks, length, file, name and generated media); a doc's pdf, docx, png, md; a sheet's xlsx (every sheet, formulas live with their values cached), pdf, png, csv, md, json; a 3D model's glb. Default mp4 for a video, pdf for a deck and a doc, xlsx for a sheet, glb for a model; a type an item does not have is skipped"),out:t.string().optional().describe("The folder the files go in; default .allyhub/out"),name:t.string().optional().describe("Name a video's or deck's files <name>.<ext> in its folder of the output, with what tells its versions apart before the extension when there are several (<name>.zh-cn.mp4, <name>.c03.mp4); default <output>.<combo>.<ext>"),params:j(T),dir:B}),positional:["items"],output:t.looseObject({out:t.string(),files:t.array(t.looseObject({name:t.string(),path:t.string(),type:t.string()})),failed:t.array(t.looseObject({name:t.string(),code:t.string()}))}),examples:["allyhub render","allyhub render launch/film --type mp4,srt","allyhub render launch/film --type wav","allyhub render ads/tidyform --type csv","allyhub render launch/plan --type pdf,md","allyhub render finance/budget --type xlsx,pdf","allyhub render finance/budget --type csv --param bom=false","allyhub render launch/deck --type pptx --param pptx=picture","allyhub render --combo lang=zh-cn --param crf=16","allyhub render launch/film --name launch-film --param max-bitrate=0"]},async(o,i)=>{const d=await O(i.cwd,o.dir),f=x(i.cwd,o.out??y(d,$)),s=o.params,h={codec:s.codec,...s.crf===void 0?{}:{crf:s.crf},...s.maxBitrate===void 0?{}:{maxBitrate:s.maxBitrate},...s.audioBitrate===void 0?{}:{audioBitrate:s.audioBitrate}};let l=0,a;try{a=await k({root:d,out:f,...o.items===void 0?{}:{items:o.items},combos:S(o),...o.type===void 0?{}:{types:o.type},...o.name===void 0?{}:{name:o.name},encode:h,...s.steps?{steps:!0}:{},...s.pptx==="native"?{}:{pptx:s.pptx},sheet:{bom:s.bom,...s.values===void 0?{}:{values:s.values}},index:N(i.env),log:e=>{i.progress(e)},onProgress:e=>{const r=Math.floor(e*10);r<=l||r>=10||(l=r,i.progress(`${String(r*10)}%`))},signal:i.signal})}catch(e){throw A(e)}const u=e=>e?` (${e.integrated.toFixed(1)} LUFS, true peak ${e.truePeak===void 0?"–":e.truePeak.toFixed(1)} dBTP)`:"",b=a.problems.filter(e=>e.level==="error"),m=a.files.flatMap(e=>e.files.length>1?e.files.map(r=>` ${r}`):[` ${e.path}${u(e.loudness)}`]),g=[`${D(m.length,"file")} in ${a.out}:`,...m,...a.failed.length>0?["Not made:",...a.failed.map(e=>` ${e.name}: ${e.message}${e.hint?` ${e.hint}`:""}`)]:[],...a.unindexed.map(e=>`Not indexed, drawn the fallback way: ${e.file} (${e.error})`),...a.files.flatMap(e=>(e.missing??[]).map(r=>`Not measured: ${r}`)),...new Set(a.files.flatMap(e=>(e.fontsLeft??[]).map(r=>`Not in the file: ${r.font} (${r.why}); PowerPoint shows another font where it is not installed.`))),...b.map(w),...v(p(a.console))];return{value:{out:a.out,files:a.files.map(e=>({...e})),failed:a.failed.map(e=>({...e})),problems:a.problems,...a.unindexed.length>0?{unindexed:a.unindexed}:{},...p(a.console)},text:g.join(`
3
- `),exit:a.failed.length>0?c.failed:c.ok}});
2
+ import{join as g,resolve as w}from"node:path";import{z as a}from"zod";import{formatConsole as x,formatProblem as v}from"../text/index.js";import{exportProject as $}from"@allyhub/export";import{SHARE_ENCODE as m}from"@allyhub/render";import{consoleJson as c}from"@allyhub/project";import{OUT_DIR as k}from"@allyhub/formats";import{EXIT as h}from"@allyhub/protocol";import{defineCommand as P}from"../command.js";import{parameters as j}from"../parameters.js";import{projectRoot as A}from"../project.js";import{combosOf as O,commandError as S}from"../version.js";import{dir as D,indexing as M}from"../fields.js";import{extensionsAt as f,kindsAt as N}from"./extensions.js";const F={codec:a.enum(["h264","h265"]).default("h264").describe("The mp4's video codec; h265 is smaller"),crf:a.number().int().min(0).max(63).optional().describe(`Quality, lower is better: default ${String(m.crf)} for an mp4, ready to share, 30 for a webm`),maxBitrate:a.number().int().min(0).max(5e5).optional().describe(`An mp4's most video bitrate, kbit/s, 0 for none: default ${String(m.maxKbps)} at 1080p ${String(m.fps)} fps, scaled by the frame's pixels and the frames a second (16000 at 1080p 60, 32000 at 4K 30), so the file is ready to share`),audioBitrate:a.number().int().min(32).max(512).optional().describe("The sound's bitrate, kbit/s: default 192 (AAC in an mp4), 160 (Opus in a webm); a mov keeps PCM"),steps:a.boolean().default(!1).describe("A deck's pdf, png and pptx: a page, a file or a slide per step of each page, not only its last"),values:a.enum(["data","shown"]).optional().describe("A sheet's csv, json and md: each value as data (a date 2026-01-15, a time 09:30, a duration 36:00, a number to 15 digits; csv's and json's default) or as its format shows it (15 Jan 2026, $1,200.00; md's default)"),bom:a.boolean().default(!0).describe("A sheet's csv starts with a UTF-8 byte-order mark, by which Excel reads its letters right (é, €, 中文); false for a tool that does not expect one"),quality:a.number().int().min(0).max(100).optional().describe("An image's jpeg, webp and avif, 0–100: default 90 for a jpeg, 60 for an avif, a webp lossless"),scale:a.number().min(.25).max(4).optional().describe("An image's png, jpeg, webp, avif and zip: each board's picture this many times its size, its layout kept (type and shapes drawn sharp, a picture as many pixels as its file has); default 1"),width:a.number().int().min(1).optional().describe("An image's pictures each this many pixels wide, the height in proportion: a scale for each board"),height:a.number().int().min(1).optional().describe("An image's pictures each this many pixels high, the width in proportion: a scale for each board"),maxKb:a.number().min(1).optional().describe("An image's jpeg, webp and avif: each board's file at most this many KB, at the best quality under it (said); a png over it is not made"),psd:a.enum(["psd","psb"]).default("psd").describe("An image's psd: psd, or psb (Photoshop's large document format); a board is at most 16384 pixels a side, which a psd holds"),pptx:a.enum(["native","picture"]).default("native").describe("A deck's pptx: native, PowerPoint's own model, editable there (the deck's masters, layouts, placeholders, shapes, text, pictures, videos and notes, a component as its picture); or picture, each slide a picture of the page")},T=(s,o)=>`${String(s)} ${o}${s===1?"":"s"}`,z={approximate:"Drawn its own way by the file's application",pixels:"As pixels in the file",omitted:"Not in the file"};function C(s){const o=new Map;for(const i of s)for(const n of i.fidelity??[]){const d=`${n.how}|${n.what}`,l=o.get(d)??{how:n.how,what:n.what,layers:[]};n.layer!==void 0&&!l.layers.includes(n.layer)&&l.layers.push(n.layer),o.set(d,l)}return[...o.values()].map(i=>{const n=i.layers.length===0?"":` (${i.layers.slice(0,4).join(", ")}${i.layers.length>4?` and ${String(i.layers.length-4)} more`:""})`;return`${z[i.how]}: ${i.what}${n}`})}export const render=P({name:"render",summary:"The files: a video, its frames, subtitles, cover and mastered mix; a batch's table of ads; a deck's PDF, PPTX and PNGs; a doc's PDF and Markdown; a sheet's Excel workbook with live formulas, PDF, PNG, CSV, Markdown and JSON; an image's pictures, PDF and layered PSDs; a 3D model's GLB",input:a.strictObject({items:a.array(a.string()).optional().describe("Only these items: each an id (its file without its extension) or its file, or a folder of items; default every one"),combo:a.array(a.string()).optional().describe("Only the combos matching name=value pairs joined with commas (lang=zh-cn,hook=b), or a combo's id (c03)"),type:a.array(a.string()).optional().describe("File types: mp4, mov, webm, gif, png, srt, vtt (cues cut as the piece's captions layer cuts them, else by default), cover, wav (the mix, mastered as the render masters it: 48 kHz, 16 bits, the film's length), pdf, pptx; csv for a piece with slots, its table of ads (<piece>.ads.csv: a row per ad with its combo, picks, length, file, name and generated media); a doc's pdf, docx, png, md; a sheet's xlsx (every sheet, formulas live with their values cached), pdf, png, csv, md, json; an image's png, jpeg, webp, avif (a file a board), pdf, zip and psd (a layered Photoshop file a board: each layer of its kind, its pixels drawn by Chrome); a 3D model's glb. Default mp4 for a video, pdf for a deck and a doc, xlsx for a sheet, png for an image, glb for a model; a type an item does not have is skipped"),out:a.string().optional().describe("The folder the files go in; default .allyhub/out"),name:a.string().optional().describe("Name a video's or deck's files <name>.<ext> in its folder of the output, with what tells its versions apart before the extension when there are several (<name>.zh-cn.mp4, <name>.c03.mp4); default <output>.<combo>.<ext>"),params:j(F),dir:D}),positional:["items"],output:a.looseObject({out:a.string(),files:a.array(a.looseObject({name:a.string(),path:a.string(),type:a.string()})),failed:a.array(a.looseObject({name:a.string(),code:a.string()}))}),examples:["allyhub render","allyhub render launch/film --type mp4,srt","allyhub render launch/film --type wav","allyhub render ads/tidyform --type csv","allyhub render launch/plan --type pdf,md","allyhub render finance/budget --type xlsx,pdf","allyhub render finance/budget --type csv --param bom=false","allyhub render launch/deck --type pptx --param pptx=picture","allyhub render launch/poster --type psd","allyhub render launch/poster --type jpeg --param scale=2 --param max-kb=2000","allyhub render --combo lang=zh-cn --param crf=16","allyhub render launch/film --name launch-film --param max-bitrate=0"]},async(s,o)=>{const i=await A(o.cwd,s.dir),n=w(o.cwd,s.out??g(i,k)),d=Object.fromEntries(Object.entries(s.params).filter(([,e])=>e!==void 0));let l=0,t;try{t=await $({root:i,kinds:N(i),out:n,...s.items===void 0?{}:{items:s.items},combos:O(s),...s.type===void 0?{}:{types:s.type},...s.name===void 0?{}:{name:s.name},params:d,index:M(o.env),analyses:f(i).mediaAnalyses(),env:o.env,processors:f(i).exportProcessors(),log:e=>{o.progress(e)},onProgress:e=>{const r=Math.floor(e*10);r<=l||r>=10||(l=r,o.progress(`${String(r*10)}%`))},signal:o.signal})}catch(e){throw S(e)}const u=e=>e?` (${e.integrated.toFixed(1)} LUFS, true peak ${e.truePeak===void 0?"–":e.truePeak.toFixed(1)} dBTP)`:"",b=t.problems.filter(e=>e.level==="error"),p=t.files.flatMap(e=>e.files.length>1?e.files.map(r=>` ${r}`):[` ${e.path}${u(e.loudness)}`]),y=[`${T(p.length,"file")} in ${t.out}:`,...p,...t.failed.length>0?["Not made:",...t.failed.map(e=>` ${e.name}: ${e.message}${e.hint?` ${e.hint}`:""}`)]:[],...t.unindexed.map(e=>`Not indexed, drawn the fallback way: ${e.file} (${e.error})`),...t.files.flatMap(e=>(e.missing??[]).map(r=>`Not measured: ${r}`)),...t.files.flatMap(e=>(e.chosen??[]).map(r=>`Chosen: ${r}`)),...C(t.files),...new Set(t.files.flatMap(e=>(e.fontsLeft??[]).map(r=>`Not in the file: ${r.font} (${r.why}); PowerPoint shows another font where it is not installed.`))),...b.map(v),...x(c(t.console))];return{value:{out:t.out,files:t.files.map(e=>({...e})),failed:t.failed.map(e=>({...e})),problems:t.problems,...t.unindexed.length>0?{unindexed:t.unindexed}:{},...c(t.console)},text:y.join(`
3
+ `),exit:t.failed.length>0?h.failed:h.ok}});
package/dist/fields.js CHANGED
@@ -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 t}from"zod";export const indexing=e=>e.ALLYHUB_NO_INDEX!=="1",dir=t.string().optional().describe("The project's folder; default the one around where it is run"),GLOBAL={dir},isGlobal=e=>Object.values(GLOBAL).includes(e),fresh=t.boolean().default(!1).describe("Do it again instead of reusing what was kept from the last time"),hidden=e=>e.meta({hidden:!0}),isHidden=e=>e.meta()?.hidden===!0;
2
+ import"zod";import{PROJECT_DIR as e}from"@allyhub/build";export const indexing=t=>t.ALLYHUB_NO_INDEX!=="1",dir=e,GLOBAL={dir},isGlobal=t=>Object.values(GLOBAL).includes(t),hidden=t=>t.meta({hidden:!0}),isHidden=t=>t.meta()?.hidden===!0;
package/dist/help.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{join as j}from"node:path";import{z as y}from"zod";import{optionName as $,paramsOf as O,shapeOf as c}from"./args.js";import{GLOBAL as E,isGlobal as w,isHidden as M}from"./fields.js";import{WORKS as k,cloudNouns as D,workTitle as S}from"./works.js";const g=e=>e.description??"";function b(e,p){const a=c(p);return a.kind==="boolean"&&!a.list?`--${$(e)}`:`--${$(e)} <${a.kind==="number"?"n":"value"}${a.list?",…":""}>`}function v(e){return e===void 0?["The SDK's docs: none here. This project declares the SDK and has not installed it: run npm install.",""]:[`The SDK's docs, for the version this project builds with (read the ones a piece needs before writing it; README.md lists them): ${e}`,""]}export function listHelp(e,p,a,r){const m=["allyhub: check, render, measure and look at a project's content.","",...v(r),"Works (allyhub help <work> lists a work's commands in the order it uses them):"],d=Math.max(...k.map(n=>n.name.length));for(const n of k)m.push(` ${n.name.padEnd(d)} ${S(n,a)}`);m.push("","Commands:");const i=[...e.map(n=>({noun:n.name.split(" ")[0]??"",name:n.name,summary:n.summary})),...p.flatMap(n=>n.entries.map(o=>({noun:"<made>",...o}))),...(a??[]).map(n=>({noun:"<nouns>",...n}))],l=Math.max(...i.map(n=>n.name.length));let s="";for(const n of i)s!==""&&n.noun!==s&&m.push(""),s=n.noun,m.push(` ${n.name.padEnd(l)} ${n.summary}`);m.push("","Global options (each command lists those it takes):");const t=Object.entries(E).map(([n,o])=>[b(n,o),o.description??""]);t.push(["--json","Print the result as JSON (any command)"]);const h=Math.max(...t.map(([n])=>n.length));for(const[n,o]of t)m.push(` ${n.padEnd(h)} ${o}`);return m.push("","Environment:"," ALLYHUB_GPU=0|1 Draw on the CPU (the same pixels on every computer) or the GPU; default the GPU on a Mac"," ALLYHUB_NO_INDEX=1 Do not make face tracks and person mattes first: those layers are drawn their fallback way","","allyhub help <command> says what one does and every option it takes."),m.join(`
3
- `)}export function groupHelp(e,p){const a=Math.max(...p.map(r=>r.name.length));return[`allyhub ${e}:`,"",...p.map(r=>` ${r.name.padEnd(a)} ${r.summary}`),"","allyhub help <command> says what one does and every option it takes."].join(`
4
- `)}export function workHelp(e,p,a=[],r,m){const d=Math.max(...e.commands.map(l=>l.length)),i=[`${e.title}: the commands, in the order the work uses them.`,""];if(e.cloud!==void 0){const l=m===void 0?[]:D(e,m);if(m===void 0)i.push("The cloud catalog could not be read: its works are not listed.");else if(l.length===0)i.push("The cloud catalog has no tools for this work yet.");else{const s=Math.max(...l.map(t=>t.name.length));i.push("The cloud catalog's works for it (allyhub <work> lists one's tools):");for(const t of l)i.push(` ${t.name.padEnd(s)} ${t.summary}`)}i.push("")}e.docs!==void 0&&e.docs.length>0&&i.push(r===void 0?`How it is written: the SDK's ${e.docs.join(", ")} (no SDK docs for this project: it declares the SDK and has not installed it; run npm install).`:`How it is written, read before writing it: ${e.docs.map(l=>j(r,l)).join(", ")}`,"");for(const l of e.commands){const s=p.find(t=>t.name===l)??a.flatMap(t=>t.entries).find(t=>t.name===l);i.push(` ${l.padEnd(d)} ${s?.summary??""}`)}return i.push("","allyhub help <command> says what one does and every option it takes."),i.join(`
5
- `)}export function commandHelp(e,p=[]){const a=e.input.shape,r=[...e.positional??[]],m=r.map(t=>{const h=c(a[t]??y.string()),n=a[t]?.safeParse(void 0).success??!1,o=`<${t}>${h.list?"…":""}`;return n?`[${o}]`:o}),d=O(a.params),i=Object.entries(a).filter(([t,h])=>!r.includes(t)&&!(d&&t==="params")&&!w(h)&&!M(h)),l=Object.entries(a).filter(([,t])=>w(t)).map(([t,h])=>b(t,h).split(" ")[0]??""),s=[`allyhub ${[e.name,...m,i.length>0?"[options]":""].filter(Boolean).join(" ")}`,"",e.summary];if(p.length>0&&s.push("",...p),r.length>0){s.push("","Arguments:");for(const t of r)s.push(` <${t}> ${g(a[t]??y.string())}`)}if(i.length>0){s.push("","Options:");const t=i.map(([n,o])=>{const u=c(o),f=b(n,o),x=u.fallback===void 0||u.fallback===!1?"":` (default ${JSON.stringify(u.fallback)})`;return[f,`${g(o)}${x}`]}),h=Math.max(...t.map(([n])=>n.length));for(const[n,o]of t)s.push(` ${n.padEnd(h)} ${o}`)}if(d){s.push("","Parameters (--param name=value):");const t=Object.entries(d).map(([n,o])=>{const u=c(o),f=u.fallback===void 0?"":` (default ${JSON.stringify(u.fallback)})`;return[$(n),`${g(o)}${f}`]}),h=Math.max(...t.map(([n])=>n.length));for(const[n,o]of t)s.push(` ${n.padEnd(h)} ${o}`)}if(l.length>0&&s.push("",`Global options: ${l.join(", ")} (allyhub help)`),e.examples&&e.examples.length>0){s.push("","Examples:");for(const t of e.examples)s.push(` ${t}`)}return s.join(`
2
+ import{join as j}from"node:path";import{z as y}from"zod";import{optionName as $,paramsOf as O,shapeOf as c}from"./args.js";import{GLOBAL as E,isGlobal as w,isHidden as M}from"./fields.js";import{WORKS as k,cloudNouns as D,workTitle as S}from"./works.js";const g=t=>t.description??"";function b(t,h){const i=c(h);return i.kind==="boolean"&&!i.list?`--${$(t)}`:`--${$(t)} <${i.kind==="number"?"n":"value"}${i.list?",…":""}>`}function v(t){return t===void 0?["The SDK's docs: none here. This project declares the SDK and has not installed it: run npm install.",""]:[`The SDK's docs, for the version this project builds with (read the ones a piece needs before writing it; README.md lists them): ${t}`,""]}export function listHelp(t,h,i,l){const r=["allyhub: check, render, measure and look at a project's content.","",...v(l),"Works (allyhub help <work> lists a work's commands in the order it uses them):"],d=Math.max(...k.map(n=>n.name.length));for(const n of k)r.push(` ${n.name.padEnd(d)} ${S(n,i)}`);r.push("","Commands:");const p=[...t.map(n=>({noun:n.name.split(" ")[0]??"",name:n.name,summary:n.summary})),...h.flatMap(n=>n.entries.map(a=>({noun:"<made>",...a}))),...(i??[]).map(n=>({noun:"<nouns>",...n}))],m=Math.max(...p.map(n=>n.name.length));let o="";for(const n of p)o!==""&&n.noun!==o&&r.push(""),o=n.noun,r.push(` ${n.name.padEnd(m)} ${n.summary}`);r.push("","Global options (each command lists those it takes):");const e=Object.entries(E).map(([n,a])=>[b(n,a),a.description??""]);e.push(["--json","Print the result as JSON (any command)"]);const s=Math.max(...e.map(([n])=>n.length));for(const[n,a]of e)r.push(` ${n.padEnd(s)} ${a}`);return r.push("","Environment:"," ALLYHUB_GPU=0|1 Draw on the CPU (the same pixels on every computer) or the GPU; default the GPU on a Mac"," ALLYHUB_NO_INDEX=1 Do not make face tracks and person mattes first: those layers are drawn their fallback way","","allyhub help <command> says what one does and every option it takes."),r.join(`
3
+ `)}export function groupHelp(t,h){const i=Math.max(...h.map(l=>l.name.length));return[`allyhub ${t}:`,"",...h.map(l=>` ${l.name.padEnd(i)} ${l.summary}`),"","allyhub help <command> says what one does and every option it takes."].join(`
4
+ `)}export function workHelp(t,h,i=[],l,r,d=[]){const p=Math.max(...t.commands.map(o=>o.length)),m=[`${t.title}: the commands, in the order the work uses them.`,""];if(t.cloud!==void 0){const o=r===void 0?[]:D(t,r);if(r===void 0)m.push("The cloud catalog could not be read: its works are not listed.");else if(o.length===0)m.push("The cloud catalog has no tools for this work yet.");else{const e=Math.max(...o.map(s=>s.name.length));m.push("The cloud catalog's works for it (allyhub <work> lists one's tools):");for(const s of o)m.push(` ${s.name.padEnd(e)} ${s.summary}`)}m.push("")}t.docs!==void 0&&t.docs.length>0&&m.push(l===void 0?`How it is written: the SDK's ${t.docs.join(", ")} (no SDK docs for this project: it declares the SDK and has not installed it; run npm install).`:`How it is written, read before writing it: ${t.docs.map(o=>j(l,o)).join(", ")}`,"");for(const o of t.commands){const e=h.find(s=>s.name===o)??i.flatMap(s=>s.entries).find(s=>s.name===o)??d.find(s=>s.name===o);m.push(` ${o.padEnd(p)} ${e?.summary??""}`)}return m.push("","allyhub help <command> says what one does and every option it takes."),m.join(`
5
+ `)}export function commandHelp(t,h=[]){const i=t.input.shape,l=[...t.positional??[]],r=l.map(e=>{const s=c(i[e]??y.string()),n=i[e]?.safeParse(void 0).success??!1,a=`<${e}>${s.list?"…":""}`;return n?`[${a}]`:a}),d=O(i.params),p=Object.entries(i).filter(([e,s])=>!l.includes(e)&&!(d&&e==="params")&&!w(s)&&!M(s)),m=Object.entries(i).filter(([,e])=>w(e)).map(([e,s])=>b(e,s).split(" ")[0]??""),o=[`allyhub ${[t.name,...r,p.length>0?"[options]":""].filter(Boolean).join(" ")}`,"",t.summary];if(h.length>0&&o.push("",...h),l.length>0){o.push("","Arguments:");for(const e of l)o.push(` <${e}> ${g(i[e]??y.string())}`)}if(p.length>0){o.push("","Options:");const e=p.map(([n,a])=>{const u=c(a),f=b(n,a),x=u.fallback===void 0||u.fallback===!1?"":` (default ${JSON.stringify(u.fallback)})`;return[f,`${g(a)}${x}`]}),s=Math.max(...e.map(([n])=>n.length));for(const[n,a]of e)o.push(` ${n.padEnd(s)} ${a}`)}if(d){o.push("","Parameters (--param name=value):");const e=Object.entries(d).map(([n,a])=>{const u=c(a),f=u.fallback===void 0?"":` (default ${JSON.stringify(u.fallback)})`;return[$(n),`${g(a)}${f}`]}),s=Math.max(...e.map(([n])=>n.length));for(const[n,a]of e)o.push(` ${n.padEnd(s)} ${a}`)}if(m.length>0&&o.push("",`Global options: ${m.join(", ")} (allyhub help)`),t.examples&&t.examples.length>0){o.push("","Examples:");for(const e of t.examples)o.push(` ${e}`)}return o.join(`
6
6
  `)}
package/dist/main.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{EXIT as u,describeCommand as N}from"@allyhub/protocol";import{readArgs as W}from"./args.js";import{CLI_VERSION as C}from"./cli-version.js";import{CommandError as w}from"./command.js";import{COMMAND_SOURCES as A,COMMANDS as I}from"./commands/index.js";import{commandHelp as D,groupHelp as R,listHelp as G,workHelp as J}from"./help.js";import{sdkDocs as _}from"./sdk-docs.js";import{WORKS as K,cloudNouns as L,workNamed as P,workTitle as H}from"./works.js";const U={stdout:r=>process.stdout.write(r),stderr:r=>process.stderr.write(r),cwd:process.cwd(),env:process.env};export function findCommand(r,c=I){let a;for(const l of c){const m=l.spec.name.split(" ");m.every((e,s)=>r[s]===e)&&m.length>(a?.length??0)&&(a={command:l,length:m.length})}return a?{command:a.command,rest:r.slice(a.length)}:{rest:[...r]}}export async function resolveCommand(r,c,a=I,l=A){const m=findCommand(r,a);if(m.command)return m;for(const e of l){const s=await e.resolve(r,c);if(s)return s}return m}const T=r=>({...N(r.spec),...r.about?.value});export async function main(r,c=U,a=I,l=A){const m=r.includes("--json"),e=r.filter(n=>n!=="--json"),s=(n,t)=>{c.stdout(m?`${JSON.stringify(n,null,2)}
2
+ import"@allyhub/stage-runtime/use";import{EXIT as d,describeCommand as N}from"@allyhub/protocol";import{readArgs as L}from"./args.js";import{CLI_VERSION as j}from"./cli-version.js";import{CommandError as k}from"./command.js";import{COMMAND_SOURCES as H,COMMANDS as T,allCommands as P}from"./commands/index.js";import{contributedSpecs as U}from"./commands/contributed.js";import{builtInExtensions as V}from"./commands/extensions.js";import{commandHelp as W,groupHelp as X,listHelp as q,workHelp as z}from"./help.js";import{sdkDocs as B}from"./sdk-docs.js";import{WORKS as F,cloudNouns as Q,withJoined as J,workNamed as Y,workTitle as R}from"./works.js";const Z={stdout:o=>process.stdout.write(o),stderr:o=>process.stderr.write(o),cwd:process.cwd(),env:process.env};export function findCommand(o,a=T){let m;for(const c of a){const s=c.spec.name.split(" ");s.every((u,e)=>o[e]===u)&&s.length>(m?.length??0)&&(m={command:c,length:s.length})}return m?{command:m.command,rest:o.slice(m.length)}:{rest:[...o]}}export async function resolveCommand(o,a,m=T,c=H){const s=findCommand(o,m);if(s.command){const u=s.command.spec.name;if(s.rest.length>0)for(const e of c.filter(l=>l.under===u)){const l=await e.resolve(o,a);if(l)return l}return s}for(const u of c){const e=await u.resolve(o,a);if(e)return e}return s}const G=o=>({...N(o.spec),...o.about?.value});export async function main(o,a=Z,m,c=H){V();const s=m??await P(),u=o.includes("--json"),e=o.filter(n=>n!=="--json"),l=(n,t)=>{a.stdout(u?`${JSON.stringify(n,null,2)}
3
3
  `:`${t}
4
- `)},y=a.map(n=>n.spec),j=n=>y.filter(t=>n.length>0&&t.name.startsWith(`${n.join(" ")} `)),x=new AbortController,b={cwd:c.cwd,env:c.env,progress:n=>{c.stderr(`${n}
5
- `)},signal:x.signal};if(e[0]==="--version"||e[0]==="-v")return s({version:C},C),u.ok;if(e.length===0||e[0]==="help"||e[0]==="--help"||e[0]==="-h"){const n=e.slice(1).findIndex(o=>o.startsWith("-")),t=(n<0?e.slice(1):e.slice(1,n+1)).flatMap(o=>o.split(" ").filter(i=>i!=="")),p=await _(c.cwd).catch(()=>{}),h=async()=>{const o=await Promise.all(l.map(i=>i.nouns(b).catch(()=>{})));return o.some(i=>i===void 0)?void 0:o.flatMap(i=>i??[])};if(t.length===0){const o=await h();return s({version:C,docs:p?.dir,works:K.map(i=>({...i,title:H(i,o)})),commands:y.map(N),made:[...l.flatMap(i=>i.entries),...o??[]]},G(y,l,o,p?.dir)),u.ok}const d=t.length===1?P(t[0]??""):void 0;if(d){const o=d.cloud===void 0?[]:await h();return s({...d,title:H(d,o),...d.cloud===void 0?{}:{cloudWorks:o&&L(d,o)},docsDir:p?.dir},J(d,y,l,p?.dir,o)),u.ok}let S;try{S=await resolveCommand(t,b,a,l)}catch(o){return k(o)}const{command:f,rest:E}=S;if(f&&S.list===!0)return await M(f,E);const $=j(t);return!f&&$.length>0?(s({commands:$.map(N)},R(t.join(" "),$)),u.ok):!f||E.length>0?k(new w("unknown-command",`allyhub has no command "${t.join(" ")}".`,{exit:u.usage,hint:"allyhub help lists them and the works."})):(s(T(f),D(f.spec,f.about?.lines)),u.ok)}let O;try{O=await resolveCommand(e,b,a,l)}catch(n){return k(n)}const{command:g,rest:v}=O;if(!g){const n=j(e.slice(0,1));return k(new w("unknown-command",`allyhub has no command "${e.join(" ")}".`,{exit:u.usage,hint:n.length>0?`${e[0]??""} has these: ${n.map(t=>t.name).join(", ")}.`:"allyhub help lists them."}))}if(v.includes("--help")||v.includes("-h"))return s(T(g),D(g.spec,g.about?.lines)),u.ok;return await M(g,v);async function M(n,t){const p=()=>{x.abort(new w("interrupted","Stopped.",{exit:u.interrupted}))};process.once("SIGINT",p);try{const h=W(n.spec,t),d=await n.run(h,b);return s(d.value,d.text),d.exit??u.ok}catch(h){return k(h)}finally{process.off("SIGINT",p)}}function k(n){const t=n instanceof w?n:x.signal.aborted?new w("interrupted","Stopped.",{exit:u.interrupted}):new w("failed",n instanceof Error?n.message:String(n));return m?c.stdout(`${JSON.stringify({error:{code:t.code,message:t.message,...t.hint?{hint:t.hint}:{}}},null,2)}
6
- `):c.stderr(`${t.message}${t.hint?`
4
+ `)},x=s.map(n=>n.spec),O=n=>x.filter(t=>n.length>0&&t.name.startsWith(`${n.join(" ")} `)),S=new AbortController,b={cwd:a.cwd,env:a.env,progress:n=>{a.stderr(`${n}
5
+ `)},signal:S.signal};if(e[0]==="--version"||e[0]==="-v")return l({version:j},j),d.ok;if(e.length===0||e[0]==="help"||e[0]==="--help"||e[0]==="-h"){const n=e.slice(1).findIndex(r=>r.startsWith("-")),t=(n<0?e.slice(1):e.slice(1,n+1)).flatMap(r=>r.split(" ").filter(i=>i!=="")),p=await B(a.cwd).catch(()=>{}),g=async()=>{const r=await Promise.all(c.map(i=>i.nouns(b).then(_=>_.map(K=>({...K,work:i.works!==!1}))).catch(()=>{})));return r.some(i=>i===void 0)?void 0:r.flatMap(i=>i??[])},f=await U(b);if(t.length===0){const r=await g();return l({version:j,docs:p?.dir,works:F.map(i=>({...J(i,f),title:R(i,r)})),commands:x.map(N),made:[...c.flatMap(i=>i.entries),...r??[]]},q(x,c,r,p?.dir)),d.ok}const A=t.length===1?Y(t[0]??""):void 0,h=A&&J(A,f);if(h){const r=h.cloud===void 0?[]:await g();return l({...h,title:R(h,r),...h.cloud===void 0?{}:{cloudWorks:r&&Q(h,r)},docsDir:p?.dir},z(h,x,c,p?.dir,r,f)),d.ok}let C;try{C=await resolveCommand(t,b,s,c)}catch(r){return v(r)}const{command:w,rest:D}=C;if(w&&C.list===!0)return await E(w,D);const I=O(t);return!w&&I.length>0?(l({commands:I.map(N)},X(t.join(" "),I)),d.ok):!w||D.length>0?v(new k("unknown-command",`allyhub has no command "${t.join(" ")}".`,{exit:d.usage,hint:"allyhub help lists them and the works."})):(l(G(w),W(w.spec,w.about?.lines)),d.ok)}let M;try{M=await resolveCommand(e,b,s,c)}catch(n){return v(n)}const{command:y,rest:$}=M;if(!y){const n=O(e.slice(0,1));return v(new k("unknown-command",`allyhub has no command "${e.join(" ")}".`,{exit:d.usage,hint:n.length>0?`${e[0]??""} has these: ${n.map(t=>t.name).join(", ")}.`:"allyhub help lists them."}))}if($.includes("--help")||$.includes("-h"))return l(G(y),W(y.spec,y.about?.lines)),d.ok;return await E(y,$);async function E(n,t){const p=()=>{S.abort(new k("interrupted","Stopped.",{exit:d.interrupted}))};process.once("SIGINT",p);try{const g=L(n.spec,t),f=await n.run(g,b);return l(f.value,f.text),f.exit??d.ok}catch(g){return v(g)}finally{process.off("SIGINT",p)}}function v(n){const t=n instanceof k?n:S.signal.aborted?new k("interrupted","Stopped.",{exit:d.interrupted}):new k("failed",n instanceof Error?n.message:String(n));return u?a.stdout(`${JSON.stringify({error:{code:t.code,message:t.message,...t.hint?{hint:t.hint}:{}}},null,2)}
6
+ `):a.stderr(`${t.message}${t.hint?`
7
7
  ${t.hint}`:""}
8
8
  `),t.exit}}
package/dist/media.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{stat as s}from"node:fs/promises";import{resolve as u}from"node:path";import{MediaError as d,formatBytes as a}from"@allyhub/media";import{EXIT as n}from"@allyhub/protocol";import{CommandError as f}from"./command.js";const l={not_found:n.notFound,no_audio:n.usage,no_video:n.usage,unsupported_language:n.usage,ffmpeg:n.platform,unsupported_platform:n.platform,install:n.platform,decode:n.platform,fetch:n.failed,cancelled:n.interrupted};export function fromMedia(e){return e instanceof d?new f(e.code.replaceAll("_","-"),e.message,{exit:l[e.code],...e.hint===void 0?{}:{hint:e.hint},cause:e}):e}export async function media(e){try{return await e()}catch(o){throw fromMedia(o)}}export function progressLines(e){let o="",i=-1;return t=>{if(t.done!==void 0&&t.done>0&&t.total!==void 0&&t.total>0){const r=Math.floor(t.done/t.total*10)*10;if(r===i)return;i=r,e.progress(` ${String(r)}%${t.unit==="frames"?"":` (${a(t.done)} of ${a(t.total)})`}`);return}t.message!==o&&(o=t.message,e.progress(t.message))}}export async function existingFile(e,o){const i=u(e,o);if(!(await s(i).catch(()=>{}))?.isFile())throw new f("not-found",`There is no file ${i}.`,{exit:n.notFound});return i}
2
+ export{existingFile,fromMedia,media,progressLines}from"@allyhub/build";