@allyhub/sdk 0.3.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 (564) hide show
  1. package/dist/free.d.ts +2 -2
  2. package/dist/index.d.ts +2 -9
  3. package/dist/index.js +1 -1
  4. package/dist/module.d.ts +2 -3
  5. package/dist/module.js +1 -1
  6. package/{node_modules → dist/node_modules}/@allyhub-next/audio/package.json +1 -1
  7. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +31 -0
  8. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +3 -0
  9. package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +195 -0
  10. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +2 -0
  11. package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +3 -0
  12. package/dist/node_modules/@allyhub-next/chart/dist/index.js +2 -0
  13. package/dist/node_modules/@allyhub-next/chart/package.json +14 -0
  14. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/reference.d.ts +0 -86
  15. package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +2 -0
  16. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/script.d.ts +22 -0
  17. package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +2 -0
  18. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +4908 -0
  19. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +2 -0
  20. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +1497 -0
  21. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +2 -0
  22. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/index.d.ts +3 -0
  23. package/dist/node_modules/@allyhub-next/formats/dist/index.js +2 -0
  24. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/items.d.ts +22 -1
  25. package/dist/node_modules/@allyhub-next/formats/dist/items.js +2 -0
  26. package/dist/node_modules/@allyhub-next/formats/dist/note-shape.d.ts +39 -0
  27. package/dist/node_modules/@allyhub-next/formats/dist/note-shape.js +2 -0
  28. package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +2146 -0
  29. package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +2 -0
  30. package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +28 -0
  31. package/dist/node_modules/@allyhub-next/formats/dist/strict.js +2 -0
  32. package/{node_modules → dist/node_modules}/@allyhub-next/formats/package.json +1 -1
  33. package/dist/node_modules/@allyhub-next/protocol/dist/app.d.ts +37 -0
  34. package/dist/node_modules/@allyhub-next/protocol/dist/app.js +2 -0
  35. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.d.ts +0 -17
  36. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.js +1 -1
  37. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.d.ts +0 -4
  38. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.js +1 -1
  39. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.d.ts +17 -24
  40. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.js +1 -1
  41. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/index.d.ts +1 -0
  42. package/dist/node_modules/@allyhub-next/protocol/dist/index.js +2 -0
  43. package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +165 -0
  44. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +2 -0
  45. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.d.ts +1 -1
  46. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/runtimes.d.ts +3 -0
  47. package/dist/node_modules/@allyhub-next/protocol/dist/runtimes.js +2 -0
  48. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/tools.d.ts +43 -0
  49. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +2 -0
  50. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/package.json +1 -1
  51. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.d.ts +5 -1
  52. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/index.d.ts +1 -0
  53. package/dist/node_modules/@allyhub-next/runtimes/dist/index.js +2 -0
  54. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/lock.d.ts +2 -0
  55. package/dist/node_modules/@allyhub-next/runtimes/dist/lock.js +2 -0
  56. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +3 -0
  57. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +2 -0
  58. package/dist/node_modules/@allyhub-next/runtimes/dist/packages.d.ts +65 -0
  59. package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +4 -0
  60. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/runtimes.d.ts +6 -0
  61. package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +4 -0
  62. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/unpack.d.ts +7 -0
  63. package/dist/node_modules/@allyhub-next/runtimes/dist/unpack.js +2 -0
  64. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/package.json +5 -1
  65. package/dist/node_modules/@allyhub-next/runtimes/pins/docx/package-lock.json +67 -0
  66. package/dist/node_modules/@allyhub-next/runtimes/pins/docx/package.json +9 -0
  67. package/dist/node_modules/@allyhub-next/runtimes/pins/gltf-tools/package-lock.json +753 -0
  68. package/dist/node_modules/@allyhub-next/runtimes/pins/gltf-tools/package.json +14 -0
  69. package/dist/node_modules/@allyhub-next/runtimes/pins/manifold-3d/package-lock.json +950 -0
  70. package/dist/node_modules/@allyhub-next/runtimes/pins/manifold-3d/package.json +8 -0
  71. package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +227 -0
  72. package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +8 -0
  73. package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +105 -0
  74. package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +8 -0
  75. package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +128 -0
  76. package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package.json +9 -0
  77. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/schemas/runtimes.schema.json +5 -24
  78. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.d.ts +7 -0
  79. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/phone.d.ts +3 -1
  80. package/dist/node_modules/@allyhub-next/scenery/dist/phone.js +2 -0
  81. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/package.json +1 -1
  82. package/dist/node_modules/@allyhub-next/sheet/LICENSE +241 -0
  83. package/dist/node_modules/@allyhub-next/sheet/dist/address.d.ts +32 -0
  84. package/dist/node_modules/@allyhub-next/sheet/dist/address.js +2 -0
  85. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.d.ts +23 -0
  86. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +2 -0
  87. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +204 -0
  88. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +2 -0
  89. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +19 -0
  90. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +2 -0
  91. package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.d.ts +3 -0
  92. package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.js +2 -0
  93. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.d.ts +7 -0
  94. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.js +2 -0
  95. package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.d.ts +4 -0
  96. package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.js +2 -0
  97. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +170 -0
  98. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +2 -0
  99. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +117 -0
  100. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +2 -0
  101. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +323 -0
  102. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +2 -0
  103. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +68 -0
  104. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.js +2 -0
  105. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +21 -0
  106. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +2 -0
  107. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +19 -0
  108. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +2 -0
  109. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +152 -0
  110. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +2 -0
  111. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.d.ts +2 -0
  112. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +2 -0
  113. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.d.ts +15 -0
  114. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +2 -0
  115. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.d.ts +2 -0
  116. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +2 -0
  117. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.d.ts +2 -0
  118. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +2 -0
  119. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +69 -0
  120. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +2 -0
  121. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.d.ts +2 -0
  122. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.js +2 -0
  123. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +2 -0
  124. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +2 -0
  125. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.d.ts +2 -0
  126. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +2 -0
  127. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +15 -0
  128. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +2 -0
  129. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.d.ts +2 -0
  130. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +2 -0
  131. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.d.ts +2 -0
  132. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +2 -0
  133. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.d.ts +2 -0
  134. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +2 -0
  135. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.d.ts +2 -0
  136. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +2 -0
  137. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.d.ts +2 -0
  138. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +2 -0
  139. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.d.ts +29 -0
  140. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.js +2 -0
  141. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.d.ts +2 -0
  142. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +2 -0
  143. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +50 -0
  144. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +2 -0
  145. package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +58 -0
  146. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +2 -0
  147. package/dist/node_modules/@allyhub-next/sheet/dist/check.d.ts +15 -0
  148. package/dist/node_modules/@allyhub-next/sheet/dist/check.js +2 -0
  149. package/dist/node_modules/@allyhub-next/sheet/dist/csv.d.ts +62 -0
  150. package/dist/node_modules/@allyhub-next/sheet/dist/csv.js +12 -0
  151. package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +64 -0
  152. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +2 -0
  153. package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +154 -0
  154. package/dist/node_modules/@allyhub-next/sheet/dist/edit.js +2 -0
  155. package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +11 -0
  156. package/dist/node_modules/@allyhub-next/sheet/dist/export.js +6 -0
  157. package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +19 -0
  158. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +3 -0
  159. package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +24 -0
  160. package/dist/node_modules/@allyhub-next/sheet/dist/files.js +2 -0
  161. package/dist/node_modules/@allyhub-next/sheet/dist/fill.d.ts +30 -0
  162. package/dist/node_modules/@allyhub-next/sheet/dist/fill.js +2 -0
  163. package/dist/node_modules/@allyhub-next/sheet/dist/filter.d.ts +29 -0
  164. package/dist/node_modules/@allyhub-next/sheet/dist/filter.js +2 -0
  165. package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +9 -0
  166. package/dist/node_modules/@allyhub-next/sheet/dist/format.js +2 -0
  167. package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.d.ts +113 -0
  168. package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.js +2 -0
  169. package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.d.ts +6 -0
  170. package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.js +2 -0
  171. package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.d.ts +4 -0
  172. package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.js +2 -0
  173. package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.d.ts +6 -0
  174. package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.js +2 -0
  175. package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.d.ts +65 -0
  176. package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.js +2 -0
  177. package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.d.ts +6 -0
  178. package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.js +2 -0
  179. package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +46 -0
  180. package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +2 -0
  181. package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +34 -0
  182. package/dist/node_modules/@allyhub-next/sheet/dist/html.js +20 -0
  183. package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +11 -0
  184. package/dist/node_modules/@allyhub-next/sheet/dist/import.js +2 -0
  185. package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +38 -0
  186. package/dist/node_modules/@allyhub-next/sheet/dist/index.js +2 -0
  187. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +25 -0
  188. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +2 -0
  189. package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +4 -0
  190. package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +2 -0
  191. package/dist/node_modules/@allyhub-next/sheet/dist/profile.d.ts +30 -0
  192. package/dist/node_modules/@allyhub-next/sheet/dist/profile.js +2 -0
  193. package/dist/node_modules/@allyhub-next/sheet/dist/rules.d.ts +56 -0
  194. package/dist/node_modules/@allyhub-next/sheet/dist/rules.js +2 -0
  195. package/dist/node_modules/@allyhub-next/sheet/dist/scenario.d.ts +42 -0
  196. package/dist/node_modules/@allyhub-next/sheet/dist/scenario.js +2 -0
  197. package/dist/node_modules/@allyhub-next/sheet/dist/series.d.ts +10 -0
  198. package/dist/node_modules/@allyhub-next/sheet/dist/series.js +2 -0
  199. package/dist/node_modules/@allyhub-next/sheet/dist/sort.d.ts +24 -0
  200. package/dist/node_modules/@allyhub-next/sheet/dist/sort.js +2 -0
  201. package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +38 -0
  202. package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +2 -0
  203. package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +26 -0
  204. package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +2 -0
  205. package/dist/node_modules/@allyhub-next/sheet/dist/values.d.ts +67 -0
  206. package/dist/node_modules/@allyhub-next/sheet/dist/values.js +2 -0
  207. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +315 -0
  208. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +2 -0
  209. package/dist/node_modules/@allyhub-next/sheet/dist/write.d.ts +5 -0
  210. package/dist/node_modules/@allyhub-next/sheet/dist/write.js +21 -0
  211. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +42 -0
  212. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +2 -0
  213. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.d.ts +19 -0
  214. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.js +2 -0
  215. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +21 -0
  216. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +4 -0
  217. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +5 -0
  218. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +17 -0
  219. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +44 -0
  220. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +2 -0
  221. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.d.ts +5 -0
  222. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.js +2 -0
  223. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.d.ts +8 -0
  224. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.js +2 -0
  225. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +117 -0
  226. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -0
  227. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +23 -0
  228. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +2 -0
  229. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.d.ts +3 -0
  230. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.js +2 -0
  231. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +17 -0
  232. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +2 -0
  233. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.d.ts +28 -0
  234. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.js +3 -0
  235. package/dist/node_modules/@allyhub-next/sheet/package.json +21 -0
  236. package/dist/node_modules/@allyhub-next/slides-core/LICENSE +241 -0
  237. package/dist/node_modules/@allyhub-next/slides-core/dist/animation.d.ts +129 -0
  238. package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +2 -0
  239. package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +649 -0
  240. package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +4 -0
  241. package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.d.ts +18 -0
  242. package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +2 -0
  243. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +165 -0
  244. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +2 -0
  245. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +11 -0
  246. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +2 -0
  247. package/dist/node_modules/@allyhub-next/slides-core/dist/check.d.ts +7 -0
  248. package/dist/node_modules/@allyhub-next/slides-core/dist/check.js +2 -0
  249. package/dist/node_modules/@allyhub-next/slides-core/dist/enums.d.ts +146 -0
  250. package/dist/node_modules/@allyhub-next/slides-core/dist/enums.js +2 -0
  251. package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +109 -0
  252. package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +4 -0
  253. package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +21 -0
  254. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +2 -0
  255. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.d.ts +34 -0
  256. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +2 -0
  257. package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +275 -0
  258. package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +58 -0
  259. package/dist/node_modules/@allyhub-next/slides-core/dist/office.js +2 -0
  260. package/dist/node_modules/@allyhub-next/slides-core/dist/path.d.ts +6 -0
  261. package/dist/node_modules/@allyhub-next/slides-core/dist/path.js +2 -0
  262. package/dist/node_modules/@allyhub-next/slides-core/dist/placeholders.d.ts +7 -0
  263. package/dist/node_modules/@allyhub-next/slides-core/dist/placeholders.js +2 -0
  264. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +181 -0
  265. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +2 -0
  266. package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +43 -0
  267. package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +3 -0
  268. package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +63 -0
  269. package/dist/node_modules/@allyhub-next/slides-core/dist/stage.js +2 -0
  270. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +7 -0
  271. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +2 -0
  272. package/dist/node_modules/@allyhub-next/slides-core/dist/theme.d.ts +72 -0
  273. package/dist/node_modules/@allyhub-next/slides-core/dist/theme.js +2 -0
  274. package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +35 -0
  275. package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +2 -0
  276. package/dist/node_modules/@allyhub-next/slides-core/package.json +14 -0
  277. package/dist/node_modules/@allyhub-next/video-core/LICENSE +241 -0
  278. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.d.ts +6 -5
  279. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.js +1 -1
  280. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/fact.d.ts +180 -5
  281. package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +2 -0
  282. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/formats.d.ts +6 -41
  283. package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +2 -0
  284. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/index.d.ts +0 -1
  285. package/dist/node_modules/@allyhub-next/video-core/dist/index.js +2 -0
  286. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/measure.d.ts +93 -0
  287. package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +5 -0
  288. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/piece.d.ts +8 -9
  289. package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +2 -0
  290. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/problem.d.ts +10 -2
  291. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +2 -0
  292. package/dist/node_modules/@allyhub-next/video-core/dist/render-types.js +2 -0
  293. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.d.ts +0 -2
  294. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.d.ts +4 -0
  295. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script.d.ts +8 -0
  296. package/dist/node_modules/@allyhub-next/video-core/dist/script.js +2 -0
  297. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.d.ts +34 -1
  298. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/package.json +1 -1
  299. package/dist/parts.d.ts +2 -2
  300. package/dist/phone.js +1 -1
  301. package/dist/piece.d.ts +7 -32
  302. package/dist/piece.js +1 -1
  303. package/dist/props.d.ts +53 -10
  304. package/dist/sheets.d.ts +2 -0
  305. package/dist/sheets.js +2 -0
  306. package/dist/slides.d.ts +8 -0
  307. package/dist/slides.js +2 -0
  308. package/docs/README.md +3 -3
  309. package/docs/batches.md +2 -2
  310. package/docs/defaults.md +107 -3
  311. package/docs/docs.md +1 -1
  312. package/docs/project.md +6 -6
  313. package/docs/scenery.md +1 -1
  314. package/docs/sheets.md +377 -84
  315. package/docs/slides.md +182 -80
  316. package/docs/speech.md +1 -1
  317. package/package.json +17 -18
  318. package/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
  319. package/node_modules/@allyhub-next/formats/dist/data/script.js +0 -2
  320. package/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -214
  321. package/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
  322. package/node_modules/@allyhub-next/formats/dist/index.js +0 -2
  323. package/node_modules/@allyhub-next/formats/dist/items.js +0 -2
  324. package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -301
  325. package/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
  326. package/node_modules/@allyhub-next/protocol/dist/app.d.ts +0 -101
  327. package/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
  328. package/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
  329. package/node_modules/@allyhub-next/protocol/dist/runtimes.js +0 -2
  330. package/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
  331. package/node_modules/@allyhub-next/runtimes/dist/index.js +0 -2
  332. package/node_modules/@allyhub-next/runtimes/dist/lock.js +0 -2
  333. package/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -3
  334. package/node_modules/@allyhub-next/runtimes/dist/unpack.js +0 -2
  335. package/node_modules/@allyhub-next/scenery/dist/phone.js +0 -2
  336. package/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
  337. package/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
  338. package/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
  339. package/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
  340. package/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
  341. package/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
  342. package/node_modules/@allyhub-next/video-core/dist/script.js +0 -2
  343. package/node_modules/@allyhub-next/video-core/dist/slides.d.ts +0 -37
  344. package/node_modules/@allyhub-next/video-core/dist/slides.js +0 -2
  345. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/LICENSE +0 -0
  346. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.d.ts +0 -0
  347. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.js +0 -0
  348. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.d.ts +0 -0
  349. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.js +0 -0
  350. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.d.ts +0 -0
  351. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.js +0 -0
  352. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.d.ts +0 -0
  353. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.js +0 -0
  354. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.d.ts +0 -0
  355. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.js +0 -0
  356. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.d.ts +0 -0
  357. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.js +0 -0
  358. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.d.ts +0 -0
  359. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.js +0 -0
  360. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.d.ts +0 -0
  361. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.js +0 -0
  362. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.d.ts +0 -0
  363. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.js +0 -0
  364. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -0
  365. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.js +0 -0
  366. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.d.ts +0 -0
  367. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.js +0 -0
  368. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.d.ts +0 -0
  369. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.js +0 -0
  370. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.d.ts +0 -0
  371. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.js +0 -0
  372. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.d.ts +0 -0
  373. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.js +0 -0
  374. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.d.ts +0 -0
  375. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.js +0 -0
  376. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.d.ts +0 -0
  377. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.js +0 -0
  378. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.d.ts +0 -0
  379. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.js +0 -0
  380. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.d.ts +0 -0
  381. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.js +0 -0
  382. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.d.ts +0 -0
  383. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.js +0 -0
  384. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.d.ts +0 -0
  385. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.js +0 -0
  386. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.d.ts +0 -0
  387. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.js +0 -0
  388. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.d.ts +0 -0
  389. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.js +0 -0
  390. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.d.ts +0 -0
  391. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.js +0 -0
  392. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.d.ts +0 -0
  393. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.js +0 -0
  394. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.d.ts +0 -0
  395. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.js +0 -0
  396. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.d.ts +0 -0
  397. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.js +0 -0
  398. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.d.ts +0 -0
  399. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.js +0 -0
  400. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.d.ts +0 -0
  401. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.js +0 -0
  402. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.d.ts +0 -0
  403. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.js +0 -0
  404. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.d.ts +0 -0
  405. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.js +0 -0
  406. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.d.ts +0 -0
  407. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.js +0 -0
  408. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.d.ts +0 -0
  409. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.js +0 -0
  410. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.d.ts +0 -0
  411. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.js +0 -0
  412. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.d.ts +0 -0
  413. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.js +0 -0
  414. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.d.ts +0 -0
  415. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.js +0 -0
  416. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.d.ts +0 -0
  417. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.js +0 -0
  418. /package/{node_modules/@allyhub-next/formats → dist/node_modules/@allyhub-next/chart}/LICENSE +0 -0
  419. /package/{node_modules/@allyhub-next/protocol → dist/node_modules/@allyhub-next/formats}/LICENSE +0 -0
  420. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.d.ts +0 -0
  421. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.js +0 -0
  422. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.d.ts +0 -0
  423. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.js +0 -0
  424. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.d.ts +0 -0
  425. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.js +0 -0
  426. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.d.ts +0 -0
  427. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.js +0 -0
  428. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.d.ts +0 -0
  429. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.js +0 -0
  430. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.d.ts +0 -0
  431. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.js +0 -0
  432. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.d.ts +0 -0
  433. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.js +0 -0
  434. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.d.ts +0 -0
  435. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.js +0 -0
  436. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.d.ts +0 -0
  437. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.js +0 -0
  438. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.d.ts +0 -0
  439. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.js +0 -0
  440. /package/{node_modules/@allyhub-next/runtimes → dist/node_modules/@allyhub-next/protocol}/LICENSE +0 -0
  441. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.d.ts +0 -0
  442. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.js +0 -0
  443. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.d.ts +0 -0
  444. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.js +0 -0
  445. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.d.ts +0 -0
  446. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.js +0 -0
  447. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.js +0 -0
  448. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.d.ts +0 -0
  449. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.js +0 -0
  450. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.d.ts +0 -0
  451. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.js +0 -0
  452. /package/{node_modules/@allyhub-next/scenery → dist/node_modules/@allyhub-next/runtimes}/LICENSE +0 -0
  453. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.d.ts +0 -0
  454. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.js +0 -0
  455. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.d.ts +0 -0
  456. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.js +0 -0
  457. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.js +0 -0
  458. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.d.ts +0 -0
  459. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.js +0 -0
  460. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.d.ts +0 -0
  461. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.js +0 -0
  462. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/manifest.json +0 -0
  463. /package/{node_modules/@allyhub-next/video-core → dist/node_modules/@allyhub-next/scenery}/LICENSE +0 -0
  464. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/NOTICE +0 -0
  465. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.d.ts +0 -0
  466. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.js +0 -0
  467. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.d.ts +0 -0
  468. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.js +0 -0
  469. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.d.ts +0 -0
  470. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.js +0 -0
  471. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.d.ts +0 -0
  472. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.js +0 -0
  473. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.d.ts +0 -0
  474. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.js +0 -0
  475. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.d.ts +0 -0
  476. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.js +0 -0
  477. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.d.ts +0 -0
  478. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.js +0 -0
  479. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.d.ts +0 -0
  480. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.js +0 -0
  481. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.d.ts +0 -0
  482. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.js +0 -0
  483. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.d.ts +0 -0
  484. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.js +0 -0
  485. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.d.ts +0 -0
  486. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.js +0 -0
  487. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.js +0 -0
  488. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.d.ts +0 -0
  489. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.js +0 -0
  490. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.d.ts +0 -0
  491. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.js +0 -0
  492. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.d.ts +0 -0
  493. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.js +0 -0
  494. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.d.ts +0 -0
  495. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.js +0 -0
  496. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.d.ts +0 -0
  497. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.js +0 -0
  498. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.d.ts +0 -0
  499. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.js +0 -0
  500. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.d.ts +0 -0
  501. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.js +0 -0
  502. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.d.ts +0 -0
  503. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.js +0 -0
  504. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.d.ts +0 -0
  505. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.js +0 -0
  506. /package/{node_modules/@allyhub-next/video-core/dist/render-types.js → dist/node_modules/@allyhub-next/slides-core/dist/model.js} +0 -0
  507. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.d.ts +0 -0
  508. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.js +0 -0
  509. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.d.ts +0 -0
  510. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.js +0 -0
  511. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.d.ts +0 -0
  512. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.js +0 -0
  513. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.d.ts +0 -0
  514. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.js +0 -0
  515. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.d.ts +0 -0
  516. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.js +0 -0
  517. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.d.ts +0 -0
  518. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.js +0 -0
  519. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.d.ts +0 -0
  520. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.js +0 -0
  521. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.d.ts +0 -0
  522. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.js +0 -0
  523. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.d.ts +0 -0
  524. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.js +0 -0
  525. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -0
  526. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.js +0 -0
  527. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.d.ts +0 -0
  528. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.js +0 -0
  529. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.d.ts +0 -0
  530. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.js +0 -0
  531. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.d.ts +0 -0
  532. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.js +0 -0
  533. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.d.ts +0 -0
  534. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.js +0 -0
  535. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.d.ts +0 -0
  536. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.js +0 -0
  537. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.d.ts +0 -0
  538. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.js +0 -0
  539. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.d.ts +0 -0
  540. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.js +0 -0
  541. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.d.ts +0 -0
  542. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.js +0 -0
  543. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.d.ts +0 -0
  544. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.js +0 -0
  545. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/render-types.d.ts +0 -0
  546. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.js +0 -0
  547. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.js +0 -0
  548. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.d.ts +0 -0
  549. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.js +0 -0
  550. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.d.ts +0 -0
  551. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.js +0 -0
  552. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.d.ts +0 -0
  553. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.js +0 -0
  554. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.js +0 -0
  555. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.d.ts +0 -0
  556. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.js +0 -0
  557. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.d.ts +0 -0
  558. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.js +0 -0
  559. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.d.ts +0 -0
  560. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.js +0 -0
  561. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.d.ts +0 -0
  562. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.js +0 -0
  563. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.d.ts +0 -0
  564. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.js +0 -0
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as o}from"zod";import{CommentsFileSchema as i}from"./data/comments.js";import{ConfigSchema as m}from"./data/config.js";import{EditsFileSchema as r}from"./data/edits.js";import{ElementsFileSchema as n}from"./data/elements.js";import{GenFileSchema as c}from"./data/gen.js";import{MessagesFileSchema as h}from"./data/messages.js";import{InterpretationSchema as l}from"./data/reference.js";import{ScriptFileSchema as f}from"./data/script.js";import{SHEET_FILE as p,SheetFileSchema as d}from"./data/sheet.js";import{SlidesFileSchema as u}from"./data/slides.js";import{WordsFileSchema as b}from"./data/words.js";export const DATA_FILES={words:{schema:b,files:["**/*.words.json"],about:"The words said in an audio or video file, with their times."},edits:{schema:r,files:["**/edits/*.json"],about:"A recording's cut list."},elements:{schema:n,files:["**/*.elements.json"],about:"A page screenshot's named elements, each its box in the picture's pixels."},gen:{schema:c,files:["**/*.gen.json"],about:"How a media file was made, and where it came from."},comments:{schema:i,files:["**/comments.json"],about:"What was said about an item, in threads."},script:{schema:f,files:["**/script.*.yaml"],about:"An item's words in one language."},messages:{schema:h,files:["assets/text/*.json"],about:"Words several items share, in one language."},sheet:{schema:d,files:[`**/${p}`],about:"A workbook: its sheets, cells, formulas, formats, names, checks and scenarios."},slides:{schema:u,files:["**/slides.yaml"],about:"A deck's pages: their order, layouts, values and what was placed on them."},interpretation:{schema:l,files:["**/reference/*/interpretation.json"],about:"What the agent concludes of a reference video: its sections, captions, watermarks and labels."},config:{schema:m,files:[],about:"allyhub.config.ts's settings."}};export function jsonSchemaOf(e){const{schema:a,about:s}=DATA_FILES[e];return{$schema:"https://json-schema.org/draft/2020-12/schema",$id:`https://allyhub.com/schemas/${e}.schema.json`,title:e,description:s,...o.toJSONSchema(a,{io:"input",unrepresentable:"any"})}}export function readDataFile(e,a){const s=DATA_FILES[e].schema.safeParse(a);return s.success?{ok:!0,value:s.data}:{ok:!1,problems:s.error.issues.map(t=>({path:t.path.map(String).join("."),message:t.message}))}}
@@ -0,0 +1,28 @@
1
+ /** What a capabilities command and an error say a class holds: its public names. */
2
+ export declare function publicNames(proto: object): string[];
3
+ /** The held names closest to one that is not, nearest first: what it may have meant. */
4
+ export declare function closest(name: string, holds: readonly string[]): string[];
5
+ /** The error a name the API does not hold throws. */
6
+ export declare class NotHeld extends Error {
7
+ /** `hint` says where the API's whole list is. */
8
+ constructor(where: string, name: string, holds: readonly string[], hint: string);
9
+ }
10
+ export interface StrictOptions {
11
+ /** `x[i]`: indexing, as the library has it (a layout by position). */
12
+ index?: (i: number) => unknown;
13
+ /** `x[i] = v`: indexed assignment. */
14
+ setIndex?: (i: number, value: unknown) => void;
15
+ /** `x["A1"]`: a key that is not a name of the class; undefined: it is not one. */
16
+ key?: (name: string) => unknown;
17
+ /** `x["A1"] = v`; false: it is not one. */
18
+ setKey?: (name: string, value: unknown) => boolean;
19
+ }
20
+ /**
21
+ * The object behind a proxy that refuses what it does not hold. A class's
22
+ * constructor ends `return strict(this, "ClassName", hint)`; names that
23
+ * start with `_` are its own, for the rest of the package.
24
+ */
25
+ export declare function strict<T extends object>(target: T, where: string, hint: string, o?: StrictOptions): T;
26
+ /** An enumeration that throws on a member it does not have. */
27
+ export declare function strictEnum<T extends Record<string, string>>(where: string, members: T, hint: string): T;
28
+ //# sourceMappingURL=strict.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export function publicNames(c){const n=new Set;for(let e=c;e!==null&&e!==Object.prototype;e=Object.getPrototypeOf(e))for(const t of Object.getOwnPropertyNames(e))t!=="constructor"&&!t.startsWith("_")&&n.add(t);return[...n].sort()}const l=new Set(["then","toJSON","constructor","length"]),h=(c,n)=>{for(let e=c;e!==null;e=Object.getPrototypeOf(e)){const t=Object.getOwnPropertyDescriptor(e,n);if(t)return t.set!==void 0||"value"in t}return!1};function p(c,n){let e=Array.from({length:n.length+1},(t,s)=>s);for(let t=1;t<=c.length;t++){const s=[t];for(let o=1;o<=n.length;o++)s[o]=Math.min((e[o]??0)+1,(s[o-1]??0)+1,(e[o-1]??0)+(c[t-1]===n[o-1]?0:1));e=s}return e[n.length]??0}export function closest(c,n){const e=Math.max(2,Math.floor(c.length/3));return n.map(t=>[t,p(c.toLowerCase(),t.toLowerCase())]).filter(([,t])=>t<=e).sort((t,s)=>t[1]-s[1]).slice(0,3).map(([t])=>t)}export class NotHeld extends Error{constructor(n,e,t,s){const o=closest(e,t);super(`${n} has no ${e} here.`+(o.length>0?` Did you mean ${o.join(" or ")}?`:"")+` It holds: ${t.join(", ")}. ${s}`),this.name="NotHeld"}}export function strict(c,n,e,t={}){const s=(o,r)=>new NotHeld(n,r,publicNames(Object.getPrototypeOf(o)),e);return new Proxy(c,{get(o,r,i){if(typeof r=="symbol"||r in o||l.has(r))return Reflect.get(o,r,i);if(t.index&&/^(0|[1-9]\d*)$/u.test(r)){const u=t.index(Number(r));if(u===void 0)throw new RangeError(`${n}[${r}]: there is none.`);return u}const f=t.key?.(r);if(f!==void 0)return f;throw s(o,r)},set(o,r,i,f){if(t.setIndex&&typeof r=="string"&&/^(0|[1-9]\d*)$/u.test(r))return t.setIndex(Number(r),i),!0;if(typeof r=="symbol"||r.startsWith("_")||h(o,r))return Reflect.set(o,r,i,f);if(t.setKey?.(r,i)===!0)return!0;throw s(o,r)}})}export function strictEnum(c,n,e){return new Proxy(n,{get(t,s){if(typeof s=="symbol"||Object.hasOwn(t,s)||l.has(s))return Reflect.get(t,s);throw new NotHeld(c,s,Object.keys(t),e)}})}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub-next/formats",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -0,0 +1,37 @@
1
+ import { z } from "zod";
2
+ /** What the card shows of an item, made from its files when it is opened. */
3
+ export declare const PreviewSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ type: z.ZodLiteral<"picture">;
5
+ image: z.ZodObject<{
6
+ mime: z.ZodString;
7
+ data: z.ZodBase64;
8
+ }, z.core.$strict>;
9
+ width: z.ZodInt;
10
+ height: z.ZodInt;
11
+ duration: z.ZodOptional<z.ZodNumber>;
12
+ }, z.core.$strict>, z.ZodObject<{
13
+ type: z.ZodLiteral<"text">;
14
+ lines: z.ZodArray<z.ZodString>;
15
+ }, z.core.$strict>, z.ZodObject<{
16
+ type: z.ZodLiteral<"table">;
17
+ columns: z.ZodArray<z.ZodString>;
18
+ rows: z.ZodArray<z.ZodArray<z.ZodString>>;
19
+ count: z.ZodInt;
20
+ }, z.core.$strict>], "type">;
21
+ export type Preview = z.infer<typeof PreviewSchema>;
22
+ export declare const CardItemSchema: z.ZodObject<{
23
+ kind: z.ZodEnum<{
24
+ video: "video";
25
+ slides: "slides";
26
+ doc: "doc";
27
+ sheet: "sheet";
28
+ scenery: "scenery";
29
+ model: "model";
30
+ website: "website";
31
+ }>;
32
+ dir: z.ZodString;
33
+ entry: z.ZodString;
34
+ title: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strict>;
36
+ export type CardItem = z.infer<typeof CardItemSchema>;
37
+ //# sourceMappingURL=app.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as t}from"zod";import{KINDS as e}from"@allyhub-next/formats";import{PathSchema as i}from"./files.js";import{ImageSchema as r}from"./tools.js";export const PreviewSchema=t.discriminatedUnion("type",[t.strictObject({type:t.literal("picture"),image:r,width:t.int().positive(),height:t.int().positive(),duration:t.number().nonnegative().optional()}),t.strictObject({type:t.literal("text"),lines:t.array(t.string())}),t.strictObject({type:t.literal("table"),columns:t.array(t.string()),rows:t.array(t.array(t.string())),count:t.int().nonnegative()})]),CardItemSchema=t.strictObject({kind:t.enum(e),dir:i,entry:i,title:t.string().optional()});
@@ -113,21 +113,4 @@ export declare const CredentialsFileSchema: z.ZodObject<{
113
113
  since: z.ZodISODateTime;
114
114
  }, z.core.$strict>;
115
115
  export type CredentialsFile = z.infer<typeof CredentialsFileSchema>;
116
- /** What `allyhub auth token --json` prints: an access token for the API, renewed as needed. */
117
- export declare const TokenOutputSchema: z.ZodObject<{
118
- accessToken: z.ZodString;
119
- expiresAt: z.ZodISODateTime;
120
- account: z.ZodObject<{
121
- id: z.ZodString;
122
- email: z.ZodEmail;
123
- name: z.ZodOptional<z.ZodString>;
124
- organization: z.ZodOptional<z.ZodObject<{
125
- id: z.ZodString;
126
- name: z.ZodString;
127
- }, z.core.$strict>>;
128
- }, z.core.$strict>;
129
- }, z.core.$strict>;
130
- export type TokenOutput = z.infer<typeof TokenOutputSchema>;
131
- /** What a client sends with it: `Authorization: Bearer <accessToken>`. */
132
- export declare const bearer: (token: TokenOutput) => string;
133
116
  //# sourceMappingURL=auth.d.ts.map
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as e}from"zod";export const AuthServerSchema=e.object({issuer:e.url(),authorization_endpoint:e.url(),token_endpoint:e.url(),device_authorization_endpoint:e.url(),revocation_endpoint:e.url(),code_challenge_methods_supported:e.array(e.string()).refine(t=>t.includes("S256"),{message:"The server must take S256 PKCE challenges."})}),CLIENT_ID="allyhub-cli",ISSUER_PATH="/api/auth",METADATA_PATH=`/.well-known/oauth-authorization-server${ISSUER_PATH}`,SCOPES="openid profile email offline_access",ACCOUNT_PATH="/api/account",ORGANIZATION_HEADER="x-allyhub-organization",DEVICES_PAGE_PATH="/devices",DEVICES_PATH="/api/account/devices",ACCOUNT_EXPORT_PATH="/api/account/export",ACCOUNT_DELETE_PATH="/api/account/delete",DevicesSchema=e.object({devices:e.array(e.object({id:e.string(),client:e.string(),signedInAt:e.iso.datetime(),lastActiveAt:e.iso.datetime()}))}),BROWSER_LINK_PATH="/api/account/browser-link",BrowserLinkRequestSchema=e.strictObject({to:e.string().startsWith("/")}),BrowserLinkSchema=e.object({url:e.url()}),CREDENTIALS_FILE=".allyhub/credentials.json",TokenResponseSchema=e.object({access_token:e.string().min(1),token_type:e.string(),expires_in:e.number().positive(),refresh_token:e.string().min(1).optional(),scope:e.string().optional()}),OAuthErrorSchema=e.object({error:e.string(),error_description:e.string().optional()}),DeviceAuthorizationSchema=e.object({device_code:e.string().min(1),user_code:e.string().min(1),verification_uri:e.url(),verification_uri_complete:e.url().optional(),expires_in:e.number().positive(),interval:e.number().positive().optional()}),AccountSchema=e.strictObject({id:e.string().min(1),email:e.email(),name:e.string().optional(),organization:e.strictObject({id:e.string().min(1),name:e.string()}).optional()}),CredentialsFileSchema=e.strictObject({version:e.literal(1),url:e.url(),issuer:e.url(),account:AccountSchema,refreshToken:e.string().min(1),access:e.strictObject({token:e.string().min(1),expiresAt:e.iso.datetime({offset:!0})}).optional(),since:e.iso.datetime({offset:!0})}),TokenOutputSchema=e.strictObject({accessToken:e.string().min(1),expiresAt:e.iso.datetime({offset:!0}),account:AccountSchema}),bearer=t=>`Bearer ${t.accessToken}`;
2
+ import{z as e}from"zod";export const AuthServerSchema=e.object({issuer:e.url(),authorization_endpoint:e.url(),token_endpoint:e.url(),device_authorization_endpoint:e.url(),revocation_endpoint:e.url(),code_challenge_methods_supported:e.array(e.string()).refine(t=>t.includes("S256"),{message:"The server must take S256 PKCE challenges."})}),CLIENT_ID="allyhub-cli",ISSUER_PATH="/api/auth",METADATA_PATH=`/.well-known/oauth-authorization-server${ISSUER_PATH}`,SCOPES="openid profile email offline_access",ACCOUNT_PATH="/api/account",ORGANIZATION_HEADER="x-allyhub-organization",DEVICES_PAGE_PATH="/devices",DEVICES_PATH="/api/account/devices",ACCOUNT_EXPORT_PATH="/api/account/export",ACCOUNT_DELETE_PATH="/api/account/delete",DevicesSchema=e.object({devices:e.array(e.object({id:e.string(),client:e.string(),signedInAt:e.iso.datetime(),lastActiveAt:e.iso.datetime()}))}),BROWSER_LINK_PATH="/api/account/browser-link",BrowserLinkRequestSchema=e.strictObject({to:e.string().startsWith("/")}),BrowserLinkSchema=e.object({url:e.url()}),CREDENTIALS_FILE=".allyhub/credentials.json",TokenResponseSchema=e.object({access_token:e.string().min(1),token_type:e.string(),expires_in:e.number().positive(),refresh_token:e.string().min(1).optional(),scope:e.string().optional()}),OAuthErrorSchema=e.object({error:e.string(),error_description:e.string().optional()}),DeviceAuthorizationSchema=e.object({device_code:e.string().min(1),user_code:e.string().min(1),verification_uri:e.url(),verification_uri_complete:e.url().optional(),expires_in:e.number().positive(),interval:e.number().positive().optional()}),AccountSchema=e.strictObject({id:e.string().min(1),email:e.email(),name:e.string().optional(),organization:e.strictObject({id:e.string().min(1),name:e.string()}).optional()}),CredentialsFileSchema=e.strictObject({version:e.literal(1),url:e.url(),issuer:e.url(),account:AccountSchema,refreshToken:e.string().min(1),access:e.strictObject({token:e.string().min(1),expiresAt:e.iso.datetime({offset:!0})}).optional(),since:e.iso.datetime({offset:!0})});
@@ -40,8 +40,6 @@ export interface CommandSpec<I extends z.ZodObject = z.ZodObject, O extends z.Zo
40
40
  output: O;
