@inkeep/open-knowledge 0.36.0-beta.19 → 0.36.0-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (479) hide show
  1. package/dist/{abnfDiagram-VRR7QNED-MRuwtYUd.mjs → abnfDiagram-VRR7QNED-CyIW4oQ8.mjs} +2 -2
  2. package/dist/{acp-harness-probe-BB3MCnqT.mjs → acp-harness-probe-DAsiIrn7.mjs} +2 -2
  3. package/dist/alias-JE7RI5QX-BvhaFG9J.mjs +1 -0
  4. package/dist/{arc-bUagScrM.mjs → arc-CYbidMQb.mjs} +2 -2
  5. package/dist/architecture-TIHT7OUA-BVYsZR9r.mjs +1 -0
  6. package/dist/{architectureDiagram-ZJ3FMSHR-CxgAI6og.mjs → architectureDiagram-ZJ3FMSHR-CLPPzKEe.mjs} +2 -2
  7. package/dist/{array-DX8f3OIE.mjs → array-BqQze_vE.mjs} +1 -1
  8. package/dist/assets/skills/discovery/SKILL.md +1 -1
  9. package/dist/assets/skills/project/SKILL.md +1 -1
  10. package/dist/awk2-BBAGSFUB-C0jQbtG6.mjs +1 -0
  11. package/dist/{banner-5C76vSEs.mjs → banner-_FQsQkvC.mjs} +2 -2
  12. package/dist/base64-4YMZCVJ5-E_RwmVUf.mjs +1 -0
  13. package/dist/basename-AA2KJYZQ-Dq2O0Dr6.mjs +1 -0
  14. package/dist/bash-IJWYRKFO-BWspyNyq.mjs +1 -0
  15. package/dist/{blockDiagram-677ZJIJ3-DlSE_0dd.mjs → blockDiagram-677ZJIJ3-C-y19CxU.mjs} +2 -2
  16. package/dist/{build-fAc55Z_L.mjs → build-DYQrG4v7.mjs} +1 -1
  17. package/dist/build-DcqN8tua.mjs +1 -0
  18. package/dist/{c4Diagram-LMCZKHZV-DaqyG3s1.mjs → c4Diagram-LMCZKHZV-o2jsbHiN.mjs} +2 -2
  19. package/dist/cat-RDUMLXKC-C3vpYzfr.mjs +1 -0
  20. package/dist/channel-DhqoAJoQ.mjs +2 -0
  21. package/dist/chmod-SYMGL4JA-BzT6KWst.mjs +1 -0
  22. package/dist/{chokidar-OqiVg15e.mjs → chokidar-BCS--vwu.mjs} +1 -1
  23. package/dist/{chunk-24IMIIXA-DBezOUnl.mjs → chunk-24IMIIXA-BQtWA2ag.mjs} +2 -2
  24. package/dist/{chunk-2Q5K7J3B-B8UqHstN.mjs → chunk-2Q5K7J3B-BBA6_zq_.mjs} +2 -2
  25. package/dist/{chunk-2TRDZQLB-Dng6mmbO.mjs → chunk-2TRDZQLB-C_2g1dOd.mjs} +2 -2
  26. package/dist/{chunk-32BRIVSS-Bbzg5lXo.mjs → chunk-32BRIVSS-DYHXEarP.mjs} +2 -2
  27. package/dist/{chunk-3BS5SKQH-4DsN-4Xp.mjs → chunk-3BS5SKQH-nmqNxSIe.mjs} +3 -3
  28. package/dist/{chunk-3H6UQG3A-DiiyFHtZ.mjs → chunk-3H6UQG3A-DLwP7IGN.mjs} +2 -2
  29. package/dist/{chunk-3THT3N7L-DAZ4If0x.mjs → chunk-3THT3N7L-DcPtGCSm.mjs} +1 -1
  30. package/dist/{chunk-3ZUFRYJ4-CpL2LPMn.mjs → chunk-3ZUFRYJ4-DX32azSC.mjs} +1 -1
  31. package/dist/{chunk-44UOCSGV-BO2nBFF4.mjs → chunk-44UOCSGV-Dadyg26w.mjs} +1 -1
  32. package/dist/{chunk-4GTNDTRF-KZ4XTGAA.mjs → chunk-4GTNDTRF-BT6SNd8s.mjs} +2 -2
  33. package/dist/{chunk-4HHKTUW3-CwSRwJJP.mjs → chunk-4HHKTUW3-CL0rAYDo.mjs} +1 -1
  34. package/dist/{chunk-4Q4SM6WR-C93GB6-C.mjs → chunk-4Q4SM6WR-Cf1guB-L.mjs} +2 -2
  35. package/dist/{chunk-52WLFC77-CSTEN0ni.mjs → chunk-52WLFC77-DH1KQBRY.mjs} +2 -2
  36. package/dist/{chunk-55VFSPNA-B2_R6xXq.mjs → chunk-55VFSPNA-B2P94_nY.mjs} +2 -2
  37. package/dist/{chunk-5FCAYU7R-C1nG1tRO.mjs → chunk-5FCAYU7R-DamFELXo.mjs} +2 -2
  38. package/dist/{chunk-5HE753X5-VIkzv7xx.mjs → chunk-5HE753X5-CK-MLDEN.mjs} +2 -2
  39. package/dist/{chunk-5JV3BV7I-Cq3bUKo-.mjs → chunk-5JV3BV7I-XXAgMX9r.mjs} +2 -2
  40. package/dist/{chunk-5QMZ5MUS-DQpm1xRC.mjs → chunk-5QMZ5MUS-D8tv8KWc.mjs} +2 -2
  41. package/dist/{chunk-5QVNJEHU-pD4J4Xco.mjs → chunk-5QVNJEHU-0Om-Hby0.mjs} +2 -2
  42. package/dist/{chunk-5TONJI2A-BwxHXb6l.mjs → chunk-5TONJI2A-Du5dq0Ys.mjs} +2 -2
  43. package/dist/{chunk-5V6VZH6T-BslUs7qc.mjs → chunk-5V6VZH6T-D9prksm6.mjs} +2 -2
  44. package/dist/{chunk-5VM5RSS4-CHIwvYlB.mjs → chunk-5VM5RSS4-B9nF5Lzd.mjs} +2 -2
  45. package/dist/{chunk-62RKD26F-CQ3_xat_.mjs → chunk-62RKD26F-pjncC7By.mjs} +2 -2
  46. package/dist/{chunk-64BAICW3-BC9fynW-.mjs → chunk-64BAICW3-2hCf5wU5.mjs} +2 -2
  47. package/dist/{chunk-6Z5SFZXK-DXL8xXAg.mjs → chunk-6Z5SFZXK-eDS7YpbK.mjs} +2 -2
  48. package/dist/{chunk-74CEPOFO-BMp2K2yg.mjs → chunk-74CEPOFO-D5a5lNJR.mjs} +1 -1
  49. package/dist/{chunk-7BUUIJ7U-fAmGLgX5.mjs → chunk-7BUUIJ7U-CKtuqKC6.mjs} +2 -2
  50. package/dist/{chunk-7L36YK2X-3t0hnWY1.mjs → chunk-7L36YK2X-L3jD5RT-.mjs} +1 -1
  51. package/dist/{chunk-7TSDKFEO-B5SsJVbr.mjs → chunk-7TSDKFEO-Csacasvr.mjs} +1 -1
  52. package/dist/{chunk-A4HU7SVR-DfoZhmnP.mjs → chunk-A4HU7SVR-B6M8dLIA.mjs} +1 -1
  53. package/dist/{chunk-A4JSPFCI-Cux120UA.mjs → chunk-A4JSPFCI-CcbmCyG6.mjs} +2 -2
  54. package/dist/{chunk-A5O5YHGN-o5pxA52u.mjs → chunk-A5O5YHGN-C27iG4wY.mjs} +2 -2
  55. package/dist/{chunk-A65PWWJC-GAptCb-I.mjs → chunk-A65PWWJC-D_GAtJYb.mjs} +2 -2
  56. package/dist/{chunk-A7A2DBEE-BSr2clxw.mjs → chunk-A7A2DBEE-D1HWRTG-.mjs} +1 -1
  57. package/dist/{chunk-A7ICOL4V-CjiwzhhS.mjs → chunk-A7ICOL4V-C8N1DqNa.mjs} +2 -2
  58. package/dist/{chunk-ALLTKNUZ-DoK58avP.mjs → chunk-ALLTKNUZ-AOz3zDg8.mjs} +2 -2
  59. package/dist/{chunk-APT7OOP2-BQaqF8RQ.mjs → chunk-APT7OOP2-e8HVVYt4.mjs} +2 -2
  60. package/dist/{chunk-B74TABJS-BYzuvHKf.mjs → chunk-B74TABJS-BSazPoW8.mjs} +1 -1
  61. package/dist/{chunk-BGSUD5R5-B1XnW7TM.mjs → chunk-BGSUD5R5-BIZeqUja.mjs} +2 -2
  62. package/dist/{chunk-BIQX33UG-DRq8q_SM.mjs → chunk-BIQX33UG-CLYGAgEl.mjs} +2 -2
  63. package/dist/{chunk-C7G6YPKG-B1crnvB0.mjs → chunk-C7G6YPKG-Bd7km2QU.mjs} +2 -2
  64. package/dist/{chunk-CQNSW5MT-C6bTzUCm.mjs → chunk-CQNSW5MT-C4GcKMFe.mjs} +2 -2
  65. package/dist/{chunk-CWQS3NFK-BlLAUZpn.mjs → chunk-CWQS3NFK-HnFncXpd.mjs} +1 -1
  66. package/dist/{chunk-CYSBUYHQ-DLdQtj90.mjs → chunk-CYSBUYHQ-Bg8p94kN.mjs} +2 -2
  67. package/dist/{chunk-D4J545R4-hU2sCN2Z.mjs → chunk-D4J545R4-DstPCHY3.mjs} +2 -2
  68. package/dist/{chunk-D6CWQ5DW-BSok99Dd.mjs → chunk-D6CWQ5DW-B-mbMqx1.mjs} +2 -2
  69. package/dist/{chunk-D7MEQ3VN-30ZiNNs_.mjs → chunk-D7MEQ3VN-L5KTglFl.mjs} +2 -2
  70. package/dist/{chunk-DBKNVD4L-EJCI-Wpl.mjs → chunk-DBKNVD4L-TDavYUFP.mjs} +2 -2
  71. package/dist/{chunk-DCAAORBQ-DhdRNBI_.mjs → chunk-DCAAORBQ-CVYtUSXu.mjs} +2 -2
  72. package/dist/{chunk-DXB73IDG-Ox62dibI.mjs → chunk-DXB73IDG-q-dGnwlc.mjs} +1 -1
  73. package/dist/{chunk-EEXR5ZDP-BxPTZCTO.mjs → chunk-EEXR5ZDP-DKmcp163.mjs} +1 -1
  74. package/dist/{chunk-EIZGF4BS-CyaFisSR.mjs → chunk-EIZGF4BS-CF3xXFmY.mjs} +2 -2
  75. package/dist/{chunk-EMLP6XTP--uOozNBw.mjs → chunk-EMLP6XTP-DOWW1yTB.mjs} +2 -2
  76. package/dist/{chunk-EX3LRPZG-Dk9gva6E.mjs → chunk-EX3LRPZG-BMWHPlJp.mjs} +2 -2
  77. package/dist/{chunk-F23WWYKW-Bu4vWVb5.mjs → chunk-F23WWYKW-B1-WhWYU.mjs} +2 -2
  78. package/dist/{chunk-FWX5IMBZ-CLMJveA0.mjs → chunk-FWX5IMBZ-BAa0doOI.mjs} +2 -2
  79. package/dist/{chunk-GCTKCWKD-DeVIExUM.mjs → chunk-GCTKCWKD-C-I4uPLP.mjs} +1 -1
  80. package/dist/{chunk-GFQRA5P5-CqcXYmKy.mjs → chunk-GFQRA5P5-JJS41DJS.mjs} +1 -1
  81. package/dist/{chunk-GOV5EKKI-BMmLRdGz.mjs → chunk-GOV5EKKI-DMNNr1LX.mjs} +2 -2
  82. package/dist/{chunk-GXVXFKBA-CJJxmN2I.mjs → chunk-GXVXFKBA-CHoBbpeP.mjs} +2 -2
  83. package/dist/{chunk-HDQ56CKY-fy1jqg-_.mjs → chunk-HDQ56CKY-D4gBGBPX.mjs} +2 -2
  84. package/dist/{chunk-HJQJAYMS-Y0SFBjYL.mjs → chunk-HJQJAYMS-DfJokS61.mjs} +1 -1
  85. package/dist/{chunk-HJWBQKYG-D3Cd028p.mjs → chunk-HJWBQKYG-C34BatAz.mjs} +2 -2
  86. package/dist/{chunk-HKLCLINH-CTqL5EfM.mjs → chunk-HKLCLINH-C_zL5CHv.mjs} +3 -3
  87. package/dist/{chunk-HL6NGDO2-VT6a52k0.mjs → chunk-HL6NGDO2-CX48H9NQ.mjs} +2 -2
  88. package/dist/{chunk-HOUHSVGY-D822oa3I.mjs → chunk-HOUHSVGY-DEVfwHxJ.mjs} +2 -2
  89. package/dist/{chunk-HWKDQ44K-DJXGIPg5.mjs → chunk-HWKDQ44K-DvFquSuN.mjs} +2 -2
  90. package/dist/{chunk-I57KEIP3-ppa8L97a.mjs → chunk-I57KEIP3-C-GWJFeH.mjs} +2 -2
  91. package/dist/{chunk-ICXQ74PX-Cr0dJaYf.mjs → chunk-ICXQ74PX-BVMOo_rh.mjs} +2 -2
  92. package/dist/{chunk-IPJHKYVM-2ljR04mN.mjs → chunk-IPJHKYVM-h6H65Zzk.mjs} +1 -1
  93. package/dist/{chunk-JG7HCLWE-BA1IxsXx.mjs → chunk-JG7HCLWE-BL-hOXz_.mjs} +2 -2
  94. package/dist/{chunk-JVPRLUMK-16kFUNUi.mjs → chunk-JVPRLUMK-KIcPtJsL.mjs} +2 -2
  95. package/dist/{chunk-JWPE2WC7-DRCHpx1T.mjs → chunk-JWPE2WC7-B4cjhMJa.mjs} +2 -2
  96. package/dist/{chunk-K6LIBGJA-0YLvF23g.mjs → chunk-K6LIBGJA-DifITl-A.mjs} +2 -2
  97. package/dist/{chunk-KEIR6QF5-CbMVmbbA.mjs → chunk-KEIR6QF5-D5fHRjH_.mjs} +1 -1
  98. package/dist/{chunk-KMEYNNUA-CwyO53n5.mjs → chunk-KMEYNNUA-BulSmamX.mjs} +2 -2
  99. package/dist/{chunk-KRBPSX3W-kLM64L7F.mjs → chunk-KRBPSX3W-DrDWj6yq.mjs} +2 -2
  100. package/dist/{chunk-KX3P26DQ-DuuBB9Iu.mjs → chunk-KX3P26DQ-Di79jFtW.mjs} +1 -1
  101. package/dist/{chunk-LL3S3NLB-Cp81lwkJ.mjs → chunk-LL3S3NLB-rdnne998.mjs} +2 -2
  102. package/dist/{chunk-LTZRCH7N-VU8jqsvv.mjs → chunk-LTZRCH7N-CcW89saL.mjs} +2 -2
  103. package/dist/{chunk-LWEGUNWT-DSGl5TzB.mjs → chunk-LWEGUNWT-56p2g4nb.mjs} +2 -2
  104. package/dist/{chunk-MDDMCKUK-DZck49I0.mjs → chunk-MDDMCKUK-CL40B1CC.mjs} +2 -2
  105. package/dist/{chunk-MDLLFABN-V0yImvVO.mjs → chunk-MDLLFABN-CDjkVtAO.mjs} +2 -2
  106. package/dist/{chunk-MHTUABJP-HvBISxtE.mjs → chunk-MHTUABJP-D8V0hAkM.mjs} +1 -1
  107. package/dist/{chunk-MIZPJHVH-DGpooQ_3.mjs → chunk-MIZPJHVH-q38ahMm1.mjs} +2 -2
  108. package/dist/{chunk-MLXIYONF-lOlP54El.mjs → chunk-MLXIYONF-BwLP8wJ5.mjs} +2 -2
  109. package/dist/{chunk-MOJQB5TN-CZ6iucuh.mjs → chunk-MOJQB5TN-BlrHhlHB.mjs} +2 -2
  110. package/dist/{chunk-MOZMSUNE-CpteojMm.mjs → chunk-MOZMSUNE-CxsrZHOL.mjs} +2 -2
  111. package/dist/{chunk-MYE6AGBJ-C6WSmlNB.mjs → chunk-MYE6AGBJ-Dh-4DgDD.mjs} +2 -2
  112. package/dist/{chunk-NAERJDUW-CneISWcj.mjs → chunk-NAERJDUW-BKjqzg55.mjs} +2 -2
  113. package/dist/{chunk-NCNPKYJZ-Cu-qUSv2.mjs → chunk-NCNPKYJZ-D7DW6h8D.mjs} +2 -2
  114. package/dist/{chunk-NUYSJFDK-Do6l0AJc.mjs → chunk-NUYSJFDK-KW8uL1OU.mjs} +2 -2
  115. package/dist/{chunk-OCLXQMOG-ZaFJAtQp.mjs → chunk-OCLXQMOG-DyesF30h.mjs} +2 -2
  116. package/dist/{chunk-OCS6LSEM-TPIk3o36.mjs → chunk-OCS6LSEM-BuHq4vgI.mjs} +2 -2
  117. package/dist/{chunk-OGEWGWER-DcbEeYCc.mjs → chunk-OGEWGWER-Diyk7J65.mjs} +2 -2
  118. package/dist/{chunk-OJDRYQWQ-f3Z1QzT5.mjs → chunk-OJDRYQWQ-CmHyfN6x.mjs} +1 -1
  119. package/dist/{chunk-OSBZ3O6U-CgIaPbTu.mjs → chunk-OSBZ3O6U-xu2H_t-I.mjs} +2 -2
  120. package/dist/{chunk-PBXLG62G-BfXzkxtr.mjs → chunk-PBXLG62G-Dt3seCXC.mjs} +2 -2
  121. package/dist/{chunk-PP6PSHAB-CcaFFaq2.mjs → chunk-PP6PSHAB-BoToLAyG.mjs} +1 -1
  122. package/dist/{chunk-PUDLZKDR-9dANlbmh.mjs → chunk-PUDLZKDR-BIqiwjP2.mjs} +2 -2
  123. package/dist/{chunk-PXTK5WE2-61a3AYYa.mjs → chunk-PXTK5WE2-6yLfmmSs.mjs} +2 -2
  124. package/dist/{chunk-PYSFUGCK-B5DMIXaG.mjs → chunk-PYSFUGCK-DRdz7MOj.mjs} +2 -2
  125. package/dist/{chunk-Q4XR5HBZ-38YXyWmU.mjs → chunk-Q4XR5HBZ-CQiRMQNx.mjs} +2 -2
  126. package/dist/{chunk-QBLGF6JB-DVgcIx5c.mjs → chunk-QBLGF6JB-CZlF3VMT.mjs} +2 -2
  127. package/dist/{chunk-QCDB2VPH-l-szpN8N.mjs → chunk-QCDB2VPH-BnCQYX4A.mjs} +2 -2
  128. package/dist/{chunk-QJ7O6ZN3-DW6crNpo.mjs → chunk-QJ7O6ZN3-IyfDNhDN.mjs} +2 -2
  129. package/dist/{chunk-R6QSAL5T-DG_epkq4.mjs → chunk-R6QSAL5T-CK5T9nTq.mjs} +1 -1
  130. package/dist/{chunk-R6VWJ2ZL-maXiYFEy.mjs → chunk-R6VWJ2ZL-CQWpbRHp.mjs} +1 -1
  131. package/dist/{chunk-R7FJI6CG-CXpycGGu.mjs → chunk-R7FJI6CG-CxRbRaPW.mjs} +2 -2
  132. package/dist/{chunk-RPNGRAAP-DsTcWIWY.mjs → chunk-RPNGRAAP-Dm3Foy2a.mjs} +2 -2
  133. package/dist/{chunk-RYQCIY6F-D0mkTOXq.mjs → chunk-RYQCIY6F-DsJ8x3au.mjs} +2 -2
  134. package/dist/{chunk-SDNKECQQ-C6k9so9Y.mjs → chunk-SDNKECQQ-eDjS077u.mjs} +2 -2
  135. package/dist/{chunk-SNN4IESC-YDdCOrJS.mjs → chunk-SNN4IESC-dc9Emx2i.mjs} +2 -2
  136. package/dist/{chunk-T56QNPHK-CHeJdHn4.mjs → chunk-T56QNPHK-DcLcXLAt.mjs} +2 -2
  137. package/dist/{chunk-TLSUDHID-DuTMz3Tk.mjs → chunk-TLSUDHID-BOrmK-jg.mjs} +2 -2
  138. package/dist/{chunk-TOMNU26N-DNikuf0-.mjs → chunk-TOMNU26N-CfKJYNUm.mjs} +2 -2
  139. package/dist/{chunk-TP4BZANS-DmLwc2kG.mjs → chunk-TP4BZANS-EASixEFX.mjs} +2 -2
  140. package/dist/{chunk-TXBZCHCQ-Col-JdX_.mjs → chunk-TXBZCHCQ-CK2DQwjP.mjs} +2 -2
  141. package/dist/{chunk-U6XO7XAA-DSY38mpK.mjs → chunk-U6XO7XAA-ahVBPW6i.mjs} +2 -2
  142. package/dist/{chunk-V5MWI2OL-BN3EKpBR.mjs → chunk-V5MWI2OL-Cd1wUWKd.mjs} +2 -2
  143. package/dist/{chunk-V7JOEXUC-C5ib4xiC.mjs → chunk-V7JOEXUC-31UT4kI9.mjs} +2 -2
  144. package/dist/{chunk-V7TAPXDL-Dxh5e3zU.mjs → chunk-V7TAPXDL-B4X-oI_G.mjs} +2 -2
  145. package/dist/chunk-VAUOI2AC-Irj_jrJs.mjs +2 -0
  146. package/dist/{chunk-VJFXDYWH-BgdE4n6Z.mjs → chunk-VJFXDYWH-CYSruK3V.mjs} +2 -2
  147. package/dist/{chunk-VOBGTVA6-CBcxC-Sf.mjs → chunk-VOBGTVA6-D7PSswl5.mjs} +2 -2
  148. package/dist/{chunk-VR4S4FIN-jf24rhVx.mjs → chunk-VR4S4FIN-ClMSUBWQ.mjs} +2 -2
  149. package/dist/{chunk-VYOJP4TV-BDby1RAb.mjs → chunk-VYOJP4TV-Dv2fFnVt.mjs} +2 -2
  150. package/dist/{chunk-WKFATFPP--WTlAW5e.mjs → chunk-WKFATFPP-Dj6ID3dE.mjs} +2 -2
  151. package/dist/{chunk-WYO6CB5R-DqktMY2P.mjs → chunk-WYO6CB5R-Bu0g7bu2.mjs} +2 -2
  152. package/dist/{chunk-X2AJGDEF-CmgoYsnP.mjs → chunk-X2AJGDEF-BAGBpB2e.mjs} +1 -1
  153. package/dist/{chunk-XKQRETAK-CEVVGe_v.mjs → chunk-XKQRETAK-BFwrbyC7.mjs} +2 -2
  154. package/dist/{chunk-XKWWSDBF-DA5bR-kM.mjs → chunk-XKWWSDBF-CY0zm_d3.mjs} +2 -2
  155. package/dist/{chunk-XVDPCNWR-DM2iNkJU.mjs → chunk-XVDPCNWR-BeU4kyoN.mjs} +2 -2
  156. package/dist/chunk-XXDRQBXY-ClPfCVft.mjs +2 -0
  157. package/dist/{chunk-Y2CYZVJY-BBlcLUFu.mjs → chunk-Y2CYZVJY-D-AxePDr.mjs} +1 -1
  158. package/dist/{chunk-YMMW5UAP-uI8PBVuJ.mjs → chunk-YMMW5UAP-Dk_tcn_t.mjs} +2 -2
  159. package/dist/{chunk-YOTPTUD7-D8Hf5u1b.mjs → chunk-YOTPTUD7-BtJLrOsu.mjs} +2 -2
  160. package/dist/{chunk-YTNYSM6T-Dqq8ZsVN.mjs → chunk-YTNYSM6T-D70kTYmT.mjs} +2 -2
  161. package/dist/{chunk-YULBWSET-dtiOmSyC.mjs → chunk-YULBWSET-aTxOIZGk.mjs} +2 -2
  162. package/dist/{chunk-Z6LRHWXI-CK5HrtO9.mjs → chunk-Z6LRHWXI-BGPMNtJW.mjs} +2 -2
  163. package/dist/{chunk-Z7JVV2SM-BAYeFnjH.mjs → chunk-Z7JVV2SM-Y0p3CYM_.mjs} +2 -2
  164. package/dist/{chunk-ZGVPDNZ5-0A2bH77_.mjs → chunk-ZGVPDNZ5-DSVV_BiI.mjs} +2 -2
  165. package/dist/{chunk-ZIRB5QZD-DEXKfYqD.mjs → chunk-ZIRB5QZD-B2znOhor.mjs} +2 -2
  166. package/dist/{chunk-ZZO3UDB3-CHBCmcPq.mjs → chunk-ZZO3UDB3-R3zof8I8.mjs} +2 -2
  167. package/dist/classDiagram-OUVF2IWQ-CWObDbTU.mjs +2 -0
  168. package/dist/classDiagram-v2-EOCWNBFH-CUMl48K_.mjs +2 -0
  169. package/dist/clear-5CZ5X4YR-DiniSeCm.mjs +1 -0
  170. package/dist/cli.mjs +8 -8
  171. package/dist/colors-CUOU_72x.mjs +1 -0
  172. package/dist/{colors-BslXS0bZ.mjs → colors-_gzKDfrv.mjs} +1 -1
  173. package/dist/column-WLPMMSTS-B1OOeDAs.mjs +1 -0
  174. package/dist/comm-5SLSESQG-C4Rjg6X-.mjs +1 -0
  175. package/dist/constants-hkGRiNzn.mjs +2 -0
  176. package/dist/{cose-bilkent-JH36ORCC-CDMCL8Bi.mjs → cose-bilkent-JH36ORCC-DwAqPWSx.mjs} +2 -2
  177. package/dist/cp-XOYR4ABJ-sYSLIPgW.mjs +1 -0
  178. package/dist/{curl-47BFPSFW-mroj3eWi.mjs → curl-47BFPSFW-DtUGPJbr.mjs} +2 -2
  179. package/dist/cut-OPC3VAGB-Bh_filgx.mjs +1 -0
  180. package/dist/cynefin-VYW2F7L2-CEVi_iCC.mjs +1 -0
  181. package/dist/{cynefinDiagram-TSTJHNR4-Bl9N0jn2.mjs → cynefinDiagram-TSTJHNR4-Dp6ZCni9.mjs} +2 -2
  182. package/dist/{cytoscape.esm-oINUagAk.mjs → cytoscape.esm-B3Kjf-Bp.mjs} +1 -1
  183. package/dist/{dagre-BRDgQm9s.mjs → dagre-CTeiWCGh.mjs} +2 -2
  184. package/dist/{dagre-VKFMJZFB-DnGxEytM.mjs → dagre-VKFMJZFB-FTWgT7HO.mjs} +2 -2
  185. package/dist/date-DD7FVA2V-ByX6dFhf.mjs +1 -0
  186. package/dist/{defaultLocale-C2OwmdQz.mjs → defaultLocale-DPK87u2Z.mjs} +1 -1
  187. package/dist/{diagram-FQU43EPY-urwpbEO_.mjs → diagram-FQU43EPY-BgUehmaO.mjs} +2 -2
  188. package/dist/{diagram-G47NLZAW-ByO1P7uq.mjs → diagram-G47NLZAW-gH-Ih94q.mjs} +2 -2
  189. package/dist/{diagram-NH7WQ7WH-BHsZvybH.mjs → diagram-NH7WQ7WH-DYr1RvMm.mjs} +2 -2
  190. package/dist/{diagram-OA4YK3LP-DCfEUT17.mjs → diagram-OA4YK3LP-BRb4Y3EQ.mjs} +2 -2
  191. package/dist/{diagram-WEI45ONY-C9GDffrX.mjs → diagram-WEI45ONY-Bcifi75m.mjs} +2 -2
  192. package/dist/diff-HJF2MPDN-BvwqXcA5.mjs +1 -0
  193. package/dist/dirname-LEMTZZFS-DNEfkSJA.mjs +1 -0
  194. package/dist/{dist-szxx-3zj.mjs → dist-DODzJ7LG.mjs} +1 -1
  195. package/dist/dist-bundle-B-JhpGTG.mjs +1 -0
  196. package/dist/{dist-bundle-CXsoqjjc.mjs → dist-bundle-vlpIc23T.mjs} +1 -1
  197. package/dist/du-WO2ENHXQ-D_erNUzD.mjs +1 -0
  198. package/dist/{ebnfDiagram-CCIWWBDH-Wb318ghH.mjs → ebnfDiagram-CCIWWBDH-BlBla8lv.mjs} +2 -2
  199. package/dist/echo-O45JWWI2-B8YWvx1Q.mjs +1 -0
  200. package/dist/env-5EPCWSXR-Cor7cJ6o.mjs +1 -0
  201. package/dist/{erDiagram-Q63AITRT-Bi2wcQ67.mjs → erDiagram-Q63AITRT-BxKcPLGX.mjs} +2 -2
  202. package/dist/eventmodeling-45OFAUF4-BENS2g0X.mjs +1 -0
  203. package/dist/{execAsync-BqpCoDXT.mjs → execAsync-BUKncp0P.mjs} +1 -1
  204. package/dist/{execAsync-CnxS1O8r.mjs → execAsync-DEmazqCE.mjs} +1 -1
  205. package/dist/expand-DTNXU4LQ-CMN49iyc.mjs +1 -0
  206. package/dist/expansion-VBDYWVZR-e2HuIG0U.mjs +1 -0
  207. package/dist/expr-YYCVMXE3-VEQOsPiP.mjs +1 -0
  208. package/dist/file-IGDTDPLG-CsAmedJu.mjs +1 -0
  209. package/dist/find-DH2ALKQS-D4DqPp7j.mjs +1 -0
  210. package/dist/flag-coverage-6JEX67RU-D3X0I2ha.mjs +2 -0
  211. package/dist/flowDiagram-23GEKE2U-CD0oxQCp.mjs +1 -0
  212. package/dist/fold-LDSORVYE-CkAvzOUr.mjs +1 -0
  213. package/dist/{fs-traced-BISd_YTv.mjs → fs-traced-B-qtPUmb.mjs} +3 -3
  214. package/dist/fs-traced-BRzKbmYW.mjs +1 -0
  215. package/dist/{ganttDiagram-NO4QXBWP-CqiLLOBV.mjs → ganttDiagram-NO4QXBWP-DGpVzTxp.mjs} +2 -2
  216. package/dist/{getMachineId-bsd-CZgjlNQ2.mjs → getMachineId-bsd-BN-aHS3V.mjs} +2 -2
  217. package/dist/{getMachineId-bsd-D2ZupYV9.mjs → getMachineId-bsd-BZEr0yHg.mjs} +2 -2
  218. package/dist/{getMachineId-darwin-B_jPfTd1.mjs → getMachineId-darwin-BWLy_Kik.mjs} +2 -2
  219. package/dist/{getMachineId-darwin-ClB_QXja.mjs → getMachineId-darwin-CRdUTcMc.mjs} +2 -2
  220. package/dist/{getMachineId-linux-CQKxIpmc.mjs → getMachineId-linux-CVE8Y0Fo.mjs} +1 -1
  221. package/dist/{getMachineId-linux-JeSXZREP.mjs → getMachineId-linux-DX2JAnAv.mjs} +1 -1
  222. package/dist/{getMachineId-unsupported-B2n-ZUQv.mjs → getMachineId-unsupported-CA6ETHmi.mjs} +1 -1
  223. package/dist/{getMachineId-unsupported-C8BkbPxU.mjs → getMachineId-unsupported-DmJiNggJ.mjs} +1 -1
  224. package/dist/{getMachineId-win-BIEPGYfo.mjs → getMachineId-win-B_OXaWuM.mjs} +2 -2
  225. package/dist/{getMachineId-win-BwjtxqaR.mjs → getMachineId-win-nbjd9hhL.mjs} +2 -2
  226. package/dist/git-handle-DY72DIzL.mjs +1 -0
  227. package/dist/{git-handle-DJkXvQyT.mjs → git-handle-Kmafc544.mjs} +1 -1
  228. package/dist/gitGraph-TEB2WS4Q-C-obuzNL.mjs +1 -0
  229. package/dist/{gitGraphDiagram-IHSO6WYX-DZwzv-4F.mjs → gitGraphDiagram-IHSO6WYX-BHxhlO7y.mjs} +2 -2
  230. package/dist/{graphlib-yfSiy6Um.mjs → graphlib-BRVRb9Ce.mjs} +1 -1
  231. package/dist/grep-2HUTXO5U-BHpyAWOj.mjs +1 -0
  232. package/dist/gzip-AQXSGOVS-kgzROhmg.mjs +1 -0
  233. package/dist/head-HT2B6D2J-BkVS3Xmr.mjs +1 -0
  234. package/dist/help-VVWX7SA5-Cnq4Pk95.mjs +1 -0
  235. package/dist/history-J4QRNGRO-ChaCzoJD.mjs +1 -0
  236. package/dist/hostname-BK6HG2DE-TD2KmZjb.mjs +1 -0
  237. package/dist/html-to-markdown-TFCECAGV-DRmuleyA.mjs +1 -0
  238. package/dist/index-7O1fNicl.d.mts +6628 -0
  239. package/dist/index.d.mts +3 -6630
  240. package/dist/index.mjs +1 -1
  241. package/dist/info-DKCQHKI2-_AQUrTgC.mjs +1 -0
  242. package/dist/{infoDiagram-FWYZ7A6U-BM1Ls1Dh.mjs → infoDiagram-FWYZ7A6U-Be13xP1j.mjs} +2 -2
  243. package/dist/{init-6u-ABSZn.mjs → init-DDWCwe7k.mjs} +3 -3
  244. package/dist/{init-tbpbpLGt.mjs → init-DotcULIJ.mjs} +1 -1
  245. package/dist/init-jd5k1-cp.mjs +1 -0
  246. package/dist/{is-object-DKopTkoU.mjs → is-object-Bw0-z8qH.mjs} +1 -1
  247. package/dist/{ishikawaDiagram-FXEZZL3T-uTA-fAAk.mjs → ishikawaDiagram-FXEZZL3T-DTVMpa-_.mjs} +2 -2
  248. package/dist/join-GG2LDHE5-O6S65p4r.mjs +1 -0
  249. package/dist/{journeyDiagram-5HDEW3XC-Cw11aRYv.mjs → journeyDiagram-5HDEW3XC-BTWVlxLh.mjs} +2 -2
  250. package/dist/jq-LYZFFBZB-DTUwGGgl.mjs +1 -0
  251. package/dist/{js-exec-VXN6TZ7U-DsUBx8d6.mjs → js-exec-VXN6TZ7U-BJsjY3Aj.mjs} +2 -2
  252. package/dist/{kanban-definition-HUTT4EX6-Baff2PH6.mjs → kanban-definition-HUTT4EX6-g-tXrd8p.mjs} +2 -2
  253. package/dist/{launch-json-removal-D4WCZCs2.mjs → launch-json-removal-BEpF6f4C.mjs} +2 -2
  254. package/dist/{lib-C0NPuznE.mjs → lib-BpZC9d5Z.mjs} +1 -1
  255. package/dist/{lib-CQhjuFnl.mjs → lib-CE7ieLC-.mjs} +6 -6
  256. package/dist/{libesm-C_k4J_j_.mjs → libesm-CG75CrN9.mjs} +1 -1
  257. package/dist/{line-KDMlFQmk.mjs → line-Bq-Bigdz.mjs} +2 -2
  258. package/dist/{linear-Cknt1ah8.mjs → linear-DHgeTTi3.mjs} +2 -2
  259. package/dist/ln-4TRFBYAT-DErk_Yl0.mjs +1 -0
  260. package/dist/loader-B27f8C-M.mjs +1 -0
  261. package/dist/{loader-Co8_Z3Xs.mjs → loader-Ckek-jU0.mjs} +2 -2
  262. package/dist/{logger-CFNLuVy2.mjs → logger-CuGHGn_E.mjs} +2 -2
  263. package/dist/ls-KSXFZCWH-DQIF-HgH.mjs +1 -0
  264. package/dist/{lzma-BjHuRbmQ.mjs → lzma-66I-DF3D.mjs} +1 -1
  265. package/dist/{map-SPsRjb1g.mjs → map-DbF7r1vR.mjs} +2 -2
  266. package/dist/{mcp-migrate-event-9DFnNzHa.mjs → mcp-migrate-event-CWx0WLdE.mjs} +1 -1
  267. package/dist/md-manager-Burt5wQf.mjs +2 -0
  268. package/dist/md5sum-INMIK4DX-BElHH82h.mjs +1 -0
  269. package/dist/{mermaid-parser.core-OVAP8Q4-.mjs → mermaid-parser.core-Dq0Vyvhg.mjs} +2 -2
  270. package/dist/{mermaid.core-OAbCFO6G.mjs → mermaid.core-BeGj3DLy.mjs} +3 -3
  271. package/dist/{mindmap-definition-LN4V7U3C-BdjgcgYk.mjs → mindmap-definition-LN4V7U3C-BMIyW_lX.mjs} +2 -2
  272. package/dist/mkdir-TDEMSB6C-BnpJKc8r.mjs +1 -0
  273. package/dist/mv-Z6MORUFL-CFyBiApv.mjs +1 -0
  274. package/dist/nl-U5YJDM32-CgnuF_hC.mjs +1 -0
  275. package/dist/od-VJEF2UR5-BTJQNl6y.mjs +1 -0
  276. package/dist/{open-browser-D5VB75t8.mjs → open-browser-DwZulh9C.mjs} +2 -2
  277. package/dist/{ordinal-NM5hhhX_.mjs → ordinal-CUIZW000.mjs} +2 -2
  278. package/dist/packet-7NZHBO7P-CHMfNci8.mjs +1 -0
  279. package/dist/parse-worker.d.mts +1 -0
  280. package/dist/parse-worker.mjs +2 -0
  281. package/dist/paste-7N6AFSDS-CnLMuz8G.mjs +1 -0
  282. package/dist/{path-CuyLxhiv.mjs → path-BT3cGQxQ.mjs} +1 -1
  283. package/dist/{pegDiagram-2B236MQR-DJXjOpaI.mjs → pegDiagram-2B236MQR-j5NleAHq.mjs} +2 -2
  284. package/dist/pie-RZYD4A2V-02sGjUcO.mjs +1 -0
  285. package/dist/{pieDiagram-ENE6RG2P-B4q1JwNq.mjs → pieDiagram-ENE6RG2P-BGffNz0y.mjs} +2 -2
  286. package/dist/preview-CAmGJo6I.mjs +1 -0
  287. package/dist/{preview-CsOp4q2K.mjs → preview-Dg4Sbf4n.mjs} +2 -2
  288. package/dist/printf-CX64KX2P-DyVBy6Mg.mjs +1 -0
  289. package/dist/pwd-D4OZ7N27-Pga3crue.mjs +1 -0
  290. package/dist/{python3-DNGS4G3E-Chmc5h75.mjs → python3-DNGS4G3E-BPxhh_Jp.mjs} +2 -2
  291. package/dist/{quadrantDiagram-ABIIQ3AL-gmILsbML.mjs → quadrantDiagram-ABIIQ3AL-RE3ttQBG.mjs} +2 -2
  292. package/dist/radar-I7S5WNFK-gNSWd2rG.mjs +1 -0
  293. package/dist/railroad-3IZDKUUU-tTi02nbm.mjs +1 -0
  294. package/dist/railroad-abnf-AHOZXSZD-DD6KwCgt.mjs +1 -0
  295. package/dist/railroad-ebnf-EBAXGLYW-zJw8iMTp.mjs +1 -0
  296. package/dist/railroad-peg-LSFZ7HO6-8PbAUZs1.mjs +1 -0
  297. package/dist/{railroadDiagram-RFXS5EU6-CxpH1Rw0.mjs → railroadDiagram-RFXS5EU6-Co0UHOis.mjs} +2 -2
  298. package/dist/readlink-MI4GCHJF-D9QYkCU0.mjs +1 -0
  299. package/dist/{repair-launch-json-Dw-kyAe-.mjs → repair-launch-json-DVVkRMCr.mjs} +2 -2
  300. package/dist/{repair-mcp-configs-ETOH7oQP.mjs → repair-mcp-configs-DrNSiysY.mjs} +2 -2
  301. package/dist/{repair-skills-RJYUnfJN.mjs → repair-skills-Q9Gr8Nvl.mjs} +2 -2
  302. package/dist/repair-skills-pY9FxlXw.mjs +1 -0
  303. package/dist/{requirementDiagram-TGXJPOKE-8EY28vwz.mjs → requirementDiagram-TGXJPOKE-CkQZFeMs.mjs} +2 -2
  304. package/dist/rev-XOSYPP45-BGL4FR9H.mjs +1 -0
  305. package/dist/rg-XNF3R3II-BMfKONjk.mjs +1 -0
  306. package/dist/rm-RTZG23RL-vsz0Vtsc.mjs +1 -0
  307. package/dist/rmdir-XTQXT7RK-C9jARGFn.mjs +1 -0
  308. package/dist/{rough.cjs-qg3X_KxX.mjs → rough.cjs-s8-IvpYn.mjs} +1 -1
  309. package/dist/{sankeyDiagram-HTMAVEWB-Cw3uwIfR.mjs → sankeyDiagram-HTMAVEWB-CDausn8Y.mjs} +2 -2
  310. package/dist/sed-JAPPVBEU-YSD3Wwpz.mjs +1 -0
  311. package/dist/seq-RN5ZUASB-hcgHczjD.mjs +1 -0
  312. package/dist/{sequenceDiagram-DBY2YBRQ-CbJvsjVo.mjs → sequenceDiagram-DBY2YBRQ-B6TuF3qe.mjs} +2 -2
  313. package/dist/{server-lock-CZUtoKxB.mjs → server-lock-C2OcZirx.mjs} +2 -2
  314. package/dist/server-lock-DTx_Ih9P.mjs +1 -0
  315. package/dist/sha1sum-VJPNLNU6-KpqF3VUr.mjs +1 -0
  316. package/dist/sha256sum-PI32XWXY-BI7zTPJ3.mjs +1 -0
  317. package/dist/{sizeCapture-X5ZJPWSS-BYSWMkkU.mjs → sizeCapture-X5ZJPWSS-Btionz6c.mjs} +2 -2
  318. package/dist/sleep-VZFPZFWA-DNxq1g-4.mjs +1 -0
  319. package/dist/sort-DCNRDA7U-urKKiOkB.mjs +1 -0
  320. package/dist/split-SITCSYCZ-Dl-r5t6o.mjs +1 -0
  321. package/dist/sqlite3-TE5AIOTF-BKiscy5E.mjs +1 -0
  322. package/dist/src-BEaiZuXz.mjs +3264 -0
  323. package/dist/{src-VjJUBnUL.mjs → src-C4MRpQ6i.mjs} +1 -1
  324. package/dist/{src-CInsze10.mjs → src-CpXAv8Af.mjs} +3 -3
  325. package/dist/{src-82KBw76I.mjs → src-nvx4LAFk.mjs} +2 -2
  326. package/dist/start-B6LUCh2f.mjs +1 -0
  327. package/dist/{start-B3sAyodP.mjs → start-Ditv69eU.mjs} +2 -2
  328. package/dist/stat-BT5A227F-BzZhqUU7.mjs +1 -0
  329. package/dist/{stateDiagram-2N3HPSRC-CbMgPxbr.mjs → stateDiagram-2N3HPSRC-C_tdGYXg.mjs} +2 -2
  330. package/dist/stateDiagram-v2-6OUMAXLB-B9_dtBI0.mjs +2 -0
  331. package/dist/strings-7PLOGTPD-BYF-zQB5.mjs +1 -0
  332. package/dist/{swimlanes-5IMT3BWC-DENmmsj9.mjs → swimlanes-5IMT3BWC-DLXpBxPB.mjs} +2 -2
  333. package/dist/swimlanesDiagram-G3AALYLV-DnknHegw.mjs +9 -0
  334. package/dist/tac-SJGXQ4T2-ByjKkvjF.mjs +1 -0
  335. package/dist/tail-S5ULNTJU-Bu45hbfn.mjs +1 -0
  336. package/dist/tar-MZQD7NO4-COEqG_IX.mjs +1 -0
  337. package/dist/tee-O7VXZDCO-D5VPiyFZ.mjs +1 -0
  338. package/dist/time-DEUO3QV2-DTXF6o9u.mjs +1 -0
  339. package/dist/{timeline-definition-FHXFAJF6-CH0_gLZC.mjs → timeline-definition-FHXFAJF6-BtGgJVSL.mjs} +2 -2
  340. package/dist/timeout-VRKMCG72-BJzTDNVp.mjs +1 -0
  341. package/dist/touch-DX2IJOQ4-CJL2LWzm.mjs +1 -0
  342. package/dist/tr-2HXZRDSW-BMEHkLkI.mjs +1 -0
  343. package/dist/tree-LYXBS7DC-B9nDoMUt.mjs +1 -0
  344. package/dist/treeView-QDETBFTQ-b0kDTk8s.mjs +1 -0
  345. package/dist/treemap-6X3UGDF4-CbmqvOp3.mjs +1 -0
  346. package/dist/true-WHJNXCHG-BrTi18ZN.mjs +1 -0
  347. package/dist/unexpand-RGTMIGZM-Cz9o379Y.mjs +1 -0
  348. package/dist/uniq-SUNANL47-Jq_1JF4a.mjs +1 -0
  349. package/dist/{vennDiagram-L72KCM5P-C7mXTgc9.mjs → vennDiagram-L72KCM5P-DYDKnnjp.mjs} +2 -2
  350. package/dist/wardley-OPB4EBWU-58Nq0iPk.mjs +1 -0
  351. package/dist/{wardleyDiagram-EHGQE667-D3QVpMXy.mjs → wardleyDiagram-EHGQE667-M2W4S8Ng.mjs} +2 -2
  352. package/dist/wc-TQB3VNOX-8TWuJ_OV.mjs +1 -0
  353. package/dist/which-XZHEH76L-C0nS7069.mjs +1 -0
  354. package/dist/whoami-DGKU3D2X-BRFeF7SV.mjs +1 -0
  355. package/dist/{wrapper-DU1EzoHg.mjs → wrapper-BcpqREsI.mjs} +1 -1
  356. package/dist/{write-project-skill-TsM_THnF.mjs → write-project-skill-CMePkU0W.mjs} +2 -2
  357. package/dist/xan-UD7JYIL2-CsuyuKIz.mjs +1 -0
  358. package/dist/xan-view-OW2TB7Z3-BQPByClA.mjs +1 -0
  359. package/dist/xargs-I6EZUCYF-CfQ6WD0x.mjs +1 -0
  360. package/dist/{xychartDiagram-FW5EYKEG-BhayLxTO.mjs → xychartDiagram-FW5EYKEG-DX0dJSsD.mjs} +2 -2
  361. package/dist/{yazl-DZr4PyKA.mjs → yazl-BafwB467.mjs} +1 -1
  362. package/dist/yazl-vwTkB7U0.mjs +1 -0
  363. package/dist/yq-OAKYHSXH-q34fmnbQ.mjs +1 -0
  364. package/package.json +4 -4
  365. package/dist/alias-JE7RI5QX-DI0Bq_EB.mjs +0 -1
  366. package/dist/architecture-TIHT7OUA-DTmO1hz6.mjs +0 -1
  367. package/dist/awk2-BBAGSFUB-DBzckwgP.mjs +0 -1
  368. package/dist/base64-4YMZCVJ5-CfjbVa2B.mjs +0 -1
  369. package/dist/basename-AA2KJYZQ-BTeOcfgz.mjs +0 -1
  370. package/dist/bash-IJWYRKFO-DULWf0BJ.mjs +0 -1
  371. package/dist/build-BVrWJbF-.mjs +0 -1
  372. package/dist/cat-RDUMLXKC-COksFwfQ.mjs +0 -1
  373. package/dist/channel-8u5DyGCM.mjs +0 -2
  374. package/dist/chmod-SYMGL4JA-BrIA043A.mjs +0 -1
  375. package/dist/chunk-VAUOI2AC-LbYTm50o.mjs +0 -2
  376. package/dist/chunk-XXDRQBXY-DgBFT4Pj.mjs +0 -2
  377. package/dist/classDiagram-OUVF2IWQ-5ThYgAnz.mjs +0 -2
  378. package/dist/classDiagram-v2-EOCWNBFH-C4I6MeOb.mjs +0 -2
  379. package/dist/clear-5CZ5X4YR-oNv6FwpY.mjs +0 -1
  380. package/dist/colors-BR7qZmj-.mjs +0 -1
  381. package/dist/column-WLPMMSTS-BTF6gnMU.mjs +0 -1
  382. package/dist/comm-5SLSESQG-Bn8BHgnn.mjs +0 -1
  383. package/dist/constants-NqLesDwG.mjs +0 -2
  384. package/dist/cp-XOYR4ABJ-COPxQ0ww.mjs +0 -1
  385. package/dist/cut-OPC3VAGB-mpEAtb5h.mjs +0 -1
  386. package/dist/cynefin-VYW2F7L2-BHmUq7zo.mjs +0 -1
  387. package/dist/date-DD7FVA2V-BYADCIO4.mjs +0 -1
  388. package/dist/diff-HJF2MPDN-DEpIKOEz.mjs +0 -1
  389. package/dist/dirname-LEMTZZFS-DhQhIcuf.mjs +0 -1
  390. package/dist/dist-bundle-D643K2X4.mjs +0 -1
  391. package/dist/du-WO2ENHXQ-Bk1DJqzD.mjs +0 -1
  392. package/dist/echo-O45JWWI2-dtHsnzd1.mjs +0 -1
  393. package/dist/env-5EPCWSXR-DcK5OnxF.mjs +0 -1
  394. package/dist/eventmodeling-45OFAUF4-BHp050bu.mjs +0 -1
  395. package/dist/expand-DTNXU4LQ-Rv5C3VeN.mjs +0 -1
  396. package/dist/expansion-VBDYWVZR-CGdTmX54.mjs +0 -1
  397. package/dist/expr-YYCVMXE3-DGTsCso3.mjs +0 -1
  398. package/dist/file-IGDTDPLG-N-4JgRpn.mjs +0 -1
  399. package/dist/find-DH2ALKQS-cGy7rhto.mjs +0 -1
  400. package/dist/flag-coverage-6JEX67RU-B4jVEkvA.mjs +0 -2
  401. package/dist/flowDiagram-23GEKE2U-DxaJwFku.mjs +0 -1
  402. package/dist/fold-LDSORVYE-BhmvSO1f.mjs +0 -1
  403. package/dist/fs-traced-Bs45d5A7.mjs +0 -1
  404. package/dist/git-handle-CLfKANP-.mjs +0 -1
  405. package/dist/gitGraph-TEB2WS4Q-DcEeY7um.mjs +0 -1
  406. package/dist/grep-2HUTXO5U-XuMqfWUT.mjs +0 -1
  407. package/dist/gzip-AQXSGOVS-AhbZZj5P.mjs +0 -1
  408. package/dist/head-HT2B6D2J-Dvlo69Ju.mjs +0 -1
  409. package/dist/help-VVWX7SA5-BEEqpsbb.mjs +0 -1
  410. package/dist/history-J4QRNGRO-BEUhCPcV.mjs +0 -1
  411. package/dist/hostname-BK6HG2DE-Byw2ePll.mjs +0 -1
  412. package/dist/html-to-markdown-TFCECAGV-B9LGlxIh.mjs +0 -1
  413. package/dist/info-DKCQHKI2-NOfuI2Ar.mjs +0 -1
  414. package/dist/init-CSufcZa_.mjs +0 -1
  415. package/dist/join-GG2LDHE5-BOsiGEl2.mjs +0 -1
  416. package/dist/jq-LYZFFBZB-bhaBuxkL.mjs +0 -1
  417. package/dist/ln-4TRFBYAT-DMSz07tD.mjs +0 -1
  418. package/dist/loader-Brd9K-Oz.mjs +0 -1
  419. package/dist/ls-KSXFZCWH-mBI9rzUz.mjs +0 -1
  420. package/dist/md5sum-INMIK4DX-Bnbn05vV.mjs +0 -1
  421. package/dist/mkdir-TDEMSB6C-EsVKcoU8.mjs +0 -1
  422. package/dist/mv-Z6MORUFL-B5Kt-RKF.mjs +0 -1
  423. package/dist/nl-U5YJDM32-Ch2FJuA8.mjs +0 -1
  424. package/dist/od-VJEF2UR5-B8kZKZ_P.mjs +0 -1
  425. package/dist/packet-7NZHBO7P-Bgtj9iP7.mjs +0 -1
  426. package/dist/paste-7N6AFSDS-C0Ychn_t.mjs +0 -1
  427. package/dist/pie-RZYD4A2V-DXKnIv1t.mjs +0 -1
  428. package/dist/preview-CvyGNXPF.mjs +0 -1
  429. package/dist/printf-CX64KX2P-s2TjuvrH.mjs +0 -1
  430. package/dist/pwd-D4OZ7N27-CL5bDMuK.mjs +0 -1
  431. package/dist/radar-I7S5WNFK-pt6R8mrT.mjs +0 -1
  432. package/dist/railroad-3IZDKUUU-D9kj_Szm.mjs +0 -1
  433. package/dist/railroad-abnf-AHOZXSZD-D7kluR81.mjs +0 -1
  434. package/dist/railroad-ebnf-EBAXGLYW-BGSDI5QV.mjs +0 -1
  435. package/dist/railroad-peg-LSFZ7HO6-CGizyVjb.mjs +0 -1
  436. package/dist/readlink-MI4GCHJF-BJKcj2mQ.mjs +0 -1
  437. package/dist/repair-skills-CgvYA2Tj.mjs +0 -1
  438. package/dist/rev-XOSYPP45-ClOUu8f9.mjs +0 -1
  439. package/dist/rg-XNF3R3II-BwgLjVWV.mjs +0 -1
  440. package/dist/rm-RTZG23RL-k5Ug_B0L.mjs +0 -1
  441. package/dist/rmdir-XTQXT7RK-Br3rY6bZ.mjs +0 -1
  442. package/dist/sed-JAPPVBEU-3hr78ajc.mjs +0 -1
  443. package/dist/seq-RN5ZUASB-DrbB_0Ar.mjs +0 -1
  444. package/dist/server-lock-BECLNx_T.mjs +0 -1
  445. package/dist/sha1sum-VJPNLNU6-CcPdRzmt.mjs +0 -1
  446. package/dist/sha256sum-PI32XWXY-Da8LquSF.mjs +0 -1
  447. package/dist/sleep-VZFPZFWA-DIFVf6xy.mjs +0 -1
  448. package/dist/sort-DCNRDA7U-BJaoT7OD.mjs +0 -1
  449. package/dist/split-SITCSYCZ-D4eW7nbz.mjs +0 -1
  450. package/dist/sqlite3-TE5AIOTF-je83ck2F.mjs +0 -1
  451. package/dist/src-BG_IUe5R.mjs +0 -3262
  452. package/dist/start-BYPkRdeX.mjs +0 -1
  453. package/dist/stat-BT5A227F-Bk40Xkzu.mjs +0 -1
  454. package/dist/stateDiagram-v2-6OUMAXLB-DI_CQZy4.mjs +0 -2
  455. package/dist/strings-7PLOGTPD-XZTzyUaT.mjs +0 -1
  456. package/dist/swimlanesDiagram-G3AALYLV-BTo6dPTQ.mjs +0 -9
  457. package/dist/tac-SJGXQ4T2-Bm_Y5ugI.mjs +0 -1
  458. package/dist/tail-S5ULNTJU-Ds8iKUFI.mjs +0 -1
  459. package/dist/tar-MZQD7NO4-CajvOg1L.mjs +0 -1
  460. package/dist/tee-O7VXZDCO-THZ1zQTX.mjs +0 -1
  461. package/dist/time-DEUO3QV2-CTm_jWFh.mjs +0 -1
  462. package/dist/timeout-VRKMCG72-Dd-Yncgv.mjs +0 -1
  463. package/dist/touch-DX2IJOQ4-Bthkmgnh.mjs +0 -1
  464. package/dist/tr-2HXZRDSW-BjJz7Kfh.mjs +0 -1
  465. package/dist/tree-LYXBS7DC-EvPgF-2J.mjs +0 -1
  466. package/dist/treeView-QDETBFTQ-CclCFy2w.mjs +0 -1
  467. package/dist/treemap-6X3UGDF4-CrMJScQa.mjs +0 -1
  468. package/dist/true-WHJNXCHG-BCEPttpp.mjs +0 -1
  469. package/dist/unexpand-RGTMIGZM-WBKrg7z4.mjs +0 -1
  470. package/dist/uniq-SUNANL47-ChxGEuti.mjs +0 -1
  471. package/dist/wardley-OPB4EBWU-C4Yz6reu.mjs +0 -1
  472. package/dist/wc-TQB3VNOX-lYA9NggO.mjs +0 -1
  473. package/dist/which-XZHEH76L-DnhndoTX.mjs +0 -1
  474. package/dist/whoami-DGKU3D2X-BNC26TrG.mjs +0 -1
  475. package/dist/xan-UD7JYIL2-D-9V_kNe.mjs +0 -1
  476. package/dist/xan-view-OW2TB7Z3-D4gcWdMH.mjs +0 -1
  477. package/dist/xargs-I6EZUCYF-ldP_aGxo.mjs +0 -1
  478. package/dist/yazl-jVENrf5i.mjs +0 -1
  479. package/dist/yq-OAKYHSXH-DBiCi7k1.mjs +0 -1
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import{_ as e,a as t,c as n,g as r,i,l as a,m as o,o as s,r as c,s as l,t as u,u as d}from"./write-project-skill-TsM_THnF.mjs";import{a as f,i as p,n as m,t as h}from"./acp-harness-probe-BB3MCnqT.mjs";import{A as g,D as _,F as v,M as y,N as b,O as x,P as S,d as C,j as w,k as T,n as E,o as D,s as O,v as k,x as A,y as j}from"./init-6u-ABSZn.mjs";import{C as M,D as N,E as P,b as F,d as I,f as L,h as R,i as z,n as B,p as V,r as H,t as U,u as W,v as G,x as K,y as q}from"./src-CInsze10.mjs";import{n as J}from"./loader-Co8_Z3Xs.mjs";import{n as Y}from"./preview-CsOp4q2K.mjs";import{n as X,t as Z}from"./mcp-migrate-event-9DFnNzHa.mjs";export{l as ALL_EDITOR_IDS,n as EDITOR_LABELS,a as EDITOR_TARGETS,d as HOSTS_WITH_USER_SKILL_DIR,E as LAUNCH_CONFIG_NAME,I as PATH_SHIM_BEGIN,L as PATH_SHIM_BLOCK_RE,V as PATH_SHIM_END,_ as addOkPathsToGitExclude,u as assertProjectPathSafe,o as buildManagedServerEntry,H as buildMcpConfigDeclineEvent,Z as buildMcpConfigMigrateEvent,D as classifyExistingMcpEntry,M as collectReportBundle,p as createTokenStore,P as defaultBugReportZipPath,m as detectGh,O as detectInstalledEditors,x as formatTrackedRemediation,T as getExcludedOkPaths,g as getOkArtifactPaths,r as isEntryUpToDate,e as isOwnManagedEntry,J as loadConfig,f as makeLazyProbeTokenStore,G as parseGitHubBlobUrl,q as parseGitHubShareUrl,F as parseGitHubTreeUrl,K as parseGitUrl,R as pathInstallMarkerPath,Y as previewContent,h as probeOwnManagedEditorMcpEntry,w as probeTrackedOkPaths,C as readExistingMcpEntry,y as readSharingMode,b as readSkillsShared,N as redactContent,S as removeOkPathsFromGitExclude,W as removeOwnMcpEntry,c as removeProjectSkill,t as removeUserGlobalSkillBundle,A as resolveProjectRoot,z as runStop,v as setSkillsShared,X as truncatePriorEntry,s as userGlobalSkillBundleTargets,B as validateLocalFolderForShare,k as writeEditorMcpConfig,U as writeProjectAiIntegrations,i as writeProjectSkill,j as writeUserMcpConfigs};
1
+ import{_ as e,a as t,c as n,g as r,i,l as a,m as o,o as s,r as c,s as l,t as u,u as d}from"./write-project-skill-CMePkU0W.mjs";import{a as f,i as p,n as m,t as h}from"./acp-harness-probe-DAsiIrn7.mjs";import{A as g,D as _,F as v,M as y,N as b,O as x,P as S,d as C,j as w,k as T,n as E,o as D,s as O,v as k,x as A,y as j}from"./init-DDWCwe7k.mjs";import{C as M,D as N,E as P,b as F,d as I,f as L,h as R,i as z,n as B,p as V,r as H,t as U,u as W,v as G,x as K,y as q}from"./src-CpXAv8Af.mjs";import{n as J}from"./loader-Ckek-jU0.mjs";import{n as Y}from"./preview-Dg4Sbf4n.mjs";import{n as X,t as Z}from"./mcp-migrate-event-CWx0WLdE.mjs";export{l as ALL_EDITOR_IDS,n as EDITOR_LABELS,a as EDITOR_TARGETS,d as HOSTS_WITH_USER_SKILL_DIR,E as LAUNCH_CONFIG_NAME,I as PATH_SHIM_BEGIN,L as PATH_SHIM_BLOCK_RE,V as PATH_SHIM_END,_ as addOkPathsToGitExclude,u as assertProjectPathSafe,o as buildManagedServerEntry,H as buildMcpConfigDeclineEvent,Z as buildMcpConfigMigrateEvent,D as classifyExistingMcpEntry,M as collectReportBundle,p as createTokenStore,P as defaultBugReportZipPath,m as detectGh,O as detectInstalledEditors,x as formatTrackedRemediation,T as getExcludedOkPaths,g as getOkArtifactPaths,r as isEntryUpToDate,e as isOwnManagedEntry,J as loadConfig,f as makeLazyProbeTokenStore,G as parseGitHubBlobUrl,q as parseGitHubShareUrl,F as parseGitHubTreeUrl,K as parseGitUrl,R as pathInstallMarkerPath,Y as previewContent,h as probeOwnManagedEditorMcpEntry,w as probeTrackedOkPaths,C as readExistingMcpEntry,y as readSharingMode,b as readSkillsShared,N as redactContent,S as removeOkPathsFromGitExclude,W as removeOwnMcpEntry,c as removeProjectSkill,t as removeUserGlobalSkillBundle,A as resolveProjectRoot,z as runStop,v as setSkillsShared,X as truncatePriorEntry,s as userGlobalSkillBundleTargets,B as validateLocalFolderForShare,k as writeEditorMcpConfig,U as writeProjectAiIntegrations,i as writeProjectSkill,j as writeUserMcpConfigs};
@@ -0,0 +1 @@
1
+ import"./chunk-KEIR6QF5-D5fHRjH_.mjs";import{n as e}from"./chunk-BIQX33UG-CLYGAgEl.mjs";export{e as createInfoServices};
@@ -1,3 +1,3 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-BBlcLUFu.mjs";import{m as t}from"./src-82KBw76I.mjs";import{c as n}from"./chunk-WYO6CB5R-DqktMY2P.mjs";import{t as r}from"./chunk-VAUOI2AC-LbYTm50o.mjs";import{n as i}from"./mermaid-parser.core-OVAP8Q4-.mjs";var a={parse:e(async e=>{let n=await i(`info`,e);t.debug(n)},`parse`)},o={version:`11.16.0`},s={parser:a,db:{getVersion:e(()=>o.version,`getVersion`)},renderer:{draw:e((e,i,a)=>{t.debug(`rendering info diagram
1
+ import{n as e}from"./chunk-Y2CYZVJY-D-AxePDr.mjs";import{m as t}from"./src-nvx4LAFk.mjs";import{c as n}from"./chunk-WYO6CB5R-Bu0g7bu2.mjs";import{t as r}from"./chunk-VAUOI2AC-Irj_jrJs.mjs";import{n as i}from"./mermaid-parser.core-Dq0Vyvhg.mjs";var a={parse:e(async e=>{let n=await i(`info`,e);t.debug(n)},`parse`)},o={version:`11.16.0`},s={parser:a,db:{getVersion:e(()=>o.version,`getVersion`)},renderer:{draw:e((e,i,a)=>{t.debug(`rendering info diagram
2
2
  `+e);let o=r(i);n(o,100,400,!0),o.append(`g`).append(`text`).attr(`x`,100).attr(`y`,40).attr(`class`,`version`).attr(`font-size`,32).style(`text-anchor`,`middle`).text(`v${a}`)},`draw`)}};export{s as diagram};
