@inkeep/open-knowledge 0.50.0-beta.11 → 0.50.0-beta.13
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/dist/{abnfDiagram-VRR7QNED-DWDzSKGM.mjs → abnfDiagram-VRR7QNED-CifY53Cb.mjs} +2 -2
- package/dist/{acp-harness-probe-DRAaVrjf.mjs → acp-harness-probe-BRzTGQPW.mjs} +3 -3
- package/dist/alias-JE7RI5QX-D4n6ct-s.mjs +1 -0
- package/dist/{arc-DXUbbcxK.mjs → arc-CXI7xUjm.mjs} +2 -2
- package/dist/architecture-TIHT7OUA-BE8plkIy.mjs +1 -0
- package/dist/{architectureDiagram-ZJ3FMSHR-HYEpY7T3.mjs → architectureDiagram-ZJ3FMSHR-bIjZfWqc.mjs} +2 -2
- package/dist/{array-BbgQa93P.mjs → array-BxvVYvCD.mjs} +1 -1
- package/dist/{awk2-BBAGSFUB-Dq-YdAGA.mjs → awk2-BBAGSFUB-mmQuqryx.mjs} +1 -1
- package/dist/{banner-Be20aAVc.mjs → banner-B6HYYw6k.mjs} +1 -1
- package/dist/{base64-4YMZCVJ5-dXz6vbV-.mjs → base64-4YMZCVJ5-CMwa-nV5.mjs} +1 -1
- package/dist/{basename-AA2KJYZQ-BhoOTAHi.mjs → basename-AA2KJYZQ-qOuF7yJE.mjs} +1 -1
- package/dist/bash-IJWYRKFO-Dv3tavm3.mjs +1 -0
- package/dist/{blockDiagram-677ZJIJ3-yJugV29e.mjs → blockDiagram-677ZJIJ3-CpbM3epf.mjs} +2 -2
- package/dist/{c4Diagram-LMCZKHZV-BFQQLctA.mjs → c4Diagram-LMCZKHZV-BD6yUjvB.mjs} +2 -2
- package/dist/{cat-RDUMLXKC-DFuXWxVq.mjs → cat-RDUMLXKC-CDX9zihc.mjs} +1 -1
- package/dist/channel-C1EZ3Cv_.mjs +2 -0
- package/dist/{chmod-SYMGL4JA-ByMUk130.mjs → chmod-SYMGL4JA-D0kGSLaV.mjs} +1 -1
- package/dist/{chokidar-dh8zokRd.mjs → chokidar-CMbOXikG.mjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-Ck8oGqYt.mjs → chunk-2Q5K7J3B-DqdLeGRA.mjs} +2 -2
- package/dist/{chunk-2TRDZQLB-AH-I_6yN.mjs → chunk-2TRDZQLB-gp_t9c4Y.mjs} +1 -1
- package/dist/{chunk-32BRIVSS-Dwq69mnI.mjs → chunk-32BRIVSS-XYZfTStz.mjs} +2 -2
- package/dist/{chunk-3BS5SKQH-DpdUzS0R.mjs → chunk-3BS5SKQH-HZ6z6wVG.mjs} +3 -3
- package/dist/{chunk-3H6UQG3A-BWCaN15a.mjs → chunk-3H6UQG3A-BMHA6cy_.mjs} +2 -2
- package/dist/{chunk-3ZUFRYJ4-H1A1hWy1.mjs → chunk-3ZUFRYJ4-dXTnHXJv.mjs} +1 -1
- package/dist/{chunk-4GTNDTRF-Cx89i2Y1.mjs → chunk-4GTNDTRF-C_jTvQe4.mjs} +2 -2
- package/dist/{chunk-4HHKTUW3-Dk2l1S8J.mjs → chunk-4HHKTUW3-C0THzwCu.mjs} +1 -1
- package/dist/{chunk-4Q4SM6WR-CGuvvBWe.mjs → chunk-4Q4SM6WR-PC7l8Nw6.mjs} +2 -2
- package/dist/{chunk-52WLFC77-Cn-qt8h-.mjs → chunk-52WLFC77-Dx0kOaIq.mjs} +2 -2
- package/dist/{chunk-55VFSPNA-D2U7n2ka.mjs → chunk-55VFSPNA-C6Zy4paq.mjs} +2 -2
- package/dist/{chunk-5FCAYU7R-DszODYLe.mjs → chunk-5FCAYU7R-DtUYK8N7.mjs} +2 -2
- package/dist/{chunk-5HE753X5-DDnyF29o.mjs → chunk-5HE753X5-BOOWBZ0m.mjs} +2 -2
- package/dist/{chunk-5JV3BV7I-BkeVAZnj.mjs → chunk-5JV3BV7I-CkhohPJD.mjs} +2 -2
- package/dist/{chunk-5QVNJEHU-DS9zA_YV.mjs → chunk-5QVNJEHU-Y4vDIIOv.mjs} +2 -2
- package/dist/{chunk-5TONJI2A-CzUNHQPX.mjs → chunk-5TONJI2A-CH5pkTrL.mjs} +2 -2
- package/dist/{chunk-5V6VZH6T-DBFenjXz.mjs → chunk-5V6VZH6T-DOa3BRZD.mjs} +2 -2
- package/dist/{chunk-5VM5RSS4-C8vNNqW0.mjs → chunk-5VM5RSS4-D8VF3oKI.mjs} +2 -2
- package/dist/{chunk-62RKD26F-C4qK_fA-.mjs → chunk-62RKD26F-8hloI0L5.mjs} +2 -2
- package/dist/{chunk-64BAICW3-BupSxcu5.mjs → chunk-64BAICW3-DBXBwSOH.mjs} +2 -2
- package/dist/{chunk-6Z5SFZXK-Cz0C4bhB.mjs → chunk-6Z5SFZXK-C075dOUN.mjs} +2 -2
- package/dist/{chunk-74CEPOFO-BUVWiXkJ.mjs → chunk-74CEPOFO-CukBzgc1.mjs} +1 -1
- package/dist/{chunk-7BUUIJ7U-D7hE25H9.mjs → chunk-7BUUIJ7U-f1elfo77.mjs} +2 -2
- package/dist/{chunk-7L36YK2X-CGwYuotX.mjs → chunk-7L36YK2X-BGJaUmS5.mjs} +1 -1
- package/dist/{chunk-7TSDKFEO-DBB10vPw.mjs → chunk-7TSDKFEO-CNjAbA1P.mjs} +1 -1
- package/dist/{chunk-A4HU7SVR-BZJ8xDMo.mjs → chunk-A4HU7SVR-CCTrKdQB.mjs} +1 -1
- package/dist/{chunk-A4JSPFCI-Dej71yGP.mjs → chunk-A4JSPFCI-DajVdKHH.mjs} +2 -2
- package/dist/{chunk-A65PWWJC-C-0S-s_f.mjs → chunk-A65PWWJC-C-hcxfZo.mjs} +2 -2
- package/dist/{chunk-A7A2DBEE-DCXJ1xmx.mjs → chunk-A7A2DBEE-qSQcWS6a.mjs} +1 -1
- package/dist/{chunk-A7ICOL4V-BQZ9JZ1A.mjs → chunk-A7ICOL4V-BnS48daC.mjs} +2 -2
- package/dist/{chunk-ALLTKNUZ-D2ZOfcEz.mjs → chunk-ALLTKNUZ-h3DkPQr7.mjs} +2 -2
- package/dist/{chunk-APT7OOP2-D-DaFB7K.mjs → chunk-APT7OOP2-D4fQkI0I.mjs} +2 -2
- package/dist/{chunk-BIQX33UG-Bmho6v3L.mjs → chunk-BIQX33UG-COfXMiTJ.mjs} +2 -2
- package/dist/{chunk-C7G6YPKG-BAX_SClW.mjs → chunk-C7G6YPKG-OX__HWxf.mjs} +2 -2
- package/dist/{chunk-CQNSW5MT-FekKjn0i.mjs → chunk-CQNSW5MT-Cb1cqQRt.mjs} +2 -2
- package/dist/{chunk-CYSBUYHQ-BftsYwRW.mjs → chunk-CYSBUYHQ-B4-ppab8.mjs} +2 -2
- package/dist/{chunk-D4J545R4-Br_5qOnE.mjs → chunk-D4J545R4-BSSyYhq_.mjs} +2 -2
- package/dist/{chunk-D6CWQ5DW-3AWPydfx.mjs → chunk-D6CWQ5DW-CfOJMdG6.mjs} +2 -2
- package/dist/{chunk-D7MEQ3VN-Df6An2jd.mjs → chunk-D7MEQ3VN-t7WGQTJn.mjs} +2 -2
- package/dist/{chunk-DBKNVD4L-DNQP2COw.mjs → chunk-DBKNVD4L-n6jYSppo.mjs} +2 -2
- package/dist/{chunk-DCAAORBQ-BDLVpBG2.mjs → chunk-DCAAORBQ-Csr_bach.mjs} +2 -2
- package/dist/{chunk-EEXR5ZDP-CE452hsE.mjs → chunk-EEXR5ZDP-DHDSM8Cg.mjs} +1 -1
- package/dist/{chunk-EIZGF4BS-CSFp0aUh.mjs → chunk-EIZGF4BS-CQom3CXw.mjs} +2 -2
- package/dist/{chunk-EMLP6XTP-C2yfLzVC.mjs → chunk-EMLP6XTP-B9HJTcgK.mjs} +2 -2
- package/dist/{chunk-EX3LRPZG-Chp9b-Lc.mjs → chunk-EX3LRPZG-CJXUIqRR.mjs} +2 -2
- package/dist/{chunk-F23WWYKW-qKke1WqP.mjs → chunk-F23WWYKW-CqmJHfs_.mjs} +2 -2
- package/dist/{chunk-FWX5IMBZ-Cn1xNcn5.mjs → chunk-FWX5IMBZ-BZ5TJEkl.mjs} +2 -2
- package/dist/{chunk-GCTKCWKD-D0obXRun.mjs → chunk-GCTKCWKD-DaM9S1AG.mjs} +1 -1
- package/dist/{chunk-GOV5EKKI-CDovwI7Z.mjs → chunk-GOV5EKKI-C-RQSVxu.mjs} +2 -2
- package/dist/{chunk-GXVXFKBA-D-BGCybM.mjs → chunk-GXVXFKBA-RIRyJGvt.mjs} +2 -2
- package/dist/{chunk-HDQ56CKY-CI8IkhlS.mjs → chunk-HDQ56CKY-CREcvui6.mjs} +2 -2
- package/dist/{chunk-HJQJAYMS-BHzb4Ncl.mjs → chunk-HJQJAYMS-B-JtedZb.mjs} +1 -1
- package/dist/{chunk-HJWBQKYG-B-KESSoV.mjs → chunk-HJWBQKYG-LHJ71_Q6.mjs} +2 -2
- package/dist/{chunk-HKLCLINH-Bgw53oZd.mjs → chunk-HKLCLINH-BpO-uXL1.mjs} +3 -3
- package/dist/{chunk-HL6NGDO2-CftrHAlX.mjs → chunk-HL6NGDO2-BrwBzY5D.mjs} +2 -2
- package/dist/{chunk-HOUHSVGY-C3h3PdhC.mjs → chunk-HOUHSVGY-q17cYlbE.mjs} +2 -2
- package/dist/{chunk-HWKDQ44K-CGcvROg-.mjs → chunk-HWKDQ44K-Ca2TjRi7.mjs} +2 -2
- package/dist/{chunk-I57KEIP3-iiTO2OC-.mjs → chunk-I57KEIP3-D7P1gGRR.mjs} +1 -1
- package/dist/{chunk-ICXQ74PX-DbJy3VdO.mjs → chunk-ICXQ74PX-DL0eOUe3.mjs} +2 -2
- package/dist/{chunk-JG7HCLWE-lUInQ_44.mjs → chunk-JG7HCLWE-OAdm-dOX.mjs} +2 -2
- package/dist/{chunk-JVPRLUMK-FzUEFQw9.mjs → chunk-JVPRLUMK-D4dgC-kP.mjs} +2 -2
- package/dist/{chunk-JWPE2WC7-iDbhfJR-.mjs → chunk-JWPE2WC7-DdfpL_yU.mjs} +2 -2
- package/dist/{chunk-K6LIBGJA-BXxOXTjI.mjs → chunk-K6LIBGJA-BjeUsobh.mjs} +2 -2
- package/dist/{chunk-KEIR6QF5-BLwvtFl6.mjs → chunk-KEIR6QF5-CSQn6Mqu.mjs} +1 -1
- package/dist/{chunk-KMEYNNUA-1KiUKBQV.mjs → chunk-KMEYNNUA-C8NOqwuc.mjs} +2 -2
- package/dist/{chunk-KRBPSX3W-YDdgrCmf.mjs → chunk-KRBPSX3W-CA3be-GR.mjs} +2 -2
- package/dist/{chunk-LL3S3NLB-D0lLKwVi.mjs → chunk-LL3S3NLB-CVMnLnle.mjs} +2 -2
- package/dist/{chunk-LTZRCH7N-DpPs5vSq.mjs → chunk-LTZRCH7N-BVgQX7ys.mjs} +2 -2
- package/dist/{chunk-LWEGUNWT-DOK-XWMd.mjs → chunk-LWEGUNWT-BHyAIqRk.mjs} +2 -2
- package/dist/{chunk-MDDMCKUK-CTA6qEdN.mjs → chunk-MDDMCKUK-VSIrKrD6.mjs} +2 -2
- package/dist/{chunk-MDLLFABN-B2tA3LLA.mjs → chunk-MDLLFABN-DQ3dWAHi.mjs} +2 -2
- package/dist/{chunk-MHTUABJP-CrR3MfDw.mjs → chunk-MHTUABJP-CHc_qsDr.mjs} +1 -1
- package/dist/{chunk-MIZPJHVH-d3bhRfh4.mjs → chunk-MIZPJHVH-C_BrXHPW.mjs} +2 -2
- package/dist/{chunk-MLXIYONF-C0S_CKb1.mjs → chunk-MLXIYONF-B-vm9fnI.mjs} +1 -1
- package/dist/{chunk-MOJQB5TN-CUt4IiNv.mjs → chunk-MOJQB5TN-Da31nYdf.mjs} +2 -2
- package/dist/{chunk-MOZMSUNE-DCxwDKn7.mjs → chunk-MOZMSUNE-B5kgHl3e.mjs} +2 -2
- package/dist/{chunk-MYE6AGBJ-CMoRJzYM.mjs → chunk-MYE6AGBJ-B1nnJTrG.mjs} +2 -2
- package/dist/{chunk-NAERJDUW-Ck-SZ2Ps.mjs → chunk-NAERJDUW-Br68-Rrx.mjs} +2 -2
- package/dist/{chunk-NCNPKYJZ-BxqfYu6d.mjs → chunk-NCNPKYJZ-BoPSvcFt.mjs} +2 -2
- package/dist/{chunk-NUYSJFDK-DfaBzW-k.mjs → chunk-NUYSJFDK-D3fW0z8Y.mjs} +2 -2
- package/dist/{chunk-OCLXQMOG-DC3689MV.mjs → chunk-OCLXQMOG-jjXsGHS6.mjs} +2 -2
- package/dist/{chunk-OCS6LSEM-BY3_3dNt.mjs → chunk-OCS6LSEM-O_xWB45H.mjs} +2 -2
- package/dist/{chunk-OGEWGWER-DgPAesMA.mjs → chunk-OGEWGWER-DogLxEmQ.mjs} +2 -2
- package/dist/{chunk-OSBZ3O6U-BVpvamr7.mjs → chunk-OSBZ3O6U-BL69ZkWc.mjs} +2 -2
- package/dist/{chunk-PBXLG62G-C12xrBbG.mjs → chunk-PBXLG62G-DHYP3zNq.mjs} +2 -2
- package/dist/{chunk-PP6PSHAB-tlM6YKyg.mjs → chunk-PP6PSHAB-DJdfqM0M.mjs} +1 -1
- package/dist/{chunk-PUDLZKDR-CIWYIjrF.mjs → chunk-PUDLZKDR-C6_GL-hZ.mjs} +2 -2
- package/dist/{chunk-PXTK5WE2-DNbfUrIy.mjs → chunk-PXTK5WE2-BjypHZuZ.mjs} +1 -1
- package/dist/{chunk-PYSFUGCK-DqdcBhD4.mjs → chunk-PYSFUGCK-1wyQjjIa.mjs} +2 -2
- package/dist/{chunk-Q4XR5HBZ-jWirJQsj.mjs → chunk-Q4XR5HBZ-CmIyTunu.mjs} +2 -2
- package/dist/{chunk-QBLGF6JB-hMrl9lGc.mjs → chunk-QBLGF6JB-Chmqe3JT.mjs} +2 -2
- package/dist/{chunk-QCDB2VPH-Cv7mIZWG.mjs → chunk-QCDB2VPH-DeT7iDe9.mjs} +2 -2
- package/dist/{chunk-QJ7O6ZN3-BRN048sn.mjs → chunk-QJ7O6ZN3-pLJnBWb_.mjs} +2 -2
- package/dist/{chunk-R6QSAL5T-CxzbKF59.mjs → chunk-R6QSAL5T-FbTgG420.mjs} +1 -1
- package/dist/{chunk-R7FJI6CG-bmCS8vOS.mjs → chunk-R7FJI6CG-DtnOBvxJ.mjs} +2 -2
- package/dist/{chunk-RPNGRAAP-BTpXCNpb.mjs → chunk-RPNGRAAP-zk52I-x5.mjs} +2 -2
- package/dist/{chunk-RYQCIY6F-Dt7I2-Oy.mjs → chunk-RYQCIY6F-BhxDRSmm.mjs} +2 -2
- package/dist/{chunk-SDNKECQQ-BNRfy-15.mjs → chunk-SDNKECQQ-Ba_9RHGh.mjs} +2 -2
- package/dist/{chunk-SNN4IESC-oXVGT9qo.mjs → chunk-SNN4IESC-WFycXHLb.mjs} +1 -1
- package/dist/{chunk-T56QNPHK-lY6QjpkL.mjs → chunk-T56QNPHK-ziWY7afD.mjs} +2 -2
- package/dist/{chunk-TLSUDHID-BP7dARSe.mjs → chunk-TLSUDHID-KzcTune6.mjs} +2 -2
- package/dist/{chunk-TOMNU26N-BFsBBT9j.mjs → chunk-TOMNU26N-GYFcPoRs.mjs} +2 -2
- package/dist/{chunk-TP4BZANS-C6KGxaUf.mjs → chunk-TP4BZANS-DGEEtypx.mjs} +2 -2
- package/dist/{chunk-TXBZCHCQ-DxPX5PCF.mjs → chunk-TXBZCHCQ-DnLUMlQb.mjs} +2 -2
- package/dist/{chunk-U6XO7XAA-BHty90wb.mjs → chunk-U6XO7XAA-CAV8Xz4u.mjs} +2 -2
- package/dist/{chunk-V5MWI2OL-DApVl_z4.mjs → chunk-V5MWI2OL-CVoVr5km.mjs} +1 -1
- package/dist/{chunk-V7JOEXUC-DNM56rwe.mjs → chunk-V7JOEXUC-CY4XfSMA.mjs} +2 -2
- package/dist/{chunk-V7TAPXDL-CrGsULIH.mjs → chunk-V7TAPXDL-C2FVL1Cc.mjs} +2 -2
- package/dist/chunk-VAUOI2AC-jixxcqz-.mjs +2 -0
- package/dist/{chunk-VJFXDYWH-DXnppZsu.mjs → chunk-VJFXDYWH-CsNcAcBk.mjs} +2 -2
- package/dist/{chunk-VOBGTVA6-_4QbVbSJ.mjs → chunk-VOBGTVA6-C9eHBVbd.mjs} +2 -2
- package/dist/{chunk-VR4S4FIN-RUJ5PgRH.mjs → chunk-VR4S4FIN-C_LXRmnl.mjs} +2 -2
- package/dist/{chunk-VYOJP4TV-DG_cm0JM.mjs → chunk-VYOJP4TV-BUWMbzbv.mjs} +2 -2
- package/dist/{chunk-WKFATFPP-DygaP6No.mjs → chunk-WKFATFPP-BENmMUsK.mjs} +2 -2
- package/dist/{chunk-WYO6CB5R-DN1R0VLx.mjs → chunk-WYO6CB5R-Brxa0zhE.mjs} +2 -2
- package/dist/{chunk-X2AJGDEF-BXjUENXL.mjs → chunk-X2AJGDEF-Bub3T_lz.mjs} +1 -1
- package/dist/{chunk-XKQRETAK-CYJSOFLN.mjs → chunk-XKQRETAK-DHeM48F0.mjs} +2 -2
- package/dist/{chunk-XKWWSDBF-BTj39eCO.mjs → chunk-XKWWSDBF-ni5TCqSh.mjs} +2 -2
- package/dist/{chunk-XVDPCNWR-BSVT7Ttz.mjs → chunk-XVDPCNWR-DoK2rHj9.mjs} +2 -2
- package/dist/chunk-XXDRQBXY-CQXT_9AZ.mjs +2 -0
- package/dist/{chunk-Y2CYZVJY-acXC9Sbb.mjs → chunk-Y2CYZVJY-BW8wJnWV.mjs} +1 -1
- package/dist/{chunk-YMMW5UAP-CE-EQ2Is.mjs → chunk-YMMW5UAP-BQm_v5Kl.mjs} +2 -2
- package/dist/{chunk-YOTPTUD7-63S9b4Z2.mjs → chunk-YOTPTUD7-DNauVPQF.mjs} +2 -2
- package/dist/{chunk-YTNYSM6T-DFPh_641.mjs → chunk-YTNYSM6T-C3I3Zko5.mjs} +2 -2
- package/dist/{chunk-YULBWSET-B6FKJjk9.mjs → chunk-YULBWSET-CkTpBwtE.mjs} +2 -2
- package/dist/{chunk-Z6LRHWXI-BCgawaNX.mjs → chunk-Z6LRHWXI-BACRBvOV.mjs} +1 -1
- package/dist/{chunk-Z7JVV2SM-CTUpikzI.mjs → chunk-Z7JVV2SM-BtK-_LmQ.mjs} +2 -2
- package/dist/{chunk-ZGVPDNZ5-CyyHBEs2.mjs → chunk-ZGVPDNZ5-UmSUWBQJ.mjs} +2 -2
- package/dist/{chunk-ZIRB5QZD-K23GvNu-.mjs → chunk-ZIRB5QZD-CmUycQw3.mjs} +2 -2
- package/dist/{chunk-ZZO3UDB3-MiEiJy8J.mjs → chunk-ZZO3UDB3-Cz8Gdrsy.mjs} +2 -2
- package/dist/classDiagram-OUVF2IWQ-DkvHcHg8.mjs +2 -0
- package/dist/classDiagram-v2-EOCWNBFH-C9xEWxX3.mjs +2 -0
- package/dist/{clear-5CZ5X4YR-BICGLF_r.mjs → clear-5CZ5X4YR-BiAnnKkP.mjs} +1 -1
- package/dist/cli.mjs +61 -62
- package/dist/{column-WLPMMSTS-D0I9TpQ2.mjs → column-WLPMMSTS-B-DDJ8BB.mjs} +1 -1
- package/dist/{comm-5SLSESQG-D2Rs9Jmo.mjs → comm-5SLSESQG-Bra_WoCJ.mjs} +1 -1
- package/dist/constants-COPfVWti.mjs +2 -0
- package/dist/{cose-bilkent-JH36ORCC-B1gjUwU3.mjs → cose-bilkent-JH36ORCC-BfqwRENl.mjs} +2 -2
- package/dist/{du-WO2ENHXQ-oQRVbsEF.mjs → cp-XOYR4ABJ-DngaDNNP.mjs} +1 -1
- package/dist/{curl-47BFPSFW-Ko1BcK_R.mjs → curl-47BFPSFW-eHCZdiPu.mjs} +2 -2
- package/dist/{cut-OPC3VAGB-BAhJz0Qh.mjs → cut-OPC3VAGB-CivcnWkF.mjs} +1 -1
- package/dist/cynefin-VYW2F7L2-DPwh86oV.mjs +1 -0
- package/dist/{cynefinDiagram-TSTJHNR4-CoESbhp4.mjs → cynefinDiagram-TSTJHNR4-CpOWwyYe.mjs} +2 -2
- package/dist/{cytoscape.esm-D6l9Lhue.mjs → cytoscape.esm-S8jaq1C7.mjs} +1 -1
- package/dist/{dagre-BkPA5x_w.mjs → dagre-BaMkyuee.mjs} +2 -2
- package/dist/{dagre-VKFMJZFB-BhCtWAkc.mjs → dagre-VKFMJZFB-DwCCM0Xp.mjs} +2 -2
- package/dist/{head-HT2B6D2J-CHIR76LI.mjs → date-DD7FVA2V-jnHsShFZ.mjs} +1 -1
- package/dist/{defaultLocale-DN4qDyCE.mjs → defaultLocale-BWtuB8BB.mjs} +1 -1
- package/dist/{diagram-FQU43EPY-BdshpOzp.mjs → diagram-FQU43EPY-BQAC9zdy.mjs} +2 -2
- package/dist/{diagram-G47NLZAW-Lw1fB9_w.mjs → diagram-G47NLZAW-CuvDx6FS.mjs} +2 -2
- package/dist/{diagram-NH7WQ7WH-DnzwFaQq.mjs → diagram-NH7WQ7WH-C_jC8qIM.mjs} +2 -2
- package/dist/{diagram-OA4YK3LP-BXU-URV1.mjs → diagram-OA4YK3LP-Bn50iqJR.mjs} +2 -2
- package/dist/{diagram-WEI45ONY-CD_Zpcvk.mjs → diagram-WEI45ONY-BDhDmqvX.mjs} +2 -2
- package/dist/diff-HJF2MPDN-4GoCoHUK.mjs +1 -0
- package/dist/{dirname-LEMTZZFS-BG01-R4_.mjs → dirname-LEMTZZFS-BOmi4y1i.mjs} +1 -1
- package/dist/{dist-CMZz8-Ge.mjs → dist-C-LC4jV0.mjs} +1 -1
- package/dist/{cp-XOYR4ABJ-OfwEEWhR.mjs → du-WO2ENHXQ-B55Wl_Sp.mjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-D-647A1u.mjs → ebnfDiagram-CCIWWBDH-BrF0vS_c.mjs} +2 -2
- package/dist/echo-O45JWWI2-BQH9Rbvo.mjs +1 -0
- package/dist/env-5EPCWSXR-Dw_d1C_s.mjs +1 -0
- package/dist/{erDiagram-Q63AITRT-DviwoNdm.mjs → erDiagram-Q63AITRT-ke2iIs_t.mjs} +2 -2
- package/dist/esm-DmX1RzAi.mjs +20 -0
- package/dist/eventmodeling-45OFAUF4-DGzNexs8.mjs +1 -0
- package/dist/{execAsync-BLKHjfg7.mjs → execAsync-BA_C-_A9.mjs} +1 -1
- package/dist/{execAsync-C5ympCkf.mjs → execAsync-BqpCoDXT.mjs} +1 -1
- package/dist/{expand-DTNXU4LQ-XU44HrWp.mjs → expand-DTNXU4LQ-HW95aAXH.mjs} +1 -1
- package/dist/expr-YYCVMXE3-S1QPzhwP.mjs +1 -0
- package/dist/{date-DD7FVA2V-BGJ9-l0O.mjs → file-IGDTDPLG-Bs0TzVWz.mjs} +1 -1
- package/dist/find-DH2ALKQS-Ds4UmE23.mjs +1 -0
- package/dist/flag-coverage-6JEX67RU-BwjLnPN2.mjs +2 -0
- package/dist/flowDiagram-23GEKE2U-CP46dUl2.mjs +1 -0
- package/dist/{fold-LDSORVYE-DumfsCQO.mjs → fold-LDSORVYE-D3m5AEML.mjs} +1 -1
- package/dist/{fs-traced-DJHV_QPy.mjs → fs-traced-BUirY9_X.mjs} +3 -3
- package/dist/fs-traced-CDdByB1Z.mjs +1 -0
- package/dist/{ganttDiagram-NO4QXBWP-DnN5cTGV.mjs → ganttDiagram-NO4QXBWP-COgIprWR.mjs} +2 -2
- package/dist/{getMachineId-bsd-B_NuwbXS.mjs → getMachineId-bsd-CIJruWed.mjs} +2 -2
- package/dist/{getMachineId-bsd-neTWr-l3.mjs → getMachineId-bsd-CR6ADOtk.mjs} +2 -2
- package/dist/{getMachineId-darwin-BP4aVKkL.mjs → getMachineId-darwin-CsjV7rRA.mjs} +2 -2
- package/dist/{getMachineId-darwin-DKDl-xYO.mjs → getMachineId-darwin-DfwRihra.mjs} +2 -2
- package/dist/{getMachineId-linux-Bexb2iRT.mjs → getMachineId-linux-BFZntue3.mjs} +1 -1
- package/dist/{getMachineId-linux-YTb5epZX.mjs → getMachineId-linux-Db26oBf8.mjs} +1 -1
- package/dist/{getMachineId-unsupported-Ddv20ynQ.mjs → getMachineId-unsupported-D0viNi1R.mjs} +1 -1
- package/dist/{getMachineId-unsupported-DdwXS_Q3.mjs → getMachineId-unsupported-DprC99Fl.mjs} +1 -1
- package/dist/{getMachineId-win-BNx0EbPq.mjs → getMachineId-win-51ZBNzaO.mjs} +2 -2
- package/dist/{getMachineId-win-D8cNuBNk.mjs → getMachineId-win-BK2WTxBT.mjs} +2 -2
- package/dist/gitGraph-TEB2WS4Q-BmT0y88b.mjs +1 -0
- package/dist/{gitGraphDiagram-IHSO6WYX-Bs2N855t.mjs → gitGraphDiagram-IHSO6WYX-Dii-ToNc.mjs} +2 -2
- package/dist/{graphlib-DXQPHTiH.mjs → graphlib-BDAowsct.mjs} +1 -1
- package/dist/grep-2HUTXO5U-xFL26YrS.mjs +1 -0
- package/dist/gzip-AQXSGOVS-CSmJK8Rj.mjs +1 -0
- package/dist/{file-IGDTDPLG-sPfWVy9T.mjs → head-HT2B6D2J-CfgVUXjv.mjs} +1 -1
- package/dist/help-VVWX7SA5-DOWLYy0x.mjs +1 -0
- package/dist/history-J4QRNGRO-Dche7T8E.mjs +1 -0
- package/dist/{hostname-BK6HG2DE-Clwz043m.mjs → hostname-BK6HG2DE-DQrUsDdl.mjs} +1 -1
- package/dist/html-to-markdown-TFCECAGV-CS2kaY1h.mjs +1 -0
- package/dist/index.mjs +1 -1
- package/dist/info-DKCQHKI2-svktUZ6l.mjs +1 -0
- package/dist/{infoDiagram-FWYZ7A6U-CD5T72Pd.mjs → infoDiagram-FWYZ7A6U-DPvNkkYe.mjs} +2 -2
- package/dist/init-BvRbf5jC.mjs +1 -0
- package/dist/{init-D8OKme52.mjs → init-DRQyOUkz.mjs} +1 -1
- package/dist/{init-Bi1d2uLD.mjs → init-pIJddeyG.mjs} +43 -43
- package/dist/{ishikawaDiagram-FXEZZL3T-CzHEtbdq.mjs → ishikawaDiagram-FXEZZL3T-B1d77HdO.mjs} +2 -2
- package/dist/{join-GG2LDHE5-BIH_-8vD.mjs → join-GG2LDHE5-D3-YSo2O.mjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-BywkQV2b.mjs → journeyDiagram-5HDEW3XC-DE8I99vn.mjs} +2 -2
- package/dist/jq-LYZFFBZB-BPcTXH--.mjs +1 -0
- package/dist/{js-exec-VXN6TZ7U-BrugyKqi.mjs → js-exec-VXN6TZ7U-14kXJVQY.mjs} +2 -2
- package/dist/{kanban-definition-HUTT4EX6-DIgH0tMg.mjs → kanban-definition-HUTT4EX6-Cw3CuKcg.mjs} +2 -2
- package/dist/{launch-json-removal-BUYuUwT_.mjs → launch-json-removal-CnIk3WE-.mjs} +2 -2
- package/dist/{lib-DuDqLKFD.mjs → lib-DD6URxCv.mjs} +1 -1
- package/dist/{lib-ozx_WsjS.mjs → lib-GfyUqUMQ.mjs} +1 -1
- package/dist/{line-eTDW_zUy.mjs → line-CJOWyLcQ.mjs} +2 -2
- package/dist/{linear-Cn1royVQ.mjs → linear-B98AeboV.mjs} +2 -2
- package/dist/{ln-4TRFBYAT-B0hi-FAf.mjs → ln-4TRFBYAT-DDI4VC8k.mjs} +1 -1
- package/dist/loader-B2V-uVIv.mjs +1 -0
- package/dist/{loader-DXsqPNjF.mjs → loader-BeDgboJk.mjs} +2 -2
- package/dist/{logger-DFxEUjvj.mjs → logger-CnfEoHs1.mjs} +2 -2
- package/dist/ls-KSXFZCWH-DtBVxnlG.mjs +1 -0
- package/dist/{lzma-CD6C2vYw.mjs → lzma-BHUlFqhy.mjs} +1 -1
- package/dist/{map-bDB3k8vA.mjs → map--Gi5y9ID.mjs} +2 -2
- package/dist/{mcp-migrate-event-B1gJf6bG.mjs → mcp-migrate-event-BsswfOLm.mjs} +1 -1
- package/dist/md5sum-INMIK4DX-6QMuVHyp.mjs +1 -0
- package/dist/{mermaid-parser.core-uwQfwzUX.mjs → mermaid-parser.core-l2oLJb5a.mjs} +2 -2
- package/dist/{mermaid.core-BgpKViY0.mjs → mermaid.core-BW-ojLzZ.mjs} +3 -3
- package/dist/{mindmap-definition-LN4V7U3C-H3p7uT-G.mjs → mindmap-definition-LN4V7U3C-DszaH9jw.mjs} +2 -2
- package/dist/mkdir-TDEMSB6C-B7FUPgJT.mjs +1 -0
- package/dist/mv-Z6MORUFL-CiC5IjMZ.mjs +1 -0
- package/dist/{nl-U5YJDM32-BO1kUpkn.mjs → nl-U5YJDM32-D0P18t46.mjs} +1 -1
- package/dist/{od-VJEF2UR5-DxUGtlve.mjs → od-VJEF2UR5-CVvpPv2t.mjs} +1 -1
- package/dist/{open-browser-CHq05YCN.mjs → open-browser-OsCLGa-m.mjs} +2 -2
- package/dist/{ordinal-BFK2XMXf.mjs → ordinal-BAodviWw.mjs} +2 -2
- package/dist/packet-7NZHBO7P-Bwz73sSr.mjs +1 -0
- package/dist/paste-7N6AFSDS-wGVGynNz.mjs +1 -0
- package/dist/{path-CIoCsClp.mjs → path-BHIKZp6_.mjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-PBU61CXk.mjs → pegDiagram-2B236MQR-BWcVFngN.mjs} +2 -2
- package/dist/pie-RZYD4A2V-CE38luFp.mjs +1 -0
- package/dist/{pieDiagram-ENE6RG2P-ClZWrO6e.mjs → pieDiagram-ENE6RG2P-C3vtfksj.mjs} +2 -2
- package/dist/preview-B9gSOFlh.mjs +1 -0
- package/dist/{preview-BENkmrSy.mjs → preview-hjy0gI0i.mjs} +2 -2
- package/dist/printf-CX64KX2P-CaJGJKBk.mjs +1 -0
- package/dist/pwd-D4OZ7N27-BSUHCKp6.mjs +1 -0
- package/dist/{python3-DNGS4G3E-OzxoFG34.mjs → python3-DNGS4G3E-B2EbGP6l.mjs} +2 -2
- package/dist/{quadrantDiagram-ABIIQ3AL-Z4PbVL1N.mjs → quadrantDiagram-ABIIQ3AL-CiO_sFTm.mjs} +2 -2
- package/dist/radar-I7S5WNFK-pz955tjg.mjs +1 -0
- package/dist/railroad-3IZDKUUU-AFlm6w4m.mjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-BTUueThU.mjs +1 -0
- package/dist/railroad-ebnf-EBAXGLYW-BUaSAE_y.mjs +1 -0
- package/dist/railroad-peg-LSFZ7HO6-WqmNlxVP.mjs +1 -0
- package/dist/{railroadDiagram-RFXS5EU6-ZSRYpY_p.mjs → railroadDiagram-RFXS5EU6-DkLolDmi.mjs} +2 -2
- package/dist/readlink-MI4GCHJF-jTt0vAz9.mjs +1 -0
- package/dist/{repair-launch-json-D_fCoitG.mjs → repair-launch-json-BocgwEI5.mjs} +2 -2
- package/dist/repair-mcp-configs-BrBkt_hT.mjs +2 -0
- package/dist/repair-skills-BMZ7VleT.mjs +1 -0
- package/dist/repair-skills-C-3CmI5S.mjs +4 -0
- package/dist/{requirementDiagram-TGXJPOKE-H6OWjjJE.mjs → requirementDiagram-TGXJPOKE-DIdD7wig.mjs} +2 -2
- package/dist/{rev-XOSYPP45-BYe7prl1.mjs → rev-XOSYPP45-BSIdnqPx.mjs} +1 -1
- package/dist/rg-XNF3R3II-C4OSm0Dp.mjs +1 -0
- package/dist/rm-RTZG23RL--LfClUwt.mjs +1 -0
- package/dist/rmdir-XTQXT7RK-Dfu2C4rD.mjs +1 -0
- package/dist/{rough.cjs-BGkc0Naf.mjs → rough.cjs-CV0Ml7Xq.mjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-CtBVJJox.mjs → sankeyDiagram-HTMAVEWB-BCm3ffYX.mjs} +2 -2
- package/dist/{sed-JAPPVBEU-D9bYEx2I.mjs → sed-JAPPVBEU-CDtlHkuH.mjs} +1 -1
- package/dist/seq-RN5ZUASB-C9jABiAl.mjs +1 -0
- package/dist/{sequenceDiagram-DBY2YBRQ-DDLm4Ak_.mjs → sequenceDiagram-DBY2YBRQ-ytgs0V7Z.mjs} +2 -2
- package/dist/server-lock-C_lebUd3.mjs +1 -0
- package/dist/{server-lock-qqJQphTS.mjs → server-lock-DbS4Uxaj.mjs} +2 -2
- package/dist/sha1sum-VJPNLNU6-DxVErSr_.mjs +1 -0
- package/dist/sha256sum-PI32XWXY-EG_naFg1.mjs +1 -0
- package/dist/{sizeCapture-X5ZJPWSS-Izaz24Pi.mjs → sizeCapture-X5ZJPWSS-ChxCz8k2.mjs} +2 -2
- package/dist/{skill-teardown-B4kT3Fxa.mjs → skill-teardown-CH2C4nmj.mjs} +2 -2
- package/dist/{sleep-VZFPZFWA-5fZFI3Vy.mjs → sleep-VZFPZFWA-B7Ffcstc.mjs} +1 -1
- package/dist/sort-DCNRDA7U-BysvX8_9.mjs +1 -0
- package/dist/{split-SITCSYCZ-BdATfTxU.mjs → split-SITCSYCZ-BplA1_68.mjs} +1 -1
- package/dist/{sqlite3-TE5AIOTF-BIRMe0xz.mjs → sqlite3-TE5AIOTF-BbzgGp0m.mjs} +1 -1
- package/dist/{src-BPVU4Y0o.mjs → src-BbZVR6qh.mjs} +2 -2
- package/dist/src-BxyYlbvx.mjs +1 -0
- package/dist/src-DFKvCzqo.mjs +20 -0
- package/dist/{src-n7camJHB.mjs → src-Dg0jHVcz.mjs} +1 -1
- package/dist/src-y0X27yQX.mjs +2032 -0
- package/dist/start-C9fu-159.mjs +1 -0
- package/dist/start-Dtt8oak3.mjs +10 -0
- package/dist/stat-BT5A227F-CXXodVC_.mjs +1 -0
- package/dist/{stateDiagram-2N3HPSRC-pAn2bDnn.mjs → stateDiagram-2N3HPSRC-BL08Hdlz.mjs} +2 -2
- package/dist/stateDiagram-v2-6OUMAXLB-DWhomgSq.mjs +2 -0
- package/dist/strings-7PLOGTPD-Nwy6Xrva.mjs +1 -0
- package/dist/{swimlanes-5IMT3BWC-nSsjdSnj.mjs → swimlanes-5IMT3BWC-BLoq7OFB.mjs} +2 -2
- package/dist/swimlanesDiagram-G3AALYLV-Cv2Skneu.mjs +9 -0
- package/dist/{tac-SJGXQ4T2-DphHfCAY.mjs → tac-SJGXQ4T2-CDjky8wm.mjs} +1 -1
- package/dist/tail-S5ULNTJU-BeMiY4Ip.mjs +1 -0
- package/dist/{tar-MZQD7NO4-oAQoyk28.mjs → tar-MZQD7NO4-CvmpRV6c.mjs} +1 -1
- package/dist/tee-O7VXZDCO-DvqoGhss.mjs +1 -0
- package/dist/time-DEUO3QV2-wD_Yk1Gc.mjs +1 -0
- package/dist/{timeline-definition-FHXFAJF6-CnTXJoEq.mjs → timeline-definition-FHXFAJF6-B04TQQaT.mjs} +2 -2
- package/dist/{timeout-VRKMCG72-jeMAkAMc.mjs → timeout-VRKMCG72-0jgK5Ox1.mjs} +1 -1
- package/dist/touch-DX2IJOQ4-DJPgV9CW.mjs +1 -0
- package/dist/tr-2HXZRDSW-sXW7fivD.mjs +1 -0
- package/dist/tree-LYXBS7DC-CvV2g1Ry.mjs +1 -0
- package/dist/treeView-QDETBFTQ-c4b9tG2O.mjs +1 -0
- package/dist/treemap-6X3UGDF4-DrpuzrWt.mjs +1 -0
- package/dist/true-WHJNXCHG-BZzpC6GD.mjs +1 -0
- package/dist/ui-B35mCBIN.mjs +3 -0
- package/dist/ui-D9Vnv2aH.mjs +1 -0
- package/dist/unexpand-RGTMIGZM-DNf7-ZPk.mjs +1 -0
- package/dist/uniq-SUNANL47-B-K7MChP.mjs +1 -0
- package/dist/{vennDiagram-L72KCM5P-CqTzYRfa.mjs → vennDiagram-L72KCM5P-Ceol1qSg.mjs} +2 -2
- package/dist/wardley-OPB4EBWU-B4h8UV8p.mjs +1 -0
- package/dist/{wardleyDiagram-EHGQE667-WhxG-nRT.mjs → wardleyDiagram-EHGQE667-DNEGm0iK.mjs} +2 -2
- package/dist/wc-TQB3VNOX-BSm-v72n.mjs +1 -0
- package/dist/which-XZHEH76L-BOgRrNLi.mjs +1 -0
- package/dist/whoami-DGKU3D2X-BsXYdCHU.mjs +1 -0
- package/dist/write-project-skill-BP9EVRr-.mjs +38 -0
- package/dist/xan-UD7JYIL2-BXWuwgCX.mjs +1 -0
- package/dist/xan-view-OW2TB7Z3-BGaBgg3C.mjs +1 -0
- package/dist/xargs-I6EZUCYF-DFS4BAln.mjs +1 -0
- package/dist/{xychartDiagram-FW5EYKEG-DDE7TRrw.mjs → xychartDiagram-FW5EYKEG-D7BmnN1n.mjs} +2 -2
- package/dist/yq-OAKYHSXH-T6sHAYIQ.mjs +1 -0
- package/package.json +4 -4
- package/dist/alias-JE7RI5QX-VxEqWoTW.mjs +0 -1
- package/dist/architecture-TIHT7OUA-Bl3hpxt3.mjs +0 -1
- package/dist/bash-IJWYRKFO-jaJEvAZe.mjs +0 -1
- package/dist/channel-Cjp51EO_.mjs +0 -2
- package/dist/chunk-VAUOI2AC-BdotBBDE.mjs +0 -2
- package/dist/chunk-XXDRQBXY-D1gFTzjI.mjs +0 -2
- package/dist/classDiagram-OUVF2IWQ-0ApI9cDS.mjs +0 -2
- package/dist/classDiagram-v2-EOCWNBFH-DfQYJWNe.mjs +0 -2
- package/dist/constants-DLJSo46_.mjs +0 -2
- package/dist/cynefin-VYW2F7L2-C-aICrN-.mjs +0 -1
- package/dist/diff-HJF2MPDN-CQAaA8lM.mjs +0 -1
- package/dist/echo-O45JWWI2-BPosfKdD.mjs +0 -1
- package/dist/env-5EPCWSXR-DygzVPiG.mjs +0 -1
- package/dist/eventmodeling-45OFAUF4-CJqJ2hnR.mjs +0 -1
- package/dist/expr-YYCVMXE3-DI2glLwn.mjs +0 -1
- package/dist/find-DH2ALKQS-CEKaRkgJ.mjs +0 -1
- package/dist/flag-coverage-6JEX67RU-QmoBigPs.mjs +0 -2
- package/dist/flowDiagram-23GEKE2U-Dhi3SNHm.mjs +0 -1
- package/dist/fs-traced-GKhfy5ua.mjs +0 -1
- package/dist/gitGraph-TEB2WS4Q-_V7TMkJv.mjs +0 -1
- package/dist/grep-2HUTXO5U-DG5Ulinc.mjs +0 -1
- package/dist/gzip-AQXSGOVS-D6UYmM0C.mjs +0 -1
- package/dist/help-VVWX7SA5-BbK0QLPX.mjs +0 -1
- package/dist/history-J4QRNGRO-5XgHJL_Q.mjs +0 -1
- package/dist/html-to-markdown-TFCECAGV-BsVwcc4T.mjs +0 -1
- package/dist/info-DKCQHKI2-DIsEz1l_.mjs +0 -1
- package/dist/init-CqUUUDta.mjs +0 -1
- package/dist/jq-LYZFFBZB-Dlyx6Y7w.mjs +0 -1
- package/dist/loader-DAMg0xnL.mjs +0 -1
- package/dist/ls-KSXFZCWH-C_kbnNdU.mjs +0 -1
- package/dist/md5sum-INMIK4DX-DGvi_A-E.mjs +0 -1
- package/dist/mkdir-TDEMSB6C-CMOt1jIT.mjs +0 -1
- package/dist/mv-Z6MORUFL-CqyCV_Ze.mjs +0 -1
- package/dist/packet-7NZHBO7P-B64OS2eJ.mjs +0 -1
- package/dist/paste-7N6AFSDS-BJHZcYXH.mjs +0 -1
- package/dist/pie-RZYD4A2V-B313HDTA.mjs +0 -1
- package/dist/preview-aNluJ6KN.mjs +0 -1
- package/dist/printf-CX64KX2P-841sNxew.mjs +0 -1
- package/dist/pwd-D4OZ7N27-C41v1g3B.mjs +0 -1
- package/dist/radar-I7S5WNFK-BdiwGd2_.mjs +0 -1
- package/dist/railroad-3IZDKUUU-O4nBw7jb.mjs +0 -1
- package/dist/railroad-abnf-AHOZXSZD-CDaO5Dcu.mjs +0 -1
- package/dist/railroad-ebnf-EBAXGLYW-CS4l_gpR.mjs +0 -1
- package/dist/railroad-peg-LSFZ7HO6-bbLhALeS.mjs +0 -1
- package/dist/readlink-MI4GCHJF-CQlQ03aa.mjs +0 -1
- package/dist/repair-mcp-configs-C3cLZGEE.mjs +0 -2
- package/dist/repair-skills-BKjhKhUN.mjs +0 -4
- package/dist/repair-skills-DN4OicpR.mjs +0 -1
- package/dist/rg-XNF3R3II-CmxxmmUf.mjs +0 -1
- package/dist/rm-RTZG23RL-Bl5s9ltJ.mjs +0 -1
- package/dist/rmdir-XTQXT7RK-C1ccje2_.mjs +0 -1
- package/dist/seq-RN5ZUASB-CFySG-xk.mjs +0 -1
- package/dist/server-lock-rwNc7NVh.mjs +0 -1
- package/dist/sha1sum-VJPNLNU6-DgLJCjAg.mjs +0 -1
- package/dist/sha256sum-PI32XWXY-DZ42pgY3.mjs +0 -1
- package/dist/sort-DCNRDA7U-RFl0HYBr.mjs +0 -1
- package/dist/src-BB2_Ksle.mjs +0 -2032
- package/dist/src-DyAkipH8.mjs +0 -1
- package/dist/src-Joe5Ft2d.mjs +0 -20
- package/dist/start-BUeLlQd8.mjs +0 -1
- package/dist/start-CYM9hyHf.mjs +0 -4
- package/dist/stat-BT5A227F-Dd-OyLQQ.mjs +0 -1
- package/dist/stateDiagram-v2-6OUMAXLB-DCmVVpGm.mjs +0 -2
- package/dist/strings-7PLOGTPD-v3qEuUEm.mjs +0 -1
- package/dist/swimlanesDiagram-G3AALYLV-CdQlHesp.mjs +0 -9
- package/dist/tail-S5ULNTJU-D6qRQZwV.mjs +0 -1
- package/dist/tee-O7VXZDCO-odVO6Wjw.mjs +0 -1
- package/dist/time-DEUO3QV2-CviQF55F.mjs +0 -1
- package/dist/touch-DX2IJOQ4-CyiMRd7b.mjs +0 -1
- package/dist/tr-2HXZRDSW-CCce6lU_.mjs +0 -1
- package/dist/tree-LYXBS7DC-pAC77Hbt.mjs +0 -1
- package/dist/treeView-QDETBFTQ-BCAjffnq.mjs +0 -1
- package/dist/treemap-6X3UGDF4-Dv-54pyt.mjs +0 -1
- package/dist/true-WHJNXCHG-Dzdq7R5f.mjs +0 -1
- package/dist/unexpand-RGTMIGZM-B06mOUPB.mjs +0 -1
- package/dist/uniq-SUNANL47-BIgIOFSf.mjs +0 -1
- package/dist/wardley-OPB4EBWU-DSvo57UC.mjs +0 -1
- package/dist/wc-TQB3VNOX-9RyJlZXB.mjs +0 -1
- package/dist/which-XZHEH76L-SMFjHhz2.mjs +0 -1
- package/dist/whoami-DGKU3D2X-BIUooLXE.mjs +0 -1
- package/dist/write-project-skill-BD0rO6kN.mjs +0 -56
- package/dist/xan-UD7JYIL2-DAuAMQ0H.mjs +0 -1
- package/dist/xan-view-OW2TB7Z3-CwG0zS53.mjs +0 -1
- package/dist/xargs-I6EZUCYF-INAdKqnR.mjs +0 -1
- package/dist/yq-OAKYHSXH-C1fFFHD4.mjs +0 -1
- /package/dist/{expansion-VBDYWVZR-CpX0YZMb.mjs → expansion-VBDYWVZR-C0SApT6U.mjs} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
function e(e){let{priorCommand:n,priorArgs:r}=t(e.priorEntry);return{event:`mcp-config-migrate`,scope:e.scope,surface:e.surface,editorId:e.editorId,configPath:e.configPath,priorCommand:n,priorArgs:r}}function t(e){return{priorCommand:typeof e.command==`string`?e.command.slice(0,200):null,priorArgs:Array.isArray(e.args)?e.args.slice(0,10).map(e=>typeof e==`string`?e.slice(0,200):e):null}}export{t as n,e as t};
|
|
2
|
-
//# sourceMappingURL=mcp-migrate-event-
|
|
2
|
+
//# sourceMappingURL=mcp-migrate-event-BsswfOLm.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-APT7OOP2-D4fQkI0I.mjs";export{e as md5sumCommand};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{x as e}from"./chunk-KEIR6QF5-
|
|
1
|
+
import{x as e}from"./chunk-KEIR6QF5-CSQn6Mqu.mjs";import"./chunk-MOZMSUNE-B5kgHl3e.mjs";import"./chunk-OSBZ3O6U-BL69ZkWc.mjs";import"./chunk-5JV3BV7I-CkhohPJD.mjs";import"./chunk-CYSBUYHQ-B4-ppab8.mjs";import"./chunk-BIQX33UG-COfXMiTJ.mjs";import"./chunk-EMLP6XTP-B9HJTcgK.mjs";import"./chunk-YOTPTUD7-DNauVPQF.mjs";import"./chunk-QBLGF6JB-Chmqe3JT.mjs";import"./chunk-5TONJI2A-CH5pkTrL.mjs";import"./chunk-5HE753X5-BOOWBZ0m.mjs";import"./chunk-U6XO7XAA-CAV8Xz4u.mjs";import"./chunk-JG7HCLWE-OAdm-dOX.mjs";import"./chunk-CQNSW5MT-Cb1cqQRt.mjs";import"./chunk-R7FJI6CG-DtnOBvxJ.mjs";import"./chunk-5FCAYU7R-DtUYK8N7.mjs";var t={},n={info:e(async()=>{let{createInfoServices:e}=await import(`./info-DKCQHKI2-svktUZ6l.mjs`);t.info=e().Info.parser.LangiumParser},`info`),packet:e(async()=>{let{createPacketServices:e}=await import(`./packet-7NZHBO7P-Bwz73sSr.mjs`);t.packet=e().Packet.parser.LangiumParser},`packet`),pie:e(async()=>{let{createPieServices:e}=await import(`./pie-RZYD4A2V-CE38luFp.mjs`);t.pie=e().Pie.parser.LangiumParser},`pie`),treeView:e(async()=>{let{createTreeViewServices:e}=await import(`./treeView-QDETBFTQ-c4b9tG2O.mjs`);t.treeView=e().TreeView.parser.LangiumParser},`treeView`),architecture:e(async()=>{let{createArchitectureServices:e}=await import(`./architecture-TIHT7OUA-BE8plkIy.mjs`);t.architecture=e().Architecture.parser.LangiumParser},`architecture`),gitGraph:e(async()=>{let{createGitGraphServices:e}=await import(`./gitGraph-TEB2WS4Q-BmT0y88b.mjs`);t.gitGraph=e().GitGraph.parser.LangiumParser},`gitGraph`),eventmodeling:e(async()=>{let{createEventModelingServices:e}=await import(`./eventmodeling-45OFAUF4-DGzNexs8.mjs`);t.eventmodeling=e().EventModel.parser.LangiumParser},`eventmodeling`),radar:e(async()=>{let{createRadarServices:e}=await import(`./radar-I7S5WNFK-pz955tjg.mjs`);t.radar=e().Radar.parser.LangiumParser},`radar`),railroad:e(async()=>{let{createRailroadServices:e}=await import(`./railroad-3IZDKUUU-AFlm6w4m.mjs`);t.railroad=e().Railroad.parser.LangiumParser},`railroad`),railroadEbnf:e(async()=>{let{createRailroadEbnfServices:e}=await import(`./railroad-ebnf-EBAXGLYW-BUaSAE_y.mjs`);t.railroadEbnf=e().RailroadEbnf.parser.LangiumParser},`railroadEbnf`),railroadAbnf:e(async()=>{let{createRailroadAbnfServices:e}=await import(`./railroad-abnf-AHOZXSZD-BTUueThU.mjs`);t.railroadAbnf=e().RailroadAbnf.parser.LangiumParser},`railroadAbnf`),railroadPeg:e(async()=>{let{createRailroadPegServices:e}=await import(`./railroad-peg-LSFZ7HO6-WqmNlxVP.mjs`);t.railroadPeg=e().RailroadPeg.parser.LangiumParser},`railroadPeg`),treemap:e(async()=>{let{createTreemapServices:e}=await import(`./treemap-6X3UGDF4-DrpuzrWt.mjs`);t.treemap=e().Treemap.parser.LangiumParser},`treemap`),wardley:e(async()=>{let{createWardleyServices:e}=await import(`./wardley-OPB4EBWU-B4h8UV8p.mjs`);t.wardley=e().Wardley.parser.LangiumParser},`wardley`),cynefin:e(async()=>{let{createCynefinServices:e}=await import(`./cynefin-VYW2F7L2-DPwh86oV.mjs`);t.cynefin=e().Cynefin.parser.LangiumParser},`cynefin`)};async function r(e,r){let a=n[e];if(!a)throw Error(`Unknown diagram type: ${e}`);t[e]||await a();let o=t[e].parse(r);if(o.lexerErrors.length>0||o.parserErrors.length>0)throw new i(o);return o.value}e(r,`parse`);var i=class extends Error{constructor(e){let t=e.lexerErrors.map(e=>`Lexer error on line ${e.line!==void 0&&!isNaN(e.line)?e.line:`?`}, column ${e.column!==void 0&&!isNaN(e.column)?e.column:`?`}: ${e.message}`).join(`
|
|
2
2
|
`),n=e.parserErrors.map(e=>`Parse error on line ${e.token.startLine!==void 0&&!isNaN(e.token.startLine)?e.token.startLine:`?`}, column ${e.token.startColumn!==void 0&&!isNaN(e.token.startColumn)?e.token.startColumn:`?`}: ${e.message}`).join(`
|
|
3
3
|
`);super(`Parsing failed: ${t} ${n}`),this.result=e}static{e(this,`MermaidParseError`)}};export{r as n,i as t};
|
|
4
|
-
//# sourceMappingURL=mermaid-parser.core-
|
|
4
|
+
//# sourceMappingURL=mermaid-parser.core-l2oLJb5a.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-
|
|
2
|
-
`);let i=fe(t),a=i.append(`g`);i.attr(`viewBox`,`0 0 2412 512`),b(i,100,512,!0),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${r}`)},`draw`)},kt=Ot,At={db:{},renderer:Ot,parser:{parse:e(()=>{},`parse`)}},jt=`flowchart-elk`,Mt={id:jt,detector:e((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer===`elk`?(t.layout=`elk`,!0):!1,`detector`),loader:e(async()=>{let{diagram:e}=await import(`./flowDiagram-23GEKE2U-
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-BW8wJnWV.mjs";import{h as t,m as n,p as r}from"./src-BbZVR6qh.mjs";import{$ as i,C as a,E as o,I as s,L as c,N as l,P as u,Q as d,S as f,T as p,V as m,W as h,X as g,Z as _,_ as v,b as y,c as b,g as x,l as S,m as C,n as w,p as T,q as ee,r as te,t as ne,u as E}from"./chunk-WYO6CB5R-Brxa0zhE.mjs";import{S as re,a as ie,f as ae,g as D,h as oe,i as se,o as ce,v as le,x as ue,y as de}from"./chunk-ICXQ74PX-DL0eOUe3.mjs";import{t as fe}from"./chunk-VAUOI2AC-jixxcqz-.mjs";import{r as pe}from"./chunk-HOUHSVGY-q17cYlbE.mjs";import{r as me}from"./chunk-Q4XR5HBZ-CmIyTunu.mjs";import"./chunk-7BUUIJ7U-f1elfo77.mjs";import"./chunk-OGEWGWER-DogLxEmQ.mjs";import"./chunk-C7G6YPKG-OX__HWxf.mjs";import"./chunk-ZGVPDNZ5-UmSUWBQJ.mjs";import"./chunk-52WLFC77-Dx0kOaIq.mjs";import{n as he}from"./chunk-FWX5IMBZ-BZ5TJEkl.mjs";import{n as ge,t as _e}from"./chunk-ZIRB5QZD-CmUycQw3.mjs";function ve(e){let t=e?.constructor;return e===(typeof t==`function`?t.prototype:Object.prototype)}function ye(e){if(e==null)return!0;if(ue(e))return typeof e.splice!=`function`&&typeof e!=`string`&&!re(e)&&!le(e)&&!de(e)?!1:e.length===0;if(typeof e==`object`||typeof e==`function`){if(e instanceof Map||e instanceof Set)return e.size===0;let t=Object.keys(e);return ve(e)?t.filter(e=>e!==`constructor`).length===0:t.length===0}return!0}var O=`comm`,be=`rule`,xe=`decl`,Se=`@import`,Ce=`@namespace`,we=`@keyframes`,Te=`@layer`,Ee=Math.abs,k=String.fromCharCode;function De(e){return e.trim()}function A(e,t,n){return e.replace(t,n)}function j(e,t){return e.charCodeAt(t)|0}function M(e,t,n){return e.slice(t,n)}function N(e){return e.length}function Oe(e){return e.length}function P(e,t){return t.push(e),e}var F=1,I=1,ke=0,L=0,R=0,z=``;function B(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:F,column:I,length:o,return:``,siblings:s}}function Ae(){return R}function je(){return R=L>0?j(z,--L):0,I--,R===10&&(I=1,F--),R}function V(){return R=L<ke?j(z,L++):0,I++,R===10&&(I=1,F++),R}function H(){return j(z,L)}function U(){return L}function W(e,t){return M(z,e,t)}function G(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Me(e){return F=I=1,ke=N(z=e),L=0,[]}function Ne(e){return z=``,e}function Pe(e){return De(W(L-1,Le(e===91?e+2:e===40?e+1:e)))}function Fe(e){for(;(R=H())&&R<33;)V();return G(e)>2||G(R)>3?``:` `}function Ie(e,t){for(;--t&&V()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return W(e,U()+(t<6&&H()==32&&V()==32))}function Le(e){for(;V();)switch(R){case e:return L;case 34:case 39:e!==34&&e!==39&&Le(R);break;case 40:e===41&&Le(e);break;case 92:V();break}return L}function Re(e,t){for(;V()&&e+R!==57&&!(e+R===84&&H()===47););return`/*`+W(t,L-1)+`*`+k(e===47?e:V())}function ze(e){for(;!G(H());)V();return W(e,L)}function Be(e){return Ne(K(``,null,null,null,[``],e=Me(e),0,[0],e))}function K(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=0,b=``,x=i,S=a,C=r,w=b;g;)switch(m=y,y=V()){case 40:m!=108&&j(w,d-1)==58?(v++,w+=`(`):w+=Pe(y);break;case 41:v--,w+=`)`;break;case 34:case 39:case 91:w+=Pe(y);break;case 9:case 10:case 13:case 32:if(v>0){w+=k(y);break}w+=Fe(m);break;case 92:w+=Ie(U()-1,7);continue;case 47:switch(H()){case 42:case 47:P(He(Re(V(),U()),t,n,c),c),(G(m||1)==5||G(H()||1)==5)&&N(w)&&M(w,-1,void 0)!==` `&&(w+=` `);break;default:w+=`/`}break;case 123*h:s[l++]=N(w)*_;case 125*h:case 59:case 0:if(v>0&&y){w+=k(y);break}switch(y){case 0:case 125:g=0;case 59+u:_==-1&&(w=A(w,/\f/g,``)),p>0&&(N(w)-d||h===0)&&P(p>32?Ue(w+`;`,r,n,d-1,c):Ue(A(w,` `,``)+`;`,r,n,d-2,c),c);break;case 59:w+=`;`;default:if(P(C=Ve(w,t,n,l,u,i,s,b,x=[],S=[],d,a),a),y===123)if(u===0)K(w,t,C,C,x,a,d,s,S);else{switch(f){case 99:if(j(w,3)===110)break;case 108:if(j(w,2)===97)break;default:u=0;case 100:case 109:case 115:}u?K(e,C,C,r&&P(Ve(e,C,C,0,0,i,s,b,i,x=[],d,S),S),i,S,d,s,r?x:S):K(w,C,C,C,[``],S,0,s,S)}}l=u=p=0,h=_=1,b=w=``,d=o;break;case 58:d=1+N(w),p=m;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&je()==125)continue}switch(w+=k(y),y*h){case 38:_=u>0?1:(w+=`\f`,-1);break;case 44:if(v>0)break;s[l++]=(N(w)-1)*_,_=1;break;case 64:H()===45&&(w+=Pe(V())),f=H(),u=d=N(b=w+=ze(U())),y++;break;case 45:m===45&&N(w)==2&&(h=0)}}return a}function Ve(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=Oe(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=M(e,f+1,f=Ee(g=o[h])),b=e;v<m;++v)(b=De(g>0?p[v]+` `+y:A(y,/&\f/g,p[v])))&&(c[_++]=b);return B(e,t,n,i===0?be:s,c,l,u,d)}function He(e,t,n,r){return B(e,t,n,O,k(Ae()),M(e,2,-2),0,r)}function Ue(e,t,n,r,i){return B(e,t,n,xe,M(e,0,r),M(e,r+1,-1),r,i)}function q(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function We(e,t,n,r){switch(e.type){case Te:if(e.children.length)break;case Se:case Ce:case xe:return e.return=e.return||e.value;case O:return``;case we:return e.return=e.value+`{`+q(e.children,r)+`}`;case be:if(!N(e.value=e.props.join(`,`)))return``}return N(n=q(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Ge(e){var t=Oe(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}var Ke=`c4`,qe={id:Ke,detector:e(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./c4Diagram-LMCZKHZV-BD6yUjvB.mjs`);return{id:Ke,diagram:e}},`loader`)},Je=`flowchart`,Ye={id:Je,detector:e((e,t)=>t?.flowchart?.defaultRenderer===`dagre-wrapper`||t?.flowchart?.defaultRenderer===`elk`?!1:/^\s*graph/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./flowDiagram-23GEKE2U-CP46dUl2.mjs`);return{id:Je,diagram:e}},`loader`)},Xe=`flowchart-v2`,Ze={id:Xe,detector:e((e,t)=>t?.flowchart?.defaultRenderer===`dagre-d3`?!1:(t?.flowchart?.defaultRenderer===`elk`&&(t.layout=`elk`),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer===`dagre-wrapper`?!0:/^\s*flowchart/.test(e)),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./flowDiagram-23GEKE2U-CP46dUl2.mjs`);return{id:Xe,diagram:e}},`loader`)},Qe=`swimlane`,$e={id:Qe,detector:e(e=>/^\s*swimlane-beta\b/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./swimlanesDiagram-G3AALYLV-Cv2Skneu.mjs`);return{id:Qe,diagram:e}},`loader`)},et=`er`,tt={id:et,detector:e(e=>/^\s*erDiagram/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./erDiagram-Q63AITRT-ke2iIs_t.mjs`);return{id:et,diagram:e}},`loader`)},nt=`gitGraph`,rt={id:nt,detector:e(e=>/^\s*gitGraph/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./gitGraphDiagram-IHSO6WYX-Dii-ToNc.mjs`);return{id:nt,diagram:e}},`loader`)},it=`gantt`,at={id:it,detector:e(e=>/^\s*gantt/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./ganttDiagram-NO4QXBWP-COgIprWR.mjs`);return{id:it,diagram:e}},`loader`)},ot=`info`,st={id:ot,detector:e(e=>/^\s*info/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./infoDiagram-FWYZ7A6U-DPvNkkYe.mjs`);return{id:ot,diagram:e}},`loader`)},ct=`pie`,lt={id:ct,detector:e(e=>/^\s*pie/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./pieDiagram-ENE6RG2P-C3vtfksj.mjs`);return{id:ct,diagram:e}},`loader`)},ut=`quadrantChart`,dt={id:ut,detector:e(e=>/^\s*quadrantChart/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./quadrantDiagram-ABIIQ3AL-CiO_sFTm.mjs`);return{id:ut,diagram:e}},`loader`)},ft=`xychart`,pt={id:ft,detector:e(e=>/^\s*xychart(-beta)?/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./xychartDiagram-FW5EYKEG-D7BmnN1n.mjs`);return{id:ft,diagram:e}},`loader`)},mt=`requirement`,ht={id:mt,detector:e(e=>/^\s*requirement(Diagram)?/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./requirementDiagram-TGXJPOKE-DIdD7wig.mjs`);return{id:mt,diagram:e}},`loader`)},gt=`sequence`,_t={id:gt,detector:e(e=>/^\s*sequenceDiagram/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./sequenceDiagram-DBY2YBRQ-ytgs0V7Z.mjs`);return{id:gt,diagram:e}},`loader`)},vt=`class`,yt={id:vt,detector:e((e,t)=>t?.class?.defaultRenderer===`dagre-wrapper`?!1:/^\s*classDiagram/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./classDiagram-OUVF2IWQ-DkvHcHg8.mjs`);return{id:vt,diagram:e}},`loader`)},bt=`classDiagram`,xt={id:bt,detector:e((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer===`dagre-wrapper`?!0:/^\s*classDiagram-v2/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./classDiagram-v2-EOCWNBFH-C9xEWxX3.mjs`);return{id:bt,diagram:e}},`loader`)},St=`state`,Ct={id:St,detector:e((e,t)=>t?.state?.defaultRenderer===`dagre-wrapper`?!1:/^\s*stateDiagram/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./stateDiagram-2N3HPSRC-BL08Hdlz.mjs`);return{id:St,diagram:e}},`loader`)},wt=`stateDiagram`,Tt={id:wt,detector:e((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer===`dagre-wrapper`),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./stateDiagram-v2-6OUMAXLB-DWhomgSq.mjs`);return{id:wt,diagram:e}},`loader`)},Et=`journey`,Dt={id:Et,detector:e(e=>/^\s*journey/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./journeyDiagram-5HDEW3XC-DE8I99vn.mjs`);return{id:Et,diagram:e}},`loader`)},Ot={draw:e((e,t,r)=>{n.debug(`rendering svg for syntax error
|
|
2
|
+
`);let i=fe(t),a=i.append(`g`);i.attr(`viewBox`,`0 0 2412 512`),b(i,100,512,!0),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${r}`)},`draw`)},kt=Ot,At={db:{},renderer:Ot,parser:{parse:e(()=>{},`parse`)}},jt=`flowchart-elk`,Mt={id:jt,detector:e((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer===`elk`?(t.layout=`elk`,!0):!1,`detector`),loader:e(async()=>{let{diagram:e}=await import(`./flowDiagram-23GEKE2U-CP46dUl2.mjs`);return{id:jt,diagram:e}},`loader`)},Nt=`timeline`,Pt={id:Nt,detector:e(e=>/^\s*timeline/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./timeline-definition-FHXFAJF6-B04TQQaT.mjs`);return{id:Nt,diagram:e}},`loader`)},Ft=`mindmap`,It={id:Ft,detector:e(e=>/^\s*mindmap/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./mindmap-definition-LN4V7U3C-DszaH9jw.mjs`);return{id:Ft,diagram:e}},`loader`)},Lt=`kanban`,Rt={id:Lt,detector:e(e=>/^\s*kanban/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./kanban-definition-HUTT4EX6-Cw3CuKcg.mjs`);return{id:Lt,diagram:e}},`loader`)},zt=`sankey`,Bt={id:zt,detector:e(e=>/^\s*sankey(-beta)?/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./sankeyDiagram-HTMAVEWB-BCm3ffYX.mjs`);return{id:zt,diagram:e}},`loader`)},Vt=`packet`,Ht={id:Vt,detector:e(e=>/^\s*packet(-beta)?/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./diagram-NH7WQ7WH-C_jC8qIM.mjs`);return{id:Vt,diagram:e}},`loader`)},Ut=`radar`,Wt={id:Ut,detector:e(e=>/^\s*radar-beta/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./diagram-WEI45ONY-BDhDmqvX.mjs`);return{id:Ut,diagram:e}},`loader`)},Gt=`block`,Kt={id:Gt,detector:e(e=>/^\s*block(-beta)?/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./blockDiagram-677ZJIJ3-CpbM3epf.mjs`);return{id:Gt,diagram:e}},`loader`)},qt=`treeView`,Jt={id:qt,detector:e(e=>/^\s*treeView-beta/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./diagram-OA4YK3LP-Bn50iqJR.mjs`);return{id:qt,diagram:e}},`loader`)},Yt=`architecture`,Xt={id:Yt,detector:e(e=>/^\s*architecture/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./architectureDiagram-ZJ3FMSHR-bIjZfWqc.mjs`);return{id:Yt,diagram:e}},`loader`)},Zt=`eventmodeling`,Qt={id:Zt,detector:e(e=>/^\s*eventmodeling/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./diagram-FQU43EPY-BQAC9zdy.mjs`);return{id:Zt,diagram:e}},`loader`)},$t=`ishikawa`,en={id:$t,detector:e(e=>/^\s*ishikawa(-beta)?\b/i.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./ishikawaDiagram-FXEZZL3T-B1d77HdO.mjs`);return{id:$t,diagram:e}},`loader`)},tn=`venn`,nn={id:tn,detector:e(e=>/^\s*venn-beta/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./vennDiagram-L72KCM5P-Ceol1qSg.mjs`);return{id:tn,diagram:e}},`loader`)},rn=`treemap`,an={id:rn,detector:e(e=>/^\s*treemap/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./diagram-G47NLZAW-CuvDx6FS.mjs`);return{id:rn,diagram:e}},`loader`)},on=`wardley`,sn={id:on,detector:e(e=>/^\s*wardley-beta/i.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./wardleyDiagram-EHGQE667-DNEGm0iK.mjs`);return{id:on,diagram:e}},`loader`)},cn=`cynefin`,ln={id:cn,detector:e(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./cynefinDiagram-TSTJHNR4-CpOWwyYe.mjs`);return{id:cn,diagram:e}},`loader`)},un=`railroad`,dn={id:un,detector:e(e=>/^\s*railroad-beta/i.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./railroadDiagram-RFXS5EU6-DkLolDmi.mjs`);return{id:un,diagram:e}},`loader`)},fn=`railroadEbnf`,pn={id:fn,detector:e(e=>/^\s*railroad-ebnf-beta/i.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./ebnfDiagram-CCIWWBDH-BrF0vS_c.mjs`);return{id:fn,diagram:e}},`loader`)},mn=`railroadAbnf`,hn={id:mn,detector:e(e=>/^\s*railroad-abnf-beta/i.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./abnfDiagram-VRR7QNED-CifY53Cb.mjs`);return{id:mn,diagram:e}},`loader`)},gn=`railroadPeg`,_n={id:gn,detector:e(e=>/^\s*railroad-peg-beta/i.test(e),`detector`),loader:e(async()=>{let{diagram:e}=await import(`./pegDiagram-2B236MQR-BWcVFngN.mjs`);return{id:gn,diagram:e}},`loader`)},vn=!1,J=e(()=>{vn||(vn=!0,l(`error`,At,e=>e.toLowerCase().trim()===`error`),l(`---`,{db:{clear:e(()=>{},`clear`)},styles:{},renderer:{draw:e(()=>{},`draw`)},parser:{parse:e(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},`parse`)},init:e(()=>null,`init`)},e=>e.toLowerCase().trimStart().startsWith(`---`)),u(Mt,It,Xt),u(qe,Rt,xt,yt,tt,at,st,lt,ht,_t,$e,Ze,Ye,Pt,rt,Tt,Ct,Dt,dt,Bt,Ht,pt,Kt,Qt,Jt,Wt,en,an,dn,pn,hn,_n,nn,sn,ln))},`addDiagrams`),yn=e(async()=>{n.debug(`Loading registered diagrams`);let e=(await Promise.allSettled(Object.entries(C).map(async([e,{detector:t,loader:r}])=>{if(r)try{f(e)}catch{try{let{diagram:e,id:n}=await r();l(n,e,t)}catch(t){throw n.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete C[e],t}}}))).filter(e=>e.status===`rejected`);if(e.length>0){n.error(`Failed to load ${e.length} external diagrams`);for(let t of e)n.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},`loadRegisteredDiagrams`),bn=`graphics-document document`;function xn(e,t){e.attr(`role`,bn),t!==``&&e.attr(`aria-roledescription`,t)}e(xn,`setA11yDiagramInfo`);function Sn(e,t,n,r){if(e.insert!==void 0){if(n){let t=`chart-desc-${r}`;e.attr(`aria-describedby`,t),e.insert(`desc`,`:first-child`).attr(`id`,t).text(n)}if(t){let n=`chart-title-${r}`;e.attr(`aria-labelledby`,n),e.insert(`title`,`:first-child`).attr(`id`,n).text(t)}}}e(Sn,`addSVGa11yTitleDescription`);var Y=class t{constructor(e,t,n,r,i){this.type=e,this.text=t,this.db=n,this.parser=r,this.renderer=i}static{e(this,`Diagram`)}static async fromText(e,n={}){let r=y(),i=T(e,r);e=ce(e)+`
|
|
3
3
|
`;try{f(i)}catch{let e=a(i);if(!e)throw new ne(`Diagram ${i} not found.`);let{id:t,diagram:n}=await e();l(t,n)}let{db:o,parser:s,renderer:c,init:u}=f(i);return s.parser&&(s.parser.yy=o),o.clear?.(),u?.(r),n.title&&o.setDiagramTitle?.(n.title),await s.parse(e),new t(i,e,o,s,c)}async render(e,t){await this.renderer.draw(this.text,e,t,this)}getParser(){return this.parser}getType(){return this.type}},Cn=[],wn=e(()=>{Cn.forEach(e=>{e()}),Cn=[]},`attachFunctions`),Tn=e(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,``).trimStart(),`cleanupComments`);function En(e){let t=e.match(v);if(!t)return{text:e,metadata:{}};let n=t[1],r=ge(n?t[2].split(`
|
|
4
4
|
`).map(e=>e.startsWith(n)?e.slice(n.length):e).join(`
|
|
5
5
|
`):t[2],{schema:_e})??{};r=typeof r==`object`&&!Array.isArray(r)?r:{};let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:e.slice(t[0].length),metadata:i}}e(En,`extractFrontMatter`);var Dn=e(e=>e.replace(/\r\n?/g,`
|
|
@@ -13,4 +13,4 @@ import{n as e}from"./chunk-Y2CYZVJY-acXC9Sbb.mjs";import{h as t,m as n,p as r}fr
|
|
|
13
13
|
* Wait for document loaded before starting the execution
|
|
14
14
|
*/
|
|
15
15
|
export{yr as default};
|
|
16
|
-
//# sourceMappingURL=mermaid.core-
|
|
16
|
+
//# sourceMappingURL=mermaid.core-BW-ojLzZ.mjs.map
|
package/dist/{mindmap-definition-LN4V7U3C-H3p7uT-G.mjs → mindmap-definition-LN4V7U3C-DszaH9jw.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-BW8wJnWV.mjs";import{m as t}from"./src-BbZVR6qh.mjs";import{b as n,et as r,f as i,k as a,rt as o,tt as s,x as c,z as l}from"./chunk-WYO6CB5R-Brxa0zhE.mjs";import"./chunk-ICXQ74PX-DL0eOUe3.mjs";import"./chunk-HOUHSVGY-q17cYlbE.mjs";import"./chunk-Q4XR5HBZ-CmIyTunu.mjs";import"./chunk-7BUUIJ7U-f1elfo77.mjs";import"./chunk-OGEWGWER-DogLxEmQ.mjs";import{t as u}from"./chunk-XXDRQBXY-CQXT_9AZ.mjs";import{t as d}from"./chunk-VR4S4FIN-C_LXRmnl.mjs";import"./chunk-C7G6YPKG-OX__HWxf.mjs";import"./chunk-ZGVPDNZ5-UmSUWBQJ.mjs";import"./chunk-52WLFC77-Dx0kOaIq.mjs";import{r as f,t as p}from"./chunk-FWX5IMBZ-BZ5TJEkl.mjs";const m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function h(e,t=0){return(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+`-`+m[e[t+4]]+m[e[t+5]]+`-`+m[e[t+6]]+m[e[t+7]]+`-`+m[e[t+8]]+m[e[t+9]]+`-`+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase()}const g=new Uint8Array(16);function _(){return crypto.getRandomValues(g)}function v(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():y(e,t,n)}function y(e,t,n){e||={};let r=e.random??e.rng?.()??_();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return h(r)}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,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:r,9:22,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:u,7:d,10:23,11:f},t(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:c}),t(p,[2,18]),t(p,[2,19]),t(p,[2,20]),t(p,[2,21]),t(p,[2,23]),t(p,[2,24]),t(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:d,10:32,11:f},{1:[2,7],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},t(m,[2,14],{7:h,11:g}),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(p,[2,15]),t(p,[2,16]),t(p,[2,17]),{20:[1,35]},{21:[1,36]},t(m,[2,13],{7:h,11:g}),t(_,[2,11]),t(_,[2,12]),{21:[1,37]},t(p,[2,25]),t(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},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;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.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`)};v.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()+`
|
|
@@ -94,4 +94,4 @@ Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on l
|
|
|
94
94
|
}
|
|
95
95
|
${e.useGradient&&n&&e.mainBkg?D(e.THEME_COLOR_LIMIT,n,e.mainBkg):``}
|
|
96
96
|
`},`getStyles`)};export{O as diagram};
|
|
97
|
-
//# sourceMappingURL=mindmap-definition-LN4V7U3C-
|
|
97
|
+
//# sourceMappingURL=mindmap-definition-LN4V7U3C-DszaH9jw.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-MDDMCKUK-VSIrKrD6.mjs";export{e as mkdirCommand};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-A4JSPFCI-DajVdKHH.mjs";export{e as mvCommand};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-F23WWYKW-
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-F23WWYKW-CqmJHfs_.mjs";export{e as nl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-PP6PSHAB-
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-PP6PSHAB-DJdfqM0M.mjs";export{e as od};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Jr as e}from"./src-
|
|
2
|
-
//# sourceMappingURL=open-browser-
|
|
1
|
+
import{Jr as e}from"./src-y0X27yQX.mjs";import{execFile as t}from"node:child_process";const n=new Set([`http:`,`https:`]),r=/[\u0000-\u0020\u007F-\u009F"'`\\&|<>^()$;{}[\]*?!~]/;function i(e,t){console.warn(`Could not auto-open browser (${t}); visit ${e} manually`)}function a(a){let o;try{o=new URL(a)}catch{i(a,`invalid URL`);return}if(!n.has(o.protocol)){i(a,`unsupported scheme '${o.protocol}'`);return}if(r.test(a)){i(a,`URL contains unsafe characters`);return}t(process.platform===`darwin`?`open`:process.platform===`win32`?`cmd`:`xdg-open`,process.platform===`win32`?[`/c`,`start`,``,a]:[a],e({}),e=>{e&&console.warn(`Could not auto-open browser (${e.message}); visit ${a} manually`)})}export{a as openBrowser};
|
|
2
|
+
//# sourceMappingURL=open-browser-OsCLGa-m.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./init-
|
|
2
|
-
//# sourceMappingURL=ordinal-
|
|
1
|
+
import{t as e}from"./init-DRQyOUkz.mjs";var t=class extends Map{constructor(e,t=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(n(this,e))}has(e){return super.has(n(this,e))}set(e,t){return super.set(r(this,e),t)}delete(e){return super.delete(i(this,e))}};function n({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function r({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function i({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function a(e){return typeof e==`object`&&e?e.valueOf():e}const o=Symbol(`implicit`);function s(){var n=new t,r=[],i=[],a=o;function c(e){let t=n.get(e);if(t===void 0){if(a!==o)return a;n.set(e,t=r.push(e)-1)}return i[t%i.length]}return c.domain=function(e){if(!arguments.length)return r.slice();r=[],n=new t;for(let t of e)n.has(t)||n.set(t,r.push(t)-1);return c},c.range=function(e){return arguments.length?(i=Array.from(e),c):i.slice()},c.unknown=function(e){return arguments.length?(a=e,c):a},c.copy=function(){return s(r,i).unknown(a)},e.apply(c,arguments),c}export{s as t};
|
|
2
|
+
//# sourceMappingURL=ordinal-BAodviWw.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-CSQn6Mqu.mjs";import{n as e}from"./chunk-EMLP6XTP-B9HJTcgK.mjs";export{e as createPacketServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-JVPRLUMK-D4dgC-kP.mjs";export{e as pasteCommand};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const e=Math.PI,t=2*e,n=1e-6,r=t-n;function i(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function a(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return i;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var o=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?i:a(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(t,r,i,a,o){if(t=+t,r=+r,i=+i,a=+a,o=+o,o<0)throw Error(`negative radius: ${o}`);let s=this._x1,c=this._y1,l=i-t,u=a-r,d=s-t,f=c-r,p=d*d+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(p>n)if(!(Math.abs(f*l-u*d)>n)||!o)this._append`L${this._x1=t},${this._y1=r}`;else{let m=i-s,h=a-c,g=l*l+u*u,_=m*m+h*h,v=Math.sqrt(g),y=Math.sqrt(p),b=o*Math.tan((e-Math.acos((g+p-_)/(2*v*y)))/2),x=b/y,S=b/v;Math.abs(x-1)>n&&this._append`L${t+x*d},${r+x*f}`,this._append`A${o},${o},0,0,${+(f*m>d*h)},${this._x1=t+S*l},${this._y1=r+S*u}`}}arc(i,a,o,s,c,l){if(i=+i,a=+a,o=+o,l=!!l,o<0)throw Error(`negative radius: ${o}`);let u=o*Math.cos(s),d=o*Math.sin(s),f=i+u,p=a+d,m=1^l,h=l?s-c:c-s;this._x1===null?this._append`M${f},${p}`:(Math.abs(this._x1-f)>n||Math.abs(this._y1-p)>n)&&this._append`L${f},${p}`,o&&(h<0&&(h=h%t+t),h>r?this._append`A${o},${o},0,1,${m},${i-u},${a-d}A${o},${o},0,1,${m},${this._x1=f},${this._y1=p}`:h>n&&this._append`A${o},${o},0,${+(h>=e)},${m},${this._x1=i+o*Math.cos(c)},${this._y1=a+o*Math.sin(c)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function s(){return new o}s.prototype=o.prototype;function c(e){return function(){return e}}function l(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new o(t)}export{c as n,l as t};
|
|
2
|
-
//# sourceMappingURL=path-
|
|
2
|
+
//# sourceMappingURL=path-BHIKZp6_.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as e}from"./chunk-JG7HCLWE-
|
|
2
|
-
//# sourceMappingURL=pegDiagram-2B236MQR-
|
|
1
|
+
import{n as e}from"./chunk-JG7HCLWE-OAdm-dOX.mjs";import{n as t}from"./chunk-Y2CYZVJY-BW8wJnWV.mjs";import{m as n}from"./src-BbZVR6qh.mjs";import"./chunk-WYO6CB5R-Brxa0zhE.mjs";import"./chunk-VAUOI2AC-jixxcqz-.mjs";import{n as r,r as i,t as a}from"./chunk-MOJQB5TN-Da31nYdf.mjs";import{t as o}from"./chunk-JWPE2WC7-DdfpL_yU.mjs";import{t as s}from"./mermaid-parser.core-l2oLJb5a.mjs";var c=e().RailroadPeg.parser.LangiumParser,l=t(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformOrderedChoice`),u=t(e=>{let t=e.elements.map(d);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformSequence`),d=t(e=>{let t=p(e.suffix);return e.operator?{type:`special`,text:e.operator===`&`?`&${f(t)}`:`!${f(t)}`}:t},`transformPrefix`),f=t(e=>{switch(e.type){case`terminal`:return`"${e.value}"`;case`nonterminal`:return e.name;case`special`:return e.text;default:return`(...)`}},`nodeToLabel`),p=t(e=>{let t=m(e.primary);if(!e.operator)return t;switch(e.operator){case`?`:return{type:`optional`,element:t};case`*`:return{type:`repetition`,element:t,min:0,max:1/0};case`+`:return{type:`repetition`,element:t,min:1,max:1/0};default:throw Error(`Unsupported PEG suffix operator: ${e.operator}`)}},`transformSuffix`),m=t(e=>{switch(e.$type){case`PegLiteral`:return{type:`terminal`,value:e.value};case`PegIdentifier`:return{type:`nonterminal`,name:e.name};case`PegGroup`:return l(e.element);case`PegAny`:return{type:`special`,text:e.dot};default:throw Error(`Unsupported PEG primary node: ${e.$type}`)}},`transformPrimary`),h=t(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),g=t(e=>{o(e,a),e.title&&a.setTitle(e.title),e.rules.map(e=>a.addRule(h(e)))},`populateDb`),_={parser:{parse:t(e=>{a.clear(),n.debug(`[PEG Parser] Starting Langium parse`);let t=c.parse(e);if(t.lexerErrors.length>0||t.parserErrors.length>0)throw new s(t);let r=t.value;n.debug(`[PEG Parser] Parsed rules:`,r.rules.length),g(r),n.debug(`[PEG Parser] Parse complete`)},`parse`),parser:{yy:a}},db:a,renderer:i,styles:r};export{_ as diagram};
|
|
2
|
+
//# sourceMappingURL=pegDiagram-2B236MQR-BWcVFngN.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-CSQn6Mqu.mjs";import{n as e}from"./chunk-YOTPTUD7-DNauVPQF.mjs";export{e as createPieServices};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-BW8wJnWV.mjs";import{m as t}from"./src-BbZVR6qh.mjs";import{H as n,K as r,U as i,a,c as o,f as s,v as c,w as l,x as u,y as d}from"./chunk-WYO6CB5R-Brxa0zhE.mjs";import{t as f}from"./ordinal-BAodviWw.mjs";import{n as p}from"./path-BHIKZp6_.mjs";import{m}from"./dist-C-LC4jV0.mjs";import{t as h}from"./arc-CXI7xUjm.mjs";import{t as g}from"./array-BxvVYvCD.mjs";import{i as _,p as v}from"./chunk-ICXQ74PX-DL0eOUe3.mjs";import{t as y}from"./chunk-VAUOI2AC-jixxcqz-.mjs";import{t as b}from"./chunk-JWPE2WC7-DdfpL_yU.mjs";import{n as x}from"./mermaid-parser.core-l2oLJb5a.mjs";function S(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function C(e){return e}function w(){var e=C,t=S,n=null,r=p(0),i=p(m),a=p(0);function o(o){var s,c=(o=g(o)).length,l,u,d=0,f=Array(c),p=Array(c),h=+r.apply(this,arguments),_=Math.min(m,Math.max(-m,i.apply(this,arguments)-h)),v,y=Math.min(Math.abs(_)/c,a.apply(this,arguments)),b=y*(_<0?-1:1),x;for(s=0;s<c;++s)(x=p[f[s]=s]=+e(o[s],s,o))>0&&(d+=x);for(t==null?n!=null&&f.sort(function(e,t){return n(o[e],o[t])}):f.sort(function(e,n){return t(p[e],p[n])}),s=0,u=d?(_-c*b)/d:0;s<c;++s,h=v)l=f[s],x=p[l],v=h+(x>0?x*u:0)+b,p[l]={data:o[l],index:s,value:x,startAngle:h,endAngle:v,padAngle:y};return p}return o.value=function(t){return arguments.length?(e=typeof t==`function`?t:p(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r=typeof e==`function`?e:p(+e),o):r},o.endAngle=function(e){return arguments.length?(i=typeof e==`function`?e:p(+e),o):i},o.padAngle=function(e){return arguments.length?(a=typeof e==`function`?e:p(+e),o):a},o}var T=s.pie,E={sections:new Map,showData:!1,config:T},D=E.sections,O=E.showData,k=structuredClone(T),A={getConfig:e(()=>structuredClone(k),`getConfig`),clear:e(()=>{D=new Map,O=E.showData,a()},`clear`),setDiagramTitle:r,getDiagramTitle:l,setAccTitle:i,getAccTitle:d,setAccDescription:n,getAccDescription:c,addSection:e(({label:e,value:n})=>{if(n<0)throw Error(`"${e}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);D.has(e)||(D.set(e,n),t.debug(`added new section: ${e}, with value: ${n}`))},`addSection`),getSections:e(()=>D,`getSections`),setShowData:e(e=>{O=e},`setShowData`),getShowData:e(()=>O,`getShowData`)},j=e((e,t)=>{b(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},`populateDb`),M={parse:e(async e=>{let n=await x(`pie`,e);t.debug(n),j(n,A)},`parse`)},N=e(e=>`
|
|
2
2
|
.pieCircle{
|
|
3
3
|
stroke: ${e.pieStrokeColor};
|
|
4
4
|
stroke-width : ${e.pieStrokeWidth};
|
|
@@ -37,4 +37,4 @@ import{n as e}from"./chunk-Y2CYZVJY-acXC9Sbb.mjs";import{m as t}from"./src-BPVU4
|
|
|
37
37
|
}
|
|
38
38
|
`,`getStyles`),P=e(e=>{let t=[...e.values()].reduce((e,t)=>e+t,0),n=[...e.entries()].map(([e,t])=>({label:e,value:t})).filter(e=>e.value/t*100>=1);return w().value(e=>e.value).sort(null)(n)},`createPieArcs`),F={parser:M,db:A,renderer:{draw:e((e,n,r,i)=>{t.debug(`rendering pie chart
|
|
39
39
|
`+e);let a=i.db,s=u(),c=_(a.getConfig(),s.pie),l=y(n),d=l.append(`g`);d.attr(`transform`,`translate(225,225)`);let{themeVariables:p}=s,[m]=v(p.pieOuterStrokeWidth);m??=2;let g=c.legendPosition,b=c.textPosition,x=c.donutHole>0&&c.donutHole<=.9?c.donutHole:0,S=h().innerRadius(x*185).outerRadius(185),C=h().innerRadius(185*b).outerRadius(185*b),w=d.append(`g`);w.append(`circle`).attr(`cx`,0).attr(`cy`,0).attr(`r`,185+m/2).attr(`class`,`pieOuterCircle`);let T=a.getSections(),E=P(T),D=[p.pie1,p.pie2,p.pie3,p.pie4,p.pie5,p.pie6,p.pie7,p.pie8,p.pie9,p.pie10,p.pie11,p.pie12],O=0;T.forEach(e=>{O+=e});let k=E.filter(e=>(e.data.value/O*100).toFixed(0)!==`0`),A=f(D).domain([...T.keys()]);w.selectAll(`mySlices`).data(k).enter().append(`path`).attr(`d`,S).attr(`fill`,e=>A(e.data.label)).attr(`class`,e=>{let t=`pieCircle`;return c.highlightSlice===`hover`?t+=` highlightedOnHover`:c.highlightSlice===e.data.label&&(t+=` highlighted`),t}),w.selectAll(`mySlices`).data(k).enter().append(`text`).text(e=>(e.data.value/O*100).toFixed(0)+`%`).attr(`transform`,e=>`translate(`+C.centroid(e)+`)`).style(`text-anchor`,`middle`).attr(`class`,`slice`);let j=d.append(`text`).text(a.getDiagramTitle()).attr(`x`,0).attr(`y`,-400/2).attr(`class`,`pieTitleText`),M=[...T.entries()].map(([e,t])=>({label:e,value:t})),N=d.selectAll(`.legend`).data(M).enter().append(`g`).attr(`class`,`legend`);N.append(`rect`).attr(`width`,18).attr(`height`,18).style(`fill`,e=>A(e.label)).style(`stroke`,e=>A(e.label)),N.append(`text`).attr(`x`,22).attr(`y`,14).text(e=>a.getShowData()?`${e.label} [${e.value}]`:e.label);let F=Math.max(...N.selectAll(`text`).nodes().map(e=>e?.getBoundingClientRect().width??0)),I=450,L=490,R=M.length*22;switch(g){case`center`:N.attr(`transform`,(e,t)=>{let n=22*M.length/2,r=-F/2-22,i=t*22-n;return`translate(`+r+`,`+i+`)`});break;case`top`:I+=R,N.attr(`transform`,(e,t)=>`translate(${-F/2-22}, ${t*22-185})`),w.attr(`transform`,()=>`translate(0, ${R+22})`);break;case`bottom`:I+=R,N.attr(`transform`,(e,t)=>{let n=-F/2-22,r=t*22- -207;return`translate(`+n+`,`+r+`)`});break;case`left`:L+=22+F,N.attr(`transform`,(e,t)=>{let n=22*M.length/2;return`translate(-207,`+(t*22-n)+`)`}),w.attr(`transform`,()=>`translate(${F+18+4}, 0)`);break;default:L+=22+F,N.attr(`transform`,(e,t)=>{let n=22*M.length/2;return`translate(216,`+(t*22-n)+`)`});break}let z=j.node()?.getBoundingClientRect().width??0,B=450/2-z/2,V=450/2+z/2,H=Math.min(0,B),U=Math.max(L,V)-H;l.attr(`viewBox`,`${H} 0 ${U} ${I}`),o(l,I,U,c.useMaxWidth)},`draw`)},styles:N};export{F as diagram};
|
|
40
|
-
//# sourceMappingURL=pieDiagram-ENE6RG2P-
|
|
40
|
+
//# sourceMappingURL=pieDiagram-ENE6RG2P-C3vtfksj.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"./preview-hjy0gI0i.mjs";export{t as formatPreviewBlock,e as previewContent};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{Rr as e}from"./src-
|
|
1
|
+
import{Rr as e}from"./src-y0X27yQX.mjs";import"./constants-COPfVWti.mjs";import{join as t,relative as n}from"node:path";import{existsSync as r,lstatSync as i,readdirSync as a,realpathSync as o,statSync as s}from"node:fs";function c(r){let{projectDir:c,contentDir:l,sampleCap:u=5}=r,d=[],f=[];try{i(l)}catch(e){return{totalCount:0,sample:[],contentDir:l,warnings:[`cannot access content directory ${l}: ${e instanceof Error?e.message:String(e)}`]}}let p;try{p=e({projectDir:c,contentDir:l})}catch(e){return{totalCount:0,sample:[],contentDir:l,warnings:[e instanceof Error?e.message:String(e)]}}function m(e){let r;try{r=a(e,{withFileTypes:!0})}catch(t){let r=t instanceof Error?t.message:String(t);d.push(`could not read directory ${n(l,e)||`.`}: ${r}`);return}for(let i of r){let r=t(e,i.name);if(i.isSymbolicLink()){let e;try{e=o(r)}catch(e){let t=e.code;t===`ENOENT`||t===`ELOOP`?d.push(`broken or cyclic symlink: ${n(l,r)}`):d.push(`cannot resolve symlink ${n(l,r)}: ${t??`unknown error`}`);continue}let t;try{t=s(e)}catch{continue}if(t.isDirectory()){let e=n(l,r);if(p.isDirExcluded(e))continue;m(r)}else if(t.isFile()){let e=n(l,r);if(p.isExcluded(e))continue;f.push(e)}}else if(i.isDirectory()){let e=n(l,r);if(p.isDirExcluded(e))continue;m(r)}else if(i.isFile()){let e=n(l,r);if(p.isExcluded(e))continue;f.push(e)}}}return m(l),{totalCount:f.length,sample:f.slice(0,u),contentDir:l,warnings:d}}function l(e,i){let a=[],o=n(i,e.contentDir),s=o===``?`./`:`./${o}`;if(a.push(`Content:`),a.push(` Found ${e.totalCount} markdown files in ${s}`),e.sample.length>0){let t=e.sample.join(`, `),n=e.totalCount>e.sample.length?`, …`:``;a.push(` Sample: ${t}${n}`)}if(e.warnings.length>0)for(let t of e.warnings)a.push(` Warning: ${t}`);return a.push(``),r(t(i,`.ok`,`config.yml`))?(a.push(` To adjust scope, add patterns to .okignore at the project root.`),a.push(` To change the content root, edit .ok/config.yml → content.dir.`)):a.push(" Run `open-knowledge init` to scaffold config + .okignore."),a.push(``),a.push(` Re-check anytime: open-knowledge preview`),a.join(`
|
|
2
2
|
`)}export{c as n,l as t};
|
|
3
|
-
//# sourceMappingURL=preview-
|
|
3
|
+
//# sourceMappingURL=preview-hjy0gI0i.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-T56QNPHK-ziWY7afD.mjs";export{e as printfCommand};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-A4HU7SVR-CCTrKdQB.mjs";export{e as pwdCommand};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./chunk-R6VWJ2ZL-CQWpbRHp.mjs";import"./chunk-CWQS3NFK-HnFncXpd.mjs";import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-5QMZ5MUS-D8tv8KWc.mjs";import{n as t,t as n}from"./chunk-A5O5YHGN-C27iG4wY.mjs";import{r}from"./chunk-OJDRYQWQ-CmHyfN6x.mjs";import{n as i}from"./chunk-24IMIIXA-BQtWA2ag.mjs";import{n as a,t as o}from"./chunk-3THT3N7L-DcPtGCSm.mjs";import{t as s}from"./chunk-44UOCSGV-Dadyg26w.mjs";import{r as c,t as l}from"./chunk-74CEPOFO-
|
|
1
|
+
import"./chunk-R6VWJ2ZL-CQWpbRHp.mjs";import"./chunk-CWQS3NFK-HnFncXpd.mjs";import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-5QMZ5MUS-D8tv8KWc.mjs";import{n as t,t as n}from"./chunk-A5O5YHGN-C27iG4wY.mjs";import{r}from"./chunk-OJDRYQWQ-CmHyfN6x.mjs";import{n as i}from"./chunk-24IMIIXA-BQtWA2ag.mjs";import{n as a,t as o}from"./chunk-3THT3N7L-DcPtGCSm.mjs";import{t as s}from"./chunk-44UOCSGV-Dadyg26w.mjs";import{r as c,t as l}from"./chunk-74CEPOFO-CukBzgc1.mjs";import{n as u,t as d}from"./chunk-I57KEIP3-D7P1gGRR.mjs";import{fileURLToPath as f}from"node:url";import{randomBytes as p}from"node:crypto";import{Worker as m}from"node:worker_threads";var h=1e4,g=6e4,_={name:`python3`,summary:`Execute Python code via CPython Emscripten`,usage:`python3 [OPTIONS] [-c CODE | -m MODULE | FILE] [ARGS...]`,description:[`Execute Python code using CPython compiled to WebAssembly via Emscripten.`,``,`This command runs Python in an isolated environment with access to`,`the virtual filesystem. Standard library modules are available.`],options:[`-c CODE Execute CODE as Python script`,`-m MODULE Run library module as a script`,`--version Show Python version`,`--help Show this help`],examples:[`python3 -c "print(1 + 2)"`,`python3 -c "import sys; print(sys.version)"`,`python3 script.py`,`python3 script.py arg1 arg2`,`echo 'print("hello")' | python3`],notes:[`CPython runs in WebAssembly, so execution may be slower than native Python.`,`Standard library modules are available (no pip install).`,`Maximum execution time is 30 seconds by default.`]};function v(e){let t={code:null,module:null,scriptFile:null,showVersion:!1,scriptArgs:[]};if(e.length===0)return t;let n=e.findIndex(e=>!e.startsWith(`-`)||e===`-`||e===`--`);for(let r=0;r<(n===-1?e.length:n);r++){let n=e[r];if(n===`-c`)return r+1>=e.length?{stdout:``,stderr:`python3: option requires an argument -- 'c'
|
|
2
2
|
`,exitCode:2}:(t.code=e[r+1],t.scriptArgs=e.slice(r+2),t);if(n===`-m`)return r+1>=e.length?{stdout:``,stderr:`python3: option requires an argument -- 'm'
|
|
3
3
|
`,exitCode:2}:(t.module=e[r+1],t.scriptArgs=e.slice(r+2),t);if(n===`--version`||n===`-V`)return t.showVersion=!0,t;if(n.startsWith(`-`)&&n!==`-`)return{stdout:``,stderr:`python3: unrecognized option '${n}'
|
|
4
4
|
`,exitCode:2}}if(n!==-1){let r=e[n];r===`--`?n+1<e.length&&(t.scriptFile=e[n+1],t.scriptArgs=e.slice(n+2)):(t.scriptFile=r,t.scriptArgs=e.slice(n+1))}return t}var y=new WeakMap;function b(e){let t=y.get(e);return t||(t={executionQueue:[],isExecuting:!1},y.set(e,t)),t}var x=f(new URL(`./worker.js`,import.meta.url));function S(){return p(16).toString(`hex`)}function C(e,t){if(!e||typeof e!=`object`)return{success:!1,error:`Malformed worker response`};let n=e;return typeof n.protocolToken!=`string`||n.protocolToken!==t?{success:!1,error:`Malformed worker response: invalid protocol token`}:n.type===`security-violation`?{success:!1,error:`Security violation: ${typeof n.violation?.type==`string`?n.violation.type:`unknown`}`}:typeof n.success==`boolean`?n.success?{success:!0}:{success:!1,error:typeof n.error==`string`&&n.error.length>0?n.error:`Worker execution failed`}:{success:!1,error:`Malformed worker response: missing success flag`}}function w(t){if(t.isExecuting||t.executionQueue.length===0)return;for(;t.executionQueue.length>0&&t.executionQueue[0].canceled;)t.executionQueue.shift();if(t.executionQueue.length===0)return;let n=t.executionQueue.shift();if(!n)return;t.isExecuting=!0;let r;try{r=e.runTrusted(()=>new m(x,{workerData:n.input}))}catch(e){let r=e instanceof Error?e.message:String(e);n.resolve({success:!1,error:o(r)}),t.isExecuting=!1,w(t);return}n.workerRef&&(n.workerRef.current=r);let a=i(n.requireDefenseContext,`python3`,`worker message callback`,e=>{n.resolve(C(e,n.input.protocolToken)),t.isExecuting=!1,r.terminate(),w(t)}),c=i(n.requireDefenseContext,`python3`,`worker error callback`,e=>{let r=o(s(e));n.resolve({success:!1,error:r}),t.isExecuting=!1,w(t)}),l=i(n.requireDefenseContext,`python3`,`worker exit callback`,()=>{t.isExecuting&&(n.resolve({success:!1,error:`Worker exited unexpectedly`}),t.isExecuting=!1,w(t))});r.on(`message`,e=>{try{a(e)}catch(e){let i=e instanceof Error?e.message:String(e);n.resolve({success:!1,error:o(i)}),t.isExecuting=!1,r.terminate(),w(t)}}),r.on(`error`,e=>{try{c(e)}catch(e){let r=e instanceof Error?e.message:String(e);n.resolve({success:!1,error:o(r)}),t.isExecuting=!1,w(t)}}),r.on(`exit`,()=>{try{l()}catch(e){let r=e instanceof Error?e.message:String(e);n.resolve({success:!1,error:o(r)}),t.isExecuting=!1,w(t)}})}async function T(e,a,c,l=[]){let f=u(),p=new d(f,a.fs,a.cwd,`python3`,a.fetch,a.limits?.maxOutputSize??0),m=a.limits?.maxPythonTimeoutMs??h,_=a.fetch?Math.max(m,g):m,v=b(a.fs),y={protocolToken:S(),sharedBuffer:f,pythonCode:e,cwd:a.cwd,env:r(a.env),args:l,scriptPath:c,timeoutMs:_},x={current:null},C=new Promise(e=>{let r={input:y,resolve:()=>{},workerRef:x,requireDefenseContext:a.requireDefenseContext},s=i(a.requireDefenseContext,`python3`,`worker timeout callback`,()=>{x.current?x.current.terminate():r.canceled=!0,e({success:!1,error:`Execution timeout: exceeded ${_}ms limit`})}),c=n(()=>{try{s()}catch(t){e({success:!1,error:o(t instanceof Error?t.message:String(t))})}},_);r.resolve=n=>{t(c),e(n)},v.executionQueue.push(r),w(v)}),[T,E]=await Promise.all([p.run(_).catch(e=>({stdout:``,stderr:`python3: bridge error: ${o(s(e))}
|
|
@@ -9,4 +9,4 @@ import"./chunk-R6VWJ2ZL-CQWpbRHp.mjs";import"./chunk-CWQS3NFK-HnFncXpd.mjs";impo
|
|
|
9
9
|
`,exitCode:2};try{r=await t.fs.readFile(e),i=n.scriptFile}catch(e){let t=a(e.message);return{stdout:``,stderr:`python3: can't open file '${n.scriptFile}': ${t}
|
|
10
10
|
`,exitCode:2}}}else if(t.stdin.trim())r=t.stdin,i=`<stdin>`;else return{stdout:``,stderr:`python3: no input provided (use -c CODE, -m MODULE, or provide a script file)
|
|
11
11
|
`,exitCode:2};return T(r,t,i,n.scriptArgs)}},D={name:`python`,async execute(e,t){return E.execute(e,t)}};export{E as python3Command,D as pythonCommand};
|
|
12
|
-
//# sourceMappingURL=python3-DNGS4G3E-
|
|
12
|
+
//# sourceMappingURL=python3-DNGS4G3E-B2EbGP6l.mjs.map
|
package/dist/{quadrantDiagram-ABIIQ3AL-Z4PbVL1N.mjs → quadrantDiagram-ABIIQ3AL-CiO_sFTm.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-BW8wJnWV.mjs";import{m as t,p as n}from"./src-BbZVR6qh.mjs";import{D as r,H as i,K as a,U as o,a as s,c,f as l,v as u,w as d,x as f,y as p,z as m}from"./chunk-WYO6CB5R-Brxa0zhE.mjs";import{t as h}from"./linear-B98AeboV.mjs";var g=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,3],r=[1,4],i=[1,5],a=[1,6],o=[1,7],s=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],c=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],l=[55,56,57],u=[2,36],d=[1,37],f=[1,36],p=[1,38],m=[1,35],h=[1,43],g=[1,41],_=[1,45],v=[1,14],y=[1,23],b=[1,18],x=[1,19],S=[1,20],C=[1,21],w=[1,22],T=[1,24],E=[1,25],D=[1,26],O=[1,27],k=[1,28],A=[1,29],j=[1,32],M=[1,33],N=[1,34],P=[1,39],F=[1,40],I=[1,42],L=[1,44],R=[1,63],z=[1,62],B=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],ee=[1,66],te=[1,67],ne=[1,68],re=[1,69],ie=[1,70],ae=[1,71],oe=[1,72],se=[1,73],ce=[1,74],le=[1,75],ue=[1,76],de=[1,77],V=[4,5,6,7,8,9,10,11,12,13,14,15,18],H=[1,91],U=[1,92],W=[1,93],G=[1,100],K=[1,94],q=[1,97],J=[1,95],Y=[1,96],X=[1,98],Z=[1,99],fe=[1,103],pe=[10,55,56,57],Q=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],me={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:`error`,4:`ALPHA`,5:`NUM`,6:`NODE_STRING`,7:`DOWN`,8:`MINUS`,9:`DEFAULT`,10:`COMMA`,11:`COLON`,12:`AMP`,13:`BRKT`,14:`MULT`,15:`UNICODE_TEXT`,17:`UNIT`,18:`SPACE`,19:`STYLE`,20:`PCT`,25:`CLASSDEF`,28:`QUADRANT`,35:`title`,36:`title_value`,37:`acc_title`,38:`acc_title_value`,39:`acc_descr`,40:`acc_descr_value`,41:`acc_descr_multiline_value`,42:`section`,44:`point_start`,45:`point_x`,46:`point_y`,47:`class_name`,48:`X-AXIS`,49:`AXIS-TEXT-DELIMITER`,50:`Y-AXIS`,51:`QUADRANT_1`,52:`QUADRANT_2`,53:`QUADRANT_3`,54:`QUADRANT_4`,55:`NEWLINE`,56:`SEMI`,57:`EOF`,60:`STR`,61:`MD_STR`,63:`PUNCTUATION`,64:`PLUS`,65:`EQUALS`,66:`DOT`,67:`UNDERSCORE`},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 23:this.$=a[s];break;case 24:this.$=a[s-1]+``+a[s];break;case 26:this.$=a[s-1]+a[s];break;case 27:this.$=[a[s].trim()];break;case 28:a[s-2].push(a[s].trim()),this.$=a[s-2];break;case 29:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 37:this.$=[];break;case 42:this.$=a[s].trim(),r.setDiagramTitle(this.$);break;case 43:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 44:case 45:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 46:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 47:r.addPoint(a[s-3],``,a[s-1],a[s],[]);break;case 48:r.addPoint(a[s-4],a[s-3],a[s-1],a[s],[]);break;case 49:r.addPoint(a[s-4],``,a[s-2],a[s-1],a[s]);break;case 50:r.addPoint(a[s-5],a[s-4],a[s-2],a[s-1],a[s]);break;case 51:r.setXAxisLeftText(a[s-2]),r.setXAxisRightText(a[s]);break;case 52:a[s-1].text+=` ⟶ `,r.setXAxisLeftText(a[s-1]);break;case 53:r.setXAxisLeftText(a[s]);break;case 54:r.setYAxisBottomText(a[s-2]),r.setYAxisTopText(a[s]);break;case 55:a[s-1].text+=` ⟶ `,r.setYAxisBottomText(a[s-1]);break;case 56:r.setYAxisBottomText(a[s]);break;case 57:r.setQuadrant1Text(a[s]);break;case 58:r.setQuadrant2Text(a[s]);break;case 59:r.setQuadrant3Text(a[s]);break;case 60:r.setQuadrant4Text(a[s]);break;case 64:this.$={text:a[s],type:`text`};break;case 65:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 66:this.$={text:a[s],type:`text`};break;case 67:this.$={text:a[s],type:`markdown`};break;case 68:this.$=a[s];break;case 69:this.$=a[s-1]+``+a[s];break}},`anonymous`),table:[{18:n,26:1,27:2,28:r,55:i,56:a,57:o},{1:[3]},{18:n,26:8,27:2,28:r,55:i,56:a,57:o},{18:n,26:9,27:2,28:r,55:i,56:a,57:o},t(s,[2,33],{29:10}),t(c,[2,61]),t(c,[2,62]),t(c,[2,63]),{1:[2,30]},{1:[2,31]},t(l,u,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:f,10:p,12:m,13:h,14:g,15:_,18:v,25:y,35:b,37:x,39:S,41:C,42:w,48:T,50:E,51:D,52:O,53:k,54:A,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),t(s,[2,34]),{27:46,55:i,56:a,57:o},t(l,[2,37]),t(l,u,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:d,5:f,10:p,12:m,13:h,14:g,15:_,18:v,25:y,35:b,37:x,39:S,41:C,42:w,48:T,50:E,51:D,52:O,53:k,54:A,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),t(l,[2,39]),t(l,[2,40]),t(l,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(l,[2,45]),t(l,[2,46]),{18:[1,51]},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:52,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:53,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:54,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:55,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:56,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:57,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,44:[1,58],47:[1,59],58:61,59:60,63:N,64:P,65:F,66:I,67:L},t(B,[2,64]),t(B,[2,66]),t(B,[2,67]),t(B,[2,70]),t(B,[2,71]),t(B,[2,72]),t(B,[2,73]),t(B,[2,74]),t(B,[2,75]),t(B,[2,76]),t(B,[2,77]),t(B,[2,78]),t(B,[2,79]),t(B,[2,80]),t(B,[2,81]),t(s,[2,35]),t(l,[2,38]),t(l,[2,42]),t(l,[2,43]),t(l,[2,44]),{3:65,4:ee,5:te,6:ne,7:re,8:ie,9:ae,10:oe,11:se,12:ce,13:le,14:ue,15:de,21:64},t(l,[2,53],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,49:[1,78],63:N,64:P,65:F,66:I,67:L}),t(l,[2,56],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,49:[1,79],63:N,64:P,65:F,66:I,67:L}),t(l,[2,57],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),t(l,[2,58],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),t(l,[2,59],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),t(l,[2,60],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),{45:[1,80]},{44:[1,81]},t(B,[2,65]),t(B,[2,82]),t(B,[2,83]),t(B,[2,84]),{3:83,4:ee,5:te,6:ne,7:re,8:ie,9:ae,10:oe,11:se,12:ce,13:le,14:ue,15:de,18:[1,82]},t(V,[2,23]),t(V,[2,1]),t(V,[2,2]),t(V,[2,3]),t(V,[2,4]),t(V,[2,5]),t(V,[2,6]),t(V,[2,7]),t(V,[2,8]),t(V,[2,9]),t(V,[2,10]),t(V,[2,11]),t(V,[2,12]),t(l,[2,52],{58:31,43:84,4:d,5:f,10:p,12:m,13:h,14:g,15:_,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),t(l,[2,55],{58:31,43:85,4:d,5:f,10:p,12:m,13:h,14:g,15:_,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),{46:[1,86]},{45:[1,87]},{4:H,5:U,6:W,8:G,11:K,13:q,16:90,17:J,18:Y,19:X,20:Z,22:89,23:88},t(V,[2,24]),t(l,[2,51],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),t(l,[2,54],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),t(l,[2,47],{22:89,16:90,23:101,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),{46:[1,102]},t(l,[2,29],{10:fe}),t(pe,[2,27],{16:104,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),t(Q,[2,25]),t(Q,[2,13]),t(Q,[2,14]),t(Q,[2,15]),t(Q,[2,16]),t(Q,[2,17]),t(Q,[2,18]),t(Q,[2,19]),t(Q,[2,20]),t(Q,[2,21]),t(Q,[2,22]),t(l,[2,49],{10:fe}),t(l,[2,48],{22:89,16:90,23:105,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),{4:H,5:U,6:W,8:G,11:K,13:q,16:90,17:J,18:Y,19:X,20:Z,22:106},t(Q,[2,26]),t(l,[2,50],{10:fe}),t(pe,[2,28],{16:104,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z})],defaultActions:{8:[2,30],9:[2,31]},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;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.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`)};me.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()+`
|
|
5
5
|
`+t+`^`},`showPosition`),test_match:e(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
6
|
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e(function(){return this.next()||this.lex()},`lex`),begin:e(function(e){this.conditionStack.push(e)},`begin`),popState:e(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e(function(e){this.begin(e)},`pushState`),stateStackSize:e(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:e(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin(`title`),35;case 5:return this.popState(),`title_value`;case 6:return this.begin(`acc_title`),37;case 7:return this.popState(),`acc_title_value`;case 8:return this.begin(`acc_descr`),39;case 9:return this.popState(),`acc_descr_value`;case 10:this.begin(`acc_descr_multiline`);break;case 11:this.popState();break;case 12:return`acc_descr_multiline_value`;case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin(`md_string`);break;case 22:return`MD_STR`;case 23:this.popState();break;case 24:this.begin(`string`);break;case 25:this.popState();break;case 26:return`STR`;case 27:this.begin(`class_name`);break;case 28:return this.popState(),47;case 29:return this.begin(`point_start`),44;case 30:return this.begin(`point_x`),45;case 31:this.popState();break;case 32:this.popState(),this.begin(`point_y`);break;case 33:return this.popState(),46;case 34:return 28;case 35:return 4;case 36:return 15;case 37:return 11;case 38:return 64;case 39:return 10;case 40:return 65;case 41:return 65;case 42:return 14;case 43:return 13;case 44:return 67;case 45:return 66;case 46:return 12;case 47:return 8;case 48:return 5;case 49:return 18;case 50:return 56;case 51:return 63;case 52:return 57}},`anonymous`),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?:[^\x00-\x7F]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}}})();function $(){this.yy={}}return e($,`Parser`),$.prototype=me,me.Parser=$,new $})();g.parser=g;var _=g,v=r(),y=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{e(this,`QuadrantBuilder`)}getDefaultData(){return{titleText:``,quadrant1Text:``,quadrant2Text:``,quadrant3Text:``,quadrant4Text:``,xAxisLeftText:``,xAxisRightText:``,yAxisBottomText:``,yAxisTopText:``,points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:l.quadrantChart?.chartWidth||500,chartWidth:l.quadrantChart?.chartHeight||500,titlePadding:l.quadrantChart?.titlePadding||10,titleFontSize:l.quadrantChart?.titleFontSize||20,quadrantPadding:l.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:l.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:l.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:l.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:l.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:l.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:l.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:l.quadrantChart?.pointTextPadding||5,pointLabelFontSize:l.quadrantChart?.pointLabelFontSize||12,pointRadius:l.quadrantChart?.pointRadius||5,xAxisPosition:l.quadrantChart?.xAxisPosition||`top`,yAxisPosition:l.quadrantChart?.yAxisPosition||`left`,quadrantInternalBorderStrokeWidth:l.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:l.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:v.quadrant1Fill,quadrant2Fill:v.quadrant2Fill,quadrant3Fill:v.quadrant3Fill,quadrant4Fill:v.quadrant4Fill,quadrant1TextFill:v.quadrant1TextFill,quadrant2TextFill:v.quadrant2TextFill,quadrant3TextFill:v.quadrant3TextFill,quadrant4TextFill:v.quadrant4TextFill,quadrantPointFill:v.quadrantPointFill,quadrantPointTextFill:v.quadrantPointTextFill,quadrantXAxisTextFill:v.quadrantXAxisTextFill,quadrantYAxisTextFill:v.quadrantYAxisTextFill,quadrantTitleFill:v.quadrantTitleFill,quadrantInternalBorderStrokeFill:v.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:v.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,t.info(`clear called`)}setData(e){this.data={...this.data,...e}}addPoints(e){this.data.points=[...e,...this.data.points]}addClass(e,t){this.classes.set(e,t)}setConfig(e){t.trace(`setConfig called with: `,e),this.config={...this.config,...e}}setThemeConfig(e){t.trace(`setThemeConfig called with: `,e),this.themeConfig={...this.themeConfig,...e}}calculateSpace(e,t,n,r){let i=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,a={top:e===`top`&&t?i:0,bottom:e===`bottom`&&t?i:0},o=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,s={left:this.config.yAxisPosition===`left`&&n?o:0,right:this.config.yAxisPosition===`right`&&n?o:0},c=this.config.titleFontSize+this.config.titlePadding*2,l={top:r?c:0},u=this.config.quadrantPadding+s.left,d=this.config.quadrantPadding+a.top+l.top,f=this.config.chartWidth-this.config.quadrantPadding*2-s.left-s.right,p=this.config.chartHeight-this.config.quadrantPadding*2-a.top-a.bottom-l.top;return{xAxisSpace:a,yAxisSpace:s,titleSpace:l,quadrantSpace:{quadrantLeft:u,quadrantTop:d,quadrantWidth:f,quadrantHalfWidth:f/2,quadrantHeight:p,quadrantHalfHeight:p/2}}}getAxisLabels(e,t,n,r){let{quadrantSpace:i,titleSpace:a}=r,{quadrantHalfHeight:o,quadrantHeight:s,quadrantLeft:c,quadrantHalfWidth:l,quadrantTop:u,quadrantWidth:d}=i,f=!!this.data.xAxisRightText,p=!!this.data.yAxisTopText,m=[];return this.data.xAxisLeftText&&t&&m.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:c+(f?l/2:0),y:e===`top`?this.config.xAxisLabelPadding+a.top:this.config.xAxisLabelPadding+u+s+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:f?`center`:`left`,horizontalPos:`top`,rotation:0}),this.data.xAxisRightText&&t&&m.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:c+l+(f?l/2:0),y:e===`top`?this.config.xAxisLabelPadding+a.top:this.config.xAxisLabelPadding+u+s+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:f?`center`:`left`,horizontalPos:`top`,rotation:0}),this.data.yAxisBottomText&&n&&m.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition===`left`?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+c+d+this.config.quadrantPadding,y:u+s-(p?o/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:p?`center`:`left`,horizontalPos:`top`,rotation:-90}),this.data.yAxisTopText&&n&&m.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition===`left`?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+c+d+this.config.quadrantPadding,y:u+o-(p?o/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:p?`center`:`left`,horizontalPos:`top`,rotation:-90}),m}getQuadrants(e){let{quadrantSpace:t}=e,{quadrantHalfHeight:n,quadrantLeft:r,quadrantHalfWidth:i,quadrantTop:a}=t,o=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r+i,y:a,width:i,height:n,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r,y:a,width:i,height:n,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r,y:a+n,width:i,height:n,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r+i,y:a+n,width:i,height:n,fill:this.themeConfig.quadrant4Fill}];for(let e of o)e.text.x=e.x+e.width/2,this.data.points.length===0?(e.text.y=e.y+e.height/2,e.text.horizontalPos=`middle`):(e.text.y=e.y+this.config.quadrantTextTopPadding,e.text.horizontalPos=`top`);return o}getQuadrantPoints(e){let{quadrantSpace:t}=e,{quadrantHeight:n,quadrantLeft:r,quadrantTop:i,quadrantWidth:a}=t,o=h().domain([0,1]).range([r,a+r]),s=h().domain([0,1]).range([n+i,i]);return this.data.points.map(e=>{let t=this.classes.get(e.className);return t&&(e={...t,...e}),{x:o(e.x),y:s(e.y),fill:e.color??this.themeConfig.quadrantPointFill,radius:e.radius??this.config.pointRadius,text:{text:e.text,fill:this.themeConfig.quadrantPointTextFill,x:o(e.x),y:s(e.y)+this.config.pointTextPadding,verticalPos:`center`,horizontalPos:`top`,fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:e.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:e.strokeWidth??`0px`}})}getBorders(e){let t=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:n}=e,{quadrantHalfHeight:r,quadrantHeight:i,quadrantLeft:a,quadrantHalfWidth:o,quadrantTop:s,quadrantWidth:c}=n;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a-t,y1:s,x2:a+c+t,y2:s},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a+c,y1:s+t,x2:a+c,y2:s+i-t},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a-t,y1:s+i,x2:a+c+t,y2:s+i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a,y1:s+t,x2:a,y2:s+i-t},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:a+o,y1:s+t,x2:a+o,y2:s+i-t},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:a+t,y1:s+r,x2:a+c-t,y2:s+r}]}getTitle(e){if(e)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:`top`,verticalPos:`center`,rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){let e=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),t=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),n=this.config.showTitle&&!!this.data.titleText,r=this.data.points.length>0?`bottom`:this.config.xAxisPosition,i=this.calculateSpace(r,e,t,n);return{points:this.getQuadrantPoints(i),quadrants:this.getQuadrants(i),axisLabels:this.getAxisLabels(r,e,t,i),borderLines:this.getBorders(i),title:this.getTitle(n)}}},b=class extends Error{static{e(this,`InvalidStyleError`)}constructor(e,t,n){super(`value for ${e} ${t} is invalid, please use a valid ${n}`),this.name=`InvalidStyleError`}};function x(e){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(e)}e(x,`validateHexCode`);function S(e){return!/^\d+$/.test(e)}e(S,`validateNumber`);function C(e){return!/^\d+px$/.test(e)}e(C,`validateSizeInPixels`);function w(e){return m(e.trim(),f())}e(w,`textSanitizer`);var T=new y;function E(e){T.setData({quadrant1Text:w(e.text)})}e(E,`setQuadrant1Text`);function D(e){T.setData({quadrant2Text:w(e.text)})}e(D,`setQuadrant2Text`);function O(e){T.setData({quadrant3Text:w(e.text)})}e(O,`setQuadrant3Text`);function k(e){T.setData({quadrant4Text:w(e.text)})}e(k,`setQuadrant4Text`);function A(e){T.setData({xAxisLeftText:w(e.text)})}e(A,`setXAxisLeftText`);function j(e){T.setData({xAxisRightText:w(e.text)})}e(j,`setXAxisRightText`);function M(e){T.setData({yAxisTopText:w(e.text)})}e(M,`setYAxisTopText`);function N(e){T.setData({yAxisBottomText:w(e.text)})}e(N,`setYAxisBottomText`);function P(e){let t={};for(let n of e){let[e,r]=n.trim().split(/\s*:\s*/);if(e===`radius`){if(S(r))throw new b(e,r,`number`);t.radius=parseInt(r)}else if(e===`color`){if(x(r))throw new b(e,r,`hex code`);t.color=r}else if(e===`stroke-color`){if(x(r))throw new b(e,r,`hex code`);t.strokeColor=r}else if(e===`stroke-width`){if(C(r))throw new b(e,r,`number of pixels (eg. 10px)`);t.strokeWidth=r}else throw Error(`style named ${e} is not supported.`)}return t}e(P,`parseStyles`);function F(e,t,n,r,i){let a=P(i);T.addPoints([{x:n,y:r,text:w(e.text),className:t,...a}])}e(F,`addPoint`);function I(e,t){T.addClass(e,P(t))}e(I,`addClass`);function L(e){T.setConfig({chartWidth:e})}e(L,`setWidth`);function R(e){T.setConfig({chartHeight:e})}e(R,`setHeight`);function z(){let{themeVariables:e,quadrantChart:t}=f();return t&&T.setConfig(t),T.setThemeConfig({quadrant1Fill:e.quadrant1Fill,quadrant2Fill:e.quadrant2Fill,quadrant3Fill:e.quadrant3Fill,quadrant4Fill:e.quadrant4Fill,quadrant1TextFill:e.quadrant1TextFill,quadrant2TextFill:e.quadrant2TextFill,quadrant3TextFill:e.quadrant3TextFill,quadrant4TextFill:e.quadrant4TextFill,quadrantPointFill:e.quadrantPointFill,quadrantPointTextFill:e.quadrantPointTextFill,quadrantXAxisTextFill:e.quadrantXAxisTextFill,quadrantYAxisTextFill:e.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:e.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:e.quadrantInternalBorderStrokeFill,quadrantTitleFill:e.quadrantTitleFill}),T.setData({titleText:d()}),T.build()}e(z,`getQuadrantData`);var B={parser:_,db:{setWidth:L,setHeight:R,setQuadrant1Text:E,setQuadrant2Text:D,setQuadrant3Text:O,setQuadrant4Text:k,setXAxisLeftText:A,setXAxisRightText:j,setYAxisTopText:M,setYAxisBottomText:N,parseStyles:P,addPoint:F,addClass:I,getQuadrantData:z,clear:e(function(){T.clear(),s()},`clear`),setAccTitle:o,getAccTitle:p,setDiagramTitle:a,getDiagramTitle:d,getAccDescription:u,setAccDescription:i},renderer:{draw:e((r,i,a,o)=>{function s(e){return e===`top`?`hanging`:`middle`}e(s,`getDominantBaseLine`);function l(e){return e===`left`?`start`:`middle`}e(l,`getTextAnchor`);function u(e){return`translate(${e.x}, ${e.y}) rotate(${e.rotation||0})`}e(u,`getTransformation`);let d=f();t.debug(`Rendering quadrant chart
|
|
7
7
|
`+r);let p=d.securityLevel,m;p===`sandbox`&&(m=n(`#i`+i));let h=n(p===`sandbox`?m.nodes()[0].contentDocument.body:`body`).select(`[id="${i}"]`),g=h.append(`g`).attr(`class`,`main`),_=d.quadrantChart?.chartWidth??500,v=d.quadrantChart?.chartHeight??500;c(h,v,_,d.quadrantChart?.useMaxWidth??!0),h.attr(`viewBox`,`0 0 `+_+` `+v),o.db.setHeight(v),o.db.setWidth(_);let y=o.db.getQuadrantData(),b=g.append(`g`).attr(`class`,`quadrants`),x=g.append(`g`).attr(`class`,`border`),S=g.append(`g`).attr(`class`,`data-points`),C=g.append(`g`).attr(`class`,`labels`),w=g.append(`g`).attr(`class`,`title`);y.title&&w.append(`text`).attr(`x`,0).attr(`y`,0).attr(`fill`,y.title.fill).attr(`font-size`,y.title.fontSize).attr(`dominant-baseline`,s(y.title.horizontalPos)).attr(`text-anchor`,l(y.title.verticalPos)).attr(`transform`,u(y.title)).text(y.title.text),y.borderLines&&x.selectAll(`line`).data(y.borderLines).enter().append(`line`).attr(`x1`,e=>e.x1).attr(`y1`,e=>e.y1).attr(`x2`,e=>e.x2).attr(`y2`,e=>e.y2).style(`stroke`,e=>e.strokeFill).style(`stroke-width`,e=>e.strokeWidth);let T=b.selectAll(`g.quadrant`).data(y.quadrants).enter().append(`g`).attr(`class`,`quadrant`);T.append(`rect`).attr(`x`,e=>e.x).attr(`y`,e=>e.y).attr(`width`,e=>e.width).attr(`height`,e=>e.height).attr(`fill`,e=>e.fill),T.append(`text`).attr(`x`,0).attr(`y`,0).attr(`fill`,e=>e.text.fill).attr(`font-size`,e=>e.text.fontSize).attr(`dominant-baseline`,e=>s(e.text.horizontalPos)).attr(`text-anchor`,e=>l(e.text.verticalPos)).attr(`transform`,e=>u(e.text)).text(e=>e.text.text),C.selectAll(`g.label`).data(y.axisLabels).enter().append(`g`).attr(`class`,`label`).append(`text`).attr(`x`,0).attr(`y`,0).text(e=>e.text).attr(`fill`,e=>e.fill).attr(`font-size`,e=>e.fontSize).attr(`dominant-baseline`,e=>s(e.horizontalPos)).attr(`text-anchor`,e=>l(e.verticalPos)).attr(`transform`,e=>u(e));let E=S.selectAll(`g.data-point`).data(y.points).enter().append(`g`).attr(`class`,`data-point`);E.append(`circle`).attr(`cx`,e=>e.x).attr(`cy`,e=>e.y).attr(`r`,e=>e.radius).attr(`fill`,e=>e.fill).attr(`stroke`,e=>e.strokeColor).attr(`stroke-width`,e=>e.strokeWidth),E.append(`text`).attr(`x`,0).attr(`y`,0).text(e=>e.text.text).attr(`fill`,e=>e.text.fill).attr(`font-size`,e=>e.text.fontSize).attr(`dominant-baseline`,e=>s(e.text.horizontalPos)).attr(`text-anchor`,e=>l(e.text.verticalPos)).attr(`transform`,e=>u(e.text))},`draw`)},styles:e(()=>``,`styles`)};export{B as diagram};
|
|
8
|
-
//# sourceMappingURL=quadrantDiagram-ABIIQ3AL-
|
|
8
|
+
//# sourceMappingURL=quadrantDiagram-ABIIQ3AL-CiO_sFTm.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-CSQn6Mqu.mjs";import{n as e}from"./chunk-QBLGF6JB-Chmqe3JT.mjs";export{e as createRadarServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-CSQn6Mqu.mjs";import{n as e}from"./chunk-5TONJI2A-CH5pkTrL.mjs";export{e as createRailroadServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-CSQn6Mqu.mjs";import{n as e}from"./chunk-5HE753X5-BOOWBZ0m.mjs";export{e as createRailroadAbnfServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-CSQn6Mqu.mjs";import{n as e}from"./chunk-U6XO7XAA-CAV8Xz4u.mjs";export{e as createRailroadEbnfServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-CSQn6Mqu.mjs";import{n as e}from"./chunk-JG7HCLWE-OAdm-dOX.mjs";export{e as createRailroadPegServices};
|
package/dist/{railroadDiagram-RFXS5EU6-ZSRYpY_p.mjs → railroadDiagram-RFXS5EU6-DkLolDmi.mjs}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as e}from"./chunk-5TONJI2A-
|
|
2
|
-
//# sourceMappingURL=railroadDiagram-RFXS5EU6-
|
|
1
|
+
import{n as e}from"./chunk-5TONJI2A-CH5pkTrL.mjs";import{n as t}from"./chunk-Y2CYZVJY-BW8wJnWV.mjs";import{m as n}from"./src-BbZVR6qh.mjs";import"./chunk-WYO6CB5R-Brxa0zhE.mjs";import"./chunk-VAUOI2AC-jixxcqz-.mjs";import{n as r,r as i,t as a}from"./chunk-MOJQB5TN-Da31nYdf.mjs";import{t as o}from"./chunk-JWPE2WC7-DdfpL_yU.mjs";import{t as s}from"./mermaid-parser.core-l2oLJb5a.mjs";var c=e().Railroad.parser.LangiumParser,l=t(e=>{switch(e.$type){case`RailroadTerminalExpr`:return{type:`terminal`,value:e.value};case`RailroadNonTerminalExpr`:return{type:`nonterminal`,name:e.name};case`RailroadSpecialExpr`:return{type:`special`,text:e.text};case`RailroadSequenceExpr`:{let t=e.elements.map(l);return t.length===1?t[0]:{type:`sequence`,elements:t}}case`RailroadChoiceExpr`:{let t=e.alternatives.map(l);return t.length===1?t[0]:{type:`choice`,alternatives:t}}case`RailroadOptionalExpr`:return{type:`optional`,element:l(e.element)};case`RailroadOneOrMoreExpr`:return{type:`repetition`,element:l(e.element),min:1,max:1/0};case`RailroadZeroOrMoreExpr`:return{type:`repetition`,element:l(e.element),min:0,max:1/0};default:throw Error(`Unsupported railroad expression: ${e.$type}`)}},`transformExpression`),u=t(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),d=t(e=>{o(e,a),e.title&&a.setTitle(e.title),e.rules.map(e=>a.addRule(u(e)))},`populateDb`),f={parser:{parse:t(e=>{a.clear(),n.debug(`[Railroad Parser] Starting Langium parse`);let t=c.parse(e);if(t.lexerErrors.length>0||t.parserErrors.length>0)throw new s(t);let r=t.value;n.debug(`[Railroad Parser] Parsed rules:`,r.rules.length),d(r),n.debug(`[Railroad Parser] Parse complete`)},`parse`),parser:{yy:a}},db:a,renderer:i,styles:r};export{f as diagram};
|
|
2
|
+
//# sourceMappingURL=railroadDiagram-RFXS5EU6-DkLolDmi.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-HJWBQKYG-LHJ71_Q6.mjs";export{e as readlinkCommand};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./launch-json-removal-
|
|
2
|
-
//# sourceMappingURL=repair-launch-json-
|
|
1
|
+
import{t as e}from"./launch-json-removal-CnIk3WE-.mjs";import{join as t}from"node:path";function n(n){let i=n.logger??r,a=t(n.projectDir,`.claude`,`launch.json`);if(n.reclaimDisableEnv===`1`)return i({event:`launch-json-repair-skipped`,reason:`reclaim-disabled`}),{outcome:{configPath:a,outcome:`skipped-reclaim-disabled`},repairedCount:0};let o;try{o=e(n.projectDir)}catch(e){let t=e instanceof Error?e.message:String(e);return i({event:`launch-json-repair-write-failed`,configPath:a}),{outcome:{configPath:a,outcome:`write-failed`,error:t},repairedCount:0}}let s=o.kind===`removed`||o.kind===`removed-file`;return s&&i({event:`launch-json-repair-removed`,configPath:a}),{outcome:{configPath:a,outcome:o.kind},repairedCount:+!!s}}function r(e){process.stderr.write(`${JSON.stringify(e)}\n`)}export{n as repairLaunchJson};
|
|
2
|
+
//# sourceMappingURL=repair-launch-json-BocgwEI5.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{d as e,v as t}from"./init-pIJddeyG.mjs";import{i as n,o as r,p as i}from"./write-project-skill-BP9EVRr-.mjs";import{t as a}from"./mcp-migrate-event-BsswfOLm.mjs";import{homedir as o}from"node:os";function s(e){let t=e.logger??u,i=e.home??o(),a=[];if(e.reclaimDisableEnv===`1`)return t({event:`mcp-config-repair-skipped`,reason:`reclaim-disabled`}),{outcomes:a,repairedCount:0};for(let o of n){let n=r[o],s=c(()=>n.configPath(``,i));if(s!==null&&a.push(l({scope:`user`,editorId:o,target:n,home:i,cwd:``,configPath:s,configPathOverride:void 0,logger:t})),n.projectConfigPath){let r=n.projectConfigPath,i=c(()=>r(e.projectDir));i!==null&&a.push(l({scope:`project`,editorId:o,target:n,home:void 0,cwd:e.projectDir,configPath:i,configPathOverride:i,logger:t}))}}return{outcomes:a,repairedCount:a.filter(e=>e.outcome===`repaired`).length}}function c(e){try{return e()}catch{return null}}function l(n){let r={scope:n.scope,editorId:n.editorId,configPath:n.configPath},o=e(n.target,n.cwd,n.home,n.configPathOverride);if(o===null)return{...r,outcome:`no-entry`};if(i(o))return{...r,outcome:`canonical`};n.logger(a({scope:n.scope,surface:`cli-repair`,editorId:n.editorId,configPath:n.configPath,priorEntry:o}));let s=t(n.target,n.cwd,{mode:`published`,skipAvailabilityCheck:!0},n.home,n.configPathOverride);if(s.action===`failed`){let e=s.error??`unknown write failure`;return n.logger({event:`mcp-config-repair-write-failed`,scope:n.scope,editorId:n.editorId,configPath:n.configPath,error:e}),{...r,outcome:`write-failed`,error:e}}return s.action===`declined`?(n.logger({event:`mcp-config-repair-declined`,scope:n.scope,editorId:n.editorId,configPath:n.configPath,reason:s.declineReason}),{...r,outcome:`declined`}):{...r,outcome:`repaired`}}function u(e){process.stderr.write(`${JSON.stringify(e)}\n`)}export{s as repairMcpConfigs};
|
|
2
|
+
//# sourceMappingURL=repair-mcp-configs-BrBkt_hT.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./repair-skills-C-3CmI5S.mjs";export{e as repairSkills};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{R as e}from"./src-c73kUNxd.mjs";import{ar as t,br as n,dr as r,gr as i,lr as a,mr as o,or as s,ur as c,xr as l}from"./src-y0X27yQX.mjs";import{t as u}from"./esm-DmX1RzAi.mjs";import{n as d,s as f,t as p}from"./colors-BsmVIwfM.mjs";import{o as m,s as h,t as g}from"./write-project-skill-BP9EVRr-.mjs";import{n as _,r as v,t as y}from"./skill-teardown-CH2C4nmj.mjs";import{dirname as b,join as x,relative as S,resolve as C}from"node:path";import{existsSync as w,mkdirSync as T,readFileSync as E,readdirSync as D,rmSync as O,statSync as k,writeFileSync as A}from"node:fs";import{homedir as j}from"node:os";import{createInterface as M}from"node:readline/promises";const N={existsSync:e=>w(e),isDirectory:e=>{try{return k(e).isDirectory()}catch(e){if(e.code===`ENOENT`)return!1;throw e}},readdirSync:e=>D(e),readFileSync:e=>E(e),writeFileSync:(e,t)=>{A(e,t)},mkdirSync:(e,t)=>{T(e,t)},rmSync:(e,t)=>{O(e,t)}},P={resolveProjectBundledSkillDir:()=>i(`project`,{checkDesktop:!1}),resolveUserBundledSkillDir:e=>i(e,{checkDesktop:!1}),readBundledVersion:()=>s(),readRecordedVersion:e=>a(e,`cli-hosts`),writeRecordedVersion:(e,t)=>r(e,`cli-hosts`,t,`cli-start`),recordEvent:e=>o(e),readBundleDecision:(e,n)=>t(e,n),writeBundleDecision:(e,t,n)=>c(e,t,n),removeBundleFromDisk:(e,t)=>v(e,t)};function F(e){process.stderr.write(`${JSON.stringify(e)}\n`)}function I(e,t,n){n.rmSync(t,{recursive:!0,force:!0}),n.mkdirSync(b(t),{recursive:!0}),L(e,t,n)}function L(e,t,n){n.mkdirSync(t,{recursive:!0});for(let r of n.readdirSync(e)){let i=x(e,r),a=x(t,r);n.isDirectory(i)?L(i,a,n):n.writeFileSync(a,n.readFileSync(i))}}function R(e,t,n,r,i,a){let o=[],s=x(e,`.agents`,`skills`,t),c=!1;if(r.existsSync(s))o.push({kind:`central`,path:s,outcome:`skipped-present`});else try{I(n,s,r),c=!0,o.push({kind:`central`,path:s,outcome:`written`}),i({event:`user-skill-reclaim-central-written`,scope:`user`,path:s,preexisting:!1,version:a})}catch(e){let t=e instanceof Error?e.message:String(e);o.push({kind:`central`,path:s,outcome:`failed`,error:t}),i({event:`user-skill-reclaim-central-failed`,scope:`user`,path:s,error:t})}for(let c of h){let l=x(e,c.hostDir),u=x(l,`skills`,t);if(u===s){o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`skipped-collapsed-with-central`});continue}if(!r.existsSync(l)){o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`skipped-host-absent`});continue}if(r.existsSync(u)){o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`skipped-present`});continue}try{I(n,u,r),o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`written`}),i({event:`user-skill-reclaim-host-written`,scope:`user`,editorId:c.editorId,hostDir:c.hostDir,path:u,preexisting:!1,version:a})}catch(e){let t=e instanceof Error?e.message:String(e);o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`failed`,error:t}),i({event:`user-skill-reclaim-host-failed`,scope:`user`,editorId:c.editorId,hostDir:c.hostDir,path:u,error:t})}}return{entries:o,centralWritten:c}}function z(e,t){if(!e)return!1;try{return t.existsSync(e)?t.readFileSync(e).toString(`utf8`).includes(`# ok-mcp-`):!1}catch{return!1}}function B(e,t,n,r){let i;try{i=t.resolveProjectBundledSkillDir()}catch(e){return r({event:`project-skill-reclaim-bundle-missing`,scope:`project`,error:e instanceof Error?e.message:String(e)}),{outcome:`skipped`,reason:`bundle-missing`}}let a=[];for(let t of h){let o=x(e,t.hostDir,`skills`,`open-knowledge`),s=x(o,`SKILL.md`);if(n.existsSync(s)){a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`present`});continue}let c=m[t.editorId]?.projectConfigPath?.(e);if(!z(c,n)){a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`no-token`}),r({event:`project-skill-reclaim-no-token`,scope:`project`,editorId:t.editorId,path:o});continue}try{g(o,e),I(i,o,n),a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`created`}),r({event:`project-skill-reclaim-created`,scope:`project`,editorId:t.editorId,path:o})}catch(e){let n=e instanceof Error?e.message:String(e);a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`failed`,error:n}),r({event:`project-skill-reclaim-failed`,scope:`project`,editorId:t.editorId,path:o,error:n})}}return{outcome:`done`,entries:a}}async function V(t,r,i,a){let o=e=>{r.recordEvent(e).catch(()=>{})},s=()=>new Date().toISOString(),c;try{c=await r.readBundledVersion()}catch(e){let t=e instanceof Error?e.message:String(e);return a({event:`user-skill-reclaim-version-read-failed`,scope:`user`,error:t}),o({ts:s(),surface:`cli-start`,target:`cli-hosts`,bundle:`discovery`,outcome:`failed`,reason:`version-read-failed:${t}`}),{outcome:`skipped`,reason:`version-read-failed`}}let u;try{u=await r.readRecordedVersion(t)}catch(e){a({event:`user-skill-reclaim-version-read-error`,scope:`user`,error:e instanceof Error?e.message:String(e)}),u=null}let d=[],f=null;for(let e of l)try{d.push({id:e,sourceDir:r.resolveUserBundledSkillDir(e)})}catch(e){f=e instanceof Error?e.message:String(e)}if(d.length===0)return a({event:`user-skill-reclaim-bundle-missing`,scope:`user`,error:f??`no user-global bundles`}),o({ts:s(),surface:`cli-start`,target:`cli-hosts`,outcome:`failed`,reason:`bundle-missing:${f}`}),{outcome:`skipped`,reason:`bundle-missing`};let p=[];for(let o of d){let s=n[o.id],c=i.existsSync(x(t,`.agents`,`skills`,s)),l=await r.readBundleDecision(t,s).catch(()=>null);if(!e(l,{installedOnDisk:c})){if(c)try{r.removeBundleFromDisk(t,o.id),a({event:`user-skill-reclaim-bundle-declined-removed`,scope:`user`,bundle:o.id})}catch(e){a({event:`user-skill-reclaim-bundle-remove-failed`,scope:`user`,bundle:o.id,error:e instanceof Error?e.message:String(e)})}continue}if(l===null&&c)try{await r.writeBundleDecision(t,s,!0)}catch(e){a({event:`user-skill-reclaim-grandfather-write-failed`,scope:`user`,bundle:o.id,error:e instanceof Error?e.message:String(e)})}p.push(o)}if(p.length===0)return{outcome:`skipped`,reason:`all-bundles-declined`};let m=p.every(e=>i.existsSync(x(t,`.agents`,`skills`,n[e.id])));if(u!==null&&u===c&&m)return a({event:`user-skill-reclaim-skipped-version-current`,scope:`user`,version:c}),{outcome:`skipped`,reason:`version-current`};let h=[],g=d.length===l.length,_=[];for(let{id:e,sourceDir:r}of p){let o=R(t,n[e],r,i,a,c);h.push(...o.entries),_.push({id:e,centralWritten:o.centralWritten})}let v=h.some(e=>e.kind===`central`&&e.outcome===`failed`);if(g&&!v){let e=null;try{await r.writeRecordedVersion(t,c),a({event:`user-skill-reclaim-version-recorded`,scope:`user`,version:c})}catch(t){e=t instanceof Error?t.message:String(t),a({event:`user-skill-reclaim-version-record-failed`,scope:`user`,version:c,error:e})}for(let{id:t,centralWritten:n}of _)o({ts:s(),surface:`cli-start`,target:`cli-hosts`,bundle:t,outcome:e===null?n?`installed`:`skip-current`:`failed`,version:c,...e===null?{}:{reason:`state-write-failed:${e}`}})}else{let e=h.some(e=>e.kind===`host`&&e.outcome===`failed`);o({ts:s(),surface:`cli-start`,target:`cli-hosts`,outcome:`failed`,version:c,reason:g?e?`all-writes-failed`:`central-write-failed`:`bundle-unresolved`})}return{outcome:`done`,version:c,entries:h}}async function H(e){let t=e.logger??F,n=e.fs??N,r=e.home??j(),i={...P,...e.deps};if(e.reclaimDisableEnv===`1`)return t({event:`skill-repair-skipped`,reason:`reclaim-disabled`}),{status:`skipped`,reason:`reclaim-disabled`};let a=B(e.projectDir,i,n,t),o=await V(r,i,n,t),s=_(r),c=[],l=!1,u=!1;if(s.skillDirs.length>0||s.emptyDirs.length>0)if(e.confirmLegacyCleanup&&await e.confirmLegacyCleanup(s)){try{c=y(r,s)}catch(e){u=!0,t({event:`legacy-fanout-cleanup-refused`,scope:`user`,error:e instanceof Error?e.message:String(e)})}for(let e of c)t({event:`legacy-fanout-path-removed`,scope:`user`,path:e})}else l=!0,t({event:`legacy-fanout-cleanup-declined`,scope:`user`});return{status:`done`,project:a,user:o,legacySwept:c,legacyCleanupDeclined:l,legacyCleanupFailed:u}}function U(e){return e.status===`skipped`?e.reason===`reclaim-disabled`?0:1:e.project.outcome===`skipped`||e.user.outcome===`skipped`&&e.user.reason!==`version-current`&&e.user.reason!==`all-bundles-declined`||e.project.entries.some(e=>e.outcome===`failed`)||e.user.outcome===`done`&&e.user.entries.some(e=>e.outcome===`failed`)?1:0}function W(e){if(e.status===`skipped`)return`Skipped: ${e.reason}`;let t=[`Skill reclaim complete.`];if(e.project.outcome===`done`){let n=e.project.entries.filter(e=>e.outcome===`present`).length,r=e.project.entries.filter(e=>e.outcome===`created`).length,i=e.project.entries.filter(e=>e.outcome===`no-token`).length,a=e.project.entries.filter(e=>e.outcome===`failed`).length;t.push(` Project: ${n} present, ${r} created, ${i} no-token, ${a} failed.`)}else t.push(` Project: skipped (${e.project.reason}).`);if(e.user.outcome===`done`){let n=e.user.entries.filter(e=>e.outcome===`written`).length,r=e.user.entries.filter(e=>e.outcome===`skipped-present`).length,i=e.user.entries.filter(e=>e.outcome===`skipped-host-absent`||e.outcome===`skipped-collapsed-with-central`).length,a=e.user.entries.filter(e=>e.outcome===`failed`).length;t.push(` User (${e.user.version}): ${n} written, ${r} present, ${i} skipped, ${a} failed.`)}else t.push(` User: skipped (${e.user.reason}).`);return e.legacySwept.length>0?t.push(` Cleanup: removed ${e.legacySwept.length} path(s) from a pre-0.42 install.`):e.legacyCleanupFailed?t.push(` Cleanup: failed — see logs; pre-0.42 directories left in place.`):e.legacyCleanupDeclined&&t.push(` Cleanup: declined — pre-0.42 directories left in place.`),t.join(`
|
|
2
|
+
`)}function G(){return new u(`repair-skills`).description("Refresh bundled SKILL.md files for installed AI editors (project-local + user-global). Runs automatically during `ok start`; this command forces an explicit sweep.").option(`-y, --yes`,`Skip the confirmation prompt for removing directories left by a pre-0.42 install.`).action(async e=>{let t=await H({projectDir:C(process.cwd()),reclaimDisableEnv:process.env.OK_RECLAIM_DISABLE??null,confirmLegacyCleanup:t=>K(t,{yes:e.yes===!0})});process.stdout.write(`${W(t)}\n`),process.exitCode=U(t)})}async function K(e,t){let n=j(),r=e=>`~/${S(n,e)}`,i=t.input??process.stdin,a=[``,p(`A previous version of OpenKnowledge installed its skill into agent tools you may never have used.`),d(`(Versions before 0.42 wrote to every host a third-party installer knew about — see issue #820.)`)];if(e.skillDirs.length>0&&a.push(``,`${p(`Remove OpenKnowledge skills:`)} ${e.skillDirs.length}`,...e.skillDirs.map(e=>` ${r(e)}`)),e.emptyDirs.length>0){let t=e.skillDirs.length>0?`Then remove these, which hold nothing else once the above are gone:`:`Remove these empty directories, left behind by that install:`;a.push(``,`${p(t)} ${e.emptyDirs.length}`,...e.emptyDirs.map(e=>` ${r(e)}`))}if(a.push(``,d(`Nothing outside these paths is touched. A directory that still holds anything is kept.`)),process.stdout.write(`${a.join(`
|
|
3
|
+
`)}\n`),t.yes)return!0;if(!i.isTTY)return process.stdout.write(`${f("Not a terminal — skipping cleanup. Re-run with `ok repair-skills --yes` to remove these.")}\n`),!1;let o=M({input:i,output:process.stdout});try{let e=(await o.question(`\n${p(`Remove them?`)} ${d(`[y/N] `)}`)).trim().toLowerCase();return e===`y`||e===`yes`}finally{o.close()}}export{G as n,H as t};
|
|
4
|
+
//# sourceMappingURL=repair-skills-C-3CmI5S.mjs.map
|