allyhub 0.6.0 → 0.7.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 (621) hide show
  1. package/dist/audio-text.js +1 -1
  2. package/dist/commands/add.js +2 -2
  3. package/dist/commands/cloud-tools.js +5 -5
  4. package/dist/commands/dev.js +1 -1
  5. package/dist/commands/frames/piece.js +1 -1
  6. package/dist/commands/frames/sheet.js +1 -1
  7. package/dist/commands/frames.js +8 -8
  8. package/dist/commands/index.js +1 -1
  9. package/dist/commands/inspect/common.js +1 -1
  10. package/dist/commands/inspect/layout.js +1 -1
  11. package/dist/commands/render.js +1 -1
  12. package/dist/commands/sheet.js +5 -5
  13. package/dist/commands/site.js +3 -2
  14. package/dist/commands/skills.js +3 -3
  15. package/dist/commands/slides.js +2 -2
  16. package/dist/node_modules/@allyhub-next/audio/dist/node/index.js +1 -1
  17. package/dist/node_modules/@allyhub-next/audio/dist/node/master.js +1 -1
  18. package/dist/node_modules/@allyhub-next/audio/package.json +1 -1
  19. package/dist/node_modules/@allyhub-next/browser/dist/html.js +1 -1
  20. package/dist/node_modules/@allyhub-next/browser/package.json +1 -1
  21. package/dist/node_modules/@allyhub-next/build/dist/content.d.ts +4 -0
  22. package/dist/node_modules/@allyhub-next/build/dist/content.js +1 -1
  23. package/dist/node_modules/@allyhub-next/build/dist/index.d.ts +2 -2
  24. package/dist/node_modules/@allyhub-next/build/dist/index.js +1 -1
  25. package/dist/node_modules/@allyhub-next/build/dist/meta-worker.d.ts +2 -2
  26. package/dist/node_modules/@allyhub-next/build/dist/meta-worker.js +3 -3
  27. package/dist/node_modules/@allyhub-next/build/dist/move-refs.d.ts +1 -1
  28. package/dist/node_modules/@allyhub-next/build/dist/move-refs.js +1 -1
  29. package/dist/node_modules/@allyhub-next/build/dist/plugin.d.ts +12 -3
  30. package/dist/node_modules/@allyhub-next/build/dist/plugin.js +7 -6
  31. package/dist/node_modules/@allyhub-next/build/dist/prepare.d.ts +9 -5
  32. package/dist/node_modules/@allyhub-next/build/dist/prepare.js +2 -2
  33. package/dist/node_modules/@allyhub-next/build/dist/vite.d.ts +10 -0
  34. package/dist/node_modules/@allyhub-next/build/dist/vite.js +2 -2
  35. package/dist/node_modules/@allyhub-next/build/package.json +1 -1
  36. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +2 -2
  37. package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +14 -5
  38. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +1 -1
  39. package/dist/node_modules/@allyhub-next/chart/package.json +1 -1
  40. package/dist/node_modules/@allyhub-next/check/dist/check.js +3 -3
  41. package/dist/node_modules/@allyhub-next/check/package.json +1 -1
  42. package/dist/node_modules/@allyhub-next/cloud/dist/blobs.js +2 -0
  43. package/dist/node_modules/@allyhub-next/cloud/dist/call.js +4 -2
  44. package/dist/node_modules/@allyhub-next/cloud/dist/client.js +1 -1
  45. package/dist/node_modules/@allyhub-next/cloud/dist/errors.js +1 -1
  46. package/dist/node_modules/@allyhub-next/cloud/dist/hashes.js +2 -0
  47. package/dist/node_modules/@allyhub-next/cloud/dist/index.js +1 -1
  48. package/dist/node_modules/@allyhub-next/cloud/dist/sites.js +2 -0
  49. package/dist/node_modules/@allyhub-next/cloud/dist/voice.js +1 -1
  50. package/dist/node_modules/@allyhub-next/cloud/package.json +1 -1
  51. package/dist/node_modules/@allyhub-next/components/package.json +1 -1
  52. package/dist/node_modules/@allyhub-next/components/r/caption-subtitle.json +1 -1
  53. package/dist/node_modules/@allyhub-next/components/src/caption-subtitle.ts +54 -16
  54. package/dist/node_modules/@allyhub-next/dev-server/dist/background.js +1 -1
  55. package/dist/node_modules/@allyhub-next/dev-server/dist/fonts.js +2 -0
  56. package/dist/node_modules/@allyhub-next/dev-server/dist/index.js +1 -1
  57. package/dist/node_modules/@allyhub-next/dev-server/dist/live.js +1 -1
  58. package/dist/node_modules/@allyhub-next/dev-server/dist/project.js +1 -1
  59. package/dist/node_modules/@allyhub-next/dev-server/dist/reach.js +2 -0
  60. package/dist/node_modules/@allyhub-next/dev-server/dist/record.js +2 -0
  61. package/dist/node_modules/@allyhub-next/dev-server/dist/server.js +2 -2
  62. package/dist/node_modules/@allyhub-next/dev-server/dist/tools.js +1 -1
  63. package/dist/node_modules/@allyhub-next/dev-server/dist/tree.js +2 -0
  64. package/dist/node_modules/@allyhub-next/dev-server/package.json +1 -1
  65. package/dist/node_modules/@allyhub-next/doc/package.json +1 -1
  66. package/dist/node_modules/@allyhub-next/export/dist/deck-pptx.js +1 -1
  67. package/dist/node_modules/@allyhub-next/export/dist/export.js +5 -5
  68. package/dist/node_modules/@allyhub-next/export/dist/index.js +1 -1
  69. package/dist/node_modules/@allyhub-next/export/package.json +1 -1
  70. package/dist/node_modules/@allyhub-next/formats/dist/data/deck-code.d.ts +205 -0
  71. package/dist/node_modules/@allyhub-next/formats/dist/data/deck-code.js +2 -0
  72. package/dist/node_modules/@allyhub-next/formats/dist/data/script.d.ts +4 -1
  73. package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +1 -1
  74. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +69 -18
  75. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +1 -1
  76. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +847 -116
  77. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +1 -1
  78. package/dist/node_modules/@allyhub-next/formats/dist/data/website.d.ts +20 -0
  79. package/dist/node_modules/@allyhub-next/formats/dist/data/website.js +2 -0
  80. package/dist/node_modules/@allyhub-next/formats/dist/index.d.ts +3 -0
  81. package/dist/node_modules/@allyhub-next/formats/dist/index.js +1 -1
  82. package/dist/node_modules/@allyhub-next/formats/dist/items.d.ts +1 -1
  83. package/dist/node_modules/@allyhub-next/formats/dist/items.js +1 -1
  84. package/dist/node_modules/@allyhub-next/formats/dist/media-type.d.ts +3 -0
  85. package/dist/node_modules/@allyhub-next/formats/dist/media-type.js +2 -0
  86. package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +501 -38
  87. package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +1 -1
  88. package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +2 -0
  89. package/dist/node_modules/@allyhub-next/formats/dist/strict.js +1 -1
  90. package/dist/node_modules/@allyhub-next/formats/package.json +2 -1
  91. package/dist/node_modules/@allyhub-next/measure/package.json +1 -1
  92. package/dist/node_modules/@allyhub-next/media/dist/index.d.ts +1 -1
  93. package/dist/node_modules/@allyhub-next/media/dist/index.js +1 -1
  94. package/dist/node_modules/@allyhub-next/media/dist/sheet.d.ts +2 -0
  95. package/dist/node_modules/@allyhub-next/media/dist/sheet.js +7 -7
  96. package/dist/node_modules/@allyhub-next/media/package.json +1 -1
  97. package/dist/node_modules/@allyhub-next/model/package.json +1 -1
  98. package/dist/node_modules/@allyhub-next/ooxml/dist/brightness.d.ts +31 -0
  99. package/dist/node_modules/@allyhub-next/ooxml/dist/brightness.js +2 -0
  100. package/dist/node_modules/@allyhub-next/ooxml/dist/color.d.ts +33 -0
  101. package/dist/node_modules/@allyhub-next/ooxml/dist/color.js +2 -0
  102. package/dist/node_modules/@allyhub-next/ooxml/dist/enums.d.ts +13 -0
  103. package/dist/node_modules/@allyhub-next/ooxml/dist/enums.js +2 -0
  104. package/dist/node_modules/@allyhub-next/ooxml/dist/ext.d.ts +79 -0
  105. package/dist/node_modules/@allyhub-next/ooxml/dist/ext.js +2 -0
  106. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/enums.d.ts +132 -0
  107. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/enums.js +2 -0
  108. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.d.ts +28 -0
  109. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.js +2 -0
  110. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/spec.d.ts +4708 -0
  111. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/spec.js +2 -0
  112. package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.d.ts +57 -0
  113. package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.js +2 -0
  114. package/dist/node_modules/@allyhub-next/ooxml/dist/index.d.ts +10 -0
  115. package/dist/node_modules/@allyhub-next/ooxml/dist/index.js +2 -0
  116. package/dist/node_modules/@allyhub-next/ooxml/dist/mce.d.ts +12 -0
  117. package/dist/node_modules/@allyhub-next/ooxml/dist/mce.js +2 -0
  118. package/dist/node_modules/@allyhub-next/ooxml/dist/node.d.ts +111 -0
  119. package/dist/node_modules/@allyhub-next/ooxml/dist/node.js +2 -0
  120. package/dist/node_modules/@allyhub-next/ooxml/dist/ns.d.ts +45 -0
  121. package/dist/node_modules/@allyhub-next/ooxml/dist/ns.js +2 -0
  122. package/dist/node_modules/@allyhub-next/ooxml/dist/opc.d.ts +48 -0
  123. package/dist/node_modules/@allyhub-next/ooxml/dist/opc.js +2 -0
  124. package/dist/node_modules/@allyhub-next/ooxml/dist/report.d.ts +45 -0
  125. package/dist/node_modules/@allyhub-next/ooxml/dist/report.js +2 -0
  126. package/dist/node_modules/@allyhub-next/ooxml/dist/xml.d.ts +28 -0
  127. package/dist/node_modules/@allyhub-next/ooxml/dist/xml.js +2 -0
  128. package/dist/node_modules/@allyhub-next/ooxml/package.json +26 -0
  129. package/dist/node_modules/@allyhub-next/project/dist/deck-keys.js +2 -0
  130. package/dist/node_modules/@allyhub-next/project/dist/deck-measure.js +2 -0
  131. package/dist/node_modules/@allyhub-next/project/dist/deck-pool.js +2 -0
  132. package/dist/node_modules/@allyhub-next/project/dist/index.js +1 -1
  133. package/dist/node_modules/@allyhub-next/project/dist/session.js +1 -1
  134. package/dist/node_modules/@allyhub-next/project/dist/stills.js +2 -0
  135. package/dist/node_modules/@allyhub-next/project/package.json +1 -1
  136. package/dist/node_modules/@allyhub-next/protocol/dist/account.d.ts +338 -0
  137. package/dist/node_modules/@allyhub-next/protocol/dist/account.js +2 -0
  138. package/dist/node_modules/@allyhub-next/protocol/dist/auth.d.ts +12 -13
  139. package/dist/node_modules/@allyhub-next/protocol/dist/auth.js +1 -1
  140. package/dist/node_modules/@allyhub-next/protocol/dist/blobs.d.ts +35 -0
  141. package/dist/node_modules/@allyhub-next/protocol/dist/blobs.js +2 -0
  142. package/dist/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +101 -32
  143. package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +1 -1
  144. package/dist/node_modules/@allyhub-next/protocol/dist/editor.d.ts +79 -5
  145. package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +1 -1
  146. package/dist/node_modules/@allyhub-next/protocol/dist/files.d.ts +2 -2
  147. package/dist/node_modules/@allyhub-next/protocol/dist/index.d.ts +6 -0
  148. package/dist/node_modules/@allyhub-next/protocol/dist/index.js +1 -1
  149. package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +21 -0
  150. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +1 -1
  151. package/dist/node_modules/@allyhub-next/protocol/dist/open.d.ts +13 -0
  152. package/dist/node_modules/@allyhub-next/protocol/dist/open.js +2 -0
  153. package/dist/node_modules/@allyhub-next/protocol/dist/registry.d.ts +73 -59
  154. package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +1 -1
  155. package/dist/node_modules/@allyhub-next/protocol/dist/routes.d.ts +1 -1
  156. package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +1 -1
  157. package/dist/node_modules/@allyhub-next/protocol/dist/shares.d.ts +115 -0
  158. package/dist/node_modules/@allyhub-next/protocol/dist/shares.js +2 -0
  159. package/dist/node_modules/@allyhub-next/protocol/dist/sites.d.ts +293 -0
  160. package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +2 -0
  161. package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.d.ts +377 -0
  162. package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +2 -0
  163. package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +27 -9
  164. package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +1 -1
  165. package/dist/node_modules/@allyhub-next/protocol/dist/tools.d.ts +53 -14
  166. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +1 -1
  167. package/dist/node_modules/@allyhub-next/protocol/package.json +2 -1
  168. package/dist/node_modules/@allyhub-next/registry/package.json +1 -1
  169. package/dist/node_modules/@allyhub-next/render/dist/doc/fonts.js +3 -2
  170. package/dist/node_modules/@allyhub-next/render/dist/doc/index.js +1 -1
  171. package/dist/node_modules/@allyhub-next/render/dist/doc/pdf.js +34 -0
  172. package/dist/node_modules/@allyhub-next/render/dist/doc/print.js +4 -4
  173. package/dist/node_modules/@allyhub-next/render/dist/exports.js +2 -2
  174. package/dist/node_modules/@allyhub-next/render/dist/pdf.js +2 -0
  175. package/dist/node_modules/@allyhub-next/render/package.json +1 -1
  176. package/dist/node_modules/@allyhub-next/runtime/dist/fonts.js +1 -1
  177. package/dist/node_modules/@allyhub-next/runtime/dist/music.js +1 -1
  178. package/dist/node_modules/@allyhub-next/runtime/package.json +1 -1
  179. package/dist/node_modules/@allyhub-next/runtimes/package.json +1 -1
  180. package/dist/node_modules/@allyhub-next/runtimes/schemas/runtimes.schema.json +25 -5
  181. package/dist/node_modules/@allyhub-next/scaffold/dist/index.js +4 -4
  182. package/dist/node_modules/@allyhub-next/scaffold/package.json +1 -1
  183. package/dist/node_modules/@allyhub-next/scenery/package.json +1 -1
  184. package/dist/node_modules/@allyhub-next/scenery-host/dist/bundle.d.ts +10 -0
  185. package/dist/node_modules/@allyhub-next/scenery-host/dist/bundle.js +3 -3
  186. package/dist/node_modules/@allyhub-next/scenery-host/package.json +1 -1
  187. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +9 -3
  188. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +1 -1
  189. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +5 -1
  190. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +1 -1
  191. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +60 -13
  192. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +1 -1
  193. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +1 -1
  194. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/convert.d.ts +4 -0
  195. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/convert.js +2 -0
  196. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +1 -1
  197. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +1 -1
  198. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +1 -1
  199. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +27 -1
  200. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +1 -1
  201. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/delimiters.d.ts +16 -0
  202. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/delimiters.js +2 -0
  203. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +18 -1
  204. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +1 -1
  205. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +1 -1
  206. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +2 -0
  207. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +1 -1
  208. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +1 -1
  209. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +1 -1
  210. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +1 -1
  211. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +1 -1
  212. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +1 -1
  213. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/modern.d.ts +2 -0
  214. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/modern.js +2 -0
  215. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +1 -1
  216. package/dist/node_modules/@allyhub-next/sheet/dist/calc/graph.d.ts +38 -0
  217. package/dist/node_modules/@allyhub-next/sheet/dist/calc/graph.js +2 -0
  218. package/dist/node_modules/@allyhub-next/sheet/dist/calc/indexes.d.ts +19 -0
  219. package/dist/node_modules/@allyhub-next/sheet/dist/calc/indexes.js +2 -0
  220. package/dist/node_modules/@allyhub-next/sheet/dist/calc/remote.d.ts +49 -0
  221. package/dist/node_modules/@allyhub-next/sheet/dist/calc/remote.js +2 -0
  222. package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.d.ts +82 -0
  223. package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.js +2 -0
  224. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +6 -1
  225. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +1 -1
  226. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +1 -1
  227. package/dist/node_modules/@allyhub-next/sheet/dist/check.js +1 -1
  228. package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +15 -0
  229. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +1 -1
  230. package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +29 -8
  231. package/dist/node_modules/@allyhub-next/sheet/dist/export.js +3 -4
  232. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +2 -2
  233. package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +8 -2
  234. package/dist/node_modules/@allyhub-next/sheet/dist/format.js +1 -1
  235. package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +52 -4
  236. package/dist/node_modules/@allyhub-next/sheet/dist/html.js +43 -11
  237. package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +7 -3
  238. package/dist/node_modules/@allyhub-next/sheet/dist/index.js +1 -1
  239. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +1 -1
  240. package/dist/node_modules/@allyhub-next/sheet/dist/paginate.d.ts +98 -0
  241. package/dist/node_modules/@allyhub-next/sheet/dist/paginate.js +2 -0
  242. package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +1 -1
  243. package/dist/node_modules/@allyhub-next/sheet/dist/table-style.d.ts +32 -0
  244. package/dist/node_modules/@allyhub-next/sheet/dist/table-style.js +2 -0
  245. package/dist/node_modules/@allyhub-next/sheet/dist/table-styles.d.ts +3 -0
  246. package/dist/node_modules/@allyhub-next/sheet/dist/table-styles.js +2 -0
  247. package/dist/node_modules/@allyhub-next/sheet/dist/values.js +1 -1
  248. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +10 -1
  249. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +1 -1
  250. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +10 -1
  251. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +1 -1
  252. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +14 -4
  253. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +2 -2
  254. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +11 -1
  255. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +36 -16
  256. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +3 -1
  257. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +1 -1
  258. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +42 -1
  259. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -1
  260. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/sax.d.ts +23 -0
  261. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/sax.js +2 -0
  262. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +2 -0
  263. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +1 -1
  264. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +6 -0
  265. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +1 -1
  266. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.d.ts +40 -0
  267. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +2 -0
  268. package/dist/node_modules/@allyhub-next/sheet/package.json +1 -1
  269. package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +1 -1
  270. package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +59 -39
  271. package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +2 -2
  272. package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +1 -1
  273. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +27 -13
  274. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +1 -1
  275. package/dist/node_modules/@allyhub-next/slides-core/dist/check.js +1 -1
  276. package/dist/node_modules/@allyhub-next/slides-core/dist/code.d.ts +33 -0
  277. package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +2 -0
  278. package/dist/node_modules/@allyhub-next/slides-core/dist/components.d.ts +31 -0
  279. package/dist/node_modules/@allyhub-next/slides-core/dist/components.js +2 -0
  280. package/dist/node_modules/@allyhub-next/slides-core/dist/enums.d.ts +179 -16
  281. package/dist/node_modules/@allyhub-next/slides-core/dist/enums.js +1 -1
  282. package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +43 -21
  283. package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +3 -3
  284. package/dist/node_modules/@allyhub-next/slides-core/dist/identity.d.ts +17 -0
  285. package/dist/node_modules/@allyhub-next/slides-core/dist/identity.js +2 -0
  286. package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +5 -1
  287. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +1 -1
  288. package/dist/node_modules/@allyhub-next/slides-core/dist/lang.d.ts +6 -0
  289. package/dist/node_modules/@allyhub-next/slides-core/dist/lang.js +2 -0
  290. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +1 -1
  291. package/dist/node_modules/@allyhub-next/slides-core/dist/merge.d.ts +58 -0
  292. package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +2 -0
  293. package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +2 -4
  294. package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +17 -1
  295. package/dist/node_modules/@allyhub-next/slides-core/dist/office.js +1 -1
  296. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +21 -5
  297. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +1 -1
  298. package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +18 -16
  299. package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +2 -2
  300. package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +51 -53
  301. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +1 -1
  302. package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +27 -0
  303. package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +1 -1
  304. package/dist/node_modules/@allyhub-next/slides-core/dist/values.d.ts +7 -0
  305. package/dist/node_modules/@allyhub-next/slides-core/dist/values.js +2 -0
  306. package/dist/node_modules/@allyhub-next/slides-core/package.json +1 -1
  307. package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/code.js +4 -0
  308. package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/index.js +3 -0
  309. package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/names.js +2 -0
  310. package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/script.js +2 -0
  311. package/dist/node_modules/@allyhub-next/slides-pptx/dist/index.js +1 -1
  312. package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/chart.js +2 -0
  313. package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/common.js +2 -0
  314. package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/index.js +4 -0
  315. package/dist/{site.js → node_modules/@allyhub-next/slides-pptx/dist/read/model.js} +1 -1
  316. package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/shapes.js +2 -0
  317. package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/table.js +2 -0
  318. package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/text.js +2 -0
  319. package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/timing.js +2 -0
  320. package/dist/node_modules/@allyhub-next/slides-pptx/dist/shapes.js +1 -1
  321. package/dist/node_modules/@allyhub-next/slides-pptx/dist/text.js +1 -1
  322. package/dist/node_modules/@allyhub-next/slides-pptx/dist/theme.js +1 -1
  323. package/dist/node_modules/@allyhub-next/slides-pptx/dist/timing.js +1 -1
  324. package/dist/node_modules/@allyhub-next/slides-pptx/dist/write.js +2 -2
  325. package/dist/node_modules/@allyhub-next/slides-pptx/dist/xml.js +2 -2
  326. package/dist/node_modules/@allyhub-next/slides-pptx/package.json +1 -1
  327. package/dist/node_modules/@allyhub-next/slides-runtime/dist/component.js +2 -0
  328. package/dist/node_modules/@allyhub-next/slides-runtime/dist/draw.js +2 -2
  329. package/dist/node_modules/@allyhub-next/slides-runtime/dist/index.js +1 -1
  330. package/dist/node_modules/@allyhub-next/slides-runtime/dist/load.js +5 -5
  331. package/dist/node_modules/@allyhub-next/slides-runtime/package.json +5 -1
  332. package/dist/node_modules/@allyhub-next/stage/dist/index.js +1 -1
  333. package/dist/node_modules/@allyhub-next/stage/dist/page.js +22 -12
  334. package/dist/node_modules/@allyhub-next/stage/dist/scenery-page.js +5 -5
  335. package/dist/node_modules/@allyhub-next/stage/dist/server.js +1 -1
  336. package/dist/node_modules/@allyhub-next/stage/package.json +1 -1
  337. package/dist/node_modules/@allyhub-next/stage-page/dist/host.js +1 -20
  338. package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/probe.html +8 -0
  339. package/dist/{astro.js → node_modules/@allyhub-next/stage-page/dist/runtime/probe.js} +1 -1
  340. package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/runtime.js +79 -0
  341. package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/stage.html +21 -0
  342. package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/stage.js +3 -0
  343. package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/viewer.html +9 -0
  344. package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/viewer.js +3 -0
  345. package/dist/node_modules/@allyhub-next/stage-page/package.json +2 -3
  346. package/dist/node_modules/@allyhub-next/video-core/dist/captions.js +6 -6
  347. package/dist/node_modules/@allyhub-next/video-core/dist/fact.d.ts +47 -8
  348. package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +1 -1
  349. package/dist/node_modules/@allyhub-next/video-core/dist/index.d.ts +1 -0
  350. package/dist/node_modules/@allyhub-next/video-core/dist/index.js +1 -1
  351. package/dist/node_modules/@allyhub-next/video-core/dist/marks.d.ts +14 -0
  352. package/dist/node_modules/@allyhub-next/video-core/dist/marks.js +1 -1
  353. package/dist/node_modules/@allyhub-next/video-core/dist/music.d.ts +2 -1
  354. package/dist/node_modules/@allyhub-next/video-core/dist/piece.d.ts +11 -2
  355. package/dist/node_modules/@allyhub-next/video-core/dist/problem.d.ts +4 -0
  356. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +1 -1
  357. package/dist/node_modules/@allyhub-next/video-core/dist/schema.d.ts +2 -2
  358. package/dist/node_modules/@allyhub-next/video-core/dist/schema.js +1 -1
  359. package/dist/node_modules/@allyhub-next/video-core/dist/script.d.ts +2 -1
  360. package/dist/node_modules/@allyhub-next/video-core/dist/script.js +1 -1
  361. package/dist/node_modules/@allyhub-next/video-core/dist/source.d.ts +7 -0
  362. package/dist/node_modules/@allyhub-next/video-core/dist/source.js +2 -0
  363. package/dist/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +10 -33
  364. package/dist/node_modules/@allyhub-next/video-core/package.json +1 -1
  365. package/dist/node_modules/@allyhub-next/website/LICENSE +241 -0
  366. package/dist/node_modules/@allyhub-next/website/dist/index.js +2 -0
  367. package/dist/node_modules/@allyhub-next/website/dist/publish.js +3 -0
  368. package/dist/node_modules/@allyhub-next/website/dist/rules.js +2 -0
  369. package/dist/node_modules/@allyhub-next/website/dist/website.js +4 -0
  370. package/dist/node_modules/@allyhub-next/website/package.json +13 -0
  371. package/dist/text/facts-text.js +4 -4
  372. package/dist/works.js +1 -1
  373. package/editor-web/assets/calc-worker-Bz9r26p1.js +158 -0
  374. package/editor-web/assets/dist-0emakyZE.js +36 -0
  375. package/editor-web/assets/dist-B3UoDUa5.js +37 -0
  376. package/editor-web/assets/dist-B6KzR3pN.js +10 -0
  377. package/editor-web/assets/dist-Bc5iA5k1.js +1 -0
  378. package/editor-web/assets/dist-CTQIm8Im.js +10 -0
  379. package/editor-web/assets/dist-CiHNHwyq.js +2 -0
  380. package/editor-web/assets/dist-DNZ8PQ-E.js +224 -0
  381. package/editor-web/assets/index-CFt3ovRY.js +69 -0
  382. package/editor-web/assets/index-ujKjdu_s.css +2 -0
  383. package/editor-web/assets/minus-BhoPZC5P.js +1 -0
  384. package/editor-web/assets/react-C_-rEEBU.js +101 -0
  385. package/editor-web/assets/tabs-Den4gHrU.js +105 -0
  386. package/editor-web/assets/text-align-start-CsW4nqqL.js +1 -0
  387. package/editor-web/index.html +5 -5
  388. package/package.json +8 -14
  389. package/dist/astro.d.ts +0 -2
  390. package/dist/node_modules/@allyhub-next/audio/dist/at-cut.d.ts +0 -52
  391. package/dist/node_modules/@allyhub-next/audio/dist/decode.d.ts +0 -33
  392. package/dist/node_modules/@allyhub-next/audio/dist/envelope.d.ts +0 -37
  393. package/dist/node_modules/@allyhub-next/audio/dist/index.d.ts +0 -17
  394. package/dist/node_modules/@allyhub-next/audio/dist/levels.d.ts +0 -97
  395. package/dist/node_modules/@allyhub-next/audio/dist/master.d.ts +0 -29
  396. package/dist/node_modules/@allyhub-next/audio/dist/music.d.ts +0 -11
  397. package/dist/node_modules/@allyhub-next/audio/dist/node/decode.d.ts +0 -39
  398. package/dist/node_modules/@allyhub-next/audio/dist/node/ebur128.d.ts +0 -25
  399. package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -31
  400. package/dist/node_modules/@allyhub-next/audio/dist/node/index.d.ts +0 -8
  401. package/dist/node_modules/@allyhub-next/audio/dist/node/loudness.d.ts +0 -18
  402. package/dist/node_modules/@allyhub-next/audio/dist/node/master.d.ts +0 -42
  403. package/dist/node_modules/@allyhub-next/audio/dist/node/measure.d.ts +0 -60
  404. package/dist/node_modules/@allyhub-next/audio/dist/node/mix.d.ts +0 -31
  405. package/dist/node_modules/@allyhub-next/audio/dist/plan.d.ts +0 -143
  406. package/dist/node_modules/@allyhub-next/audio/dist/recorded.d.ts +0 -26
  407. package/dist/node_modules/@allyhub-next/audio/dist/recording/bandwidth.d.ts +0 -47
  408. package/dist/node_modules/@allyhub-next/audio/dist/recording/chain.d.ts +0 -89
  409. package/dist/node_modules/@allyhub-next/audio/dist/recording/dynamics.d.ts +0 -64
  410. package/dist/node_modules/@allyhub-next/audio/dist/recording/fft.d.ts +0 -26
  411. package/dist/node_modules/@allyhub-next/audio/dist/recording/filters.d.ts +0 -42
  412. package/dist/node_modules/@allyhub-next/audio/dist/recording/fit.d.ts +0 -56
  413. package/dist/node_modules/@allyhub-next/audio/dist/recording/index.d.ts +0 -10
  414. package/dist/node_modules/@allyhub-next/audio/dist/recording/loudness.d.ts +0 -12
  415. package/dist/node_modules/@allyhub-next/audio/dist/recording/measure.d.ts +0 -67
  416. package/dist/node_modules/@allyhub-next/audio/dist/recording/mic.d.ts +0 -32
  417. package/dist/node_modules/@allyhub-next/audio/dist/recording/noise.d.ts +0 -27
  418. package/dist/node_modules/@allyhub-next/audio/dist/recording/presets.d.ts +0 -64
  419. package/dist/node_modules/@allyhub-next/audio/dist/recording/room.d.ts +0 -78
  420. package/dist/node_modules/@allyhub-next/audio/dist/recording/setup.d.ts +0 -111
  421. package/dist/node_modules/@allyhub-next/audio/dist/recording/vec.d.ts +0 -3
  422. package/dist/node_modules/@allyhub-next/audio/dist/render.d.ts +0 -26
  423. package/dist/node_modules/@allyhub-next/audio/dist/sfx.d.ts +0 -10
  424. package/dist/node_modules/@allyhub-next/audio/dist/shape.d.ts +0 -118
  425. package/dist/node_modules/@allyhub-next/audio/dist/voice.d.ts +0 -45
  426. package/dist/node_modules/@allyhub-next/browser/dist/browser.d.ts +0 -24
  427. package/dist/node_modules/@allyhub-next/browser/dist/capture.d.ts +0 -61
  428. package/dist/node_modules/@allyhub-next/browser/dist/cdp.d.ts +0 -51
  429. package/dist/node_modules/@allyhub-next/browser/dist/flags.d.ts +0 -13
  430. package/dist/node_modules/@allyhub-next/browser/dist/frames.d.ts +0 -35
  431. package/dist/node_modules/@allyhub-next/browser/dist/html.d.ts +0 -19
  432. package/dist/node_modules/@allyhub-next/browser/dist/index.d.ts +0 -10
  433. package/dist/node_modules/@allyhub-next/browser/dist/launch.d.ts +0 -35
  434. package/dist/node_modules/@allyhub-next/browser/dist/page.d.ts +0 -67
  435. package/dist/node_modules/@allyhub-next/browser/dist/server.d.ts +0 -26
  436. package/dist/node_modules/@allyhub-next/check/dist/cache.d.ts +0 -46
  437. package/dist/node_modules/@allyhub-next/check/dist/check.d.ts +0 -142
  438. package/dist/node_modules/@allyhub-next/check/dist/generated.d.ts +0 -22
  439. package/dist/node_modules/@allyhub-next/check/dist/index.d.ts +0 -7
  440. package/dist/node_modules/@allyhub-next/check/dist/plans.d.ts +0 -111
  441. package/dist/node_modules/@allyhub-next/check/dist/result.d.ts +0 -12
  442. package/dist/node_modules/@allyhub-next/check/dist/scenery.d.ts +0 -23
  443. package/dist/node_modules/@allyhub-next/dev-server/dist/background.d.ts +0 -50
  444. package/dist/node_modules/@allyhub-next/dev-server/dist/card.d.ts +0 -17
  445. package/dist/node_modules/@allyhub-next/dev-server/dist/exports.d.ts +0 -18
  446. package/dist/node_modules/@allyhub-next/dev-server/dist/index.d.ts +0 -11
  447. package/dist/node_modules/@allyhub-next/dev-server/dist/live.d.ts +0 -77
  448. package/dist/node_modules/@allyhub-next/dev-server/dist/mime.d.ts +0 -2
  449. package/dist/node_modules/@allyhub-next/dev-server/dist/mime.js +0 -2
  450. package/dist/node_modules/@allyhub-next/dev-server/dist/paths.d.ts +0 -27
  451. package/dist/node_modules/@allyhub-next/dev-server/dist/project.d.ts +0 -153
  452. package/dist/node_modules/@allyhub-next/dev-server/dist/reveal.d.ts +0 -6
  453. package/dist/node_modules/@allyhub-next/dev-server/dist/server.d.ts +0 -47
  454. package/dist/node_modules/@allyhub-next/dev-server/dist/sound.d.ts +0 -21
  455. package/dist/node_modules/@allyhub-next/dev-server/dist/stage.d.ts +0 -82
  456. package/dist/node_modules/@allyhub-next/dev-server/dist/stage.js +0 -121
  457. package/dist/node_modules/@allyhub-next/dev-server/dist/tools.d.ts +0 -24
  458. package/dist/node_modules/@allyhub-next/dev-server/dist/validate.d.ts +0 -6
  459. package/dist/node_modules/@allyhub-next/dev-server/dist/watcher.d.ts +0 -47
  460. package/dist/node_modules/@allyhub-next/dev-server/dist/writer.d.ts +0 -51
  461. package/dist/node_modules/@allyhub-next/export/dist/batch.d.ts +0 -70
  462. package/dist/node_modules/@allyhub-next/export/dist/deck-fonts.d.ts +0 -24
  463. package/dist/node_modules/@allyhub-next/export/dist/deck-pptx.d.ts +0 -12
  464. package/dist/node_modules/@allyhub-next/export/dist/export.d.ts +0 -123
  465. package/dist/node_modules/@allyhub-next/export/dist/index.d.ts +0 -5
  466. package/dist/node_modules/@allyhub-next/export/dist/names.d.ts +0 -36
  467. package/dist/node_modules/@allyhub-next/measure/dist/compare.d.ts +0 -195
  468. package/dist/node_modules/@allyhub-next/measure/dist/contrast.d.ts +0 -14
  469. package/dist/node_modules/@allyhub-next/measure/dist/cut-sheet.d.ts +0 -90
  470. package/dist/node_modules/@allyhub-next/measure/dist/cuts.d.ts +0 -108
  471. package/dist/node_modules/@allyhub-next/measure/dist/facts.d.ts +0 -60
  472. package/dist/node_modules/@allyhub-next/measure/dist/fidelity.d.ts +0 -40
  473. package/dist/node_modules/@allyhub-next/measure/dist/flat.d.ts +0 -42
  474. package/dist/node_modules/@allyhub-next/measure/dist/index.d.ts +0 -24
  475. package/dist/node_modules/@allyhub-next/measure/dist/loop.d.ts +0 -22
  476. package/dist/node_modules/@allyhub-next/measure/dist/overlay.d.ts +0 -57
  477. package/dist/node_modules/@allyhub-next/measure/dist/recording-report.d.ts +0 -66
  478. package/dist/node_modules/@allyhub-next/measure/dist/reference/compare.d.ts +0 -118
  479. package/dist/node_modules/@allyhub-next/measure/dist/reference/folder.d.ts +0 -75
  480. package/dist/node_modules/@allyhub-next/measure/dist/reference/interpret.d.ts +0 -39
  481. package/dist/node_modules/@allyhub-next/measure/dist/reference/piece.d.ts +0 -53
  482. package/dist/node_modules/@allyhub-next/measure/dist/reference/sections.d.ts +0 -53
  483. package/dist/node_modules/@allyhub-next/measure/dist/reference/sets.d.ts +0 -84
  484. package/dist/node_modules/@allyhub-next/measure/dist/reference/text.d.ts +0 -27
  485. package/dist/node_modules/@allyhub-next/measure/dist/reference/video.d.ts +0 -55
  486. package/dist/node_modules/@allyhub-next/measure/dist/seams.d.ts +0 -46
  487. package/dist/node_modules/@allyhub-next/measure/dist/sound-measures.d.ts +0 -74
  488. package/dist/node_modules/@allyhub-next/measure/dist/sound-report.d.ts +0 -156
  489. package/dist/node_modules/@allyhub-next/measure/dist/still.d.ts +0 -58
  490. package/dist/node_modules/@allyhub-next/measure/dist/version-voice.d.ts +0 -12
  491. package/dist/node_modules/@allyhub-next/project/dist/console.d.ts +0 -34
  492. package/dist/node_modules/@allyhub-next/project/dist/digest.d.ts +0 -9
  493. package/dist/node_modules/@allyhub-next/project/dist/index.d.ts +0 -11
  494. package/dist/node_modules/@allyhub-next/project/dist/ledger.d.ts +0 -17
  495. package/dist/node_modules/@allyhub-next/project/dist/media-index.d.ts +0 -27
  496. package/dist/node_modules/@allyhub-next/project/dist/page.d.ts +0 -119
  497. package/dist/node_modules/@allyhub-next/project/dist/says.d.ts +0 -15
  498. package/dist/node_modules/@allyhub-next/project/dist/scenery.d.ts +0 -35
  499. package/dist/node_modules/@allyhub-next/project/dist/session.d.ts +0 -37
  500. package/dist/node_modules/@allyhub-next/project/dist/stretch.d.ts +0 -38
  501. package/dist/node_modules/@allyhub-next/project/dist/version.d.ts +0 -114
  502. package/dist/node_modules/@allyhub-next/render/dist/cap.d.ts +0 -41
  503. package/dist/node_modules/@allyhub-next/render/dist/capture.d.ts +0 -78
  504. package/dist/node_modules/@allyhub-next/render/dist/clip.d.ts +0 -27
  505. package/dist/node_modules/@allyhub-next/render/dist/composite.d.ts +0 -106
  506. package/dist/node_modules/@allyhub-next/render/dist/delivery.d.ts +0 -18
  507. package/dist/node_modules/@allyhub-next/render/dist/doc/fonts.d.ts +0 -3
  508. package/dist/node_modules/@allyhub-next/render/dist/doc/index.d.ts +0 -3
  509. package/dist/node_modules/@allyhub-next/render/dist/doc/print.d.ts +0 -51
  510. package/dist/node_modules/@allyhub-next/render/dist/encode.d.ts +0 -111
  511. package/dist/node_modules/@allyhub-next/render/dist/errors.d.ts +0 -15
  512. package/dist/node_modules/@allyhub-next/render/dist/exports.d.ts +0 -67
  513. package/dist/node_modules/@allyhub-next/render/dist/ffmpeg.d.ts +0 -75
  514. package/dist/node_modules/@allyhub-next/render/dist/footage.d.ts +0 -169
  515. package/dist/node_modules/@allyhub-next/render/dist/image.d.ts +0 -16
  516. package/dist/node_modules/@allyhub-next/render/dist/index.d.ts +0 -26
  517. package/dist/node_modules/@allyhub-next/render/dist/junction.d.ts +0 -70
  518. package/dist/node_modules/@allyhub-next/render/dist/look.d.ts +0 -21
  519. package/dist/node_modules/@allyhub-next/render/dist/page.d.ts +0 -178
  520. package/dist/node_modules/@allyhub-next/render/dist/parts.d.ts +0 -140
  521. package/dist/node_modules/@allyhub-next/render/dist/png.d.ts +0 -37
  522. package/dist/node_modules/@allyhub-next/render/dist/pool.d.ts +0 -54
  523. package/dist/node_modules/@allyhub-next/render/dist/post-probe.d.ts +0 -27
  524. package/dist/node_modules/@allyhub-next/render/dist/post.d.ts +0 -27
  525. package/dist/node_modules/@allyhub-next/render/dist/render.d.ts +0 -151
  526. package/dist/node_modules/@allyhub-next/render/dist/segments.d.ts +0 -40
  527. package/dist/node_modules/@allyhub-next/render/dist/sound.d.ts +0 -24
  528. package/dist/node_modules/@allyhub-next/render/dist/stills.d.ts +0 -41
  529. package/dist/node_modules/@allyhub-next/render/dist/tools.d.ts +0 -25
  530. package/dist/node_modules/@allyhub-next/render/dist/webp.d.ts +0 -17
  531. package/dist/node_modules/@allyhub-next/runtime/dist/bridge.d.ts +0 -211
  532. package/dist/node_modules/@allyhub-next/runtime/dist/captions.d.ts +0 -24
  533. package/dist/node_modules/@allyhub-next/runtime/dist/clock.d.ts +0 -32
  534. package/dist/node_modules/@allyhub-next/runtime/dist/compose.d.ts +0 -149
  535. package/dist/node_modules/@allyhub-next/runtime/dist/console.d.ts +0 -21
  536. package/dist/node_modules/@allyhub-next/runtime/dist/contrast.d.ts +0 -13
  537. package/dist/node_modules/@allyhub-next/runtime/dist/embed.d.ts +0 -50
  538. package/dist/node_modules/@allyhub-next/runtime/dist/env.d.ts +0 -101
  539. package/dist/node_modules/@allyhub-next/runtime/dist/errors.d.ts +0 -21
  540. package/dist/node_modules/@allyhub-next/runtime/dist/facade.d.ts +0 -42
  541. package/dist/node_modules/@allyhub-next/runtime/dist/fonts.d.ts +0 -110
  542. package/dist/node_modules/@allyhub-next/runtime/dist/footage.d.ts +0 -52
  543. package/dist/node_modules/@allyhub-next/runtime/dist/frame.d.ts +0 -61
  544. package/dist/node_modules/@allyhub-next/runtime/dist/guards.d.ts +0 -32
  545. package/dist/node_modules/@allyhub-next/runtime/dist/index.d.ts +0 -14
  546. package/dist/node_modules/@allyhub-next/runtime/dist/inspect.d.ts +0 -112
  547. package/dist/node_modules/@allyhub-next/runtime/dist/locate.d.ts +0 -11
  548. package/dist/node_modules/@allyhub-next/runtime/dist/measure.d.ts +0 -41
  549. package/dist/node_modules/@allyhub-next/runtime/dist/mix-plan.d.ts +0 -42
  550. package/dist/node_modules/@allyhub-next/runtime/dist/music.d.ts +0 -29
  551. package/dist/node_modules/@allyhub-next/runtime/dist/output.d.ts +0 -5
  552. package/dist/node_modules/@allyhub-next/runtime/dist/pictures.d.ts +0 -39
  553. package/dist/node_modules/@allyhub-next/runtime/dist/piece.d.ts +0 -34
  554. package/dist/node_modules/@allyhub-next/runtime/dist/player/clips.d.ts +0 -41
  555. package/dist/node_modules/@allyhub-next/runtime/dist/player/cutout.d.ts +0 -57
  556. package/dist/node_modules/@allyhub-next/runtime/dist/player/player.d.ts +0 -78
  557. package/dist/node_modules/@allyhub-next/runtime/dist/reads.d.ts +0 -132
  558. package/dist/node_modules/@allyhub-next/runtime/dist/sound.d.ts +0 -22
  559. package/dist/node_modules/@allyhub-next/runtime/dist/speech.d.ts +0 -107
  560. package/dist/node_modules/@allyhub-next/runtime/dist/stage-kit.d.ts +0 -12
  561. package/dist/node_modules/@allyhub-next/runtime/dist/stage.d.ts +0 -34
  562. package/dist/node_modules/@allyhub-next/runtime/dist/styles.d.ts +0 -35
  563. package/dist/node_modules/@allyhub-next/runtime/dist/takes.d.ts +0 -72
  564. package/dist/node_modules/@allyhub-next/runtime/dist/titles.d.ts +0 -10
  565. package/dist/node_modules/@allyhub-next/runtime/dist/transitions.d.ts +0 -26
  566. package/dist/node_modules/@allyhub-next/site/dist/assets.d.ts +0 -59
  567. package/dist/node_modules/@allyhub-next/site/dist/assets.js +0 -2
  568. package/dist/node_modules/@allyhub-next/site/dist/astro.d.ts +0 -22
  569. package/dist/node_modules/@allyhub-next/site/dist/astro.js +0 -3
  570. package/dist/node_modules/@allyhub-next/site/dist/lockfile.d.ts +0 -40
  571. package/dist/node_modules/@allyhub-next/site/dist/lockfile.js +0 -3
  572. package/dist/node_modules/@allyhub-next/site/dist/media.d.ts +0 -24
  573. package/dist/node_modules/@allyhub-next/site/dist/media.js +0 -4
  574. package/dist/node_modules/@allyhub-next/site/package.json +0 -25
  575. package/dist/node_modules/@allyhub-next/slides-core/dist/preset.d.ts +0 -5
  576. package/dist/node_modules/@allyhub-next/slides-core/dist/preset.js +0 -2
  577. package/dist/node_modules/@allyhub-next/slides-pptx/dist/charts.d.ts +0 -6
  578. package/dist/node_modules/@allyhub-next/slides-pptx/dist/fonts.d.ts +0 -45
  579. package/dist/node_modules/@allyhub-next/slides-pptx/dist/import.d.ts +0 -18
  580. package/dist/node_modules/@allyhub-next/slides-pptx/dist/import.js +0 -3
  581. package/dist/node_modules/@allyhub-next/slides-pptx/dist/index.d.ts +0 -5
  582. package/dist/node_modules/@allyhub-next/slides-pptx/dist/read.d.ts +0 -56
  583. package/dist/node_modules/@allyhub-next/slides-pptx/dist/read.js +0 -4
  584. package/dist/node_modules/@allyhub-next/slides-pptx/dist/shapes.d.ts +0 -72
  585. package/dist/node_modules/@allyhub-next/slides-pptx/dist/text.d.ts +0 -32
  586. package/dist/node_modules/@allyhub-next/slides-pptx/dist/theme.d.ts +0 -4
  587. package/dist/node_modules/@allyhub-next/slides-pptx/dist/timing.d.ts +0 -32
  588. package/dist/node_modules/@allyhub-next/slides-pptx/dist/write.d.ts +0 -32
  589. package/dist/node_modules/@allyhub-next/slides-pptx/dist/xml.d.ts +0 -32
  590. package/dist/node_modules/@allyhub-next/slides-runtime/dist/draw.d.ts +0 -43
  591. package/dist/node_modules/@allyhub-next/slides-runtime/dist/edit.d.ts +0 -4
  592. package/dist/node_modules/@allyhub-next/slides-runtime/dist/edit.js +0 -2
  593. package/dist/node_modules/@allyhub-next/slides-runtime/dist/index.d.ts +0 -4
  594. package/dist/node_modules/@allyhub-next/slides-runtime/dist/ink.d.ts +0 -10
  595. package/dist/node_modules/@allyhub-next/slides-runtime/dist/load.d.ts +0 -6
  596. package/dist/node_modules/@allyhub-next/stage/dist/bakes.d.ts +0 -42
  597. package/dist/node_modules/@allyhub-next/stage/dist/graphics.d.ts +0 -7
  598. package/dist/node_modules/@allyhub-next/stage/dist/identity.d.ts +0 -2
  599. package/dist/node_modules/@allyhub-next/stage/dist/index.d.ts +0 -9
  600. package/dist/node_modules/@allyhub-next/stage/dist/page.d.ts +0 -87
  601. package/dist/node_modules/@allyhub-next/stage/dist/scenery-page.d.ts +0 -69
  602. package/dist/node_modules/@allyhub-next/stage/dist/scenery-solve.d.ts +0 -49
  603. package/dist/node_modules/@allyhub-next/stage/dist/scenery.d.ts +0 -8
  604. package/dist/node_modules/@allyhub-next/stage/dist/server.d.ts +0 -21
  605. package/dist/node_modules/@allyhub-next/stage-page/dist/host.d.ts +0 -22
  606. package/dist/node_modules/@allyhub-next/stage-page/dist/page.js +0 -79
  607. package/dist/site.d.ts +0 -2
  608. package/editor-web/assets/dist-BW2s9FMO.js +0 -4
  609. package/editor-web/assets/dist-C-6JmebI.js +0 -233
  610. package/editor-web/assets/dist-CCYMLMKN.js +0 -6
  611. package/editor-web/assets/dist-CHzurjMx.js +0 -33
  612. package/editor-web/assets/dist-DF7H1dxw.js +0 -1
  613. package/editor-web/assets/dist-Da5AUSKX.js +0 -2
  614. package/editor-web/assets/index-B7S9RZhL.css +0 -2
  615. package/editor-web/assets/index-CovQYWvD.js +0 -69
  616. package/editor-web/assets/minus-BrvjaJyO.js +0 -1
  617. package/editor-web/assets/react-DV5fPdiH.js +0 -101
  618. package/editor-web/assets/textarea-B0vCGdZI.js +0 -105
  619. package/editor-web/assets/trash-2-B0dvc1cZ.js +0 -1
  620. package/editor-web/assets/undo-2-A1EPubPO.js +0 -1
  621. /package/dist/node_modules/@allyhub-next/{site → ooxml}/LICENSE +0 -0