3
- //# sourceMappingURL=infoDiagram-FWYZ7A6U-BM1Ls1Dh.mjs.map
3
+ //# sourceMappingURL=infoDiagram-FWYZ7A6U-Be13xP1j.mjs.map
@@ -1,4 +1,4 @@
1
- import{i as e,o as t,t as n}from"./chunk-DTipWd-i.mjs";import{O as r,j as i,ja as a,ma as o}from"./src-DTPLCYnP.mjs";import{$n as s,$t as c,Hn as l,Mn as u,Nr as d,Tn as f,Vn as p,c as m,en as h,er as g,fn as _,in as v,l as y,nn as b,pa as x,pn as S,rr as C,tr as ee,u as te}from"./src-BG_IUe5R.mjs";import{U as ne}from"./sleep-DcENuR74.mjs";import{M as w,P as T}from"./fs-traced-BISd_YTv.mjs";import{C as re,a as ie,b as ae,d as E,f as oe,i as se,l as D,m as ce,p as le,s as ue,t as de,x as fe}from"./write-project-skill-TsM_THnF.mjs";import{t as pe}from"./constants-NqLesDwG.mjs";import{t as O}from"./is-object-DKopTkoU.mjs";import{i as k,n as me,o as A,r as he,s as j,t as M}from"./colors-BslXS0bZ.mjs";import{t as ge}from"./preview-CsOp4q2K.mjs";import{createRequire as _e}from"node:module";import{execFileSync as ve}from"node:child_process";import N,{dirname as P,isAbsolute as ye,join as F,relative as I,resolve as be,sep as xe}from"node:path";import{existsSync as L,lstatSync as Se,mkdirSync as Ce,readFileSync as R,readlinkSync as we,realpathSync as Te,statSync as Ee,writeFileSync as De}from"node:fs";import{homedir as Oe}from"node:os";import z from"node:process";import{fileURLToPath as ke}from"node:url";import*as Ae from"node:readline";import{inspect as je,stripVTControlCharacters as Me,styleText as B}from"node:util";import{AsyncLocalStorage as Ne,AsyncResource as Pe}from"node:async_hooks";const Fe=new Set([`emacs`,`vim`]);function Ie(e){return Fe.has(e)}function Le(){let e=process.env.INQUIRER_KEYBINDINGS;return e?Array.from(new Set(e.toLowerCase().split(/[\s,]+/).filter(Ie))):[]}const V=(e,t=[])=>e.name===`up`||t.includes(`vim`)&&e.name===`k`||t.includes(`emacs`)&&e.ctrl&&e.name===`p`,Re=(e,t=[])=>e.name===`down`||t.includes(`vim`)&&e.name===`j`||t.includes(`emacs`)&&e.ctrl&&e.name===`n`,ze=e=>e.name===`space`,Be=e=>e.name===`backspace`,Ve=e=>`1234567890`.includes(e.name),He=e=>e.name===`enter`||e.name===`return`;var Ue=class extends Error{name=`AbortPromptError`;message=`Prompt was aborted`;constructor(e){super(),this.cause=e?.cause}},We=class extends Error{name=`CancelPromptError`;message=`Prompt was canceled`},Ge=class extends Error{name=`ExitPromptError`},Ke=class extends Error{name=`HookError`},qe=class extends Error{name=`ValidationError`};const Je=new Ne;function Ye(e){return{rl:e,hooks:[],hooksCleanup:[],hooksEffect:[],index:0,handleChange(){}}}function Xe(e,t){let n=Ye(e);return Je.run(n,()=>{function e(e){n.handleChange=()=>{n.index=0,e()},n.handleChange()}return t(e)})}function H(){let e=Je.getStore();if(!e)throw new Ke(`[Inquirer] Hook functions can only be called from within a prompt`);return e}function Ze(){return H().rl}function Qe(e){return Pe.bind((...t)=>{let n=H(),r=!1,i=n.handleChange;n.handleChange=()=>{r=!0};let a=e(...t);return r&&i(),n.handleChange=i,a})}function $e(e){let t=H(),{index:n}=t,r=e({get(){return t.hooks[n]},set(e){t.hooks[n]=e},initialized:n in t.hooks});return t.index++,r}function et(){H().handleChange()}const U={queue(e){let t=H(),{index:n}=t;t.hooksEffect.push(()=>{t.hooksCleanup[n]?.();let r=e(Ze());if(r!=null&&typeof r!=`function`)throw new qe(`useEffect return value must be a cleanup function or nothing.`);t.hooksCleanup[n]=r})},run(){let e=H();Qe(()=>{e.hooksEffect.forEach(e=>{e()}),e.hooksEffect.length=0})()},clearAll(){let e=H();e.hooksCleanup.forEach(e=>{e?.()}),e.hooksEffect.length=0,e.hooksCleanup.length=0}};function tt(e){return typeof e==`function`}function W(e){return $e(t=>{let n=Pe.bind(function(e){t.get()!==e&&(t.set(e),et())});if(t.initialized)return[t.get(),n];let r=tt(e)?e():e;return t.set(r),[r,n]})}function nt(e,t){$e(n=>{let r=n.get();(!Array.isArray(r)||t.some((e,t)=>!Object.is(e,r[t])))&&U.queue(e),n.set(t)})}function rt(){return z.platform.startsWith(`win`)?!!z.env.CI||!!z.env.WT_SESSION||!!z.env.TERMINUS_SUBLIME||z.env.ConEmuTask===`{cmd::Cmder}`||z.env.TERM_PROGRAM===`Terminus-Sublime`||z.env.TERM_PROGRAM===`vscode`||z.env.TERM===`xterm-256color`||z.env.TERM===`alacritty`||z.env.TERMINAL_EMULATOR===`JetBrains-JediTerm`:z.env.TERM!==`linux`}const it={circleQuestionMark:`(?)`,questionMarkPrefix:`(?)`,square:`█`,squareDarkShade:`▓`,squareMediumShade:`▒`,squareLightShade:`░`,squareTop:`▀`,squareBottom:`▄`,squareLeft:`▌`,squareRight:`▐`,squareCenter:`■`,bullet:`●`,dot:`․`,ellipsis:`…`,pointerSmall:`›`,triangleUp:`▲`,triangleUpSmall:`▴`,triangleDown:`▼`,triangleDownSmall:`▾`,triangleLeftSmall:`◂`,triangleRightSmall:`▸`,home:`⌂`,heart:`♥`,musicNote:`♪`,musicNoteBeamed:`♫`,arrowUp:`↑`,arrowDown:`↓`,arrowLeft:`←`,arrowRight:`→`,arrowLeftRight:`↔`,arrowUpDown:`↕`,almostEqual:`≈`,notEqual:`≠`,lessOrEqual:`≤`,greaterOrEqual:`≥`,identical:`≡`,infinity:`∞`,subscriptZero:`₀`,subscriptOne:`₁`,subscriptTwo:`₂`,subscriptThree:`₃`,subscriptFour:`₄`,subscriptFive:`₅`,subscriptSix:`₆`,subscriptSeven:`₇`,subscriptEight:`₈`,subscriptNine:`₉`,oneHalf:`½`,oneThird:`⅓`,oneQuarter:`¼`,oneFifth:`⅕`,oneSixth:`⅙`,oneEighth:`⅛`,twoThirds:`⅔`,twoFifths:`⅖`,threeQuarters:`¾`,threeFifths:`⅗`,threeEighths:`⅜`,fourFifths:`⅘`,fiveSixths:`⅚`,fiveEighths:`⅝`,sevenEighths:`⅞`,line:`─`,lineBold:`━`,lineDouble:`═`,lineDashed0:`┄`,lineDashed1:`┅`,lineDashed2:`┈`,lineDashed3:`┉`,lineDashed4:`╌`,lineDashed5:`╍`,lineDashed6:`╴`,lineDashed7:`╶`,lineDashed8:`╸`,lineDashed9:`╺`,lineDashed10:`╼`,lineDashed11:`╾`,lineDashed12:`−`,lineDashed13:`–`,lineDashed14:`‐`,lineDashed15:`⁃`,lineVertical:`│`,lineVerticalBold:`┃`,lineVerticalDouble:`║`,lineVerticalDashed0:`┆`,lineVerticalDashed1:`┇`,lineVerticalDashed2:`┊`,lineVerticalDashed3:`┋`,lineVerticalDashed4:`╎`,lineVerticalDashed5:`╏`,lineVerticalDashed6:`╵`,lineVerticalDashed7:`╷`,lineVerticalDashed8:`╹`,lineVerticalDashed9:`╻`,lineVerticalDashed10:`╽`,lineVerticalDashed11:`╿`,lineDownLeft:`┐`,lineDownLeftArc:`╮`,lineDownBoldLeftBold:`┓`,lineDownBoldLeft:`┒`,lineDownLeftBold:`┑`,lineDownDoubleLeftDouble:`╗`,lineDownDoubleLeft:`╖`,lineDownLeftDouble:`╕`,lineDownRight:`┌`,lineDownRightArc:`╭`,lineDownBoldRightBold:`┏`,lineDownBoldRight:`┎`,lineDownRightBold:`┍`,lineDownDoubleRightDouble:`╔`,lineDownDoubleRight:`╓`,lineDownRightDouble:`╒`,lineUpLeft:`┘`,lineUpLeftArc:`╯`,lineUpBoldLeftBold:`┛`,lineUpBoldLeft:`┚`,lineUpLeftBold:`┙`,lineUpDoubleLeftDouble:`╝`,lineUpDoubleLeft:`╜`,lineUpLeftDouble:`╛`,lineUpRight:`└`,lineUpRightArc:`╰`,lineUpBoldRightBold:`┗`,lineUpBoldRight:`┖`,lineUpRightBold:`┕`,lineUpDoubleRightDouble:`╚`,lineUpDoubleRight:`╙`,lineUpRightDouble:`╘`,lineUpDownLeft:`┤`,lineUpBoldDownBoldLeftBold:`┫`,lineUpBoldDownBoldLeft:`┨`,lineUpDownLeftBold:`┥`,lineUpBoldDownLeftBold:`┩`,lineUpDownBoldLeftBold:`┪`,lineUpDownBoldLeft:`┧`,lineUpBoldDownLeft:`┦`,lineUpDoubleDownDoubleLeftDouble:`╣`,lineUpDoubleDownDoubleLeft:`╢`,lineUpDownLeftDouble:`╡`,lineUpDownRight:`├`,lineUpBoldDownBoldRightBold:`┣`,lineUpBoldDownBoldRight:`┠`,lineUpDownRightBold:`┝`,lineUpBoldDownRightBold:`┡`,lineUpDownBoldRightBold:`┢`,lineUpDownBoldRight:`┟`,lineUpBoldDownRight:`┞`,lineUpDoubleDownDoubleRightDouble:`╠`,lineUpDoubleDownDoubleRight:`╟`,lineUpDownRightDouble:`╞`,lineDownLeftRight:`┬`,lineDownBoldLeftBoldRightBold:`┳`,lineDownLeftBoldRightBold:`┯`,lineDownBoldLeftRight:`┰`,lineDownBoldLeftBoldRight:`┱`,lineDownBoldLeftRightBold:`┲`,lineDownLeftRightBold:`┮`,lineDownLeftBoldRight:`┭`,lineDownDoubleLeftDoubleRightDouble:`╦`,lineDownDoubleLeftRight:`╥`,lineDownLeftDoubleRightDouble:`╤`,lineUpLeftRight:`┴`,lineUpBoldLeftBoldRightBold:`┻`,lineUpLeftBoldRightBold:`┷`,lineUpBoldLeftRight:`┸`,lineUpBoldLeftBoldRight:`┹`,lineUpBoldLeftRightBold:`┺`,lineUpLeftRightBold:`┶`,lineUpLeftBoldRight:`┵`,lineUpDoubleLeftDoubleRightDouble:`╩`,lineUpDoubleLeftRight:`╨`,lineUpLeftDoubleRightDouble:`╧`,lineUpDownLeftRight:`┼`,lineUpBoldDownBoldLeftBoldRightBold:`╋`,lineUpDownBoldLeftBoldRightBold:`╈`,lineUpBoldDownLeftBoldRightBold:`╇`,lineUpBoldDownBoldLeftRightBold:`╊`,lineUpBoldDownBoldLeftBoldRight:`╉`,lineUpBoldDownLeftRight:`╀`,lineUpDownBoldLeftRight:`╁`,lineUpDownLeftBoldRight:`┽`,lineUpDownLeftRightBold:`┾`,lineUpBoldDownBoldLeftRight:`╂`,lineUpDownLeftBoldRightBold:`┿`,lineUpBoldDownLeftBoldRight:`╃`,lineUpBoldDownLeftRightBold:`╄`,lineUpDownBoldLeftBoldRight:`╅`,lineUpDownBoldLeftRightBold:`╆`,lineUpDoubleDownDoubleLeftDoubleRightDouble:`╬`,lineUpDoubleDownDoubleLeftRight:`╫`,lineUpDownLeftDoubleRightDouble:`╪`,lineCross:`╳`,lineBackslash:`╲`,lineSlash:`╱`},at={tick:`✔`,info:`ℹ`,warning:`⚠`,cross:`✘`,squareSmall:`◻`,squareSmallFilled:`◼`,circle:`◯`,circleFilled:`◉`,circleDotted:`◌`,circleDouble:`◎`,circleCircle:`ⓞ`,circleCross:`ⓧ`,circlePipe:`Ⓘ`,radioOn:`◉`,radioOff:`◯`,checkboxOn:`☒`,checkboxOff:`☐`,checkboxCircleOn:`ⓧ`,checkboxCircleOff:`Ⓘ`,pointer:`❯`,triangleUpOutline:`△`,triangleLeft:`◀`,triangleRight:`▶`,lozenge:`◆`,lozengeOutline:`◇`,hamburger:`☰`,smiley:`㋡`,mustache:`෴`,star:`★`,play:`▶`,nodejs:`⬢`,oneSeventh:`⅐`,oneNinth:`⅑`,oneTenth:`⅒`},ot={tick:`√`,info:`i`,warning:`‼`,cross:`×`,squareSmall:`□`,squareSmallFilled:`■`,circle:`( )`,circleFilled:`(*)`,circleDotted:`( )`,circleDouble:`( )`,circleCircle:`(○)`,circleCross:`(×)`,circlePipe:`(│)`,radioOn:`(*)`,radioOff:`( )`,checkboxOn:`[×]`,checkboxOff:`[ ]`,checkboxCircleOn:`(×)`,checkboxCircleOff:`( )`,pointer:`>`,triangleUpOutline:`∆`,triangleLeft:`◄`,triangleRight:`►`,lozenge:`♦`,lozengeOutline:`◊`,hamburger:`≡`,smiley:`☺`,mustache:`┌─┐`,star:`✶`,play:`►`,nodejs:`♦`,oneSeventh:`1/7`,oneNinth:`1/9`,oneTenth:`1/10`},st={...it,...at},ct={...it,...ot},G=rt()?st:ct;Object.entries(at);const lt={prefix:{idle:B(`blue`,`?`),done:B(`green`,G.tick)},spinner:{interval:80,frames:[`⠋`,`⠙`,`⠹`,`⠸`,`⠼`,`⠴`,`⠦`,`⠧`,`⠇`,`⠏`].map(e=>B(`yellow`,e))},keybindings:[],style:{answer:e=>B(`cyan`,e),message:e=>B(`bold`,e),error:e=>B(`red`,`> ${e}`),defaultAnswer:e=>B(`dim`,`(${e})`),help:e=>B(`dim`,e),highlight:e=>B(`cyan`,e),key:e=>B(`cyan`,B(`bold`,`<${e}>`))}};function ut(){return{...lt,keybindings:Le()}}function dt(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ft(...e){let t={};for(let n of e)for(let[e,r]of Object.entries(n)){let n=t[e];t[e]=dt(n)&&dt(r)?ft(n,r):r}return t}function pt(...e){return ft(ut(),...e.filter(e=>e!=null))}function mt({status:e=`idle`,theme:t}){let[n,r]=W(!1),[i,a]=W(0),{prefix:o,spinner:s}=pt(t);return nt(()=>{if(e===`loading`){let e,t=-1,n=setTimeout(()=>{r(!0),e=setInterval(()=>{t+=1,a(t%s.frames.length)},s.interval)},300);return()=>{clearTimeout(n),clearInterval(e)}}else r(!1)},[e]),n?s.frames[i]:typeof o==`string`?o:o[e===`loading`?`idle`:e]??o.idle}function ht(e,t){return $e(n=>{let r=n.get();if(!r||r.dependencies.length!==t.length||r.dependencies.some((e,n)=>e!==t[n])){let r=e();return n.set({value:r,dependencies:t}),r}return r.value})}function gt(e){return W({current:e})[0]}function _t(e){let t=gt(e);t.current=e,nt(e=>{let n=!1,r=Qe((r,i)=>{n||t.current(i,e)});return e.input.on(`keypress`,r),()=>{n=!0,e.input.removeListener(`keypress`,r)}},[])}var vt=t(n(((t,n)=>{n.exports=i;function r(t){let n={defaultWidth:0,output:process.stdout,tty:e(`tty`)};return t?(Object.keys(n).forEach(function(e){t[e]||(t[e]=n[e])}),t):n}function i(e){let t=r(e);if(t.output.getWindowSize)return t.output.getWindowSize()[0]||t.defaultWidth;if(t.tty.getWindowSize)return t.tty.getWindowSize()[1]||t.defaultWidth;if(t.output.columns)return t.output.columns;if(process.env.CLI_WIDTH){let e=parseInt(process.env.CLI_WIDTH,10);if(!isNaN(e)&&e!==0)return e}return t.defaultWidth}}))(),1);const yt=(()=>{let e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;return t=>{let n=0;for(e.lastIndex=0;e.test(t);)n+=1;return t.length-n}})(),bt=e=>e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510,xt=e=>e===8987||e===9001||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e>=131072&&e<=196605||e>=196608&&e<=262141,St=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]|\u001b\]8;[^;]*;.*?(?:\u0007|\u001b\u005c)/y,Ct=/[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y,wt=/(?:(?![\uFF61-\uFF9F\uFF00-\uFFEF])[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Tangut}]){1,1000}/uy,Tt=/\t{1,1000}/y,Et=/[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}|(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})(?:\u200D(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F\u20E3?))*/uy,Dt=/(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y,Ot=/\p{M}+/gu,kt={limit:1/0,ellipsis:``},At=(e,t={},n={})=>{let r=t.limit??1/0,i=t.ellipsis??``,a=t?.ellipsisWidth??(i?At(i,kt,n).width:0),o=n.controlWidth??0,s=n.tabWidth??8,c=n.emojiWidth??2,l=n.regularWidth??1,u=n.wideWidth??2,d=[[Dt,l],[St,0],[Ct,o],[Tt,s],[Et,c],[wt,u]],f=0,p=0,m=e.length,h=0,g=!1,_=m,v=Math.max(0,r-a),y=0,b=0,x=0,S=0;outer:for(;;){if(b>y||p>=m&&p>f){let t=e.slice(y,b)||e.slice(f,p);h=0;for(let e of t.replaceAll(Ot,``)){let t=e.codePointAt(0)||0;if(S=bt(t)?2:xt(t)?u:l,x+S>v&&(_=Math.min(_,Math.max(y,f)+h)),x+S>r){g=!0;break outer}h+=e.length,x+=S}y=b=0}if(p>=m)break outer;for(let t=0,n=d.length;t<n;t++){let[n,i]=d[t];if(n.lastIndex=p,n.test(e)){if(h=n===wt?yt(e.slice(p,n.lastIndex)):n===Et?1:n.lastIndex-p,S=h*i,x+S>v&&(_=Math.min(_,p+Math.floor((v-x)/i))),x+S>r){g=!0;break outer}x+=S,y=f,b=p,p=f=n.lastIndex;continue outer}}p+=1}return{width:g?v:x,index:g?_:m,truncated:g,ellipsed:g&&r>=a}},jt={limit:1/0,ellipsis:``,ellipsisWidth:0},K=(e,t={})=>At(e,jt,t).width,Mt=`]8;;`,Nt=RegExp(`(?:\\[(?<code>\\d+)m|\\${Mt}(?<uri>.*))`,`y`),Pt=e=>{if(e>=30&&e<=37||e>=90&&e<=97)return 39;if(e>=40&&e<=47||e>=100&&e<=107)return 49;if(e===1||e===2)return 22;if(e===3)return 23;if(e===4)return 24;if(e===7)return 27;if(e===8)return 28;if(e===9)return 29;if(e===0)return 0},Ft=e=>`[${e}m`,It=e=>`${Mt}${e}`,Lt=(e,t,n)=>{let r=t[Symbol.iterator](),i=!1,a=!1,o=e.at(-1),s=o===void 0?0:K(o),c=r.next(),l=r.next(),u=0;for(;!c.done;){let o=c.value,d=K(o);s+d<=n?e[e.length-1]+=o:(e.push(o),s=0),(o===`\x1B`||o===`›`)&&(i=!0,a=t.startsWith(Mt,u+1)),i?a?o===`\x07`&&(i=!1,a=!1):o===`m`&&(i=!1):(s+=d,s===n&&!l.done&&(e.push(``),s=0)),c=l,l=r.next(),u+=o.length}o=e.at(-1),!s&&o!==void 0&&o.length&&e.length>1&&(e[e.length-2]+=e.pop())},Rt=e=>{let t=e.split(` `),n=t.length;for(;n&&!K(t[n-1]);)n--;return n===t.length?e:t.slice(0,n).join(` `)+t.slice(n).join(``)},zt=(e,t,n={})=>{if(n.trim!==!1&&e.trim()===``)return``;let r=``,i,a,o=e.split(` `),s=[``],c=0;for(let e=0;e<o.length;e++){let r=o[e];if(n.trim!==!1){let e=s.at(-1)??``,t=e.trimStart();e.length!==t.length&&(s[s.length-1]=t,c=K(t))}e!==0&&(c>=t&&(n.wordWrap===!1||n.trim===!1)&&(s.push(``),c=0),(c||n.trim===!1)&&(s[s.length-1]+=` `,c++));let i=K(r);if(n.hard&&i>t){let e=t-c,n=1+Math.floor((i-e-1)/t);Math.floor((i-1)/t)<n&&s.push(``),Lt(s,r,t),c=K(s.at(-1)??``);continue}if(c+i>t&&c&&i){if(n.wordWrap===!1&&c<t){Lt(s,r,t),c=K(s.at(-1)??``);continue}s.push(``),c=0}if(c+i>t&&n.wordWrap===!1){Lt(s,r,t),c=K(s.at(-1)??``);continue}s[s.length-1]+=r,c+=i}n.trim!==!1&&(s=s.map(e=>Rt(e)));let l=s.join(`
1
+ import{i as e,o as t,t as n}from"./chunk-DTipWd-i.mjs";import{O as r,j as i,ja as a,ma as o}from"./src-DTPLCYnP.mjs";import{$n as s,$t as c,Hn as l,Mn as u,Nr as d,Tn as f,Vn as p,c as m,en as h,er as g,fn as _,in as v,l as y,nn as b,pa as x,pn as S,rr as C,tr as ee,u as te}from"./src-BEaiZuXz.mjs";import{U as ne}from"./sleep-DcENuR74.mjs";import{M as w,P as T}from"./fs-traced-B-qtPUmb.mjs";import{C as re,a as ie,b as ae,d as E,f as oe,i as se,l as D,m as ce,p as le,s as ue,t as de,x as fe}from"./write-project-skill-CMePkU0W.mjs";import{t as pe}from"./constants-hkGRiNzn.mjs";import{t as O}from"./is-object-Bw0-z8qH.mjs";import{i as k,n as me,o as A,r as he,s as j,t as M}from"./colors-_gzKDfrv.mjs";import{t as ge}from"./preview-Dg4Sbf4n.mjs";import{createRequire as _e}from"node:module";import{execFileSync as ve}from"node:child_process";import N,{dirname as P,isAbsolute as ye,join as F,relative as I,resolve as be,sep as xe}from"node:path";import{existsSync as L,lstatSync as Se,mkdirSync as Ce,readFileSync as R,readlinkSync as we,realpathSync as Te,statSync as Ee,writeFileSync as De}from"node:fs";import{homedir as Oe}from"node:os";import z from"node:process";import{fileURLToPath as ke}from"node:url";import*as Ae from"node:readline";import{inspect as je,stripVTControlCharacters as Me,styleText as B}from"node:util";import{AsyncLocalStorage as Ne,AsyncResource as Pe}from"node:async_hooks";const Fe=new Set([`emacs`,`vim`]);function Ie(e){return Fe.has(e)}function Le(){let e=process.env.INQUIRER_KEYBINDINGS;return e?Array.from(new Set(e.toLowerCase().split(/[\s,]+/).filter(Ie))):[]}const V=(e,t=[])=>e.name===`up`||t.includes(`vim`)&&e.name===`k`||t.includes(`emacs`)&&e.ctrl&&e.name===`p`,Re=(e,t=[])=>e.name===`down`||t.includes(`vim`)&&e.name===`j`||t.includes(`emacs`)&&e.ctrl&&e.name===`n`,ze=e=>e.name===`space`,Be=e=>e.name===`backspace`,Ve=e=>`1234567890`.includes(e.name),He=e=>e.name===`enter`||e.name===`return`;var Ue=class extends Error{name=`AbortPromptError`;message=`Prompt was aborted`;constructor(e){super(),this.cause=e?.cause}},We=class extends Error{name=`CancelPromptError`;message=`Prompt was canceled`},Ge=class extends Error{name=`ExitPromptError`},Ke=class extends Error{name=`HookError`},qe=class extends Error{name=`ValidationError`};const Je=new Ne;function Ye(e){return{rl:e,hooks:[],hooksCleanup:[],hooksEffect:[],index:0,handleChange(){}}}function Xe(e,t){let n=Ye(e);return Je.run(n,()=>{function e(e){n.handleChange=()=>{n.index=0,e()},n.handleChange()}return t(e)})}function H(){let e=Je.getStore();if(!e)throw new Ke(`[Inquirer] Hook functions can only be called from within a prompt`);return e}function Ze(){return H().rl}function Qe(e){return Pe.bind((...t)=>{let n=H(),r=!1,i=n.handleChange;n.handleChange=()=>{r=!0};let a=e(...t);return r&&i(),n.handleChange=i,a})}function $e(e){let t=H(),{index:n}=t,r=e({get(){return t.hooks[n]},set(e){t.hooks[n]=e},initialized:n in t.hooks});return t.index++,r}function et(){H().handleChange()}const U={queue(e){let t=H(),{index:n}=t;t.hooksEffect.push(()=>{t.hooksCleanup[n]?.();let r=e(Ze());if(r!=null&&typeof r!=`function`)throw new qe(`useEffect return value must be a cleanup function or nothing.`);t.hooksCleanup[n]=r})},run(){let e=H();Qe(()=>{e.hooksEffect.forEach(e=>{e()}),e.hooksEffect.length=0})()},clearAll(){let e=H();e.hooksCleanup.forEach(e=>{e?.()}),e.hooksEffect.length=0,e.hooksCleanup.length=0}};function tt(e){return typeof e==`function`}function W(e){return $e(t=>{let n=Pe.bind(function(e){t.get()!==e&&(t.set(e),et())});if(t.initialized)return[t.get(),n];let r=tt(e)?e():e;return t.set(r),[r,n]})}function nt(e,t){$e(n=>{let r=n.get();(!Array.isArray(r)||t.some((e,t)=>!Object.is(e,r[t])))&&U.queue(e),n.set(t)})}function rt(){return z.platform.startsWith(`win`)?!!z.env.CI||!!z.env.WT_SESSION||!!z.env.TERMINUS_SUBLIME||z.env.ConEmuTask===`{cmd::Cmder}`||z.env.TERM_PROGRAM===`Terminus-Sublime`||z.env.TERM_PROGRAM===`vscode`||z.env.TERM===`xterm-256color`||z.env.TERM===`alacritty`||z.env.TERMINAL_EMULATOR===`JetBrains-JediTerm`:z.env.TERM!==`linux`}const it={circleQuestionMark:`(?)`,questionMarkPrefix:`(?)`,square:`█`,squareDarkShade:`▓`,squareMediumShade:`▒`,squareLightShade:`░`,squareTop:`▀`,squareBottom:`▄`,squareLeft:`▌`,squareRight:`▐`,squareCenter:`■`,bullet:`●`,dot:`․`,ellipsis:`…`,pointerSmall:`›`,triangleUp:`▲`,triangleUpSmall:`▴`,triangleDown:`▼`,triangleDownSmall:`▾`,triangleLeftSmall:`◂`,triangleRightSmall:`▸`,home:`⌂`,heart:`♥`,musicNote:`♪`,musicNoteBeamed:`♫`,arrowUp:`↑`,arrowDown:`↓`,arrowLeft:`←`,arrowRight:`→`,arrowLeftRight:`↔`,arrowUpDown:`↕`,almostEqual:`≈`,notEqual:`≠`,lessOrEqual:`≤`,greaterOrEqual:`≥`,identical:`≡`,infinity:`∞`,subscriptZero:`₀`,subscriptOne:`₁`,subscriptTwo:`₂`,subscriptThree:`₃`,subscriptFour:`₄`,subscriptFive:`₅`,subscriptSix:`₆`,subscriptSeven:`₇`,subscriptEight:`₈`,subscriptNine:`₉`,oneHalf:`½`,oneThird:`⅓`,oneQuarter:`¼`,oneFifth:`⅕`,oneSixth:`⅙`,oneEighth:`⅛`,twoThirds:`⅔`,twoFifths:`⅖`,threeQuarters:`¾`,threeFifths:`⅗`,threeEighths:`⅜`,fourFifths:`⅘`,fiveSixths:`⅚`,fiveEighths:`⅝`,sevenEighths:`⅞`,line:`─`,lineBold:`━`,lineDouble:`═`,lineDashed0:`┄`,lineDashed1:`┅`,lineDashed2:`┈`,lineDashed3:`┉`,lineDashed4:`╌`,lineDashed5:`╍`,lineDashed6:`╴`,lineDashed7:`╶`,lineDashed8:`╸`,lineDashed9:`╺`,lineDashed10:`╼`,lineDashed11:`╾`,lineDashed12:`−`,lineDashed13:`–`,lineDashed14:`‐`,lineDashed15:`⁃`,lineVertical:`│`,lineVerticalBold:`┃`,lineVerticalDouble:`║`,lineVerticalDashed0:`┆`,lineVerticalDashed1:`┇`,lineVerticalDashed2:`┊`,lineVerticalDashed3:`┋`,lineVerticalDashed4:`╎`,lineVerticalDashed5:`╏`,lineVerticalDashed6:`╵`,lineVerticalDashed7:`╷`,lineVerticalDashed8:`╹`,lineVerticalDashed9:`╻`,lineVerticalDashed10:`╽`,lineVerticalDashed11:`╿`,lineDownLeft:`┐`,lineDownLeftArc:`╮`,lineDownBoldLeftBold:`┓`,lineDownBoldLeft:`┒`,lineDownLeftBold:`┑`,lineDownDoubleLeftDouble:`╗`,lineDownDoubleLeft:`╖`,lineDownLeftDouble:`╕`,lineDownRight:`┌`,lineDownRightArc:`╭`,lineDownBoldRightBold:`┏`,lineDownBoldRight:`┎`,lineDownRightBold:`┍`,lineDownDoubleRightDouble:`╔`,lineDownDoubleRight:`╓`,lineDownRightDouble:`╒`,lineUpLeft:`┘`,lineUpLeftArc:`╯`,lineUpBoldLeftBold:`┛`,lineUpBoldLeft:`┚`,lineUpLeftBold:`┙`,lineUpDoubleLeftDouble:`╝`,lineUpDoubleLeft:`╜`,lineUpLeftDouble:`╛`,lineUpRight:`└`,lineUpRightArc:`╰`,lineUpBoldRightBold:`┗`,lineUpBoldRight:`┖`,lineUpRightBold:`┕`,lineUpDoubleRightDouble:`╚`,lineUpDoubleRight:`╙`,lineUpRightDouble:`╘`,lineUpDownLeft:`┤`,lineUpBoldDownBoldLeftBold:`┫`,lineUpBoldDownBoldLeft:`┨`,lineUpDownLeftBold:`┥`,lineUpBoldDownLeftBold:`┩`,lineUpDownBoldLeftBold:`┪`,lineUpDownBoldLeft:`┧`,lineUpBoldDownLeft:`┦`,lineUpDoubleDownDoubleLeftDouble:`╣`,lineUpDoubleDownDoubleLeft:`╢`,lineUpDownLeftDouble:`╡`,lineUpDownRight:`├`,lineUpBoldDownBoldRightBold:`┣`,lineUpBoldDownBoldRight:`┠`,lineUpDownRightBold:`┝`,lineUpBoldDownRightBold:`┡`,lineUpDownBoldRightBold:`┢`,lineUpDownBoldRight:`┟`,lineUpBoldDownRight:`┞`,lineUpDoubleDownDoubleRightDouble:`╠`,lineUpDoubleDownDoubleRight:`╟`,lineUpDownRightDouble:`╞`,lineDownLeftRight:`┬`,lineDownBoldLeftBoldRightBold:`┳`,lineDownLeftBoldRightBold:`┯`,lineDownBoldLeftRight:`┰`,lineDownBoldLeftBoldRight:`┱`,lineDownBoldLeftRightBold:`┲`,lineDownLeftRightBold:`┮`,lineDownLeftBoldRight:`┭`,lineDownDoubleLeftDoubleRightDouble:`╦`,lineDownDoubleLeftRight:`╥`,lineDownLeftDoubleRightDouble:`╤`,lineUpLeftRight:`┴`,lineUpBoldLeftBoldRightBold:`┻`,lineUpLeftBoldRightBold:`┷`,lineUpBoldLeftRight:`┸`,lineUpBoldLeftBoldRight:`┹`,lineUpBoldLeftRightBold:`┺`,lineUpLeftRightBold:`┶`,lineUpLeftBoldRight:`┵`,lineUpDoubleLeftDoubleRightDouble:`╩`,lineUpDoubleLeftRight:`╨`,lineUpLeftDoubleRightDouble:`╧`,lineUpDownLeftRight:`┼`,lineUpBoldDownBoldLeftBoldRightBold:`╋`,lineUpDownBoldLeftBoldRightBold:`╈`,lineUpBoldDownLeftBoldRightBold:`╇`,lineUpBoldDownBoldLeftRightBold:`╊`,lineUpBoldDownBoldLeftBoldRight:`╉`,lineUpBoldDownLeftRight:`╀`,lineUpDownBoldLeftRight:`╁`,lineUpDownLeftBoldRight:`┽`,lineUpDownLeftRightBold:`┾`,lineUpBoldDownBoldLeftRight:`╂`,lineUpDownLeftBoldRightBold:`┿`,lineUpBoldDownLeftBoldRight:`╃`,lineUpBoldDownLeftRightBold:`╄`,lineUpDownBoldLeftBoldRight:`╅`,lineUpDownBoldLeftRightBold:`╆`,lineUpDoubleDownDoubleLeftDoubleRightDouble:`╬`,lineUpDoubleDownDoubleLeftRight:`╫`,lineUpDownLeftDoubleRightDouble:`╪`,lineCross:`╳`,lineBackslash:`╲`,lineSlash:`╱`},at={tick:`✔`,info:`ℹ`,warning:`⚠`,cross:`✘`,squareSmall:`◻`,squareSmallFilled:`◼`,circle:`◯`,circleFilled:`◉`,circleDotted:`◌`,circleDouble:`◎`,circleCircle:`ⓞ`,circleCross:`ⓧ`,circlePipe:`Ⓘ`,radioOn:`◉`,radioOff:`◯`,checkboxOn:`☒`,checkboxOff:`☐`,checkboxCircleOn:`ⓧ`,checkboxCircleOff:`Ⓘ`,pointer:`❯`,triangleUpOutline:`△`,triangleLeft:`◀`,triangleRight:`▶`,lozenge:`◆`,lozengeOutline:`◇`,hamburger:`☰`,smiley:`㋡`,mustache:`෴`,star:`★`,play:`▶`,nodejs:`⬢`,oneSeventh:`⅐`,oneNinth:`⅑`,oneTenth:`⅒`},ot={tick:`√`,info:`i`,warning:`‼`,cross:`×`,squareSmall:`□`,squareSmallFilled:`■`,circle:`( )`,circleFilled:`(*)`,circleDotted:`( )`,circleDouble:`( )`,circleCircle:`(○)`,circleCross:`(×)`,circlePipe:`(│)`,radioOn:`(*)`,radioOff:`( )`,checkboxOn:`[×]`,checkboxOff:`[ ]`,checkboxCircleOn:`(×)`,checkboxCircleOff:`( )`,pointer:`>`,triangleUpOutline:`∆`,triangleLeft:`◄`,triangleRight:`►`,lozenge:`♦`,lozengeOutline:`◊`,hamburger:`≡`,smiley:`☺`,mustache:`┌─┐`,star:`✶`,play:`►`,nodejs:`♦`,oneSeventh:`1/7`,oneNinth:`1/9`,oneTenth:`1/10`},st={...it,...at},ct={...it,...ot},G=rt()?st:ct;Object.entries(at);const lt={prefix:{idle:B(`blue`,`?`),done:B(`green`,G.tick)},spinner:{interval:80,frames:[`⠋`,`⠙`,`⠹`,`⠸`,`⠼`,`⠴`,`⠦`,`⠧`,`⠇`,`⠏`].map(e=>B(`yellow`,e))},keybindings:[],style:{answer:e=>B(`cyan`,e),message:e=>B(`bold`,e),error:e=>B(`red`,`> ${e}`),defaultAnswer:e=>B(`dim`,`(${e})`),help:e=>B(`dim`,e),highlight:e=>B(`cyan`,e),key:e=>B(`cyan`,B(`bold`,`<${e}>`))}};function ut(){return{...lt,keybindings:Le()}}function dt(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ft(...e){let t={};for(let n of e)for(let[e,r]of Object.entries(n)){let n=t[e];t[e]=dt(n)&&dt(r)?ft(n,r):r}return t}function pt(...e){return ft(ut(),...e.filter(e=>e!=null))}function mt({status:e=`idle`,theme:t}){let[n,r]=W(!1),[i,a]=W(0),{prefix:o,spinner:s}=pt(t);return nt(()=>{if(e===`loading`){let e,t=-1,n=setTimeout(()=>{r(!0),e=setInterval(()=>{t+=1,a(t%s.frames.length)},s.interval)},300);return()=>{clearTimeout(n),clearInterval(e)}}else r(!1)},[e]),n?s.frames[i]:typeof o==`string`?o:o[e===`loading`?`idle`:e]??o.idle}function ht(e,t){return $e(n=>{let r=n.get();if(!r||r.dependencies.length!==t.length||r.dependencies.some((e,n)=>e!==t[n])){let r=e();return n.set({value:r,dependencies:t}),r}return r.value})}function gt(e){return W({current:e})[0]}function _t(e){let t=gt(e);t.current=e,nt(e=>{let n=!1,r=Qe((r,i)=>{n||t.current(i,e)});return e.input.on(`keypress`,r),()=>{n=!0,e.input.removeListener(`keypress`,r)}},[])}var vt=t(n(((t,n)=>{n.exports=i;function r(t){let n={defaultWidth:0,output:process.stdout,tty:e(`tty`)};return t?(Object.keys(n).forEach(function(e){t[e]||(t[e]=n[e])}),t):n}function i(e){let t=r(e);if(t.output.getWindowSize)return t.output.getWindowSize()[0]||t.defaultWidth;if(t.tty.getWindowSize)return t.tty.getWindowSize()[1]||t.defaultWidth;if(t.output.columns)return t.output.columns;if(process.env.CLI_WIDTH){let e=parseInt(process.env.CLI_WIDTH,10);if(!isNaN(e)&&e!==0)return e}return t.defaultWidth}}))(),1);const yt=(()=>{let e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;return t=>{let n=0;for(e.lastIndex=0;e.test(t);)n+=1;return t.length-n}})(),bt=e=>e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510,xt=e=>e===8987||e===9001||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e>=131072&&e<=196605||e>=196608&&e<=262141,St=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]|\u001b\]8;[^;]*;.*?(?:\u0007|\u001b\u005c)/y,Ct=/[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y,wt=/(?:(?![\uFF61-\uFF9F\uFF00-\uFFEF])[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Tangut}]){1,1000}/uy,Tt=/\t{1,1000}/y,Et=/[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}|(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})(?:\u200D(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F\u20E3?))*/uy,Dt=/(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y,Ot=/\p{M}+/gu,kt={limit:1/0,ellipsis:``},At=(e,t={},n={})=>{let r=t.limit??1/0,i=t.ellipsis??``,a=t?.ellipsisWidth??(i?At(i,kt,n).width:0),o=n.controlWidth??0,s=n.tabWidth??8,c=n.emojiWidth??2,l=n.regularWidth??1,u=n.wideWidth??2,d=[[Dt,l],[St,0],[Ct,o],[Tt,s],[Et,c],[wt,u]],f=0,p=0,m=e.length,h=0,g=!1,_=m,v=Math.max(0,r-a),y=0,b=0,x=0,S=0;outer:for(;;){if(b>y||p>=m&&p>f){let t=e.slice(y,b)||e.slice(f,p);h=0;for(let e of t.replaceAll(Ot,``)){let t=e.codePointAt(0)||0;if(S=bt(t)?2:xt(t)?u:l,x+S>v&&(_=Math.min(_,Math.max(y,f)+h)),x+S>r){g=!0;break outer}h+=e.length,x+=S}y=b=0}if(p>=m)break outer;for(let t=0,n=d.length;t<n;t++){let[n,i]=d[t];if(n.lastIndex=p,n.test(e)){if(h=n===wt?yt(e.slice(p,n.lastIndex)):n===Et?1:n.lastIndex-p,S=h*i,x+S>v&&(_=Math.min(_,p+Math.floor((v-x)/i))),x+S>r){g=!0;break outer}x+=S,y=f,b=p,p=f=n.lastIndex;continue outer}}p+=1}return{width:g?v:x,index:g?_:m,truncated:g,ellipsed:g&&r>=a}},jt={limit:1/0,ellipsis:``,ellipsisWidth:0},K=(e,t={})=>At(e,jt,t).width,Mt=`]8;;`,Nt=RegExp(`(?:\\[(?<code>\\d+)m|\\${Mt}(?<uri>.*))`,`y`),Pt=e=>{if(e>=30&&e<=37||e>=90&&e<=97)return 39;if(e>=40&&e<=47||e>=100&&e<=107)return 49;if(e===1||e===2)return 22;if(e===3)return 23;if(e===4)return 24;if(e===7)return 27;if(e===8)return 28;if(e===9)return 29;if(e===0)return 0},Ft=e=>`[${e}m`,It=e=>`${Mt}${e}`,Lt=(e,t,n)=>{let r=t[Symbol.iterator](),i=!1,a=!1,o=e.at(-1),s=o===void 0?0:K(o),c=r.next(),l=r.next(),u=0;for(;!c.done;){let o=c.value,d=K(o);s+d<=n?e[e.length-1]+=o:(e.push(o),s=0),(o===`\x1B`||o===`›`)&&(i=!0,a=t.startsWith(Mt,u+1)),i?a?o===`\x07`&&(i=!1,a=!1):o===`m`&&(i=!1):(s+=d,s===n&&!l.done&&(e.push(``),s=0)),c=l,l=r.next(),u+=o.length}o=e.at(-1),!s&&o!==void 0&&o.length&&e.length>1&&(e[e.length-2]+=e.pop())},Rt=e=>{let t=e.split(` `),n=t.length;for(;n&&!K(t[n-1]);)n--;return n===t.length?e:t.slice(0,n).join(` `)+t.slice(n).join(``)},zt=(e,t,n={})=>{if(n.trim!==!1&&e.trim()===``)return``;let r=``,i,a,o=e.split(` `),s=[``],c=0;for(let e=0;e<o.length;e++){let r=o[e];if(n.trim!==!1){let e=s.at(-1)??``,t=e.trimStart();e.length!==t.length&&(s[s.length-1]=t,c=K(t))}e!==0&&(c>=t&&(n.wordWrap===!1||n.trim===!1)&&(s.push(``),c=0),(c||n.trim===!1)&&(s[s.length-1]+=` `,c++));let i=K(r);if(n.hard&&i>t){let e=t-c,n=1+Math.floor((i-e-1)/t);Math.floor((i-1)/t)<n&&s.push(``),Lt(s,r,t),c=K(s.at(-1)??``);continue}if(c+i>t&&c&&i){if(n.wordWrap===!1&&c<t){Lt(s,r,t),c=K(s.at(-1)??``);continue}s.push(``),c=0}if(c+i>t&&n.wordWrap===!1){Lt(s,r,t),c=K(s.at(-1)??``);continue}s[s.length-1]+=r,c+=i}n.trim!==!1&&(s=s.map(e=>Rt(e)));let l=s.join(`
2
2
  `),u=!1;for(let e=0;e<l.length;e++){let t=l[e];if(r+=t,u)u=!1;else if(u=t>=`\ud800`&&t<=`\udbff`,u)continue;if(t===`\x1B`||t===`›`){Nt.lastIndex=e+1;let t=Nt.exec(l)?.groups;if(t?.code!==void 0){let e=Number.parseFloat(t.code);i=e===39?void 0:e}else t?.uri!==void 0&&(a=t.uri.length===0?void 0:t.uri)}if(l[e+1]===`
3
3
  `){a&&(r+=It(``));let e=i?Pt(i):void 0;i&&e&&(r+=Ft(e))}else t===`
4
4
  `&&(i&&Pt(i)&&(r+=Ft(i)),a&&(r+=It(a)))}return r},Bt=/\r?\n/;function Vt(e,t,n){return String(e).normalize().split(Bt).map(e=>zt(e,t,n)).join(`
@@ -638,6 +638,6 @@ export default function okBridge(pi: {
638
638
  `));let f=`${a?``:``}${u}`;return f!==i&&T(e,f,{mode:Bn(e)}),{kind:l?`overwritten`:`written`}}const _i=e=>e!==`project`,vi=e=>e!==`user`;async function yi(){let e=await Yn({message:`Where should the MCP server be configured?
639
639
  `,required:!1,theme:{icon:{checked:`[x]`,unchecked:`[ ]`}},choices:[{name:`User-level (~/.claude.json, ~/.cursor/mcp.json, …)`,value:`user`,checked:!0},{name:`Project-level (.mcp.json, .cursor/mcp.json, …)`,value:`project`,checked:!0}]});return e.includes(`user`)&&e.includes(`project`)?`both`:e.includes(`user`)?`user`:e.includes(`project`)?`project`:null}async function bi(e){return e.mcp===!1?null:e.scope?e.scope:e.isTTY??process.stdout.isTTY?(e.promptFn??yi)():`both`}async function xi(e){return er({message:`How do you want to handle OpenKnowledge config files (.ok/, .mcp.json, project skills)?`,default:e,choices:[{name:`Share with my team (commit alongside content)`,value:`shared`,description:`OK config gets committed alongside your project content.`},{name:`Local only (keep out of git via .git/info/exclude)`,value:`local-only`,description:"OK config stays on this machine only; teammates do not see it. Safe escape hatch via `ok config-sharing share`."}]})}async function Si(e){if(e.sharing!==void 0)return e.sharing;let t=Dn(e.projectRoot)===`local-only`?`local-only`:`shared`;return e.isTTY??process.stdout.isTTY?(e.promptFn??xi)(t):t}var $=class extends Error{constructor(e){super(e),this.name=`ContentDirError`}};function Ci(e){if(e===void 0||e===!0)return new Set(l);if(e===!1)return new Set;let t=e.split(`,`).map(e=>e.trim()).filter(Boolean);return new Set(l.filter(e=>t.includes(e)))}function wi(e,t,n){let r=be(n,e),i;try{i=Ee(r)}catch(e){let t=e.code;throw t===`ENOENT`?new $(`--content-dir path does not exist: ${r}`):new $(`--content-dir path is not accessible (${t??`unknown error`}): ${r}`)}if(!i.isDirectory())throw new $(`--content-dir must be a directory: ${r}`);let a=I(Ti(t),Ti(r));if(a.startsWith(`..`)||ye(a))throw new $(`--content-dir must be inside the project root (${t}); got ${r}`);return a===``?`.`:a}function Ti(e){try{return Te(e)}catch{return e}}const Ei=`open-knowledge-ui`;function Di(e,t,n){try{return L(e.detectPath?.(t,n)??P(e.configPath(t,n)))}catch{return!1}}function Oi(e,t,n,r,i){let a=e.serverName(t),o;try{o=i??e.configPath(t,r)}catch(t){return{editorId:e.id,label:e.label,action:`failed`,configPath:``,serverName:a,error:t instanceof Error?t.message:String(t)}}let s=!n.skipAvailabilityCheck||e.offerOnlyWhenDetected===!0;if(!i&&s&&!Di(e,t,r))return{editorId:e.id,label:e.label,action:`skipped-missing`,configPath:o,serverName:a};if(i!==void 0)try{de(o,t)}catch(t){return{editorId:e.id,label:e.label,action:`failed`,configPath:o,serverName:a,error:t instanceof Error?t.message:String(t),configScope:`project`}}if(e.format===`file`)return Ai(e,o,a,n,{isProjectScope:i!==void 0});let c;try{c=e.buildEntry(t,n)}catch(t){return{editorId:e.id,label:e.label,action:`failed`,configPath:o,serverName:a,error:t instanceof Error?t.message:String(t),...i===void 0?{}:{configScope:`project`}}}try{Ce(P(o),{recursive:!0})}catch(t){return{editorId:e.id,label:e.label,action:`failed`,configPath:o,serverName:a,error:t instanceof Error?t.message:String(t),...i===void 0?{}:{configScope:`project`}}}let l={action:`written`},u;try{w(`${o}.lock`,()=>{let t=Kr(o).writePath;if(Ce(P(t),{recursive:!0}),e.format===`toml`){let n=hi(ei(),t,e.topLevelKey,a,c);l.action=n.kind,n.kind===`declined`&&(l.declineReason=n.reason);return}if(e.format===`yaml`){let n=gi(t,e.topLevelKey,a,c);l.action=n.kind,n.kind===`declined`&&(l.declineReason=n.reason);return}let n=mi(t,e.topLevelKey,a,c,e.serverMapSubKey);l.action=n.kind,n.kind===`declined`&&(l.declineReason=n.reason)},{onWarn:(e,t)=>process.stderr.write(`[ok] ${e} ${JSON.stringify(t)}\n`)})}catch(e){u=e instanceof Error?e:Error(String(e))}return u?{editorId:e.id,label:e.label,action:`failed`,configPath:o,serverName:a,error:u.message,...i===void 0?{}:{configScope:`project`}}:l.action===`declined`?{editorId:e.id,label:e.label,action:`declined`,configPath:o,serverName:a,declineReason:l.declineReason,...i===void 0?{}:{configScope:`project`}}:{editorId:e.id,label:e.label,action:l.action,configPath:o,serverName:a,...i===void 0?{}:{configScope:`project`}}}const ki={pi:Fr};function Ai(e,t,n,r,i){let a=i.isProjectScope?{configScope:`project`}:{},o=r=>({editorId:e.id,label:e.label,action:`failed`,configPath:t,serverName:n,error:r instanceof Error?r.message:String(r),...a}),s=ki[e.id];if(!s)return o(Error(`No managed-file builder registered for editor "${e.id}" (format: 'file' targets need a MANAGED_FILE_BUILDERS entry).`));let c;try{c=s(r)}catch(e){return o(e)}try{Ce(P(t),{recursive:!0})}catch(e){return o(e)}let l={action:`written`};try{w(`${t}.lock`,()=>{let e=null;try{e=R(t,`utf-8`)}catch{e=null}if(e===c){l.action=`overwritten`;return}T(t,c,e===null?void 0:{mode:Bn(t)}),l.action=e===null?`written`:`overwritten`},{onWarn:(e,t)=>process.stderr.write(`[ok] ${e} ${JSON.stringify(t)}\n`)})}catch(e){return o(e)}return{editorId:e.id,label:e.label,action:l.action,configPath:t,serverName:n,...a}}function ji(e,t){let n=e.projectConfigPath?.(t);if(!(!n||!L(n)))return{editorId:e.id,label:e.label,path:n}}async function Mi(e){let t=ae(e.editors).filter(e=>e.scope===`global`),n={mode:`published`,skipAvailabilityCheck:!0};return t.map(t=>Oi(t,``,n,e.home))}function Ni(e,t,n,r){let i=Fi(e,t,n,r);return i.kind===`present`?i.entry:null}function Pi(e,t,n,r){let i=pi(e,t,r);if(!O(i))return{kind:`no-entry`};let a=i[n];return O(a)?{kind:`present`,entry:a}:{kind:`no-entry`}}function Fi(e,t,n,r){let i;try{i=r??e.configPath(t,n)}catch{return{kind:`absent`}}if(!L(i))return{kind:`absent`};try{if(Ee(i).size>ci)return{kind:`decline`,reason:`oversize`}}catch{return{kind:`decline`,reason:`unparseable`}}let a;try{a=R(i,`utf-8`)}catch{return{kind:`decline`,reason:`unparseable`}}if(a.trim()===``)return{kind:`absent`};if(e.format===`file`)return{kind:`present`,entry:Pr(a)};let o=e.serverName(t);if(e.format===`toml`){let t;try{t=ei().parseToObject(a)}catch{return{kind:`decline`,reason:`unparseable`}}return Pi(t,e.topLevelKey,o,e.serverMapSubKey)}if(e.format===`yaml`){let t=(0,bn.parseDocument)(a.charCodeAt(0)===65279?a.slice(1):a);return t.errors.length>0?{kind:`decline`,reason:`unparseable`}:Pi(t.toJS()??{},e.topLevelKey,o,e.serverMapSubKey)}let s=ri(a);return s?ii(s,e.topLevelKey)>1?{kind:`decline`,reason:`duplicate-container`}:Pi(g(s),e.topLevelKey,o,e.serverMapSubKey):{kind:`decline`,reason:`unparseable`}}async function Ii(e={}){let t=be(e.cwd??process.cwd()),n=Rr(t,{homeDir:e.home}),r=n.projectRoot,i=!L(F(r,`.ok`)),a=n.gitRootPromoted?I(r,t):void 0,o=e.contentDir===void 0?n.defaultContentDir:wi(e.contentDir,r,t);n.ancestorPromoted?console.log(`[ok] Opened existing project at ${r}`):n.gitRootPromoted&&i&&o===`.`&&process.stderr.write(`${j(`[ok] Content scope promoted to the git repo root: ${r}`)}\n Ran in ${a}/, but .ok/ lives at the git root (one .ok/ per git repo),\n so the whole repo is now the content scope. To narrow it, re-run with\n \`ok init --content-dir .\`, or set content.dir: ${a} in .ok/config.yml.\n`);let s={mode:e.devMcp?`dev`:`published`},d=await te(r),g;try{g=h(r,{contentDir:o})}catch(t){let i=D.claude.configPath(r,e.home);return{projectRoot:r,contentCreated:[],contentUpdated:[],contentSkipped:[],editors:[],projectSkills:[],legacyProjectConfigs:[],didGitInit:d.didInit,rootGitignoreCreated:!1,gitRootPromoted:n.gitRootPromoted,promotedFromDir:a,contentDirRequested:e.contentDir,contentScaffoldFailed:!0,mcpAction:`failed`,mcpPath:i,mcpError:`Content scaffolding failed: ${t instanceof Error?t.message:String(t)}`,sharing:{kind:`no-exclude`,reason:`no-git`,localOnlyRequested:!1}}}let _=g.created.includes(pe),v=!1;if(d.didInit)try{v=b(r)===`created`}catch(e){console.warn(`[ok] Skipping .gitignore seed at ${r}: ${e instanceof Error?e.message:String(e)}`)}try{c(r)}catch(e){console.warn(`[ok] Skipping project-skill .gitignore entry at ${r}: ${e instanceof Error?e.message:String(e)}`)}let y=await m(r);y.kind===`untracked`&&console.warn(`[ok] Untracked the OpenKnowledge project skill (${y.dirs.join(`, `)}) — it is now local-only. Teammates will see this as a deletion on their next pull.`);let x=await bi({scope:e.scope,mcp:e.mcp,isTTY:e.isTTY,promptFn:e.promptFn}),S=e.editors??Hi(r,e.home),C=e.editors??ue.filter(e=>D[e].projectConfigPath!==void 0||D[e].projectSkillPath!==void 0),ee=ae(S),ne=ae(C),w=e.mcp===!1||x===null,T=Array.from(new Map([...ee,...w?[]:ne].map(e=>[e.id,e])).values()),re=ee.filter(t=>Di(t,r,e.home)),E=[],oe=[],ce=new Set;for(let t of T){if(w){let n=``;try{n=t.configPath(r,e.home)}catch{}E.push({editorId:t.id,label:t.label,action:`skipped-flag`,configPath:n,serverName:t.serverName(r)});continue}if(_i(x)&&ee.includes(t)&&t.scope===`global`&&E.push(Oi(t,r,s,e.home)),vi(x)&&ne.includes(t)&&t.projectConfigPath){let n=t.projectConfigPath(r),i=Oi(t,r,s,e.home,n);E.push(i),(i.action===`written`||i.action===`overwritten`)&&ce.add(n)}}let le=new Set;for(let t of ne){let n=t.projectSkillPath?.(r);!n||le.has(n)||(le.add(n),oe.push(se(t,r,{home:e.home})))}let de=!w&&x!==null&&vi(x)?ne.filter(e=>!e.projectConfigPath&&!e.projectSkillPath).map(e=>e.label):void 0,fe=w?[]:re.map(e=>ji(e,r)).filter(e=>e!==void 0).filter(e=>!ce.has(e.path)),O=e.installUserSkill??f,k=e.home??Oe(),me=Ci(e.skills),A=!1,he=!1,M=!1,ge=!1;for(let t of l){let n=me.has(t);if(await u(k,p[t],n).catch(()=>{}),n){A=!0;let n=await O({home:e.home,bundleId:t,force:!0});n===`installed`?he=!0:n===`failed`?M=!0:ge=!0}else try{ie(k,t)}catch{}}let _e=M?`failed`:he?`installed`:A&&ge?`skip-current`:`declined`,ve=w?`skipped-flag`:`skipped-missing`,N=E.find(e=>e.editorId===`claude`)??E[0]??{action:ve,configPath:D.claude.configPath(r,e.home)},P=await Li({projectRoot:r,desiredMode:await Si({sharing:e.sharing,projectRoot:r,isTTY:e.isTTY,promptFn:e.sharingPromptFn}),explicitFlag:e.sharing});return{projectRoot:r,contentCreated:g.created,contentUpdated:g.updated,contentSkipped:g.skipped,editors:E,projectSkills:oe,legacyProjectConfigs:fe,skillInstall:_e,didGitInit:d.didInit,rootGitignoreCreated:v,gitRootPromoted:n.gitRootPromoted,promotedFromDir:a,contentDir:_?o:void 0,contentDirRequested:e.contentDir,contentScaffoldFailed:!1,mcpAction:N.action,mcpPath:N.configPath,mcpError:`error`in N?N.error:void 0,projectScopeUnsupportedLabels:de,sharing:P}}async function Li(e){let{projectRoot:t,desiredMode:n,explicitFlag:r}=e,i=Dn(t);if(i===`no-git`)return{kind:`no-exclude`,reason:`no-git`,localOnlyRequested:r===`local-only`};let a=wn(t);if(n===`local-only`){let e=Tn(t,a);if(e.kind===`refused-tracked`){let t=e;return{kind:`refused-tracked`,tracked:t.tracked,remediation:t.remediation}}return e.kind===`no-exclude`?{kind:`no-exclude`,reason:e.reason,localOnlyRequested:r===`local-only`}:Ri(t,e,`add`)}if(i===`shared`)return{kind:`applied`,mode:`shared`,action:`noop`,appended:[],alreadyPresent:[],removed:[]};let o=En(t,a);return o.kind===`no-exclude`?{kind:`no-exclude`,reason:o.reason,localOnlyRequested:!1}:Ri(t,o,`remove`)}function Ri(e,t,n){let r=Dn(e);return n===`add`?{kind:`applied`,mode:r,action:t.appended.length>0?`added`:`noop`,appended:t.appended,alreadyPresent:t.alreadyPresent,removed:[]}:{kind:`applied`,mode:r,action:`removed`,appended:[],alreadyPresent:[],removed:t.removed}}function zi(e){switch(e){case`oversize`:return`config too large to edit safely`;case`duplicate-container`:return`duplicate server block`;case`no-native-writer`:return`no format-preserving writer available`;default:return`config not readable`}}function Bi(e,t){let n=[],r=e.editors.some(e=>e.action===`written`||e.action===`overwritten`),i=e.editors.some(e=>e.action===`failed`)||e.projectSkills.some(e=>e.action===`failed`),a=e.editors.length>0&&e.editors.every(e=>e.action===`skipped-flag`),o=e.editors.length>0&&e.editors.every(e=>e.action===`skipped-missing`);e.didGitInit&&n.push(`Initialized git repo at ${t}/.git/ (default branch: main)`),e.rootGitignoreCreated&&n.push(`Seeded .gitignore at ${t}/.gitignore (.DS_Store)`);let s=F(t,`.ok`);if(e.contentCreated.length>0||e.contentUpdated.length>0?(n.push(M(`Content scaffolded at ${s}/`)),e.contentCreated.length>0&&n.push(` Created: ${e.contentCreated.join(`, `)}`),e.contentUpdated.length>0&&n.push(` Updated: ${e.contentUpdated.join(`, `)}`)):n.push(M(`Content already present at ${s}/`)),e.contentSkipped.length>0&&n.push(` Skipped (already exist): ${e.contentSkipped.join(`, `)}`),n.push(``),e.mcpError&&e.editors.length===0)n.push(`Warning: ${e.mcpError}`);else if(e.editors.length===0)if(n.push(M(`MCP server configuration:`)),e.mcpAction===`skipped-flag`)n.push(` MCP config not written — use without --no-mcp to configure editors`);else if(e.projectScopeUnsupportedLabels&&e.projectScopeUnsupportedLabels.length>0){let t=e.projectScopeUnsupportedLabels.join(`, `),r=e.projectScopeUnsupportedLabels.length===1?`does`:`do`;n.push(` ${t} ${r} not support project-level config; skipped`)}else n.push(` No supported editor config directories detected; skipped MCP registration`);else if(a)n.push(`MCP config not written — use without --no-mcp to configure editors`);else if(o)n.push(M(`MCP server configuration:`)),n.push(` No supported editor config directories detected; skipped MCP registration`);else{n.push(M(`MCP server configuration:`));for(let r of e.editors){let e=r.configPath.startsWith(t)?I(t,r.configPath):r.configPath.replace(/^\/Users\/[^/]+/,`~`),i=r.serverName===`open-knowledge`?``:` (${r.serverName})`,a=r.configScope===`project`?` (project)`:``,o=`${r.label}${a}`,s=` `.repeat(Math.max(1,20-o.length)),c=r.editorId===`claude-desktop`&&(r.action===`written`||r.action===`overwritten`)?` — quit and relaunch Claude Desktop to activate`:``;switch(r.action){case`written`:n.push(` ${o}${s}${e} ${A(`registered`)}${i}${c}`);break;case`overwritten`:n.push(` ${o}${s}${e} ${A(`updated`)}${i}${c}`);break;case`skipped-missing`:n.push(` ${o}${s}${e} config root missing; skipped`);break;case`failed`:n.push(` ${o}${s}${e} ${he(`FAILED`)}: ${r.error}`);break;case`declined`:n.push(` ${o}${s}${e} left unchanged (${zi(r.declineReason)})`);break;case`skipped-flag`:break;default:r.action}}if(e.projectScopeUnsupportedLabels&&e.projectScopeUnsupportedLabels.length>0){let t=e.projectScopeUnsupportedLabels.join(`, `),r=e.projectScopeUnsupportedLabels.length===1?`does`:`do`;n.push(` ${t} ${r} not support project-level config; skipped`)}}if(e.projectSkills.length>0){n.push(``),n.push(M(`Project-local skills:`));for(let r of e.projectSkills){let e=`${r.label} (project)`,i=` `.repeat(Math.max(1,20-e.length)),a=r.path?I(t,r.path):``;switch(r.action){case`written`:n.push(` ${e}${i}${a} ${A(`installed`)}`);break;case`overwritten`:n.push(` ${e}${i}${a} ${A(`updated`)}`);break;case`skipped-unsupported`:n.push(` ${e}${i}no known project skill surface; skipped`);break;case`skipped-prerequisite`:n.push(` ${e}${i}OpenKnowledge MCP is not configured; skipped`);break;case`failed`:n.push(` ${e}${i}${a} ${he(`FAILED`)}: ${r.error}`);break}}}if(i&&(n.push(``),n.push(`For failed editors, add the MCP server entry or project skill manually. See:`),n.push(` https://github.com/inkeep/open-knowledge#mcp-setup`)),e.legacyProjectConfigs.length>0){n.push(``),n.push(`Project MCP configs found:`);for(let r of e.legacyProjectConfigs)n.push(` ${r.label} ${I(t,r.path)}`);n.push(` These project-local files may override the global config. Remove them if you want fully user-scoped MCP setup in this project.`)}if(e.skillInstall)switch(n.push(``),n.push(M(`User-global skill:`)),e.skillInstall){case`installed`:n.push(` open-knowledge ${A(`installed to detected agent hosts`)} via \`npx skills\``);break;case`skip-current`:n.push(` open-knowledge ${A(`already installed at current version`)}`);break;case`declined`:n.push(` open-knowledge ${me(`skipped (opted out via --no-skills)`)}`);break;case`failed`:n.push(` ${j(`open-knowledge install failed — MCP still configured; run manually:`)}`),n.push(` ${j(` npx skills@~1.5.0 add <bundled-path> --agent '*' -g -y --copy`)}`);break}if(e.contentDirRequested!==void 0&&e.contentDir===void 0&&!e.contentScaffoldFailed?(n.push(``),n.push(j(`⚠ --content-dir ${e.contentDirRequested} ignored — .ok/config.yml already exists`)),n.push(` Edit .ok/config.yml → content.dir directly to change the content scope.`)):e.contentDir!==void 0&&e.contentDir!==`.`?(n.push(``),n.push(`Content scope set to ${e.contentDir}/ (content.dir in .ok/config.yml).`)):e.gitRootPromoted&&e.contentDir===`.`&&e.contentDirRequested===void 0&&(n.push(``),n.push(j(`⚠ Content scope promoted to the git repo root`)),n.push(` .ok/ was initialized at ${t} because it contains a .git folder (one .ok/ per git repo),`),n.push(` not the sub-folder you ran \`ok init\` in${e.promotedFromDir?` (${e.promotedFromDir})`:``}. The whole repo is now the content scope.`),e.promotedFromDir&&(n.push(" To scope to just that sub-folder, re-run `ok init --content-dir .` from there, or set"),n.push(` content.dir: ${e.promotedFromDir} in .ok/config.yml.`))),e.preview?(n.push(``),n.push(ge(e.preview,t))):e.previewWarning&&(n.push(``),n.push(`Content preview unavailable: ${e.previewWarning}`)),n.push(``),n.push(...Gi(e.sharing,t)),r){let t=new Set,r=e.editors.filter(e=>e.action===`written`||e.action===`overwritten`).filter(e=>!t.has(e.editorId)&&t.add(e.editorId)).map(e=>e.label);n.push(``),n.push(`${A(`✓`)} ${M(`Next steps:`)}`),n.push(` 1. Open your editor (${k(r.join(` / `))})`),n.push(` 2. Approve the MCP server when prompted`),n.push(` 3. (Optional) scaffold the starter knowledge-base structure:`),n.push(` - ${k(`ok seed`)} — empty repo, Karpathy 3-layer`),n.push(` - ${k(`mcp__open-knowledge__discover`)} — existing repo, extract conventions`),n.push(` 4. Use the MCP workflow tools as you build the wiki:`),n.push(` - ${k(`mcp__open-knowledge__ingest`)} — capture an external source`),n.push(` - ${k(`mcp__open-knowledge__research`)} — gather sources and write findings`),n.push(` - ${k(`mcp__open-knowledge__consolidate`)} — promote research to canonical articles`)}return n.join(`
640
640
  `)}function Vi(e,t){return{projectRoot:e.projectRoot,gitRootPromoted:e.gitRootPromoted,promotedFromDir:e.promotedFromDir??null,contentDir:t.contentDir,contentDirRequested:e.contentDirRequested??null,contentDirApplied:e.contentDir!==void 0,contentFileCount:t.contentFileCount,previewError:e.previewWarning??null,didGitInit:e.didGitInit,mcpAction:e.mcpAction,editors:e.editors.map(e=>({editorId:e.editorId,label:e.label,action:e.action,configPath:e.configPath,scope:e.configScope===`project`?`project`:`user`}))}}function Hi(e,t){let n=[];for(let r of ue)Di(D[r],e,t)&&n.push(r);return n}function Ui(){let e={log:console.log,info:console.info,debug:console.debug},t=(...e)=>{process.stderr.write(`${e.map(e=>typeof e==`string`?e:je(e)).join(` `)}\n`)};return console.log=t,console.info=t,console.debug=t,()=>{console.log=e.log,console.info=e.info,console.debug=e.debug}}function Wi(){return new fe(`init`).description(`Scaffold .ok/ in the current directory and register the MCP server for your editor(s)`).option(`--mcp`,`Register the MCP server for selected editors (default: true)`,!0).option(`--no-mcp`,`Scaffold the .ok/ directory but do not touch MCP config`).option(`--dev-mcp`,`Register a local dev MCP entry using node + packages/cli/dist/cli.mjs with debug logging`).option(`--content-dir <dir>`,`Limit content to <dir> instead of the whole project. <dir> is interpreted relative to your current directory (e.g. "." = the folder you run the command in), then saved to .ok/config.yml as content.dir.`).option(`--json`,`Emit a structured JSON summary to stdout (diagnostics stay on stderr)`).option(`--skills <ids>`,`Install only the named user-global skill bundles (comma list: discovery,write-skill)`).option(`--no-skills`,`Do not install any user-global skill bundles`).addOption(new re(`--scope <scope>`,`Write MCP config at user level, project level, or both`).choices([`user`,`project`,`both`])).addOption(new re(`--shared`,`Commit OK config alongside content (the default for fresh repos)`).conflicts(`localOnly`)).addOption(new re(`--local-only`,`Keep OK config out of git via .git/info/exclude (per-clone, not committed)`).conflicts(`shared`)).action(async e=>{let t=process.cwd(),n=e.shared?`shared`:e.localOnly?`local-only`:void 0,r=e.json?Ui():null;try{let r;try{r=await Ii({cwd:t,mcp:e.mcp,devMcp:e.devMcp,scope:e.scope,sharing:n,contentDir:e.contentDir,skills:e.skills})}catch(e){if(e instanceof $){process.stderr.write(`${e.message}\n`),process.exitCode=64;return}if(e instanceof _||e instanceof S){process.stderr.write(`${e.message}\n`),process.exitCode=78;return}if(e instanceof y){process.stderr.write(`open-knowledge could not initialize a git repo for this project. Re-run, or run 'git init' yourself in the project folder.
641
- `),e.stderr&&process.stderr.write(`${e.stderr.trim()}\n`),process.exitCode=1;return}throw e}let i=r.contentDir??`.`,a=null,{loadConfig:o}=await import(`./loader-Brd9K-Oz.mjs`),{resolveContentDir:s}=await import(`./src-VjJUBnUL.mjs`),c;try{c=o(r.projectRoot).config,i=c.content.dir}catch(e){r.previewWarning=e instanceof Error?e.message:String(e)}if(c)try{let{previewContent:e}=await import(`./preview-CvyGNXPF.mjs`),t=s(c,r.projectRoot);r.preview=e({projectDir:r.projectRoot,contentDir:t}),a=r.preview.totalCount}catch(e){r.previewWarning=e instanceof Error?e.message:String(e)}e.json?process.stdout.write(`${JSON.stringify(Vi(r,{contentDir:i,contentFileCount:a}),null,2)}\n`):process.stdout.write(`${Bi(r,r.projectRoot)}\n`),(r.editors.some(e=>e.action===`failed`)||r.mcpAction===`failed`)&&(process.exitCode=1)}finally{r?.()}})}function Gi(e,t){let n=[];switch(e.kind){case`applied`:return n.push(M(`Sharing mode:`)),e.mode===`local-only`?e.action===`added`?n.push(` ${A(`local-only`)} — appended ${e.appended.length} path(s) to ${M(`${t}/.git/info/exclude`)} (per-clone, not committed).`):e.action===`noop`&&e.alreadyPresent.length>0?n.push(` ${A(`local-only`)} — already excluded; nothing to do.`):n.push(` ${A(`local-only`)}`):e.action===`removed`?n.push(` ${A(`shared`)} — removed OK paths from ${M(`${t}/.git/info/exclude`)}; commit the files to share with teammates.`):n.push(` ${A(`shared`)} — OK config will be committed alongside content.`),n;case`refused-tracked`:n.push(j(`Sharing mode: switch to local-only deferred`));for(let t of e.remediation.split(`
641
+ `),e.stderr&&process.stderr.write(`${e.stderr.trim()}\n`),process.exitCode=1;return}throw e}let i=r.contentDir??`.`,a=null,{loadConfig:o}=await import(`./loader-B27f8C-M.mjs`),{resolveContentDir:s}=await import(`./src-C4MRpQ6i.mjs`),c;try{c=o(r.projectRoot).config,i=c.content.dir}catch(e){r.previewWarning=e instanceof Error?e.message:String(e)}if(c)try{let{previewContent:e}=await import(`./preview-CAmGJo6I.mjs`),t=s(c,r.projectRoot);r.preview=e({projectDir:r.projectRoot,contentDir:t}),a=r.preview.totalCount}catch(e){r.previewWarning=e instanceof Error?e.message:String(e)}e.json?process.stdout.write(`${JSON.stringify(Vi(r,{contentDir:i,contentFileCount:a}),null,2)}\n`):process.stdout.write(`${Bi(r,r.projectRoot)}\n`),(r.editors.some(e=>e.action===`failed`)||r.mcpAction===`failed`)&&(process.exitCode=1)}finally{r?.()}})}function Gi(e,t){let n=[];switch(e.kind){case`applied`:return n.push(M(`Sharing mode:`)),e.mode===`local-only`?e.action===`added`?n.push(` ${A(`local-only`)} — appended ${e.appended.length} path(s) to ${M(`${t}/.git/info/exclude`)} (per-clone, not committed).`):e.action===`noop`&&e.alreadyPresent.length>0?n.push(` ${A(`local-only`)} — already excluded; nothing to do.`):n.push(` ${A(`local-only`)}`):e.action===`removed`?n.push(` ${A(`shared`)} — removed OK paths from ${M(`${t}/.git/info/exclude`)}; commit the files to share with teammates.`):n.push(` ${A(`shared`)} — OK config will be committed alongside content.`),n;case`refused-tracked`:n.push(j(`Sharing mode: switch to local-only deferred`));for(let t of e.remediation.split(`
642
642
  `))n.push(t.length>0?` ${t}`:``);return n.push(` Re-run ${k(`ok config-sharing unshare`)} after resolving to complete the switch.`),n;case`no-exclude`:if(e.localOnlyRequested)n.push(j(`Sharing mode: --local-only requested but no git repo found — option ignored`)),n.push(` Run ${k(`git init`)} (or open this folder via OK Desktop, which can scaffold a repo) and then ${k(`ok config-sharing unshare`)}.`);else if(e.reason===`no-git`)return[];else n.push(j(`Sharing mode unavailable: ${e.reason}.`));return n}}export{wn as A,pt as B,Yn as C,Tn as D,Vn as E,An as F,He as H,yn as I,sn as L,Dn as M,kn as N,Mn as O,En as P,_t as R,Nr as S,zn as T,W as V,di as _,Vi as a,ei as b,Bi as c,Ni as d,Ci as f,Ii as g,Si as h,Li as i,jn as j,On as k,Gi as l,wi as m,Ei as n,Fi as o,bi as p,ki as r,Hi as s,$ as t,Wi as u,Oi as v,Bn as w,Rr as x,Mi as y,mt as z};
643
- //# sourceMappingURL=init-6u-ABSZn.mjs.map
643
+ //# sourceMappingURL=init-DDWCwe7k.mjs.map
@@ -1,2 +1,2 @@
1
1
  function e(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}export{e as t};
2
- //# sourceMappingURL=init-tbpbpLGt.mjs.map
2
+ //# sourceMappingURL=init-DotcULIJ.mjs.map
@@ -0,0 +1 @@
1
+ import{g as e}from"./init-DDWCwe7k.mjs";export{e as runInit};
@@ -1,2 +1,2 @@
1
1
  function e(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}export{e as t};
2
- //# sourceMappingURL=is-object-DKopTkoU.mjs.map
2
+ //# sourceMappingURL=is-object-Bw0-z8qH.mjs.map
@@ -1,4 +1,4 @@
1
- import{o as e}from"./chunk-DTipWd-i.mjs";import{n as t}from"./chunk-Y2CYZVJY-BBlcLUFu.mjs";import"./src-82KBw76I.mjs";import{H as n,K as r,U as i,a,c as o,s,v as c,w as l,x as u,y as d}from"./chunk-WYO6CB5R-DqktMY2P.mjs";import{p as f}from"./chunk-ICXQ74PX-Cr0dJaYf.mjs";import{t as p}from"./chunk-VAUOI2AC-LbYTm50o.mjs";import{t as m}from"./rough.cjs-qg3X_KxX.mjs";var h=e(m(),1),g=(function(){var e=t(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,14],i=[1,12],a=[1,13],o=[6,7,8],s=[1,20],c=[1,18],l=[1,19],u=[6,7,11],d=[1,6,13,14],f=[1,23],p=[1,24],m=[1,6,7,11,13,14],h={trace:t(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`ISHIKAWA`,11:`EOF`,13:`SPACELIST`,14:`TEXT`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:t(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 15:r.addNode(a[s-1].length,a[s].trim());break;case 16:r.addNode(0,a[s].trim());break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:a},e(o,[2,3]),{1:[2,2]},e(o,[2,4]),e(o,[2,5]),{1:[2,6],6:r,12:15,13:i,14:a},{6:r,9:16,12:11,13:i,14:a},{6:s,7:c,10:17,11:l},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:s,7:c,10:22,11:l},{1:[2,7],6:r,12:15,13:i,14:a},e(d,[2,14],{7:f,11:p}),e(m,[2,8]),e(m,[2,9]),e(m,[2,10]),e(u,[2,15]),e(d,[2,13],{7:f,11:p}),e(m,[2,11]),e(m,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{o as e}from"./chunk-DTipWd-i.mjs";import{n as t}from"./chunk-Y2CYZVJY-D-AxePDr.mjs";import"./src-nvx4LAFk.mjs";import{H as n,K as r,U as i,a,c as o,s,v as c,w as l,x as u,y as d}from"./chunk-WYO6CB5R-Bu0g7bu2.mjs";import{p as f}from"./chunk-ICXQ74PX-BVMOo_rh.mjs";import{t as p}from"./chunk-VAUOI2AC-Irj_jrJs.mjs";import{t as m}from"./rough.cjs-s8-IvpYn.mjs";var h=e(m(),1),g=(function(){var e=t(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,14],i=[1,12],a=[1,13],o=[6,7,8],s=[1,20],c=[1,18],l=[1,19],u=[6,7,11],d=[1,6,13,14],f=[1,23],p=[1,24],m=[1,6,7,11,13,14],h={trace:t(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`ISHIKAWA`,11:`EOF`,13:`SPACELIST`,14:`TEXT`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:t(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 15:r.addNode(a[s-1].length,a[s].trim());break;case 16:r.addNode(0,a[s].trim());break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:a},e(o,[2,3]),{1:[2,2]},e(o,[2,4]),e(o,[2,5]),{1:[2,6],6:r,12:15,13:i,14:a},{6:r,9:16,12:11,13:i,14:a},{6:s,7:c,10:17,11:l},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:s,7:c,10:22,11:l},{1:[2,7],6:r,12:15,13:i,14:a},e(d,[2,14],{7:f,11:p}),e(m,[2,8]),e(m,[2,9]),e(m,[2,10]),e(u,[2,15]),e(d,[2,13],{7:f,11:p}),e(m,[2,11]),e(m,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};h.lexer=(function(){return{EOF:1,parseError:t(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:t(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:t(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:t(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:t(function(){return this._more=!0,this},`more`),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:t(function(e){this.unput(this.match.slice(e))},`less`),pastInput:t(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:t(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:t(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -68,4 +68,4 @@ Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on l
68
68
  dominant-baseline: hanging;
69
69
  }
70
70
  `,`getStyles`)};export{B as diagram};
71
- //# sourceMappingURL=ishikawaDiagram-FXEZZL3T-uTA-fAAk.mjs.map
71
+ //# sourceMappingURL=ishikawaDiagram-FXEZZL3T-DTVMpa-_.mjs.map
@@ -0,0 +1 @@
1
+ import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-A7ICOL4V-C8N1DqNa.mjs";export{e as join};
@@ -1,4 +1,4 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-BBlcLUFu.mjs";import{p as t}from"./src-82KBw76I.mjs";import{H as n,K as r,U as i,a,c as o,v as s,w as c,x as l,y as u}from"./chunk-WYO6CB5R-DqktMY2P.mjs";import{t as d}from"./arc-bUagScrM.mjs";import{t as f}from"./chunk-5VM5RSS4-CHIwvYlB.mjs";import{a as p,n as m,o as h,s as g}from"./chunk-32BRIVSS-Bbzg5lXo.mjs";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,8,10,11,12,14,16,17,18],r=[1,9],i=[1,10],a=[1,11],o=[1,12],s=[1,13],c=[1,14],l={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:`error`,4:`journey`,6:`EOF`,8:`SPACE`,10:`NEWLINE`,11:`title`,12:`acc_title`,13:`acc_title_value`,14:`acc_descr`,15:`acc_descr_value`,16:`acc_descr_multiline_value`,17:`section`,18:`taskName`,19:`taskData`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 9:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:r.addTask(a[s-1],a[s]),this.$=`task`;break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,7],{1:[2,1]}),t(n,[2,3]),{9:15,11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,5]),t(n,[2,6]),t(n,[2,8]),{13:[1,16]},{15:[1,17]},t(n,[2,11]),t(n,[2,12]),{19:[1,18]},t(n,[2,4]),t(n,[2,9]),t(n,[2,10]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e}from"./chunk-Y2CYZVJY-D-AxePDr.mjs";import{p as t}from"./src-nvx4LAFk.mjs";import{H as n,K as r,U as i,a,c as o,v as s,w as c,x as l,y as u}from"./chunk-WYO6CB5R-Bu0g7bu2.mjs";import{t as d}from"./arc-CYbidMQb.mjs";import{t as f}from"./chunk-5VM5RSS4-B9nF5Lzd.mjs";import{a as p,n as m,o as h,s as g}from"./chunk-32BRIVSS-DYHXEarP.mjs";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,8,10,11,12,14,16,17,18],r=[1,9],i=[1,10],a=[1,11],o=[1,12],s=[1,13],c=[1,14],l={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:`error`,4:`journey`,6:`EOF`,8:`SPACE`,10:`NEWLINE`,11:`title`,12:`acc_title`,13:`acc_title_value`,14:`acc_descr`,15:`acc_descr_value`,16:`acc_descr_multiline_value`,17:`section`,18:`taskName`,19:`taskData`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 9:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:r.addTask(a[s-1],a[s]),this.$=`task`;break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,7],{1:[2,1]}),t(n,[2,3]),{9:15,11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,5]),t(n,[2,6]),t(n,[2,8]),{13:[1,16]},{15:[1,17]},t(n,[2,11]),t(n,[2,12]),{19:[1,18]},t(n,[2,4]),t(n,[2,9]),t(n,[2,10]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};l.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -137,4 +137,4 @@ Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on l
137
137
  }
138
138
  ${f()}
139
139
  `,`getStyles`),N=e(function(e,t){return p(e,t)},`drawRect`),P=e(function(t,n){let r=t.append(`circle`).attr(`cx`,n.cx).attr(`cy`,n.cy).attr(`class`,`face`).attr(`r`,15).attr(`stroke-width`,2).attr(`overflow`,`visible`),i=t.append(`g`);i.append(`circle`).attr(`cx`,n.cx-15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`),i.append(`circle`).attr(`cx`,n.cx+15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`);function a(e){let t=d().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(15/2).outerRadius(15/2.2);e.append(`path`).attr(`class`,`mouth`).attr(`d`,t).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+2)+`)`)}e(a,`smile`);function o(e){let t=d().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(15/2).outerRadius(15/2.2);e.append(`path`).attr(`class`,`mouth`).attr(`d`,t).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+7)+`)`)}e(o,`sad`);function s(e){e.append(`line`).attr(`class`,`mouth`).attr(`stroke`,2).attr(`x1`,n.cx-5).attr(`y1`,n.cy+7).attr(`x2`,n.cx+5).attr(`y2`,n.cy+7).attr(`class`,`mouth`).attr(`stroke-width`,`1px`).attr(`stroke`,`#666`)}return e(s,`ambivalent`),n.score>3?a(i):n.score<3?o(i):s(i),r},`drawFace`),F=e(function(e,t){let n=e.append(`circle`);return n.attr(`cx`,t.cx),n.attr(`cy`,t.cy),n.attr(`class`,`actor-`+t.pos),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`r`,t.r),n.class!==void 0&&n.attr(`class`,n.class),t.title!==void 0&&n.append(`title`).text(t.title),n},`drawCircle`),I=e(function(e,t){return h(e,t)},`drawText`),L=e(function(t,n){function r(e,t,n,r,i){return e+`,`+t+` `+(e+n)+`,`+t+` `+(e+n)+`,`+(t+r-i)+` `+(e+n-i*1.2)+`,`+(t+r)+` `+e+`,`+(t+r)}e(r,`genPoints`);let i=t.append(`polygon`);i.attr(`points`,r(n.x,n.y,50,20,7)),i.attr(`class`,`labelBox`),n.y+=n.labelMargin,n.x+=.5*n.labelMargin,I(t,n)},`drawLabel`),R=e(function(e,t,n){let r=e.append(`g`),i=g();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=n.width*t.taskCount+n.diagramMarginX*(t.taskCount-1),i.height=n.height,i.class=`journey-section section-type-`+t.num,i.rx=3,i.ry=3,N(r,i),H(n)(t.text,r,i.x,i.y,i.width,i.height,{class:`journey-section section-type-`+t.num},n,t.colour)},`drawSection`),z=-1,B=e(function(e,t,n,r){let i=t.x+n.width/2,a=e.append(`g`);z++,a.append(`line`).attr(`id`,r+`-task`+z).attr(`x1`,i).attr(`y1`,t.y).attr(`x2`,i).attr(`y2`,450).attr(`class`,`task-line`).attr(`stroke-width`,`1px`).attr(`stroke-dasharray`,`4 2`).attr(`stroke`,`#666`),P(a,{cx:i,cy:300+(5-t.score)*30,score:t.score});let o=g();o.x=t.x,o.y=t.y,o.fill=t.fill,o.width=n.width,o.height=n.height,o.class=`task task-type-`+t.num,o.rx=3,o.ry=3,N(a,o);let s=t.x+14;t.people.forEach(e=>{let n=t.actors[e].color;F(a,{cx:s,cy:t.y,r:7,fill:n,stroke:`#000`,title:e,pos:t.actors[e].position}),s+=10}),H(n)(t.task,a,o.x,o.y,o.width,o.height,{class:`task`},n,t.colour)},`drawTask`),V=e(function(e,t){m(e,t)},`drawBackgroundRect`),H=(function(){function t(e,t,n,r,a,o,s,c){i(t.append(`text`).attr(`x`,n+a/2).attr(`y`,r+o/2+5).style(`font-color`,c).style(`text-anchor`,`middle`).text(e),s)}e(t,`byText`);function n(e,t,n,r,a,o,s,c,l){let{taskFontSize:u,taskFontFamily:d}=c,f=e.split(/<br\s*\/?>/gi);for(let e=0;e<f.length;e++){let c=e*u-u*(f.length-1)/2,p=t.append(`text`).attr(`x`,n+a/2).attr(`y`,r).attr(`fill`,l).style(`text-anchor`,`middle`).style(`font-size`,u).style(`font-family`,d);p.append(`tspan`).attr(`x`,n+a/2).attr(`dy`,c).text(f[e]),p.attr(`y`,r+o/2).attr(`dominant-baseline`,`central`).attr(`alignment-baseline`,`central`),i(p,s)}}e(n,`byTspan`);function r(e,t,r,a,o,s,c,l){let u=t.append(`switch`),d=u.append(`foreignObject`).attr(`x`,r).attr(`y`,a).attr(`width`,o).attr(`height`,s).attr(`position`,`fixed`).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);d.append(`div`).attr(`class`,`label`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),n(e,u,r,a,o,s,c,l),i(d,c)}e(r,`byFo`);function i(e,t){for(let n in t)n in t&&e.attr(n,t[n])}return e(i,`_setTextAttrs`),function(e){return e.textPlacement===`fo`?r:e.textPlacement===`old`?t:n}})(),U={drawRect:N,drawCircle:F,drawSection:R,drawText:I,drawLabel:L,drawTask:B,drawBackgroundRect:V,initGraphics:e(function(e,t){z=-1,e.append(`defs`).append(`marker`).attr(`id`,t+`-arrowhead`).attr(`refX`,5).attr(`refY`,2).attr(`markerWidth`,6).attr(`markerHeight`,4).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0,0 V 4 L6,2 Z`)},`initGraphics`)},W=e(function(e){Object.keys(e).forEach(function(t){J[t]=e[t]})},`setConf`),G={},K=0;function q(e){let t=l().journey,n=t.maxLabelWidth;K=0;let r=60;Object.keys(G).forEach(i=>{let a=G[i].color,o={cx:20,cy:r,r:7,fill:a,stroke:`#000`,pos:G[i].position};U.drawCircle(e,o);let s=e.append(`text`).attr(`visibility`,`hidden`).text(i),c=s.node().getBoundingClientRect().width;s.remove();let l=[];if(c<=n)l=[i];else{let t=i.split(` `),r=``;s=e.append(`text`).attr(`visibility`,`hidden`),t.forEach(e=>{let t=r?`${r} ${e}`:e;if(s.text(t),s.node().getBoundingClientRect().width>n){if(r&&l.push(r),r=e,s.text(e),s.node().getBoundingClientRect().width>n){let t=``;for(let r of e)t+=r,s.text(t+`-`),s.node().getBoundingClientRect().width>n&&(l.push(t.slice(0,-1)+`-`),t=r);r=t}}else r=t}),r&&l.push(r),s.remove()}l.forEach((n,i)=>{let a={x:40,y:r+7+i*20,fill:`#666`,text:n,textMargin:t.boxTextMargin??5},o=U.drawText(e,a).node().getBoundingClientRect().width;o>K&&o>t.leftMargin-o&&(K=o)}),r+=Math.max(20,l.length*20)})}e(q,`drawActorLegend`);var J=l().journey,Y=0,ee=e(function(e,n,r,i){let a=l(),s=a.journey.titleColor,c=a.journey.titleFontSize,u=a.journey.titleFontFamily,d=a.securityLevel,f;d===`sandbox`&&(f=t(`#i`+n));let p=t(d===`sandbox`?f.nodes()[0].contentDocument.body:`body`);X.init();let m=p.select(`#`+n);U.initGraphics(m,n);let h=i.db.getTasks(),g=i.db.getDiagramTitle(),_=i.db.getActors();for(let e in G)delete G[e];let v=0;_.forEach(e=>{G[e]={color:J.actorColours[v%J.actorColours.length],position:v},v++}),q(m),Y=J.leftMargin+K,X.insert(0,0,Y,Object.keys(G).length*50),te(m,h,0,n);let y=X.getBounds();g&&m.append(`text`).text(g).attr(`x`,Y).attr(`font-size`,c).attr(`font-weight`,`bold`).attr(`y`,25).attr(`fill`,s).attr(`font-family`,u);let b=y.stopy-y.starty+2*J.diagramMarginY,x=Y+y.stopx+2*J.diagramMarginX;o(m,b,x,J.useMaxWidth),m.append(`line`).attr(`x1`,Y).attr(`y1`,J.height*4).attr(`x2`,x-Y-4).attr(`y2`,J.height*4).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#`+n+`-arrowhead)`);let S=g?70:0;m.attr(`viewBox`,`${y.startx} -25 ${x} ${b+S}`),m.attr(`preserveAspectRatio`,`xMinYMin meet`),m.attr(`height`,b+S+25)},`draw`),X={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:e(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},`init`),updateVal:e(function(e,t,n,r){e[t]===void 0?e[t]=n:e[t]=r(n,e[t])},`updateVal`),updateBounds:e(function(t,n,r,i){let a=l().journey,o=this,s=0;function c(c){return e(function(e){s++;let l=o.sequenceItems.length-s+1;o.updateVal(e,`starty`,n-l*a.boxMargin,Math.min),o.updateVal(e,`stopy`,i+l*a.boxMargin,Math.max),o.updateVal(X.data,`startx`,t-l*a.boxMargin,Math.min),o.updateVal(X.data,`stopx`,r+l*a.boxMargin,Math.max),c!==`activation`&&(o.updateVal(e,`startx`,t-l*a.boxMargin,Math.min),o.updateVal(e,`stopx`,r+l*a.boxMargin,Math.max),o.updateVal(X.data,`starty`,n-l*a.boxMargin,Math.min),o.updateVal(X.data,`stopy`,i+l*a.boxMargin,Math.max))},`updateItemBounds`)}e(c,`updateFn`),this.sequenceItems.forEach(c())},`updateBounds`),insert:e(function(e,t,n,r){let i=Math.min(e,n),a=Math.max(e,n),o=Math.min(t,r),s=Math.max(t,r);this.updateVal(X.data,`startx`,i,Math.min),this.updateVal(X.data,`starty`,o,Math.min),this.updateVal(X.data,`stopx`,a,Math.max),this.updateVal(X.data,`stopy`,s,Math.max),this.updateBounds(i,o,a,s)},`insert`),bumpVerticalPos:e(function(e){this.verticalPos+=e,this.data.stopy=this.verticalPos},`bumpVerticalPos`),getVerticalPos:e(function(){return this.verticalPos},`getVerticalPos`),getBounds:e(function(){return this.data},`getBounds`)},Z=J.sectionFills,Q=J.sectionColours,te=e(function(e,t,n,r){let i=l().journey,a=``,o=n+(i.height*2+i.diagramMarginY),s=0,c=`#CCC`,u=`black`,d=0;for(let[n,l]of t.entries()){if(a!==l.section){c=Z[s%Z.length],d=s%Z.length,u=Q[s%Q.length];let r=0,o=l.section;for(let e=n;e<t.length&&t[e].section==o;e++)r+=1;let f={x:n*i.taskMargin+n*i.width+Y,y:50,text:l.section,fill:c,num:d,colour:u,taskCount:r};U.drawSection(e,f,i),a=l.section,s++}let f=l.people.reduce((e,t)=>(G[t]&&(e[t]=G[t]),e),{});l.x=n*i.taskMargin+n*i.width+Y,l.y=o,l.width=i.diagramMarginX,l.height=i.diagramMarginY,l.colour=u,l.fill=c,l.num=d,l.actors=f,U.drawTask(e,l,i,r),X.insert(l.x,l.y,l.x+l.width+i.taskMargin,450)}},`drawTasks`),$={setConf:W,draw:ee},ne={parser:v,db:j,renderer:$,styles:M,init:e(e=>{$.setConf(e.journey),j.clear()},`init`)};export{ne as diagram};
140
- //# sourceMappingURL=journeyDiagram-5HDEW3XC-Cw11aRYv.mjs.map
140
+ //# sourceMappingURL=journeyDiagram-5HDEW3XC-BTWVlxLh.mjs.map
@@ -0,0 +1 @@
1
+ import"./chunk-B74TABJS-BSazPoW8.mjs";import"./chunk-DXB73IDG-q-dGnwlc.mjs";import"./chunk-5QMZ5MUS-D8tv8KWc.mjs";import"./chunk-24IMIIXA-BQtWA2ag.mjs";import"./chunk-7TSDKFEO-Csacasvr.mjs";import"./chunk-KRBPSX3W-DrDWj6yq.mjs";import{n as e}from"./chunk-YULBWSET-aTxOIZGk.mjs";export{e as jqCommand};
@@ -1,4 +1,4 @@
1
- import"./chunk-R6VWJ2ZL-maXiYFEy.mjs";import"./chunk-CWQS3NFK-BlLAUZpn.mjs";import"./chunk-DXB73IDG-Ox62dibI.mjs";import{t as e}from"./chunk-5QMZ5MUS-DQpm1xRC.mjs";import{n as t,t as n}from"./chunk-A5O5YHGN-o5pxA52u.mjs";import{r}from"./chunk-OJDRYQWQ-f3Z1QzT5.mjs";import{n as i,t as a}from"./chunk-3THT3N7L-DAZ4If0x.mjs";import{t as o}from"./chunk-44UOCSGV-BO2nBFF4.mjs";import{t as s}from"./chunk-74CEPOFO-BMp2K2yg.mjs";import{n as c,t as l}from"./chunk-I57KEIP3-ppa8L97a.mjs";import{fileURLToPath as u}from"node:url";import{randomBytes as d}from"node:crypto";import{Worker as f}from"node:worker_threads";import{AsyncLocalStorage as p}from"node:async_hooks";var m=1e4,h=6e4,g=new p,_=`js-exec - Sandboxed JavaScript/TypeScript runtime with Node.js-compatible APIs
1
+ import"./chunk-R6VWJ2ZL-CQWpbRHp.mjs";import"./chunk-CWQS3NFK-HnFncXpd.mjs";import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-5QMZ5MUS-D8tv8KWc.mjs";import{n as t,t as n}from"./chunk-A5O5YHGN-C27iG4wY.mjs";import{r}from"./chunk-OJDRYQWQ-CmHyfN6x.mjs";import{n as i,t as a}from"./chunk-3THT3N7L-DcPtGCSm.mjs";import{t as o}from"./chunk-44UOCSGV-Dadyg26w.mjs";import{t as s}from"./chunk-74CEPOFO-D5a5lNJR.mjs";import{n as c,t as l}from"./chunk-I57KEIP3-C-GWJFeH.mjs";import{fileURLToPath as u}from"node:url";import{randomBytes as d}from"node:crypto";import{Worker as f}from"node:worker_threads";import{AsyncLocalStorage as p}from"node:async_hooks";var m=1e4,h=6e4,g=new p,_=`js-exec - Sandboxed JavaScript/TypeScript runtime with Node.js-compatible APIs
2
2
 
3
3
  Usage: js-exec [OPTIONS] [-c CODE | FILE] [ARGS...]
4
4
 
@@ -94,4 +94,4 @@ Limits:
94
94
  `,exitCode:2};let o=n.isModule,c=n.stripTypes;a&&a!==`-c`&&a!==`<stdin>`&&((a.endsWith(`.mjs`)||a.endsWith(`.mts`)||a.endsWith(`.ts`))&&(o=!0),(a.endsWith(`.ts`)||a.endsWith(`.mts`))&&(c=!0)),!o&&/\bawait\s+[\w([`]/.test(r)&&(o=!0);let l=t.jsBootstrapCode;return O(r,t,a,n.scriptArgs,l,o,c)}},j={name:`node`,async execute(){return{stdout:``,stderr:`node: this sandbox uses js-exec instead of node
95
95
 
96
96
  ${_}`,exitCode:1}}};export{A as jsExecCommand,j as nodeStubCommand};
97
- //# sourceMappingURL=js-exec-VXN6TZ7U-DsUBx8d6.mjs.map
97
+ //# sourceMappingURL=js-exec-VXN6TZ7U-BJsjY3Aj.mjs.map
@@ -1,4 +1,4 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-BBlcLUFu.mjs";import{m as t}from"./src-82KBw76I.mjs";import{J as n,et as r,f as i,rt as a,tt as o,x as s,z as c}from"./chunk-WYO6CB5R-DqktMY2P.mjs";import"./chunk-ICXQ74PX-Cr0dJaYf.mjs";import{t as l}from"./chunk-VAUOI2AC-LbYTm50o.mjs";import"./chunk-HOUHSVGY-D822oa3I.mjs";import"./chunk-Q4XR5HBZ-38YXyWmU.mjs";import{t as u}from"./chunk-5VM5RSS4-CHIwvYlB.mjs";import"./chunk-OGEWGWER-DcbEeYCc.mjs";import"./chunk-C7G6YPKG-B1crnvB0.mjs";import{a as d,c as f,i as p}from"./chunk-ZGVPDNZ5-0A2bH77_.mjs";import{n as m,t as h}from"./chunk-ZIRB5QZD-DEXKfYqD.mjs";var g=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,31],h=[6,7,11,24],g=[1,6,13,16,17,20,23],_=[1,35],v=[1,36],y=[1,6,7,11,13,16,17,20,23],b=[1,38],x={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`KANBAN`,11:`EOF`,13:`SPACELIST`,16:`ICON`,17:`CLASS`,20:`NODE_DSTART`,21:`NODE_DESCR`,22:`NODE_DEND`,23:`NODE_ID`,24:`SHAPE_DATA`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s-1].id),r.addNode(a[s-2].length,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 16:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 17:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 18:case 23:r.decorateNode({class:a[s]});break;case 19:r.getLogger().trace(`SPACELIST`);break;case 20:r.getLogger().trace(`Node: `,a[s-1].id),r.addNode(0,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 21:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 22:r.decorateNode({icon:a[s]});break;case 27:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 28:this.$={id:a[s],descr:a[s],type:0};break;case 29:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 30:this.$=a[s-1]+a[s];break;case 31:this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:r,9:22,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:u,7:d,10:23,11:f},t(p,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:s,23:c}),t(p,[2,19]),t(p,[2,21],{15:30,24:m}),t(p,[2,22]),t(p,[2,23]),t(h,[2,25]),t(h,[2,26]),t(h,[2,28],{20:[1,32]}),{21:[1,33]},{6:u,7:d,10:34,11:f},{1:[2,7],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(g,[2,14],{7:_,11:v}),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(p,[2,16],{15:37,24:m}),t(p,[2,17]),t(p,[2,18]),t(p,[2,20],{24:b}),t(h,[2,31]),{21:[1,39]},{22:[1,40]},t(g,[2,13],{7:_,11:v}),t(y,[2,11]),t(y,[2,12]),t(p,[2,15],{24:b}),t(h,[2,30]),{22:[1,41]},t(h,[2,27]),t(h,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e}from"./chunk-Y2CYZVJY-D-AxePDr.mjs";import{m as t}from"./src-nvx4LAFk.mjs";import{J as n,et as r,f as i,rt as a,tt as o,x as s,z as c}from"./chunk-WYO6CB5R-Bu0g7bu2.mjs";import"./chunk-ICXQ74PX-BVMOo_rh.mjs";import{t as l}from"./chunk-VAUOI2AC-Irj_jrJs.mjs";import"./chunk-HOUHSVGY-DEVfwHxJ.mjs";import"./chunk-Q4XR5HBZ-CQiRMQNx.mjs";import{t as u}from"./chunk-5VM5RSS4-B9nF5Lzd.mjs";import"./chunk-OGEWGWER-Diyk7J65.mjs";import"./chunk-C7G6YPKG-Bd7km2QU.mjs";import{a as d,c as f,i as p}from"./chunk-ZGVPDNZ5-DSVV_BiI.mjs";import{n as m,t as h}from"./chunk-ZIRB5QZD-B2znOhor.mjs";var g=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,31],h=[6,7,11,24],g=[1,6,13,16,17,20,23],_=[1,35],v=[1,36],y=[1,6,7,11,13,16,17,20,23],b=[1,38],x={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`KANBAN`,11:`EOF`,13:`SPACELIST`,16:`ICON`,17:`CLASS`,20:`NODE_DSTART`,21:`NODE_DESCR`,22:`NODE_DEND`,23:`NODE_ID`,24:`SHAPE_DATA`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s-1].id),r.addNode(a[s-2].length,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 16:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 17:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 18:case 23:r.decorateNode({class:a[s]});break;case 19:r.getLogger().trace(`SPACELIST`);break;case 20:r.getLogger().trace(`Node: `,a[s-1].id),r.addNode(0,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 21:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 22:r.decorateNode({icon:a[s]});break;case 27:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 28:this.$={id:a[s],descr:a[s],type:0};break;case 29:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 30:this.$=a[s-1]+a[s];break;case 31:this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:r,9:22,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:u,7:d,10:23,11:f},t(p,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:s,23:c}),t(p,[2,19]),t(p,[2,21],{15:30,24:m}),t(p,[2,22]),t(p,[2,23]),t(h,[2,25]),t(h,[2,26]),t(h,[2,28],{20:[1,32]}),{21:[1,33]},{6:u,7:d,10:34,11:f},{1:[2,7],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(g,[2,14],{7:_,11:v}),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(p,[2,16],{15:37,24:m}),t(p,[2,17]),t(p,[2,18]),t(p,[2,20],{24:b}),t(h,[2,31]),{21:[1,39]},{22:[1,40]},t(g,[2,13],{7:_,11:v}),t(y,[2,11]),t(y,[2,12]),t(p,[2,15],{24:b}),t(h,[2,30]),{22:[1,41]},t(h,[2,27]),t(h,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};x.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -87,4 +87,4 @@ Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on l
87
87
  }
88
88
  ${u()}
89
89
  `,`getStyles`)};export{j as diagram};
90
- //# sourceMappingURL=kanban-definition-HUTT4EX6-Baff2PH6.mjs.map
90
+ //# sourceMappingURL=kanban-definition-HUTT4EX6-g-tXrd8p.mjs.map
@@ -1,2 +1,2 @@
1
- import{er as e,rr as t}from"./src-BG_IUe5R.mjs";import{P as n}from"./fs-traced-BISd_YTv.mjs";import{E as r,w as i}from"./init-6u-ABSZn.mjs";import{t as a}from"./is-object-DKopTkoU.mjs";import{join as o}from"node:path";import{existsSync as s,readFileSync as c,rmSync as l}from"node:fs";const u={allowTrailingComma:!0,disallowComments:!1};function d(e,t){return e.error===1&&e.offset===0&&t.charCodeAt(0)===65279}function f(f){let p=o(f,`.claude`,`launch.json`);if(!s(p))return{kind:`not-present`};let m;try{m=c(p,`utf-8`)}catch{return{kind:`declined`}}let h=[],g=t(m,h,u)??void 0;if(h.some(e=>!d(e,m))||!g||g.type!==`object`)return{kind:`declined`};let _=e(g).configurations;if(!Array.isArray(_))return{kind:`not-present`};let v=_.findIndex(e=>a(e)&&e.name===`open-knowledge-ui`);if(v===-1)return{kind:`not-present`};if(_.length===1)return l(p,{force:!0}),{kind:`removed-file`};let{text:y,changed:b}=r(m,[`configurations`,v]);return b?(n(p,y,{mode:i(p)}),{kind:`removed`}):{kind:`not-present`}}export{f as t};
2
- //# sourceMappingURL=launch-json-removal-D4WCZCs2.mjs.map
1
+ import{er as e,rr as t}from"./src-BEaiZuXz.mjs";import{P as n}from"./fs-traced-B-qtPUmb.mjs";import{E as r,w as i}from"./init-DDWCwe7k.mjs";import{t as a}from"./is-object-Bw0-z8qH.mjs";import{join as o}from"node:path";import{existsSync as s,readFileSync as c,rmSync as l}from"node:fs";const u={allowTrailingComma:!0,disallowComments:!1};function d(e,t){return e.error===1&&e.offset===0&&t.charCodeAt(0)===65279}function f(f){let p=o(f,`.claude`,`launch.json`);if(!s(p))return{kind:`not-present`};let m;try{m=c(p,`utf-8`)}catch{return{kind:`declined`}}let h=[],g=t(m,h,u)??void 0;if(h.some(e=>!d(e,m))||!g||g.type!==`object`)return{kind:`declined`};let _=e(g).configurations;if(!Array.isArray(_))return{kind:`not-present`};let v=_.findIndex(e=>a(e)&&e.name===`open-knowledge-ui`);if(v===-1)return{kind:`not-present`};if(_.length===1)return l(p,{force:!0}),{kind:`removed-file`};let{text:y,changed:b}=r(m,[`configurations`,v]);return b?(n(p,y,{mode:i(p)}),{kind:`removed`}):{kind:`not-present`}}export{f as t};
2
+ //# sourceMappingURL=launch-json-removal-BEpF6f4C.mjs.map
@@ -1,2 +1,2 @@
1
1
  import{i as e,t}from"./chunk-DTipWd-i.mjs";var n=t((t=>{let{promisify:n}=e(`util`),{isUint8Array:r}=e(`util/types`);function i(){try{return e(`../build/Release/zstd.node`)}catch{try{return e(`../build/Debug/zstd.node`)}catch(e){throw e}}}let a=i(),o=n(a.compress),s=n(a.decompress);t.compress=async function(e,t){if(!r(e))throw TypeError(`parameter 'data' must be a Uint8Array.`);if(t!=null&&typeof t!=`number`)throw TypeError(`parameter 'compressionLevel' must be a number.`);try{return await o(e,t??3)}catch(e){throw Error(`zstd: ${e.message}`)}},t.decompress=async function(e){if(!r(e))throw TypeError(`parameter 'data' must be a Uint8Array.`);try{return await s(e)}catch(e){throw Error(`zstd: ${e.message}`)}},t.getDefinedNapiVersion=a.getDefinedNapiVersion}));export default n();export{};
2
- //# sourceMappingURL=lib-C0NPuznE.mjs.map
2
+ //# sourceMappingURL=lib-BpZC9d5Z.mjs.map