allyhub 0.13.0 → 0.15.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.
- package/CHANGELOG.md +14 -0
- package/dist/commands/frames.js +9 -11
- package/dist/node_modules/@allyhub/3d-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/browser/package.json +1 -1
- package/dist/node_modules/@allyhub/build/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
- package/dist/node_modules/@allyhub/doc/package.json +1 -1
- package/dist/node_modules/@allyhub/doc-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
- package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
- package/dist/node_modules/@allyhub/formats/dist/files.d.ts +9 -2
- package/dist/node_modules/@allyhub/formats/dist/files.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +9 -0
- package/dist/node_modules/@allyhub/formats/dist/note-shape.js +1 -1
- package/dist/node_modules/@allyhub/formats/package.json +1 -1
- package/dist/node_modules/@allyhub/i18n/package.json +1 -1
- package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
- package/dist/node_modules/@allyhub/image-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
- package/dist/node_modules/@allyhub/image-render/package.json +1 -1
- package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/package.json +1 -1
- package/dist/node_modules/@allyhub/media-extension/package.json +39 -1
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +36 -0
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +1 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/package.json +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/telemetry/package.json +1 -1
- package/dist/node_modules/@allyhub/text-extension/markup/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/text-extension/markup/markup.json +19 -0
- package/dist/node_modules/@allyhub/text-extension/markup/notes/launch.md +9 -0
- package/dist/node_modules/@allyhub/text-extension/package.json +64 -0
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/x-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/package.json +12 -12
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-D70jg8mE.js → abnfDiagram-WEYOIA3C-BHI0AbUY.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-CrXS3E8e.js → architecture-WOLXFQ4H-BMQS-OKZ.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-JrBljCOx.js → architectureDiagram-ZHVYKT53-DZp9CM6P.js} +1 -1
- package/editor-web/assets/{article-BWrfVMRA.js → article-C_mBG5a1.js} +4 -4
- package/editor-web/assets/{article-hxHjqzV1.js → article-DWBxNvX0.js} +2 -2
- package/editor-web/assets/{blockDiagram-RJAE7QA3-BzfC1xTS.js → blockDiagram-RJAE7QA3-h6LWaev4.js} +1 -1
- package/editor-web/assets/{textarea-DBwRbOyF.js → browser-C9NP0ZYz.js} +47 -47
- package/editor-web/assets/button-BVQH7zxz.js +41 -0
- package/editor-web/assets/{c4Diagram-XDPPPE54-s2TpXKgH.js → c4Diagram-XDPPPE54-BvSMs7J4.js} +1 -1
- package/editor-web/assets/channel-BFHB0S0f.js +1 -0
- package/editor-web/assets/{chunk-2E7WHVMD-DyE9v6UX.js → chunk-2E7WHVMD-0EJTAmDF.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-CCunMMcT.js → chunk-4EMNKR2T-BeYB4AEY.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-CZgJYrN4.js → chunk-55XCU76K-BPFOPTBe.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-B01FlTFf.js → chunk-7S6XSTFO-CZ2C7ULu.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-latWUvVu.js → chunk-AQDTSKZB-B5RtsZkj.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-BHFiQInN.js → chunk-DSNLSHJZ-_3G4hddj.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-C4hR36ab.js → chunk-HAGFOTED-DO5b4ll2.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-CNrxiD2Q.js → chunk-HNE4Q36P-C6XNI71Q.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-DpyEHKEY.js → chunk-NQOKRVIF-nDCX29rQ.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-SIEJdixh.js → chunk-UHW7PFBP-CRCOiitq.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-CxWnQRxx.js → chunk-VQ5W62QI-hNPKKjCN.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-CbRuCBm6.js → chunk-WQQL4CDK-KlnVtIDc.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-Cgu-EQvs.js → chunk-YZO67HFG-B76hDUrM.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-pAl5CV3o.js → chunk-ZAUX2LTX-D9m1N0wI.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-Du5hY-FP.js → chunk-ZCHMQSOR-443euxzo.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-CevU94T6.js → classDiagram-v2-4MYWR3UA-Bbw-8Ons.js} +1 -1
- package/editor-web/assets/{collaborator-C6IJkcGR.js → collaborator-2qfw-8OJ.js} +1 -1
- package/editor-web/assets/{cynefin-EF2NZ3EQ-DBHwpMRJ.js → cynefin-EF2NZ3EQ-C4E7TlUr.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-CxUzpjvG.js → cynefinDiagram-WF24UDRP-PBPGa_HS.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-BAJNBDYO.js → dagre-NK4GIZVX-DwXdEtQG.js} +1 -1
- package/editor-web/assets/{diagram-CBK3MWTC-BQW9Fbw-.js → diagram-CBK3MWTC-BE3FwdX7.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-DQBROUfn.js → diagram-I5XIIV2D-BPl2ZY33.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-DEoK31qy.js → diagram-ODIL2UCW-BLVPYSzw.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-BTCa2We1.js → diagram-PFBEJUXE-BVZk62FO.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-DNM8qWC3.js → diagram-RJA3I4VV-Z75LSbxH.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-BcKpED4d.js → diagram-TYUNFSNR-BynGqDAg.js} +1 -1
- package/editor-web/assets/{dist-RkxskWGK.js → dist--ijXGgvi.js} +4 -4
- package/editor-web/assets/dist-BrGYx10E.js +2 -0
- package/editor-web/assets/{dist-Dpet39Yp.js → dist-C-yi9AAi.js} +27 -27
- package/editor-web/assets/dist-CIQUbiAd.js +38 -0
- package/editor-web/assets/{dist-BSPs7tZR.js → dist-Ch34PllS.js} +1 -1
- package/editor-web/assets/dist-CxlIyluY.js +43 -0
- package/editor-web/assets/{dist-DMZ1VHPK.js → dist-D9N4Fxqr.js} +1 -1
- package/editor-web/assets/dist-DWKEqAou.js +6 -0
- package/editor-web/assets/{dist-aANR6S2I.js → dist-DX0VLTRV.js} +3 -3
- package/editor-web/assets/dist-D_xVYGnk.js +45 -0
- package/editor-web/assets/dist-Nc_h0Jye.js +4 -0
- package/editor-web/assets/dist-UG2TIZxP.js +16 -0
- package/editor-web/assets/dist-VP4ECMOk.js +1 -0
- package/editor-web/assets/dist-cUeSwqws.js +1 -0
- package/editor-web/assets/dist-xpAaABxb.js +24 -0
- package/editor-web/assets/{ebnfDiagram-V4P3TTPT-D-1x27Eh.js → ebnfDiagram-V4P3TTPT-SwhqbeK4.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-BJSCxiTH.js → elk-QONTBCTQ-Bb1GSt2Z.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-C7Q357iD.js → erDiagram-KYQIGQAA-qUy0NDKn.js} +1 -1
- package/editor-web/assets/{eventmodeling-K75KTNOO-kXrQLSF5.js → eventmodeling-K75KTNOO-BYBYso_j.js} +1 -1
- package/editor-web/assets/file-exclamation-point-C_fX4fpI.js +1 -0
- package/editor-web/assets/flowDiagram-IUGLLWBU-BSCBBtP3.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-Bt3SRgK7.js → ganttDiagram-R7GPNTJY-Cw-BkZT8.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-DS4CkhfK.js → gitGraph-VSP46ZUC-CTXzWPq_.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-BgfmSVdI.js → gitGraphDiagram-PDYL7XHY-Jd9HU3WA.js} +1 -1
- package/editor-web/assets/{hint-BmRKl2nL.js → hint-mQB8slJ2.js} +1 -1
- package/editor-web/assets/index-Br4a-QEv.css +2 -0
- package/editor-web/assets/index-CglHrLRS.js +28 -0
- package/editor-web/assets/{info-OHQRW6UA-BZjctF3x.js → info-OHQRW6UA-C4oj5BpF.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-BAp5oUXk.js → infoDiagram-MVDRKAX5-D09aYJ28.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-DGL7ZfUu.js → ishikawaDiagram-HPEHV2GE-BEdXoXb2.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-DOOoBGx-.js → journeyDiagram-BOSHW7O7-DE-_0aww.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-lbLuUiMW.js → kanban-definition-FNSA4HC5-Cn3_bvPS.js} +1 -1
- package/editor-web/assets/{mermaid-parser.core-RkCFmJcg.js → mermaid-parser.core-BK52JMZH.js} +3 -3
- package/editor-web/assets/{mermaid.core-BVUl-afX.js → mermaid.core-CmfBU89G.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-C3DC4T1J.js → mindmap-definition-6OY57UG3-CtUhkv9I.js} +1 -1
- package/editor-web/assets/{packet-JDAUHWVQ-Bkd6YpX8.js → packet-JDAUHWVQ-C7nciBNp.js} +1 -1
- package/editor-web/assets/pdf-BHx8b9rl.js +54 -0
- package/editor-web/assets/pdf.worker.min-CjEcRF4W.mjs +28 -0
- package/editor-web/assets/pdf.worker.min-DI4FfYVf.js +1 -0
- package/editor-web/assets/{pegDiagram-ECIUJNBX-B5Seh4Oe.js → pegDiagram-ECIUJNBX-DUkbAcTs.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-BNbb4Q8k.js → pie-XZMESJXO-BIGyKhav.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-_hnbUloZ.js → pieDiagram-GNMPY74T-DrYj-JeG.js} +1 -1
- package/editor-web/assets/{progress-D6wSFdpY.js → progress-udl4pNsP.js} +1 -1
- package/editor-web/assets/{props-form-BfwEi6jW.js → props-form-DrZYDmSM.js} +1 -1
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-1rbqW-KO.js → quadrantDiagram-D57K4MC3-qkBoh1ep.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-BWSnhBSp.js → radar-ABXABTNO-BkJmvR6a.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-BNB-OKs1.js → railroad-I3PHUGI6-BFH-ip4B.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-BKgidf_B.js → railroad-abnf-LNEFI6M7-BBlzHL6Z.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-CNCnxtHp.js → railroad-ebnf-DWYD2UWJ-CCVsG0ui.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-CyBW6_0o.js → railroad-peg-JR7BVNR7-Puo7BFPl.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-Cud3SJ7O.js → railroadDiagram-Y72NRBL7-DCwfkv35.js} +1 -1
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-BrSCcpqV.js → requirementDiagram-EQYSW5RA-DSTcDj32.js} +1 -1
- package/editor-web/assets/{row-VwyPfa1b.js → row-dgHEAE7h.js} +1 -1
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-rJV4dJFn.js → sankeyDiagram-SY24JHO5-Kqq4fCvG.js} +1 -1
- package/editor-web/assets/schemas-B89k2jEC.js +1 -0
- package/editor-web/assets/scissors-BURkYWPv.js +1 -0
- package/editor-web/assets/search-jKDvFIEU.js +1 -0
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-CEUuD2n6.js → sequenceDiagram-BLEHNHQU-B1uodEgL.js} +1 -1
- package/editor-web/assets/{session-DE0fvAcs.js → session-CUCSWPTE.js} +1 -1
- package/editor-web/assets/{slides-BgacyjJW.js → slides-BdaWgL_N.js} +1 -1
- package/editor-web/assets/{snapshots-D8TtZp1x.js → snapshots-CTS2iez5.js} +1 -1
- package/editor-web/assets/{split-Cx2MMnC_.js → split-Cu0fidVK.js} +1 -1
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-BRE_C2he.js → stateDiagram-v2-A6IESKWZ-B6gG3vUm.js} +1 -1
- package/editor-web/assets/surface-D9qJjJQL.js +1 -0
- package/editor-web/assets/swatch-S8YuBYyj.js +1 -0
- package/editor-web/assets/{swimlanes-B3ENRKFQ-BEPqWgVe.js → swimlanes-B3ENRKFQ-CZayRtvU.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B9tLTrym.js +8 -0
- package/editor-web/assets/{switch-DaG6OuAi.js → switch-D5kPl2jO.js} +1 -1
- package/editor-web/assets/syntax-DSsHrzWF.js +1 -0
- package/editor-web/assets/{syntax-CLaCSmoi.js → syntax-PERQ2szW.js} +1 -1
- package/editor-web/assets/tabs-B_K0Db1I.js +1 -0
- package/editor-web/assets/textarea-mzr9Kfuf.js +1 -0
- package/editor-web/assets/{timeline-definition-JXYKGLGB-p8Qeg4pS.js → timeline-definition-JXYKGLGB-5YoY8Xhw.js} +1 -1
- package/editor-web/assets/{treeView-D4JQ5SDB-C9FTdXKq.js → treeView-D4JQ5SDB-Brd_NUPx.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-XAeLVOtI.js → treemap-SAJKECNS-DmfdnlWl.js} +1 -1
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX-BV3AMRuH.js → usecaseDiagram-WPOLBNNX-lcAkMviI.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-CJdKcYyA.js → vennDiagram-Q3Y3IDCW-DY_n48hQ.js} +1 -1
- package/editor-web/assets/{video-He8p6dr6.js → video-Bv3rETBU.js} +1 -1
- package/editor-web/assets/w3c-keyname-BOAvb0qz.js +1 -0
- package/editor-web/assets/{wardley-7MLQ67FV-DZh6Mf22.js → wardley-7MLQ67FV-DzIFSBQz.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-XtvKSX-m.js → wardleyDiagram-IVAIDKWA-CsXNajIg.js} +1 -1
- package/editor-web/assets/whole-word-6DliXke2.js +1 -0
- package/editor-web/assets/{words-CjW-1tZI.js → words-BTRrBFUo.js} +1 -1
- package/editor-web/assets/{words-CPHp_0tt.js → words-ll_94CD2.js} +1 -1
- package/editor-web/assets/{xychartDiagram-4URNHDU4-CGkL42sz.js → xychartDiagram-4URNHDU4-DDpGFEum.js} +1 -1
- package/editor-web/index.html +4 -4
- package/package.json +2 -8
- package/dist/commands/frames/report.js +0 -2
- package/dist/node_modules/@allyhub/report-extension/dist/build.js +0 -2
- package/dist/node_modules/@allyhub/report-extension/dist/check.js +0 -3
- package/dist/node_modules/@allyhub/report-extension/dist/cli/find.js +0 -2
- package/dist/node_modules/@allyhub/report-extension/dist/cli/index.js +0 -5
- package/dist/node_modules/@allyhub/report-extension/dist/cli/picture.js +0 -30
- package/dist/node_modules/@allyhub/report-extension/dist/export.js +0 -2
- package/dist/node_modules/@allyhub/report-extension/dist/inline.js +0 -58
- package/dist/node_modules/@allyhub/report-extension/dist/page.js +0 -21
- package/dist/node_modules/@allyhub/report-extension/dist/project-tools.js +0 -21
- package/dist/node_modules/@allyhub/report-extension/dist/styles.js +0 -5
- package/dist/node_modules/@allyhub/report-extension/dist/theme.js +0 -2
- package/dist/node_modules/@allyhub/report-extension/dist/tools.js +0 -2
- package/dist/node_modules/@allyhub/report-extension/dist/workspace.js +0 -2
- package/dist/node_modules/@allyhub/report-extension/package.json +0 -182
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/STYLE.md +0 -139
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.css +0 -109
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.json +0 -17
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/tokens.js +0 -40
- package/editor-web/assets/button-EftXSfev.js +0 -41
- package/editor-web/assets/channel-BFbXY6R0.js +0 -1
- package/editor-web/assets/dist-90dg0B0d.js +0 -2
- package/editor-web/assets/dist-CP9XwbBS.js +0 -45
- package/editor-web/assets/dist-CRxtC7DG.js +0 -24
- package/editor-web/assets/dist-Cmnq14RO.js +0 -6
- package/editor-web/assets/dist-CrZwqOm2.js +0 -1
- package/editor-web/assets/dist-CzUWTcvC.js +0 -38
- package/editor-web/assets/dist-DYnXIW8F.js +0 -16
- package/editor-web/assets/dist-Dre4Cwpz.js +0 -1
- package/editor-web/assets/dist-qSuFWuVB.js +0 -4
- package/editor-web/assets/flowDiagram-IUGLLWBU-GSC4btef.js +0 -1
- package/editor-web/assets/index-D8qc_ipi.js +0 -28
- package/editor-web/assets/index-DDtZpLDF.css +0 -2
- package/editor-web/assets/palette-INFK0Zsr.js +0 -1
- package/editor-web/assets/scissors-D9WmgvNP.js +0 -1
- package/editor-web/assets/swatch-lxK4C8fD.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DAcNszZ6.js +0 -8
- package/editor-web/assets/syntax-9LD8MzGy.js +0 -1
- package/editor-web/assets/tabs-DjhzblAG.js +0 -1
- package/editor-web/assets/trash-2-DrnRa91l.js +0 -1
- /package/dist/node_modules/@allyhub/{report-extension → text-extension}/LICENSE +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as t}from"./d3-selection-COWvaQNI.js";import{C as n,E as r,H as i,U as a,_ as o,a as s,c,f as l,q as u,v as d,y as f,z as p}from"./chunk-DSNLSHJZ-
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as t}from"./d3-selection-COWvaQNI.js";import{C as n,E as r,H as i,U as a,_ as o,a as s,c,f as l,q as u,v as d,y as f,z as p}from"./chunk-DSNLSHJZ-_3G4hddj.js";import{n as m,t as h}from"./d3-scale-CElPUUud.js";import{g}from"./dist-DdXDFcej.js";import"./chunk-YZO67HFG-B76hDUrM.js";import{i as _}from"./chunk-7S6XSTFO-CZ2C7ULu.js";import{t as v}from"./chunk-AQDTSKZB-B5RtsZkj.js";import{a as y}from"./mermaid.core-CmfBU89G.js";var b=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,10,12,14,16,18,19,21,23],r=[2,6],i=[1,3],a=[1,5],o=[1,6],s=[1,7],c=[1,5,10,12,14,16,18,19,21,23,36,37,38],l=[1,25],u=[1,26],d=[1,28],f=[1,29],p=[1,30],m=[1,31],h=[1,32],g=[1,33],_=[1,34],v=[1,35],y=[1,36],b=[1,37],x=[1,43],S=[1,42],C=[1,47],w=[1,50],T=[1,10,12,14,16,18,19,21,23,36,37,38],E=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],D=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],O=[1,65],k=[26,28],A={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:`error`,5:`XYCHART`,8:`CHART_ORIENTATION`,10:`title`,12:`X_AXIS`,14:`Y_AXIS`,16:`LINE`,18:`BAR`,19:`acc_title`,20:`acc_title_value`,21:`acc_descr`,22:`acc_descr_value`,23:`acc_descr_multiline_value`,24:`SQUARE_BRACES_START`,26:`SQUARE_BRACES_END`,28:`COMMA`,29:`NUMBER_WITH_DECIMAL`,30:`STR`,33:`ARROW_DELIMITER`,36:`NEWLINE`,37:`SEMI`,38:`EOF`,40:`MD_STR`,42:`AMP`,43:`NUM`,44:`ALPHA`,45:`PLUS`,46:`EQUALS`,47:`MULT`,48:`DOT`,49:`BRKT`,50:`MINUS`,51:`UNDERSCORE`},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setOrientation(a[s]);break;case 9:r.setDiagramTitle(a[s].text.trim());break;case 12:r.setLineData({text:``,type:`text`},a[s]);break;case 13:r.setLineData(a[s-1],a[s]);break;case 14:r.setBarData({text:``,type:`text`},a[s]);break;case 15:r.setBarData(a[s-1],a[s]);break;case 16:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 19:this.$=a[s-1];break;case 20:case 30:this.$=[a[s-2],...a[s]];break;case 21:case 31:this.$=[a[s]];break;case 22:this.$={value:Number(a[s-1]),label:a[s]};break;case 23:this.$={value:Number(a[s]),label:``};break;case 24:r.setXAxisTitle(a[s]);break;case 25:r.setXAxisTitle(a[s-1]);break;case 26:r.setXAxisTitle({type:`text`,text:``});break;case 27:r.setXAxisBand(a[s]);break;case 28:r.setXAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 29:this.$=a[s-1];break;case 32:r.setYAxisTitle(a[s]);break;case 33:r.setYAxisTitle(a[s-1]);break;case 34:r.setYAxisTitle({type:`text`,text:``});break;case 35:r.setYAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 39:this.$={text:a[s],type:`text`};break;case 40:this.$={text:a[s],type:`text`};break;case 41:this.$={text:a[s],type:`markdown`};break;case 42:this.$=a[s];break;case 43:this.$=a[s-1]+``+a[s]}},`anonymous`),table:[t(n,r,{3:1,4:2,7:4,5:i,36:a,37:o,38:s}),{1:[3]},t(n,r,{4:2,7:4,3:8,5:i,36:a,37:o,38:s}),t(n,r,{4:2,7:4,6:9,3:10,5:i,8:[1,11],36:a,37:o,38:s}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(c,[2,36]),t(c,[2,37]),t(c,[2,38]),{1:[2,1]},t(n,r,{4:2,7:4,3:21,5:i,36:a,37:o,38:s}),{1:[2,3]},t(c,[2,5]),t(n,[2,7],{4:22,36:a,37:o,38:s}),{11:23,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:39,13:38,24:x,29:S,30:l,31:40,32:41,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:45,15:44,29:C,30:l,35:46,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:49,17:48,24:w,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:52,17:51,24:w,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{20:[1,53]},{22:[1,54]},t(T,[2,18]),{1:[2,2]},t(T,[2,8]),t(T,[2,9]),t(E,[2,39],{41:55,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b}),t(E,[2,40]),t(E,[2,41]),t(D,[2,42]),t(D,[2,44]),t(D,[2,45]),t(D,[2,46]),t(D,[2,47]),t(D,[2,48]),t(D,[2,49]),t(D,[2,50]),t(D,[2,51]),t(D,[2,52]),t(D,[2,53]),t(T,[2,10]),t(T,[2,24],{32:41,31:56,24:x,29:S}),t(T,[2,26]),t(T,[2,27]),{33:[1,57]},{11:59,30:l,34:58,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},t(T,[2,11]),t(T,[2,32],{35:60,29:C}),t(T,[2,34]),{33:[1,61]},t(T,[2,12]),{17:62,24:w},{25:63,27:64,29:O},t(T,[2,14]),{17:66,24:w},t(T,[2,16]),t(T,[2,17]),t(D,[2,43]),t(T,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},t(T,[2,33]),{29:[1,70]},t(T,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},t(k,[2,23],{30:[1,73]}),t(T,[2,15]),t(T,[2,28]),t(T,[2,29]),{11:59,30:l,34:74,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},t(T,[2,35]),t(T,[2,19]),{25:75,27:64,29:O},t(k,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
3
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};A.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
package/editor-web/index.html
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
|
|
7
7
|
<title>AllyHub</title>
|
|
8
|
-
<script type="module" crossorigin src="./assets/index-
|
|
8
|
+
<script type="module" crossorigin src="./assets/index-CglHrLRS.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-COiEfhsA.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="./assets/jsx-runtime-DePvh3-m.js">
|
|
11
11
|
<link rel="modulepreload" crossorigin href="./assets/react-Bk7NnOLX.js">
|
|
12
12
|
<link rel="modulepreload" crossorigin href="./assets/createLucideIcon-REX213UO.js">
|
|
13
|
-
<link rel="modulepreload" crossorigin href="./assets/button-
|
|
14
|
-
<link rel="modulepreload" crossorigin href="./assets/snapshots-
|
|
13
|
+
<link rel="modulepreload" crossorigin href="./assets/button-BVQH7zxz.js">
|
|
14
|
+
<link rel="modulepreload" crossorigin href="./assets/snapshots-CTS2iez5.js">
|
|
15
15
|
<link rel="modulepreload" crossorigin href="./assets/layout-SWqqA0yV.js">
|
|
16
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
16
|
+
<link rel="stylesheet" crossorigin href="./assets/index-Br4a-QEv.css">
|
|
17
17
|
</head>
|
|
18
18
|
<body>
|
|
19
19
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "allyhub",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "allyhub: what an agent runs to check, render, measure and look at a project's content, in any agent app.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://allyhub.com",
|
|
@@ -41,16 +41,14 @@
|
|
|
41
41
|
"node": ">=22.19"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@allyhub/sdk": "0.
|
|
44
|
+
"@allyhub/sdk": "0.15.0",
|
|
45
45
|
"@fontsource-variable/inter": "^5.3.0",
|
|
46
|
-
"@fontsource-variable/inter-tight": "5.3.0",
|
|
47
46
|
"@fontsource/caladea": "^5.3.0",
|
|
48
47
|
"@fontsource/carlito": "^5.3.0",
|
|
49
48
|
"@fontsource/cousine": "^5.3.0",
|
|
50
49
|
"@fontsource/lxgw-wenkai": "^5.3.0",
|
|
51
50
|
"@fontsource/noto-color-emoji": "^5.3.2",
|
|
52
51
|
"@fontsource/noto-sans-sc": "^5.3.0",
|
|
53
|
-
"@fontsource/noto-serif": "5.3.0",
|
|
54
52
|
"@fontsource/noto-serif-sc": "^5.3.1",
|
|
55
53
|
"@fontsource/tinos": "^5.3.0",
|
|
56
54
|
"@formulajs/formulajs": "4.6.1",
|
|
@@ -59,18 +57,14 @@
|
|
|
59
57
|
"@hono/node-server": "1.19.17",
|
|
60
58
|
"@jridgewell/trace-mapping": "0.3.31",
|
|
61
59
|
"ag-psd": "34.1.0",
|
|
62
|
-
"chart.js": "4.5.1",
|
|
63
60
|
"dequal": "2.0.3",
|
|
64
61
|
"devtools-protocol": "0.0.1724436",
|
|
65
62
|
"diff": "9.0.0",
|
|
66
|
-
"dom-serializer": "2.0.0",
|
|
67
|
-
"domhandler": "5.0.3",
|
|
68
63
|
"env-paths": "4.0.0",
|
|
69
64
|
"fast-xml-parser": "^5.11.2",
|
|
70
65
|
"fflate": "^0.8.3",
|
|
71
66
|
"highlight.js": "11.11.1",
|
|
72
67
|
"hono": "4.13.13",
|
|
73
|
-
"htmlparser2": "10.1.0",
|
|
74
68
|
"ignore": "^7.0.5",
|
|
75
69
|
"image-size": "^2.0.4",
|
|
76
70
|
"jsonc-parser": "^3.3.1",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{createHash as d}from"node:crypto";import{dirname as m,join as c,relative as o}from"node:path";import{REPORT_DEFAULTS as f,reportPicture as u}from"@allyhub/report-extension/cli";import{webp as l}from"@allyhub/image-render/webp";import{EXIT as h}from"@allyhub/protocol";import{CommandError as w}from"../../command.js";import{picturePath as g,save as k,workPath as E}from"./common.js";export function selectorName(t){const n=t.replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/gu,"").slice(0,40),e=d("sha256").update(t).digest("hex").slice(0,6);return n===""?e:`${n}-${e}`}export async function reportFrames(t){const n=o(t.root,m(t.file)),e=t.width??f.width;let r;try{r=await u({root:t.root,file:o(t.root,t.file).split("\\").join("/"),width:e,dark:t.dark,print:t.print,at:t.at})}catch(i){throw i instanceof Error&&i.name==="ReportPictureError"?new w("no-element",i.message,{exit:h.notFound,hint:"Write --at as a CSS selector of an element the page draws."}):i}const s=[`w${String(e)}`,...t.dark?["dark"]:[],...t.print?["print"]:[],...t.at===void 0?[]:[`at-${selectorName(t.at)}`]].join("-"),p=await k(g(t.cwd,t.out,c(E(t.root,"frames",n),`${s}.png`)),await l(r.png,90)),a=r.findings;return{mode:"frame",source:"report",report:n,out:p,width:e,pageHeight:r.pageHeight,bands:r.bands,missing:a.missing,outside:a.outside,thrown:a.thrown,...a.unsettled===void 0?{}:{unsettled:a.unsettled},blankCanvases:r.blankCanvases}}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{stat as p}from"node:fs/promises";import{join as c}from"node:path";import{startBrowser as l}from"@allyhub/browser";import{problem as s}from"@allyhub/diagnostics";import{reportProblems as f,systemFaces as d}from"./check.js";import{openReport as m}from"./page.js";export const HTML=/\.html?$/iu;export async function readReport(t,e){const o=e.entry,n={where:{file:o}},r=[];return HTML.test(o)?(await p(c(t,o)).catch(()=>{}))?.isFile()||r.push(s("AK-M017",`${o} is not there.`,n)):r.push(s("AK-M017",`${o} is not an HTML file: a report is one page, its file ending in .html.`,n)),{problems:r}}export async function checkReport(t,e){if(((await readReport(t,e)).problems??[]).length>0)return[];const n=await l();try{const r=await m(n,t,e.entry);try{const i=r.findings(),a=i.unsettled===void 0?await d(r.page):[];return f(e.entry,i,a)}finally{await r.close()}}finally{await n.close()}}const u={read:(t,e)=>readReport(e.root,t),check:(t,e)=>checkReport(e.root,t),unreadable:()=>[],render:async(t,e)=>(await import("./export.js")).renderReportFiles(t,e)};export default u;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{problem as p}from"@allyhub/diagnostics";const T=3e3;export async function systemFaces(n){const s=n.session;await s.send("DOM.enable"),await s.send("CSS.enable");const{root:f}=await s.send("DOM.getDocument",{depth:-1}),r=new Set(["SCRIPT","STYLE","NOSCRIPT","TEMPLATE","HEAD"]),o=[],c=e=>{if(o.length>=T||r.has(e.nodeName))return;const i=(e.children??[]).filter(a=>a.nodeType===3).map(a=>a.nodeValue).join("").trim();e.nodeType===1&&i!==""&&o.push({node:e,text:i});for(const a of e.children??[])c(a)};c(f);const t=new Map;for(const{node:e,text:i}of o){const a=await s.send("CSS.getPlatformFontsForNode",{nodeId:e.nodeId}).catch(()=>{});for(const l of a?.fonts??[]){if(l.isCustomFont)continue;const d=t.get(l.familyName),u=e.attributes??[],m=S=>{const h=u.indexOf(S);return h>=0&&h%2===0?u[h+1]:void 0},$=m("id"),w=m("class")?.trim().split(/\s+/u)[0],g=`${e.localName}${$?`#${$}`:w?`.${w}`:""}`,y=i.replace(/\s+/gu," ").slice(0,40);t.set(l.familyName,{family:l.familyName,glyphs:(d?.glyphs??0)+l.glyphCount,sample:d?.sample??`${g} "${y}"`})}}return[...t.values()].sort((e,i)=>i.glyphs-e.glyphs)}export function reportProblems(n,s,f){const r={where:{file:n}},o=[],c=new Set;for(const t of s.missing)c.has(t.path)||(c.add(t.path),o.push(p("AK-A001",`${n} asks for ${t.path}, which is not in the project (${String(t.status)}).`,r)));for(const t of new Set(s.outside))o.push(p("AK-N003",`${n} asks for ${t}, outside the project: a report is drawn offline, from its project's files alone. Put the file in the project (a package installed, or a file beside the report) and name it by its path.`,r));for(const t of s.thrown)o.push(p("AK-R001",`${n}: ${t.text.split(`
|
|
3
|
-
`)[0]??t.text}${t.url?` (${t.url.replace(/^https?:\/\/[^/]+\//u,"")}:${String(t.line)})`:""}.`,{where:{file:n,...t.url?{}:{line:t.line}}}));s.unsettled!==void 0&&o.push(p("AK-P004",`${n}: ${s.unsettled}`,r));for(const t of f)o.push(p("AK-L006",`${n} draws ${String(t.glyphs)} glyph${t.glyphs===1?"":"s"} in ${t.family}, a face of this computer and no file of the project (${t.sample}): another computer draws them in its own. Load a face for that text as a file (@font-face).`,r));return o}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{stat as s}from"node:fs/promises";import{join as m,relative as p,resolve as a,sep as u}from"node:path";import{readWork as k}from"@allyhub/build";import{itemIdOf as h,listedWork as x}from"@allyhub/formats";import{HTML as c}from"../build.js";export{reportPicture}from"./picture.js";export{REPORT_DEFAULTS}from"../page.js";export async function findReport(t,n,i){const e=a(n,i),o=p(t,e).split(u).join("/"),f=x((await k(t)).work);if(c.test(e)&&(await s(e).catch(()=>{}))?.isFile())return f.some(r=>r.file===o&&r.kind==="report")?e:void 0;const l=new Set([o,i.replace(/^\.\//u,"").replace(/\/+$/u,"")]),d=f.find(r=>r.kind==="report"&&l.has(h(r.file)));return d===void 0?void 0:m(t,d.file)}export async function unlistedReport(t,n,i){const e=a(n,i);if(!(!c.test(e)||!(await s(e).catch(()=>{}))?.isFile()))return await findReport(t,n,i)===void 0?p(t,e).split(u).join("/"):void 0}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as f}from"node:fs/promises";import{join as b,relative as w}from"node:path";import{z as r}from"zod";import{PROJECT_DIR as $,defineCliCommand as m}from"@allyhub/build";import{CommandError as a,EXIT as l}from"@allyhub/protocol";import{SHARED_DIR as y,StyleError as j,reportStyle as d,reportStyles as c,useReportStyle as g}from"../styles.js";import{findReport as S,unlistedReport as x}from"./find.js";const u=async t=>new a("not-found",`AllyHub brings no report style ${t}.`,{exit:l.notFound,hint:`The report styles: ${(await c()).map(e=>e.name).join(", ")} (allyhub report style list).`}),k=m({input:r.strictObject({}),output:r.looseObject({}),examples:["allyhub report style list"],async run(){const t=(await c()).map(e=>({name:e.name,about:e.about,themes:e.themes}));return{value:{styles:t},text:t.map(e=>`${e.name} ${e.about}
|
|
3
|
-
themes: ${e.themes.join(", ")}`).join(`
|
|
4
|
-
`)}}}),T=m({input:r.strictObject({name:r.string().describe("The report style (allyhub report style list)")}),positional:["name"],output:r.looseObject({}),examples:["allyhub report style show allyhub"],async run(t){const e=await d(t.name);if(!e)throw await u(t.name);const s=await f(b(e.dir,"STYLE.md"),"utf8");return{value:{name:e.name,themes:e.themes,style:s},text:s.trimEnd()}}}),v=m({input:r.strictObject({report:r.string().describe("The report, by its file or its id in allyhub.yaml"),name:r.string().describe("The report style (allyhub report style list)"),force:r.boolean().default(!1).describe("Write style.css and tokens.js again over the report's own; its other files are kept"),dir:$}),positional:["report","name"],output:r.looseObject({}),examples:["allyhub report style use research/channels/channels allyhub","allyhub report style use q3/review.html allyhub --force"],about:{lines:[`Its faces and libraries are copied once into the project's ${y}/<style>/, which every report in it shares; style.css and tokens.js go in the report's style/ folder. Choose a theme on the page: <html data-theme="moss">.`]},async run(t,e){const s=await e.root(t.dir),p=await S(s,e.cwd,t.report);if(p===void 0){const o=await x(s,e.cwd,t.report);throw o===void 0?new a("not-found",`${t.report} is not a report.`,{exit:l.notFound,hint:"Name a report by its file or its id in allyhub.yaml (kind: report)."}):new a("not-found",`${o} is not listed as a report in allyhub.yaml.`,{exit:l.notFound,hint:`List it under work in allyhub.yaml (- kind: report, file: ${o}), then run this again.`})}const n=await d(t.name);if(!n)throw await u(t.name);const h=w(s,p).split("\\").join("/");let i;try{i=await g(s,h,n,{force:t.force})}catch(o){throw o instanceof j?new a("exists",o.message,{exit:l.usage,hint:"Change it as the report needs, or write it again with --force."}):o}return{value:{report:h,...i,themes:n.themes},text:[`${h}: the ${n.name} report style, ${i.written.join(" and ")}${i.copied.length>0?`; ${String(i.copied.length)} file${i.copied.length===1?"":"s"} copied into ${y}/${n.name}/`:""}.`,"Link them in its <head>:",...i.links.map(o=>` ${o}`),`Themes, on <html data-theme="…">: ${n.themes.join(", ")}. Its words: allyhub report style show ${n.name}.`].join(`
|
|
5
|
-
`)}}}),E={"report style list":k,"report style show":T,"report style use":v};export default E;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{startBrowser as u}from"@allyhub/browser";import{blankImage as p,cropImage as f,pasteImage as m,readPng as l,writePng as w}from"@allyhub/measure";import{openReport as b,pageHeight as y,pagePicture as h}from"../page.js";const d=24,x=[200,200,200,255];export const BANDS={most:6,tall:1.6};export class ReportPictureError extends Error{code;constructor(a){super(a),this.name="ReportPictureError",this.code="no-element"}}function A(n,a){const e=l(n),t=Math.min(BANDS.most,Math.max(1,Math.ceil(e.height/(a*BANDS.tall))));if(t===1)return{png:n,bands:1};const r=Math.ceil(e.height/t),o=p(t*e.width+(t-1)*d,r,[...x]);for(let i=0;i<t;i++){const s=f(e,[0,i*r,e.width,r]);s&&m(o,s,i*(e.width+d),0)}return{png:w(o),bands:t}}const g=`(() => {
|
|
3
|
-
const selector = (el) => {
|
|
4
|
-
const parts = [];
|
|
5
|
-
for (let e = el; e && e !== document.body; e = e.parentElement) {
|
|
6
|
-
if (e.id) { parts.unshift("#" + CSS.escape(e.id)); return parts.join(" > "); }
|
|
7
|
-
const same = Array.from(e.parentElement ? e.parentElement.children : []).filter((s) => s.localName === e.localName);
|
|
8
|
-
parts.unshift(same.length > 1 ? e.localName + ":nth-of-type(" + (same.indexOf(e) + 1) + ")" : e.localName);
|
|
9
|
-
}
|
|
10
|
-
return parts.join(" > ");
|
|
11
|
-
};
|
|
12
|
-
const out = [];
|
|
13
|
-
for (const c of document.querySelectorAll("canvas")) {
|
|
14
|
-
const r = c.getBoundingClientRect();
|
|
15
|
-
const s = getComputedStyle(c);
|
|
16
|
-
if (r.width === 0 || r.height === 0 || s.visibility === "hidden") continue;
|
|
17
|
-
const blank = { canvas: selector(c), width: Math.round(r.width), height: Math.round(r.height) };
|
|
18
|
-
if (c.width === 0 || c.height === 0) { out.push(blank); continue; }
|
|
19
|
-
let pixels;
|
|
20
|
-
try {
|
|
21
|
-
const g = c.getContext("2d");
|
|
22
|
-
if (!g) continue;
|
|
23
|
-
pixels = g.getImageData(0, 0, c.width, c.height).data;
|
|
24
|
-
} catch { continue; }
|
|
25
|
-
let drawn = false;
|
|
26
|
-
for (let i = 3; i < pixels.length; i += 4) if (pixels[i] !== 0) { drawn = true; break; }
|
|
27
|
-
if (!drawn) out.push(blank);
|
|
28
|
-
}
|
|
29
|
-
return out;
|
|
30
|
-
})()`;export async function reportPicture(n){const a=await u();try{const e=await b(a,n.root,n.file,n);try{const t=e.page,r=await y(t);if(n.at!==void 0){const c=await t.evaluate(`(() => { const el = document.querySelector(${JSON.stringify(n.at)}); if (!el) return null; const r = el.getBoundingClientRect(); if (r.width === 0 || r.height === 0) return null; return { x: r.x + scrollX, y: r.y + scrollY, width: r.width, height: r.height }; })()`);if(!c)throw new ReportPictureError(`Nothing drawn on the page matches ${n.at}.`);return{...await h(t,c),pageHeight:r,bands:1,findings:e.findings(),blankCanvases:await t.evaluate(g)}}const o=await h(t),i=A(o.png,o.width),s=i.bands===1?o:l(i.png);return{png:i.png,width:s.width,height:s.height,pageHeight:r,bands:i.bands,findings:e.findings(),blankCanvases:await t.evaluate(g)}}finally{await e.close()}}finally{await a.close()}}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{mkdir as P,readFile as R,writeFile as w}from"node:fs/promises";import{dirname as k,join as F}from"node:path";import{startBrowser as E}from"@allyhub/browser";import{emojiPicturesScript as S}from"@allyhub/browser/emoji";import{InlineError as $,inlineReport as v}from"./inline.js";import{REPORT_DEFAULTS as T,openReport as x,pagePicture as B}from"./page.js";export const REPORT_TYPES=["html","pdf","png"],PAPERS={letter:{width:8.5,height:11},a4:{width:8.27,height:11.69}},RENDER_DEFAULTS={...T,paper:"letter",dark:!1};function d(t,r,i){const e=t[r],n=typeof e=="number"?e:typeof e=="string"?Number(e):NaN;return Number.isFinite(n)&&n>0?n:i}export function viewOf(t){const r=RENDER_DEFAULTS;return{width:d(t,"width",r.width),height:d(t,"height",r.height),scale:d(t,"scale",r.scale),timeout:d(t,"timeout",r.timeout),network:d(t,"network",r.network),quiet:d(t,"quiet",r.quiet),dark:t.dark===!0||t.dark==="true"}}const y=t=>`${(t/1e6).toFixed(1)} MB`,m=(t,r,i)=>({type:t,failure:{code:"report-not-made",message:r,...i===void 0?{}:{hint:i}}});export async function renderReportFiles(t,r){if(r.types.length===0)return[];const{root:i,log:e,types:n,params:u}=r,g=viewOf(u);e?.(`Rendering ${t.entry}…`);const p=[];let l;try{l=await E();let o=0;for(const c of n){if(r.signal?.aborted)break;const s=r.out(c);await P(k(s),{recursive:!0});const f=await L(l,i,t,c,s,g,u,e);p.push(f),r.onProgress?.(++o/n.length)}}finally{await l?.close()}return p}async function L(t,r,i,e,n,u,g,p){const l=e==="pdf",o=await x(t,r,i.entry,{...u,print:l},{keep:e==="html"});try{const c=o.findings();if(c.unsettled!==void 0)return m(e,`${i.entry}: ${c.unsettled}`,"allyhub check names what kept it.");if(e==="html"){const s=await R(F(r,i.entry),"utf8");let f;try{f=v(s,o.url,o.loaded)}catch(a){if(a instanceof $)return m(e,a.message);throw a}await w(n,f);const h=[...o.loaded.values()].filter(a=>a.type==="Font").reduce((a,b)=>a+Math.ceil(b.body.length/3)*4,0);return p?.(`${i.entry}: the HTML file is ${y(Buffer.byteLength(f))}, ${y(h)} of it the ${String([...o.loaded.values()].filter(a=>a.type==="Font").length)} font files the page loaded.`),{type:e,files:[n]}}if(e==="pdf"){await o.page.evaluate(S());const s=g.paper,f=typeof s=="string"?s.toLowerCase():RENDER_DEFAULTS.paper,h=f in PAPERS?PAPERS[f]:PAPERS[RENDER_DEFAULTS.paper],a=await o.page.session.send("Page.printToPDF",{printBackground:!0,preferCSSPageSize:!0,paperWidth:h.width,paperHeight:h.height});return await w(n,Buffer.from(a.data,"base64")),{type:e,files:[n]}}if(e==="png"){const{png:s}=await B(o.page);return await w(n,s),{type:e,files:[n]}}return m(e,`A report is not made into ${e}.`)}finally{await o.close()}}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import C from"dom-serializer";import{Element as O,Text as R,isTag as I}from"domhandler";import{parseDocument as M}from"htmlparser2";export class InlineError extends Error{name="InlineError"}const v=e=>e.replace(/<\/(script)/giu,"<\\/$1"),$=e=>e.replace(/<\/(style)/giu,"<\\/$1"),T=/(?:^|[;\s}])import\s*(?:[\w*{][^'"]*?\sfrom\s*)?["']|(?:^|[^.\w])import\s*\(/mu,F=e=>`data:${e.mime||"application/octet-stream"};base64,${e.body.toString("base64")}`;function k(e,t){const o=e.trim();if(!(o===""||/^(data|blob|javascript|mailto|tel|about):/iu.test(o))&&!o.startsWith("#"))try{const n=new URL(o,t);return n.hash="",n.href}catch{return}}function L(e,t,o){const n=k(t,o),l=n===void 0?void 0:e.files.get(n);return!l||n===void 0?t:(e.used.add(n),F(l))}function S(e,t,o,n=0){return t.replace(/@import\s+(?:url\(\s*)?(["']?)([^"')\s;]+)\1\s*\)?([^;]*);/gu,(f,g,a,b)=>{const p=k(a,o),w=p===void 0?void 0:e.files.get(p);if(!w||p===void 0||n>8)return f;e.used.add(p);const s=S(e,w.body.toString("utf8"),p,n+1),m=b.trim();return m===""?s:`@media ${m} {
|
|
3
|
-
${s}
|
|
4
|
-
}`}).replace(/url\(\s*(["']?)([^"')]+)\1\s*\)/gu,(f,g,a)=>{const b=L(e,a,o);return b===a?f:`url(${g}${b}${g})`})}const H={img:["src"],source:["src"],video:["src","poster"],audio:["src"],track:["src"],input:["src"],embed:["src"],object:["data"],image:["href","xlink:href"],use:[]};function x(e,t){const o={};for(const n of t)o[n.url]=[n.mime,n.body.toString("base64")];return`(() => {
|
|
5
|
-
const BASE = ${JSON.stringify(e)};
|
|
6
|
-
const FILES = ${JSON.stringify(o)};
|
|
7
|
-
const has = (k) => Object.prototype.hasOwnProperty.call(FILES, k);
|
|
8
|
-
// A URL as the page asked for it, as it was where the render drew the
|
|
9
|
-
// page: a relative one from the report's address there; an address on
|
|
10
|
-
// this page's own origin by its path from this page's folder.
|
|
11
|
-
const keyOf = (u) => {
|
|
12
|
-
const s = String(u);
|
|
13
|
-
let abs;
|
|
14
|
-
try {
|
|
15
|
-
if (!/^[a-z][a-z0-9+.-]*:|^\\/\\//iu.test(s)) abs = new URL(s, BASE);
|
|
16
|
-
else {
|
|
17
|
-
const asked = new URL(s, document.baseURI);
|
|
18
|
-
if (asked.origin !== location.origin || asked.protocol !== location.protocol) abs = asked;
|
|
19
|
-
else {
|
|
20
|
-
const from = location.pathname.split("/").slice(0, -1);
|
|
21
|
-
const to = asked.pathname.split("/");
|
|
22
|
-
let i = 0;
|
|
23
|
-
while (i < from.length && i < to.length - 1 && from[i] === to[i]) i++;
|
|
24
|
-
const rel = "../".repeat(from.length - i) + to.slice(i).join("/");
|
|
25
|
-
abs = new URL(rel + asked.search, BASE);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
} catch { return undefined; }
|
|
29
|
-
abs.hash = "";
|
|
30
|
-
return has(abs.href) ? abs.href : undefined;
|
|
31
|
-
};
|
|
32
|
-
const bytes = (b) => Uint8Array.from(atob(b), (c) => c.charCodeAt(0));
|
|
33
|
-
const blobs = new Map();
|
|
34
|
-
const blobOf = (k) => {
|
|
35
|
-
if (!blobs.has(k)) blobs.set(k, URL.createObjectURL(new Blob([bytes(FILES[k][1])], { type: FILES[k][0] })));
|
|
36
|
-
return blobs.get(k);
|
|
37
|
-
};
|
|
38
|
-
const swap = (u) => { const k = keyOf(String(u)); return k ? blobOf(k) : u; };
|
|
39
|
-
const fetch0 = window.fetch.bind(window);
|
|
40
|
-
window.fetch = (input, init) => {
|
|
41
|
-
const u = typeof input === "string" ? input : input instanceof URL ? input.href : input.url;
|
|
42
|
-
const k = keyOf(u);
|
|
43
|
-
if (!k) return fetch0(input, init);
|
|
44
|
-
return Promise.resolve(new Response(bytes(FILES[k][1]), { status: 200, headers: { "content-type": FILES[k][0] } }));
|
|
45
|
-
};
|
|
46
|
-
const open0 = XMLHttpRequest.prototype.open;
|
|
47
|
-
XMLHttpRequest.prototype.open = function (method, url, ...rest) { return open0.call(this, method, swap(url), ...rest); };
|
|
48
|
-
const props = [[HTMLImageElement, "src"], [HTMLScriptElement, "src"], [HTMLLinkElement, "href"], [HTMLSourceElement, "src"], [HTMLMediaElement, "src"]];
|
|
49
|
-
for (const [C, p] of props) {
|
|
50
|
-
const d = Object.getOwnPropertyDescriptor(C.prototype, p);
|
|
51
|
-
if (d && d.set) Object.defineProperty(C.prototype, p, { ...d, set(v) { d.set.call(this, swap(v)); } });
|
|
52
|
-
}
|
|
53
|
-
const setAttribute0 = Element.prototype.setAttribute;
|
|
54
|
-
Element.prototype.setAttribute = function (name, value) {
|
|
55
|
-
const n = String(name).toLowerCase();
|
|
56
|
-
return setAttribute0.call(this, name, n === "src" || n === "href" || n === "poster" ? swap(value) : value);
|
|
57
|
-
};
|
|
58
|
-
})();`}function*j(e){for(const t of e.children)I(t)&&(yield t,yield*j(t))}const A=e=>e.children.map(t=>t instanceof R?t.data:"").join(""),E=(e,t)=>{const o=new R(t);o.parent=e,e.children=[o]};export function inlineReport(e,t,o){const n={files:o,used:new Set([t])},l=M(e,{decodeEntities:!0}),f=[...j(l)];for(const s of f){const m=s.name.toLowerCase(),i=s.attribs;if(m==="script"){const c=(i.type??"").trim().toLowerCase(),d=c==="module";if(c==="importmap")continue;let r;const h=i.src;if(h!==void 0){const u=k(h,t),y=u===void 0?void 0:o.get(u);if(!y||u===void 0)continue;n.used.add(u),r=y.body.toString("utf8"),delete i.src,delete i.integrity,delete i.crossorigin}else r=A(s);if(d&&T.test(r))throw new InlineError(`${h??"a module script"} imports another file, which a page in one file cannot load: bundle the module into one file, or use a classic script (a library's UMD build, such as chart.umd.min.js).`);h!==void 0&&E(s,v(r));continue}if(m==="link"){const c=(i.rel??"").toLowerCase().split(/\s+/u),d=i.href;if(d===void 0)continue;if(c.includes("stylesheet")){const r=k(d,t),h=r===void 0?void 0:o.get(r);if(!h||r===void 0)continue;n.used.add(r);const u=new O("style",{...i.media===void 0?{}:{media:i.media}});E(u,$(S(n,h.body.toString("utf8"),r))),u.parent=s.parent;const y=s.parent?.children;y&&y.splice(y.indexOf(s),1,u);continue}if(c.includes("preload")||c.includes("modulepreload")){const r=s.parent?.children;r&&r.splice(r.indexOf(s),1);continue}c.some(r=>r==="icon"||r==="apple-touch-icon")&&(i.href=L(n,d,t));continue}if(m==="style"){E(s,$(S(n,A(s),t)));continue}for(const c of H[m]??[])i[c]!==void 0&&(i[c]=L(n,i[c],t));i.srcset!==void 0&&(i.srcset=i.srcset.split(",").map(c=>{const[d,...r]=c.trim().split(/\s+/u);return d===void 0?c:[L(n,d,t),...r].join(" ")}).join(", ")),i.style!==void 0&&(i.style=S(n,i.style,t))}const g=[...o.values()].filter(s=>!n.used.has(s.url)&&s.type!=="Document"&&s.type!=="Font"),a=new O("script",{});E(a,v(x(t,g)));const b=f.find(s=>s.name.toLowerCase()==="head"),p=f.find(s=>s.name.toLowerCase()==="html"),w=b??p??l;return a.parent=w,w.children.unshift(a),C(l,{encodeEntities:"utf8"})}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as x}from"node:fs/promises";import{join as I,posix as S}from"node:path";import{setTimeout as w}from"node:timers/promises";import{openPage as q,startServer as M}from"@allyhub/browser";export const REPORT_DEFAULTS={width:1440,height:900,scale:1,timeout:3e4,network:3e3,quiet:1200};const $=`(() => {
|
|
3
|
-
let s = 0x2f6b9a1d;
|
|
4
|
-
Math.random = () => {
|
|
5
|
-
s = (s + 0x6d2b79f5) | 0;
|
|
6
|
-
let t = Math.imul(s ^ (s >>> 15), 1 | s);
|
|
7
|
-
t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
|
|
8
|
-
return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
|
|
9
|
-
};
|
|
10
|
-
})();`,j=`(async () => {
|
|
11
|
-
await document.fonts.ready;
|
|
12
|
-
await Promise.all(Array.from(document.images).map((i) => i.decode().catch(() => undefined)));
|
|
13
|
-
if (window.allyhubReady) await window.allyhubReady;
|
|
14
|
-
for (const a of document.getAnimations()) {
|
|
15
|
-
const t = a.effect && a.effect.getComputedTiming ? a.effect.getComputedTiming() : undefined;
|
|
16
|
-
if (t && Number.isFinite(t.endTime)) a.finish();
|
|
17
|
-
else { a.pause(); a.currentTime = 0; }
|
|
18
|
-
}
|
|
19
|
-
await document.fonts.ready;
|
|
20
|
-
return true;
|
|
21
|
-
})()`,v=o=>{const i=S.normalize(o.split("\\").join("/"));if(i.startsWith("../")||i.startsWith("/"))throw new Error(`${o} is not inside the project.`);return i};function C(o,i){if(i.startsWith(`${o}/`))try{return decodeURIComponent(new URL(i).pathname.slice(1))}catch{return}}export async function openReport(o,i,c,e={},l={}){const s=REPORT_DEFAULTS,u=e.width??s.width,m=e.height??s.height,p=e.timeout??s.timeout,a=await M([{at:"/",dir:i}]);let n;try{n=await q(o,{width:u,height:m,scale:e.scale??s.scale,allow:a.allow});const r=n.session,g=[],y=new Map,E=new Map,P=[];r.on("Network.responseReceived",t=>{const d=C(a.origin,t.response.url);d!==void 0&&(t.response.status>=400?g.push({path:d,status:t.response.status}):l.keep&&E.set(t.requestId,{url:t.response.url,path:d,type:t.type,mime:t.response.mimeType}))}),r.on("Network.loadingFinished",t=>{const d=E.get(t.requestId);if(!d)return;const{path:k,mime:b}=d;P.push(x(I(i,k)).then(R=>{y.set(d.url,{url:d.url,path:k,mime:b,type:d.type,body:R})}).catch(()=>{}))}),await Promise.all([r.send("Network.enable",{}),r.send("Page.addScriptToEvaluateOnNewDocument",{source:$}),r.send("Emulation.setEmulatedMedia",{media:e.print?"print":"",features:[{name:"prefers-reduced-motion",value:e.motion?"no-preference":"reduce"},{name:"prefers-color-scheme",value:e.dark?"dark":"light"}]})]);const T=`${a.origin}/${v(c).split("/").map(encodeURIComponent).join("/")}`;let h;try{await N(n,T,{timeout:p,network:e.network??s.network,quiet:e.quiet??s.quiet})}catch(t){h=t instanceof Error?t.message:String(t)}await Promise.all(P);const f=n;return{page:f,url:T,origin:a.origin,loaded:y,findings:()=>({missing:[...g],outside:f.refused(),thrown:f.errors(),...h===void 0?{}:{unsettled:h}}),async close(){await f.close(),await a.close()}}}catch(r){throw await n?.close(),await a.close(),r}}async function N(o,i,c){const e=o.session;await e.send("Page.setLifecycleEventsEnabled",{enabled:!0});const l=new AbortController,s=n=>e.once("Page.lifecycleEvent",{match:r=>r.name===n,signal:l.signal}),u=s("load"),m=s("networkIdle"),p=n=>w(c.timeout,void 0,{signal:l.signal}).then(()=>{throw new Error(n)}),a=String(c.timeout/1e3);try{const n=await e.send("Page.navigate",{url:i});if(n.errorText)throw new Error(`It did not load: ${n.errorText}.`);await Promise.race([u,p(`It did not finish loading within ${a} s.`)]),await Promise.race([m,w(c.network,void 0,{signal:l.signal})]),await Promise.race([o.evaluate(j,{timeoutMs:c.timeout}),p(`It did not settle within ${a} s: its fonts, its pictures or window.allyhubReady never finished.`)]),await w(c.quiet)}finally{l.abort(),await Promise.allSettled([u,m])}}export{pageHeight,pagePicture}from"@allyhub/browser/picture";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{randomUUID as y}from"node:crypto";import{defineProjectTool as l}from"@allyhub/build";import{startBrowser as m}from"@allyhub/browser";import{RPC_ERROR as w,RpcError as f}from"@allyhub/protocol";import{openReport as u}from"./page.js";import{REPORT_TOOLS as p}from"./tools.js";async function h(n,e){const t=(await n.items()).find(a=>a.id===e&&a.kind==="report");if(!t)throw new f(w.notFound,`There is no report ${e}.`);return t.entry}const T=`(points) => {
|
|
3
|
-
const part = (e) => e.tagName.toLowerCase() + (e.id ? "#" + e.id : "") +
|
|
4
|
-
[...e.classList].slice(0, 3).map((c) => "." + c).join("");
|
|
5
|
-
const seen = new Set();
|
|
6
|
-
const elements = [];
|
|
7
|
-
for (const p of points) {
|
|
8
|
-
const el = document.elementFromPoint(p.x, p.y);
|
|
9
|
-
if (!el || seen.has(el)) continue;
|
|
10
|
-
seen.add(el);
|
|
11
|
-
const path = [];
|
|
12
|
-
for (let e = el; e && path.length < 5; e = e.parentElement) path.unshift(part(e));
|
|
13
|
-
elements.push({
|
|
14
|
-
selector: path.join(" > "),
|
|
15
|
-
tag: el.tagName.toLowerCase(),
|
|
16
|
-
text: (el.innerText ?? el.textContent ?? "").trim().slice(0, 200),
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
const inner = elements.filter((e) => e.tag !== "html" && e.tag !== "body");
|
|
20
|
-
return inner.length > 0 ? inner : elements;
|
|
21
|
-
}`,E=30*6e4;class R{held=new Map;async hold(e,t,a){const o=await m();try{const r=await u(o,e,t,a),s=y(),i=setTimeout(()=>{this.release(s)},E);return i.unref(),this.held.set(s,{browser:o,opened:r,timer:i}),s}catch(r){throw await o.close(),r}}page(e){const t=this.held.get(e);if(!t)throw new f(w.notFound,`No page is held as ${e}: it was let go.`);return t.opened.page}async release(e){const t=this.held.get(e);t&&(this.held.delete(e),clearTimeout(t.timer),await t.opened.close().catch(()=>{}),await t.browser.close())}async dispose(){for(const e of[...this.held.keys()])await this.release(e)}}const c=n=>n.held("report/held",()=>new R);async function g(n,e,t,a){const o=await m();try{const r=await u(o,n.root,e,t);try{return await a(r.page)}finally{await r.close()}}finally{await o.close()}}const P={"report/still":l(p["report/still"],async({item:n,width:e,height:t,scale:a,hold:o},r)=>{const s=d=>d.capture({format:"png"});return{image:{mime:"image/png",data:(o!==void 0?await s(c(r).page(o)):await g(r,await h(r,n),{width:e,height:t,scale:a},s)).toString("base64")}}}),"report/at":l(p["report/at"],async({item:n,width:e,height:t,points:a,hold:o},r)=>{const s=d=>d.evaluate(`(${T})(${JSON.stringify(a)})`);return{elements:o!==void 0?await s(c(r).page(o)):await g(r,await h(r,n),{width:e,height:t},s)}}),"report/hold":l(p["report/hold"],async({item:n,width:e,height:t,scale:a},o)=>({hold:await c(o).hold(o.root,await h(o,n),{width:e,height:t,scale:a})})),"report/release":l(p["report/release"],async({hold:n},e)=>(await c(e).release(n),{}))};export default P;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{copyFile as L,mkdir as D,readFile as u,readdir as T,stat as j,writeFile as R}from"node:fs/promises";import{createRequire as q}from"node:module";import{dirname as d,join as r,posix as E,relative as l,sep as m}from"node:path";import{fileURLToPath as N}from"node:url";import{z as n}from"zod";import{themesIn as O}from"./theme.js";export const STYLES_DIR=N(new URL("../styles/",import.meta.url)),SHARED_DIR="assets/report-styles";const F=q(import.meta.url),U=n.object({about:n.string(),theme:n.string(),faces:n.array(n.object({package:n.string(),css:n.array(n.string())})),files:n.array(n.object({package:n.string(),path:n.string()}))}),W=t=>O(t).map(e=>e.name);export async function reportStyles(){const t=(await T(STYLES_DIR,{withFileTypes:!0})).filter(e=>e.isDirectory()).map(e=>e.name).sort();return Promise.all(t.map(reportStyle))}export async function reportStyle(t){if(!/^[a-z][\w-]*$/u.test(t))return;const e=r(STYLES_DIR,t),s=await u(r(e,"style.json"),"utf8").catch(()=>{});if(s===void 0)return;const a=U.parse(JSON.parse(s)),p=W(await u(r(e,"style.css"),"utf8"));return{name:t,about:a.about,themes:[a.theme,...p.filter(o=>o!==a.theme)],dir:e,spec:a}}function v(t){try{return d(F.resolve(`${t}/package.json`))}catch{let e=d(F.resolve(t));for(;!e.endsWith(`${m}${t.split("/").join(m)}`);){const s=d(e);if(s===e)throw new Error(`${t}'s folder was not found.`);e=s}return e}}const z=(t,e)=>{const s=l(t,e).split(m).join("/");return s.startsWith(".")?s:`./${s}`};async function I(t,e){const[s,a]=await Promise.all([j(t),j(e).catch(()=>{})]);return a?.size===s.size?!1:(await D(d(e),{recursive:!0}),await L(t,e),!0)}function _(t,e,s){const a=[];return{rules:t.replace(/src:\s*([^;]+);/gu,(o,w)=>{const c=/url\(\s*["']?\.\/files\/([^"')]+\.woff2)["']?\s*\)\s*format\(\s*["']([\w-]+)["']\s*\)/u.exec(w);return c?.[1]?(a.push(c[1]),`src: url(${z(s,r(e,c[1]))}) format("${c[2]??"woff2"}");`):o}),files:a}}export class StyleError extends Error{name="StyleError"}export async function useReportStyle(t,e,s,a={}){const p=r(t,E.dirname(e)),o=r(p,"style"),w=r(t,SHARED_DIR,s.name),c=r(w,"faces"),h=r(o,"style.css");if(!a.force&&await j(h).catch(()=>{}))throw new StyleError(`${l(t,h)} is there already: it is the report's own now.`);const y=[],k=[];for(const i of s.spec.faces){const f=v(i.package);for(const x of i.css){const b=_(await u(r(f,x),"utf8"),c,o);k.push(`/* ${i.package}/${x} */
|
|
3
|
-
${b.rules.trim()}`);for(const g of b.files)await I(r(f,"files",g),r(c,g))&&y.push(l(t,r(c,g)))}}const $=[];for(const i of s.spec.files){const f=r(w,E.basename(i.path));await I(r(v(i.package),i.path),f)&&y.push(l(t,f)),$.push(z(p,f))}const P=(await u(r(s.dir,"style.css"),"utf8")).replace("/* @faces */",k.join(`
|
|
4
|
-
|
|
5
|
-
`));await D(o,{recursive:!0}),await R(h,P),await R(r(o,"tokens.js"),await u(r(s.dir,"tokens.js"),"utf8"));const S=i=>l(t,i).split(m).join("/");return{style:s.name,written:[S(h),S(r(o,"tokens.js"))],copied:y.map(i=>i.split(m).join("/")),links:['<link rel="stylesheet" href="style/style.css">','<script src="style/tokens.js"><\/script>',...$.map(i=>`<script src="${i}"><\/script>`)]}}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
const l=/^(#[0-9a-f]{3,8}|(?:rgb|rgba|hsl|hsla|oklch|oklab|lab|lch)\([^)]*\))$/iu;export function themesIn(n){const t=new Map;for(const e of n.matchAll(/\[data-theme="([\w-]+)"\]\s*\{([^}]*)\}/gu)){const s=e[1]??"";if(s===""||t.has(s))continue;const o=[];for(const c of(e[2]??"").split(";")){const a=c.slice(c.indexOf(":")+1).trim();c.includes(":")&&l.test(a)&&o.push(a)}t.set(s,{name:s,colors:o})}return[...t.values()]}function u(n,t){const e=new RegExp(`\\s${t}\\s*=\\s*(?:"([^"]*)"|'([^']*)'|([^\\s"'=<>\`]+))`,"iu").exec(n);if(e)return{value:e[1]??e[2]??e[3]??"",at:e.index,length:e[0].length}}export function stylesheetsOf(n){const t=[];for(const e of n.matchAll(/<link\b[^>]*>/giu)){const s=e[0],o=u(s,"rel")?.value.toLowerCase().split(/\s+/u)??[],c=u(s,"href")?.value;o.includes("stylesheet")&&c&&t.push(c)}return t}const i=n=>/<html\b[^>]*>/iu.exec(n);export function themeOf(n){const t=i(n),e=t?u(t[0],"data-theme")?.value:void 0;return e===void 0||e===""?void 0:e}export function withTheme(n,t){const e=i(n);if(!e)return;const s=e.index,o=u(e[0],"data-theme"),c=o?`${e[0].slice(0,o.at)} data-theme="${t}"${e[0].slice(o.at+o.length)}`:`<html data-theme="${t}"${e[0].slice(5)}`;return`${n.slice(0,s)}${c}${n.slice(s+e[0].length)}`}export function pathFrom(n,t){if(/^[a-z][a-z0-9+.-]*:|^\/\//iu.test(t))return;const e=new URL(t,`file:///${n}`),s=decodeURIComponent(e.pathname).replace(/^\/+/u,"");return s===""?void 0:s}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as t}from"zod";import{PathSchema as s,method as e,toolCaller as i}from"@allyhub/protocol";const r=t.strictObject({item:s}),a={width:t.number().int().positive().max(4096),height:t.number().int().positive().max(4096)};export const REPORT_TOOLS={"report/still":e(r.extend({...a,scale:t.number().positive().max(4).default(1),hold:t.string().optional()}),t.strictObject({image:t.strictObject({mime:t.string(),data:t.string()})}),"A report's page drawn as the render draws it, at a frame's size from its top: what Mark up lays over a report's frame, which the window cannot read."),"report/hold":e(r.extend({...a,scale:t.number().positive().max(4).default(1)}),t.strictObject({hold:t.string()}),"A report's page opened at a frame's size and kept as it is while a person marks it: report/still and report/at draw and read it as it was, until report/release."),"report/release":e(t.strictObject({hold:t.string()}),t.strictObject({}),"Lets a page held for notes go."),"report/at":e(r.extend({...a,points:t.array(t.strictObject({x:t.number(),y:t.number()})).min(1).max(24),hold:t.string().optional()}),t.strictObject({elements:t.array(t.strictObject({selector:t.string(),tag:t.string(),text:t.string()}))}),"What is at places of a report's page drawn at a frame's size from its top (as report/still draws it): what a person's mark on its frame is on.")},callReportTool=i(REPORT_TOOLS);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as o}from"node:fs/promises";import{join as s}from"node:path";const u={amp:"&",lt:"<",gt:">",quot:'"',apos:"'",nbsp:" "};export function titleOf(e){const t=/<title[^>]*>([\s\S]*?)<\/title>/iu.exec(e)?.[1]?.replace(/&(#x[0-9a-f]+|#\d+|[a-z]+);/giu,(r,i)=>i.startsWith("#x")||i.startsWith("#X")?String.fromCodePoint(Number.parseInt(i.slice(2),16)):i.startsWith("#")?String.fromCodePoint(Number.parseInt(i.slice(1),10)):u[i.toLowerCase()]??r).replace(/\s+/gu," ").trim();return t===void 0||t===""?void 0:t}async function a(e,n){const t=await o(s(e,n.entry),"utf8").catch(()=>{});return t===void 0?void 0:titleOf(t)}const c=()=>Promise.resolve({page:{}});export function activate(e){e.subscriptions.push(e.allyhub.kinds.registerKindProvider("report",{title:(n,{root:t})=>a(t,n),snapshot:c}))}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@allyhub/report-extension",
|
|
3
|
-
"version": "0.13.0",
|
|
4
|
-
"type": "module",
|
|
5
|
-
"exports": {
|
|
6
|
-
"./cli": {
|
|
7
|
-
"types": "./dist/cli/find.d.ts",
|
|
8
|
-
"default": "./dist/cli/find.js"
|
|
9
|
-
},
|
|
10
|
-
"./theme": {
|
|
11
|
-
"types": "./dist/theme.d.ts",
|
|
12
|
-
"default": "./dist/theme.js"
|
|
13
|
-
},
|
|
14
|
-
"./tools": {
|
|
15
|
-
"types": "./dist/tools.d.ts",
|
|
16
|
-
"default": "./dist/tools.js"
|
|
17
|
-
},
|
|
18
|
-
"./package.json": "./package.json",
|
|
19
|
-
"./dist/*": "./dist/*"
|
|
20
|
-
},
|
|
21
|
-
"allyhub": {
|
|
22
|
-
"id": "allyhub.report",
|
|
23
|
-
"engines": "^0.1.0",
|
|
24
|
-
"main": "./dist/workspace.js",
|
|
25
|
-
"contributes": {
|
|
26
|
-
"kinds": [
|
|
27
|
-
{
|
|
28
|
-
"id": "report",
|
|
29
|
-
"name": {
|
|
30
|
-
"en": "Report",
|
|
31
|
-
"zh-cn": "报告",
|
|
32
|
-
"zh-tw": "報告",
|
|
33
|
-
"ja": "レポート",
|
|
34
|
-
"ko": "리포트",
|
|
35
|
-
"es": "Informe",
|
|
36
|
-
"fr": "Rapport",
|
|
37
|
-
"de": "Bericht",
|
|
38
|
-
"pt": "Relatório"
|
|
39
|
-
},
|
|
40
|
-
"plural": {
|
|
41
|
-
"en": "Reports",
|
|
42
|
-
"zh-cn": "报告",
|
|
43
|
-
"zh-tw": "報告",
|
|
44
|
-
"ja": "レポート",
|
|
45
|
-
"ko": "리포트",
|
|
46
|
-
"es": "Informes",
|
|
47
|
-
"fr": "Rapports",
|
|
48
|
-
"de": "Berichte",
|
|
49
|
-
"pt": "Relatórios"
|
|
50
|
-
},
|
|
51
|
-
"noun": "report",
|
|
52
|
-
"icon": "chart-pie",
|
|
53
|
-
"color": "kind-teal",
|
|
54
|
-
"exports": {
|
|
55
|
-
"types": [
|
|
56
|
-
"png",
|
|
57
|
-
"pdf",
|
|
58
|
-
"html"
|
|
59
|
-
],
|
|
60
|
-
"extras": []
|
|
61
|
-
},
|
|
62
|
-
"renders": {
|
|
63
|
-
"types": [
|
|
64
|
-
"html",
|
|
65
|
-
"pdf",
|
|
66
|
-
"png"
|
|
67
|
-
],
|
|
68
|
-
"defaults": [
|
|
69
|
-
"html"
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
"starter": {
|
|
73
|
-
"files": {
|
|
74
|
-
"{{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"
|
|
75
|
-
},
|
|
76
|
-
"entry": "{{name}}.html"
|
|
77
|
-
},
|
|
78
|
-
"share": true,
|
|
79
|
-
"build": "./dist/build.js",
|
|
80
|
-
"editor": "allyhub.report.view",
|
|
81
|
-
"shown": {
|
|
82
|
-
"line": {
|
|
83
|
-
"en": "Research and reviews, for any screen",
|
|
84
|
-
"zh-cn": "调研和分析报告,适配任何屏幕",
|
|
85
|
-
"zh-tw": "調研和分析報告,適配任何螢幕",
|
|
86
|
-
"ja": "リサーチと分析を、どの画面でも",
|
|
87
|
-
"ko": "리서치와 분석, 어떤 화면에서든",
|
|
88
|
-
"es": "Investigaciones y análisis, para cualquier pantalla",
|
|
89
|
-
"pt": "Pesquisas e análises, para qualquer tela",
|
|
90
|
-
"de": "Recherchen und Analysen, für jeden Bildschirm",
|
|
91
|
-
"fr": "Recherches et analyses, sur tous les écrans"
|
|
92
|
-
},
|
|
93
|
-
"order": 15
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"editors": [
|
|
98
|
-
{
|
|
99
|
-
"id": "allyhub.report.view",
|
|
100
|
-
"kinds": [
|
|
101
|
-
"report"
|
|
102
|
-
],
|
|
103
|
-
"module": "@allyhub/report-view",
|
|
104
|
-
"markup": "./markup"
|
|
105
|
-
}
|
|
106
|
-
],
|
|
107
|
-
"rules": [
|
|
108
|
-
{
|
|
109
|
-
"code": "AK-M017",
|
|
110
|
-
"level": "error",
|
|
111
|
-
"rule": "A report's file is not an HTML file, or is not there"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"code": "AK-P004",
|
|
115
|
-
"level": "error",
|
|
116
|
-
"rule": "A report's page did not load, or did not settle within its timeout"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"cliCommands": [
|
|
120
|
-
{
|
|
121
|
-
"name": "report style list",
|
|
122
|
-
"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",
|
|
123
|
-
"work": "reports",
|
|
124
|
-
"module": "./dist/cli/index.js"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"name": "report style show",
|
|
128
|
-
"summary": "A report style in words and numbers (its STYLE.md): its themes, tokens, type, page and example parts, for reference and never a limit",
|
|
129
|
-
"work": "reports",
|
|
130
|
-
"module": "./dist/cli/index.js"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"name": "report style use",
|
|
134
|
-
"summary": "Copies a report style beside a report: its style.css and tokens.js in the report's style/ folder, its faces and chart library once in the project's assets/report-styles/; the files are then the report's own",
|
|
135
|
-
"work": "reports",
|
|
136
|
-
"module": "./dist/cli/index.js"
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"skills": [
|
|
140
|
-
{
|
|
141
|
-
"path": "./skills/allyhub"
|
|
142
|
-
}
|
|
143
|
-
],
|
|
144
|
-
"projectTools": [
|
|
145
|
-
{
|
|
146
|
-
"name": "report/still",
|
|
147
|
-
"source": "asleep",
|
|
148
|
-
"does": {
|
|
149
|
-
"files": "the project's files; the report's page drawn in a browser"
|
|
150
|
-
},
|
|
151
|
-
"module": "./dist/project-tools.js"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"name": "report/at",
|
|
155
|
-
"source": "asleep",
|
|
156
|
-
"does": {
|
|
157
|
-
"files": "the project's files; the report's page read in a browser"
|
|
158
|
-
},
|
|
159
|
-
"module": "./dist/project-tools.js"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"name": "report/hold",
|
|
163
|
-
"source": "asleep",
|
|
164
|
-
"does": {
|
|
165
|
-
"files": "the project's files; the report's page kept open in a browser"
|
|
166
|
-
},
|
|
167
|
-
"module": "./dist/project-tools.js"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"name": "report/release",
|
|
171
|
-
"source": "asleep",
|
|
172
|
-
"does": {
|
|
173
|
-
"files": "nothing the agent does: a page kept open for a person's notes closed"
|
|
174
|
-
},
|
|
175
|
-
"module": "./dist/project-tools.js"
|
|
176
|
-
}
|
|
177
|
-
]
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"private": true,
|
|
181
|
-
"license": "SEE LICENSE IN LICENSE.md"
|
|
182
|
-
}
|