@inkeep/open-knowledge 0.47.0-beta.25 → 0.47.0-beta.27
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-C01LwnLj.mjs → abnfDiagram-VRR7QNED-DQjgDcgA.mjs} +2 -2
- package/dist/{acp-harness-probe-DHqSOWxE.mjs → acp-harness-probe-DmKLHS8w.mjs} +3 -3
- package/dist/alias-JE7RI5QX-BfILuEvo.mjs +1 -0
- package/dist/{arc-CYbidMQb.mjs → arc-CO8jsQkL.mjs} +2 -2
- package/dist/architecture-TIHT7OUA-CScIhnar.mjs +1 -0
- package/dist/{architectureDiagram-ZJ3FMSHR-54tD72To.mjs → architectureDiagram-ZJ3FMSHR-CkUIG8wd.mjs} +2 -2
- package/dist/{array-BqQze_vE.mjs → array-Cerc_8W3.mjs} +1 -1
- package/dist/{awk2-BBAGSFUB-C0jQbtG6.mjs → awk2-BBAGSFUB-BH8WxyhW.mjs} +1 -1
- package/dist/{banner--DGfdMN8.mjs → banner-CIK2GwPx.mjs} +1 -1
- package/dist/{base64-4YMZCVJ5-E_RwmVUf.mjs → base64-4YMZCVJ5-CDuRvFBG.mjs} +1 -1
- package/dist/{basename-AA2KJYZQ-Dq2O0Dr6.mjs → basename-AA2KJYZQ-sv8gJZXS.mjs} +1 -1
- package/dist/bash-IJWYRKFO-DKUaUgF9.mjs +1 -0
- package/dist/{blockDiagram-677ZJIJ3-BFWl-x5e.mjs → blockDiagram-677ZJIJ3-sLhYyPCr.mjs} +2 -2
- package/dist/{c4Diagram-LMCZKHZV-BkY5gq8X.mjs → c4Diagram-LMCZKHZV-Cg6dfUXU.mjs} +2 -2
- package/dist/{cat-RDUMLXKC-C3vpYzfr.mjs → cat-RDUMLXKC-BtNo16C3.mjs} +1 -1
- package/dist/channel-DRk0OEK0.mjs +2 -0
- package/dist/{chmod-SYMGL4JA-BzT6KWst.mjs → chmod-SYMGL4JA-B15Xlp42.mjs} +1 -1
- package/dist/{chokidar-BCS--vwu.mjs → chokidar-CVNrjmRM.mjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-BBA6_zq_.mjs → chunk-2Q5K7J3B-2Es1K_NO.mjs} +2 -2
- package/dist/{chunk-2TRDZQLB-C_2g1dOd.mjs → chunk-2TRDZQLB-G1LvPXqq.mjs} +1 -1
- package/dist/{chunk-32BRIVSS-Bsc-9o_O.mjs → chunk-32BRIVSS-ok2xg0Je.mjs} +2 -2
- package/dist/{chunk-3BS5SKQH-nmqNxSIe.mjs → chunk-3BS5SKQH-CFcrGLDG.mjs} +3 -3
- package/dist/{chunk-3H6UQG3A-DLwP7IGN.mjs → chunk-3H6UQG3A-Dx5ykWR0.mjs} +2 -2
- package/dist/{chunk-3ZUFRYJ4-DX32azSC.mjs → chunk-3ZUFRYJ4-DzbWfyzV.mjs} +1 -1
- package/dist/{chunk-4GTNDTRF-BT6SNd8s.mjs → chunk-4GTNDTRF-COTPYeV6.mjs} +2 -2
- package/dist/{chunk-4HHKTUW3-CL0rAYDo.mjs → chunk-4HHKTUW3-BkuKGebe.mjs} +1 -1
- package/dist/{chunk-4Q4SM6WR-Cf1guB-L.mjs → chunk-4Q4SM6WR-i8tiQRv3.mjs} +2 -2
- package/dist/{chunk-52WLFC77-D0ICJuoG.mjs → chunk-52WLFC77-BaT5_S-q.mjs} +2 -2
- package/dist/{chunk-55VFSPNA-B2P94_nY.mjs → chunk-55VFSPNA-Ct9maI6O.mjs} +2 -2
- package/dist/{chunk-5FCAYU7R-DamFELXo.mjs → chunk-5FCAYU7R-of7BBDNL.mjs} +2 -2
- package/dist/{chunk-5HE753X5-CK-MLDEN.mjs → chunk-5HE753X5-9kILZ5Nr.mjs} +2 -2
- package/dist/{chunk-5JV3BV7I-XXAgMX9r.mjs → chunk-5JV3BV7I-BKVVlFxh.mjs} +2 -2
- package/dist/{chunk-5QVNJEHU-0Om-Hby0.mjs → chunk-5QVNJEHU-CvZ-NmqQ.mjs} +2 -2
- package/dist/{chunk-5TONJI2A-Du5dq0Ys.mjs → chunk-5TONJI2A-CGHpmUrS.mjs} +2 -2
- package/dist/{chunk-5V6VZH6T-D9prksm6.mjs → chunk-5V6VZH6T-DdeqP2TW.mjs} +2 -2
- package/dist/{chunk-5VM5RSS4-B9nF5Lzd.mjs → chunk-5VM5RSS4-COK1ErrI.mjs} +2 -2
- package/dist/{chunk-62RKD26F-pjncC7By.mjs → chunk-62RKD26F-RtrcFE7S.mjs} +2 -2
- package/dist/{chunk-64BAICW3-2hCf5wU5.mjs → chunk-64BAICW3-0h-yIc1e.mjs} +2 -2
- package/dist/{chunk-6Z5SFZXK-eDS7YpbK.mjs → chunk-6Z5SFZXK-C5owNg1o.mjs} +2 -2
- package/dist/{chunk-74CEPOFO-D5a5lNJR.mjs → chunk-74CEPOFO--xsxhUFC.mjs} +1 -1
- package/dist/{chunk-7BUUIJ7U-CKtuqKC6.mjs → chunk-7BUUIJ7U-_1oXd84C.mjs} +2 -2
- package/dist/{chunk-7L36YK2X-L3jD5RT-.mjs → chunk-7L36YK2X-VlH7dlrD.mjs} +1 -1
- package/dist/{chunk-7TSDKFEO-Csacasvr.mjs → chunk-7TSDKFEO-BjOrsK6M.mjs} +1 -1
- package/dist/{chunk-A4HU7SVR-B6M8dLIA.mjs → chunk-A4HU7SVR-oMNSpej4.mjs} +1 -1
- package/dist/{chunk-A4JSPFCI-CcbmCyG6.mjs → chunk-A4JSPFCI-DtnWqT5O.mjs} +2 -2
- package/dist/{chunk-A65PWWJC-D_GAtJYb.mjs → chunk-A65PWWJC-LctFeUxK.mjs} +2 -2
- package/dist/{chunk-A7A2DBEE-D1HWRTG-.mjs → chunk-A7A2DBEE-DuuhuGG1.mjs} +1 -1
- package/dist/{chunk-A7ICOL4V-C8N1DqNa.mjs → chunk-A7ICOL4V-CzYDHdxM.mjs} +2 -2
- package/dist/{chunk-ALLTKNUZ-AOz3zDg8.mjs → chunk-ALLTKNUZ-BnLIZXEI.mjs} +2 -2
- package/dist/{chunk-APT7OOP2-e8HVVYt4.mjs → chunk-APT7OOP2-DESh647P.mjs} +2 -2
- package/dist/{chunk-BIQX33UG-CLYGAgEl.mjs → chunk-BIQX33UG-BVtPexox.mjs} +2 -2
- package/dist/{chunk-C7G6YPKG-6PzAyV0E.mjs → chunk-C7G6YPKG-DpNJWc2e.mjs} +2 -2
- package/dist/{chunk-CQNSW5MT-C4GcKMFe.mjs → chunk-CQNSW5MT-B6mAd0WS.mjs} +2 -2
- package/dist/{chunk-CYSBUYHQ-Bg8p94kN.mjs → chunk-CYSBUYHQ-CTWbbsmm.mjs} +2 -2
- package/dist/{chunk-D4J545R4-DstPCHY3.mjs → chunk-D4J545R4-Dy3lcp_X.mjs} +2 -2
- package/dist/{chunk-D6CWQ5DW-B-mbMqx1.mjs → chunk-D6CWQ5DW-Dl4tJcwX.mjs} +2 -2
- package/dist/{chunk-D7MEQ3VN-L5KTglFl.mjs → chunk-D7MEQ3VN-B-Qyxyo5.mjs} +2 -2
- package/dist/{chunk-DBKNVD4L-TDavYUFP.mjs → chunk-DBKNVD4L-Y2Mnp5lC.mjs} +2 -2
- package/dist/{chunk-DCAAORBQ-CVYtUSXu.mjs → chunk-DCAAORBQ-BxtVrSMT.mjs} +2 -2
- package/dist/{chunk-EEXR5ZDP-DKmcp163.mjs → chunk-EEXR5ZDP-BcjEP2wd.mjs} +1 -1
- package/dist/{chunk-EIZGF4BS-CF3xXFmY.mjs → chunk-EIZGF4BS-DYiqM1Ss.mjs} +2 -2
- package/dist/{chunk-EMLP6XTP-DOWW1yTB.mjs → chunk-EMLP6XTP-AFimKO17.mjs} +2 -2
- package/dist/{chunk-EX3LRPZG-Bk8s0J-D.mjs → chunk-EX3LRPZG-BYcqQlY8.mjs} +2 -2
- package/dist/{chunk-F23WWYKW-B1-WhWYU.mjs → chunk-F23WWYKW-BuCITNd6.mjs} +2 -2
- package/dist/{chunk-FWX5IMBZ-BKxaTzwN.mjs → chunk-FWX5IMBZ-BFNo8SGu.mjs} +2 -2
- package/dist/{chunk-GCTKCWKD-C-I4uPLP.mjs → chunk-GCTKCWKD-jz3yOk3f.mjs} +1 -1
- package/dist/{chunk-GOV5EKKI-DMNNr1LX.mjs → chunk-GOV5EKKI-IRzA9ik3.mjs} +2 -2
- package/dist/{chunk-GXVXFKBA-CHoBbpeP.mjs → chunk-GXVXFKBA-CGc4vqMu.mjs} +2 -2
- package/dist/{chunk-HDQ56CKY-D4gBGBPX.mjs → chunk-HDQ56CKY-Svz-iz8m.mjs} +2 -2
- package/dist/{chunk-HJQJAYMS-DfJokS61.mjs → chunk-HJQJAYMS-SgZmT_QE.mjs} +1 -1
- package/dist/{chunk-HJWBQKYG-C34BatAz.mjs → chunk-HJWBQKYG-BqFDM0xp.mjs} +2 -2
- package/dist/{chunk-HKLCLINH-DkU4By68.mjs → chunk-HKLCLINH-DKx243zB.mjs} +3 -3
- package/dist/{chunk-HL6NGDO2-CX48H9NQ.mjs → chunk-HL6NGDO2-B9GCn41X.mjs} +2 -2
- package/dist/{chunk-HOUHSVGY-CM96kWHC.mjs → chunk-HOUHSVGY-Cg_2_CUd.mjs} +2 -2
- package/dist/{chunk-HWKDQ44K-DvFquSuN.mjs → chunk-HWKDQ44K-CVxg-h0V.mjs} +2 -2
- package/dist/{chunk-I57KEIP3-C-GWJFeH.mjs → chunk-I57KEIP3-FVl4IVXz.mjs} +1 -1
- package/dist/{chunk-ICXQ74PX-a_OoZV-J.mjs → chunk-ICXQ74PX-CewdqzeE.mjs} +2 -2
- package/dist/{chunk-JG7HCLWE-BL-hOXz_.mjs → chunk-JG7HCLWE-BgiWVzAI.mjs} +2 -2
- package/dist/{chunk-JVPRLUMK-KIcPtJsL.mjs → chunk-JVPRLUMK-CH7w4zyh.mjs} +2 -2
- package/dist/{chunk-JWPE2WC7-B4cjhMJa.mjs → chunk-JWPE2WC7-cMhWwV9I.mjs} +2 -2
- package/dist/{chunk-K6LIBGJA-DifITl-A.mjs → chunk-K6LIBGJA-DI9ZkJey.mjs} +2 -2
- package/dist/{chunk-KEIR6QF5-D5fHRjH_.mjs → chunk-KEIR6QF5-BhaMJNB5.mjs} +1 -1
- package/dist/{chunk-KMEYNNUA-BulSmamX.mjs → chunk-KMEYNNUA-CabTsa7P.mjs} +2 -2
- package/dist/{chunk-KRBPSX3W-DrDWj6yq.mjs → chunk-KRBPSX3W-ciCGjpAL.mjs} +2 -2
- package/dist/{chunk-LL3S3NLB-rdnne998.mjs → chunk-LL3S3NLB-r8mDpVuz.mjs} +2 -2
- package/dist/{chunk-LTZRCH7N-CcW89saL.mjs → chunk-LTZRCH7N-Cj1hz7m7.mjs} +2 -2
- package/dist/{chunk-LWEGUNWT-56p2g4nb.mjs → chunk-LWEGUNWT-C3ON4AHi.mjs} +2 -2
- package/dist/{chunk-MDDMCKUK-CL40B1CC.mjs → chunk-MDDMCKUK-D3MZs3FF.mjs} +2 -2
- package/dist/{chunk-MDLLFABN-CDjkVtAO.mjs → chunk-MDLLFABN-DgTeOfIY.mjs} +2 -2
- package/dist/{chunk-MHTUABJP-D8V0hAkM.mjs → chunk-MHTUABJP-BbSobv_U.mjs} +1 -1
- package/dist/{chunk-MIZPJHVH-q38ahMm1.mjs → chunk-MIZPJHVH-CzqfuBdK.mjs} +2 -2
- package/dist/{chunk-MLXIYONF-BwLP8wJ5.mjs → chunk-MLXIYONF-BcM04nM_.mjs} +1 -1
- package/dist/{chunk-MOJQB5TN-a3t5NDdo.mjs → chunk-MOJQB5TN-CidbQQ7m.mjs} +2 -2
- package/dist/{chunk-MOZMSUNE-CxsrZHOL.mjs → chunk-MOZMSUNE-DTiZcqZ1.mjs} +2 -2
- package/dist/{chunk-MYE6AGBJ-Dh-4DgDD.mjs → chunk-MYE6AGBJ-B3ukegXT.mjs} +2 -2
- package/dist/{chunk-NAERJDUW-BKjqzg55.mjs → chunk-NAERJDUW-CoAYVGR3.mjs} +2 -2
- package/dist/{chunk-NCNPKYJZ-D7DW6h8D.mjs → chunk-NCNPKYJZ-C1KcgrGe.mjs} +2 -2
- package/dist/{chunk-NUYSJFDK-KW8uL1OU.mjs → chunk-NUYSJFDK-sPbPxu4W.mjs} +2 -2
- package/dist/{chunk-OCLXQMOG-DyesF30h.mjs → chunk-OCLXQMOG-BdLZfp3D.mjs} +2 -2
- package/dist/{chunk-OCS6LSEM-BuHq4vgI.mjs → chunk-OCS6LSEM-7beNWT9m.mjs} +2 -2
- package/dist/{chunk-OGEWGWER-BE748IwJ.mjs → chunk-OGEWGWER-B-Vr80Fa.mjs} +2 -2
- package/dist/{chunk-OSBZ3O6U-xu2H_t-I.mjs → chunk-OSBZ3O6U-DwDyo3Ly.mjs} +2 -2
- package/dist/{chunk-PBXLG62G-Dt3seCXC.mjs → chunk-PBXLG62G-ww-bn-Tp.mjs} +2 -2
- package/dist/{chunk-PP6PSHAB-BoToLAyG.mjs → chunk-PP6PSHAB-xKRHmmOd.mjs} +1 -1
- package/dist/{chunk-PUDLZKDR-CgH8fCPb.mjs → chunk-PUDLZKDR-CI0pacGF.mjs} +2 -2
- package/dist/{chunk-PXTK5WE2-6yLfmmSs.mjs → chunk-PXTK5WE2-Dfi2FrE5.mjs} +1 -1
- package/dist/{chunk-PYSFUGCK-DRdz7MOj.mjs → chunk-PYSFUGCK-BHwvxY2Q.mjs} +2 -2
- package/dist/{chunk-Q4XR5HBZ-Dj_gUljr.mjs → chunk-Q4XR5HBZ-4H-m7p0G.mjs} +2 -2
- package/dist/{chunk-QBLGF6JB-CZlF3VMT.mjs → chunk-QBLGF6JB-B_tvtCRO.mjs} +2 -2
- package/dist/{chunk-QCDB2VPH-BnCQYX4A.mjs → chunk-QCDB2VPH-DHsQu4h6.mjs} +2 -2
- package/dist/{chunk-QJ7O6ZN3-IyfDNhDN.mjs → chunk-QJ7O6ZN3-CTKdWbns.mjs} +2 -2
- package/dist/{chunk-R6QSAL5T-CK5T9nTq.mjs → chunk-R6QSAL5T-DA60heK6.mjs} +1 -1
- package/dist/{chunk-R7FJI6CG-CxRbRaPW.mjs → chunk-R7FJI6CG-BVR1ae7y.mjs} +2 -2
- package/dist/{chunk-RPNGRAAP-Dm3Foy2a.mjs → chunk-RPNGRAAP-df7FdhI4.mjs} +2 -2
- package/dist/{chunk-RYQCIY6F-DsJ8x3au.mjs → chunk-RYQCIY6F-C8F82Uai.mjs} +2 -2
- package/dist/{chunk-SDNKECQQ-eDjS077u.mjs → chunk-SDNKECQQ-BuTL-ot2.mjs} +2 -2
- package/dist/{chunk-SNN4IESC-dc9Emx2i.mjs → chunk-SNN4IESC-DVqEOGsL.mjs} +1 -1
- package/dist/{chunk-T56QNPHK-DcLcXLAt.mjs → chunk-T56QNPHK-COZC2A_r.mjs} +2 -2
- package/dist/{chunk-TLSUDHID-B0bd8ZfM.mjs → chunk-TLSUDHID-DAREQN9J.mjs} +2 -2
- package/dist/{chunk-TOMNU26N-CfKJYNUm.mjs → chunk-TOMNU26N-C3JZDC96.mjs} +2 -2
- package/dist/{chunk-TP4BZANS-EASixEFX.mjs → chunk-TP4BZANS-C2Z-CHHA.mjs} +2 -2
- package/dist/{chunk-TXBZCHCQ-CK2DQwjP.mjs → chunk-TXBZCHCQ-DOaoE5TV.mjs} +2 -2
- package/dist/{chunk-U6XO7XAA-ahVBPW6i.mjs → chunk-U6XO7XAA-BpjdcG5R.mjs} +2 -2
- package/dist/{chunk-V5MWI2OL-Cd1wUWKd.mjs → chunk-V5MWI2OL-D8SKWVO_.mjs} +1 -1
- package/dist/{chunk-V7JOEXUC-Ca3kqXAx.mjs → chunk-V7JOEXUC-CdEIYYNc.mjs} +2 -2
- package/dist/{chunk-V7TAPXDL-B4X-oI_G.mjs → chunk-V7TAPXDL-CQbB1mLa.mjs} +2 -2
- package/dist/chunk-VAUOI2AC-Ds6ZNp2p.mjs +2 -0
- package/dist/{chunk-VJFXDYWH-CYSruK3V.mjs → chunk-VJFXDYWH-C7Lg-Yts.mjs} +2 -2
- package/dist/{chunk-VOBGTVA6-D7PSswl5.mjs → chunk-VOBGTVA6-CKl2LR-K.mjs} +2 -2
- package/dist/{chunk-VR4S4FIN-DFCLUzSW.mjs → chunk-VR4S4FIN-mH-q10Uq.mjs} +2 -2
- package/dist/{chunk-VYOJP4TV-Dv2fFnVt.mjs → chunk-VYOJP4TV-DFxaC5Uc.mjs} +2 -2
- package/dist/{chunk-WKFATFPP-Dj6ID3dE.mjs → chunk-WKFATFPP-R7B51gCW.mjs} +2 -2
- package/dist/{chunk-WYO6CB5R-CkxB2qiV.mjs → chunk-WYO6CB5R-Cg1RXhAT.mjs} +2 -2
- package/dist/{chunk-X2AJGDEF-BAGBpB2e.mjs → chunk-X2AJGDEF-D97qevlv.mjs} +1 -1
- package/dist/{chunk-XKQRETAK-BFwrbyC7.mjs → chunk-XKQRETAK-BTmmMuta.mjs} +2 -2
- package/dist/{chunk-XKWWSDBF-BTq_A_8q.mjs → chunk-XKWWSDBF-BGzAOrO3.mjs} +2 -2
- package/dist/{chunk-XVDPCNWR-BeU4kyoN.mjs → chunk-XVDPCNWR-3ajbQWzU.mjs} +2 -2
- package/dist/chunk-XXDRQBXY-BvbdToKZ.mjs +2 -0
- package/dist/{chunk-Y2CYZVJY-D-AxePDr.mjs → chunk-Y2CYZVJY-C7FmC3Cl.mjs} +1 -1
- package/dist/{chunk-YMMW5UAP-Dk_tcn_t.mjs → chunk-YMMW5UAP-DbBgrudQ.mjs} +2 -2
- package/dist/{chunk-YOTPTUD7-BtJLrOsu.mjs → chunk-YOTPTUD7-BSOqhRr-.mjs} +2 -2
- package/dist/{chunk-YTNYSM6T-D70kTYmT.mjs → chunk-YTNYSM6T-CoxqCaLl.mjs} +2 -2
- package/dist/{chunk-YULBWSET-aTxOIZGk.mjs → chunk-YULBWSET-CuKhTv4j.mjs} +2 -2
- package/dist/{chunk-Z6LRHWXI-BGPMNtJW.mjs → chunk-Z6LRHWXI-CujGXDs8.mjs} +1 -1
- package/dist/{chunk-Z7JVV2SM-Y0p3CYM_.mjs → chunk-Z7JVV2SM-CiJwkxuY.mjs} +2 -2
- package/dist/{chunk-ZGVPDNZ5-DExn7OfJ.mjs → chunk-ZGVPDNZ5-BE_qYP6z.mjs} +2 -2
- package/dist/{chunk-ZIRB5QZD-B2znOhor.mjs → chunk-ZIRB5QZD-mhYZnDzb.mjs} +2 -2
- package/dist/{chunk-ZZO3UDB3-R3zof8I8.mjs → chunk-ZZO3UDB3-DCkJjNN2.mjs} +2 -2
- package/dist/classDiagram-OUVF2IWQ-rKP7gcsT.mjs +2 -0
- package/dist/classDiagram-v2-EOCWNBFH-BoWf4tYI.mjs +2 -0
- package/dist/{clear-5CZ5X4YR-DiniSeCm.mjs → clear-5CZ5X4YR-BNXs_KRD.mjs} +1 -1
- package/dist/cli.mjs +24 -24
- package/dist/{column-WLPMMSTS-B1OOeDAs.mjs → column-WLPMMSTS-BrY1gQI1.mjs} +1 -1
- package/dist/{comm-5SLSESQG-C4Rjg6X-.mjs → comm-5SLSESQG-aGB098lH.mjs} +1 -1
- package/dist/constants-CCTtsxKB.mjs +2 -0
- package/dist/{cose-bilkent-JH36ORCC-DwAqPWSx.mjs → cose-bilkent-JH36ORCC-CMfIp4st.mjs} +2 -2
- package/dist/{du-WO2ENHXQ-D_erNUzD.mjs → cp-XOYR4ABJ-D0LUaMQT.mjs} +1 -1
- package/dist/{curl-47BFPSFW-DtUGPJbr.mjs → curl-47BFPSFW-d1TMPUJw.mjs} +2 -2
- package/dist/{cut-OPC3VAGB-Bh_filgx.mjs → cut-OPC3VAGB-FXZX1WQM.mjs} +1 -1
- package/dist/cynefin-VYW2F7L2-DtazLHUs.mjs +1 -0
- package/dist/{cynefinDiagram-TSTJHNR4-CT6-xML3.mjs → cynefinDiagram-TSTJHNR4-CFbt5v4d.mjs} +2 -2
- package/dist/{cytoscape.esm-B3Kjf-Bp.mjs → cytoscape.esm-Dq6ZD9GH.mjs} +1 -1
- package/dist/{dagre-CTeiWCGh.mjs → dagre-CbI1Ylqw.mjs} +2 -2
- package/dist/{dagre-VKFMJZFB-BGysx5vx.mjs → dagre-VKFMJZFB-BWP36rMX.mjs} +2 -2
- package/dist/{head-HT2B6D2J-BkVS3Xmr.mjs → date-DD7FVA2V-7hk1aW9g.mjs} +1 -1
- package/dist/{defaultLocale-DPK87u2Z.mjs → defaultLocale-9SlCuWEL.mjs} +1 -1
- package/dist/{diagram-FQU43EPY-ZqRG6Q5e.mjs → diagram-FQU43EPY-D2pf7IBH.mjs} +2 -2
- package/dist/{diagram-G47NLZAW-DI7dcuHy.mjs → diagram-G47NLZAW-BlOXaBe6.mjs} +2 -2
- package/dist/{diagram-NH7WQ7WH-D1oPk0UR.mjs → diagram-NH7WQ7WH-DOwRNWDI.mjs} +2 -2
- package/dist/{diagram-OA4YK3LP-Bm3vioHL.mjs → diagram-OA4YK3LP-uyGYHUoX.mjs} +2 -2
- package/dist/{diagram-WEI45ONY-Dn8oUVjW.mjs → diagram-WEI45ONY-CmW1X9Kx.mjs} +2 -2
- package/dist/diff-HJF2MPDN-bcOaHvDo.mjs +1 -0
- package/dist/{dirname-LEMTZZFS-DNEfkSJA.mjs → dirname-LEMTZZFS-RRQ5Ar_Z.mjs} +1 -1
- package/dist/{dist-DODzJ7LG.mjs → dist-BmYngy7b.mjs} +1 -1
- package/dist/{cp-XOYR4ABJ-sYSLIPgW.mjs → du-WO2ENHXQ-Cg71FvLi.mjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-Cv_KK2i9.mjs → ebnfDiagram-CCIWWBDH-BpBYlrRH.mjs} +2 -2
- package/dist/echo-O45JWWI2-BacOdfFs.mjs +1 -0
- package/dist/env-5EPCWSXR-T8XCKOX_.mjs +1 -0
- package/dist/{erDiagram-Q63AITRT-Bt6lGD8v.mjs → erDiagram-Q63AITRT-ChoKKmxG.mjs} +2 -2
- package/dist/eventmodeling-45OFAUF4-BIXp-P6z.mjs +1 -0
- package/dist/{execAsync-BUKncp0P.mjs → execAsync-BKp2jujj.mjs} +1 -1
- package/dist/{execAsync-DEmazqCE.mjs → execAsync-BuUKdKlz.mjs} +1 -1
- package/dist/{expand-DTNXU4LQ-CMN49iyc.mjs → expand-DTNXU4LQ-BD32VJaK.mjs} +1 -1
- package/dist/expr-YYCVMXE3-CgQib9F9.mjs +1 -0
- package/dist/{date-DD7FVA2V-ByX6dFhf.mjs → file-IGDTDPLG-BAlm5q29.mjs} +1 -1
- package/dist/find-DH2ALKQS-z-G7VPmU.mjs +1 -0
- package/dist/flag-coverage-6JEX67RU-Cj_NycUm.mjs +2 -0
- package/dist/flowDiagram-23GEKE2U-B4VrCGdr.mjs +1 -0
- package/dist/{fold-LDSORVYE-CkAvzOUr.mjs → fold-LDSORVYE-CDU-6eOS.mjs} +1 -1
- package/dist/{fs-traced-ArlA_yTp.mjs → fs-traced-Cq61rC8q.mjs} +3 -3
- package/dist/fs-traced-WMTb98_i.mjs +1 -0
- package/dist/{ganttDiagram-NO4QXBWP-DbUuL83g.mjs → ganttDiagram-NO4QXBWP-Cv7sGb-R.mjs} +2 -2
- package/dist/{getMachineId-bsd-Ba_eiHKT.mjs → getMachineId-bsd-DtFrm1Uy.mjs} +2 -2
- package/dist/{getMachineId-bsd-MpjjBCnQ.mjs → getMachineId-bsd-GFl1-Bje.mjs} +2 -2
- package/dist/{getMachineId-darwin-CCowcQE1.mjs → getMachineId-darwin--IR8MP8d.mjs} +2 -2
- package/dist/{getMachineId-darwin-CCtDS2VI.mjs → getMachineId-darwin-28jQHa_N.mjs} +2 -2
- package/dist/{getMachineId-linux-DMjXicei.mjs → getMachineId-linux-BZgyplQ5.mjs} +1 -1
- package/dist/{getMachineId-linux-DdmiwElW.mjs → getMachineId-linux-Bzx3S652.mjs} +1 -1
- package/dist/{getMachineId-unsupported-x9lk4Rw9.mjs → getMachineId-unsupported-CyTjujlI.mjs} +1 -1
- package/dist/{getMachineId-unsupported-xN2oDqpO.mjs → getMachineId-unsupported-DuB0leRF.mjs} +1 -1
- package/dist/{getMachineId-win-DuQfpi_A.mjs → getMachineId-win-BmvAZEMa.mjs} +2 -2
- package/dist/{getMachineId-win-mbAJtBuz.mjs → getMachineId-win-CuOFQQ73.mjs} +2 -2
- package/dist/gitGraph-TEB2WS4Q-BaTdqV7-.mjs +1 -0
- package/dist/{gitGraphDiagram-IHSO6WYX-C-Kq9SCM.mjs → gitGraphDiagram-IHSO6WYX-DxsFHicP.mjs} +2 -2
- package/dist/{graphlib-BRVRb9Ce.mjs → graphlib-DKEQBDTz.mjs} +1 -1
- package/dist/grep-2HUTXO5U-CsEE08ya.mjs +1 -0
- package/dist/gzip-AQXSGOVS-CmMf6H0r.mjs +1 -0
- package/dist/{file-IGDTDPLG-CsAmedJu.mjs → head-HT2B6D2J-DSBJixLD.mjs} +1 -1
- package/dist/help-VVWX7SA5-BncYWg0B.mjs +1 -0
- package/dist/history-J4QRNGRO-CULSDkzp.mjs +1 -0
- package/dist/{hostname-BK6HG2DE-TD2KmZjb.mjs → hostname-BK6HG2DE-CaZb-T_R.mjs} +1 -1
- package/dist/html-to-markdown-TFCECAGV-CF0t8_d3.mjs +1 -0
- package/dist/{index-7O1fNicl.d.mts → index-1MIt1xrM.d.mts} +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +1 -1
- package/dist/info-DKCQHKI2-BxlpeeVn.mjs +1 -0
- package/dist/{infoDiagram-FWYZ7A6U-BcXqPzyL.mjs → infoDiagram-FWYZ7A6U-CbPpTq2x.mjs} +2 -2
- package/dist/{init-CqNa9Ajv.mjs → init-B4vStHhv.mjs} +56 -56
- package/dist/{init-DotcULIJ.mjs → init-Buw5jj4Q.mjs} +1 -1
- package/dist/init-DNKPIF-3.mjs +1 -0
- package/dist/{ishikawaDiagram-FXEZZL3T-tlTxPgv8.mjs → ishikawaDiagram-FXEZZL3T-Dd5BEpOv.mjs} +2 -2
- package/dist/{join-GG2LDHE5-O6S65p4r.mjs → join-GG2LDHE5-kABASDPB.mjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-NczxLuUX.mjs → journeyDiagram-5HDEW3XC-W6Nbr96_.mjs} +2 -2
- package/dist/jq-LYZFFBZB-CIwp4u6h.mjs +1 -0
- package/dist/{js-exec-VXN6TZ7U-BJsjY3Aj.mjs → js-exec-VXN6TZ7U-1yyCDQqM.mjs} +2 -2
- package/dist/{kanban-definition-HUTT4EX6-CJ2cty8a.mjs → kanban-definition-HUTT4EX6-xcwe5vNg.mjs} +2 -2
- package/dist/{launch-json-removal-CDxCqkm-.mjs → launch-json-removal-BIdtII1e.mjs} +2 -2
- package/dist/{lib-BpZC9d5Z.mjs → lib-BCIeHFfP.mjs} +1 -1
- package/dist/{lib-BS_oZ9bm.mjs → lib-TLTWf9qr.mjs} +1 -1
- package/dist/{line-CyR2aPKZ.mjs → line-Cq-NoiNn.mjs} +2 -2
- package/dist/{linear-DHgeTTi3.mjs → linear-DPbvcrPk.mjs} +2 -2
- package/dist/{ln-4TRFBYAT-DErk_Yl0.mjs → ln-4TRFBYAT-Dhr3hBr6.mjs} +1 -1
- package/dist/{loader-hhfbltEg.mjs → loader-DyaU7oQR.mjs} +2 -2
- package/dist/loader-feaGCk--.mjs +1 -0
- package/dist/{logger-5LePyO3n.mjs → logger-BZPV1wv8.mjs} +2 -2
- package/dist/ls-KSXFZCWH-BEv3e7-2.mjs +1 -0
- package/dist/{lzma-yp9l_vMN.mjs → lzma-Dh_aFpqW.mjs} +1 -1
- package/dist/{map-DbF7r1vR.mjs → map-CFzSl60r.mjs} +2 -2
- package/dist/{mcp-migrate-event-CWx0WLdE.mjs → mcp-migrate-event-B1gJf6bG.mjs} +1 -1
- package/dist/md5sum-INMIK4DX-CJ1G9gTe.mjs +1 -0
- package/dist/{mermaid-parser.core-Dq0Vyvhg.mjs → mermaid-parser.core-DejmtVwC.mjs} +2 -2
- package/dist/{mermaid.core-CZm3qvuv.mjs → mermaid.core-CB8v9A8r.mjs} +3 -3
- package/dist/{mindmap-definition-LN4V7U3C-DYytxufy.mjs → mindmap-definition-LN4V7U3C-BiYp6fzL.mjs} +2 -2
- package/dist/mkdir-TDEMSB6C-BY7IIkok.mjs +1 -0
- package/dist/mv-Z6MORUFL-C4m2WG8E.mjs +1 -0
- package/dist/{nl-U5YJDM32-CgnuF_hC.mjs → nl-U5YJDM32-CrNZhLtI.mjs} +1 -1
- package/dist/{od-VJEF2UR5-BTJQNl6y.mjs → od-VJEF2UR5-5RFpmlxK.mjs} +1 -1
- package/dist/{open-browser-71rCCeYe.mjs → open-browser-CwwQWCcr.mjs} +2 -2
- package/dist/{ordinal-CUIZW000.mjs → ordinal-D5S_JXYv.mjs} +2 -2
- package/dist/packet-7NZHBO7P-DJoR1MQJ.mjs +1 -0
- package/dist/paste-7N6AFSDS-DQNANxpk.mjs +1 -0
- package/dist/{path-BT3cGQxQ.mjs → path-D4ahAhVD.mjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-tT5pVAwT.mjs → pegDiagram-2B236MQR-DMP1ng8V.mjs} +2 -2
- package/dist/pie-RZYD4A2V-Ba8iL0H-.mjs +1 -0
- package/dist/{pieDiagram-ENE6RG2P-kD_93j1i.mjs → pieDiagram-ENE6RG2P-CSKXRjGQ.mjs} +2 -2
- package/dist/preview-BTXMtNk6.mjs +1 -0
- package/dist/{preview-Bt83GFAr.mjs → preview-BVOupWPx.mjs} +2 -2
- package/dist/printf-CX64KX2P-CKuJk-Cs.mjs +1 -0
- package/dist/pwd-D4OZ7N27-CSTLotxZ.mjs +1 -0
- package/dist/{python3-DNGS4G3E-BPxhh_Jp.mjs → python3-DNGS4G3E-BZ5fPY5e.mjs} +2 -2
- package/dist/{quadrantDiagram-ABIIQ3AL-CyuIUsL6.mjs → quadrantDiagram-ABIIQ3AL-Do93EPf_.mjs} +2 -2
- package/dist/radar-I7S5WNFK-HP72Fmhl.mjs +1 -0
- package/dist/railroad-3IZDKUUU-DC3PWo_6.mjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-Vgpa9_KI.mjs +1 -0
- package/dist/railroad-ebnf-EBAXGLYW-B4SmMMsT.mjs +1 -0
- package/dist/railroad-peg-LSFZ7HO6-DLlDiUuB.mjs +1 -0
- package/dist/{railroadDiagram-RFXS5EU6-CHD_Jape.mjs → railroadDiagram-RFXS5EU6-BBHONGQu.mjs} +2 -2
- package/dist/readlink-MI4GCHJF-V9fwXBrg.mjs +1 -0
- package/dist/{repair-launch-json-BHf6l_Jv.mjs → repair-launch-json-DaGt48pl.mjs} +2 -2
- package/dist/repair-mcp-configs-TwLS0dUD.mjs +2 -0
- package/dist/repair-skills-CVT6M7om.mjs +4 -0
- package/dist/repair-skills-He_WQsPp.mjs +1 -0
- package/dist/{requirementDiagram-TGXJPOKE-CGQTVdQl.mjs → requirementDiagram-TGXJPOKE-CAGy_wFo.mjs} +2 -2
- package/dist/{rev-XOSYPP45-BGL4FR9H.mjs → rev-XOSYPP45-G2PvMYC2.mjs} +1 -1
- package/dist/rg-XNF3R3II-CuFYIwNn.mjs +1 -0
- package/dist/rm-RTZG23RL-BOvMrhon.mjs +1 -0
- package/dist/rmdir-XTQXT7RK-Dk19R-p8.mjs +1 -0
- package/dist/{rough.cjs-s8-IvpYn.mjs → rough.cjs-LxmwwhvT.mjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-B1AFQN8q.mjs → sankeyDiagram-HTMAVEWB-B59ayZ_U.mjs} +2 -2
- package/dist/{sed-JAPPVBEU-YSD3Wwpz.mjs → sed-JAPPVBEU-BUaK4riL.mjs} +1 -1
- package/dist/seq-RN5ZUASB-D5aLn_so.mjs +1 -0
- package/dist/{sequenceDiagram-DBY2YBRQ-JQ2Wynkh.mjs → sequenceDiagram-DBY2YBRQ-BqY5gm2k.mjs} +2 -2
- package/dist/{server-lock-Cg66XiR-.mjs → server-lock--0V-ESY4.mjs} +2 -2
- package/dist/server-lock-owrYVjgw.mjs +1 -0
- package/dist/sha1sum-VJPNLNU6-DnTKth9v.mjs +1 -0
- package/dist/sha256sum-PI32XWXY-Z-xtGDHc.mjs +1 -0
- package/dist/{sizeCapture-X5ZJPWSS-Btionz6c.mjs → sizeCapture-X5ZJPWSS-D7Nqbe-W.mjs} +2 -2
- package/dist/skill-teardown-POqnRqru.mjs +2 -0
- package/dist/{sleep-VZFPZFWA-DNxq1g-4.mjs → sleep-VZFPZFWA-DcISab6N.mjs} +1 -1
- package/dist/sort-DCNRDA7U-C1gRzOOY.mjs +1 -0
- package/dist/{split-SITCSYCZ-Dl-r5t6o.mjs → split-SITCSYCZ-D4U2N_sH.mjs} +1 -1
- package/dist/{sqlite3-TE5AIOTF-DV5JBdcO.mjs → sqlite3-TE5AIOTF-DcjYN7WW.mjs} +1 -1
- package/dist/{src-nvx4LAFk.mjs → src-BuBt_xnY.mjs} +2 -2
- package/dist/{src-DksXweG3.mjs → src-C9LMhuL4.mjs} +13 -13
- package/dist/src-CKL2S7dl.mjs +20 -0
- package/dist/{src-Jkr5of5-.mjs → src-n6rcQokc.mjs} +1 -1
- package/dist/start-DJONNZUB.mjs +1 -0
- package/dist/{start-4lOaN5Tx.mjs → start-iMpGNdo0.mjs} +3 -3
- package/dist/stat-BT5A227F-B4qwqNn_.mjs +1 -0
- package/dist/{stateDiagram-2N3HPSRC-BzNiMGRR.mjs → stateDiagram-2N3HPSRC-BD1FBZi9.mjs} +2 -2
- package/dist/stateDiagram-v2-6OUMAXLB-CqmBRdZY.mjs +2 -0
- package/dist/strings-7PLOGTPD-BJ6vWsQi.mjs +1 -0
- package/dist/{swimlanes-5IMT3BWC-BrdJ_D0k.mjs → swimlanes-5IMT3BWC-D2eO0gTx.mjs} +2 -2
- package/dist/swimlanesDiagram-G3AALYLV-BiRCZWbo.mjs +9 -0
- package/dist/{tac-SJGXQ4T2-ByjKkvjF.mjs → tac-SJGXQ4T2-D-bfDFKg.mjs} +1 -1
- package/dist/tail-S5ULNTJU-CWnyTuXg.mjs +1 -0
- package/dist/{tar-MZQD7NO4-B2cyr2d4.mjs → tar-MZQD7NO4-Cx5bpVMY.mjs} +1 -1
- package/dist/tee-O7VXZDCO-B_duU1hV.mjs +1 -0
- package/dist/time-DEUO3QV2-CekCKA2I.mjs +1 -0
- package/dist/{timeline-definition-FHXFAJF6-ByhSkc7M.mjs → timeline-definition-FHXFAJF6-DZHpuaV_.mjs} +2 -2
- package/dist/{timeout-VRKMCG72-BJzTDNVp.mjs → timeout-VRKMCG72-DaJVXXR3.mjs} +1 -1
- package/dist/touch-DX2IJOQ4-CZteiICw.mjs +1 -0
- package/dist/tr-2HXZRDSW-D4XuTGWg.mjs +1 -0
- package/dist/tree-LYXBS7DC-CUIzQKTG.mjs +1 -0
- package/dist/treeView-QDETBFTQ-C9yOsbGY.mjs +1 -0
- package/dist/treemap-6X3UGDF4-iowse2nY.mjs +1 -0
- package/dist/true-WHJNXCHG-BzxCUQFd.mjs +1 -0
- package/dist/unexpand-RGTMIGZM-x3XCmR3I.mjs +1 -0
- package/dist/uniq-SUNANL47-DpupkNiO.mjs +1 -0
- package/dist/{vennDiagram-L72KCM5P-CosAdslh.mjs → vennDiagram-L72KCM5P-CGoW4QcS.mjs} +2 -2
- package/dist/wardley-OPB4EBWU-BL1Dan_S.mjs +1 -0
- package/dist/{wardleyDiagram-EHGQE667-Bdo1uN9O.mjs → wardleyDiagram-EHGQE667-DHS8jBWZ.mjs} +2 -2
- package/dist/wc-TQB3VNOX-D8llmcL9.mjs +1 -0
- package/dist/which-XZHEH76L-imZgNd5x.mjs +1 -0
- package/dist/whoami-DGKU3D2X-CzLNG51j.mjs +1 -0
- package/dist/{write-project-skill-B1qOkawu.mjs → write-project-skill-DvqoihuV.mjs} +7 -7
- package/dist/xan-UD7JYIL2-_38Iv1cI.mjs +1 -0
- package/dist/xan-view-OW2TB7Z3-RT-IKMgr.mjs +1 -0
- package/dist/xargs-I6EZUCYF-Bu8VhXV_.mjs +1 -0
- package/dist/{xychartDiagram-FW5EYKEG-CBeluzNN.mjs → xychartDiagram-FW5EYKEG-CG0DSvm_.mjs} +2 -2
- package/dist/yq-OAKYHSXH-BcCBaLJN.mjs +1 -0
- package/package.json +4 -4
- package/dist/alias-JE7RI5QX-BvhaFG9J.mjs +0 -1
- package/dist/architecture-TIHT7OUA-BVYsZR9r.mjs +0 -1
- package/dist/bash-IJWYRKFO-BWspyNyq.mjs +0 -1
- package/dist/channel-DppMxZyL.mjs +0 -2
- package/dist/chunk-VAUOI2AC-CLylHljB.mjs +0 -2
- package/dist/chunk-XXDRQBXY-ClPfCVft.mjs +0 -2
- package/dist/classDiagram-OUVF2IWQ-c5qgwZAE.mjs +0 -2
- package/dist/classDiagram-v2-EOCWNBFH-D9ilZPqi.mjs +0 -2
- package/dist/constants-CF5GEnSr.mjs +0 -2
- package/dist/cynefin-VYW2F7L2-CEVi_iCC.mjs +0 -1
- package/dist/diff-HJF2MPDN-DhZaF2MX.mjs +0 -1
- package/dist/echo-O45JWWI2-B8YWvx1Q.mjs +0 -1
- package/dist/env-5EPCWSXR-Cor7cJ6o.mjs +0 -1
- package/dist/eventmodeling-45OFAUF4-BENS2g0X.mjs +0 -1
- package/dist/expr-YYCVMXE3-VEQOsPiP.mjs +0 -1
- package/dist/find-DH2ALKQS-D4DqPp7j.mjs +0 -1
- package/dist/flag-coverage-6JEX67RU-C21BAvUp.mjs +0 -2
- package/dist/flowDiagram-23GEKE2U-BHZRRZtz.mjs +0 -1
- package/dist/fs-traced-C9U9YUGm.mjs +0 -1
- package/dist/gitGraph-TEB2WS4Q-C-obuzNL.mjs +0 -1
- package/dist/grep-2HUTXO5U-BHpyAWOj.mjs +0 -1
- package/dist/gzip-AQXSGOVS-kgzROhmg.mjs +0 -1
- package/dist/help-VVWX7SA5-Cnq4Pk95.mjs +0 -1
- package/dist/history-J4QRNGRO-ChaCzoJD.mjs +0 -1
- package/dist/html-to-markdown-TFCECAGV-DRmuleyA.mjs +0 -1
- package/dist/info-DKCQHKI2-_AQUrTgC.mjs +0 -1
- package/dist/init-DSgvnSUq.mjs +0 -1
- package/dist/jq-LYZFFBZB-DTUwGGgl.mjs +0 -1
- package/dist/loader-Es6WDxcH.mjs +0 -1
- package/dist/ls-KSXFZCWH-DQIF-HgH.mjs +0 -1
- package/dist/md5sum-INMIK4DX-BElHH82h.mjs +0 -1
- package/dist/mkdir-TDEMSB6C-BnpJKc8r.mjs +0 -1
- package/dist/mv-Z6MORUFL-CFyBiApv.mjs +0 -1
- package/dist/packet-7NZHBO7P-CHMfNci8.mjs +0 -1
- package/dist/paste-7N6AFSDS-CnLMuz8G.mjs +0 -1
- package/dist/pie-RZYD4A2V-02sGjUcO.mjs +0 -1
- package/dist/preview-CXK4XweW.mjs +0 -1
- package/dist/printf-CX64KX2P-DyVBy6Mg.mjs +0 -1
- package/dist/pwd-D4OZ7N27-Pga3crue.mjs +0 -1
- package/dist/radar-I7S5WNFK-gNSWd2rG.mjs +0 -1
- package/dist/railroad-3IZDKUUU-tTi02nbm.mjs +0 -1
- package/dist/railroad-abnf-AHOZXSZD-DD6KwCgt.mjs +0 -1
- package/dist/railroad-ebnf-EBAXGLYW-zJw8iMTp.mjs +0 -1
- package/dist/railroad-peg-LSFZ7HO6-8PbAUZs1.mjs +0 -1
- package/dist/readlink-MI4GCHJF-D9QYkCU0.mjs +0 -1
- package/dist/repair-mcp-configs-sGc_LQ8x.mjs +0 -2
- package/dist/repair-skills-B9fwDZT5.mjs +0 -1
- package/dist/repair-skills-CZ-a80SS.mjs +0 -4
- package/dist/rg-XNF3R3II-BMfKONjk.mjs +0 -1
- package/dist/rm-RTZG23RL-vsz0Vtsc.mjs +0 -1
- package/dist/rmdir-XTQXT7RK-C9jARGFn.mjs +0 -1
- package/dist/seq-RN5ZUASB-hcgHczjD.mjs +0 -1
- package/dist/server-lock-DyY9o-h3.mjs +0 -1
- package/dist/sha1sum-VJPNLNU6-KpqF3VUr.mjs +0 -1
- package/dist/sha256sum-PI32XWXY-BI7zTPJ3.mjs +0 -1
- package/dist/sort-DCNRDA7U-urKKiOkB.mjs +0 -1
- package/dist/src-CyZ_Fblf.mjs +0 -20
- package/dist/start-C3008tb7.mjs +0 -1
- package/dist/stat-BT5A227F-BzZhqUU7.mjs +0 -1
- package/dist/stateDiagram-v2-6OUMAXLB-8Ywz0Hzd.mjs +0 -2
- package/dist/strings-7PLOGTPD-BYF-zQB5.mjs +0 -1
- package/dist/swimlanesDiagram-G3AALYLV-Df_BjTMR.mjs +0 -9
- package/dist/tail-S5ULNTJU-Bu45hbfn.mjs +0 -1
- package/dist/tee-O7VXZDCO-D5VPiyFZ.mjs +0 -1
- package/dist/time-DEUO3QV2-DTXF6o9u.mjs +0 -1
- package/dist/touch-DX2IJOQ4-CJL2LWzm.mjs +0 -1
- package/dist/tr-2HXZRDSW-BMEHkLkI.mjs +0 -1
- package/dist/tree-LYXBS7DC-B9nDoMUt.mjs +0 -1
- package/dist/treeView-QDETBFTQ-b0kDTk8s.mjs +0 -1
- package/dist/treemap-6X3UGDF4-CbmqvOp3.mjs +0 -1
- package/dist/true-WHJNXCHG-BrTi18ZN.mjs +0 -1
- package/dist/unexpand-RGTMIGZM-Cz9o379Y.mjs +0 -1
- package/dist/uniq-SUNANL47-Jq_1JF4a.mjs +0 -1
- package/dist/wardley-OPB4EBWU-58Nq0iPk.mjs +0 -1
- package/dist/wc-TQB3VNOX-8TWuJ_OV.mjs +0 -1
- package/dist/which-XZHEH76L-C0nS7069.mjs +0 -1
- package/dist/whoami-DGKU3D2X-BRFeF7SV.mjs +0 -1
- package/dist/xan-UD7JYIL2-CsuyuKIz.mjs +0 -1
- package/dist/xan-view-OW2TB7Z3-BQPByClA.mjs +0 -1
- package/dist/xargs-I6EZUCYF-CfQ6WD0x.mjs +0 -1
- package/dist/yq-OAKYHSXH-q34fmnbQ.mjs +0 -1
- /package/dist/{expansion-VBDYWVZR-e2HuIG0U.mjs → expansion-VBDYWVZR-CeY6vkty.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-B1gJf6bG.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-APT7OOP2-DESh647P.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-BhaMJNB5.mjs";import"./chunk-MOZMSUNE-DTiZcqZ1.mjs";import"./chunk-OSBZ3O6U-DwDyo3Ly.mjs";import"./chunk-5JV3BV7I-BKVVlFxh.mjs";import"./chunk-CYSBUYHQ-CTWbbsmm.mjs";import"./chunk-BIQX33UG-BVtPexox.mjs";import"./chunk-EMLP6XTP-AFimKO17.mjs";import"./chunk-YOTPTUD7-BSOqhRr-.mjs";import"./chunk-QBLGF6JB-B_tvtCRO.mjs";import"./chunk-5TONJI2A-CGHpmUrS.mjs";import"./chunk-5HE753X5-9kILZ5Nr.mjs";import"./chunk-U6XO7XAA-BpjdcG5R.mjs";import"./chunk-JG7HCLWE-BgiWVzAI.mjs";import"./chunk-CQNSW5MT-B6mAd0WS.mjs";import"./chunk-R7FJI6CG-BVR1ae7y.mjs";import"./chunk-5FCAYU7R-of7BBDNL.mjs";var t={},n={info:e(async()=>{let{createInfoServices:e}=await import(`./info-DKCQHKI2-BxlpeeVn.mjs`);t.info=e().Info.parser.LangiumParser},`info`),packet:e(async()=>{let{createPacketServices:e}=await import(`./packet-7NZHBO7P-DJoR1MQJ.mjs`);t.packet=e().Packet.parser.LangiumParser},`packet`),pie:e(async()=>{let{createPieServices:e}=await import(`./pie-RZYD4A2V-Ba8iL0H-.mjs`);t.pie=e().Pie.parser.LangiumParser},`pie`),treeView:e(async()=>{let{createTreeViewServices:e}=await import(`./treeView-QDETBFTQ-C9yOsbGY.mjs`);t.treeView=e().TreeView.parser.LangiumParser},`treeView`),architecture:e(async()=>{let{createArchitectureServices:e}=await import(`./architecture-TIHT7OUA-CScIhnar.mjs`);t.architecture=e().Architecture.parser.LangiumParser},`architecture`),gitGraph:e(async()=>{let{createGitGraphServices:e}=await import(`./gitGraph-TEB2WS4Q-BaTdqV7-.mjs`);t.gitGraph=e().GitGraph.parser.LangiumParser},`gitGraph`),eventmodeling:e(async()=>{let{createEventModelingServices:e}=await import(`./eventmodeling-45OFAUF4-BIXp-P6z.mjs`);t.eventmodeling=e().EventModel.parser.LangiumParser},`eventmodeling`),radar:e(async()=>{let{createRadarServices:e}=await import(`./radar-I7S5WNFK-HP72Fmhl.mjs`);t.radar=e().Radar.parser.LangiumParser},`radar`),railroad:e(async()=>{let{createRailroadServices:e}=await import(`./railroad-3IZDKUUU-DC3PWo_6.mjs`);t.railroad=e().Railroad.parser.LangiumParser},`railroad`),railroadEbnf:e(async()=>{let{createRailroadEbnfServices:e}=await import(`./railroad-ebnf-EBAXGLYW-B4SmMMsT.mjs`);t.railroadEbnf=e().RailroadEbnf.parser.LangiumParser},`railroadEbnf`),railroadAbnf:e(async()=>{let{createRailroadAbnfServices:e}=await import(`./railroad-abnf-AHOZXSZD-Vgpa9_KI.mjs`);t.railroadAbnf=e().RailroadAbnf.parser.LangiumParser},`railroadAbnf`),railroadPeg:e(async()=>{let{createRailroadPegServices:e}=await import(`./railroad-peg-LSFZ7HO6-DLlDiUuB.mjs`);t.railroadPeg=e().RailroadPeg.parser.LangiumParser},`railroadPeg`),treemap:e(async()=>{let{createTreemapServices:e}=await import(`./treemap-6X3UGDF4-iowse2nY.mjs`);t.treemap=e().Treemap.parser.LangiumParser},`treemap`),wardley:e(async()=>{let{createWardleyServices:e}=await import(`./wardley-OPB4EBWU-BL1Dan_S.mjs`);t.wardley=e().Wardley.parser.LangiumParser},`wardley`),cynefin:e(async()=>{let{createCynefinServices:e}=await import(`./cynefin-VYW2F7L2-DtazLHUs.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-DejmtVwC.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-C7FmC3Cl.mjs";import{h as t,m as n,p as r}from"./src-BuBt_xnY.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-Cg1RXhAT.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-CewdqzeE.mjs";import{t as fe}from"./chunk-VAUOI2AC-Ds6ZNp2p.mjs";import{r as pe}from"./chunk-HOUHSVGY-Cg_2_CUd.mjs";import{r as me}from"./chunk-Q4XR5HBZ-4H-m7p0G.mjs";import"./chunk-7BUUIJ7U-_1oXd84C.mjs";import"./chunk-OGEWGWER-B-Vr80Fa.mjs";import"./chunk-C7G6YPKG-DpNJWc2e.mjs";import"./chunk-ZGVPDNZ5-BE_qYP6z.mjs";import"./chunk-52WLFC77-BaT5_S-q.mjs";import{n as he}from"./chunk-FWX5IMBZ-BFNo8SGu.mjs";import{n as ge,t as _e}from"./chunk-ZIRB5QZD-mhYZnDzb.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-Cg6dfUXU.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-B4VrCGdr.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-B4VrCGdr.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-BiRCZWbo.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-ChoKKmxG.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-DxsFHicP.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-Cv7sGb-R.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-CbPpTq2x.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-CSKXRjGQ.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-Do93EPf_.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-CG0DSvm_.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-CAGy_wFo.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-BqY5gm2k.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-rKP7gcsT.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-BoWf4tYI.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-BD1FBZi9.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-CqmBRdZY.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-W6Nbr96_.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-B4VrCGdr.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-DZHpuaV_.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-BiYp6fzL.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-xcwe5vNg.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-B59ayZ_U.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-DOwRNWDI.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-CmW1X9Kx.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-sLhYyPCr.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-uyGYHUoX.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-CkUIG8wd.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-D2pf7IBH.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-Dd5BEpOv.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-CGoW4QcS.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-BlOXaBe6.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-DHS8jBWZ.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-CFbt5v4d.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-BBHONGQu.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-BpBYlrRH.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-DQjgDcgA.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-DMP1ng8V.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-D-AxePDr.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-CB8v9A8r.mjs.map
|
package/dist/{mindmap-definition-LN4V7U3C-DYytxufy.mjs → mindmap-definition-LN4V7U3C-BiYp6fzL.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-C7FmC3Cl.mjs";import{m as t}from"./src-BuBt_xnY.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-Cg1RXhAT.mjs";import"./chunk-ICXQ74PX-CewdqzeE.mjs";import"./chunk-HOUHSVGY-Cg_2_CUd.mjs";import"./chunk-Q4XR5HBZ-4H-m7p0G.mjs";import"./chunk-7BUUIJ7U-_1oXd84C.mjs";import"./chunk-OGEWGWER-B-Vr80Fa.mjs";import{t as u}from"./chunk-XXDRQBXY-BvbdToKZ.mjs";import{t as d}from"./chunk-VR4S4FIN-mH-q10Uq.mjs";import"./chunk-C7G6YPKG-DpNJWc2e.mjs";import"./chunk-ZGVPDNZ5-BE_qYP6z.mjs";import"./chunk-52WLFC77-BaT5_S-q.mjs";import{r as f,t as p}from"./chunk-FWX5IMBZ-BFNo8SGu.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-BiYp6fzL.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-MDDMCKUK-D3MZs3FF.mjs";export{e as mkdirCommand};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-A4JSPFCI-DtnWqT5O.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-BuCITNd6.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-xKRHmmOd.mjs";export{e as od};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Br as e}from"./src-
|
|
2
|
-
//# sourceMappingURL=open-browser-
|
|
1
|
+
import{Br as e}from"./src-C9LMhuL4.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-CwwQWCcr.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./init-
|
|
2
|
-
//# sourceMappingURL=ordinal-
|
|
1
|
+
import{t as e}from"./init-Buw5jj4Q.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-D5S_JXYv.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-BhaMJNB5.mjs";import{n as e}from"./chunk-EMLP6XTP-AFimKO17.mjs";export{e as createPacketServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-JVPRLUMK-CH7w4zyh.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-D4ahAhVD.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-BgiWVzAI.mjs";import{n as t}from"./chunk-Y2CYZVJY-C7FmC3Cl.mjs";import{m as n}from"./src-BuBt_xnY.mjs";import"./chunk-WYO6CB5R-Cg1RXhAT.mjs";import"./chunk-VAUOI2AC-Ds6ZNp2p.mjs";import{n as r,r as i,t as a}from"./chunk-MOJQB5TN-CidbQQ7m.mjs";import{t as o}from"./chunk-JWPE2WC7-cMhWwV9I.mjs";import{t as s}from"./mermaid-parser.core-DejmtVwC.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-DMP1ng8V.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-BhaMJNB5.mjs";import{n as e}from"./chunk-YOTPTUD7-BSOqhRr-.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-C7FmC3Cl.mjs";import{m as t}from"./src-BuBt_xnY.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-Cg1RXhAT.mjs";import{t as f}from"./ordinal-D5S_JXYv.mjs";import{n as p}from"./path-D4ahAhVD.mjs";import{m}from"./dist-BmYngy7b.mjs";import{t as h}from"./arc-CO8jsQkL.mjs";import{t as g}from"./array-Cerc_8W3.mjs";import{i as _,p as v}from"./chunk-ICXQ74PX-CewdqzeE.mjs";import{t as y}from"./chunk-VAUOI2AC-Ds6ZNp2p.mjs";import{t as b}from"./chunk-JWPE2WC7-cMhWwV9I.mjs";import{n as x}from"./mermaid-parser.core-DejmtVwC.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-D-AxePDr.mjs";import{m as t}from"./src-nvx4L
|
|
|
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-CSKXRjGQ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"./preview-BVOupWPx.mjs";export{t as formatPreviewBlock,e as previewContent};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{Or as e}from"./src-
|
|
1
|
+
import{Or as e}from"./src-C9LMhuL4.mjs";import"./constants-CCTtsxKB.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-BVOupWPx.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-T56QNPHK-COZC2A_r.mjs";export{e as printfCommand};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-A4HU7SVR-oMNSpej4.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--xsxhUFC.mjs";import{n as u,t as d}from"./chunk-I57KEIP3-FVl4IVXz.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-BZ5fPY5e.mjs.map
|
package/dist/{quadrantDiagram-ABIIQ3AL-CyuIUsL6.mjs → quadrantDiagram-ABIIQ3AL-Do93EPf_.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-C7FmC3Cl.mjs";import{m as t,p as n}from"./src-BuBt_xnY.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-Cg1RXhAT.mjs";import{t as h}from"./linear-DPbvcrPk.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-Do93EPf_.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-BhaMJNB5.mjs";import{n as e}from"./chunk-QBLGF6JB-B_tvtCRO.mjs";export{e as createRadarServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-BhaMJNB5.mjs";import{n as e}from"./chunk-5TONJI2A-CGHpmUrS.mjs";export{e as createRailroadServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-BhaMJNB5.mjs";import{n as e}from"./chunk-5HE753X5-9kILZ5Nr.mjs";export{e as createRailroadAbnfServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-BhaMJNB5.mjs";import{n as e}from"./chunk-U6XO7XAA-BpjdcG5R.mjs";export{e as createRailroadEbnfServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-BhaMJNB5.mjs";import{n as e}from"./chunk-JG7HCLWE-BgiWVzAI.mjs";export{e as createRailroadPegServices};
|
package/dist/{railroadDiagram-RFXS5EU6-CHD_Jape.mjs → railroadDiagram-RFXS5EU6-BBHONGQu.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-CGHpmUrS.mjs";import{n as t}from"./chunk-Y2CYZVJY-C7FmC3Cl.mjs";import{m as n}from"./src-BuBt_xnY.mjs";import"./chunk-WYO6CB5R-Cg1RXhAT.mjs";import"./chunk-VAUOI2AC-Ds6ZNp2p.mjs";import{n as r,r as i,t as a}from"./chunk-MOJQB5TN-CidbQQ7m.mjs";import{t as o}from"./chunk-JWPE2WC7-cMhWwV9I.mjs";import{t as s}from"./mermaid-parser.core-DejmtVwC.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-BBHONGQu.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-HJWBQKYG-BqFDM0xp.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-BIdtII1e.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-DaGt48pl.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as e,g as t,s as n}from"./write-project-skill-DvqoihuV.mjs";import{d as r,v as i}from"./init-B4vStHhv.mjs";import{t as a}from"./mcp-migrate-event-B1gJf6bG.mjs";import{homedir as o}from"node:os";function s(t){let r=t.logger??u,i=t.home??o(),a=[];if(t.reclaimDisableEnv===`1`)return r({event:`mcp-config-repair-skipped`,reason:`reclaim-disabled`}),{outcomes:a,repairedCount:0};for(let o of e){let e=n[o],s=c(()=>e.configPath(``,i));if(s!==null&&a.push(l({scope:`user`,editorId:o,target:e,home:i,cwd:``,configPath:s,configPathOverride:void 0,logger:r})),e.projectConfigPath){let n=e.projectConfigPath,i=c(()=>n(t.projectDir));i!==null&&a.push(l({scope:`project`,editorId:o,target:e,home:void 0,cwd:t.projectDir,configPath:i,configPathOverride:i,logger:r}))}}return{outcomes:a,repairedCount:a.filter(e=>e.outcome===`repaired`).length}}function c(e){try{return e()}catch{return null}}function l(e){let n={scope:e.scope,editorId:e.editorId,configPath:e.configPath},o=r(e.target,e.cwd,e.home,e.configPathOverride);if(o===null)return{...n,outcome:`no-entry`};if(t(o))return{...n,outcome:`canonical`};e.logger(a({scope:e.scope,surface:`cli-repair`,editorId:e.editorId,configPath:e.configPath,priorEntry:o}));let s=i(e.target,e.cwd,{mode:`published`,skipAvailabilityCheck:!0},e.home,e.configPathOverride);if(s.action===`failed`){let t=s.error??`unknown write failure`;return e.logger({event:`mcp-config-repair-write-failed`,scope:e.scope,editorId:e.editorId,configPath:e.configPath,error:t}),{...n,outcome:`write-failed`,error:t}}return s.action===`declined`?(e.logger({event:`mcp-config-repair-declined`,scope:e.scope,editorId:e.editorId,configPath:e.configPath,reason:s.declineReason}),{...n,outcome:`declined`}):{...n,outcome:`repaired`}}function u(e){process.stderr.write(`${JSON.stringify(e)}\n`)}export{s as repairMcpConfigs};
|
|
2
|
+
//# sourceMappingURL=repair-mcp-configs-TwLS0dUD.mjs.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{R as e}from"./src-Bnk118Ag.mjs";import{Xn as t,Zn as n,dr as r,er as i,ir as a,nr as o,or as s,tr as c,ur as l}from"./src-C9LMhuL4.mjs";import{c as u,s as d,t as f,x as p}from"./write-project-skill-DvqoihuV.mjs";import{n as m,s as h,t as g}from"./colors-BsmVIwfM.mjs";import{n as _,r as v,t as y}from"./skill-teardown-POqnRqru.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:()=>s(`project`,{checkDesktop:!1}),resolveUserBundledSkillDir:e=>s(e,{checkDesktop:!1}),readBundledVersion:()=>n(),readRecordedVersion:e=>i(e,`cli-hosts`),writeRecordedVersion:(e,t)=>o(e,`cli-hosts`,t,`cli-start`),recordEvent:e=>a(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 u){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 u){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=d[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{f(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,n,i,a){let o=e=>{n.recordEvent(e).catch(()=>{})},s=()=>new Date().toISOString(),c;try{c=await n.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 n.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 r)try{d.push({id:e,sourceDir:n.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 r of d){let o=l[r.id],s=i.existsSync(x(t,`.agents`,`skills`,o)),c=await n.readBundleDecision(t,o).catch(()=>null);if(!e(c,{installedOnDisk:s})){if(s)try{n.removeBundleFromDisk(t,r.id),a({event:`user-skill-reclaim-bundle-declined-removed`,scope:`user`,bundle:r.id})}catch(e){a({event:`user-skill-reclaim-bundle-remove-failed`,scope:`user`,bundle:r.id,error:e instanceof Error?e.message:String(e)})}continue}if(c===null&&s)try{await n.writeBundleDecision(t,o,!0)}catch(e){a({event:`user-skill-reclaim-grandfather-write-failed`,scope:`user`,bundle:r.id,error:e instanceof Error?e.message:String(e)})}p.push(r)}if(p.length===0)return{outcome:`skipped`,reason:`all-bundles-declined`};let m=p.every(e=>i.existsSync(x(t,`.agents`,`skills`,l[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===r.length,_=[];for(let{id:e,sourceDir:n}of p){let r=R(t,l[e],n,i,a,c);h.push(...r.entries),_.push({id:e,centralWritten:r.centralWritten})}let v=h.some(e=>e.kind===`central`&&e.outcome===`failed`);if(g&&!v){let e=null;try{await n.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 p(`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=[``,g(`A previous version of OpenKnowledge installed its skill into agent tools you may never have used.`),m(`(Versions before 0.42 wrote to every host a third-party installer knew about — see issue #820.)`)];if(e.skillDirs.length>0&&a.push(``,`${g(`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(``,`${g(t)} ${e.emptyDirs.length}`,...e.emptyDirs.map(e=>` ${r(e)}`))}if(a.push(``,m(`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(`${h("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${g(`Remove them?`)} ${m(`[y/N] `)}`)).trim().toLowerCase();return e===`y`||e===`yes`}finally{o.close()}}export{G as n,H as t};
|
|
4
|
+
//# sourceMappingURL=repair-skills-CVT6M7om.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./repair-skills-CVT6M7om.mjs";export{e as repairSkills};
|