@inkeep/open-knowledge 0.33.0-beta.5 → 0.33.0-beta.7
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/{_baseFor-DgUmPvii.mjs → _baseFor-CMmZqlg4.mjs} +1 -1
- package/dist/alias-JE7RI5QX-DUBvIpa7.mjs +1 -0
- package/dist/{arc-DeCRbT14.mjs → arc-CQLjZPEs.mjs} +2 -2
- package/dist/architecture-YZFGNWBL-BGsYftSC.mjs +1 -0
- package/dist/{architectureDiagram-Q4EWVU46-Ddeiwqm4.mjs → architectureDiagram-Q4EWVU46-DGG0IyfP.mjs} +2 -2
- package/dist/{array-CB05KhfS.mjs → array-BNmwzyCf.mjs} +1 -1
- package/dist/assets/skills/discovery/SKILL.md +1 -1
- package/dist/assets/skills/project/SKILL.md +1 -1
- package/dist/awk2-BBAGSFUB-BSXvsYKE.mjs +1 -0
- package/dist/{banner-BeBA-IMp.mjs → banner-DsGpC-o3.mjs} +2 -2
- package/dist/base64-4YMZCVJ5-r5zsLj5P.mjs +1 -0
- package/dist/basename-AA2KJYZQ-DlSFPnLd.mjs +1 -0
- package/dist/bash-IJWYRKFO-CMwhRejZ.mjs +1 -0
- package/dist/{blockDiagram-DXYQGD6D-Cym5AJGx.mjs → blockDiagram-DXYQGD6D-DO_ZPiei.mjs} +2 -2
- package/dist/{build-CN003PPg.mjs → build-BGRQ9c88.mjs} +1 -1
- package/dist/build-C__Nqi6T.mjs +1 -0
- package/dist/{c4Diagram-AHTNJAMY-B7HMnVPk.mjs → c4Diagram-AHTNJAMY-CYnXxcYe.mjs} +2 -2
- package/dist/cat-RDUMLXKC-CBoLzbAA.mjs +1 -0
- package/dist/channel-Dz_kn09_.mjs +2 -0
- package/dist/chmod-SYMGL4JA-L3CtA8Q4.mjs +1 -0
- package/dist/{chokidar-C-Jds_Bg.mjs → chokidar-CrFRJt-7.mjs} +1 -1
- package/dist/{chunk-24IMIIXA-DaS5XS55.mjs → chunk-24IMIIXA-ByE3n7F5.mjs} +2 -2
- package/dist/{chunk-2KRD3SAO-Ci0JL9ng.mjs → chunk-2KRD3SAO-CC8_tMR3.mjs} +2 -2
- package/dist/{chunk-2TRDZQLB-Kqh0farN.mjs → chunk-2TRDZQLB-DJYfX1DB.mjs} +2 -2
- package/dist/{chunk-336JU56O-MOsDPDtl.mjs → chunk-336JU56O-D5mJPHrS.mjs} +2 -2
- package/dist/{chunk-3BS5SKQH-Chc9fv52.mjs → chunk-3BS5SKQH-C7siUFvi.mjs} +3 -3
- package/dist/{chunk-3H6UQG3A-B7zoJt1R.mjs → chunk-3H6UQG3A-jehz9Mov.mjs} +2 -2
- package/dist/{chunk-3THT3N7L-B1WzJUh4.mjs → chunk-3THT3N7L-DNeAafDi.mjs} +1 -1
- package/dist/{chunk-3ZUFRYJ4-DQB4hWDy.mjs → chunk-3ZUFRYJ4-5tUBEJiQ.mjs} +1 -1
- package/dist/chunk-426QAEUC-C79-xu4k.mjs +2 -0
- package/dist/{chunk-44UOCSGV-BZ6LfyW2.mjs → chunk-44UOCSGV-C07LY83n.mjs} +1 -1
- package/dist/{chunk-4BX2VUAB-BXGPfnwm.mjs → chunk-4BX2VUAB-CeLVr99T.mjs} +2 -2
- package/dist/{chunk-4GTNDTRF-CexF8C0H.mjs → chunk-4GTNDTRF-C79jHZPW.mjs} +2 -2
- package/dist/{chunk-4HHKTUW3-CewYv3NE.mjs → chunk-4HHKTUW3-C9w0lckj.mjs} +1 -1
- package/dist/{chunk-4Q4SM6WR-D6TVzfh2.mjs → chunk-4Q4SM6WR-BBf5_ewP.mjs} +2 -2
- package/dist/{chunk-4TB4RGXK-B0uHEnHn.mjs → chunk-4TB4RGXK-n_iVg8hq.mjs} +2 -2
- package/dist/{chunk-55IACEB6-CWM_Woee.mjs → chunk-55IACEB6-DnxgLkXS.mjs} +2 -2
- package/dist/{chunk-55VFSPNA-BoFmUszu.mjs → chunk-55VFSPNA-BI1ZlfMG.mjs} +2 -2
- package/dist/{chunk-5FUZZQ4R-BSIWed9s.mjs → chunk-5FUZZQ4R-D0CI_lA3.mjs} +2 -2
- package/dist/{chunk-5PVQY5BW-_JlgOiAb.mjs → chunk-5PVQY5BW-CM3DDgan.mjs} +2 -2
- package/dist/{chunk-5QMZ5MUS-BwpNU33k.mjs → chunk-5QMZ5MUS-DvwGjmAW.mjs} +2 -2
- package/dist/{chunk-5QVNJEHU-DJjin--s.mjs → chunk-5QVNJEHU-BwcO0gX-.mjs} +2 -2
- package/dist/{chunk-5V6VZH6T-BEpcJpsv.mjs → chunk-5V6VZH6T-CsG6wUhk.mjs} +2 -2
- package/dist/{chunk-62RKD26F-uqVDf3rA.mjs → chunk-62RKD26F-CgKazjAi.mjs} +2 -2
- package/dist/{chunk-64BAICW3-BlKhhT3-.mjs → chunk-64BAICW3-DZxI2NVA.mjs} +2 -2
- package/dist/{chunk-67CJDMHE-CADkctrU.mjs → chunk-67CJDMHE-CrUJnyQp.mjs} +2 -2
- package/dist/{chunk-6Z5SFZXK-DuXsHt84.mjs → chunk-6Z5SFZXK-CqxoPFbR.mjs} +2 -2
- package/dist/{chunk-74CEPOFO-CciWp7CZ.mjs → chunk-74CEPOFO-smMq6g2B.mjs} +1 -1
- package/dist/{chunk-7L36YK2X-Cok_Mfzv.mjs → chunk-7L36YK2X-BEYeMppm.mjs} +1 -1
- package/dist/{chunk-7N4EOEYR-D0VnhW8C.mjs → chunk-7N4EOEYR-qv4-7fqt.mjs} +2 -2
- package/dist/{chunk-7TSDKFEO-9ACIOuIO.mjs → chunk-7TSDKFEO-B7rhvhjt.mjs} +1 -1
- package/dist/{chunk-A4HU7SVR-DPxgapmK.mjs → chunk-A4HU7SVR-BReRiEUm.mjs} +1 -1
- package/dist/{chunk-A4JSPFCI-B_-pySix.mjs → chunk-A4JSPFCI-CzC3HvcT.mjs} +2 -2
- package/dist/{chunk-A5O5YHGN-DApqA6Ow.mjs → chunk-A5O5YHGN-0FmmnDn4.mjs} +2 -2
- package/dist/{chunk-A65PWWJC-DRkFYIUZ.mjs → chunk-A65PWWJC-DDcfQP9l.mjs} +2 -2
- package/dist/{chunk-A7A2DBEE-DGJklf-9.mjs → chunk-A7A2DBEE-DxoLZwYW.mjs} +1 -1
- package/dist/{chunk-A7ICOL4V-BSbI3udS.mjs → chunk-A7ICOL4V-DLpBcLKS.mjs} +2 -2
- package/dist/{chunk-AA7GKIK3-DiBKA6eA.mjs → chunk-AA7GKIK3-hv3Reau6.mjs} +2 -2
- package/dist/{chunk-ALLTKNUZ-B1s5GUUO.mjs → chunk-ALLTKNUZ-8gj-zLqF.mjs} +2 -2
- package/dist/{chunk-APT7OOP2-CgGkczFr.mjs → chunk-APT7OOP2-Ba0TjHQy.mjs} +2 -2
- package/dist/{chunk-B74TABJS-CM6MrFZT.mjs → chunk-B74TABJS-D6QwMpPz.mjs} +1 -1
- package/dist/{chunk-BGSUD5R5-B-rczZvK.mjs → chunk-BGSUD5R5-BfmoQDUK.mjs} +2 -2
- package/dist/{chunk-BSJP7CBP-BWUAQGWN.mjs → chunk-BSJP7CBP-C-rdyWiE.mjs} +2 -2
- package/dist/{chunk-CIAEETIT-4Fu0r4oG.mjs → chunk-CIAEETIT-B4zNm8L4.mjs} +2 -2
- package/dist/{chunk-CWQS3NFK-BkE4vqrf.mjs → chunk-CWQS3NFK-BvSpDizp.mjs} +1 -1
- package/dist/{chunk-D4J545R4-DfBhjppa.mjs → chunk-D4J545R4-B2EJq2_m.mjs} +2 -2
- package/dist/{chunk-D6CWQ5DW-BEkstiuo.mjs → chunk-D6CWQ5DW-DTkNWXQB.mjs} +2 -2
- package/dist/{chunk-D7MEQ3VN-CAw29uK1.mjs → chunk-D7MEQ3VN-Cgm5u94B.mjs} +2 -2
- package/dist/{chunk-DBKNVD4L-DMfzef_7.mjs → chunk-DBKNVD4L-UVpSZ5HO.mjs} +2 -2
- package/dist/{chunk-DCAAORBQ-3VCdH2yi.mjs → chunk-DCAAORBQ-Dy6elY3j.mjs} +2 -2
- package/dist/{chunk-DXB73IDG-F_tmy-Lz.mjs → chunk-DXB73IDG-ByieFnhr.mjs} +1 -1
- package/dist/{chunk-EDXVE4YY-COyPi8-X.mjs → chunk-EDXVE4YY-B7-wXBzK.mjs} +2 -2
- package/dist/{chunk-EEXR5ZDP-VxEPFle_.mjs → chunk-EEXR5ZDP-Bot_s1lf.mjs} +1 -1
- package/dist/{chunk-EIZGF4BS-Dz3f1URh.mjs → chunk-EIZGF4BS-Cce76mbX.mjs} +2 -2
- package/dist/{chunk-ENJZ2VHE-DgpEksO3.mjs → chunk-ENJZ2VHE-DswEO8kN.mjs} +2 -2
- package/dist/{chunk-F23WWYKW-tJnOwArx.mjs → chunk-F23WWYKW-YV2Ziyrt.mjs} +2 -2
- package/dist/{chunk-FMBD7UC4-CFP8EClM.mjs → chunk-FMBD7UC4-DyW29ls9.mjs} +2 -2
- package/dist/{chunk-FOC6F5B3-BfuMxJA0.mjs → chunk-FOC6F5B3-Bc3GvhQ3.mjs} +2 -2
- package/dist/{chunk-GCTKCWKD-C5P_ff9C.mjs → chunk-GCTKCWKD-DBnk7jcA.mjs} +1 -1
- package/dist/{chunk-GFQRA5P5-DbAN9IDm.mjs → chunk-GFQRA5P5-DuNfOQls.mjs} +1 -1
- package/dist/{chunk-GOV5EKKI-CnqfYKLU.mjs → chunk-GOV5EKKI-BFLTyBpR.mjs} +2 -2
- package/dist/{chunk-GXVXFKBA-BZ5qwuS5.mjs → chunk-GXVXFKBA-C3l1H1PT.mjs} +2 -2
- package/dist/{chunk-HDQ56CKY-C2858kAN.mjs → chunk-HDQ56CKY-Cy6yVra7.mjs} +2 -2
- package/dist/{chunk-HJQJAYMS-BhX1qT1n.mjs → chunk-HJQJAYMS-yqfBcYOx.mjs} +1 -1
- package/dist/{chunk-HJWBQKYG-D9DjORFc.mjs → chunk-HJWBQKYG-C1cifXhx.mjs} +2 -2
- package/dist/{chunk-HKLCLINH-DiTtKPWB.mjs → chunk-HKLCLINH-Ch0mauLy.mjs} +3 -3
- package/dist/{chunk-HL6NGDO2-FvmjxcsK.mjs → chunk-HL6NGDO2-D41r2_6L.mjs} +2 -2
- package/dist/{chunk-HWKDQ44K-Cd9c0ujm.mjs → chunk-HWKDQ44K-CRAflooW.mjs} +2 -2
- package/dist/{chunk-I57KEIP3-BsA-zv3k.mjs → chunk-I57KEIP3-BW7G5kxf.mjs} +2 -2
- package/dist/{chunk-ICPOFSXX-C2hDlKD_.mjs → chunk-ICPOFSXX-BF2fcu67.mjs} +2 -2
- package/dist/{chunk-IPJHKYVM-CUKythEA.mjs → chunk-IPJHKYVM-DDc9WF57.mjs} +1 -1
- package/dist/{chunk-JVPRLUMK-D72YT6bi.mjs → chunk-JVPRLUMK-C9zEHB9M.mjs} +2 -2
- package/dist/{chunk-K5T4RW27-ChGdeubA.mjs → chunk-K5T4RW27-DLjwaibC.mjs} +2 -2
- package/dist/{chunk-K6LIBGJA-CtwqXONG.mjs → chunk-K6LIBGJA-CSZVB574.mjs} +2 -2
- package/dist/{chunk-KGLVRYIC-BYA7AJ2g.mjs → chunk-KGLVRYIC-BNQzuSOt.mjs} +2 -2
- package/dist/{chunk-KMEYNNUA-C311YB2Q.mjs → chunk-KMEYNNUA-maIN40sk.mjs} +2 -2
- package/dist/{chunk-KRBPSX3W-DsaeH-hY.mjs → chunk-KRBPSX3W-CzvY8ZXk.mjs} +2 -2
- package/dist/{chunk-KX3P26DQ-D2yWAYlk.mjs → chunk-KX3P26DQ-76goBn6H.mjs} +1 -1
- package/dist/{chunk-LIHQZDEY-Du6TmMJL.mjs → chunk-LIHQZDEY-C1QAwaiM.mjs} +2 -2
- package/dist/{chunk-LL3S3NLB-xjImIR4A.mjs → chunk-LL3S3NLB-DbugMv6o.mjs} +2 -2
- package/dist/{chunk-LTZRCH7N-DQ58So-F.mjs → chunk-LTZRCH7N-BKI5S2SB.mjs} +2 -2
- package/dist/{chunk-LWEGUNWT-B1OcC6RH.mjs → chunk-LWEGUNWT-GnqRCIV_.mjs} +2 -2
- package/dist/{chunk-MDDMCKUK-CP6l42wf.mjs → chunk-MDDMCKUK-b-Mvbq7g.mjs} +2 -2
- package/dist/{chunk-MDLLFABN-DDKgmYs5.mjs → chunk-MDLLFABN-CySM5qrq.mjs} +2 -2
- package/dist/{chunk-MHTUABJP-D8l1TTsc.mjs → chunk-MHTUABJP-t1OLW57X.mjs} +1 -1
- package/dist/{chunk-MIZPJHVH-BLEhGmNy.mjs → chunk-MIZPJHVH-D-ZDkLZF.mjs} +2 -2
- package/dist/{chunk-MLXIYONF-MXi1NN3K.mjs → chunk-MLXIYONF-2Q4Ybi7x.mjs} +2 -2
- package/dist/{chunk-MYE6AGBJ-BkwmDIR4.mjs → chunk-MYE6AGBJ-BejewWl1.mjs} +2 -2
- package/dist/{chunk-NAERJDUW-Bv2VeaZc.mjs → chunk-NAERJDUW-BeJI_Ack.mjs} +2 -2
- package/dist/{chunk-NCNPKYJZ-14dRI8Qm.mjs → chunk-NCNPKYJZ-BjePegaZ.mjs} +2 -2
- package/dist/{chunk-NUYSJFDK-BiYXRcxZ.mjs → chunk-NUYSJFDK-DDVtplw1.mjs} +2 -2
- package/dist/{chunk-OCLXQMOG-B_jLzNZV.mjs → chunk-OCLXQMOG-DZx1830_.mjs} +2 -2
- package/dist/{chunk-OCS6LSEM-D4VLThbM.mjs → chunk-OCS6LSEM-DGnWZEcL.mjs} +2 -2
- package/dist/{chunk-OJDRYQWQ-CmrD0Dg2.mjs → chunk-OJDRYQWQ-69O4zmKR.mjs} +1 -1
- package/dist/{chunk-ORNJ4GCN-CO4Fc0LT.mjs → chunk-ORNJ4GCN-R61lu8Cm.mjs} +2 -2
- package/dist/{chunk-OYMX7WX6-CjnWmW_n.mjs → chunk-OYMX7WX6-BShEu1pf.mjs} +2 -2
- package/dist/{chunk-PBXLG62G-aMLWXguv.mjs → chunk-PBXLG62G-DdXtiydY.mjs} +2 -2
- package/dist/{chunk-PP6PSHAB-B3XXGg2T.mjs → chunk-PP6PSHAB-B7OGLVba.mjs} +1 -1
- package/dist/{chunk-PXTK5WE2-CguJFePc.mjs → chunk-PXTK5WE2-BeCOtT1d.mjs} +2 -2
- package/dist/{chunk-PYSFUGCK-BszfAqRG.mjs → chunk-PYSFUGCK-CoGoOEDp.mjs} +2 -2
- package/dist/{chunk-QCDB2VPH-D3ULCm4b.mjs → chunk-QCDB2VPH-z4xw9VKe.mjs} +2 -2
- package/dist/{chunk-QJ7O6ZN3-Dzcm83Kv.mjs → chunk-QJ7O6ZN3-Dsx1L-CX.mjs} +2 -2
- package/dist/{chunk-QZHKN3VN-CczpYV_w.mjs → chunk-QZHKN3VN-4LgLml-S.mjs} +2 -2
- package/dist/{chunk-R6QSAL5T-nrEeDNrG.mjs → chunk-R6QSAL5T-CXXlslcl.mjs} +1 -1
- package/dist/{chunk-R6VWJ2ZL-BVeTwIsz.mjs → chunk-R6VWJ2ZL-FXX1AKea.mjs} +1 -1
- package/dist/{chunk-RPNGRAAP-CajOz2i0.mjs → chunk-RPNGRAAP-D-txoG-N.mjs} +2 -2
- package/dist/{chunk-SDNKECQQ-CA2LWAo7.mjs → chunk-SDNKECQQ-sntIQEvc.mjs} +2 -2
- package/dist/{chunk-SNN4IESC-D8LPcAwE.mjs → chunk-SNN4IESC-2iQ8MDN3.mjs} +2 -2
- package/dist/{chunk-T56QNPHK-CKzBdBMk.mjs → chunk-T56QNPHK-0UWUTTk9.mjs} +2 -2
- package/dist/{chunk-TLSUDHID-rdis5pZn.mjs → chunk-TLSUDHID-CbxrNaLS.mjs} +2 -2
- package/dist/{chunk-TOMNU26N-BxDnjGjc.mjs → chunk-TOMNU26N-aWRPfXR1.mjs} +2 -2
- package/dist/{chunk-TP4BZANS-ClzIzpWm.mjs → chunk-TP4BZANS-DFORxqE5.mjs} +2 -2
- package/dist/{chunk-TXBZCHCQ-DnSXwySk.mjs → chunk-TXBZCHCQ-COSdckz7.mjs} +2 -2
- package/dist/{chunk-U2HBQHQK-DMRf50i8.mjs → chunk-U2HBQHQK-B6QvDsYx.mjs} +2 -2
- package/dist/{chunk-V5MWI2OL-Cjq6zFOH.mjs → chunk-V5MWI2OL-CDs_rm9r.mjs} +2 -2
- package/dist/{chunk-V7TAPXDL-BaVJN6c-.mjs → chunk-V7TAPXDL-DbTOoM_I.mjs} +2 -2
- package/dist/{chunk-VJFXDYWH-BJjeOIUB.mjs → chunk-VJFXDYWH-oT0f9NSa.mjs} +2 -2
- package/dist/{chunk-VOBGTVA6-CLvo1DrK.mjs → chunk-VOBGTVA6-D6oyYm45.mjs} +2 -2
- package/dist/{chunk-VYOJP4TV-ySo4pvxO.mjs → chunk-VYOJP4TV-Dh2zBxKQ.mjs} +2 -2
- package/dist/{chunk-WKFATFPP-jr5eyHAR.mjs → chunk-WKFATFPP-CoNouDAR.mjs} +2 -2
- package/dist/{chunk-X2AJGDEF-Bpyh-CYM.mjs → chunk-X2AJGDEF-13z4tBy7.mjs} +1 -1
- package/dist/{chunk-X2U36JSP-B09HbTgU.mjs → chunk-X2U36JSP-BlsQfR26.mjs} +2 -2
- package/dist/{chunk-XKQRETAK-CG272cRl.mjs → chunk-XKQRETAK-EkIIjUUl.mjs} +2 -2
- package/dist/{chunk-XKWWSDBF-EI7W96Bb.mjs → chunk-XKWWSDBF-B1eAKd2w.mjs} +2 -2
- package/dist/{chunk-XPW4576I-B-qTm_Z3.mjs → chunk-XPW4576I-bLLZgym8.mjs} +2 -2
- package/dist/{chunk-XVDPCNWR-DDtsDoBd.mjs → chunk-XVDPCNWR-BAt7NxwA.mjs} +2 -2
- package/dist/{chunk-YMMW5UAP-jiH3wEeU.mjs → chunk-YMMW5UAP-Bm5rv4x6.mjs} +2 -2
- package/dist/{chunk-YTNYSM6T-D6z7D3pz.mjs → chunk-YTNYSM6T-igBSh3M-.mjs} +2 -2
- package/dist/{chunk-YULBWSET-sJ_UPhUx.mjs → chunk-YULBWSET-x9ev2Mf1.mjs} +2 -2
- package/dist/{chunk-YZCP3GAM-C2dMi590.mjs → chunk-YZCP3GAM-dFAdRCa8.mjs} +2 -2
- package/dist/{chunk-Z6LRHWXI-CFEq3s_2.mjs → chunk-Z6LRHWXI-CQxrFjqd.mjs} +2 -2
- package/dist/{chunk-Z7JVV2SM-XK1154v3.mjs → chunk-Z7JVV2SM-C7YBwi4Z.mjs} +2 -2
- package/dist/{chunk-ZZ45TVLE-DmKznbd-.mjs → chunk-ZZ45TVLE-2q1aFSGq.mjs} +2 -2
- package/dist/{chunk-ZZO3UDB3-Jw0Ocy-R.mjs → chunk-ZZO3UDB3-rEua5jnw.mjs} +2 -2
- package/dist/classDiagram-6PBFFD2Q-CcylKUUy.mjs +2 -0
- package/dist/classDiagram-v2-HSJHXN6E-BuitxA8E.mjs +2 -0
- package/dist/clear-5CZ5X4YR-B1WFGbrj.mjs +1 -0
- package/dist/cli.mjs +58 -58
- package/dist/clone-FnWO_tLO.mjs +2 -0
- package/dist/colors-Ct4sdRvQ.mjs +1 -0
- package/dist/{colors-DugpbXz6.mjs → colors-DWZN3WbY.mjs} +1 -1
- package/dist/column-WLPMMSTS-DkwMR9G7.mjs +1 -0
- package/dist/comm-5SLSESQG-CXlq0ETw.mjs +1 -0
- package/dist/constants-B18JyjBC.mjs +2 -0
- package/dist/{cose-bilkent-S5V4N54A-BNALZCF0.mjs → cose-bilkent-S5V4N54A-x0sjol1e.mjs} +2 -2
- package/dist/cp-XOYR4ABJ-DSmenFoy.mjs +1 -0
- package/dist/{curl-47BFPSFW-DU0Jc2rS.mjs → curl-47BFPSFW-CLzIjKiW.mjs} +2 -2
- package/dist/cut-OPC3VAGB-Bem4Z9r_.mjs +1 -0
- package/dist/{cytoscape.esm-5XrS6n0F.mjs → cytoscape.esm-D1nqsWCf.mjs} +1 -1
- package/dist/{dagre-C04vaGU3.mjs → dagre-BTsqj5N3.mjs} +2 -2
- package/dist/{dagre-KV5264BT-Cbu_HfO4.mjs → dagre-KV5264BT-qU8auIl8.mjs} +2 -2
- package/dist/date-DD7FVA2V-BIqG8vnM.mjs +1 -0
- package/dist/{defaultLocale-0qNBj5q-.mjs → defaultLocale-DMqLGTir.mjs} +1 -1
- package/dist/{diagram-5BDNPKRD--yFFNenY.mjs → diagram-5BDNPKRD-BfaCThqw.mjs} +2 -2
- package/dist/{diagram-G4DWMVQ6-DEe2UaOJ.mjs → diagram-G4DWMVQ6-GD__kOTo.mjs} +2 -2
- package/dist/{diagram-MMDJMWI5-BEgEPDUN.mjs → diagram-MMDJMWI5-eK_WgeFb.mjs} +2 -2
- package/dist/{diagram-TYMM5635-WdKiO0-q.mjs → diagram-TYMM5635-Cw9FE8Ou.mjs} +2 -2
- package/dist/diff-HJF2MPDN-QbElik15.mjs +1 -0
- package/dist/dirname-LEMTZZFS-DjJGD8wW.mjs +1 -0
- package/dist/{dist-Co98vmuK.mjs → dist-B9rR197c.mjs} +1 -1
- package/dist/dist-DNDjbkqL.mjs +1 -0
- package/dist/{dist-bundle-tsI-uq-K.mjs → dist-bundle-CfcllBeA.mjs} +1 -1
- package/dist/dist-bundle-Dnt-gLG8.mjs +1 -0
- package/dist/{server-lock-iLcBw_q0-DK2Tcu84.mjs → dist-gqZDYmIG.mjs} +135 -135
- package/dist/{dist-0Mfowk3R.mjs → dist-petOQDm6.mjs} +15 -15
- package/dist/du-WO2ENHXQ-gLn1L6An.mjs +1 -0
- package/dist/echo-O45JWWI2-CHeEVRD-.mjs +1 -0
- package/dist/env-5EPCWSXR-nB7iGA4U.mjs +1 -0
- package/dist/{erDiagram-SMLLAGMA-BD_bZ9y8.mjs → erDiagram-SMLLAGMA-BQ28NjyR.mjs} +2 -2
- package/dist/{esm-BNIW0EH8.mjs → esm-PWRRAk-U.mjs} +1 -1
- package/dist/{execAsync-BAuTynbH.mjs → execAsync-Clg2-3AB.mjs} +1 -1
- package/dist/{execAsync-CBkkI2Ek.mjs → execAsync-DCzaEYgw.mjs} +1 -1
- package/dist/{execAsync-DVDfm08O.mjs → execAsync-Dyv9tAFE.mjs} +1 -1
- package/dist/expand-DTNXU4LQ--1KdtI8I.mjs +1 -0
- package/dist/expansion-VBDYWVZR-Br5lbiFS.mjs +1 -0
- package/dist/expr-YYCVMXE3-D_Mgl3lg.mjs +1 -0
- package/dist/file-IGDTDPLG-DJz2lDmW.mjs +1 -0
- package/dist/find-DH2ALKQS-BCfNRHeq.mjs +1 -0
- package/dist/flag-coverage-6JEX67RU-dAJxSkKl.mjs +2 -0
- package/dist/{flatten-DsfHsK9p.mjs → flatten-CMuDMFOE.mjs} +2 -2
- package/dist/{flowDiagram-DWJPFMVM-DZgEsdRZ.mjs → flowDiagram-DWJPFMVM-BRXMLmIm.mjs} +2 -2
- package/dist/fold-LDSORVYE-X07YByBI.mjs +1 -0
- package/dist/{ganttDiagram-T4ZO3ILL-Csm0cHYU.mjs → ganttDiagram-T4ZO3ILL-BkishNK-.mjs} +2 -2
- package/dist/{getMachineId-bsd-Bd_aCdAJ.mjs → getMachineId-bsd-BfKl40ww.mjs} +2 -2
- package/dist/{getMachineId-bsd-CmfyCGp_.mjs → getMachineId-bsd-CfcvKJtS.mjs} +2 -2
- package/dist/{getMachineId-bsd-D_lpr65O.mjs → getMachineId-bsd-DHr_3v7C.mjs} +2 -2
- package/dist/{getMachineId-darwin-CFeqXDM9.mjs → getMachineId-darwin-BGSat_hq.mjs} +2 -2
- package/dist/{getMachineId-darwin-Ch6Y3434.mjs → getMachineId-darwin-ClWJDgsl.mjs} +2 -2
- package/dist/{getMachineId-darwin-DRbP6ZXo.mjs → getMachineId-darwin-kUGmbM-E.mjs} +2 -2
- package/dist/{getMachineId-linux-CsnocidZ.mjs → getMachineId-linux-Cb6TG9LG.mjs} +1 -1
- package/dist/{getMachineId-linux-n9GZPwcR.mjs → getMachineId-linux-D_xXWtEw.mjs} +1 -1
- package/dist/{getMachineId-linux-CbD1lCp_.mjs → getMachineId-linux-vXwObLy3.mjs} +1 -1
- package/dist/{getMachineId-unsupported-Bsi0aVMm.mjs → getMachineId-unsupported-B4ElBmKF.mjs} +1 -1
- package/dist/{getMachineId-unsupported-D6zswC3_.mjs → getMachineId-unsupported-BALaAmcO.mjs} +1 -1
- package/dist/{getMachineId-unsupported-BQuHcTqF.mjs → getMachineId-unsupported-CechcDdc.mjs} +1 -1
- package/dist/{getMachineId-win-BsR1lQcH.mjs → getMachineId-win-CwyWxlQ-.mjs} +2 -2
- package/dist/{getMachineId-win-Bvo8aUso.mjs → getMachineId-win-D-OyleV_.mjs} +2 -2
- package/dist/{getMachineId-win-BpALY-6t.mjs → getMachineId-win-Div5qJyL.mjs} +2 -2
- package/dist/gh-detect-DT6DqKGM.mjs +3 -0
- package/dist/git-handle-CetHWc5A-BcCPg15N.mjs +1 -0
- package/dist/git-handle-dKyep_oZ-B7s7m6CJ.mjs +10 -0
- package/dist/gitGraph-7Q5UKJZL-Cb6AI0gQ.mjs +1 -0
- package/dist/{gitGraphDiagram-UUTBAWPF-dC1IPshv.mjs → gitGraphDiagram-UUTBAWPF-LYEX-Up5.mjs} +2 -2
- package/dist/{graphlib-ZUByR7Z1.mjs → graphlib-C8GlDNIO.mjs} +2 -2
- package/dist/grep-2HUTXO5U-DF5bN210.mjs +1 -0
- package/dist/gzip-AQXSGOVS-Ld4whXAz.mjs +1 -0
- package/dist/head-HT2B6D2J-Y8QWoury.mjs +1 -0
- package/dist/help-VVWX7SA5-DNTZaSb5.mjs +1 -0
- package/dist/history-J4QRNGRO-D8QHmWq3.mjs +1 -0
- package/dist/hostname-BK6HG2DE-C229q8IA.mjs +1 -0
- package/dist/html-to-markdown-TFCECAGV-EEqkh5Fp.mjs +1 -0
- package/dist/index.mjs +1 -1
- package/dist/info-OMHHGYJF-DY6XVLHA.mjs +1 -0
- package/dist/{infoDiagram-42DDH7IO-HjNjWo06.mjs → infoDiagram-42DDH7IO-BVXbYOHQ.mjs} +2 -2
- package/dist/{init-BQKkPl4l.mjs → init-D9nHWIP2.mjs} +1 -1
- package/dist/{init-CUBRtkez.mjs → init-KCSJffNW.mjs} +5 -5
- package/dist/init-zkouBkiU.mjs +1 -0
- package/dist/{is-object-DAC-mmwo.mjs → is-object-DhiFit5j.mjs} +1 -1
- package/dist/{isEmpty-jdQphHPa.mjs → isEmpty-B_hy4b7A.mjs} +2 -2
- package/dist/{ishikawaDiagram-UXIWVN3A-BlrokJRv.mjs → ishikawaDiagram-UXIWVN3A-Diodefny.mjs} +2 -2
- package/dist/join-GG2LDHE5-DJ1L_Ka6.mjs +1 -0
- package/dist/{journeyDiagram-VCZTEJTY-Bt5CmS_f.mjs → journeyDiagram-VCZTEJTY-CMQp-Rx9.mjs} +2 -2
- package/dist/jq-LYZFFBZB-BItVI6BJ.mjs +1 -0
- package/dist/{js-exec-VXN6TZ7U-B_mKz_np.mjs → js-exec-VXN6TZ7U-Bnv5xh7r.mjs} +2 -2
- package/dist/{kanban-definition-6JOO6SKY-BH015AU8.mjs → kanban-definition-6JOO6SKY-DhbBoKko.mjs} +2 -2
- package/dist/{launch-json-removal--BmJqT87.mjs → launch-json-removal-ZIYJbZtQ.mjs} +2 -2
- package/dist/{lib-BWyT_i83.mjs → lib-BFgxfC0m.mjs} +2 -2
- package/dist/{lib-BKCY8vrL.mjs → lib-DOas6HiH.mjs} +1 -1
- package/dist/{libesm-Ob3yvbRV.mjs → libesm-bRpdkHYn.mjs} +1 -1
- package/dist/{line-DiVg83mo.mjs → line-CNrllbcq.mjs} +2 -2
- package/dist/{linear-C06cViLu.mjs → linear-CUrVtEYu.mjs} +2 -2
- package/dist/ln-4TRFBYAT-1vbMtGss.mjs +1 -0
- package/dist/loader-BqECoP19.mjs +4 -0
- package/dist/loader-D9ILq_Qj.mjs +1 -0
- package/dist/ls-KSXFZCWH-D7XChuCb.mjs +1 -0
- package/dist/{lzma-NI_6IIcm.mjs → lzma-kz900pzb.mjs} +1 -1
- package/dist/{mcp-migrate-event-BNoOQpLB.mjs → mcp-migrate-event-H4uBxZps.mjs} +1 -1
- package/dist/md5sum-INMIK4DX-DebFzK7Y.mjs +1 -0
- package/dist/{mermaid-parser.core-DqKkkvo5.mjs → mermaid-parser.core-C4HPipkF.mjs} +2 -2
- package/dist/{mermaid.core-BzIdCd91.mjs → mermaid.core-BjaX3aDk.mjs} +3 -3
- package/dist/{mindmap-definition-QFDTVHPH-BOkRtwWA.mjs → mindmap-definition-QFDTVHPH-aTvmjjWw.mjs} +2 -2
- package/dist/mkdir-TDEMSB6C-yKujfJwH.mjs +1 -0
- package/dist/mv-Z6MORUFL-DefDwgs3.mjs +1 -0
- package/dist/native/native-config.linux-x64-gnu.node +0 -0
- package/dist/nl-U5YJDM32-C4WnOB_Q.mjs +1 -0
- package/dist/od-VJEF2UR5-w1NlCkUs.mjs +1 -0
- package/dist/{open-browser-CZY2ZKg0.mjs → open-browser-BMVg3r9e.mjs} +2 -2
- package/dist/{ordinal-BuFKVuSx.mjs → ordinal-CwNJ0kWp.mjs} +2 -2
- package/dist/packet-4T2RLAQJ-Bf6ng-Cf.mjs +1 -0
- package/dist/paste-7N6AFSDS-C1xZzPgC.mjs +1 -0
- package/dist/{path-Dmj-XcQ6.mjs → path-v4_sOSY9.mjs} +1 -1
- package/dist/pie-ZZUOXDRM-B2TN5yZH.mjs +1 -0
- package/dist/{pieDiagram-DEJITSTG-Bho_Qp6H.mjs → pieDiagram-DEJITSTG-Bwxzwykf.mjs} +2 -2
- package/dist/{preview-BUUT3N0t.mjs → preview-Bmngkbmx.mjs} +2 -2
- package/dist/preview-CXetnprU.mjs +1 -0
- package/dist/printf-CX64KX2P-mlOOn_9v.mjs +1 -0
- package/dist/public/assets/ShareBranchSwitchDialog-DGcSbhKt.js +1 -0
- package/dist/public/assets/{index-CzUR_TnM.js → index-CxZGz7om.js} +3 -3
- package/dist/public/index.html +1 -1
- package/dist/pwd-D4OZ7N27-CT87C-5L.mjs +1 -0
- package/dist/{python3-DNGS4G3E-mSuL-4Sg.mjs → python3-DNGS4G3E-CvPRspn0.mjs} +2 -2
- package/dist/{quadrantDiagram-34T5L4WZ-Bd7jb1rn.mjs → quadrantDiagram-34T5L4WZ-DNT3MD_9.mjs} +2 -2
- package/dist/radar-PYXPWWZC-COiIo4-V.mjs +1 -0
- package/dist/readlink-MI4GCHJF-yD7ZCo6I.mjs +1 -0
- package/dist/{reduce-CKdE5ppn.mjs → reduce-KkqmWdsg.mjs} +2 -2
- package/dist/{repair-launch-json-jpDBAb4m.mjs → repair-launch-json-D73FezU-.mjs} +2 -2
- package/dist/{repair-mcp-configs-Bid881e6.mjs → repair-mcp-configs-C2iq9bOP.mjs} +2 -2
- package/dist/repair-skills-BSRgI3Qd.mjs +3 -0
- package/dist/repair-skills-DMIeifIr.mjs +1 -0
- package/dist/{requirementDiagram-MS252O5E-B74qjBRN.mjs → requirementDiagram-MS252O5E-25Z7WGN_.mjs} +2 -2
- package/dist/rev-XOSYPP45-DXeN2c_L.mjs +1 -0
- package/dist/rg-XNF3R3II-CSW8tOjh.mjs +1 -0
- package/dist/rm-RTZG23RL-CdPHUz_A.mjs +1 -0
- package/dist/rmdir-XTQXT7RK-B-Hcy2_M.mjs +1 -0
- package/dist/{rough.cjs-D5rEDIRO.mjs → rough.cjs-CjMW0p0V.mjs} +1 -1
- package/dist/{sankeyDiagram-XADWPNL6-CsDd_Lum.mjs → sankeyDiagram-XADWPNL6-CaXOTYx7.mjs} +2 -2
- package/dist/sed-JAPPVBEU-CcOukRYN.mjs +1 -0
- package/dist/seq-RN5ZUASB-s6ShRZlK.mjs +1 -0
- package/dist/{sequenceDiagram-FGHM5R23-C88m3ajK.mjs → sequenceDiagram-FGHM5R23-BgVYdPUE.mjs} +2 -2
- package/dist/server-lock-GuuouVft-mEG_NG6z.mjs +1 -0
- package/dist/server-lock-iLcBw_q0-CSsXlPB8.mjs +2 -0
- package/dist/sha1sum-VJPNLNU6-DypLzN_7.mjs +1 -0
- package/dist/sha256sum-PI32XWXY-DGVRMju7.mjs +1 -0
- package/dist/sleep-VZFPZFWA-B9Y3_tNd.mjs +1 -0
- package/dist/sort-DCNRDA7U-hsloabcm.mjs +1 -0
- package/dist/split-SITCSYCZ-BDulNHyK.mjs +1 -0
- package/dist/sqlite3-TE5AIOTF-DjHl_aWc.mjs +1 -0
- package/dist/{src-DyEoJGw7.mjs → src-7LGO0Yau.mjs} +6 -6
- package/dist/{src-DC_BCes_.mjs → src-BGL-MlNN.mjs} +1 -1
- package/dist/start-B3G01qdc.mjs +1 -0
- package/dist/start-CGL0pAPp.mjs +3 -0
- package/dist/stat-BT5A227F-Bo3rQCLg.mjs +1 -0
- package/dist/{stateDiagram-FHFEXIEX-va6AVA_z.mjs → stateDiagram-FHFEXIEX-DQ2iT5iQ.mjs} +2 -2
- package/dist/stateDiagram-v2-QKLJ7IA2-BN2cDF-I.mjs +2 -0
- package/dist/strings-7PLOGTPD-DzlKcmS-.mjs +1 -0
- package/dist/tac-SJGXQ4T2-ByklUqCu.mjs +1 -0
- package/dist/tail-S5ULNTJU-4htchzH3.mjs +1 -0
- package/dist/tar-MZQD7NO4-BbDCO35a.mjs +1 -0
- package/dist/tee-O7VXZDCO-C4h94T7n.mjs +1 -0
- package/dist/time-DEUO3QV2-DgbA26hb.mjs +1 -0
- package/dist/{timeline-definition-GMOUNBTQ-TPAmdwnH.mjs → timeline-definition-GMOUNBTQ-CN-kJjLP.mjs} +2 -2
- package/dist/timeout-VRKMCG72-QNsmkGY4.mjs +1 -0
- package/dist/touch-DX2IJOQ4-DCSWORMR.mjs +1 -0
- package/dist/tr-2HXZRDSW-ClAtG6KK.mjs +1 -0
- package/dist/tree-LYXBS7DC-DY3rkdQ5.mjs +1 -0
- package/dist/treeView-SZITEDCU-IxD8BwiZ.mjs +1 -0
- package/dist/treemap-W4RFUUIX-Bi83ji26.mjs +1 -0
- package/dist/true-WHJNXCHG-D1oYWVZ5.mjs +1 -0
- package/dist/unexpand-RGTMIGZM-MOepJcp7.mjs +1 -0
- package/dist/uniq-SUNANL47-BTfKD4-0.mjs +1 -0
- package/dist/{vennDiagram-DHZGUBPP-CVntpCfR.mjs → vennDiagram-DHZGUBPP-BJ8_Sz54.mjs} +2 -2
- package/dist/wardley-RL74JXVD-DxHrvQhH.mjs +1 -0
- package/dist/{wardleyDiagram-NUSXRM2D-DlYkmDFQ.mjs → wardleyDiagram-NUSXRM2D-j56ncYAi.mjs} +2 -2
- package/dist/wc-TQB3VNOX-CMqYcRvH.mjs +1 -0
- package/dist/which-XZHEH76L-CAv7Efsx.mjs +1 -0
- package/dist/whoami-DGKU3D2X-CpvaE3LM.mjs +1 -0
- package/dist/{wrapper-BZO_sIci.mjs → wrapper-C8gJQl5z.mjs} +1 -1
- package/dist/{write-project-skill-D82uNxGO.mjs → write-project-skill-CQSo7jpP.mjs} +3 -3
- package/dist/xan-UD7JYIL2-DLOcZDYa.mjs +1 -0
- package/dist/xan-view-OW2TB7Z3-dHhPo_bJ.mjs +1 -0
- package/dist/xargs-I6EZUCYF-HR9_4d9i.mjs +1 -0
- package/dist/{xychartDiagram-5P7HB3ND-CFd6z4Gb.mjs → xychartDiagram-5P7HB3ND-CcUb_B_R.mjs} +2 -2
- package/dist/yazl-B1RwDQQs.mjs +1 -0
- package/dist/{yazl-Docqgl6q.mjs → yazl-DFMxUgKn.mjs} +1 -1
- package/dist/yq-OAKYHSXH-CJLBfTXv.mjs +1 -0
- package/package.json +1 -1
- package/dist/alias-JE7RI5QX-BODj4Gfj.mjs +0 -1
- package/dist/architecture-YZFGNWBL-BJvTzYI9.mjs +0 -1
- package/dist/awk2-BBAGSFUB-lHnSCbc-.mjs +0 -1
- package/dist/base64-4YMZCVJ5-BTMj5dqF.mjs +0 -1
- package/dist/basename-AA2KJYZQ-B1wvwZXV.mjs +0 -1
- package/dist/bash-IJWYRKFO-CCnjwjWe.mjs +0 -1
- package/dist/build-Ca40rJCO.mjs +0 -1
- package/dist/cat-RDUMLXKC-JY2w4DEE.mjs +0 -1
- package/dist/channel-BQl_ktPZ.mjs +0 -2
- package/dist/chmod-SYMGL4JA-3Hk_1ELN.mjs +0 -1
- package/dist/chunk-426QAEUC-B_MzMc_U.mjs +0 -2
- package/dist/classDiagram-6PBFFD2Q-L301VcDG.mjs +0 -2
- package/dist/classDiagram-v2-HSJHXN6E-CeSqnnqg.mjs +0 -2
- package/dist/clear-5CZ5X4YR-BDbutb2U.mjs +0 -1
- package/dist/clone-DETmm2Pe.mjs +0 -2
- package/dist/colors-C2Tw16G0.mjs +0 -1
- package/dist/column-WLPMMSTS-CV6fCKBB.mjs +0 -1
- package/dist/comm-5SLSESQG-c_QNAuoh.mjs +0 -1
- package/dist/constants-DJC5MEix.mjs +0 -2
- package/dist/cp-XOYR4ABJ-Dy7On9-M.mjs +0 -1
- package/dist/cut-OPC3VAGB-BuR9R75Y.mjs +0 -1
- package/dist/date-DD7FVA2V-ClXjwml9.mjs +0 -1
- package/dist/diff-HJF2MPDN-C0H4yjXW.mjs +0 -1
- package/dist/dirname-LEMTZZFS-4AT-pFX0.mjs +0 -1
- package/dist/dist-ByqNBEyQ.mjs +0 -1
- package/dist/dist-bundle-BA0EtAC7.mjs +0 -1
- package/dist/du-WO2ENHXQ-Do-4VQ3V.mjs +0 -1
- package/dist/echo-O45JWWI2-DdI80aCx.mjs +0 -1
- package/dist/env-5EPCWSXR-CDfcyvrs.mjs +0 -1
- package/dist/expand-DTNXU4LQ-D-zXh5CC.mjs +0 -1
- package/dist/expansion-VBDYWVZR-DTjZRtii.mjs +0 -1
- package/dist/expr-YYCVMXE3-C9dGgUU3.mjs +0 -1
- package/dist/file-IGDTDPLG-BEwb4MXq.mjs +0 -1
- package/dist/find-DH2ALKQS-Dni7700t.mjs +0 -1
- package/dist/flag-coverage-6JEX67RU-CMw4W0rs.mjs +0 -2
- package/dist/fold-LDSORVYE-g18Hkyqy.mjs +0 -1
- package/dist/gh-detect-DDO0PYTq.mjs +0 -3
- package/dist/git-handle-BMLM1Bxa-Bic5A31t.mjs +0 -1
- package/dist/git-handle-XXj9bu6B-DY30-mw9.mjs +0 -10
- package/dist/gitGraph-7Q5UKJZL-D8oR6R4c.mjs +0 -1
- package/dist/grep-2HUTXO5U-Dq78Al2p.mjs +0 -1
- package/dist/gzip-AQXSGOVS-C9_JolVc.mjs +0 -1
- package/dist/head-HT2B6D2J-CdrKE_Tc.mjs +0 -1
- package/dist/help-VVWX7SA5-DdmujeOs.mjs +0 -1
- package/dist/history-J4QRNGRO-Bm3N_FkO.mjs +0 -1
- package/dist/hostname-BK6HG2DE-DdT-PlzJ.mjs +0 -1
- package/dist/html-to-markdown-TFCECAGV-D2mzPMGY.mjs +0 -1
- package/dist/info-OMHHGYJF-pWbeXW42.mjs +0 -1
- package/dist/init-D_2w4_8n.mjs +0 -1
- package/dist/join-GG2LDHE5-DV7ilddy.mjs +0 -1
- package/dist/jq-LYZFFBZB-DhEnecL2.mjs +0 -1
- package/dist/ln-4TRFBYAT-Cg_-SGIL.mjs +0 -1
- package/dist/loader-DRR095Jj.mjs +0 -4
- package/dist/loader-QudPqlKw.mjs +0 -1
- package/dist/ls-KSXFZCWH-RlHCZlxm.mjs +0 -1
- package/dist/md5sum-INMIK4DX-BXlXL3Ru.mjs +0 -1
- package/dist/mkdir-TDEMSB6C-Cu2DJyfB.mjs +0 -1
- package/dist/mv-Z6MORUFL-BsEWL09Z.mjs +0 -1
- package/dist/nl-U5YJDM32-BybO7Epu.mjs +0 -1
- package/dist/od-VJEF2UR5-OIZrgjg0.mjs +0 -1
- package/dist/packet-4T2RLAQJ-BizdrxBC.mjs +0 -1
- package/dist/paste-7N6AFSDS-Ch72F0D2.mjs +0 -1
- package/dist/pie-ZZUOXDRM-BSULk3pW.mjs +0 -1
- package/dist/preview-eYrC9lP5.mjs +0 -1
- package/dist/printf-CX64KX2P-DS9NCBYX.mjs +0 -1
- package/dist/public/assets/ShareBranchSwitchDialog-uskl1Wv4.js +0 -1
- package/dist/pwd-D4OZ7N27-PztYFitl.mjs +0 -1
- package/dist/radar-PYXPWWZC-BPIU1oIT.mjs +0 -1
- package/dist/readlink-MI4GCHJF-B72qVA05.mjs +0 -1
- package/dist/repair-skills-BkNgLJzB.mjs +0 -1
- package/dist/repair-skills-g00h1ESt.mjs +0 -3
- package/dist/rev-XOSYPP45-ByX-mrLe.mjs +0 -1
- package/dist/rg-XNF3R3II-CnMv6YV-.mjs +0 -1
- package/dist/rm-RTZG23RL-CEw97Zb0.mjs +0 -1
- package/dist/rmdir-XTQXT7RK-BFdmBJEt.mjs +0 -1
- package/dist/sed-JAPPVBEU-2bqT53N-.mjs +0 -1
- package/dist/seq-RN5ZUASB-DxG4OIr9.mjs +0 -1
- package/dist/server-lock-GuuouVft-JSvkXrbf.mjs +0 -1
- package/dist/sha1sum-VJPNLNU6-4-wvJ2xb.mjs +0 -1
- package/dist/sha256sum-PI32XWXY-BaaxN7Tl.mjs +0 -1
- package/dist/sleep-VZFPZFWA-BllHeqyP.mjs +0 -1
- package/dist/sort-DCNRDA7U-CuZyvLiY.mjs +0 -1
- package/dist/split-SITCSYCZ-_ZnwVuas.mjs +0 -1
- package/dist/sqlite3-TE5AIOTF-CNPF-saV.mjs +0 -1
- package/dist/start-BZ29iacu.mjs +0 -1
- package/dist/start-CC6n9G3S.mjs +0 -3
- package/dist/stat-BT5A227F-D9HiKzDi.mjs +0 -1
- package/dist/stateDiagram-v2-QKLJ7IA2-Cu9wyPTl.mjs +0 -2
- package/dist/strings-7PLOGTPD-kZJh53lS.mjs +0 -1
- package/dist/tac-SJGXQ4T2-Eo9pASuo.mjs +0 -1
- package/dist/tail-S5ULNTJU-PpwHAjse.mjs +0 -1
- package/dist/tar-MZQD7NO4-9e7UblLx.mjs +0 -1
- package/dist/tee-O7VXZDCO-CBU43Hsm.mjs +0 -1
- package/dist/time-DEUO3QV2-BpiPEFvF.mjs +0 -1
- package/dist/timeout-VRKMCG72-COJoI5YN.mjs +0 -1
- package/dist/touch-DX2IJOQ4-C4-z30TF.mjs +0 -1
- package/dist/tr-2HXZRDSW-C9BbHiUE.mjs +0 -1
- package/dist/tree-LYXBS7DC-BSj-bS3l.mjs +0 -1
- package/dist/treeView-SZITEDCU-CxDAshOW.mjs +0 -1
- package/dist/treemap-W4RFUUIX-Akln3RQv.mjs +0 -1
- package/dist/true-WHJNXCHG-BkJIzmUI.mjs +0 -1
- package/dist/unexpand-RGTMIGZM-C-to2fwU.mjs +0 -1
- package/dist/uniq-SUNANL47-o1tLcwbX.mjs +0 -1
- package/dist/wardley-RL74JXVD-Djy_JGGm.mjs +0 -1
- package/dist/wc-TQB3VNOX-B-lPuWMt.mjs +0 -1
- package/dist/which-XZHEH76L-a4M_VoGw.mjs +0 -1
- package/dist/whoami-DGKU3D2X-DJ9OZDEX.mjs +0 -1
- package/dist/xan-UD7JYIL2-DqVUhpbk.mjs +0 -1
- package/dist/xan-view-OW2TB7Z3-BmNMcZHM.mjs +0 -1
- package/dist/xargs-I6EZUCYF-DphRNePs.mjs +0 -1
- package/dist/yazl-CQSNnbvt.mjs +0 -1
- package/dist/yq-OAKYHSXH-BBrPVcxh.mjs +0 -1
package/dist/dist-ByqNBEyQ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ei as e,Jn as t,Jt as n,Q as r,Qi as i,Sn as a,Un as o,_ as s,a as c,aa as l,b as u,c as d,f,g as p,gn as m,h,i as g,ka as _,kn as v,l as y,m as b,n as x,o as S,p as C,r as w,s as T,t as E,u as D,v as O,y as k}from"./server-lock-iLcBw_q0-DK2Tcu84.mjs";import{$ as A,$i as j,$n as M,$r as N,$t as P,A as F,Ai as I,An as L,Ar as R,At as z,B,Bi as V,Bn as H,Br as U,Bt as W,C as G,Ci as K,Cn as q,Cr as J,Ct as Y,D as X,Di as Z,Dn as Q,Dr as $,Dt as ee,E as te,Ei as ne,En as re,Er as ie,Et as ae,F as oe,Fi as se,Fn as ce,Fr as le,Ft as ue,G as de,Gi as fe,Gn as pe,Gr as me,Gt as he,H as ge,Hi as _e,Hn as ve,Hr as ye,Ht as be,I as xe,Ii as Se,In as Ce,Ir as we,It as Te,J as Ee,Ji as De,Jn as Oe,Jr as ke,Jt as Ae,K as je,Ki as Me,Kn as Ne,Kr as Pe,Kt as Fe,L as Ie,Li as Le,Ln as Re,Lr as ze,Lt as Be,M as Ve,Mi as He,Mn as Ue,Mr as We,Mt as Ge,N as Ke,Na as qe,Ni as Je,Nn as Ye,Nr as Xe,Nt as Ze,O as Qe,Oi as $e,On as et,Or as tt,Ot as nt,P as rt,Pa as it,Pi as at,Pn as ot,Pr as st,Pt as ct,Q as lt,Qi as ut,Qn as dt,Qr as ft,Qt as pt,R as mt,Ri as ht,Rn as gt,Rr as _t,Rt as vt,S as yt,Si as bt,Sn as xt,Sr as St,St as Ct,T as wt,Ti as Tt,Tn as Et,Tr as Dt,Tt as Ot,U as kt,Ui as At,Un as jt,Ur as Mt,Ut as Nt,V as Pt,Vi as Ft,Vn as It,Vr as Lt,Vt as Rt,W as zt,Wi as Bt,Wn as Vt,Wr as Ht,Wt as Ut,X as Wt,Xi as Gt,Xn as Kt,Xr as qt,Xt as Jt,Y as Yt,Yi as Xt,Yn as Zt,Yr as Qt,Yt as $t,Z as en,Zi as tn,Zn as nn,Zr as rn,Zt as an,_ as on,_i as sn,_n as cn,_r as ln,_t as un,a as dn,aa as fn,ai as pn,an as mn,ar as hn,at as gn,b as _n,bi as vn,bn as yn,br as bn,bt as xn,c as Sn,ca as Cn,ci as wn,cn as Tn,cr as En,ct as Dn,d as On,da as kn,di as An,dn as jn,dr as Mn,dt as Nn,ea as Pn,ei as Fn,en as In,er as Ln,et as Rn,f as zn,fa as Bn,fi as Vn,fn as Hn,fr as Un,ft as Wn,g as Gn,ga as Kn,gi as qn,gn as Jn,gr as Yn,gt as Xn,h as Zn,ha as Qn,hi as $n,hn as er,hr as tr,ht as nr,i as rr,ia as ir,ii as ar,in as or,ir as sr,it as cr,j as lr,ji as ur,jn as dr,jr as fr,jt as pr,k as mr,ki as hr,kn as gr,kr as _r,kt as vr,l as yr,la as br,li as xr,ln as Sr,lr as Cr,lt as wr,m as Tr,ma as Er,mi as Dr,mn as Or,mr as kr,mt as Ar,n as jr,na as Mr,ni as Nr,nn as Pr,nr as Fr,nt as Ir,o as Lr,oa as Rr,oi as zr,on as Br,or as Vr,ot as Hr,p as Ur,pa as Wr,pi as Gr,pn as Kr,pr as qr,pt as Jr,q as Yr,qi as Xr,qn as Zr,qr as Qr,qt as $r,r as ei,ra as ti,ri as ni,rn as ri,rr as ii,rt as ai,s as oi,sa as si,si as ci,sn as li,sr as ui,st as di,t as fi,ta as pi,ti as mi,tn as hi,tr as gi,tt as _i,u as vi,ua as yi,ui as bi,un as xi,ur as Si,ut as Ci,v as wi,vi as Ti,vn as Ei,vr as Di,vt as Oi,w as ki,wi as Ai,wn as ji,wr as Mi,wt as Ni,x as Pi,xi as Fi,xn as Ii,xr as Li,xt as Ri,y as zi,yi as Bi,yn as Vi,yr as Hi,yt as Ui,z as Wi,zi as Gi,zn as Ki,zr as qi,zt as Ji}from"./dist-0Mfowk3R.mjs";export{fi as AGENT_ID_MAX_LEN,jr as AGENT_ID_RE,ei as AGENT_WRITE_ORIGIN,rr as AgentFocusBroadcaster,dn as AgentPresenceBroadcaster,Lr as AgentSessionCapacityError,oi as AgentSessionManager,Sn as AutoStartDisabledError,yr as BUNDLE_IDS,vi as BUNDLE_SCOPE,On as BUNDLE_SKILL_NAME,zn as BacklinkIndex,Ur as CC1Broadcaster,r as CC1_CONTRACT_VERSION,Tr as CONFIG_FILENAME,Zn as CONFLICT_MARKER_RE,Gn as CURSOR_BUNDLE_PATHS_BY_PLATFORM,on as ConfigSchema,wi as DEFAULT_CHECKPOINT_RETENTION,zi as DEFAULT_EMBEDDINGS_DIMENSIONS,_n as DEFAULT_PACK_ID,Pi as EMBEDDINGS_API_KEY_ENV,yt as FILE_SYSTEM_WRITER,G as FILE_WATCHER_ORIGIN,ki as FileEmbeddingsBackend,wt as GIT_PREFLIGHT_FAIL_SPAN_NAME,te as GIT_UPSTREAM_WRITER,qe as GitDirAccessError,X as GitNotAvailableError,Qe as GitTooOldError,mr as HOCUSPOCUS_AUTH_REJECTION_REASONS,F as HocuspocusAuthRejection,lr as HocuspocusAuthTokenSchema,Ve as INSTALLED_AGENTS_SCHEMES,n as LINEAGE_EPOCH_KEY,Ke as LIVE_DERIVED_INDEX_DEBOUNCE_MS,rt as LOG_MD_TEMPLATE,oe as MANAGED_RENAME_ORIGIN,xe as MAX_AGENT_SESSIONS,Ie as MCP_CONNECTION_ID_HEADER,m as MCP_SERVER_NAME,mt as MIN_GIT_VERSION,Wi as MISSING_OK_CONFIG_MESSAGE,it as MalformedGitPointerError,B as McpLogger,Pt as MissingOkConfigError,ge as OBSERVER_SYNC_ORIGIN,kt as OK_OKIGNORE_TEMPLATE,a as ORPHAN_MODES,v as PROTOCOL_VERSION,zt as PinoLogger,E as ProcessLockCollisionError,de as ProjectGitInitError,je as ROLLBACK_ORIGIN,Yr as ROOT_GITIGNORE_TEMPLATE,x as RUNTIME_VERSION,Ee as SERVICE_WRITER,Yt as SKILL_INSTALL_EVENTS_FILE_REL,o as SKILL_STATE_TARGETS,Wt as STARTER_FOLDERS,en as STARTER_FOLDER_FRONTMATTER_FILENAME,lt as STARTER_PACKS,A as STARTER_PACK_IDS,Rn as STARTER_TEMPLATES,_i as STATE_MANIFEST_FILENAME,w as STATE_SCHEMA_VERSION,t as SYSTEM_DOC_NAME,Ir as SeedPrerequisiteError,ai as SeedRootDirError,g as ServerLockCollisionError,cr as SingleFileNotAFileError,gn as SingleFileNotFoundError,Hr as SingleFileNotMarkdownError,di as StateManifestError,Dn as TagIndex,wr as USER_GLOBAL_BUNDLE_IDS,Ci as UiLockCollisionError,Nn as __getShowAllWalkStatsForTesting,Wn as __resetShowAllWalkStatsForTesting,c as acquireProcessLock,S as acquireServerLock,Jr as acquireUiLock,Ar as applyAgentMarkdownWrite,nr as applyExternalChange,Xn as applySeed,un as assertCompatibleStateManifest,Oi as assertGitAvailable,Ui as assertNeverDiskEvent,xn as attachIdleShutdown,Ri as bootServer,Ct as buildAndOpenSkill,Y as buildConfigYmlContent,Ni as buildExecResult,Ot as buildSkillZip,ae as buildStarterFolderFrontmatterYaml,ee as buildWipTree,nt as bundleSkillMdPath,vr as classifyEvents,z as classifyFsPath,pr as clearContributors,Ge as clearEmbeddingsKeyFromAllBackends,Ze as coercePackId,e as colorFromSeed,ct as commitUpstreamImport,ue as commitWip,Te as commitWipFromTree,Be as compareSemver,vt as composeEffectiveLinterConfig,Ji as containsConflictMarkers,W as contentHash,Rt as contributorCount,be as countShadowObjects,Nt as countStaleAgentWipRefs,Ut as countWipRefs,he as createApiExtension,Fe as createAssetServeMiddleware,$r as createContentFilter,Ae as createContentFilterAsync,$t as createEmbeddingsSecretStore,Jt as createEphemeralProjectDir,an as createExternalChangeHandler,pt as createFileLogger,P as createLiveDerivedIndexExtension,In as createMcpHttpHandler,hi as createOsProbe,Pr as createPersistenceExtension,ri as createServer,or as createServerObserverExtension,mn as createStreamingErrorWriter,Br as createTestLogger,li as describeStoredEmbeddingsKey,Tn as detectClaudeDesktopPresence,Sr as detectGit,xi as detectProjectShape,jn as discoverLockDirs,Hn as discoverMarkdownlintConfig,Kr as emitPreflightFailureSpan,Or as encodeDocName,er as encodeFolderRoute,Jn as encodeSkillRoute,cn as ensureProjectGit,Ei as ensureProjectSkillGitignore,Vi as errorResponse,yn as evictStaleTrackerEntries,Ii as extractOkBinaryPath,xt as extractWikiLinksFromMarkdown,q as fallbackPaths,ji as findEnclosingGitRoot,Et as findEnclosingProjectRoot,re as findNativeMarkdownlintFile,Q as flushFileLogger,et as formatAuthRejectionWire,gr as formatContributors,L as formatContributorsFrom,dr as formatPackRationale,Ue as gcCheckpointRefs,Ye as getCurrentMcpLogger,ot as getLocalDir,ce as getLogFilePath,Ce as getLogger,Re as getLogsDir,T as getMachineId,gt as getMeter,Ki as getMetrics,H as getTracer,It as handleCollabSocketError,ve as handleSpawnCursor,jt as hasGcLogLatch,i as iconFromClientName,Vt as incrementCollabSocketFilteredError,pe as incrementServerObserverFire,Ne as initContent,Zr as initShadowRepo,Oe as initTelemetry,Zt as initToleranceTelemetryWriter,Kt as installPrettyZodErrors,nn as installTestLoggers,dt as installUserSkill,M as isAllowedApiOrigin,Ln as isAllowedWorkspaceHostHeader,gi as isConfigDoc,Fr as isHocuspocusAuthRejectionReason,ii as isKnownPackId,sr as isLinkIndexExcludedDoc,hn as isLoopbackAddress,Vr as isManagedArtifactDoc,l as isOrphanMode,ui as isPairedWriteOrigin,En as isPathWithinDir,d as isProcessAlive,Cr as isProjectRoot,Si as isProjectSkillManaged,Mn as isReservedForUserTree,Un as isSelfWrite,qr as isSystemDoc,kr as isToleranceTelemetryEnabled,y as isValidLockPid,tr as lastKnownHash,Yn as listRescueCheckpoints,ln as listStarterPacks,Di as loadPrincipal,D as lockFilePath,Hi as loggerFactory,bn as logsCurrentPath,Li as logsPreviousPath,St as makeLazyEmbeddingsKeyStore,f as markServerLockDraining,J as mountMcpAndApi,Mi as normalizeFsPath,Dt as originGitHubHost,ie as packageVersionMajorMinor,$ as parseAuthRejectionWire,tt as parseGitVersion,_r as parseHocuspocusAuthToken,R as parseKeepaliveConnectionId,fr as pathToDocName,We as planSeed,Xe as prepareSingleFileOpen,st as processCommand,le as processUsage,we as readAllTargets,ze as readBranchFromHead,_t as readBundleDecision,qi as readOwnNativeRules,C as readProcessLock,b as readProcessLockDetailed,U as readProjectLocalSemanticConfig,h as readServerLock,Lt as readServerPackageVersion,ye as readSkillInstallStateSnapshot,Mt as readSkillManagement,Ht as readStateManifest,me as readTargetRecordedAt,Pe as readTargetVersion,Qr as readUiLock,ke as reconcile,Qt as recordContributor,qt as recordSkillInstallEvent,rn as registerAllTools,ft as registerWrite,p as releaseProcessLock,s as releaseServerLock,N as releaseUiLock,Fn as removeLastKnownHash,mi as resetMetrics,_ as resolveBundleEnabled,Nr as resolveBundledSkillDir,ni as resolveContentDir,ar as resolveCursorBinaryDefault,pn as resolveCursorSpawnInvocation,zr as resolveEffectiveLinterConfig,ci as resolveLockDir,wn as resolveNativeConfigForDoc,xr as resolveNativeMarkdownlintConfig,bi as resolvePack,An as resolvePackageVersion,Vn as resolveUiInfo,Gr as restoreContributors,Dr as restoreLifecycleFromConflictsJson,$n as rewriteMarkdownLinksForDocumentRename,qn as rewriteWikiLinksForDocumentRename,sn as runAuthReposSubprocess,Ti as runAuthStatusSubprocess,Bi as runCloneSubprocess,vn as runDeviceFlowSubprocess,Fi as runWithMcpLogger,bt as safeContentPath,K as safeSubdir,Ai as safetyCheckpoint,Tt as sanitizeClientName,ne as saveInMemoryCheckpoint,Z as saveVersion,$e as seedBasenameIndex,hr as serializeError,I as setActiveSpanAttributes,ur as setupServerObservers,He as shadowGit,Je as shutdownTelemetry,at as skillManagementPath,se as spansCurrentPath,Se as spansPreviousPath,Le as spawnDetached,ht as splitMarkdownBlocks,Gi as startWatcher,V as streamingProblemEvent,Ft as swapContributors,_e as teardownToleranceTelemetryWriter,At as toBroadcasterKey,Bt as tracedAppendFileSync,fe as tracedLinkSync,Me as tracedMkdir,Xr as tracedMkdirSync,De as tracedRename,Xt as tracedRenameSync,Gt as tracedRmSync,tn as tracedRmdirSync,ut as tracedUnlinkSync,j as tracedWriteFile,Pn as tracedWriteFileSync,pi as untrackTrackedProjectSkillProjection,Mr as updateLastKnownHash,O as updateProcessLockPort,k as updateServerLockPort,ti as updateUiLockPort,ir as validateAgentId,fn as validateCloneInputs,Rr as validateSkillZip,u as waitForServerLockDrain,si as withHiddenWindowsConsole,Cn as withSpan,br as withSpanSync,yi as writeBundleDecision,kn as writeMarkdownlintRule,Bn as writeRootGitignoreForNewRepo,Wr as writeSkillManagement,Er as writeStateManifest,Qn as writeTargetVersion,Kn as writeTracker};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./dist-bundle-tsI-uq-K.mjs";export{e as request};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-RPNGRAAP-CajOz2i0.mjs";export{e as duCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-GCTKCWKD-C5P_ff9C.mjs";export{e as echoCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{i as e,t}from"./chunk-NAERJDUW-Bv2VeaZc.mjs";export{e as envCommand,t as printenvCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-VJFXDYWH-BJjeOIUB.mjs";export{e as expand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-B74TABJS-CM6MrFZT.mjs";import{w as e}from"./chunk-BGSUD5R5-B-rczZvK.mjs";import"./chunk-DXB73IDG-F_tmy-Lz.mjs";export{e as isArray};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-B74TABJS-CM6MrFZT.mjs";import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-V5MWI2OL-Cjq6zFOH.mjs";export{e as exprCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-HL6NGDO2-FvmjxcsK.mjs";export{e as fileCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-B74TABJS-CM6MrFZT.mjs";import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import"./chunk-SNN4IESC-D8LPcAwE.mjs";import{n as e}from"./chunk-K6LIBGJA-CtwqXONG.mjs";export{e as findCommand};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./chunk-B74TABJS-CM6MrFZT.mjs";import"./chunk-CWQS3NFK-BkE4vqrf.mjs";import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import"./chunk-5QMZ5MUS-BwpNU33k.mjs";import"./chunk-A5O5YHGN-DApqA6Ow.mjs";import"./chunk-24IMIIXA-DaS5XS55.mjs";import{i as e,n as t}from"./chunk-VOBGTVA6-CLvo1DrK.mjs";import{t as n}from"./chunk-TP4BZANS-ClzIzpWm.mjs";import{n as r}from"./chunk-QJ7O6ZN3-Dzcm83Kv.mjs";import{n as i}from"./chunk-ALLTKNUZ-B1s5GUUO.mjs";import{n as ee,r as te}from"./chunk-D6CWQ5DW-BEkstiuo.mjs";import{n as a}from"./chunk-TXBZCHCQ-DnSXwySk.mjs";import{n as o}from"./chunk-4GTNDTRF-CexF8C0H.mjs";import{t as s}from"./chunk-LL3S3NLB-xjImIR4A.mjs";import{n as c}from"./chunk-LWEGUNWT-B1OcC6RH.mjs";import{n as l}from"./chunk-Z7JVV2SM-XK1154v3.mjs";import{n as u}from"./chunk-NUYSJFDK-BiYXRcxZ.mjs";import{t as d}from"./chunk-SDNKECQQ-CA2LWAo7.mjs";import{t as f}from"./chunk-D7MEQ3VN-CAw29uK1.mjs";import{n as p}from"./chunk-TLSUDHID-rdis5pZn.mjs";import{t as m}from"./chunk-4Q4SM6WR-D6TVzfh2.mjs";import{n as h}from"./chunk-RPNGRAAP-CajOz2i0.mjs";import{n as g}from"./chunk-GCTKCWKD-C5P_ff9C.mjs";import{n as _,r as v}from"./chunk-NAERJDUW-Bv2VeaZc.mjs";import{n as y}from"./chunk-VJFXDYWH-BJjeOIUB.mjs";import{t as b}from"./chunk-V5MWI2OL-Cjq6zFOH.mjs";import{t as x}from"./chunk-HL6NGDO2-FvmjxcsK.mjs";import"./chunk-SNN4IESC-D8LPcAwE.mjs";import{t as S}from"./chunk-K6LIBGJA-CtwqXONG.mjs";import{t as C}from"./chunk-HKLCLINH-DiTtKPWB.mjs";import"./chunk-PXTK5WE2-CguJFePc.mjs";import"./chunk-7TSDKFEO-9ACIOuIO.mjs";import"./chunk-KRBPSX3W-DsaeH-hY.mjs";import{n as w}from"./chunk-6Z5SFZXK-DuXsHt84.mjs";import"./chunk-DBKNVD4L-DMfzef_7.mjs";import{n as T}from"./chunk-3BS5SKQH-Chc9fv52.mjs";import{r as E}from"./chunk-XKWWSDBF-EI7W96Bb.mjs";import{n as D}from"./chunk-MDLLFABN-DDKgmYs5.mjs";import{n as O}from"./chunk-MLXIYONF-MXi1NN3K.mjs";import{n as k}from"./chunk-A65PWWJC-DRkFYIUZ.mjs";import{t as A}from"./chunk-MHTUABJP-D8l1TTsc.mjs";import{n as j}from"./chunk-4HHKTUW3-CewYv3NE.mjs";import{n as M}from"./chunk-HJQJAYMS-BhX1qT1n.mjs";import{n as N}from"./chunk-PP6PSHAB-B3XXGg2T.mjs";import{i as P,n as F,o as I}from"./chunk-LTZRCH7N-DQ58So-F.mjs";import{t as L}from"./chunk-YTNYSM6T-D6z7D3pz.mjs";import{t as R}from"./chunk-Z6LRHWXI-CFEq3s_2.mjs";import{n as z}from"./chunk-A7A2DBEE-DGJklf-9.mjs";import{t as B}from"./chunk-APT7OOP2-CgGkczFr.mjs";import{n as V}from"./chunk-XKQRETAK-CG272cRl.mjs";import{n as H}from"./chunk-5V6VZH6T-BEpcJpsv.mjs";import{n as U,r as W}from"./chunk-R6QSAL5T-nrEeDNrG.mjs";import{t as G}from"./chunk-YULBWSET-sJ_UPhUx.mjs";import{t as K}from"./chunk-GOV5EKKI-CnqfYKLU.mjs";import{t as q}from"./chunk-XVDPCNWR-DDtsDoBd.mjs";import{n as J}from"./chunk-NCNPKYJZ-14dRI8Qm.mjs";import{t as ne}from"./chunk-TOMNU26N-BxDnjGjc.mjs";import{t as Y}from"./chunk-PYSFUGCK-BszfAqRG.mjs";import{t as X}from"./chunk-VYOJP4TV-ySo4pvxO.mjs";import{t as Z}from"./chunk-MYE6AGBJ-BkwmDIR4.mjs";import{t as re}from"./chunk-A7ICOL4V-BSbI3udS.mjs";import{t as ie}from"./chunk-55VFSPNA-BoFmUszu.mjs";import{n as ae}from"./chunk-WKFATFPP-jr5eyHAR.mjs";import{n as oe}from"./chunk-JVPRLUMK-D72YT6bi.mjs";import{t as se}from"./chunk-62RKD26F-uqVDf3rA.mjs";import{t as ce}from"./chunk-QCDB2VPH-D3ULCm4b.mjs";import{t as le}from"./chunk-F23WWYKW-tJnOwArx.mjs";import{n as ue}from"./chunk-D4J545R4-DfBhjppa.mjs";import{t as de}from"./chunk-DCAAORBQ-3VCdH2yi.mjs";import{n as fe}from"./chunk-GXVXFKBA-BZ5qwuS5.mjs";import{n as pe}from"./chunk-5QVNJEHU-DJjin--s.mjs";import"./chunk-2TRDZQLB-Kqh0farN.mjs";import{a as me,i as he,n as ge}from"./chunk-3H6UQG3A-B7zoJt1R.mjs";import{n as _e}from"./chunk-YMMW5UAP-jiH3wEeU.mjs";import{n as ve}from"./chunk-ZZO3UDB3-Jw0Ocy-R.mjs";import{t as ye}from"./chunk-KMEYNNUA-C311YB2Q.mjs";import{t as be}from"./chunk-MIZPJHVH-BLEhGmNy.mjs";import{n as xe}from"./chunk-A4JSPFCI-B_-pySix.mjs";import{t as Q}from"./chunk-PBXLG62G-aMLWXguv.mjs";import{t as Se}from"./chunk-A4HU7SVR-DPxgapmK.mjs";import{t as Ce}from"./chunk-HJWBQKYG-D9DjORFc.mjs";import{t as we}from"./chunk-64BAICW3-BlKhhT3-.mjs";import{n as Te}from"./chunk-T56QNPHK-CKzBdBMk.mjs";import{n as Ee}from"./chunk-V7TAPXDL-BaVJN6c-.mjs";import{n as De}from"./chunk-MDDMCKUK-CP6l42wf.mjs";import{t as Oe}from"./chunk-OCS6LSEM-D4VLThbM.mjs";import{n as ke}from"./chunk-OCLXQMOG-B_jLzNZV.mjs";var Ae=[g,a,Te,Ee,De,Oe,ke,be,u,xe,Q,o,Se,Ce,we,de,fe,pe,ge,me,he,_e,ve,n,ye,ae,l,d,oe,se,ce,le,ue,y,Y,X,Z,c,re,ie,S,i,m,q,h,_,v,e,t,J,ne,W,U,s,te,ee,G,r,p,f,K,L,R,z,b,B,V,H,x,D,O,k,A,j,M,N,P,F,I,C,w,T,E];function je(){return Ae}var $=new Map;for(let e of je())$.set(e.name,new Set(e.flags.map(e=>e.flag)));function Me(e,t,n){let r=$.get(t);if(!(!r||r.size===0))for(let i of n)r.has(i)&&e.hit(`cmd:flag:${t}:${i}`)}export{Me as emitFlagCoverage};
|
|
2
|
-
//# sourceMappingURL=flag-coverage-6JEX67RU-CMw4W0rs.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-D4J545R4-DfBhjppa.mjs";export{e as fold};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{ps as e}from"./server-lock-iLcBw_q0-DK2Tcu84.mjs";import{execFileSync as t}from"node:child_process";import{dirname as n,join as r}from"node:path";import{existsSync as i,mkdirSync as a,readFileSync as o,writeFileSync as s}from"node:fs";import{homedir as c}from"node:os";var l=e();const u=`open-knowledge`;function d(e){try{e()}catch{}}var f=class{backend=`keyring`;constructor(e){this.onKeychainRead=e}async get(e){let{Entry:t}=await import(`@napi-rs/keyring`),n;try{n=new t(u,e).getPassword()}catch(t){return d(()=>this.onKeychainRead?.({kind:`read-error`,host:e,error:t instanceof Error?t.name:`unknown`})),null}if(n==null)return d(()=>this.onKeychainRead?.({kind:`absent`,host:e})),null;try{return JSON.parse(n)}catch{return d(()=>this.onKeychainRead?.({kind:`corrupt-entry`,host:e,error:`corrupt-entry`})),null}}async set(e,t,n,r){let{Entry:i}=await import(`@napi-rs/keyring`),a=new i(u,e),o={login:t,token:n,...r};a.setPassword(JSON.stringify(o))}async clear(e){let{Entry:t}=await import(`@napi-rs/keyring`);try{new t(u,e).deletePassword()}catch{}}},p=class{backend=`file`;authFile;constructor(e){this.authFile=e??r(c(),`.ok`,`auth.yml`)}read(){if(!i(this.authFile))return{};try{return(0,l.parse)(o(this.authFile,`utf-8`))??{}}catch(e){let t=e instanceof Error?e.message:`unknown error`;return process.stderr.write(`[auth] Failed to parse ${this.authFile}: ${t}. Starting with empty credentials.\n`),{}}}write(e){let t=n(this.authFile);i(t)||a(t,{recursive:!0,mode:448}),s(this.authFile,(0,l.stringify)(e),{mode:384})}async get(e){return this.read()[e]??null}async set(e,t,n,r){let i=this.read();i[e]={login:t,token:n,...r},this.write(i)}async clear(e){let t=this.read();delete t[e],this.write(t)}},m=class{backend=`keyring`;constructor(e,t){this.keychain=e,this.file=t}async get(e){let t=await this.keychain.get(e);if(t!=null)return t;let n=await this.file.get(e);if(n==null)return null;try{await this.keychain.set(e,n.login,n.token,{gitProtocol:n.gitProtocol,name:n.name,email:n.email}),await this.file.clear(e),process.stderr.write(`[auth] migrated ${e} credential from ~/.ok/auth.yml to the OS keychain\n`)}catch{}return n}set(e,t,n,r){return this.keychain.set(e,t,n,r)}async clear(e){await this.keychain.clear(e),await this.file.get(e)!=null&&await this.file.clear(e)}};async function h(e,t){try{let{Entry:n}=await import(`@napi-rs/keyring`);return new n(u,`__probe__`),process.stderr.write(`[auth] token storage: OS keychain
|
|
2
|
-
`),d(()=>t?.onBackendSelected?.({backend:`keyring`})),new m(new f(t?.onKeychainRead),new p(e))}catch(n){let r=n instanceof Error?`${n.name}: ${n.message}`:String(n);return process.stderr.write(`[auth] token storage: file (~/.ok/auth.yml) — OS keychain unavailable: ${r}\n`),d(()=>t?.onBackendSelected?.({backend:`file`,reason:r})),new p(e)}}function g(e){let t=null;return function(){if(t)return t;let n=2e3;return t=(async()=>{let t=null,r=new Promise(r=>{t=setTimeout(()=>{process.stderr.write(`[auth] token storage: keyring init exceeded ${n}ms; falling back to file (~/.ok/auth.yml)\n`),r(new p(e))},n)});try{return await Promise.race([h(e),r])}catch{return new p(e)}finally{t!==null&&clearTimeout(t)}})(),t}}function _(e){let t=g(e);return{async get(e){let n=await(await t()).get(e);return n===null?null:{token:n.token}}}}function v(e){let t=g(e);return{backend:`file`,async get(e){return(await t()).get(e)},async set(e,n,r,i){return(await t()).set(e,n,r,i)},async clear(e){return(await t()).clear(e)}}}async function y(e,t){let n=[],r=new p(t);await r.get(e)!=null&&(await r.clear(e),n.push(`file`));let i;try{let{Entry:t}=await import(`@napi-rs/keyring`);new t(u,`__probe__`);let r,a=await new f(e=>{e.kind===`read-error`&&(r=e.error??`read-error`)}).get(e);if(r!==void 0)i=r;else if(a!=null)try{new t(u,e).deletePassword(),n.push(`keychain`)}catch(e){i=e instanceof Error?e.name:`delete-error`}}catch{}return{touched:n,keychainError:i}}const b=[`/opt/homebrew/bin/gh`,`/usr/local/bin/gh`,`/opt/local/bin/gh`,`/snap/bin/gh`,`/usr/bin/gh`],x={encoding:`utf-8`,stdio:[`ignore`,`pipe`,`pipe`],timeout:5e3,windowsHide:!0};function S(e,n={}){let r=n._exec??t,a=n._fileExists??i,o=[`auth`,`token`,...e?[`--hostname`,e]:[]],s=[`gh`,...b.filter(a)];for(let e of s)try{let t=r(e,o,x).toString().trim();if(t.length>0)return{available:!0,token:t}}catch{}return{available:!1}}export{v as a,_ as i,y as n,h as r,S as t};
|
|
3
|
-
//# sourceMappingURL=gh-detect-DDO0PYTq.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./git-handle-XXj9bu6B-DY30-mw9.mjs";export{e as createGitInstance};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{a as e,s as t,t as n}from"./chunk-C94x7I9S.mjs";import{normalize as r,resolve as i}from"node:path";import{spawn as a}from"child_process";import{EventEmitter as o}from"node:events";var s=n(((e,t)=>{var n=1e3,r=n*60,i=r*60,a=i*24,o=a*7,s=a*365.25;t.exports=function(e,t){t||={};var n=typeof e;if(n===`string`&&e.length>0)return c(e);if(n===`number`&&isFinite(e))return t.long?u(e):l(e);throw Error(`val is not a non-empty string or a valid number. val=`+JSON.stringify(e))};function c(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]);switch((t[2]||`ms`).toLowerCase()){case`years`:case`year`:case`yrs`:case`yr`:case`y`:return c*s;case`weeks`:case`week`:case`w`:return c*o;case`days`:case`day`:case`d`:return c*a;case`hours`:case`hour`:case`hrs`:case`hr`:case`h`:return c*i;case`minutes`:case`minute`:case`mins`:case`min`:case`m`:return c*r;case`seconds`:case`second`:case`secs`:case`sec`:case`s`:return c*n;case`milliseconds`:case`millisecond`:case`msecs`:case`msec`:case`ms`:return c;default:return}}}}function l(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+`d`:t>=i?Math.round(e/i)+`h`:t>=r?Math.round(e/r)+`m`:t>=n?Math.round(e/n)+`s`:e+`ms`}function u(e){var t=Math.abs(e);return t>=a?d(e,t,a,`day`):t>=i?d(e,t,i,`hour`):t>=r?d(e,t,r,`minute`):t>=n?d(e,t,n,`second`):e+` ms`}function d(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+` `+r+(i?`s`:``)}})),c=n(((e,t)=>{function n(e){n.debug=n,n.default=n,n.coerce=l,n.disable=o,n.enable=i,n.enabled=c,n.humanize=s(),n.destroy=u,Object.keys(e).forEach(t=>{n[t]=e[t]}),n.names=[],n.skips=[],n.formatters={};function t(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return n.colors[Math.abs(t)%n.colors.length]}n.selectColor=t;function n(e){let t,i=null,a,o;function s(...e){if(!s.enabled)return;let r=s,i=Number(new Date);r.diff=i-(t||i),r.prev=t,r.curr=i,t=i,e[0]=n.coerce(e[0]),typeof e[0]!=`string`&&e.unshift(`%O`);let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,i)=>{if(t===`%%`)return`%`;a++;let o=n.formatters[i];if(typeof o==`function`){let n=e[a];t=o.call(r,n),e.splice(a,1),a--}return t}),n.formatArgs.call(r,e),(r.log||n.log).apply(r,e)}return s.namespace=e,s.useColors=n.useColors(),s.color=n.selectColor(e),s.extend=r,s.destroy=n.destroy,Object.defineProperty(s,`enabled`,{enumerable:!0,configurable:!1,get:()=>i===null?(a!==n.namespaces&&(a=n.namespaces,o=n.enabled(e)),o):i,set:e=>{i=e}}),typeof n.init==`function`&&n.init(s),s}function r(e,t){let r=n(this.namespace+(t===void 0?`:`:t)+e);return r.log=this.log,r}function i(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];let t=(typeof e==`string`?e:``).trim().replace(/\s+/g,`,`).split(`,`).filter(Boolean);for(let e of t)e[0]===`-`?n.skips.push(e.slice(1)):n.names.push(e)}function a(e,t){let n=0,r=0,i=-1,a=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||t[r]===`*`))t[r]===`*`?(i=r,a=n,r++):(n++,r++);else if(i!==-1)r=i+1,a++,n=a;else return!1;for(;r<t.length&&t[r]===`*`;)r++;return r===t.length}function o(){let e=[...n.names,...n.skips.map(e=>`-`+e)].join(`,`);return n.enable(``),e}function c(e){for(let t of n.skips)if(a(e,t))return!1;for(let t of n.names)if(a(e,t))return!0;return!1}function l(e){return e instanceof Error?e.stack||e.message:e}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}t.exports=n})),l=n(((e,t)=>{e.formatArgs=r,e.save=i,e.load=a,e.useColors=n,e.storage=o(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=`#0000CC.#0000FF.#0033CC.#0033FF.#0066CC.#0066FF.#0099CC.#0099FF.#00CC00.#00CC33.#00CC66.#00CC99.#00CCCC.#00CCFF.#3300CC.#3300FF.#3333CC.#3333FF.#3366CC.#3366FF.#3399CC.#3399FF.#33CC00.#33CC33.#33CC66.#33CC99.#33CCCC.#33CCFF.#6600CC.#6600FF.#6633CC.#6633FF.#66CC00.#66CC33.#9900CC.#9900FF.#9933CC.#9933FF.#99CC00.#99CC33.#CC0000.#CC0033.#CC0066.#CC0099.#CC00CC.#CC00FF.#CC3300.#CC3333.#CC3366.#CC3399.#CC33CC.#CC33FF.#CC6600.#CC6633.#CC9900.#CC9933.#CCCC00.#CCCC33.#FF0000.#FF0033.#FF0066.#FF0099.#FF00CC.#FF00FF.#FF3300.#FF3333.#FF3366.#FF3399.#FF33CC.#FF33FF.#FF6600.#FF6633.#FF9900.#FF9933.#FFCC00.#FFCC33`.split(`.`);function n(){if(typeof window<`u`&&window.process&&(window.process.type===`renderer`||window.process.__nwjs))return!0;if(typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<`u`&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<`u`&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<`u`&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(e){if(e[0]=(this.useColors?`%c`:``)+this.namespace+(this.useColors?` %c`:` `)+e[0]+(this.useColors?`%c `:` `)+`+`+t.exports.humanize(this.diff),!this.useColors)return;let n=`color: `+this.color;e.splice(1,0,n,`color: inherit`);let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,e=>{e!==`%%`&&(r++,e===`%c`&&(i=r))}),e.splice(i,0,n)}e.log=console.debug||console.log||(()=>{});function i(t){try{t?e.storage.setItem(`debug`,t):e.storage.removeItem(`debug`)}catch{}}function a(){let t;try{t=e.storage.getItem(`debug`)||e.storage.getItem(`DEBUG`)}catch{}return!t&&typeof process<`u`&&`env`in process&&(t=process.env.DEBUG),t}function o(){try{return localStorage}catch{}}t.exports=c()(e);let{formatters:s}=t.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return`[UnexpectedJSONParseError]: `+e.message}}})),u=n(((e,t)=>{t.exports=(e,t=process.argv)=>{let n=e.startsWith(`-`)?``:e.length===1?`-`:`--`,r=t.indexOf(n+e),i=t.indexOf(`--`);return r!==-1&&(i===-1||r<i)}})),d=n(((t,n)=>{let r=e(`os`),i=e(`tty`),a=u(),{env:o}=process,s;a(`no-color`)||a(`no-colors`)||a(`color=false`)||a(`color=never`)?s=0:(a(`color`)||a(`colors`)||a(`color=true`)||a(`color=always`))&&(s=1),`FORCE_COLOR`in o&&(s=o.FORCE_COLOR===`true`?1:o.FORCE_COLOR===`false`?0:o.FORCE_COLOR.length===0?1:Math.min(parseInt(o.FORCE_COLOR,10),3));function c(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(s===0)return 0;if(a(`color=16m`)||a(`color=full`)||a(`color=truecolor`))return 3;if(a(`color=256`))return 2;if(e&&!t&&s===void 0)return 0;let n=s||0;if(o.TERM===`dumb`)return n;if(process.platform===`win32`){let e=r.release().split(`.`);return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if(`CI`in o)return[`TRAVIS`,`CIRCLECI`,`APPVEYOR`,`GITLAB_CI`,`GITHUB_ACTIONS`,`BUILDKITE`].some(e=>e in o)||o.CI_NAME===`codeship`?1:n;if(`TEAMCITY_VERSION`in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if(o.COLORTERM===`truecolor`)return 3;if(`TERM_PROGRAM`in o){let e=parseInt((o.TERM_PROGRAM_VERSION||``).split(`.`)[0],10);switch(o.TERM_PROGRAM){case`iTerm.app`:return e>=3?3:2;case`Apple_Terminal`:return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||`COLORTERM`in o?1:n}function d(e){return c(l(e,e&&e.isTTY))}n.exports={supportsColor:d,stdout:c(l(!0,i.isatty(1))),stderr:c(l(!0,i.isatty(2)))}})),f=n(((t,n)=>{let r=e(`tty`),i=e(`util`);t.init=p,t.log=l,t.formatArgs=o,t.save=u,t.load=f,t.useColors=a,t.destroy=i.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=d();e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),r=process.env[t];return r=/^(yes|on|true|enabled)$/i.test(r)?!0:/^(no|off|false|disabled)$/i.test(r)?!1:r===`null`?null:Number(r),e[n]=r,e},{});function a(){return`colors`in t.inspectOpts?!!t.inspectOpts.colors:r.isatty(process.stderr.fd)}function o(e){let{namespace:t,useColors:r}=this;if(r){let r=this.color,i=`\x1B[3`+(r<8?r:`8;5;`+r),a=` ${i};1m${t} \u001B[0m`;e[0]=a+e[0].split(`
|
|
2
|
-
`).join(`
|
|
3
|
-
`+a),e.push(i+`m+`+n.exports.humanize(this.diff)+`\x1B[0m`)}else e[0]=s()+t+` `+e[0]}function s(){return t.inspectOpts.hideDate?``:new Date().toISOString()+` `}function l(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+`
|
|
4
|
-
`)}function u(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function f(){return process.env.DEBUG}function p(e){e.inspectOpts={};let n=Object.keys(t.inspectOpts);for(let r=0;r<n.length;r++)e.inspectOpts[n[r]]=t.inspectOpts[n[r]]}n.exports=c()(t);let{formatters:m}=n.exports;m.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split(`
|
|
5
|
-
`).map(e=>e.trim()).join(` `)},m.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}})),p=n(((e,t)=>{typeof process>`u`||process.type===`renderer`||process.browser===!0||process.__nwjs?t.exports=l():t.exports=f()})),m=n((t=>{var n=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,`__esModule`,{value:!0});let r=e(`fs`),i=n(p()).default(`@kwsites/file-exists`);function a(e,t,n){i(`checking %s`,e);try{let a=r.statSync(e);return a.isFile()&&t?(i(`[OK] path represents a file`),!0):a.isDirectory()&&n?(i(`[OK] path represents a directory`),!0):(i(`[FAIL] path represents something other than a file or directory`),!1)}catch(e){if(e.code===`ENOENT`)return i(`[FAIL] path is not accessible: %o`,e),!1;throw i(`[FATAL] %o`,e),e}}function o(e,n=t.READABLE){return a(e,(n&t.FILE)>0,(n&t.FOLDER)>0)}t.exists=o,t.FILE=1,t.FOLDER=2,t.READABLE=t.FILE+t.FOLDER})),ee=n((e=>{function t(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,`__esModule`,{value:!0}),t(m())}));const te=new WeakMap;function ne(...e){let t=new String(e);return te.set(t,e),t}function h(e){return e instanceof String&&te.has(e)}function g(e){return te.get(e)??[]}var re=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createDeferred=e.deferred=void 0;function t(){let e,t,n=`pending`;return{promise:new Promise((n,r)=>{e=n,t=r}),done(t){n===`pending`&&(n=`resolved`,e(t))},fail(e){n===`pending`&&(n=`rejected`,t(e))},get fulfilled(){return n!==`pending`},get status(){return n}}}e.deferred=t,e.createDeferred=t}));function*ie(e,t){let n=t===`global`;for(let t of e)t.isGlobal===n&&(yield t)}const ae=new Set([`--add`,`--edit`,`--remove-section`,`--rename-section`,`--replace-all`,`--unset`,`--unset-all`,`-e`]),oe=new Set([`--get`,`--get-all`,`--get-color`,`--get-colorbool`,`--get-regexp`,`--get-urlmatch`,`--list`,`-l`]),se=new Set([`edit`,`remove-section`,`rename-section`,`set`,`unset`]),ce=new Set([`get`,`get-color`,`get-colorbool`,`list`]);function le(e,t){for(let{name:n}of ie(e,`task`)){if(ae.has(n))return _(!0,t);if(oe.has(n))return _(!1,t)}let n=t.at(0)?.toLowerCase();return n===void 0?null:se.has(n)?_(!0,t.slice(1)):ce.has(n)?_(!1,t.slice(1)):t.length===1?_(!1,t):_(!0,t)}function _(e=!1,t=[]){let n=t.at(0)?.toLowerCase();return n===void 0?null:{isWrite:e,isRead:!e,key:n,value:t.at(1)}}function ue(e,t){return t.isWrite&&t.value!==void 0?{key:t.key,value:t.value,scope:e}:{key:t.key,scope:e}}function de(e){let t=e?.indexOf(`=`)||-1;return!e||t<0?null:{key:e.slice(0,t).trim().toLowerCase(),value:e.slice(t+1)}}function fe(e){for(let{name:t}of ie(e,`task`))switch(t){case`--global`:return`global`;case`--system`:return`system`;case`--worktree`:return`worktree`;case`--local`:return`local`;case`--file`:case`-f`:return`file`}return`local`}function pe({name:e}){if(e===`-c`||e===`--config`)return`inline`;if(e===`--config-env`)return`env`}function*me(e){for(let t of e){let e=pe(t),n=e&&de(t.value);n&&(yield{...n,scope:e})}}function he(e,t,n){let r={read:[],write:[...me(t)]};return e===`config`&&ge(r,fe(t),le(t,n)),r}function ge(e,t,n){if(n===null)return;let r=ue(t,n);n.isWrite?e.write.push(r):e.read.push(r)}const _e={short:new Map([[`c`,!0]])},ve={short:new Map([[`C`,!0],[`P`,!1],[`h`,!1],[`p`,!1],[`v`,!1],..._e.short.entries()]),long:new Set([`attr-source`,`config-env`,`exec-path`,`git-dir`,`list-cmds`,`namespace`,`super-prefix`,`work-tree`])},ye={clone:{short:new Map([[`b`,!0],[`j`,!0],[`l`,!1],[`n`,!1],[`o`,!0],[`q`,!1],[`s`,!1],[`u`,!0]]),long:new Set([`branch`,`config`,`jobs`,`origin`,`upload-pack`,`u`,`template`])},commit:{short:new Map([[`C`,!0],[`F`,!0],[`c`,!0],[`m`,!0],[`t`,!0]]),long:new Set([`file`,`message`,`reedit-message`,`reuse-message`,`template`])},config:{short:new Map([[`e`,!1],[`f`,!0],[`l`,!1]]),long:new Set([`blob`,`comment`,`default`,`file`,`type`,`value`])},fetch:{short:new Map,long:new Set([`upload-pack`])},init:{short:new Map,long:new Set([`template`])},pull:{short:new Map,long:new Set([`upload-pack`])},push:{short:new Map,long:new Set([`exec`,`receive-pack`])}},be={short:new Map,long:new Set};function xe(e){let t=ye[e??``]??be;return{short:new Map([..._e.short.entries(),...t.short.entries()]),long:t.long}}function Se(e,t=ve){if(e.startsWith(`--`)){let n=e.indexOf(`=`);if(n>2)return[{name:e.slice(0,n),value:e.slice(n+1),needsNext:!1}];let r=e.slice(2);return[{name:e,needsNext:t.long.has(r)}]}if(e.length===2){let n=e.charAt(1);return[{name:e,needsNext:t.short.get(n)===!0}]}return Ce(e,t.short)}function Ce(e,t){let n=e.slice(1).split(``),r=[];for(let i=0;i<n.length;i++){let a=n[i],o=t.get(a);if(o===void 0)return[{name:e,needsNext:!1}];if(o){let e=n.slice(i+1).join(``);if(e&&![...e].every(e=>t.has(e)))return r.push({name:`-${a}`,value:e,needsNext:!1}),r}r.push({name:`-${a}`,needsNext:o})}return r}function we(e,t=[]){let n=0;for(;n<e.length;){let r=String(e[n]);if(!r.startsWith(`-`)||r.length<2)break;let i=Se(r),a=n+1;for(let n of i){let r={name:n.name,value:n.value,absorbedNext:!1,isGlobal:!0};n.needsNext&&r.value===void 0&&a<e.length&&(r.value=String(e[a]),r.absorbedNext=!0,a++),t.push(r)}n=a}return{flags:t,taskIndex:n}}function Te(e,t,n=[]){let r=xe(t),i=[],a=[],o=0;for(;o<e.length;){let t=e[o];if(h(t)){a.push(...g(t)),o++;continue}let s=String(t);if(s===`--`){for(let t=o+1;t<e.length;t++){let n=e[t];h(n)?a.push(...g(n)):a.push(String(n))}break}if(!s.startsWith(`-`)||s.length<2){i.push(s),o++;continue}let c=Se(s,r),l=o+1;for(let t of c){let r={name:t.name,value:t.value,absorbedNext:!1,isGlobal:!1};t.needsNext&&r.value===void 0&&l<e.length&&!h(e[l])&&(r.value=String(e[l]),r.absorbedNext=!0,l++),n.push(r)}o=l}return{flags:n,positionals:i,pathspecs:a}}function*Ee({write:e}){for(let t of e)for(let e of b){let n=e(t.key);n&&(yield n)}}function v(e,t,n=String(e)){let r=typeof e==`string`?RegExp(`\\s*${e.toLowerCase()}`):e;return function(e){if(r.test(e))return{category:t,message:`Configuring ${n} is not permitted without enabling ${t}`}}}function y(e,t){return v(RegExp(`\\s*${e.toLowerCase().replace(/\./g,`(..+)?.`)}`),t,e)}const b=[v(`alias`,`allowUnsafeAlias`),v(`core.askPass`,`allowUnsafeAskPass`),v(`core.editor`,`allowUnsafeEditor`),v(`core.fsmonitor`,`allowUnsafeFsMonitor`),v(`core.gitProxy`,`allowUnsafeGitProxy`),v(`core.hooksPath`,`allowUnsafeHooksPath`),v(`core.pager`,`allowUnsafePager`),v(`core.sshCommand`,`allowUnsafeSshCommand`),y(`credential.helper`,`allowUnsafeCredentialHelper`),y(`diff.command`,`allowUnsafeDiffExternal`),v(`diff.external`,`allowUnsafeDiffExternal`),y(`diff.textconv`,`allowUnsafeDiffTextConv`),y(`filter.clean`,`allowUnsafeFilter`),y(`filter.smudge`,`allowUnsafeFilter`),y(`gpg.program`,`allowUnsafeGpgProgram`),v(`init.templateDir`,`allowUnsafeTemplateDir`),y(`merge.driver`,`allowUnsafeMergeDriver`),y(`mergetool.path`,`allowUnsafeMergeDriver`),y(`mergetool.cmd`,`allowUnsafeMergeDriver`),y(`protocol.allow`,`allowUnsafeProtocolOverride`),y(`remote.receivepack`,`allowUnsafePack`),y(`remote.uploadpack`,`allowUnsafePack`),v(`sequence.editor`,`allowUnsafeEditor`)];function*De(e,t){for(let n of t)for(let t of ke){let r=t(e,n.name);r&&(yield r)}}function Oe(e,t,n,r=String(t)){let i=typeof t==`string`?RegExp(`\\s*${t.toLowerCase()}`):t,a=`Use of ${e?`${e} with option `:``}${r} is not permitted without enabling ${n}`;return function(t,r){if((!e||t===e)&&i.test(r))return{category:n,message:a}}}const ke=[Oe(null,/--(upload|receive)-pack/,`allowUnsafePack`,`--upload-pack or --receive-pack`),Oe(`clone`,/^-\w*u/,`allowUnsafePack`),Oe(`clone`,`--u`,`allowUnsafePack`),Oe(`push`,`--exec`,`allowUnsafePack`),Oe(null,`--template`,`allowUnsafeTemplateDir`)];function Ae(e,t,n){return[...De(e,t),...Ee(n)]}function je(...e){let{flags:t,taskIndex:n}=we(e),r=n<e.length?String(e[n]).toLowerCase():null,{positionals:i,pathspecs:a}=Te(r===null?[]:e.slice(n+1),r,t),o=he(r,t,i);return{task:r,flags:t.map(Ne),paths:a,config:o,vulnerabilities:Me(Ae(r,t,o))}}function Me(e){return Object.defineProperty(e,`vulnerabilities`,{value:e})}function Ne({value:e,name:t}){return e===void 0?{name:t}:{name:t,value:e}}const Pe={editor:`allowUnsafeEditor`,git_askpass:`allowUnsafeAskPass`,git_config_global:`allowUnsafeConfigPaths`,git_config_system:`allowUnsafeConfigPaths`,git_config_count:`allowUnsafeConfigEnvCount`,git_config:`allowUnsafeConfigPaths`,git_editor:`allowUnsafeEditor`,git_exec_path:`allowUnsafeConfigPaths`,git_external_diff:`allowUnsafeDiffExternal`,git_pager:`allowUnsafePager`,git_proxy_command:`allowUnsafeGitProxy`,git_template_dir:`allowUnsafeTemplateDir`,git_sequence_editor:`allowUnsafeEditor`,git_ssh:`allowUnsafeSshCommand`,git_ssh_command:`allowUnsafeSshCommand`,pager:`allowUnsafePager`,prefix:`allowUnsafeConfigPaths`,ssh_askpass:`allowUnsafeAskPass`};function*Fe(e){let t=parseInt(e.git_config_count??`0`,10);for(let n=0;n<t;n++){let t=e[`git_config_key_${n}`],r=e[`git_config_value_${n}`];t!==void 0&&(yield{key:t.toLowerCase().trim(),value:r,scope:`env`})}}function*Ie(e){for(let t of Object.keys(e))if(Le(t)){let e=Pe[t];yield{category:e,message:`Use of "${t.toUpperCase()}" is not permitted without enabling ${e}`}}}function Le(e){return Object.hasOwn(Pe,e)}function Re(e){let t={};for(let[n,r]of Object.entries(e)){let e=n.toLowerCase().trim();(Le(e)||e.startsWith(`git`))&&(t[e]=String(r))}return t}function ze(e){let t=Re(e),n={read:[],write:[...Fe(t)]};return{config:n,vulnerabilities:[...Ie(t),...Ae(null,[],n)]}}function Be(e,t){return[...je(...e).vulnerabilities,...ze(t).vulnerabilities]}var Ve=ee(),He=t(p()),x=re(),Ue=Object.defineProperty,We=Object.getOwnPropertyDescriptor,Ge=Object.getOwnPropertyNames,Ke=Object.prototype.hasOwnProperty,S=(e,t)=>function(){return e&&(t=(0,e[Ge(e)[0]])(e=0)),t},qe=(e,t)=>function(){return t||(0,e[Ge(e)[0]])((t={exports:{}}).exports,t),t.exports},C=(e,t)=>{for(var n in t)Ue(e,n,{get:t[n],enumerable:!0})},Je=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of Ge(t))!Ke.call(e,i)&&i!==n&&Ue(e,i,{get:()=>t[i],enumerable:!(r=We(t,i))||r.enumerable});return e},w=e=>Je(Ue({},`__esModule`,{value:!0}),e),T,E=S({"src/lib/errors/git-error.ts"(){T=class extends Error{constructor(e,t){super(t),this.task=e,Object.setPrototypeOf(this,new.target.prototype)}}}}),D,O=S({"src/lib/errors/git-response-error.ts"(){E(),D=class extends T{constructor(e,t){super(void 0,t||String(e)),this.git=e}}}}),Ye,Xe=S({"src/lib/errors/task-configuration-error.ts"(){E(),Ye=class extends T{constructor(e){super(void 0,e)}}}});function Ze(e){return typeof e==`function`?e:R}function Qe(e){return typeof e==`function`&&e!==R}function $e(e,t){let n=e.indexOf(t);return n<=0?[e,``]:[e.substr(0,n),e.substr(n+1)]}function et(e,t=0){return tt(e)&&e.length>t?e[t]:void 0}function k(e,t=0){if(tt(e)&&e.length>t)return e[e.length-1-t]}function tt(e){return _t(e)}function A(e=``,t=!0,n=`
|
|
6
|
-
`){return e.split(n).reduce((e,n)=>{let r=t?n.trim():n;return r&&e.push(r),e},[])}function nt(e,t){return A(e,!0).map(e=>t(e))}function rt(e){return(0,Ve.exists)(e,Ve.FOLDER)}function j(e,t){return Array.isArray(e)?e.includes(t)||e.push(t):e.add(t),t}function it(e,t){return Array.isArray(e)&&!e.includes(t)&&e.push(t),e}function at(e,t){if(Array.isArray(e)){let n=e.indexOf(t);n>=0&&e.splice(n,1)}else e.delete(t);return t}function M(e){return Array.isArray(e)?e:[e]}function ot(e){return e.replace(/[\s-]+(.)/g,(e,t)=>t.toUpperCase())}function N(e){return M(e).map(e=>e instanceof String?e:String(e))}function P(e,t=0){if(e==null)return t;let n=parseInt(e,10);return Number.isNaN(n)?t:n}function F(e,t){let n=[];for(let r=0,i=e.length;r<i;r++)n.push(t,e[r]);return n}function I(e){return(Array.isArray(e)?Buffer.concat(e):e).toString(`utf-8`)}function st(e,t){let n={};return t.forEach(t=>{e[t]!==void 0&&(n[t]=e[t])}),n}function ct(e=0){return new Promise(t=>setTimeout(t,e))}function lt(e){if(e!==!1)return e}var L,R,z,ut=S({"src/lib/utils/util.ts"(){vt(),L=`\0`,R=()=>{},z=Object.prototype.toString.call.bind(Object.prototype.toString)}});function B(e,t,n){return t(e)?e:arguments.length>2?n:void 0}function dt(e,t){let n=h(e)?`string`:typeof e;return/number|string|boolean/.test(n)&&(!t||!t.includes(n))}function ft(e){return!!e&&z(e)===`[object Object]`}function pt(e){return typeof e==`function`}var mt,ht,V,gt,_t,vt=S({"src/lib/utils/argument-filters.ts"(){ut(),mt=e=>Array.isArray(e),ht=e=>typeof e==`number`,V=e=>typeof e==`string`||h(e),gt=e=>V(e)||Array.isArray(e)&&e.every(V),_t=e=>e==null||`number|boolean|function`.includes(typeof e)?!1:typeof e.length==`number`}}),yt,bt=S({"src/lib/utils/exit-codes.ts"(){yt=(e=>(e[e.SUCCESS=0]=`SUCCESS`,e[e.ERROR=1]=`ERROR`,e[e.NOT_FOUND=-2]=`NOT_FOUND`,e[e.UNCLEAN=128]=`UNCLEAN`,e))(yt||{})}}),xt,St=S({"src/lib/utils/git-output-streams.ts"(){xt=class e{constructor(e,t){this.stdOut=e,this.stdErr=t}asStrings(){return new e(this.stdOut.toString(`utf8`),this.stdErr.toString(`utf8`))}}}});function Ct(){throw Error(`LineParser:useMatches not implemented`)}var H,U,wt=S({"src/lib/utils/line-parser.ts"(){H=class{constructor(e,t){this.matches=[],this.useMatches=Ct,this.parse=(e,t)=>(this.resetMatches(),this._regExp.every((t,n)=>this.addMatch(t,n,e(n)))?this.useMatches(t,this.prepareMatches())!==!1:!1),this._regExp=Array.isArray(e)?e:[e],t&&(this.useMatches=t)}resetMatches(){this.matches.length=0}prepareMatches(){return this.matches}addMatch(e,t,n){let r=n&&e.exec(n);return r&&this.pushMatch(t,r),!!r}pushMatch(e,t){this.matches.push(...t.slice(1))}},U=class extends H{addMatch(e,t,n){return/^remote:\s/.test(String(n))&&super.addMatch(e,t,n)}pushMatch(e,t){(e>0||t.length>1)&&super.pushMatch(e,t)}}}});function Tt(...e){let t=process.cwd(),n=Object.assign({baseDir:t,...Et},...e.filter(e=>typeof e==`object`&&e));return n.baseDir=n.baseDir||t,n.trimmed=n.trimmed===!0,n}var Et,Dt=S({"src/lib/utils/simple-git-options.ts"(){Et={binary:`git`,maxConcurrentProcesses:5,config:[],trimmed:!1}}});function Ot(e,t=[]){return ft(e)?Object.keys(e).reduce((t,n)=>{let r=e[n];if(h(r))t.push(r);else if(dt(r,[`boolean`]))t.push(n+`=`+r);else if(Array.isArray(r))for(let e of r)dt(e,[`string`,`number`])||t.push(n+`=`+e);else t.push(n);return t},t):t}function W(e,t=0,n=!1){let r=[];for(let n=0,i=t<0?e.length:t;n<i;n++)`string|number`.includes(typeof e[n])&&r.push(String(e[n]));return Ot(At(e),r),n||r.push(...kt(e)),r}function kt(e){return N(B(k(e,typeof k(e)==`function`?1:0),mt,[]))}function At(e){return B(k(e,pt(k(e))?1:0),ft)}function G(e,t=!0){let n=Ze(k(e));return t||Qe(n)?n:void 0}var jt=S({"src/lib/utils/task-options.ts"(){vt(),ut()}});function Mt(e,t){return e(t.stdOut,t.stdErr)}function K(e,t,n,r=!0){return M(n).forEach(n=>{for(let i=A(n,r),a=0,o=i.length;a<o;a++){let n=(e=0)=>{if(!(a+e>=o))return i[a+e]};t.some(({parse:t})=>t(n,e))}}),e}var Nt=S({"src/lib/utils/task-parser.ts"(){ut()}}),Pt={};C(Pt,{ExitCodes:()=>yt,GitOutputStreams:()=>xt,LineParser:()=>H,NOOP:()=>R,NULL:()=>L,RemoteLineParser:()=>U,append:()=>j,appendTaskOptions:()=>Ot,asArray:()=>M,asCamelCase:()=>ot,asFunction:()=>Ze,asNumber:()=>P,asStringArray:()=>N,bufferToString:()=>I,callTaskParser:()=>Mt,createInstanceConfig:()=>Tt,delay:()=>ct,filterArray:()=>mt,filterFunction:()=>pt,filterHasLength:()=>_t,filterNumber:()=>ht,filterPlainObject:()=>ft,filterPrimitives:()=>dt,filterString:()=>V,filterStringOrStringArray:()=>gt,filterType:()=>B,first:()=>et,folderExists:()=>rt,forEachLineWithContent:()=>nt,getTrailingOptions:()=>W,including:()=>it,isUserFunction:()=>Qe,last:()=>k,objectToString:()=>z,orVoid:()=>lt,parseStringResponse:()=>K,pick:()=>st,prefixedArray:()=>F,remove:()=>at,splitOn:()=>$e,toLinesWithContent:()=>A,trailingFunctionArgument:()=>G,trailingOptionsArgument:()=>At});var q=S({"src/lib/utils/index.ts"(){vt(),bt(),St(),wt(),Dt(),jt(),Nt(),ut()}}),Ft={};C(Ft,{CheckRepoActions:()=>Bt,checkIsBareRepoTask:()=>Rt,checkIsRepoRootTask:()=>Lt,checkIsRepoTask:()=>It});function It(e){switch(e){case`bare`:return Rt();case`root`:return Lt()}return{commands:[`rev-parse`,`--is-inside-work-tree`],format:`utf-8`,onError:Vt,parser:Ht}}function Lt(){return{commands:[`rev-parse`,`--git-dir`],format:`utf-8`,onError:Vt,parser(e){return/^\.(git)?$/.test(e.trim())}}}function Rt(){return{commands:[`rev-parse`,`--is-bare-repository`],format:`utf-8`,onError:Vt,parser:Ht}}function zt(e){return/(Not a git repository|Kein Git-Repository)/i.test(String(e))}var Bt,Vt,Ht,Ut=S({"src/lib/tasks/check-is-repo.ts"(){q(),Bt=(e=>(e.BARE=`bare`,e.IN_TREE=`tree`,e.IS_REPO_ROOT=`root`,e))(Bt||{}),Vt=({exitCode:e},t,n,r)=>{if(e===128&&zt(t))return n(Buffer.from(`false`));r(t)},Ht=e=>e.trim()===`true`}});function Wt(e,t){let n=new Gt(e),r=e?qt:Kt;return A(t).forEach(e=>{let t=e.replace(r,``);n.paths.push(t),(Jt.test(t)?n.folders:n.files).push(t)}),n}var Gt,Kt,qt,Jt,Yt=S({"src/lib/responses/CleanSummary.ts"(){q(),Gt=class{constructor(e){this.dryRun=e,this.paths=[],this.files=[],this.folders=[]}},Kt=/^[a-z]+\s*/i,qt=/^[a-z]+\s+[a-z]+\s*/i,Jt=/\/$/}}),Xt={};C(Xt,{EMPTY_COMMANDS:()=>tn,adhocExecTask:()=>Zt,configurationErrorTask:()=>J,isBufferTask:()=>$t,isEmptyTask:()=>en,straightThroughBufferTask:()=>Qt,straightThroughStringTask:()=>Y});function Zt(e){return{commands:tn,format:`empty`,parser:e}}function J(e){return{commands:tn,format:`empty`,parser(){throw typeof e==`string`?new Ye(e):e}}}function Y(e,t=!1){return{commands:e,format:`utf-8`,parser(e){return t?String(e).trim():e}}}function Qt(e){return{commands:e,format:`buffer`,parser(e){return e}}}function $t(e){return e.format===`buffer`}function en(e){return e.format===`empty`||!e.commands.length}var tn,X=S({"src/lib/tasks/task.ts"(){Xe(),tn=[]}}),nn={};C(nn,{CONFIG_ERROR_INTERACTIVE_MODE:()=>dn,CONFIG_ERROR_MODE_REQUIRED:()=>fn,CONFIG_ERROR_UNKNOWN_OPTION:()=>pn,CleanOptions:()=>mn,cleanTask:()=>an,cleanWithOptionsTask:()=>rn,isCleanOptionsArray:()=>on});function rn(e,t){let{cleanMode:n,options:r,valid:i}=sn(e);return n?i.options?(r.push(...t),r.some(un)?J(dn):an(n,r)):J(pn+JSON.stringify(e)):J(fn)}function an(e,t){return{commands:[`clean`,`-${e}`,...t],format:`utf-8`,parser(t){return Wt(e===`n`,t)}}}function on(e){return Array.isArray(e)&&e.every(e=>hn.has(e))}function sn(e){let t,n=[],r={cleanMode:!1,options:!0};return e.replace(/[^a-z]i/g,``).split(``).forEach(e=>{cn(e)?(t=e,r.cleanMode=!0):r.options=r.options&&ln(n[n.length]=`-${e}`)}),{cleanMode:t,options:n,valid:r}}function cn(e){return e===`f`||e===`n`}function ln(e){return/^-[a-z]$/i.test(e)&&hn.has(e.charAt(1))}function un(e){return/^-[^\-]/.test(e)?e.indexOf(`i`)>0:e===`--interactive`}var dn,fn,pn,mn,hn,gn=S({"src/lib/tasks/clean.ts"(){Yt(),q(),X(),dn=`Git clean interactive mode is not supported`,fn=`Git clean mode parameter ("n" or "f") is required`,pn=`Git clean unknown option found in: `,mn=(e=>(e.DRY_RUN=`n`,e.FORCE=`f`,e.IGNORED_INCLUDED=`x`,e.IGNORED_ONLY=`X`,e.EXCLUDING=`e`,e.QUIET=`q`,e.RECURSIVE=`d`,e))(mn||{}),hn=new Set([`i`,...N(Object.values(mn))])}});function _n(e){let t=new xn;for(let n of bn(e))t.addValue(n.file,String(n.key),n.value);return t}function vn(e,t){let n=null,r=[],i=new Map;for(let a of bn(e,t))a.key===t&&(r.push(n=a.value),i.has(a.file)||i.set(a.file,[]),i.get(a.file).push(n));return{key:t,paths:Array.from(i.keys()),scopes:i,value:n,values:r}}function yn(e){return e.replace(/^(file):/,``)}function*bn(e,t=null){let n=e.split(`\0`);for(let e=0,r=n.length-1;e<r;){let r=yn(n[e++]),i=n[e++],a=t;if(i.includes(`
|
|
7
|
-
`)){let e=$e(i,`
|
|
8
|
-
`);a=e[0],i=e[1]}yield{file:r,key:a,value:i}}}var xn,Sn=S({"src/lib/responses/ConfigList.ts"(){q(),xn=class{constructor(){this.files=[],this.values=Object.create(null)}get all(){return this._all||=this.files.reduce((e,t)=>Object.assign(e,this.values[t]),{}),this._all}addFile(e){if(!(e in this.values)){let t=k(this.files);this.values[e]=t?Object.create(this.values[t]):{},this.files.push(e)}return this.values[e]}addValue(e,t,n){let r=this.addFile(e);Object.hasOwn(r,t)?Array.isArray(r[t])?r[t].push(n):r[t]=[r[t],n]:r[t]=n,this._all=void 0}}}});function Cn(e,t){return typeof e==`string`&&Object.hasOwn(On,e)?e:t}function wn(e,t,n,r){let i=[`config`,`--${r}`];return n&&i.push(`--add`),i.push(e,t),{commands:i,format:`utf-8`,parser(e){return e}}}function Tn(e,t){let n=[`config`,`--null`,`--show-origin`,`--get-all`,e];return t&&n.splice(1,0,`--${t}`),{commands:n,format:`utf-8`,parser(t){return vn(t,e)}}}function En(e){let t=[`config`,`--list`,`--show-origin`,`--null`];return e&&t.push(`--${e}`),{commands:t,format:`utf-8`,parser(e){return _n(e)}}}function Dn(){return{addConfig(e,t,...n){return this._runTask(wn(e,t,n[0]===!0,Cn(n[1],`local`)),G(arguments))},getConfig(e,t){return this._runTask(Tn(e,Cn(t,void 0)),G(arguments))},listConfig(...e){return this._runTask(En(Cn(e[0],void 0)),G(arguments))}}}var On,kn=S({"src/lib/tasks/config.ts"(){Sn(),q(),On=(e=>(e.system=`system`,e.global=`global`,e.local=`local`,e.worktree=`worktree`,e))(On||{})}});function An(e){return Mn.has(e)}var jn,Mn,Nn=S({"src/lib/tasks/diff-name-status.ts"(){jn=(e=>(e.ADDED=`A`,e.COPIED=`C`,e.DELETED=`D`,e.MODIFIED=`M`,e.RENAMED=`R`,e.CHANGED=`T`,e.UNMERGED=`U`,e.UNKNOWN=`X`,e.BROKEN=`B`,e))(jn||{}),Mn=new Set(Object.values(jn))}});function Pn(...e){return new Bn().param(...e)}function Fn(e){let t=new Set,n={};return nt(e,e=>{let[r,i,a]=e.split(L);t.add(r),(n[r]=n[r]||[]).push({line:P(i),path:r,preview:a})}),{paths:t,results:n}}function In(){return{grep(e){let t=G(arguments),n=W(arguments);for(let e of Ln)if(n.includes(e))return this._runTask(J(`git.grep: use of "${e}" is not supported.`),t);typeof e==`string`&&(e=Pn().param(e));let r=[`grep`,`--null`,`-n`,`--full-name`,...n,...e];return this._runTask({commands:r,format:`utf-8`,parser(e){return Fn(e)}},t)}}}var Ln,Rn,zn,Bn,Vn=S({"src/lib/tasks/grep.ts"(){q(),X(),Ln=[`-h`],Rn=Symbol(`grepQuery`),Bn=class{constructor(){this[zn]=[]}*[(zn=Rn,Symbol.iterator)](){for(let e of this[Rn])yield e}and(...e){return e.length&&this[Rn].push(`--and`,`(`,...F(e,`-e`),`)`),this}param(...e){return this[Rn].push(...F(e,`-e`)),this}}}}),Hn={};C(Hn,{ResetMode:()=>Kn,getResetMode:()=>Wn,resetTask:()=>Un});function Un(e,t){let n=[`reset`];return Gn(e)&&n.push(`--${e}`),n.push(...t),Y(n)}function Wn(e){if(Gn(e))return e;switch(typeof e){case`string`:case`undefined`:return`soft`}}function Gn(e){return typeof e==`string`&&qn.includes(e)}var Kn,qn,Jn=S({"src/lib/tasks/reset.ts"(){q(),X(),Kn=(e=>(e.MIXED=`mixed`,e.SOFT=`soft`,e.HARD=`hard`,e.MERGE=`merge`,e.KEEP=`keep`,e))(Kn||{}),qn=N(Object.values(Kn))}});function Yn(){return(0,He.default)(`simple-git`)}function Xn(e,t,n){return!t||!String(t).replace(/\s*/,``)?n?(t,...r)=>{e(t,...r),n(t,...r)}:e:(r,...i)=>{e(`%s ${r}`,t,...i),n&&n(r,...i)}}function Zn(e,t,{namespace:n}){if(typeof e==`string`)return e;let r=t&&t.namespace||``;return r.startsWith(n)?r.substr(n.length+1):r||n}function Qn(e,t,n,r=Yn()){let i=e&&`[${e}]`||``,a=[],o=typeof t==`string`?r.extend(t):t,s=Zn(B(t,V),o,r);return l(n);function c(t,n){return j(a,Qn(e,s.replace(/^[^:]+/,t),n,r))}function l(t){let n=t&&`[${t}]`||``,a=o&&Xn(o,n)||R,s=Xn(r,`${i} ${n}`,a);return Object.assign(o?a:s,{label:e,sibling:c,info:s,step:l})}}var $n=S({"src/lib/git-logger.ts"(){q(),He.default.formatters.L=e=>String(_t(e)?e.length:`-`),He.default.formatters.B=e=>Buffer.isBuffer(e)?e.toString(`utf8`):z(e)}}),er,tr=S({"src/lib/runners/tasks-pending-queue.ts"(){E(),$n(),er=class e{constructor(e=`GitExecutor`){this.logLabel=e,this._queue=new Map}withProgress(e){return this._queue.get(e)}createProgress(t){let n=e.getName(t.commands[0]);return{task:t,logger:Qn(this.logLabel,n),name:n}}push(e){let t=this.createProgress(e);return t.logger(`Adding task to the queue, commands = %o`,e.commands),this._queue.set(e,t),t}fatal(e){for(let[t,{logger:n}]of Array.from(this._queue.entries()))t===e.task?(n.info(`Failed %o`,e),n(`Fatal exception, any as-yet un-started tasks run through this executor will not be attempted`)):n.info(`A fatal exception occurred in a previous task, the queue has been purged: %o`,e.message),this.complete(t);if(this._queue.size!==0)throw Error(`Queue size should be zero after fatal: ${this._queue.size}`)}complete(e){this.withProgress(e)&&this._queue.delete(e)}attempt(e){let t=this.withProgress(e);if(!t)throw new T(void 0,`TasksPendingQueue: attempt called for an unknown task`);return t.logger(`Starting task`),t}static getName(t=`empty`){return`task:${t}:${++e.counter}`}static{this.counter=0}}}});function Z(e,t){return{method:et(e.commands)||``,commands:t}}function nr(e,t){return n=>{t(`[ERROR] child process exception %o`,n),e.push(Buffer.from(String(n.stack),`ascii`))}}function rr(e,t,n,r){return i=>{n(`%s received %L bytes`,t,i),r(`%B`,i),e.push(i)}}var ir,ar=S({"src/lib/runners/git-executor-chain.ts"(){E(),X(),q(),tr(),ir=class{constructor(e,t,n){this._executor=e,this._scheduler=t,this._plugins=n,this._chain=Promise.resolve(),this._queue=new er}get cwd(){return this._cwd||this._executor.cwd}set cwd(e){this._cwd=e}get env(){return this._executor.env}get outputHandler(){return this._executor.outputHandler}chain(){return this}push(e){return this._queue.push(e),this._chain=this._chain.then(()=>this.attemptTask(e))}async attemptTask(e){let t=await this._scheduler.next(),n=()=>this._queue.complete(e);try{let{logger:t}=this._queue.attempt(e);return await(en(e)?this.attemptEmptyTask(e,t):this.attemptRemoteTask(e,t))}catch(t){throw this.onFatalException(e,t)}finally{n(),t()}}onFatalException(e,t){let n=t instanceof T?Object.assign(t,{task:e}):new T(e,t&&String(t));return this._chain=Promise.resolve(),this._queue.fatal(n),n}async attemptRemoteTask(e,t){let n=this._plugins.exec(`spawn.binary`,``,Z(e,e.commands)),r=this._plugins.exec(`spawn.args`,[...e.commands],{...Z(e,e.commands),env:{...this.env}}),i=await this.gitResponse(e,n,r,this.outputHandler,t.step(`SPAWN`)),a=await this.handleTaskData(e,r,i,t.step(`HANDLE`));return t(`passing response to task's parser as a %s`,e.format),$t(e)?Mt(e.parser,a):Mt(e.parser,a.asStrings())}async attemptEmptyTask(e,t){return t(`empty task bypassing child process to call to task's parser`),e.parser(this)}handleTaskData(e,t,n,r){let{exitCode:i,rejection:a,stdOut:o,stdErr:s}=n;return new Promise((c,l)=>{r(`Preparing to handle process response exitCode=%d stdOut=`,i);let{error:u}=this._plugins.exec(`task.error`,{error:a},{...Z(e,t),...n});if(u&&e.onError)return r.info(`exitCode=%s handling with custom error handler`),e.onError(n,u,e=>{r.info(`custom error handler treated as success`),r(`custom error returned a %s`,z(e)),c(new xt(Array.isArray(e)?Buffer.concat(e):e,Buffer.concat(s)))},l);if(u)return r.info(`handling as error: exitCode=%s stdErr=%s rejection=%o`,i,s.length,a),l(u);r.info(`retrieving task output complete`),c(new xt(Buffer.concat(o),Buffer.concat(s)))})}async gitResponse(e,t,n,r,i){let o=i.sibling(`output`),s=this._plugins.exec(`spawn.options`,{cwd:this.cwd,env:this.env,windowsHide:!0},Z(e,e.commands));return new Promise(c=>{let l=[],u=[];i.info(`%s %o`,t,n),i(`%O`,s);let d=this._beforeSpawn(e,n);if(d)return c({stdOut:l,stdErr:u,exitCode:9901,rejection:d});this._plugins.exec(`spawn.before`,void 0,{...Z(e,n),kill(e){d=e||d}});let f=a(t,n,s);f.stdout.on(`data`,rr(l,`stdOut`,i,o.step(`stdOut`))),f.stderr.on(`data`,rr(u,`stdErr`,i,o.step(`stdErr`))),f.on(`error`,nr(u,i)),r&&(i(`Passing child process stdOut/stdErr to custom outputHandler`),r(t,f.stdout,f.stderr,[...n])),this._plugins.exec(`spawn.after`,void 0,{...Z(e,n),spawned:f,close(e,t){c({stdOut:l,stdErr:u,exitCode:e,rejection:d||t})},kill(e){f.killed||(d=e,f.kill(`SIGINT`))}})})}_beforeSpawn(e,t){let n;return this._plugins.exec(`spawn.before`,void 0,{...Z(e,t),kill(e){n=e||n}}),n}}}}),or={};C(or,{GitExecutor:()=>sr});var sr,cr=S({"src/lib/runners/git-executor.ts"(){ar(),sr=class{constructor(e,t,n){this.cwd=e,this._scheduler=t,this._plugins=n,this._chain=new ir(this,this._scheduler,this._plugins)}chain(){return new ir(this,this._scheduler,this._plugins)}push(e){return this._chain.push(e)}}}});function lr(e,t,n=R){t.then(e=>{n(null,e)},t=>{t?.task===e&&n(t instanceof D?ur(t):t,void 0)})}function ur(e){let t=e=>{console.warn(`simple-git deprecation notice: accessing GitResponseError.${e} should be GitResponseError.git.${e}, this will no longer be available in version 3`),t=R};return Object.create(e,Object.getOwnPropertyNames(e.git).reduce(n,{}));function n(n,r){return r in e||(n[r]={enumerable:!1,configurable:!1,get(){return t(r),e.git[r]}}),n}}var dr=S({"src/lib/task-callback.ts"(){O(),q()}});function fr(e,t){return Zt(n=>{if(!rt(e))throw Error(`Git.cwd: cannot change to non-directory "${e}"`);return(t||n).cwd=e})}var pr=S({"src/lib/tasks/change-working-directory.ts"(){q(),X()}});function mr(e){let t=[`checkout`,...e];return t[1]===`-b`&&t.includes(`-B`)&&(t[1]=at(t,`-B`)),Y(t)}function hr(){return{checkout(){return this._runTask(mr(W(arguments,1)),G(arguments))},checkoutBranch(e,t){return this._runTask(mr([`-b`,e,t,...W(arguments)]),G(arguments))},checkoutLocalBranch(e){return this._runTask(mr([`-b`,e,...W(arguments)]),G(arguments))}}}var gr=S({"src/lib/tasks/checkout.ts"(){q(),X()}});function _r(){return{count:0,garbage:0,inPack:0,packs:0,prunePackable:0,size:0,sizeGarbage:0,sizePack:0}}function vr(){return{countObjects(){return this._runTask({commands:[`count-objects`,`--verbose`],format:`utf-8`,parser(e){return K(_r(),[yr],e)}})}}}var yr,br=S({"src/lib/tasks/count-objects.ts"(){q(),yr=new H(/([a-z-]+): (\d+)$/,(e,[t,n])=>{let r=ot(t);Object.hasOwn(e,r)&&(e[r]=P(n))})}});function xr(e){return K({author:null,branch:``,commit:``,root:!1,summary:{changes:0,insertions:0,deletions:0}},Sr,e)}var Sr,Cr=S({"src/lib/parsers/parse-commit.ts"(){q(),Sr=[new H(/^\[([^\s]+)( \([^)]+\))? ([^\]]+)/,(e,[t,n,r])=>{e.branch=t,e.commit=r,e.root=!!n}),new H(/\s*Author:\s(.+)/i,(e,[t])=>{let n=t.split(`<`),r=n.pop();!r||!r.includes(`@`)||(e.author={email:r.substr(0,r.length-1),name:n.join(`<`).trim()})}),new H(/(\d+)[^,]*(?:,\s*(\d+)[^,]*)(?:,\s*(\d+))/g,(e,[t,n,r])=>{e.summary.changes=parseInt(t,10)||0,e.summary.insertions=parseInt(n,10)||0,e.summary.deletions=parseInt(r,10)||0}),new H(/^(\d+)[^,]*(?:,\s*(\d+)[^(]+\(([+-]))?/,(e,[t,n,r])=>{e.summary.changes=parseInt(t,10)||0;let i=parseInt(n,10)||0;r===`-`?e.summary.deletions=i:r===`+`&&(e.summary.insertions=i)})]}});function wr(e,t,n){return{commands:[`-c`,`core.abbrev=40`,`commit`,...F(e,`-m`),...t,...n],format:`utf-8`,parser:xr}}function Tr(){return{commit(t,...n){let r=G(arguments),i=e(t)||wr(M(t),M(B(n[0],gt,[])),[...N(B(n[1],mt,[])),...W(arguments,0,!0)]);return this._runTask(i,r)}};function e(e){return!gt(e)&&J(`git.commit: requires the commit message to be supplied as a string/string[]`)}}var Er=S({"src/lib/tasks/commit.ts"(){Cr(),q(),X()}});function Dr(){return{firstCommit(){return this._runTask(Y([`rev-list`,`--max-parents=0`,`HEAD`],!0),G(arguments))}}}var Or=S({"src/lib/tasks/first-commit.ts"(){q(),X()}});function kr(e,t){let n=[`hash-object`,e];return t&&n.push(`-w`),Y(n,!0)}var Ar=S({"src/lib/tasks/hash-object.ts"(){X()}});function jr(e,t,n){let r=String(n).trim(),i;if(i=Nr.exec(r))return new Mr(e,t,!1,i[1]);if(i=Pr.exec(r))return new Mr(e,t,!0,i[1]);let a=``,o=r.split(` `);for(;o.length;)if(o.shift()===`in`){a=o.join(` `);break}return new Mr(e,t,/^re/i.test(r),a)}var Mr,Nr,Pr,Fr=S({"src/lib/responses/InitSummary.ts"(){Mr=class{constructor(e,t,n,r){this.bare=e,this.path=t,this.existing=n,this.gitDir=r}},Nr=/^Init.+ repository in (.+)$/,Pr=/^Rein.+ in (.+)$/}});function Ir(e){return e.includes(Rr)}function Lr(e=!1,t,n){let r=[`init`,...n];return e&&!Ir(r)&&r.splice(1,0,Rr),{commands:r,format:`utf-8`,parser(e){return jr(r.includes(`--bare`),t,e)}}}var Rr,zr=S({"src/lib/tasks/init.ts"(){Fr(),Rr=`--bare`}});function Br(e){for(let t=0;t<e.length;t++){let n=Hr.exec(e[t]);if(n)return`--${n[1]}`}return``}function Vr(e){return Hr.test(e)}var Hr,Ur=S({"src/lib/args/log-format.ts"(){Hr=/^--(stat|numstat|name-only|name-status)(=|$)/}}),Wr,Gr=S({"src/lib/responses/DiffSummary.ts"(){Wr=class{constructor(){this.changed=0,this.deletions=0,this.insertions=0,this.files=[]}}}});function Kr(e=``){let t=Zr[e];return e=>K(new Wr,t,e,!1)}var qr,Jr,Yr,Xr,Zr,Qr=S({"src/lib/parsers/parse-diff-summary.ts"(){Ur(),Gr(),Nn(),q(),qr=[new H(/^(.+)\s+\|\s+(\d+)(\s+[+\-]+)?$/,(e,[t,n,r=``])=>{e.files.push({file:t.trim(),changes:P(n),insertions:r.replace(/[^+]/g,``).length,deletions:r.replace(/[^-]/g,``).length,binary:!1})}),new H(/^(.+) \|\s+Bin ([0-9.]+) -> ([0-9.]+) ([a-z]+)/,(e,[t,n,r])=>{e.files.push({file:t.trim(),before:P(n),after:P(r),binary:!0})}),new H(/(\d+) files? changed\s*((?:, \d+ [^,]+){0,2})/,(e,[t,n])=>{let r=/(\d+) i/.exec(n),i=/(\d+) d/.exec(n);e.changed=P(t),e.insertions=P(r?.[1]),e.deletions=P(i?.[1])})],Jr=[new H(/(\d+)\t(\d+)\t(.+)$/,(e,[t,n,r])=>{let i=P(t),a=P(n);e.changed++,e.insertions+=i,e.deletions+=a,e.files.push({file:r,changes:i+a,insertions:i,deletions:a,binary:!1})}),new H(/-\t-\t(.+)$/,(e,[t])=>{e.changed++,e.files.push({file:t,after:0,before:0,binary:!0})})],Yr=[new H(/(.+)$/,(e,[t])=>{e.changed++,e.files.push({file:t,changes:0,insertions:0,deletions:0,binary:!1})})],Xr=[new H(/([ACDMRTUXB])([0-9]{0,3})\t(.[^\t]*)(\t(.[^\t]*))?$/,(e,[t,n,r,i,a])=>{e.changed++,e.files.push({file:a??r,changes:0,insertions:0,deletions:0,binary:!1,status:lt(An(t)&&t),from:lt(!!a&&r!==a&&r),similarity:P(n)})})],Zr={"":qr,"--stat":qr,"--numstat":Jr,"--name-status":Xr,"--name-only":Yr}}});function $r(e,t){return t.reduce((t,n,r)=>(t[n]=e[r]||``,t),Object.create({diff:null}))}function ei(e=ri,t=ii,n=``){let r=Kr(n);return function(n){let i=A(n.trim(),!1,ti).map(function(n){let i=n.split(ni),a=$r(i[0].split(e),t);return i.length>1&&i[1].trim()&&(a.diff=r(i[1])),a});return{all:i,latest:i.length&&i[0]||null,total:i.length}}}var ti,ni,ri,ii,ai=S({"src/lib/parsers/parse-list-log-summary.ts"(){q(),Qr(),Ur(),ti=`òòòòòò `,ni=` òò`,ri=` ò `,ii=[`hash`,`date`,`message`,`refs`,`author_name`,`author_email`]}}),oi={};C(oi,{diffSummaryTask:()=>si,validateLogFormatConfig:()=>ci});function si(e){let t=Br(e),n=[`diff`];return t===``&&(t=`--stat`,n.push(`--stat=4096`)),n.push(...e),ci(n)||{commands:n,format:`utf-8`,parser:Kr(t)}}function ci(e){let t=e.filter(Vr);if(t.length>1)return J(`Summary flags are mutually exclusive - pick one of ${t.join(`,`)}`);if(t.length&&e.includes(`-z`))return J(`Summary flag ${t} parsing is not compatible with null termination option '-z'`)}var li=S({"src/lib/tasks/diff.ts"(){Ur(),Qr(),X()}});function ui(e,t){let n=[],r=[];return Object.keys(e).forEach(t=>{n.push(t),r.push(String(e[t]))}),[n,r.join(t)]}function di(e){return Object.keys(e).reduce((t,n)=>(n in hi||(t[n]=e[n]),t),{})}function fi(e={},t=[]){let n=B(e.splitter,V,ri),[r,i]=ui(ft(e.format)?e.format:{hash:`%H`,date:e.strictDate===!1?`%ai`:`%aI`,message:`%s`,refs:`%D`,body:e.multiLine?`%B`:`%b`,author_name:e.mailMap===!1?`%an`:`%aN`,author_email:e.mailMap===!1?`%ae`:`%aE`},n),a=[],o=[`--pretty=format:${ti}${i}${ni}`,...t],s=e.n||e[`max-count`]||e.maxCount;if(s&&o.push(`--max-count=${s}`),e.from||e.to){let t=e.symmetric===!1?`..`:`...`;a.push(`${e.from||``}${t}${e.to||``}`)}return V(e.file)&&o.push(`--follow`,ne(e.file)),Ot(di(e),o),{fields:r,splitter:n,commands:[...o,...a]}}function pi(e,t,n){let r=ei(e,t,Br(n));return{commands:[`log`,...n],format:`utf-8`,parser:r}}function mi(){return{log(...n){let r=G(arguments),i=fi(At(arguments),N(B(arguments[0],mt,[]))),a=t(...n)||ci(i.commands)||e(i);return this._runTask(a,r)}};function e(e){return pi(e.splitter,e.fields,e.commands)}function t(e,t){return V(e)&&V(t)&&J(`git.log(string, string) should be replaced with git.log({ from: string, to: string })`)}}var hi,gi=S({"src/lib/tasks/log.ts"(){Ur(),ai(),q(),X(),li(),hi=(e=>(e[e[`--pretty`]=0]=`--pretty`,e[e[`max-count`]=1]=`max-count`,e[e.maxCount=2]=`maxCount`,e[e.n=3]=`n`,e[e.file=4]=`file`,e[e.format=5]=`format`,e[e.from=6]=`from`,e[e.to=7]=`to`,e[e.splitter=8]=`splitter`,e[e.symmetric=9]=`symmetric`,e[e.mailMap=10]=`mailMap`,e[e.multiLine=11]=`multiLine`,e[e.strictDate=12]=`strictDate`,e))(hi||{})}}),_i,vi,yi=S({"src/lib/responses/MergeSummary.ts"(){_i=class{constructor(e,t=null,n){this.reason=e,this.file=t,this.meta=n}toString(){return`${this.file}:${this.reason}`}},vi=class{constructor(){this.conflicts=[],this.merges=[],this.result=`success`}get failed(){return this.conflicts.length>0}get reason(){return this.result}toString(){return this.conflicts.length?`CONFLICTS: ${this.conflicts.join(`, `)}`:`OK`}}}}),bi,xi,Si=S({"src/lib/responses/PullSummary.ts"(){bi=class{constructor(){this.remoteMessages={all:[]},this.created=[],this.deleted=[],this.files=[],this.deletions={},this.insertions={},this.summary={changes:0,deletions:0,insertions:0}}},xi=class{constructor(){this.remote=``,this.hash={local:``,remote:``},this.branch={local:``,remote:``},this.message=``}toString(){return this.message}}}});function Ci(e){return e.objects=e.objects||{compressing:0,counting:0,enumerating:0,packReused:0,reused:{count:0,delta:0},total:{count:0,delta:0}}}function wi(e){let t=/^\s*(\d+)/.exec(e),n=/delta (\d+)/i.exec(e);return{count:P(t&&t[1]||`0`),delta:P(n&&n[1]||`0`)}}var Ti,Ei=S({"src/lib/parsers/parse-remote-objects.ts"(){q(),Ti=[new U(/^remote:\s*(enumerating|counting|compressing) objects: (\d+),/i,(e,[t,n])=>{let r=t.toLowerCase(),i=Ci(e.remoteMessages);Object.assign(i,{[r]:P(n)})}),new U(/^remote:\s*(enumerating|counting|compressing) objects: \d+% \(\d+\/(\d+)\),/i,(e,[t,n])=>{let r=t.toLowerCase(),i=Ci(e.remoteMessages);Object.assign(i,{[r]:P(n)})}),new U(/total ([^,]+), reused ([^,]+), pack-reused (\d+)/i,(e,[t,n,r])=>{let i=Ci(e.remoteMessages);i.total=wi(t),i.reused=wi(n),i.packReused=P(r)})]}});function Di(e,t){return K({remoteMessages:new ki},Oi,t)}var Oi,ki,Ai=S({"src/lib/parsers/parse-remote-messages.ts"(){q(),Ei(),Oi=[new U(/^remote:\s*(.+)$/,(e,[t])=>(e.remoteMessages.all.push(t.trim()),!1)),...Ti,new U([/create a (?:pull|merge) request/i,/\s(https?:\/\/\S+)$/],(e,[t])=>{e.remoteMessages.pullRequestUrl=t}),new U([/found (\d+) vulnerabilities.+\(([^)]+)\)/i,/\s(https?:\/\/\S+)$/],(e,[t,n,r])=>{e.remoteMessages.vulnerabilities={count:P(t),summary:n,url:r}})],ki=class{constructor(){this.all=[]}}}});function ji(e,t){let n=K(new xi,Ii,[e,t]);return n.message&&n}var Mi,Ni,Pi,Fi,Ii,Li,Ri,zi=S({"src/lib/parsers/parse-pull.ts"(){Si(),q(),Ai(),Mi=/^\s*(.+?)\s+\|\s+\d+\s*(\+*)(-*)/,Ni=/(\d+)\D+((\d+)\D+\(\+\))?(\D+(\d+)\D+\(-\))?/,Pi=/^(create|delete) mode \d+ (.+)/,Fi=[new H(Mi,(e,[t,n,r])=>{e.files.push(t),n&&(e.insertions[t]=n.length),r&&(e.deletions[t]=r.length)}),new H(Ni,(e,[t,,n,,r])=>n!==void 0||r!==void 0?(e.summary.changes=+t||0,e.summary.insertions=+n||0,e.summary.deletions=+r||0,!0):!1),new H(Pi,(e,[t,n])=>{j(e.files,n),j(t===`create`?e.created:e.deleted,n)})],Ii=[new H(/^from\s(.+)$/i,(e,[t])=>void(e.remote=t)),new H(/^fatal:\s(.+)$/,(e,[t])=>void(e.message=t)),new H(/([a-z0-9]+)\.\.([a-z0-9]+)\s+(\S+)\s+->\s+(\S+)$/,(e,[t,n,r,i])=>{e.branch.local=r,e.hash.local=t,e.branch.remote=i,e.hash.remote=n})],Li=(e,t)=>K(new bi,Fi,[e,t]),Ri=(e,t)=>Object.assign(new bi,Li(e,t),Di(e,t))}}),Bi,Vi,Hi,Ui=S({"src/lib/parsers/parse-merge.ts"(){yi(),q(),zi(),Bi=[new H(/^Auto-merging\s+(.+)$/,(e,[t])=>{e.merges.push(t)}),new H(/^CONFLICT\s+\((.+)\): Merge conflict in (.+)$/,(e,[t,n])=>{e.conflicts.push(new _i(t,n))}),new H(/^CONFLICT\s+\((.+\/delete)\): (.+) deleted in (.+) and/,(e,[t,n,r])=>{e.conflicts.push(new _i(t,n,{deleteRef:r}))}),new H(/^CONFLICT\s+\((.+)\):/,(e,[t])=>{e.conflicts.push(new _i(t,null))}),new H(/^Automatic merge failed;\s+(.+)$/,(e,[t])=>{e.result=t})],Vi=(e,t)=>Object.assign(Hi(e,t),Ri(e,t)),Hi=e=>K(new vi,Bi,e)}});function Wi(e){return e.length?{commands:[`merge`,...e],format:`utf-8`,parser(e,t){let n=Vi(e,t);if(n.failed)throw new D(n);return n}}:J(`Git.merge requires at least one option`)}var Gi=S({"src/lib/tasks/merge.ts"(){O(),Ui(),X()}});function Ki(e,t,n){let r=n.includes(`deleted`),i=n.includes(`tag`)||/^refs\/tags/.test(e),a=!n.includes(`new`);return{deleted:r,tag:i,branch:!i,new:!a,alreadyUpdated:a,local:e,remote:t}}var qi,Ji,Yi,Xi=S({"src/lib/parsers/parse-push.ts"(){q(),Ai(),qi=[new H(/^Pushing to (.+)$/,(e,[t])=>{e.repo=t}),new H(/^updating local tracking ref '(.+)'/,(e,[t])=>{e.ref={...e.ref||{},local:t}}),new H(/^[=*-]\s+([^:]+):(\S+)\s+\[(.+)]$/,(e,[t,n,r])=>{e.pushed.push(Ki(t,n,r))}),new H(/^Branch '([^']+)' set up to track remote branch '([^']+)' from '([^']+)'/,(e,[t,n,r])=>{e.branch={...e.branch||{},local:t,remote:n,remoteName:r}}),new H(/^([^:]+):(\S+)\s+([a-z0-9]+)\.\.([a-z0-9]+)$/,(e,[t,n,r,i])=>{e.update={head:{local:t,remote:n},hash:{from:r,to:i}}})],Ji=(e,t)=>{let n=Yi(e,t),r=Di(e,t);return{...n,...r}},Yi=(e,t)=>K({pushed:[]},qi,[e,t])}}),Zi={};C(Zi,{pushTagsTask:()=>Qi,pushTask:()=>$i});function Qi(e={},t){return j(t,`--tags`),$i(e,t)}function $i(e={},t){let n=[`push`,...t];return e.branch&&n.splice(1,0,e.branch),e.remote&&n.splice(1,0,e.remote),at(n,`-v`),j(n,`--verbose`),j(n,`--porcelain`),{commands:n,format:`utf-8`,parser:Ji}}var ea=S({"src/lib/tasks/push.ts"(){Xi(),q()}});function ta(){return{showBuffer(){let e=[`show`,...W(arguments,1)];return e.includes(`--binary`)||e.splice(1,0,`--binary`),this._runTask(Qt(e),G(arguments))},show(){let e=[`show`,...W(arguments,1)];return this._runTask(Y(e),G(arguments))}}}var na=S({"src/lib/tasks/show.ts"(){q(),X()}}),ra,ia,aa=S({"src/lib/responses/FileStatusSummary.ts"(){ra=/^(.+)\0(.+)$/,ia=class{constructor(e,t,n){if(this.path=e,this.index=t,this.working_dir=n,t===`R`||n===`R`){let t=ra.exec(e)||[null,e,e];this.from=t[2]||``,this.path=t[1]||``}}}}});function oa(e){let[t,n]=e.split(L);return{from:n||t,to:t}}function Q(e,t,n){return[`${e}${t}`,n]}function sa(e,...t){return t.map(t=>Q(e,t,(e,t)=>e.conflicted.push(t)))}function ca(e,t){let n=t.trim();switch(` `){case n.charAt(2):return r(n.charAt(0),n.charAt(1),n.slice(3));case n.charAt(1):return r(` `,n.charAt(0),n.slice(2));default:return}function r(t,n,r){let i=`${t}${n}`,a=ua.get(i);a&&a(e,r),i!==`##`&&i!==`!!`&&e.files.push(new ia(r,t,n))}}var la,ua,da,fa=S({"src/lib/responses/StatusSummary.ts"(){q(),aa(),la=class{constructor(){this.not_added=[],this.conflicted=[],this.created=[],this.deleted=[],this.ignored=void 0,this.modified=[],this.renamed=[],this.files=[],this.staged=[],this.ahead=0,this.behind=0,this.current=null,this.tracking=null,this.detached=!1,this.isClean=()=>!this.files.length}},ua=new Map([Q(` `,`A`,(e,t)=>e.created.push(t)),Q(` `,`D`,(e,t)=>e.deleted.push(t)),Q(` `,`M`,(e,t)=>e.modified.push(t)),Q(`A`,` `,(e,t)=>{e.created.push(t),e.staged.push(t)}),Q(`A`,`M`,(e,t)=>{e.created.push(t),e.staged.push(t),e.modified.push(t)}),Q(`D`,` `,(e,t)=>{e.deleted.push(t),e.staged.push(t)}),Q(`M`,` `,(e,t)=>{e.modified.push(t),e.staged.push(t)}),Q(`M`,`M`,(e,t)=>{e.modified.push(t),e.staged.push(t)}),Q(`R`,` `,(e,t)=>{e.renamed.push(oa(t))}),Q(`R`,`M`,(e,t)=>{let n=oa(t);e.renamed.push(n),e.modified.push(n.to)}),Q(`!`,`!`,(e,t)=>{(e.ignored=e.ignored||[]).push(t)}),Q(`?`,`?`,(e,t)=>e.not_added.push(t)),...sa(`A`,`A`,`U`),...sa(`D`,`D`,`U`),...sa(`U`,`A`,`D`,`U`),[`##`,(e,t)=>{let n=/ahead (\d+)/,r=/behind (\d+)/,i=/^(.+?(?=(?:\.{3}|\s|$)))/,a=/\.{3}(\S*)/,o=/\son\s(\S+?)(?=\.{3}|$)/,s=n.exec(t);e.ahead=s&&+s[1]||0,s=r.exec(t),e.behind=s&&+s[1]||0,s=i.exec(t),e.current=B(s?.[1],V,null),s=a.exec(t),e.tracking=B(s?.[1],V,null),s=o.exec(t),s&&(e.current=B(s?.[1],V,e.current)),e.detached=/\(no branch\)/.test(t)}]]),da=function(e){let t=e.split(L),n=new la;for(let e=0,r=t.length;e<r;){let r=t[e++].trim();r&&(r.charAt(0)===`R`&&(r+=L+(t[e++]||``)),ca(n,r))}return n}}});function pa(e){return{format:`utf-8`,commands:[`status`,`--porcelain`,`-b`,`-u`,`--null`,...e.filter(e=>!ma.includes(e))],parser(e){return da(e)}}}var ma,ha=S({"src/lib/tasks/status.ts"(){fa(),ma=[`--null`,`-z`]}});function ga(e=0,t=0,n=0,r=``,i=!0){return Object.defineProperty({major:e,minor:t,patch:n,agent:r,installed:i},`toString`,{value(){return`${this.major}.${this.minor}.${this.patch}`},configurable:!1,enumerable:!1})}function _a(){return ga(0,0,0,``,!1)}function va(){return{version(){return this._runTask({commands:[`--version`],format:`utf-8`,parser:ya,onError(e,t,n,r){if(e.exitCode===-2)return n(Buffer.from(ba));r(t)}})}}}function ya(e){return e===ba?_a():K(ga(0,0,0,e),xa,e)}var ba,xa,Sa=S({"src/lib/tasks/version.ts"(){q(),ba=`installed=false`,xa=[new H(/version (\d+)\.(\d+)\.(\d+)(?:\s*\((.+)\))?/,(e,[t,n,r,i=``])=>{Object.assign(e,ga(P(t),P(n),P(r),i))}),new H(/version (\d+)\.(\d+)\.(\D+)(.+)?$/,(e,[t,n,r,i=``])=>{Object.assign(e,ga(P(t),P(n),r,i))})]}});function Ca(e,t,n,...r){return V(n)?t(n,B(r[0],V),W(arguments)):J(`git.${e}() requires a string 'repoPath'`)}function wa(){return{clone(e,...t){return this._runTask(Ca(`clone`,Ta,B(e,V),...t),G(arguments))},mirror(e,...t){return this._runTask(Ca(`mirror`,Ea,B(e,V),...t),G(arguments))}}}var Ta,Ea,Da=S({"src/lib/tasks/clone.ts"(){X(),q(),Ta=(e,t,n)=>{let r=[`clone`,...n];return V(e)&&r.push(ne(e)),V(t)&&r.push(ne(t)),Y(r)},Ea=(e,t,n)=>(j(n,`--mirror`),Ta(e,t,n))}}),Oa={};C(Oa,{SimpleGitApi:()=>ka});var ka,Aa=S({"src/lib/simple-git-api.ts"(){dr(),pr(),gr(),br(),Er(),kn(),Or(),Vn(),Ar(),zr(),gi(),Gi(),ea(),na(),ha(),X(),Sa(),q(),Da(),ka=class{constructor(e){this._executor=e}_runTask(e,t){let n=this._executor.chain(),r=n.push(e);return t&&lr(e,r,t),Object.create(this,{then:{value:r.then.bind(r)},catch:{value:r.catch.bind(r)},_executor:{value:n}})}add(e){return this._runTask(Y([`add`,...M(e)]),G(arguments))}cwd(e){let t=G(arguments);return typeof e==`string`?this._runTask(fr(e,this._executor),t):typeof e?.path==`string`?this._runTask(fr(e.path,e.root&&this._executor||void 0),t):this._runTask(J(`Git.cwd: workingDirectory must be supplied as a string`),t)}hashObject(e,t){return this._runTask(kr(e,t===!0),G(arguments))}init(e){return this._runTask(Lr(e===!0,this._executor.cwd,W(arguments)),G(arguments))}merge(){return this._runTask(Wi(W(arguments)),G(arguments))}mergeFromTo(e,t){return V(e)&&V(t)?this._runTask(Wi([e,t,...W(arguments)]),G(arguments,!1)):this._runTask(J(`Git.mergeFromTo requires that the 'remote' and 'branch' arguments are supplied as strings`))}outputHandler(e){return this._executor.outputHandler=e,this}push(){let e=$i({remote:B(arguments[0],V),branch:B(arguments[1],V)},W(arguments));return this._runTask(e,G(arguments))}stash(){return this._runTask(Y([`stash`,...W(arguments)]),G(arguments))}status(){return this._runTask(pa(W(arguments)),G(arguments))}},Object.assign(ka.prototype,hr(),wa(),Tr(),Dn(),vr(),Dr(),In(),mi(),ta(),va())}}),ja={};C(ja,{Scheduler:()=>Na});var Ma,Na,Pa=S({"src/lib/runners/scheduler.ts"(){q(),$n(),Ma=(()=>{let e=0;return()=>{e++;let{promise:t,done:n}=(0,x.createDeferred)();return{promise:t,done:n,id:e}}})(),Na=class{constructor(e=2){this.concurrency=e,this.logger=Qn(``,`scheduler`),this.pending=[],this.running=[],this.logger(`Constructed, concurrency=%s`,e)}schedule(){if(!this.pending.length||this.running.length>=this.concurrency){this.logger(`Schedule attempt ignored, pending=%s running=%s concurrency=%s`,this.pending.length,this.running.length,this.concurrency);return}let e=j(this.running,this.pending.shift());this.logger(`Attempting id=%s`,e.id),e.done(()=>{this.logger(`Completing id=`,e.id),at(this.running,e),this.schedule()})}next(){let{promise:e,id:t}=j(this.pending,Ma());return this.logger(`Scheduling id=%s`,t),this.schedule(),e}}}}),Fa={};C(Fa,{applyPatchTask:()=>Ia});function Ia(e,t){return Y([`apply`,...t,...e])}var La=S({"src/lib/tasks/apply-patch.ts"(){X()}});function Ra(e,t){return{branch:e,hash:t,success:!0}}function za(e){return{branch:e,hash:null,success:!1}}var Ba,Va=S({"src/lib/responses/BranchDeleteSummary.ts"(){Ba=class{constructor(){this.all=[],this.branches={},this.errors=[]}get success(){return!this.errors.length}}}});function Ha(e,t){return t===1&&Wa.test(e)}var Ua,Wa,Ga,Ka,qa=S({"src/lib/parsers/parse-branch-delete.ts"(){Va(),q(),Ua=/(\S+)\s+\(\S+\s([^)]+)\)/,Wa=/^error[^']+'([^']+)'/m,Ga=[new H(Ua,(e,[t,n])=>{let r=Ra(t,n);e.all.push(r),e.branches[t]=r}),new H(Wa,(e,[t])=>{let n=za(t);e.errors.push(n),e.all.push(n),e.branches[t]=n})],Ka=(e,t)=>K(new Ba,Ga,[e,t])}}),Ja,Ya=S({"src/lib/responses/BranchSummary.ts"(){Ja=class{constructor(){this.all=[],this.branches={},this.current=``,this.detached=!1}push(e,t,n,r,i){e===`*`&&(this.detached=t,this.current=n),this.all.push(n),this.branches[n]={current:e===`*`,linkedWorkTree:e===`+`,name:n,commit:r,label:i}}}}});function Xa(e){return e?e.charAt(0):``}function Za(e,t=!1){return K(new Ja,t?[$a]:Qa,e)}var Qa,$a,eo=S({"src/lib/parsers/parse-branch.ts"(){Ya(),q(),Qa=[new H(/^([*+]\s)?\((?:HEAD )?detached (?:from|at) (\S+)\)\s+([a-z0-9]+)\s(.*)$/,(e,[t,n,r,i])=>{e.push(Xa(t),!0,n,r,i)}),new H(/^([*+]\s)?(\S+)\s+([a-z0-9]+)\s?(.*)$/s,(e,[t,n,r,i])=>{e.push(Xa(t),!1,n,r,i)})],$a=new H(/^(\S+)$/s,(e,[t])=>{e.push(`*`,!1,t,``,``)})}}),to={};C(to,{branchLocalTask:()=>io,branchTask:()=>ro,containsDeleteBranchCommand:()=>no,deleteBranchTask:()=>oo,deleteBranchesTask:()=>ao});function no(e){let t=[`-d`,`-D`,`--delete`];return e.some(e=>t.includes(e))}function ro(e){let t=no(e),n=e.includes(`--show-current`),r=[`branch`,...e];return r.length===1&&r.push(`-a`),r.includes(`-v`)||r.splice(1,0,`-v`),{format:`utf-8`,commands:r,parser(e,r){return t?Ka(e,r).all[0]:Za(e,n)}}}function io(){return{format:`utf-8`,commands:[`branch`,`-v`],parser(e){return Za(e)}}}function ao(e,t=!1){return{format:`utf-8`,commands:[`branch`,`-v`,t?`-D`:`-d`,...e],parser(e,t){return Ka(e,t)},onError({exitCode:e,stdOut:t},n,r,i){if(!Ha(String(n),e))return i(n);r(t)}}}function oo(e,t=!1){let n={format:`utf-8`,commands:[`branch`,`-v`,t?`-D`:`-d`,e],parser(t,n){return Ka(t,n).branches[e]},onError({exitCode:e,stdErr:t,stdOut:r},i,a,o){if(!Ha(String(i),e))return o(i);throw new D(n.parser(I(r),I(t)),String(i))}};return n}var so=S({"src/lib/tasks/branch.ts"(){O(),qa(),eo(),q()}});function co(e){let t=e.trim().replace(/^["']|["']$/g,``);return t&&r(t)}var lo,uo=S({"src/lib/responses/CheckIgnore.ts"(){lo=e=>e.split(/\n/g).map(co).filter(Boolean)}}),fo={};C(fo,{checkIgnoreTask:()=>po});function po(e){return{commands:[`check-ignore`,...e],format:`utf-8`,parser:lo}}var mo=S({"src/lib/tasks/check-ignore.ts"(){uo()}});function ho(e,t){return K({raw:e,remote:null,branches:[],tags:[],updated:[],deleted:[]},go,[e,t])}var go,_o=S({"src/lib/parsers/parse-fetch.ts"(){q(),go=[new H(/From (.+)$/,(e,[t])=>{e.remote=t}),new H(/\* \[new branch]\s+(\S+)\s*-> (.+)$/,(e,[t,n])=>{e.branches.push({name:t,tracking:n})}),new H(/\* \[new tag]\s+(\S+)\s*-> (.+)$/,(e,[t,n])=>{e.tags.push({name:t,tracking:n})}),new H(/- \[deleted]\s+\S+\s*-> (.+)$/,(e,[t])=>{e.deleted.push({tracking:t})}),new H(/\s*([^.]+)\.\.(\S+)\s+(\S+)\s*-> (.+)$/,(e,[t,n,r,i])=>{e.updated.push({name:r,tracking:i,to:n,from:t})})]}}),vo={};C(vo,{fetchTask:()=>bo});function yo(e){return/^--upload-pack(=|$)/.test(e)}function bo(e,t,n){let r=[`fetch`,...n];return e&&t&&r.push(e,t),r.find(yo)?J(`git.fetch: potential exploit argument blocked.`):{commands:r,format:`utf-8`,parser:ho}}var xo=S({"src/lib/tasks/fetch.ts"(){_o(),X()}});function So(e){return K({moves:[]},Co,e)}var Co,wo=S({"src/lib/parsers/parse-move.ts"(){q(),Co=[new H(/^Renaming (.+) to (.+)$/,(e,[t,n])=>{e.moves.push({from:t,to:n})})]}}),To={};C(To,{moveTask:()=>Eo});function Eo(e,t){return{commands:[`mv`,`-v`,...M(e),t],format:`utf-8`,parser:So}}var Do=S({"src/lib/tasks/move.ts"(){wo(),q()}}),Oo={};C(Oo,{pullTask:()=>ko});function ko(e,t,n){let r=[`pull`,...n];return e&&t&&r.splice(1,0,e,t),{commands:r,format:`utf-8`,parser(e,t){return Ri(e,t)},onError(e,t,n,r){let i=ji(I(e.stdOut),I(e.stdErr));if(i)return r(new D(i));r(t)}}}var Ao=S({"src/lib/tasks/pull.ts"(){O(),zi(),q()}});function jo(e){let t={};return No(e,([e])=>t[e]={name:e}),Object.values(t)}function Mo(e){let t={};return No(e,([e,n,r])=>{Object.hasOwn(t,e)||(t[e]={name:e,refs:{fetch:``,push:``}}),r&&n&&(t[e].refs[r.replace(/[^a-z]/g,``)]=n)}),Object.values(t)}function No(e,t){nt(e,e=>t(e.split(/\s+/)))}var Po=S({"src/lib/responses/GetRemoteSummary.ts"(){q()}}),Fo={};C(Fo,{addRemoteTask:()=>Io,getRemotesTask:()=>Lo,listRemotesTask:()=>Ro,remoteTask:()=>zo,removeRemoteTask:()=>Bo});function Io(e,t,n){return Y([`remote`,`add`,...n,e,t])}function Lo(e){let t=[`remote`];return e&&t.push(`-v`),{commands:t,format:`utf-8`,parser:e?Mo:jo}}function Ro(e){let t=[...e];return t[0]!==`ls-remote`&&t.unshift(`ls-remote`),Y(t)}function zo(e){let t=[...e];return t[0]!==`remote`&&t.unshift(`remote`),Y(t)}function Bo(e){return Y([`remote`,`remove`,e])}var Vo=S({"src/lib/tasks/remote.ts"(){Po(),X()}}),Ho={};C(Ho,{stashListTask:()=>Uo});function Uo(e={},t){let n=fi(e),r=[`stash`,`list`,...n.commands,...t],i=ei(n.splitter,n.fields,Br(r));return ci(r)||{commands:r,format:`utf-8`,parser:i}}var Wo=S({"src/lib/tasks/stash-list.ts"(){Ur(),ai(),li(),gi()}}),Go={};C(Go,{addSubModuleTask:()=>Ko,initSubModuleTask:()=>qo,subModuleTask:()=>Jo,updateSubModuleTask:()=>Yo});function Ko(e,t){return Jo([`add`,e,t])}function qo(e){return Jo([`init`,...e])}function Jo(e){let t=[...e];return t[0]!==`submodule`&&t.unshift(`submodule`),Y(t)}function Yo(e){return Jo([`update`,...e])}var Xo=S({"src/lib/tasks/sub-module.ts"(){X()}});function Zo(e,t){let n=Number.isNaN(e);return n===Number.isNaN(t)?n?Qo(e,t):0:n?1:-1}function Qo(e,t){return e===t?0:e>t?1:-1}function $o(e){return e.trim()}function es(e){return typeof e==`string`&&parseInt(e.replace(/^\D+/g,``),10)||0}var ts,ns,rs=S({"src/lib/responses/TagList.ts"(){ts=class{constructor(e,t){this.all=e,this.latest=t}},ns=function(e,t=!1){let n=e.split(`
|
|
9
|
-
`).map($o).filter(Boolean);t||n.sort(function(e,t){let n=e.split(`.`),r=t.split(`.`);if(n.length===1||r.length===1)return Zo(es(n[0]),es(r[0]));for(let e=0,t=Math.max(n.length,r.length);e<t;e++){let t=Qo(es(n[e]),es(r[e]));if(t)return t}return 0});let r=t?n[0]:[...n].reverse().find(e=>e.indexOf(`.`)>=0);return new ts(n,r)}}}),is={};C(is,{addAnnotatedTagTask:()=>ss,addTagTask:()=>os,tagListTask:()=>as});function as(e=[]){let t=e.some(e=>/^--sort=/.test(e));return{format:`utf-8`,commands:[`tag`,`-l`,...e],parser(e){return ns(e,t)}}}function os(e){return{format:`utf-8`,commands:[`tag`,e],parser(){return{name:e}}}}function ss(e,t){return{format:`utf-8`,commands:[`tag`,`-a`,`-m`,t,e],parser(){return{name:e}}}}var cs=S({"src/lib/tasks/tag.ts"(){rs()}}),ls=qe({"src/git.js"(e,t){var{GitExecutor:n}=(cr(),w(or)),{SimpleGitApi:r}=(Aa(),w(Oa)),{Scheduler:i}=(Pa(),w(ja)),{adhocExecTask:a,configurationErrorTask:o}=(X(),w(Xt)),{asArray:s,filterArray:c,filterPrimitives:l,filterString:u,filterStringOrStringArray:d,filterType:f,getTrailingOptions:p,trailingFunctionArgument:m,trailingOptionsArgument:ee}=(q(),w(Pt)),{applyPatchTask:te}=(La(),w(Fa)),{branchTask:ne,branchLocalTask:h,deleteBranchesTask:g,deleteBranchTask:re}=(so(),w(to)),{checkIgnoreTask:ie}=(mo(),w(fo)),{checkIsRepoTask:ae}=(Ut(),w(Ft)),{cleanWithOptionsTask:oe,isCleanOptionsArray:se}=(gn(),w(nn)),{diffSummaryTask:ce}=(li(),w(oi)),{fetchTask:le}=(xo(),w(vo)),{moveTask:_}=(Do(),w(To)),{pullTask:ue}=(Ao(),w(Oo)),{pushTagsTask:de}=(ea(),w(Zi)),{addRemoteTask:fe,getRemotesTask:pe,listRemotesTask:me,remoteTask:he,removeRemoteTask:ge}=(Vo(),w(Fo)),{getResetMode:_e,resetTask:ve}=(Jn(),w(Hn)),{stashListTask:ye}=(Wo(),w(Ho)),{addSubModuleTask:be,initSubModuleTask:xe,subModuleTask:Se,updateSubModuleTask:Ce}=(Xo(),w(Go)),{addAnnotatedTagTask:we,addTagTask:Te,tagListTask:Ee}=(cs(),w(is)),{straightThroughBufferTask:v,straightThroughStringTask:y}=(X(),w(Xt));function b(e,t){this._plugins=t,this._executor=new n(e.baseDir,new i(e.maxConcurrentProcesses),t),this._trimmed=e.trimmed}(b.prototype=Object.create(r.prototype)).constructor=b,b.prototype.customBinary=function(e){return this._plugins.reconfigure(`binary`,e),this},b.prototype.env=function(e,t){return arguments.length===1&&typeof e==`object`?this._executor.env=e:(this._executor.env=this._executor.env||{})[e]=t,this},b.prototype.stashList=function(e){return this._runTask(ye(ee(arguments)||{},c(e)&&e||[]),m(arguments))},b.prototype.mv=function(e,t){return this._runTask(_(e,t),m(arguments))},b.prototype.checkoutLatestTag=function(e){var t=this;return this.pull(function(){t.tags(function(n,r){t.checkout(r.latest,e)})})},b.prototype.pull=function(e,t,n,r){return this._runTask(ue(f(e,u),f(t,u),p(arguments)),m(arguments))},b.prototype.fetch=function(e,t){return this._runTask(le(f(e,u),f(t,u),p(arguments)),m(arguments))},b.prototype.silent=function(e){return this._runTask(a(()=>console.warn("simple-git deprecation notice: git.silent: logging should be configured using the `debug` library / `DEBUG` environment variable, this method will be removed.")))},b.prototype.tags=function(e,t){return this._runTask(Ee(p(arguments)),m(arguments))},b.prototype.rebase=function(){return this._runTask(y([`rebase`,...p(arguments)]),m(arguments))},b.prototype.reset=function(e){return this._runTask(ve(_e(e),p(arguments)),m(arguments))},b.prototype.revert=function(e){let t=m(arguments);return typeof e==`string`?this._runTask(y([`revert`,...p(arguments,0,!0),e]),t):this._runTask(o(`Commit must be a string`),t)},b.prototype.addTag=function(e){let t=typeof e==`string`?Te(e):o(`Git.addTag requires a tag name`);return this._runTask(t,m(arguments))},b.prototype.addAnnotatedTag=function(e,t){return this._runTask(we(e,t),m(arguments))},b.prototype.deleteLocalBranch=function(e,t,n){return this._runTask(re(e,typeof t==`boolean`?t:!1),m(arguments))},b.prototype.deleteLocalBranches=function(e,t,n){return this._runTask(g(e,typeof t==`boolean`?t:!1),m(arguments))},b.prototype.branch=function(e,t){return this._runTask(ne(p(arguments)),m(arguments))},b.prototype.branchLocal=function(e){return this._runTask(h(),m(arguments))},b.prototype.raw=function(e){let t=!Array.isArray(e),n=[].slice.call(t?arguments:e,0);for(let e=0;e<n.length&&t;e++)if(!l(n[e])){n.splice(e,n.length-e);break}n.push(...p(arguments,0,!0));var r=m(arguments);return n.length?this._runTask(y(n,this._trimmed),r):this._runTask(o(`Raw: must supply one or more command to execute`),r)},b.prototype.submoduleAdd=function(e,t,n){return this._runTask(be(e,t),m(arguments))},b.prototype.submoduleUpdate=function(e,t){return this._runTask(Ce(p(arguments,!0)),m(arguments))},b.prototype.submoduleInit=function(e,t){return this._runTask(xe(p(arguments,!0)),m(arguments))},b.prototype.subModule=function(e,t){return this._runTask(Se(p(arguments)),m(arguments))},b.prototype.listRemote=function(){return this._runTask(me(p(arguments)),m(arguments))},b.prototype.addRemote=function(e,t,n){return this._runTask(fe(e,t,p(arguments)),m(arguments))},b.prototype.removeRemote=function(e,t){return this._runTask(ge(e),m(arguments))},b.prototype.getRemotes=function(e,t){return this._runTask(pe(e===!0),m(arguments))},b.prototype.remote=function(e,t){return this._runTask(he(p(arguments)),m(arguments))},b.prototype.tag=function(e,t){let n=p(arguments);return n[0]!==`tag`&&n.unshift(`tag`),this._runTask(y(n),m(arguments))},b.prototype.updateServerInfo=function(e){return this._runTask(y([`update-server-info`]),m(arguments))},b.prototype.pushTags=function(e,t){let n=de({remote:f(e,u)},p(arguments));return this._runTask(n,m(arguments))},b.prototype.rm=function(e){return this._runTask(y([`rm`,`-f`,...s(e)]),m(arguments))},b.prototype.rmKeepLocal=function(e){return this._runTask(y([`rm`,`--cached`,...s(e)]),m(arguments))},b.prototype.catFile=function(e,t){return this._catFile(`utf-8`,arguments)},b.prototype.binaryCatFile=function(){return this._catFile(`buffer`,arguments)},b.prototype._catFile=function(e,t){var n=m(t),r=[`cat-file`],i=t[0];if(typeof i==`string`)return this._runTask(o(`Git.catFile: options must be supplied as an array of strings`),n);Array.isArray(i)&&r.push.apply(r,i);let a=e===`buffer`?v(r):y(r);return this._runTask(a,n)},b.prototype.diff=function(e,t){let n=u(e)?o(`git.diff: supplying options as a single string is no longer supported, switch to an array of strings`):y([`diff`,...p(arguments)]);return this._runTask(n,m(arguments))},b.prototype.diffSummary=function(){return this._runTask(ce(p(arguments,1)),m(arguments))},b.prototype.applyPatch=function(e){let t=d(e)?te(s(e),p([].slice.call(arguments,1))):o(`git.applyPatch requires one or more string patches as the first argument`);return this._runTask(t,m(arguments))},b.prototype.revparse=function(){let e=[`rev-parse`,...p(arguments,!0)];return this._runTask(y(e,!0),m(arguments))},b.prototype.clean=function(e,t,n){let r=se(e),i=r&&e.join(``)||f(e,u)||``,a=p([].slice.call(arguments,r?1:0));return this._runTask(oe(i,a),m(arguments))},b.prototype.exec=function(e){return this._runTask({commands:[],format:`utf-8`,parser(){typeof e==`function`&&e()}})},b.prototype.clearQueue=function(){return this._runTask(a(()=>console.warn(`simple-git deprecation notice: clearQueue() is deprecated and will be removed, switch to using the abortPlugin instead.`)))},b.prototype.checkIgnore=function(e,t){return this._runTask(ie(s(f(e,d,[]))),m(arguments))},b.prototype.checkIsRepo=function(e,t){return this._runTask(ae(f(e,u)),m(arguments))},t.exports=b}});E();var us=class extends T{constructor(e,t){super(void 0,t),this.config=e}};E(),E();var $=class extends T{constructor(e,t,n){super(e,n),this.task=e,this.plugin=t,Object.setPrototypeOf(this,new.target.prototype)}};O(),Xe(),Ut(),gn(),kn(),Nn(),Vn(),Jn();function ds(e){if(e)return[{type:`spawn.before`,action(t,n){e.aborted&&n.kill(new $(void 0,`abort`,`Abort already signaled`))}},{type:`spawn.after`,action(t,n){function r(){n.kill(new $(void 0,`abort`,`Abort signal received`))}e.addEventListener(`abort`,r),n.spawned.on(`close`,()=>e.removeEventListener(`abort`,r))}}]}function fs(e={}){return{type:`spawn.args`,action(t,{env:n}){for(let r of Be(t,n))if(e[r.category]!==!0)throw new $(void 0,`unsafe`,r.message);return t}}}q();function ps(e){let t=F(e,`-c`);return{type:`spawn.args`,action(e){return[...t,...e]}}}q();var ms=(0,x.deferred)().promise;function hs({onClose:e=!0,onExit:t=50}={}){function n(){let n=-1,i={close:(0,x.deferred)(),closeTimeout:(0,x.deferred)(),exit:(0,x.deferred)(),exitTimeout:(0,x.deferred)()},a=Promise.race([e===!1?ms:i.closeTimeout.promise,t===!1?ms:i.exitTimeout.promise]);return r(e,i.close,i.closeTimeout),r(t,i.exit,i.exitTimeout),{close(e){n=e,i.close.done()},exit(e){n=e,i.exit.done()},get exitCode(){return n},result:a}}function r(e,t,n){e!==!1&&(e===!0?t.promise:t.promise.then(()=>ct(e))).then(n.done)}return{type:`spawn.after`,async action(e,{spawned:t,close:r}){let i=n(),a=!0,o=()=>void(a=!1);t.stdout?.on(`data`,o),t.stderr?.on(`data`,o),t.on(`error`,o),t.on(`close`,e=>i.close(e)),t.on(`exit`,e=>i.exit(e));try{await i.result,a&&await ct(50),r(i.exitCode)}catch(e){r(i.exitCode,e)}}}}q();var gs=`Invalid value supplied for custom binary, requires a single string or an array containing either one or two strings`,_s=`Invalid value supplied for custom binary, restricted characters must be removed or supply the unsafe.allowUnsafeCustomBinary option`;function vs(e){return!e||!/^([a-z]:)?([a-z0-9/.\\_~-]+)$/i.test(e)}function ys(e,t){if(e.length<1||e.length>2)throw new $(void 0,`binary`,gs);if(e.some(vs))if(t)console.warn(_s);else throw new $(void 0,`binary`,_s);let[n,r]=e;return{binary:n,prefix:r}}function bs(e,t=[`git`],n=!1){let r=ys(M(t),n);e.on(`binary`,e=>{r=ys(M(e),n)}),e.append(`spawn.binary`,()=>r.binary),e.append(`spawn.args`,e=>r.prefix?[r.prefix,...e]:e)}E();function xs(e){return!!(e.exitCode&&e.stdErr.length)}function Ss(e){return Buffer.concat([...e.stdOut,...e.stdErr])}function Cs(e=!1,t=xs,n=Ss){return(r,i)=>!e&&r||!t(i)?r:n(i)}function ws(e){return{type:`task.error`,action(t,n){let r=e(t.error,{stdErr:n.stdErr,stdOut:n.stdOut,exitCode:n.exitCode});return Buffer.isBuffer(r)?{error:new T(void 0,r.toString(`utf-8`))}:{error:r}}}}q();var Ts=class{constructor(){this.plugins=new Set,this.events=new o}on(e,t){this.events.on(e,t)}reconfigure(e,t){this.events.emit(e,t)}append(e,t){let n=j(this.plugins,{type:e,action:t});return()=>this.plugins.delete(n)}add(e){let t=[];return M(e).forEach(e=>e&&this.plugins.add(j(t,e))),()=>{t.forEach(e=>this.plugins.delete(e))}}exec(e,t,n){let r=t,i=Object.freeze(Object.create(n));for(let t of this.plugins)t.type===e&&(r=t.action(r,i));return r}};q();function Es(e){let t=`--progress`,n=[`checkout`,`clone`,`fetch`,`pull`,`push`];return[{type:`spawn.args`,action(e,r){return n.includes(r.method)?it(e,t):e}},{type:`spawn.after`,action(n,r){r.commands.includes(t)&&r.spawned.stderr?.on(`data`,t=>{let n=/^([\s\S]+?):\s*(\d+)% \((\d+)\/(\d+)\)/.exec(t.toString(`utf8`));n&&e({method:r.method,stage:Ds(n[1]),progress:P(n[2]),processed:P(n[3]),total:P(n[4])})})}}]}function Ds(e){return String(e.toLowerCase().split(` `,1))||`unknown`}q();function Os(e){let t=st(e,[`uid`,`gid`]);return{type:`spawn.options`,action(e){return{...t,...e}}}}function ks({block:e,stdErr:t=!0,stdOut:n=!0}){if(e>0)return{type:`spawn.after`,action(r,i){let a;function o(){a&&clearTimeout(a),a=setTimeout(c,e)}function s(){i.spawned.stdout?.off(`data`,o),i.spawned.stderr?.off(`data`,o),i.spawned.off(`exit`,s),i.spawned.off(`close`,s),a&&clearTimeout(a)}function c(){s(),i.kill(new $(void 0,`timeout`,`block timeout reached`))}n&&i.spawned.stdout?.on(`data`,o),t&&i.spawned.stderr?.on(`data`,o),i.spawned.on(`exit`,s),i.spawned.on(`close`,s),o()}}}function As(){return{type:`spawn.args`,action(e){let t=[],n;function r(e){(n||=[]).push(...e)}for(let n=0;n<e.length;n++){let i=e[n];if(h(i)){r(g(i));continue}if(i===`--`){r(e.slice(n+1).flatMap(e=>h(e)&&g(e)||e));break}t.push(i)}return n?[...t,`--`,...n.map(String)]:t}}}q();var js=ls();function Ms(e,t){let n=new Ts,r=Tt(e&&(typeof e==`string`?{baseDir:e}:e)||{},t);if(!rt(r.baseDir))throw new us(r,`Cannot use simple-git on a directory that does not exist`);return Array.isArray(r.config)&&n.add(ps(r.config)),n.add(fs(r.unsafe)),n.add(hs(r.completion)),r.abort&&n.add(ds(r.abort)),r.progress&&n.add(Es(r.progress)),r.timeout&&n.add(ks(r.timeout)),r.spawnOptions&&n.add(Os(r.spawnOptions)),n.add(As()),n.add(ws(Cs(!0))),r.errors&&n.add(ws(r.errors)),bs(n,r.binary,r.unsafe?.allowUnsafeCustomBinary),new js(r,n)}O();var Ns=Ms,Ps=Ms;const Fs=new class{_tail=Promise.resolve();enqueue(e){let t=this._tail.then(()=>e());return this._tail=t.catch(()=>void 0),t}};function Is(e){return Fs.enqueue(e)}const Ls=[`HOME`,`USERPROFILE`,`HOMEDRIVE`,`HOMEPATH`,`APPDATA`,`LOCALAPPDATA`,`ProgramData`,`ALLUSERSPROFILE`,`SystemRoot`,`WINDIR`,`windir`,`ComSpec`,`TEMP`,`TMP`,`USERNAME`,`USERDOMAIN`,`PATHEXT`,`SSH_AUTH_SOCK`,`ELECTRON_RUN_AS_NODE`];function Rs(e){let t={LANG:`C`,LC_ALL:`C`,GIT_TERMINAL_PROMPT:`0`,GIT_MERGE_AUTOEDIT:`no`},n=process.env.PATH??process.env.Path;n!==void 0&&(t.PATH=n);for(let e of Ls){let n=process.env[e];n!==void 0&&(t[e]=n)}return e&&(t.OK_GH_TOKEN=e.token,t.OK_GH_TOKEN_HOST=e.host),t}function zs(e,t){let n={...e.env};for(let[e,r]of Object.entries(t))r!==void 0&&(n[e]=r);return e.git.env(n)}function Bs(e,t={}){let{credentialArgs:n=[],gitIndexFile:r,ghToken:a,timeoutMs:o}=t,s=Rs(a);return r&&(s.GIT_INDEX_FILE=i(e,r)),{git:Ps({baseDir:e,config:[`commit.gpgsign=false`,`core.autocrlf=false`,...n.length>=2?[n[1]]:[]],unsafe:{allowUnsafeCredentialHelper:!0},...o===void 0?{}:{timeout:{block:o}}}).env(s),projectDir:e,credentialArgs:n,env:s}}export{Ns as a,Ps as i,Bs as n,p as o,Is as r,zs as t};
|
|
10
|
-
//# sourceMappingURL=git-handle-XXj9bu6B-DY30-mw9.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-K5T4RW27-ChGdeubA.mjs";import{n as e}from"./chunk-67CJDMHE-CADkctrU.mjs";export{e as createGitGraphServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-B74TABJS-CM6MrFZT.mjs";import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import"./chunk-SNN4IESC-D8LPcAwE.mjs";import"./chunk-2TRDZQLB-Kqh0farN.mjs";import{o as e,r as t,t as n}from"./chunk-3H6UQG3A-B7zoJt1R.mjs";export{e as egrepCommand,t as fgrepCommand,n as grepCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{a as e,r as t,t as n}from"./chunk-LTZRCH7N-DQ58So-F.mjs";export{t as gunzipCommand,n as gzipCommand,e as zcatCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-64BAICW3-BlKhhT3-.mjs";export{e as headCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-MLXIYONF-MXi1NN3K.mjs";export{e as helpCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-NCNPKYJZ-14dRI8Qm.mjs";export{e as historyCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-4HHKTUW3-CewYv3NE.mjs";export{e as hostname};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-MDLLFABN-DDKgmYs5.mjs";export{e as htmlToMarkdownCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-K5T4RW27-ChGdeubA.mjs";import{n as e}from"./chunk-KGLVRYIC-BYA7AJ2g.mjs";export{e as createInfoServices};
|
package/dist/init-D_2w4_8n.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as e}from"./init-CUBRtkez.mjs";export{e as runInit};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-A7ICOL4V-BSbI3udS.mjs";export{e as join};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-B74TABJS-CM6MrFZT.mjs";import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import"./chunk-5QMZ5MUS-BwpNU33k.mjs";import"./chunk-24IMIIXA-DaS5XS55.mjs";import"./chunk-7TSDKFEO-9ACIOuIO.mjs";import"./chunk-KRBPSX3W-DsaeH-hY.mjs";import{n as e}from"./chunk-YULBWSET-sJ_UPhUx.mjs";export{e as jqCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-PBXLG62G-aMLWXguv.mjs";export{e as lnCommand};
|
package/dist/loader-DRR095Jj.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{So as e,_o as t,ps as n,vo as r}from"./server-lock-iLcBw_q0-DK2Tcu84.mjs";import{Aa as i,_ as a,ka as o}from"./dist-0Mfowk3R.mjs";import{t as s}from"./constants-DJC5MEix.mjs";import{t as c}from"./is-object-DAC-mmwo.mjs";import{resolve as l}from"node:path";import{existsSync as u,readFileSync as d}from"node:fs";import{realpath as f}from"node:fs/promises";async function p(e){let t=l(e);try{return await f(t)}catch(e){if(e.code!==`ENOENT`){let n=e instanceof Error?e.message:String(e);console.warn(`[normalize-cwd] realpath failed for ${t}: ${n}`)}return t}}var m=n();function h(e,t){let n={...e};for(let r of Object.keys(t)){let i=e[r],a=t[r];c(a)&&c(i)?n[r]=h(i,a):a!==void 0&&(n[r]=a)}return n}function g(e){if(!u(e))return{value:null,path:e,source:null,doc:null};let t;try{t=d(e,`utf-8`)}catch(t){return console.warn(`[config] Failed to read ${e}: ${t instanceof Error?t.message:t}`),{value:null,path:e,source:null,doc:null}}let n=(0,m.parseDocument)(t);if(n.errors.length>0)return console.warn(`[config] Failed to parse ${e}: ${n.errors.map(e=>e.message).join(`; `)}`),{value:null,path:e,source:t,doc:null};let r=n.toJSON();return c(r)?{value:r,path:e,source:t,doc:n}:{value:null,path:e,source:t,doc:n}}function _(t,n){return t.map(t=>{let r=t.path.map(e=>typeof e==`symbol`?String(e):e),i={path:r,message:t.message,issueCode:t.code};if(n.doc!==null&&n.source!==null){let t=e({file:n.path,source:n.source,doc:n.doc,path:r});if(t!==void 0)return{...i,source:t}}return i})}function v(e){let n=e??process.cwd(),c=[],u=i(`user`,n),d=o({absPath:u}),f={};d.valid&&d.source!==void 0?(f=h(f,d.value),c.push(u)):d.valid;let p=l(n,`.ok`,s),m=g(p);if(m.value!==null){let e=t({value:m.value,file:m.path,source:m.source,doc:m.doc});if(e.length>0)throw Error(e.map(r).join(`
|
|
2
|
-
|
|
3
|
-
`));f=h(f,m.value),c.push(p)}let v=a.safeParse(f);if(!v.success){let e={code:`SCHEMA_INVALID`,issues:_(v.error.issues,m)};throw Error(r(e))}return{config:v.data,sources:c}}function y(e){let t=e.cacheMs??1e3,n=e.loadConfigFn??v,r=new Map,i=new Map,a=p(e.startupCwd);return async o=>{let s=await p(o??e.startupCwd),c=Date.now(),l=r.get(s);if(l&&l.expiresAt>c)return l.config;let u=i.get(s);if(u)return await u;let d=(async()=>{if(s===await a)return r.set(s,{config:e.startupConfig,expiresAt:Date.now()+t}),e.startupConfig;let i=n(s).config;return r.set(s,{config:i,expiresAt:Date.now()+t}),i})();i.set(s,d);try{return await d}finally{i.delete(s)}}}export{v as n,y as t};
|
|
4
|
-
//# sourceMappingURL=loader-DRR095Jj.mjs.map
|
package/dist/loader-QudPqlKw.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./loader-DRR095Jj.mjs";export{e as loadConfig};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-V7TAPXDL-BaVJN6c-.mjs";export{e as lsCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-APT7OOP2-CgGkczFr.mjs";export{e as md5sumCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-MDDMCKUK-CP6l42wf.mjs";export{e as mkdirCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-A4JSPFCI-B_-pySix.mjs";export{e as mvCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-F23WWYKW-tJnOwArx.mjs";export{e as nl};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-PP6PSHAB-B3XXGg2T.mjs";export{e as od};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-K5T4RW27-ChGdeubA.mjs";import{n as e}from"./chunk-FOC6F5B3-BfuMxJA0.mjs";export{e as createPacketServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-JVPRLUMK-D72YT6bi.mjs";export{e as pasteCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-K5T4RW27-ChGdeubA.mjs";import{n as e}from"./chunk-AA7GKIK3-DiBKA6eA.mjs";export{e as createPieServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,t}from"./preview-BUUT3N0t.mjs";export{t as formatPreviewBlock,e as previewContent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-T56QNPHK-CKzBdBMk.mjs";export{e as printfCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as e}from"./chunk-Bj-mKKzh.js";import{n as t,r as n,t as r}from"./compiler-runtime-B6sxACDP.js";import{n as i,r as a}from"./dist-UKzQrqGt.js";import{n as o}from"./createLucideIcon-DkO1lL_8.js";import{a as ee,c as te,i as ne,n as re,o as ie,s as ae,t as oe}from"./dialog-DFGKErvF.js";import{n as se,t as s}from"./git-branch-D6_3xkgC.js";import{t as c}from"./loader-circle-CLDbHvUo.js";import{n as ce,t as le}from"./miss-dialog-store-CyOCdXFw.js";import{n as l}from"./dist-DyPw7rC6.js";import{t as u}from"./desktop-bridge-types-_D7JSBL8.js";import{n as d}from"./worktree-store-DFmh2OE1.js";import{a as f,n as ue}from"./receive-store-DL3XQSe9.js";import{t as de}from"./share-metadata-rows-z85jCRiH.js";var p=e(t(),1),fe=r();function pe(e){let t=e.shareTargetExists,n=e.dirtyConflicts.conflicts,r=e.dirtyConflicts.files;return t&&!n?{kind:`A`,openCurrentEnabled:!0,switchEnabled:!0,conflictingFiles:r}:!t&&!n?{kind:`B`,openCurrentEnabled:!1,switchEnabled:!0,conflictingFiles:r}:t&&n?{kind:`C`,openCurrentEnabled:!0,switchEnabled:!1,conflictingFiles:r}:{kind:`D`,openCurrentEnabled:!1,switchEnabled:!1,conflictingFiles:r}}function me(e){return e.detached?e.currentHeadSha:e.currentBranch??`HEAD`}function m(e){if(e.ok)return{action:`await-cc1`};switch(e.reason){case`dirty-conflict`:return{action:`rerender-conflict`,files:e.files??[]};case`branch-not-found`:return{action:`dismiss-with-toast`,reason:`branch-not-found`};case`fetch-failed`:case`checkout-failed`:return{action:`stay-with-toast`,reason:e.reason};case`branch-in-other-worktree`:{let t=e.otherWorktreePath;return t===void 0||t.length===0?{action:`stay-with-toast`,reason:`checkout-failed`}:{action:`pivot-to-other-worktree`,otherWorktreePath:t}}case`ff-diverged`:return{action:`branch-diverged`};default:{let t=e.reason;throw Error(`Unhandled CheckoutFailureReason: ${String(t)}`)}}}var he={phase:`loading`};function ge(e,t){return e.phase===`loading`?t===null?{phase:`error`}:{phase:`ready`,info:t}:e}function _e(e,t){return e.phase!==`ready`&&e.phase!==`verdict`?e:{phase:`switching`,info:e.info,pendingDoc:t}}function ve(e){return e.phase===`ready`?{phase:`creating-worktree`,info:e.info}:e}function ye(e){return pe(e).kind===`B`&&e.shareTargetOnOriginBranch===!1}function be(e){return e.phase===`ready`?{phase:`verdict-pending`,info:e.info}:e}function xe(e,t){if(e.phase!==`verdict-pending`)return e;if(t===null||t.verdict===`unknown`||t.verdict===`changed-locally`)return{phase:`ready`,info:e.info};let n=t.verdict===`renamed`?{kind:`renamed`,renamedTo:t.renamedTo}:{kind:t.verdict};return{phase:`verdict`,info:e.info,resolution:n}}function Se(e,t){if(e.phase!==`switching`)return{state:e};if(t===null)return{state:{phase:`ready`,info:e.info},sideEffect:{kind:`toast`,reason:`proxy-null`}};let n=m(t);return n.action===`await-cc1`?{state:{phase:`awaiting-cc1-recycle`,pendingDoc:e.pendingDoc}}:n.action===`rerender-conflict`?{state:{phase:`ready`,info:{...e.info,dirtyConflicts:{conflicts:!0,files:n.files.slice()}}}}:n.action===`pivot-to-other-worktree`?{state:{phase:`branch-in-other-worktree`,info:e.info,otherWorktreePath:n.otherWorktreePath,pendingDoc:e.pendingDoc}}:n.action===`dismiss-with-toast`?{state:{phase:`dismissed`,reason:n.reason},sideEffect:{kind:`toast`,reason:n.reason}}:n.action===`branch-diverged`?{state:{phase:`verdict`,info:e.info,resolution:{kind:`diverged`}}}:{state:{phase:`ready`,info:e.info},sideEffect:{kind:`toast`,reason:n.reason}}}function Ce(e,t){return e.phase===`creating-worktree`?t===null?{state:{phase:`ready`,info:e.info},sideEffect:{kind:`toast`,reason:`proxy-null`}}:t.ok?{state:{phase:`opening-worktree`,path:t.path}}:t.reason===`branch-not-found`?{state:{phase:`dismissed`,reason:`branch-not-found`},sideEffect:{kind:`toast`,reason:`branch-not-found`}}:{state:{phase:`ready`,info:e.info},sideEffect:{kind:`toast`,reason:t.reason}}:{state:e}}var h=n();function we(e){return e!==null&&e.kind===`project-branch-switch`}function g(e){let t=(0,fe.c)(217),{bridge:n,store:r}=e,m=r===void 0?ue:r,{_:g}=a(),_=(0,p.useSyncExternalStore)(m.subscribe,m.getSnapshot,je),[v,y]=(0,p.useState)(he),Me=(0,p.useRef)(!1),Ne=(0,p.useRef)(!1),Pe=(0,p.useRef)(!1),Fe=(0,p.useRef)(null),Ie;t[0]===_?Ie=t[1]:(Ie=we(_)?_:null,t[0]=_,t[1]=Ie);let b=Ie,Le;t[2]!==g||t[3]!==b?.share.target.kind?(Le=b?.share.target.kind===`folder`?g({id:`ugoTXs`}):g({id:`XH30C4`}),t[2]=g,t[3]=b?.share.target.kind,t[4]=Le):Le=t[4];let x=Le,Re;t[5]===b?Re=t[6]:(Re=()=>{y(he),Me.current=!1,Ne.current=!1,Pe.current=!1,Fe.current=b},t[5]=b,t[6]=Re);let ze;t[7]===_?ze=t[8]:(ze=[_],t[7]=_,t[8]=ze),(0,p.useEffect)(Re,ze);let Be;t[9]!==b||t[10]!==n?(Be=()=>{if(!b||Me.current)return;Me.current=!0;let e=!1;return n.project.fetchBranchInfo({projectPath:b.projectPath,branch:b.share.branch,kind:b.share.target.kind,path:u(b.share.target)}).then(t=>{e||y(e=>ge(e,t))}).catch(t=>{e||(console.warn(`[receive] branch-info-fetch-failed`,t instanceof Error?t.message:t),y(Ae))}),()=>{e=!0}},t[9]=b,t[10]=n,t[11]=Be):Be=t[11];let Ve;t[12]===b?Ve=t[13]:(Ve=[b],t[12]=b,t[13]=Ve),(0,p.useEffect)(Be,Ve);let He;t[14]!==b||t[15]!==v.info||t[16]!==v.phase||t[17]!==n?(He=()=>{if(!b||v.phase!==`ready`||Pe.current||!ye(v.info))return;Pe.current=!0,y(be);let e=b;n.project.fetchTargetStatus({projectPath:b.projectPath,branch:b.share.branch,kind:b.share.target.kind,path:u(b.share.target)}).then(t=>{Fe.current===e&&y(e=>xe(e,t))}).catch(t=>{Fe.current===e&&(console.warn(`[receive] target-status-fetch-failed`,t instanceof Error?t.message:t),y(ke))})},t[14]=b,t[15]=v.info,t[16]=v.phase,t[17]=n,t[18]=He):He=t[18];let Ue;t[19]!==b||t[20]!==v.phase?(Ue=[v.phase,b],t[19]=b,t[20]=v.phase,t[21]=Ue):Ue=t[21],(0,p.useEffect)(He,Ue);let We;t[22]!==b||t[23]!==v.phase||t[24]!==v.resolution||t[25]!==m?(We=()=>{if(v.phase!==`verdict`)return;let{kind:e}=v.resolution;e!==`deleted`&&e!==`never-on-branch`||b&&(le.arm({kind:b.share.target.kind,path:u(b.share.target),branch:b.share.branch}),m.dismiss())},t[22]=b,t[23]=v.phase,t[24]=v.resolution,t[25]=m,t[26]=We):We=t[26];let Ge;t[27]!==b||t[28]!==v||t[29]!==m?(Ge=[v,b,m],t[27]=b,t[28]=v,t[29]=m,t[30]=Ge):Ge=t[30],(0,p.useEffect)(We,Ge);let Ke;t[31]!==v.phase||t[32]!==v.resolution?(Ke=()=>{v.phase===`verdict`&&console.log(f({verdict_cell:v.resolution.kind}))},t[31]=v.phase,t[32]=v.resolution,t[33]=Ke):Ke=t[33];let qe;t[34]===v?qe=t[35]:(qe=[v],t[34]=v,t[35]=qe),(0,p.useEffect)(Ke,qe);let Je;t[36]!==g||t[37]!==b||t[38]!==v.pendingDoc||t[39]!==v.phase||t[40]!==n||t[41]!==m||t[42]!==x?(Je=()=>{if(v.phase!==`awaiting-cc1-recycle`||!b)return;let e=b.share.branch,t=v.pendingDoc;if(!e){m.dismiss();return}if(Ne.current)return;Ne.current=!0;let r=!1;return n.project.awaitBranchSwitched({projectPath:b.projectPath,branch:e,timeoutMs:3e4}).then(i=>{if(!r){if(i.ok){console.log(f({branch_dialog_action:`branch-switch-complete`,branch:e})),n.project.open({path:b.projectPath,target:`new-window`,entryPoint:`share-receive`,pendingDeepLinkTarget:{kind:b.share.target.kind,path:t},pendingBranch:e}).catch(e=>{console.warn(`[receive] warm-focus-dispatch-failed branch_action=switch`,e instanceof Error?e.message:e),l.error(g({id:`gQV-9w`,values:{targetNoun:x}}))}),m.dismiss();return}console.log(f({branch_dialog_action:`branch-switch-timeout`,branch:e})),l.error(g({id:`LBwUR6`,values:{targetNoun:x}})),m.dismiss()}}).catch(e=>{r||(console.warn(`[receive] awaitBranchSwitched rejected`,e instanceof Error?e.message:e),l.error(g({id:`Jw6EC4`,values:{targetNoun:x}})),m.dismiss())}),()=>{r=!0}},t[36]=g,t[37]=b,t[38]=v.pendingDoc,t[39]=v.phase,t[40]=n,t[41]=m,t[42]=x,t[43]=Je):Je=t[43];let Ye;if(t[44]!==b||t[45]!==v.phase?(Ye=[v.phase,b],t[44]=b,t[45]=v.phase,t[46]=Ye):Ye=t[46],(0,p.useEffect)(Je,Ye),!b)return null;let{share:S,projectPath:C,currentBranch:w}=b,T=S.branch,Xe;t[47]!==g||t[48]!==n.project||t[49]!==C||t[50]!==T||t[51]!==m?(Xe=function(e,t,r){console.log(f({branch_dialog_action:`switch`,branch_action:`switch`,branch:T,verdict_cell:r})),y(t=>_e(t,e)),n.project.runCheckout(t?{projectPath:C,branch:T,fastForward:!0}:{projectPath:C,branch:T}).then(e=>{let t=null,n=!1;y(r=>{let{state:i,sideEffect:a}=Se(r,e);return a&&(t=a.reason,n=i.phase===`dismissed`),i}),t===`branch-not-found`?l.error(g({id:`NJyQi_`,values:{shareBranch:T}})):t===`fetch-failed`?l.error(g({id:`bWLmRK`})):(t===`checkout-failed`||t===`proxy-null`)&&l.error(g({id:`c863eW`,values:{shareBranch:T}})),n&&m.dismiss()}).catch(e=>{console.warn(`[receive] runCheckout rejected branch_action=switch`,e instanceof Error?e.message:e),y(Oe),l.error(g({id:`c863eW`,values:{shareBranch:T}}))})},t[47]=g,t[48]=n.project,t[49]=C,t[50]=T,t[51]=m,t[52]=Xe):Xe=t[52];let E=Xe,Ze;t[53]!==v.info||t[54]!==v.phase||t[55]!==E||t[56]!==S.target?(Ze=function(){v.phase===`ready`&&pe(v.info).switchEnabled&&E(u(S.target),!1)},t[53]=v.info,t[54]=v.phase,t[55]=E,t[56]=S.target,t[57]=Ze):Ze=t[57];let Qe=Ze,$e;t[58]!==v.phase||t[59]!==v.resolution||t[60]!==E||t[61]!==S.target?($e=function(){v.phase===`verdict`&&E(u(S.target),!0,v.resolution.kind)},t[58]=v.phase,t[59]=v.resolution,t[60]=E,t[61]=S.target,t[62]=$e):$e=t[62];let et=$e,tt;t[63]!==v.phase||t[64]!==v.resolution||t[65]!==E?(tt=function(){v.phase===`verdict`&&v.resolution.kind===`renamed`&&E(v.resolution.renamedTo,!0,v.resolution.kind)},t[63]=v.phase,t[64]=v.resolution,t[65]=E,t[66]=tt):tt=t[66];let nt=tt,rt;t[67]!==v.phase||t[68]!==v.resolution||t[69]!==E||t[70]!==S.target?(rt=function(){v.phase===`verdict`&&E(u(S.target),!1,v.resolution.kind)},t[67]=v.phase,t[68]=v.resolution,t[69]=E,t[70]=S.target,t[71]=rt):rt=t[71];let it=rt,at;t[72]!==g||t[73]!==n.project||t[74]!==C||t[75]!==S.target||t[76]!==T||t[77]!==m||t[78]!==x?(at=function(){console.log(f({branch_dialog_action:`open-current`,branch:T})),n.project.open({path:C,target:`new-window`,entryPoint:`share-receive`,pendingDeepLinkTarget:{kind:S.target.kind,path:u(S.target)}}).catch(e=>{console.warn(`[receive] warm-focus-dispatch-failed branch_action=open-current`,e instanceof Error?e.message:e),l.error(g({id:`b5aNbi`,values:{targetNoun:x}}))}),m.dismiss()},t[72]=g,t[73]=n.project,t[74]=C,t[75]=S.target,t[76]=T,t[77]=m,t[78]=x,t[79]=at):at=t[79];let ot=at,st;t[80]!==g||t[81]!==T?(st=function(e){switch(e){case`branch-not-found`:l.error(g({id:`NJyQi_`,values:{shareBranch:T}}));return;case`fetch-failed`:l.error(g({id:`bWLmRK`}));return;case`already-checked-out`:l.error(g({id:`ljHjfg`}));return;case`branch-exists`:l.error(g({id:`h3QZcB`,values:{shareBranch:T}}));return;case`path-exists`:l.error(g({id:`cN1Gcp`,values:{shareBranch:T}}));return;case`no-git`:l.error(g({id:`CFnavk`}));return;case`invalid-branch`:l.error(g({id:`JfPuv7`,values:{shareBranch:T}}));return;case`proxy-null`:case`error`:l.error(g({id:`e8zYa8`,values:{shareBranch:T}}));return;default:throw Error(`Unhandled worktree failure reason: ${String(e)}`)}},t[80]=g,t[81]=T,t[82]=st):st=t[82];let ct=st,lt;t[83]!==g||t[84]!==n.project||t[85]!==S.target||t[86]!==T||t[87]!==ct||t[88]!==m?(lt=function(e){let t=null,r=!1,i=null;if(y(n=>{let{state:a,sideEffect:o}=Ce(n,e);return o&&(t=o.reason,r=a.phase===`dismissed`),a.phase===`opening-worktree`&&(i=a.path),a}),t!==null&&(console.log(f({branch_dialog_action:`open-worktree-failed:${t}`,branch:T})),ct(t)),i!==null){d();let e=i;n.project.open({path:e,target:`new-window`,entryPoint:`worktree`,pendingDeepLinkTarget:{kind:S.target.kind,path:u(S.target)},pendingBranch:T}).catch(t=>{console.warn(`[receive] worktree-open-failed branch_dialog_action=open-worktree`,t instanceof Error?t.message:t),l.error(g({id:`LdABLa`,values:{target:e}}))}),m.dismiss()}r&&m.dismiss()},t[83]=g,t[84]=n.project,t[85]=S.target,t[86]=T,t[87]=ct,t[88]=m,t[89]=lt):lt=t[89];let ut=lt,dt;t[90]!==ut||t[91]!==v.phase||t[92]!==n.worktree||t[93]!==T?(dt=function(){v.phase===`ready`&&(console.log(f({branch_dialog_action:`open-worktree`,branch:T})),y(ve),n.worktree.checkout({branch:T}).then(e=>{ut(e)}).catch(e=>{console.warn(`[receive] worktree-checkout rejected branch_dialog_action=open-worktree`,e instanceof Error?e.message:e),ut(null)}))},t[90]=ut,t[91]=v.phase,t[92]=n.worktree,t[93]=T,t[94]=dt):dt=t[94];let ft=dt,pt;t[95]!==g||t[96]!==v.otherWorktreePath||t[97]!==v.phase||t[98]!==n.project||t[99]!==S.target||t[100]!==T||t[101]!==m?(pt=function(){if(v.phase!==`branch-in-other-worktree`)return;let e=v.otherWorktreePath;console.log(f({branch_dialog_action:`pivot-to-other-worktree`,branch:T})),n.project.open({path:e,target:`new-window`,entryPoint:`share-receive`,pendingDeepLinkTarget:{kind:S.target.kind,path:u(S.target)},pendingBranch:T}).catch(t=>{console.warn(`[receive] pivot-open-failed branch_action=pivot-to-other-worktree`,t instanceof Error?t.message:t),l.error(g({id:`LdABLa`,values:{target:e}}))}),m.dismiss()},t[95]=g,t[96]=v.otherWorktreePath,t[97]=v.phase,t[98]=n.project,t[99]=S.target,t[100]=T,t[101]=m,t[102]=pt):pt=t[102];let mt=pt,ht;t[103]!==v.phase||t[104]!==v.resolution||t[105]!==m?(ht=function(){console.log(f({branch_dialog_action:`cancel`,verdict_cell:v.phase===`verdict`?v.resolution.kind:void 0})),m.dismiss()},t[103]=v.phase,t[104]=v.resolution,t[105]=m,t[106]=ht):ht=t[106];let D=ht,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,U,W,G,K;if(t[107]!==g||t[108]!==v.info||t[109]!==v.otherWorktreePath||t[110]!==v.phase||t[111]!==v.resolution||t[112]!==D||t[113]!==w||t[114]!==S.branch||t[115]!==S.owner||t[116]!==S.repo||t[117]!==S.target||t[118]!==T||t[119]!==x){G=v.phase===`ready`||v.phase===`switching`||v.phase===`creating-worktree`?pe(v.info):null;let e;t[139]!==v.info||t[140]!==v.phase||t[141]!==w?(e=v.phase===`ready`||v.phase===`switching`||v.phase===`creating-worktree`?me(v.info):w??`HEAD`,t[139]=v.info,t[140]=v.phase,t[141]=w,t[142]=e):e=t[142];let n=e;P=v.phase===`switching`||v.phase===`awaiting-cc1-recycle`,j=v.phase===`creating-worktree`;let r;t[143]===g?r=t[144]:(r=g({id:`OuY8t9`}),t[143]=g,t[144]=r),M=r;let a;t[145]===g?a=t[146]:(a=g({id:`XZkdtg`}),t[145]=g,t[146]=a),N=a;let o;t[147]===g?o=t[148]:(o=g({id:`VTulZj`}),t[147]=g,t[148]=o),K=o;let ie=v.phase===`loading`,se=v.phase===`error`;A=oe,U=!0,t[149]===D?W=t[150]:(W=e=>{e||D()},t[149]=D,t[150]=W),k=ne,R=`sm:max-w-xl`,z=`share-branch-switch-dialog`,B=De,V=Ee;let s;t[151]===x?s=t[152]:(s=(0,h.jsx)(te,{children:(0,h.jsx)(i,{id:`RY6Bq1`,values:{targetNoun:x}})}),t[151]=x,t[152]=s);let ce=S.owner,le=S.repo,l;t[153]===S.target?l=t[154]:(l=u(S.target),t[153]=S.target,t[154]=l);let d;t[155]!==S.owner||t[156]!==S.repo||t[157]!==l?(d=(0,h.jsx)(ee,{className:`sr-only`,children:(0,h.jsx)(i,{id:`f8jU-L`,values:{0:ce,1:le,2:l}})}),t[155]=S.owner,t[156]=S.repo,t[157]=l,t[158]=d):d=t[158],t[159]!==s||t[160]!==d?(H=(0,h.jsxs)(ae,{children:[s,d]}),t[159]=s,t[160]=d,t[161]=H):H=t[161],O=re;let f=S.owner,ue=S.repo,p;t[162]===S.target?p=t[163]:(p=u(S.target),t[162]=S.target,t[163]=p),t[164]!==S.branch||t[165]!==S.owner||t[166]!==S.repo||t[167]!==S.target.kind||t[168]!==p?(F=(0,h.jsx)(`div`,{className:`mb-4`,children:(0,h.jsx)(de,{owner:f,repo:ue,path:p,kind:S.target.kind,branch:S.branch,testId:`share-branch-switch-metadata`,branchTestId:`share-branch-switch-metadata-branch`})}),t[164]=S.branch,t[165]=S.owner,t[166]=S.repo,t[167]=S.target.kind,t[168]=p,t[169]=F):F=t[169],I=v.phase===`branch-in-other-worktree`?(0,h.jsxs)(`div`,{className:`text-sm text-muted-foreground`,"data-testid":`share-branch-switch-in-other-worktree`,children:[(0,h.jsx)(`p`,{className:`leading-6`,children:(0,h.jsx)(i,{id:`yjExfe`,values:{shareBranch:T},components:{0:(0,h.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})}})}),(0,h.jsx)(`p`,{className:`mt-2 break-all rounded bg-muted px-2 py-1 font-mono text-xs text-foreground/80`,"data-testid":`share-branch-switch-in-other-worktree-path`,children:v.otherWorktreePath})]}):v.phase===`verdict-pending`?(0,h.jsxs)(`p`,{className:`flex items-center gap-2 text-sm text-muted-foreground`,"data-testid":`share-branch-switch-verdict-pending`,role:`status`,"aria-live":`polite`,children:[(0,h.jsx)(c,{className:`h-4 w-4 animate-spin`,"aria-hidden":`true`}),(0,h.jsx)(i,{id:`c8jBgX`})]}):v.phase===`verdict`?v.resolution.kind===`on-origin`?(0,h.jsx)(`p`,{className:`text-sm leading-6 text-muted-foreground`,"data-testid":`share-branch-switch-verdict-on-origin`,children:(0,h.jsx)(i,{id:`Uay5NL`,values:{targetNoun:x,shareBranch:T},components:{0:(0,h.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})}})}):v.resolution.kind===`renamed`?(0,h.jsx)(`p`,{className:`text-sm leading-6 text-muted-foreground`,"data-testid":`share-branch-switch-verdict-renamed`,children:(0,h.jsx)(i,{id:`P0HC30`,values:{0:v.resolution.renamedTo,targetNoun:x},components:{0:(0,h.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})}})}):v.resolution.kind===`diverged`?(0,h.jsx)(`p`,{className:`text-sm leading-6 text-muted-foreground`,"data-testid":`share-branch-switch-verdict-diverged`,children:(0,h.jsx)(i,{id:`kLv8d3`,values:{shareBranch:T,targetNoun:x},components:{0:(0,h.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})}})}):(0,h.jsxs)(`p`,{className:`flex items-center gap-2 text-sm text-muted-foreground`,"data-testid":`share-branch-switch-verdict-handoff`,role:`status`,"aria-live":`polite`,children:[(0,h.jsx)(c,{className:`h-4 w-4 animate-spin`,"aria-hidden":`true`}),(0,h.jsx)(i,{id:`c8jBgX`})]}):ie?(0,h.jsxs)(`p`,{className:`flex items-center gap-2 text-sm text-muted-foreground`,"data-testid":`share-branch-switch-loading`,role:`status`,"aria-live":`polite`,children:[(0,h.jsx)(c,{className:`h-4 w-4 animate-spin`,"aria-hidden":`true`}),(0,h.jsx)(i,{id:`jerqF0`})]}):se?(0,h.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:(0,h.jsx)(i,{id:`w4hMYl`})}):G?.kind===`D`?(0,h.jsx)(`p`,{className:`text-sm leading-6 text-muted-foreground`,children:(0,h.jsx)(i,{id:`DTI-fp`,values:{targetNoun:x,shareBranch:T},components:{0:(0,h.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})}})}):G?.kind===`B`?(0,h.jsx)(`p`,{className:`text-sm leading-6 text-muted-foreground`,children:(0,h.jsx)(i,{id:`sZ2IOu`,values:{targetNoun:x,shareBranch:T,currentLabel:n},components:{0:(0,h.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`}),1:(0,h.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})}})}):(0,h.jsx)(`p`,{className:`text-sm leading-6 text-muted-foreground`,children:(0,h.jsx)(i,{id:`_902BE`,values:{targetNoun:x,shareBranch:T,currentLabel:n},components:{0:(0,h.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`}),1:(0,h.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})}})}),L=G&&!G.switchEnabled&&G.conflictingFiles.length>0?(0,h.jsxs)(`div`,{className:`mt-3 rounded-md border border-border bg-muted/30 p-3 text-1sm`,"data-testid":`share-branch-switch-conflict`,children:[(0,h.jsx)(`p`,{className:`font-medium text-foreground/90`,children:(0,h.jsx)(i,{id:`n2lRue`})}),(0,h.jsx)(`ul`,{id:`share-receive-branch-conflict-files`,className:`mt-1 list-disc space-y-0.5 pl-5 text-muted-foreground`,children:G.conflictingFiles.map(Te)})]}):null,t[107]=g,t[108]=v.info,t[109]=v.otherWorktreePath,t[110]=v.phase,t[111]=v.resolution,t[112]=D,t[113]=w,t[114]=S.branch,t[115]=S.owner,t[116]=S.repo,t[117]=S.target,t[118]=T,t[119]=x,t[120]=O,t[121]=k,t[122]=A,t[123]=j,t[124]=M,t[125]=N,t[126]=P,t[127]=F,t[128]=I,t[129]=L,t[130]=R,t[131]=z,t[132]=B,t[133]=V,t[134]=H,t[135]=U,t[136]=W,t[137]=G,t[138]=K}else O=t[120],k=t[121],A=t[122],j=t[123],M=t[124],N=t[125],P=t[126],F=t[127],I=t[128],L=t[129],R=t[130],z=t[131],B=t[132],V=t[133],H=t[134],U=t[135],W=t[136],G=t[137],K=t[138];let q;t[170]===P?q=t[171]:(q=P?(0,h.jsxs)(`p`,{className:`mt-3 flex items-center gap-2 text-sm text-muted-foreground`,"data-testid":`share-branch-switch-switching`,role:`status`,"aria-live":`polite`,children:[(0,h.jsx)(c,{className:`h-4 w-4 animate-spin`,"aria-hidden":`true`}),(0,h.jsx)(i,{id:`CU3AiE`})]}):null,t[170]=P,t[171]=q);let J;t[172]===j?J=t[173]:(J=j?(0,h.jsxs)(`p`,{className:`mt-3 flex items-center gap-2 text-sm text-muted-foreground`,"data-testid":`share-branch-switch-creating-worktree`,role:`status`,"aria-live":`polite`,children:[(0,h.jsx)(c,{className:`h-4 w-4 animate-spin`,"aria-hidden":`true`}),(0,h.jsx)(i,{id:`PZtgO0`})]}):null,t[172]=j,t[173]=J);let Y;t[174]!==O||t[175]!==F||t[176]!==I||t[177]!==L||t[178]!==q||t[179]!==J?(Y=(0,h.jsxs)(O,{children:[F,I,L,q,J]}),t[174]=O,t[175]=F,t[176]=I,t[177]=L,t[178]=q,t[179]=J,t[180]=Y):Y=t[180];let gt;t[181]===Symbol.for(`react.memo_cache_sentinel`)?(gt=(0,h.jsx)(i,{id:`dEgA5A`}),t[181]=gt):gt=t[181];let X;t[182]===D?X=t[183]:(X=(0,h.jsx)(o,{variant:`ghost`,className:`font-mono uppercase`,onClick:D,"data-testid":`share-branch-switch-cancel`,children:gt}),t[182]=D,t[183]=X);let Z;t[184]!==v.phase||t[185]!==v.resolution||t[186]!==j||t[187]!==ot||t[188]!==nt||t[189]!==ft||t[190]!==mt||t[191]!==it||t[192]!==Qe||t[193]!==et||t[194]!==M||t[195]!==N||t[196]!==P||t[197]!==G||t[198]!==K?(Z=v.phase===`branch-in-other-worktree`?(0,h.jsx)(o,{onClick:mt,"data-testid":`share-branch-switch-in-other-worktree-pivot`,children:(0,h.jsx)(i,{id:`hyCxJY`})}):v.phase===`verdict`?v.resolution.kind===`on-origin`?(0,h.jsxs)(o,{onClick:et,"data-testid":`share-branch-switch-verdict-switch-update`,children:[(0,h.jsx)(s,{className:`size-3.5`,"aria-hidden":!0}),(0,h.jsx)(i,{id:`uA_jXp`})]}):v.resolution.kind===`renamed`?(0,h.jsxs)(o,{onClick:nt,"data-testid":`share-branch-switch-verdict-open-renamed`,children:[(0,h.jsx)(ce,{className:`size-3.5`,"aria-hidden":!0}),(0,h.jsx)(i,{id:`AItsE5`})]}):v.resolution.kind===`diverged`?(0,h.jsxs)(o,{onClick:it,"data-testid":`share-branch-switch-verdict-plain-switch`,children:[(0,h.jsx)(s,{className:`size-3.5`,"aria-hidden":!0}),N]}):null:(0,h.jsxs)(`div`,{className:`flex min-w-0 flex-col-reverse gap-2 sm:flex-row sm:flex-wrap sm:justify-end sm:gap-2`,children:[G?.openCurrentEnabled?(0,h.jsxs)(o,{variant:`outline`,className:`font-mono uppercase`,onClick:ot,disabled:P||j,"data-testid":`share-branch-switch-open-current`,children:[(0,h.jsx)(ce,{className:`size-3.5`,"aria-hidden":!0}),M]}):null,(0,h.jsx)(o,{variant:`outline`,onClick:Qe,disabled:!G?.switchEnabled||P||j,"aria-disabled":!G?.switchEnabled||P||j,"aria-describedby":G&&!G.switchEnabled&&G.conflictingFiles.length>0?`share-receive-branch-conflict-files`:void 0,"data-testid":`share-branch-switch-switch`,children:P?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(c,{className:`size-3.5 animate-spin`,"aria-hidden":`true`}),N]}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(s,{className:`size-3.5`,"aria-hidden":!0}),N]})}),(0,h.jsx)(o,{onClick:ft,disabled:!G||P||j,"data-testid":`share-branch-switch-worktree`,children:j?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(c,{className:`size-3.5 animate-spin`,"aria-hidden":`true`}),K]}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(se,{className:`size-3.5`,"aria-hidden":!0}),K]})})]}),t[184]=v.phase,t[185]=v.resolution,t[186]=j,t[187]=ot,t[188]=nt,t[189]=ft,t[190]=mt,t[191]=it,t[192]=Qe,t[193]=et,t[194]=M,t[195]=N,t[196]=P,t[197]=G,t[198]=K,t[199]=Z):Z=t[199];let Q;t[200]!==X||t[201]!==Z?(Q=(0,h.jsxs)(ie,{className:`sm:justify-between`,children:[X,Z]}),t[200]=X,t[201]=Z,t[202]=Q):Q=t[202];let $;t[203]!==k||t[204]!==R||t[205]!==z||t[206]!==B||t[207]!==V||t[208]!==H||t[209]!==Y||t[210]!==Q?($=(0,h.jsxs)(k,{className:R,"data-testid":z,onInteractOutside:B,onPointerDownOutside:V,children:[H,Y,Q]}),t[203]=k,t[204]=R,t[205]=z,t[206]=B,t[207]=V,t[208]=H,t[209]=Y,t[210]=Q,t[211]=$):$=t[211];let _t;return t[212]!==A||t[213]!==U||t[214]!==W||t[215]!==$?(_t=(0,h.jsx)(A,{open:U,onOpenChange:W,children:$}),t[212]=A,t[213]=U,t[214]=W,t[215]=$,t[216]=_t):_t=t[216],_t}function Te(e){return(0,h.jsx)(`li`,{children:(0,h.jsx)(`code`,{className:`text-foreground/80`,children:e})},e)}function Ee(e){e.preventDefault()}function De(e){e.preventDefault()}function Oe(e){return Se(e,null).state}function ke(e){return xe(e,null)}function Ae(e){return ge(e,null)}function je(){return null}export{g as ShareBranchSwitchDialog};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-A4HU7SVR-DPxgapmK.mjs";export{e as pwdCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-K5T4RW27-ChGdeubA.mjs";import{n as e}from"./chunk-2KRD3SAO-Ci0JL9ng.mjs";export{e as createRadarServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-HJWBQKYG-D9DjORFc.mjs";export{e as readlinkCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./repair-skills-g00h1ESt.mjs";export{e as repairSkills};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{ka as e}from"./server-lock-iLcBw_q0-DK2Tcu84.mjs";import{Kr as t,Rr as n,Vr as r,Xr as i,d as a,ha as o,lt as s,ni as c,ua as l}from"./dist-0Mfowk3R.mjs";import{t as u}from"./esm-BNIW0EH8.mjs";import{a as d,d as f,f as p,t as m}from"./write-project-skill-D82uNxGO.mjs";import{dirname as h,join as g,resolve as _}from"node:path";import{existsSync as v,mkdirSync as y,readFileSync as b,readdirSync as x,rmSync as S,statSync as C,writeFileSync as w}from"node:fs";import{homedir as T}from"node:os";const E={existsSync:e=>v(e),isDirectory:e=>{try{return C(e).isDirectory()}catch(e){if(e.code===`ENOENT`)return!1;throw e}},readdirSync:e=>x(e),readFileSync:e=>b(e),writeFileSync:(e,t)=>{w(e,t)},mkdirSync:(e,t)=>{y(e,t)},rmSync:(e,t)=>{S(e,t)}},D={resolveProjectBundledSkillDir:()=>c(`project`,{checkDesktop:!1}),resolveUserBundledSkillDir:e=>c(e,{checkDesktop:!1}),readBundledVersion:()=>r(),readRecordedVersion:e=>t(e,`cli-hosts`),writeRecordedVersion:(e,t)=>o(e,`cli-hosts`,t,`cli-start`),recordEvent:e=>i(e),readBundleDecision:(e,t)=>n(e,t),writeBundleDecision:(e,t,n)=>l(e,t,n),removeBundleFromDisk:(e,t)=>d(e,t)};function O(e){process.stderr.write(`${JSON.stringify(e)}\n`)}function k(e,t,n){n.rmSync(t,{recursive:!0,force:!0}),n.mkdirSync(h(t),{recursive:!0}),A(e,t,n)}function A(e,t,n){n.mkdirSync(t,{recursive:!0});for(let r of n.readdirSync(e)){let i=g(e,r),a=g(t,r);n.isDirectory(i)?A(i,a,n):n.writeFileSync(a,n.readFileSync(i))}}function j(e,t,n,r,i,a){let o=[],s=g(e,`.agents`,`skills`,t),c=r.existsSync(s),l=!1;try{k(n,s,r),l=!0,o.push({kind:`central`,path:s,outcome:c?`overwritten`:`written`}),i({event:`user-skill-reclaim-central-written`,scope:`user`,path:s,preexisting:c,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 p){let l=g(e,c.hostDir),u=g(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}let d=r.existsSync(u);try{k(n,u,r),o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:d?`overwritten`:`written`}),i({event:`user-skill-reclaim-host-written`,scope:`user`,editorId:c.editorId,hostDir:c.hostDir,path:u,preexisting:d,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:l}}function M(e,t){if(!e)return!1;try{if(!t.existsSync(e))return!1;let n=t.readFileSync(e).toString(`utf8`);return n.includes(`# ok-mcp-v1`)||n.includes(`# ok-mcp-win-v1`)}catch{return!1}}function N(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 p){let o=g(e,t.hostDir,`skills`,`open-knowledge`),s=g(o,`SKILL.md`),c=n.existsSync(s),l=f[t.editorId]?.projectConfigPath?.(e),u=!c&&M(l,n);if(!c&&!u){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{m(o,e),k(i,o,n);let s=c?`reclaimed`:`created`;a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:s}),r({event:c?`project-skill-reclaim-reclaimed`:`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 P(t,n,r,i){let o=e=>{n.recordEvent(e).catch(()=>{})},c=()=>new Date().toISOString(),l;try{l=await n.readBundledVersion()}catch(e){let t=e instanceof Error?e.message:String(e);return i({event:`user-skill-reclaim-version-read-failed`,scope:`user`,error:t}),o({ts:c(),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){i({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 s)try{d.push({id:e,sourceDir:n.resolveUserBundledSkillDir(e)})}catch(e){f=e instanceof Error?e.message:String(e)}if(d.length===0)return i({event:`user-skill-reclaim-bundle-missing`,scope:`user`,error:f??`no user-global bundles`}),o({ts:c(),surface:`cli-start`,target:`cli-hosts`,outcome:`failed`,reason:`bundle-missing:${f}`}),{outcome:`skipped`,reason:`bundle-missing`};let p=[];for(let o of d){let s=a[o.id],c=r.existsSync(g(t,`.agents`,`skills`,s)),l=await n.readBundleDecision(t,s).catch(()=>null);if(!e(l,{installedOnDisk:c})){if(c)try{n.removeBundleFromDisk(t,o.id),i({event:`user-skill-reclaim-bundle-declined-removed`,scope:`user`,bundle:o.id})}catch(e){i({event:`user-skill-reclaim-bundle-remove-failed`,scope:`user`,bundle:o.id,error:e instanceof Error?e.message:String(e)})}continue}if(l===null&&c)try{await n.writeBundleDecision(t,s,!0)}catch(e){i({event:`user-skill-reclaim-grandfather-write-failed`,scope:`user`,bundle:o.id,error:e instanceof Error?e.message:String(e)})}p.push(o)}if(p.length===0)return{outcome:`skipped`,reason:`all-bundles-declined`};let m=p.every(e=>r.existsSync(g(t,`.agents`,`skills`,a[e.id])));if(u!==null&&u===l&&m)return i({event:`user-skill-reclaim-skipped-version-current`,scope:`user`,version:l}),{outcome:`skipped`,reason:`version-current`};let h=[],_=d.length===s.length,v=!0;for(let{id:e,sourceDir:n}of p){let o=j(t,a[e],n,r,i,l);h.push(...o.entries),o.centralWritten||(v=!1)}let y=h.some(e=>e.kind===`central`&&(e.outcome===`written`||e.outcome===`overwritten`));if(_&&v&&y){let e=null;try{await n.writeRecordedVersion(t,l),i({event:`user-skill-reclaim-version-recorded`,scope:`user`,version:l})}catch(t){e=t instanceof Error?t.message:String(t),i({event:`user-skill-reclaim-version-record-failed`,scope:`user`,version:l,error:e})}for(let{id:t}of p)o({ts:c(),surface:`cli-start`,target:`cli-hosts`,bundle:t,outcome:e===null?`installed`:`failed`,version:l,...e===null?{}:{reason:`state-write-failed:${e}`}})}else{let e=h.some(e=>e.kind===`host`&&e.outcome===`failed`);o({ts:c(),surface:`cli-start`,target:`cli-hosts`,outcome:`failed`,version:l,reason:e?`all-writes-failed`:`no-hosts-installed`})}return{outcome:`done`,version:l,entries:h}}async function F(e){let t=e.logger??O,n=e.fs??E,r=e.home??T(),i={...D,...e.deps};return e.reclaimDisableEnv===`1`?(t({event:`skill-repair-skipped`,reason:`reclaim-disabled`}),{status:`skipped`,reason:`reclaim-disabled`}):{status:`done`,project:N(e.projectDir,i,n,t),user:await P(r,i,n,t)}}function I(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 L(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===`reclaimed`).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} reclaimed, ${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`||e.outcome===`overwritten`).length,r=e.user.entries.filter(e=>e.outcome===`skipped-host-absent`||e.outcome===`skipped-collapsed-with-central`).length,i=e.user.entries.filter(e=>e.outcome===`failed`).length;t.push(` User (${e.user.version}): ${n} written, ${r} skipped, ${i} failed.`)}else t.push(` User: skipped (${e.user.reason}).`);return t.join(`
|
|
2
|
-
`)}function R(){return new u(`repair-skills`).description("Refresh bundled SKILL.md files for installed AI editors (project-local + user-global). Runs automatically during `ok start`; this command forces an explicit sweep.").action(async()=>{let e=await F({projectDir:_(process.cwd()),reclaimDisableEnv:process.env.OK_RECLAIM_DISABLE??null});process.stdout.write(`${L(e)}\n`),process.exitCode=I(e)})}export{R as n,F as t};
|
|
3
|
-
//# sourceMappingURL=repair-skills-g00h1ESt.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-QCDB2VPH-D3ULCm4b.mjs";export{e as rev};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-B74TABJS-CM6MrFZT.mjs";import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import"./chunk-7TSDKFEO-9ACIOuIO.mjs";import"./chunk-2TRDZQLB-Kqh0farN.mjs";import{t as e}from"./chunk-YMMW5UAP-jiH3wEeU.mjs";export{e as rgCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-MIZPJHVH-BLEhGmNy.mjs";export{e as rmCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-OCS6LSEM-D4VLThbM.mjs";export{e as rmdirCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-B74TABJS-CM6MrFZT.mjs";import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import"./chunk-5QMZ5MUS-BwpNU33k.mjs";import"./chunk-24IMIIXA-DaS5XS55.mjs";import{t as e}from"./chunk-ZZO3UDB3-Jw0Ocy-R.mjs";export{e as sedCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-A7A2DBEE-DGJklf-9.mjs";export{e as seqCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e,f as t,y as n}from"./server-lock-iLcBw_q0-DK2Tcu84.mjs";export{t as markServerLockDraining,e as releaseServerLock,n as updateServerLockPort};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-XKQRETAK-CG272cRl.mjs";export{e as sha1sumCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{t as e}from"./chunk-5V6VZH6T-BEpcJpsv.mjs";export{e as sha256sumCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import"./chunk-5QMZ5MUS-BwpNU33k.mjs";import"./chunk-A5O5YHGN-DApqA6Ow.mjs";import{n as e}from"./chunk-GOV5EKKI-CnqfYKLU.mjs";export{e as sleepCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-KMEYNNUA-C311YB2Q.mjs";export{e as sortCommand};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import{n as e}from"./chunk-MYE6AGBJ-BkwmDIR4.mjs";export{e as split};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-DXB73IDG-F_tmy-Lz.mjs";import"./chunk-5QMZ5MUS-BwpNU33k.mjs";import"./chunk-A5O5YHGN-DApqA6Ow.mjs";import"./chunk-24IMIIXA-DaS5XS55.mjs";import{t as e}from"./chunk-XKWWSDBF-EI7W96Bb.mjs";export{e as sqlite3Command};
|
package/dist/start-BZ29iacu.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e,f as t,r as n}from"./start-CC6n9G3S.mjs";export{n as bootStartServer,t as resolveHost,e as startCommand};
|