allyhub 0.9.0 → 0.11.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 (582) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/commands/auth.js +4 -4
  3. package/dist/commands/cloud-tools.js +11 -11
  4. package/dist/commands/dev.js +2 -2
  5. package/dist/commands/frames/compare.js +2 -2
  6. package/dist/commands/frames/piece.js +1 -1
  7. package/dist/commands/frames/report.js +2 -0
  8. package/dist/commands/frames.js +11 -9
  9. package/dist/commands/index.js +1 -1
  10. package/dist/commands/inspect/common.js +4 -2
  11. package/dist/commands/inspect/facts.js +3 -3
  12. package/dist/commands/inspect/layout.js +1 -1
  13. package/dist/commands/orgs.js +2 -2
  14. package/dist/commands/render.js +2 -2
  15. package/dist/help.js +4 -4
  16. package/dist/main.js +8 -7
  17. package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +1 -1
  18. package/dist/node_modules/@allyhub/3d-extension/package.json +34 -2
  19. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  20. package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +29 -0
  21. package/dist/node_modules/@allyhub/browser/dist/emoji.js +57 -0
  22. package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +18 -0
  23. package/dist/node_modules/@allyhub/browser/dist/picture.js +2 -0
  24. package/dist/node_modules/@allyhub/browser/package.json +9 -1
  25. package/dist/node_modules/@allyhub/build/dist/index.d.ts +1 -0
  26. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  27. package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +7 -0
  28. package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +9 -0
  29. package/dist/node_modules/@allyhub/build/dist/made-notes.js +2 -0
  30. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +17 -0
  31. package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +7 -0
  32. package/dist/node_modules/@allyhub/build/package.json +1 -1
  33. package/dist/node_modules/@allyhub/canvas-extension/package.json +2 -1
  34. package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +4 -24
  35. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  36. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
  37. package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
  38. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  39. package/dist/node_modules/@allyhub/check/package.json +1 -1
  40. package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +10 -0
  41. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  42. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +9 -0
  43. package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
  44. package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +4 -4
  45. package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
  46. package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +12 -0
  47. package/dist/node_modules/@allyhub/cloud/dist/device.js +2 -0
  48. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  49. package/dist/node_modules/@allyhub/components/package.json +1 -1
  50. package/dist/node_modules/@allyhub/components/r/callout.json +1 -1
  51. package/dist/node_modules/@allyhub/components/src/callout.ts +98 -13
  52. package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
  53. package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
  54. package/dist/node_modules/@allyhub/dev-server/dist/inputs.js +2 -0
  55. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  56. package/dist/node_modules/@allyhub/dev-server/dist/pages.js +2 -0
  57. package/dist/node_modules/@allyhub/dev-server/dist/ports.js +2 -0
  58. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  59. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  60. package/dist/node_modules/@allyhub/dev-server/dist/respond.js +2 -0
  61. package/dist/node_modules/@allyhub/dev-server/dist/reveal.js +1 -1
  62. package/dist/node_modules/@allyhub/dev-server/dist/routes.js +1 -1
  63. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  64. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  65. package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
  66. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  67. package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +7 -0
  68. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  69. package/dist/node_modules/@allyhub/doc/dist/captions.js +1 -1
  70. package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
  71. package/dist/node_modules/@allyhub/doc/dist/html.js +51 -92
  72. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  73. package/dist/node_modules/@allyhub/doc/dist/page.js +1 -1
  74. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  75. package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
  76. package/dist/node_modules/@allyhub/doc/dist/write.js +22 -22
  77. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  78. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
  79. package/dist/node_modules/@allyhub/doc-extension/package.json +19 -6
  80. package/dist/node_modules/@allyhub/doc-print/dist/pages.js +5 -5
  81. package/dist/node_modules/@allyhub/doc-print/dist/print.js +10 -10
  82. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  83. package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
  84. package/dist/node_modules/@allyhub/export/package.json +1 -1
  85. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  86. package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
  87. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  88. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
  89. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +87 -1
  90. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  91. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +89 -0
  92. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  93. package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +20 -0
  94. package/dist/node_modules/@allyhub/formats/dist/note-shape.js +1 -1
  95. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +50 -0
  96. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  97. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  98. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  99. package/dist/node_modules/@allyhub/image-extension/dist/export.js +4 -1
  100. package/dist/node_modules/@allyhub/image-extension/package.json +16 -6
  101. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +7 -39
  102. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  103. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  104. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  105. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  106. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  107. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  108. package/dist/node_modules/@allyhub/linkedin-extension/LICENSE +241 -0
  109. package/dist/node_modules/@allyhub/linkedin-extension/dist/article-build.js +2 -0
  110. package/dist/node_modules/@allyhub/linkedin-extension/dist/article-kind.js +2 -0
  111. package/dist/node_modules/@allyhub/linkedin-extension/dist/build-plugins.js +2 -0
  112. package/dist/node_modules/@allyhub/linkedin-extension/dist/build.js +5 -0
  113. package/dist/node_modules/@allyhub/linkedin-extension/dist/media.js +2 -0
  114. package/dist/node_modules/@allyhub/linkedin-extension/dist/stage-module.js +82 -0
  115. package/dist/node_modules/@allyhub/linkedin-extension/dist/stage.js +2 -0
  116. package/dist/node_modules/@allyhub/linkedin-extension/dist/workspace.js +2 -0
  117. package/dist/node_modules/@allyhub/linkedin-extension/package.json +287 -0
  118. package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +12 -0
  119. package/dist/node_modules/@allyhub/linkedin-model/LICENSE +241 -0
  120. package/dist/node_modules/@allyhub/linkedin-model/dist/article-check.js +5 -0
  121. package/dist/node_modules/@allyhub/linkedin-model/dist/article.js +3 -0
  122. package/dist/node_modules/@allyhub/linkedin-model/dist/check.js +2 -0
  123. package/dist/node_modules/@allyhub/linkedin-model/dist/count.js +3 -0
  124. package/dist/node_modules/@allyhub/linkedin-model/dist/edit.js +3 -0
  125. package/dist/node_modules/@allyhub/linkedin-model/dist/html.js +19 -0
  126. package/dist/node_modules/@allyhub/linkedin-model/dist/index.js +2 -0
  127. package/dist/node_modules/@allyhub/linkedin-model/dist/limits.js +2 -0
  128. package/dist/node_modules/@allyhub/linkedin-model/dist/little.js +2 -0
  129. package/dist/node_modules/@allyhub/linkedin-model/dist/post.js +2 -0
  130. package/dist/node_modules/@allyhub/linkedin-model/dist/requests.js +2 -0
  131. package/dist/node_modules/@allyhub/linkedin-model/package.json +14 -0
  132. package/dist/node_modules/@allyhub/linkedin-view/LICENSE +241 -0
  133. package/dist/node_modules/@allyhub/linkedin-view/dist/article.js +2 -0
  134. package/dist/node_modules/@allyhub/linkedin-view/dist/fold.js +3 -0
  135. package/dist/node_modules/@allyhub/linkedin-view/dist/index.js +2 -0
  136. package/dist/node_modules/@allyhub/linkedin-view/dist/post.js +2 -0
  137. package/dist/node_modules/@allyhub/linkedin-view/dist/stage.js +2 -0
  138. package/dist/node_modules/@allyhub/linkedin-view/dist/text.js +2 -0
  139. package/dist/node_modules/@allyhub/linkedin-view/package.json +21 -0
  140. package/dist/node_modules/@allyhub/linkedin-view/src/style.css +600 -0
  141. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  142. package/dist/node_modules/@allyhub/media/package.json +1 -1
  143. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
  144. package/dist/node_modules/@allyhub/media-extension/package.json +7 -4
  145. package/dist/node_modules/@allyhub/model/package.json +1 -1
  146. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
  147. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  148. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +2 -0
  149. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +16 -0
  150. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +1 -1
  151. package/dist/node_modules/@allyhub/piece/dist/page/index.js +1 -1
  152. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +14 -1
  153. package/dist/node_modules/@allyhub/piece/dist/page/locate.js +1 -1
  154. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +18 -0
  155. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  156. package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
  157. package/dist/node_modules/@allyhub/project/package.json +1 -1
  158. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +140 -0
  159. package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
  160. package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +19 -1
  161. package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
  162. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +157 -0
  163. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  164. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +10 -2
  165. package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
  166. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +101 -186
  167. package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
  168. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +1 -0
  169. package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
  170. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +92 -94
  171. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  172. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +17 -0
  173. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  174. package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +7 -0
  175. package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
  176. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +15 -3
  177. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  178. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  179. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  180. package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
  181. package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
  182. package/dist/node_modules/@allyhub/render/dist/look.js +1 -1
  183. package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
  184. package/dist/node_modules/@allyhub/render/package.json +1 -1
  185. package/dist/node_modules/@allyhub/report-extension/LICENSE +241 -0
  186. package/dist/node_modules/@allyhub/report-extension/dist/build.js +2 -0
  187. package/dist/node_modules/@allyhub/report-extension/dist/check.js +3 -0
  188. package/dist/node_modules/@allyhub/report-extension/dist/cli/find.js +2 -0
  189. package/dist/node_modules/@allyhub/report-extension/dist/cli/index.js +5 -0
  190. package/dist/node_modules/@allyhub/report-extension/dist/cli/picture.js +2 -0
  191. package/dist/node_modules/@allyhub/report-extension/dist/export.js +2 -0
  192. package/dist/node_modules/@allyhub/report-extension/dist/inline.js +58 -0
  193. package/dist/node_modules/@allyhub/report-extension/dist/page.js +21 -0
  194. package/dist/node_modules/@allyhub/report-extension/dist/project-tools.js +21 -0
  195. package/dist/node_modules/@allyhub/report-extension/dist/styles.js +5 -0
  196. package/dist/node_modules/@allyhub/report-extension/dist/theme.js +2 -0
  197. package/dist/node_modules/@allyhub/report-extension/dist/tools.js +2 -0
  198. package/dist/node_modules/@allyhub/report-extension/dist/workspace.js +2 -0
  199. package/dist/node_modules/@allyhub/report-extension/package.json +182 -0
  200. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/STYLE.md +132 -0
  201. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.css +105 -0
  202. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.json +17 -0
  203. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/tokens.js +38 -0
  204. package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
  205. package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
  206. package/dist/node_modules/@allyhub/runtime/dist/player/clips.js +1 -1
  207. package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
  208. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  209. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  210. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  211. package/dist/node_modules/@allyhub/scenery/dist/index.d.ts +2 -2
  212. package/dist/node_modules/@allyhub/scenery/dist/index.js +1 -1
  213. package/dist/node_modules/@allyhub/scenery/dist/moire.d.ts +45 -5
  214. package/dist/node_modules/@allyhub/scenery/dist/moire.js +2 -2
  215. package/dist/node_modules/@allyhub/scenery/dist/phone.d.ts +4 -3
  216. package/dist/node_modules/@allyhub/scenery/dist/phone.js +1 -1
  217. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  218. package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +7 -0
  219. package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.js +2 -0
  220. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +4 -3
  221. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
  222. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +1 -1
  223. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
  224. package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.js +1 -1
  225. package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.d.ts +8 -0
  226. package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.js +1 -1
  227. package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +6 -0
  228. package/dist/node_modules/@allyhub/scenery-host/dist/viewer.js +1 -1
  229. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  230. package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.js +1 -1
  231. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
  232. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.js +1 -1
  233. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.js +1 -1
  234. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.js +1 -1
  235. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.js +1 -1
  236. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.js +1 -1
  237. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.js +1 -1
  238. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.js +1 -1
  239. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.js +1 -1
  240. package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.js +1 -1
  241. package/dist/node_modules/@allyhub/sheet/dist/calc/types.js +1 -1
  242. package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
  243. package/dist/node_modules/@allyhub/sheet/dist/export.js +2 -4
  244. package/dist/node_modules/@allyhub/sheet/dist/formula/move.js +1 -1
  245. package/dist/node_modules/@allyhub/sheet/dist/formula/parse.js +1 -1
  246. package/dist/node_modules/@allyhub/sheet/dist/formula/print.js +1 -1
  247. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  248. package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
  249. package/dist/node_modules/@allyhub/sheet/dist/printed.js +2 -0
  250. package/dist/node_modules/@allyhub/sheet/dist/values.js +1 -1
  251. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  252. package/dist/node_modules/@allyhub/sheet/dist/write.js +15 -15
  253. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
  254. package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.js +2 -2
  255. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  256. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
  257. package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.js +3 -1
  258. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
  259. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
  260. package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.js +3 -2
  261. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  262. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -6
  263. package/dist/node_modules/@allyhub/sheet-extension/package.json +24 -9
  264. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  265. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  266. package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
  267. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  268. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  269. package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +1 -1
  270. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  271. package/dist/node_modules/@allyhub/slides-extension/dist/export.js +1 -1
  272. package/dist/node_modules/@allyhub/slides-extension/package.json +22 -16
  273. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +2 -2
  274. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
  275. package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
  276. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  277. package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
  278. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  279. package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
  280. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  281. package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +1 -1
  282. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  283. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  284. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
  285. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  286. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  287. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +19 -0
  288. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +19 -0
  289. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +19 -0
  290. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +19 -0
  291. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/LICENSE +93 -0
  292. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +76 -0
  293. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-italic.woff2 +0 -0
  294. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-normal.woff2 +0 -0
  295. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-italic.woff2 +0 -0
  296. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-normal.woff2 +0 -0
  297. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-italic.woff2 +0 -0
  298. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-normal.woff2 +0 -0
  299. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-italic.woff2 +0 -0
  300. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-normal.woff2 +0 -0
  301. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +79 -0
  302. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +79 -0
  303. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +79 -0
  304. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +79 -0
  305. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/LICENSE +93 -0
  306. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +316 -0
  307. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-italic.woff2 +0 -0
  308. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-normal.woff2 +0 -0
  309. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-italic.woff2 +0 -0
  310. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-normal.woff2 +0 -0
  311. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-italic.woff2 +0 -0
  312. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-normal.woff2 +0 -0
  313. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-italic.woff2 +0 -0
  314. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-normal.woff2 +0 -0
  315. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-italic.woff2 +0 -0
  316. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-normal.woff2 +0 -0
  317. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-italic.woff2 +0 -0
  318. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-normal.woff2 +0 -0
  319. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-italic.woff2 +0 -0
  320. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-normal.woff2 +0 -0
  321. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-italic.woff2 +0 -0
  322. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-normal.woff2 +0 -0
  323. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-italic.woff2 +0 -0
  324. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-normal.woff2 +0 -0
  325. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-italic.woff2 +0 -0
  326. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-normal.woff2 +0 -0
  327. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-italic.woff2 +0 -0
  328. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-normal.woff2 +0 -0
  329. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-italic.woff2 +0 -0
  330. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-normal.woff2 +0 -0
  331. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-italic.woff2 +0 -0
  332. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-normal.woff2 +0 -0
  333. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-italic.woff2 +0 -0
  334. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-normal.woff2 +0 -0
  335. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-italic.woff2 +0 -0
  336. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-normal.woff2 +0 -0
  337. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-italic.woff2 +0 -0
  338. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-normal.woff2 +0 -0
  339. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +79 -0
  340. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +79 -0
  341. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +79 -0
  342. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +79 -0
  343. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/LICENSE +93 -0
  344. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-italic.woff2 +0 -0
  345. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-normal.woff2 +0 -0
  346. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-italic.woff2 +0 -0
  347. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-normal.woff2 +0 -0
  348. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-italic.woff2 +0 -0
  349. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-normal.woff2 +0 -0
  350. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-italic.woff2 +0 -0
  351. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-normal.woff2 +0 -0
  352. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-italic.woff2 +0 -0
  353. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-normal.woff2 +0 -0
  354. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-italic.woff2 +0 -0
  355. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-normal.woff2 +0 -0
  356. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-italic.woff2 +0 -0
  357. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-normal.woff2 +0 -0
  358. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-italic.woff2 +0 -0
  359. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-normal.woff2 +0 -0
  360. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-italic.woff2 +0 -0
  361. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-normal.woff2 +0 -0
  362. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-italic.woff2 +0 -0
  363. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-normal.woff2 +0 -0
  364. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-italic.woff2 +0 -0
  365. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-normal.woff2 +0 -0
  366. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-italic.woff2 +0 -0
  367. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-normal.woff2 +0 -0
  368. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-italic.woff2 +0 -0
  369. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-normal.woff2 +0 -0
  370. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-italic.woff2 +0 -0
  371. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-normal.woff2 +0 -0
  372. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-italic.woff2 +0 -0
  373. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-normal.woff2 +0 -0
  374. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-italic.woff2 +0 -0
  375. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-normal.woff2 +0 -0
  376. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +316 -0
  377. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  378. package/dist/node_modules/@allyhub/stage-page/dist/install.js +1 -1
  379. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +3 -0
  380. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +1 -1
  381. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  382. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +18 -18
  383. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  384. package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
  385. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  386. package/dist/node_modules/@allyhub/video-extension/dist/export.js +1 -1
  387. package/dist/node_modules/@allyhub/video-extension/package.json +17 -4
  388. package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
  389. package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
  390. package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +1 -1
  391. package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
  392. package/dist/node_modules/@allyhub/website/package.json +1 -1
  393. package/dist/node_modules/@allyhub/website-extension/dist/held.js +2 -0
  394. package/dist/node_modules/@allyhub/website-extension/dist/preview.js +5 -5
  395. package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +24 -1
  396. package/dist/node_modules/@allyhub/website-extension/dist/tools.js +1 -1
  397. package/dist/node_modules/@allyhub/website-extension/package.json +49 -2
  398. package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -3
  399. package/dist/node_modules/@allyhub/x-extension/package.json +43 -15
  400. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +7 -62
  401. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  402. package/dist/node_modules/@allyhub/x-view/dist/article.js +1 -1
  403. package/dist/node_modules/@allyhub/x-view/dist/index.js +1 -1
  404. package/dist/node_modules/@allyhub/x-view/dist/post.js +2 -2
  405. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  406. package/dist/package.json +12 -10
  407. package/dist/text/facts-text.js +5 -5
  408. package/dist/text/index.js +1 -1
  409. package/dist/text/long-text.js +4 -0
  410. package/dist/works.js +1 -1
  411. package/editor-web/assets/{abnfDiagram-WEYOIA3C-CN5PiJYY.js → abnfDiagram-WEYOIA3C-BKmMA6gn.js} +1 -1
  412. package/editor-web/assets/{architecture-WOLXFQ4H-BnvZtQYk.js → architecture-WOLXFQ4H-BEFBgb4k.js} +1 -1
  413. package/editor-web/assets/{architectureDiagram-ZHVYKT53-tkcEcFQ8.js → architectureDiagram-ZHVYKT53-_u5YfCjY.js} +1 -1
  414. package/editor-web/assets/{arrow-up-DTP2yVSU.js → arrow-up-B5rJbBv0.js} +1 -1
  415. package/editor-web/assets/article-BUmD3xtR.js +8 -0
  416. package/editor-web/assets/article-DNioBb3p.js +7 -0
  417. package/editor-web/assets/{audio-lines-Ti8-m7H2.js → audio-lines-CzuzsGjI.js} +1 -1
  418. package/editor-web/assets/{blockDiagram-RJAE7QA3-DhqEIpie.js → blockDiagram-RJAE7QA3-DybfaO3Z.js} +1 -1
  419. package/editor-web/assets/bookmark-Dsd3kHJJ.js +1 -0
  420. package/editor-web/assets/button-eGxLxbv9.js +41 -0
  421. package/editor-web/assets/{c4Diagram-XDPPPE54-Bg9G95tl.js → c4Diagram-XDPPPE54-BfqLHB5i.js} +1 -1
  422. package/editor-web/assets/calc-worker-D2pGis6e.js +45 -0
  423. package/editor-web/assets/channel-TNPgFDrw.js +1 -0
  424. package/editor-web/assets/chart-C37xvZT2.js +1 -0
  425. package/editor-web/assets/chart-no-axes-column-BVkeF_Mr.js +1 -0
  426. package/editor-web/assets/{chunk-2E7WHVMD-C8Ve9lAa.js → chunk-2E7WHVMD-BVp1I_d0.js} +1 -1
  427. package/editor-web/assets/{chunk-4EMNKR2T-BDWwPUnT.js → chunk-4EMNKR2T-CTdgWEMr.js} +1 -1
  428. package/editor-web/assets/{chunk-55XCU76K-BQiNPKgx.js → chunk-55XCU76K-7pnsxeaP.js} +1 -1
  429. package/editor-web/assets/{chunk-7S6XSTFO-QoEt-6jf.js → chunk-7S6XSTFO-Dc0Dvkq7.js} +1 -1
  430. package/editor-web/assets/{chunk-AQDTSKZB-BeuwIv0-.js → chunk-AQDTSKZB-VAILIsfx.js} +1 -1
  431. package/editor-web/assets/{chunk-DSNLSHJZ-BHW7sLAz.js → chunk-DSNLSHJZ-CUDx1Rv5.js} +1 -1
  432. package/editor-web/assets/{chunk-HAGFOTED-bbGED0hu.js → chunk-HAGFOTED-DAoEe-dJ.js} +1 -1
  433. package/editor-web/assets/{chunk-HNE4Q36P-FltWp8yo.js → chunk-HNE4Q36P-g0akya12.js} +1 -1
  434. package/editor-web/assets/{chunk-NQOKRVIF-NeQzr6kH.js → chunk-NQOKRVIF-hTGjzXdJ.js} +1 -1
  435. package/editor-web/assets/{chunk-UHW7PFBP-eA4-WUhn.js → chunk-UHW7PFBP-BgLV8BIJ.js} +1 -1
  436. package/editor-web/assets/{chunk-VQ5W62QI-BPPv325z.js → chunk-VQ5W62QI-Bw19OOSD.js} +1 -1
  437. package/editor-web/assets/{chunk-WQQL4CDK-DOCIz7Te.js → chunk-WQQL4CDK-CMST9dyE.js} +1 -1
  438. package/editor-web/assets/{chunk-YZO67HFG-Dc_ihQJi.js → chunk-YZO67HFG-Bbpu36XF.js} +1 -1
  439. package/editor-web/assets/{chunk-ZAUX2LTX-CoqwCPSm.js → chunk-ZAUX2LTX-C48Ri0Gs.js} +1 -1
  440. package/editor-web/assets/{chunk-ZCHMQSOR-CZUQPkJx.js → chunk-ZCHMQSOR-DN1g01Oe.js} +1 -1
  441. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-DUh9c50k.js → classDiagram-v2-4MYWR3UA-U6jbPr2d.js} +1 -1
  442. package/editor-web/assets/collaborator-B1u2td9m.js +1 -0
  443. package/editor-web/assets/createLucideIcon-GFZ_fxLc.js +1 -0
  444. package/editor-web/assets/{cynefin-EF2NZ3EQ-DUTZiog0.js → cynefin-EF2NZ3EQ-gzkai_7-.js} +1 -1
  445. package/editor-web/assets/{cynefinDiagram-WF24UDRP-oAjpfbrU.js → cynefinDiagram-WF24UDRP-DtSekSr6.js} +1 -1
  446. package/editor-web/assets/{dagre-NK4GIZVX-BrKvKCvb.js → dagre-NK4GIZVX-CiUwYVT6.js} +1 -1
  447. package/editor-web/assets/{diagram-CBK3MWTC-GekVRnmm.js → diagram-CBK3MWTC-r9XHCV-k.js} +1 -1
  448. package/editor-web/assets/{diagram-I5XIIV2D-CDd1VFRT.js → diagram-I5XIIV2D-DxVsDZ34.js} +1 -1
  449. package/editor-web/assets/{diagram-ODIL2UCW-535RISTn.js → diagram-ODIL2UCW-B0eNQoHV.js} +1 -1
  450. package/editor-web/assets/{diagram-PFBEJUXE-MXzzKCGG.js → diagram-PFBEJUXE-C7f2MfJT.js} +1 -1
  451. package/editor-web/assets/{diagram-RJA3I4VV-vKVwkQxY.js → diagram-RJA3I4VV-CSXcnvct.js} +1 -1
  452. package/editor-web/assets/{diagram-TYUNFSNR-UwGAiQLx.js → diagram-TYUNFSNR-DXzOD_ii.js} +1 -1
  453. package/editor-web/assets/dist-BGRwhCQO.js +1 -0
  454. package/editor-web/assets/{dist-9ymlIMhr.js → dist-BW4X7BrF.js} +1 -1
  455. package/editor-web/assets/dist-BgDRE85b.js +2 -0
  456. package/editor-web/assets/dist-Blq5nJnU.js +24 -0
  457. package/editor-web/assets/dist-BuWaZ3Y4.js +274 -0
  458. package/editor-web/assets/dist-C1emZ9wX.js +37 -0
  459. package/editor-web/assets/dist-CC7OeU1e.js +6 -0
  460. package/editor-web/assets/dist-CX-fiPSn.js +38 -0
  461. package/editor-web/assets/dist-C_VvG-_9.js +5 -0
  462. package/editor-web/assets/dist-Ce7HrBxv.js +3 -0
  463. package/editor-web/assets/dist-D2k6w-_a.js +1 -0
  464. package/editor-web/assets/dist-DDv_SbKw.js +84 -0
  465. package/editor-web/assets/dist-DEoEO4zs.js +1 -0
  466. package/editor-web/assets/dist-DlDxxPIP.js +16 -0
  467. package/editor-web/assets/dist-Gz6NDS0J.js +4 -0
  468. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-73yGokYa.js → ebnfDiagram-V4P3TTPT-Cs4YRvDD.js} +1 -1
  469. package/editor-web/assets/{elk-QONTBCTQ-BW6V9y6a.js → elk-QONTBCTQ-Bh3LZ9WI.js} +1 -1
  470. package/editor-web/assets/{erDiagram-KYQIGQAA-BPqIJ22h.js → erDiagram-KYQIGQAA-C4vYTYXp.js} +1 -1
  471. package/editor-web/assets/{eventmodeling-K75KTNOO-_VZ8jvuy.js → eventmodeling-K75KTNOO-BN1kkHWS.js} +1 -1
  472. package/editor-web/assets/flowDiagram-IUGLLWBU-B04NGsyi.js +1 -0
  473. package/editor-web/assets/{ganttDiagram-R7GPNTJY-DZ157JN2.js → ganttDiagram-R7GPNTJY-CA1LkkC5.js} +1 -1
  474. package/editor-web/assets/{gitGraph-VSP46ZUC-fmcNL9bq.js → gitGraph-VSP46ZUC-Dy5tA7dG.js} +1 -1
  475. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-DiZDyksR.js → gitGraphDiagram-PDYL7XHY-hJIB8EkH.js} +1 -1
  476. package/editor-web/assets/hint-B8JpEypy.js +1 -0
  477. package/editor-web/assets/index-CgB5osVc.js +28 -0
  478. package/editor-web/assets/index-Daytem9N.css +2 -0
  479. package/editor-web/assets/{info-OHQRW6UA-V06620kN.js → info-OHQRW6UA-DvzSf7rQ.js} +1 -1
  480. package/editor-web/assets/{infoDiagram-MVDRKAX5-CbIgheWX.js → infoDiagram-MVDRKAX5-BjIMm4Af.js} +1 -1
  481. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-D5oJQPkG.js → ishikawaDiagram-HPEHV2GE-Bpz71S40.js} +1 -1
  482. package/editor-web/assets/{italic-CDhZKo_q.js → italic-D10w8n6C.js} +1 -1
  483. package/editor-web/assets/{journeyDiagram-BOSHW7O7-BZEv6JI4.js → journeyDiagram-BOSHW7O7-DAB-pZjD.js} +1 -1
  484. package/editor-web/assets/{kanban-definition-FNSA4HC5-CLG1R8y_.js → kanban-definition-FNSA4HC5-cYeyh3P6.js} +1 -1
  485. package/editor-web/assets/katex-5Z2zF-9g.js +257 -0
  486. package/editor-web/assets/link-BC5xK1-1.js +1 -0
  487. package/editor-web/assets/{mermaid-parser.core-DxDwXM7z.js → mermaid-parser.core-req5LE0X.js} +3 -3
  488. package/editor-web/assets/{mermaid.core-tU55ZwVG.js → mermaid.core-zFwZug4C.js} +4 -4
  489. package/editor-web/assets/{mindmap-definition-6OY57UG3-CYf4zzAh.js → mindmap-definition-6OY57UG3-TStWb7DG.js} +1 -1
  490. package/editor-web/assets/minus-DaWs5i8B.js +1 -0
  491. package/editor-web/assets/{packet-JDAUHWVQ-DsHeKYNL.js → packet-JDAUHWVQ-smFhVKcB.js} +1 -1
  492. package/editor-web/assets/palette-BIOudGkm.js +1 -0
  493. package/editor-web/assets/{pegDiagram-ECIUJNBX-CQyh6TTa.js → pegDiagram-ECIUJNBX-DvSNRv0-.js} +1 -1
  494. package/editor-web/assets/{pie-XZMESJXO-3vCIvpNB.js → pie-XZMESJXO-qjaGsBZG.js} +1 -1
  495. package/editor-web/assets/{pieDiagram-GNMPY74T-DF5yGBLn.js → pieDiagram-GNMPY74T-Dd9P-Pdc.js} +1 -1
  496. package/editor-web/assets/play-CrMmPghG.js +1 -0
  497. package/editor-web/assets/progress-DE4C5_3x.js +6 -0
  498. package/editor-web/assets/props-form-CsmDBqzy.js +1 -0
  499. package/editor-web/assets/{quadrantDiagram-D57K4MC3-B7pxlDYP.js → quadrantDiagram-D57K4MC3-h2IIKUUA.js} +1 -1
  500. package/editor-web/assets/{radar-ABXABTNO-cpEA41mL.js → radar-ABXABTNO-DlVrSA1d.js} +1 -1
  501. package/editor-web/assets/{railroad-I3PHUGI6-BLyy5R2c.js → railroad-I3PHUGI6-nFbuLAtc.js} +1 -1
  502. package/editor-web/assets/{railroad-abnf-LNEFI6M7-Y-oyol19.js → railroad-abnf-LNEFI6M7-Daj8h2iV.js} +1 -1
  503. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-o58wHZsr.js → railroad-ebnf-DWYD2UWJ-eYJyl5PH.js} +1 -1
  504. package/editor-web/assets/{railroad-peg-JR7BVNR7-CcD3PXZ8.js → railroad-peg-JR7BVNR7-BTRhKZQq.js} +1 -1
  505. package/editor-web/assets/{railroadDiagram-Y72NRBL7-BuCC4eyy.js → railroadDiagram-Y72NRBL7-CeLGUjdp.js} +1 -1
  506. package/editor-web/assets/react-WA6wlt8S.js +1 -0
  507. package/editor-web/assets/{repeat-2-C5PCbNsg.js → repeat-2-VQP1EVOZ.js} +1 -1
  508. package/editor-web/assets/{requirementDiagram-EQYSW5RA-Dp-JFGn4.js → requirementDiagram-EQYSW5RA-Dmk9XRM5.js} +1 -1
  509. package/editor-web/assets/row-BRlEWRrK.js +1 -0
  510. package/editor-web/assets/{sankeyDiagram-SY24JHO5-rYuCqEvw.js → sankeyDiagram-SY24JHO5-Yn4zlrAM.js} +1 -1
  511. package/editor-web/assets/schemas-VikZYZIK.js +1 -0
  512. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-DryW8x6d.js → sequenceDiagram-BLEHNHQU-BTRnp_PW.js} +1 -1
  513. package/editor-web/assets/session-Do9AqS38.js +1 -0
  514. package/editor-web/assets/slides-diTEQ3C5.js +1 -0
  515. package/editor-web/assets/snapshots-BUGlKQIB.js +56 -0
  516. package/editor-web/assets/sound-Bj3o9_Fa.js +1 -0
  517. package/editor-web/assets/split-CNU1RHcX.js +3 -0
  518. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js → stateDiagram-v2-A6IESKWZ-kstrRKv2.js} +1 -1
  519. package/editor-web/assets/{strikethrough-DJckA35o.js → strikethrough-CfXx6IYH.js} +1 -1
  520. package/editor-web/assets/{svg-BjM9RazX.js → svg-Cx50MpxK.js} +1 -1
  521. package/editor-web/assets/swatch-WeJD41aW.js +1 -0
  522. package/editor-web/assets/{swimlanes-B3ENRKFQ-BiRRhhbd.js → swimlanes-B3ENRKFQ-DaZsZkeP.js} +1 -1
  523. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-CBZAujYY.js +8 -0
  524. package/editor-web/assets/switch-N0G_sbqt.js +1 -0
  525. package/editor-web/assets/syntax-BVsgRJ4I.js +66 -0
  526. package/editor-web/assets/syntax-oWsKBWFw.js +1 -0
  527. package/editor-web/assets/table-B6hVZAMi.js +1 -0
  528. package/editor-web/assets/tabs-DIFDqj-l.js +1 -0
  529. package/editor-web/assets/{textarea-BGtPqZdB.js → textarea-tEWvBY9p.js} +1 -1
  530. package/editor-web/assets/{timeline-definition-JXYKGLGB-D-Q5ZtDF.js → timeline-definition-JXYKGLGB-CLCvY-Yf.js} +1 -1
  531. package/editor-web/assets/{trash-2-Bjj6cWzP.js → trash-2-BP6nqpg2.js} +1 -1
  532. package/editor-web/assets/{treeView-D4JQ5SDB-B6DDatXq.js → treeView-D4JQ5SDB-BmN0gwdC.js} +1 -1
  533. package/editor-web/assets/{treemap-SAJKECNS-D7j5ZhiI.js → treemap-SAJKECNS-DN29G_E_.js} +1 -1
  534. package/editor-web/assets/{undo-2-yOSG766T.js → undo-2-CHR0nvWL.js} +1 -1
  535. package/editor-web/assets/{usecaseDiagram-WPOLBNNX-tkrdKUJB.js → usecaseDiagram-WPOLBNNX-DTRS54cB.js} +1 -1
  536. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-Ch4XbSnD.js → vennDiagram-Q3Y3IDCW-DAAc11Hx.js} +1 -1
  537. package/editor-web/assets/video-BlvmR8BK.js +1 -0
  538. package/editor-web/assets/{wardley-7MLQ67FV-Bynt7qNQ.js → wardley-7MLQ67FV-B-UYkmdB.js} +1 -1
  539. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-DRuSgm_L.js → wardleyDiagram-IVAIDKWA-BmbwCaky.js} +1 -1
  540. package/editor-web/assets/words-D_4T9Adq.js +3 -0
  541. package/editor-web/assets/words-WgdEQdYP.js +2 -0
  542. package/editor-web/assets/{xychartDiagram-4URNHDU4-DctpvfkL.js → xychartDiagram-4URNHDU4-ChAfAq1U.js} +1 -1
  543. package/editor-web/index.html +6 -5
  544. package/package.json +8 -2
  545. package/editor-web/assets/alt-BOVao_9S.js +0 -4
  546. package/editor-web/assets/article-B6YCzhj8.js +0 -73
  547. package/editor-web/assets/calc-worker-B5-fDWnb.js +0 -45
  548. package/editor-web/assets/channel-C26aBI4o.js +0 -1
  549. package/editor-web/assets/chart-BOnxneyw.js +0 -1
  550. package/editor-web/assets/choice-O5nwc2N0.js +0 -1
  551. package/editor-web/assets/collaborator-BJU5qwHd.js +0 -1
  552. package/editor-web/assets/createLucideIcon-B3B95oX5.js +0 -1
  553. package/editor-web/assets/dist-C6NqUEG4.js +0 -16
  554. package/editor-web/assets/dist-C9UGmCG9.js +0 -6
  555. package/editor-web/assets/dist-CAk5bjBm.js +0 -1
  556. package/editor-web/assets/dist-CKyfo5RM.js +0 -340
  557. package/editor-web/assets/dist-CRaWqNwq.js +0 -37
  558. package/editor-web/assets/dist-CwIBc7HQ.js +0 -1
  559. package/editor-web/assets/dist-DXRmkezB.js +0 -38
  560. package/editor-web/assets/dist-EKK5i0dG.js +0 -219
  561. package/editor-web/assets/dist-hHJlpLWo.js +0 -5
  562. package/editor-web/assets/dist-oYKcwWUj.js +0 -4
  563. package/editor-web/assets/dist-shKo7XVN.js +0 -2
  564. package/editor-web/assets/dist-wrKxBrVu.js +0 -24
  565. package/editor-web/assets/flowDiagram-IUGLLWBU-ouDQYiTr.js +0 -1
  566. package/editor-web/assets/hint-_AQWCDMj.js +0 -1
  567. package/editor-web/assets/index-BsstP-cI.js +0 -28
  568. package/editor-web/assets/index-DQRcmxBO.css +0 -2
  569. package/editor-web/assets/minus-Cgmm6ncD.js +0 -1
  570. package/editor-web/assets/progress-0B_TVsPi.js +0 -6
  571. package/editor-web/assets/react-BP46yLMB.js +0 -1
  572. package/editor-web/assets/react-pgBZqVxJ.js +0 -96
  573. package/editor-web/assets/schemas-Ewwjtbf4.js +0 -1
  574. package/editor-web/assets/session-DiI9KYRI.js +0 -1
  575. package/editor-web/assets/slides-CCwgBcGH.js +0 -1
  576. package/editor-web/assets/sound-CqryteNl.js +0 -1
  577. package/editor-web/assets/swatch-DL3HqIjW.js +0 -1
  578. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BkOls8Tv.js +0 -8
  579. package/editor-web/assets/switch-DltnKqN-.js +0 -1
  580. package/editor-web/assets/syntax-CC6QYhCz.js +0 -1
  581. package/editor-web/assets/tabs-C-re0Kxn.js +0 -1
  582. package/editor-web/assets/video-DXFiCNGc.js +0 -1