41
41
  /** Lines of `allyhub help <command>` that show it at work. */
42
42
  examples?: readonly string[];
43
- /** Exposed as an MCP tool by `allyhub mcp` (most are; one that talks to a terminal is not). */
44
- mcp?: boolean;
45
43
  }
46
44
  /** A command's spec, checked: its name's form, and that each positional is a field. */
47
45
  export declare function command<I extends z.ZodObject, O extends z.ZodType>(spec: CommandSpec<I, O>): CommandSpec<I, O>;
@@ -54,6 +52,4 @@ export declare function describeCommand(spec: CommandSpec): {
54
52
  output: Record<string, unknown>;
55
53
  examples: string[];
56
54
  };
57
- /** The MCP tool name of a command: `scenery view` is `allyhub_scenery_view`. */
58
- export declare const toolName: (name: string) => string;
59
55
  //# sourceMappingURL=cli.d.ts.map
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as o}from"zod";export const EXIT={ok:0,failed:1,usage:2,conflict:3,auth:4,platform:5,notFound:6,interrupted:130},CliErrorSchema=o.strictObject({error:o.strictObject({code:o.string().regex(/^[a-z][a-z0-9-]*$/u),message:o.string().min(1),hint:o.string().optional()})}),COMMAND_NAME=/^[a-z0-9][a-z0-9-]*(?: [a-z0-9][a-z0-9-]*)*$/u;export function command(t){if(!COMMAND_NAME.test(t.name))throw new Error(`"${t.name}" is not a command name.`);const e=Object.keys(t.input.shape);for(const n of t.positional??[])if(!e.includes(n))throw new Error(`${t.name}: positional "${n}" is not a field of its input.`);for(const[n,r]of Object.entries(t.input.shape))if(!r.description)throw new Error(`${t.name}: "${n}" has no description.`);return t}export function describeCommand(t){return{name:t.name,summary:t.summary,positional:[...t.positional??[]],input:o.toJSONSchema(t.input,{io:"input",unrepresentable:"any"}),output:o.toJSONSchema(t.output,{io:"output",unrepresentable:"any"}),examples:[...t.examples??[]]}}export const toolName=t=>`allyhub_${t.replaceAll(/[ -]/gu,"_")}`;
2
+ import{z as o}from"zod";export const EXIT={ok:0,failed:1,usage:2,conflict:3,auth:4,platform:5,notFound:6,interrupted:130},CliErrorSchema=o.strictObject({error:o.strictObject({code:o.string().regex(/^[a-z][a-z0-9-]*$/u),message:o.string().min(1),hint:o.string().optional()})}),COMMAND_NAME=/^[a-z0-9][a-z0-9-]*(?: [a-z0-9][a-z0-9-]*)*$/u;export function command(t){if(!COMMAND_NAME.test(t.name))throw new Error(`"${t.name}" is not a command name.`);const e=Object.keys(t.input.shape);for(const n of t.positional??[])if(!e.includes(n))throw new Error(`${t.name}: positional "${n}" is not a field of its input.`);for(const[n,r]of Object.entries(t.input.shape))if(!r.description)throw new Error(`${t.name}: "${n}" has no description.`);return t}export function describeCommand(t){return{name:t.name,summary:t.summary,positional:[...t.positional??[]],input:o.toJSONSchema(t.input,{io:"input",unrepresentable:"any"}),output:o.toJSONSchema(t.output,{io:"output",unrepresentable:"any"}),examples:[...t.examples??[]]}}
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { type ClientOf } from "./jsonrpc.js";
3
+ import type { NoteSurface } from "./notes.js";
3
4
  export declare const ThemeSchema: z.ZodEnum<{
4
5
  light: "light";
5
6
  dark: "dark";
@@ -115,19 +116,11 @@ export declare const HOST_METHODS: {
115
116
  }>;
116
117
  message: z.ZodOptional<z.ZodString>;
117
118
  }, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
