@allyhub/sdk 0.4.0 → 0.5.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 (549) hide show
  1. package/{node_modules → dist/node_modules}/@allyhub-next/audio/package.json +1 -1
  2. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +31 -0
  3. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +3 -0
  4. package/{node_modules/@allyhub-next/slides-core → dist/node_modules/@allyhub-next/chart}/dist/chart.d.ts +26 -15
  5. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +2 -0
  6. package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +3 -0
  7. package/dist/node_modules/@allyhub-next/chart/dist/index.js +2 -0
  8. package/dist/node_modules/@allyhub-next/chart/package.json +14 -0
  9. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/reference.d.ts +0 -86
  10. package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +2 -0
  11. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +4908 -0
  12. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +2 -0
  13. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/slides.d.ts +3 -0
  14. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +2 -0
  15. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/index.d.ts +1 -0
  16. package/dist/node_modules/@allyhub-next/formats/dist/index.js +2 -0
  17. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/items.d.ts +1 -1
  18. package/dist/node_modules/@allyhub-next/formats/dist/items.js +2 -0
  19. package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +2146 -0
  20. package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +2 -0
  21. package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +28 -0
  22. package/dist/node_modules/@allyhub-next/formats/dist/strict.js +2 -0
  23. package/{node_modules → dist/node_modules}/@allyhub-next/formats/package.json +1 -1
  24. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.d.ts +10 -0
  25. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.js +1 -1
  26. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/notes.d.ts +2 -0
  27. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +2 -0
  28. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/tools.d.ts +6 -0
  29. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +2 -0
  30. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/package.json +1 -1
  31. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/lock.d.ts +2 -0
  32. package/dist/node_modules/@allyhub-next/runtimes/dist/lock.js +2 -0
  33. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/runtimes.d.ts +6 -0
  34. package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +4 -0
  35. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/package.json +1 -1
  36. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.d.ts +7 -0
  37. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/phone.d.ts +3 -1
  38. package/dist/node_modules/@allyhub-next/scenery/dist/phone.js +2 -0
  39. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/package.json +1 -1
  40. package/dist/node_modules/@allyhub-next/sheet/dist/address.d.ts +32 -0
  41. package/dist/node_modules/@allyhub-next/sheet/dist/address.js +2 -0
  42. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.d.ts +23 -0
  43. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +2 -0
  44. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +204 -0
  45. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +2 -0
  46. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +19 -0
  47. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +2 -0
  48. package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.d.ts +3 -0
  49. package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.js +2 -0
  50. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.d.ts +7 -0
  51. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.js +2 -0
  52. package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.d.ts +4 -0
  53. package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.js +2 -0
  54. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +170 -0
  55. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +2 -0
  56. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +117 -0
  57. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +2 -0
  58. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +323 -0
  59. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +2 -0
  60. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +68 -0
  61. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.js +2 -0
  62. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +21 -0
  63. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +2 -0
  64. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +19 -0
  65. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +2 -0
  66. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +152 -0
  67. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +2 -0
  68. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.d.ts +2 -0
  69. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +2 -0
  70. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.d.ts +15 -0
  71. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +2 -0
  72. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.d.ts +2 -0
  73. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +2 -0
  74. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.d.ts +2 -0
  75. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +2 -0
  76. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +69 -0
  77. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +2 -0
  78. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.d.ts +2 -0
  79. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.js +2 -0
  80. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +2 -0
  81. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +2 -0
  82. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.d.ts +2 -0
  83. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +2 -0
  84. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +15 -0
  85. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +2 -0
  86. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.d.ts +2 -0
  87. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +2 -0
  88. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.d.ts +2 -0
  89. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +2 -0
  90. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.d.ts +2 -0
  91. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +2 -0
  92. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.d.ts +2 -0
  93. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +2 -0
  94. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.d.ts +2 -0
  95. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +2 -0
  96. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.d.ts +29 -0
  97. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.js +2 -0
  98. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.d.ts +2 -0
  99. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +2 -0
  100. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +50 -0
  101. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +2 -0
  102. package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +58 -0
  103. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +2 -0
  104. package/dist/node_modules/@allyhub-next/sheet/dist/check.d.ts +15 -0
  105. package/dist/node_modules/@allyhub-next/sheet/dist/check.js +2 -0
  106. package/dist/node_modules/@allyhub-next/sheet/dist/csv.d.ts +62 -0
  107. package/dist/node_modules/@allyhub-next/sheet/dist/csv.js +12 -0
  108. package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +64 -0
  109. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +2 -0
  110. package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +154 -0
  111. package/dist/node_modules/@allyhub-next/sheet/dist/edit.js +2 -0
  112. package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +11 -0
  113. package/dist/node_modules/@allyhub-next/sheet/dist/export.js +6 -0
  114. package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +19 -0
  115. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +3 -0
  116. package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +24 -0
  117. package/dist/node_modules/@allyhub-next/sheet/dist/files.js +2 -0
  118. package/dist/node_modules/@allyhub-next/sheet/dist/fill.d.ts +30 -0
  119. package/dist/node_modules/@allyhub-next/sheet/dist/fill.js +2 -0
  120. package/dist/node_modules/@allyhub-next/sheet/dist/filter.d.ts +29 -0
  121. package/dist/node_modules/@allyhub-next/sheet/dist/filter.js +2 -0
  122. package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +9 -0
  123. package/dist/node_modules/@allyhub-next/sheet/dist/format.js +2 -0
  124. package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.d.ts +113 -0
  125. package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.js +2 -0
  126. package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.d.ts +6 -0
  127. package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.js +2 -0
  128. package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.d.ts +4 -0
  129. package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.js +2 -0
  130. package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.d.ts +6 -0
  131. package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.js +2 -0
  132. package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.d.ts +65 -0
  133. package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.js +2 -0
  134. package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.d.ts +6 -0
  135. package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.js +2 -0
  136. package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +46 -0
  137. package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +2 -0
  138. package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +34 -0
  139. package/dist/node_modules/@allyhub-next/sheet/dist/html.js +20 -0
  140. package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +11 -0
  141. package/dist/node_modules/@allyhub-next/sheet/dist/import.js +2 -0
  142. package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +38 -0
  143. package/dist/node_modules/@allyhub-next/sheet/dist/index.js +2 -0
  144. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +25 -0
  145. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +2 -0
  146. package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +4 -0
  147. package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +2 -0
  148. package/dist/node_modules/@allyhub-next/sheet/dist/profile.d.ts +30 -0
  149. package/dist/node_modules/@allyhub-next/sheet/dist/profile.js +2 -0
  150. package/dist/node_modules/@allyhub-next/sheet/dist/rules.d.ts +56 -0
  151. package/dist/node_modules/@allyhub-next/sheet/dist/rules.js +2 -0
  152. package/dist/node_modules/@allyhub-next/sheet/dist/scenario.d.ts +42 -0
  153. package/dist/node_modules/@allyhub-next/sheet/dist/scenario.js +2 -0
  154. package/dist/node_modules/@allyhub-next/sheet/dist/series.d.ts +10 -0
  155. package/dist/node_modules/@allyhub-next/sheet/dist/series.js +2 -0
  156. package/dist/node_modules/@allyhub-next/sheet/dist/sort.d.ts +24 -0
  157. package/dist/node_modules/@allyhub-next/sheet/dist/sort.js +2 -0
  158. package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +38 -0
  159. package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +2 -0
  160. package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +26 -0
  161. package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +2 -0
  162. package/dist/node_modules/@allyhub-next/sheet/dist/values.d.ts +67 -0
  163. package/dist/node_modules/@allyhub-next/sheet/dist/values.js +2 -0
  164. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +315 -0
  165. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +2 -0
  166. package/dist/node_modules/@allyhub-next/sheet/dist/write.d.ts +5 -0
  167. package/dist/node_modules/@allyhub-next/sheet/dist/write.js +21 -0
  168. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +42 -0
  169. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +2 -0
  170. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.d.ts +19 -0
  171. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.js +2 -0
  172. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +21 -0
  173. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +4 -0
  174. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +5 -0
  175. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +17 -0
  176. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +44 -0
  177. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +2 -0
  178. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.d.ts +5 -0
  179. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.js +2 -0
  180. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.d.ts +8 -0
  181. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.js +2 -0
  182. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +117 -0
  183. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -0
  184. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +23 -0
  185. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +2 -0
  186. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.d.ts +3 -0
  187. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.js +2 -0
  188. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +17 -0
  189. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +2 -0
  190. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.d.ts +28 -0
  191. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.js +3 -0
  192. package/dist/node_modules/@allyhub-next/sheet/package.json +21 -0
  193. package/dist/node_modules/@allyhub-next/slides-core/LICENSE +241 -0
  194. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/chart-api.d.ts +1 -1
  195. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +2 -0
  196. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/chart-file.d.ts +1 -1
  197. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +2 -0
  198. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/index.d.ts +1 -1
  199. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +2 -0
  200. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/model.d.ts +2 -5
  201. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/resolve.d.ts +1 -1
  202. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +7 -0
  203. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +2 -0
  204. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/package.json +1 -1
  205. package/dist/node_modules/@allyhub-next/video-core/LICENSE +241 -0
  206. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/fact.d.ts +8 -2
  207. package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +2 -0
  208. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/formats.d.ts +0 -28
  209. package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +2 -0
  210. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/measure.d.ts +10 -0
  211. package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +5 -0
  212. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/problem.d.ts +5 -1
  213. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +2 -0
  214. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/package.json +1 -1
  215. package/dist/phone.js +1 -1
  216. package/dist/sheets.d.ts +2 -0
  217. package/dist/sheets.js +2 -0
  218. package/docs/README.md +2 -2
  219. package/docs/defaults.md +1 -0
  220. package/docs/project.md +1 -1
  221. package/docs/scenery.md +1 -1
  222. package/docs/sheets.md +377 -84
  223. package/docs/slides.md +1 -1
  224. package/docs/speech.md +1 -1
  225. package/package.json +11 -19
  226. package/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
  227. package/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -214
  228. package/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
  229. package/node_modules/@allyhub-next/formats/dist/data/slides.js +0 -2
  230. package/node_modules/@allyhub-next/formats/dist/index.js +0 -2
  231. package/node_modules/@allyhub-next/formats/dist/items.js +0 -2
  232. package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -719
  233. package/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
  234. package/node_modules/@allyhub-next/protocol/dist/notes.js +0 -2
  235. package/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
  236. package/node_modules/@allyhub-next/runtimes/dist/lock.js +0 -2
  237. package/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -3
  238. package/node_modules/@allyhub-next/runtimes/pins/exceljs/package-lock.json +0 -2533
  239. package/node_modules/@allyhub-next/runtimes/pins/exceljs/package.json +0 -8
  240. package/node_modules/@allyhub-next/scenery/dist/phone.js +0 -2
  241. package/node_modules/@allyhub-next/slides-core/dist/chart-api.js +0 -2
  242. package/node_modules/@allyhub-next/slides-core/dist/chart-file.js +0 -2
  243. package/node_modules/@allyhub-next/slides-core/dist/chart.js +0 -2
  244. package/node_modules/@allyhub-next/slides-core/dist/index.js +0 -2
  245. package/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +0 -23
  246. package/node_modules/@allyhub-next/slides-core/dist/strict.js +0 -2
  247. package/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
  248. package/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
  249. package/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
  250. package/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
  251. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/LICENSE +0 -0
  252. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.d.ts +0 -0
  253. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.js +0 -0
  254. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.d.ts +0 -0
  255. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.js +0 -0
  256. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.d.ts +0 -0
  257. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.js +0 -0
  258. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.d.ts +0 -0
  259. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.js +0 -0
  260. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.d.ts +0 -0
  261. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.js +0 -0
  262. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.d.ts +0 -0
  263. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.js +0 -0
  264. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.d.ts +0 -0
  265. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.js +0 -0
  266. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.d.ts +0 -0
  267. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.js +0 -0
  268. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.d.ts +0 -0
  269. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.js +0 -0
  270. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -0
  271. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.js +0 -0
  272. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.d.ts +0 -0
  273. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.js +0 -0
  274. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.d.ts +0 -0
  275. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.js +0 -0
  276. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.d.ts +0 -0
  277. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.js +0 -0
  278. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.d.ts +0 -0
  279. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.js +0 -0
  280. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.d.ts +0 -0
  281. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.js +0 -0
  282. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.d.ts +0 -0
  283. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.js +0 -0
  284. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.d.ts +0 -0
  285. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.js +0 -0
  286. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.d.ts +0 -0
  287. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.js +0 -0
  288. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.d.ts +0 -0
  289. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.js +0 -0
  290. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.d.ts +0 -0
  291. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.js +0 -0
  292. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.d.ts +0 -0
  293. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.js +0 -0
  294. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.d.ts +0 -0
  295. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.js +0 -0
  296. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.d.ts +0 -0
  297. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.js +0 -0
  298. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.d.ts +0 -0
  299. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.js +0 -0
  300. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.d.ts +0 -0
  301. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.js +0 -0
  302. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.d.ts +0 -0
  303. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.js +0 -0
  304. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.d.ts +0 -0
  305. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.js +0 -0
  306. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.d.ts +0 -0
  307. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.js +0 -0
  308. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.d.ts +0 -0
  309. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.js +0 -0
  310. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.d.ts +0 -0
  311. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.js +0 -0
  312. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.d.ts +0 -0
  313. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.js +0 -0
  314. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.d.ts +0 -0
  315. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.js +0 -0
  316. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.d.ts +0 -0
  317. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.js +0 -0
  318. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.d.ts +0 -0
  319. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.js +0 -0
  320. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.d.ts +0 -0
  321. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.js +0 -0
  322. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.d.ts +0 -0
  323. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.js +0 -0
  324. /package/{node_modules/@allyhub-next/formats → dist/node_modules/@allyhub-next/chart}/LICENSE +0 -0
  325. /package/{node_modules/@allyhub-next/protocol → dist/node_modules/@allyhub-next/formats}/LICENSE +0 -0
  326. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.d.ts +0 -0
  327. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.js +0 -0
  328. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.d.ts +0 -0
  329. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.js +0 -0
  330. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.d.ts +0 -0
  331. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.js +0 -0
  332. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.d.ts +0 -0
  333. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.js +0 -0
  334. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.d.ts +0 -0
  335. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.js +0 -0
  336. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.d.ts +0 -0
  337. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.js +0 -0
  338. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.d.ts +0 -0
  339. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.js +0 -0
  340. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.d.ts +0 -0
  341. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.js +0 -0
  342. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/script.d.ts +0 -0
  343. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/script.js +0 -0
  344. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.d.ts +0 -0
  345. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.js +0 -0
  346. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.d.ts +0 -0
  347. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.js +0 -0
  348. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/note-shape.d.ts +0 -0
  349. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/note-shape.js +0 -0
  350. /package/{node_modules/@allyhub-next/runtimes → dist/node_modules/@allyhub-next/protocol}/LICENSE +0 -0
  351. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/app.d.ts +0 -0
  352. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/app.js +0 -0
  353. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.d.ts +0 -0
  354. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.js +0 -0
  355. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.d.ts +0 -0
  356. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.js +0 -0
  357. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.d.ts +0 -0
  358. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.js +0 -0
  359. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.d.ts +0 -0
  360. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.js +0 -0
  361. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/index.d.ts +0 -0
  362. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/index.js +0 -0
  363. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.d.ts +0 -0
  364. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.js +0 -0
  365. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.d.ts +0 -0
  366. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.js +0 -0
  367. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.d.ts +0 -0
  368. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.js +0 -0
  369. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/runtimes.d.ts +0 -0
  370. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/runtimes.js +0 -0
  371. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.d.ts +0 -0
  372. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.js +0 -0
  373. /package/{node_modules/@allyhub-next/scenery → dist/node_modules/@allyhub-next/runtimes}/LICENSE +0 -0
  374. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.d.ts +0 -0
  375. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.js +0 -0
  376. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.d.ts +0 -0
  377. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.js +0 -0
  378. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.d.ts +0 -0
  379. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.js +0 -0
  380. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.d.ts +0 -0
  381. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.js +0 -0
  382. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/index.d.ts +0 -0
  383. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/index.js +0 -0
  384. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.d.ts +0 -0
  385. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.js +0 -0
  386. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/node-program.d.ts +0 -0
  387. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/node-program.js +0 -0
  388. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/packages.d.ts +0 -0
  389. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/packages.js +0 -0
  390. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/unpack.d.ts +0 -0
  391. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/unpack.js +0 -0
  392. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/manifest.json +0 -0
  393. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/docx/package-lock.json +0 -0
  394. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/docx/package.json +0 -0
  395. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/gltf-tools/package-lock.json +0 -0
  396. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/gltf-tools/package.json +0 -0
  397. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/manifold-3d/package-lock.json +0 -0
  398. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/manifold-3d/package.json +0 -0
  399. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +0 -0
  400. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +0 -0
  401. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -0
  402. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +0 -0
  403. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +0 -0
  404. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/tesseract.js/package.json +0 -0
  405. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/schemas/runtimes.schema.json +0 -0
  406. /package/{node_modules/@allyhub-next/slides-core → dist/node_modules/@allyhub-next/scenery}/LICENSE +0 -0
  407. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/NOTICE +0 -0
  408. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.d.ts +0 -0
  409. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.js +0 -0
  410. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.d.ts +0 -0
  411. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.js +0 -0
  412. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.d.ts +0 -0
  413. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.js +0 -0
  414. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.d.ts +0 -0
  415. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.js +0 -0
  416. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.d.ts +0 -0
  417. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.js +0 -0
  418. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.d.ts +0 -0
  419. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.js +0 -0
  420. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.d.ts +0 -0
  421. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.js +0 -0
  422. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.d.ts +0 -0
  423. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.js +0 -0
  424. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.d.ts +0 -0
  425. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.js +0 -0
  426. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.d.ts +0 -0
  427. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.js +0 -0
  428. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.d.ts +0 -0
  429. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.js +0 -0
  430. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.js +0 -0
  431. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.d.ts +0 -0
  432. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.js +0 -0
  433. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.d.ts +0 -0
  434. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.js +0 -0
  435. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.d.ts +0 -0
  436. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.js +0 -0
  437. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.d.ts +0 -0
  438. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.js +0 -0
  439. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.d.ts +0 -0
  440. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.js +0 -0
  441. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.d.ts +0 -0
  442. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.js +0 -0
  443. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.d.ts +0 -0
  444. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.js +0 -0
  445. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.d.ts +0 -0
  446. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.js +0 -0
  447. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.d.ts +0 -0
  448. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.js +0 -0
  449. /package/{node_modules/@allyhub-next/video-core → dist/node_modules/@allyhub-next/sheet}/LICENSE +0 -0
  450. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/animation.d.ts +0 -0
  451. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/animation.js +0 -0
  452. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/api.d.ts +0 -0
  453. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/api.js +0 -0
  454. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/capabilities.d.ts +0 -0
  455. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/capabilities.js +0 -0
  456. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/check.d.ts +0 -0
  457. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/check.js +0 -0
  458. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/enums.d.ts +0 -0
  459. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/enums.js +0 -0
  460. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/file.d.ts +0 -0
  461. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/file.js +0 -0
  462. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/measure.d.ts +0 -0
  463. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/measure.js +0 -0
  464. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/model.js +0 -0
  465. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/office.d.ts +0 -0
  466. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/office.js +0 -0
  467. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/path.d.ts +0 -0
  468. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/path.js +0 -0
  469. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/placeholders.d.ts +0 -0
  470. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/placeholders.js +0 -0
  471. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/resolve.js +0 -0
  472. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/script.d.ts +0 -0
  473. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/script.js +0 -0
  474. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/stage.d.ts +0 -0
  475. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/stage.js +0 -0
  476. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/theme.d.ts +0 -0
  477. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/theme.js +0 -0
  478. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/units.d.ts +0 -0
  479. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/units.js +0 -0
  480. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.d.ts +0 -0
  481. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.js +0 -0
  482. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.d.ts +0 -0
  483. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.js +0 -0
  484. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.d.ts +0 -0
  485. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.js +0 -0
  486. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.d.ts +0 -0
  487. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.js +0 -0
  488. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.d.ts +0 -0
  489. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.js +0 -0
  490. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.d.ts +0 -0
  491. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.js +0 -0
  492. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.d.ts +0 -0
  493. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.js +0 -0
  494. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.d.ts +0 -0
  495. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.js +0 -0
  496. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.d.ts +0 -0
  497. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.js +0 -0
  498. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.d.ts +0 -0
  499. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.js +0 -0
  500. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -0
  501. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.js +0 -0
  502. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.d.ts +0 -0
  503. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.js +0 -0
  504. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/index.d.ts +0 -0
  505. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/index.js +0 -0
  506. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.d.ts +0 -0
  507. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.js +0 -0
  508. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.d.ts +0 -0
  509. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.js +0 -0
  510. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.d.ts +0 -0
  511. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.js +0 -0
  512. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.d.ts +0 -0
  513. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.js +0 -0
  514. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.d.ts +0 -0
  515. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.js +0 -0
  516. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.d.ts +0 -0
  517. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.js +0 -0
  518. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.d.ts +0 -0
  519. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.js +0 -0
  520. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/piece.d.ts +0 -0
  521. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/piece.js +0 -0
  522. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.d.ts +0 -0
  523. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.js +0 -0
  524. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/render-types.d.ts +0 -0
  525. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/render-types.js +0 -0
  526. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.d.ts +0 -0
  527. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.js +0 -0
  528. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.d.ts +0 -0
  529. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.js +0 -0
  530. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script.d.ts +0 -0
  531. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script.js +0 -0
  532. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.d.ts +0 -0
  533. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.js +0 -0
  534. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.d.ts +0 -0
  535. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.js +0 -0
  536. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.d.ts +0 -0
  537. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.js +0 -0
  538. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.d.ts +0 -0
  539. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.js +0 -0
  540. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.d.ts +0 -0
  541. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.js +0 -0
  542. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.d.ts +0 -0
  543. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.js +0 -0
  544. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.d.ts +0 -0
  545. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.js +0 -0
  546. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.d.ts +0 -0
  547. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.js +0 -0
  548. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.d.ts +0 -0
  549. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.js +0 -0
