allyhub 0.20.0 → 0.22.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 (323) hide show
  1. package/dist/commands/cloud-tools.js +5 -5
  2. package/dist/commands/export.js +1 -1
  3. package/dist/commands/frames.js +8 -8
  4. package/dist/commands/index.js +1 -1
  5. package/dist/commands/run.js +2 -0
  6. package/dist/commands.json +1 -1
  7. package/dist/help.js +3 -3
  8. package/dist/main.js +4 -4
  9. package/dist/node_modules/@allyhub/3d-extension/package.json +1 -1
  10. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  11. package/dist/node_modules/@allyhub/blocks/dist/elements.js +1 -1
  12. package/dist/node_modules/@allyhub/blocks/dist/layout.js +1 -1
  13. package/dist/node_modules/@allyhub/blocks/dist/palette.js +1 -1
  14. package/dist/node_modules/@allyhub/blocks/dist/resolve.js +1 -1
  15. package/dist/node_modules/@allyhub/blocks/package.json +1 -1
  16. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  17. package/dist/node_modules/@allyhub/build/dist/migrate.js +1 -1
  18. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  19. package/dist/node_modules/@allyhub/build/dist/project-root.js +1 -1
  20. package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
  21. package/dist/node_modules/@allyhub/build/package.json +1 -1
  22. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  23. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  24. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  25. package/dist/node_modules/@allyhub/check/package.json +1 -1
  26. package/dist/node_modules/@allyhub/cloud/dist/call.js +2 -2
  27. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  28. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  29. package/dist/node_modules/@allyhub/components/package.json +1 -1
  30. package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
  31. package/dist/node_modules/@allyhub/dev-server/dist/record.js +2 -1
  32. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  33. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  34. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  35. package/dist/node_modules/@allyhub/doc/dist/block-shapes.js +2 -0
  36. package/dist/node_modules/@allyhub/doc/dist/blocks.js +1 -1
  37. package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -5
  38. package/dist/node_modules/@allyhub/doc/dist/shapes.js +2 -2
  39. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  40. package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +1 -1
  41. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
  42. package/dist/node_modules/@allyhub/doc-extension/package.json +1 -1
  43. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  44. package/dist/node_modules/@allyhub/export/package.json +1 -1
  45. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  46. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  47. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +3 -3
  48. package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +9 -1
  49. package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +1 -1
  50. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +151 -151
  51. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +173 -173
  52. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +1 -2
  53. package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
  54. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +1 -1
  55. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  56. package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +2 -0
  57. package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
  58. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +106 -101
  59. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  60. package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +26 -1
  61. package/dist/node_modules/@allyhub/formats/dist/tolerant.js +1 -1
  62. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  63. package/dist/node_modules/@allyhub/html-extension/package.json +1 -1
  64. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  65. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  66. package/dist/node_modules/@allyhub/image-extension/package.json +1 -1
  67. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +1 -1
  68. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  69. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  70. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  71. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  72. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  73. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  74. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -1
  75. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  76. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  77. package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -1
  78. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  79. package/dist/node_modules/@allyhub/media/package.json +1 -1
  80. package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
  81. package/dist/node_modules/@allyhub/model/package.json +1 -1
  82. package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
  83. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  84. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  85. package/dist/node_modules/@allyhub/project/package.json +1 -1
  86. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  87. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  88. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  89. package/dist/node_modules/@allyhub/render/package.json +1 -1
  90. package/dist/node_modules/@allyhub/report-extension/LICENSE +241 -0
  91. package/dist/node_modules/@allyhub/report-extension/dist/build.js +3 -0
  92. package/dist/node_modules/@allyhub/report-extension/dist/check.js +37 -0
  93. package/dist/node_modules/@allyhub/report-extension/dist/cli/index.js +4 -0
  94. package/dist/node_modules/@allyhub/report-extension/dist/export.js +2 -0
  95. package/dist/node_modules/@allyhub/report-extension/dist/inline.js +58 -0
  96. package/dist/node_modules/@allyhub/report-extension/dist/page.js +23 -0
  97. package/dist/node_modules/@allyhub/report-extension/dist/project-tools.js +33 -0
  98. package/dist/node_modules/@allyhub/report-extension/dist/styles.js +2 -0
  99. package/dist/node_modules/@allyhub/report-extension/dist/theme.js +2 -0
  100. package/dist/node_modules/@allyhub/report-extension/dist/tools.js +2 -0
  101. package/dist/node_modules/@allyhub/report-extension/dist/workspace.js +2 -0
  102. package/dist/node_modules/@allyhub/report-extension/package.json +185 -0
  103. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/STYLE.md +180 -0
  104. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.json +15 -0
  105. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  106. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  107. package/dist/node_modules/@allyhub/scaffold/dist/index.js +8 -8
  108. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  109. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  110. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  111. package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
  112. package/dist/node_modules/@allyhub/sheet/dist/html.js +10 -10
  113. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  114. package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
  115. package/dist/node_modules/@allyhub/sheet/dist/theme.js +1 -1
  116. package/dist/node_modules/@allyhub/sheet/dist/tiles.js +1 -1
  117. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
  118. package/dist/node_modules/@allyhub/sheet/dist/xlsx/tile-shapes.js +2 -0
  119. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
  120. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  121. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
  122. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +1 -1
  123. package/dist/node_modules/@allyhub/sheet-extension/package.json +1 -1
  124. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  125. package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
  126. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  127. package/dist/node_modules/@allyhub/slides-extension/dist/build.js +2 -2
  128. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +1 -1
  129. package/dist/node_modules/@allyhub/slides-extension/package.json +1 -1
  130. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  131. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  132. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  133. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  134. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +2 -2
  135. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  136. package/dist/node_modules/@allyhub/telemetry/package.json +1 -1
  137. package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
  138. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  139. package/dist/node_modules/@allyhub/video-extension/package.json +1 -1
  140. package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
  141. package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
  142. package/dist/node_modules/@allyhub/website/package.json +1 -1
  143. package/dist/node_modules/@allyhub/website-extension/package.json +1 -1
  144. package/dist/node_modules/@allyhub/x-extension/package.json +1 -1
  145. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  146. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  147. package/dist/package.json +15 -14
  148. package/dist/run-register.js +2 -0
  149. package/dist/works.js +1 -1
  150. package/editor-web/assets/{abnfDiagram-WEYOIA3C-BkVJMd53.js → abnfDiagram-WEYOIA3C-D6qI3rai.js} +1 -1
  151. package/editor-web/assets/{architecture-WOLXFQ4H-C6rnaynZ.js → architecture-WOLXFQ4H-B3V6ggq8.js} +1 -1
  152. package/editor-web/assets/{architectureDiagram-ZHVYKT53-D3vrh8LK.js → architectureDiagram-ZHVYKT53-IauNyxXn.js} +1 -1
  153. package/editor-web/assets/article-BHjKp5We.js +3 -0
  154. package/editor-web/assets/article-BlNKv1Cn.js +7 -0
  155. package/editor-web/assets/bar-button-CJmpgNg4.js +1 -0
  156. package/editor-web/assets/{blockDiagram-RJAE7QA3-BKngt8H7.js → blockDiagram-RJAE7QA3-yXhlfxbH.js} +1 -1
  157. package/editor-web/assets/{c4Diagram-XDPPPE54-j7sUELqF.js → c4Diagram-XDPPPE54-B-anrhvt.js} +1 -1
  158. package/editor-web/assets/{calc-worker-Cr4a0xmt.js → calc-worker-BpAgQE9E.js} +3 -3
  159. package/editor-web/assets/channel-Bhb-_8v6.js +1 -0
  160. package/editor-web/assets/chip-pNQlYa2W.js +1 -0
  161. package/editor-web/assets/{chunk-2E7WHVMD-BXa-uRSi.js → chunk-2E7WHVMD-QPOni4XB.js} +1 -1
  162. package/editor-web/assets/{chunk-4EMNKR2T-B3ntcsZN.js → chunk-4EMNKR2T-DG1FCRRI.js} +1 -1
  163. package/editor-web/assets/{chunk-55XCU76K-AMvnFwUg.js → chunk-55XCU76K-mKuMXpnC.js} +1 -1
  164. package/editor-web/assets/{chunk-7S6XSTFO-BA6esfFu.js → chunk-7S6XSTFO-CgZAazgt.js} +1 -1
  165. package/editor-web/assets/{chunk-AQDTSKZB-BT_vANXs.js → chunk-AQDTSKZB-BRU84phF.js} +1 -1
  166. package/editor-web/assets/{chunk-DSNLSHJZ-DoUgmzGB.js → chunk-DSNLSHJZ-zku9oeG3.js} +1 -1
  167. package/editor-web/assets/{chunk-HAGFOTED-DtnIrCZb.js → chunk-HAGFOTED-CaUkBv_0.js} +1 -1
  168. package/editor-web/assets/{chunk-HNE4Q36P-BlPwQx3_.js → chunk-HNE4Q36P-BQz4ZCJf.js} +1 -1
  169. package/editor-web/assets/{chunk-NQOKRVIF-D2r7jp2r.js → chunk-NQOKRVIF-CHVBEDkg.js} +1 -1
  170. package/editor-web/assets/{chunk-UHW7PFBP-Cmc0_F5o.js → chunk-UHW7PFBP-DrYeJo1e.js} +1 -1
  171. package/editor-web/assets/{chunk-VQ5W62QI-nJSMqAr0.js → chunk-VQ5W62QI-D8ToVCUe.js} +1 -1
  172. package/editor-web/assets/{chunk-WQQL4CDK-Btq2nbF6.js → chunk-WQQL4CDK-DZ0tyi9F.js} +1 -1
  173. package/editor-web/assets/{chunk-YZO67HFG-DTbcCoGt.js → chunk-YZO67HFG-BLe7PXER.js} +1 -1
  174. package/editor-web/assets/{chunk-ZAUX2LTX-DVwkg-2N.js → chunk-ZAUX2LTX-ByaeSIre.js} +1 -1
  175. package/editor-web/assets/{chunk-ZCHMQSOR-BV39jOOE.js → chunk-ZCHMQSOR-DdMJr_t5.js} +1 -1
  176. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-Cj74-fhM.js → classDiagram-v2-4MYWR3UA-DDpq7fFC.js} +1 -1
  177. package/editor-web/assets/collaborator-CbTacvkB.js +1 -0
  178. package/editor-web/assets/color-picker-CDeICDN5.js +1 -0
  179. package/editor-web/assets/{cynefin-EF2NZ3EQ-C0CkiipV.js → cynefin-EF2NZ3EQ-CMivy2fr.js} +1 -1
  180. package/editor-web/assets/{cynefinDiagram-WF24UDRP-hdsnJ4cI.js → cynefinDiagram-WF24UDRP-GtxT_9wW.js} +1 -1
  181. package/editor-web/assets/{dagre-NK4GIZVX-CC7WSgaK.js → dagre-NK4GIZVX-Bn1O2Hjl.js} +1 -1
  182. package/editor-web/assets/deck-Cohd-G5m.js +1 -0
  183. package/editor-web/assets/{diagram-CBK3MWTC-DmaVm13J.js → diagram-CBK3MWTC-W715PWZw.js} +1 -1
  184. package/editor-web/assets/{diagram-I5XIIV2D-De8jqp7b.js → diagram-I5XIIV2D-BKObZPn2.js} +1 -1
  185. package/editor-web/assets/{diagram-ODIL2UCW-B5pBTulX.js → diagram-ODIL2UCW-UtQxEPoW.js} +1 -1
  186. package/editor-web/assets/{diagram-PFBEJUXE-BYsXg5_w.js → diagram-PFBEJUXE-CpLGEK-k.js} +1 -1
  187. package/editor-web/assets/{diagram-RJA3I4VV-DZ8f6bYe.js → diagram-RJA3I4VV-DGyMXoHb.js} +1 -1
  188. package/editor-web/assets/{diagram-TYUNFSNR-qXHUsauD.js → diagram-TYUNFSNR-Dy_Ewr8V.js} +1 -1
  189. package/editor-web/assets/dist-0I0Obj60.js +19 -0
  190. package/editor-web/assets/dist-6ugUm4dS.js +6 -0
  191. package/editor-web/assets/dist-B0rUvCi2.js +1 -0
  192. package/editor-web/assets/{dist-DAhe-kFC.js → dist-B8_6sJ_V.js} +1 -1
  193. package/editor-web/assets/dist-CKD_paj_.js +1 -0
  194. package/editor-web/assets/dist-CKUW5NzS.js +3 -0
  195. package/editor-web/assets/dist-Ca9Gsuu0.js +24 -0
  196. package/editor-web/assets/dist-Cc8v9lfc.js +1 -0
  197. package/editor-web/assets/dist-CynBNzYv.js +1 -0
  198. package/editor-web/assets/{dist-9kuRjUTN.js → dist-D7M5YTq2.js} +6 -6
  199. package/editor-web/assets/dist-D9tsFc2N.js +16 -0
  200. package/editor-web/assets/dist-DNMKDcLg.js +35 -0
  201. package/editor-web/assets/dist-Doj7_HUI.js +547 -0
  202. package/editor-web/assets/dist-DptBQzJR.js +1 -0
  203. package/editor-web/assets/dist-DzKB210A.js +5 -0
  204. package/editor-web/assets/{dist-B3rd02Cg.js → dist-H9rTuNhb.js} +6 -6
  205. package/editor-web/assets/{dist-DA72-4WB.js → dist-QLXI7XGS.js} +1 -1
  206. package/editor-web/assets/dist-RyGsFHE0.js +4 -0
  207. package/editor-web/assets/dist-oeSWr2LE.js +19 -0
  208. package/editor-web/assets/dist-wD_hHJ8_.js +19 -0
  209. package/editor-web/assets/{docx-draw-L54blreB.js → docx-draw-B5cM77hc.js} +1 -1
  210. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-B7-IfVI-.js → ebnfDiagram-V4P3TTPT-GPYcx6dU.js} +1 -1
  211. package/editor-web/assets/{elk-QONTBCTQ-Gj_WaeBn.js → elk-QONTBCTQ-Bi0r4UFM.js} +1 -1
  212. package/editor-web/assets/{erDiagram-KYQIGQAA-BDF6Qoqx.js → erDiagram-KYQIGQAA-DrOSrnci.js} +1 -1
  213. package/editor-web/assets/esm-jIPnpbBD.js +21 -0
  214. package/editor-web/assets/{eventmodeling-K75KTNOO-elxVXXEe.js → eventmodeling-K75KTNOO-Dw-MjgUb.js} +1 -1
  215. package/editor-web/assets/eye-DwfE1USj.js +1 -0
  216. package/editor-web/assets/flowDiagram-IUGLLWBU-DbZTfPEP.js +1 -0
  217. package/editor-web/assets/{ganttDiagram-R7GPNTJY-CEogW3jW.js → ganttDiagram-R7GPNTJY-Bwe8cQqi.js} +1 -1
  218. package/editor-web/assets/{gitGraph-VSP46ZUC-Bh9cRWFa.js → gitGraph-VSP46ZUC-DsAcAKP0.js} +1 -1
  219. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-BQAvdM_V.js → gitGraphDiagram-PDYL7XHY-aObRwdru.js} +1 -1
  220. package/editor-web/assets/hint-F4fIBnVU.js +1 -0
  221. package/editor-web/assets/index-Cah2zchD.css +2 -0
  222. package/editor-web/assets/index-D-MNVykg.js +28 -0
  223. package/editor-web/assets/{info-OHQRW6UA-CdPrqere.js → info-OHQRW6UA-DBPN8JFr.js} +1 -1
  224. package/editor-web/assets/{infoDiagram-MVDRKAX5-uwIMeP44.js → infoDiagram-MVDRKAX5-Bx26Hq7M.js} +1 -1
  225. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-rtfvqK7E.js → ishikawaDiagram-HPEHV2GE-BJ_MCDwA.js} +1 -1
  226. package/editor-web/assets/{journeyDiagram-BOSHW7O7-mmhfIyVG.js → journeyDiagram-BOSHW7O7-B5g4W2Dx.js} +1 -1
  227. package/editor-web/assets/{kanban-definition-FNSA4HC5-Fe7jBsi-.js → kanban-definition-FNSA4HC5-U8YNlxN7.js} +1 -1
  228. package/editor-web/assets/layout-CuWN7_3k.js +1 -0
  229. package/editor-web/assets/{mermaid-parser.core-BxOSjBH9.js → mermaid-parser.core-DYLQlYDo.js} +3 -3
  230. package/editor-web/assets/{mermaid.core-BOln9YdH.js → mermaid.core-qNJmZ0b4.js} +4 -4
  231. package/editor-web/assets/{mindmap-definition-6OY57UG3-M3Q1LOtO.js → mindmap-definition-6OY57UG3-CI5aBWbK.js} +1 -1
  232. package/editor-web/assets/{packet-JDAUHWVQ-Dbb0TUG6.js → packet-JDAUHWVQ-BBclMGlJ.js} +1 -1
  233. package/editor-web/assets/palette-DchDLJj6.js +1 -0
  234. package/editor-web/assets/panes-BShVq38A.js +3 -0
  235. package/editor-web/assets/{pegDiagram-ECIUJNBX-BZMRpSFC.js → pegDiagram-ECIUJNBX-B3pljPTu.js} +1 -1
  236. package/editor-web/assets/{pie-XZMESJXO-Ctm9XdKp.js → pie-XZMESJXO-B7WzimHm.js} +1 -1
  237. package/editor-web/assets/{pieDiagram-GNMPY74T-cGbs5ZTl.js → pieDiagram-GNMPY74T-tM1Da50-.js} +1 -1
  238. package/editor-web/assets/progress-D1Uv3d1b.js +6 -0
  239. package/editor-web/assets/{quadrantDiagram-D57K4MC3-BUe_zsxT.js → quadrantDiagram-D57K4MC3-BEq_Shj9.js} +1 -1
  240. package/editor-web/assets/{radar-ABXABTNO-CCmKtqLs.js → radar-ABXABTNO-v2jJSW5T.js} +1 -1
  241. package/editor-web/assets/{railroad-I3PHUGI6-k-yhjhjA.js → railroad-I3PHUGI6-6W3Z4F8Y.js} +1 -1
  242. package/editor-web/assets/{railroad-abnf-LNEFI6M7-B-PvntB3.js → railroad-abnf-LNEFI6M7-DxIN7Zrt.js} +1 -1
  243. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-Ds2rua1h.js → railroad-ebnf-DWYD2UWJ-Bb5O7tAx.js} +1 -1
  244. package/editor-web/assets/{railroad-peg-JR7BVNR7-jNZ2wEp2.js → railroad-peg-JR7BVNR7-i2LjEP5t.js} +1 -1
  245. package/editor-web/assets/{railroadDiagram-Y72NRBL7-CTqSQ15w.js → railroadDiagram-Y72NRBL7-DhsyVKbG.js} +1 -1
  246. package/editor-web/assets/{requirementDiagram-EQYSW5RA-CUblhR5M.js → requirementDiagram-EQYSW5RA-Du2k7i1E.js} +1 -1
  247. package/editor-web/assets/ribbon-tabs-Bxuj_hct.js +1 -0
  248. package/editor-web/assets/row-DqS4-5b1.js +1 -0
  249. package/editor-web/assets/{sankeyDiagram-SY24JHO5-nSz6zDX3.js → sankeyDiagram-SY24JHO5-CDnRMu7J.js} +1 -1
  250. package/editor-web/assets/schemas-CnlOL0u4.js +1 -0
  251. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-DxTpOYuo.js → sequenceDiagram-BLEHNHQU-BUXBhWYW.js} +1 -1
  252. package/editor-web/assets/{session-BhClkDyr.js → session--OJYv_B7.js} +1 -1
  253. package/editor-web/assets/{snapshots-DwGHDN3t.js → snapshots-DYooVfOx.js} +1 -1
  254. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-C3e14iHY.js → stateDiagram-v2-A6IESKWZ-Enb8LZUA.js} +1 -1
  255. package/editor-web/assets/surface-BUoi7cmR.js +1 -0
  256. package/editor-web/assets/swatch-DCmD1gZl.js +1 -0
  257. package/editor-web/assets/{swimlanes-B3ENRKFQ-DPPdzNzu.js → swimlanes-B3ENRKFQ-pnpjgTrl.js} +1 -1
  258. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B-B2Eoc8.js +8 -0
  259. package/editor-web/assets/switch-b6GCy_ix.js +1 -0
  260. package/editor-web/assets/syntax-Bqyhj0dw.js +1 -0
  261. package/editor-web/assets/tablet-C6oePHEW.js +1 -0
  262. package/editor-web/assets/textarea-Bu6uPEqT.js +1 -0
  263. package/editor-web/assets/themes-D_ISkWVz.js +1 -0
  264. package/editor-web/assets/{timeline-definition-JXYKGLGB-DRTJ1_Er.js → timeline-definition-JXYKGLGB-C4pR18kd.js} +1 -1
  265. package/editor-web/assets/trash-2-SFReAxVM.js +1 -0
  266. package/editor-web/assets/{treeView-D4JQ5SDB-BYJ_m-i5.js → treeView-D4JQ5SDB-kzNGeAv6.js} +1 -1
  267. package/editor-web/assets/{treemap-SAJKECNS-BcU6I6Rg.js → treemap-SAJKECNS-Buhb5wzt.js} +1 -1
  268. package/editor-web/assets/updating-Cbxw83_O.js +1 -0
  269. package/editor-web/assets/{usecaseDiagram-WPOLBNNX-YV92pS4o.js → usecaseDiagram-WPOLBNNX-CL-xLQWl.js} +1 -1
  270. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-oAvfHZtf.js → vennDiagram-Q3Y3IDCW-bwsyCcdK.js} +1 -1
  271. package/editor-web/assets/{video-SJvDRCJK.js → video-8MxWX9f5.js} +1 -1
  272. package/editor-web/assets/{wardley-7MLQ67FV-BLNiqxtt.js → wardley-7MLQ67FV-DXsLgedI.js} +1 -1
  273. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-SppgC6xW.js → wardleyDiagram-IVAIDKWA-Cn0ph953.js} +1 -1
  274. package/editor-web/assets/{words-BUlNNuH2.js → words-B2jQwWpp.js} +1 -1
  275. package/editor-web/assets/{words-zMedmPWc.js → words-DgMuEmDO.js} +1 -1
  276. package/editor-web/assets/workbook-BDWkQ149.js +41 -0
  277. package/editor-web/assets/x-BAJilkKD.js +41 -0
  278. package/editor-web/assets/{xychartDiagram-4URNHDU4-BHMn_jwJ.js → xychartDiagram-4URNHDU4-CfXnqGWZ.js} +1 -1
  279. package/editor-web/index.html +6 -6
  280. package/package.json +5 -2
  281. package/editor-web/assets/article-DHf6mOY_.js +0 -7
  282. package/editor-web/assets/article-Dns1-Xh-.js +0 -3
  283. package/editor-web/assets/bar-button-CKPfx2AB.js +0 -1
  284. package/editor-web/assets/channel-CVWSV3su.js +0 -1
  285. package/editor-web/assets/chip-Bn_9JRRG.js +0 -1
  286. package/editor-web/assets/collaborator-XiHOxwGM.js +0 -1
  287. package/editor-web/assets/deck-DQpNIS2p.js +0 -1
  288. package/editor-web/assets/dist--z0ZHp4T.js +0 -16
  289. package/editor-web/assets/dist-B5GOGGEe.js +0 -1
  290. package/editor-web/assets/dist-Bx6q9kCu.js +0 -1
  291. package/editor-web/assets/dist-C4hHtrJr.js +0 -1
  292. package/editor-web/assets/dist-CCXJewsi.js +0 -19
  293. package/editor-web/assets/dist-CfK2BLl8.js +0 -4
  294. package/editor-web/assets/dist-Cmux3oJ_.js +0 -1
  295. package/editor-web/assets/dist-Cspf85KV.js +0 -6
  296. package/editor-web/assets/dist-DOrGo1GD.js +0 -19
  297. package/editor-web/assets/dist-DjiCHlSu.js +0 -35
  298. package/editor-web/assets/dist-Do4a40Wn.js +0 -19
  299. package/editor-web/assets/dist-FKEWS3Co.js +0 -547
  300. package/editor-web/assets/dist-QKd2i6kG.js +0 -5
  301. package/editor-web/assets/dist-SGnOfLhx.js +0 -24
  302. package/editor-web/assets/dist-VmVB7tl4.js +0 -3
  303. package/editor-web/assets/esm-PQD5Pn8a.js +0 -21
  304. package/editor-web/assets/flowDiagram-IUGLLWBU-B-25n8zE.js +0 -1
  305. package/editor-web/assets/hint-CbwoSBMw.js +0 -1
  306. package/editor-web/assets/index-CXisi0Cj.css +0 -2
  307. package/editor-web/assets/index-wMlfx8aT.js +0 -28
  308. package/editor-web/assets/layout-SWqqA0yV.js +0 -1
  309. package/editor-web/assets/progress-DZQTiRLv.js +0 -6
  310. package/editor-web/assets/ribbon-DajdQ_Ya.js +0 -1
  311. package/editor-web/assets/row-Bei9HNEe.js +0 -1
  312. package/editor-web/assets/schemas-C21MyseF.js +0 -1
  313. package/editor-web/assets/split-DBAbwPZ5.js +0 -3
  314. package/editor-web/assets/surface-CIF0Ae0z.js +0 -1
  315. package/editor-web/assets/swatch-BUzr_XmH.js +0 -1
  316. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B8n3zOw_.js +0 -8
  317. package/editor-web/assets/switch-DrZxoPQS.js +0 -1
  318. package/editor-web/assets/syntax-emXV4DnN.js +0 -1
  319. package/editor-web/assets/tabs-BwU2E7bU.js +0 -1
  320. package/editor-web/assets/textarea-BX_ax3X8.js +0 -1
  321. package/editor-web/assets/tolerant-DM9s0Mt1.js +0 -1
  322. package/editor-web/assets/type-CvZ0HZsV.js +0 -41
  323. package/editor-web/assets/workbook-BZKYx4WB.js +0 -41
