@allyhub/sdk 0.7.0 → 0.8.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 (717) hide show
  1. package/CHANGELOG.md +138 -0
  2. package/dist/define.d.ts +20 -3
  3. package/dist/define.js +1 -1
  4. package/dist/dom.d.ts +1 -1
  5. package/dist/dom.js +1 -1
  6. package/dist/free.d.ts +6 -6
  7. package/dist/free.js +1 -1
  8. package/dist/input.js +1 -1
  9. package/dist/media.d.ts +1 -1
  10. package/dist/media.js +1 -1
  11. package/dist/messages.d.ts +1 -1
  12. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +2 -0
  13. package/dist/node_modules/{@allyhub-next → @allyhub}/audio/package.json +2 -2
  14. package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +11 -0
  15. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -0
  16. package/dist/node_modules/{@allyhub-next → @allyhub}/chart/dist/chart-xml.d.ts +2 -0
  17. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +3 -0
  18. package/dist/node_modules/{@allyhub-next → @allyhub}/chart/dist/chart.d.ts +3 -1
  19. package/dist/node_modules/@allyhub/chart/dist/chart.js +2 -0
  20. package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +15 -0
  21. package/dist/node_modules/@allyhub/chart/dist/embedded.js +3 -0
  22. package/dist/node_modules/@allyhub/chart/dist/index.d.ts +6 -0
  23. package/dist/node_modules/@allyhub/chart/dist/index.js +2 -0
  24. package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +22 -0
  25. package/dist/node_modules/@allyhub/chart/dist/svg.js +2 -0
  26. package/dist/node_modules/{@allyhub-next → @allyhub}/chart/package.json +2 -2
  27. package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/slides.d.ts +3 -3
  28. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +2 -0
  29. package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/schemas.d.ts +1 -1
  30. package/dist/node_modules/{@allyhub-next → @allyhub}/formats/package.json +2 -2
  31. package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/package.json +2 -2
  32. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/account.d.ts +1 -0
  33. package/dist/node_modules/@allyhub/protocol/dist/app.js +2 -0
  34. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/auth.d.ts +8 -4
  35. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/auth.js +1 -1
  36. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/cloud.d.ts +1 -0
  37. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +2 -0
  38. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/editor.d.ts +68 -3
  39. package/dist/node_modules/@allyhub/protocol/dist/editor.js +2 -0
  40. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +290 -0
  41. package/dist/node_modules/@allyhub/protocol/dist/frame.js +2 -0
  42. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/index.d.ts +3 -0
  43. package/dist/node_modules/@allyhub/protocol/dist/index.js +2 -0
  44. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +91 -0
  45. package/dist/node_modules/@allyhub/protocol/dist/jobs.js +2 -0
  46. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +187 -0
  47. package/dist/node_modules/@allyhub/protocol/dist/notes.js +2 -0
  48. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/registry.d.ts +6 -0
  49. package/dist/node_modules/@allyhub/protocol/dist/registry.js +2 -0
  50. package/dist/node_modules/@allyhub/protocol/dist/routes.js +2 -0
  51. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/sites.d.ts +4 -0
  52. package/dist/node_modules/@allyhub/protocol/dist/sites.js +2 -0
  53. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/snapshots.d.ts +48 -8
  54. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +2 -0
  55. package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +14 -0
  56. package/dist/node_modules/{@allyhub-next/chart/dist/index.js → @allyhub/protocol/dist/sources.js} +1 -1
  57. package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +195 -0
  58. package/dist/node_modules/@allyhub/protocol/dist/teams.js +2 -0
  59. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/tools.d.ts +52 -3
  60. package/dist/node_modules/@allyhub/protocol/dist/tools.js +2 -0
  61. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/package.json +2 -2
  62. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/bundled.d.ts +1 -1
  63. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +2 -0
  64. package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +38 -0
  65. package/dist/node_modules/@allyhub/runtimes/dist/download.js +2 -0
  66. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/index.d.ts +2 -2
  67. package/dist/node_modules/@allyhub/runtimes/dist/index.js +2 -0
  68. package/dist/node_modules/@allyhub/runtimes/dist/lock.d.ts +14 -0
  69. package/dist/node_modules/@allyhub/runtimes/dist/lock.js +2 -0
  70. package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +3 -0
  71. package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +2 -0
  72. package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +12 -0
  73. package/dist/node_modules/@allyhub/runtimes/dist/node-program.js +2 -0
  74. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/packages.d.ts +21 -2
  75. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +4 -0
  76. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/runtimes.d.ts +4 -1
  77. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +4 -0
  78. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/package.json +2 -2
  79. package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package-lock.json +275 -0
  80. package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package.json +11 -0
  81. package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/package.json +2 -2
  82. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +2 -0
  83. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/charts.d.ts +1 -1
  84. package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +2 -0
  85. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/page.d.ts +1 -1
  86. package/dist/node_modules/@allyhub/sheet/dist/api/page.js +2 -0
  87. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rules.d.ts +1 -1
  88. package/dist/node_modules/@allyhub/sheet/dist/api/rules.js +2 -0
  89. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/styles.d.ts +1 -1
  90. package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +2 -0
  91. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/workbook.d.ts +1 -1
  92. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +2 -0
  93. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/arrange.d.ts +1 -1
  94. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/server.d.ts +1 -1
  95. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/chart.d.ts +4 -10
  96. package/dist/node_modules/@allyhub/sheet/dist/chart.js +2 -0
  97. package/dist/node_modules/@allyhub/sheet/dist/diff.js +2 -0
  98. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/edit.d.ts +1 -1
  99. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/file.d.ts +1 -1
  100. package/dist/node_modules/@allyhub/sheet/dist/file.js +3 -0
  101. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/files.d.ts +1 -1
  102. package/dist/node_modules/@allyhub/sheet/dist/files.js +2 -0
  103. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/generated.d.ts +1 -1
  104. package/dist/node_modules/@allyhub/sheet/dist/generated.js +2 -0
  105. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/inspect.d.ts +1 -1
  106. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/paginate.d.ts +1 -1
  107. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/structure.d.ts +1 -1
  108. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-style.d.ts +1 -1
  109. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/validate.d.ts +1 -1
  110. package/dist/node_modules/@allyhub/sheet/dist/validate.js +2 -0
  111. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/workbook.d.ts +1 -1
  112. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +2 -0
  113. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/charts.d.ts +1 -1
  114. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +2 -0
  115. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/import.d.ts +1 -1
  116. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +2 -0
  117. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/read.d.ts +2 -2
  118. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +3 -0
  119. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +2 -0
  120. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/zip.d.ts +1 -1
  121. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.js +2 -0
  122. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/package.json +2 -2
  123. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/animation.d.ts +1 -1
  124. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/api.d.ts +9 -5
  125. package/dist/node_modules/@allyhub/slides-core/dist/api.js +4 -0
  126. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/chart-api.d.ts +2 -2
  127. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +2 -0
  128. package/dist/node_modules/@allyhub/slides-core/dist/code.js +2 -0
  129. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/file.d.ts +1 -1
  130. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/file.js +1 -1
  131. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/index.d.ts +1 -2
  132. package/dist/node_modules/@allyhub/slides-core/dist/index.js +2 -0
  133. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/measure.d.ts +1 -1
  134. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +2 -0
  135. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/merge.d.ts +1 -1
  136. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +2 -0
  137. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/model.d.ts +8 -24
  138. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/resolve.d.ts +2 -2
  139. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +2 -0
  140. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/script.d.ts +1 -1
  141. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/script.js +1 -1
  142. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/strict.d.ts +1 -1
  143. package/dist/node_modules/@allyhub/slides-core/dist/strict.js +2 -0
  144. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/theme.d.ts +1 -1
  145. package/dist/node_modules/{@allyhub-next/video-core → @allyhub/slides-core}/package.json +2 -2
  146. package/dist/node_modules/@allyhub/video-core/dist/component.d.ts +70 -0
  147. package/dist/node_modules/@allyhub/video-core/dist/component.js +2 -0
  148. package/dist/node_modules/@allyhub/video-core/dist/edits.js +2 -0
  149. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/export.d.ts +1 -1
  150. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/fact.d.ts +2 -2
  151. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/gen.d.ts +1 -1
  152. package/dist/node_modules/@allyhub/video-core/dist/gen.js +2 -0
  153. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/index.d.ts +1 -0
  154. package/dist/node_modules/@allyhub/video-core/dist/index.js +2 -0
  155. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/measure.d.ts +6 -1
  156. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/media.d.ts +2 -2
  157. package/dist/node_modules/@allyhub/video-core/dist/media.js +2 -0
  158. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/piece.d.ts +2 -2
  159. package/dist/node_modules/@allyhub/video-core/dist/piece.js +2 -0
  160. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/problem.d.ts +1 -1
  161. package/dist/node_modules/@allyhub/video-core/dist/problem.js +2 -0
  162. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/schema.d.ts +2 -2
  163. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/speech.js +1 -1
  164. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timeline.d.ts +8 -3
  165. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/transition.d.ts +11 -0
  166. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/transition.js +1 -1
  167. package/dist/node_modules/{@allyhub-next/slides-core → @allyhub/video-core}/package.json +2 -2
  168. package/dist/parts.d.ts +2 -2
  169. package/dist/parts.js +1 -1
  170. package/dist/phone.d.ts +3 -3
  171. package/dist/phone.js +1 -1
  172. package/dist/piece.d.ts +7 -7
  173. package/dist/piece.js +1 -1
  174. package/dist/props.d.ts +1 -1
  175. package/dist/sheets.d.ts +1 -1
  176. package/dist/sheets.js +1 -1
  177. package/dist/slides.d.ts +3 -3
  178. package/dist/slides.js +1 -1
  179. package/dist/written.js +1 -1
  180. package/docs/README.md +1 -1
  181. package/docs/defaults.md +54 -1
  182. package/docs/docs.md +152 -5
  183. package/docs/layers.md +26 -0
  184. package/docs/modeling.md +7 -7
  185. package/docs/project.md +2 -2
  186. package/docs/scenery.md +4 -4
  187. package/docs/sheets.md +4 -4
  188. package/docs/slides.md +2 -2
  189. package/docs/websites.md +3 -3
  190. package/package.json +3 -2
  191. package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.js +0 -2
  192. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +0 -3
  193. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +0 -2
  194. package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +0 -3
  195. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +0 -2
  196. package/dist/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
  197. package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +0 -2
  198. package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +0 -2
  199. package/dist/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
  200. package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +0 -188
  201. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +0 -2
  202. package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +0 -2
  203. package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +0 -2
  204. package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +0 -2
  205. package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +0 -2
  206. package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +0 -79
  207. package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +0 -2
  208. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
  209. package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.js +0 -2
  210. package/dist/node_modules/@allyhub-next/runtimes/dist/download.d.ts +0 -15
  211. package/dist/node_modules/@allyhub-next/runtimes/dist/download.js +0 -2
  212. package/dist/node_modules/@allyhub-next/runtimes/dist/index.js +0 -2
  213. package/dist/node_modules/@allyhub-next/runtimes/dist/lock.d.ts +0 -8
  214. package/dist/node_modules/@allyhub-next/runtimes/dist/lock.js +0 -2
  215. package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.d.ts +0 -3
  216. package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.js +0 -2
  217. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +0 -3
  218. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +0 -2
  219. package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +0 -4
  220. package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -4
  221. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +0 -2
  222. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +0 -2
  223. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +0 -2
  224. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +0 -2
  225. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +0 -2
  226. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +0 -2
  227. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +0 -2
  228. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +0 -2
  229. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +0 -3
  230. package/dist/node_modules/@allyhub-next/sheet/dist/files.js +0 -2
  231. package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +0 -2
  232. package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +0 -2
  233. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +0 -2
  234. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +0 -2
  235. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +0 -2
  236. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +0 -3
  237. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +0 -2
  238. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +0 -2
  239. package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +0 -4
  240. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +0 -2
  241. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +0 -11
  242. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +0 -2
  243. package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +0 -2
  244. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +0 -2
  245. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +0 -2
  246. package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +0 -2
  247. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +0 -2
  248. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +0 -2
  249. package/dist/node_modules/@allyhub-next/video-core/dist/edits.js +0 -2
  250. package/dist/node_modules/@allyhub-next/video-core/dist/gen.js +0 -2
  251. package/dist/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
  252. package/dist/node_modules/@allyhub-next/video-core/dist/media.js +0 -2
  253. package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
  254. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
  255. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/LICENSE +0 -0
  256. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.d.ts +0 -0
  257. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.js +0 -0
  258. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.d.ts +0 -0
  259. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.js +0 -0
  260. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.d.ts +0 -0
  261. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.js +0 -0
  262. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.d.ts +0 -0
  263. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.js +0 -0
  264. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/levels.d.ts +0 -0
  265. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/levels.js +0 -0
  266. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.d.ts +0 -0
  267. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.js +0 -0
  268. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.d.ts +0 -0
  269. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.js +0 -0
  270. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.d.ts +0 -0
  271. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.js +0 -0
  272. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.d.ts +0 -0
  273. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.js +0 -0
  274. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ffmpeg.d.ts +0 -0
  275. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.d.ts +0 -0
  276. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.js +0 -0
  277. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.d.ts +0 -0
  278. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.js +0 -0
  279. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.d.ts +0 -0
  280. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.js +0 -0
  281. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.d.ts +0 -0
  282. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.js +0 -0
  283. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.d.ts +0 -0
  284. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.js +0 -0
  285. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.d.ts +0 -0
  286. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.js +0 -0
  287. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.d.ts +0 -0
  288. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.js +0 -0
  289. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.d.ts +0 -0
  290. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.js +0 -0
  291. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.d.ts +0 -0
  292. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.js +0 -0
  293. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.d.ts +0 -0
  294. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.js +0 -0
  295. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.d.ts +0 -0
  296. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.js +0 -0
  297. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.d.ts +0 -0
  298. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.js +0 -0
  299. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.d.ts +0 -0
  300. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.js +0 -0
  301. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.d.ts +0 -0
  302. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.js +0 -0
  303. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.d.ts +0 -0
  304. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.js +0 -0
  305. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.d.ts +0 -0
  306. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.js +0 -0
  307. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.d.ts +0 -0
  308. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.js +0 -0
  309. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.d.ts +0 -0
  310. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.js +0 -0
  311. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.d.ts +0 -0
  312. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.js +0 -0
  313. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.d.ts +0 -0
  314. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.js +0 -0
  315. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.d.ts +0 -0
  316. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.js +0 -0
  317. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.d.ts +0 -0
  318. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.js +0 -0
  319. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.d.ts +0 -0
  320. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.js +0 -0
  321. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.d.ts +0 -0
  322. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.js +0 -0
  323. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.d.ts +0 -0
  324. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.js +0 -0
  325. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.d.ts +0 -0
  326. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.js +0 -0
  327. /package/dist/node_modules/{@allyhub-next → @allyhub}/chart/LICENSE +0 -0
  328. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/LICENSE +0 -0
  329. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/comments.d.ts +0 -0
  330. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/comments.js +0 -0
  331. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.d.ts +0 -0
  332. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.js +0 -0
  333. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.d.ts +0 -0
  334. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.js +0 -0
  335. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.d.ts +0 -0
  336. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.js +0 -0
  337. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.d.ts +0 -0
  338. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.js +0 -0
  339. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/faces.d.ts +0 -0
  340. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/faces.js +0 -0
  341. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.d.ts +0 -0
  342. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.js +0 -0
  343. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.d.ts +0 -0
  344. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.js +0 -0
  345. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.d.ts +0 -0
  346. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.js +0 -0
  347. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/reference.d.ts +0 -0
  348. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/reference.js +0 -0
  349. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/script.d.ts +0 -0
  350. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/script.js +0 -0
  351. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/sheet.d.ts +0 -0
  352. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/sheet.js +0 -0
  353. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/website.d.ts +0 -0
  354. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/website.js +0 -0
  355. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.d.ts +0 -0
  356. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.js +0 -0
  357. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/index.d.ts +0 -0
  358. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/index.js +0 -0
  359. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/items.d.ts +0 -0
  360. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/items.js +0 -0
  361. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/layout.d.ts +0 -0
  362. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/layout.js +0 -0
  363. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.d.ts +0 -0
  364. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.js +0 -0
  365. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.d.ts +0 -0
  366. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.js +0 -0
  367. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/schemas.js +0 -0
  368. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.d.ts +0 -0
  369. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.js +0 -0
  370. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.d.ts +0 -0
  371. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.js +0 -0
  372. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/LICENSE +0 -0
  373. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.d.ts +0 -0
  374. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.js +0 -0
  375. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.d.ts +0 -0
  376. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.js +0 -0
  377. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.d.ts +0 -0
  378. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.js +0 -0
  379. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.d.ts +0 -0
  380. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.js +0 -0
  381. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.d.ts +0 -0
  382. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.js +0 -0
  383. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/presets.d.ts +0 -0
  384. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/presets.js +0 -0
  385. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.d.ts +0 -0
  386. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.js +0 -0
  387. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/geometry/index.d.ts +0 -0
  388. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/geometry/index.js +0 -0
  389. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.d.ts +0 -0
  390. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.js +0 -0
  391. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.d.ts +0 -0
  392. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.js +0 -0
  393. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.d.ts +0 -0
  394. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.js +0 -0
  395. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.d.ts +0 -0
  396. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.js +0 -0
  397. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.d.ts +0 -0
  398. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.js +0 -0
  399. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.d.ts +0 -0
  400. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.js +0 -0
  401. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.d.ts +0 -0
  402. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.js +0 -0
  403. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/LICENSE +0 -0
  404. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/account.js +0 -0
  405. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/app.d.ts +0 -0
  406. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.d.ts +0 -0
  407. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.js +0 -0
  408. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/cli.d.ts +0 -0
  409. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/cli.js +0 -0
  410. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/files.d.ts +0 -0
  411. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/files.js +0 -0
  412. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.d.ts +0 -0
  413. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.js +0 -0
  414. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.d.ts +0 -0
  415. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.js +0 -0
  416. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/routes.d.ts +0 -0
  417. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.d.ts +0 -0
  418. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.js +0 -0
  419. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/shares.d.ts +0 -0
  420. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/shares.js +0 -0
  421. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/LICENSE +0 -0
  422. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.d.ts +0 -0
  423. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.js +0 -0
  424. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.d.ts +0 -0
  425. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.js +0 -0
  426. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.d.ts +0 -0
  427. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.js +0 -0
  428. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/manifest.json +0 -0
  429. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package-lock.json +0 -0
  430. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package.json +0 -0
  431. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package-lock.json +0 -0
  432. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package.json +0 -0
  433. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package-lock.json +0 -0
  434. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package.json +0 -0
  435. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/onnxruntime-node/package-lock.json +0 -0
  436. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/onnxruntime-node/package.json +0 -0
  437. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -0
  438. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/sherpa-onnx-node/package.json +0 -0
  439. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/tesseract.js/package-lock.json +0 -0
  440. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/tesseract.js/package.json +0 -0
  441. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/schemas/runtimes.schema.json +0 -0
  442. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/LICENSE +0 -0
  443. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/NOTICE +0 -0
  444. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.d.ts +0 -0
  445. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.js +0 -0
  446. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.d.ts +0 -0
  447. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.js +0 -0
  448. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.d.ts +0 -0
  449. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.js +0 -0
  450. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.d.ts +0 -0
  451. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.js +0 -0
  452. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/define.d.ts +0 -0
  453. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/define.js +0 -0
  454. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.d.ts +0 -0
  455. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.js +0 -0
  456. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.d.ts +0 -0
  457. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.js +0 -0
  458. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.d.ts +0 -0
  459. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.js +0 -0
  460. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.d.ts +0 -0
  461. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.js +0 -0
  462. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.d.ts +0 -0
  463. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.js +0 -0
  464. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.d.ts +0 -0
  465. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.js +0 -0
  466. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.d.ts +0 -0
  467. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.js +0 -0
  468. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.d.ts +0 -0
  469. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.js +0 -0
  470. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.d.ts +0 -0
  471. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.js +0 -0
  472. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.d.ts +0 -0
  473. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.js +0 -0
  474. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.d.ts +0 -0
  475. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.js +0 -0
  476. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.d.ts +0 -0
  477. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.js +0 -0
  478. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.d.ts +0 -0
  479. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.js +0 -0
  480. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.d.ts +0 -0
  481. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.js +0 -0
  482. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.d.ts +0 -0
  483. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.js +0 -0
  484. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.d.ts +0 -0
  485. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.js +0 -0
  486. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.d.ts +0 -0
  487. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.js +0 -0
  488. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/LICENSE +0 -0
  489. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.d.ts +0 -0
  490. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.js +0 -0
  491. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/capabilities.d.ts +0 -0
  492. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/code.d.ts +0 -0
  493. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/code.js +0 -0
  494. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.d.ts +0 -0
  495. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.js +0 -0
  496. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.d.ts +0 -0
  497. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.js +0 -0
  498. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.d.ts +0 -0
  499. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.js +0 -0
  500. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/arrange.js +0 -0
  501. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.d.ts +0 -0
  502. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.js +0 -0
  503. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.d.ts +0 -0
  504. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.js +0 -0
  505. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.d.ts +0 -0
  506. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.js +0 -0
  507. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.d.ts +0 -0
  508. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.js +0 -0
  509. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.d.ts +0 -0
  510. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.js +0 -0
  511. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.d.ts +0 -0
  512. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.js +0 -0
  513. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.d.ts +0 -0
  514. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.js +0 -0
  515. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.d.ts +0 -0
  516. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.js +0 -0
  517. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.d.ts +0 -0
  518. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.js +0 -0
  519. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.d.ts +0 -0
  520. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.js +0 -0
  521. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.d.ts +0 -0
  522. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.js +0 -0
  523. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.d.ts +0 -0
  524. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.js +0 -0
  525. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.d.ts +0 -0
  526. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.js +0 -0
  527. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.d.ts +0 -0
  528. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.js +0 -0
  529. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.d.ts +0 -0
  530. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.js +0 -0
  531. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.d.ts +0 -0
  532. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.js +0 -0
  533. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.d.ts +0 -0
  534. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.js +0 -0
  535. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.d.ts +0 -0
  536. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.js +0 -0
  537. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.d.ts +0 -0
  538. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.js +0 -0
  539. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.d.ts +0 -0
  540. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.js +0 -0
  541. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.d.ts +0 -0
  542. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.js +0 -0
  543. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.d.ts +0 -0
  544. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.js +0 -0
  545. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.d.ts +0 -0
  546. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.js +0 -0
  547. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.d.ts +0 -0
  548. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.js +0 -0
  549. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.d.ts +0 -0
  550. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.js +0 -0
  551. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/server.js +0 -0
  552. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.d.ts +0 -0
  553. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.js +0 -0
  554. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.d.ts +0 -0
  555. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.js +0 -0
  556. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/csv.d.ts +0 -0
  557. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/csv.js +0 -0
  558. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/diff.d.ts +0 -0
  559. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/edit.js +0 -0
  560. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/export.d.ts +0 -0
  561. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/export.js +0 -0
  562. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.d.ts +0 -0
  563. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.js +0 -0
  564. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.d.ts +0 -0
  565. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.js +0 -0
  566. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.d.ts +0 -0
  567. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.js +0 -0
  568. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.d.ts +0 -0
  569. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.js +0 -0
  570. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.d.ts +0 -0
  571. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.js +0 -0
  572. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.d.ts +0 -0
  573. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.js +0 -0
  574. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.d.ts +0 -0
  575. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.js +0 -0
  576. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.d.ts +0 -0
  577. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.js +0 -0
  578. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.d.ts +0 -0
  579. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.js +0 -0
  580. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.d.ts +0 -0
  581. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.js +0 -0
  582. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/import.d.ts +0 -0
  583. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/import.js +0 -0
  584. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/index.d.ts +0 -0
  585. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/index.js +0 -0
  586. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/inspect.js +0 -0
  587. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/paginate.js +0 -0
  588. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/patch.d.ts +0 -0
  589. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/patch.js +0 -0
  590. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.d.ts +0 -0
  591. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.js +0 -0
  592. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.d.ts +0 -0
  593. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.js +0 -0
  594. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.d.ts +0 -0
  595. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.js +0 -0
  596. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.d.ts +0 -0
  597. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.js +0 -0
  598. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.d.ts +0 -0
  599. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.js +0 -0
  600. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/structure.js +0 -0
  601. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-style.js +0 -0
  602. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.d.ts +0 -0
  603. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.js +0 -0
  604. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.d.ts +0 -0
  605. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.js +0 -0
  606. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.d.ts +0 -0
  607. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.js +0 -0
  608. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.d.ts +0 -0
  609. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.js +0 -0
  610. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.d.ts +0 -0
  611. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.js +0 -0
  612. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.d.ts +0 -0
  613. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.js +0 -0
  614. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.d.ts +0 -0
  615. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.js +0 -0
  616. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.d.ts +0 -0
  617. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.js +0 -0
  618. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.d.ts +0 -0
  619. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.js +0 -0
  620. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.d.ts +0 -0
  621. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.js +0 -0
  622. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.d.ts +0 -0
  623. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.js +0 -0
  624. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/write.d.ts +0 -0
  625. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.d.ts +0 -0
  626. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.js +0 -0
  627. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/LICENSE +0 -0
  628. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/animation.js +0 -0
  629. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/capabilities.d.ts +0 -0
  630. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/capabilities.js +0 -0
  631. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.d.ts +0 -0
  632. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.js +0 -0
  633. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/code.d.ts +0 -0
  634. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.d.ts +0 -0
  635. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.js +0 -0
  636. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.d.ts +0 -0
  637. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.js +0 -0
  638. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.d.ts +0 -0
  639. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.js +0 -0
  640. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.d.ts +0 -0
  641. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.js +0 -0
  642. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/model.js +0 -0
  643. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/office.d.ts +0 -0
  644. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/office.js +0 -0
  645. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/path.d.ts +0 -0
  646. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/path.js +0 -0
  647. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.d.ts +0 -0
  648. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.js +0 -0
  649. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/stage.d.ts +0 -0
  650. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/stage.js +0 -0
  651. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/theme.js +0 -0
  652. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/units.d.ts +0 -0
  653. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/units.js +0 -0
  654. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.d.ts +0 -0
  655. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.js +0 -0
  656. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/LICENSE +0 -0
  657. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/anchors.d.ts +0 -0
  658. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/anchors.js +0 -0
  659. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/audio-types.d.ts +0 -0
  660. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/audio-types.js +0 -0
  661. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.d.ts +0 -0
  662. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.js +0 -0
  663. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/captions.d.ts +0 -0
  664. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/captions.js +0 -0
  665. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/console.d.ts +0 -0
  666. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/console.js +0 -0
  667. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/contrast.d.ts +0 -0
  668. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/contrast.js +0 -0
  669. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/cut-report.d.ts +0 -0
  670. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/cut-report.js +0 -0
  671. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.d.ts +0 -0
  672. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.js +0 -0
  673. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edits.d.ts +0 -0
  674. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/export.js +0 -0
  675. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/fact.js +0 -0
  676. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/footage-motion.d.ts +0 -0
  677. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/footage-motion.js +0 -0
  678. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/formats.d.ts +0 -0
  679. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/formats.js +0 -0
  680. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/look.d.ts +0 -0
  681. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/look.js +0 -0
  682. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/marks.d.ts +0 -0
  683. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/marks.js +0 -0
  684. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/matrix.d.ts +0 -0
  685. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/matrix.js +0 -0
  686. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/measure.js +0 -0
  687. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/messages.d.ts +0 -0
  688. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/messages.js +0 -0
  689. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/motion.d.ts +0 -0
  690. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/motion.js +0 -0
  691. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.d.ts +0 -0
  692. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.js +0 -0
  693. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/placement.d.ts +0 -0
  694. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/placement.js +0 -0
  695. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/render-types.d.ts +0 -0
  696. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/render-types.js +0 -0
  697. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/schema.js +0 -0
  698. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script-edit.d.ts +0 -0
  699. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script-edit.js +0 -0
  700. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script.d.ts +0 -0
  701. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script.js +0 -0
  702. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/seams.d.ts +0 -0
  703. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/seams.js +0 -0
  704. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/sound-under.d.ts +0 -0
  705. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/sound-under.js +0 -0
  706. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/source.d.ts +0 -0
  707. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/source.js +0 -0
  708. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/speech.d.ts +0 -0
  709. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timeline.js +0 -0
  710. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timing.d.ts +0 -0
  711. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timing.js +0 -0
  712. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/transcript.d.ts +0 -0
  713. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/transcript.js +0 -0
  714. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/voice.d.ts +0 -0
  715. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/voice.js +0 -0
  716. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/words.d.ts +0 -0
  717. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/words.js +0 -0