package/dist/help.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{join as j}from"node:path";import{z as y}from"zod";import{optionName as $,paramsOf as O,shapeOf as c}from"./args.js";import{GLOBAL as E,isGlobal as w,isHidden as M}from"./fields.js";import{WORKS as k,cloudNouns as D,workTitle as S}from"./works.js";const g=t=>t.description??"";function b(t,h){const i=c(h);return i.kind==="boolean"&&!i.list?`--${$(t)}`:`--${$(t)} <${i.kind==="number"?"n":"value"}${i.list?",…":""}>`}function v(t){return t===void 0?["The SDK's docs: none here. This project declares the SDK and has not installed it: run npm install.",""]:[`The SDK's docs, for the version this project builds with (read the ones a piece needs before writing it; README.md lists them): ${t}`,""]}export function listHelp(t,h,i,l){const r=["allyhub: check, render, measure and look at a project's content.","",...v(l),"Works (allyhub help <work> lists a work's commands in the order it uses them):"],d=Math.max(...k.map(n=>n.name.length));for(const n of k)r.push(` ${n.name.padEnd(d)} ${S(n,i)}`);r.push("","Commands:");const p=[...t.map(n=>({noun:n.name.split(" ")[0]??"",name:n.name,summary:n.summary})),...h.flatMap(n=>n.entries.map(a=>({noun:"<made>",...a}))),...(i??[]).map(n=>({noun:"<nouns>",...n}))],m=Math.max(...p.map(n=>n.name.length));let o="";for(const n of p)o!==""&&n.noun!==o&&r.push(""),o=n.noun,r.push(` ${n.name.padEnd(m)} ${n.summary}`);r.push("","Global options (each command lists those it takes):");const e=Object.entries(E).map(([n,a])=>[b(n,a),a.description??""]);e.push(["--json","Print the result as JSON (any command)"]);const s=Math.max(...e.map(([n])=>n.length));for(const[n,a]of e)r.push(` ${n.padEnd(s)} ${a}`);return r.push("","Environment:"," ALLYHUB_GPU=0|1 Draw on the CPU (the same pixels on every computer) or the GPU; default the GPU on a Mac"," ALLYHUB_NO_INDEX=1 Do not make face tracks and person mattes first: those layers are drawn their fallback way","","allyhub help <command> says what one does and every option it takes."),r.join(`
3
- `)}export function groupHelp(t,h){const i=Math.max(...h.map(l=>l.name.length));return[`allyhub ${t}:`,"",...h.map(l=>` ${l.name.padEnd(i)} ${l.summary}`),"","allyhub help <command> says what one does and every option it takes."].join(`
4
- `)}export function workHelp(t,h,i=[],l,r,d=[]){const p=Math.max(...t.commands.map(o=>o.length)),m=[`${t.title}: the commands, in the order the work uses them.`,""];if(t.cloud!==void 0){const o=r===void 0?[]:D(t,r);if(r===void 0)m.push("The cloud catalog could not be read: its works are not listed.");else if(o.length===0)m.push("The cloud catalog has no tools for this work yet.");else{const e=Math.max(...o.map(s=>s.name.length));m.push("The cloud catalog's works for it (allyhub <work> lists one's tools):");for(const s of o)m.push(` ${s.name.padEnd(e)} ${s.summary}`)}m.push("")}t.docs!==void 0&&t.docs.length>0&&m.push(l===void 0?`How it is written: the SDK's ${t.docs.join(", ")} (no SDK docs for this project: it declares the SDK and has not installed it; run npm install).`:`How it is written, read before writing it: ${t.docs.map(o=>j(l,o)).join(", ")}`,"");for(const o of t.commands){const e=h.find(s=>s.name===o)??i.flatMap(s=>s.entries).find(s=>s.name===o)??d.find(s=>s.name===o);m.push(` ${o.padEnd(p)} ${e?.summary??""}`)}return m.push("","allyhub help <command> says what one does and every option it takes."),m.join(`
5
- `)}export function commandHelp(t,h=[]){const i=t.input.shape,l=[...t.positional??[]],r=l.map(e=>{const s=c(i[e]??y.string()),n=i[e]?.safeParse(void 0).success??!1,a=`<${e}>${s.list?"…":""}`;return n?`[${a}]`:a}),d=O(i.params),p=Object.entries(i).filter(([e,s])=>!l.includes(e)&&!(d&&e==="params")&&!w(s)&&!M(s)),m=Object.entries(i).filter(([,e])=>w(e)).map(([e,s])=>b(e,s).split(" ")[0]??""),o=[`allyhub ${[t.name,...r,p.length>0?"[options]":""].filter(Boolean).join(" ")}`,"",t.summary];if(h.length>0&&o.push("",...h),l.length>0){o.push("","Arguments:");for(const e of l)o.push(` <${e}> ${g(i[e]??y.string())}`)}if(p.length>0){o.push("","Options:");const e=p.map(([n,a])=>{const u=c(a),f=b(n,a),x=u.fallback===void 0||u.fallback===!1?"":` (default ${JSON.stringify(u.fallback)})`;return[f,`${g(a)}${x}`]}),s=Math.max(...e.map(([n])=>n.length));for(const[n,a]of e)o.push(` ${n.padEnd(s)} ${a}`)}if(d){o.push("","Parameters (--param name=value):");const e=Object.entries(d).map(([n,a])=>{const u=c(a),f=u.fallback===void 0?"":` (default ${JSON.stringify(u.fallback)})`;return[$(n),`${g(a)}${f}`]}),s=Math.max(...e.map(([n])=>n.length));for(const[n,a]of e)o.push(` ${n.padEnd(s)} ${a}`)}if(m.length>0&&o.push("",`Global options: ${m.join(", ")} (allyhub help)`),t.examples&&t.examples.length>0){o.push("","Examples:");for(const e of t.examples)o.push(` ${e}`)}return o.join(`
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(`
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(`
6
6
  `)}
package/dist/main.js CHANGED
@@ -1,8 +1,9 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import"@allyhub/stage-runtime/use";import{EXIT as d,describeCommand as N}from"@allyhub/protocol";import{readArgs as L}from"./args.js";import{CLI_VERSION as j}from"./cli-version.js";import{CommandError as k}from"./command.js";import{COMMAND_SOURCES as H,COMMANDS as T,allCommands as P}from"./commands/index.js";import{contributedSpecs as U}from"./commands/contributed.js";import{builtInExtensions as V}from"./commands/extensions.js";import{commandHelp as W,groupHelp as X,listHelp as q,workHelp as z}from"./help.js";import{sdkDocs as B}from"./sdk-docs.js";import{WORKS as F,cloudNouns as Q,withJoined as J,workNamed as Y,workTitle as R}from"./works.js";const Z={stdout:o=>process.stdout.write(o),stderr:o=>process.stderr.write(o),cwd:process.cwd(),env:process.env};export function findCommand(o,a=T){let m;for(const c of a){const s=c.spec.name.split(" ");s.every((u,e)=>o[e]===u)&&s.length>(m?.length??0)&&(m={command:c,length:s.length})}return m?{command:m.command,rest:o.slice(m.length)}:{rest:[...o]}}export async function resolveCommand(o,a,m=T,c=H){const s=findCommand(o,m);if(s.command){const u=s.command.spec.name;if(s.rest.length>0)for(const e of c.filter(l=>l.under===u)){const l=await e.resolve(o,a);if(l)return l}return s}for(const u of c){const e=await u.resolve(o,a);if(e)return e}return s}const G=o=>({...N(o.spec),...o.about?.value});export async function main(o,a=Z,m,c=H){V();const s=m??await P(),u=o.includes("--json"),e=o.filter(n=>n!=="--json"),l=(n,t)=>{a.stdout(u?`${JSON.stringify(n,null,2)}
3
- `:`${t}
4
- `)},x=s.map(n=>n.spec),O=n=>x.filter(t=>n.length>0&&t.name.startsWith(`${n.join(" ")} `)),S=new AbortController,b={cwd:a.cwd,env:a.env,progress:n=>{a.stderr(`${n}
5
- `)},signal:S.signal};if(e[0]==="--version"||e[0]==="-v")return l({version:j},j),d.ok;if(e.length===0||e[0]==="help"||e[0]==="--help"||e[0]==="-h"){const n=e.slice(1).findIndex(r=>r.startsWith("-")),t=(n<0?e.slice(1):e.slice(1,n+1)).flatMap(r=>r.split(" ").filter(i=>i!=="")),p=await B(a.cwd).catch(()=>{}),g=async()=>{const r=await Promise.all(c.map(i=>i.nouns(b).then(_=>_.map(K=>({...K,work:i.works!==!1}))).catch(()=>{})));return r.some(i=>i===void 0)?void 0:r.flatMap(i=>i??[])},f=await U(b);if(t.length===0){const r=await g();return l({version:j,docs:p?.dir,works:F.map(i=>({...J(i,f),title:R(i,r)})),commands:x.map(N),made:[...c.flatMap(i=>i.entries),...r??[]]},q(x,c,r,p?.dir)),d.ok}const A=t.length===1?Y(t[0]??""):void 0,h=A&&J(A,f);if(h){const r=h.cloud===void 0?[]:await g();return l({...h,title:R(h,r),...h.cloud===void 0?{}:{cloudWorks:r&&Q(h,r)},docsDir:p?.dir},z(h,x,c,p?.dir,r,f)),d.ok}let C;try{C=await resolveCommand(t,b,s,c)}catch(r){return v(r)}const{command:w,rest:D}=C;if(w&&C.list===!0)return await E(w,D);const I=O(t);return!w&&I.length>0?(l({commands:I.map(N)},X(t.join(" "),I)),d.ok):!w||D.length>0?v(new k("unknown-command",`allyhub has no command "${t.join(" ")}".`,{exit:d.usage,hint:"allyhub help lists them and the works."})):(l(G(w),W(w.spec,w.about?.lines)),d.ok)}let M;try{M=await resolveCommand(e,b,s,c)}catch(n){return v(n)}const{command:y,rest:$}=M;if(!y){const n=O(e.slice(0,1));return v(new k("unknown-command",`allyhub has no command "${e.join(" ")}".`,{exit:d.usage,hint:n.length>0?`${e[0]??""} has these: ${n.map(t=>t.name).join(", ")}.`:"allyhub help lists them."}))}if($.includes("--help")||$.includes("-h"))return l(G(y),W(y.spec,y.about?.lines)),d.ok;return await E(y,$);async function E(n,t){const p=()=>{S.abort(new k("interrupted","Stopped.",{exit:d.interrupted}))};process.once("SIGINT",p);try{const g=L(n.spec,t),f=await n.run(g,b);return l(f.value,f.text),f.exit??d.ok}catch(g){return v(g)}finally{process.off("SIGINT",p)}}function v(n){const t=n instanceof k?n:S.signal.aborted?new k("interrupted","Stopped.",{exit:d.interrupted}):new k("failed",n instanceof Error?n.message:String(n));return u?a.stdout(`${JSON.stringify({error:{code:t.code,message:t.message,...t.hint?{hint:t.hint}:{}}},null,2)}
6
- `):a.stderr(`${t.message}${t.hint?`
7
- ${t.hint}`:""}
8
- `),t.exit}}
2
+ import{mkdir as U,writeFile as B}from"node:fs/promises";import{tmpdir as F}from"node:os";import{dirname as P,join as A}from"node:path";import"@allyhub/stage-runtime/use";import{EXIT as d,describeCommand as E}from"@allyhub/protocol";import{WORK_DIR as V}from"@allyhub/formats";import{projectAt as X}from"./project.js";import{cutLong as Y}from"./text/index.js";import{readArgs as q}from"./args.js";import{CLI_VERSION as j}from"./cli-version.js";import{CommandError as $}from"./command.js";import{COMMAND_SOURCES as D,COMMANDS as R,allCommands as z}from"./commands/index.js";import{contributedSpecs as Q}from"./commands/contributed.js";import{builtInExtensions as Z}from"./commands/extensions.js";import{commandHelp as T,groupHelp as tt,listHelp as nt,workHelp as et}from"./help.js";import{sdkDocs as ot}from"./sdk-docs.js";import{WORKS as rt,cloudNouns as it,withJoined as W,workNamed as st,workTitle as _}from"./works.js";const at={stdout:o=>process.stdout.write(o),stderr:o=>process.stderr.write(o),cwd:process.cwd(),env:process.env};export function findCommand(o,i=R){let u;for(const c of i){const s=c.spec.name.split(" ");s.every((w,e)=>o[e]===w)&&s.length>(u?.length??0)&&(u={command:c,length:s.length})}return u?{command:u.command,rest:o.slice(u.length)}:{rest:[...o]}}export async function resolveCommand(o,i,u=R,c=D){const s=findCommand(o,u);if(s.command){const w=s.command.spec.name;if(s.rest.length>0)for(const e of c.filter(l=>l.under===w)){const l=await e.resolve(o,i);if(l)return l}return s}for(const w of c){const e=await w.resolve(o,i);if(e)return e}return s}const J=o=>({...E(o.spec),...o.about?.value});export async function main(o,i=at,u,c=D){Z();const s=u??await z(),w=o.includes("--json"),e=o.filter(t=>t!=="--json"),l=async(t,n,p)=>{if(w){i.stdout(`${JSON.stringify(t,null,2)}
3
+ `);return}const f=await X(i.cwd),m=A(f===void 0?A(F(),"allyhub"):A(f,V),"out",`${p.replaceAll(" ","-")}.txt`),v=Y(n,m);v!==void 0&&(await U(P(m),{recursive:!0}),await B(m,`${n}
4
+ `)),i.stdout(`${v??n}
5
+ `)},I=s.map(t=>t.spec),S=t=>I.filter(n=>t.length>0&&n.name.startsWith(`${t.join(" ")} `)),x=new AbortController,b={cwd:i.cwd,env:{ALLYHUB_CLIENT:`AllyHub-CLI/${j}`,...i.env},progress:t=>{i.stderr(`${t}
6
+ `)},signal:x.signal};if(e[0]==="--version"||e[0]==="-v")return await l({version:j},j,"version"),d.ok;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(a=>a!=="")),p=await ot(i.cwd).catch(()=>{}),f=async()=>{const r=await Promise.all(c.map(a=>a.nouns(b).then(G=>G.map(K=>({...K,work:a.works!==!1}))).catch(()=>{})));return r.some(a=>a===void 0)?void 0:r.flatMap(a=>a??[])},m=await Q(b);if(n.length===0){const r=await f();return await l({version:j,docs:p?.dir,works:rt.map(a=>({...W(a,m),title:_(a,r)})),commands:I.map(E),made:[...c.flatMap(a=>a.entries),...r??[]]},nt(I,c,r,p?.dir),"help"),d.ok}const v=n.length===1?st(n[0]??""):void 0,k=v&&W(v,m);if(k){const r=k.cloud===void 0?[]:await f();return await l({...k,title:_(k,r),...k.cloud===void 0?{}:{cloudWorks:r&&it(k,r)},docsDir:p?.dir},et(k,I,c,p?.dir,r,m),`help ${n.join(" ")}`),d.ok}let N;try{N=await resolveCommand(n,b,s,c)}catch(r){return y(r)}const{command:h,rest:L}=N;if(h&&N.list===!0)return await H(h,L);const O=S(n);return!h&&O.length>0?(await l({commands:O.map(E)},tt(n.join(" "),O),`help ${n.join(" ")}`),d.ok):!h||L.length>0?y(new $("unknown-command",`allyhub has no command "${n.join(" ")}".`,{exit:d.usage,hint:"allyhub help lists them and the works."})):(await l(J(h),T(h.spec,h.about?.lines,S(h.spec.name.split(" "))),`help ${h.spec.name}`),d.ok)}let M;try{M=await resolveCommand(e,b,s,c)}catch(t){return y(t)}const{command:g,rest:C}=M;if(!g){const t=S(e.slice(0,1));return y(new $("unknown-command",`allyhub has no command "${e.join(" ")}".`,{exit:d.usage,hint:t.length>0?`${e[0]??""} has these: ${t.map(n=>n.name).join(", ")}.`:"allyhub help lists them."}))}if(C.includes("--help")||C.includes("-h"))return await l(J(g),T(g.spec,g.about?.lines,S(g.spec.name.split(" "))),`${g.spec.name} help`),d.ok;return await H(g,C);async function H(t,n){const p=()=>{x.abort(new $("interrupted","Stopped.",{exit:d.interrupted}))};process.once("SIGINT",p);try{const f=q(t.spec,n),m=await t.run(f,b);return await l(m.value,m.text,t.spec.name),m.exit??d.ok}catch(f){return y(f)}finally{process.off("SIGINT",p)}}function y(t){const n=t instanceof $?t:x.signal.aborted?new $("interrupted","Stopped.",{exit:d.interrupted}):new $("failed",t instanceof Error?t.message:String(t));return w?i.stdout(`${JSON.stringify({error:{code:n.code,message:n.message,...n.hint?{hint:n.hint}:{}}},null,2)}
7
+ `):i.stderr(`${n.message}${n.hint?`
8
+ ${n.hint}`:""}
9
+ `),n.exit}}
@@ -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 i}from"node:path";import{BAKE_DIR as c}from"@allyhub/formats";import{SCENERY_STAGE as w,sceneryHref as a}from"@allyhub/scenery-host/bundle";import{bakesOnDisk as m}from"@allyhub/scenery-host/stage";import{BAKES_FOLDER as h,SCENERY_FOLDER as f,sourceName as E}from"./tree.js";const b=/^[0-9a-f]+\.[a-z0-9-]+\.bin$/u,u=e=>i(e.dir,w);function d(e,o){const n=e.kept("sceneries",()=>new Map),t=n.get(o);if(t?.revision===e.revision)return t.promise;const r=(async()=>{const{bundle:s,media:l}=await e.view(o,e.dir);return{module:a(s.module),decoders:a(s.decoders),manifoldWasm:a(s.manifoldWasm),output:s.output.map(a),media:l}})();return n.set(o,{revision:e.revision,promise:r}),r.catch(()=>{n.get(o)?.promise===r&&n.delete(o)}),r}async function p(e,o){const n=await d(e,o),t=r=>`${f}${r}`;return{module:t(n.module),decoders:t(n.decoders),manifoldWasm:t(n.manifoldWasm),bakes:[...await m(e.root)]}}const y=e=>new TextEncoder().encode(JSON.stringify(e)),v={[f]:{async serve(e,o){const n=E(e.path);if(n===void 0)return e.file(u(o),e.path);if(o.inProject(n)===void 0)return new Response("No such scenery.",{status:404,headers:{"content-type":"text/plain; charset=UTF-8"}});const t=await d(o,n);return o.allowMedia(t.media),Response.json(await p(o,n),{headers:{"cache-control":"no-store"}})},async recordItem(e,o,n){const t=await d(n,e).catch(()=>{});if(!t)return;const r=u(n);for(const s of t.output)o.file(s,i(r,s));await o.folder(t.decoders,i(r,t.decoders)),o.file(t.manifoldWasm,i(r,t.manifoldWasm)),o.bytes(`sources/${encodeURIComponent(e)}.json`,y(await p(n,e)));for(const s of t.media)o.media(s)}},[h]:{serve(e,o){return b.test(e.path)?e.file(i(o.root,c),e.path):Promise.resolve(void 0)},async record(e,o){for(const n of await m(o.root))e.file(`${n}.bin`,i(o.root,c,`${n}.bin`))}}};export default v;
2
+ import{join as i}from"node:path";import{BAKE_DIR as c}from"@allyhub/formats";import{SCENERY_STAGE as w,sceneryHref as a}from"@allyhub/scenery-host/bundle";import{bakesOnDisk as m}from"@allyhub/scenery-host/stage";import{BAKES_FOLDER as h,SCENERY_FOLDER as u,sourceName as E}from"./tree.js";const b=/^[0-9a-f]+\.[a-z0-9-]+\.bin$/u,f=e=>i(e.dir,w);function d(e,o){const n=e.kept("sceneries",()=>new Map),t=n.get(o);if(t?.revision===e.revision)return t.promise;const r=(async()=>{const{bundle:s,media:l}=await e.view(o,e.dir);return e.recordInputs(o,"viewer",[o,...s.files]),{module:a(s.module),decoders:a(s.decoders),manifoldWasm:a(s.manifoldWasm),output:s.output.map(a),media:l}})();return n.set(o,{revision:e.revision,promise:r}),r.catch(()=>{n.get(o)?.promise===r&&n.delete(o)}),r}async function p(e,o){const n=await d(e,o),t=r=>`${u}${r}`;return{module:t(n.module),decoders:t(n.decoders),manifoldWasm:t(n.manifoldWasm),bakes:[...await m(e.root)]}}const v=e=>new TextEncoder().encode(JSON.stringify(e)),y={[u]:{async serve(e,o){const n=E(e.path);if(n===void 0)return e.file(f(o),e.path);if(o.inProject(n)===void 0)return new Response("No such scenery.",{status:404,headers:{"content-type":"text/plain; charset=UTF-8"}});const t=await d(o,n);return o.allowMedia(t.media),Response.json(await p(o,n),{headers:{"cache-control":"no-store"}})},async recordItem(e,o,n){const t=await d(n,e).catch(()=>{});if(!t)return;const r=f(n);for(const s of t.output)o.file(s,i(r,s));await o.folder(t.decoders,i(r,t.decoders)),o.file(t.manifoldWasm,i(r,t.manifoldWasm)),o.bytes(`sources/${encodeURIComponent(e)}.json`,v(await p(n,e)));for(const s of t.media)o.media(s)}},[h]:{serve(e,o){return b.test(e.path)?e.file(i(o.root,c),e.path):Promise.resolve(void 0)},async record(e,o){for(const n of await m(o.root))e.file(`${n}.bin`,i(o.root,c,`${n}.bin`))}}};export default y;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/3d-extension",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./tools": {
@@ -46,6 +46,20 @@
46
46
  },