package/docs/sheets.md CHANGED
@@ -1,119 +1,412 @@
1
1
  # Sheets
2
2
 
3
- A sheet is rows a person sorts, filters and edits as a grid and an agent writes as files: `sheet.csv`, and `sheet.yaml` beside it saying what its columns are. It is one grid (no saved views, groups or footers in its files) and not a piece: it has no format, languages or combos. `allyhub check` checks it, `allyhub dev` shows it in its editor, `allyhub render` writes it out.
3
+ A sheet is a workbook: what a person sees is Excel, and its source is text. A formula is code, results are computed and never stored, and data, logic and look each have a home. A person works in the editor as in Excel, and what they do lands in these files.
4
4
 
5
5
  ## A sheet item
6
6
 
7
- A sheet is a folder whose entry file is `sheet.csv`:
7
+ A sheet is a folder whose entry file is `sheet.yaml`:
8
8
 
9
9
  ```
10
- research/leads/
11
- sheet.csv the rows: a header row, then a row per record
12
- sheet.yaml optional: its title, its key and title columns, what each column is
13
- files/ optional: files its cells name (logo.png)
14
- comments.json optional: what was said about its cells
10
+ finance/budget/
11
+ sheet.yaml the workbook: sheets, cells, formulas, formats, names, checks
12
+ data/*.csv a table's rows, or a large block of typed cells
13
+ sheet.ts optional: code that makes sheets from data
14
+ files/ what cells name: pictures and other files
15
15
  ```