118
- readonly "editor/context": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
119
+ readonly "agent/ask": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
119
120
  text: z.ZodString;
120
- at: z.ZodOptional<z.ZodObject<{
121
- t: z.ZodNumber;
122
- version: z.ZodString;
123
- }, z.core.$strict>>;
124
- picture: z.ZodOptional<z.ZodObject<{
125
- x: z.ZodNumber;
126
- y: z.ZodNumber;
127
- width: z.ZodNumber;
128
- height: z.ZodNumber;
129
- }, z.core.$strict>>;
130
- }, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
121
+ }, z.core.$strict>, z.ZodObject<{
122
+ delivered: z.ZodBoolean;
123
+ }, z.core.$strict>>;
131
124
  readonly "tools/call": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
132
125
  name: z.ZodString;
133
126
  arguments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -176,6 +169,7 @@ export declare const HOST_NOTIFICATIONS: {
176
169
  item: z.ZodString;
177
170
  versions: z.ZodArray<z.ZodString>;
178
171
  types: z.ZodArray<z.ZodString>;
172
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
179
173
  state: z.ZodEnum<{
180
174
  running: "running";
181
175
  done: "done";
@@ -249,6 +243,11 @@ export declare const HOST_NOTIFICATIONS: {
249
243
  website: "website";
250
244
  }>;
251
245
  }, z.core.$strict>>;
246
+ readonly "editor/command": import("./jsonrpc.js").NotificationSpec<z.ZodObject<{
247
+ command: z.ZodEnum<{
248
+ export: "export";
249
+ }>;
250
+ }, z.core.$strict>>;
252
251
  };