@@ -1,188 +0,0 @@
1
- import { z } from "zod";
2
- import { pointsOf, mapShape, touches, type NoteShape } from "@allyhub-next/formats";
3
- export declare const NoteRectSchema: z.ZodObject<{
4
- x: z.ZodNumber;
5
- y: z.ZodNumber;
6
- width: z.ZodNumber;
7
- height: z.ZodNumber;
8
- }, z.core.$strict>;
9
- export type NoteRect = z.infer<typeof NoteRectSchema>;
10
- /** A mark as the host tells it, px of the surface: its shape, and nothing of what is under it. */
11
- export declare const NoteShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12
- kind: z.ZodLiteral<"box">;
13
- rect: z.ZodObject<{
14
- x: z.ZodNumber;
15
- y: z.ZodNumber;
16
- width: z.ZodNumber;
17
- height: z.ZodNumber;
18
- }, z.core.$strict>;
19
- }, z.core.$strict>, z.ZodObject<{
20
- kind: z.ZodLiteral<"round">;
21
- rect: z.ZodObject<{
22
- x: z.ZodNumber;
23
- y: z.ZodNumber;
24
- width: z.ZodNumber;
25
- height: z.ZodNumber;
26
- }, z.core.$strict>;
27
- }, z.core.$strict>, z.ZodObject<{
28
- kind: z.ZodLiteral<"arrow">;
29
- from: z.ZodObject<{
30
- x: z.ZodNumber;
31
- y: z.ZodNumber;
32
- }, z.core.$strict>;
33
- to: z.ZodObject<{
34
- x: z.ZodNumber;
35
- y: z.ZodNumber;
36
- }, z.core.$strict>;
37
- }, z.core.$strict>, z.ZodObject<{
38
- kind: z.ZodLiteral<"line">;
39
- points: z.ZodArray<z.ZodObject<{
40
- x: z.ZodNumber;
41
- y: z.ZodNumber;
42
- }, z.core.$strict>>;
43
- }, z.core.$strict>], "kind">;
44
- export { mapShape, pointsOf, touches };
45
- export type { NoteShape };
46
- /** Where to change something: a project's file, and its line. */
47
- export declare const NoteSourceSchema: z.ZodObject<{
48
- path: z.ZodString;
49
- line: z.ZodOptional<z.ZodInt>;
50
- }, z.core.$strict>;
51
- export type NoteSource = z.infer<typeof NoteSourceSchema>;
52
- export declare const FrozenSchema: z.ZodObject<{
53
- key: z.ZodString;
54
- what: z.ZodString;
55
- source: z.ZodOptional<z.ZodObject<{
56
- path: z.ZodString;
57
- line: z.ZodOptional<z.ZodInt>;
58
- }, z.core.$strict>>;
59
- }, z.core.$strict>;
60
- export type Frozen = z.infer<typeof FrozenSchema>;
61
- export declare const NotePictureSchema: z.ZodObject<{
62
- rect: z.ZodOptional<z.ZodObject<{
63
- x: z.ZodNumber;
64
- y: z.ZodNumber;
65
- width: z.ZodNumber;
66
- height: z.ZodNumber;
67
- }, z.core.$strict>>;
68
- mime: z.ZodString;
69
- data: z.ZodString;
70
- }, z.core.$strict>;
71
- export type NotePicture = z.infer<typeof NotePictureSchema>;
72
- export declare const NoteElementSchema: z.ZodObject<{
73
- name: z.ZodString;
74
- source: z.ZodOptional<z.ZodObject<{
75
- path: z.ZodString;
76
- line: z.ZodOptional<z.ZodInt>;
77
- }, z.core.$strict>>;
78
- text: z.ZodOptional<z.ZodString>;
79
- }, z.core.$strict>;
80
- export type NoteElement = z.infer<typeof NoteElementSchema>;
81
- /**
82
- * What a framed page tells the window that holds it: it answers `NOTE_METHODS`
83
- * from now on, or no longer. The window asks only a page that has said so.
84
- */
85
- export declare const NOTE_READY = "note/ready";
86
- /** What a framed page tells the window: words for the agent's composer. */
87
- export declare const AGENT_ASK = "agent/ask";
88
- /** What a framed page tells the window: the person asked for Note mode. */
89
- export declare const NOTE_BEGIN = "note/begin";
90
- export declare const NOTE_GONE = "note/gone";
91
- /**
92
- * What a framed page tells the window: the person tried to change what a
93
- * read-only page shows (a snapshot's), so the window offers to wake the
94
- * machine (`{ method: EDIT_REQUEST }`).
95
- */
96
- export declare const EDIT_REQUEST = "edit/request";
97
- /**
98
- * What a framed page tells the window: where the person is in an item
99
- * (`editor/place`), so the window opens it there again, from a snapshot or
100
- * live (`{ method: EDITOR_PLACE, item, place }`).
101
- */
102
- export declare const EDITOR_PLACE = "editor/place";
103
- export declare const EditorPlaceMessageSchema: z.ZodObject<{
104
- method: z.ZodLiteral<"editor/place">;
105
- item: z.ZodString;
106
- place: z.ZodUnion<readonly [z.ZodObject<{
107
- t: z.ZodNumber;
108
- }, z.core.$strict>, z.ZodObject<{
109
- slide: z.ZodString;
110
- }, z.core.$strict>]>;
111
- }, z.core.$strip>;
112
- export declare const NOTE_METHODS: {
113
- readonly "note/freeze": import("./jsonrpc.js").MethodSpec<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
114
- key: z.ZodString;
115
- what: z.ZodString;
116
- source: z.ZodOptional<z.ZodObject<{
117
- path: z.ZodString;
118
- line: z.ZodOptional<z.ZodInt>;
119
- }, z.core.$strict>>;
120
- }, z.core.$strict>>;
121
- readonly "note/pictures": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
122
- page: z.ZodBoolean;
123
- }, z.core.$strict>, z.ZodObject<{
124
- pictures: z.ZodArray<z.ZodObject<{
125
- rect: z.ZodOptional<z.ZodObject<{
126
- x: z.ZodNumber;
127
- y: z.ZodNumber;
128
- width: z.ZodNumber;
129
- height: z.ZodNumber;
130
- }, z.core.$strict>>;
131
- mime: z.ZodString;
132
- data: z.ZodString;
133
- }, z.core.$strict>>;
134
- }, z.core.$strict>>;
135
- readonly "note/locate": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
136
- mark: z.ZodDiscriminatedUnion<[z.ZodObject<{
137
- kind: z.ZodLiteral<"box">;
138
- rect: z.ZodObject<{
139
- x: z.ZodNumber;
140
- y: z.ZodNumber;
141
- width: z.ZodNumber;
142
- height: z.ZodNumber;
143
- }, z.core.$strict>;
144
- }, z.core.$strict>, z.ZodObject<{
145
- kind: z.ZodLiteral<"round">;
146
- rect: z.ZodObject<{
147
- x: z.ZodNumber;
148
- y: z.ZodNumber;
149
- width: z.ZodNumber;
150
- height: z.ZodNumber;
151
- }, z.core.$strict>;
152
- }, z.core.$strict>, z.ZodObject<{
153
- kind: z.ZodLiteral<"arrow">;
154
- from: z.ZodObject<{
155
- x: z.ZodNumber;
156
- y: z.ZodNumber;
157
- }, z.core.$strict>;
158
- to: z.ZodObject<{
159
- x: z.ZodNumber;
160
- y: z.ZodNumber;
161
- }, z.core.$strict>;
162
- }, z.core.$strict>, z.ZodObject<{
163
- kind: z.ZodLiteral<"line">;
164
- points: z.ZodArray<z.ZodObject<{
165
- x: z.ZodNumber;
166
- y: z.ZodNumber;
167
- }, z.core.$strict>>;
168
- }, z.core.$strict>], "kind">;
169
- }, z.core.$strict>, z.ZodObject<{
170
- elements: z.ZodArray<z.ZodObject<{
171
- name: z.ZodString;
172
- source: z.ZodOptional<z.ZodObject<{
173
- path: z.ZodString;
174
- line: z.ZodOptional<z.ZodInt>;
175
- }, z.core.$strict>>;
176
- text: z.ZodOptional<z.ZodString>;
177
- }, z.core.$strict>>;
178
- }, z.core.$strict>>;
179
- readonly "note/thaw": import("./jsonrpc.js").MethodSpec<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
180
- };
181
- /** What an editor gives its host for notes on it, for as long as it is on show. */
182
- export interface NoteSurface {
183
- freeze(): Promise<Frozen>;
184
- pictures?(): Promise<NotePicture[]>;
185
- locate?(mark: NoteShape): Promise<NoteElement[]>;
186
- thaw?(): void;
187
- }
188
- //# sourceMappingURL=notes.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as t}from"zod";import{pointsOf as n,mapShape as s,touches as i}from"@allyhub-next/formats";import{PlaceSchema as a}from"./editor.js";import{PathSchema as r}from"./files.js";import{method as e}from"./jsonrpc.js";export const NoteRectSchema=t.strictObject({x:t.number(),y:t.number(),width:t.number().nonnegative(),height:t.number().nonnegative()});const o=t.strictObject({x:t.number(),y:t.number()});export const NoteShapeSchema=t.discriminatedUnion("kind",[t.strictObject({kind:t.literal("box"),rect:NoteRectSchema}),t.strictObject({kind:t.literal("round"),rect:NoteRectSchema}),t.strictObject({kind:t.literal("arrow"),from:o,to:o}),t.strictObject({kind:t.literal("line"),points:t.array(o).min(1)})]);export{s as mapShape,n as pointsOf,i as touches};export const NoteSourceSchema=t.strictObject({path:r,line:t.int().positive().optional()}),FrozenSchema=t.strictObject({key:t.string().min(1),what:t.string(),source:NoteSourceSchema.optional()}),NotePictureSchema=t.strictObject({rect:NoteRectSchema.optional(),mime:t.string().min(1),data:t.string().min(1)}),NoteElementSchema=t.strictObject({name:t.string().min(1),source:NoteSourceSchema.optional(),text:t.string().optional()}),NOTE_READY="note/ready",AGENT_ASK="agent/ask",NOTE_BEGIN="note/begin",NOTE_GONE="note/gone",EDIT_REQUEST="edit/request",EDITOR_PLACE="editor/place",EditorPlaceMessageSchema=t.object({method:t.literal(EDITOR_PLACE),item:r,place:a}),NOTE_METHODS={"note/freeze":e(t.strictObject({}),FrozenSchema,"Stops what moves and says what is on show. Answered once it is drawn, so a page still loading is not captured empty."),"note/pictures":e(t.strictObject({page:t.boolean()}),t.strictObject({pictures:t.array(NotePictureSchema)}),"What is on show drawn better than a screenshot can, or what a screenshot cannot reach: a render's frame, a frame of its own. Laid in order over the host's screenshot."),"note/locate":e(t.strictObject({mark:NoteShapeSchema}),t.strictObject({elements:t.array(NoteElementSchema)}),"What a mark is on, while frozen: the surface alone knows what it shows, and says it in its own terms, with its file and line where it knows them. Empty is an answer: the mark's place still goes."),"note/thaw":e(t.strictObject({}),t.strictObject({}),"The person is done. Nothing starts by itself: a video that was paused stays paused.")};
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as e}from"zod";import{readable as r}from"./open.js";export const REGISTRY_TYPES=["allyhub:component","allyhub:template","allyhub:scenery","allyhub:model","allyhub:skill","allyhub:lib"];const t=e.string().regex(/^[a-z0-9][a-z0-9-]*$/u);export const RegistryFileSchema=e.object({path:e.string().min(1),target:e.string().min(1),sha256:e.string().regex(/^[0-9a-f]{64}$/u),content:e.string().optional()}),RegistryAssetSchema=e.object({source:e.literal("polyhaven"),id:e.string().min(1),resolution:e.string().min(1).optional(),maps:e.array(e.string().min(1)).optional()}),RegistryBakeSchema=e.object({scenery:e.string().min(1),digest:e.string().regex(/^[0-9a-f]+$/u),renderer:e.string().min(1),sha256:e.string().regex(/^[0-9a-f]{64}$/u),size:e.number().int().positive(),url:e.url()}),SkillCardWordsSchema=e.object({title:e.string().min(1),description:e.string().min(1),prompt:e.string().min(1).optional()}),SkillCardSchema=e.object({category:e.string().min(1),order:e.number().int().positive(),cover:e.string().optional(),words:SkillCardWordsSchema,languages:e.record(e.string(),SkillCardWordsSchema.partial()).default({})}),RegistryItemSchema=e.object({$schema:e.string().optional(),name:t,type:e.enum(REGISTRY_TYPES),title:e.string().min(1),description:e.string().min(1),author:e.string().optional(),license:e.string().min(1),dependencies:e.array(e.string()).default([]),registryDependencies:e.array(t).default([]),files:e.array(RegistryFileSchema).min(1),assets:e.array(RegistryAssetSchema).default([]),bakes:e.array(RegistryBakeSchema).default([]),categories:e.array(e.string()).default([]),preview:e.string().optional(),version:e.string().optional(),card:SkillCardSchema.optional()}),RegistryIndexEntrySchema=RegistryItemSchema.pick({name:!0,type:!0,title:!0,description:!0,categories:!0,preview:!0,version:!0,card:!0}),RegistryIndexSchema=e.object({$schema:e.string().optional(),name:e.string().min(1),homepage:e.url().optional(),items:r(RegistryIndexEntrySchema)});
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{ACCOUNT_CALLS as P}from"./account.js";import{ACCOUNT_PATH as S,BROWSER_LINK_PATH as i,METADATA_PATH as r}from"./auth.js";import{CATALOG_PATH as A,FILES_PATH as e,LLM_MESSAGES_PATH as O,LLM_MODELS_PATH as _}from"./cloud.js";import{SHARES_PATH as o}from"./shares.js";import{PROJECTS_PATH as T,SNAPSHOTS_PATH as d,SNAPSHOT_BLOBS_PATH as H}from"./snapshots.js";import{SITES_PATH as t}from"./sites.js";import{ORGANIZATIONS_PATH as n,STUDIO_OPEN_PATH as s,STUDIO_PATH as m,STUDIO_TICKET_PATH as L,STUDIO_WAKE_PATH as G}from"./teams.js";export const CLIENT_ROUTES=[{method:"GET",path:r},{method:"GET",path:S},{method:"POST",path:i},{method:"GET",path:_},{method:"POST",path:O},{method:"GET",path:A},{method:"POST",path:"/api/tools/:name/calls"},{method:"GET",path:"/api/calls/:id"},{method:"POST",path:e},{method:"POST",path:`${e}/:id/done`},{method:"GET",path:`${e}/:id/content`},{method:"GET",path:n},{method:"GET",path:m},{method:"DELETE",path:m},{method:"POST",path:s},{method:"POST",path:L},{method:"PUT",path:G},{method:"POST",path:H},{method:"POST",path:d},{method:"POST",path:`${d}/:id/view`},{method:"GET",path:T},{method:"DELETE",path:`${T}/:id`},{method:"PUT",path:`${T}/:id/executor`},{method:"POST",path:o},{method:"GET",path:o},{method:"PATCH",path:`${o}/:id`},{method:"DELETE",path:`${o}/:id`},{method:"GET",path:"/api/s/:token"},{method:"POST",path:"/api/s/:token/report"},...Object.values(P).map(h=>({method:h.http,path:h.route})),{method:"GET",path:t},{method:"POST",path:t},{method:"GET",path:`${t}/:id`},{method:"DELETE",path:`${t}/:id`},{method:"POST",path:`${t}/:id/deployments`},{method:"POST",path:`${t}/:id/blobs`},{method:"PUT",path:`${t}/:id/live`},{method:"DELETE",path:`${t}/:id/live`},{method:"PUT",path:`${t}/:id/settings`}],probePath=h=>h.path.replace(/:[A-Za-z]+/gu,"probe");export function routeMissing(h,a,E){if(a!==404)return!1;const p=E.error;return p?.code==="not_found"&&p.message===`There is no ${h.method} ${probePath(h)}.`}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as e}from"zod";import{Sha256Schema as o,TreeFileSchema as i,TreePathSchema as a}from"./blobs.js";import{openEnum as c}from"./open.js";export const SITE_MANIFEST_FORMAT=1,SITE_LIMITS={files:2e4,bytes:5*1024*1024*1024,redirects:2e3,headers:100},SLUG_LENGTH={min:3,max:40},RESERVED_SLUGS=new Set(["abuse","account","accounts","admin","administrator","allyhub","api","app","assets","auth","autoconfig","autodiscover","billing","blog","cdn","dashboard","dev","dns","docs","download","downloads","ftp","help","hostmaster","imap","login","mail","mta-sts","ns1","ns2","ops","pop","postmaster","preview","root","security","signin","smtp","staging","static","status","studio","support","test","webmaster","wpad","www"]);export function slugProblem(t){if(t.length<SLUG_LENGTH.min||t.length>SLUG_LENGTH.max)return`An address is ${String(SLUG_LENGTH.min)} to ${String(SLUG_LENGTH.max)} characters.`;if(!/^[a-z0-9-]+$/u.test(t))return"An address is lowercase letters, digits and hyphens.";if(t.startsWith("-")||t.endsWith("-"))return"An address neither starts nor ends with a hyphen.";if(t.includes("--"))return"An address does not have two hyphens in a row.";if(RESERVED_SLUGS.has(t))return"That address is reserved."}export const SiteSlugSchema=e.string().superRefine((t,r)=>{const n=slugProblem(t);n!==void 0&&r.addIssue({code:"custom",message:n})}),REDIRECT_STATUSES=[200,301,302,303,307,308,404,410];const s=e.string().min(1).max(1024).regex(/^\/[^\s]*$/u,"A rule's path starts with /.");export const RedirectRuleSchema=e.strictObject({from:s,to:e.string().min(1).max(2048).regex(/^(\/[^\s]*|https?:\/\/[^\s]+)$/u,"A rule goes to a path or an http(s) address."),status:e.union(REDIRECT_STATUSES.map(t=>e.literal(t))),force:e.boolean()}),PLATFORM_HEADERS=new Set(["accept-ranges","connection","content-encoding","content-length","content-range","date","keep-alive","set-cookie","strict-transport-security","trailer","transfer-encoding","upgrade","x-content-type-options"]);const p=e.string().regex(/^[A-Za-z0-9-]+$/u).max(128).refine(t=>!PLATFORM_HEADERS.has(t.toLowerCase()),"That header is the platform's.");export const HeaderRuleSchema=e.strictObject({for:s,set:e.record(p,e.string().max(2048))}),SiteManifestSchema=e.strictObject({format:e.literal(SITE_MANIFEST_FORMAT),files:e.record(a,i),redirects:e.array(RedirectRuleSchema).max(SITE_LIMITS.redirects),headers:e.array(HeaderRuleSchema).max(SITE_LIMITS.headers)}),SITE_SOURCE_KINDS=["upload","git"],SiteSourceSchema=e.strictObject({kind:e.enum(SITE_SOURCE_KINDS),commit:e.string().min(1).max(64).optional(),digest:o.optional()}),DeploymentSchema=e.object({id:e.string(),siteId:e.string(),source:e.object({...SiteSourceSchema.shape,kind:c(SITE_SOURCE_KINDS)}),note:e.string().nullable(),files:e.number(),bytes:e.number(),createdBy:e.string(),createdAt:e.iso.datetime(),live:e.boolean()}),SiteSchema=e.object({id:e.string(),slug:e.string(),name:e.string(),url:e.url(),liveDeployment:e.string().nullable(),approved:e.boolean(),autoPublish:e.boolean(),indexing:e.boolean(),createdAt:e.iso.datetime()}),SITES_PATH="/api/sites",SiteCreateSchema=e.strictObject({slug:SiteSlugSchema,name:e.string().min(1).max(255)}),SitesResponseSchema=e.object({sites:e.array(SiteSchema),domain:e.string(),hosting:e.boolean()}),sitePath=t=>`${SITES_PATH}/${encodeURIComponent(t)}`,SiteDetailSchema=e.object({site:SiteSchema,deployments:e.array(DeploymentSchema)}),siteBlobsPath=t=>`${sitePath(t)}/blobs`,siteDeploymentsPath=t=>`${sitePath(t)}/deployments`,DeploymentCreateSchema=e.strictObject({manifest:o,source:SiteSourceSchema,note:e.string().max(500).optional()}),DeploymentMadeSchema=e.object({site:SiteSchema,deployment:DeploymentSchema}),siteLivePath=t=>`${sitePath(t)}/live`,SiteLiveSchema=e.strictObject({deployment:e.string().min(1)}),SiteLiveAnswerSchema=e.object({site:SiteSchema,live:e.boolean(),confirm:e.url().optional()}),SITE_PERSON_QUERY="person=1",SITE_CONFIRM_PAGE="/publish",siteConfirmPath=t=>`${SITE_CONFIRM_PAGE}?site=${encodeURIComponent(t.site)}&version=${encodeURIComponent(t.version)}&org=${encodeURIComponent(t.organization)}`,siteSettingsPath=t=>`${sitePath(t)}/settings`,SiteSettingsSchema=e.strictObject({autoPublish:e.boolean().optional(),indexing:e.boolean().optional()}),SitePointerSchema=e.object({site:e.string(),organization:e.string(),deployment:e.string(),manifest:o,indexing:e.boolean()}),sitePointerKey=t=>`host:${t}`;
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as e}from"zod";import{BlobSchema as f,Sha256Schema as l,TreeFileSchema as h,TreePathSchema as p}from"./blobs.js";import{placeParams as x}from"./editor.js";import{openEnum as S,readable as b}from"./open.js";export const SNAPSHOT_FORMAT=1,ConversationEntrySchema=e.object({sessionId:e.string().min(1),agent:e.string().min(1),title:e.string().optional(),createdAt:e.iso.datetime(),updatedAt:e.iso.datetime(),transcript:l}),TranscriptSchema=e.object({sessionId:e.string().min(1),messages:e.array(e.object({method:e.string().min(1),params:e.unknown()}))}),SNAPSHOT_KINDS=["project","home"];const $=e.string().refine(t=>t.endsWith("/")&&p.safeParse(t.slice(0,-1)).success,"a folder of the tree, ending in /");export const ItemReachSchema=e.object({tree:e.array(p),files:e.array(p),own:e.record(p,h)}),SnapshotReachSchema=e.object({shared:e.array($),items:e.record(e.string(),ItemReachSchema)}),SnapshotManifestSchema=e.object({format:e.literal(SNAPSHOT_FORMAT),kind:e.enum(SNAPSHOT_KINDS),project:e.object({name:e.string().min(1).max(255)}),host:e.object({version:e.string().min(1)}),madeAt:e.iso.datetime(),files:e.record(p,f),tree:e.record(p,h),conversations:e.array(ConversationEntrySchema),reach:SnapshotReachSchema.optional()});export function scopedManifest(t,s){const o=t.reach,c=o!==void 0&&Object.hasOwn(o.items,s)?o.items[s]:void 0;if(o===void 0||c===void 0)return;const r={};for(const[n,i]of Object.entries(t.tree))o.shared.some(m=>n.startsWith(m))&&(r[n]=i);for(const n of c.tree){const i=Object.hasOwn(t.tree,n)?t.tree[n]:void 0;i!==void 0&&(r[n]=i)}Object.assign(r,c.own);const a={};for(const n of c.files){const i=Object.hasOwn(t.files,n)?t.files[n]:void 0;i!==void 0&&(a[n]=i)}return{format:t.format,kind:t.kind,project:t.project,host:t.host,madeAt:t.madeAt,files:a,tree:r,conversations:[]}}export const SNAPSHOT_SKIPPED=["node_modules",".allyhub/cache",".allyhub/out"],SNAPSHOT_TREE={editor:"editor/",runtime:"runtime/",build:"build/",media:"media/",matte:"matte/",scenery:"scenery/",bakes:"bakes/",stills:"stills/",answers:"answers/",previews:"previews/"};function d(t){return Array.isArray(t)?t.map(d):t!==null&&typeof t=="object"?Object.fromEntries(Object.keys(t).sort().map(s=>[s,d(t[s])])):t}export const snapshotAnswerPath=(t,s)=>`${SNAPSHOT_TREE.answers}${t}/${encodeURIComponent(JSON.stringify(d(s??{})))}.json`,stillPath=t=>`${SNAPSHOT_TREE.stills}${t}.webp`,stillsIndexPath=(t,s)=>`${SNAPSHOT_TREE.stills}index/${encodeURIComponent(t)}/${encodeURIComponent(s)}.json`,StillsIndexSchema=e.object({stills:e.record(e.string(),e.string().regex(/^[0-9a-f]{64}$/u))}),stillsIndexKey=t=>JSON.stringify(d(t)),snapshotPreviewPath=t=>`${SNAPSHOT_TREE.previews}${encodeURIComponent(t===""?".":t)}.json`,TREE_PAGES={stage:`${SNAPSHOT_TREE.runtime}stage.html`,viewer:`${SNAPSHOT_TREE.runtime}viewer.html`,probe:`${SNAPSHOT_TREE.runtime}probe.html`},pieceSourcePath=t=>`${SNAPSHOT_TREE.build}sources/${encodeURIComponent(t)}.json`,scenerySourcePath=t=>`${SNAPSHOT_TREE.scenery}sources/${encodeURIComponent(t)}.json`,treeHref=t=>t.split("/").map(encodeURIComponent).join("/"),SOUND_FOLDER="sound/";export function stageCsp(t,s){const o=u=>`${t}${u}`,c=o(SNAPSHOT_TREE.runtime),r=o(SNAPSHOT_TREE.build),a=o(SNAPSHOT_TREE.scenery),n=o(SNAPSHOT_TREE.media),i=o(SNAPSHOT_TREE.matte),m=o(SOUND_FOLDER);return["default-src 'none'",`script-src 'unsafe-eval' 'wasm-unsafe-eval' ${c} ${r} ${a}`,"worker-src blob:",`style-src 'unsafe-inline' ${c} ${r} ${a}`,`font-src ${c} ${r} ${n} data:`,`img-src ${n} ${r} ${a} data: blob:`,`media-src ${n} ${i} ${m} blob:`,`connect-src ${n} ${i} ${m} ${r} ${a} ${o(SNAPSHOT_TREE.bakes)} ${c} blob: data:`,`frame-ancestors ${s.length>0?s.join(" "):"'none'"}`].join("; ")}export function snapshotEditorUrl(t,s,o={}){const c=Object.entries({item:s,embed:"studio",snapshot:"1",...o.viewer===!0?{viewer:"1"}:{},...o.theme===void 0?{}:{theme:o.theme},...x(o.place)}).map(([r,a])=>`${r}=${encodeURIComponent(a)}`);return`${t.replace(/\/$/u,"")}/${SNAPSHOT_TREE.editor}?${c.join("&")}`}export const EXECUTOR_KINDS=["cloud","computer"],COMPUTER_HEADER="x-allyhub-computer",ComputerIdSchema=e.string().regex(/^[A-Za-z0-9_-]{16,64}$/u),WORKED_ELSEWHERE="worked_elsewhere",ExecutorSchema=e.object({kind:S(EXECUTOR_KINDS),here:e.boolean()}),SNAPSHOT_BLOBS_PATH="/api/snapshots/blobs",SNAPSHOTS_PATH="/api/snapshots",SnapshotCreateSchema=e.strictObject({project:e.strictObject({id:e.string().min(1).optional(),kind:e.enum(SNAPSHOT_KINDS),name:e.string().min(1).max(255)}),manifest:l}),SnapshotCreatedSchema=e.object({id:e.string().min(1),projectId:e.string().min(1)}),SnapshotMissingSchema=e.object({missing:e.array(l)}),PROJECTS_PATH="/api/projects",SnapshotInfoSchema=e.object({id:e.string().min(1),madeAt:e.iso.datetime(),hostVersion:e.string()}),ProjectInfoSchema=e.object({id:e.string().min(1),kind:e.enum(SNAPSHOT_KINDS),name:e.string(),latest:SnapshotInfoSchema.nullable(),executor:ExecutorSchema}),ProjectsResponseSchema=e.object({projects:b(ProjectInfoSchema)}),projectPath=t=>`${PROJECTS_PATH}/${encodeURIComponent(t)}`,projectExecutorPath=t=>`${projectPath(t)}/executor`,ExecutorMoveSchema=e.strictObject({kind:e.enum(EXECUTOR_KINDS)}),snapshotViewPath=t=>`${SNAPSHOTS_PATH}/${encodeURIComponent(t)}/view`,SnapshotViewSchema=e.object({origin:e.url(),expiresAt:e.iso.datetime()}),SNAPSHOT_VIEW={manifest:"manifest.json",files:"files/",conversations:"conversations/"},NEEDS_MACHINE=-32010;
@@ -1,79 +0,0 @@
1
- import { z } from "zod";
2
- /** `GET`: the organizations the person is in, the one a request acts in unless it names another first; `POST { name }`: a new team. */
3
- export declare const ORGANIZATIONS_PATH = "/api/organizations";
4
- export declare const OrganizationsSchema: z.ZodObject<{
5
- organizations: z.ZodArray<z.ZodObject<{
6
- id: z.ZodString;
7
- name: z.ZodString;
8
- slug: z.ZodString;
9
- role: z.ZodString;
10
- dissolvedAt: z.ZodNullable<z.ZodISODateTime>;
11
- }, z.core.$strip>>;
12
- }, z.core.$strip>;
13
- export type Organizations = z.infer<typeof OrganizationsSchema>;
14
- /** `GET`: the members of the organization the request acts in; a member sees their own row alone. */
15
- export declare const MEMBERS_PATH = "/api/organization/members";
16
- export declare const MembersSchema: z.ZodObject<{
17
- members: z.ZodArray<z.ZodObject<{
18
- userId: z.ZodString;
19
- email: z.ZodString;
20
- name: z.ZodString;
21
- role: z.ZodString;
22
- limit: z.ZodNullable<z.ZodNumber>;
23
- used: z.ZodNumber;
24
- }, z.core.$strip>>;
25
- }, z.core.$strip>;
26
- export type Members = z.infer<typeof MembersSchema>;
27
- /** A member's limit in credits a month, null for none (`members/limit`, account.ts). */
28
- export declare const MemberLimitSchema: z.ZodObject<{
29
- monthly: z.ZodNullable<z.ZodNumber>;
30
- }, z.core.$strict>;
31
- /** `DELETE`, its owner's: the team the request acts in dissolved; `PUT { name }`, an owner's or an admin's: renamed. */
32
- export declare const ORGANIZATION_PATH = "/api/organization";
33
- /** `GET`: the person's cloud Studio, if any, and what an hour of it costs; `DELETE`: it gone. */
34
- export declare const STUDIO_PATH = "/api/studio";
35
- /** Whether a cloud Studio is running or asleep. */
36
- export declare const STUDIO_STATES: readonly ["running", "paused"];
37
- export declare const StudioSchema: z.ZodObject<{
38
- studio: z.ZodNullable<z.ZodObject<{
39
- state: z.ZodUnion<readonly [z.ZodEnum<{
40
- running: "running";
41
- paused: "paused";
42
- }>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
43
- organizationId: z.ZodString;
44
- }, z.core.$strip>>;
45
- creditsPerHour: z.ZodNumber;
46
- }, z.core.$strip>;
47
- export type StudioInfo = z.infer<typeof StudioSchema>;
48
- /**
49
- * `POST`, a browser's: the Studio made or woken, answered with its Host's
50
- * origin on the gateway and a ticket. The window connects to
51
- * `<origin as ws(s)>/studio?ticket=<ticket>`; the gateway takes a ticket
52
- * once.
53
- */
54
- export declare const STUDIO_OPEN_PATH = "/api/studio/open";
55
- export declare const StudioOpenedSchema: z.ZodObject<{
56
- origin: z.ZodURL;
57
- ticket: z.ZodString;
58
- }, z.core.$strip>;
59
- export type StudioOpened = z.infer<typeof StudioOpenedSchema>;
60
- /**
61
- * `POST`, a browser's: a ticket for the person's running Studio (to
62
- * connect again, or for one upload: `POST <origin>/upload?…&ticket=`);
63
- * 409 when it is not running.
64
- */
65
- export declare const STUDIO_TICKET_PATH = "/api/studio/ticket";
66
- export declare const StudioTicketSchema: z.ZodObject<{
67
- ticket: z.ZodString;
68
- }, z.core.$strip>;
69
- /**
70
- * `PUT { at }`, a cloud Studio's own Host's (its API key): when its next
71
- * scheduled task is due, null for none. A paused Studio is woken then, its
72
- * Host runs the task as it would on a computer, and it pauses again once
73
- * idle.
74
- */
75
- export declare const STUDIO_WAKE_PATH = "/api/studio/wake";
76
- export declare const StudioWakeSchema: z.ZodObject<{
77
- at: z.ZodNullable<z.ZodISODateTime>;
78
- }, z.core.$strict>;
79
- //# sourceMappingURL=teams.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as t}from"zod";import{openEnum as e}from"./open.js";export const ORGANIZATIONS_PATH="/api/organizations",OrganizationsSchema=t.object({organizations:t.array(t.object({id:t.string(),name:t.string(),slug:t.string(),role:t.string(),dissolvedAt:t.iso.datetime().nullable()}))}),MEMBERS_PATH="/api/organization/members",MembersSchema=t.object({members:t.array(t.object({userId:t.string(),email:t.string(),name:t.string(),role:t.string(),limit:t.number().nullable(),used:t.number()}))}),MemberLimitSchema=t.strictObject({monthly:t.number().nonnegative().nullable()}),ORGANIZATION_PATH="/api/organization",STUDIO_PATH="/api/studio",STUDIO_STATES=["running","paused"],StudioSchema=t.object({studio:t.object({state:e(STUDIO_STATES),organizationId:t.string()}).nullable(),creditsPerHour:t.number()}),STUDIO_OPEN_PATH="/api/studio/open",StudioOpenedSchema=t.object({origin:t.url(),ticket:t.string().min(1)}),STUDIO_TICKET_PATH="/api/studio/ticket",StudioTicketSchema=t.object({ticket:t.string().min(1)}),STUDIO_WAKE_PATH="/api/studio/wake",StudioWakeSchema=t.strictObject({at:t.iso.datetime().nullable()});
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as e}from"zod";import{KINDS as c}from"@allyhub-next/formats";import{PathSchema as s}from"./files.js";import{method as t,notification as r}from"./jsonrpc.js";const n={item:s,version:e.string().optional()};export const ImageSchema=e.strictObject({mime:e.string().regex(/^image\//u),data:e.base64()}),ProblemSchema=e.looseObject({code:e.string(),level:e.enum(["error","warn"]),message:e.string(),piece:e.string().optional(),part:e.string().optional(),t:e.number().optional()}),FactSchema=e.looseObject({kind:e.string(),data:e.unknown()}),TimelineSchema=e.looseObject({fps:e.number(),width:e.number(),height:e.number(),duration:e.number(),parts:e.array(e.unknown())}),CHECK_STATES=["off","waiting","running","done","failed"],CheckStateSchema=e.strictObject({status:e.enum(CHECK_STATES),revision:e.int().nonnegative(),problems:e.array(ProblemSchema),facts:e.array(FactSchema),versions:e.strictObject({total:e.int(),loaded:e.int(),reused:e.int()}).optional(),error:e.string().optional()}),EXPORT_STATES=["queued","running","done","failed","cancelled"],ExportOptionsSchema=e.record(e.string(),e.union([e.string(),e.boolean()])),ExportJobSchema=e.strictObject({id:e.string(),item:s,versions:e.array(e.string()),types:e.array(e.string()),options:ExportOptionsSchema.optional(),state:e.enum(EXPORT_STATES),progress:e.number().min(0).max(1),files:e.array(s),error:e.string().optional()}),IndexJobSchema=e.strictObject({file:s,status:e.enum(["running","done","failed"]),message:e.string(),share:e.number().min(0).max(1).optional()});const o=e.tuple([e.number(),e.number(),e.number()]),a=e.strictObject({url:e.string(),probe:e.string()});export const COMPONENT_STILLS_MAX=64,PROJECT_TOOLS={"project/items":t(e.strictObject({}),e.strictObject({items:e.array(e.strictObject({kind:e.enum(c),dir:s,entry:s,title:e.string().optional()})),name:e.string(),scope:e.string(),revision:e.int().nonnegative()}),"The project's items, as the build finds them."),"sheet/generated":t(e.strictObject({item:s}),e.strictObject({generated:e.unknown().optional(),failed:e.boolean()}),"What a sheet's sheet.ts makes now: sheets as sheet.yaml would hold them. Never written to a file."),"video/versions":t(e.strictObject({item:s}),e.strictObject({piece:e.string(),kind:e.enum(["video","slides"]),title:e.string().optional(),width:e.number(),height:e.number(),versions:e.array(e.strictObject({key:e.string(),lang:e.string().optional()}))}),"A video's or a deck's versions, one per language: what its stage, its timeline and its exports are asked for."),"slides/deck":t(e.strictObject({item:s}),e.strictObject({piece:e.string(),file:s,prefix:e.string(),layouts:e.array(e.string()),components:e.record(e.string(),e.unknown()),generators:e.array(e.string()),scripts:e.record(e.string(),s),code:e.unknown(),theme:e.strictObject({name:e.string(),colors:e.record(e.string(),e.string()),fonts:e.record(e.string(),e.string())})}),"A deck's layouts, components and generators, and its files: slides.yaml (its slides) and its script in each language (their words and notes), which the deck's editor edits."),"video/stage":t(e.strictObject({...n,start:e.strictObject({t:e.number().nonnegative().optional(),part:e.string().optional(),offset:e.number().nonnegative().optional(),dur:e.number().positive().optional()}).optional(),play:e.boolean().optional(),chrome:e.boolean().optional(),mode:e.enum(["code","component"]).optional()}),a,"The address of a version's stage page, for a sandboxed frame: it plays the piece and talks to its parent by postMessage."),"video/timeline":t(e.strictObject(n),e.strictObject({timeline:TimelineSchema,text:e.array(e.unknown())}),"A version's timeline, drawn nowhere."),"video/still":t(e.strictObject({...n,t:e.number().nonnegative().optional()}),e.strictObject({t:e.number(),image:ImageSchema,width:e.int().positive(),height:e.int().positive(),duration:e.number().nonnegative()}),"A moment of a version as the render draws it, as a picture."),"video/stills":t(e.strictObject({...n,moments:e.array(e.number().nonnegative()).min(1).max(32)}),e.strictObject({stills:e.array(e.strictObject({t:e.number(),image:ImageSchema}))}),"Several moments of a version as the render draws them: what `video/still` gives, on one page."),"slides/fonts":t(e.strictObject({item:s}),e.strictObject({faces:e.array(e.strictObject({family:e.string(),url:e.url(),weight:e.string().optional(),style:e.string().optional(),stretch:e.string().optional(),unicodeRange:e.string().optional()}))}),"The font faces a deck's slides draw with: the stage's own (the theme's standard fonts), allyhub.config.ts's fonts and what the deck's code imports, for a document that draws its slides without the project's stylesheets."),"slides/component-stills":t(e.strictObject({...n,components:e.array(e.strictObject({name:e.string(),props:e.record(e.string(),e.unknown()),width:e.number().positive(),height:e.number().positive(),t:e.number().nonnegative()})).min(1).max(COMPONENT_STILLS_MAX)}),e.strictObject({stills:e.array(e.strictObject({key:e.string(),url:e.url()}).nullable())}),"Components of a deck drawn alone, transparent, as the render draws them: pictures kept by what they show, given as addresses."),"check/results":t(e.strictObject({}),CheckStateSchema,"The check run after edits, as it stands."),"check/run":t(e.strictObject({}),e.strictObject({}),"Runs the check again now."),"export/start":t(e.strictObject({item:s,versions:e.array(e.string()).optional(),types:e.array(e.string().min(1)).max(10).optional(),options:ExportOptionsSchema.optional()}),e.strictObject({job:ExportJobSchema}),"Exports an item (its versions, as file types) into .allyhub/out/; `export/changed` says how it goes."),"export/cancel":t(e.strictObject({job:e.string()}),e.strictObject({}),"Stops an export."),"export/list":t(e.strictObject({}),e.strictObject({jobs:e.array(ExportJobSchema),reveal:e.boolean()}),"The exports asked for since the server started."),"export/reveal":t(e.strictObject({path:s}),e.strictObject({}),"Shows an exported file in the person's file manager, where the server runs on their computer (`export/list`'s `reveal`)."),"scenery/viewer":t(e.strictObject({item:s,camera:e.strictObject({position:o,target:o}).optional()}),a,"The address of a scenery's viewer page, for a sandboxed frame: it tells what the person does by postMessage.")},AGENT_DOES={"project/items":{files:"the project's folder"},"sheet/generated":{files:"the item's sheet.ts and sheet.yaml"},"video/versions":{command:"inspect combos"},"slides/deck":{files:"slides.ts, slides.yaml and the item's script.<locale>.yaml"},"video/stage":{command:"frames"},"video/timeline":{command:"inspect timeline"},"video/still":{command:"frames"},"video/stills":{command:"frames"},"slides/fonts":{files:"allyhub.config.ts's fonts and the stylesheets slides.ts imports"},"slides/component-stills":{command:"frames"},"check/results":{command:"inspect"},"check/run":{command:"check"},"export/start":{command:"render"},"export/cancel":{command:"render"},"export/list":{files:".allyhub/out/"},"export/reveal":{files:".allyhub/out/"},"scenery/viewer":{command:"scenery view"}};export function toolSpec(i){return Object.hasOwn(PROJECT_TOOLS,i)?PROJECT_TOOLS[i]:void 0}export const TOOL_NOTIFICATIONS={"project/changed":r(e.strictObject({revision:e.int().nonnegative()}),"The build saw a change: a stage or a timeline asked for now is the new one's."),"check/changed":r(CheckStateSchema,"The check started, ended or failed."),"export/changed":r(e.strictObject({job:ExportJobSchema}),"An export moved on."),"index/changed":r(e.strictObject({jobs:e.array(IndexJobSchema)}),"Making what the media index lacks moved on.")};
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{existsSync as u}from"node:fs";import{join as v}from"node:path";import{binsOf as x,filesFor as O,platformOf as d}from"@allyhub-next/protocol";import{binVariable as h}from"./runtimes.js";import{shippedManifest as j}from"./manifest.js";import{native as y}from"./unpack.js";export function bundledEnv(s,t={}){const f=t.env??process.env,e="platform"in t?t.platform:d(process.platform,process.arch),m=t.manifest??j(),c=t.exists??u,r={};if(!e)return r;for(const[a,p]of Object.entries(m.runtimes)){const n=O(p,e);if(n)for(const[l,b]of Object.entries(x(n))){const o=h(l),i=v(s,a,y(b));!f[o]&&c(i)&&(r[o]=i)}}return r}
@@ -1,15 +0,0 @@
1
- export interface DownloadOptions {
2
- size: number;
3
- sha256: string;
4
- fetch: typeof globalThis.fetch;
5
- signal?: AbortSignal | undefined;
6
- onProgress?: ((received: number, total: number) => void) | undefined;
7
- }
8
- /**
9
- * Downloads `url` to `dest`, hashing as it comes; a file of another size or
10
- * sha256 is deleted and refused, and nothing longer than its pin is read.
11
- */
12
- export declare function download(url: string, dest: string, options: DownloadOptions): Promise<void>;
13
- /** A file's sha256. */
14
- export declare function sha256Of(path: string): Promise<string>;
15
- //# sourceMappingURL=download.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{createHash as m}from"node:crypto";import{createWriteStream as u}from"node:fs";import{rm as g}from"node:fs/promises";import{Readable as y,Transform as S}from"node:stream";import{pipeline as p}from"node:stream/promises";import{RuntimeError as o}from"./errors.js";export async function download(e,r,n){const{size:i,sha256:w,signal:a,onProgress:$}=n;let s;try{s=await n.fetch(e,{redirect:"follow",...a?{signal:a}:{}})}catch(t){throw a?.aborted?new o("cancelled",`Stopped downloading ${e}.`,{cause:t}):new o("download",`Could not reach ${e}: ${l(t)}`,{cause:t})}if(!s.ok||!s.body)throw new o("download",`${e} answered ${String(s.status)}.`);const d=m("sha256");let c=0;const b=new S({transform(t,x,h){if(c+=t.length,c>i){h(new o("checksum",`${e} is larger than its pin (${String(i)} bytes).`));return}d.update(t),$?.(c,i),h(null,t)}});try{await p(y.fromWeb(s.body),b,u(r),...a?[{signal:a}]:[])}catch(t){throw await g(r,{force:!0}),t instanceof o?t:a?.aborted?new o("cancelled",`Stopped downloading ${e}.`,{cause:t}):new o("download",`Downloading ${e} failed: ${l(t)}`,{cause:t})}const f=d.digest("hex");if(c!==i||f!==w)throw await g(r,{force:!0}),new o("checksum",`${e} came as ${String(c)} bytes with sha256 ${f}; its pin is ${String(i)} bytes, ${w}.`)}export async function sha256Of(e){const{createReadStream:r}=await import("node:fs"),n=m("sha256");return await p(r(e),n),n.digest("hex")}const l=e=>e instanceof Error?e.message:String(e);
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export{binVariable,createRuntimes}from"./runtimes.js";export{createPackages,npmCi}from"./packages.js";export{bundledEnv}from"./bundled.js";export{RuntimeError}from"./errors.js";export{cacheHome}from"./home.js";export{shippedManifest}from"./manifest.js";export{download,sha256Of}from"./download.js";export{withLock}from"./lock.js";export{unzip,untgz}from"./unpack.js";
@@ -1,8 +0,0 @@
1
- export interface LockOptions {
2
- signal?: AbortSignal | undefined;
3
- pollMs?: number;
4
- /** Called once, when the lock is another's and this waits for it. */
5
- onWait?: () => void;
6
- }
7
- export declare function withLock<T>(path: string, run: () => Promise<T>, options?: LockOptions): Promise<T>;
8
- //# sourceMappingURL=lock.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{setTimeout as c}from"node:timers/promises";import{lock as m}from"proper-lockfile";export async function withLock(r,l,f={}){const{signal:o,pollMs:n=150,onWait:s}=f;let e,a,i=!1;for(;;){o?.throwIfAborted();try{a=await m(r,{lockfilePath:r,realpath:!1,onCompromised:t=>{e=t}});break}catch(t){if(t.code!=="ELOCKED")throw t;i||s?.(),i=!0,await c(n,void 0,o?{signal:o}:{})}}try{const t=await l();if(e)throw e;return t}finally{e||await a()}}
@@ -1,3 +0,0 @@
1
- import { type RuntimeManifest } from "@allyhub-next/protocol";
2
- export declare function shippedManifest(): RuntimeManifest;
3
- //# sourceMappingURL=manifest.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{readFileSync as r}from"node:fs";import{RuntimeManifestSchema as t}from"@allyhub-next/protocol";let e;export function shippedManifest(){return e??=t.parse(JSON.parse(r(new URL("../manifest.json",import.meta.url),"utf8"))),e}
@@ -1,3 +0,0 @@
1
- /** The program that runs a Node program here. */
2
- export declare function nodeCommand(env?: Readonly<Record<string, string | undefined>>, versions?: Readonly<Record<string, string | undefined>>): string;
3
- //# sourceMappingURL=node-program.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export function nodeCommand(n=process.env,o=process.versions){const e=n.ALLYHUB_NODE;if(e)return e;if(o.electron!==void 0)throw new Error("This Electron app names no Node.js (ALLYHUB_NODE): its own executable is not Node.");return process.execPath}
@@ -1,4 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{spawn as _}from"node:child_process";import{createHash as T,randomBytes as H}from"node:crypto";import{existsSync as A,readFileSync as b}from"node:fs";import{copyFile as R,mkdir as E,readdir as y,readFile as C,rename as F,rm as g,writeFile as L}from"node:fs/promises";import{createRequire as I}from"node:module";import{delimiter as z,join as o}from"node:path";import{fileURLToPath as J,pathToFileURL as U}from"node:url";import{RuntimeError as k}from"./errors.js";import{cacheHome as W}from"./home.js";import{withLock as B}from"./lock.js";import{nodeCommand as D}from"./node-program.js";import{createRuntimes as M}from"./runtimes.js";const N=".allyhub-package.json",q=J(new URL("../pins/",import.meta.url));async function G(s){const c=o(s,"node_modules","onnxruntime-node","bin","napi-v6");for(const n of await y(c)){if(n!==process.platform){await g(o(c,n),{recursive:!0,force:!0});continue}for(const p of await y(o(c,n)))p!==process.arch&&await g(o(c,n,p),{recursive:!0,force:!0})}if(process.platform!=="darwin")return;const i=o(c,"darwin",process.arch);for(const n of await y(i))/^libonnxruntime\.\d+\.\d+\.\d+\.dylib$/u.test(n)&&await g(o(i,n),{force:!0})}const V={"onnxruntime-node":G};export const NPX_SETTING=/^npm_config_(global|prefix|location|cache|.*_prefix)/iu;export function npmProblem(s,c){return s.split(`
3
- `).map(n=>n.replace(/^npm (error|ERR!)\s*/u,"").trim()).find(n=>n!==""&&!/^(code|errno|syscall|path|type|A complete log|Exit handler|This is an error with npm|<https)/u.test(n))??`npm ended with code ${String(c)}`}const X=(s,c)=>(c.PATH??"").split(z).some(i=>i!==""&&A(o(i,s)));export async function findNpm(s,c){const i=s.ALLYHUB_NPM??s.npm_execpath;if(i?.endsWith(".js"))return{command:D(s),script:[i]};if(X("npm",s))return{command:"npm",script:[]};const n=await c(),{node:p,npm:l}=n;if(!p||!l)throw new Error("AllyHub's Node has no npm");return{command:p,script:[l]}}export const npmCi=async(s,{home:c,signal:i})=>{const n=await findNpm(process.env,async()=>(await M({home:c}).ensure("node",{signal:i})).bins),p=Object.fromEntries(Object.entries(process.env).filter(([f])=>!NPX_SETTING.test(f))),l=["ci","--ignore-scripts","--omit=dev","--no-audit","--no-fund","--omit=peer","--loglevel=error","--fetch-retries=1"];await new Promise((f,m)=>{const w=_(n.command,[...n.script,...l],{cwd:s,env:{...p,npm_config_cache:o(c,"packages",".npm")},stdio:["ignore","ignore","pipe"],...i?{signal:i}:{}});let h="";w.stderr.on("data",v=>{h=`${h}${v.toString()}`.slice(-1e3)}),w.on("error",m),w.on("close",v=>{v===0?f():m(new Error(npmProblem(h,v)))})})};export function createPackages(s={}){const c=s.env??process.env,i=s.home??W(c),n=s.pins??q,p=s.install??npmCi,l=o(i,"packages"),f=e=>{const r=o(n,e);let t,a;try{t=JSON.parse(b(o(r,"package.json"),"utf8")),a=b(o(r,"package-lock.json"),"utf8")}catch{throw new k("unknown-package",`AllyHub has no package "${e}".`)}const u=t.dependencies??{},d=u[e]??t.version;if(!d)throw new k("unknown-package",`The pin of "${e}" does not name it.`);return{version:d,holds:u,lock:T("sha256").update(a).digest("hex"),dir:r,size:t.allyhubSize??0}},m=(e,r)=>o(l,`${e}@${r.version}`),w=(e,r)=>{try{const t=JSON.parse(b(o(m(e,r),N),"utf8"));return t.version===r.version&&t.lock===r.lock}catch{return!1}},h=(e,r)=>({name:e,version:r.version,dir:m(e,r)}),v=async(e,r,t)=>{const a=m(e,r),u=`${a}.partial-${String(process.pid)}-${H(4).toString("hex")}`;await E(u,{recursive:!0});try{await R(o(r.dir,"package.json"),o(u,"package.json")),await R(o(r.dir,"package-lock.json"),o(u,"package-lock.json")),await p(u,{home:i,signal:t});for(const[d,j]of Object.entries(r.holds)){const O=JSON.parse(await C(o(u,"node_modules",d,"package.json"),"utf8"));if(O.version!==j)throw new Error(`it holds ${d} ${String(O.version)}, not ${j}`)}await V[e]?.(u),await L(o(u,N),`${JSON.stringify({version:r.version,lock:r.lock,at:new Date().toISOString()})}
4
- `),await g(a,{recursive:!0,force:!0}),await F(u,a),await P(e,r)}catch(d){throw await g(u,{recursive:!0,force:!0}),t?.aborted?new k("cancelled",`Stopped getting ${e}.`,{cause:d}):new k("install",`Could not get ${e} ${r.version} (${d instanceof Error?d.message:String(d)}). Check the connection and run it again.`,{cause:d})}},P=async(e,r)=>{const t=`${e}@${r.version}`;for(const a of await y(l))a.startsWith(`${e}@`)&&a!==t&&!a.startsWith(`${t}.`)&&await g(o(l,a),{recursive:!0,force:!0})},$=e=>{const r=f(e);return w(e,r)?h(e,r):void 0},S=(e,r)=>I(o(e,"package.json")).resolve(r),x=async(e,r={})=>{const t=f(e);return w(e,t)||(await E(l,{recursive:!0}).catch(a=>{throw new k("install",`Could not get ${e} ${t.version}: AllyHub cannot write to ${l}.`,{cause:a})}),await B(`${m(e,t)}.lock`,async()=>{w(e,t)||(r.onFetch?.(e),await v(e,t,r.signal))},{signal:r.signal})),h(e,t)};return{home:i,locate:$,ensure:x,size:e=>f(e).size,entry(e){const r=$(e);return r?S(r.dir,e):void 0},resolve(e,r){const t=$(e);return t?S(t.dir,r):void 0},async load(e,r){const{dir:t}=await x(e,r),a=S(t,r?.module??e);return await import(U(a).href)},async remove(e){await g(m(e,f(e)),{recursive:!0,force:!0})}}}
@@ -1,4 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{randomBytes as W}from"node:crypto";import{chmod as _,mkdir as R,readFile as T,rename as P,rm as k,writeFile as V}from"node:fs/promises";import{dirname as U,join as d}from"node:path";import{binsOf as A,filesFor as B,platformOf as Y}from"@allyhub-next/protocol";import{download as q,sha256Of as G}from"./download.js";import{RuntimeError as m}from"./errors.js";import{cacheHome as K}from"./home.js";import{withLock as Q}from"./lock.js";import{shippedManifest as X}from"./manifest.js";import{inside as C,native as Z,undmg as tt,untgz as et,unzip as rt}from"./unpack.js";const D=".allyhub-runtime.json";export const binVariable=i=>`ALLYHUB_${i.toUpperCase().replaceAll("-","_")}`;const x=i=>`${String(Math.max(1,Math.round(i/1e6)))} MB`;function nt(i,b,w,g){g(`Downloading ${i} ${b} (${x(w)}), once…`);let h=0;return u=>{const $=Math.floor(u/w*10)*10;$!==h&&(h=$,g(` ${String($)}% (${x(u)} of ${x(w)})`))}}export function createRuntimes(i={}){const b=i.log??(t=>{process.stderr.write(`${t}
3
- `)}),w=i.env??process.env,g=i.home??K(w),h=i.manifest??X(),u="platform"in i?i.platform:Y(process.platform,process.arch),$=i.fetch??globalThis.fetch,S=d(g,"runtimes"),z=t=>{const e=Object.hasOwn(h.runtimes,t)?h.runtimes[t]:void 0;if(!e)throw new m("unknown-runtime",`AllyHub has no runtime "${t}".`);return e},p=(t,e)=>d(S,`${t}@${e.version}`),O=(t,e)=>{const r=u?B(e,u):void 0;if(!r)throw new m("unsupported",`${t} ${e.version} has no build for ${u??`${process.platform}-${process.arch}`}.`);return r},F=(t,e,r)=>Object.fromEntries(Object.entries(A(O(t,e))).map(([n,s])=>[n,d(r,Z(s))])),E=(t,e)=>{const r=[...new Set(Object.values(e.platforms).flatMap(c=>Object.keys(A(c))))];if(r.length===0)return;const n=r.map(c=>[c,w[binVariable(c)]]);if(n.some(([,c])=>!c))return;const s=Object.fromEntries(n),a=n[0]?.[1]??"";return{name:t,version:void 0,dir:U(a),bins:s,from:"env"}},j=async(t,e)=>{try{const r=JSON.parse(await T(d(p(t,e),D),"utf8")),n=O(t,e).map(s=>s.sha256);return r.version===e.version&&JSON.stringify(r.files)===JSON.stringify(n)}catch{return!1}},M=async t=>{const e=z(t),r=E(t,e);if(r)return r;if(!await j(t,e))return;const n=p(t,e);return{name:t,version:e.version,dir:n,bins:F(t,e,n),from:"cache"}},H=async(t,e,r)=>{const n=O(t,e),s=p(t,e),a=`${s}.partial-${String(process.pid)}-${W(4).toString("hex")}`,c=d(a,".downloads");await R(c,{recursive:!0});const I=r.onProgress?void 0:nt(t,e.version,n.reduce((l,o)=>l+o.size,0),b);let N=0;try{for(const[l,o]of n.entries()){const v=d(c,String(l));if(await q(o.url,v,{size:o.size,sha256:o.sha256,fetch:$,signal:r.signal,onProgress:(f,y)=>{I?.(N+f),r.onProgress?.({runtime:t,url:o.url,received:f,total:y})}}),N+=o.size,o.unpack==="zip")await rt(v,a);else if(o.unpack==="tgz")await et(v,a);else if(o.unpack==="dmg")await tt(v,a);else{const f=C(a,o.name??st(o.url));if(!f)throw new m("unpack",`${o.url} would be kept outside its folder.`);await R(U(f),{recursive:!0}),await P(v,f),o.executable&&await _(f,493)}for(const f of o.check){const y=C(a,f.path),J=y?await G(y).catch(()=>"missing"):"missing";if(J!==f.sha256)throw new m("checksum",`${f.path} from ${o.url} has sha256 ${J}; its pin is ${f.sha256}.`)}}await k(c,{recursive:!0,force:!0}),await V(d(a,D),`${JSON.stringify({version:e.version,files:n.map(l=>l.sha256),at:new Date().toISOString()})}
4
- `),await k(s,{recursive:!0,force:!0}),await P(a,s)}catch(l){throw await k(a,{recursive:!0,force:!0}),l}},L=async(t,e={})=>{const r=z(t),n=await M(t);if(n)return n;O(t,r),await R(S,{recursive:!0}),await Q(`${p(t,r)}.lock`,async()=>{await j(t,r)||await H(t,r,e)},{signal:e.signal,onWait:()=>{b(`Waiting for ${t}, which another command is getting…`)}});const s=await M(t);if(!s)throw new m("download",`${t} was installed but cannot be found in ${S}.`);return s};return{home:g,platform:u,locate:M,ensure:L,async bin(t,e,r){const s=(await L(t,r)).bins[e];if(!s)throw new m("unknown-runtime",`${t} holds no program "${e}".`);return s},async remove(t){const e=z(t);await k(p(t,e),{recursive:!0,force:!0})},async status(){return Promise.all(Object.entries(h.runtimes).map(async([t,e])=>{const r=u?B(e,u):void 0,n=p(t,e),s=E(t,e)!==void 0?"env":r!==void 0&&await j(t,e)?"cache":void 0;return{name:t,about:e.about,version:e.version,license:e.license,available:r!==void 0,installed:s!==void 0,...s?{from:s}:{},size:(r??[]).reduce((a,c)=>a+c.size,0),dir:n}}))}}}const st=i=>decodeURIComponent(new URL(i).pathname.split("/").pop()??"file");
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{publicNames as n}from"@allyhub-next/formats";import{FUNCTIONS as h}from"../calc/functions/index.js";import{AreaChart as d,BarChart as p,DataLabelList as m,DoughnutChart as c,GraphicalProperties as w,Legend as f,LineChart as u,LineProperties as y,Marker as g,NumericAxis as b,PieChart as k,Reference as _,ScatterChart as x,Scaling as C,Series as A,TextAxis as S}from"./charts.js";import{AutoFilter as v,ConditionalFormattingList as D,DataValidation as P,DataValidationList as F,DifferentialStyle as L,Rule as T}from"./rules.js";import{Alignment as R,Border as I,Color as N,Font as E,PatternFill as V,Side as B}from"./styles.js";import{Cell as W,ColumnDimension as j,DefinedName as G,DefinedNameDict as H,RowDimension as M,Table as O,TableList as U,Workbook as z,Worksheet as q}from"./workbook.js";import{Comment as X,HeaderFooter as J,HeaderFooterPart as K,Image as Q,PageMargins as Y,PageSetup as Z,SheetProtection as $}from"./page.js";const a={Series:{title:"A series' name in words, openpyxl's SeriesFactory argument, kept here as a field."},Workbook:{open:"Workbook.open(dir): a workbook's folder read (load_workbook(dir) is the same).",block_cells:"How many typed cells together go in a CSV file of their own: 100 unless set.",title:"The workbook's title, sheet.yaml's.",check:"wb.check(): what allyhub check would say of the workbook as it stands: a list of { file, line, message }."},Cell:{computed:"What the cell computes to, the workbook as it stands, saved or not."},Table:{key:"The column that lines rows up when two hands' changes merge."},DataValidation:{multiple:"A list's cell may hold several of its values, joined by separator: an .xlsx keeps them as text.",separator:"What joins a cell's choices: a comma and a space unless set."},PageSetup:{fitToWidth:"Pages wide; setting it or fitToHeight fits the sheet, with no pageSetUpPr to set."},ColumnDimension:{files:"Its cells name files, from the sheet's folder: true, or { separator, height }."}},ee=["add_data","set_categories","append","title","legend","width","height","style","anchor","series","dataLabels","x_axis","y_axis"],te={BarChart:["type","grouping","overlap","gapWidth","varyColors"],LineChart:["grouping"],AreaChart:["grouping"],PieChart:["varyColors"],DoughnutChart:["holeSize"],ScatterChart:[]},oe={Workbook:z.prototype,Worksheet:q.prototype,Cell:W.prototype,Font:E.prototype,PatternFill:V.prototype,Border:I.prototype,Side:B.prototype,Alignment:R.prototype,Color:N.prototype,Table:O.prototype,TableList:U.prototype,DefinedName:G.prototype,DefinedNameDict:H.prototype,ColumnDimension:j.prototype,RowDimension:M.prototype,ConditionalFormattingList:D.prototype,Rule:T.prototype,DifferentialStyle:L.prototype,DataValidation:P.prototype,DataValidationList:F.prototype,AutoFilter:v.prototype,BarChart:p.prototype,LineChart:u.prototype,AreaChart:d.prototype,PieChart:k.prototype,DoughnutChart:c.prototype,ScatterChart:x.prototype,Reference:_.prototype,Series:A.prototype,Legend:f.prototype,Scaling:C.prototype,TextAxis:S.prototype,NumericAxis:b.prototype,DataLabelList:m.prototype,Marker:g.prototype,GraphicalProperties:w.prototype,LineProperties:y.prototype,PageSetup:Z.prototype,PageMargins:Y.prototype,_HeaderFooterItem:J.prototype,_HeaderFooterPart:K.prototype,SheetProtection:$.prototype,Comment:X.prototype,Image:Q.prototype},r=["title","scaling","majorUnit","number_format","delete","majorGridlines"],ae={_HeaderFooterItem:["left","center","right"],Comment:["text","author"],Image:["path","width","height","anchor"],Workbook:["worksheets","defined_names","data_only","path","title","block_cells"],Cell:["row","column"],Worksheet:["min_row","min_column"],Font:["name","size","bold","italic","underline","strike","color"],PatternFill:["fill_type","fgColor","bgColor"],Border:["left","right","top","bottom"],Side:["style","color"],Alignment:["horizontal","vertical","wrap_text","shrink_to_fit","indent","text_rotation"],Color:["rgb"],Table:["displayName","ref","key","autoFilter"],DefinedName:["name","attr_text"],ColumnDimension:["index"],RowDimension:["index"],Rule:["type","operator","formula","stopIfTrue","rank","percent","bottom","aboveAverage","equalAverage","text","dxf"],DifferentialStyle:["font","fill","border"],DataValidation:["type","formula1","formula2","operator","allow_blank","showDropDown","showErrorMessage","showInputMessage","errorStyle","errorTitle","error","promptTitle","prompt","sqref"],DataValidationList:["dataValidation"],AutoFilter:["ref"],...Object.fromEntries(Object.entries(te).map(([e,t])=>[e,[...ee.filter(o=>!(/^(?:Pie|Doughnut)/u.test(e)&&o.endsWith("_axis"))),...t]])),Reference:["worksheet","min_col","min_row","max_col","max_row"],Series:["val","xVal","title","smooth","marker","graphicalProperties"],Legend:["position"],Scaling:["min","max","orientation"],TextAxis:r.filter(e=>e!=="majorUnit"),NumericAxis:r,DataLabelList:["showVal","showPercent","showCatName","showSerName","dLblPos"],Marker:["symbol","size"],GraphicalProperties:["solidFill","noFill","line"],LineProperties:["width","solidFill","noFill"]};export const HELPERS=["CellIsRule","ColorScaleRule","DataBarRule","FormulaRule","IconSetRule","column_index_from_string","coordinate_to_tuple","get_column_letter","range_boundaries"];const re=()=>{const e={};for(const[t,o]of Object.entries(oe)){const i=a[t]??{};e[t]=[...n(o),...ae[t]??[]].filter(l=>!Object.hasOwn(i,l)).sort()}return e},s=e=>[...h.values()].filter(t=>t.from===e).map(t=>t.name).sort();export const CAPABILITIES={reference:{library:"openpyxl",version:"3.1.5",docs:"https://openpyxl.readthedocs.io/"},holds:re(),functions:HELPERS,differs:["A workbook is a folder, not a file: load_workbook(dir) reads sheet.yaml and its CSV files, wb.save(dir) writes them, and only what changed is written. This API does not read or write .xlsx: allyhub sheet import and allyhub render --type xlsx do.","A keyword argument of openpyxl's is a field of an object: new Font({ bold: true }), new Table({ displayName, ref }), new DefinedName(name, { attr_text }). Classes are made with new.","A name openpyxl has that is not held throws where it is used, naming what the class holds. ws['A1'], ws['A1:B2'], ws['A'], ws[1], wb['Sheet'], ws.tables['t'], wb.defined_names['n'], ws.column_dimensions['A'] and ws.row_dimensions[1] are held; in TypeScript ws['A1'] is typed as a Cell, so write ws['A1'].value = v (ws['A1'] = v works at run time), and wb.get_sheet_by_name(name) is typed where wb[name] is not.","Rows and columns count from 1, as openpyxl's. iter_rows, rows, columns and values give arrays, not generators.","A colour is #RRGGBB; RRGGBB and AARRGGBB are taken, the alpha left out. Theme colours are not held.","cell.value of a date is a Date (read in UTC), a formula's its text, and with load_workbook(dir, { data_only: true }) what it computes to, which openpyxl reads from a file's cache and this computes.","column_dimensions' width is Excel's unit and row_dimensions' height points, as openpyxl's; the file holds pixels.","ws.merged_cells is an array of each merged range's text.","A table's rows are its CSV file, so ws.add_table(new Table({ displayName, ref })) moves the cells of ref there; its header row names its columns. A column whose every row has one formula, moved, is written as a calculated column.","A run of cells with one formula, moved, is written as one range key, and at least wb.block_cells typed cells together in a CSV file of their own (a block).","ws.title = 'New' renames the sheet in every formula, which openpyxl leaves to you.","ws.insert_rows, delete_rows, insert_cols and delete_cols rewrite every formula of the workbook as Excel does (a reference moves, a range grows or shrinks, one to what went is #REF!), move tables, blocks, merges and looks, and take rows and columns in or out of a table's CSV file. openpyxl moves cells and leaves formulas as they were. A table's header row is not deleted unless all of the table is.","A string that reads as another value (=, 12%, 2026-01-01) stays text, as openpyxl's does: its cell is written with a leading ' unless it starts with =, which makes it a formula.","A DataValidation refuses what breaks it and shows its prompt unless showErrorMessage or showInputMessage is false, as Excel's dialog starts: openpyxl's leave both off. A list's cell keeps its blank unless allow_blank is false.","ws.auto_filter.ref and add_filter_column say what a filter keeps, and the rows it leaves out are worked out from that, never written: a file made by openpyxl hides nothing until Excel reapplies it. A table has its own, table.autoFilter. add_sort_condition is not held: sorting is the rows of the files in order.","A chart reads its cells live, whatever else is in the file: there is no cache to refresh. chart.add_data and set_categories, and Series, take a Reference or a formula's text for a table's column or a spill, as add_data('orders[total]', { title: 'Total' }) or set_categories('orders[month]'), since a Reference cannot name one.","Series is made with new Series(values, { xvalues, title, title_from_data }); openpyxl's is the SeriesFactory function.","A chart's width and height are centimetres, as openpyxl's; the file holds pixels, and anchor a cell: ws.add_chart(chart, 'E2').","A LineChart's grouping is standard; a stacked area is an AreaChart. Chart styles are kept but draw nothing, as sheet.yaml has no place for them: chart.style is only read.","ws._charts lists a sheet's charts, those read from sheet.yaml among them, as the classes above.","In a rule, a fill's bgColor paints, or its fgColor where it has none. A rule's font holds bold, italic, underline, strike and a colour; alignment and number formats in a rule are not held.","workbook((wb, { data }) => { … }), the default export of an item's sheet.ts, makes sheets with these classes, on a workbook of its own that starts with none. They are made again from the code wherever the workbook is read, never saved: wb.save throws there."],adds:a,formulas:{own:s("allyhub"),formulajs:s("formulajs")}};
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{strict as a}from"@allyhub-next/formats";import{cellName as S,rangeName as P,readAddress as L,readArea as N}from"../address.js";import{SHEET_CHART_DEFAULTS as w}from"../chart.js";import{sheetPrefix as z}from"../formula/print.js";import{HINT as o}from"./hint.js";import{colorText as E}from"./styles.js";const x=96/2.54,y=r=>Math.round(r*x),b=r=>Number((r/x).toFixed(3));function u(r,e,t){for(const s of Object.keys(e))if(!t.includes(s))throw new TypeError(`${r} takes ${t.join(", ")}; it has no ${s}. ${o}`)}export class Reference{worksheet;min_col;min_row;max_col;max_row;constructor(e,t){u("Reference",t,["min_col","min_row","max_col","max_row","range_string"]),this.worksheet=e;let s;if(t.range_string!==void 0){const c=t.range_string.lastIndexOf("!");if(s=N(t.range_string.slice(c+1).replaceAll("$","")),!s)throw new TypeError(`${t.range_string} is not a range. ${o}`)}return this.min_col=s?s.left+1:t.min_col??1,this.min_row=s?s.top+1:t.min_row??1,this.max_col=s?s.right+1:t.max_col??this.min_col,this.max_row=s?s.bottom+1:t.max_row??this.min_row,a(this,"Reference",o)}_text(e){const t={top:this.min_row-1,left:this.min_col-1,bottom:this.max_row-1,right:this.max_col-1},s=this.worksheet?.title;return`${s===void 0||s===e?"":z(s)}${P(t)}`}cols(){return Array.from({length:this.max_col-this.min_col+1},(e,t)=>new Reference(this.worksheet,{min_col:this.min_col+t,max_col:this.min_col+t,min_row:this.min_row,max_row:this.max_row}))}rows(){return Array.from({length:this.max_row-this.min_row+1},(e,t)=>new Reference(this.worksheet,{min_col:this.min_col,max_col:this.max_col,min_row:this.min_row+t,max_row:this.min_row+t}))}pop(){const e=new Reference(this.worksheet,{min_col:this.min_col,max_col:this.min_col,min_row:this.min_row,max_row:this.min_row});return this.min_row<this.max_row?this.min_row+=1:this.min_col+=1,e}}const g=(r,e)=>r===void 0?void 0:typeof r=="string"?r:r._text(e);export class LineProperties{width;solidFill;noFill;constructor(){return a(this,"LineProperties",o)}}export class GraphicalProperties{solidFill;noFill;line=new LineProperties;constructor(){return a(this,"GraphicalProperties",o)}}export class Marker{symbol;size;constructor(e={}){return u("Marker",e,["symbol","size"]),this.symbol=e.symbol,this.size=e.size,a(this,"Marker",o)}}export class Series{val;xVal;title;_titleRef;smooth;marker=new Marker;graphicalProperties=new GraphicalProperties;_format;constructor(e,t={}){if(u("Series",t,["xvalues","title","title_from_data"]),this.val=e,this.xVal=t.xvalues,this.title=t.title,t.title_from_data===!0){if(!(e instanceof Reference))throw new TypeError("title_from_data takes a Reference: a table's column names itself.");this._titleRef=e.pop()}return a(this,"Series",o)}}export class Legend{position="r";constructor(){return a(this,"Legend",o)}}export class Scaling{min;max;orientation="minMax";constructor(){return a(this,"Scaling",o)}}class k{title;scaling=new Scaling;majorUnit;number_format;delete;majorGridlines;_spec(){const e=this.scaling,t={...this.title===void 0?{}:{title:this.title},...e.min===void 0?{}:{min:e.min},...e.max===void 0?{}:{max:e.max},...this.majorUnit===void 0?{}:{major:this.majorUnit},...this.majorGridlines===null?{gridlines:!1}:{},...this.delete===!0?{visible:!1}:{},...this.number_format===void 0?{}:{format:this.number_format},...e.orientation==="maxMin"?{reverse:!0}:{}};return Object.keys(t).length===0?void 0:t}_hold(e){e&&(this.title=e.title,this.scaling.min=e.min,this.scaling.max=e.max,this.majorUnit=e.major,this.number_format=e.format,e.visible===!1&&(this.delete=!0),e.gridlines===!1&&(this.majorGridlines=null),e.reverse===!0&&(this.scaling.orientation="maxMin"))}}export class TextAxis extends k{constructor(){return super(),a(this,"TextAxis",o)}}export class NumericAxis extends k{constructor(){return super(),a(this,"NumericAxis",o)}}export class DataLabelList{showVal;showPercent;showCatName;showSerName;dLblPos;constructor(){return a(this,"DataLabelList",o)}}const A={r:"right",l:"left",t:"top",b:"bottom"},$={right:"r",left:"l",top:"t",bottom:"b"};export class ChartBase{title;legend=new Legend;width=15;height=7.5;style;anchor;series=[];dataLabels;x_axis=new TextAxis;y_axis=new NumericAxis;_labels;_held={};_plainSize;add_data(e,t={}){if(u("add_data",t,["titles_from_data","from_rows","title"]),typeof e=="string"){this.series.push(new Series(e,t.title===void 0?{}:{title:t.title}));return}for(const s of t.from_rows===!0?e.rows():e.cols())this.series.push(new Series(s,{title_from_data:t.titles_from_data===!0}))}set_categories(e){this._labels=e}append(e){this.series.push(e)}_spec(e){const t=this.dataLabels,s={category:this.x_axis._spec(),value:this.y_axis._spec()},c=this.series.map(l=>{const d=l.graphicalProperties,_=d.solidFill??d.line.solidFill,h=g(l._titleRef,e),f=g(l.xVal,e);return{values:g(l.val,e)??"",...f===void 0?{}:{x:f},...h!==void 0?{name:`=${h}`}:l.title===void 0?{}:{name:l.title},..._===void 0?{}:{color:E(_)},...l._format===void 0?{}:{format:l._format},...l.smooth===void 0?{}:{smooth:l.smooth},...d.line.width===void 0?{}:{line_width:d.line.width/12700},...l.marker.size===void 0?{}:{marker_size:l.marker.size}}}),m=g(this._labels,e),p=this.legend?A[this.legend.position]:void 0;return{...this._held,type:this._type(),at:this.anchor??"E15",...this.width===this._plainSize?.width?{}:{width:y(this.width)},...this.height===this._plainSize?.height?{}:{height:y(this.height)},...this.title===void 0?{}:{title:this.title},...m===void 0?{}:{categories:m},series:c,...p===void 0?{}:{legend:p},...t?{labels:{...t.showVal===void 0?{}:{value:t.showVal},...t.showPercent===void 0?{}:{percentage:t.showPercent},...t.showCatName===void 0?{}:{category:t.showCatName},...t.showSerName===void 0?{}:{series:t.showSerName},...t.dLblPos===void 0?{}:{position:t.dLblPos}}}:{},...s.value?{value_axis:s.value}:{},...s.category?{category_axis:s.category}:{}}}}export class BarChart extends ChartBase{type="col";grouping="clustered";overlap;gapWidth;varyColors;constructor(e={}){return super(),u("BarChart",e,["type","grouping"]),e.type&&(this.type=e.type),e.grouping&&(this.grouping=e.grouping),a(this,"BarChart",o)}_type(){const e=this.type==="bar"?"bar":"column";return this.grouping==="stacked"?`${e}-stacked`:this.grouping==="percentStacked"?`${e}-stacked-100`:`${e}-clustered`}_spec(e){return{...super._spec(e),...this.overlap===void 0?{}:{overlap:this.overlap},...this.gapWidth===void 0?{}:{gap_width:this.gapWidth},...this.varyColors===void 0?{}:{vary_by_categories:this.varyColors}}}}export class LineChart extends ChartBase{grouping="standard";constructor(){return super(),a(this,"LineChart",o)}_type(){if(this.grouping!=="standard")throw new TypeError(`A line chart here is standard, not ${this.grouping}: an AreaChart stacks. ${o}`);return this.series.some(e=>e.marker.symbol!==void 0&&e.marker.symbol!=="none")?"line-markers":"line"}}export class AreaChart extends ChartBase{grouping="standard";constructor(e={}){return super(),u("AreaChart",e,["grouping"]),e.grouping&&(this.grouping=e.grouping),a(this,"AreaChart",o)}_type(){return this.grouping==="stacked"?"area-stacked":this.grouping==="percentStacked"?"area-stacked-100":"area"}}export class PieChart extends ChartBase{varyColors=!0;constructor(){return super(),a(this,"PieChart",o)}_type(){return"pie"}_spec(e){return{...super._spec(e),...this.varyColors?{}:{vary_by_categories:!1}}}}export class DoughnutChart extends ChartBase{holeSize=50;constructor(){return super(),a(this,"DoughnutChart",o)}_type(){return"doughnut"}_spec(e){return{...super._spec(e),...this.holeSize===50?{}:{hole_size:this.holeSize}}}}export class ScatterChart extends ChartBase{x_axis=new NumericAxis;constructor(){return super(),a(this,"ScatterChart",o)}_type(){return this.series.some(e=>e.smooth===!0)?"scatter-smooth":this.series.every(e=>e.graphicalProperties.line.noFill===!0)?"scatter":"scatter-lines"}_spec(e){const t=super._spec(e);return t.type==="scatter-smooth"?{...t,series:t.series.map(s=>Object.fromEntries(Object.entries(s).filter(([c])=>c!=="smooth")))}:t}}const j=new Set(["type","at","width","height","title","categories","series","legend","labels","value_axis","category_axis","overlap","gap_width","vary_by_categories","hole_size"]);export function chartOfSpec(r){const t=(()=>{const i=r.type;if(i.startsWith("column")||i.startsWith("bar")){const n=new BarChart({type:i.startsWith("bar")?"bar":"col",grouping:i.endsWith("-100")?"percentStacked":i.endsWith("-stacked")?"stacked":"clustered"});return n.overlap=r.overlap,n.gapWidth=r.gap_width,n.varyColors=r.vary_by_categories,n}if(i==="line"||i==="line-markers")return new LineChart;if(i.startsWith("area"))return new AreaChart({grouping:i.endsWith("-100")?"percentStacked":i.endsWith("-stacked")?"stacked":"standard"});if(i==="pie"){const n=new PieChart;return r.vary_by_categories===!1&&(n.varyColors=!1),n}if(i==="doughnut"){const n=new DoughnutChart;return r.hole_size!==void 0&&(n.holeSize=r.hole_size),n}return new ScatterChart})(),{at:s,width:c,height:m,title:p,categories:l,series:d,legend:_,labels:h,value_axis:f,category_axis:v}=r,C=Object.fromEntries(Object.entries(r).filter(([i])=>!j.has(i)));if(t._held=C,t.anchor=s,t.width=b(c??w.width),t.height=b(m??w.height),t._plainSize={width:c===void 0?t.width:Number.NaN,height:m===void 0?t.height:Number.NaN},t.title=p,t._labels=l,_===void 0)t.legend=null;else{const i=new Legend;i.position=$[_],t.legend=i}if(h!==void 0&&h!==!1){const i=new DataLabelList;h===!0?i.showVal=!0:(i.showVal=h.value,i.showPercent=h.percentage,i.showCatName=h.category,i.showSerName=h.series,i.dLblPos=h.position),t.dataLabels=i}return t.x_axis._hold(v),t.y_axis._hold(f),t.series=d.map(i=>{const n=new Series(i.values,{...i.x===void 0?{}:{xvalues:i.x}});return i.name?.startsWith("=")===!0?n._titleRef=i.name.slice(1):n.title=i.name,i.color!==void 0&&(n.graphicalProperties.solidFill=i.color),i.line_width!==void 0&&(n.graphicalProperties.line.width=i.line_width*12700),n.smooth=r.type==="scatter-smooth"?!0:i.smooth,n.marker.size=i.marker_size,n._format=i.format,(r.type==="line-markers"||r.type==="scatter")&&(n.marker.symbol="circle"),r.type==="scatter"&&(n.graphicalProperties.line.noFill=!0),n}),t}export function anchorOf(r){if(r===void 0)return;const e=L(r);if(!e)throw new TypeError(`${r} is not a cell. ${o}`);return S(e)}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{SHEET_PAPERS as h,strict as s}from"@allyhub-next/formats";import{HINT as r}from"./hint.js";export class PageSetup{ws;constructor(t){return this.ws=t,s(this,"PageSetup",r)}get orientation(){return this.ws._print.orientation}set orientation(t){t===void 0?delete this.ws._print.orientation:this.ws._print.orientation=t,this.ws._changed()}get paperSize(){const{paper:t}=this.ws._print;return t===void 0?void 0:h[t]}set paperSize(t){const e=Object.keys(h).find(i=>i===t||String(h[i])===String(t));if(t===void 0)delete this.ws._print.paper;else if(e)this.ws._print.paper=e;else throw new RangeError(`Paper is one of ${Object.keys(h).join(", ")}, not ${String(t)}.`);this.ws._changed()}get fitToWidth(){return this.ws._print.fit?.width}set fitToWidth(t){this._fit("width",t)}get fitToHeight(){return this.ws._print.fit?.height}set fitToHeight(t){this._fit("height",t)}_fit(t,e){const i={...this.ws._print.fit};e===void 0?Reflect.deleteProperty(i,t):i[t]=e,Object.keys(i).length===0?delete this.ws._print.fit:this.ws._print.fit=i,this.ws._changed()}}export class PageMargins{ws;constructor(t){return this.ws=t,s(this,"PageMargins",r)}_set(t,e){const i={...this.ws._print.margins};e===void 0?Reflect.deleteProperty(i,t):i[t]=e,this.ws._print.margins=i,this.ws._changed()}get left(){return this.ws._print.margins?.left}set left(t){this._set("left",t)}get right(){return this.ws._print.margins?.right}set right(t){this._set("right",t)}get top(){return this.ws._print.margins?.top}set top(t){this._set("top",t)}get bottom(){return this.ws._print.margins?.bottom}set bottom(t){this._set("bottom",t)}get header(){return this.ws._print.margins?.header}set header(t){this._set("header",t)}get footer(){return this.ws._print.margins?.footer}set footer(t){this._set("footer",t)}}export class HeaderFooterPart{ws;kind;side;constructor(t,e,i){return this.ws=t,this.kind=e,this.side=i,s(this,"_HeaderFooterPart",r)}get text(){return this.ws._print[this.kind]?.[this.side]}set text(t){const e={...this.ws._print[this.kind]};t===void 0?Reflect.deleteProperty(e,this.side):e[this.side]=t,this.ws._print[this.kind]=e,this.ws._changed()}}export class HeaderFooter{left;center;right;constructor(t,e){return this.left=new HeaderFooterPart(t,e,"left"),this.center=new HeaderFooterPart(t,e,"center"),this.right=new HeaderFooterPart(t,e,"right"),s(this,"_HeaderFooterItem",r)}}export class SheetProtection{read;write;constructor(t,e){return this.read=t,this.write=e,s(this,"SheetProtection",r)}get sheet(){return this.read()}set sheet(t){this.write(t)}enable(){this.write(!0)}disable(){this.write(!1)}}export class Comment{text;author;constructor(t,e){return this.text=t,this.author=e,s(this,"Comment",r)}_file(){return this.author===void 0?this.text:{text:this.text,author:this.author}}}export class Image{path;width;height;anchor;constructor(t){return this.path=t,this.width=void 0,this.height=void 0,this.anchor=void 0,s(this,"Image",r)}}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{SHEET_ICONS as h,SHEET_OPERATORS as m,SHEET_VALIDATIONS as w,strict as u}from"@allyhub-next/formats";import{readArea as b,readAreas as T}from"../address.js";import{HINT as s}from"./hint.js";import{borderLook as _,colorText as d}from"./styles.js";function i(e,r,t){for(const o of Object.keys(r))if(!t.includes(o))throw new TypeError(`${e} takes ${t.join(", ")}; it has no ${o}. ${s}`)}function c(e){if(typeof e=="number")return e;const r=e.trim(),t=Number(r);if(r!==""&&!Number.isNaN(t))return t;const o=/^"((?:[^"]|"")*)"$/u.exec(r);return o?(o[1]??"").replaceAll('""','"'):r.startsWith("=")?r:`=${r}`}function y(e){if(e!==void 0)return typeof e=="number"?String(e):e.startsWith("=")?e.slice(1):`"${e.replaceAll('"','""')}"`}export class DifferentialStyle{font;fill;border;constructor(r={}){return i("DifferentialStyle",r,["font","fill","border"]),this.font=r.font,this.fill=r.fill,this.border=r.border,u(this,"DifferentialStyle",s)}}const x=e=>e?.bgColor?.rgb??e?.fgColor?.rgb;function k(e){const r={},{font:t,fill:o,border:a}=e??{};t?.bold===!0&&(r.bold=!0),t?.italic===!0&&(r.italic=!0),t?.strike===!0&&(r.strike=!0),t?.underline!==void 0&&(r.underline=!0),t?.color&&(r.color=t.color.rgb);const n=x(o);if(n!==void 0&&(r.fill=n),a){const{border:l}=_(a);l&&Object.keys(l).length>0&&(r.border=l)}return r}const I={">":"greaterThan",">=":"greaterThanOrEqual","<":"lessThan","<=":"lessThanOrEqual","=":"equal","==":"equal","!=":"notEqual"};export class Rule{type;operator;formula;stopIfTrue;rank;percent;bottom;aboveAverage;equalAverage;text;dxf;_spec;constructor(r,t){return i("Rule",r,["type","operator","formula","stopIfTrue","rank","percent","bottom","aboveAverage","equalAverage","text","dxf"]),this.type=r.type,this.operator=r.operator,this.formula=r.formula??[],this.stopIfTrue=r.stopIfTrue??!1,this.rank=r.rank,this.percent=r.percent??!1,this.bottom=r.bottom??!1,this.aboveAverage=r.aboveAverage??!0,this.equalAverage=r.equalAverage??!1,this.text=r.text,this.dxf=r.dxf,this._spec=t??S(r),u(this,"Rule",s)}}function S(e){const r=k(e.dxf),t=e.stopIfTrue===!0?{stop:!0}:{};switch(e.type){case"cellIs":{const o=I[e.operator??""]??e.operator;if(!m.includes(o))throw new TypeError(`${String(e.operator)} is not an operator: ${m.join(", ")}.`);return{type:"cellIs",operator:o,formula:(e.formula??[]).map(c),...r,...t}}case"expression":{const[o]=e.formula??[];if(o===void 0)throw new TypeError("An expression rule has a formula.");const a=String(o);return{type:"expression",formula:a.startsWith("=")?a:`=${a}`,...r,...t}}case"containsText":{if(e.text===void 0)throw new TypeError("A containsText rule has a text.");const o=e.operator===void 0||e.operator==="containsText"?{}:{operator:e.operator};return{type:"containsText",text:e.text,...o,...r,...t}}case"duplicateValues":case"uniqueValues":return{type:e.type,...r,...t};case"top10":return{type:"top10",rank:e.rank??10,...e.percent===!0?{percent:!0}:{},...e.bottom===!0?{bottom:!0}:{},...r,...t};case"aboveAverage":return{type:"aboveAverage",...e.aboveAverage===!1?{below:!0}:{},...e.equalAverage===!0?{equal:!0}:{},...r,...t};default:throw new TypeError(`A rule of type ${e.type} is made by ColorScaleRule, DataBarRule or IconSetRule.`)}}export function CellIsRule(e){return i("CellIsRule",e,["operator","formula","stopIfTrue","font","fill","border"]),new Rule({type:"cellIs",operator:e.operator,formula:e.formula,...e.stopIfTrue===void 0?{}:{stopIfTrue:e.stopIfTrue},dxf:new DifferentialStyle({...e.font?{font:e.font}:{},...e.fill?{fill:e.fill}:{},...e.border?{border:e.border}:{}})})}export function FormulaRule(e){return i("FormulaRule",e,["formula","stopIfTrue","font","fill","border"]),new Rule({type:"expression",formula:e.formula,...e.stopIfTrue===void 0?{}:{stopIfTrue:e.stopIfTrue},dxf:new DifferentialStyle({...e.font?{font:e.font}:{},...e.fill?{fill:e.fill}:{},...e.border?{border:e.border}:{}})})}function f(e,r,t){const o=e??t;return r===void 0?{at:o}:{at:o,value:c(r)}}export function ColorScaleRule(e){i("ColorScaleRule",e,["start_type","start_value","start_color","mid_type","mid_value","mid_color","end_type","end_value","end_color"]);const r=[{...f(e.start_type,e.start_value,"min"),color:d(e.start_color)},...e.mid_color===void 0?[]:[{...f(e.mid_type,e.mid_value,"percentile"),color:d(e.mid_color)}],{...f(e.end_type,e.end_value,"max"),color:d(e.end_color)}];return new Rule({type:"colorScale"},{type:"colorScale",stops:r})}export function DataBarRule(e){i("DataBarRule",e,["start_type","start_value","end_type","end_value","color","showValue"]);const r=f(e.start_type,e.start_value,"min"),t=f(e.end_type,e.end_value,"max");return new Rule({type:"dataBar"},{type:"dataBar",color:d(e.color),...r.at==="min"?{}:{min:r},...t.at==="max"?{}:{max:t},...e.showValue===!1?{show:!1}:{}})}export function IconSetRule(e,r,t,o,a,n){if(!h.includes(e))throw new TypeError(`${e} is not an icon set: ${h.join(", ")}.`);return new Rule({type:"iconSet"},{type:"iconSet",icons:e,stops:t.map(l=>f(r,l,"percent")),...o===!1?{show:!1}:{},...n===!0?{reverse:!0}:{}})}export class ConditionalFormattingList{_rules;touched;constructor(r,t){return this._rules=r,this.touched=t,u(this,"ConditionalFormattingList",s)}add(r,t){if(!T(r))throw new TypeError(`${r} is not a range.`);this._rules.push({...t._spec,range:r}),this.touched()}get max_priority(){return this._rules.length}}export class DataValidation{type;formula1;formula2;operator;allow_blank;showDropDown;showErrorMessage;showInputMessage;errorStyle;errorTitle;error;promptTitle;prompt;sqref;multiple;separator;constructor(r={}){i("DataValidation",r,["type","formula1","formula2","operator","allow_blank","allowBlank","showDropDown","showErrorMessage","showInputMessage","errorStyle","errorTitle","error","promptTitle","prompt","sqref","multiple","separator"]);const t=r.type??"custom";if(!w.includes(t))throw new TypeError(`${t} is not a validation: ${w.join(", ")}.`);return this.type=t,this.formula1=r.formula1,this.formula2=r.formula2,this.operator=r.operator,this.allow_blank=r.allow_blank??r.allowBlank,this.showDropDown=r.showDropDown??!1,this.showErrorMessage=r.showErrorMessage??!0,this.showInputMessage=r.showInputMessage??!0,this.errorStyle=r.errorStyle,this.errorTitle=r.errorTitle,this.error=r.error,this.promptTitle=r.promptTitle,this.prompt=r.prompt,this.sqref=r.sqref??"",this.multiple=r.multiple??!1,this.separator=r.separator,u(this,"DataValidation",s)}get allowBlank(){return this.allow_blank}get hide_drop_down(){return this.showDropDown}get validation_type(){return this.type}add(r){const t=typeof r=="string"?r:r.coordinate;if(!b(t))throw new TypeError(`${t} is not a range.`);this.sqref=this.sqref===""?t:`${this.sqref} ${t}`}}export function validationSpec(e){const r=e.formula1,t=e.type==="list"&&typeof r=="string"?/^"((?:[^"]|"")*)"$/u.exec(r.trim()):null,o=[r,e.formula2].flatMap(p=>p===void 0?[]:[c(p)]),a=p=>Object.fromEntries(Object.entries(p).filter(([,g])=>g!==void 0)),n=a({title:e.promptTitle,message:e.prompt,show:e.showInputMessage?void 0:!1}),l=a({style:e.errorStyle,title:e.errorTitle,message:e.error,show:e.showErrorMessage?void 0:!1});return{range:e.sqref,type:e.type,...e.operator===void 0?{}:{operator:e.operator},...t?{values:(t[1]??"").split(",")}:o.length>0?{formula:o}:{},...e.multiple?{multiple:!0}:{},...e.separator===void 0?{}:{separator:e.separator},...e.allow_blank===!1?{blank:!1}:{},...e.showDropDown?{dropdown:!1}:{},...Object.keys(n).length>0?{prompt:n}:{},...Object.keys(l).length>0?{error:l}:{}}}export function validationOf(e){const[r,t]=e.formula??[],o=e.values?`"${e.values.join(",")}"`:y(r),a={type:e.type,sqref:e.range,showDropDown:e.dropdown===!1,showErrorMessage:e.error?.show!==!1,showInputMessage:e.prompt?.show!==!1};o!==void 0&&(a.formula1=o);const n=y(t);return n!==void 0&&(a.formula2=n),e.operator!==void 0&&(a.operator=e.operator),e.blank===!1&&(a.allow_blank=!1),e.error?.style!==void 0&&(a.errorStyle=e.error.style),e.error?.title!==void 0&&(a.errorTitle=e.error.title),e.error?.message!==void 0&&(a.error=e.error.message),e.prompt?.title!==void 0&&(a.promptTitle=e.prompt.title),e.prompt?.message!==void 0&&(a.prompt=e.prompt.message),e.multiple===!0&&(a.multiple=!0),e.separator!==void 0&&(a.separator=e.separator),new DataValidation(a)}export class DataValidationList{dataValidation;touched;constructor(r,t){return this.dataValidation=r,this.touched=t,u(this,"DataValidationList",s)}append(r){this.dataValidation.push(r),this.touched()}get count(){return this.dataValidation.length}}export class AutoFilter{ref;_columns=new Map;touched;constructor(r,t){return this.ref=r,this.touched=t,u(this,"AutoFilter",s)}add_filter_column(r,t,o=!1){this._columns.set(r,{...t.length===0?{}:{values:[...t]},...o?{blanks:!0}:{}}),this.touched()}}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{SHEET_ALIGNS as f,SHEET_BORDERS as u,SHEET_PATTERNS as h,SHEET_VALIGNS as p,strict as l}from"@allyhub-next/formats";import{HINT as i}from"./hint.js";function s(t,e,n){for(const r of Object.keys(e))if(!n.includes(r))throw new TypeError(`${t} takes ${n.join(", ")}; it has no ${r}. ${i}`)}export function colorText(t){if(t instanceof Color)return t.rgb;const e=t.replace(/^#/u,"");if(!/^(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/u.test(e))throw new TypeError(`${t} is not a colour: RRGGBB or AARRGGBB.`);return`#${e.slice(-6).toUpperCase()}`}export class Color{rgb;constructor(e){return this.rgb=colorText(typeof e=="string"?e:e.rgb),l(this,"Color",i)}}const d=t=>t===void 0?void 0:new Color(colorText(t));export class Font{name;size;bold;italic;underline;strike;color;constructor(e={}){return s("Font",e,["name","size","sz","bold","b","italic","i","underline","u","strike","color"]),this.name=e.name,this.size=e.size??e.sz,this.bold=e.bold??e.b??!1,this.italic=e.italic??e.i??!1,this.underline=e.underline??e.u,this.strike=e.strike??!1,this.color=d(e.color),l(this,"Font",i)}get b(){return this.bold}get i(){return this.italic}get sz(){return this.size}get u(){return this.underline}}export class PatternFill{fill_type;fgColor;bgColor;constructor(e={},n={}){const r=typeof e=="string"?{...n,fill_type:e}:e;s("PatternFill",r,["fill_type","patternType","fgColor","bgColor","start_color","end_color"]);const o=r.fill_type??r.patternType;if(o!==void 0&&!h.includes(o))throw new TypeError(`${o} is not a fill: ${h.join(", ")}.`);return this.fill_type=o,this.fgColor=d(r.fgColor??r.start_color),this.bgColor=d(r.bgColor??r.end_color),l(this,"PatternFill",i)}get patternType(){return this.fill_type}get start_color(){return this.fgColor}get end_color(){return this.bgColor}}export class Side{style;color;constructor(e={}){s("Side",e,["style","border_style","color"]);const n=e.style??e.border_style;if(n!==void 0&&!u.includes(n))throw new TypeError(`${n} is not a border: ${u.join(", ")}.`);return this.style=n,this.color=d(e.color),l(this,"Side",i)}get border_style(){return this.style}}export class Border{left;right;top;bottom;constructor(e={}){return s("Border",e,["left","right","top","bottom"]),this.left=e.left??new Side,this.right=e.right??new Side,this.top=e.top??new Side,this.bottom=e.bottom??new Side,l(this,"Border",i)}}export class Alignment{horizontal;vertical;wrap_text;shrink_to_fit;indent;text_rotation;constructor(e={}){if(s("Alignment",e,["horizontal","vertical","wrap_text","wrapText","shrink_to_fit","shrinkToFit","indent","text_rotation","textRotation"]),e.horizontal!==void 0&&!f.includes(e.horizontal))throw new TypeError(`${e.horizontal} is not an alignment: ${f.join(", ")}.`);if(e.vertical!==void 0&&!p.includes(e.vertical))throw new TypeError(`${e.vertical} is not an alignment: ${p.join(", ")}.`);return this.horizontal=e.horizontal,this.vertical=e.vertical,this.wrap_text=e.wrap_text??e.wrapText,this.shrink_to_fit=e.shrink_to_fit??e.shrinkToFit,this.indent=e.indent??0,this.text_rotation=e.text_rotation??e.textRotation??0,l(this,"Alignment",i)}get wrapText(){return this.wrap_text}get shrinkToFit(){return this.shrink_to_fit}get textRotation(){return this.text_rotation}}const c=t=>t.style===void 0?void 0:{style:t.style,...t.color?{color:t.color.rgb}:{}};export const fontLook=t=>({bold:t.bold,italic:t.italic,strike:t.strike,underline:t.underline??!1,...t.name===void 0?{}:{font:t.name},...t.size===void 0?{}:{size:t.size},...t.color?{color:t.color.rgb}:{}});export function fillLook(t){return t.fill_type===void 0?{}:t.fill_type==="solid"&&!t.bgColor&&t.fgColor?{fill:t.fgColor.rgb}:{fill:{pattern:t.fill_type,...t.fgColor?{color:t.fgColor.rgb}:{},...t.bgColor?{background:t.bgColor.rgb}:{}}}}export function borderLook(t){const e=c(t.left),n=c(t.right),r=c(t.top),o=c(t.bottom);return{border:{...e?{left:e}:{},...n?{right:n}:{},...r?{top:r}:{},...o?{bottom:o}:{}}}}export const alignmentLook=t=>({...t.horizontal===void 0?{}:{align:t.horizontal},...t.vertical===void 0?{}:{valign:t.vertical},...t.wrap_text===void 0?{}:{wrap:t.wrap_text},...t.shrink_to_fit===void 0?{}:{shrink:t.shrink_to_fit},...t.indent===0?{}:{indent:t.indent},...t.text_rotation===0?{}:{rotation:t.text_rotation}}),fontOf=t=>new Font({...t.font===void 0?{}:{name:t.font},...t.size===void 0?{}:{size:t.size},bold:t.bold??!1,italic:t.italic??!1,strike:t.strike??!1,...typeof t.underline=="string"?{underline:t.underline}:t.underline===!0?{underline:"single"}:{},...t.color===void 0?{}:{color:t.color}});export function fillOf(t){const{fill:e}=t;return e===void 0?new PatternFill:typeof e=="string"?new PatternFill({fill_type:"solid",fgColor:e}):new PatternFill({fill_type:e.pattern,...e.color===void 0?{}:{fgColor:e.color},...e.background===void 0?{}:{bgColor:e.background}})}const a=t=>t===void 0?new Side:new Side({style:t.style,...t.color===void 0?{}:{color:t.color}});export const borderOf=t=>new Border({left:a(t.border?.left),right:a(t.border?.right),top:a(t.border?.top),bottom:a(t.border?.bottom)}),alignmentOf=t=>new Alignment({...t.align===void 0?{}:{horizontal:t.align},...t.valign===void 0?{}:{vertical:t.valign},...t.wrap===void 0?{}:{wrap_text:t.wrap},...t.shrink===void 0?{}:{shrink_to_fit:t.shrink},...t.indent===void 0?{}:{indent:t.indent},...t.rotation===void 0?{}:{text_rotation:t.rotation}});