16
16
 
17
- - The folder may be anywhere in the project but its root, a folder whose name starts with a dot, or `node_modules`. Its place is its path from the project (`research/leads`), which commands take.
18
- - A sheet is never inside another item's folder (AK-M009), and its folder holds no other item (AK-M003).
17
+ The folder may be anywhere in the project except its root, a folder whose name starts with a dot, or `node_modules`. Its place is its path from the project (`finance/budget`). A sheet is never inside another item's folder, and its folder holds no other item (AK-M003).
19
18
 
20
- ## sheet.csv
19
+ ## sheet.yaml
20
+
21
+ ```yaml
22
+ title: Budget
23
+ names:
24
+ growth: 0.08 # a constant
25
+ revenue: =Summary!$B$1 # a place, or a formula
26
+ sheets:
27
+ - name: Orders
28
+ freeze: A2
29
+ tables:
30
+ - name: orders
31
+ at: A1 # its header's top left
32
+ rows: data/orders.csv # the header row, then the rows
33
+ key: id # optional: how a merge lines rows up
34
+ columns:
35
+ total: { formula: "=[@price]*[@qty]", format: "$#,##0.00" }
36
+ - name: Summary
37
+ columns: { A: { width: 180 } }
38
+ cells:
39
+ A1: Revenue
40
+ B1: "=SUM(orders[total])"
41
+ B3:M3: { formula: "=A3*(1+growth)", format: "#,##0" }
42
+ format:
43
+ - { range: A1:A9, bold: true }
44
+ merges: [A10:C10]
45
+ blocks:
46
+ - { at: A100, rows: data/hand.csv }
47
+ checks:
48
+ - { name: totals add up, formula: "=revenue=SUM(Summary!B3:M3)" }
49
+ scenarios:
50
+ high: { growth: 0.2 }
51
+ ```
52
+
53
+ Its JSON Schema is `https://allyhub.com/schemas/sheet.schema.json`.
54
+
55
+ | Field | What |
56
+ | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
57
+ | `title` | The workbook's title |
58
+ | `names` | Defined names: a constant, or a place or formula after `=` |
59
+ | `sheets[]` | `name`, at most 31 characters, none of `\ / ? * [ ] :`; `hidden`; `freeze`, the first cell that scrolls; `gridlines: false`; `tab`, its tab's colour |
60
+ | `sheets[].tables[]` | `name`, `at` (its header's top left), `rows` (a CSV file from the sheet's folder), `key`, `style` (Excel's, `TableStyleMedium2` unless it says, `none` for none), `columns` (by name: `formula`, `format`, a look, `width`, `files`) |
61
+ | `sheets[].columns` | By letter: `width` in pixels, `hidden`, `format`, a look, `files` (see [Files in a cell](#files-in-a-cell)) |
62
+ | `sheets[].charts[]` | A chart over the cells: see [Charts](#charts) |
63
+ | `sheets[].rows` | By number: `height` in pixels, `hidden`, `format`, a look |
64
+ | `sheets[].cells` | By address, or a range one value or formula covers |
65
+ | `sheets[].format` | A list of `{ range, format, …look }`: later entries win over earlier ones, a cell's own look wins over them |
66
+ | `sheets[].merges` | Merged ranges |
67
+ | `sheets[].blocks` | `{ at, rows }`: a CSV file of typed cells, from a cell |
68
+ | `sheets[].filter` | An AutoFilter on a range: `{ range, columns }`, its columns by letter, each `{ values, blanks }`: what it keeps, as the column shows it. A table's is `tables[].filter`, `{ columns }` by column name, or `false` for no buttons. What it hides is worked out, never written |
69
+ | `sheets[].conditional` | Conditional formats, the first the strongest: `{ range, type, …, stop }`; ranges apart by spaces. See below |
70
+ | `sheets[].validations` | Data validation: `{ range, type, operator, formula, values, blank, dropdown, prompt, error }`. See below |
71
+ | `checks` | `{ name, formula }`: a formula that must hold. One that is false, 0 or an error is a problem (AK-M009) |
72
+ | `scenarios` | Named sets of inputs, each what names hold instead: see [Scenarios](#scenarios) |
73
+
74
+ A **cell** is YAML's value: a number, `true`, text; text that starts with `=` is a formula. In a `{ … }` a formula with a comma or a bracket is quoted. Its long form is `{ value | formula, format, name, …look }`: `name` is a defined name for that cell.
75
+
76
+ A **range key** (`B3:M3`) gives one value or formula to every cell in it. A formula is written for its first cell and moved as a fill moves it: relative references shift, `$` ones stay. A single cell's key wins over a range's, and a later range over an earlier one; `B5: null` keeps a cell of a range empty.
77
+
78
+ `format` is Excel's number format code. A **look** is `bold`, `italic`, `underline` (`true` or Excel's `single`, `double`, `singleAccounting`, `doubleAccounting`), `strike`, `font`, `size`, `color` and `fill` (`#RRGGBB`; a fill may be `{ pattern, color, background }`), `align`, `valign`, `wrap`, `shrink`, `indent`, `rotation`, `border` (`left`, `right`, `top`, `bottom`, each `{ style, color }`). Later `format` entries win field by field, and a `border` side by side, so `{ style: none }` takes one side away.
21
79
 
22
- Plain CSV (RFC 4180) with a header row:
80
+ **Conditional formats.** A `type` is Excel's, and a rule that gives a look says it in the rule: `bold`, `italic`, `underline`, `strike`, `color`, `fill`, `border`.
23
81
 
24
- ```csv
25
- id,company,arr,share,stage,tags,signed,active,site,contact,notes,logo
26
- 1,Acme,12000,0.12,Won,inbound;partner,2026-10-14,true,acme.example,ops@acme.example,"Signed after a demo, ""fast""",files/acme.png
27
- 2,Globex,,,Lead,,2026-10-14T09:30,false,https://globex.example,,,
82
+ | `type` | With |
83
+ | ------------------------------------ | -------------------------------------------------------------------------------------------- |
84
+ | `cellIs` | `operator` (`between`, `notBetween`, `equal`, `notEqual`, `greaterThan`, `lessThan`, `greaterThanOrEqual`, `lessThanOrEqual`), `formula`: one or two bounds, a number, text, or a formula after `=` |
85
+ | `containsText` | `text`, `operator` (`contains` unless it says, `notContains`, `beginsWith`, `endsWith`) |
86
+ | `duplicateValues`, `uniqueValues` | Nothing |
87
+ | `top10` | `rank`, `percent`, `bottom` |
88
+ | `aboveAverage` | `below`, `equal` |
89
+ | `expression` | `formula`, written for the first cell of the range and moved as a fill moves it |
90
+ | `dataBar` | `color`, `min` and `max` (each `{ at, value }`, `at` being `min`, `max`, `num`, `percent`, `percentile` or `formula`), `show: false` for the bar alone |
91
+ | `colorScale` | `stops`: two or three `{ at, value, color }` |
92
+ | `iconSet` | `icons` (Excel's `3Arrows`, `3TrafficLights1`, `5Rating`…), `stops`, `reverse`, `show` |
93
+
94
+ **Data validation.** `type` is `whole`, `decimal`, `list`, `date`, `time`, `textLength` or `custom`; `operator` is `between` unless it says, and `formula` its bounds (a date as ISO text, or a formula after `=`). A list is `values`, spelled out, or `formula: ["=$A$1:$A$9"]`; `dropdown: false` leaves out its arrow. `blank: false` refuses an empty cell. `prompt` is `{ title, message, show }`, what shows while the cell is selected, and `error` is `{ style, title, message, show }`, where `style` is `stop` (unless it says), `warning` or `information` and `show: false` lets any value in. A person's typing is refused as the rule says; what a script writes is not, and a value that breaks its rule is a fact in `allyhub sheet`.
95
+
96
+ A list with `multiple: true` lets a cell hold several of its values, joined by `separator` (`, ` unless it says):
97
+
98
+ ```yaml
99
+ validations:
100
+ - { range: D2:D99, type: list, values: [vip, new, churn], multiple: true }
28
101
  ```
29
102
 
30
- - The delimiter is a comma. A field is quoted when it holds a comma, a quote or a line break; `""` is a quote inside quotes.
31
- - Every value is text. Its column's type says how it is read; nothing is guessed from what the values look like.
32
- - A row may have fewer fields than the header (the rest are empty), never more. A blank line is a row of empty cells.
33
- - Header names are trimmed; each is a column's name, not empty, not repeated.
34
- - The file's dialect is kept when the editor writes rows back (line endings, a byte-order mark, a final line ending), and every row that did not change keeps its bytes.
103
+ They are text, so a formula counts one with a wildcard, `=COUNTIF(D:D,"*vip*")`, or splits them, `=TEXTSPLIT(D2,", ")`. A person ticks them in the cell's dropdown and sees them as chips; a filter's list offers each, and keeps a row that holds any it ticks. In an `.xlsx` the cell keeps its text and the column a list, whose refusal is turned off as Excel's list takes one value: the render says so.
35
104
 
36
- ## sheet.yaml
105
+ ### Files in a cell
37
106
 
38
- Every field is optional; a column not named under `columns` is text (JSON Schema: `https://allyhub.com/schemas/sheet.schema.json`).
107
+ A column with `files` holds files, each named by its path from the sheet's folder:
39
108
 
40
109
  ```yaml
41
- title: Launch leads
42
- key: id
43
- primary: company
44
- columns:
45
- arr:
46
- type: number
47
- format: { style: currency, currency: USD, decimals: 0 }
48
- width: 120
49
- share: { type: number, format: percent }
50
- stage:
51
- type: select
52
- options:
53
- - { name: Lead, color: gray }
54
- - { name: Won, color: green }
55
- tags: { type: multi-select, options: [inbound, partner], separator: ";" }
56
- signed: { type: date, format: { style: long, time: false } }
57
- active: checkbox
58
- site: url
59
- contact: email
60
- notes: { type: text, wrap: true }
61
- logo: { type: file, height: 48 }
110
+ sheets:
111
+ - name: Team
112
+ columns:
113
+ C: { files: true, width: 120 }
114
+ D: { files: { separator: "; ", height: 40 } } # 60 px tall, joined by ", ", unless it says
115
+ cells:
116
+ C2: files/ada.png
117
+ D2: files/ada.pdf; files/cv.docx
62
118
  ```
63
119
 
64
- | Field | Type | |
65
- | --- | --- | --- |
66
- | `title` | string | The sheet's name; its workbook's worksheet is named by it, else by the sheet's folder |
67
- | `key` | column name | The column whose value names a row: every row has one, and no two rows share it |
68
- | `primary` | column name | The column a row is called by (a record's title). Default: the first text column that is not the key, else the first column that is not the key |
69
- | `columns` | map | By the column's name in the header: its type alone (`active: checkbox`), or a map of the fields below |
120
+ `columns` of a table take it too, by the column's name. A person drops, pastes or chooses files on a cell: they are kept in the sheet's `files/`. A picture is drawn in its cell, its row as tall, any other file by its name. A file that is not there is a problem (AK-M009). In an `.xlsx` a PNG, JPEG or GIF goes in its cell and any other file is its name, which the render says.
70
121
 
71
- A column:
122
+ ### Scenarios
123
+
124
+ Each scenario says what names hold instead:
125
+
126
+ ```yaml
127
+ names:
128
+ growth: 0.08 # a constant
129
+ tax: =Inputs!$B$2 # a cell
130
+ scenarios:
131
+ high: { growth: 0.2, tax: 0.1 }
132
+ low: { growth: 0.01 }
133
+ ```
72
134
 
73
- | Field | Type | For | |
74
- | --- | --- | --- | --- |
75
- | `type` | one of the types below | every column | Default `text` |
76
- | `options` | list | `select`, `multi-select` | In order, each once. An option is a name (`Won`) or `{ name, color }` |
77
- | `separator` | string | `multi-select`, `file` | What joins names or paths in a cell. Default `;`. Not empty, not a quote |
78
- | `format` | see below | `number`, `date` | How values are shown |
79
- | `width` | number, px | every column | Its width in the grid |
80
- | `wrap` | boolean | every column | Long text wraps onto more lines |
81
- | `height` | number, px | `file` | Pictures this tall in the grid; rows grow to hold them |
135
+ A name that is one cell has that cell hold the value, as Excel's Scenario Manager changes cells, so what reads it by its address sees it too. Any other name holds the value itself. A name that is not there is a problem (AK-M009). A person shows one in the editor's Scenario Manager, and nothing is written. `allyhub sheet calc <sheet> <what> --scenario high` computes with one; `--scenarios` compares the base case and every one, a column each, over `what`: names, cells or ranges apart by commas, or every name no scenario sets. An `.xlsx` holds them as Excel's own on the sheet of the cells they change, with a `Base case` to come back to; a name that is no cell has no place there, and the render says so.
82
136
 
83
- A field set on a column of another type (`options` on a number column) is a problem. An option's `color` is one of `gray`, `brown`, `red`, `orange`, `yellow`, `green`, `blue`, `purple`, `pink`; its name is trimmed, not empty, and does not contain the separator.
137
+ Write scenarios on names of cells where the file will leave for Excel.
84
138
 
85
- **Number format**: `plain`, `percent` (0.12 shows as 12%), `currency`, or a map of `style` (`plain`, `percent`, `currency`; `currency` when `currency` is given, else `plain`), `decimals` (0 to 10; default as many as the value has, at most 6), `currency` (ISO 4217, default `USD`) and `thousands` (default `true`).
139
+ ## CSV
86
140
 
87
- **Date format**: `iso` (2026-10-14), `short` (Oct 14, 2026), `long` (Wednesday, October 14, 2026), or a map of `style` (default `short`) and `time` (default `true`: the time of day shows when a value has one). Without a format a date shows as `short`.
141
+ A CSV file is RFC 4180. A table's starts with its header row, whose names are its columns; a block's is cells from its first line. Blank lines in a table's file are not rows.
88
142
 
89
- ## Types
143
+ A value reads as Excel reads what is typed:
90
144
 
91
- | Type | A value is written | Read as |
92
- | --- | --- | --- |
93
- | `text` | as it is | text |
94
- | `number` | `1234.5`, `-0.12`, `1e6`: digits, a point for decimals, no thousands separator | a number |
95
- | `select` | one option's name | the option, sorted by its place among the options |
96
- | `multi-select` | option names joined by the separator: `inbound;partner` | a list of names |
97
- | `date` | `2026-10-14`, or `2026-10-14T09:30` with optional seconds and zone (`Z`, `+02:00`); UTC without a zone | a moment |
98
- | `checkbox` | `true` or `false`, any case | true or false |
99
- | `url` | an address with no space; without a scheme it links to `https://` | a link |
100
- | `email` | `name@domain.tld` | a `mailto:` link |
101
- | `phone` | as it is | a `tel:` link |
102
- | `file` | a path to a file of the project, from the sheet's folder or the project's root; several joined by the separator: `files/a.png;files/b.pdf` | an attachment: a picture (png, jpg, gif, webp, avif, svg) shows as itself, any other file by its name |
145
+ | Written | Reads as |
146
+ | -------------------------------------- | ------------------------------------------------------------------------------ |
147
+ | `12`, `-1.5e3`, `007` | A number. Past 15 digits it stays text, whole, where Excel would lose the rest |
148
+ | `12%`, `1,234.50`, `$5` | A number, and the format that implies |
149
+ | `TRUE`, `false` | TRUE or FALSE |
150
+ | `2026-10-14`, `2026-10-14T09:30` | A date (with its time), and the format `yyyy-mm-dd`; a zone is taken to UTC |
151
+ | `#N/A` | That error |
152
+ | `=…` | A formula |
153
+ | `'…` | What follows as text |
103
154
 
104
- Any column may have an empty cell. Sorting is by type; a value its type cannot read comes after those it can, and empty cells come last whichever the direction.
155
+ A **calculated column** has its `formula` in `columns` and no column in the CSV, or one whose non-empty cells are exceptions. One that is not the table's last has an empty column there, as a column left out goes to the table's end.
105
156
 
106
- ## comments.json
157
+ ## Formulas
158
+
159
+ The language is Excel's: `A1` and `$` references, ranges, `Sheet!A1`, `'My Sheet'!A1`, `Jan:Dec!A1`, whole columns and rows, defined names, structured references (`orders[total]`, `[@price]`, `orders[@total]`, `orders[[#Headers],[a]:[c]]`, `orders` for its rows), operators with Excel's precedence (`-2^2` is 4), array constants, `LET`, `LAMBDA` (a name may hold one, and is then called: `=double(4)`), error values. `allyhub sheet capabilities` lists the functions under `formulas`.
160
+
161
+ - Results are computed in order, each once. `NOW`, `TODAY`, `RAND`, `RANDBETWEEN`, `OFFSET` and `INDIRECT` are volatile. `NOW` and `TODAY` read the clock when the sheet is built or exported; `RAND` in a build and an export is seeded by the sheet's files, so the same files give the same rows.
162
+ - A formula that reads itself is a problem, and its cells and what reads them show `#CYCLE!`: Excel says so in a dialog. A cycle through a branch `IF` does not take is none, as in Excel.
163
+ - An array result spills, as in Excel: the formula's cell shows the first value and the cells beside it the rest. They hold nothing in any file, read like any others, and `A1#` is the range the spill covers now. `#SPILL!` says something stands in the way (a cell that holds anything, a merge, a table, the edge of the sheet), and what stands there going lets it spill. A calculated column cannot spill. `=@A1:A9` is the value in the formula's own row. `FILTER`, `SORT`, `SORTBY`, `UNIQUE`, `SEQUENCE`, `RANDARRAY` (seeded as `RAND` is), `TEXTSPLIT`, `TAKE`, `DROP`, `VSTACK`, `HSTACK`, `TOCOL`, `TOROW`, `CHOOSEROWS`, `CHOOSECOLS`, `EXPAND`, `WRAPROWS` and `WRAPCOLS` give arrays; `MAP`, `REDUCE`, `SCAN`, `BYROW`, `BYCOL` and `MAKEARRAY` take a `LAMBDA`.
164
+ - A formula cannot reach into another workbook.
165
+
166
+ ## In a script
167
+
168
+ `@allyhub/sdk/sheets` is openpyxl's API in TypeScript over these files. A script opens a workbook, changes it and saves it; what it did not change keeps its bytes, comments included.
169
+
170
+ ```ts
171
+ import {
172
+ Font,
173
+ PatternFill,
174
+ Table,
175
+ Workbook,
176
+ load_workbook,
177
+ } from "@allyhub/sdk/sheets";
178
+
179
+ const wb = new Workbook();
180
+ const ws = wb.active;
181
+ ws.title = "Orders";
182
+ ws.append(["id", "price", "qty", "total"]);
183
+ ws.append(["a1", 2.5, 4, "=B2*C2"]);
184
+ ws.append(["a2", 7, 2, "=B3*C3"]);
185
+ ws.add_table(new Table({ displayName: "orders", ref: "A1:D3" }));
186
+ ws.freeze_panes = "A2";
187
+
188
+ const summary = wb.create_sheet("Summary");
189
+ const total = summary.cell(1, 2, "=SUM(orders[total])");
190
+ total.number_format = "$#,##0.00";
191
+ total.font = new Font({ bold: true });
192
+ total.fill = new PatternFill({ fill_type: "solid", fgColor: "FFEECC" });
193
+ wb.save("content/finance/budget");
194
+
195
+ const again = load_workbook("content/finance/budget");
196
+ console.log(again.get_sheet_by_name("Summary")?.cell(1, 2).computed);
197
+ console.log(again.check());
198
+ ```
199
+
200
+ `ws.insert_rows(idx, amount)`, `ws.delete_rows`, `ws.insert_cols` and `ws.delete_cols` rewrite every formula in the workbook as Excel does: a reference moves, a range grows or shrinks, one to what went is `#REF!`. Tables, blocks, merges, looks and sizes move with them, and rows or columns put in a table go in its CSV. A table's header row is not deleted unless all of the table is.
201
+
202
+ Each change lands in the file it belongs in: a cell of a table in its CSV; a cell overtyped in a calculated column as an exception in the CSV; a run of one formula, moved, as one range key; a column whose every row has one formula as a calculated column; 100 or more typed cells together (`wb.block_cells`) as a block in a CSV file of their own; any other cell in `cells`. A number computed in a script is a number in the source, so a sheet's arithmetic belongs in its formulas.
203
+
204
+ Rules are openpyxl's too, each a field of an object:
205
+
206
+ ```ts
207
+ import {
208
+ CellIsRule,
209
+ ColorScaleRule,
210
+ DataValidation,
211
+ PatternFill,
212
+ Workbook,
213
+ } from "@allyhub/sdk/sheets";
214
+
215
+ const ws = new Workbook().active;
216
+ ws.conditional_formatting.add(
217
+ "D2:D9",
218
+ CellIsRule({
219
+ operator: "greaterThan",
220
+ formula: ["1000"],
221
+ fill: new PatternFill({ bgColor: "FFC7CE" }),
222
+ }),
223
+ );
224
+ ws.conditional_formatting.add(
225
+ "E2:E9",
226
+ ColorScaleRule({ start_color: "F8696B", end_color: "63BE7B" }),
227
+ );
228
+
229
+ const stage = new DataValidation({ type: "list", formula1: '"Open,Won,Lost"' });
230
+ stage.add("F2:F9");
231
+ ws.add_data_validation(stage);
232
+
233
+ ws.auto_filter.ref = "A1:F9";
234
+ ws.auto_filter.add_filter_column(5, ["Open"]);
235
+ ```
107
236
 
108
- Threads about a sheet's cells are kept beside it in `comments.json`, as a doc's are ([docs.md](docs.md#commentsjson)), each with the `range` it is about (`B4`, or `B4:C9`: columns by letter, rows counted from 1 under the header).
237
+ `FormulaRule`, `DataBarRule`, `IconSetRule` and `new Rule({ type, … })` are held as well, and a table has its own `table.autoFilter`. What a filter leaves out is worked out from what it keeps; sorting is the rows of a table's CSV file, or the cells, put in order.
109
238
 
110
- ## Check, measure, import, render
239
+ ## Charts
111
240
 
112
- - `allyhub check` reports AK-M009, each with its file and line: rows that are not CSV, a header with an empty or repeated name, a row with more fields than the header; a value its column's type cannot read (five per column, then a count); a `file` cell naming no file of the project; a key with an empty or repeated value; a `sheet.yaml` that is not YAML, an unknown field or one of the wrong kind, a column, key or primary the sheet does not have; a sheet inside another item's folder. A mistake in `sheet.yaml` leaves the rest of it read.
113
- - `allyhub sheet <sheet>` measures each column of a sheet too long to read whole: count, empty cells, distinct values, values its type cannot read, smallest and largest, the most frequent values.
114
- - `allyhub sheet import <file> --to <folder>` makes a sheet of a CSV, a TSV or an Excel workbook (a sheet per worksheet), never over a place that is taken.
115
- - `allyhub render` writes each sheet as an Excel workbook named for its folder, `.allyhub/out/research/leads/leads.xlsx`; `--type` takes any of `xlsx`, `csv`, `md`, `json`, and an item's place names one sheet (`allyhub render research/leads --type csv,md`). A sheet with a problem is not written: the command fails and says why.
241
+ A chart floats over the cells at its anchor and reads them live: it holds references, never numbers, so it follows what its cells compute. In `sheet.yaml`:
242
+
243
+ ```yaml
244
+ charts:
245
+ - type: column-clustered # or column-stacked, column-stacked-100, bar-…, line, line-markers,
246
+ # area, area-stacked, area-stacked-100, pie, doughnut, scatter, scatter-lines, scatter-smooth
247
+ at: E2 # the cell its top left is in; x and y, pixels into it
248
+ width: 480 # pixels: 480 × 288 unless it says
249
+ height: 288
250
+ title: Revenue # words, or a cell: =Summary!A1
251
+ categories: orders[month] # a range, Summary!A2:A13, a table's column, or a spill, A1#
252
+ series:
253
+ - { values: "orders[total]", name: "=C1", color: "#4472C4" }
254
+ - { values: "D2:D13", name: Cost, smooth: true, line_width: 2, marker_size: 6 }
255
+ legend: bottom # top, left, right; absent: none
256
+ labels: { value: true, position: outEnd } # or true; percentage, category, series, format, size, color
257
+ value_axis: { title: Dollars, min: 0, max: 100, major: 20, format: "0%", gridlines: false }
258
+ category_axis: { title: Month, reverse: true, visible: true }
259
+ gap_width: 80
260
+ overlap: 100
261
+ vary_by_categories: true
262
+ hole_size: 60
263
+ size: 9 # its text, points; title_size 14 and color #595959 unless it says
264
+ ```
265
+
266
+ In a flow map (`{ … }`), quote a reference with `[`. A scatter's `x` names its places across, each series its own, the chart's `categories` unless it says. Rows and columns a person or a filter hides are left out, as Excel plots what shows; an empty cell or `#N/A` is a gap, text is 0. An inserted row, a renamed table or column and a cut reach a chart's references as they reach a formula, and `allyhub check` reports one that names nothing.
267
+
268
+ In a script they are openpyxl's classes. A `Reference` is a range; a table's column or a spill, which it cannot name, is a formula's text:
269
+
270
+ ```ts
271
+ import {
272
+ BarChart,
273
+ PieChart,
274
+ Reference,
275
+ ScatterChart,
276
+ Series,
277
+ Workbook,
278
+ } from "@allyhub/sdk/sheets";
279
+
280
+ const wb = Workbook.open("content/finance/budget");
281
+ const ws = wb.get_sheet_by_name("Orders");
282
+ if (!ws) throw new Error("no Orders");
283
+
284
+ const bars = new BarChart();
285
+ bars.type = "col";
286
+ bars.grouping = "stacked";
287
+ bars.title = "By month";
288
+ bars.y_axis.title = "Dollars";
289
+ bars.add_data(
290
+ new Reference(ws, { min_col: 2, max_col: 3, min_row: 1, max_row: 13 }),
291
+ { titles_from_data: true },
292
+ );
293
+ bars.set_categories(
294
+ new Reference(ws, { min_col: 1, min_row: 2, max_row: 13 }),
295
+ );
296
+ bars.width = 18; // centimetres, as openpyxl's
297
+ ws.add_chart(bars, "E2");
298
+
299
+ const pie = new PieChart();
300
+ pie.add_data("orders[total]", { title: "Share" });
301
+ pie.set_categories("orders[month]");
302
+ ws.add_chart(pie, "E20");
303
+
304
+ const points = new ScatterChart();
305
+ points.append(
306
+ new Series("orders[total]", { xvalues: "orders[qty]", title: "By size" }),
307
+ );
308
+ ws.add_chart(points, "E40");
309
+ wb.save();
310
+ ```
311
+
312
+ `LineChart`, `AreaChart` and `DoughnutChart` are held as well, and `chart.legend` (`null` for none, else its `position`), `chart.dataLabels`, `chart.x_axis` and `y_axis` (`title`, `scaling`, `majorUnit`, `number_format`, `delete`, `majorGridlines`), `series.marker`, `series.smooth` and `series.graphicalProperties`. `ws._charts` lists a sheet's charts.
313
+
314
+ ## sheet.ts
315
+
316
+ `sheet.ts` beside `sheet.yaml` makes sheets from data and code: a sheet per region, a sheet per month, a schedule from a parameter. It uses the same classes as a script, on a workbook of its own that starts with no sheets:
317
+
318
+ ```ts
319
+ import { Font, workbook } from "@allyhub/sdk/sheets";
320
+
321
+ interface Region {
322
+ region: string;
323
+ base: number;
324
+ }
325
+
326
+ export default workbook((wb, { data }) => {
327
+ for (const { region, base } of data("data/regions.csv") as Region[]) {
328
+ const ws = wb.create_sheet(region);
329
+ ws.cell(1, 1, "Base");
330
+ ws.cell(1, 2, base);
331
+ ws.cell(2, 1, "Next year").font = new Font({ bold: true });
332
+ ws.cell(2, 2, "=B1*(1+growth)");
333
+ }
334
+ });
335
+ ```
336
+
337
+ - It holds logic, never a number it computed: what it writes are inputs, formulas and references, so a change of an input computes again here and in Excel. A number it typed that neither its data nor its code holds is a fact, `sheet-typed`.
338
+ - `data(path)` reads a file of the project, from the sheet's folder: CSV as an object per row, numbers as numbers where a whole column is; YAML and JSON as they are. It reads files, never what a formula computes.
339
+ - It runs with no clock, randomness or network. `Date.now()`, `new Date()`, `Math.random()`, `crypto`, `performance.now()` and Node's own modules are AK-M012, with their line, and `fetch` AK-B003; it runs twice and what it makes must be the same (AK-M012). One that hangs is stopped (AK-B004), one that throws is AK-R001. A date or a random number belongs in the data, or in a formula (`TODAY`, `RAND`).
340
+ - What it makes is never written. Every command reads it with `sheet.yaml`: `check`, `render`, `sheet calc`, `sheet trace`, `sheet diff`, `inspect`, `frames`, and the editor, which shows a change to it as another hand's. Its formulas read `sheet.yaml`'s names and tables, and `sheet.yaml`'s read its sheets. `wb.defined_names` adds names; one `sheet.yaml` has stands. A problem on a generated sheet names `sheet.ts`.
341
+ - Its sheets come after `sheet.yaml`'s, and `sheet.yaml` holds at least one.
342
+ - A person sees them locked. A change is refused as on a protected sheet, offering to ask you or Make Ordinary Sheet, which writes that sheet to `sheet.yaml` and its rows to CSV files. **A sheet `sheet.yaml` holds by a name is `sheet.yaml`'s: what `sheet.ts` makes of that name is left out**, which `allyhub inspect` says (`sheet-ordinary`). Take it out of `sheet.yaml` to give it back to the code.
343
+ - An `.xlsx` holds them as plain sheets.
344
+ - Since a generated formula is not rewritten when a person inserts a row or renames a sheet, it reads names and tables (`=growth`, `=orders[total]`), not addresses, wherever it can.
345
+
346
+ `ws["A1"]` is a cell in TypeScript's types, so a value is written `ws["A1"].value = 5` or `ws.cell(1, 1, 5)`. TypeScript has no way to type openpyxl's `ws["A1"] = 5`, though it runs.
347
+
348
+ A name of openpyxl's that is not held throws where it is used, naming what the class holds. `allyhub sheet capabilities` lists what is held, how it differs and what is added: `cell.computed`, what a cell computes to as the workbook stands, and `wb.check()`, what `allyhub check` would say.
349
+
350
+ ## Commands
351
+
352
+ - `allyhub check` reports AK-M009, each with its file and line: YAML that is not, a field the format does not have, a cell or range that is not one, two sheets, tables or names of one name, a table's rows that are not there, a CSV quote never closed, a header with an empty or repeated name, a row with more fields than its header, a repeated or empty key, tables and cells that overlap, a formula that does not parse, an unknown function, name, sheet, table or column, a function given the wrong number of arguments, a circular reference, a `checks` entry that does not hold, a scenario's name that is not there, a file a cell names that is not there; and AK-M012 for a `sheet.ts`. An error value in a cell is not a problem: `=1/0` says what it says.
353
+ - A sheet is named by its folder, with or without `content/`, or its `sheet.yaml`.
354
+ - `allyhub sheet calc <sheet> [what]` prints what a workbook computes, as an aligned table: a sheet (`Summary`, its used range), a range (`Summary!B3:M3`), a table, a name, or every sheet. `--scenario high` computes it with a scenario's inputs; `--scenarios` compares them.
355
+ - `allyhub sheet trace <sheet> <cell>` prints a cell's formula, where it is written, what it reads and what reads it.
356
+ - `allyhub sheet <sheet>` measures each table's columns: counts, empty cells, distinct values, errors, smallest and largest, sum and mean, lengths, the most frequent values.
357
+ - `allyhub inspect <sheet>`, and `allyhub inspect` for a whole project, says what a workbook's formulas and cells are like, as facts, never problems: `sheet-error`, each cell whose value is an error and whether it starts there; `sheet-number`, numbers written into a formula and what takes each, once for a formula a range holds; `sheet-unlike`, a cell between neighbours that read alike, unlike them; `sheet-exception`, a cell set apart from its calculated column's formula; `sheet-unused`, names and typed numbers nothing reads (no formula, chart, rule, check or name); `sheet-invalid`, a value under a validation that breaks it; `sheet-typed`, a number `sheet.ts` typed that neither its data nor its code holds; `sheet-ordinary`, a sheet `sheet.ts` makes and `sheet.yaml` holds too. `allyhub inspect sheet <sheet>` has their options: `--plain 0,1,-1` the numbers not said, `--around 1` how many neighbours each side must agree, `--kind`, `--all` for every finding, every number and a table's columns nothing reads.
358
+ - `allyhub sheet diff <was> <now>` compares two versions, two folders or a folder and an `.xlsx`: what changed value under a formula that did not, what changed formula with its value the same, both, what came and went, names, a table's rows lined up by its `key`, else by their place. `--tolerance`, `--all`, `--json`.
359
+ - `allyhub sheet capabilities` says what the SDK holds of openpyxl's.
360
+ - `allyhub sheet import <file>` makes a sheet of an Excel, CSV or TSV file, never over a place that is taken (see [Excel](#excel)).
361
+ - `allyhub render` writes each sheet to `.allyhub/out/<place>/`: `--type xlsx` (the default), `pdf`, `png`, `csv` (a file a sheet), `md`, `json`. A sheet with a problem is not written.
362
+ - `allyhub frames <sheet>` draws a picture of a sheet as a person sees it, letters and numbers on its edges; `--range` names a sheet (`Summary`), a range (`Summary!B3:D9`), columns (`A:C`) or rows (`1:20`). Without a range it draws the first 200 rows and 60 columns of each sheet, and says what it left out.
363
+
364
+ `allyhub help sheet` and `allyhub help render` give every option.
365
+
366
+ ## Excel
367
+
368
+ **Out.** `--type xlsx` writes every sheet with typed values, formulas live with what they compute cached (so Preview and Numbers show numbers; Excel computes everything again on load), styles, merges, frozen panes, sizes, hidden sheets, names, tables with their calculated columns, filters, conditional formats, data validation and charts. The same workbook is the same bytes. `checks` have no place in a file, and the render says so. Generated sheets are plain sheets, [scenarios](#scenarios) are Excel's own, and several choices and files in a cell go as [above](#files-in-a-cell). A formula that needs arrays is written as a dynamic array formula, spilling into the cells it covers.
369
+
370
+ **In.** `allyhub sheet import <file.xlsx>` reads a file whatever wrote it and writes what it means as short text: neighbours with one formula as one range key, a table as a table, a column of one formula as a calculated column, a large rectangle of typed cells as a CSV file, looks as rectangles. It prints:
371
+
372
+ - Excel's scenarios come in by the names of the cells they set; a cell with no name is said, and a `Base case` that holds what the cells hold is left out.
373
+ - `Not carried over:` VBA, pivot tables, a chart of a kind a sheet has none of (radar, stock, surface, bubble, 3-D, several kinds in one) or whose numbers are written in it, images, links to other workbooks, comments, hyperlinks, protection, print settings, rich text (kept as text), filters by condition, kinds of rule the format has no place for, and so on, with where.
374
+ - A formula that cannot be computed here (a function the engine does not have, another workbook) keeps its value, listed with its cell and why. An array formula over several cells is its first cell's, and the others spill from it.
375
+ - `Computed here against the file:` every formula's result compared with the value the file holds, each difference with its cell (`--tolerance` is how close numbers must be, `--all` lists every one; a formula that reads the clock or a random number is not compared). JSON has every difference.
376
+
377
+ An ordinary formula from a file that narrows a range to its row is written with `@` (`=@A1:A9*2`), as Excel shows it.
116
378
 
117
379
  ## A sheet in a piece
118
380
 
119
- A piece reads a sheet's rows as data, by import or with `ctx.data(path)` for a path worked out in code, both relative to the file that names them: an object per row, keyed by the header ([project.md](project.md)). This reads the CSV alone, not `sheet.yaml`: a column whose every non-empty value is a number becomes numbers, everything else stays text, and lines with nothing in them are left out.
381
+ A piece reads a table's computed rows with `ctx.data("<sheet>#<table>")`, by the sheet's folder or its `sheet.yaml`, relative to the file that names it. Each row is an object by header: numbers, text, TRUE and FALSE as they are, a date as ISO text, an error as its code, an empty cell as `null`. A plain CSV file still reads as it is, with `ctx.data(path)` or by import: a column whose every non-empty value is a number becomes numbers, everything else stays text.
382
+
383
+ ```ts
384
+ import { custom, part, video } from "@allyhub/sdk";
385
+
386
+ interface Order {
387
+ id: string;
388
+ total: number;
389
+ }
390
+
391
+ export default video({
392
+ format: "16x9",
393
+ parts: (ctx) => {
394
+ const rows = ctx.data("../../finance/budget#orders") as Order[];
395
+ return [
396
+ part({
397
+ key: "orders",
398
+ dur: 3,
399
+ layers: [
400
+ custom({
401
+ render: (el) => {
402
+ el.textContent = rows.map((r) => r.id).join(", ");
403
+ },
404
+ }),
405
+ ],
406
+ }),
407
+ ];
408
+ },
409
+ });
410
+ ```
411
+
412
+ A deck's chart reads one the same way: `data: ../budget#orders` in `slides.yaml`. A data file over 5 MB is not read by `ctx.data`.
package/docs/slides.md CHANGED
@@ -151,7 +151,7 @@ revenue:
151
151
  frame: { x: 80, y: 120, w: 640, h: 340 }
152
152
  chart:
153
153
  type: column-clustered
154
- data: ../sales/sheet.csv # from the deck's folder: a sheet's CSV, a CSV, or a data file of rows
154
+ data: ../sales#revenue # from the deck's folder: a sheet's table (<sheet>#<table>), a CSV, or a data file of rows
155
155
  categories: Quarter # the column of names
156
156
  series: [Revenue, { name: Cost, color: accent3 }] # the columns of numbers
157
157
  legend: bottom
package/docs/speech.md CHANGED
@@ -101,7 +101,7 @@ export default video({
101
101
 
102
102
  ## `say(text, opts?)`
103
103
 
104
- Text to speech. `allyhub voice` makes the missing files with the cloud voice tool, each in `assets/media/gen/say/<hash>` with its words and its record (`--dry-run` lists them first, with their characters; each tool's description says what it costs). A `say` without its file is AK-T002; until it has one, the part lasts about as long as the line takes to say (`SPEECH_RATE_DEFAULTS`: 0.38 s a word, 0.22 s a Chinese, Japanese or Korean character; at least 1 s), and its anchors are placed in proportion along the line.
104
+ Text to speech. `allyhub voice` makes the missing files with the cloud voice tool, each in `assets/media/gen/say/<hash>` with its words and its record (each tool's description says what it costs). A `say` without its file is AK-T002; until it has one, the part lasts about as long as the line takes to say (`SPEECH_RATE_DEFAULTS`: 0.38 s a word, 0.22 s a Chinese, Japanese or Korean character; at least 1 s), and its anchors are placed in proportion along the line.
105
105
 
106
106
  - `voice`: the voice tool's voice id; default the tool's own.
107
107
  - `tool`: the voice tool; default `"speech-elevenlabs-multilingual-v2"` (`allyhub help ai <tool>` lists its input).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@allyhub/sdk",
3
- "version": "0.4.0",
4
- "description": "What an agent writes videos and decks with: video() and slides(), parts with their speech, footage and sounds, defineComponent() and custom() layers, the layout, motion and input helpers, and the scenery() layer's options. Nothing a host needs.",
3
+ "version": "0.5.0",
4
+ "description": "What an agent writes videos, decks and workbooks with: video() and slides(), parts with their speech, footage and sounds, defineComponent() and custom() layers, the layout, motion and input helpers, the scenery() layer's options, and openpyxl's API for a sheet. Nothing a host needs.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://allyhub.com",
7
7
  "bugs": {
@@ -32,6 +32,10 @@
32
32
  "./slides": {
33
33
  "types": "./dist/slides.d.ts",
34
34
  "default": "./dist/slides.js"
35
+ },
36
+ "./sheets": {
37
+ "types": "./dist/sheets.d.ts",
38
+ "default": "./dist/sheets.js"
35
39
  }
36
40
  },
37
41
  "sideEffects": false,
@@ -46,16 +50,13 @@
46
50
  "node": ">=22.19"
47
51
  },
48
52
  "dependencies": {
49
- "@allyhub-next/audio": "0.4.0",
50
- "@allyhub-next/formats": "0.4.0",
51
- "@allyhub-next/protocol": "0.4.0",
52
- "@allyhub-next/runtimes": "0.4.0",
53
- "@allyhub-next/scenery": "0.4.0",
54
- "@allyhub-next/slides-core": "0.4.0",
55
- "@allyhub-next/video-core": "0.4.0",
53
+ "@formulajs/formulajs": "4.6.1",
56
54
  "dequal": "2.0.3",
57
55
  "env-paths": "4.0.0",
56
+ "fast-xml-parser": "^5.11.2",
57
+ "fflate": "^0.8.3",
58
58
  "jsonc-parser": "^3.3.1",
59
+ "numfmt": "4.1.1",
59
60
  "proper-lockfile": "4.1.2",
60
61
  "tar": "^7.5.2",
61
62
  "yaml": "^2.9.1",
@@ -69,14 +70,5 @@
69
70
  "@types/three": {
70
71
  "optional": true
71
72
  }
72
- },
73
- "bundleDependencies": [
74
- "@allyhub-next/audio",
75
- "@allyhub-next/formats",
76
- "@allyhub-next/protocol",
77
- "@allyhub-next/runtimes",
78
- "@allyhub-next/scenery",
79
- "@allyhub-next/slides-core",
80
- "@allyhub-next/video-core"
81
- ]
73
+ }
82
74
  }
@@ -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{SECONDS as n,SHA256 as m,dataFile as c}from"./file.js";const a=e.tuple([e.number(),e.number(),e.number(),e.number()]),r=e.object({t:n,score:e.number()}),t=e.number().nullable(),o=e.number().int().nonnegative();export const ReferenceSentenceSchema=e.object({index:o,start:n,end:n,words:e.tuple([e.number().int(),e.number().int()]),text:e.string(),punctuation:e.boolean(),pauseAfter:n.optional()}),ReferenceGapSchema=e.object({after:o,start:n,end:n,dur:n}),ReferenceBoundarySchema=e.object({t:n,cut:r.optional(),weak:r.optional(),pause:e.object({start:n,end:n,dur:n}).optional(),sentence:o.optional()}),ReferenceTextSchema=e.object({id:o,text:e.string(),box:a,height:e.number(),conf:e.number(),words:o,upper:e.number().min(0).max(1),start:n,end:n,spans:e.array(e.tuple([n,n])),seconds:n,seen:e.number().int().positive(),frames:e.number().min(0).max(1),spread:e.number().min(0).max(1),said:e.number().min(0).max(1)}),SectionNumbersSchema=e.object({start:n,end:n,dur:n,said:e.string(),words:o,wordsPerMinute:e.number().nonnegative(),cuts:e.array(n),shots:e.number().int().positive(),cutsPerMinute:e.number().nonnegative(),text:e.array(o),textSeconds:n}),ReferenceSegmentSchema=SectionNumbersSchema.extend({index:o,name:e.string(),sentences:e.tuple([e.number().int(),e.number().int()]).optional()}),ReferencePacingSchema=e.object({cutsPerMinute:e.number().nonnegative(),meanShot:n,medianShot:n,wordsPerMinute:e.number().nonnegative(),speakingRate:e.number().nonnegative(),timeToFirstWord:n.optional(),timeToFirstCut:n.optional(),textShare:e.number().min(0).max(1),speechShare:e.number().min(0).max(1),tempo:e.object({bpm:e.number().positive(),confidence:e.number().min(0),candidates:e.array(e.object({bpm:e.number(),r:e.number(),score:e.number()})).optional(),prior:e.number().optional()}).optional(),onsetsPerMinute:e.number().nonnegative()});const i=e.object({seconds:n,p10:e.number(),median:e.number(),p90:e.number()});export const ReferenceSoundSchema=e.object({gap:n,edge:n,voiced:e.number().min(0).max(100),whole:i,words:i.optional(),between:i.extend({voicedShare:e.number().min(0).max(1),onsetsPerMinute:e.number().nonnegative()}).optional(),floor:e.number()}),ReferencePictureSchema=e.object({params:e.record(e.string(),e.unknown()),frames:e.object({tone:o,color:o,motion:o}),luma:e.object({p1:t,p50:t,p99:t}),blackShare:t,noise:t,sharpness:t,saturation:t,warmth:t,motion:e.object({speed:e.object({p50:t,p90:t}),shake:e.object({p50:t,p90:t}),stillShare:t,runs:o}),sharpnessBySpeed:e.array(e.object({from:e.number(),to:t,frames:o,sharpness:t})),noiseByLuma:e.array(e.object({from:e.number(),to:e.number(),blocks:o,noise:t,median:t})),shake:e.array(e.object({start:n,end:n,rms:e.number(),peaks:e.array(e.object({hz:e.number(),share:e.number()})),flatness:e.number()}))});const s=e.object({frames:o,reach:e.array(e.object({drop:e.number(),hz:t})),rolloff95:t,rolloff99:t,steps:e.array(e.object({hz:e.number(),db:e.number()}))});export const ReferenceAudioSchema=e.object({loudness:e.object({integrated:t,range:t,truePeak:t}),recording:e.object({params:e.record(e.string(),e.unknown()),spectrum:e.array(e.object({hz:e.number(),db:e.number()})),dynamics:e.object({spread:e.number(),crest:e.number()})}).loose(),bandwidth:s.extend({params:e.record(e.string(),e.unknown())}),voice:s.optional()}),ReferenceServedSchema=e.object({item:e.string(),combo:e.record(e.string(),e.string()),format:e.string(),platform:e.string().optional(),export:e.object({type:e.string(),crf:e.number().optional(),maxKbps:e.number().optional()}),video:e.object({codec:e.string(),profile:e.string().optional(),kbps:e.number(),width:e.number().int().positive(),height:e.number().int().positive(),fps:e.number().positive(),preset:e.string().optional()}).optional(),audio:e.union([e.object({codec:e.string(),kbps:e.number(),rate:e.number(),channels:e.number()}),e.object({missing:e.string(),instead:e.string()})]),joins:e.array(e.object({t:n,kind:e.string(),part:e.string().optional(),score:e.number(),margin:e.number(),cut:e.boolean()})),unmeant:e.array(e.object({t:n,score:e.number(),margin:e.number()}))}),ReferenceSchema=e.object({version:e.literal(1),id:e.string(),source:e.object({file:e.string(),url:e.string().optional(),title:e.string().optional(),sha256:m}),analysedAt:e.string(),duration:n,width:e.number().int().positive(),height:e.number().int().positive(),fps:e.number().positive(),encoding:e.object({codec:e.string().optional(),bitrate:e.number().positive().optional(),audio:e.object({codec:e.string().optional(),profile:e.string().optional(),bitrate:e.number().positive().optional(),rate:e.number().positive().optional(),channels:e.number().int().positive().optional()}).optional()}).optional(),words:e.string().optional(),wordCount:o,asr:e.string().optional(),wordsMissing:e.object({code:e.string().optional(),message:e.string(),hint:e.string().optional(),instead:e.string()}).optional(),shots:e.object({threshold:e.number().min(0).max(1),minShot:e.number().nonnegative(),weakFloor:e.number().min(0).max(1),prominence:e.number().nonnegative(),cuts:e.array(r),weak:e.array(r),candidates:e.array(e.object({t:n,score:e.number(),source:e.enum(["jump","change"]),around:e.number(),passes:e.boolean()})).optional()}),speech:e.object({pause:n,sentences:e.array(ReferenceSentenceSchema),pauses:e.array(ReferenceGapSchema),gaps:e.array(ReferenceGapSchema).optional()}),boundaries:e.object({cutWithin:n,candidates:e.array(ReferenceBoundarySchema)}),ocr:e.object({engine:e.string(),confidence:e.object({word:e.number().min(0).max(100),short:e.number().min(0).max(100)}),frames:o,samePlace:e.number(),saidWithin:n,low:e.array(e.object({t:n,text:e.string(),conf:e.number(),box:a})).optional()}),text:e.array(ReferenceTextSchema),pacing:ReferencePacingSchema,sound:ReferenceSoundSchema.optional(),segments:e.object({rule:e.string(),pause:n,cutWithin:n,minLength:n,list:e.array(ReferenceSegmentSchema).min(1)}),sheets:e.array(e.string()),picture:ReferencePictureSchema,audio:ReferenceAudioSchema.optional(),served:ReferenceServedSchema.optional()}),REFERENCE_FILE="reference.json",INTERPRETATION_FILE="interpretation.json",InterpretedSectionSchema=e.strictObject({start:n,end:n,name:e.string().min(1).optional(),role:e.string().min(1).optional(),picture:e.string().optional(),onScreen:e.array(e.string()).optional(),notes:e.string().optional()}),InterpretationSchema=c({version:e.literal(1).default(1),summary:e.string().optional(),layout:e.string().optional(),hook:e.string().optional(),sections:e.array(InterpretedSectionSchema).min(1),captions:e.strictObject({lines:e.array(o).optional(),style:e.string().optional()}).optional(),watermarks:e.array(o).optional(),notes:e.string().optional(),labels:e.record(e.string(),e.union([e.string(),e.number(),e.boolean(),e.array(e.string())])).optional()});