253
252
  /** Every method an editor may call on its host. */
254
253
  export declare const EDITOR_HOST_METHODS: {
@@ -315,19 +314,11 @@ export declare const EDITOR_HOST_METHODS: {
315
314
  }>;
316
315
  message: z.ZodOptional<z.ZodString>;
317
316
  }, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
318
- readonly "editor/context": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
317
+ readonly "agent/ask": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
319
318
  text: z.ZodString;
320
- at: z.ZodOptional<z.ZodObject<{
321
- t: z.ZodNumber;
322
- version: z.ZodString;
323
- }, z.core.$strict>>;
324
- picture: z.ZodOptional<z.ZodObject<{
325
- x: z.ZodNumber;
326
- y: z.ZodNumber;
327
- width: z.ZodNumber;
328
- height: z.ZodNumber;
329
- }, z.core.$strict>>;
330
- }, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
319
+ }, z.core.$strict>, z.ZodObject<{
320
+ delivered: z.ZodBoolean;
321
+ }, z.core.$strict>>;
331
322
  readonly "tools/call": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
332
323
  name: z.ZodString;
333
324
  arguments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -405,5 +396,7 @@ export declare const EDITOR_HOST_METHODS: {
405
396
  export type EditorHost = ClientOf<typeof EDITOR_HOST_METHODS> & {
406
397
  /** Tells `files/changed`, `host/context-changed` and the tools' notifications; answers how to stop. */
407
398
  on<N extends keyof typeof HOST_NOTIFICATIONS>(name: N, listener: (params: z.output<(typeof HOST_NOTIFICATIONS)[N]["params"]>) => void): () => void;
399
+ /** Gives the host what it asks of the editor for a person's notes; answers how to stop. Absent where nobody takes notes. */
400
+ notes?(surface: NoteSurface): () => void;
408
401
  };
409
402
  //# sourceMappingURL=editor.d.ts.map
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as t}from"zod";import{EDITORS as r,KINDS as s}from"@allyhub-next/formats";import{FILE_METHODS as n,FILE_NOTIFICATIONS as i,PathSchema as o}from"./files.js";import{method as e,notification as a}from"./jsonrpc.js";import{TOOL_NOTIFICATIONS as c}from"./tools.js";export const ThemeSchema=t.enum(["light","dark"]),HostContextSchema=t.strictObject({locale:t.string().min(2),theme:ThemeSchema,agent:t.strictObject({name:t.string().min(1)}).optional(),project:t.strictObject({name:t.string().min(1)}),item:t.strictObject({kind:t.enum(s),dir:o,entry:o}),editor:t.enum(r)}),OpenTargetSchema=t.discriminatedUnion("type",[t.strictObject({type:t.literal("file"),path:o,line:t.int().positive().optional()}),t.strictObject({type:t.literal("browser"),url:t.url({protocol:/^https?$/u}).optional(),tabId:t.string().min(1).optional()})]),EDITOR_STATES=["saved","saving","unsaved","error"],HOST_METHODS={"host/context":e(t.strictObject({}),HostContextSchema,"Where the editor runs."),"items/open":e(t.strictObject({target:OpenTargetSchema}),t.strictObject({}),"Shows another item, a file or a page, where the host shows things."),"storage/get":e(t.strictObject({key:t.string().min(1)}),t.strictObject({value:t.unknown()}),"What the editor kept for this person on this computer (a hand sort, what was last seen), or null."),"storage/set":e(t.strictObject({key:t.string().min(1),value:t.unknown()}),t.strictObject({}),"Keeps a value for this person on this computer; null removes it."),"editor/state":e(t.strictObject({state:t.enum(EDITOR_STATES),message:t.string().optional()}),t.strictObject({}),"Says whether what the person typed is saved."),"editor/context":e(t.strictObject({text:t.string(),at:t.strictObject({t:t.number().nonnegative(),version:t.string()}).optional(),picture:t.strictObject({x:t.number(),y:t.number(),width:t.number().positive(),height:t.number().positive()}).optional()}),t.strictObject({}),"Tells the host what the editor shows, as MCP Apps' ui/update-model-context does: what a note the person makes on it is about."),"tools/call":e(t.strictObject({name:t.string().min(1),arguments:t.record(t.string(),t.unknown()).default({})}),t.strictObject({result:t.unknown()}),"Runs one of the project server's tools (tools.ts's PROJECT_TOOLS), for an editor that needs more than files (a video's preview, a still).")},HOST_NOTIFICATIONS={"host/context-changed":a(HostContextSchema,"The language, theme or agent changed."),...i,...c},EDITOR_HOST_METHODS={...n,...HOST_METHODS};
2
+ import{z as t}from"zod";import{EDITORS as s,KINDS as n}from"@allyhub-next/formats";import{FILE_METHODS as i,FILE_NOTIFICATIONS as a,PathSchema as o}from"./files.js";import{method as e,notification as r}from"./jsonrpc.js";import{TOOL_NOTIFICATIONS as c}from"./tools.js";export const ThemeSchema=t.enum(["light","dark"]),HostContextSchema=t.strictObject({locale:t.string().min(2),theme:ThemeSchema,agent:t.strictObject({name:t.string().min(1)}).optional(),project:t.strictObject({name:t.string().min(1)}),item:t.strictObject({kind:t.enum(n),dir:o,entry:o}),editor:t.enum(s)}),OpenTargetSchema=t.discriminatedUnion("type",[t.strictObject({type:t.literal("file"),path:o,line:t.int().positive().optional()}),t.strictObject({type:t.literal("browser"),url:t.url({protocol:/^https?$/u}).optional(),tabId:t.string().min(1).optional()})]),EDITOR_STATES=["saved","saving","unsaved","error"],HOST_METHODS={"host/context":e(t.strictObject({}),HostContextSchema,"Where the editor runs."),"items/open":e(t.strictObject({target:OpenTargetSchema}),t.strictObject({}),"Shows another item, a file or a page, where the host shows things."),"storage/get":e(t.strictObject({key:t.string().min(1)}),t.strictObject({value:t.unknown()}),"What the editor kept for this person on this computer (a hand sort, what was last seen), or null."),"storage/set":e(t.strictObject({key:t.string().min(1),value:t.unknown()}),t.strictObject({}),"Keeps a value for this person on this computer; null removes it."),"editor/state":e(t.strictObject({state:t.enum(EDITOR_STATES),message:t.string().optional()}),t.strictObject({}),"Says whether what the person typed is saved."),"agent/ask":e(t.strictObject({text:t.string().min(1)}),t.strictObject({delivered:t.boolean()}),"Puts words before the person's agent, for them to go on and send; false where no agent takes them. Never sent by itself."),"tools/call":e(t.strictObject({name:t.string().min(1),arguments:t.record(t.string(),t.unknown()).default({})}),t.strictObject({result:t.unknown()}),"Runs one of the project server's tools (tools.ts's PROJECT_TOOLS), for an editor that needs more than files (a video's preview, a still).")},HOST_NOTIFICATIONS={"host/context-changed":r(HostContextSchema,"The language, theme or agent changed."),"editor/command":r(t.strictObject({command:t.enum(["export"])}),"The host around the editor asked it to do what its own shortcut does."),...a,...c},EDITOR_HOST_METHODS={...i,...HOST_METHODS};
@@ -1,6 +1,7 @@
1
1
  export * from "./jsonrpc.js";