47
47
  "noun": "3D scenery",
48
48
  "editor": "allyhub.3d.viewer",
49
+ "shown": {
50
+ "line": {
51
+ "en": "3D scenes, drawn from any camera",
52
+ "zh-cn": "3D 场景,任意机位渲染",
53
+ "zh-tw": "3D 場景,任意機位渲染",
54
+ "ja": "どのカメラからも描ける 3D シーン",
55
+ "ko": "어느 카메라에서든 그리는 3D 장면",
56
+ "es": "Escenas 3D, vistas desde cualquier cámara",
57
+ "pt": "Cenas 3D, de qualquer câmera",
58
+ "de": "3D-Szenen, aus jeder Kamera gezeichnet",
59
+ "fr": "Scènes 3D, vues de n'importe quelle caméra"
60
+ },
61
+ "order": 80
62
+ },
49
63
  "icon": "box",
50
64
  "color": "kind-slate",
51
65
  "build": "./dist/scenery-build.js"
@@ -76,6 +90,20 @@
76
90
  },
77
91
  "noun": "3D model",
78
92
  "editor": "allyhub.3d.viewer",
93
+ "shown": {
94
+ "line": {
95
+ "en": "3D models, measured and lit",
96
+ "zh-cn": "3D 模型,精确尺寸与光照",
97
+ "zh-tw": "3D 模型,精確尺寸與光照",
98
+ "ja": "寸法と照明を持つ 3D モデル",
99
+ "ko": "치수와 조명을 갖춘 3D 모델",
100
+ "es": "Modelos 3D, medidos e iluminados",
101
+ "pt": "Modelos 3D, medidos e iluminados",
102
+ "de": "3D-Modelle, vermessen und beleuchtet",
103
+ "fr": "Modèles 3D, mesurés et éclairés"
104
+ },
105
+ "order": 81
106
+ },
79
107
  "icon": "cylinder",