@@ -0,0 +1,185 @@
1
+ {
2
+ "name": "@allyhub/report-extension",
3
+ "version": "0.22.0",
4
+ "type": "module",
5
+ "exports": {
6
+ "./theme": {
7
+ "types": "./dist/theme.d.ts",
8
+ "default": "./dist/theme.js"
9
+ },
10
+ "./tools": {
11
+ "types": "./dist/tools.d.ts",
12
+ "default": "./dist/tools.js"
13
+ },
14
+ "./package.json": "./package.json",
15
+ "./dist/*": "./dist/*"
16
+ },
17
+ "allyhub": {
18
+ "id": "allyhub.report",
19
+ "engines": "^0.1.0",
20
+ "main": "./dist/workspace.js",
21
+ "contributes": {
22
+ "kinds": [
23
+ {
24
+ "id": "report",
25
+ "name": {
26
+ "en": "Report",
27
+ "zh-cn": "报告",
28
+ "zh-tw": "報告",
29
+ "ja": "レポート",
30
+ "ko": "리포트",
31
+ "es": "Informe",
32
+ "fr": "Rapport",
33
+ "de": "Bericht",
34
+ "pt": "Relatório"
35
+ },
36
+ "plural": {
37
+ "en": "Reports",
38
+ "zh-cn": "报告",
39
+ "zh-tw": "報告",
40
+ "ja": "レポート",
41
+ "ko": "리포트",
42
+ "es": "Informes",
43
+ "fr": "Rapports",
44
+ "de": "Berichte",
45
+ "pt": "Relatórios"
46
+ },
47
+ "noun": "report",
48
+ "icon": "chart-pie",
49
+ "color": "kind-teal",
50
+ "exports": {
51
+ "types": [
52
+ "pdf",
53
+ "png"
54
+ ],
55
+ "extras": []
56
+ },
57
+ "renders": {
58
+ "types": [
59
+ "pdf",
60
+ "png",
61
+ "html"
62
+ ],
63
+ "defaults": [
64
+ "pdf"
65
+ ]
66
+ },
67
+ "starter": {
68
+ "files": {
69
+ "{{name}}.html": "<!doctype html>\n<html lang=\"{{locale}}\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>{{title}}</title>\n</head>\n<body>\n<h1>{{title}}</h1>\n</body>\n</html>\n"
70
+ },
71
+ "entry": "{{name}}.html"
72
+ },
73
+ "share": true,
74
+ "network": true,
75
+ "build": "./dist/build.js",
76
+ "editor": "allyhub.report.view",
77
+ "shown": {
78
+ "line": {
79
+ "en": "Research and reviews, for any screen",
80
+ "zh-cn": "调研和分析报告,适配任何屏幕",
81
+ "zh-tw": "調研和分析報告,適配任何螢幕",
82
+ "ja": "リサーチと分析を、どの画面でも",
83
+ "ko": "리서치와 분석, 어떤 화면에서든",
84
+ "es": "Investigaciones y análisis, para cualquier pantalla",
85
+ "pt": "Pesquisas e análises, para qualquer tela",
86
+ "de": "Recherchen und Analysen, für jeden Bildschirm",
87
+ "fr": "Recherches et analyses, sur tous les écrans"
88
+ },
89
+ "order": 15
90
+ }
91
+ }
92
+ ],
93
+ "editors": [
94
+ {
95
+ "id": "allyhub.report.view",
96
+ "kinds": [
97
+ "report"
98
+ ],
99
+ "module": "@allyhub/report-view",
100
+ "markup": "./markup"
101
+ }
102
+ ],
103
+ "rules": [
104
+ {
105
+ "code": "AK-M017",
106
+ "level": "error",
107
+ "rule": "A report's file is not an HTML file, is not there, or a block element in it cannot be drawn (a field it does not have, a value it cannot read, data the project does not hold)"
108
+ },
109
+ {
110
+ "code": "AK-R002",
111
+ "level": "error",
112
+ "rule": "A canvas a report's page lays out has nothing drawn on it"
113
+ },
114
+ {
115
+ "code": "AK-P004",
116
+ "level": "error",
117
+ "rule": "A report's page did not load, or did not settle within its timeout"
118
+ }
119
+ ],
120
+ "cliCommands": [
121
+ {
122
+ "name": "report style list",
123
+ "summary": "The report styles AllyHub brings, each with its themes: a look written down for a report to start from when the person gives no style",
124
+ "work": "reports",
125
+ "module": "./dist/cli/index.js"
126
+ },
127
+ {
128
+ "name": "report style show",
129
+ "summary": "A report style in words (its STYLE.md): what a report holds, its themes, tokens, type, page, example parts and charts",
130
+ "work": "reports",
131
+ "module": "./dist/cli/index.js"
132
+ }
133
+ ],
134
+ "skills": [
135
+ {
136
+ "path": "./skills/allyhub"
137
+ }
138
+ ],
139
+ "projectTools": [
140
+ {
141
+ "name": "report/still",
142
+ "source": "asleep",
143
+ "does": {
144
+ "files": "the project's files; the report's page drawn in a browser"
145
+ },
146
+ "module": "./dist/project-tools.js"
147
+ },
148
+ {
149
+ "name": "report/at",
150
+ "source": "asleep",
151
+ "does": {
152
+ "files": "the project's files; the report's page read in a browser"
153
+ },
154
+ "module": "./dist/project-tools.js"
155
+ },
156
+ {
157
+ "name": "report/pick",
158
+ "source": "asleep",
159
+ "does": {
160
+ "files": "the project's files; the report's page read in a browser"
161
+ },
162
+ "module": "./dist/project-tools.js"
163
+ },
164
+ {
165
+ "name": "report/hold",
166
+ "source": "asleep",
167
+ "does": {
168
+ "files": "the project's files; the report's page kept open in a browser"
169
+ },
170
+ "module": "./dist/project-tools.js"
171
+ },
172
+ {
173
+ "name": "report/release",
174
+ "source": "asleep",
175
+ "does": {
176
+ "files": "nothing the agent does: a page kept open for a person's notes closed"
177
+ },
178
+ "module": "./dist/project-tools.js"
179
+ }
180
+ ]
181
+ }
182
+ },
183
+ "private": true,
184
+ "license": "SEE LICENSE IN LICENSE.md"
185
+ }
@@ -0,0 +1,180 @@
1
+ # The allyhub report style
2
+
3
+ Use it only when the person did not specify any style preferences.
4
+
5
+ ## Content
6
+
7
+ The report should contain reference section near the footer. it should include all relative links and urls.
8
+ In the body of the report where related, you should cite the references. The actual link can be put in the reference section.
9
+ The references can be a web url to a product, or post or author or article, etc.
10
+ All referenced url links should be opened in a new tab, e.g. target="_blank".
11
+ Do not add links to internal sections of the report.
12
+ Adding charts to make the report more visually appealing when appropriate.
13
+ Do not attempt to open, render, screenshot, or visually validate the report. For self-validation, inspect the HTML source only (`allyhub check` reports what is missing or thrown), then deliver the saved file directly.
14
+
15
+ # Report Design System
16
+
17
+ ---
18
+
19
+ 1. **Theme** — blue / sage / sand / rose / slate / moss / plum / ember / mist / clay
20
+ - choose the theme color according to the content of the report.
21
+ 2. **Interactivity** — prefer interactive reports to make the report more engaging and interactive.
22
+ 3. **Animation** - prefer subtle animations where fit to make the report vivid, e.g. in the hero background.
23
+ 4. **Mobile** - prefer mobile-friendly design
24
+ - On mobile, collapse the outer background/frame to zero: no outer padding, no side margins, and no page corner radius. The report canvas should fill the screen width so content uses the full mobile viewport.
25
+
26
+ ---
27
+
28
+ ## Design tokens to implement:
29
+
30
+ Base
31
+ outer-bg #E4E1DC
32
+ page-bg #FDFCF9
33
+ surface #FFFFFF
34
+ border #E8E6E2
35
+ divider #C5C0BA
36
+
37
+ Text
38
+ text-primary #151515
39
+ text-body #3D3D3D
40
+ text-secondary #717171
41
+
42
+ Hero (default)
43
+ hero-bg #DEE5F7
44
+ hero-deco #A3AEEE
45
+ hero-deco2 #7F8FE0
46
+
47
+ Status
48
+ success bg #E8FBCF / fg #3D4826
49
+ warning bg #FFF0DC / fg #E47700
50
+ info bg #DEE5F7 / fg #3E54CE
51
+ error bg #FDECEA / fg #C4433A
52
+ neutral bg #FDF9F2 / fg #7C746F
53
+
54
+ Per-theme hero overrides (only hero-bg/deco/deco2 change):
55
+ blue #DEE5F7 / #A3AEEE / #7F8FE0
56
+ sage #D7EDE2 / #8FC5A8 / #5FA882
57
+ sand #EDE8DE / #C8BB9F / #A99778
58
+ rose #F0E4E1 / #C4A8A2 / #A88078
59
+ slate #DDE3E8 / #9BADB0 / #6E9298
60
+ moss #DDE8D8 / #93B888 / #5E8F52
61
+ plum #E8DDEF / #B89AC8 / #8F6AAF
62
+ ember #F0E4D8 / #D4A882 / #B87D50
63
+ mist #E2E8E8 / #96B4B4 / #6A9898
64
+ clay #EDE4DC / #C4A890 / #A07858
65
+
66
+ ---
67
+
68
+ ## Typography
69
+
70
+ `'Inter Tight', sans-serif` everywhere. `'Noto Serif'` for hero metric only.
71
+
72
+ | Role | Size | Weight |
73
+ |---------------|------|--------|
74
+ | section-title | 17px | 600 |
75
+ | card-title | 15px | 600 |
76
+ | body | 14px | 400 |
77
+ | body-small | 13px | 400 |
78
+ | meta | 12px | 400 |
79
+ | tag/badge | 11px | 500 |
80
+ | hero-metric | 48px | 500, Noto Serif, letter-spacing -0.02em |
81
+
82
+ ---
83
+
84
+ ## Page shell
85
+
86
+ Page canvas: max-width 1200px, centered, `--page-bg`, border-radius 24px, overflow hidden, sitting on `--outer-bg` body.
87
+
88
+ ---
89
+
90
+ ## Hero & footer
91
+
92
+ Both zones use --hero-bg as background. Add a small number of organic blob shapes as decorative background elements.
93
+ Use --hero-deco and --hero-deco2 as fill colors, distributed between the blobs. Set opacity low enough to feel like texture, not distraction (around 0.15–0.2).
94
+ Blobs should:
95
+ - feel hand-drawn and irregular, not like CSS circles or ellipses
96
+ - be loosely scattered across the zone, with varied sizes
97
+ - not cluster toward any single corner or edge
98
+ - sit quietly behind content without drawing the eye
99
+ Draw a few blobs (no more than 4) as feels natural for the space. Adjust size, position, and curvature to create a sense of gentle, organic rhythm — not a pattern.
100
+
101
+
102
+ **Hero:** optional eyebrow label → optional headline or hero metric → optional subtitle → optional white hairline divider → optional compact stat row (value + label pairs).
103
+
104
+ **Hero sizing rule (keep it compact):**
105
+ - Keep the hero compact and information-dense. Avoid oversized landing-page-style headers or large empty decorative space unless the user explicitly asks for that style.
106
+ - Blobs are decoration only. They must be position: absolute and must not push the hero or footer taller. Never write a child-wildcard rule such as `.hero > *` or `footer > *` that sets position or z-index: it has the same specificity as `.blob` and, if it comes later in the stylesheet, silently turns every blob into an in-flow block. Lift content above the blobs by putting it in a named wrapper (e.g. `.hero-content { position: relative; z-index: 1 }`) instead.
107
+
108
+ **Footer:** brand title + sub-label left, 2-col meta right, white hairline divider, bottom bar with document info left and copyright right. Generated by <a href="https://allyhub.com" target="_blank">AllyHub AI</a>.
109
+
110
+ ---
111
+
112
+ ## Example Components Style For Reference
113
+
114
+ Below are some examples of the components you can use in the report, but not limited to these.
115
+ You can design and use other components that are fit to the report. Be creative.
116
+
117
+ ### Section heading
118
+ Title (17px/600) with optional sub-label (12px, `--text-secondary`) below. Always followed by a full-width `0.5px --border` rule.
119
+
120
+ ### Cards
121
+ White surface, `0.5px --border`, radius 12px. Use a 2-column grid (collapses to 1 on mobile). Card header: title + meta; optionally add an avatar or icon if it helps. Body: stacked quote blocks separated by `0.5px --border` lines, last one borderless.
122
+
123
+ ### Post list
124
+ Full-width cards (radius 12px, `0.5px --border`) stacked with 10px gap. Each: avatar circle left + title/handle/date + engagement stats (♥ ↺ 💬) top-right + body text + pill tags.
125
+
126
+ ### Pills / tags
127
+ 11px/500, padding 3px 9px, radius 20px. Color from the matching `--*-bg/fg` token pair.
128
+
129
+ ### Metric cards
130
+ Auto-fit grid (min 140px). Each: label (12px `--text-secondary`) → value (26px/600) → delta (12px/500, `--success-fg` or `--error-fg`).
131
+
132
+ ### Stat / KPI card
133
+ Larger single-stat layout: label (13px) → value (36px/600, tight letter-spacing) → delta with target note → optional sparkline (40px tall, axes hidden).
134
+
135
+ ### Alert
136
+ Radius 10px, padding 14px 16px. Optional bold title above body text. Color from matching `token pair`.
137
+
138
+ ### Table
139
+ Header: 12px/500 `--text-secondary`, `1px --divider` bottom. Cells: 13px, `0.5px --border` between rows, none on last. Always wrapped in a horizontally scrollable container. Last column often a sentiment pill.
140
+
141
+ ### Horizontal progress bars
142
+ Label + value on one row, then a 4px-tall track (`--border` bg) with a colored fill div. Color matches the associated legend.
143
+
144
+ ---
145
+
146
+ ## Example Charts Style For Reference
147
+
148
+ - Below are some examples of the charts you can use in the report, but not limited to these.
149
+ - You can design and use other charts that are fit to the report. Be creative.
150
+ - You are encouraged to use Charts to make the report more visually appealing and interactive.
151
+
152
+ Use **Chart.js** via cdnjs.
153
+ - https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js
154
+ - Canvas cannot read CSS variables — hardcode hex values matching the tokens.
155
+ - Always disable the built-in legend; build a custom HTML legend with small colored squares and label + value inline.
156
+ - Every chart MUST do these two things (always together):
157
+ (1) Wrap the <canvas> in a div that has a fixed height (e.g. 280px):
158
+ ```html
159
+ <div style="position: relative; height: 280px;">
160
+ <canvas id="myChart"></canvas>
161
+ </div>
162
+ ```
163
+
164
+ (2) In the chart options, always include these two lines:
165
+ ```javascript
166
+ options: {
167
+ responsive: true,
168
+ maintainAspectRatio: false,
169
+ // ...rest of your options
170
+ }
171
+ ```
172
+
173
+
174
+ **Line:** `tension: 0.4`, `pointRadius: 0`, `borderWidth: 1.5`, no x-grid, `--border` color y-grid.
175
+
176
+ **Pie / donut:** `borderWidth: 0`. Donut uses `cutout: '65%'`; overlay center text with an absolutely positioned element.
177
+
178
+ **Sparkline:** Chart.js line with all axes and grid fully hidden, height ~40px.
179
+
180
+ **Time-range toggle:** Swap the chart's dataset in-place and call `chart.update()` — do not rebuild the chart instance.
@@ -0,0 +1,15 @@
1
+ {
2
+ "about": "AllyHub's own look for a report: a compact hero and footer with organic shapes, Inter Tight with Noto Serif for the hero metric, Chart.js charts, ten themes",
3
+ "themes": [
4
+ "blue",
5
+ "sage",
6
+ "sand",
7
+ "rose",
8
+ "slate",
9
+ "moss",
10
+ "plum",
11
+ "ember",
12
+ "mist",
13
+ "clay"
14
+ ]
15
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/runtime",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/runtimes",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,21 +1,21 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{mkdir as p,readFile as m,writeFile as d}from"node:fs/promises";import{basename as f,join as a,resolve as u}from"node:path";export const PROJECT_PACKAGES={cli:"allyhub",sdk:"@allyhub/sdk"},PROJECT_TYPESCRIPT="~5.9.3",PROJECT_GITIGNORE=`node_modules/
2
+ import{mkdir as p,readFile as y,writeFile as d}from"node:fs/promises";import{basename as f,join as r,resolve as u}from"node:path";export const PROJECT_PACKAGES={cli:"allyhub",sdk:"@allyhub/sdk"},PROJECT_TYPESCRIPT="~5.9.3",PROJECT_GITIGNORE=`node_modules/
3
3
  .allyhub/
4
4
  .playwright-cli/
5
- `,REGISTRY="https://allyhub.com/r",MASTER_SKILL="allyhub";export function workSkills(s){return s.filter(e=>e.type==="allyhub:skill"&&e.name!==MASTER_SKILL).map(e=>({name:e.name,description:e.description.replaceAll(/\s+/gu," ").trim()}))}export const AGENT_RULES_BEGIN="<!-- BEGIN:allyhub-agent-rules -->",AGENT_RULES_END="<!-- END:allyhub-agent-rules -->";export function agentRules(){return[AGENT_RULES_BEGIN,"",`The SDK's docs for the version this project builds with are in \`node_modules/${PROJECT_PACKAGES.sdk}/docs/\` once the project has installed it, its \`README.md\` saying what each file covers; without it, \`allyhub help\` says where they are (the SDK the CLI lends). They and the SDK's types describe the API as it is now.`,"","`allyhub help` lists AllyHub's commands (`npx allyhub help` once the project has installed it); `allyhub help <command>` says what one does.","","`allyhub skills` lists AllyHub's work skills, each how to make one kind of work; `allyhub skills show <name>` prints one, `allyhub add skill/<name>` adds it to this project.","",AGENT_RULES_END].join(`
5
+ `,REGISTRY="https://allyhub.com/r",MASTER_SKILL="allyhub";export function workSkills(n){return n.filter(e=>e.type==="allyhub:skill"&&e.name!==MASTER_SKILL).map(e=>({name:e.name,description:e.description.replaceAll(/\s+/gu," ").trim()}))}export const AGENT_RULES_BEGIN="<!-- BEGIN:allyhub-agent-rules -->",AGENT_RULES_END="<!-- END:allyhub-agent-rules -->";export function agentRules(){return[AGENT_RULES_BEGIN,"","`allyhub help` lists AllyHub's commands and says where the docs of the SDK this project builds with are, their `README.md` saying what each file covers; `allyhub help <command>` says what one does. The docs and the SDK's types describe the API as it is now.","",AGENT_RULES_END].join(`
6
6
  `)}export function projectAgents(){return`# AllyHub project
7
7
 
8
- This folder is an AllyHub project. Videos, decks, images, 3D sceneries and 3D models are TypeScript, docs MDX, sheets YAML and CSV, a canvas JSON Canvas, and a website any web project; their files are named and laid out freely, and a model is made once and put in any scenery that imports it. \`${WORK_FILE}\` lists the work a person sees, in the order they see it: each piece's \`kind\` (\`video\`, \`slides\`, \`image\`, \`doc\`, \`sheet\`, \`scenery\`, \`model\`, \`website\`; none for a \`.canvas\`, which its editor opens by its name), its \`file\` from this folder and, if its file says none, a \`title\`, optionally under \`group\` headings. A file not listed (a scenery a video imports, a helper, a draft) is not shown to the person.
8
+ This folder is an AllyHub project. Videos, decks, images, 3D sceneries and 3D models are TypeScript, docs MDX, sheets YAML and CSV, reports HTML, a canvas JSON Canvas, and a website any web project; their files are named and laid out freely, and a model is made once and put in any scenery that imports it. \`${WORK_FILE}\` lists the work a person sees, in the order they see it: each piece's \`kind\` (\`video\`, \`slides\`, \`image\`, \`doc\`, \`sheet\`, \`report\`, \`scenery\`, \`model\`, \`website\`; none for a \`.canvas\`, which its editor opens by its name), its \`file\` from this folder and, if its file says none, a \`title\`, optionally under \`group\` headings. A file not listed (a scenery a video imports, a helper, a draft) is not shown to the person.
9
9
 
10
- - A video or a scenery is code, which needs a package.json: \`npm create allyhub@latest .\` makes one, and \`npm install\` installs it.
10
+ - Code imports \`${PROJECT_PACKAGES.sdk}\` and three.js with nothing installed: \`allyhub\` brings them where the project has not installed them. A package of another that code imports is installed with \`npm install <package>\`.
11
11
 
12
12
  ${agentRules()}
13
13
  `}export const PROJECT_CLAUDE=`@AGENTS.md
14
- `,WORK_FILE="allyhub.yaml";export function projectWork(s){const e=Object.entries(s);return e.length===0?`work: []
14
+ `,WORK_FILE="allyhub.yaml";export function projectWork(n){const e=Object.entries(n);return e.length===0?`work: []
15
15
  versions: {}
16
16
  `:`work: []
17
17
  versions:
18
- ${e.map(([t,n])=>` ${/^[a-z][\w-]*$/u.test(t)?t:JSON.stringify(t)}: ${String(n)}
18
+ ${e.map(([t,s])=>` ${/^[a-z][\w-]*$/u.test(t)?t:JSON.stringify(t)}: ${String(s)}
19
19
  `).join("")}`}export const PROJECT_TSCONFIG=`${JSON.stringify({compilerOptions:{target:"ES2022",module:"ESNext",moduleResolution:"Bundler",lib:["ES2022","DOM","DOM.Iterable"],types:[`${PROJECT_PACKAGES.sdk}/client`,`${PROJECT_PACKAGES.cli}/client`],strict:!0,noEmit:!0,skipLibCheck:!0,verbatimModuleSyntax:!0,allowImportingTsExtensions:!0},include:["**/*.ts",".allyhub/cache/types"],exclude:["node_modules"]},null,2)}
20
- `;export function packageName(s){const e=s.toLowerCase().normalize("NFKD").replace(/\p{M}/gu,"").replace(/[^\w.-]+/gu,"-").replace(/^[-._]+|[-._]+$/gu,"").slice(0,214);return e===""?"allyhub-project":e}const c=s=>m(s).then(()=>!0,()=>!1);export async function writeAgentFiles(s,e){const t=u(s);await p(t,{recursive:!0});const n=[];for(const[o,l]of[["AGENTS.md",projectAgents()],["CLAUDE.md",PROJECT_CLAUDE],[WORK_FILE,projectWork(e)]])await c(a(t,o))||(await d(a(t,o),l,{flag:"wx"}),n.push(o));return n}export async function startProject(s,e){const t=u(s);if(await c(a(t,"package.json")))throw new Error(`${t} already has a package.json: add AllyHub to it with npm install ${PROJECT_PACKAGES.cli} ${PROJECT_PACKAGES.sdk}.`);const n=packageName(f(t)),o=i=>e.packages?.[i]??e.version,l={name:n,version:"0.0.0",private:!0,type:"module",scripts:{dev:"allyhub dev",check:"allyhub check",export:"allyhub export",typecheck:"tsc --noEmit"},dependencies:{[PROJECT_PACKAGES.cli]:o(PROJECT_PACKAGES.cli),[PROJECT_PACKAGES.sdk]:o(PROJECT_PACKAGES.sdk)},devDependencies:{typescript:PROJECT_TYPESCRIPT}},h=[["package.json",`${JSON.stringify(l,null,2)}
21
- `],["tsconfig.json",PROJECT_TSCONFIG],[".gitignore",PROJECT_GITIGNORE]];await p(t,{recursive:!0});const r=[];for(const[i,y]of h)await c(a(t,i))||(await d(a(t,i),y,{flag:"wx"}),r.push(i));return r.push(...await writeAgentFiles(t,e.formats)),{folder:t,name:n,files:r}}
20
+ `;export function packageName(n){const e=n.toLowerCase().normalize("NFKD").replace(/\p{M}/gu,"").replace(/[^\w.-]+/gu,"-").replace(/^[-._]+|[-._]+$/gu,"").slice(0,214);return e===""?"allyhub-project":e}const c=n=>y(n).then(()=>!0,()=>!1);export async function writeAgentFiles(n,e){const t=u(n);await p(t,{recursive:!0});const s=[];for(const[o,a]of[["AGENTS.md",projectAgents()],["CLAUDE.md",PROJECT_CLAUDE],[WORK_FILE,projectWork(e)],[".gitignore",PROJECT_GITIGNORE]])await c(r(t,o))||(await d(r(t,o),a,{flag:"wx"}),s.push(o));return s}export async function startProject(n,e){const t=u(n);if(await c(r(t,"package.json")))throw new Error(`${t} already has a package.json: add AllyHub to it with npm install ${PROJECT_PACKAGES.cli} ${PROJECT_PACKAGES.sdk}.`);const s=packageName(f(t)),o=i=>e.packages?.[i]??e.version,a={name:s,version:"0.0.0",private:!0,type:"module",scripts:{dev:"allyhub dev",check:"allyhub check",export:"allyhub export",typecheck:"tsc --noEmit"},dependencies:{[PROJECT_PACKAGES.cli]:o(PROJECT_PACKAGES.cli),[PROJECT_PACKAGES.sdk]:o(PROJECT_PACKAGES.sdk)},devDependencies:{typescript:PROJECT_TYPESCRIPT}},h=[["package.json",`${JSON.stringify(a,null,2)}
21
+ `],["tsconfig.json",PROJECT_TSCONFIG],[".gitignore",PROJECT_GITIGNORE]];await p(t,{recursive:!0});const l=[];for(const[i,m]of h)await c(r(t,i))||(await d(r(t,i),m,{flag:"wx"}),l.push(i));return l.push(...await writeAgentFiles(t,e.formats)),{folder:t,name:s,files:l}}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/scaffold",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/scenery",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/scenery-host",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,3 +1,3 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{readDataFileAsWritten as g}from"@allyhub/formats";import{CORE_SCHEMA as y,load as S}from"js-yaml";import{inPixels as c}from"./units.js";import{LineCounter as f,isMap as k,isScalar as d,parseDocument as p,visit as $}from"yaml";export const ENTRY="sheet.yaml",CODE="sheet.ts";const b={clustered:"clustered",standard:"clustered",stacked:"stacked",percentStacked:"stacked-100"},M={col:"column",column:"column",bar:"bar",area:"area",line:"line"};function m(n){const s=n.sheets;if(!Array.isArray(s))return n;for(const r of s)if(Array.isArray(r.charts))for(const e of r.charts){const t=typeof e.type=="string"?M[e.type]:void 0,o=e.grouping;if(t===void 0||typeof o!="string")continue;const i=b[o];i!==void 0&&(e.type=t==="line"||t==="area"?i==="clustered"?t:`${t}-${i}`:`${t}-${i}`,Reflect.deleteProperty(e,"grouping"))}return n}export const codeOf=n=>readSheetFile(n).file?.code;export function placesOf(n,s){const r=e=>{const t=e===""?[]:e.split("/");for(const o of s.split("/"))if(!(o===""||o==="."))if(o===".."){if(t.length===0)return;t.pop()}else t.push(o);return t.join("/")};return[...new Set([r(n),r("")])].filter(e=>e!==void 0&&e!=="")}export function dataFilesOf(n){const s=readSheetFile(n),r=s.file??s.partial;return[...new Set(r?.sheets.flatMap(e=>[...(e.tables??[]).map(t=>t.rows),...(e.blocks??[]).map(t=>t.rows)])??[])]}function O(n){const s=[];return $(n,{Map(r,e){if(!k(e))return;const t=new Set;for(const o of e.items){const i=d(o.key)?String(o.key.value):void 0;if(i!==void 0)if(t.has(i)){const l=d(o.key)?o.key.range?.[0]??0:0;s.push({at:l,key:i})}else t.add(i)}}}),s}export const SHEET_FILE_MOST=20*1e3*1e3,sizeSaid=n=>`${String(Math.round(n/1e5)/10)} MB`;function a(n,s){let r=s;return e=>{if(r===void 0){const i=new f;r={doc:p(n,{lineCounter:i,uniqueKeys:!1}),counter:i}}const{doc:t,counter:o}=r;for(let i=e.length;i>=0;i--){const u=t.getIn(e.slice(0,i),!0)?.range?.[0];if(u!==void 0)return o.linePos(u).line}}}function A(n){try{return{value:S(n,{schema:y})}}catch{return}}export function readSheetFile(n){if(n.length>SHEET_FILE_MOST)return{problems:[{file:ENTRY,line:1,message:`this file is ${sizeSaid(n.length)}; a sheet's file over ${sizeSaid(SHEET_FILE_MOST)} is not read`}],lineOf:()=>{}};const s=A(n);if(s)return h(m(s.value??{}),a(n));const r=new f,e=p(n,{lineCounter:r,uniqueKeys:!1}),t=O(e);return e.errors.length>0||t.length>0?{problems:[...e.errors.map(o=>({file:ENTRY,line:r.linePos(o.pos[0]).line,message:`not YAML: ${o.message.split(`
3
- `)[0]??""}`})),...t.map(o=>({file:ENTRY,line:r.linePos(o.at).line,message:`not YAML: Map keys must be unique (${o.key})`}))],lineOf:a(n,{doc:e,counter:r})}:h(m(e.toJS()??{}),a(n,{doc:e,counter:r}))}function h(n,s){const r=g("sheet",n);return r.ok?{file:c(r.value),problems:[],lineOf:s}:{...r.partial?{partial:c(r.partial)}:{},problems:r.problems.map(e=>{const t=s(e.path===""?[]:e.path.split(".").map(o=>/^\d+$/u.test(o)?Number(o):o));return{file:ENTRY,...t===void 0?{}:{line:t},message:`${e.path===""?"":`${e.path}: `}${e.message}`}}),lineOf:s}}
2
+ import{readDataFileAsWritten as g}from"@allyhub/formats";import{CORE_SCHEMA as y,load as S}from"js-yaml";import{inPixels as c}from"./units.js";import{LineCounter as f,isMap as k,isScalar as d,parseDocument as p,visit as $}from"yaml";export const ENTRY="sheet.yaml",CODE="sheet.ts";const b={clustered:"clustered",standard:"clustered",stacked:"stacked",percentStacked:"stacked-100"},O={col:"column",column:"column",bar:"bar",area:"area",line:"line"};function m(t){const s=t.sheets;if(!Array.isArray(s))return t;for(const o of s)if(Array.isArray(o.charts))for(const e of o.charts){const r=typeof e.type=="string"?O[e.type]:void 0,n=e.grouping;if(r===void 0||typeof n!="string")continue;const i=b[n];i!==void 0&&(e.type=r==="line"||r==="area"?i==="clustered"?r:`${r}-${i}`:`${r}-${i}`,Reflect.deleteProperty(e,"grouping"))}return t}export const codeOf=t=>readSheetFile(t).file?.code;export function placesOf(t,s){const o=e=>{const r=e===""?[]:e.split("/");for(const n of s.split("/"))if(!(n===""||n==="."))if(n===".."){if(r.length===0)return;r.pop()}else r.push(n);return r.join("/")};return[...new Set([o(t),o("")])].filter(e=>e!==void 0&&e!=="")}export function dataFilesOf(t){const s=readSheetFile(t),o=s.file??s.partial;return[...new Set(o?.sheets.flatMap(e=>[...(e.tables??[]).map(r=>r.rows),...(e.blocks??[]).map(r=>r.rows)])??[])]}function M(t){const s=[];return $(t,{Map(o,e){if(!k(e))return;const r=new Set;for(const n of e.items){const i=d(n.key)?String(n.key.value):void 0;if(i!==void 0)if(r.has(i)){const a=d(n.key)?n.key.range?.[0]??0:0;s.push({at:a,key:i})}else r.add(i)}}}),s}export const SHEET_FILE_MOST=20*1e3*1e3,sizeSaid=t=>`${String(Math.round(t/1e5)/10)} MB`;function l(t,s){let o=s;return e=>{if(o===void 0){const i=new f;o={doc:p(t,{lineCounter:i,uniqueKeys:!1}),counter:i}}const{doc:r,counter:n}=o;for(let i=e.length;i>=0;i--){const u=r.getIn(e.slice(0,i),!0)?.range?.[0];if(u!==void 0)return n.linePos(u).line}}}function w(t){try{return{value:S(t,{schema:y})}}catch{return}}export function readSheetFile(t){if(t.length>SHEET_FILE_MOST)return{problems:[{file:ENTRY,line:1,message:`this file is ${sizeSaid(t.length)}; a sheet's file over ${sizeSaid(SHEET_FILE_MOST)} is not read`}],lineOf:()=>{}};const s=w(t);if(s)return h(m(s.value??{}),l(t));const o=new f,e=p(t,{lineCounter:o,uniqueKeys:!1}),r=M(e);return e.errors.length>0||r.length>0?{problems:[...e.errors.map(n=>({file:ENTRY,line:o.linePos(n.pos[0]).line,message:`not YAML: ${n.message.split(`
3
+ `)[0]??""}`})),...r.map(n=>({file:ENTRY,line:o.linePos(n.at).line,message:`not YAML: Map keys must be unique (${n.key})`}))],lineOf:l(t,{doc:e,counter:o})}:h(m(e.toJS()??{}),l(t,{doc:e,counter:o}))}function h(t,s){const o=g("sheet",t),e=n=>{const i=s(n.path===""?[]:n.path.split(".").map(a=>/^\d+$/u.test(a)?Number(a):a));return{file:ENTRY,...i===void 0?{}:{line:i},message:`${n.path===""?"":`${n.path}: `}${n.message}`}},r=(o.leftOut??[]).map(n=>({...e(n),level:"warn"}));return o.ok?{file:c(o.value),problems:r,lineOf:s}:{...o.partial?{partial:c(o.partial)}:{},problems:[...o.problems.map(e),...r],lineOf:s}}