@@ -0,0 +1,48 @@
1
+ import { type XEl } from "./node.js";
2
+ import { type ReportEntry } from "./report.js";
3
+ /** A relationship of a part. */
4
+ export interface Relationship {
5
+ id: string;
6
+ /** Its type URI, Transitional's (`…/relationships/slide`). */
7
+ type: string;
8
+ /** A part's path in the package, or an external target as it is (a URL). */
9
+ target: string;
10
+ external: boolean;
11
+ }
12
+ /** A part's path from the part that names it and a relative target. */
13
+ export declare function resolvePart(from: string, target: string): string;
14
+ export declare class Package {
15
+ readonly parts: Readonly<Record<string, Uint8Array>>;
16
+ private readonly opened;
17
+ private readonly failed;
18
+ private readonly left;
19
+ private readonly used;
20
+ private readonly relsCache;
21
+ private readonly types;
22
+ private readonly bookkeeping;
23
+ /** Extension elements that are bookkeeping wherever they are (an id across versions), and why. */
24
+ ignoreExtensions(keys: readonly string[], reason: string): void;
25
+ /** Entries a reader adds itself: what it read but could not hold, and so on. */
26
+ readonly entries: ReportEntry[];
27
+ constructor(parts: Readonly<Record<string, Uint8Array>>);
28
+ private xmlOf;
29
+ /** A part's content type. */
30
+ contentType(part: string): string | undefined;
31
+ /** A part's relationships (its `_rels/<name>.rels`). */
32
+ rels(part: string): Relationship[];
33
+ /** A relationship of a part by its id. */
34
+ rel(part: string, id: string | undefined): Relationship | undefined;
35
+ /** A part's first relationship of a type, by its last segment (`slideLayout`). */
36
+ relOfType(part: string, type: string): Relationship | undefined;
37
+ /** A part opened as XML, typed by its root; undefined when it is missing or not XML (said in the report). */
38
+ open(part: string): XEl | undefined;
39
+ /** A part's bytes (a picture's, a video's), counted as read. */
40
+ bytes(part: string): Uint8Array | undefined;
41
+ /** Leaves a part out on purpose, with why: it is not reported. */
42
+ leave(part: string, reason: string): void;
43
+ /** What was not read: of each opened part, every part never opened, every part that could not be read. */
44
+ report(): ReportEntry[];
45
+ /** The reasons parts' subtrees were skipped for, with how many. */
46
+ reasons(): Map<string, number>;
47
+ }
48
+ //# sourceMappingURL=opc.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{strFromU8 as c}from"fflate";import{applyMce as d}from"./mce.js";import{Marks as u,rootOf as h,rootType as m}from"./node.js";import{transitional as y}from"./ns.js";import{leftovers as k}from"./report.js";import{attrOf as r,parseXml as w}from"./xml.js";export function resolvePart(a,t){if(t.startsWith("/"))return t.slice(1);const e=a.split("/").slice(0,-1);for(const s of decodeURI(t).split("/"))s===".."?e.pop():s!=="."&&s!==""&&e.push(s);return e.join("/")}export class Package{parts;opened=new Map;failed=new Map;left=new Map;used=new Set;relsCache=new Map;types;bookkeeping=new Map;ignoreExtensions(t,e){for(const s of t)this.bookkeeping.set(s,e)}entries=[];constructor(t){this.parts=t,this.types={defaults:new Map,overrides:new Map};const e=this.xmlOf("[Content_Types].xml");for(const s of e?.children??[]){const o=r(s,"ContentType")??"";s.local==="Default"?this.types.defaults.set((r(s,"Extension")??"").toLowerCase(),o):s.local==="Override"&&this.types.overrides.set((r(s,"PartName")??"").replace(/^\//u,""),o)}}xmlOf(t){const e=this.parts[t];if(e)try{return w(c(e))}catch(s){this.failed.set(t,s instanceof Error?s.message:String(s));return}}contentType(t){return this.types.overrides.get(t)??this.types.defaults.get(t.split(".").pop()?.toLowerCase()??"")}rels(t){const e=this.relsCache.get(t);if(e)return e;const s=t.split("/").slice(0,-1).join("/"),o=t.split("/").pop()??"",n=`${s===""?"":`${s}/`}_rels/${o}.rels`,p=(this.xmlOf(n)?.children??[]).map(i=>{const f=r(i,"TargetMode")==="External",l=r(i,"Target")??"";return{id:r(i,"Id")??"",type:y(r(i,"Type")??""),target:f?l:resolvePart(t,l),external:f}});return this.relsCache.set(t,p),p}rel(t,e){return e===void 0?void 0:this.rels(t).find(s=>s.id===e)}relOfType(t,e){return this.rels(t).find(s=>s.type.endsWith(`/${e}`))}open(t){const e=this.opened.get(t);if(e)return h(e.root,e.marks);const s=this.xmlOf(t);if(!s)return;const o=d(s),n=new u;return this.opened.set(t,{root:s,marks:n,events:o}),h(s,n)}bytes(t){const e=this.parts[t];return e&&this.used.add(t),e}leave(t,e){this.left.set(t,e)}report(){const t=[];for(const[e,s]of this.opened){for(const o of s.events)t.push({kind:"extension",part:e,what:o.what,detail:o.detail});t.push(...k(e,s.root,m(s.root.key),s.marks,this.bookkeeping))}for(const[e,s]of this.failed)t.push({kind:"part",part:e,what:e,detail:`not read: ${s}`});for(const e of Object.keys(this.parts).sort())this.opened.has(e)||this.failed.has(e)||this.left.has(e)||this.used.has(e)||e==="[Content_Types].xml"||/(^|\/)_rels\/[^/]*\.rels$/u.test(e)||e.endsWith("/")||t.push({kind:"part",part:e,what:this.contentType(e)??e,detail:"not opened"});return[...t,...this.entries]}reasons(){const t=new Map;for(const e of this.opened.values())for(const[s,o]of e.marks.reasons)t.set(s,(t.get(s)??0)+o);for(const e of this.left.values())t.set(e,(t.get(e)??0)+1);return t}}
@@ -0,0 +1,45 @@
1
+ import { type Marks } from "./node.js";
2
+ import type { XmlElement } from "./xml.js";
3
+ /** What a report entry says of a thing in the file. */
4
+ export type ReportKind =
5
+ /** Nothing read it. */
6
+ "unread"
7
+ /** An extension of Office's (an `ext`, an ignorable namespace, a `mc:Choice`) not read. */
8
+ | "extension"
9
+ /** A part of the package nothing opened, or one that could not be read. */
10
+ | "part"
11
+ /** Read, but what it is read into cannot hold it. */
12
+ | "cannot-hold"
13
+ /** Held another way, close to it. */
14
+ | "approximated"
15
+ /** Evidence that is not in the file. */
16
+ | "missing";
17
+ /** A line of a report. */
18
+ export interface ReportEntry {
19
+ kind: ReportKind;
20
+ /** The part it is in (`ppt/slides/slide3.xml`). */
21
+ part: string;
22
+ /** Where in the deck, as a reader labelled it (`slide 3 › "Oval 4"`). */
23
+ where?: string;
24
+ /** Its element path from the labelled element (or the root). */
25
+ path?: string;
26
+ /** What: an element's or an attribute's name (`a:glow`, `a:rPr@kern`), or a phrase. */
27
+ what: string;
28
+ /** More: an attribute's value, a reason. */
29
+ detail?: string;
30
+ }
31
+ /** Everything of a part's tree that was not read, nor skipped, nor a default. */
32
+ export declare function leftovers(part: string, root: XmlElement, rootType: string, marks: Marks,
33
+ /** Extensions that are bookkeeping by nature, by name, and why: counted in `marks.reasons`, not reported. */
34
+ bookkeeping?: ReadonlyMap<string, string>): ReportEntry[];
35
+ /** Report entries grouped by what they say: a line per kind and thing, with where each was. */
36
+ export interface ReportGroup {
37
+ kind: ReportKind;
38
+ what: string;
39
+ detail?: string;
40
+ count: number;
41
+ where: string[];
42
+ }
43
+ /** A report grouped: entries alike (kind, what and, for all but unread attributes, detail) as one line. */
44
+ export declare function groupReport(entries: readonly ReportEntry[]): ReportGroup[];
45
+ //# sourceMappingURL=report.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{attrSpec as E,childType as M,parseValue as x}from"./node.js";import{NAMESPACES as r}from"./ns.js";const l=new Set([r.a,r.p,r.c,r.pic,r.r,r.dgm]),b=new Set([r.xml,r.xsi,r.mc]);function A(d,s,n){const e=E(d,s);return e?.default===void 0?!1:x(e.kind,n)===x(e.kind,e.default)}export function leftovers(d,s,n,e,u=new Map){const o=[],a=(i,w,g,v)=>{if(e.skipped.has(i))return;const k=e.labels.get(i),f=k??g,y=k===void 0?[...v,i.key]:[i.key],h=t=>{o.push({...t,part:d,...f===void 0?{}:{where:f},path:y.join("/")})};if(i.local==="extLst"&&l.has(i.uri)){for(const t of i.children)for(const c of t.children){const p=u.get(c.key);if(p!==void 0){e.reasons.set(p,(e.reasons.get(p)??0)+1);continue}!e.read.has(c)&&!e.skipped.has(c)&&h({kind:"extension",what:c.key,detail:t.attrs.find($=>$.key==="uri")?.value??""})}return}if(!e.read.has(i)){h({kind:l.has(i.uri)?"unread":"extension",what:i.key});return}const S=e.attrs.get(i);for(const t of i.attrs)S?.has(t.key)||b.has(t.uri)||A(w,t.key,t.value)||h({kind:t.uri===""||l.has(t.uri)?"unread":"extension",what:`${i.key}@${t.key}`,detail:t.value});for(const t of i.children)a(t,M(w,t.key),f,y)};return a(s,n,void 0,[]),o}export function groupReport(d){const s=new Map;for(const n of d){const e=n.kind!=="unread"&&n.detail!==void 0,u=`${n.kind}\0${n.what}\0${e?n.detail??"":""}`;let o=s.get(u);o||(o={kind:n.kind,what:n.what,...e&&n.detail!==void 0?{detail:n.detail}:{},count:0,where:[]},s.set(u,o)),o.count++;const a=n.where??n.part;o.where.includes(a)||o.where.push(a)}return[...s.values()]}
@@ -0,0 +1,28 @@
1
+ /** An attribute: its name as shown (`rot`, `r:embed`), its namespace (empty for none) and its value. */
2
+ export interface XmlAttr {
3
+ readonly key: string;
4
+ readonly uri: string;
5
+ readonly local: string;
6
+ readonly value: string;
7
+ }
8
+ /** An element of a part. */
9
+ export interface XmlElement {
10
+ /** Its name as shown: `a:xfrm`, `{uri}local` for a namespace without an Office prefix. */
11
+ readonly key: string;
12
+ readonly uri: string;
13
+ readonly local: string;
14
+ attrs: XmlAttr[];
15
+ children: XmlElement[];
16
+ /** Its character data, entities and CDATA resolved. */
17
+ text: string;
18
+ /** The prefixes in scope here, mapped to their namespace (Transitional), for attribute values that name prefixes (MCE). */
19
+ readonly scope: Readonly<Record<string, string>>;
20
+ parent: XmlElement | undefined;
21
+ /** Its line in the part, from 1. */
22
+ readonly line: number;
23
+ }
24
+ /** An attribute's value by its name as shown. */
25
+ export declare const attrOf: (el: XmlElement, key: string) => string | undefined;
26
+ /** A part's XML as a tree of elements; throws on XML that is not well-formed or names an unbound prefix. */
27
+ export declare function parseXml(text: string): XmlElement;
28
+ //# sourceMappingURL=xml.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{SaxesParser as x}from"saxes";import{qname as m,transitional as i}from"./ns.js";const h="http://www.w3.org/2000/xmlns/";export const attrOf=(s,e)=>s.attrs.find(n=>n.key===e)?.value;export function parseXml(s){const e=new x({xmlns:!0,position:!0}),n=[];let c;e.on("opentag",o=>{const r=n.at(-1),p=i(o.uri),f={...r?.scope};for(const[t,l]of Object.entries(o.ns))f[t]=i(l);const a={key:m(p,o.local),uri:p,local:o.local,attrs:Object.values(o.attributes).filter(t=>t.uri!==h&&t.name!=="xmlns").map(t=>{const l=i(t.uri);return{key:m(l,t.local),uri:l,local:t.local,value:t.value}}),children:[],text:"",scope:f,parent:r,line:e.line};r?r.children.push(a):c??=a,n.push(a)});const u=o=>{const r=n.at(-1);r&&(r.text+=o)};if(e.on("text",u),e.on("cdata",u),e.on("closetag",()=>{n.pop()}),e.write(s.charCodeAt(0)===65279?s.slice(1):s).close(),!c)throw new Error("it has no root element");return c}
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@allyhub-next/ooxml",
3
+ "version": "0.7.0",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./dist/index.d.ts",
8
+ "default": "./dist/index.js"
9
+ },
10
+ "./geometry": {
11
+ "types": "./dist/geometry/index.d.ts",
12
+ "default": "./dist/geometry/index.js"
13
+ },
14
+ "./enums": {
15
+ "types": "./dist/enums.d.ts",
16
+ "default": "./dist/enums.js"
17
+ },
18
+ "./brightness": {
19
+ "types": "./dist/brightness.d.ts",
20
+ "default": "./dist/brightness.js"
21
+ }
22
+ },
23
+ "sideEffects": false,
24
+ "private": true,
25
+ "license": "SEE LICENSE IN LICENSE.md"
26
+ }
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{createHash as g}from"node:crypto";import{codeOf as p,fontsDigest as m}from"@allyhub-next/build";import{stageIdentity as l}from"@allyhub-next/stage";const a="allyhub-deck-key-v1",d=t=>g("sha256").update(t).digest("hex"),u=new WeakMap;export function deckDigests(t,e){let o=u.get(t);o||(o=new Map,u.set(t,o));let s=o.get(e.id);return s||(s=(async()=>{const i=await m(t.root,t.files,t.fonts),n=l(i),c=await p(t,e,n);return{code:d(JSON.stringify([c.bundle,c.vendor])),renderer:d(JSON.stringify(n))}})(),o.set(e.id,s)),s}function y(t){const e=new Set;let o=!1;const s=i=>{if(Array.isArray(i))for(const n of i)s(n);else if(typeof i=="object"&&i!==null){const n=i;"component"in n&&typeof n.component=="object"&&(o=!0);const c=n.background_picture;typeof c=="string"&&e.add(c);const r=n.media;if(typeof r=="object"&&r!==null&&"path"in r){const f=r.path;typeof f=="string"&&e.add(f)}for(const f of Object.values(n))s(f)}};return s(JSON.parse(t)),{media:[...e].sort(),component:o}}export function slideKeys(t,e){const o={};for(const[s,i]of Object.entries(t)){const{media:n,component:c}=y(i);o[s]=d(JSON.stringify([a,e.digests.renderer,e.gpu?"gpu":"cpu",c?e.digests.code:null,n.map(r=>[r,e.prepared.media[r]?.sha256??null]),i]))}return o}export function componentKey(t,e){return d(JSON.stringify([a,"component",e.digests.renderer,e.digests.code,e.gpu?"gpu":"cpu",t.name,t.props,t.width,t.height,t.t]))}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{readFile as g}from"node:fs/promises";import{deckDigests as w,slideKeys as h}from"./deck-keys.js";import{KeyedStore as S}from"./stills.js";export async function measureDeck(r,u,a,l={}){const m=a.summary;if(!m)return a.measure();const k=h(m.signs,{prepared:r.prepared,digests:await w(r.prepared,u),gpu:r.gpu}),c=S.of(r.prepared.root,"measure"),i=m.timeline.parts.flatMap(e=>(e.steps??[e.still]).map((t,s)=>({part:e.key,t,name:`${k[e.key]??""}.${String(s)}.json`}))),o=new Map;for(const e of l.fresh===!0?[]:i){const t=await c.get(e.name);if(t!==void 0)try{const s=JSON.parse(await g(t,"utf8"));o.set(e.t,{moment:{...s.moment,t:e.t},slide:{...s.slide,t:e.t}})}catch{}}const p=i.filter(e=>!o.has(e.t)).map(e=>e.t),n=await a.measure(p);for(const[e,t]of n.moments.entries()){const s=n.deck?.slides[e];if(!s)continue;o.set(t.t,{moment:t,slide:s});const f=i.find(y=>y.t===t.t)?.name;f!==void 0&&await c.put(f,JSON.stringify({moment:t,slide:s}))}p.length>0&&await c.sweep();const d=i.flatMap(e=>{const t=o.get(e.t);return t?[t]:[]});return{...n,moments:d.map(e=>e.moment),...n.deck?{deck:{...n.deck,slides:d.map(e=>e.slide)}}:{}}}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{readFile as w}from"node:fs/promises";import{cpus as g}from"node:os";import{finalStill as y,readPng as M,resizeImage as P,webp as O,writePng as S}from"@allyhub-next/render";import{graphicsPage as $}from"@allyhub-next/stage";import{deckDigests as k,slideKeys as x}from"./deck-keys.js";import{KeyedStore as E}from"./stills.js";import{lookOf as b,projectMedia as v}from"./version.js";export const POOL_PAGES=Math.max(1,Math.min(4,Math.floor(g().length/3)));const A=(c,t)=>c.steps?.[t]??c.still;export class DeckPool{timeline;keys;counts={found:0,drawn:0};session;piece;target;first;store;constructor(t){this.session=t.session,this.piece=t.piece,this.target=t.target,this.first=t.first,this.timeline=t.summary.timeline,this.keys=t.keys,this.store=E.of(t.session.prepared.root,"stills")}static async on(t,e,a,n){const i=n.summary;if(!i)throw new Error(`${a.piece} is not loaded.`);const o=await k(t.prepared,e);return new DeckPool({session:t,piece:e,target:a,first:n,summary:i,keys:x(i.signs,{prepared:t.prepared,digests:o,gpu:t.gpu})})}nameOf(t){const e=this.keys[t.slide];return e===void 0?void 0:`${e}.${String(t.step)}.${String(Math.round(t.width))}.${t.format}`}async stills(t){const e=t.map(()=>{}),a=new Map;for(const[i,o]of t.entries()){const r=this.nameOf(o),s=r===void 0?void 0:await this.store.get(r);if(s!==void 0){e[i]=await w(s),this.counts.found++;continue}a.set(o.slide,[...a.get(o.slide)??[],i])}const n=[...a.values()];if(n.length>0){const i=Math.min(POOL_PAGES,n.length)-1,o=[this.first],r=[];try{const s=await Promise.all(Array.from({length:i},()=>this.session.open(this.piece,this.target,"render")));for(const f of s)f.summary?(o.push(f.stage),r.push(f.stage)):await f.close();let h=0;await Promise.all(o.map(async f=>{for(let d=h++;d<n.length;d=h++)for(const l of n[d]??[]){const m=t[l];if(!m)continue;const p=await this.draw(f,m);e[l]=p;const u=this.nameOf(m);u!==void 0&&await this.store.put(u,p),this.counts.drawn++}}))}finally{await Promise.all(r.map(s=>s.close()))}await this.store.sweep()}return e.map(i=>i??Buffer.alloc(0))}async draw(t,e){const a=this.timeline.parts.find(s=>s.key===e.slide);if(!a)throw new Error(`The deck has no slide ${e.slide}.`);const n=A(a,e.step),i=e.width/this.timeline.width,o=(this.timeline.footage??[]).some(s=>s.part===a.key);if(!o&&t.drawing.mode==="screenshot")return await t.seek(n),t.capture({format:e.format,...i===1?{}:{scale:i}});let r;if(o?r=await y($(t,{gpu:this.session.gpu}),n,{target:this.target,look:b(this.piece),media:v(this.session.prepared)}):(await t.seek(n),r=await t.capture({format:"png"})),i!==1){const s=M(r);r=S(P(s,Math.round(e.width),Math.round(s.height*e.width/s.width)))}return e.format==="png"?r:O(r,"lossless")}}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export{CheckSession,runtimeDigest}from"./session.js";export{LoadedVersion,StuckError}from"./page.js";export{baseDigest,outputDigest}from"./digest.js";export{ConsolePool,consoleJson,consoleOf,mergeConsole}from"./console.js";export{ProblemPool,byLevel,dedupe}from"./ledger.js";export{OpenedVersion,ProjectError,extraCombos,filmTimes,lookOf,parseCombo,partOf,pickTarget,projectMedia,soundOf,versionLabel}from"./version.js";export{generatedReads,momentsIn,stretchOf}from"./stretch.js";export{indexNeeds,makeIndex,needText}from"./media-index.js";export{projectSays}from"./says.js";export{findScenery,piecesDrawing,sceneryTimesFromVideo}from"./scenery.js";
2
+ export{CheckSession,runtimeDigest}from"./session.js";export{LoadedVersion,StuckError}from"./page.js";export{baseDigest,outputDigest}from"./digest.js";export{componentKey,deckDigests,slideKeys}from"./deck-keys.js";export{KeyedStore}from"./stills.js";export{DeckPool,POOL_PAGES}from"./deck-pool.js";export{measureDeck}from"./deck-measure.js";export{ConsolePool,consoleJson,consoleOf,mergeConsole}from"./console.js";export{ProblemPool,byLevel,dedupe}from"./ledger.js";export{OpenedVersion,ProjectError,extraCombos,filmTimes,lookOf,parseCombo,partOf,pickTarget,projectMedia,soundOf,versionLabel}from"./version.js";export{generatedReads,momentsIn,stretchOf}from"./stretch.js";export{indexNeeds,makeIndex,needText}from"./media-index.js";export{projectSays}from"./says.js";export{findScenery,piecesDrawing,sceneryTimesFromVideo}from"./scenery.js";
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{createHash as l}from"node:crypto";import{readFile as h,rm as w}from"node:fs/promises";import{join as a}from"node:path";import{startBrowser as b}from"@allyhub-next/browser";import{placeFinder as f,prepare as g,sourceOf as D}from"@allyhub-next/build";import{CACHE_DIR as v}from"@allyhub-next/formats";import{stageFiles as L}from"@allyhub-next/stage-page";import{BUILD_BASE as d,StagePage as O,mediaUrl as c,sceneryHost as y,serveDecoders as S,serveStage as F}from"@allyhub-next/stage";import{CONSOLE_LIMIT as I}from"@allyhub-next/video-core";import{LoadedVersion as j}from"./page.js";let m;export function runtimeDigest(){return m??=h(L().runtime).then(p=>l("sha256").update(p).digest("hex")),m}export class CheckSession{prepared;browser;consoleLimit;server;owned;places;constructor(e,o,t,r,s,i){this.prepared=e,this.browser=o,this.server=t,this.consoleLimit=r,this.places=i,this.owned=s}static async open(e){const o=e.buildDir===void 0,t=e.buildDir??a(e.root,v,"build",`check-${String(process.pid)}`),r=await g(e.root,{buildDir:t,mediaUrl:c,host:y(e.root)});r.bundle&&await S(r.bundle.dir);const s=r.bundle?.dir??t,i=await F({buildDir:s,root:r.root,media:Object.keys(r.media)});let n=e.browser;try{n??=await b(e.gpu===void 0?{}:{gpu:e.gpu})}catch(u){throw await i.close(),u}return new CheckSession(r,n,i,e.consoleLimit??I,{browser:e.browser===void 0,...o?{buildDir:t}:{}},f({served:new URL(d,i.origin).href,dir:s,root:r.root}))}get gpu(){return this.browser.gpu}mediaPath(e){return Object.hasOwn(this.prepared.media,e)?a(this.prepared.root,e):void 0}async open(e,o,t="check"){const r=await O.open({format:e.format},{browser:this.browser,server:this.server,beginFrame:this.browser.beginFrame}),s=D(this.prepared,e,d,c);return j.load(r,o,()=>r.load(s,{combo:o.combo,purpose:t,consoleLimit:this.consoleLimit}),e.file,i=>this.places.placeOf(i))}async close(){await this.server.close(),this.owned.browser&&await this.browser.close(),this.owned.buildDir!==void 0&&await w(this.owned.buildDir,{recursive:!0,force:!0})}}
2
+ import{createHash as p}from"node:crypto";import{readFile as u,rm as h}from"node:fs/promises";import{join as n}from"node:path";import{startBrowser as l}from"@allyhub-next/browser";import{placeFinder as w,prepare as b,sourceOf as f}from"@allyhub-next/build";import{CACHE_DIR as g}from"@allyhub-next/formats";import{stageFiles as D}from"@allyhub-next/stage-page";import{BUILD_BASE as v,StagePage as L,sceneryHost as y,serveDecoders as O,serveStage as S}from"@allyhub-next/stage";import{CONSOLE_LIMIT as F}from"@allyhub-next/video-core";import{LoadedVersion as I}from"./page.js";let d;export function runtimeDigest(){return d??=u(D().runtime).then(c=>p("sha256").update(c).digest("hex")),d}export class CheckSession{prepared;browser;consoleLimit;server;owned;places;constructor(e,t,i,r,s,o){this.prepared=e,this.browser=t,this.server=i,this.consoleLimit=r,this.places=o,this.owned=s}static async open(e){const t=e.buildDir===void 0,i=e.buildDir??n(e.root,g,"build",`check-${String(process.pid)}`),r=await b(e.root,{buildDir:i,host:y(e.root)});r.bundle&&await O(r.bundle.dir);const s=r.bundle?.dir??i,o=await S({buildDir:s,root:r.root,media:Object.keys(r.media)});let a=e.browser;try{a??=await l(e.gpu===void 0?{}:{gpu:e.gpu})}catch(m){throw await o.close(),m}return new CheckSession(r,a,o,e.consoleLimit??F,{browser:e.browser===void 0,...t?{buildDir:i}:{}},w({served:new URL(v,o.origin).href,dir:s,root:r.root}))}get gpu(){return this.browser.gpu}mediaPath(e){return Object.hasOwn(this.prepared.media,e)?n(this.prepared.root,e):void 0}async stage(e){return{stage:await L.open({format:e.format},{browser:this.browser,server:this.server,beginFrame:this.browser.beginFrame}),source:f(this.prepared,e)}}async open(e,t,i="check"){const{stage:r,source:s}=await this.stage(e);return I.load(r,t,()=>r.load(s,{combo:t.combo,purpose:i,consoleLimit:this.consoleLimit}),e.file,o=>this.places.placeOf(o))}async close(){await this.server.close(),this.owned.browser&&await this.browser.close(),this.owned.buildDir!==void 0&&await h(this.owned.buildDir,{recursive:!0,force:!0})}}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{mkdir as a,readdir as o,rename as c,rm as h,stat as p,utimes as d,writeFile as m}from"node:fs/promises";import{join as s}from"node:path";import{CACHE_DIR as u}from"@allyhub-next/formats";import{partCacheLimit as f}from"@allyhub-next/render";export class KeyedStore{dir;limit;written=0;constructor(i,e){this.dir=i,this.limit=e}static opened=new Map;static of(i,e){const t=s(i,u,e);let r=KeyedStore.opened.get(t);return r||(r=new KeyedStore(t,f()),KeyedStore.opened.set(t,r)),r}path(i){return s(this.dir,i)}async get(i){const e=this.path(i);try{const t=new Date;return await d(e,t,t),e}catch{return}}async put(i,e){await a(this.dir,{recursive:!0});const t=this.path(i),r=s(this.dir,`.${i}.${String(process.pid)}.${String(this.written++)}`);return await m(r,e),await c(r,t),t}async sweep(){const i=[];for(const t of await o(this.dir).catch(()=>[])){if(t.startsWith("."))continue;const r=s(this.dir,t),n=await p(r).catch(()=>{});n?.isFile()&&i.push({path:r,size:n.size,used:n.mtimeMs})}let e=i.reduce((t,r)=>t+r.size,0);if(!(e<=this.limit)){i.sort((t,r)=>t.used-r.used);for(const t of i){if(e<=this.limit*.9)break;await h(t.path,{force:!0}),e-=t.size}}}}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub-next/project",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -0,0 +1,338 @@
1
+ import { z } from "zod";
2
+ import type { MethodSpec } from "./jsonrpc.js";
3
+ /** `GET`: the person's invitations waiting in the organization; `POST { email, role }` invites (an owner's or an admin's). */
4
+ export declare const INVITATIONS_PATH = "/api/organization/invitations";
5
+ export declare const InvitationsSchema: z.ZodObject<{
6
+ invitations: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodString;
8
+ email: z.ZodString;
9
+ role: z.ZodString;
10
+ expiresAt: z.ZodISODateTime;
11
+ }, z.core.$strip>>;
12
+ }, z.core.$strip>;
13
+ export type Invitations = z.infer<typeof InvitationsSchema>;
14
+ /** `POST`: the person leaves the organization the request acts in. */
15
+ export declare const LEAVE_PATH = "/api/organization/leave";
16
+ /** `GET`: the person's API keys made for the organization the request acts in; `POST { name }` makes one. */
17
+ export declare const KEYS_PATH = "/api/keys";
18
+ export declare const KeysSchema: z.ZodObject<{
19
+ keys: z.ZodArray<z.ZodObject<{
20
+ id: z.ZodString;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ start: z.ZodNullable<z.ZodString>;
23
+ enabled: z.ZodBoolean;
24
+ createdAt: z.ZodISODateTime;
25
+ lastUsedAt: z.ZodNullable<z.ZodISODateTime>;
26
+ }, z.core.$strip>>;
27
+ }, z.core.$strip>;
28
+ export type Keys = z.infer<typeof KeysSchema>;
29
+ /** `GET`: the person's name and email, and whether Google signs them in; `PUT { name }` renames them. */
30
+ export declare const PROFILE_PATH = "/api/account/profile";
31
+ export declare const ProfileSchema: z.ZodObject<{
32
+ name: z.ZodString;
33
+ email: z.ZodString;
34
+ google: z.ZodBoolean;
35
+ }, z.core.$strip>;
36
+ export type Profile = z.infer<typeof ProfileSchema>;
37
+ /** The roles of a team, the strongest last. */
38
+ export declare const ROLES: readonly ["member", "admin", "owner"];
39
+ export type Role = (typeof ROLES)[number];
40
+ /** One call: its route (a `:name` filled from the parameter of that name) and its method; the other parameters are the query of a GET or a DELETE, else the body. */
41
+ export interface AccountCall<P extends z.ZodType = z.ZodType, R extends z.ZodType = z.ZodType> extends MethodSpec<P, R> {
42
+ http: "GET" | "POST" | "PUT" | "DELETE";
43
+ route: string;
44
+ }
45
+ export declare const ACCOUNT_CALLS: {
46
+ readonly balance: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
47
+ credits: z.ZodNumber;
48
+ held: z.ZodNumber;
49
+ owed: z.ZodNumber;
50
+ frozen: z.ZodDefault<z.ZodNullable<z.ZodString>>;
51
+ plan: z.ZodNullable<z.ZodObject<{
52
+ id: z.ZodString;
53
+ name: z.ZodString;
54
+ interval: z.ZodUnion<readonly [z.ZodEnum<{
55
+ month: "month";
56
+ year: "year";
57
+ }>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
58
+ status: z.ZodString;
59
+ renewsAt: z.ZodNullable<z.ZodISODateTime>;
60
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
61
+ monthlyCredits: z.ZodDefault<z.ZodNumber>;
62
+ price: z.ZodDefault<z.ZodNullable<z.ZodObject<{
63
+ amountCents: z.ZodNumber;
64
+ currency: z.ZodString;
65
+ }, z.core.$strip>>>;
66
+ }, z.core.$strip>>;
67
+ allowance: z.ZodDefault<z.ZodNullable<z.ZodObject<{
68
+ total: z.ZodNumber;
69
+ used: z.ZodNumber;
70
+ renewsAt: z.ZodISODateTime;
71
+ }, z.core.$strip>>>;
72
+ bought: z.ZodDefault<z.ZodNumber>;
73
+ customer: z.ZodDefault<z.ZodBoolean>;
74
+ autoTopUp: z.ZodNullable<z.ZodObject<{
75
+ below: z.ZodNumber;
76
+ amountCents: z.ZodNumber;
77
+ monthlyLimitCents: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
78
+ chargedThisMonthCents: z.ZodDefault<z.ZodNumber>;
79
+ stopped: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
80
+ no_card: "no_card";
81
+ saving_card: "saving_card";
82
+ not_a_card: "not_a_card";
83
+ declined: "declined";
84
+ needs_authentication: "needs_authentication";
85
+ not_charged: "not_charged";
86
+ under_line: "under_line";
87
+ refunded: "refunded";
88
+ disputed: "disputed";
89
+ monthly_limit: "monthly_limit";
90
+ }>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>>;
91
+ }, z.core.$strip>>;
92
+ }, z.core.$strip>>;
93
+ readonly plans: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
94
+ plans: z.ZodArray<z.ZodObject<{
95
+ id: z.ZodString;
96
+ name: z.ZodString;
97
+ family: z.ZodDefault<z.ZodNullable<z.ZodString>>;
98
+ recommended: z.ZodDefault<z.ZodBoolean>;
99
+ monthlyCredits: z.ZodNumber;
100
+ prices: z.ZodArray<z.ZodObject<{
101
+ interval: z.ZodUnion<readonly [z.ZodEnum<{
102
+ month: "month";
103
+ year: "year";
104
+ }>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
105
+ amountCents: z.ZodNumber;
106
+ currency: z.ZodString;
107
+ }, z.core.$strip>>;
108
+ }, z.core.$strip>>;
109
+ topUp: z.ZodObject<{
110
+ currency: z.ZodString;
111
+ creditsPerDollar: z.ZodNumber;
112
+ minCents: z.ZodNumber;
113
+ maxCents: z.ZodNumber;
114
+ presetsCents: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
115
+ }, z.core.$strip>;
116
+ }, z.core.$strip>>;
117
+ readonly usage: AccountCall<z.ZodObject<{
118
+ days: z.ZodInt;
119
+ timeZone: z.ZodString;
120
+ }, z.core.$strict>, z.ZodObject<{
121
+ days: z.ZodArray<z.ZodObject<{
122
+ day: z.ZodISODate;
123
+ credits: z.ZodNumber;
124
+ byKind: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
125
+ }, z.core.$strip>>;
126
+ }, z.core.$strip>>;
127
+ readonly checkout: AccountCall<z.ZodUnion<readonly [z.ZodObject<{
128
+ plan: z.ZodString;
129
+ interval: z.ZodEnum<{
130
+ month: "month";
131
+ year: "year";
132
+ }>;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ topUpCents: z.ZodNumber;
135
+ }, z.core.$strict>]>, z.ZodObject<{
136
+ url: z.ZodURL;
137
+ }, z.core.$strip>>;
138
+ readonly portal: AccountCall<z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
139
+ flow: z.ZodEnum<{
140
+ home: "home";
141
+ payment_method: "payment_method";
142
+ cancel: "cancel";
143
+ }>;
144
+ }, z.core.$strict>, z.ZodObject<{
145
+ flow: z.ZodLiteral<"change_plan">;
146
+ plan: z.ZodString;
147
+ interval: z.ZodEnum<{
148
+ month: "month";
149
+ year: "year";
150
+ }>;
151
+ }, z.core.$strict>]>>, z.ZodObject<{
152
+ url: z.ZodURL;
153
+ }, z.core.$strip>>;
154
+ readonly resume: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
155
+ credits: z.ZodNumber;
156
+ held: z.ZodNumber;
157
+ owed: z.ZodNumber;
158
+ frozen: z.ZodDefault<z.ZodNullable<z.ZodString>>;
159
+ plan: z.ZodNullable<z.ZodObject<{
160
+ id: z.ZodString;
161
+ name: z.ZodString;
162
+ interval: z.ZodUnion<readonly [z.ZodEnum<{
163
+ month: "month";
164
+ year: "year";
165
+ }>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
166
+ status: z.ZodString;
167
+ renewsAt: z.ZodNullable<z.ZodISODateTime>;
168
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
169
+ monthlyCredits: z.ZodDefault<z.ZodNumber>;
170
+ price: z.ZodDefault<z.ZodNullable<z.ZodObject<{
171
+ amountCents: z.ZodNumber;
172
+ currency: z.ZodString;
173
+ }, z.core.$strip>>>;
174
+ }, z.core.$strip>>;
175
+ allowance: z.ZodDefault<z.ZodNullable<z.ZodObject<{
176
+ total: z.ZodNumber;
177
+ used: z.ZodNumber;
178
+ renewsAt: z.ZodISODateTime;
179
+ }, z.core.$strip>>>;
180
+ bought: z.ZodDefault<z.ZodNumber>;
181
+ customer: z.ZodDefault<z.ZodBoolean>;
182
+ autoTopUp: z.ZodNullable<z.ZodObject<{
183
+ below: z.ZodNumber;
184
+ amountCents: z.ZodNumber;
185
+ monthlyLimitCents: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
186
+ chargedThisMonthCents: z.ZodDefault<z.ZodNumber>;
187
+ stopped: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
188
+ no_card: "no_card";
189
+ saving_card: "saving_card";
190
+ not_a_card: "not_a_card";
191
+ declined: "declined";
192
+ needs_authentication: "needs_authentication";
193
+ not_charged: "not_charged";
194
+ under_line: "under_line";
195
+ refunded: "refunded";
196
+ disputed: "disputed";
197
+ monthly_limit: "monthly_limit";
198
+ }>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>>;
199
+ }, z.core.$strip>>;
200
+ }, z.core.$strip>>;
201
+ readonly payment: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
202
+ card: z.ZodNullable<z.ZodObject<{
203
+ brand: z.ZodString;
204
+ last4: z.ZodString;
205
+ expMonth: z.ZodNumber;
206
+ expYear: z.ZodNumber;
207
+ }, z.core.$strip>>;
208
+ email: z.ZodNullable<z.ZodString>;
209
+ }, z.core.$strip>>;
210
+ readonly topUp: AccountCall<z.ZodObject<{
211
+ topUpCents: z.ZodNumber;
212
+ }, z.core.$strict>, z.ZodObject<{
213
+ credits: z.ZodNumber;
214
+ }, z.core.$strip>>;
215
+ readonly "autoTopUp/set": AccountCall<z.ZodObject<{
216
+ below: z.ZodNumber;
217
+ amountCents: z.ZodNumber;
218
+ monthlyLimitCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
219
+ newCard: z.ZodOptional<z.ZodBoolean>;
220
+ }, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
221
+ on: z.ZodLiteral<true>;
222
+ }, z.core.$strip>, z.ZodObject<{
223
+ saveCard: z.ZodURL;
224
+ }, z.core.$strip>]>>;
225
+ readonly "autoTopUp/off": AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
226
+ readonly "credits/request": AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
227
+ asked: z.ZodLiteral<true>;
228
+ }, z.core.$strip>>;
229
+ readonly members: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
230
+ members: z.ZodArray<z.ZodObject<{
231
+ userId: z.ZodString;
232
+ email: z.ZodString;
233
+ name: z.ZodString;
234
+ role: z.ZodString;
235
+ limit: z.ZodNullable<z.ZodNumber>;
236
+ used: z.ZodNumber;
237
+ }, z.core.$strip>>;
238
+ }, z.core.$strip>>;
239
+ readonly "members/limit": AccountCall<z.ZodObject<{
240
+ userId: z.ZodString;
241
+ monthly: z.ZodNullable<z.ZodNumber>;
242
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
243
+ readonly "members/role": AccountCall<z.ZodObject<{
244
+ userId: z.ZodString;
245
+ role: z.ZodEnum<{
246
+ member: "member";
247
+ admin: "admin";
248
+ owner: "owner";
249
+ }>;
250
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
251
+ readonly "members/remove": AccountCall<z.ZodObject<{
252
+ userId: z.ZodString;
253
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
254
+ readonly invitations: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
255
+ invitations: z.ZodArray<z.ZodObject<{
256
+ id: z.ZodString;
257
+ email: z.ZodString;
258
+ role: z.ZodString;
259
+ expiresAt: z.ZodISODateTime;
260
+ }, z.core.$strip>>;
261
+ }, z.core.$strip>>;
262
+ readonly "invitations/send": AccountCall<z.ZodObject<{
263
+ email: z.ZodEmail;
264
+ role: z.ZodEnum<{
265
+ member: "member";
266
+ admin: "admin";
267
+ }>;
268
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
269
+ readonly "invitations/cancel": AccountCall<z.ZodObject<{
270
+ id: z.ZodString;
271
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
272
+ readonly "team/create": AccountCall<z.ZodObject<{
273
+ name: z.ZodString;
274
+ }, z.core.$strict>, z.ZodObject<{
275
+ id: z.ZodString;
276
+ }, z.core.$strip>>;
277
+ readonly "team/rename": AccountCall<z.ZodObject<{
278
+ name: z.ZodString;
279
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
280
+ readonly "team/leave": AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
281
+ readonly "team/dissolve": AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
282
+ readonly "team/restore": AccountCall<z.ZodObject<{
283
+ id: z.ZodString;
284
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
285
+ readonly keys: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
286
+ keys: z.ZodArray<z.ZodObject<{
287
+ id: z.ZodString;
288
+ name: z.ZodNullable<z.ZodString>;
289
+ start: z.ZodNullable<z.ZodString>;
290
+ enabled: z.ZodBoolean;
291
+ createdAt: z.ZodISODateTime;
292
+ lastUsedAt: z.ZodNullable<z.ZodISODateTime>;
293
+ }, z.core.$strip>>;
294
+ }, z.core.$strip>>;
295
+ readonly "keys/create": AccountCall<z.ZodObject<{
296
+ name: z.ZodString;
297
+ }, z.core.$strict>, z.ZodObject<{
298
+ id: z.ZodString;
299
+ key: z.ZodString;
300
+ }, z.core.$strip>>;
301
+ readonly "keys/enable": AccountCall<z.ZodObject<{
302
+ id: z.ZodString;
303
+ enabled: z.ZodBoolean;
304
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
305
+ readonly "keys/remove": AccountCall<z.ZodObject<{
306
+ id: z.ZodString;
307
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
308
+ readonly profile: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
309
+ name: z.ZodString;
310
+ email: z.ZodString;
311
+ google: z.ZodBoolean;
312
+ }, z.core.$strip>>;
313
+ readonly "profile/set": AccountCall<z.ZodObject<{
314
+ name: z.ZodString;
315
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
316
+ readonly devices: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
317
+ devices: z.ZodArray<z.ZodObject<{
318
+ id: z.ZodString;
319
+ client: z.ZodString;
320
+ signedInAt: z.ZodISODateTime;
321
+ lastActiveAt: z.ZodISODateTime;
322
+ }, z.core.$strip>>;
323
+ }, z.core.$strip>>;
324
+ readonly "devices/signOut": AccountCall<z.ZodObject<{
325
+ id: z.ZodString;
326
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
327
+ readonly export: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
328
+ readonly close: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
329
+ };
330
+ export type AccountCalls = typeof ACCOUNT_CALLS;
331
+ export type AccountCallName = keyof AccountCalls;
332
+ /** A call as an HTTP request: its method, its path with the route's parameters and a GET's or a DELETE's query, and a body. */
333
+ export declare function accountRequest(c: AccountCall, params: unknown): {
334
+ method: AccountCall["http"];
335
+ path: string;
336
+ body?: unknown;
337
+ };
338
+ //# sourceMappingURL=account.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{z as e}from"zod";import{ACCOUNT_DELETE_PATH as O,ACCOUNT_EXPORT_PATH as S,DEVICES_PATH as T,DevicesSchema as I}from"./auth.js";import{AUTO_TOP_UP_PATH as b,AutoTopUpRequestSchema as w,BILLING_CHECKOUT_PATH as _,BILLING_PAYMENT_PATH as y,BILLING_PLANS_PATH as L,BILLING_PORTAL_PATH as j,BILLING_REQUEST_PATH as f,BILLING_RESUME_PATH as v,BILLING_SUMMARY_PATH as U,BILLING_TOP_UP_PATH as G,BILLING_USAGE_PATH as k,BillingPaymentSchema as N,BillingPlansSchema as H,BillingSummarySchema as u,BillingUsageSchema as C,CheckoutRequestSchema as R,PortalRequestSchema as x,TopUpRequestSchema as B}from"./cloud.js";import{MEMBERS_PATH as l,MemberLimitSchema as $,MembersSchema as D,ORGANIZATIONS_PATH as A,ORGANIZATION_PATH as g}from"./teams.js";export const INVITATIONS_PATH="/api/organization/invitations",InvitationsSchema=e.object({invitations:e.array(e.object({id:e.string(),email:e.string(),role:e.string(),expiresAt:e.iso.datetime()}))}),LEAVE_PATH="/api/organization/leave",KEYS_PATH="/api/keys",KeysSchema=e.object({keys:e.array(e.object({id:e.string(),name:e.string().nullable(),start:e.string().nullable(),enabled:e.boolean(),createdAt:e.iso.datetime(),lastUsedAt:e.iso.datetime().nullable()}))}),PROFILE_PATH="/api/account/profile",ProfileSchema=e.object({name:e.string(),email:e.string(),google:e.boolean()}),ROLES=["member","admin","owner"];const n=e.strictObject({}),o=e.object({}),P=e.object({url:e.url()}),d=e.string().trim().min(1).max(100),t=(i,p,c,m,r)=>({http:i,route:p,params:c,result:m,about:r});export const ACCOUNT_CALLS={balance:t("GET",U,n,u,"The organization's credits, this month's plan credits, its plan and its auto top-up."),plans:t("GET",L,n,H,"The plans, their prices, and what a top-up buys."),usage:t("GET",k,e.strictObject({days:e.int().min(1).max(400),timeZone:e.string().min(1)}),C,"Credits spent each day by what they were spent on, the days with none left out."),checkout:t("POST",_,R,P,"Stripe Checkout for a plan or a top-up, to open in a browser."),portal:t("POST",j,x,P,"Stripe's Customer Portal at its home (the card, billing details, invoices) or at a flow (a new card, a change of plan, the plan's cancellation), to open in a browser."),resume:t("POST",v,n,u,"A plan cancelled at its period's end taken up again."),payment:t("GET",y,n,N,"The card charged without the person there, and where Stripe's emails go."),topUp:t("POST",G,B,e.object({credits:e.number()}),"Credits bought with the saved card at once; answers what was added."),"autoTopUp/set":t("PUT",b,w,e.union([e.object({on:e.literal(!0)}),e.object({saveCard:e.url()})]),"Auto top-up on, or Stripe Checkout that saves a card first (or another), to open in a browser."),"autoTopUp/off":t("DELETE",b,n,o,"Auto top-up off."),"credits/request":t("POST",f,n,e.object({asked:e.literal(!0)}),"The organization's owners and admins asked by email to add credits, at most once a day for each member."),members:t("GET",l,n,D,"The members with their limits and spend; a member sees their own row."),"members/limit":t("PUT",`${l}/:userId/limit`,e.strictObject({userId:e.string().min(1)}).extend($.shape),o,"A member's limit in credits a month, null for none."),"members/role":t("PUT",`${l}/:userId/role`,e.strictObject({userId:e.string().min(1),role:e.enum(ROLES)}),o,"A member's role; only an owner makes or unmakes an owner."),"members/remove":t("DELETE",`${l}/:userId`,e.strictObject({userId:e.string().min(1)}),o,"A member removed from the team."),invitations:t("GET",INVITATIONS_PATH,n,InvitationsSchema,"The invitations waiting to be accepted."),"invitations/send":t("POST",INVITATIONS_PATH,e.strictObject({email:e.email(),role:e.enum(["member","admin"])}),o,"Invites a person by email; one invited already is sent a new invitation."),"invitations/cancel":t("DELETE",`${INVITATIONS_PATH}/:id`,e.strictObject({id:e.string().min(1)}),o,"An invitation cancelled."),"team/create":t("POST",A,e.strictObject({name:d}),e.object({id:e.string()}),"A new team, the person its owner."),"team/rename":t("PUT",g,e.strictObject({name:d}),o,"The team renamed."),"team/leave":t("POST",LEAVE_PATH,n,o,"The person leaves the team; its last owner cannot."),"team/dissolve":t("DELETE",g,n,o,"The team dissolved by its owner; it can be restored for 30 days."),"team/restore":t("POST",`${A}/:id/restore`,e.strictObject({id:e.string().min(1)}),o,"A dissolved team restored by its owner."),keys:t("GET",KEYS_PATH,n,KeysSchema,"The person's API keys for the organization."),"keys/create":t("POST",KEYS_PATH,e.strictObject({name:d}),e.object({id:e.string(),key:e.string()}),"A new API key; its secret is in this answer alone."),"keys/enable":t("PUT",`${KEYS_PATH}/:id`,e.strictObject({id:e.string().min(1),enabled:e.boolean()}),o,"An API key turned off or on again."),"keys/remove":t("DELETE",`${KEYS_PATH}/:id`,e.strictObject({id:e.string().min(1)}),o,"An API key deleted."),profile:t("GET",PROFILE_PATH,n,ProfileSchema,"The person's name and email, and whether Google signs them in."),"profile/set":t("PUT",PROFILE_PATH,e.strictObject({name:d}),o,"The person's name."),devices:t("GET",T,n,I,"The computers signed in as the person."),"devices/signOut":t("DELETE",`${T}/:id`,e.strictObject({id:e.string().min(1)}),o,"A computer signed out."),export:t("GET",S,n,e.record(e.string(),e.unknown()),"Everything kept about the person."),close:t("POST",O,n,o,"Mails the link that deletes the person's account: a browser's session alone, so a computer opens the page in the browser.")};export function accountRequest(i,p){const c=p,m=new Set,r=i.route.replace(/:([A-Za-z]+)/gu,(a,s)=>(m.add(s),encodeURIComponent(String(c[s])))),h=Object.entries(c).filter(([a,s])=>!m.has(a)&&s!==void 0);if(i.http==="GET"||i.http==="DELETE"){const a=h.map(([s,E])=>`${encodeURIComponent(s)}=${encodeURIComponent(String(E))}`).join("&");return{method:i.http,path:a===""?r:`${r}?${a}`}}return h.length===0?{method:i.http,path:r}:{method:i.http,path:r,body:Object.fromEntries(h)}}