80
108
  "color": "kind-slate",
81
109
  "exports": {
@@ -102,7 +130,11 @@
102
130
  "scenery",
103
131
  "model"
104
132
  ],
105
- "module": "@allyhub/scenery-viewer"
133
+ "module": "@allyhub/scenery-viewer",
134
+ "markup": [
135
+ "./markup/scenery",
136
+ "./markup/model"
137
+ ]
106
138
  }
107
139
  ],
108
140
  "buildPlugins": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/audio",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -0,0 +1,29 @@
1
+ /**
2
+ * An emoji as Unicode writes one: a flag (two regional letters), a keycap,
3
+ * or a pictograph shown as an emoji (by default or with VS16), with a skin
4
+ * tone, joined to others by ZWJ. A pattern's source, for `u` and `g`.
5
+ */
6
+ export declare const EMOJI_PATTERN = "\\p{RI}\\p{RI}|[#*0-9]\\uFE0F?\\u20E3|(?:\\p{Emoji_Presentation}|\\p{Extended_Pictographic}\\uFE0F)\\p{EMod}?(?:\\u200D(?:\\p{Emoji_Presentation}|\\p{Extended_Pictographic}\\uFE0F?)\\p{EMod}?)*";
7
+ /** How an emoji picture sits on its line: an em square, as Twemoji sets one. */
8
+ export declare const EMOJI_PICTURE_STYLE = "display:inline;width:1em;height:1em;margin:0 0.05em;vertical-align:-0.12em";
9
+ export interface EmojiPicturesOptions {
10
+ /** A selector of the part of the page whose emoji are drawn; default the body. */
11
+ scope?: string;
12
+ /**
13
+ * The face to draw them in (`"Noto Color Emoji"`), loaded first: a page
14
+ * without it keeps its emoji as text. Default the face each emoji's own
15
+ * text is set in, as the page draws it.
16
+ */
17
+ face?: string;
18
+ /** The pictures' pixels a side. */
19
+ size?: number;
20
+ }
21
+ /** The pictures' pixels a side, by default: sharp at a large heading's size. */
22
+ export declare const EMOJI_PICTURE_SIZE = 128;
23
+ /**
24
+ * An expression that, evaluated in a page, draws its emoji as pictures and
25
+ * resolves when the pictures are decoded (`page.evaluate`, or a page's own
26
+ * `<script>`).
27
+ */
28
+ export declare function emojiPicturesScript(o?: EmojiPicturesOptions): string;
29
+ //# sourceMappingURL=emoji.d.ts.map
@@ -0,0 +1,57 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export const EMOJI_PATTERN="\\p{RI}\\p{RI}|[#*0-9]\\uFE0F?\\u20E3|(?:\\p{Emoji_Presentation}|\\p{Extended_Pictographic}\\uFE0F)\\p{EMod}?(?:\\u200D(?:\\p{Emoji_Presentation}|\\p{Extended_Pictographic}\\uFE0F?)\\p{EMod}?)*",EMOJI_PICTURE_STYLE="display:inline;width:1em;height:1em;margin:0 0.05em;vertical-align:-0.12em",EMOJI_PICTURE_SIZE=128;export function emojiPicturesScript(e={}){const t=JSON.stringify(e.scope??"body"),n=e.face===void 0?"undefined":JSON.stringify(e.face),a=String(e.size??128);return`(async () => {
3
+ const pattern = new RegExp(${JSON.stringify(EMOJI_PATTERN)}, "gu");
4
+ const root = document.querySelector(${t});
5
+ if (!root) return;
6
+ const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT);
7
+ const nodes = [];
8
+ for (let n = walker.nextNode(); n; n = walker.nextNode()) {
9
+ pattern.lastIndex = 0;
10
+ const p = n.parentElement;
11
+ if (p && !p.closest("script, style, textarea, title") && pattern.test(n.data)) nodes.push(n);
12
+ }
13
+ pattern.lastIndex = 0;
14
+ if (nodes.length === 0) return;
15
+ const face = ${n};
16
+ if (face !== undefined) {
17
+ const all = nodes.map((n) => n.data.match(pattern).join("")).join("");
18
+ const faces = await document.fonts.load("64px " + JSON.stringify(face), all).catch(() => []);
19
+ if (faces.length === 0) return;
20
+ }
21
+ await document.fonts.ready;
22
+ const size = ${a};
23
+ const canvas = document.createElement("canvas");
24
+ canvas.width = canvas.height = size;
25
+ const ctx = canvas.getContext("2d");
26
+ ctx.textAlign = "center";
27
+ ctx.textBaseline = "middle";
28
+ const drawn = new Map();
29
+ const picture = (e, family) => {
30
+ const key = family + "\\u0000" + e;
31
+ if (!drawn.has(key)) {
32
+ ctx.clearRect(0, 0, size, size);
33
+ ctx.font = (size * 0.86) + "px " + family;
34
+ ctx.fillText(e, size / 2, size / 2);
35
+ drawn.set(key, canvas.toDataURL("image/png"));
36
+ }
37
+ const img = document.createElement("img");
38
+ img.className = "emoji";
39
+ img.alt = e;
40
+ img.setAttribute("style", ${JSON.stringify(EMOJI_PICTURE_STYLE)});
41
+ img.src = drawn.get(key);
42
+ return img;
43
+ };
44
+ for (const n of nodes) {
45
+ const family = face !== undefined ? JSON.stringify(face) : getComputedStyle(n.parentElement).fontFamily;
46
+ const parts = [];
47
+ let at = 0;
48
+ for (const m of n.data.matchAll(pattern)) {
49
+ if (m.index > at) parts.push(document.createTextNode(n.data.slice(at, m.index)));
50
+ parts.push(picture(m[0], family));
51
+ at = m.index + m[0].length;
52
+ }
53
+ if (at < n.data.length) parts.push(document.createTextNode(n.data.slice(at)));
54
+ n.replaceWith(...parts);
55
+ }
56
+ await Promise.all([...root.querySelectorAll("img.emoji")].map((i) => i.decode().catch(() => undefined)));
57
+ })()`}
@@ -0,0 +1,18 @@
1
+ import type { Page } from "./page.js";
2
+ /** The page's whole height now, CSS pixels. */
3
+ export declare const pageHeight: (page: Page) => Promise<number>;
4
+ /**
5
+ * The whole page as one PNG, from its top, at the page's width and device
6
+ * scale; `clip` a part of it, CSS pixels. Its size in pixels beside it.
7
+ */
8
+ export declare function pagePicture(page: Page, clip?: {
9
+ x: number;
10
+ y: number;
11
+ width: number;
12
+ height: number;
13
+ }): Promise<{
14
+ png: Buffer;
15
+ width: number;
16
+ height: number;
17
+ }>;
18
+ //# sourceMappingURL=picture.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{blankImage as m,pasteImage as u,readPng as g,writePng as f}from"@allyhub/measure";const w=16e3;export const pageHeight=t=>t.evaluate("Math.max(document.documentElement.scrollHeight, document.body ? document.body.scrollHeight : 0)").then(a=>Math.max(1,Math.ceil(a)));export async function pagePicture(t,a){const e=a??{x:0,y:0,width:t.width,height:await pageHeight(t)},r=Math.max(1,Math.floor(w/Math.max(1,t.scale))),n=[];for(let o=0;o<e.height;o+=r){const h=await t.session.send("Page.captureScreenshot",{format:"png",clip:{x:e.x,y:e.y+o,width:e.width,height:Math.min(r,e.height-o),scale:1},captureBeyondViewport:!0,fromSurface:!0});n.push(Buffer.from(h.data,"base64"))}const c=Math.round(e.width*t.scale),i=Math.round(e.height*t.scale),s=n[0];if(n.length===1&&s)return{png:s,width:c,height:i};const d=m(c,i,[255,255,255,255]);let l=0;for(const o of n){const h=g(o);u(d,h,0,l),l+=h.height}return{png:f(d),width:c,height:i}}
@@ -1,11 +1,19 @@
1
1
  {
2
2
  "name": "@allyhub/browser",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
8
8
  "default": "./dist/index.js"
9
+ },
10
+ "./emoji": {
11
+ "types": "./dist/emoji.d.ts",
12
+ "default": "./dist/emoji.js"
13
+ },
14
+ "./picture": {
15
+ "types": "./dist/picture.d.ts",
16
+ "default": "./dist/picture.js"
9
17
  }