2
2
  export * from "./files.js";
3
3
  export * from "./editor.js";
4
+ export * from "./notes.js";
4
5
  export * from "./tools.js";
5
6
  export * from "./cli.js";
6
7
  export * from "./auth.js";
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export*from"./jsonrpc.js";export*from"./files.js";export*from"./editor.js";export*from"./notes.js";export*from"./tools.js";export*from"./cli.js";export*from"./auth.js";export*from"./registry.js";export*from"./runtimes.js";export*from"./cloud.js";export*from"./teams.js";export*from"./app.js";export*from"./routes.js";
@@ -0,0 +1,165 @@
1
+ import { z } from "zod";
2
+ import { pointsOf, mapShape, touches, type NoteShape } from "@allyhub-next/formats";
3
+ export declare const NoteRectSchema: z.ZodObject<{
4
+ x: z.ZodNumber;
5
+ y: z.ZodNumber;
6
+ width: z.ZodNumber;
7
+ height: z.ZodNumber;
8
+ }, z.core.$strict>;
9
+ export type NoteRect = z.infer<typeof NoteRectSchema>;
10
+ /** A mark as the host tells it, px of the surface: its shape, and nothing of what is under it. */
11
+ export declare const NoteShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12
+ kind: z.ZodLiteral<"box">;
13
+ rect: z.ZodObject<{
14
+ x: z.ZodNumber;
15
+ y: z.ZodNumber;
16
+ width: z.ZodNumber;
17
+ height: z.ZodNumber;
18
+ }, z.core.$strict>;
19
+ }, z.core.$strict>, z.ZodObject<{
20
+ kind: z.ZodLiteral<"round">;
21
+ rect: z.ZodObject<{
22
+ x: z.ZodNumber;
23
+ y: z.ZodNumber;
24
+ width: z.ZodNumber;
25
+ height: z.ZodNumber;
26
+ }, z.core.$strict>;
27
+ }, z.core.$strict>, z.ZodObject<{
28
+ kind: z.ZodLiteral<"arrow">;
29
+ from: z.ZodObject<{
30
+ x: z.ZodNumber;
31
+ y: z.ZodNumber;
32
+ }, z.core.$strict>;
33
+ to: z.ZodObject<{
34
+ x: z.ZodNumber;
35
+ y: z.ZodNumber;
36
+ }, z.core.$strict>;
37
+ }, z.core.$strict>, z.ZodObject<{
38
+ kind: z.ZodLiteral<"line">;
39
+ points: z.ZodArray<z.ZodObject<{
40
+ x: z.ZodNumber;
41
+ y: z.ZodNumber;
42
+ }, z.core.$strict>>;
43
+ }, z.core.$strict>], "kind">;
44
+ export { mapShape, pointsOf, touches };
45
+ export type { NoteShape };
46
+ /** Where to change something: a project's file, and its line. */
47
+ export declare const NoteSourceSchema: z.ZodObject<{
48
+ path: z.ZodString;
49
+ line: z.ZodOptional<z.ZodInt>;
50
+ }, z.core.$strict>;
51
+ export type NoteSource = z.infer<typeof NoteSourceSchema>;
52
+ export declare const FrozenSchema: z.ZodObject<{
53
+ key: z.ZodString;
54
+ what: z.ZodString;
55
+ source: z.ZodOptional<z.ZodObject<{
56
+ path: z.ZodString;
57
+ line: z.ZodOptional<z.ZodInt>;
58
+ }, z.core.$strict>>;
59
+ }, z.core.$strict>;
60
+ export type Frozen = z.infer<typeof FrozenSchema>;
61
+ export declare const NotePictureSchema: z.ZodObject<{
62
+ rect: z.ZodOptional<z.ZodObject<{
63
+ x: z.ZodNumber;
64
+ y: z.ZodNumber;
65
+ width: z.ZodNumber;
66
+ height: z.ZodNumber;
67
+ }, z.core.$strict>>;
68
+ mime: z.ZodString;
69
+ data: z.ZodString;
70
+ }, z.core.$strict>;
71
+ export type NotePicture = z.infer<typeof NotePictureSchema>;
72
+ export declare const NoteElementSchema: z.ZodObject<{
73
+ name: z.ZodString;
74
+ source: z.ZodOptional<z.ZodObject<{
75
+ path: z.ZodString;
76
+ line: z.ZodOptional<z.ZodInt>;
77
+ }, z.core.$strict>>;
78
+ text: z.ZodOptional<z.ZodString>;
79
+ }, z.core.$strict>;
80
+ export type NoteElement = z.infer<typeof NoteElementSchema>;
81
+ /**
82
+ * What a framed page tells the window that holds it: it answers `NOTE_METHODS`
83
+ * from now on, or no longer. The window asks only a page that has said so.
84
+ */
85
+ export declare const NOTE_READY = "note/ready";
86
+ /** What a framed page tells the window: words for the agent's composer. */
87
+ export declare const AGENT_ASK = "agent/ask";
88
+ export declare const NOTE_GONE = "note/gone";
89
+ export declare const NOTE_METHODS: {
90
+ readonly "note/freeze": import("./jsonrpc.js").MethodSpec<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
91
+ key: z.ZodString;
92
+ what: z.ZodString;
93
+ source: z.ZodOptional<z.ZodObject<{
94
+ path: z.ZodString;
95
+ line: z.ZodOptional<z.ZodInt>;
96
+ }, z.core.$strict>>;
97
+ }, z.core.$strict>>;
98
+ readonly "note/pictures": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
99
+ page: z.ZodBoolean;
100
+ }, z.core.$strict>, z.ZodObject<{
101
+ pictures: z.ZodArray<z.ZodObject<{
102
+ rect: z.ZodOptional<z.ZodObject<{
103
+ x: z.ZodNumber;
104
+ y: z.ZodNumber;
105
+ width: z.ZodNumber;
106
+ height: z.ZodNumber;
107
+ }, z.core.$strict>>;
108
+ mime: z.ZodString;
109
+ data: z.ZodString;
110
+ }, z.core.$strict>>;
111
+ }, z.core.$strict>>;
112
+ readonly "note/locate": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
113
+ mark: z.ZodDiscriminatedUnion<[z.ZodObject<{
114
+ kind: z.ZodLiteral<"box">;
115
+ rect: z.ZodObject<{
116
+ x: z.ZodNumber;
117
+ y: z.ZodNumber;
118
+ width: z.ZodNumber;
119
+ height: z.ZodNumber;
120
+ }, z.core.$strict>;
121
+ }, z.core.$strict>, z.ZodObject<{
122
+ kind: z.ZodLiteral<"round">;
123
+ rect: z.ZodObject<{
124
+ x: z.ZodNumber;
125
+ y: z.ZodNumber;
126
+ width: z.ZodNumber;
127
+ height: z.ZodNumber;
128
+ }, z.core.$strict>;
129
+ }, z.core.$strict>, z.ZodObject<{
130
+ kind: z.ZodLiteral<"arrow">;
131
+ from: z.ZodObject<{
132
+ x: z.ZodNumber;
133
+ y: z.ZodNumber;
134
+ }, z.core.$strict>;
135
+ to: z.ZodObject<{
136
+ x: z.ZodNumber;
137
+ y: z.ZodNumber;
138
+ }, z.core.$strict>;
139
+ }, z.core.$strict>, z.ZodObject<{
140
+ kind: z.ZodLiteral<"line">;
141
+ points: z.ZodArray<z.ZodObject<{
142
+ x: z.ZodNumber;
143
+ y: z.ZodNumber;
144
+ }, z.core.$strict>>;
145
+ }, z.core.$strict>], "kind">;
146
+ }, z.core.$strict>, z.ZodObject<{
147
+ elements: z.ZodArray<z.ZodObject<{
148
+ name: z.ZodString;
149
+ source: z.ZodOptional<z.ZodObject<{
150
+ path: z.ZodString;
151
+ line: z.ZodOptional<z.ZodInt>;
152
+ }, z.core.$strict>>;
153
+ text: z.ZodOptional<z.ZodString>;
154
+ }, z.core.$strict>>;
155
+ }, z.core.$strict>>;
156
+ readonly "note/thaw": import("./jsonrpc.js").MethodSpec<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
157
+ };
158
+ /** What an editor gives its host for notes on it, for as long as it is on show. */
159
+ export interface NoteSurface {
160
+ freeze(): Promise<Frozen>;
161
+ pictures?(): Promise<NotePicture[]>;
162
+ locate?(mark: NoteShape): Promise<NoteElement[]>;
163
+ thaw?(): void;
164
+ }
165
+ //# sourceMappingURL=notes.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as t}from"zod";import{pointsOf as r,mapShape as n,touches as s}from"@allyhub-next/formats";import{PathSchema as i}from"./files.js";import{method as e}from"./jsonrpc.js";export const NoteRectSchema=t.strictObject({x:t.number(),y:t.number(),width:t.number().nonnegative(),height:t.number().nonnegative()});const o=t.strictObject({x:t.number(),y:t.number()});export const NoteShapeSchema=t.discriminatedUnion("kind",[t.strictObject({kind:t.literal("box"),rect:NoteRectSchema}),t.strictObject({kind:t.literal("round"),rect:NoteRectSchema}),t.strictObject({kind:t.literal("arrow"),from:o,to:o}),t.strictObject({kind:t.literal("line"),points:t.array(o).min(1)})]);export{n as mapShape,r as pointsOf,s as touches};export const NoteSourceSchema=t.strictObject({path:i,line:t.int().positive().optional()}),FrozenSchema=t.strictObject({key:t.string().min(1),what:t.string(),source:NoteSourceSchema.optional()}),NotePictureSchema=t.strictObject({rect:NoteRectSchema.optional(),mime:t.string().min(1),data:t.string().min(1)}),NoteElementSchema=t.strictObject({name:t.string().min(1),source:NoteSourceSchema.optional(),text:t.string().optional()}),NOTE_READY="note/ready",AGENT_ASK="agent/ask",NOTE_GONE="note/gone",NOTE_METHODS={"note/freeze":e(t.strictObject({}),FrozenSchema,"Stops what moves and says what is on show. Answered once it is drawn, so a page still loading is not captured empty."),"note/pictures":e(t.strictObject({page:t.boolean()}),t.strictObject({pictures:t.array(NotePictureSchema)}),"What is on show drawn better than a screenshot can, or what a screenshot cannot reach: a render's frame, a frame of its own. Laid in order over the host's screenshot."),"note/locate":e(t.strictObject({mark:NoteShapeSchema}),t.strictObject({elements:t.array(NoteElementSchema)}),"What a mark is on, while frozen: the surface alone knows what it shows, and says it in its own terms, with its file and line where it knows them. Empty is an answer: the mark's place still goes."),"note/thaw":e(t.strictObject({}),t.strictObject({}),"The person is done. Nothing starts by itself: a video that was paused stays paused.")};
@@ -144,8 +144,8 @@ export declare const RegistryIndexSchema: z.ZodObject<{
144
144
  title: z.ZodString;
145
145
  description: z.ZodString;
146
146
  version: z.ZodOptional<z.ZodString>;
147
- preview: z.ZodOptional<z.ZodString>;
148
147
  categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
148
+ preview: z.ZodOptional<z.ZodString>;
149
149
  card: z.ZodOptional<z.ZodObject<{
150
150
  category: z.ZodEnum<{
151
151
  video: "video";
@@ -10,6 +10,7 @@ export declare const RuntimeFileSchema: z.ZodObject<{
10
10
  none: "none";
11
11
  zip: "zip";
12
12
  tgz: "tgz";
13
+ dmg: "dmg";
13
14
  }>>;
14
15
  name: z.ZodOptional<z.ZodString>;
15
16
  check: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -39,6 +40,7 @@ export declare const RuntimeSchema: z.ZodObject<{
39
40
  none: "none";
40
41
  zip: "zip";
41
42
  tgz: "tgz";
43
+ dmg: "dmg";
42
44
  }>>;
43
45
  name: z.ZodOptional<z.ZodString>;
44
46
  check: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -72,6 +74,7 @@ export declare const RuntimeManifestSchema: z.ZodObject<{
72
74
  none: "none";
73
75
  zip: "zip";
74
76
  tgz: "tgz";
77
+ dmg: "dmg";
75
78
  }>>;
76
79
  name: z.ZodOptional<z.ZodString>;
77
80
  check: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as t}from"zod";export const PLATFORMS=["darwin-arm64","darwin-x64","linux-x64","linux-arm64","win32-x64"];const s=t.string().regex(/^[0-9a-f]{64}$/u),i=t.string().min(1).refine(e=>!e.startsWith("/")&&!e.split(/[\\/]/u).includes(".."),{message:"A path stays inside the runtime's folder."});export const RuntimeFileSchema=t.strictObject({url:t.url({protocol:/^https$/u}),sha256:s,size:t.int().positive(),unpack:t.enum(["none","zip","tgz","dmg"]).default("none"),name:i.optional(),check:t.array(t.strictObject({path:i,sha256:s})).default([]),executable:t.boolean().default(!1),bins:t.record(t.string().regex(/^[a-z0-9][a-z0-9-]*$/u),i).default({})}),RuntimeSchema=t.strictObject({about:t.string().min(1),version:t.string().min(1),license:t.string().min(1),homepage:t.url().optional(),platforms:t.partialRecord(t.union([t.enum(PLATFORMS),t.literal("any")]),t.array(RuntimeFileSchema).min(1))}),RuntimeManifestSchema=t.strictObject({$schema:t.string().optional(),version:t.literal(1),runtimes:t.record(t.string().regex(/^[a-z0-9][a-z0-9-]*$/u),RuntimeSchema)});export function platformOf(e,n){const r=`${e}-${n}`;return PLATFORMS.includes(r)?r:void 0}export function binsOf(e){return Object.assign({},...e.map(n=>n.bins))}export function filesFor(e,n){return e.platforms[n]??e.platforms.any}
@@ -67,11 +67,15 @@ export declare const CheckStateSchema: z.ZodObject<{
67
67
  export type CheckState = z.infer<typeof CheckStateSchema>;
68
68
  export declare const EXPORT_STATES: readonly ["queued", "running", "done", "failed", "cancelled"];
69
69
  /** An export the person asked for, one at a time. */
70
+ /** The choices an export is made with (`EXPORT_OFFER`). */
71
+ export declare const ExportOptionsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
72
+ export type ExportOptions = z.infer<typeof ExportOptionsSchema>;
70
73
  export declare const ExportJobSchema: z.ZodObject<{
71
74
  id: z.ZodString;
72
75
  item: z.ZodString;
73
76
  versions: z.ZodArray<z.ZodString>;
74
77
  types: z.ZodArray<z.ZodString>;
78
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
75
79
  state: z.ZodEnum<{
76
80
  running: "running";
77
81
  done: "done";
@@ -116,6 +120,12 @@ export declare const PROJECT_TOOLS: {
116
120
  name: z.ZodString;
117
121
  revision: z.ZodInt;
118
122
  }, z.core.$strict>>;
123
+ readonly "sheet/generated": MethodSpec<z.ZodObject<{
124
+ item: z.ZodString;
125
+ }, z.core.$strict>, z.ZodObject<{
126
+ generated: z.ZodOptional<z.ZodUnknown>;
127
+ failed: z.ZodBoolean;
128
+ }, z.core.$strict>>;
119
129
  readonly "video/versions": MethodSpec<z.ZodObject<{
120
130
  item: z.ZodString;
121
131
  }, z.core.$strict>, z.ZodObject<{
@@ -132,6 +142,17 @@ export declare const PROJECT_TOOLS: {
132
142
  lang: z.ZodOptional<z.ZodString>;
133
143
  }, z.core.$strict>>;
134
144
  }, z.core.$strict>>;
145
+ readonly "slides/deck": MethodSpec<z.ZodObject<{
146
+ item: z.ZodString;
147
+ }, z.core.$strict>, z.ZodObject<{
148
+ piece: z.ZodString;
149
+ file: z.ZodString;
150
+ prefix: z.ZodString;
151
+ layouts: z.ZodArray<z.ZodString>;
152
+ components: z.ZodRecord<z.ZodString, z.ZodUnknown>;
153
+ generators: z.ZodArray<z.ZodString>;
154
+ scripts: z.ZodRecord<z.ZodString, z.ZodString>;
155
+ }, z.core.$strict>>;
135
156
  readonly "video/stage": MethodSpec<z.ZodObject<{
136
157
  start: z.ZodOptional<z.ZodObject<{
137
158
  t: z.ZodOptional<z.ZodNumber>;
@@ -141,6 +162,7 @@ export declare const PROJECT_TOOLS: {
141
162
  }, z.core.$strict>>;
142
163
  play: z.ZodOptional<z.ZodBoolean>;
143
164
  chrome: z.ZodOptional<z.ZodBoolean>;
165
+ edit: z.ZodOptional<z.ZodBoolean>;
144
166
  item: z.ZodString;
145
167
  version: z.ZodOptional<z.ZodString>;
146
168
  }, z.core.$strict>, z.ZodObject<{
@@ -174,6 +196,19 @@ export declare const PROJECT_TOOLS: {
174
196
  height: z.ZodInt;
175
197
  duration: z.ZodNumber;
176
198
  }, z.core.$strict>>;
199
+ readonly "video/stills": MethodSpec<z.ZodObject<{
200
+ moments: z.ZodArray<z.ZodNumber>;
201
+ item: z.ZodString;
202
+ version: z.ZodOptional<z.ZodString>;
203
+ }, z.core.$strict>, z.ZodObject<{
204
+ stills: z.ZodArray<z.ZodObject<{
205
+ t: z.ZodNumber;
206
+ image: z.ZodObject<{
207
+ mime: z.ZodString;
208
+ data: z.ZodBase64;
209
+ }, z.core.$strict>;
210
+ }, z.core.$strict>>;
211
+ }, z.core.$strict>>;
177
212
  readonly "check/results": MethodSpec<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
178
213
  status: z.ZodEnum<{
179
214
  off: "off";
@@ -210,12 +245,14 @@ export declare const PROJECT_TOOLS: {
210
245
  item: z.ZodString;
211
246
  versions: z.ZodOptional<z.ZodArray<z.ZodString>>;
212
247
  types: z.ZodOptional<z.ZodArray<z.ZodString>>;
248
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
213
249
  }, z.core.$strict>, z.ZodObject<{
214
250
  job: z.ZodObject<{
215
251
  id: z.ZodString;
216
252
  item: z.ZodString;
217
253
  versions: z.ZodArray<z.ZodString>;
218
254
  types: z.ZodArray<z.ZodString>;
255
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
219
256
  state: z.ZodEnum<{
220
257
  running: "running";
221
258
  done: "done";
@@ -237,6 +274,7 @@ export declare const PROJECT_TOOLS: {
237
274
  item: z.ZodString;
238
275
  versions: z.ZodArray<z.ZodString>;
239
276
  types: z.ZodArray<z.ZodString>;
277
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
240
278
  state: z.ZodEnum<{
241
279
  running: "running";
242
280
  done: "done";
@@ -248,7 +286,11 @@ export declare const PROJECT_TOOLS: {
248
286
  files: z.ZodArray<z.ZodString>;
249
287
  error: z.ZodOptional<z.ZodString>;
250
288
  }, z.core.$strict>>;
289
+ reveal: z.ZodBoolean;
251
290
  }, z.core.$strict>>;
291
+ readonly "export/reveal": MethodSpec<z.ZodObject<{
292
+ path: z.ZodString;
293
+ }, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
252
294
  readonly "scenery/viewer": MethodSpec<z.ZodObject<{
253
295
  item: z.ZodString;
254
296
  camera: z.ZodOptional<z.ZodObject<{
@@ -318,6 +360,7 @@ export declare const TOOL_NOTIFICATIONS: {
318
360
  item: z.ZodString;
319
361
  versions: z.ZodArray<z.ZodString>;
320
362
  types: z.ZodArray<z.ZodString>;
363
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
321
364
  state: z.ZodEnum<{
322
365
  running: "running";
323
366
  done: "done";
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as e}from"zod";import{KINDS as c}from"@allyhub-next/formats";import{PathSchema as r}from"./files.js";import{method as t,notification as s}from"./jsonrpc.js";const i={item:r,version:e.string().optional()};export const ImageSchema=e.strictObject({mime:e.string().regex(/^image\//u),data:e.base64()}),ProblemSchema=e.looseObject({code:e.string(),level:e.enum(["error","warn"]),message:e.string(),piece:e.string().optional(),part:e.string().optional(),t:e.number().optional()}),FactSchema=e.looseObject({kind:e.string(),data:e.unknown()}),TimelineSchema=e.looseObject({fps:e.number(),width:e.number(),height:e.number(),duration:e.number(),parts:e.array(e.unknown())}),CHECK_STATES=["off","waiting","running","done","failed"],CheckStateSchema=e.strictObject({status:e.enum(CHECK_STATES),revision:e.int().nonnegative(),problems:e.array(ProblemSchema),facts:e.array(FactSchema),versions:e.strictObject({total:e.int(),loaded:e.int(),reused:e.int()}).optional(),error:e.string().optional()}),EXPORT_STATES=["queued","running","done","failed","cancelled"],ExportOptionsSchema=e.record(e.string(),e.union([e.string(),e.boolean()])),ExportJobSchema=e.strictObject({id:e.string(),item:r,versions:e.array(e.string()),types:e.array(e.string()),options:ExportOptionsSchema.optional(),state:e.enum(EXPORT_STATES),progress:e.number().min(0).max(1),files:e.array(r),error:e.string().optional()}),IndexJobSchema=e.strictObject({file:r,status:e.enum(["running","done","failed"]),message:e.string(),share:e.number().min(0).max(1).optional()});const o=e.tuple([e.number(),e.number(),e.number()]),a=e.strictObject({url:e.string(),probe:e.string()});export const PROJECT_TOOLS={"project/items":t(e.strictObject({}),e.strictObject({items:e.array(e.strictObject({kind:e.enum(c),dir:r,entry:r,title:e.string().optional()})),folder:e.string(),name:e.string(),revision:e.int().nonnegative()}),"The project's items, as the build finds them."),"sheet/generated":t(e.strictObject({item:r}),e.strictObject({generated:e.unknown().optional(),failed:e.boolean()}),"What a sheet's sheet.ts makes now: sheets as sheet.yaml would hold them. Never written to a file."),"video/versions":t(e.strictObject({item:r}),e.strictObject({piece:e.string(),kind:e.enum(["video","slides"]),title:e.string().optional(),width:e.number(),height:e.number(),versions:e.array(e.strictObject({key:e.string(),lang:e.string().optional()}))}),"A video's or a deck's versions, one per language: what its stage, its timeline and its exports are asked for."),"slides/deck":t(e.strictObject({item:r}),e.strictObject({piece:e.string(),file:r,prefix:e.string(),layouts:e.array(e.string()),components:e.record(e.string(),e.unknown()),generators:e.array(e.string()),scripts:e.record(e.string(),r)}),"A deck's layouts, components and generators, and its files: slides.yaml (its slides) and its script in each language (their words and notes), which the deck's editor edits."),"video/stage":t(e.strictObject({...i,start:e.strictObject({t:e.number().nonnegative().optional(),part:e.string().optional(),offset:e.number().nonnegative().optional(),dur:e.number().positive().optional()}).optional(),play:e.boolean().optional(),chrome:e.boolean().optional(),edit:e.boolean().optional()}),a,"The address of a version's stage page, for a sandboxed frame: it plays the piece and talks to its parent by postMessage."),"video/timeline":t(e.strictObject(i),e.strictObject({timeline:TimelineSchema,text:e.array(e.unknown())}),"A version's timeline, drawn nowhere."),"video/still":t(e.strictObject({...i,t:e.number().nonnegative().optional()}),e.strictObject({t:e.number(),image:ImageSchema,width:e.int().positive(),height:e.int().positive(),duration:e.number().nonnegative()}),"A moment of a version as the render draws it, as a picture."),"video/stills":t(e.strictObject({...i,moments:e.array(e.number().nonnegative()).min(1).max(32)}),e.strictObject({stills:e.array(e.strictObject({t:e.number(),image:ImageSchema}))}),"Several moments of a version as the render draws them: what `video/still` gives, on one page."),"check/results":t(e.strictObject({}),CheckStateSchema,"The check run after edits, as it stands."),"check/run":t(e.strictObject({}),e.strictObject({}),"Runs the check again now."),"export/start":t(e.strictObject({item:r,versions:e.array(e.string()).optional(),types:e.array(e.string().min(1)).max(10).optional(),options:ExportOptionsSchema.optional()}),e.strictObject({job:ExportJobSchema}),"Exports an item (its versions, as file types) into .allyhub/out/; `export/changed` says how it goes."),"export/cancel":t(e.strictObject({job:e.string()}),e.strictObject({}),"Stops an export."),"export/list":t(e.strictObject({}),e.strictObject({jobs:e.array(ExportJobSchema),reveal:e.boolean()}),"The exports asked for since the server started."),"export/reveal":t(e.strictObject({path:r}),e.strictObject({}),"Shows an exported file in the person's file manager, where the server runs on their computer (`export/list`'s `reveal`)."),"scenery/viewer":t(e.strictObject({item:r,camera:e.strictObject({position:o,target:o}).optional()}),a,"The address of a scenery's viewer page, for a sandboxed frame: it tells what the person does by postMessage.")},AGENT_DOES={"project/items":{files:"the project's folder"},"sheet/generated":{files:"the item's sheet.ts and sheet.yaml"},"video/versions":{command:"inspect combos"},"slides/deck":{files:"slides.ts, slides.yaml and the item's script.<locale>.yaml"},"video/stage":{command:"frames"},"video/timeline":{command:"inspect timeline"},"video/still":{command:"frames"},"video/stills":{command:"frames"},"check/results":{command:"inspect"},"check/run":{command:"check"},"export/start":{command:"render"},"export/cancel":{command:"render"},"export/list":{files:".allyhub/out/"},"export/reveal":{files:".allyhub/out/"},"scenery/viewer":{command:"scenery view"}};export function toolSpec(n){return Object.hasOwn(PROJECT_TOOLS,n)?PROJECT_TOOLS[n]:void 0}export const TOOL_NOTIFICATIONS={"project/changed":s(e.strictObject({revision:e.int().nonnegative()}),"The build saw a change: a stage or a timeline asked for now is the new one's."),"check/changed":s(CheckStateSchema,"The check started, ended or failed."),"export/changed":s(e.strictObject({job:ExportJobSchema}),"An export moved on."),"index/changed":s(e.strictObject({jobs:e.array(IndexJobSchema)}),"Making what the media index lacks moved on.")};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub-next/protocol",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {