allyhub 0.18.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1050) hide show
  1. package/bin/allyhub.js +10 -0
  2. package/dist/args.js +1 -1
  3. package/dist/command.js +1 -1
  4. package/dist/commands/add.js +1 -1
  5. package/dist/commands/align.js +1 -1
  6. package/dist/commands/auth.js +1 -1
  7. package/dist/commands/check.js +1 -1
  8. package/dist/commands/cloud-tools.js +2 -2
  9. package/dist/commands/cloud.js +1 -1
  10. package/dist/commands/contributed.js +1 -1
  11. package/dist/commands/dev.js +5 -5
  12. package/dist/commands/export.js +3 -0
  13. package/dist/commands/found-extensions.js +2 -0
  14. package/dist/commands/frames/common.js +1 -1
  15. package/dist/commands/frames/doc.js +1 -1
  16. package/dist/commands/frames/piece.js +1 -1
  17. package/dist/commands/frames/sheet.js +1 -1
  18. package/dist/commands/frames.js +9 -9
  19. package/dist/commands/index.js +1 -1
  20. package/dist/commands/inspect/combos.js +1 -1
  21. package/dist/commands/inspect/common.js +3 -3
  22. package/dist/commands/inspect/facts.js +2 -2
  23. package/dist/commands/inspect/index.js +1 -1
  24. package/dist/commands/inspect/layout.js +1 -1
  25. package/dist/commands/inspect/views.js +1 -1
  26. package/dist/commands/list.js +2 -0
  27. package/dist/commands/mail.js +1 -1
  28. package/dist/commands/migrate.js +3 -0
  29. package/dist/commands/run-context.js +2 -0
  30. package/dist/commands/skills.js +3 -3
  31. package/dist/commands/upgrade.js +5 -0
  32. package/dist/commands.json +1 -0
  33. package/dist/fields.js +1 -1
  34. package/dist/help.js +3 -3
  35. package/dist/main.js +8 -7
  36. package/dist/node_modules/@allyhub/3d-extension/dist/build.js +1 -1
  37. package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +1 -1
  38. package/dist/node_modules/@allyhub/3d-extension/package.json +4 -3
  39. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  40. package/dist/node_modules/@allyhub/blocks/LICENSE +241 -0
  41. package/dist/node_modules/@allyhub/blocks/dist/alt.js +2 -0
  42. package/dist/node_modules/@allyhub/blocks/dist/elements.js +2 -0
  43. package/dist/node_modules/@allyhub/blocks/dist/flow-resolve.js +2 -0
  44. package/dist/node_modules/@allyhub/blocks/dist/flow-table.js +2 -0
  45. package/dist/node_modules/@allyhub/blocks/dist/format.js +2 -0
  46. package/dist/node_modules/@allyhub/blocks/dist/gantt.js +2 -0
  47. package/dist/node_modules/@allyhub/blocks/dist/grids.js +2 -0
  48. package/dist/node_modules/@allyhub/blocks/dist/html.js +75 -0
  49. package/dist/node_modules/@allyhub/blocks/dist/icons.generated.js +2 -0
  50. package/dist/node_modules/@allyhub/blocks/dist/icons.js +2 -0
  51. package/dist/node_modules/@allyhub/blocks/dist/index.js +2 -0
  52. package/dist/node_modules/@allyhub/blocks/dist/layout.js +2 -0
  53. package/dist/node_modules/@allyhub/blocks/dist/look.js +2 -0
  54. package/dist/node_modules/@allyhub/blocks/dist/measure.js +3 -0
  55. package/dist/node_modules/@allyhub/blocks/dist/model.js +2 -0
  56. package/dist/node_modules/@allyhub/blocks/dist/page.js +2 -0
  57. package/dist/node_modules/@allyhub/blocks/dist/palette.js +2 -0
  58. package/dist/node_modules/@allyhub/blocks/dist/path.js +2 -0
  59. package/dist/node_modules/@allyhub/blocks/dist/resolve.js +2 -0
  60. package/dist/node_modules/@allyhub/blocks/dist/samples.js +2 -0
  61. package/dist/node_modules/@allyhub/blocks/dist/sankey.js +2 -0
  62. package/dist/node_modules/@allyhub/blocks/dist/svg.js +2 -0
  63. package/dist/node_modules/@allyhub/blocks/dist/tidy.js +2 -0
  64. package/dist/node_modules/@allyhub/blocks/dist/trees.js +2 -0
  65. package/dist/node_modules/@allyhub/blocks/package.json +19 -0
  66. package/dist/node_modules/@allyhub/browser/dist/html.js +1 -1
  67. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  68. package/dist/node_modules/@allyhub/build/dist/build-plugins.js +1 -1
  69. package/dist/node_modules/@allyhub/build/dist/fonts.js +9 -3
  70. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  71. package/dist/node_modules/@allyhub/build/dist/inspect-view.js +1 -1
  72. package/dist/node_modules/@allyhub/build/dist/meta-worker.js +1 -1
  73. package/dist/node_modules/@allyhub/build/dist/migrate.js +2 -0
  74. package/dist/node_modules/@allyhub/build/dist/plugin.js +9 -9
  75. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  76. package/dist/node_modules/@allyhub/build/dist/project-root.js +1 -1
  77. package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
  78. package/dist/node_modules/@allyhub/build/dist/sdk-parts.js +2 -0
  79. package/dist/node_modules/@allyhub/build/dist/vite.js +2 -2
  80. package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
  81. package/dist/node_modules/@allyhub/build/package.json +13 -1
  82. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  83. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  84. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -1
  85. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +4 -3
  86. package/dist/node_modules/@allyhub/chart/dist/chart.js +4 -2
  87. package/dist/node_modules/@allyhub/chart/dist/chartex-xml.js +4 -0
  88. package/dist/node_modules/@allyhub/chart/dist/classic.js +2 -0
  89. package/dist/node_modules/@allyhub/chart/dist/embedded.js +2 -2
  90. package/dist/node_modules/@allyhub/chart/dist/extended.js +2 -0
  91. package/dist/node_modules/@allyhub/chart/dist/index.js +1 -1
  92. package/dist/node_modules/@allyhub/chart/dist/svg.js +1 -1
  93. package/dist/node_modules/@allyhub/chart/dist/tree.js +2 -0
  94. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  95. package/dist/node_modules/@allyhub/check/dist/check.js +2 -2
  96. package/dist/node_modules/@allyhub/check/package.json +1 -1
  97. package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
  98. package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
  99. package/dist/node_modules/@allyhub/cloud/dist/catalog.js +1 -1
  100. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  101. package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
  102. package/dist/node_modules/@allyhub/cloud/dist/credentials.js +1 -1
  103. package/dist/node_modules/@allyhub/cloud/dist/device.js +1 -1
  104. package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
  105. package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
  106. package/dist/node_modules/@allyhub/cloud/dist/loopback.js +2 -2
  107. package/dist/node_modules/@allyhub/cloud/dist/mail.js +1 -1
  108. package/dist/node_modules/@allyhub/cloud/dist/records.js +1 -1
  109. package/dist/node_modules/@allyhub/cloud/dist/signin.js +2 -2
  110. package/dist/node_modules/@allyhub/cloud/dist/sites.js +1 -1
  111. package/dist/node_modules/@allyhub/cloud/dist/storage.js +2 -0
  112. package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
  113. package/dist/node_modules/@allyhub/cloud/dist/tools.js +2 -0
  114. package/dist/node_modules/@allyhub/cloud/dist/uploads.js +2 -2
  115. package/dist/node_modules/@allyhub/cloud/dist/voice.js +1 -1
  116. package/dist/node_modules/@allyhub/cloud/package.json +5 -1
  117. package/dist/node_modules/@allyhub/components/package.json +1 -1
  118. package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
  119. package/dist/node_modules/@allyhub/dev-server/dist/item-process.js +2 -0
  120. package/dist/node_modules/@allyhub/dev-server/dist/item-worker.js +2 -0
  121. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  122. package/dist/node_modules/@allyhub/dev-server/dist/pages.js +20 -1
  123. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  124. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  125. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  126. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  127. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  128. package/dist/node_modules/@allyhub/dev-server/dist/writer.js +3 -3
  129. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  130. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +1 -1
  131. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  132. package/dist/node_modules/@allyhub/doc/dist/blocks.js +2 -0
  133. package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
  134. package/dist/node_modules/@allyhub/doc/dist/color.js +1 -1
  135. package/dist/node_modules/@allyhub/doc/dist/docx-read.js +12 -0
  136. package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -4
  137. package/dist/node_modules/@allyhub/doc/dist/html.js +83 -48
  138. package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
  139. package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
  140. package/dist/node_modules/@allyhub/doc/dist/merges.js +2 -0
  141. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  142. package/dist/node_modules/@allyhub/doc/dist/numbering.js +2 -0
  143. package/dist/node_modules/@allyhub/doc/dist/omml.js +3 -0
  144. package/dist/node_modules/@allyhub/doc/dist/page.js +2 -1
  145. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  146. package/dist/node_modules/@allyhub/doc/dist/parse.js +5 -4
  147. package/dist/node_modules/@allyhub/doc/dist/redline.js +2 -0
  148. package/dist/node_modules/@allyhub/doc/dist/revisions.js +2 -0
  149. package/dist/node_modules/@allyhub/doc/dist/shapes.js +4 -0
  150. package/dist/node_modules/@allyhub/doc/dist/styles.js +2 -0
  151. package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
  152. package/dist/node_modules/@allyhub/doc/dist/write.js +65 -39
  153. package/dist/node_modules/@allyhub/doc/package.json +5 -1
  154. package/dist/node_modules/@allyhub/doc-extension/dist/build.js +2 -2
  155. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +1 -1
  156. package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +3 -0
  157. package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +1 -1
  158. package/dist/node_modules/@allyhub/doc-extension/dist/cli/styles.js +4 -0
  159. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
  160. package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +1 -1
  161. package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +1 -1
  162. package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +1 -1
  163. package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +1 -1
  164. package/dist/node_modules/@allyhub/doc-extension/package.json +22 -2
  165. package/dist/node_modules/@allyhub/doc-print/dist/drawn.js +4 -4
  166. package/dist/node_modules/@allyhub/doc-print/dist/index.js +1 -1
  167. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +8 -7
  168. package/dist/node_modules/@allyhub/doc-print/dist/print.js +22 -16
  169. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  170. package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
  171. package/dist/node_modules/@allyhub/export/package.json +1 -1
  172. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  173. package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
  174. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  175. package/dist/node_modules/@allyhub/formats/dist/data/blocks-flow.js +2 -0
  176. package/dist/node_modules/@allyhub/formats/dist/data/blocks.d.ts +146 -0
  177. package/dist/node_modules/@allyhub/formats/dist/data/blocks.js +2 -0
  178. package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.d.ts +9 -0
  179. package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.js +2 -0
  180. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +47 -40
  181. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.js +1 -1
  182. package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.d.ts +6 -0
  183. package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.js +2 -0
  184. package/dist/node_modules/@allyhub/formats/dist/data/diagrams.d.ts +29 -0
  185. package/dist/node_modules/@allyhub/formats/dist/data/diagrams.js +2 -0
  186. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +18 -0
  187. package/dist/node_modules/@allyhub/formats/dist/data/faces.js +1 -1
  188. package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +59 -0
  189. package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +2 -0
  190. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +1 -1
  191. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +698 -258
  192. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  193. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +14104 -2167
  194. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  195. package/dist/node_modules/@allyhub/formats/dist/data/themes.d.ts +82 -0
  196. package/dist/node_modules/@allyhub/formats/dist/data/themes.js +2 -0
  197. package/dist/node_modules/@allyhub/formats/dist/data/tokens.d.ts +67 -0
  198. package/dist/node_modules/@allyhub/formats/dist/data/tokens.js +2 -0
  199. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  200. package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
  201. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +7 -0
  202. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  203. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +36 -10
  204. package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
  205. package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +1 -1
  206. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +3260 -290
  207. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  208. package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +45 -0
  209. package/dist/node_modules/@allyhub/formats/dist/tolerant.js +2 -0
  210. package/dist/node_modules/@allyhub/formats/package.json +25 -1
  211. package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -9
  212. package/dist/node_modules/@allyhub/html-extension/dist/tools.js +1 -1
  213. package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
  214. package/dist/node_modules/@allyhub/html-extension/markup/markup.json +14 -4
  215. package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +22 -1
  216. package/dist/node_modules/@allyhub/html-extension/package.json +9 -1
  217. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  218. package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +1 -1
  219. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +2 -2
  220. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  221. package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +1 -1
  222. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +1 -1
  223. package/dist/node_modules/@allyhub/image-extension/package.json +2 -2
  224. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +1 -1
  225. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +2 -2
  226. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  227. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  228. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  229. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  230. package/dist/node_modules/@allyhub/image-sdk/dist/block.js +2 -0
  231. package/dist/node_modules/@allyhub/image-sdk/dist/blocks.js +2 -0
  232. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +1 -1
  233. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  234. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  235. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -3
  236. package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +3 -3
  237. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  238. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  239. package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -600
  240. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  241. package/dist/node_modules/@allyhub/media/package.json +5 -1
  242. package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +1 -1
  243. package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +1 -1
  244. package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +1 -1
  245. package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +1 -1
  246. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
  247. package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -2
  248. package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +1 -1
  249. package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
  250. package/dist/node_modules/@allyhub/model/package.json +1 -1
  251. package/dist/node_modules/@allyhub/office-extension/markup/csv/allyhub.yaml +2 -0
  252. package/dist/node_modules/@allyhub/office-extension/markup/csv/markup.json +1 -1
  253. package/dist/node_modules/@allyhub/office-extension/markup/document/allyhub.yaml +2 -0
  254. package/dist/node_modules/@allyhub/office-extension/markup/presentation/allyhub.yaml +2 -0
  255. package/dist/node_modules/@allyhub/office-extension/markup/workbook/allyhub.yaml +2 -0
  256. package/dist/node_modules/@allyhub/office-extension/markup/workbook/markup.json +1 -1
  257. package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
  258. package/dist/node_modules/@allyhub/ooxml/dist/ext.js +1 -1
  259. package/dist/node_modules/@allyhub/ooxml/dist/mce.js +1 -1
  260. package/dist/node_modules/@allyhub/ooxml/dist/node.js +1 -1
  261. package/dist/node_modules/@allyhub/ooxml/dist/ns.js +1 -1
  262. package/dist/node_modules/@allyhub/ooxml/dist/opc.js +1 -1
  263. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  264. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +1 -1
  265. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +1 -2
  266. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +2 -0
  267. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +10 -2
  268. package/dist/node_modules/@allyhub/piece/dist/look.js +1 -1
  269. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +9 -3
  270. package/dist/node_modules/@allyhub/piece/dist/script.js +1 -1
  271. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +5 -2
  272. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +2 -2
  273. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  274. package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
  275. package/dist/node_modules/@allyhub/project/package.json +1 -1
  276. package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
  277. package/dist/node_modules/@allyhub/protocol/dist/blobs.js +1 -1
  278. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  279. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  280. package/dist/node_modules/@allyhub/protocol/dist/errors.js +1 -1
  281. package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
  282. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  283. package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.js +1 -1
  284. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
  285. package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
  286. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  287. package/dist/node_modules/@allyhub/protocol/dist/page-frame.js +2 -0
  288. package/dist/node_modules/@allyhub/protocol/dist/paywall.js +1 -1
  289. package/dist/node_modules/@allyhub/protocol/dist/purposes.js +1 -1
  290. package/dist/node_modules/@allyhub/protocol/dist/registry.js +1 -1
  291. package/dist/node_modules/@allyhub/protocol/dist/sites.js +1 -1
  292. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  293. package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
  294. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  295. package/dist/node_modules/@allyhub/protocol/package.json +41 -1
  296. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  297. package/dist/node_modules/@allyhub/render/dist/errors.js +1 -1
  298. package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
  299. package/dist/node_modules/@allyhub/render/package.json +9 -1
  300. package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
  301. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  302. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
  303. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +1 -1
  304. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  305. package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +1 -1
  306. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +2 -2
  307. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +3 -3
  308. package/dist/node_modules/@allyhub/runtimes/package.json +9 -1
  309. package/dist/node_modules/@allyhub/scaffold/dist/index.js +12 -8
  310. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  311. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  312. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +3 -3
  313. package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +1 -1
  314. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +2 -2
  315. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  316. package/dist/node_modules/@allyhub/sheet/dist/annotations.js +1 -1
  317. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  318. package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +1 -1
  319. package/dist/node_modules/@allyhub/sheet/dist/api/index.js +1 -1
  320. package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +1 -1
  321. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  322. package/dist/node_modules/@allyhub/sheet/dist/arrange.js +1 -1
  323. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
  324. package/dist/node_modules/@allyhub/sheet/dist/calc/server.js +1 -1
  325. package/dist/node_modules/@allyhub/sheet/dist/cell-styles.js +2 -0
  326. package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
  327. package/dist/node_modules/@allyhub/sheet/dist/check.js +1 -1
  328. package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
  329. package/dist/node_modules/@allyhub/sheet/dist/filter.js +1 -1
  330. package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
  331. package/dist/node_modules/@allyhub/sheet/dist/heatmap.js +2 -0
  332. package/dist/node_modules/@allyhub/sheet/dist/html.js +9 -9
  333. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  334. package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
  335. package/dist/node_modules/@allyhub/sheet/dist/paginate.js +1 -1
  336. package/dist/node_modules/@allyhub/sheet/dist/printed.js +1 -1
  337. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +1 -1
  338. package/dist/node_modules/@allyhub/sheet/dist/sparklines.js +2 -0
  339. package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
  340. package/dist/node_modules/@allyhub/sheet/dist/table-styles.js +1 -1
  341. package/dist/node_modules/@allyhub/sheet/dist/theme.js +2 -0
  342. package/dist/node_modules/@allyhub/sheet/dist/tiles.js +2 -0
  343. package/dist/node_modules/@allyhub/sheet/dist/units.js +2 -0
  344. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  345. package/dist/node_modules/@allyhub/sheet/dist/write.js +14 -14
  346. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
  347. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  348. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
  349. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
  350. package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.js +1 -1
  351. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
  352. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  353. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
  354. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +1 -1
  355. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +7 -7
  356. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +1 -1
  357. package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +2 -2
  358. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -2
  359. package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +2 -2
  360. package/dist/node_modules/@allyhub/sheet-extension/dist/migrations.js +4 -0
  361. package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +1 -1
  362. package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +1 -1
  363. package/dist/node_modules/@allyhub/sheet-extension/package.json +7 -3
  364. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  365. package/dist/node_modules/@allyhub/slides-core/dist/blocks.js +2 -0
  366. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  367. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  368. package/dist/node_modules/@allyhub/slides-core/dist/code.js +1 -1
  369. package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
  370. package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
  371. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  372. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  373. package/dist/node_modules/@allyhub/slides-core/dist/model.js +1 -1
  374. package/dist/node_modules/@allyhub/slides-core/dist/office-layouts.js +2 -0
  375. package/dist/node_modules/@allyhub/slides-core/dist/office.js +1 -1
  376. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  377. package/dist/node_modules/@allyhub/slides-core/dist/script.js +2 -2
  378. package/dist/node_modules/@allyhub/slides-core/dist/styles/brief.js +2 -0
  379. package/dist/node_modules/@allyhub/slides-core/dist/styles/editorial.js +2 -0
  380. package/dist/node_modules/@allyhub/slides-core/dist/styles/index.js +2 -0
  381. package/dist/node_modules/@allyhub/slides-core/dist/styles/kit.js +2 -0
  382. package/dist/node_modules/@allyhub/slides-core/dist/styles/layouts.js +2 -0
  383. package/dist/node_modules/@allyhub/slides-core/dist/styles/pitch.js +2 -0
  384. package/dist/node_modules/@allyhub/slides-core/dist/styles/stage.js +2 -0
  385. package/dist/node_modules/@allyhub/slides-core/dist/styles/tiles.js +2 -0
  386. package/dist/node_modules/@allyhub/slides-core/dist/theme.js +1 -1
  387. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  388. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  389. package/dist/node_modules/@allyhub/slides-extension/dist/check.js +1 -1
  390. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +2 -2
  391. package/dist/node_modules/@allyhub/slides-extension/dist/deck-fonts.js +1 -1
  392. package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +1 -1
  393. package/dist/node_modules/@allyhub/slides-extension/package.json +24 -1
  394. package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
  395. package/dist/node_modules/@allyhub/slides-pptx/dist/fonts.js +1 -1
  396. package/dist/node_modules/@allyhub/slides-pptx/dist/image-size.js +2 -0
  397. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  398. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +7 -2
  399. package/dist/node_modules/@allyhub/slides-pptx/dist/import/names.js +1 -1
  400. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  401. package/dist/node_modules/@allyhub/slides-pptx/dist/index.js +1 -1
  402. package/dist/node_modules/@allyhub/slides-pptx/dist/mtx.js +2 -0
  403. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +3 -2
  404. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chartex.js +3 -0
  405. package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
  406. package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +2 -2
  407. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  408. package/dist/node_modules/@allyhub/slides-pptx/dist/read/table.js +1 -1
  409. package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
  410. package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +1 -1
  411. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  412. package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
  413. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  414. package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +3 -2
  415. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  416. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  417. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +1 -1
  418. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  419. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  420. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/LICENSE +93 -0
  421. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-italic.woff2 +0 -0
  422. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-normal.woff2 +0 -0
  423. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-italic.woff2 +0 -0
  424. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-normal.woff2 +0 -0
  425. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-italic.woff2 +0 -0
  426. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-normal.woff2 +0 -0
  427. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-italic.woff2 +0 -0
  428. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-normal.woff2 +0 -0
  429. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400-italic.css +1 -0
  430. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400.css +1 -0
  431. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700-italic.css +1 -0
  432. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700.css +1 -0
  433. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400-italic.css +1 -0
  434. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400.css +1 -0
  435. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700-italic.css +1 -0
  436. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700.css +1 -0
  437. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/LICENSE +93 -0
  438. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-400-normal.woff2 +0 -0
  439. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-ext-400-normal.woff2 +0 -0
  440. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-400.css +1 -0
  441. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-ext-400.css +1 -0
  442. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400-italic.css +1 -79
  443. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400.css +1 -79
  444. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700-italic.css +1 -79
  445. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700.css +1 -79
  446. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/arial.css +1 -316
  447. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +1 -19
  448. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +1 -19
  449. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +1 -19
  450. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +1 -19
  451. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +1 -76
  452. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400-italic.css +1 -69
  453. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400.css +1 -69
  454. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700-italic.css +1 -69
  455. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700.css +1 -69
  456. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/calibri.css +1 -276
  457. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +1 -79
  458. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +1 -79
  459. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +1 -79
  460. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +1 -79
  461. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +1 -316
  462. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/LICENSE +93 -0
  463. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-italic.woff2 +0 -0
  464. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-normal.woff2 +0 -0
  465. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-italic.woff2 +0 -0
  466. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-normal.woff2 +0 -0
  467. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-italic.woff2 +0 -0
  468. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-normal.woff2 +0 -0
  469. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-italic.woff2 +0 -0
  470. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-normal.woff2 +0 -0
  471. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400-italic.css +1 -0
  472. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400.css +1 -0
  473. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700-italic.css +1 -0
  474. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700.css +1 -0
  475. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400-italic.css +1 -0
  476. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400.css +1 -0
  477. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700-italic.css +1 -0
  478. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700.css +1 -0
  479. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/LICENSE +93 -0
  480. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-italic.woff2 +0 -0
  481. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-normal.woff2 +0 -0
  482. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-italic.woff2 +0 -0
  483. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-normal.woff2 +0 -0
  484. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-italic.woff2 +0 -0
  485. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-normal.woff2 +0 -0
  486. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-italic.woff2 +0 -0
  487. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-normal.woff2 +0 -0
  488. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400-italic.css +1 -0
  489. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400.css +1 -0
  490. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700-italic.css +1 -0
  491. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700.css +1 -0
  492. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400-italic.css +1 -0
  493. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400.css +1 -0
  494. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700-italic.css +1 -0
  495. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700.css +1 -0
  496. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/LICENSE +93 -0
  497. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-italic.woff2 +0 -0
  498. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-normal.woff2 +0 -0
  499. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-italic.woff2 +0 -0
  500. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-normal.woff2 +0 -0
  501. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-italic.woff2 +0 -0
  502. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-normal.woff2 +0 -0
  503. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-italic.woff2 +0 -0
  504. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-normal.woff2 +0 -0
  505. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400-italic.css +1 -0
  506. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400.css +1 -0
  507. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700-italic.css +1 -0
  508. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700.css +1 -0
  509. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400-italic.css +1 -0
  510. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400.css +1 -0
  511. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700-italic.css +1 -0
  512. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700.css +1 -0
  513. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-color-emoji/emoji.css +1 -8
  514. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/400.css +1 -1009
  515. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/700.css +1 -1009
  516. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/microsoft-yahei.css +1 -2018
  517. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/LICENSE +93 -0
  518. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-italic.woff2 +0 -0
  519. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-normal.woff2 +0 -0
  520. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-italic.woff2 +0 -0
  521. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-normal.woff2 +0 -0
  522. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-italic.woff2 +0 -0
  523. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-normal.woff2 +0 -0
  524. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-italic.woff2 +0 -0
  525. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-normal.woff2 +0 -0
  526. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400-italic.css +1 -0
  527. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400.css +1 -0
  528. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700-italic.css +1 -0
  529. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700.css +1 -0
  530. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400-italic.css +1 -0
  531. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400.css +1 -0
  532. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700-italic.css +1 -0
  533. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700.css +1 -0
  534. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +1 -79
  535. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +1 -79
  536. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +1 -79
  537. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +1 -79
  538. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +1 -316
  539. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  540. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +42 -0
  541. package/dist/node_modules/@allyhub/stage-page/dist/style-faces.js +2 -0
  542. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  543. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +96 -92
  544. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  545. package/dist/node_modules/@allyhub/telemetry/dist/doc.js +1 -1
  546. package/dist/node_modules/@allyhub/telemetry/dist/errors.js +1 -1
  547. package/dist/node_modules/@allyhub/telemetry/dist/limit.js +2 -0
  548. package/dist/node_modules/@allyhub/telemetry/dist/telemetry.js +2 -2
  549. package/dist/node_modules/@allyhub/telemetry/package.json +5 -1
  550. package/dist/node_modules/@allyhub/text-extension/markup/allyhub.yaml +2 -0
  551. package/dist/node_modules/@allyhub/text-extension/markup-file/allyhub.yaml +2 -0
  552. package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
  553. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  554. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -1
  555. package/dist/node_modules/@allyhub/video-core/dist/seams.js +1 -1
  556. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  557. package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +1 -1
  558. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +1 -1
  559. package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +1 -1
  560. package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +1 -1
  561. package/dist/node_modules/@allyhub/video-extension/dist/inspect/loop.js +3 -0
  562. package/dist/node_modules/@allyhub/video-extension/package.json +7 -26
  563. package/dist/node_modules/@allyhub/video-measure/dist/check.js +2 -2
  564. package/dist/node_modules/@allyhub/video-measure/dist/index.js +1 -1
  565. package/dist/node_modules/@allyhub/video-measure/dist/plans.js +2 -2
  566. package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +1 -1
  567. package/dist/node_modules/@allyhub/video-measure/dist/seams.js +1 -1
  568. package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
  569. package/dist/node_modules/@allyhub/video-measure/package.json +5 -1
  570. package/dist/node_modules/@allyhub/video-sdk/dist/config.js +2 -0
  571. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +1 -1
  572. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +1 -1
  573. package/dist/node_modules/@allyhub/video-sdk/package.json +5 -1
  574. package/dist/node_modules/@allyhub/website/dist/index.js +1 -1
  575. package/dist/node_modules/@allyhub/website/dist/website.js +2 -2
  576. package/dist/node_modules/@allyhub/website/package.json +1 -1
  577. package/dist/node_modules/@allyhub/website-extension/dist/build.js +1 -1
  578. package/dist/node_modules/@allyhub/website-extension/package.json +6 -6
  579. package/dist/node_modules/@allyhub/x-extension/dist/build.js +1 -1
  580. package/dist/node_modules/@allyhub/x-extension/package.json +8 -4
  581. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +3 -3
  582. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  583. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  584. package/dist/node_modules/@allyhub/x-view/src/style.css +1 -709
  585. package/dist/package.json +14 -14
  586. package/dist/project.js +1 -1
  587. package/dist/resources.js +1 -1
  588. package/dist/sdk-docs.js +1 -1
  589. package/dist/self-upgrade.js +2 -0
  590. package/dist/slot.js +4 -0
  591. package/dist/telemetry.js +1 -1
  592. package/dist/text/batch-text.js +1 -1
  593. package/dist/text/facts-text.js +5 -5
  594. package/dist/text/format.js +2 -2
  595. package/dist/update-notice.js +3 -0
  596. package/dist/version.js +1 -1
  597. package/dist/works.js +1 -1
  598. package/editor-web/assets/{abnfDiagram-WEYOIA3C-Hy4-O0wN.js → abnfDiagram-WEYOIA3C-BkVJMd53.js} +1 -1
  599. package/editor-web/assets/{architecture-WOLXFQ4H-43JEVxqz.js → architecture-WOLXFQ4H-C6rnaynZ.js} +1 -1
  600. package/editor-web/assets/{architectureDiagram-ZHVYKT53-7bFTl41n.js → architectureDiagram-ZHVYKT53-D3vrh8LK.js} +1 -1
  601. package/editor-web/assets/arrow-down-D-QZrqcz.js +1 -0
  602. package/editor-web/assets/arrow-up-B1zjKUHX.js +1 -0
  603. package/editor-web/assets/article-DHf6mOY_.js +7 -0
  604. package/editor-web/assets/article-Dns1-Xh-.js +3 -0
  605. package/editor-web/assets/{audio-lines-PZj77e7t.js → audio-lines-BFoW_IeO.js} +1 -1
  606. package/editor-web/assets/bar-button-CKPfx2AB.js +1 -0
  607. package/editor-web/assets/{blockDiagram-RJAE7QA3-DcoNo1WH.js → blockDiagram-RJAE7QA3-BKngt8H7.js} +1 -1
  608. package/editor-web/assets/{browser-C9NP0ZYz.js → browser-DEGNhKTV.js} +1 -1
  609. package/editor-web/assets/{c4Diagram-XDPPPE54-CsMt61gx.js → c4Diagram-XDPPPE54-j7sUELqF.js} +1 -1
  610. package/editor-web/assets/calc-worker-Cr4a0xmt.js +168 -0
  611. package/editor-web/assets/channel-CVWSV3su.js +1 -0
  612. package/editor-web/assets/{chart-no-axes-column-Be0lFcGF.js → chart-no-axes-column-Dyy25XZ_.js} +1 -1
  613. package/editor-web/assets/chip-Bn_9JRRG.js +1 -0
  614. package/editor-web/assets/{chunk-2E7WHVMD-fj-TJIRG.js → chunk-2E7WHVMD-BXa-uRSi.js} +1 -1
  615. package/editor-web/assets/{chunk-4EMNKR2T-Du5cRy-Y.js → chunk-4EMNKR2T-B3ntcsZN.js} +1 -1
  616. package/editor-web/assets/{chunk-55XCU76K-BHXxBBtm.js → chunk-55XCU76K-AMvnFwUg.js} +1 -1
  617. package/editor-web/assets/{chunk-7S6XSTFO-R5HW6X5I.js → chunk-7S6XSTFO-BA6esfFu.js} +1 -1
  618. package/editor-web/assets/{chunk-AQDTSKZB-C98F2BUb.js → chunk-AQDTSKZB-BT_vANXs.js} +1 -1
  619. package/editor-web/assets/{chunk-DSNLSHJZ-NIGsJ2cK.js → chunk-DSNLSHJZ-DoUgmzGB.js} +1 -1
  620. package/editor-web/assets/{chunk-HAGFOTED-BtHxtfW5.js → chunk-HAGFOTED-DtnIrCZb.js} +1 -1
  621. package/editor-web/assets/{chunk-HNE4Q36P-BI8i7Vkk.js → chunk-HNE4Q36P-BlPwQx3_.js} +1 -1
  622. package/editor-web/assets/{chunk-NQOKRVIF-DP_Z_zEA.js → chunk-NQOKRVIF-D2r7jp2r.js} +1 -1
  623. package/editor-web/assets/{chunk-UHW7PFBP-C_8bui28.js → chunk-UHW7PFBP-Cmc0_F5o.js} +1 -1
  624. package/editor-web/assets/{chunk-VQ5W62QI-CKZgzWB2.js → chunk-VQ5W62QI-nJSMqAr0.js} +1 -1
  625. package/editor-web/assets/{chunk-WQQL4CDK-Ff4DgCht.js → chunk-WQQL4CDK-Btq2nbF6.js} +1 -1
  626. package/editor-web/assets/{chunk-YZO67HFG-Csbx1-pi.js → chunk-YZO67HFG-DTbcCoGt.js} +1 -1
  627. package/editor-web/assets/{chunk-ZAUX2LTX-BO1kcV3w.js → chunk-ZAUX2LTX-DVwkg-2N.js} +1 -1
  628. package/editor-web/assets/{chunk-ZCHMQSOR-CxeNZYZG.js → chunk-ZCHMQSOR-BV39jOOE.js} +1 -1
  629. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-D8eHQa5i.js → classDiagram-v2-4MYWR3UA-Cj74-fhM.js} +1 -1
  630. package/editor-web/assets/code-Ch6AB5bZ.js +1 -0
  631. package/editor-web/assets/collaborator-XiHOxwGM.js +1 -0
  632. package/editor-web/assets/{copy-CuJSs0nI.js → copy-SoaMYqsN.js} +1 -1
  633. package/editor-web/assets/{createLucideIcon-lm_6n8YT.js → createLucideIcon-euu7Wcd9.js} +1 -1
  634. package/editor-web/assets/{cynefin-EF2NZ3EQ-lIUY3WQQ.js → cynefin-EF2NZ3EQ-C0CkiipV.js} +1 -1
  635. package/editor-web/assets/{cynefinDiagram-WF24UDRP-CFOOhEEs.js → cynefinDiagram-WF24UDRP-hdsnJ4cI.js} +1 -1
  636. package/editor-web/assets/{dagre-NK4GIZVX-DdHVup2I.js → dagre-NK4GIZVX-CC7WSgaK.js} +1 -1
  637. package/editor-web/assets/deck-DQpNIS2p.js +1 -0
  638. package/editor-web/assets/{diagram-CBK3MWTC-CFAD9Y2B.js → diagram-CBK3MWTC-DmaVm13J.js} +1 -1
  639. package/editor-web/assets/{diagram-I5XIIV2D-DZJAn95A.js → diagram-I5XIIV2D-De8jqp7b.js} +1 -1
  640. package/editor-web/assets/{diagram-ODIL2UCW-BcIeYTaY.js → diagram-ODIL2UCW-B5pBTulX.js} +1 -1
  641. package/editor-web/assets/{diagram-PFBEJUXE-CnZmh_fl.js → diagram-PFBEJUXE-BYsXg5_w.js} +1 -1
  642. package/editor-web/assets/{diagram-RJA3I4VV-DpDd9rGx.js → diagram-RJA3I4VV-DZ8f6bYe.js} +1 -1
  643. package/editor-web/assets/{diagram-TYUNFSNR-ouGiUQcR.js → diagram-TYUNFSNR-qXHUsauD.js} +1 -1
  644. package/editor-web/assets/dist--z0ZHp4T.js +16 -0
  645. package/editor-web/assets/dist-9kuRjUTN.js +41 -0
  646. package/editor-web/assets/dist-B3rd02Cg.js +6 -0
  647. package/editor-web/assets/dist-B5GOGGEe.js +1 -0
  648. package/editor-web/assets/dist-Bx6q9kCu.js +1 -0
  649. package/editor-web/assets/dist-C4hHtrJr.js +1 -0
  650. package/editor-web/assets/dist-CCXJewsi.js +19 -0
  651. package/editor-web/assets/dist-CfK2BLl8.js +4 -0
  652. package/editor-web/assets/dist-Cmux3oJ_.js +1 -0
  653. package/editor-web/assets/dist-Cspf85KV.js +6 -0
  654. package/editor-web/assets/dist-DA72-4WB.js +82 -0
  655. package/editor-web/assets/{dist-DruvDNQe.js → dist-DAhe-kFC.js} +5 -5
  656. package/editor-web/assets/dist-DIJnhQFK.js +9 -0
  657. package/editor-web/assets/dist-DOrGo1GD.js +19 -0
  658. package/editor-web/assets/{dist-Bd8IxQPP.js → dist-DQ6RpEJD.js} +2 -2
  659. package/editor-web/assets/dist-DjiCHlSu.js +35 -0
  660. package/editor-web/assets/dist-Do4a40Wn.js +19 -0
  661. package/editor-web/assets/dist-FKEWS3Co.js +547 -0
  662. package/editor-web/assets/dist-QKd2i6kG.js +5 -0
  663. package/editor-web/assets/dist-SGnOfLhx.js +24 -0
  664. package/editor-web/assets/dist-VmVB7tl4.js +3 -0
  665. package/editor-web/assets/{docx-draw-C4aiB8HI.js → docx-draw-L54blreB.js} +1 -1
  666. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-HRjVlbUf.js → ebnfDiagram-V4P3TTPT-B7-IfVI-.js} +1 -1
  667. package/editor-web/assets/{elk-QONTBCTQ-BFmtKyOf.js → elk-QONTBCTQ-Gj_WaeBn.js} +1 -1
  668. package/editor-web/assets/{erDiagram-KYQIGQAA-C9gcGEgK.js → erDiagram-KYQIGQAA-BDF6Qoqx.js} +1 -1
  669. package/editor-web/assets/esm-PQD5Pn8a.js +21 -0
  670. package/editor-web/assets/{eventmodeling-K75KTNOO-Bpma5Bdb.js → eventmodeling-K75KTNOO-elxVXXEe.js} +1 -1
  671. package/editor-web/assets/{file-question-mark-DlIjUK37.js → file-question-mark-PeZgyqkK.js} +1 -1
  672. package/editor-web/assets/flowDiagram-IUGLLWBU-B-25n8zE.js +1 -0
  673. package/editor-web/assets/{ganttDiagram-R7GPNTJY-CE5ut4C3.js → ganttDiagram-R7GPNTJY-CEogW3jW.js} +1 -1
  674. package/editor-web/assets/{gitGraph-VSP46ZUC-Dva3iGx2.js → gitGraph-VSP46ZUC-Bh9cRWFa.js} +1 -1
  675. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-CJXFsAWp.js → gitGraphDiagram-PDYL7XHY-BQAvdM_V.js} +1 -1
  676. package/editor-web/assets/{group-BdrTp7gi.js → group-DwM2yqU8.js} +1 -1
  677. package/editor-web/assets/hint-CbwoSBMw.js +1 -0
  678. package/editor-web/assets/index-CXisi0Cj.css +2 -0
  679. package/editor-web/assets/index-wMlfx8aT.js +28 -0
  680. package/editor-web/assets/{info-OHQRW6UA-BY0AOfex.js → info-OHQRW6UA-CdPrqere.js} +1 -1
  681. package/editor-web/assets/{infoDiagram-MVDRKAX5-4Up1gMvC.js → infoDiagram-MVDRKAX5-uwIMeP44.js} +1 -1
  682. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-BkvB9Qbn.js → ishikawaDiagram-HPEHV2GE-rtfvqK7E.js} +1 -1
  683. package/editor-web/assets/iso-UwGLGD3F.js +1 -0
  684. package/editor-web/assets/{italic-zw4_eUNF.js → italic-BV7iHxoP.js} +1 -1
  685. package/editor-web/assets/{journeyDiagram-BOSHW7O7-BxV09WdR.js → journeyDiagram-BOSHW7O7-mmhfIyVG.js} +1 -1
  686. package/editor-web/assets/{kanban-definition-FNSA4HC5-zTJtIDPG.js → kanban-definition-FNSA4HC5-Fe7jBsi-.js} +1 -1
  687. package/editor-web/assets/{link-DopSU3aa.js → link-CFOv3nz-.js} +1 -1
  688. package/editor-web/assets/{mermaid-parser.core-BWT9UQh_.js → mermaid-parser.core-BxOSjBH9.js} +3 -3
  689. package/editor-web/assets/{mermaid.core-DFf_Vg5X.js → mermaid.core-BOln9YdH.js} +4 -4
  690. package/editor-web/assets/{mindmap-definition-6OY57UG3-BYexiugS.js → mindmap-definition-6OY57UG3-M3Q1LOtO.js} +1 -1
  691. package/editor-web/assets/minus-ngE8owxs.js +1 -0
  692. package/editor-web/assets/{packet-JDAUHWVQ-DX_kSrI6.js → packet-JDAUHWVQ-Dbb0TUG6.js} +1 -1
  693. package/editor-web/assets/{pegDiagram-ECIUJNBX-I3SrcMLp.js → pegDiagram-ECIUJNBX-BZMRpSFC.js} +1 -1
  694. package/editor-web/assets/{pie-XZMESJXO-BmAFSw3E.js → pie-XZMESJXO-Ctm9XdKp.js} +1 -1
  695. package/editor-web/assets/{pieDiagram-GNMPY74T-DIZKcme5.js → pieDiagram-GNMPY74T-cGbs5ZTl.js} +1 -1
  696. package/editor-web/assets/progress-DZQTiRLv.js +6 -0
  697. package/editor-web/assets/{quadrantDiagram-D57K4MC3-CO3oSqpQ.js → quadrantDiagram-D57K4MC3-BUe_zsxT.js} +1 -1
  698. package/editor-web/assets/{radar-ABXABTNO-D5CkFrrb.js → radar-ABXABTNO-CCmKtqLs.js} +1 -1
  699. package/editor-web/assets/{railroad-I3PHUGI6-BeKY1p0K.js → railroad-I3PHUGI6-k-yhjhjA.js} +1 -1
  700. package/editor-web/assets/{railroad-abnf-LNEFI6M7-CIYV9_3-.js → railroad-abnf-LNEFI6M7-B-PvntB3.js} +1 -1
  701. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-DN0zDl6d.js → railroad-ebnf-DWYD2UWJ-Ds2rua1h.js} +1 -1
  702. package/editor-web/assets/{railroad-peg-JR7BVNR7-Bd_GcO24.js → railroad-peg-JR7BVNR7-jNZ2wEp2.js} +1 -1
  703. package/editor-web/assets/{railroadDiagram-Y72NRBL7-DlFoiMhb.js → railroadDiagram-Y72NRBL7-CTqSQ15w.js} +1 -1
  704. package/editor-web/assets/react-Byupo4pA.js +1 -0
  705. package/editor-web/assets/replace-CLLMtF4e.js +1 -0
  706. package/editor-web/assets/{requirementDiagram-EQYSW5RA-LWAEz8Gy.js → requirementDiagram-EQYSW5RA-CUblhR5M.js} +1 -1
  707. package/editor-web/assets/ribbon-DajdQ_Ya.js +1 -0
  708. package/editor-web/assets/row-Bei9HNEe.js +1 -0
  709. package/editor-web/assets/{sankeyDiagram-SY24JHO5-B_pZGwUK.js → sankeyDiagram-SY24JHO5-nSz6zDX3.js} +1 -1
  710. package/editor-web/assets/schemas-C21MyseF.js +1 -0
  711. package/editor-web/assets/{iso-ahTwmFwH.js → schemas-DlRAoVtq.js} +1 -1
  712. package/editor-web/assets/{scissors-B_xOiUhd.js → scissors-m6QcoEf2.js} +1 -1
  713. package/editor-web/assets/search-D75Bi2GU.js +1 -0
  714. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-bNhyCq0C.js → sequenceDiagram-BLEHNHQU-DxTpOYuo.js} +1 -1
  715. package/editor-web/assets/{session-Beijw9EK.js → session-BhClkDyr.js} +1 -1
  716. package/editor-web/assets/{sigma-DSUsJhMn.js → sigma-B4AWtnVA.js} +1 -1
  717. package/editor-web/assets/snapshots-DwGHDN3t.js +1 -0
  718. package/editor-web/assets/sound-DkR3qxSt.js +1 -0
  719. package/editor-web/assets/split-DBAbwPZ5.js +3 -0
  720. package/editor-web/assets/{square-arrow-out-up-right-DF5dvsSp.js → square-arrow-out-up-right-1NqFsNDe.js} +1 -1
  721. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-DI-oM3qz.js → stateDiagram-v2-A6IESKWZ-C3e14iHY.js} +1 -1
  722. package/editor-web/assets/{sticky-note-BdkIu5_D.js → sticky-note-s4QfzaBB.js} +1 -1
  723. package/editor-web/assets/surface-CIF0Ae0z.js +1 -0
  724. package/editor-web/assets/swatch-BUzr_XmH.js +1 -0
  725. package/editor-web/assets/{swimlanes-B3ENRKFQ-awDmoLdW.js → swimlanes-B3ENRKFQ-DPPdzNzu.js} +1 -1
  726. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B8n3zOw_.js +8 -0
  727. package/editor-web/assets/switch-DrZxoPQS.js +1 -0
  728. package/editor-web/assets/{syntax-CU_WPKxt.js → syntax-emXV4DnN.js} +1 -1
  729. package/editor-web/assets/table-BW43XXVd.js +1 -0
  730. package/editor-web/assets/tabs-BwU2E7bU.js +1 -0
  731. package/editor-web/assets/text-wrap-Baus6l-V.js +1 -0
  732. package/editor-web/assets/textarea-BX_ax3X8.js +1 -0
  733. package/editor-web/assets/{timeline-definition-JXYKGLGB-CayduPvL.js → timeline-definition-JXYKGLGB-DRTJ1_Er.js} +1 -1
  734. package/editor-web/assets/tolerant-DM9s0Mt1.js +1 -0
  735. package/editor-web/assets/{treeView-D4JQ5SDB-BVEuNzCO.js → treeView-D4JQ5SDB-BYJ_m-i5.js} +1 -1
  736. package/editor-web/assets/{treemap-SAJKECNS-BOB14HP3.js → treemap-SAJKECNS-BcU6I6Rg.js} +1 -1
  737. package/editor-web/assets/type-CvZ0HZsV.js +41 -0
  738. package/editor-web/assets/{undo-2-C47jrRp5.js → undo-2-DCbMWoug.js} +1 -1
  739. package/editor-web/assets/{usecaseDiagram-WPOLBNNX-DxT99uaq.js → usecaseDiagram-WPOLBNNX-YV92pS4o.js} +1 -1
  740. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-CWUKom-r.js → vennDiagram-Q3Y3IDCW-oAvfHZtf.js} +1 -1
  741. package/editor-web/assets/video-SJvDRCJK.js +1 -0
  742. package/editor-web/assets/{wardley-7MLQ67FV-BAQyTneD.js → wardley-7MLQ67FV-BLNiqxtt.js} +1 -1
  743. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-CiIYz4lZ.js → wardleyDiagram-IVAIDKWA-SppgC6xW.js} +1 -1
  744. package/editor-web/assets/{whole-word-D3ZAtnkw.js → whole-word-C9TkGBCY.js} +1 -1
  745. package/editor-web/assets/{words-0Ww2RyT4.js → words-BUlNNuH2.js} +3 -3
  746. package/editor-web/assets/words-zMedmPWc.js +3 -0
  747. package/editor-web/assets/workbook-BZKYx4WB.js +41 -0
  748. package/editor-web/assets/{xychartDiagram-4URNHDU4-D_D5IGmd.js → xychartDiagram-4URNHDU4-BHMn_jwJ.js} +1 -1
  749. package/editor-web/assets/{zoom-in-PgsC94hP.js → zoom-in-yAGKspfC.js} +1 -1
  750. package/editor-web/index.html +9 -8
  751. package/package.json +3 -3
  752. package/CHANGELOG.md +0 -243
  753. package/dist/commands/render.js +0 -3
  754. package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +0 -24
  755. package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +0 -61
  756. package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +0 -51
  757. package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +0 -29
  758. package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +0 -13
  759. package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +0 -35
  760. package/dist/node_modules/@allyhub/browser/dist/html.d.ts +0 -19
  761. package/dist/node_modules/@allyhub/browser/dist/index.d.ts +0 -10
  762. package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +0 -35
  763. package/dist/node_modules/@allyhub/browser/dist/page.d.ts +0 -74
  764. package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +0 -18
  765. package/dist/node_modules/@allyhub/browser/dist/server.d.ts +0 -26
  766. package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +0 -91
  767. package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +0 -84
  768. package/dist/node_modules/@allyhub/build/dist/code.d.ts +0 -26
  769. package/dist/node_modules/@allyhub/build/dist/content.d.ts +0 -64
  770. package/dist/node_modules/@allyhub/build/dist/data.d.ts +0 -11
  771. package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +0 -44
  772. package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +0 -35
  773. package/dist/node_modules/@allyhub/build/dist/files.d.ts +0 -4
  774. package/dist/node_modules/@allyhub/build/dist/fonts.d.ts +0 -26
  775. package/dist/node_modules/@allyhub/build/dist/generated.d.ts +0 -29
  776. package/dist/node_modules/@allyhub/build/dist/imports.d.ts +0 -17
  777. package/dist/node_modules/@allyhub/build/dist/index.d.ts +0 -37
  778. package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +0 -119
  779. package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +0 -530
  780. package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +0 -9
  781. package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +0 -19
  782. package/dist/node_modules/@allyhub/build/dist/media.d.ts +0 -10
  783. package/dist/node_modules/@allyhub/build/dist/messages.d.ts +0 -60
  784. package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +0 -59
  785. package/dist/node_modules/@allyhub/build/dist/meta.d.ts +0 -24
  786. package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +0 -6
  787. package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +0 -16
  788. package/dist/node_modules/@allyhub/build/dist/places.d.ts +0 -23
  789. package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +0 -50
  790. package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +0 -138
  791. package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +0 -19
  792. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +0 -136
  793. package/dist/node_modules/@allyhub/build/dist/references.d.ts +0 -6
  794. package/dist/node_modules/@allyhub/build/dist/scan.d.ts +0 -45
  795. package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +0 -80
  796. package/dist/node_modules/@allyhub/build/dist/takes.d.ts +0 -9
  797. package/dist/node_modules/@allyhub/build/dist/types.d.ts +0 -11
  798. package/dist/node_modules/@allyhub/build/dist/uses.d.ts +0 -44
  799. package/dist/node_modules/@allyhub/build/dist/version.d.ts +0 -56
  800. package/dist/node_modules/@allyhub/build/dist/vite.d.ts +0 -115
  801. package/dist/node_modules/@allyhub/build/dist/work.d.ts +0 -38
  802. package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +0 -48
  803. package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +0 -91
  804. package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +0 -12
  805. package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +0 -64
  806. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +0 -40
  807. package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +0 -76
  808. package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +0 -14
  809. package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +0 -24
  810. package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +0 -43
  811. package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +0 -19
  812. package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +0 -18
  813. package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +0 -22
  814. package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +0 -16
  815. package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +0 -11
  816. package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +0 -42
  817. package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +0 -2
  818. package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +0 -48
  819. package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +0 -20
  820. package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +0 -20
  821. package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +0 -58
  822. package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +0 -22
  823. package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +0 -3
  824. package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +0 -139
  825. package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +0 -41
  826. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +0 -195
  827. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +0 -8
  828. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +0 -16
  829. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +0 -4
  830. package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +0 -25
  831. package/dist/node_modules/@allyhub/media/dist/audio.d.ts +0 -16
  832. package/dist/node_modules/@allyhub/media/dist/beats.d.ts +0 -100
  833. package/dist/node_modules/@allyhub/media/dist/cache.d.ts +0 -26
  834. package/dist/node_modules/@allyhub/media/dist/errors.d.ts +0 -34
  835. package/dist/node_modules/@allyhub/media/dist/fetch.d.ts +0 -11
  836. package/dist/node_modules/@allyhub/media/dist/grid.d.ts +0 -101
  837. package/dist/node_modules/@allyhub/media/dist/index.d.ts +0 -21
  838. package/dist/node_modules/@allyhub/media/dist/picture.d.ts +0 -130
  839. package/dist/node_modules/@allyhub/media/dist/probe.d.ts +0 -52
  840. package/dist/node_modules/@allyhub/media/dist/progress.d.ts +0 -16
  841. package/dist/node_modules/@allyhub/media/dist/run.d.ts +0 -25
  842. package/dist/node_modules/@allyhub/media/dist/sheet.d.ts +0 -67
  843. package/dist/node_modules/@allyhub/media/dist/shots.d.ts +0 -110
  844. package/dist/node_modules/@allyhub/media/dist/sync.d.ts +0 -156
  845. package/dist/node_modules/@allyhub/media/dist/tools.d.ts +0 -25
  846. package/dist/node_modules/@allyhub/media/dist/video.d.ts +0 -35
  847. package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +0 -42
  848. package/dist/node_modules/@allyhub/media/dist/vision/probe.d.ts +0 -39
  849. package/dist/node_modules/@allyhub/media/dist/vision/types.d.ts +0 -2
  850. package/dist/node_modules/@allyhub/media/dist/voice-shape.d.ts +0 -51
  851. package/dist/node_modules/@allyhub/model/dist/authoring.d.ts +0 -48
  852. package/dist/node_modules/@allyhub/model/dist/bevel-attributes.d.ts +0 -19
  853. package/dist/node_modules/@allyhub/model/dist/bevel-collapse.d.ts +0 -12
  854. package/dist/node_modules/@allyhub/model/dist/bevel-corner-plan.d.ts +0 -24
  855. package/dist/node_modules/@allyhub/model/dist/bevel-deform.d.ts +0 -5
  856. package/dist/node_modules/@allyhub/model/dist/bevel-fans.d.ts +0 -12
  857. package/dist/node_modules/@allyhub/model/dist/bevel-junction.d.ts +0 -16
  858. package/dist/node_modules/@allyhub/model/dist/bevel-marks.d.ts +0 -14
  859. package/dist/node_modules/@allyhub/model/dist/bevel-metric.d.ts +0 -4
  860. package/dist/node_modules/@allyhub/model/dist/bevel-mixed.d.ts +0 -12
  861. package/dist/node_modules/@allyhub/model/dist/bevel-offsets.d.ts +0 -22
  862. package/dist/node_modules/@allyhub/model/dist/bevel-patch.d.ts +0 -45
  863. package/dist/node_modules/@allyhub/model/dist/bevel-profile.d.ts +0 -13
  864. package/dist/node_modules/@allyhub/model/dist/bevel-projection.d.ts +0 -10
  865. package/dist/node_modules/@allyhub/model/dist/bevel-reflex.d.ts +0 -10
  866. package/dist/node_modules/@allyhub/model/dist/bevel-square-out.d.ts +0 -18
  867. package/dist/node_modules/@allyhub/model/dist/bevel-strips.d.ts +0 -8
  868. package/dist/node_modules/@allyhub/model/dist/bmesh-cycles.d.ts +0 -52
  869. package/dist/node_modules/@allyhub/model/dist/build-cache.d.ts +0 -42
  870. package/dist/node_modules/@allyhub/model/dist/build-job.d.ts +0 -34
  871. package/dist/node_modules/@allyhub/model/dist/build-worker.d.ts +0 -2
  872. package/dist/node_modules/@allyhub/model/dist/build.d.ts +0 -67
  873. package/dist/node_modules/@allyhub/model/dist/cancel.d.ts +0 -8
  874. package/dist/node_modules/@allyhub/model/dist/curve-math.d.ts +0 -21
  875. package/dist/node_modules/@allyhub/model/dist/curve-mesh.d.ts +0 -30
  876. package/dist/node_modules/@allyhub/model/dist/evaluation-guard.d.ts +0 -11
  877. package/dist/node_modules/@allyhub/model/dist/export.d.ts +0 -12
  878. package/dist/node_modules/@allyhub/model/dist/mesh-queries.d.ts +0 -34
  879. package/dist/node_modules/@allyhub/model/dist/names.d.ts +0 -9
  880. package/dist/node_modules/@allyhub/model/dist/png.d.ts +0 -12
  881. package/dist/node_modules/@allyhub/model/dist/polygon-triangulation.d.ts +0 -4
  882. package/dist/node_modules/@allyhub/model/dist/program-location.d.ts +0 -7
  883. package/dist/node_modules/@allyhub/model/dist/report.d.ts +0 -70
  884. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +0 -21
  885. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +0 -4
  886. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +0 -17
  887. package/dist/node_modules/@allyhub/piece/dist/page/runtimes.d.ts +0 -9
  888. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +0 -661
  889. package/dist/node_modules/@allyhub/protocol/dist/account.js +0 -2
  890. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +0 -30
  891. package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +0 -200
  892. package/dist/node_modules/@allyhub/protocol/dist/blobs.d.ts +0 -44
  893. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +0 -68
  894. package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.d.ts +0 -77
  895. package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.js +0 -2
  896. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +0 -577
  897. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +0 -674
  898. package/dist/node_modules/@allyhub/protocol/dist/errors.d.ts +0 -7
  899. package/dist/node_modules/@allyhub/protocol/dist/events.d.ts +0 -803
  900. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +0 -103
  901. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +0 -247
  902. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +0 -8
  903. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +0 -38
  904. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +0 -91
  905. package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.d.ts +0 -83
  906. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +0 -144
  907. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +0 -274
  908. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +0 -211
  909. package/dist/node_modules/@allyhub/protocol/dist/open.d.ts +0 -13
  910. package/dist/node_modules/@allyhub/protocol/dist/paywall.d.ts +0 -134
  911. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +0 -59
  912. package/dist/node_modules/@allyhub/protocol/dist/peer.js +0 -2
  913. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +0 -21
  914. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +0 -125
  915. package/dist/node_modules/@allyhub/protocol/dist/purposes.d.ts +0 -47
  916. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +0 -191
  917. package/dist/node_modules/@allyhub/protocol/dist/routes.d.ts +0 -14
  918. package/dist/node_modules/@allyhub/protocol/dist/routes.js +0 -2
  919. package/dist/node_modules/@allyhub/protocol/dist/runtimes.d.ts +0 -96
  920. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +0 -35
  921. package/dist/node_modules/@allyhub/protocol/dist/shape.js +0 -2
  922. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +0 -156
  923. package/dist/node_modules/@allyhub/protocol/dist/shares.js +0 -2
  924. package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.d.ts +0 -34
  925. package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.js +0 -2
  926. package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +0 -298
  927. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +0 -503
  928. package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +0 -14
  929. package/dist/node_modules/@allyhub/protocol/dist/studio-server.d.ts +0 -264
  930. package/dist/node_modules/@allyhub/protocol/dist/studio-server.js +0 -2
  931. package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.d.ts +0 -18
  932. package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.js +0 -2
  933. package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.d.ts +0 -97
  934. package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.js +0 -2
  935. package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +0 -196
  936. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +0 -578
  937. package/dist/node_modules/@allyhub/protocol/dist/turns.d.ts +0 -71
  938. package/dist/node_modules/@allyhub/protocol/dist/turns.js +0 -2
  939. package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +0 -10
  940. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +0 -14
  941. package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +0 -38
  942. package/dist/node_modules/@allyhub/runtimes/dist/errors.d.ts +0 -20
  943. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +0 -15
  944. package/dist/node_modules/@allyhub/runtimes/dist/home.d.ts +0 -2
  945. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +0 -12
  946. package/dist/node_modules/@allyhub/runtimes/dist/lock.d.ts +0 -14
  947. package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +0 -3
  948. package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +0 -12
  949. package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +0 -101
  950. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +0 -73
  951. package/dist/node_modules/@allyhub/runtimes/dist/unpack.d.ts +0 -14
  952. package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +0 -20
  953. package/dist/node_modules/@allyhub/scenery-host/dist/bake/digest.d.ts +0 -14
  954. package/dist/node_modules/@allyhub/scenery-host/dist/bake/envmap.d.ts +0 -21
  955. package/dist/node_modules/@allyhub/scenery-host/dist/bake/run.d.ts +0 -63
  956. package/dist/node_modules/@allyhub/scenery-host/dist/budget.d.ts +0 -40
  957. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +0 -92
  958. package/dist/node_modules/@allyhub/scenery-host/dist/commands.d.ts +0 -54
  959. package/dist/node_modules/@allyhub/scenery-host/dist/draw2d.d.ts +0 -47
  960. package/dist/node_modules/@allyhub/scenery-host/dist/glass.d.ts +0 -39
  961. package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +0 -25
  962. package/dist/node_modules/@allyhub/scenery-host/dist/inventory.d.ts +0 -18
  963. package/dist/node_modules/@allyhub/scenery-host/dist/layer/fidelity.d.ts +0 -70
  964. package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +0 -7
  965. package/dist/node_modules/@allyhub/scenery-host/dist/layer/moire.d.ts +0 -6
  966. package/dist/node_modules/@allyhub/scenery-host/dist/measure/contacts.d.ts +0 -45
  967. package/dist/node_modules/@allyhub/scenery-host/dist/measure/health.d.ts +0 -10
  968. package/dist/node_modules/@allyhub/scenery-host/dist/measure/index.d.ts +0 -110
  969. package/dist/node_modules/@allyhub/scenery-host/dist/measure/relations.d.ts +0 -17
  970. package/dist/node_modules/@allyhub/scenery-host/dist/measure/solid.d.ts +0 -32
  971. package/dist/node_modules/@allyhub/scenery-host/dist/measure/support.d.ts +0 -11
  972. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +0 -32
  973. package/dist/node_modules/@allyhub/scenery-host/dist/queries/inventory.d.ts +0 -5
  974. package/dist/node_modules/@allyhub/scenery-host/dist/queries/map.d.ts +0 -5
  975. package/dist/node_modules/@allyhub/scenery-host/dist/queries/view.d.ts +0 -10
  976. package/dist/node_modules/@allyhub/scenery-host/dist/scene.d.ts +0 -35
  977. package/dist/node_modules/@allyhub/scenery-host/dist/screen-dom.d.ts +0 -24
  978. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +0 -42
  979. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +0 -6
  980. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +0 -70
  981. package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +0 -49
  982. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +0 -73
  983. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +0 -18
  984. package/dist/node_modules/@allyhub/scenery-host/dist/steady.d.ts +0 -4
  985. package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +0 -134
  986. package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +0 -4
  987. package/dist/node_modules/@allyhub/video-measure/dist/still.js +0 -2
  988. package/editor-web/assets/arrow-down-B8VUPCGi.js +0 -1
  989. package/editor-web/assets/arrow-up-Ds4juY8X.js +0 -1
  990. package/editor-web/assets/article-CS48wwvk.js +0 -3
  991. package/editor-web/assets/article-Cyle57uq.js +0 -7
  992. package/editor-web/assets/bar-button-J9vbfzTx.js +0 -1
  993. package/editor-web/assets/calc-worker-BdHh5LXM.js +0 -45
  994. package/editor-web/assets/channel-HUlo15J7.js +0 -1
  995. package/editor-web/assets/chart-amT4lgX3.js +0 -2
  996. package/editor-web/assets/chart-file-CfbWK9l1.js +0 -1
  997. package/editor-web/assets/code-CD-CbJG9.js +0 -1
  998. package/editor-web/assets/collaborator-BU4qU7O3.js +0 -1
  999. package/editor-web/assets/deck-CtEtDHo2.js +0 -1
  1000. package/editor-web/assets/dist-BBshIz1Q.js +0 -5
  1001. package/editor-web/assets/dist-BI8QjOsV.js +0 -1
  1002. package/editor-web/assets/dist-BajH5QfK.js +0 -24
  1003. package/editor-web/assets/dist-Bl74xqMW.js +0 -19
  1004. package/editor-web/assets/dist-BrUtQth3.js +0 -18
  1005. package/editor-web/assets/dist-CN5A7Au2.js +0 -1
  1006. package/editor-web/assets/dist-CcL6r6l3.js +0 -1
  1007. package/editor-web/assets/dist-D2E3cgRP.js +0 -4
  1008. package/editor-web/assets/dist-D3C6FyrO.js +0 -82
  1009. package/editor-web/assets/dist-DGKjn59H.js +0 -16
  1010. package/editor-web/assets/dist-NQNQ5HqZ.js +0 -17
  1011. package/editor-web/assets/dist-SV0sOVIC.js +0 -43
  1012. package/editor-web/assets/dist-YW8hS4IM.js +0 -9
  1013. package/editor-web/assets/dist-Y_XZZa8q.js +0 -531
  1014. package/editor-web/assets/dist-ZrBAbqyJ.js +0 -3
  1015. package/editor-web/assets/dist-d4dayaWE.js +0 -17
  1016. package/editor-web/assets/dist-elglzHMT.js +0 -6
  1017. package/editor-web/assets/dist-hHcrvNn9.js +0 -1
  1018. package/editor-web/assets/esm-DzxAod8Q.js +0 -21
  1019. package/editor-web/assets/file-exclamation-point-_L3ElCJ5.js +0 -1
  1020. package/editor-web/assets/flowDiagram-IUGLLWBU-tz5ewhC5.js +0 -1
  1021. package/editor-web/assets/hint-rlht0uxG.js +0 -1
  1022. package/editor-web/assets/index-Dvh1t1om.css +0 -2
  1023. package/editor-web/assets/index-q7X6hdHp.js +0 -28
  1024. package/editor-web/assets/minus-CbPnUIOy.js +0 -1
  1025. package/editor-web/assets/progress-CwKcXARv.js +0 -6
  1026. package/editor-web/assets/props-form-DUFxM5eb.js +0 -1
  1027. package/editor-web/assets/react-Edyoga_4.js +0 -1
  1028. package/editor-web/assets/row-C_svyL8o.js +0 -1
  1029. package/editor-web/assets/schemas-moE_A7Nj.js +0 -1
  1030. package/editor-web/assets/search-Ba2BbT6T.js +0 -1
  1031. package/editor-web/assets/slides-oQ_C0SVJ.js +0 -1
  1032. package/editor-web/assets/snapshots-Dd0Wd_qM.js +0 -1
  1033. package/editor-web/assets/sound-bTlco_K3.js +0 -1
  1034. package/editor-web/assets/split-zARio3J8.js +0 -3
  1035. package/editor-web/assets/strikethrough-BwXWi4zg.js +0 -1
  1036. package/editor-web/assets/surface-DtCjIlrq.js +0 -1
  1037. package/editor-web/assets/svg-CWIBMIQ9.js +0 -1
  1038. package/editor-web/assets/swatch-DhztHwPU.js +0 -1
  1039. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-X35m3xN6.js +0 -8
  1040. package/editor-web/assets/switch-8MU4Nfxe.js +0 -1
  1041. package/editor-web/assets/table-DRbddzx0.js +0 -1
  1042. package/editor-web/assets/tabs-BHBvbekZ.js +0 -1
  1043. package/editor-web/assets/tag-CIfWT8B_.js +0 -1
  1044. package/editor-web/assets/text-align-start-Cic2-TLh.js +0 -1
  1045. package/editor-web/assets/textarea-D7TnPwv1.js +0 -1
  1046. package/editor-web/assets/video-oJ3qa1Qv.js +0 -1
  1047. package/editor-web/assets/words-XlXG79Ur.js +0 -3
  1048. package/editor-web/assets/workbook-DznVDqoE.js +0 -45
  1049. package/editor-web/assets/x-DlhyIKuu.js +0 -41
  1050. /package/dist/node_modules/@allyhub/{protocol/dist/runtimes.js → runtimes/dist/schema.js} +0 -0
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"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;
2
+ import"zod";import{PROJECT_DIR as e}from"@allyhub/build/inspect-view";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 E}from"node:path";import{z as w}from"zod";import{optionName as g,paramsOf as O,shapeOf as f}from"./args.js";import{GLOBAL as M,isGlobal as x,isHidden as D}from"./fields.js";import{WORKS as k,cloudNouns as S,workTitle as v}from"./works.js";const b=e=>e.description??"";function y(e,p){const r=f(p);return r.kind==="boolean"&&!r.list?`--${g(e)}`:`--${g(e)} <${r.kind==="number"?"n":"value"}${r.list?",…":""}>`}function H(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,r,l){const i=["allyhub: check, render, measure and look at a project's content.","",...H(l),"Works (allyhub help <work> lists a work's commands in the order it uses them):"],c=Math.max(...k.map(n=>n.name.length));for(const n of k)i.push(` ${n.name.padEnd(c)} ${v(n,r)}`);i.push("","Commands:");const d=[...e.map(n=>({noun:n.name.split(" ")[0]??"",name:n.name,summary:n.summary})),...p.flatMap(n=>n.entries.map(a=>({noun:"<made>",...a}))),...(r??[]).map(n=>({noun:"<nouns>",...n}))],m=Math.max(...d.map(n=>n.name.length));let s="";for(const n of d)s!==""&&n.noun!==s&&i.push(""),s=n.noun,i.push(` ${n.name.padEnd(m)} ${n.summary}`);i.push("","Global options (each command lists those it takes):");const o=Object.entries(M).map(([n,a])=>[y(n,a),a.description??""]);o.push(["--json","Print the result as JSON (any command)"]);const t=Math.max(...o.map(([n])=>n.length));for(const[n,a]of o)i.push(` ${n.padEnd(t)} ${a}`);return i.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."),i.join(`
2
+ import{join as E}from"node:path";import{z as w}from"zod";import{optionName as g,paramsOf as O,shapeOf as f}from"./args.js";import{GLOBAL as M,isGlobal as x,isHidden as D}from"./fields.js";import{WORKS as k,cloudNouns as H,workTitle as S}from"./works.js";const b=e=>e.description??"";function y(e,p){const r=f(p);return r.kind==="boolean"&&!r.list?`--${g(e)}`:`--${g(e)} <${r.kind==="number"?"n":"value"}${r.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,r,l){const i=["allyhub: check, measure, look at and export a project's content.","",...v(l),"Works (allyhub help <work> lists a work's commands in the order it uses them):"],c=Math.max(...k.map(n=>n.name.length));for(const n of k)i.push(` ${n.name.padEnd(c)} ${S(n,r)}`);i.push("","Commands:");const d=[...e.map(n=>({noun:n.name.split(" ")[0]??"",name:n.name,summary:n.summary})),...p.flatMap(n=>n.entries.map(s=>({noun:"<made>",...s}))),...(r??[]).map(n=>({noun:"<nouns>",...n}))],m=Math.max(...d.map(n=>n.name.length));let a="";for(const n of d)a!==""&&n.noun!==a&&i.push(""),a=n.noun,i.push(` ${n.name.padEnd(m)} ${n.summary}`);i.push("","Global options (each command lists those it takes):");const o=Object.entries(M).map(([n,s])=>[y(n,s),s.description??""]);o.push(["--json","Print the result as JSON (any command)"]);const t=Math.max(...o.map(([n])=>n.length));for(const[n,s]of o)i.push(` ${n.padEnd(t)} ${s}`);return i.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 missing face tracks and person mattes first (once per file, in AllyHub's cloud, paid by the frame): those layers are drawn their fallback way","","allyhub help <command> says what one does and every option it takes."),i.join(`
3
3
  `)}export function groupHelp(e,p){const r=Math.max(...p.map(l=>l.name.length));return[`allyhub ${e}:`,"",...p.map(l=>` ${l.name.padEnd(r)} ${l.summary}`),"","allyhub help <command> says what one does and every option it takes."].join(`
4
- `)}export function workHelp(e,p,r=[],l,i,c=[]){const d=Math.max(...e.commands.map(s=>s.length)),m=[`${e.title}: the commands, in the order the work uses them.`,""];if(e.cloud!==void 0){const s=i===void 0?[]:S(e,i);if(i===void 0)m.push("The cloud catalog could not be read: its works are not listed.");else if(s.length===0)m.push("The cloud catalog has no tools for this work yet.");else{const o=Math.max(...s.map(t=>t.name.length));m.push("The cloud catalog's works for it (allyhub <work> lists one's tools):");for(const t of s)m.push(` ${t.name.padEnd(o)} ${t.summary}`)}m.push("")}e.docs!==void 0&&e.docs.length>0&&m.push(l===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(s=>E(l,s)).join(", ")}`,"");for(const s of e.commands){const o=p.find(t=>t.name===s)??r.flatMap(t=>t.entries).find(t=>t.name===s)??c.find(t=>t.name===s);m.push(` ${s.padEnd(d)} ${o?.summary??""}`)}return m.push("","allyhub help <command> says what one does and every option it takes."),m.join(`
5
- `)}export function commandHelp(e,p=[],r=[]){const l=e.input.shape,i=[...e.positional??[]],c=i.map(t=>{const n=f(l[t]??w.string()),a=l[t]?.safeParse(void 0).success??!1,h=`<${t}>${n.list?"…":""}`;return a?`[${h}]`:h}),d=O(l.params),m=Object.entries(l).filter(([t,n])=>!i.includes(t)&&!(d&&t==="params")&&!x(n)&&!D(n)),s=Object.entries(l).filter(([,t])=>x(t)).map(([t,n])=>y(t,n).split(" ")[0]??""),o=[`allyhub ${[e.name,...c,m.length>0?"[options]":""].filter(Boolean).join(" ")}`,"",e.summary];if(p.length>0&&o.push("",...p),i.length>0){o.push("","Arguments:");for(const t of i)o.push(` <${t}> ${b(l[t]??w.string())}`)}if(m.length>0){o.push("","Options:");const t=m.map(([a,h])=>{const u=f(h),$=y(a,h),j=u.fallback===void 0||u.fallback===!1?"":` (default ${JSON.stringify(u.fallback)})`;return[$,`${b(h)}${j}`]}),n=Math.max(...t.map(([a])=>a.length));for(const[a,h]of t)o.push(` ${a.padEnd(n)} ${h}`)}if(d){o.push("","Parameters (--param name=value):");const t=Object.entries(d).map(([a,h])=>{const u=f(h),$=u.fallback===void 0?"":` (default ${JSON.stringify(u.fallback)})`;return[g(a),`${b(h)}${$}`]}),n=Math.max(...t.map(([a])=>a.length));for(const[a,h]of t)o.push(` ${a.padEnd(n)} ${h}`)}if(s.length>0&&o.push("",`Global options: ${s.join(", ")} (allyhub help)`),e.examples&&e.examples.length>0){o.push("","Examples:");for(const t of e.examples)o.push(` ${t}`)}if(r.length>0){const t=Math.max(...r.map(n=>n.name.length));o.push("",`Commands under ${e.name}:`);for(const n of r)o.push(` ${n.name.padEnd(t)} ${n.summary}`)}return o.join(`
4
+ `)}export function workHelp(e,p,r=[],l,i,c=[]){const d=Math.max(...e.commands.map(a=>a.length)),m=[`${e.title}: the commands, in the order the work uses them.`,""];if(e.cloud!==void 0){const a=i===void 0?[]:H(e,i);if(i===void 0)m.push("The cloud catalog could not be read: its works are not listed.");else if(a.length===0)m.push("The cloud catalog has no tools for this work yet.");else{const o=Math.max(...a.map(t=>t.name.length));m.push("The cloud catalog's works for it (allyhub <work> lists one's tools):");for(const t of a)m.push(` ${t.name.padEnd(o)} ${t.summary}`)}m.push("")}e.docs!==void 0&&e.docs.length>0&&m.push(l===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: ${e.docs.map(a=>E(l,a)).join(", ")}`,"");for(const a of e.commands){const o=p.find(t=>t.name===a)??r.flatMap(t=>t.entries).find(t=>t.name===a)??c.find(t=>t.name===a);m.push(` ${a.padEnd(d)} ${o?.summary??""}`)}return m.push("","allyhub help <command> says what one does and every option it takes."),m.join(`
5
+ `)}export function commandHelp(e,p=[],r=[]){const l=e.input.shape,i=[...e.positional??[]],c=i.map(t=>{const n=f(l[t]??w.string()),s=l[t]?.safeParse(void 0).success??!1,h=`<${t}>${n.list?"…":""}`;return s?`[${h}]`:h}),d=O(l.params),m=Object.entries(l).filter(([t,n])=>!i.includes(t)&&!(d&&t==="params")&&!x(n)&&!D(n)),a=Object.entries(l).filter(([,t])=>x(t)).map(([t,n])=>y(t,n).split(" ")[0]??""),o=[`allyhub ${[e.name,...c,m.length>0?"[options]":""].filter(Boolean).join(" ")}`,"",e.summary];if(p.length>0&&o.push("",...p),i.length>0){o.push("","Arguments:");for(const t of i)o.push(` <${t}> ${b(l[t]??w.string())}`)}if(m.length>0){o.push("","Options:");const t=m.map(([s,h])=>{const u=f(h),$=y(s,h),j=u.fallback===void 0||u.fallback===!1?"":` (default ${JSON.stringify(u.fallback)})`;return[$,`${b(h)}${j}`]}),n=Math.max(...t.map(([s])=>s.length));for(const[s,h]of t)o.push(` ${s.padEnd(n)} ${h}`)}if(d){o.push("","Parameters (--param name=value):");const t=Object.entries(d).map(([s,h])=>{const u=f(h),$=u.fallback===void 0?"":` (default ${JSON.stringify(u.fallback)})`;return[g(s),`${b(h)}${$}`]}),n=Math.max(...t.map(([s])=>s.length));for(const[s,h]of t)o.push(` ${s.padEnd(n)} ${h}`)}if(a.length>0&&o.push("",`Global options: ${a.join(", ")} (allyhub help)`),e.examples&&e.examples.length>0){o.push("","Examples:");for(const t of e.examples)o.push(` ${t}`)}if(r.length>0){const t=Math.max(...r.map(n=>n.name.length));o.push("",`Commands under ${e.name}:`);for(const n of r)o.push(` ${n.name.padEnd(t)} ${n.summary}`)}return o.join(`
6
6
  `)}
package/dist/main.js CHANGED
@@ -1,9 +1,10 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{mkdir as Y,writeFile as V}from"node:fs/promises";import{tmpdir as X}from"node:os";import{dirname as q,join as T}from"node:path";import"@allyhub/stage-runtime/use";import{EXIT as l,PROBLEMS_FOUND as z,describeCommand as D}from"@allyhub/protocol";import{WORK_DIR as Q}from"@allyhub/formats";import{projectAt as Z}from"./project.js";import{cutLong as tt}from"./text/index.js";import{readArgs as et}from"./args.js";import{CLI_VERSION as I}from"./cli-version.js";import{CommandError as x}from"./command.js";import{COMMAND_SOURCES as H,COMMANDS as U,allCommands as nt}from"./commands/index.js";import{contributedSpecs as ot}from"./commands/contributed.js";import{builtInExtensions as rt}from"./commands/extensions.js";import{commandHelp as B,groupHelp as it,listHelp as st,workHelp as at}from"./help.js";import{sdkDocs as ct}from"./sdk-docs.js";import{cliTelemetry as lt}from"./telemetry.js";import{turnOf as dt}from"./turn.js";import{WORKS as mt,cloudNouns as ut,withJoined as J,workNamed as pt,workTitle as P}from"./works.js";const A={stdout:n=>process.stdout.write(n),stderr:n=>process.stderr.write(n),cwd:process.cwd(),env:process.env};export function findCommand(n,i=U){let h;for(const d of i){const u=d.spec.name.split(" ");u.every((w,g)=>n[g]===w)&&u.length>(h?.length??0)&&(h={command:d,length:u.length})}return h?{command:h.command,rest:n.slice(h.length)}:{rest:[...n]}}export async function resolveCommand(n,i,h=U,d=H){const u=findCommand(n,h);if(u.command){const w=u.command.spec.name;if(u.rest.length>0)for(const g of d.filter(o=>o.under===w)){const o=await g.resolve(n,i);if(o)return o}return u}for(const w of d){const g=await w.resolve(n,i);if(g)return g}return u}const F=n=>({...D(n.spec),...n.about?.value});export async function main(n,i=A,h,d=H,u){rt();const w=h??await nt(),g=n.includes("--json"),o=n.filter(t=>t!=="--json"),b=async(t,e,$)=>{if(g){i.stdout(`${JSON.stringify(t,null,2)}
3
- `);return}const k=await Z(i.cwd),s=T(k===void 0?T(X(),"allyhub"):T(k,Q),"out",`${$.replaceAll(" ","-")}.txt`),f=tt(e,s);f!==void 0&&(await Y(q(s),{recursive:!0}),await V(s,`${e}
4
- `)),i.stdout(`${f??e}
5
- `)},N=w.map(t=>t.spec),S=t=>N.filter(e=>t.length>0&&e.name.startsWith(`${t.join(" ")} `)),O=new AbortController,y={cwd:i.cwd,env:{ALLYHUB_CLIENT:`AllyHub-CLI/${I}`,...i.env},progress:t=>{i.stderr(`${t}
6
- `)},signal:O.signal};if(o[0]==="--version"||o[0]==="-v")return await b({version:I},I,"version"),l.ok;if(o.length===0||o[0]==="help"||o[0]==="--help"||o[0]==="-h"){const t=o.slice(1).findIndex(r=>r.startsWith("-")),e=(t<0?o.slice(1):o.slice(1,t+1)).flatMap(r=>r.split(" ").filter(c=>c!=="")),$=await ct(i.cwd).catch(()=>{}),k=async()=>{const r=await Promise.all(d.map(c=>c.nouns(y).then(G=>G.map(K=>({...K,work:c.works!==!1}))).catch(()=>{})));return r.some(c=>c===void 0)?void 0:r.flatMap(c=>c??[])},s=await ot(y);if(e.length===0){const r=await k();return await b({version:I,docs:$?.dir,works:mt.map(c=>({...J(c,s),title:P(c,r)})),commands:N.map(D),made:[...d.flatMap(c=>c.entries),...r??[]]},st(N,d,r,$?.dir),"help"),l.ok}const f=e.length===1?pt(e[0]??""):void 0,m=f&&J(f,s);if(m){const r=m.cloud===void 0?[]:await k();return await b({...m,title:P(m,r),...m.cloud===void 0?{}:{cloudWorks:r&&ut(m,r)},docsDir:$?.dir},at(m,N,d,$?.dir,r,s),`help ${e.join(" ")}`),l.ok}let C;try{C=await resolveCommand(e,y,w,d)}catch(r){return j(r)}const{command:a,rest:p}=C;if(a&&C.list===!0)return await R(a,p);const L=S(e);return!a&&L.length>0?(await b({commands:L.map(D)},it(e.join(" "),L),`help ${e.join(" ")}`),l.ok):!a||p.length>0?j(new x("unknown-command",`allyhub has no command "${e.join(" ")}".`,{exit:l.usage,hint:"allyhub help lists them and the works."})):(await b(F(a),B(a.spec,a.about?.lines,S(a.spec.name.split(" "))),`help ${a.spec.name}`),l.ok)}let M;try{M=await resolveCommand(o,y,w,d)}catch(t){return j(t)}const{command:v,rest:E}=M;if(!v){const t=S(o.slice(0,1));return j(new x("unknown-command",`allyhub has no command "${o.join(" ")}".`,{exit:l.usage,hint:t.length>0?`${o[0]??""} has these: ${t.map(e=>e.name).join(", ")}.`:"allyhub help lists them."}))}if(E.includes("--help")||E.includes("-h"))return await b(F(v),B(v.spec,v.about?.lines,S(v.spec.name.split(" "))),`${v.spec.name} help`),l.ok;return await R(v,E);async function R(t,e){const $=()=>{O.abort(new x("interrupted","Stopped.",{exit:l.interrupted}))};process.once("SIGINT",$);const k=Date.now();let s=l.failed,f;const m=await dt(y.env,y.cwd),C=m===void 0?y:{...y,env:{...y.env,TRACEPARENT:m}};try{const a=et(t.spec,e),p=await t.run(a,C);await b(p.value,p.text,t.spec.name),s=p.exit??l.ok,s!==l.ok&&(f=p.code??z)}catch(a){const p=_(a);s=p.exit,f=p.code,W(p)}finally{process.off("SIGINT",$)}return await u?.({command:t.spec.name,ms:Date.now()-k,exit:s,...f===void 0?{}:{code:f},...m===void 0?{}:{traceparent:m}}),s}function j(t){const e=_(t);return W(e),e.exit}function _(t){return t instanceof x?t:O.signal.aborted?new x("interrupted","Stopped.",{exit:l.interrupted}):new x("failed",t instanceof Error?t.message:String(t))}function W(t){g?i.stdout(`${JSON.stringify({error:{code:t.code,message:t.message,...t.hint?{hint:t.hint}:{}}},null,2)}
7
- `):i.stderr(`${t.message}${t.hint?`
2
+ import{mkdir as F,writeFile as G}from"node:fs/promises";import{tmpdir as J}from"node:os";import{dirname as K,join as R}from"node:path";import"@allyhub/stage-runtime/use";import{CLI_PROGRAM as H,EXIT as l,PROBLEMS_FOUND as Y}from"@allyhub/protocol/cli";import{WORK_DIR as V}from"@allyhub/formats/layout";import{projectAt as X}from"./project.js";import{cutLong as q}from"./text/long-text.js";import{readArgs as z}from"./args.js";import{CLI_VERSION as b}from"./cli-version.js";import{CommandError as E}from"./command.js";import{COMMAND_SOURCES as A}from"./commands/index.js";import{commandEntries as Q,commandEntry as Z,entriesOf as tt,joinedCommands as nt}from"./commands/list.js";import{contributedSpecs as et}from"./commands/contributed.js";import{groupHelp as ot,listHelp as rt,workHelp as it}from"./help.js";import{sdkDocs as at}from"./sdk-docs.js";import{cliTelemetry as st}from"./telemetry.js";import{turnOf as ct}from"./turn.js";import{endUpdateCheck as dt}from"./update-notice.js";import{WORKS as mt,cloudNouns as ut,withJoined as U,workNamed as lt,workTitle as W}from"./works.js";const j={stdout:o=>process.stdout.write(o),stderr:o=>process.stderr.write(o),cwd:process.cwd(),env:process.env};export const FORMER_NAMES={render:"export"};export function namedNow(o){const i=o[0]==="help"?1:0,a=FORMER_NAMES[o[i]??""];return o.map((s,p)=>p===i&&a!==void 0?a:s)}export function findCommand(o,i){let a;for(const s of i){const p=s.name.split(" ");p.every((h,e)=>o[e]===h)&&p.length>(a?.length??0)&&(a={command:s,length:p.length})}return a?{command:a.command,rest:o.slice(a.length)}:{rest:[...o]}}export async function resolveCommand(o,i,a,s=A){const p=async e=>{const c=await e.resolve(o,i);return c&&{...c,command:Z(c.command,a)}},h=findCommand(o,a);if(h.command){const e=h.command.name;if(h.rest.length>0)for(const c of s.filter(y=>y.under===e)){const y=await p(c);if(y)return y}return h}for(const e of s){const c=await p(e);if(c)return c}return h}export async function main(o,i=j,a,s=A,p){const h=o.includes("--json"),e=namedNow(o.filter(t=>t!=="--json")),c=async(t,n,$)=>{if(h){i.stdout(`${JSON.stringify(t,null,2)}
3
+ `);return}const v=await X(i.cwd),m=R(v===void 0?R(J(),"allyhub"):R(v,V),"out",`${$.replaceAll(" ","-")}.txt`),w=q(n,m);w!==void 0&&(await F(K(m),{recursive:!0}),await G(m,`${n}
4
+ `)),i.stdout(`${w??n}
5
+ `)},y=new AbortController,g={cwd:i.cwd,env:{ALLYHUB_CLIENT:`${H}/${b}`,...i.env},progress:t=>{i.stderr(`${t}
6
+ `)},signal:y.signal};if(e[0]==="--version"||e[0]==="-v")return await c({version:b},b,"version"),l.ok;const N=a===void 0?await Q():tt(a),L=t=>N.filter(n=>t.length>0&&n.name.startsWith(`${t.join(" ")} `));if(e.length===0||e[0]==="help"||e[0]==="--help"||e[0]==="-h"){const t=e.slice(1).findIndex(r=>r.startsWith("-")),n=(t<0?e.slice(1):e.slice(1,t+1)).flatMap(r=>r.split(" ").filter(d=>d!=="")),$=await at(i.cwd).catch(()=>{}),v=async()=>{const r=await Promise.all(s.map(d=>d.nouns(g).then(P=>P.map(B=>({...B,work:d.works!==!1}))).catch(()=>{})));return r.some(d=>d===void 0)?void 0:r.flatMap(d=>d??[])},m=await et(g,await nt());if(n.length===0){const r=await v();return await c({version:b,docs:$?.dir,works:mt.map(d=>({...U(d,m),title:W(d,r)})),commands:N.map(d=>d.spec),made:[...s.flatMap(d=>d.entries),...r??[]]},rt(N,s,r,$?.dir),"help"),l.ok}const w=n.length===1?lt(n[0]??""):void 0,f=w&&U(w,m);if(f){const r=f.cloud===void 0?[]:await v();return await c({...f,title:W(f,r),...f.cloud===void 0?{}:{cloudWorks:r&&ut(f,r)},docsDir:$?.dir},it(f,N,s,$?.dir,r,m),`help ${n.join(" ")}`),l.ok}let S;try{S=await resolveCommand(n,g,N,s)}catch(r){return C(r)}const{command:u,rest:x}=S;if(u&&S.list===!0)return await T(u,x);const k=L(n);return!u&&k.length>0?(await c({commands:k.map(r=>r.spec)},ot(n.join(" "),k),`help ${n.join(" ")}`),l.ok):!u||x.length>0?C(new E("unknown-command",`allyhub has no command "${n.join(" ")}".`,{exit:l.usage,hint:"allyhub help lists them and the works."})):(await c(u.described,u.help,`help ${u.name}`),l.ok)}let M;try{M=await resolveCommand(e,g,N,s)}catch(t){return C(t)}const{command:O,rest:I}=M;if(!O){const t=L(e.slice(0,1));return C(new E("unknown-command",`allyhub has no command "${e.join(" ")}".`,{exit:l.usage,hint:t.length>0?`${e[0]??""} has these: ${t.map(n=>n.name).join(", ")}.`:"allyhub help lists them."}))}if(I.includes("--help")||I.includes("-h"))return await c(O.described,O.help,`${O.name} help`),l.ok;return await T(O,I);async function T(t,n){const $=()=>{y.abort(new E("interrupted","Stopped.",{exit:l.interrupted}))};process.once("SIGINT",$);const v=Date.now();let m=l.failed,w;const f=await ct(g.env,g.cwd),S=f===void 0?g:{...g,env:{...g.env,TRACEPARENT:f}};try{const u=await t.command(),x=z(u.spec,n),k=await u.run(x,S);await c(k.value,k.text,u.spec.name),m=k.exit??l.ok,m!==l.ok&&(w=k.code??Y)}catch(u){const x=_(u);m=x.exit,w=x.code,D(x)}finally{process.off("SIGINT",$)}return await p?.({command:t.name,ms:Date.now()-v,exit:m,...w===void 0?{}:{code:w},...f===void 0?{}:{traceparent:f}}),m}function C(t){const n=_(t);return D(n),n.exit}function _(t){return t instanceof E?t:y.signal.aborted?new E("interrupted","Stopped.",{exit:l.interrupted}):new E("failed",t instanceof Error?t.message:String(t))}function D(t){if(h){const n={error:{code:t.code,message:t.message,...t.hint?{hint:t.hint}:{}}};i.stdout(`${JSON.stringify(n,null,2)}
7
+ `)}else i.stderr(`${t.message}${t.hint?`
8
8
  ${t.hint}`:""}
9
- `)}}export function run(n){return main(n,A,void 0,H,lt({ALLYHUB_CLIENT:`AllyHub-CLI/${I}`,...A.env},i=>{A.stderr(i)}))}
9
+ `)}}export async function run(o){const i=await main(o,j,void 0,A,st({ALLYHUB_CLIENT:`${H}/${b}`,...j.env},s=>{j.stderr(s)})),a=await dt();return a!==void 0&&j.stderr(`${a}
10
+ `),i}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{join as a}from"node:path";import{problem as u}from"@allyhub/diagnostics";import"@allyhub/build";import{CACHE_DIR as f}from"@allyhub/formats";import{writeModelStage as m}from"@allyhub/scenery-host/bundle";async function d(e,r,t){const{buildModule:n}=await import("@allyhub/model/build");await n(a(e,r),{root:e,...t===void 0?{}:{out:t},cache:a(e,f,"model"),log:()=>{}})}const c=e=>e instanceof Error?e.message:String(e),p={view:async e=>{const{viewerBundle:r}=await import("@allyhub/scenery-host/stage");return r(e,()=>m({root:e.root,model:e.file,outDir:e.outDir}))},check:async(e,{root:r})=>{try{return await d(r,e.entry),[]}catch(t){return[u("AK-B010",`${e.entry} does not build: ${c(t)}`,{piece:e.id,where:{file:e.entry}})]}},render:async(e,{root:r,types:t,out:n,log:s})=>{const o=[];for(const i of t){s?.(`Building ${e.entry}…`);try{await d(r,e.entry,n(i)),o.push({type:i,files:[n(i)]})}catch(l){o.push({type:i,failure:{code:"model-failed",message:`${e.entry}: ${c(l)}`,hint:"Fix it, then render again."}})}}return o}};export default p;
2
+ import{join as a}from"node:path";import{problem as u}from"@allyhub/diagnostics";import{CACHE_DIR as f}from"@allyhub/formats";import{writeModelStage as m}from"@allyhub/scenery-host/bundle";async function d(e,r,n){const{buildModule:t}=await import("@allyhub/model/build");await t(a(e,r),{root:e,...n===void 0?{}:{out:n},cache:a(e,f,"model"),log:()=>{}})}const c=e=>e instanceof Error?e.message:String(e),y={view:async e=>{const{viewerBundle:r}=await import("@allyhub/scenery-host/stage");return r(e,()=>m({root:e.root,model:e.file,outDir:e.outDir}))},check:async(e,{root:r})=>{try{return await d(r,e.entry),[]}catch(n){return[u("AK-B010",`${e.entry} does not build: ${c(n)}`,{piece:e.id,where:{file:e.entry}})]}},render:async(e,{root:r,types:n,out:t,log:s})=>{const o=[];for(const i of n){s?.(`Building ${e.entry}…`);try{await d(r,e.entry,t(i)),o.push({type:i,files:[t(i)]})}catch(l){o.push({type:i,failure:{code:"model-failed",message:`${e.entry}: ${c(l)}`,hint:"Fix it, then render again."}})}}return o}};export default y;
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- const t=()=>import("@allyhub/scenery-host/stage"),s={facts:async a=>(await t()).sceneryLayerFacts(a),readBack:async a=>(await(await t()).screenFidelity(a)).facts,current:async(a,e)=>(await t()).withBakes(a,e.root)},c={view:async a=>(await t()).viewerBundle(a),layers:s};export default c;
2
+ const e=()=>import("@allyhub/scenery-host/stage"),c={facts:async a=>(await e()).sceneryLayerFacts(a),readBack:async a=>(await(await e()).screenFidelity(a)).facts,current:async(a,t)=>a.some(s=>s.kind==="scenery-bake")?(await e()).withBakes(a,t.root):[...a]},i={view:async a=>(await e()).viewerBundle(a),layers:c};export default i;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/3d-extension",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./tools": {
@@ -62,7 +62,8 @@
62
62
  },
63
63
  "icon": "box",
64
64
  "color": "kind-slate",
65
- "build": "./dist/scenery-build.js"
65
+ "build": "./dist/scenery-build.js",
66
+ "layers": true
66
67
  },
67
68
  {
68
69
  "id": "model",
@@ -268,7 +269,7 @@
268
269
  },
269
270
  {
270
271
  "name": "scenery bake",
271
- "summary": "Bakes a 3D scenery's light into a lightmap once, kept in .allyhub/cache/bake/ and laid on it each time it is built; one baked on a GPU is laid only by that GPU, one baked on the CPU (ALLYHUB_GPU=0) by every renderer",
272
+ "summary": "Bakes a 3D scenery's light into a lightmap once, kept in .allyhub/cache/bake/ by the scene's digest and laid on it each time it is built; one baked on a GPU is laid only by that GPU, one baked on the CPU (ALLYHUB_GPU=0) by every renderer; a scene that changed is drawn unbaked until baked again",
272
273
  "work": "3d",
273
274
  "module": "./dist/cli/index.js"
274
275
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/audio",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -0,0 +1,241 @@
1
+ AllyHub Software License
2
+
3
+ Copyright (c) 2026 AllyHub, Inc. ("AllyHub"). All rights reserved.
4
+
5
+ This software (the AllyHub command-line tool, its SDK, runtime and the
6
+ packages they depend on) is proprietary. It is not open source.
7
+
8
+ 1. Permitted use. You may install and run the software, unmodified, to make,
9
+ check, preview and render videos and decks, including for commercial
10
+ purposes. What you make with it is yours.
11
+
12
+ 2. Restrictions. Except as this license permits or applicable law requires,
13
+ you may not copy, modify, adapt, translate, sublicense, sell, rent, lease,
14
+ publish or otherwise distribute the software, create derivative works of
15
+ it, or reverse engineer, decompile or disassemble it.
16
+
17
+ 3. Cloud services. AllyHub's cloud tools (sign-in, research, images, voice,
18
+ video) are separate services governed by AllyHub's terms of service.
19
+
20
+ 4. Trademarks. This license grants no right to use the name "AllyHub" or its
21
+ logos.
22
+
23
+ 5. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
24
+ KIND, EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY,
25
+ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
26
+ ALLYHUB BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.
28
+
29
+ 6. Third-party code. Parts of the software are adapted from HyperFrames,
30
+ licensed under the Apache License, Version 2.0 (see NOTICE). Those parts
31
+ remain under that license, reproduced below, and nothing in this license
32
+ limits your rights under it.
33
+
34
+ 7. Starter components. The starter components in the "components" folder,
35
+ which "allyhub add" copies into your workspace, are licensed under the MIT
36
+ License (see components/LICENSE): once copied, you may change, use and
37
+ share them freely.
38
+
39
+ --------------------------------------------------------------------------------
40
+
41
+ Apache License
42
+ Version 2.0, January 2004
43
+ http://www.apache.org/licenses/
44
+
45
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
46
+
47
+ 1. Definitions.
48
+
49
+ "License" shall mean the terms and conditions for use, reproduction,
50
+ and distribution as defined by Sections 1 through 9 of this document.
51
+
52
+ "Licensor" shall mean the copyright owner or entity authorized by
53
+ the copyright owner that is granting the License.
54
+
55
+ "Legal Entity" shall mean the union of the acting entity and all
56
+ other entities that control, are controlled by, or are under common
57
+ control with that entity. For the purposes of this definition,
58
+ "control" means (i) the power, direct or indirect, to cause the
59
+ direction or management of such entity, whether by contract or
60
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
61
+ outstanding shares, or (iii) beneficial ownership of such entity.
62
+
63
+ "You" (or "Your") shall mean an individual or Legal Entity
64
+ exercising permissions granted by this License.
65
+
66
+ "Source" form shall mean the preferred form for making modifications,
67
+ including but not limited to software source code, documentation
68
+ source, and configuration files.
69
+
70
+ "Object" form shall mean any form resulting from mechanical
71
+ transformation or translation of a Source form, including but
72
+ not limited to compiled object code, generated documentation,
73
+ and conversions to other media types.
74
+
75
+ "Work" shall mean the work of authorship, whether in Source or
76
+ Object form, made available under the License, as indicated by a
77
+ copyright notice that is included in or attached to the work
78
+ (an example is provided in the Appendix below).
79
+
80
+ "Derivative Works" shall mean any work, whether in Source or Object
81
+ form, that is based on (or derived from) the Work and for which the
82
+ editorial revisions, annotations, elaborations, or other modifications
83
+ represent, as a whole, an original work of authorship. For the purposes
84
+ of this License, Derivative Works shall not include works that remain
85
+ separable from, or merely link (or bind by name) to the interfaces of,
86
+ the Work and Derivative Works thereof.
87
+
88
+ "Contribution" shall mean any work of authorship, including
89
+ the original version of the Work and any modifications or additions
90
+ to that Work or Derivative Works thereof, that is intentionally
91
+ submitted to Licensor for inclusion in the Work by the copyright owner
92
+ or by an individual or Legal Entity authorized to submit on behalf of
93
+ the copyright owner. For the purposes of this definition, "submitted"
94
+ means any form of electronic, verbal, or written communication sent
95
+ to the Licensor or its representatives, including but not limited to
96
+ communication on electronic mailing lists, source code control systems,
97
+ and issue tracking systems that are managed by, or on behalf of, the
98
+ Licensor for the purpose of discussing and improving the Work, but
99
+ excluding communication that is conspicuously marked or otherwise
100
+ designated in writing by the copyright owner as "Not a Contribution."
101
+
102
+ "Contributor" shall mean Licensor and any individual or Legal Entity
103
+ on behalf of whom a Contribution has been received by Licensor and
104
+ subsequently incorporated within the Work.
105
+
106
+ 2. Grant of Copyright License. Subject to the terms and conditions of
107
+ this License, each Contributor hereby grants to You a perpetual,
108
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
109
+ copyright license to reproduce, prepare Derivative Works of,
110
+ publicly display, publicly perform, sublicense, and distribute the
111
+ Work and such Derivative Works in Source or Object form.
112
+
113
+ 3. Grant of Patent License. Subject to the terms and conditions of
114
+ this License, each Contributor hereby grants to You a perpetual,
115
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
116
+ (except as stated in this section) patent license to make, have made,
117
+ use, offer to sell, sell, import, and otherwise transfer the Work,
118
+ where such license applies only to those patent claims licensable
119
+ by such Contributor that are necessarily infringed by their
120
+ Contribution(s) alone or by combination of their Contribution(s)
121
+ with the Work to which such Contribution(s) was submitted. If You
122
+ institute patent litigation against any entity (including a
123
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
124
+ or a Contribution incorporated within the Work constitutes direct
125
+ or contributory patent infringement, then any patent licenses
126
+ granted to You under this License for that Work shall terminate
127
+ as of the date such litigation is filed.
128
+
129
+ 4. Redistribution. You may reproduce and distribute copies of the
130
+ Work or Derivative Works thereof in any medium, with or without
131
+ modifications, and in Source or Object form, provided that You
132
+ meet the following conditions:
133
+
134
+ (a) You must give any other recipients of the Work or
135
+ Derivative Works a copy of this License; and
136
+
137
+ (b) You must cause any modified files to carry prominent notices
138
+ stating that You changed the files; and
139
+
140
+ (c) You must retain, in the Source form of any Derivative Works
141
+ that You distribute, all copyright, patent, trademark, and
142
+ attribution notices from the Source form of the Work,
143
+ excluding those notices that do not pertain to any part of
144
+ the Derivative Works; and
145
+
146
+ (d) If the Work includes a "NOTICE" text file as part of its
147
+ distribution, then any Derivative Works that You distribute must
148
+ include a readable copy of the attribution notices contained
149
+ within such NOTICE file, excluding those notices that do not
150
+ pertain to any part of the Derivative Works, in at least one
151
+ of the following places: within a NOTICE text file distributed
152
+ as part of the Derivative Works; within the Source form or
153
+ documentation, if provided along with the Derivative Works; or,
154
+ within a display generated by the Derivative Works, if and
155
+ wherever such third-party notices normally appear. The contents
156
+ of the NOTICE file are for informational purposes only and
157
+ do not modify the License. You may add Your own attribution
158
+ notices within Derivative Works that You distribute, alongside
159
+ or as an addendum to the NOTICE text from the Work, provided
160
+ that such additional attribution notices cannot be construed
161
+ as modifying the License.
162
+
163
+ You may add Your own copyright statement to Your modifications and
164
+ may provide additional or different license terms and conditions
165
+ for use, reproduction, or distribution of Your modifications, or
166
+ for any such Derivative Works as a whole, provided Your use,
167
+ reproduction, and distribution of the Work otherwise complies with
168
+ the conditions stated in this License.
169
+
170
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
171
+ any Contribution intentionally submitted for inclusion in the Work
172
+ by You to the Licensor shall be under the terms and conditions of
173
+ this License, without any additional terms or conditions.
174
+ Notwithstanding the above, nothing herein shall supersede or modify
175
+ the terms of any separate license agreement you may have executed
176
+ with Licensor regarding such Contributions.
177
+
178
+ 6. Trademarks. This License does not grant permission to use the trade
179
+ names, trademarks, service marks, or product names of the Licensor,
180
+ except as required for reasonable and customary use in describing the
181
+ origin of the Work and reproducing the content of the NOTICE file.
182
+
183
+ 7. Disclaimer of Warranty. Unless required by applicable law or
184
+ agreed to in writing, Licensor provides the Work (and each
185
+ Contributor provides its Contributions) on an "AS IS" BASIS,
186
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
187
+ implied, including, without limitation, any warranties or conditions
188
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
189
+ PARTICULAR PURPOSE. You are solely responsible for determining the
190
+ appropriateness of using or redistributing the Work and assume any
191
+ risks associated with Your exercise of permissions under this License.
192
+
193
+ 8. Limitation of Liability. In no event and under no legal theory,
194
+ whether in tort (including negligence), contract, or otherwise,
195
+ unless required by applicable law (such as deliberate and grossly
196
+ negligent acts) or agreed to in writing, shall any Contributor be
197
+ liable to You for damages, including any direct, indirect, special,
198
+ incidental, or consequential damages of any character arising as a
199
+ result of this License or out of the use or inability to use the
200
+ Work (including but not limited to damages for loss of goodwill,
201
+ work stoppage, computer failure or malfunction, or any and all
202
+ other commercial damages or losses), even if such Contributor
203
+ has been advised of the possibility of such damages.
204
+
205
+ 9. Accepting Warranty or Additional Liability. While redistributing
206
+ the Work or Derivative Works thereof, You may choose to offer,
207
+ and charge a fee for, acceptance of support, warranty, indemnity,
208
+ or other liability obligations and/or rights consistent with this
209
+ License. However, in accepting such obligations, You may act only
210
+ on Your own behalf and on Your sole responsibility, not on behalf
211
+ of any other Contributor, and only if You agree to indemnify,
212
+ defend, and hold each Contributor harmless for any liability
213
+ incurred by, or claims asserted against, such Contributor by reason
214
+ of your accepting any such warranty or additional liability.
215
+
216
+ END OF TERMS AND CONDITIONS
217
+
218
+ APPENDIX: How to apply the Apache License to your work.
219
+
220
+ To apply the Apache License to your work, attach the following
221
+ boilerplate notice, with the fields enclosed by brackets "[]"
222
+ replaced with your own identifying information. (Don't include
223
+ the brackets!) The text should be enclosed in the appropriate
224
+ comment syntax for the file format. We also recommend that a
225
+ file or class name and description of purpose be included on the
226
+ same "printed page" as the copyright notice for easier
227
+ identification within third-party archives.
228
+
229
+ Copyright [yyyy] [name of copyright owner]
230
+
231
+ Licensed under the Apache License, Version 2.0 (the "License");
232
+ you may not use this file except in compliance with the License.
233
+ You may obtain a copy of the License at
234
+
235
+ http://www.apache.org/licenses/LICENSE-2.0
236
+
237
+ Unless required by applicable law or agreed to in writing, software
238
+ distributed under the License is distributed on an "AS IS" BASIS,
239
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
240
+ See the License for the specific language governing permissions and
241
+ limitations under the License.
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{gridAlt as d}from"./grids.js";import{treeAlt as $}from"./trees.js";import{areMonths as m,formatDate as g,formatNumber as h}from"./format.js";import{deltaWay as S}from"./resolve.js";import{ganttAlt as b,sankeyAlt as k}from"./flow-table.js";const u={en:{target:"target",step:(e,t)=>`step ${String(e)} of ${String(t)}`,today:"today",done:"done",current:"now",planned:"planned",risk:"at risk",late:"late",up:"up",down:"down",colon:": ",sep:"; "},zh:{target:"目标",step:(e,t)=>`第 ${String(e)} 步,共 ${String(t)} 步`,today:"今天",done:"已完成",current:"进行中",planned:"计划中",risk:"有风险",late:"延误",up:"上升",down:"下降",colon:":",sep:";"},"zh-hant":{target:"目標",step:(e,t)=>`第 ${String(e)} 步,共 ${String(t)} 步`,today:"今天",done:"已完成",current:"進行中",planned:"計劃中",risk:"有風險",late:"延誤",up:"上升",down:"下降",colon:":",sep:";"},ja:{target:"目標",step:(e,t)=>`${String(t)} ステップ中 ${String(e)}`,today:"今日",done:"完了",current:"進行中",planned:"予定",risk:"リスクあり",late:"遅延",up:"上昇",down:"下降",colon:":",sep:";"},ko:{target:"목표",step:(e,t)=>`${String(t)}단계 중 ${String(e)}단계`,today:"오늘",done:"완료",current:"진행 중",planned:"예정",risk:"위험",late:"지연",up:"상승",down:"하락",colon:": ",sep:"; "},es:{target:"objetivo",step:(e,t)=>`paso ${String(e)} de ${String(t)}`,today:"hoy",done:"hecho",current:"en curso",planned:"previsto",risk:"en riesgo",late:"con retraso",up:"sube",down:"baja",colon:": ",sep:"; "},pt:{target:"meta",step:(e,t)=>`passo ${String(e)} de ${String(t)}`,today:"hoje",done:"concluído",current:"em curso",planned:"previsto",risk:"em risco",late:"atrasado",up:"sobe",down:"desce",colon:": ",sep:"; "},de:{target:"Ziel",step:(e,t)=>`Schritt ${String(e)} von ${String(t)}`,today:"heute",done:"erledigt",current:"läuft",planned:"geplant",risk:"gefährdet",late:"verspätet",up:"steigt",down:"fällt",colon:": ",sep:"; "},fr:{target:"objectif",step:(e,t)=>`étape ${String(e)} sur ${String(t)}`,today:"aujourd’hui",done:"terminé",current:"en cours",planned:"prévu",risk:"à risque",late:"en retard",up:"en hausse",down:"en baisse",colon:" : ",sep:" ; "}},p=u.en??{target:"target",step:(e,t)=>`step ${String(e)} of ${String(t)}`,today:"today",done:"done",current:"now",planned:"planned",risk:"at risk",late:"late",up:"up",down:"down",colon:": ",sep:"; "};function w(e){const t=(e??"en").toLowerCase();return t.startsWith("zh")?(/hant|tw|hk|mo/u.test(t)?u["zh-hant"]:u.zh)??p:u[t.split("-")[0]??"en"]??p}const s=(e,t)=>e.auto===!0&&e.number!==void 0?h(e.number,t):e.text,a=e=>e.replace(/\*\*([^*]+)\*\*|\*([^*]+)\*/gu,"$1$2").replace(/\s+/gu," ").trim();function c(e,t,r){const n=[s(e.value,r)];if(e.delta!==void 0){const o=S(e.delta);n.push(`${o==="up"?"▲":o==="down"?"▼":""} ${s(e.delta,r).replace(/^[+↑▲\-−–↓▼]\s*/u,"")}`.trim())}return e.target!==void 0&&n.push(`${t.target} ${s(e.target,r)}`),e.note!==void 0&&n.push(a(e.note)),`${a(e.label)}${t.colon}${n.join(", ")}`}const j=(e,t)=>e==="done"?t.done:e==="current"?t.current:e==="planned"?t.planned:e==="warning"?t.risk:e==="bad"?t.late:void 0;export function blockAlt(e,t){if(e.alt!==void 0)return e.alt;const r=w(t);switch(e.kind){case"sankey":return k(e,r.sep,t);case"gantt":return b(e,r.colon,r.sep,t);case"stat":return c(e,r,t);case"stats":return e.items.map(n=>c(n,r,t)).join(r.sep);case"tag":return a(e.text);case"card":return[e.eyebrow,e.value===void 0?void 0:`${s(e.value,t)}${e.caption===void 0?"":" "+e.caption}`,e.title,e.subtitle,e.tag?.text,e.body,...(e.lines??[]).map(n=>n.label===void 0?n.text:`${n.label}${r.colon}${n.text}`)].filter(n=>n!==void 0).map(a).join(r.sep);case"risk_matrix":return[[e.y,e.x].filter(n=>n!==void 0).join(" × "),...e.items.map(n=>`${n.label}${r.colon}${e.rows[n.row]??""}, ${e.columns[n.column]??""}`)].filter(n=>n!=="").map(a).join(r.sep);case"callout":return[e.title,e.text].filter(n=>n!==void 0).map(a).join(r.colon);case"icon":return e.name.replace(/-/gu," ");case"progress":return`${e.label===void 0?"":a(e.label)+r.colon}${e.figure===void 0?e.shown:s(e.figure,t)}${e.of===void 0?"":` / ${s(e.of,t)}`}${e.note===void 0?"":" "+a(e.note)}${e.target===void 0?"":`, ${r.target} ${String(Math.round(e.target*100))}%`}`;case"timeline":{const n=m(e.items.map(o=>o.date));return e.items.map(o=>{const i=j(o.state,r);return`${o.date===void 0?"":g(o.date,t,n)+" "}${a(o.title)}${i===void 0?"":` (${i})`}`}).join(r.sep)}case"steps":{const n=e.items.map((o,i)=>`${String(i+1)}. ${a(o.title)}`).join(r.sep);return e.current===void 0?n:`${n} (${r.step(e.current,e.items.length)})`}case"person":return[e.name,e.role,e.note].filter(n=>n!==void 0).map(a).join(", ");case"people":return e.items.map(n=>[n.name,n.role].filter(o=>o!==void 0).map(a).join(", ")).join(r.sep);case"table":return`${e.columns.map(o=>o.title??o.name).join(", ")} (${String(e.rows.length)} × ${String(e.columns.length)})`;case"org_chart":case"issue_tree":case"decision_tree":case"fishbone":return $(e);case"matrix":case"marimekko":case"heatmap":case"small_multiples":return d(e,t);case"chart":{const n=e.chart,o=n.series.map(i=>`${i.name}${r.colon}${i.values.map(l=>l===null?"–":String(l)).join(", ")}`).join(r.sep);return`${n.title===void 0?"":a(n.title)+r.colon}${n.categories.join(", ")}${r.sep}${o}`}}}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{THEMES as y,csvRows as P,readBlock as I,shownPath as C}from"@allyhub/formats";import{isRound as F}from"@allyhub/chart";import{BLOCK_ELEMENTS as O,PAGE_DATA_ID as K,elementBlock as U,isListItem as q,namedAddresses as J}from"./page.js";import{CSS_ROLES as z,cssPalette as G}from"./palette.js";import{blockAlt as V}from"./alt.js";import{BLOCK_HTML_CSS as W,blockHtml as Q}from"./html.js";import{blockLayout as X,plotHeight as Y}from"./layout.js";import{roughMeasure as Z}from"./measure.js";import{drawingSvg as tt}from"./svg.js";import{addressParts as A,blockOf as et,readAddress as N}from"./resolve.js";export{BLOCK_ELEMENTS}from"./page.js";const T=t=>({tag:t.localName,attributes:Object.fromEntries(Array.from(t.attributes).map(e=>[e.name,e.value])),children:Array.from(t.children).map(T),text:t.textContent});function nt(t,e){if(/\.csv$/iu.test(t)){const[n,...o]=P(e);return n?o.map(r=>Object.fromEntries(n.map((a,c)=>{const l=(r[c]??"").trim(),h=Number(l);return[a.trim(),l!==""&&Number.isFinite(h)?h:l]}))):[]}return JSON.parse(e)}const B=new Map;function H(t){const e=new URL(t,document.baseURI).href;let n=B.get(e);return n===void 0&&(n=fetch(e).then(async o=>{if(!o.ok)throw new Error(`${t}: ${String(o.status)}`);return nt(t,await o.text())}),B.set(e,n)),n}let g;function R(){if(g!==void 0)return g;const t=document.getElementById(K);try{g=t===null?{}:JSON.parse(t.textContent)}catch(e){if(!(e instanceof SyntaxError))throw e;g={}}return g}async function ot(t,e={}){const n=R();if(A(t).some(r=>r in n))return N(t,r=>e.shown===!0?n[C(r)]??n[r]:n[r]);const[o=t]=t.split("#");if(/\.(?:csv|json)$/iu.test(o)){const r=await H(o);return o===t?r:N(t,()=>r)}throw new Error(`${t} is not among the data this page was served with: name it in a block element or in allyhubData("…") in the page's own file; allyhub check says what it cannot read.`)}const it=()=>{const t=document.documentElement.dataset.theme;return(t!==void 0&&t in y?y[t]:y.blue).colors},st=t=>{const e=getComputedStyle(t),n={};for(const o of Object.values(z))n[o]=e.getPropertyValue(`--${o}`);return n};let j;function rt(t){const e=getComputedStyle(t).fontFamily||"sans-serif";j??=document.createElement("canvas").getContext("2d");const n=j;return n===null?Z:(o,r,a)=>(n.font=`${String(a)} ${String(r)}px ${e}`,n.measureText(o).width)}const k=new Set;let D=!1;function at(){if(D)return;D=!0;const t=()=>{for(const e of k)e.draw()};document.fonts.addEventListener("loadingdone",t),new MutationObserver(t).observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme","class","style"]}),matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t)}export const ROUND_CHART={width:560,aspect:.6},chartHeight=t=>Math.round(Y(t*.75)/.75);let lt=0;function ct(){return class extends HTMLElement{observer;changes;drawn="";overflow=[];key=`ah${String(lt++)}`;connectedCallback(){if(q(this.localName,this.parentElement?.localName)){this.style.display="none";return}if(this.shadowRoot===null){const e=this.attachShadow({mode:"open"}),n=O[this.localName];e.innerHTML=n==="tag"||n==="icon"?"<style>:host{display:inline-block}</style>":"<style>:host{display:block;margin:0 0 var(--block-gap,24px)}</style>"}this.observer=new ResizeObserver(()=>{this.draw()}),this.observer.observe(this),this.changes=new MutationObserver(()=>{this.draw()}),this.changes.observe(this,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),k.add(this),at(),this.draw()}disconnectedCallback(){this.observer?.disconnect(),this.changes?.disconnect(),k.delete(this)}async draw(){if(document.readyState==="loading")return;const e=this.shadowRoot,n=U(T(this));if(n===void 0||e===null)return;const{kind:o,fields:r}=n,a=o==="tag"||o==="icon",c=a?600:this.clientWidth;if(c<=0)return;const l=R(),h=new Map;for(const i of J(r)){if(A(i).some(f=>f in l))continue;const[s=i]=i.split("#");if(/\.(?:csv|json)$/iu.test(s))try{h.set(s,await H(s))}catch(f){if(!(f instanceof Error))throw f;this.problem(f.message);return}}const v=I(o,r),b=v.problems.map(i=>i.message),d=v.block===void 0?void 0:et(v.block,{data:i=>i in l?l[i]:h.get(i),shown:i=>l[C(i)],problem:i=>b.push(i)});if(b.length>0&&console.warn(`<${this.localName}>: ${b.join(" ")}`),d===void 0){this.problem(b.join(" "));return}const u=this.getAttribute("height"),m=document.documentElement.lang===""?void 0:document.documentElement.lang,E=G(it(),st(this)),S=Q(d,{pal:E,...m===void 0?{}:{lang:m}});if(S!==void 0){const i=(a?":host{display:inline-block;margin:0;vertical-align:baseline}":"")+(u===null?"":`:host{height:${String(Number(u))}px}`),s=`<style>${W}${i}</style>${S}`;if(s===this.drawn)return;this.drawn=s,e.innerHTML=s;return}const x=d.kind==="chart"&&F(d.chart.type),w=x?Math.min(c,ROUND_CHART.width):c,_=u!==null?{height:Number(u)*.75}:o==="chart"?{height:(x?Math.round(w*ROUND_CHART.aspect):chartHeight(c))*.75}:{};await document.fonts.ready;const $=rt(this),M=X(d,{width:w*.75,..._},{flow:u===null,measure:$,...m===void 0?{}:{lang:m}}),p=tt(M,E,{measure:$,id:this.key,label:V(d,m)});if(p===this.drawn)return;this.drawn=p,this.overflow=M.overflow,e.innerHTML=a?`<style>:host{display:inline-block;vertical-align:middle;line-height:0}svg{display:block;overflow:visible}</style>${p}`:`<style>:host{display:block;margin:0 0 var(--block-gap,24px)}svg{display:block;width:100%;${w<c?`max-width:${String(w)}px;`:""}height:auto;overflow:visible}</style>${p}`;const L=e.querySelector("svg");if(L!==null&&this.overflow.length>0&&L.setAttribute("data-overflow",this.overflow.join(" ")),a){const i=e.querySelector("svg"),s=i?.getBBox();i&&s&&s.width>0&&(i.setAttribute("viewBox",`${String(s.x)} ${String(s.y)} ${String(s.width)} ${String(s.height)}`),i.setAttribute("width",String(s.width*(4/3))),i.setAttribute("height",String(s.height*(4/3))))}}problem(e){const n=this.shadowRoot;if(n===null)return;this.drawn="",n.innerHTML='<div style="border:1px dashed #d6d1c6;border-radius:6px;padding:8px 12px;color:#847f72;font:12px sans-serif"></div>';const o=n.firstElementChild;o&&(o.textContent=`<${this.localName}> ${e}`)}}}export function defineBlockElements(t=customElements){const e=ct();for(const o of[...Object.keys(O),"allyhub-milestone","allyhub-step"])t.get(o)===void 0&&t.define(o,class extends e{});const n=globalThis;n.allyhubData??=ot}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{toneOf as O}from"@allyhub/formats";const k=t=>typeof t=="string"?t:typeof t=="number"&&Number.isFinite(t)?String(t):void 0,C=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],b=(t,n,s)=>Date.UTC(t,n,s)/864e5,S=-25569;export function dateOf(t){if(typeof t=="number"&&Number.isFinite(t)){if(t<1||t>2958465)return;const d=Math.floor(t)+S;return{day:d,after:d+1}}if(t instanceof Date&&!Number.isNaN(t.getTime())){const d=b(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate());return{day:d,after:d+1}}if(typeof t!="string")return;const n=t.trim();if(n==="")return;if(/^\d+(?:\.\d+)?$/u.test(n)&&Number(n)>9999)return dateOf(Number(n));let s=/^(\d{4})[-/.](\d{1,2})(?:[-/.](\d{1,2}))?(?:[T\s].*)?$/u.exec(n);if(s){const d=Number(s[1]),c=Number(s[2])-1;if(s[3]===void 0)return{day:b(d,c,1),after:b(d,c+1,1)};const g=b(d,c,Number(s[3]));return{day:g,after:g+1}}if(s=/^q([1-4])\s*[-/ ]?\s*(\d{4})$/iu.exec(n)??/^(\d{4})\s*[-/ ]?\s*q([1-4])$/iu.exec(n),s){const[d,c]=/^q/iu.test(n)?[Number(s[1]),Number(s[2])]:[Number(s[2]),Number(s[1])];return{day:b(c,(d-1)*3,1),after:b(c,d*3,1)}}if(s=/^([a-z]{3})[a-z]*\.?\s+(\d{4})$/iu.exec(n),s){const d=C.indexOf((s[1]??"").toLowerCase());if(d>=0){const c=Number(s[2]);return{day:b(c,d,1),after:b(c,d+1,1)}}}const i=Date.parse(n);if(Number.isNaN(i))return;const p=new Date(i),y=i%864e5===0?Math.floor(i/864e5):b(p.getFullYear(),p.getMonth(),p.getDate());return{day:y,after:y+1}}export function isoOf(t){return new Date(t*864e5).toISOString().slice(0,10)}function _(t,n){if(typeof n=="number"&&Number.isFinite(n)&&n>=0)return t+n;if(typeof n!="string")return;const s=/^(\d+(?:\.\d+)?)\s*(d|days?|w|wks?|weeks?|m|mos?|months?|q|qtrs?|quarters?|y|yrs?|years?)?$/iu.exec(n.trim());if(!s)return;const i=Number(s[1]),p=(s[2]??"d").toLowerCase().charAt(0);if(p==="d")return t+i;if(p==="w")return t+7*i;const y=p==="m"?i:p==="q"?3*i:12*i,d=new Date(t*864e5),c=Math.floor(y);return b(d.getUTCFullYear(),d.getUTCMonth()+c,d.getUTCDate())+Math.round((y-c)*30)}function M(t){if(t===!0)return 1;if(typeof t=="number"&&Number.isFinite(t))return Math.max(0,Math.min(1,t>1?t/100:t));if(typeof t!="string")return;const n=t.trim(),s=/^(-?\d+(?:\.\d+)?)\s*(%)?$/u.exec(n);if(!s)return;const i=Number(s[1]);return M(s[2]==="%"?i/100:i)}export function sankeyOf(t,n){const s=[],i=new Map,p=(e,a,o)=>{const f=e.trim().toLowerCase(),m=i.get(f);if(m!==void 0)return m;const l=s.length,N=n.words(["nodes",l,"label"],a??e)??e;return s.push({name:e.trim(),label:N,...o===void 0?{}:{color:o}}),i.set(f,l),l},y=Array.isArray(t.nodes)?t.nodes:[];for(const e of y)e.name!==void 0&&p(e.name,e.label,e.color);const{list:d}=n.items("link"),c=[];d.forEach((e,a)=>{const o=k(e.source),f=k(e.target),m=typeof e.value=="number"?e.value:Number(e.value);if(o===void 0||f===void 0){n.problem("a flow has a source and a target.",["items",a]);return}if(!Number.isFinite(m)||m<=0){n.problem(`a flow's value is a number over 0, not ${JSON.stringify(e.value)}.`,["items",a,"value"]);return}const l=p(o),N=p(f);if(l===N){n.problem(`${o} flows to itself: a flow goes to another node.`,["items",a]);return}const w=k(e.color);c.push({source:l,target:N,value:m,...w===void 0?{}:{color:w}})});const g=[],h=s.map(()=>[]),$=(e,a)=>{const o=new Set,f=[e];for(;f.length>0;){const m=f.pop()??0;if(m===a)return!0;o.has(m)||(o.add(m),f.push(...h[m]??[]))}return!1};for(const e of c){if($(e.target,e.source)){n.problem(`${s[e.source]?.name??""} → ${s[e.target]?.name??""} makes a loop: a Sankey's flows run one way, left to right.`,["items"]);continue}h[e.source]?.push(e.target),g.push(e)}g.length===0&&n.problem("a Sankey has flows: source, target, value.",[]);const r=k(t.format),u=t.align??"justify";return{kind:"sankey",nodes:s,links:g,values:t.values!==!1,align:u,...r===void 0?{}:{format:r},...n.alt()}}export function ganttOf(t,n){const{list:s}=n.items("task"),i=[];s.forEach((r,u)=>{const e=n.words(["items",u,"name"],r.name);if(e===void 0){n.problem("a task has a name.",["items",u]);return}const a=k(r.id),o=n.words(["items",u,"group"],r.group),f=M(r.progress);r.progress!==void 0&&f===void 0&&n.problem(`progress is a share (60%, 0.6), not ${JSON.stringify(r.progress)}.`,["items",u,"progress"]);const m=r.status,l=k(r.color);i.push({t:{name:e,depends:[],milestone:r.milestone===!0,...a===void 0?{}:{id:a},...o===void 0?{}:{group:o},...f===void 0?{}:{progress:f},...m===void 0||O(m)===void 0?{}:{status:m},...l===void 0?{}:{color:l}},raw:r,at:u,after:Array.isArray(r.depends)?r.depends.map(String):[]})});const p=r=>{const u=r.trim().toLowerCase(),e=i.findIndex(o=>o.t.id?.toLowerCase()===u);if(e>=0)return e;const a=i.findIndex(o=>o.t.name.toLowerCase()===u);return a>=0?a:void 0};for(const[r,u]of i.entries())for(const e of u.after){const a=p(e);a===void 0||a===r?n.problem(`${e} is no other task: depends names a task by its id or its name (${i.map(o=>o.t.id??o.t.name).join(", ")}).`,["items",u.at,"depends"]):u.t.depends.push(a)}const y=new Set;for(let r=0;r<=i.length;r++)for(const[u,e]of i.entries()){if(y.has(u))continue;const{raw:a}=e;let o=dateOf(a.start);if(a.start!==void 0&&o===void 0){n.problem(`start is a date (2026-03-02, Q1 2027, Mar 2027), not ${JSON.stringify(a.start)}.`,["items",e.at,"start"]),y.add(u);continue}if(o===void 0&&e.t.depends.length>0){if(!e.t.depends.every(x=>y.has(x)&&i[x]?.t.end!==void 0))continue;const w=Math.max(...e.t.depends.map(x=>i[x]?.t.end??0));o={day:w,after:w+1}}const f=dateOf(a.end);a.end!==void 0&&f===void 0&&n.problem(`end is a date (2026-03-02, Q1 2027, Mar 2027), not ${JSON.stringify(a.end)}.`,["items",e.at,"end"]);const m=o===void 0&&f!==void 0;if(o===void 0&&f!==void 0&&(o={day:f.day,after:f.after}),o===void 0){(r===i.length||e.t.depends.length===0)&&(n.problem("a task has a start (or depends on a task before it), and an end or a duration.",["items",e.at]),y.add(u));continue}let l;a.duration!==void 0&&(l=_(o.day,a.duration),l===void 0&&n.problem(`duration is days (5), or 5d, 2w, 3 months; not ${JSON.stringify(a.duration)}.`,["items",e.at,"duration"])),l===void 0&&f!==void 0&&!m&&(l=f.after);const N=e.t.milestone===!0||l===void 0||l<=o.day;e.t.start=o.day,e.t.end=N?o.day:Math.max(l??o.day,o.day),e.t.milestone=N,y.add(u)}const d=[],c=new Map;for(const[r,u]of i.entries())u.t.start!==void 0&&u.t.end!==void 0&&(c.set(r,d.length),d.push(u.t));for(const r of d)r.depends=r.depends.flatMap(u=>{const e=c.get(u);return e===void 0?[]:[e]});d.length===0&&n.problem("a Gantt has tasks: name, start, and an end or a duration.",[]);const g=[];for(const r of d)r.group!==void 0&&!g.includes(r.group)&&g.push(r.group);const h=dateOf(t.today);t.today!==void 0&&h===void 0&&n.problem(`today is a date (2026-11-24), not ${JSON.stringify(t.today)}.`,["today"]);const $=t.scale;return{kind:"gantt",tasks:d,groups:g,...h===void 0?{}:{today:h.day},...$===void 0?{}:{scale:$},...n.alt()}}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{formatValue as y}from"@allyhub/chart";import{formatDate as l,formatNumber as $}from"./format.js";import{isoOf as i}from"./flow-resolve.js";const c={source:"From",target:"To",value:"Value",task:"Task",lane:"Lane",start:"Start",end:"End",progress:"Progress",after:"After",today:"today"},g={en:c,zh:{source:"来源",target:"去向",value:"数值",task:"任务",lane:"分组",start:"开始",end:"结束",progress:"进度",after:"前置任务",today:"今天"},"zh-hant":{source:"來源",target:"去向",value:"數值",task:"任務",lane:"分組",start:"開始",end:"結束",progress:"進度",after:"前置任務",today:"今天"},ja:{source:"流出元",target:"流入先",value:"値",task:"タスク",lane:"グループ",start:"開始",end:"終了",progress:"進捗",after:"先行タスク",today:"今日"},ko:{source:"출발",target:"도착",value:"값",task:"작업",lane:"그룹",start:"시작",end:"종료",progress:"진행률",after:"선행 작업",today:"오늘"},es:{source:"Origen",target:"Destino",value:"Valor",task:"Tarea",lane:"Grupo",start:"Inicio",end:"Fin",progress:"Progreso",after:"Después de",today:"hoy"},pt:{source:"Origem",target:"Destino",value:"Valor",task:"Tarefa",lane:"Grupo",start:"Início",end:"Fim",progress:"Progresso",after:"Depois de",today:"hoje"},de:{source:"Von",target:"Nach",value:"Wert",task:"Aufgabe",lane:"Gruppe",start:"Beginn",end:"Ende",progress:"Fortschritt",after:"Nach Vorgänger",today:"heute"},fr:{source:"De",target:"Vers",value:"Valeur",task:"Tâche",lane:"Groupe",start:"Début",end:"Fin",progress:"Avancement",after:"Après",today:"aujourd’hui"}};function d(e){const r=(e??"en").toLowerCase();return r.startsWith("zh")?(/hant|tw|hk|mo/u.test(r)?g["zh-hant"]:g.zh)??c:g[r.split("-")[0]??"en"]??c}const m=(e,r,a)=>e.format===void 0?$(r,a):y(r,e.format),f=e=>e.milestone?e.start:Math.max(e.start,e.end-1);export function blockDataTable(e,r){const a=d(r);if(e.kind==="sankey")return{columns:[a.source,a.target,a.value],numeric:[!1,!1,!0],rows:e.links.map(t=>[e.nodes[t.source]?.label??"",e.nodes[t.target]?.label??"",m(e,t.value,r)])};if(e.kind==="gantt"){const t=e.groups.length>0,u=e.tasks.some(s=>s.progress!==void 0),n=e.tasks.some(s=>s.depends.length>0);return{columns:[a.task,...t?[a.lane]:[],a.start,a.end,...u?[a.progress]:[],...n?[a.after]:[]],numeric:[!1,...t?[!1]:[],!1,!1,...u?[!0]:[],...n?[!1]:[]],rows:e.tasks.map(s=>[s.name,...t?[s.group??""]:[],l(i(s.start),r),l(i(f(s)),r),...u?[s.progress===void 0?"":`${String(Math.round(s.progress*100))}%`]:[],...n?[s.depends.map(p=>e.tasks[p]?.name??"").join(", ")]:[]])}}}export function sankeyAlt(e,r,a){return e.links.map(t=>`${e.nodes[t.source]?.label??""} → ${e.nodes[t.target]?.label??""} ${m(e,t.value,a)}`).join(r)}export function ganttAlt(e,r,a,t){const u=d(t),n=o=>`${o.name} ${l(i(o.start),t)}${o.milestone?"":` – ${l(i(f(o)),t)}`}${o.progress===void 0?"":` (${String(Math.round(o.progress*100))}%)`}`,s=e.tasks.filter(o=>o.group===void 0).map(n),p=e.groups.map(o=>`${o}${r}${e.tasks.filter(h=>h.group===o).map(n).join(", ")}`),k=e.today===void 0?[]:[`${u.today} ${l(i(e.today),t)}`];return[...s,...p,...k].join(a)}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export function formatNumber(t,e){return new Intl.NumberFormat(e??"en",{maximumFractionDigits:3}).format(t)}const m=/^(\d{4})-(\d{2})(?:-(\d{2}))?$/u;export const isIsoDate=t=>m.test(t.trim());export function formatDate(t,e,n=!1){const r=m.exec(t.trim());if(!r)return t;const i=n||r[3]===void 0,o=new Date(Date.UTC(Number(r[1]),Number(r[2])-1,Number(r[3]??"1")));if(Number.isNaN(o.getTime()))return t;if(e===void 0||/^en\b/iu.test(e)){const u=new Intl.DateTimeFormat("en-US",{month:"short",timeZone:"UTC"}).format(o);return i?`${u} ${String(o.getUTCFullYear())}`:`${String(o.getUTCDate())} ${u} ${String(o.getUTCFullYear())}`}return new Intl.DateTimeFormat(e,{...i?{}:{day:"numeric"},month:"short",year:"numeric",timeZone:"UTC"}).format(o)}export function areMonths(t){const e=t.filter(n=>n!==void 0&&isIsoDate(n));return e.length>0&&e.every(n=>(m.exec(n.trim())?.[3]??"01")==="01")}export function formatDay(t,e){const n=m.exec(t.trim());if(n?.[3]===void 0)return formatDate(t,e);const r=new Date(Date.UTC(Number(n[1]),Number(n[2])-1,Number(n[3])));return Number.isNaN(r.getTime())?t:e===void 0||/^en\b/iu.test(e)?`${String(r.getUTCDate())} ${new Intl.DateTimeFormat("en-US",{month:"short",timeZone:"UTC"}).format(r)}`:new Intl.DateTimeFormat(e,{day:"numeric",month:"short",timeZone:"UTC"}).format(r)}export function formatMonth(t,e,n=!1){const r=new Date(t*864e5);return new Intl.DateTimeFormat(e===void 0||/^en\b/iu.test(e)?"en-US":e,{month:"short",...n?{year:"numeric"}:{},timeZone:"UTC"}).format(r)}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{TYPE_STEPS as st}from"@allyhub/formats";import{formatDate as A}from"./format.js";import{isoOf as B}from"./flow-resolve.js";import{add as p,LINE as G,textMark as q}from"./layout.js";const Q=864e5,dt=t=>{const e=new Date(t*Q);return{y:e.getUTCFullYear(),m:e.getUTCMonth(),d:e.getUTCDate(),w:e.getUTCDay()}},E=(t,e,c=1)=>Date.UTC(t,e,c)/Q;export function ganttScaleOf(t){return t<=31?"day":t<=120?"week":t<=760?"month":t<=2200?"quarter":"year"}function v(t,e){const c=dt(e);switch(t){case"day":return{start:Math.floor(e),end:Math.floor(e)+1};case"week":{const u=Math.floor(e)-(c.w+6)%7;return{start:u,end:u+7}}case"month":return{start:E(c.y,c.m),end:E(c.y,c.m+1)};case"quarter":{const u=Math.floor(c.m/3)*3;return{start:E(c.y,u),end:E(c.y,u+3)}}case"year":return{start:E(c.y,0),end:E(c.y+1,0)}}}function ft(t,e,c){const u=new Date(e*Q),s=c??"en";switch(t){case"day":return String(u.getUTCDate());case"week":return new Intl.DateTimeFormat(s==="en"?"en-GB":s,{day:"numeric",month:"short",timeZone:"UTC"}).format(u);case"month":return new Intl.DateTimeFormat(s,{month:"short",timeZone:"UTC"}).format(u);case"quarter":return`Q${String(Math.floor(u.getUTCMonth()/3)+1)}`;case"year":return String(u.getUTCFullYear())}}const rt={day:"month",week:"month",month:"year",quarter:"year",year:void 0};function it(t,e,c,u){const s=[];let m=v(t,e).start;for(;m<c&&s.length<2e3;){const h=v(t,m),y=t==="month"&&rt[t]===void 0?A(B(h.start).slice(0,7),u):ft(t,h.start,u);s.push({start:h.start,end:h.end,label:y}),m=h.end}return s}export function ganttSpan(t){const e=t.tasks.flatMap(m=>[m.start,m.end]);t.today!==void 0&&e.push(t.today);const c=e.length>0?Math.min(...e):E(2026,0),u=e.length>0?Math.max(...e,c+1):c+30,s=t.scale??ganttScaleOf(u-c);return{lo:v(s,c).start,hi:v(s,u-1e-6).end,scale:s}}export function ganttColor(t,e){if(e.color!==void 0)return e.color;if(e.status!==void 0&&e.status!=="neutral")return e.status;const c=e.group===void 0?0:t.groups.indexOf(e.group);return`accent${String(Math.max(0,c)%6+1)}`}function xt(t,e,c){const u=[],s=[...e].sort((m,h)=>(t.tasks[m]?.start??0)-(t.tasks[h]?.start??0)||m-h);for(const m of s){const h=c(m),y=u.find($=>$.to<=h.from);y?(y.tasks.push(m),y.to=h.to):u.push({tasks:[m],to:h.to})}return u.map(m=>m.tasks)}export function ganttLayout(t,e,c,u){const s=t.s,m=st.label*s,h=st.caption*s,y=8*s,{lo:$,hi:H,scale:J}=ganttSpan(e),P=rt[J],K=h*G+6*s,_=K*(P===void 0?1:2),ct=e.groups.length>0,C=[],V=e.tasks.flatMap((n,o)=>n.group===void 0?[o]:[]);V.length>0&&C.push({tasks:V});for(const n of e.groups)C.push({name:n,tasks:e.tasks.flatMap((o,a)=>o.group===n?[a]:[])});const X=C.flatMap((n,o)=>[...n.name===void 0?[]:[{lane:n.name,in:o,tasks:[]}],...n.tasks.map(a=>({in:o,tasks:[a]}))]),lt=m*1.7,tt=m*2.1,nt=e.today!==void 0&&e.today>=$&&e.today<=H,U=nt?h*G+4*s:0,S=u!==void 0&&X.length*lt>u-_-U,N=ct&&!S?10*s:0,et=Math.max(0,...S?C.map(n=>n.name===void 0?0:t.measure(n.name,m,700)):[...e.tasks.map(n=>t.measure(n.name,m,400)+N),...e.groups.map(n=>t.measure(n,m,700))]),I=et===0?0:Math.min(c*(S?.22:.34),et+y*1.5),L=I,k=c-4*s,D=(k-L)/Math.max(1,H-$),g=n=>L+(n-$)*D,mt=n=>{const o=e.tasks[n];if(!o)return{from:0,to:0};const a=t.measure(o.name,h,500)+y,l=o.milestone?m:0,r=o.start-(o.milestone?l/2/D:0),f=(o.end-o.start)*D,i=(!o.milestone&&f>=a+y?o.end:Math.max(o.end,o.start)+(a+l/2)/D)+y/D;return{from:r,to:i}},O=S?C.flatMap((n,o)=>xt(e,n.tasks,mt).map(a=>({in:o,tasks:a}))):X,W=O.map(n=>n.in),Y=u??_+O.length*tt+4*s+U,T=Math.max(6*s,Math.min(tt*1.4,(Y-_-U-4*s)/Math.max(1,O.length)));T<m*G&&t.overflow.push("rows");const M=_,Z=it(J,$,H,t.lang);Z.forEach((n,o)=>{o%2===1&&p(t,{type:"rect",part:`bands/${String(o)}`,x:g(n.start),y:M,w:g(n.end)-g(n.start),h:Y-M-U,r:0,fill:"stripe",line:"none",lineWidth:0})}),O.forEach((n,o)=>{if(o===0||W[o]===W[o-1])return;const a=M+o*T;p(t,{type:"line",part:`lanes/${String(W[o]??0)}`,x1:0,y1:a,x2:c,y2:a,color:"rule",width:.75*s,dash:!1})});const ut=P===void 0?[]:it(P,$,H,t.lang),at=n=>n*K+3*s;ut.forEach((n,o)=>{const a=Math.max(L,g(n.start)),l=Math.min(k,g(n.end));if(l-a<8*s)return;o>0&&p(t,{type:"line",part:`header/upper/${String(o)}/rule`,x1:g(n.start),y1:0,x2:g(n.start),y2:Y-U,color:"rule",width:.75*s,dash:!1});const r=P==="month"?A(B(n.start).slice(0,7),t.lang):n.label;if(t.measure(r,h,600)>l-a-6*s)return;const f=q(t,`header/upper/${String(o)}`,r,{x:a+4*s,y:at(0),w:l-a-6*s,size:h,weight:600,color:"muted",max:1});p(t,f.mark)});const ot=Math.max(1,...Z.map(n=>t.measure(n.label,h,400))),ht=Z.length>0?(k-L)/Z.length:k-L,R=Math.max(1,Math.ceil((ot+6*s)/ht));Z.forEach((n,o)=>{if(o%R!==0||R>1&&g(n.start)+2*s+t.measure(n.label,h,400)>k+.5)return;const a=q(t,`header/lower/${String(o)}`,n.label,{x:g(n.start),y:at(P===void 0?0:1),w:Math.max(ot,g(n.end)-g(n.start)),size:h,color:"muted",align:R===1?"center":"left",max:1,tabular:!0});R>1&&(a.mark.x+=2*s),p(t,a.mark)}),p(t,{type:"line",part:"header/rule",x1:0,y1:M,x2:c,y2:M,color:"rule-strong",width:.75*s,dash:!1}),I>0&&(S?C.forEach((n,o)=>{if(n.name===void 0)return;const a=W.flatMap((f,x)=>f===o?[x]:[]);if(a.length===0)return;const l=M+((a[0]??0)+a.length/2)*T,r=q(t,`lanes/${String(o)}/name`,n.name,{x:0,y:0,w:I-y,size:m,weight:700,color:"text",max:2});r.mark.y=l-r.height/2,p(t,r.mark)}):O.forEach((n,o)=>{const a=M+(o+.5)*T,l=n.lane,r=n.tasks[0],f=l??(r===void 0?"":e.tasks[r]?.name??""),x=q(t,l!==void 0?`lanes/${String(W[o]??0)}/name`:`tasks/${String(r??0)}/name`,f,{x:l!==void 0?0:N,y:0,w:I-y-(l!==void 0?0:N),size:m,weight:l!==void 0?700:400,color:l!==void 0?"text":"body",max:1});x.mark.y=a-x.height/2,p(t,x.mark)}));const F=new Map,z=Math.min(T*.58,m*1.5);if(O.forEach((n,o)=>{const a=M+(o+.5)*T;for(const l of n.tasks){const r=e.tasks[l];if(!r)continue;const f=ganttColor(e,r),x=`tasks/${String(l)}`;if(r.milestone){const i=Math.min(T*.66,z*1.15),d=g(r.start);p(t,{type:"path",part:`${x}/milestone`,x:d-i/2,y:a-i/2,w:i,h:i,segs:[["M",d,a-i/2],["L",d+i/2,a],["L",d,a+i/2],["L",d-i/2,a],["Z"]],fill:f,line:"none",lineWidth:0,preset:"diamond"}),F.set(l,{y:a,xa:d-i/2,xb:d+i/2})}else{const i=g(r.start),d=Math.max(2*s,(r.end-r.start)*D),w=Math.min(3*s,z/2,d/2),b=r.progress;p(t,{type:"rect",part:`${x}/bar`,x:i,y:a-z/2,w:d,h:z,r:w,fill:b===void 0?f:`${f}~32`,line:"none",lineWidth:0}),b!==void 0&&b>0&&p(t,{type:"rect",part:`${x}/progress`,x:i,y:a-z/2,w:Math.max(Math.min(d,2*w),d*b),h:z,r:w,fill:f,line:"none",lineWidth:0}),F.set(l,{y:a,xa:i,xb:i+d})}if(S||r.milestone){const i=F.get(l);if(!i)continue;const d=t.measure(r.name,h,500),w=!r.milestone&&i.xb-i.xa>=d+2*y,b=!w&&i.xb+4*s+d>k&&i.xa-4*s-d>=L,j=q(t,S?`${x}/name`:`${x}/label`,r.name,{x:w?i.xa+y*.75:b?i.xa-4*s-d-2:i.xb+4*s,y:0,w:w?i.xb-i.xa-y*1.5:b?d+2:Math.max(d+2,k-i.xb-4*s),size:h,weight:500,color:w?`on:${f}`:"text",align:b?"right":"left",max:1});j.mark.y=i.y-j.height/2,p(t,j.mark)}}}),e.tasks.forEach((n,o)=>{const a=F.get(o);if(a)for(const l of n.depends){const r=F.get(l);if(!r)continue;const f=5*s,x=a.xa-r.xb>=2*f?[["M",r.xb,r.y],["L",r.xb+f,r.y],["L",r.xb+f,a.y],["L",a.xa,a.y]]:[["M",r.xb,r.y],["L",r.xb+f,r.y],["L",r.xb+f,(r.y+a.y)/2],["L",a.xa-f,(r.y+a.y)/2],["L",a.xa-f,a.y],["L",a.xa,a.y]],i=x.flatMap(w=>w[0]==="Z"?[]:[w[1]]),d=x.flatMap(w=>w[0]==="Z"?[]:[w[2]]);p(t,{type:"path",part:`tasks/${String(o)}/depends/${String(l)}`,x:Math.min(...i),y:Math.min(...d),w:Math.max(...i)-Math.min(...i),h:Math.max(...d)-Math.min(...d),segs:x,fill:"none",line:"muted",lineWidth:1*s,arrow:!0})}}),e.today!==void 0&&nt){const n=g(e.today),o=Y-U;p(t,{type:"line",part:"today",x1:n,y1:M,x2:n,y2:o+2*s,color:"bad",width:1.25*s,dash:!0});const a=A(B(e.today),t.lang),l=t.measure(a,h,600)+2,r=q(t,"today/date",a,{x:Math.max(L,Math.min(k-l,n-l/2)),y:o+3*s,w:l,size:h,weight:600,color:"bad",max:1});p(t,r.mark)}return Y}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{chartTypeOf as X,TYPE_STEPS as k}from"@allyhub/formats";import{chartOfFile as Y,formatValue as I,isHorizontal as J}from"@allyhub/chart";import{formatNumber as R}from"./format.js";import{LINE as E,plotHeight as Q,textMark as Z}from"./layout.js";import{readAddress as ee}from"./resolve.js";const F=e=>Array.isArray(e)&&e.every(t=>typeof t=="object"&&t!==null&&!Array.isArray(t)),j=e=>{if(typeof e=="number"&&Number.isFinite(e))return e;if(typeof e=="string"&&e.trim()!==""){const t=Number(e.replace(/[,%$€£\s]/gu,""));return Number.isFinite(t)?t:null}return null},L=e=>typeof e=="string"?e:typeof e=="number"||typeof e=="boolean"?String(e):"",O=(e,t)=>e===void 0?void 0:t in e?t:Object.keys(e).find(i=>i.toLowerCase()===t.toLowerCase());function V(e,t){if(t.data===void 0){t.problem(`${e} cannot be read here.`,["data"]);return}const i=ee(e,t.data);if(F(i)&&i.length>0)return i;if(Array.isArray(i)&&i.every(Array.isArray))return i.map(s=>s.map(j));t.problem(i===void 0?`${e} is not there: name a table (#sales) or a CSV.`:`${e} holds no rows.`,["data"])}export function niceScale(e,t,i=4){if(!Number.isFinite(e)||!Number.isFinite(t))return{min:0,max:1,major:.25};t===e&&(t=e+(Math.abs(e)||1),e=Math.min(0,e));const s=(t-e)/i,a=10**Math.floor(Math.log10(s)),n=([1,2,2.5,5,10].find(d=>d*a>=s)??10)*a,r=d=>Math.round(d*1e9)/1e9;return{min:r(Math.floor(e/n+1e-9)*n),max:r(Math.ceil(t/n-1e-9)*n),major:r(n)}}const te={top_left:0,tl:0,upper_left:0,top_right:1,tr:1,upper_right:1,bottom_left:2,bl:2,lower_left:2,bottom_right:3,br:3,lower_right:3,1:0,2:1,3:2,4:3},P=e=>e.trim().toLowerCase().replace(/[-\s]+/gu,"_");function ne(e,t,i){let s=Array.isArray(e.items)?e.items:[];if(s.length===0&&typeof e.data=="string"){const l=V(e.data,t);if(l!==void 0&&F(l)){const p=e.columns??{};s=l.map(h=>{const x={};for(const w of["name","x","y","quadrant","color","status"]){const A=O(h,p[w]??w);A!==void 0&&(x[w]=h[A])}if(x.name===void 0){const w=Object.keys(h).find(A=>typeof h[A]=="string");w!==void 0&&(x.name=h[w])}return x})}}const a=Array.isArray(e.quadrants)?e.quadrants.map((l,p)=>i(["quadrants",p],l)):[void 0,void 0,void 0,void 0],n=(l,p)=>{const h=e[l]??{},x=Math.min(...p),w=Math.max(...p),A=niceScale(p.length===0?0:Math.min(0,x),p.length===0?10:w,4),v=typeof h.min=="number"?h.min:A.min,b=typeof h.max=="number"?h.max:A.max,o={min:v,max:b,split:typeof h.split=="number"?h.split:(v+b)/2};for(const u of["title","low","high"]){const f=i([l,u],h[u]);f!==void 0&&(o[u]=f)}return o},r=s.map(l=>j(l.x)).filter(l=>l!==null),d=s.map(l=>j(l.y)).filter(l=>l!==null),m=n("x_axis",r),y=n("y_axis",d),g=s.map((l,p)=>{const h=i(["items",p,"name"],l.name)??"",x=j(l.x),w=j(l.y);let A=0;if(x!==null&&w!==null)A=(w>=y.split?0:2)+(x>=m.split?1:0);else if(typeof l.quadrant=="string"||typeof l.quadrant=="number"){const b=String(l.quadrant),o=a.findIndex(f=>f!==void 0&&P(f)===P(b)),u=te[P(b)]??(o>=0?o:void 0);u===void 0&&t.problem(`${b} is no quadrant: top-left, top-right, bottom-left, bottom-right, 1 to 4, or a quadrant's name.`,["items",p,"quadrant"]),A=u??0}const v=typeof l.color=="string"?l.color:typeof l.status=="string"&&l.status!=="accent1"?l.status:void 0;return{name:h,quadrant:A,...x===null?{}:{x},...w===null?{}:{y:w},...v===void 0?{}:{color:v}}});if(g.length===0){t.problem("a matrix has an item.",["items"]);return}const c=g.every(l=>l.x!==void 0&&l.y!==void 0);return{kind:"matrix",items:g,x:m,y,quadrants:a,scored:c}}function ae(e,t,i){const s=Array.isArray(e.series)?e.series:[];if(typeof e.data=="string"){const n=V(e.data,t);if(n===void 0||!F(n))return;const r=n[0]??{},d=Array.isArray(e.categories)?e.categories:[],m=(d.length===1?O(r,d[0]??""):void 0)??Object.keys(r).find(c=>typeof r[c]=="string");if(m===void 0){t.problem(`${e.data} has no column of words for its categories: name it (categories: <its column>).`,["data"]);return}const y=s.length>0?s.map(c=>typeof c=="string"?c:String(c.name)):Object.keys(r).filter(c=>c!==m&&j(r[c])!==null),g=y.filter(c=>O(r,c)===void 0);return g.length>0&&t.problem(`${e.data} has no column ${g.join(", ")} (it has ${Object.keys(r).join(", ")}).`,["data"]),{categories:n.map(c=>L(c[m])),series:y.filter(c=>O(r,c)!==void 0).map((c,l)=>{const p=s[l],h=typeof p=="object"&&typeof p.color=="string"?p.color:void 0;return{name:c,values:n.map(x=>j(x[O(x,c)??c])??0),...h===void 0?{}:{color:h}}})}}const a=Array.isArray(e.categories)?e.categories.map((n,r)=>i(["categories",r],n)??n):[];return{categories:a,series:s.flatMap((n,r)=>{if(typeof n=="string")return t.problem(`series ${n} names a column: give data, or its values ({ name, values }).`,["series",r]),[];const d=i(["series",r,"name"],n.name)??"",m=Array.isArray(n.values)?n.values.map(y=>j(y)??0):[];return m.length!==a.length&&t.problem(`series ${d} has ${String(m.length)} values for ${String(a.length)} categories.`,["series",r]),[{name:d,values:m,...typeof n.color=="string"?{color:n.color}:{}}]})}}function se(e,t,i){const s=ae(e,t,i);if(s===void 0||s.categories.length===0){s!==void 0&&t.problem("a Marimekko has a category.",["categories"]);return}const a=s.categories.map((r,d)=>s.series.reduce((m,y)=>m+Math.max(0,y.values[d]??0),0)),n=Array.isArray(e.widths)?e.widths.map(r=>j(r)??0):void 0;return n!==void 0&&n.length!==s.categories.length&&t.problem(`widths has ${String(n.length)} for ${String(s.categories.length)} categories.`,["widths"]),s.series.some(r=>r.values.some(d=>d<0))&&t.problem("a Marimekko's values are shares of a whole: none is below zero.",["series"]),{kind:"marimekko",categories:s.categories,series:s.series,widths:s.categories.map((r,d)=>n?.[d]??a[d]??0),labels:e.labels==="value"||e.labels==="none"?e.labels:"share",...typeof e.format=="string"?{format:e.format}:{}}}function re(e,t,i){let s=Array.isArray(e.rows)?e.rows:[],a=Array.isArray(e.columns)?e.columns:[],n=Array.isArray(e.values)?e.values:[];const r=typeof e.data=="string"?e.data:void 0;if(n.length===0&&r!==void 0){const c=V(r,t);if(c===void 0)return;if(F(c)){const l=c[0]??{},p=Object.keys(l).find(x=>typeof l[x]=="string"&&j(l[x])===null),h=Object.keys(l).filter(x=>x!==p);a.length===0&&(a=h),s.length===0&&(s=c.map((x,w)=>p===void 0?String(w+1):L(x[p]))),n=c.map(x=>h.map(w=>j(x[w])))}else n=c,s.length===0&&(s=n.map(()=>"")),a.length===0&&(a=(n[0]??[]).map(()=>""))}if(n.length===0){t.problem("a heatmap has values, or data.",["values"]);return}const d=n.flat().filter(c=>c!==null),m=typeof e.min=="number"?e.min:Math.min(...d),y=typeof e.max=="number"?e.max:Math.max(...d),g=i(["title"],e.title);return{kind:"heatmap",rows:s.map((c,l)=>i(["rows",l],c)??c),columns:a.map((c,l)=>i(["columns",l],c)??c),values:n,color:typeof e.color=="string"?e.color:"accent1",min:Number.isFinite(m)?m:0,max:Number.isFinite(y)?y:1,showValues:e.show_values!==!1,...typeof e.low_color=="string"?{low:e.low_color}:typeof e.mid=="number"?{low:"accent2"}:{},...typeof e.mid=="number"?{mid:e.mid}:{},...typeof e.format=="string"?{format:e.format}:{},...g===void 0?{}:{title:g},...r===void 0?{}:{source:r}}}const D=["accent1","accent2","accent3","accent4","accent5","accent6"];function ie(e,t,i){const s=e.chart??{},a=X(typeof s.type=="string"?s.type:"column");let n=Array.isArray(e.categories)?e.categories:[],r=[];if(Array.isArray(e.panels))r=e.panels.map((o,u)=>({title:i(["panels",u,"title"],o.title)??"",series:Array.isArray(o.series)?o.series.flatMap((f,$)=>typeof f=="string"?[]:[{name:i(["panels",u,"series",$,"name"],f.name)??"",values:Array.isArray(f.values)?f.values.map(j):[],...typeof f.color=="string"?{color:f.color}:{}}]):[{name:Array.isArray(e.series)&&typeof e.series[0]?.name=="string"?String(e.series[0]?.name):i(["panels",u,"title"],o.title)??"",values:Array.isArray(o.values)?o.values.map(j):[]}]}));else if(typeof e.data=="string"&&typeof e.by=="string"){const o=V(e.data,t);if(o===void 0||!F(o))return;const u=o[0]??{},f=O(u,e.by);if(f===void 0){t.problem(`${e.data} has no column ${e.by} (it has ${Object.keys(u).join(", ")}).`,["by"]);return}const $=(n.length===1?O(u,n[0]??""):void 0)??Object.keys(u).find(M=>M!==f&&typeof u[M]=="string");if($===void 0){t.problem(`${e.data} has no column of words for its categories: name it (categories: <its column>).`,["categories"]);return}const S=Array.isArray(e.series)?e.series:[],_=S.length>0?S.map(M=>typeof M=="string"?M:String(M.name)):Object.keys(u).filter(M=>M!==f&&M!==$&&j(u[M])!==null);n=[...new Set(o.map(M=>L(M[$])))],r=[...new Set(o.map(M=>L(M[f])))].map(M=>({title:M,series:_.map(N=>({name:N,values:n.map(K=>{const B=o.find(G=>L(G[f])===M&&L(G[$])===K);return B===void 0?null:j(B[O(B,N)??N])})}))}))}if(r.length===0){t.problem("small multiples have a panel.",["panels"]);return}n=n.map((o,u)=>i(["categories",u],o)??o);const d=Math.max(0,...r.flatMap(o=>o.series.map(u=>u.values.length)));n.length===0&&(n=Array.from({length:d},(o,u)=>String(u+1)));const m=Math.max(...r.map(o=>o.series.length)),y=Array.from({length:m},(o,u)=>r.find(f=>f.series[u]!==void 0)?.series[u]?.name??""),g=o=>r.map(u=>u.series[o]?.color).find(u=>u!==void 0),c=o=>g(o)??(typeof s.color=="string"&&m===1?s.color:D[o%6]??"accent1"),l=[];for(const o of r)if(a.includes("stacked"))n.forEach((u,f)=>{l.push(o.series.reduce(($,S)=>$+Math.max(0,S.values[f]??0),0)),l.push(o.series.reduce(($,S)=>$+Math.min(0,S.values[f]??0),0))});else for(const u of o.series)for(const f of u.values)f!==null&&l.push(f);const p=Math.min(0,...l),h=Math.max(0,...l),w=a.includes("100")?{min:0,max:1,major:.25}:niceScale(p,h,4),A=e.shared!==!1,v=typeof e.format=="string"?e.format:void 0,b={...s};return delete b.type,delete b.color,{kind:"small_multiples",panels:r.map(o=>({title:o.title,chart:{...b,type:a,categories:n,series:o.series.map((u,f)=>({name:u.name,values:u.values,color:c(f)})),value_axis:{...b.value_axis??{},...A?{min:w.min,max:w.max,major:w.major}:{},...v===void 0?{}:{format:v}}}})),...typeof e.columns=="number"?{columns:Math.max(1,Math.round(e.columns))}:{},legend:m>1?y.map((o,u)=>({name:o,color:c(u)})):[]}}export function gridOf(e,t){const i=e.fields,s=(r,d)=>t.words?.(r)??(typeof d=="string"?d:void 0),a=s(["alt"],i.alt),n=e.kind==="matrix"?ne(i,t,s):e.kind==="marimekko"?se(i,t,s):e.kind==="heatmap"?re(i,t,s):ie(i,t,s);return n===void 0?void 0:a===void 0?n:{...n,alt:a}}const C=(e,t)=>{e.marks.push(t)};function z(e,t,i,s){const a=s.probe===!0?{...e,marks:[],overflow:[]}:e,n=Z(a,t,i,{...s,w:Math.max(1,s.w)});return s.probe!==!0&&C(e,n.mark),n.height}const W=(e,t,i,s=400)=>e.measure(t.replace(/\*+/gu,""),i,s),T=(e,t,i)=>Math.max(t,Math.min(i,e));export function matrixChart(e,t){const i=s=>({min:s.min,max:s.max,crosses_at:s.split,gridlines:!1,labels:"none",tick_marks:"none",line_color:"tx1 alpha 40%"});return{type:"scatter",series:e.items.map(s=>({name:s.name||" ",values:[s.y??0],x:[s.x??0],color:U(s.color??"accent1"),marker:"circle",marker_size:Math.round(k.label*t*.75*10)/10,labels:{series:!0,value:!1,position:(s.x??0)>e.x.max-(e.x.max-e.x.min)*.25?"l":"r",size:Math.round(k.label*t*10)/10}})),value_axis:i(e.y),category_axis:i(e.x),size:Math.round(k.label*t*10)/10}}function U(e){return{good:"#2E7D4F",warning:"#A35400",bad:"#B3362C",info:"#3E54CE",neutral:"#6B635E"}[e]??e}function oe(e,t,i,s){const a=e.s,n=s??Q(i),r=k.label*a,d=r*E,m=t.y.title!==void 0||t.y.low!==void 0||t.y.high!==void 0,y=t.x.title!==void 0||t.x.low!==void 0||t.x.high!==void 0,g=m?T(Math.max(...[t.y.title,t.y.low,t.y.high].map(o=>o===void 0?0:W(e,o,r,600)))+8*a,40*a,i*.18):0,c=y?d+6*a:0,l=g,p=i-g,h=n-c;if(m){const o=(u,f,$,S)=>{const _=W(e,f,r,S?600:400)>g-6*a;return z(e,u,f,{x:0,y:$-(_?d:d/2),w:g-6*a,size:r,...S?{weight:600}:{},color:S?"text":"muted",align:"right",max:2})};t.y.high!==void 0&&o("y_axis/high",t.y.high,h/4,!1),t.y.title!==void 0&&o("y_axis/title",t.y.title,h/2,!0),t.y.low!==void 0&&o("y_axis/low",t.y.low,h*3/4,!1)}if(y){const o=h+6*a,u=(f,$,S,_)=>z(e,f,$,{x:l+S-p/6,y:o,w:p/3,size:r,..._?{weight:600}:{},color:_?"text":"muted",align:"center",max:1});t.x.low!==void 0&&u("x_axis/low",t.x.low,p/4,!1),t.x.title!==void 0&&u("x_axis/title",t.x.title,p/2,!0),t.x.high!==void 0&&u("x_axis/high",t.x.high,p*3/4,!1)}const x=k.label*a;if(t.scored){const o=matrixChart(t,a),u=Y(o,{title:void 0,base:"",rows:()=>{},problem:()=>{},size:{width:p,height:h}});return u!==void 0&&C(e,{type:"chart",part:"chart",x:l,y:0,w:p,h,chart:u,file:o}),t.quadrants.forEach((f,$)=>{if(f===void 0)return;const S=$%2===1,_=$>=2;z(e,`quadrants/${String($)}`,f,{x:l+(S?p/2+4*a:4*a),y:_?h-4*a-x*E:4*a,w:p/2-8*a,size:x,weight:700,color:"muted",align:S?"right":"left",max:1})}),n}const w=8*a,A=(p-w)/2,v=(h-w)/2,b=k.body*a;for(let o=0;o<4;o++){const u=l+o%2*(A+w),f=Math.floor(o/2)*(v+w);C(e,{type:"rect",part:`quadrants/${String(o)}/box`,x:u,y:f,w:A,h:v,r:6*a,fill:"well",line:"none",lineWidth:0});let $=f+10*a;const S=t.quadrants[o];S!==void 0&&($+=4*a+z(e,`quadrants/${String(o)}/name`,S,{x:u+12*a,y:$,w:A-24*a,size:x,weight:700,color:"muted",max:1})),t.items.forEach((_,H)=>{if(_.quadrant!==o)return;const M=z(e,`items/${String(H)}`,`• ${_.name}`,{x:u+12*a,y:$,w:A-24*a,size:b,color:_.color??"text",max:2});$+=M+2*a}),$>f+v+.5&&e.overflow.push(`quadrants/${String(o)}`)}return n}function le(e,t,i,s){const a=e.s,n=s??Q(i),r=k.label*a,d=r*E,m=T(Math.max(...t.series.map(v=>W(e,v.name,r)))+12*a,40*a,i*.24),y=d*2+6*a,g=d+4*a,c=i-m,l=n-y-g,p=t.widths.reduce((v,b)=>v+Math.max(0,b),0)||1,h=2*a;let x=0;const w=[];t.categories.forEach((v,b)=>{const o=Math.max(0,t.widths[b]??0)/p*c,u=t.series.reduce((S,_)=>S+Math.max(0,_.values[b]??0),0)||1;let f=g;t.series.forEach((S,_)=>{const H=Math.max(0,S.values[b]??0),M=H/u*l,N=S.color??D[_%6]??"accent1";if(C(e,{type:"rect",part:`columns/${String(b)}/${String(_)}`,x,y:f,w:Math.max(0,o-h),h:M,r:0,fill:N,line:"ground",lineWidth:Math.min(1,M/4)*a}),t.labels!=="none"&&M>d+2*a){const K=t.labels==="value"?t.format!==void 0?I(H,t.format):R(H,e.lang):`${String(Math.round(H/u*100))}%`;W(e,K,k.caption*a,600)<o-6*a&&z(e,`columns/${String(b)}/${String(_)}/label`,K,{x:x+2*a,y:f+(M-k.caption*a*E)/2,w:o-h-4*a,size:k.caption*a,weight:600,color:`on:${N}`,align:"center",max:1})}b===t.categories.length-1&&(w[_]={y:f,h:M}),f+=M});const $=t.format!==void 0?I(t.widths[b]??0,t.format):R(t.widths[b]??0,e.lang);W(e,$,k.caption*a)<o&&z(e,`columns/${String(b)}/total`,$,{x,y:0,w:o-h,size:k.caption*a,color:"muted",align:"center",max:1}),z(e,`columns/${String(b)}/name`,v,{x,y:g+l+4*a,w:o-h,size:r,weight:600,color:"text",align:"center",max:2}),x+=o});let A=0;return t.series.forEach((v,b)=>{const o=w[b];if(o===void 0)return;const u=Math.max(A,o.y+o.h/2-d/2);z(e,`series/${String(b)}`,v.name,{x:c+8*a,y:u,w:m-8*a,size:r,color:v.color??D[b%6]??"accent1",weight:600,max:1}),A=u+d}),A>n+.5&&e.overflow.push("series"),n}export function heatPaint(e,t){if(t===null)return{fill:"well",ink:"muted"};let i=e.color,s;e.mid!==void 0&&e.low!==void 0?t<e.mid?(i=e.low,s=e.mid===e.min?0:(e.mid-t)/(e.mid-e.min)):s=e.max===e.mid?0:(t-e.mid)/(e.max-e.mid):s=e.max===e.min?1:(t-e.min)/(e.max-e.min);const a=Math.round(6+94*T(s,0,1));return{fill:`${i}~${String(a)}`,ink:a>=75?`on:${i}`:"text"}}export function heatmapGrid(e,t,i,s){const a=t.s,n=k.label*a,r=n*E,d=e.rows.some(h=>h!==""),m=e.columns.some(h=>h!==""),y=d?T(Math.max(...e.rows.map(h=>t.measure(h,n,500)),e.title===void 0?0:t.measure(e.title,n,700))+16*a,40*a,i*.32):0,g=m?r+10*a:0,c=Math.max(1,...e.values.map(h=>h.length)),l=(i-y)/c,p=s===void 0?T(l*.55,22*a,40*a):(s-g)/Math.max(1,e.values.length);return{labelW:y,headH:g,cellW:l,cellH:p,columns:c,size:n}}function ce(e,t,i,s){const a=e.s,n=heatmapGrid(t,e,i,s),r=n.size*E;return(n.cellH<r+2*a-.5||n.cellW<18*a)&&e.overflow.push("cells"),t.title!==void 0&&n.headH>0&&z(e,"title",t.title,{x:4*a,y:(n.headH-r)/2,w:n.labelW-8*a,size:n.size,weight:700,color:"text",max:1}),t.columns.forEach((d,m)=>{n.headH!==0&&z(e,`columns/${String(m)}`,d,{x:n.labelW+m*n.cellW+2*a,y:(n.headH-r)/2,w:n.cellW-4*a,size:n.size,weight:600,color:"muted",align:"center",max:1})}),t.values.forEach((d,m)=>{const y=n.headH+m*n.cellH;n.labelW>0&&z(e,`rows/${String(m)}`,t.rows[m]??"",{x:4*a,y:y+(n.cellH-r)/2,w:n.labelW-8*a,size:n.size,weight:500,color:"text",max:1});for(let g=0;g<n.columns;g++){const c=d[g]??null,l=heatPaint(t,c);if(C(e,{type:"rect",part:`cells/${String(m)}/${String(g)}`,x:n.labelW+g*n.cellW,y,w:n.cellW,h:n.cellH,r:0,fill:l.fill,line:"ground",lineWidth:1.5*a}),t.showValues&&c!==null){const p=t.format!==void 0?I(c,t.format):R(c,e.lang);z(e,`cells/${String(m)}/${String(g)}/value`,p,{x:n.labelW+g*n.cellW+2*a,y:y+(n.cellH-r)/2,w:n.cellW-4*a,size:n.size,weight:500,color:l.ink,align:"center",max:1})}}}),s??n.headH+t.values.length*n.cellH}export function multiplesGrid(e,t,i,s){const a=e.panels.length,n=12*t,r=k.label*t*E+4*t,d=e.legend.length>0?k.label*t*E+8*t:0;let m=e.columns??0;if(m===0)if(s===void 0)m=Math.min(a,Math.max(1,Math.floor(i/(200*t))));else{let l=1/0;for(let p=1;p<=a;p++){const h=Math.ceil(a/p),x=(i-(p-1)*n)/p,w=(s-d-(h-1)*n)/h-r;if(w<=0)continue;const A=Math.abs(Math.log(x/w/1.6))+(h*p-a)*.4;A<l&&(l=A,m=p)}m===0&&(m=a)}m=Math.min(m,a);const y=Math.ceil(a/m),g=(i-(m-1)*n)/m,c=s===void 0?g/1.6+r:(s-d-(y-1)*n)/y;return{across:m,rows:y,pw:g,ph:c,gap:n,titleH:r,legendH:d}}export function panelChart(e,t,i,s){const a=e.panels.length,r=e.panels[t]?.chart??{type:"column-clustered",series:[{name:"",values:[]}]},d=t%i,m=t+i<a,y=J(r.type),g=y?!m:d===0,c=y?d===0:!m;return{...r,size:r.size??Math.round(k.caption*.9*s*10)/10,value_axis:{gridlines:!0,...r.value_axis,...g?{}:{labels:"none"}},category_axis:{...r.category_axis,...c?{}:{labels:"none"}}}}function ue(e,t,i,s){const a=e.s,n=multiplesGrid(t,a,i,s),r=k.label*a;let d=0;return t.legend.forEach((m,y)=>{const g=10*a,c=W(e,m.name,r)+6*a;C(e,{type:"rect",part:`legend/${String(y)}/key`,x:d,y:(n.legendH-8*a-g)/2+2*a,w:g,h:g,r:2*a,fill:U(m.color),line:"none",lineWidth:0}),z(e,`legend/${String(y)}`,m.name,{x:d+g+4*a,y:(n.legendH-8*a-r*E)/2+2*a,w:c,size:r,color:"text",max:1}),d+=g+4*a+c+12*a}),n.ph-n.titleH<40*a&&e.overflow.push("panels"),t.panels.forEach((m,y)=>{const g=y%n.across*(n.pw+n.gap),c=n.legendH+Math.floor(y/n.across)*(n.ph+n.gap);z(e,`panels/${String(y)}/title`,m.title,{x:g,y:c,w:n.pw,size:r,weight:700,color:"text",max:1});const l=panelChart(t,y,n.across,a),p=n.ph-n.titleH,h=Y(l,{title:void 0,base:"",rows:()=>{},problem:()=>{},size:{width:n.pw,height:p}});h!==void 0&&C(e,{type:"chart",part:`panels/${String(y)}/chart`,x:g,y:c+n.titleH,w:n.pw,h:p,chart:h,file:l})}),s??n.legendH+n.rows*n.ph+(n.rows-1)*n.gap}export function gridLayout(e,t,i,s){switch(t.kind){case"matrix":return oe(e,t,i,s);case"marimekko":return le(e,t,i,s);case"heatmap":return ce(e,t,i,s);case"small_multiples":return ue(e,t,i,s)}}const q=e=>e.replace(/\*+/gu,"");export function gridAlt(e,t){const i=(s,a)=>a!==void 0?I(s,a):R(s,t);switch(e.kind){case"matrix":return[e.x.title!==void 0||e.y.title!==void 0?`${q(e.x.title??"x")} × ${q(e.y.title??"y")}`:void 0,...[0,1,2,3].map(s=>{const a=e.items.filter(n=>n.quadrant===s);if(!(a.length===0&&e.quadrants[s]===void 0))return`${q(e.quadrants[s]??String(s+1))}: ${a.map(n=>n.x===void 0?q(n.name):`${q(n.name)} (${i(n.x)}, ${i(n.y??0)})`).join(", ")}`})].filter(s=>s!==void 0).join("; ");case"marimekko":return e.categories.map((s,a)=>{const n=e.series.reduce((r,d)=>r+Math.max(0,d.values[a]??0),0)||1;return`${q(s)} ${i(e.widths[a]??0,e.format)}: ${e.series.map(r=>`${q(r.name)} ${String(Math.round((r.values[a]??0)/n*100))}%`).join(", ")}`}).join("; ");case"heatmap":return e.values.map((s,a)=>`${q(e.rows[a]??"")}: ${s.map((n,r)=>`${q(e.columns[r]??"")} ${n===null?"–":i(n,e.format)}`).join(", ")}`).join("; ");case"small_multiples":return e.panels.map(s=>`${q(s.title)}: ${s.chart.series.map(a=>typeof a=="string"?a:`${a.name} ${(a.values??[]).map(n=>n===null?"–":i(n)).join(", ")}`).join("; ")}`).join(" | ")}}