10
18
  },
11
19
  "private": true,
@@ -7,6 +7,7 @@ export { mergeScript, pieceLocales, readScripts, readMessages, type ProjectMessa
7
7
  export { MAX_DATA_BYTES, isDataFile, parseCsv, parseData, readData, } from "./data.js";
8
8
  export type { DocComponent, DocInfo, SheetInfo } from "./content.js";
9
9
  export { itemKindBuild, kindBuildOf, type ComponentAsk, type ComponentMeasures, type ComponentDraw, type ExportParams, type Found, type LayerMeasures, type PieceCheck, type PieceChecked, type VersionAt, type VersionPasses, type VersionsChecked, type ExportSession, type ItemExport, type ItemFailure, type ItemMade, type ItemNotMade, type ItemRead, type ItemWork, type KindBuild, type KindBuildContext, type MadeFacts, type StageEntry, type StageVersion, type UseAsk, type ComboWhole, type ConfigPart, type ConfigRead, type PartDraws, type PartStillAsk, type VersionResult, } from "./kind-build.js";
10
+ export { madeNotes } from "./made-notes.js";
10
11
  export { FACTS_HEAD, MOMENTS, PROJECT_DIR, STRETCH, VERSION_FIELDS, allFindings, defineView, type InspectView, type InspectViews, type PageReport, type VersionInput, type ViewContext, type ViewResult, } from "./inspect-view.js";
11
12
  export { fileCheckOf, fileProblems, listedFileProblems, type FileCheck, type FileCheckContext, } from "./file-check.js";
12
13
  export { FRESH, defineCliCommand, existingFile, fromMedia, media, parameters, progressLines, sizeOf, type CliCommand, type CliCommands, type CommandContext, type CommandResult, type ProjectSession, } from "./cli-command.js";
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export{dependenciesOf,listFiles}from"./files.js";export{listWork,projectItems,readWork,unlistedWork}from"./work.js";export{moveEdits,movedPath,referencesOf,referringFiles}from"./move-refs.js";export{bundleForStage,compileErrorOf,createModuleLoader,createStageDevServer,loadUserVite}from"./vite.js";export{nodeStackPlace,placeFinder}from"./places.js";export{mergeScript,pieceLocales,readScripts,readMessages}from"./messages.js";export{MAX_DATA_BYTES,isDataFile,parseCsv,parseData,readData}from"./data.js";export{itemKindBuild,kindBuildOf}from"./kind-build.js";export{FACTS_HEAD,MOMENTS,PROJECT_DIR,STRETCH,VERSION_FIELDS,allFindings,defineView}from"./inspect-view.js";export{fileCheckOf,fileProblems,listedFileProblems}from"./file-check.js";export{FRESH,defineCliCommand,existingFile,fromMedia,media,parameters,progressLines,sizeOf}from"./cli-command.js";export{defineProjectTool}from"./project-tool.js";export{projectAt,projectOfFile,projectRoot}from"./project-root.js";export{buildPluginModules,nodeLending,sdkBindingsOf,sdkEntriesOf,stageAdditions}from"./build-plugins.js";export{deckReferences,referenceModule}from"./references.js";export{messagePrefix,parseComponentRef,readPropsText,resolveDims}from"@allyhub/piece";export{readMedia}from"./media.js";export{modelInfo}from"./model-info.js";export{takeVoice}from"./takes.js";export{resolveMatrix}from"./matrix.js";export{FONTS_MODULE,fontStyles,fontsDigest,fontsModule}from"./fonts.js";export{SDK,checkImports,discover,lineAt,packageName,parse,walk}from"./scan.js";export{allyhubPlugin,boundEntry,mediaHref}from"./plugin.js";export{MetaLoader}from"./meta.js";export{besideModule,fromFolder,plain}from"./evaluate.js";export{MESSAGE_TYPES,messageTypes,writeMessageTypes}from"./types.js";export{BUILD_FOLDER,inTime,issuesText,itemProblem,loadFailure,prepare,sourceOf,stageId,stageItem,stageName}from"./prepare.js";export{codeOf}from"./code.js";export{ProjectError,StuckError}from"./version.js";export{generatedFile,generatedPagedFact,mismatchFacts,secondsOf}from"./generated.js";export{resolveUses,splitReference,usesInOrder}from"./uses.js";
2
+ export{dependenciesOf,listFiles}from"./files.js";export{listWork,projectItems,readWork,unlistedWork}from"./work.js";export{moveEdits,movedPath,referencesOf,referringFiles}from"./move-refs.js";export{bundleForStage,compileErrorOf,createModuleLoader,createStageDevServer,loadUserVite}from"./vite.js";export{nodeStackPlace,placeFinder}from"./places.js";export{mergeScript,pieceLocales,readScripts,readMessages}from"./messages.js";export{MAX_DATA_BYTES,isDataFile,parseCsv,parseData,readData}from"./data.js";export{itemKindBuild,kindBuildOf}from"./kind-build.js";export{madeNotes}from"./made-notes.js";export{FACTS_HEAD,MOMENTS,PROJECT_DIR,STRETCH,VERSION_FIELDS,allFindings,defineView}from"./inspect-view.js";export{fileCheckOf,fileProblems,listedFileProblems}from"./file-check.js";export{FRESH,defineCliCommand,existingFile,fromMedia,media,parameters,progressLines,sizeOf}from"./cli-command.js";export{defineProjectTool}from"./project-tool.js";export{projectAt,projectOfFile,projectRoot}from"./project-root.js";export{buildPluginModules,nodeLending,sdkBindingsOf,sdkEntriesOf,stageAdditions}from"./build-plugins.js";export{deckReferences,referenceModule}from"./references.js";export{messagePrefix,parseComponentRef,readPropsText,resolveDims}from"@allyhub/piece";export{readMedia}from"./media.js";export{modelInfo}from"./model-info.js";export{takeVoice}from"./takes.js";export{resolveMatrix}from"./matrix.js";export{FONTS_MODULE,fontStyles,fontsDigest,fontsModule}from"./fonts.js";export{SDK,checkImports,discover,lineAt,packageName,parse,walk}from"./scan.js";export{allyhubPlugin,boundEntry,mediaHref}from"./plugin.js";export{MetaLoader}from"./meta.js";export{besideModule,fromFolder,plain}from"./evaluate.js";export{MESSAGE_TYPES,messageTypes,writeMessageTypes}from"./types.js";export{BUILD_FOLDER,inTime,issuesText,itemProblem,loadFailure,prepare,sourceOf,stageId,stageItem,stageName}from"./prepare.js";export{codeOf}from"./code.js";export{ProjectError,StuckError}from"./version.js";export{generatedFile,generatedPagedFact,mismatchFacts,secondsOf}from"./generated.js";export{resolveUses,splitReference,usesInOrder}from"./uses.js";
@@ -252,6 +252,13 @@ export interface MadeFacts {
252
252
  readonly what: string;
253
253
  readonly layer?: string;
254
254
  }[];
255
+ /**
256
+ * What else the file holds otherwise than as the item is drawn, a line
257
+ * each, where `fidelity`'s layers do not say it: what the format cannot
258
+ * hold (Excel's), what was cut (a picture's rows past its most), what
259
+ * runs past the paper.
260
+ */
261
+ readonly notes?: readonly string[];
255
262
  }
256
263
  /** A file of a type a kind's module made: every file written (one, or a PNG a page), its own first. */
257
264
  export interface ItemMade extends MadeFacts {
@@ -0,0 +1,9 @@
1
+ import type { MadeFacts } from "./kind-build.js";
2
+ /**
3
+ * The lines of what the files hold otherwise than as drawn, each said
4
+ * once: what could not be measured, what was chosen to make a file as
5
+ * asked, each kind of difference with the layers it is of, a font left
6
+ * out, and a kind's own notes.
7
+ */
8
+ export declare function madeNotes(files: readonly MadeFacts[]): string[];
9
+ //# sourceMappingURL=made-notes.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ const s={approximate:"Drawn its own way by the file's application",pixels:"As pixels in the file",omitted:"Not in the file"};function h(n){if(n.length===0)return"";const o=n.length>4?` and ${String(n.length-4)} more`:"";return` (${n.slice(0,4).join(", ")}${o})`}export function madeNotes(n){const o=new Map;for(const e of n)for(const t of e.fidelity??[]){const i=`${t.how}|${t.what}`,a=o.get(i)??{how:t.how,what:t.what,layers:[]};t.layer!==void 0&&!a.layers.includes(t.layer)&&a.layers.push(t.layer),o.set(i,a)}return[...new Set([...n.flatMap(e=>(e.missing??[]).map(t=>`Not measured: ${t}`)),...n.flatMap(e=>(e.chosen??[]).map(t=>`Chosen: ${t}`)),...[...o.values()].map(e=>`${s[e.how]}: ${e.what}${h(e.layers)}`),...n.flatMap(e=>(e.fontsLeft??[]).map(t=>`Not in the file: ${t.font} (${t.why}); PowerPoint shows another font where it is not installed.`)),...n.flatMap(e=>e.notes??[])])]}
@@ -104,6 +104,23 @@ export interface ProjectToolContext {
104
104
  readonly env: NodeJS.ProcessEnv;
105
105
  /** A port on the loopback a tool's process listens on, made reachable from the person's page until disposed. */
106
106
  forward(port: number): ForwardedPort;
107
+ /**
108
+ * The address of an item's page (`items/page`): `folder` (a project
109
+ * path, default the project's) served as the root of an origin of its
110
+ * own, the project's files alone; `file` (default the item's entry) the
111
+ * page. What it loads is recorded as the item's inputs.
112
+ */
113
+ pageOf(item: string, o?: {
114
+ folder?: string;
115
+ file?: string;
116
+ }): Promise<string>;
117
+ /**
118
+ * The project files an item (its id) is made from, as `source` (a name
119
+ * of the tool's own) finds them now, in place of what it found before
120
+ * (docs/design/item-files.md, "An item's inputs"); a path ending in "/"
121
+ * is a folder. A change to one tells the item's editors.
122
+ */
123
+ recordInputs(item: string, source: string, paths: Iterable<string>): void;
107
124
  }
108
125
  /** One contributed tool: its params and result, and its run. */
109
126
  export interface ProjectTool<P extends z.ZodType = z.ZodType, R extends z.ZodType = z.ZodType> extends MethodSpec<P, R> {
@@ -33,6 +33,13 @@ export interface StageRouteContext {
33
33
  kept<T>(key: string, make: () => T): T;
34
34
  /** Project files a page the route serves loads besides the media the build found: the tree's `media/` serves them from now on. */
35
35
  allowMedia(paths: Iterable<string>): void;
36
+ /**
37
+ * The project files the item of an entry file is made from, as `source`
38
+ * (a name of the route's own) finds them now, in place of what it found
39
+ * before (docs/design/item-files.md, "An item's inputs"): the modules its
40
+ * viewer bundled. A change to one tells the item's editors.
41
+ */
42
+ recordInputs(entry: string, source: string, paths: Iterable<string>): void;
36
43
  /** The file of a project path a page may reach (inside the project, in no folder the server never opens), or undefined. */
37
44
  inProject(path: string): string | undefined;
38
45
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/build",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/canvas-extension",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
@@ -42,6 +42,7 @@
42
42
  "icon": "layout-dashboard",
43
43
  "color": "kind-ochre",
44
44
  "module": "@allyhub/canvas-editor",
45
+ "markup": "./markup",
45
46
  "check": "./dist/check.js",
46
47
  "place": {
47
48
  "type": "object",
@@ -1,27 +1,7 @@
1
1
  # references/canvas.md
2
2
 
3
- A canvas lays a project's work out to be seen together, compared and talked over: a launch's outputs side by side, two cuts of a video, a mood board, candidates with your reasons beside them. It draws nothing of its own and exports nothing. It is a `.canvas` file anywhere in the project, in JSON Canvas 1.0 (jsoncanvas.org, as Obsidian writes it), listed in `allyhub.yaml` with no kind (`- file: boards/launch.canvas`) for the person to see it. Write it by hand.
3
+ A canvas lays a project's work out to be seen together, compared and talked over: a launch's outputs side by side, two cuts of a video, a mood board, candidates with your reasons beside them. It draws nothing of its own and exports nothing. It is a `.canvas` file (JSON Canvas, as Obsidian writes it) anywhere in the project, written by hand and listed in `allyhub.yaml` for the person to see it.
4
4
 
5
- <!-- prettier-ignore -->
6
- ```json
7
- {
8
- "nodes":[
9
- {"id":"7d1f0c3a9b2e4f60","type":"group","label":"Share pictures","x":-40,"y":-80,"width":1360,"height":520},
10
- {"id":"2b9e81c04d7f3a15","type":"file","file":"launch/og/og.ts","x":0,"y":0,"width":600,"height":340},
11
- {"id":"c04d7f3a152b9e81","type":"text","text":"**Why this plate**: the river reads at 400 px.","x":640,"y":0,"width":320,"height":160,"color":"4"},
12
- {"id":"9a6e2f10b3c84d57","type":"link","url":"https://x.com/allyhub","x":640,"y":200,"width":320,"height":120}
13
- ],
14
- "edges":[
15
- {"id":"5e3a9c1d7b0f2846","fromNode":"c04d7f3a152b9e81","fromSide":"left","toNode":"2b9e81c04d7f3a15","toSide":"right","label":"chosen"}
16
- ]
17
- }
18
- ```
19
-
20
- - **Paths are from the project's folder**, wherever the canvas is.
21
- - **A file node points at an item by its file**, as `allyhub.yaml` lists it (`launch/og/og.ts`, `launch/film/film.ts`); it shows the item's own preview, live: an image's boards, a deck's slide, a video's still, a doc's first words. Any other file (`assets/media/plate.webp`, a clip, a sound) shows itself.
22
- - **Nodes**: `text` (Markdown), `file`, `link` (`url`) and `group` (`label`), each with whole-pixel `x`, `y`, `width` and `height`; y grows down. The first node is drawn at the back, so a group comes before what it holds. A group holds the nodes whose boxes are inside its box.
23
- - **Edges** join two nodes by id, from a side (`top`, `right`, `bottom`, `left`) to a side, with a `label`; `toEnd` is an arrow unless `"none"`.
24
- - **Colours** are `"1"` red, `"2"` orange, `"3"` yellow, `"4"` green, `"5"` cyan, `"6"` purple, or a hex colour.
25
- - **Ids** are unique across nodes and edges: 16 hex digits, as Obsidian makes them.
26
- - **The person's changes** (moves, notes, edges) are written to the same file: read it before you change it, and keep the ids and the fields you do not know.
27
- - `allyhub check` reports a duplicate id, a file node at a missing file and an edge at a missing node (AK-C001 to AK-C004). `allyhub inspect canvas <file>` lists the nodes with their boxes and what they point at, what each group holds and each edge's ends. `allyhub dev <file>` opens it for the person.
5
+ - `allyhub help canvases` lists the commands and prints where the SDK's `canvas.md` is. Read it before writing a canvas.
6
+ - **The person moves things and adds notes and edges in the same file.** Read it before you change it, and keep what they put there.
7
+ - `allyhub inspect canvas <file>` lists what it holds and where, without drawing it; `allyhub dev <file>` opens it for the person.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/canvas-model",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,3 +1,3 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{lumOf as X}from"@allyhub/ooxml/brightness";import{accentOf as j,CHART_DEFAULTS as d,chartDrawing as D,groupingOf as z,hasLines as E,hasMarkers as U,isArea as R,isBar as C,isHorizontal as T,isLine as P,isRound as h,isScatter as k,labelPositionOf as V,variesOf as w}from"./chart.js";const B="http://schemas.openxmlformats.org/drawingml/2006/chart",W="http://schemas.openxmlformats.org/drawingml/2006/main",H="http://schemas.openxmlformats.org/officeDocument/2006/relationships",Z=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
3
- `,y="2118791784",x="2140495176",q={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},K=e=>{const n=e.charCodeAt(0);return n<32&&n!==9&&n!==10&&n!==13||n===65534||n===65535},l=e=>Array.from(e,n=>K(n)?"":q[n]??n).join("");function r(e,n={},...c){const o=Object.entries(n).filter(([,s])=>s!==void 0).map(([s,i])=>` ${s}="${l(typeof i=="boolean"?i?"1":"0":String(i))}"`).join(""),a=c.join("");return a===""?`<${e}${o}/>`:`<${e}${o}>${a}</${e}>`}const Y=e=>{if(typeof e=="string")return r("a:schemeClr",{val:e});if("rgb"in e)return r("a:srgbClr",{val:e.rgb.replace("#","").toUpperCase()});const{lumMod:n,lumOff:c}=X(e.brightness);return r("a:schemeClr",{val:e.theme_color},t("a:lumMod",n),...c===void 0?[]:[t("a:lumOff",c)])},p=e=>e===null?r("a:noFill"):r("a:solidFill",{},Y(e)),t=(e,n)=>r(e,{val:typeof n=="boolean"?n?1:0:n}),m=(e,n)=>r("a:ln",n===void 0?{}:{w:Math.round(n*12700)},p(e)),F=(e,n)=>r("c:txPr",{},r("a:bodyPr"),r("a:lstStyle"),r("a:p",{},r("a:pPr",{},r("a:defRPr",e===void 0?{}:{sz:Math.round(e*100)},n===void 0?"":p(n))),r("a:endParaRPr",{lang:"en-US"}))),S=e=>r("c:strCache",{},t("c:ptCount",e.length),...e.map((n,c)=>r("c:pt",{idx:c},`<c:v>${l(n)}</c:v>`))),A=(e,n)=>r("c:numCache",{},`<c:formatCode>${l(e??"General")}</c:formatCode>`,t("c:ptCount",n.length),...n.flatMap((c,o)=>c===null?[]:[r("c:pt",{idx:o},`<c:v>${String(c)}</c:v>`)])),J=(e,n)=>r("c:tx",{},n===void 0?`<c:v>${l(e.name)}</c:v>`:r("c:strRef",{},`<c:f>${l(n)}</c:f>`,S([e.name]))),Q=(e,n)=>n===void 0?"":r("c:xVal",{},r("c:numRef",{},`<c:f>${l(n)}</c:f>`,A("General",e.x??[])));function ee(e,n,c,o){const a=n.color??j(c),s=h(e.type),i=k(e.type),u=P(e.type)||i,g=U(e.type),N=u?r("c:spPr",{},E(e.type)?m(a,n.line_width??d.lineWidth):r("a:ln",{w:19050},p(null))):r("c:spPr",{},p(a),s?m("lt1",1):""),_=o.categories;return r("c:ser",{},t("c:idx",c),t("c:order",c),J(n,o.name(c)),N,C(e.type)?t("c:invertIfNegative",!1):"",u?r("c:marker",{},t("c:symbol",g?"circle":"none"),g?t("c:size",n.marker_size??d.marker):"",g?r("c:spPr",{},p(a),m(a)):""):"",...w(e)&&!u&&!R(e.type)?e.categories.map((v,f)=>r("c:dPt",{},t("c:idx",f),C(e.type)?t("c:invertIfNegative",!1):"",t("c:bubble3D",!1),r("c:spPr",{},p(e.category_colors?.[f]??j(f)),s?m("lt1",1):""))):[],i?Q(n,o.x?.(c)):_===void 0?"":r("c:cat",{},o.numeric===!0?r("c:numRef",{},`<c:f>${l(_)}</c:f>`,A("General",e.categories.map(v=>{const f=Number(v);return v===""||!Number.isFinite(f)?null:f}))):r("c:strRef",{},`<c:f>${l(_)}</c:f>`,S(e.categories))),r(i?"c:yVal":"c:val",{},r("c:numRef",{},`<c:f>${l(o.values(c))}</c:f>`,A(n.number_format,n.values))),u?t("c:smooth",n.smooth===!0||e.type==="scatter-smooth"):"")}function b(e){const n=e.labels;if(!n)return"";const c=n.show_percentage===!0,o=V(e);return r("c:dLbls",{},n.number_format===void 0?"":r("c:numFmt",{formatCode:n.number_format,sourceLinked:0}),n.size===void 0&&n.color===void 0&&!h(e.type)?"":F(n.size,n.color??(h(e.type)?"lt1":void 0)),o===void 0?"":t("c:dLblPos",o),t("c:showLegendKey",!1),t("c:showVal",n.show_value??!c),t("c:showCatName",n.show_category_name===!0),t("c:showSerName",n.show_series_name===!0),t("c:showPercent",c),t("c:showBubbleSize",!1))}function te(e,n){const c=e.series.map((s,i)=>ee(e,s,i,n)).join(""),o=z(e.type),a=t("c:axId",y)+t("c:axId",x);if(h(e.type)){const s=e.type==="pie";return r(s?"c:pieChart":"c:doughnutChart",{},t("c:varyColors",w(e)),c,b(e),t("c:firstSliceAng",0),s?"":t("c:holeSize",e.hole_size??50))}if(k(e.type))return r("c:scatterChart",{},t("c:scatterStyle","lineMarker"),t("c:varyColors",!1),c,b(e),a);if(C(e.type)){const s=o!=="clustered";return r("c:barChart",{},t("c:barDir",T(e.type)?"bar":"col"),t("c:grouping",o),t("c:varyColors",w(e)),c,b(e),t("c:gapWidth",e.gap_width??150),e.overlap!==void 0||s?t("c:overlap",e.overlap??100):"",a)}return r(P(e.type)?"c:lineChart":"c:areaChart",{},t("c:grouping",o),t("c:varyColors",!1),c,b(e),P(e.type)?t("c:marker",!0):"",a)}const L=e=>r("c:scaling",{},t("c:orientation",e.reverse_order===!0?"maxMin":"minMax"),e.maximum_scale===void 0?"":t("c:max",e.maximum_scale),e.minimum_scale===void 0?"":t("c:min",e.minimum_scale)),O=e=>r("c:spPr",{},m(e.line_color??{rgb:d.axisLine},d.gridWidth)),M=e=>e.has_major_gridlines===!0?r("c:majorGridlines",{},r("c:spPr",{},m(e.gridline_color??{rgb:d.gridline},d.gridWidth))):"",I=(e,n)=>r("c:rich",{},r("a:bodyPr"),r("a:lstStyle"),r("a:p",{},r("a:pPr",{},r("a:defRPr",{sz:n,b:0})),r("a:r",{},r("a:rPr",{lang:"en-US",sz:n,b:0}),`<a:t>${l(e)}</a:t>`))),$=(e,n)=>e===void 0||e===""?"":r("c:title",{},r("c:tx",{},I(e,n)),t("c:overlay",!1));function ne(e){if(h(e.type))return"";const n=k(e.type),c=T(e.type),o=e.category_axis??{},a={has_major_gridlines:!0,...e.value_axis},s=z(e.type)==="percentStacked",i=a.number_format??(s?"0%":e.series[0]?.number_format??"General"),u=Math.round((e.font_size??d.fontSize)*100);return(n?r("c:valAx",{},t("c:axId",y),L(o),t("c:delete",o.visible===!1),t("c:axPos","b"),M(o),$(o.title,u),r("c:numFmt",{formatCode:o.number_format??"General",sourceLinked:o.number_format===void 0?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),O(o),t("c:crossAx",x),t("c:crosses","autoZero"),t("c:crossBetween","midCat"),o.major_unit===void 0?"":t("c:majorUnit",o.major_unit)):r("c:catAx",{},t("c:axId",y),L(o),t("c:delete",o.visible===!1),t("c:axPos",c?"l":"b"),M(o),$(o.title,u),r("c:numFmt",{formatCode:"General",sourceLinked:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),O(o),t("c:crossAx",x),t("c:crosses","autoZero"),t("c:auto",!0),t("c:lblAlgn","ctr"),t("c:lblOffset",100),t("c:noMultiLvlLbl",!1)))+r("c:valAx",{},t("c:axId",x),L(a),t("c:delete",a.visible===!1),t("c:axPos",c?"b":"l"),M(a),$(a.title,u),r("c:numFmt",{formatCode:i,sourceLinked:a.number_format===void 0&&!s?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),r("c:spPr",{},m(null)),t("c:crossAx",y),t("c:crosses","autoZero"),t("c:crossBetween",R(e.type)||n?"midCat":"between"),a.major_unit===void 0?"":t("c:majorUnit",a.major_unit))}const re={bottom:"b",top:"t",left:"l",right:"r"};function oe(e,n){const c=n.width,o=n.height,{plot:a}=D(e,c,o),s=i=>Number(i.toFixed(5));return r("c:layout",{},r("c:manualLayout",{},t("c:layoutTarget","inner"),t("c:xMode","edge"),t("c:yMode","edge"),t("c:x",s(a.x/c)),t("c:y",s(a.y/o)),t("c:w",s(a.width/c)),t("c:h",s(a.height/o))))}const G=r("c:spPr",{},r("a:noFill"),r("a:ln",{},r("a:noFill")));export function chartSpaceXml(e,n){const c=e.title!==void 0&&e.title!==""?e.title:void 0,o=e.font_size??d.fontSize,a=Math.round((e.title_size??o*d.titleScale)*100);return Z+r("c:chartSpace",{"xmlns:c":B,"xmlns:a":W,"xmlns:r":H},t("c:date1904",!1),t("c:roundedCorners",!1),r("c:chart",{},c===void 0?"":r("c:title",{},r("c:tx",{},n.titleRef===void 0?I(c,a):r("c:strRef",{},`<c:f>${l(n.titleRef)}</c:f>`,S([c]))),t("c:overlay",!1)),t("c:autoTitleDeleted",c===void 0),r("c:plotArea",{},n.frame?oe(e,n.frame):r("c:layout"),te(e,n.refs),ne(e),n.frameless===!0?G:""),e.legend===void 0?"":r("c:legend",{},t("c:legendPos",re[e.legend]),t("c:overlay",e.legend_overlay===!0)),t("c:plotVisOnly",n.plotVisible??!0),t("c:dispBlanksAs","gap")),n.frameless===!0?G:"",F(o,e.font_color??"dk1"),n.tail??"")}
2
+ import{lumOf as V}from"@allyhub/ooxml/brightness";import{accentOf as I,CHART_DEFAULTS as m,chartDrawing as B,groupingOf as A,groupsOf as R,hasLines as W,hasMarkers as Z,isArea as O,isBar as L,isHorizontal as G,isLine as S,isRound as g,isScatter as w,labelPositionOf as H,variesOf as M}from"./chart.js";const Y="http://schemas.openxmlformats.org/drawingml/2006/chart",q="http://schemas.openxmlformats.org/drawingml/2006/main",K="http://schemas.openxmlformats.org/officeDocument/2006/relationships",J=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
3
+ `,b="2118791784",y="2140495176",j="2118791785",T="2140495177",Q={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},ee=e=>{const n=e.charCodeAt(0);return n<32&&n!==9&&n!==10&&n!==13||n===65534||n===65535},d=e=>Array.from(e,n=>ee(n)?"":Q[n]??n).join("");function r(e,n={},...c){const a=Object.entries(n).filter(([,s])=>s!==void 0).map(([s,i])=>` ${s}="${d(typeof i=="boolean"?i?"1":"0":String(i))}"`).join(""),o=c.join("");return o===""?`<${e}${a}/>`:`<${e}${a}>${o}</${e}>`}const te=e=>{if(typeof e=="string")return r("a:schemeClr",{val:e});if("rgb"in e)return r("a:srgbClr",{val:e.rgb.replace("#","").toUpperCase()});const{lumMod:n,lumOff:c}=V(e.brightness);return r("a:schemeClr",{val:e.theme_color},t("a:lumMod",n),...c===void 0?[]:[t("a:lumOff",c)])},h=e=>e===null?r("a:noFill"):r("a:solidFill",{},te(e)),t=(e,n)=>r(e,{val:typeof n=="boolean"?n?1:0:n}),f=(e,n)=>r("a:ln",n===void 0?{}:{w:Math.round(n*12700)},h(e)),X=(e,n)=>r("c:txPr",{},r("a:bodyPr"),r("a:lstStyle"),r("a:p",{},r("a:pPr",{},r("a:defRPr",e===void 0?{}:{sz:Math.round(e*100)},n===void 0?"":h(n))),r("a:endParaRPr",{lang:"en-US"}))),$=e=>r("c:strCache",{},t("c:ptCount",e.length),...e.map((n,c)=>r("c:pt",{idx:c},`<c:v>${d(n)}</c:v>`))),F=(e,n)=>r("c:numCache",{},`<c:formatCode>${d(e??"General")}</c:formatCode>`,t("c:ptCount",n.length),...n.flatMap((c,a)=>c===null?[]:[r("c:pt",{idx:a},`<c:v>${String(c)}</c:v>`)])),ne=(e,n)=>r("c:tx",{},n===void 0?`<c:v>${d(e.name)}</c:v>`:r("c:strRef",{},`<c:f>${d(n)}</c:f>`,$([e.name]))),re=(e,n)=>n===void 0?"":r("c:xVal",{},r("c:numRef",{},`<c:f>${d(n)}</c:f>`,F("General",e.x??[])));function oe(e,n,c,a){const o=n.color??I(c),s=g(e.type),i=w(e.type),l=S(e.type)||i,u=Z(e.type),z=l?r("c:spPr",{},W(e.type)?f(o,n.line_width??m.lineWidth):r("a:ln",{w:19050},h(null))):r("c:spPr",{},h(o),s?f("lt1",1):""),v=a.categories;return r("c:ser",{},t("c:idx",c),t("c:order",c),ne(n,a.name(c)),z,L(e.type)?t("c:invertIfNegative",!1):"",l?r("c:marker",{},t("c:symbol",u?"circle":"none"),u?t("c:size",n.marker_size??m.marker):"",u?r("c:spPr",{},h(o),f(o)):""):"",...M(e)&&!l&&!O(e.type)?e.categories.map((P,p)=>r("c:dPt",{},t("c:idx",p),L(e.type)?t("c:invertIfNegative",!1):"",t("c:bubble3D",!1),r("c:spPr",{},h(e.category_colors?.[p]??I(p)),s?f("lt1",1):""))):[],i?re(n,a.x?.(c)):v===void 0?"":r("c:cat",{},a.numeric===!0?r("c:numRef",{},`<c:f>${d(v)}</c:f>`,F(a.categoryFormat??"General",a.categoryNumbers??e.categories.map(P=>{const p=Number(P);return P===""||!Number.isFinite(p)?null:p}))):r("c:strRef",{},`<c:f>${d(v)}</c:f>`,$(e.categories))),r(i?"c:yVal":"c:val",{},r("c:numRef",{},`<c:f>${d(a.values(c))}</c:f>`,F(n.number_format,n.values))),l?t("c:smooth",n.smooth===!0||e.type==="scatter-smooth"):"")}function _(e){const n=e.labels;if(!n)return"";const c=n.show_percentage===!0,a=H(e);return r("c:dLbls",{},n.number_format===void 0?"":r("c:numFmt",{formatCode:n.number_format,sourceLinked:0}),n.size===void 0&&n.color===void 0&&!g(e.type)?"":X(n.size,n.color??(g(e.type)?"lt1":void 0)),a===void 0?"":t("c:dLblPos",a),t("c:showLegendKey",!1),t("c:showVal",n.show_value??!c),t("c:showCatName",n.show_category_name===!0),t("c:showSerName",n.show_series_name===!0),t("c:showPercent",c),t("c:showBubbleSize",!1))}function ce(e,n){const c=R(e),[a]=c;return c.length<=1&&a?.secondary!==!0?E(e,e.series.map((o,s)=>s),n,!1):c.map(o=>E({...e,type:o.kind},o.series,n,o.secondary)).join("")}function E(e,n,c,a){const o=n.map(l=>{const u=e.series[l];return u?oe(e,u,l,c):""}).join(""),s=A(e.type),i=a?t("c:axId",j)+t("c:axId",T):t("c:axId",b)+t("c:axId",y);if(g(e.type)){const l=e.type==="pie";return r(l?"c:pieChart":"c:doughnutChart",{},t("c:varyColors",M(e)),o,_(e),t("c:firstSliceAng",0),l?"":t("c:holeSize",e.hole_size??50))}if(w(e.type))return r("c:scatterChart",{},t("c:scatterStyle","lineMarker"),t("c:varyColors",!1),o,_(e),i);if(L(e.type)){const l=s!=="clustered";return r("c:barChart",{},t("c:barDir",G(e.type)?"bar":"col"),t("c:grouping",s),t("c:varyColors",M(e)),o,_(e),t("c:gapWidth",e.gap_width??150),e.overlap!==void 0||l?t("c:overlap",e.overlap??100):"",i)}return r(S(e.type)?"c:lineChart":"c:areaChart",{},t("c:grouping",s),t("c:varyColors",!1),o,_(e),S(e.type)?t("c:marker",!0):"",i)}const x=e=>r("c:scaling",{},t("c:orientation",e.reverse_order===!0?"maxMin":"minMax"),e.maximum_scale===void 0?"":t("c:max",e.maximum_scale),e.minimum_scale===void 0?"":t("c:min",e.minimum_scale)),N=e=>r("c:spPr",{},f(e.line_color??{rgb:m.axisLine},m.gridWidth)),k=e=>e.has_major_gridlines===!0?r("c:majorGridlines",{},r("c:spPr",{},f(e.gridline_color??{rgb:m.gridline},m.gridWidth))):"",U=(e,n)=>r("c:rich",{},r("a:bodyPr"),r("a:lstStyle"),r("a:p",{},r("a:pPr",{},r("a:defRPr",{sz:n,b:0})),r("a:r",{},r("a:rPr",{lang:"en-US",sz:n,b:0}),`<a:t>${d(e)}</a:t>`))),C=(e,n)=>e===void 0||e===""?"":r("c:title",{},r("c:tx",{},U(e,n)),t("c:overlay",!1));function ae(e,n){if(g(e.type))return"";const c=w(e.type),a=G(e.type),o=e.category_axis??{},s={has_major_gridlines:!0,...e.value_axis},i=A(e.type)==="percentStacked",l=s.number_format??(i?"0%":e.series[0]?.number_format??"General"),u=Math.round((e.font_size??m.fontSize)*100);return(c?r("c:valAx",{},t("c:axId",b),x(o),t("c:delete",o.visible===!1),t("c:axPos","b"),k(o),C(o.title,u),r("c:numFmt",{formatCode:o.number_format??"General",sourceLinked:o.number_format===void 0?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),N(o),t("c:crossAx",y),t("c:crosses","autoZero"),t("c:crossBetween","midCat"),o.major_unit===void 0?"":t("c:majorUnit",o.major_unit)):r("c:catAx",{},t("c:axId",b),x(o),t("c:delete",o.visible===!1),t("c:axPos",a?"l":"b"),k(o),C(o.title,u),n?.numeric===!0?r("c:numFmt",{formatCode:o.number_format??n.categoryFormat??"General",sourceLinked:o.number_format===void 0?1:0}):r("c:numFmt",{formatCode:"General",sourceLinked:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),N(o),t("c:crossAx",y),t("c:crosses","autoZero"),t("c:auto",!0),t("c:lblAlgn","ctr"),t("c:lblOffset",100),t("c:noMultiLvlLbl",!1)))+r("c:valAx",{},t("c:axId",y),x(s),t("c:delete",s.visible===!1),t("c:axPos",a?"b":"l"),k(s),C(s.title,u),r("c:numFmt",{formatCode:l,sourceLinked:s.number_format===void 0&&!i?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),r("c:spPr",{},f(null)),t("c:crossAx",b),t("c:crosses","autoZero"),t("c:crossBetween",O(e.type)||c?"midCat":"between"),s.major_unit===void 0?"":t("c:majorUnit",s.major_unit))+se(e,u)}function se(e,n){const c=R(e).find(i=>i.secondary);if(!c)return"";const a=e.secondary_axis??{},o=A(c.kind)==="percentStacked",s=a.number_format??(o?"0%":e.series[c.series[0]??0]?.number_format??"General");return r("c:catAx",{},t("c:axId",j),x({}),t("c:delete",!0),t("c:axPos","b"),r("c:numFmt",{formatCode:"General",sourceLinked:1}),t("c:majorTickMark","out"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),t("c:crossAx",T),t("c:crosses","autoZero"),t("c:auto",!0),t("c:lblAlgn","ctr"),t("c:lblOffset",100),t("c:noMultiLvlLbl",!1))+r("c:valAx",{},t("c:axId",T),x(a),t("c:delete",a.visible===!1),t("c:axPos","r"),k(a),C(a.title,n),r("c:numFmt",{formatCode:s,sourceLinked:a.number_format===void 0&&!o?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),r("c:spPr",{},f(null)),t("c:crossAx",j),t("c:crosses","max"),t("c:crossBetween","between"),a.major_unit===void 0?"":t("c:majorUnit",a.major_unit))}const ie={bottom:"b",top:"t",left:"l",right:"r"};function le(e,n){const c=n.width,a=n.height,{plot:o}=B(e,c,a),s=i=>Number(i.toFixed(5));return r("c:layout",{},r("c:manualLayout",{},t("c:layoutTarget","inner"),t("c:xMode","edge"),t("c:yMode","edge"),t("c:x",s(o.x/c)),t("c:y",s(o.y/a)),t("c:w",s(o.width/c)),t("c:h",s(o.height/a))))}const D=r("c:spPr",{},r("a:noFill"),r("a:ln",{},r("a:noFill")));export function chartSpaceXml(e,n){const c=e.title!==void 0&&e.title!==""?e.title:void 0,a=e.font_size??m.fontSize,o=Math.round((e.title_size??a*m.titleScale)*100);return J+r("c:chartSpace",{"xmlns:c":Y,"xmlns:a":q,"xmlns:r":K},t("c:date1904",!1),t("c:roundedCorners",!1),r("c:chart",{},c===void 0?"":r("c:title",{},r("c:tx",{},n.titleRef===void 0?U(c,o):r("c:strRef",{},`<c:f>${d(n.titleRef)}</c:f>`,$([c]))),t("c:overlay",!1)),t("c:autoTitleDeleted",c===void 0),r("c:plotArea",{},n.frame?le(e,n.frame):r("c:layout"),ce(e,n.refs),ae(e,n.refs),n.frameless===!0?D:""),e.legend===void 0?"":r("c:legend",{},t("c:legendPos",ie[e.legend]),t("c:overlay",e.legend_overlay===!0)),t("c:plotVisOnly",n.plotVisible??!0),t("c:dispBlanksAs","gap")),n.frameless===!0?D:"",X(a,e.font_color??"dk1"),n.tail??"")}