@inkeep/open-knowledge 0.49.0-beta.13 → 0.49.0-beta.14

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 (362) hide show
  1. package/dist/{acp-harness-probe-CZ_UOiYg.mjs → acp-harness-probe-7F7pDfk8.mjs} +2 -2
  2. package/dist/cli.mjs +7 -7
  3. package/dist/constants-CDBkEzja.mjs +2 -0
  4. package/dist/index.d.mts +17 -17
  5. package/dist/index.mjs +1 -1
  6. package/dist/{init-CxtnkaqG.mjs → init-BcJW1pN_.mjs} +3 -3
  7. package/dist/init-CIdCoNwM.mjs +1 -0
  8. package/dist/{launch-json-removal-CZdh_dcS.mjs → launch-json-removal-CMu6q22x.mjs} +2 -2
  9. package/dist/{loader-BEUNY2ST.mjs → loader-Bi_cGpOE.mjs} +2 -2
  10. package/dist/loader-D484biLE.mjs +1 -0
  11. package/dist/{open-browser-DklmLvG2.mjs → open-browser-CC2xnhE7.mjs} +2 -2
  12. package/dist/{preview-B3emDMwg.mjs → preview-CkFbXsn7.mjs} +2 -2
  13. package/dist/preview-DKtzdYoj.mjs +1 -0
  14. package/dist/public/assets/{ActivityModeContent-xITIEqkW.js → ActivityModeContent-mpv-dVWD.js} +1 -1
  15. package/dist/public/assets/{AgentDiffPane-D3y42nrP.js → AgentDiffPane-CwwPaZ1H.js} +2 -2
  16. package/dist/public/assets/{AgentThreadClientBinder-BeAZxYjx.js → AgentThreadClientBinder-BUoEh0WV.js} +1 -1
  17. package/dist/public/assets/{BugReportHistory-C_4-NQ-j.js → BugReportHistory-CYOPGlVT.js} +1 -1
  18. package/dist/public/assets/{BugReportHistoryDialog-DgM3N4RP.js → BugReportHistoryDialog-DlY3rGJB.js} +1 -1
  19. package/dist/public/assets/{ChangedOutsideBadge-Bfkto4cS.js → ChangedOutsideBadge-CAsaXgQm.js} +1 -1
  20. package/dist/public/assets/{CodeMirrorPropInput-DdMTYFN7.js → CodeMirrorPropInput-BgivX4OM.js} +3 -3
  21. package/dist/public/assets/{ConsentDialogBody-CAqiYyjs.js → ConsentDialogBody-B4BDndYH.js} +1 -1
  22. package/dist/public/assets/{DiffView-Bc5gwnAV.js → DiffView-CRnGOcsK.js} +1 -1
  23. package/dist/public/assets/{DocumentContext-KCLbnIOa.js → DocumentContext-DNGvgipP.js} +3 -3
  24. package/dist/public/assets/{EditorModeToggle-C4CCeLL1.js → EditorModeToggle-DsLK07Fd.js} +1 -1
  25. package/dist/public/assets/{EnableSyncConfirmDialog-arF4Sj-T.js → EnableSyncConfirmDialog-QKk6kzxZ.js} +1 -1
  26. package/dist/public/assets/FeedbackForm-CBBag4DA.js +1 -0
  27. package/dist/public/assets/{GraphPanel-cmvYvdcH.js → GraphPanel-BzI8bQVI.js} +1 -1
  28. package/dist/public/assets/{ImportSkillDialog-BcilLImi.js → ImportSkillDialog-Bvf1hXNq.js} +1 -1
  29. package/dist/public/assets/{LintConfigEditor-B922dcIr.js → LintConfigEditor-CK_HSvaz.js} +1 -1
  30. package/dist/public/assets/ManagedArtifactProperties-CBqCEX8-.js +1 -0
  31. package/dist/public/assets/{ManagedArtifactProperties-CzYYBk6-.js → ManagedArtifactProperties-t-5VCzho.js} +2 -2
  32. package/dist/public/assets/{McpConsentDialogBody-byylYpGW.js → McpConsentDialogBody-CBMcx-oi.js} +1 -1
  33. package/dist/public/assets/{Mermaid-DT9lZOmy.js → Mermaid-VtbzVjk9.js} +2 -2
  34. package/dist/public/assets/{MermaidDocEditor-GpvHDucX.js → MermaidDocEditor-DpfVegGt.js} +1 -1
  35. package/dist/public/assets/{RegisteredAgentIcon-CSZXCqwG.js → RegisteredAgentIcon-DaRhHE3D.js} +1 -1
  36. package/dist/public/assets/{ReportBugDialogBody-BisBhhXA.js → ReportBugDialogBody-CqJmw2gc.js} +1 -1
  37. package/dist/public/assets/{SchemaConfigEditor-C3ikfIIo.js → SchemaConfigEditor-DJfETlMA.js} +1 -1
  38. package/dist/public/assets/{SessionsHost-BXYmhUSQ.js → SessionsHost-Cinmy2u3.js} +2 -2
  39. package/dist/public/assets/{SettingsDialogBody-BYjwHc-7.js → SettingsDialogBody-C3Mu_5yz.js} +1 -1
  40. package/dist/public/assets/{ShareBranchSwitchDialog-BYJrjyIf.js → ShareBranchSwitchDialog-DpJWy6Wx.js} +1 -1
  41. package/dist/public/assets/{ShareReceiveDialog-C2cLOLrp.js → ShareReceiveDialog-Chmfb4jD.js} +1 -1
  42. package/dist/public/assets/{ShareReceiveMissDialog-CuWXthQz.js → ShareReceiveMissDialog-6DuaWn36.js} +1 -1
  43. package/dist/public/assets/{SkillEditBanner-gcrq9sJk.js → SkillEditBanner-m23hCynE.js} +1 -1
  44. package/dist/public/assets/{SkillOriginInline-DRjPd1xj.js → SkillOriginInline-CZD9-Qds.js} +1 -1
  45. package/dist/public/assets/SkillToolbarControls-Duyn6dih.js +1 -0
  46. package/dist/public/assets/{SourceEditor-CYj7qINh.js → SourceEditor-P4OOLH5k.js} +1 -1
  47. package/dist/public/assets/{TerminalPanel-CAjVVW77.js → TerminalPanel-CY8ECSUN.js} +1 -1
  48. package/dist/public/assets/{TerminalWindowApp-Cgo9sj2X.js → TerminalWindowApp-ZGA4A_F0.js} +1 -1
  49. package/dist/public/assets/{TextDocEditor-CdLe40f9.js → TextDocEditor-CzRb8q4u.js} +1 -1
  50. package/dist/public/assets/ThreadView-CjwTtUTE.js +8 -0
  51. package/dist/public/assets/{TimelineDiffPane-9AmbU7Ty.js → TimelineDiffPane-ClzHl4tE.js} +2 -2
  52. package/dist/public/assets/{abnfDiagram-VRR7QNED-Df7YgB-u.js → abnfDiagram-VRR7QNED-BmIGpDzR.js} +1 -1
  53. package/dist/public/assets/{agent-diff-store-CsOpkSA7.js → agent-diff-store-sFgLbtZa.js} +1 -1
  54. package/dist/public/assets/{agent-visibility-rej4SMuK.js → agent-visibility-C3Lr_sAC.js} +1 -1
  55. package/dist/public/assets/{arc-CVPlXeVn.js → arc-CQb2AKAx.js} +1 -1
  56. package/dist/public/assets/architecture-TIHT7OUA-DFOTFBbr.js +1 -0
  57. package/dist/public/assets/{architectureDiagram-ZJ3FMSHR-Cid8pwpH.js → architectureDiagram-ZJ3FMSHR-B7kRa73u.js} +1 -1
  58. package/dist/public/assets/{auth-state-cache-BeOEy6YL.js → auth-state-cache-BBQUZa7Y.js} +3 -3
  59. package/dist/public/assets/{blockDiagram-677ZJIJ3-CbwD0mr1.js → blockDiagram-677ZJIJ3-CW_RPrF5.js} +1 -1
  60. package/dist/public/assets/{c4Diagram-LMCZKHZV-CZHW-U3Z.js → c4Diagram-LMCZKHZV-DSzPt7hc.js} +1 -1
  61. package/dist/public/assets/{calendar-Dze0sDp0.js → calendar-00bIEN9E.js} +1 -1
  62. package/dist/public/assets/channel-CTYqt4g0.js +1 -0
  63. package/dist/public/assets/{checkbox-DqQC4GOw.js → checkbox-k5Do5hry.js} +1 -1
  64. package/dist/public/assets/chunk-2Q5K7J3B-ML0MRNMu.js +1 -0
  65. package/dist/public/assets/{chunk-32BRIVSS-DT6F-uh7.js → chunk-32BRIVSS-CZmcIudv.js} +1 -1
  66. package/dist/public/assets/{chunk-52WLFC77-z8Dc0FTi.js → chunk-52WLFC77-BVOQGRZo.js} +1 -1
  67. package/dist/public/assets/{chunk-5FCAYU7R-CTroACwQ.js → chunk-5FCAYU7R-Cw8swtTn.js} +1 -1
  68. package/dist/public/assets/{chunk-5HE753X5-BiVTlY9X.js → chunk-5HE753X5-BcaELnEX.js} +1 -1
  69. package/dist/public/assets/{chunk-5JV3BV7I-D5PSiL8d.js → chunk-5JV3BV7I-CTGgCtpC.js} +1 -1
  70. package/dist/public/assets/{chunk-5TONJI2A-Bxf6m0R0.js → chunk-5TONJI2A-Bpyxou83.js} +1 -1
  71. package/dist/public/assets/{chunk-5VM5RSS4-CRkhjuQ5.js → chunk-5VM5RSS4-DgdH1pRm.js} +1 -1
  72. package/dist/public/assets/{chunk-7BUUIJ7U-CIezx2MS.js → chunk-7BUUIJ7U-ClPt7kN-.js} +1 -1
  73. package/dist/public/assets/{chunk-BIQX33UG-4vkcoUCs.js → chunk-BIQX33UG-mS9PjbWf.js} +1 -1
  74. package/dist/public/assets/{chunk-BO2N2NFS-CC8ch_fx.js → chunk-BO2N2NFS-DPS62-Wy.js} +3 -3
  75. package/dist/public/assets/{chunk-C7G6YPKG-CfSnkt3g.js → chunk-C7G6YPKG-QNP-z6to.js} +1 -1
  76. package/dist/public/assets/{chunk-CQNSW5MT-DY98Y9zl.js → chunk-CQNSW5MT-DMMvOdGr.js} +1 -1
  77. package/dist/public/assets/{chunk-CYSBUYHQ-BK-vm9jf.js → chunk-CYSBUYHQ-BICcghCa.js} +1 -1
  78. package/dist/public/assets/{chunk-EMLP6XTP-DZw4ZtXy.js → chunk-EMLP6XTP-BImPFoB6.js} +1 -1
  79. package/dist/public/assets/{chunk-EX3LRPZG-Bk_23Lji.js → chunk-EX3LRPZG-CBy8mV-p.js} +1 -1
  80. package/dist/public/assets/{chunk-FWX5IMBZ-Bcld6_cI.js → chunk-FWX5IMBZ-Be7rLA4R.js} +2 -2
  81. package/dist/public/assets/{chunk-HOUHSVGY-CFg4tiNL.js → chunk-HOUHSVGY-BwiBKa9M.js} +1 -1
  82. package/dist/public/assets/{chunk-ICXQ74PX-D2_LgSCG.js → chunk-ICXQ74PX-D-nICoJO.js} +1 -1
  83. package/dist/public/assets/{chunk-JG7HCLWE-DvlaYzpW.js → chunk-JG7HCLWE-Cr6K5vvd.js} +1 -1
  84. package/dist/public/assets/{chunk-JWPE2WC7-CLgWJdHV.js → chunk-JWPE2WC7-D8-kUsSG.js} +1 -1
  85. package/dist/public/assets/{chunk-MOJQB5TN-ChUfYEEn.js → chunk-MOJQB5TN-DYoKyicG.js} +1 -1
  86. package/dist/public/assets/{chunk-MOZMSUNE-BGXPWMly.js → chunk-MOZMSUNE-Dso0Z5Dr.js} +1 -1
  87. package/dist/public/assets/{chunk-OGEWGWER-CivbNyHY.js → chunk-OGEWGWER-CjYwkekm.js} +1 -1
  88. package/dist/public/assets/{chunk-OSBZ3O6U-DWgnErEt.js → chunk-OSBZ3O6U-DO9s6SlU.js} +1 -1
  89. package/dist/public/assets/{chunk-PUDLZKDR-B7d6ISYj.js → chunk-PUDLZKDR-Dv5A5dRj.js} +1 -1
  90. package/dist/public/assets/{chunk-Q4XR5HBZ-91W5kPi9.js → chunk-Q4XR5HBZ-qovh5WM_.js} +1 -1
  91. package/dist/public/assets/{chunk-QBLGF6JB-4F2Itui7.js → chunk-QBLGF6JB-DRvINlWy.js} +1 -1
  92. package/dist/public/assets/{chunk-R7FJI6CG-hR8tQLXq.js → chunk-R7FJI6CG-B7wiPJ88.js} +1 -1
  93. package/dist/public/assets/{chunk-RYQCIY6F-DycaSFT5.js → chunk-RYQCIY6F-CeBzmL1V.js} +1 -1
  94. package/dist/public/assets/{chunk-U6XO7XAA-CHI_dfPQ.js → chunk-U6XO7XAA-B3t2ZcvG.js} +1 -1
  95. package/dist/public/assets/{chunk-V7JOEXUC-Bw7Trikr.js → chunk-V7JOEXUC-BaPGIDh2.js} +1 -1
  96. package/dist/public/assets/chunk-VAUOI2AC-BXR6IYEq.js +1 -0
  97. package/dist/public/assets/{chunk-VR4S4FIN-td2s33cT.js → chunk-VR4S4FIN-BKvzLxw6.js} +1 -1
  98. package/dist/public/assets/{chunk-WYO6CB5R-BL3R8kzV.js → chunk-WYO6CB5R-Dee3LC03.js} +1 -1
  99. package/dist/public/assets/chunk-XXDRQBXY-svK-_SE4.js +1 -0
  100. package/dist/public/assets/{chunk-YOTPTUD7-Cg9yDbvj.js → chunk-YOTPTUD7-B9Vebq-b.js} +1 -1
  101. package/dist/public/assets/{chunk-ZGVPDNZ5-DdQ8WlYq.js → chunk-ZGVPDNZ5-CQRStGTR.js} +1 -1
  102. package/dist/public/assets/{chunk-ZIRB5QZD-DuiWBTeF.js → chunk-ZIRB5QZD-DEufsvtD.js} +1 -1
  103. package/dist/public/assets/classDiagram-OUVF2IWQ-xqPvGsM8.js +1 -0
  104. package/dist/public/assets/classDiagram-v2-EOCWNBFH-DltLtkHS.js +1 -0
  105. package/dist/public/assets/{cm-theme-CUwlOcHl.js → cm-theme-CZKVXD9s.js} +1 -1
  106. package/dist/public/assets/{comment-chips-CiyfLOdw.js → comment-chips-BsJHBqr7.js} +1 -1
  107. package/dist/public/assets/{config-provider-DFqLxfMZ.js → config-provider-DOEEoLhw.js} +1 -1
  108. package/dist/public/assets/{cose-bilkent-JH36ORCC-YCEFr4ip.js → cose-bilkent-JH36ORCC-CoZVsSg8.js} +1 -1
  109. package/dist/public/assets/cynefin-VYW2F7L2-DckB7g1t.js +1 -0
  110. package/dist/public/assets/{cynefinDiagram-TSTJHNR4-BRxY_0dy.js → cynefinDiagram-TSTJHNR4-DPvTX2wo.js} +1 -1
  111. package/dist/public/assets/{dagre-4yTvJ5bN.js → dagre-Cvkrznc5.js} +1 -1
  112. package/dist/public/assets/{dagre-VKFMJZFB-BTPOxYfv.js → dagre-VKFMJZFB-DCyCbnWk.js} +1 -1
  113. package/dist/public/assets/{diagram-FQU43EPY-C6lvEDUr.js → diagram-FQU43EPY-DQfED2jZ.js} +1 -1
  114. package/dist/public/assets/{diagram-G47NLZAW-BHMtTNZp.js → diagram-G47NLZAW-D_tAD-CD.js} +1 -1
  115. package/dist/public/assets/{diagram-NH7WQ7WH-CaxSgclq.js → diagram-NH7WQ7WH-B2WHNVdG.js} +1 -1
  116. package/dist/public/assets/{diagram-OA4YK3LP-C_1H_cmz.js → diagram-OA4YK3LP-D8DlKHon.js} +1 -1
  117. package/dist/public/assets/{diagram-WEI45ONY-hy5nz4b2.js → diagram-WEI45ONY-CWnCxk5f.js} +1 -1
  118. package/dist/public/assets/{dialog-DwFomKjP.js → dialog-B0SeVR1b.js} +1 -1
  119. package/dist/public/assets/{dist-AhKSYQhE2.js → dist-4GhcOoys2.js} +1 -1
  120. package/dist/public/assets/{dist-HbUc9U1a.js → dist-B2sUyimR.js} +1 -1
  121. package/dist/public/assets/{dist-CJtNQVui.js → dist-BDbPHHcG.js} +1 -1
  122. package/dist/public/assets/{dist-CFDOSoEm.js → dist-BHXZ_sfW.js} +1 -1
  123. package/dist/public/assets/{dist-KXQQa8Xt.js → dist-BRXePA0O.js} +1 -1
  124. package/dist/public/assets/{dist-CdZbZpjt.js → dist-BZfOq7Dy.js} +1 -1
  125. package/dist/public/assets/{dist-BX-8uxZE.js → dist-BrVyfPlR.js} +1 -1
  126. package/dist/public/assets/{dist-DgD72kci.js → dist-C5hoswyZ.js} +1 -1
  127. package/dist/public/assets/{dist-aEzrjz-4.js → dist-CApADOW3.js} +1 -1
  128. package/dist/public/assets/{dist-DdN4_oB-.js → dist-CLZZzoNM.js} +1 -1
  129. package/dist/public/assets/{dist-Cz7Q9WAs.js → dist-D5b61U8h.js} +1 -1
  130. package/dist/public/assets/{dist-BHX9GuTC.js → dist-Dl_Hcem_.js} +1 -1
  131. package/dist/public/assets/{dist-C7PQBily.js → dist-eB1cZ_1W.js} +1 -1
  132. package/dist/public/assets/{ebnfDiagram-CCIWWBDH-CSOwp-KN.js → ebnfDiagram-CCIWWBDH-CZzPuk9p.js} +1 -1
  133. package/dist/public/assets/{erDiagram-Q63AITRT-CulC3etm.js → erDiagram-Q63AITRT-9xYB2NMy.js} +1 -1
  134. package/dist/public/assets/eventmodeling-45OFAUF4-BAwLtOJ-.js +1 -0
  135. package/dist/public/assets/{file-tree-adapter-BLvYxUFn.js → file-tree-adapter-5NHUF1AU.js} +1 -1
  136. package/dist/public/assets/flowDiagram-23GEKE2U-DZlqleoU.js +1 -0
  137. package/dist/public/assets/{folder-config-api-RZ7_mnX7.js → folder-config-api-CgtASyeO.js} +1 -1
  138. package/dist/public/assets/{follow-file-Bn799IyI.js → follow-file-CJlKhusM.js} +1 -1
  139. package/dist/public/assets/{ganttDiagram-NO4QXBWP-iVPMtR6h.js → ganttDiagram-NO4QXBWP-DijtRRdy.js} +1 -1
  140. package/dist/public/assets/gitGraph-TEB2WS4Q-CtXzB9IZ.js +1 -0
  141. package/dist/public/assets/{gitGraphDiagram-IHSO6WYX-DdI0uf23.js → gitGraphDiagram-IHSO6WYX-v6F97UcV.js} +1 -1
  142. package/dist/public/assets/{globals-GZJKYnBt.js → globals-BkB_jgyG.js} +2 -2
  143. package/dist/public/assets/globals-DAsZiYWs.css +1 -0
  144. package/dist/public/assets/{graphlib-2sje7ygs.js → graphlib-DhNu5XTn.js} +1 -1
  145. package/dist/public/assets/{highlighted-body-OFNGDK62-nVG7xLpg.js → highlighted-body-OFNGDK62-DxF-jfal.js} +1 -1
  146. package/dist/public/assets/{index-WK-_KKWh.js → index-BdjlZXPr.js} +14 -14
  147. package/dist/public/assets/info-DKCQHKI2-aojnuX4Q.js +1 -0
  148. package/dist/public/assets/{infoDiagram-FWYZ7A6U-CCLCXbok.js → infoDiagram-FWYZ7A6U-CZFjeYGc.js} +1 -1
  149. package/dist/public/assets/{input-group-BgDCDWUR.js → input-group-pOmI7K9l.js} +1 -1
  150. package/dist/public/assets/{ishikawaDiagram-FXEZZL3T-DYNfj8DM.js → ishikawaDiagram-FXEZZL3T-CkYYfkzy.js} +1 -1
  151. package/dist/public/assets/{journeyDiagram-5HDEW3XC-D3IdBiiM.js → journeyDiagram-5HDEW3XC-jznzpifp.js} +1 -1
  152. package/dist/public/assets/{kanban-definition-HUTT4EX6-CF_ZN-jM.js → kanban-definition-HUTT4EX6-DvW7rPep.js} +1 -1
  153. package/dist/public/assets/{line-BA7emVey.js → line-D74h8yJj.js} +1 -1
  154. package/dist/public/assets/{linear-CUFA2OWO.js → linear-wPQKtCnF.js} +1 -1
  155. package/dist/public/assets/list-plus-DMZ39tO_.js +1 -0
  156. package/dist/public/assets/{map-DbAr_xa0.js → map-BUSC3AEl.js} +1 -1
  157. package/dist/public/assets/{markdownlint-rule-browser-rj8usrKW.js → markdownlint-rule-browser-BqwmUz9N.js} +1 -1
  158. package/dist/public/assets/mermaid-GHXKKRXX-DA5mXckx.js +1 -0
  159. package/dist/public/assets/{mermaid-parser.core-B8FUrn7y.js → mermaid-parser.core-CIlXyQdh.js} +2 -2
  160. package/dist/public/assets/{mermaid.core-gcfl0bT0.js → mermaid.core-DZMFZPvc.js} +3 -3
  161. package/dist/public/assets/{mindmap-definition-LN4V7U3C-9ySd_DkR.js → mindmap-definition-LN4V7U3C-Bm6pRarL.js} +1 -1
  162. package/dist/public/assets/{navigation-targets-CLEkpgkH.js → navigation-targets-BB54n_r7.js} +1 -1
  163. package/dist/public/assets/{now-B4vxsI1S.js → now-Dj28ysYF.js} +1 -1
  164. package/dist/public/assets/{open-managed-artifact-tab-NfU6BQPM.js → open-managed-artifact-tab-B-SCOaEl.js} +1 -1
  165. package/dist/public/assets/{ordinal-Cfxeoxe-.js → ordinal-DXfwmpMf.js} +1 -1
  166. package/dist/public/assets/packet-7NZHBO7P-C8VjP4xX.js +1 -0
  167. package/dist/public/assets/{pegDiagram-2B236MQR-cNCSiNUP.js → pegDiagram-2B236MQR-U4Q3CpHD.js} +1 -1
  168. package/dist/public/assets/{pending-receive-nav-store-D4jv0_5E.js → pending-receive-nav-store-WnN6M6Cf.js} +1 -1
  169. package/dist/public/assets/pie-RZYD4A2V-D3CTWt5e.js +1 -0
  170. package/dist/public/assets/{pieDiagram-ENE6RG2P-C2bxi6W1.js → pieDiagram-ENE6RG2P-Y_b1t_zS.js} +1 -1
  171. package/dist/public/assets/{project-paths--7l9Mqe-.js → project-paths-CQTj3FbI.js} +1 -1
  172. package/dist/public/assets/{prop-types-Ma1AdHjG.js → prop-types-BlWArB_E.js} +1 -1
  173. package/dist/public/assets/{quadrantDiagram-ABIIQ3AL-C8AftH1G.js → quadrantDiagram-ABIIQ3AL-9TnfTiwS.js} +1 -1
  174. package/dist/public/assets/radar-I7S5WNFK-CiwvsxWN.js +1 -0
  175. package/dist/public/assets/railroad-3IZDKUUU-BiSgeyR-.js +1 -0
  176. package/dist/public/assets/railroad-abnf-AHOZXSZD-MgQ9GoYd.js +1 -0
  177. package/dist/public/assets/railroad-ebnf-EBAXGLYW-CpD9c-Np.js +1 -0
  178. package/dist/public/assets/railroad-peg-LSFZ7HO6-BkiQ4XAA.js +1 -0
  179. package/dist/public/assets/{railroadDiagram-RFXS5EU6-CZh61tJk.js → railroadDiagram-RFXS5EU6-BUV8iUi_.js} +1 -1
  180. package/dist/public/assets/{requirementDiagram-TGXJPOKE-CQLu3M38.js → requirementDiagram-TGXJPOKE-GHTFtFmR.js} +1 -1
  181. package/dist/public/assets/{sankeyDiagram-HTMAVEWB-Bjus_sTX.js → sankeyDiagram-HTMAVEWB-C8cmLYHE.js} +1 -1
  182. package/dist/public/assets/{schema-fields-view-intent-Df0KnOO8.js → schema-fields-view-intent-YAQkuTWi.js} +1 -1
  183. package/dist/public/assets/{selection-context-7k7toz-O.js → selection-context-1v-yONuu.js} +1 -1
  184. package/dist/public/assets/{sequenceDiagram-DBY2YBRQ-BR7Ay_cV.js → sequenceDiagram-DBY2YBRQ-Bt7zFhks.js} +1 -1
  185. package/dist/public/assets/{sizeCapture-X5ZJPWSS-B6c4PqMD.js → sizeCapture-X5ZJPWSS-BU3nTQLQ.js} +1 -1
  186. package/dist/public/assets/skill-actions-ySWvy7X6.js +2 -0
  187. package/dist/public/assets/{skills-api-CUO_kMGl.js → skills-api-9ALineK1.js} +1 -1
  188. package/dist/public/assets/{src-BFmudBKQ.js → src-B5Uf_H4s.js} +1 -1
  189. package/dist/public/assets/{src-C2AV0s9h.js → src-DvYTkSdj.js} +1 -1
  190. package/dist/public/assets/{stateDiagram-2N3HPSRC-DJmlM8IW.js → stateDiagram-2N3HPSRC-BUIZZrgp.js} +1 -1
  191. package/dist/public/assets/stateDiagram-v2-6OUMAXLB-BMvTsdCm.js +1 -0
  192. package/dist/public/assets/{swimlanes-5IMT3BWC-D8ijXWBf.js → swimlanes-5IMT3BWC-bO40Bo1P.js} +2 -2
  193. package/dist/public/assets/swimlanesDiagram-G3AALYLV-Bw_QSWFE.js +8 -0
  194. package/dist/public/assets/{tag-pill-input-CnUTRDbO.js → tag-pill-input-kaP2lmgo.js} +1 -1
  195. package/dist/public/assets/{target-navigation-intent-w29SusNY.js → target-navigation-intent-CS2r1eMb.js} +1 -1
  196. package/dist/public/assets/{telemetry-impl-9L9ERuRS.js → telemetry-impl-DEqUGA-0.js} +2 -2
  197. package/dist/public/assets/{telemetry-startup-BXKjS3JH.js → telemetry-startup-BzSWafHK.js} +1 -1
  198. package/dist/public/assets/{terminal-launch-events-AgGTpIvS.js → terminal-launch-events-DKgbFSpL.js} +1 -1
  199. package/dist/public/assets/{terminal-telemetry-CN7NrKbU.js → terminal-telemetry-CY2tEm12.js} +1 -1
  200. package/dist/public/assets/{text-viewer-languages-DEjz8Rlz.js → text-viewer-languages-Cg0FdkAb.js} +2 -2
  201. package/dist/public/assets/thread-client-BNgrlAbM.js +1 -0
  202. package/dist/public/assets/{timeline-definition-FHXFAJF6-DwBMj07Z.js → timeline-definition-FHXFAJF6-BoGbaR7E.js} +1 -1
  203. package/dist/public/assets/treeView-QDETBFTQ-Ccor-UCe.js +1 -0
  204. package/dist/public/assets/treemap-6X3UGDF4-ivqx2UNe.js +1 -0
  205. package/dist/public/assets/{typing-burst-detector-DtmQ6kVh.js → typing-burst-detector-CYnIaM6u.js} +2 -2
  206. package/dist/public/assets/{uninstall-COYss8W7.js → uninstall-CTlK5Oun.js} +1 -1
  207. package/dist/public/assets/{use-activity-panel-DuBsyUYy.js → use-activity-panel-Cwj0_04h.js} +1 -1
  208. package/dist/public/assets/{use-live-xterm-theme-DNlmDOeX.js → use-live-xterm-theme-sbqUOBNg.js} +1 -1
  209. package/dist/public/assets/{use-open-skill-B9RXxGiH.js → use-open-skill-CwXro_jC.js} +1 -1
  210. package/dist/public/assets/{use-skill-directory-DnZO4572.js → use-skill-directory-B6ffBJdj.js} +1 -1
  211. package/dist/public/assets/{use-skill-origin-BjuqP806.js → use-skill-origin-V3GZkGVc.js} +1 -1
  212. package/dist/public/assets/{use-skills-C03UjHry.js → use-skills-CvHLXmrt.js} +1 -1
  213. package/dist/public/assets/{use-terminal-enabled-BRc9Hogu.js → use-terminal-enabled-Q7Gm01hI.js} +1 -1
  214. package/dist/public/assets/{use-timeline-entry-diff-CbdLP5Jv.js → use-timeline-entry-diff-Cb8JrQ_Z.js} +1 -1
  215. package/dist/public/assets/{vennDiagram-L72KCM5P-DZxwOiUn.js → vennDiagram-L72KCM5P-CAtXcJOo.js} +1 -1
  216. package/dist/public/assets/wardley-OPB4EBWU-D8CQEbqs.js +1 -0
  217. package/dist/public/assets/{wardleyDiagram-EHGQE667-D44Ff-nh.js → wardleyDiagram-EHGQE667-mlGW_wQr.js} +1 -1
  218. package/dist/public/assets/{xychartDiagram-FW5EYKEG-B_4MyxsA.js → xychartDiagram-FW5EYKEG-B_lKj_cv.js} +1 -1
  219. package/dist/public/index.html +106 -105
  220. package/dist/public/uninstall.html +10 -10
  221. package/dist/{repair-launch-json-CAh3ejoL.mjs → repair-launch-json-B6W8GS1I.mjs} +2 -2
  222. package/dist/{repair-mcp-configs-BNKw8yub.mjs → repair-mcp-configs-DxtNHw8M.mjs} +2 -2
  223. package/dist/{repair-skills-Cj6J23RY.mjs → repair-skills-BfSKnUWU.mjs} +2 -2
  224. package/dist/repair-skills-DfL4OHJC.mjs +1 -0
  225. package/dist/{skill-teardown-Csh2gkan.mjs → skill-teardown-exqrf3fF.mjs} +2 -2
  226. package/dist/{src-B3GlRGwT.mjs → src-D-DjnpUm.mjs} +2 -2
  227. package/dist/{src-f3aOS2Rm.mjs → src-DNT_I4SZ.mjs} +1 -1
  228. package/dist/src-DnjBaD3J.mjs +2032 -0
  229. package/dist/{start-DSJdA7xY.mjs → start-BrQCfSmu.mjs} +3 -3
  230. package/dist/start-DP3yT2RQ.mjs +1 -0
  231. package/dist/{write-project-skill-Dp0YYiKp.mjs → write-project-skill-DuGbv8Sv.mjs} +2 -2
  232. package/package.json +4 -4
  233. package/dist/constants-DBnOKKEh.mjs +0 -2
  234. package/dist/init-C5KFuif4.mjs +0 -1
  235. package/dist/loader-BibBNlHp.mjs +0 -1
  236. package/dist/preview-DOvxv8dX.mjs +0 -1
  237. package/dist/public/assets/FeedbackForm-CuenYxlI.js +0 -1
  238. package/dist/public/assets/ManagedArtifactProperties-D3d6Bzpn.js +0 -1
  239. package/dist/public/assets/SkillToolbarControls-CM-2Wc3J.js +0 -1
  240. package/dist/public/assets/ThreadView-B9DE62Dt.js +0 -6
  241. package/dist/public/assets/architecture-TIHT7OUA-Bu3B2Eu7.js +0 -1
  242. package/dist/public/assets/channel-BBYqtvcN.js +0 -1
  243. package/dist/public/assets/chunk-2Q5K7J3B-DeGCwTid.js +0 -1
  244. package/dist/public/assets/chunk-VAUOI2AC-B4WVYMGW.js +0 -1
  245. package/dist/public/assets/chunk-XXDRQBXY-DjPNLLex.js +0 -1
  246. package/dist/public/assets/classDiagram-OUVF2IWQ-CusZeKDE.js +0 -1
  247. package/dist/public/assets/classDiagram-v2-EOCWNBFH-3Dd_UHkU.js +0 -1
  248. package/dist/public/assets/cynefin-VYW2F7L2-Dh2yc-Yt.js +0 -1
  249. package/dist/public/assets/eventmodeling-45OFAUF4-CoqTTBqG.js +0 -1
  250. package/dist/public/assets/flowDiagram-23GEKE2U-BKkbdW0r.js +0 -1
  251. package/dist/public/assets/gitGraph-TEB2WS4Q-D2tde3MB.js +0 -1
  252. package/dist/public/assets/globals-Bl3fKb9V.css +0 -1
  253. package/dist/public/assets/info-DKCQHKI2-DIQGY0RW.js +0 -1
  254. package/dist/public/assets/mermaid-GHXKKRXX-uJrCvmwj.js +0 -1
  255. package/dist/public/assets/packet-7NZHBO7P-C6h6PguP.js +0 -1
  256. package/dist/public/assets/pie-RZYD4A2V-BgsL62qC.js +0 -1
  257. package/dist/public/assets/radar-I7S5WNFK-2Fukjsh1.js +0 -1
  258. package/dist/public/assets/railroad-3IZDKUUU-BXQstaOW.js +0 -1
  259. package/dist/public/assets/railroad-abnf-AHOZXSZD-D4DJxFB6.js +0 -1
  260. package/dist/public/assets/railroad-ebnf-EBAXGLYW-B9wL5Mgq.js +0 -1
  261. package/dist/public/assets/railroad-peg-LSFZ7HO6-TRaMzMt0.js +0 -1
  262. package/dist/public/assets/skill-actions-9py30hAo.js +0 -2
  263. package/dist/public/assets/stateDiagram-v2-6OUMAXLB-DJeEhrn3.js +0 -1
  264. package/dist/public/assets/swimlanesDiagram-G3AALYLV-D5vkX5fS.js +0 -8
  265. package/dist/public/assets/thread-client-BVh92ozO.js +0 -1
  266. package/dist/public/assets/treeView-QDETBFTQ-DItjR5Rl.js +0 -1
  267. package/dist/public/assets/treemap-6X3UGDF4-D1JSLPGs.js +0 -1
  268. package/dist/public/assets/wardley-OPB4EBWU-BEy33__G.js +0 -1
  269. package/dist/repair-skills-CP_y8R4I.mjs +0 -1
  270. package/dist/src-FnNqthYf.mjs +0 -2030
  271. package/dist/start-Bphfn6Ke.mjs +0 -1
  272. /package/dist/public/assets/{ActivityPanelDiffView-DZrMHlZH.js → ActivityPanelDiffView-BHV3BqCQ.js} +0 -0
  273. /package/dist/public/assets/{AppMenubar-_6okky_d.js → AppMenubar-DEpF6h8q.js} +0 -0
  274. /package/dist/public/assets/{ConfigSharingInfoTooltip-BhNgrS2h.js → ConfigSharingInfoTooltip-DXfX9VNk.js} +0 -0
  275. /package/dist/public/assets/{SkillModeBanner-DFgrdWyf.js → SkillModeBanner-C_1eHet3.js} +0 -0
  276. /package/dist/public/assets/{__vite-browser-external-CL4duhlG.js → __vite-browser-external-o4WEX2mj.js} +0 -0
  277. /package/dist/public/assets/{agent-presence-C8KjkxgZ.js → agent-presence-cKIGljxI.js} +0 -0
  278. /package/dist/public/assets/{array-DRGYhAwX.js → array-DNx71GJU.js} +0 -0
  279. /package/dist/public/assets/{asset-dispatch-O9x3rXhj.js → asset-dispatch-BZz3JZpZ.js} +0 -0
  280. /package/dist/public/assets/{auth-prompt-store-DQ_HcDxh.js → auth-prompt-store-DaAbCGBh.js} +0 -0
  281. /package/dist/public/assets/{badge-CnYDYmI5.js → badge-CBU6CQBJ.js} +0 -0
  282. /package/dist/public/assets/{chunk-KEIR6QF5-CTDrJ2_V.js → chunk-KEIR6QF5-D_HfbxQ3.js} +0 -0
  283. /package/dist/public/assets/{chunk-Y2CYZVJY-WQQLMo_s.js → chunk-Y2CYZVJY-CTUIHOWN.js} +0 -0
  284. /package/dist/public/assets/{client-version-Bx2rOwMc.js → client-version-CzyGslws.js} +0 -0
  285. /package/dist/public/assets/{clike-BfpXCH0g.js → clike-DJzNA5uw.js} +0 -0
  286. /package/dist/public/assets/{clipboard-adapter-DPkNOslT.js → clipboard-adapter-jV7IP0XO.js} +0 -0
  287. /package/dist/public/assets/{colors-BY0RBIvp.js → colors-DY6SwyM_.js} +0 -0
  288. /package/dist/public/assets/{config-context-pESjjB5n.js → config-context-CjIu2e9K.js} +0 -0
  289. /package/dist/public/assets/{copilot-CuzHDCzI.js → copilot-QWlqAzS5.js} +0 -0
  290. /package/dist/public/assets/{cursor-W0skD8YU.js → cursor-C6NZ_NjT.js} +0 -0
  291. /package/dist/public/assets/{cytoscape.esm-Ck6hca6m.js → cytoscape.esm-BUTyEMz2.js} +0 -0
  292. /package/dist/public/assets/{defaultLocale-C9lDPH35.js → defaultLocale-4pz4GyJ6.js} +0 -0
  293. /package/dist/public/assets/{desktop-bridge-types-BwR5S9HF.js → desktop-bridge-types-BIAMkfnk.js} +0 -0
  294. /package/dist/public/assets/{diff-CvjWTdgS.js → diff-UfOtcPBF.js} +0 -0
  295. /package/dist/public/assets/{dist-CTHTGkF4.js → dist-B4r_A2mw.js} +0 -0
  296. /package/dist/public/assets/{dist-CpRBr-Ct.js → dist-ByZ-P6Dg.js} +0 -0
  297. /package/dist/public/assets/{dist-DmEZHXvB.js → dist-CBLxq4zk.js} +0 -0
  298. /package/dist/public/assets/{dist-zYQJXuRH.js → dist-CVvcgj09.js} +0 -0
  299. /package/dist/public/assets/{dist-DIZJMUWy.js → dist-CWy8xH6X.js} +0 -0
  300. /package/dist/public/assets/{doc-paths-D3i0lyz2.js → doc-paths-BT16-f7r.js} +0 -0
  301. /package/dist/public/assets/{documents-events-CfPFCkMx.js → documents-events-BYhhJH8W.js} +0 -0
  302. /package/dist/public/assets/{documents-fetch-DK-kdvYE.js → documents-fetch-CoP66yPf.js} +0 -0
  303. /package/dist/public/assets/{external-link-COF7NUCm.js → external-link-DT5mGYp0.js} +0 -0
  304. /package/dist/public/assets/{field-iFofWrdC.js → field-GJ7NzaJt.js} +0 -0
  305. /package/dist/public/assets/{file-tree-rename-validation-DEz_ryBu.js → file-tree-rename-validation-BB1aD1Pp.js} +0 -0
  306. /package/dist/public/assets/{file-tree-utils-pPHn6axy.js → file-tree-utils-Dfu7Cauy.js} +0 -0
  307. /package/dist/public/assets/{form-CGbOgaUs.js → form-IV9p7CBQ.js} +0 -0
  308. /package/dist/public/assets/{format-CFFWVvag.js → format-KYHSRwuS.js} +0 -0
  309. /package/dist/public/assets/{go-D-9nxjMR.js → go-CdNSAW6a.js} +0 -0
  310. /package/dist/public/assets/{init-Dpr8Tcj2.js → init-D4gOVDL_.js} +0 -0
  311. /package/dist/public/assets/{input-CtKG6a5B.js → input-FE6wkApb.js} +0 -0
  312. /package/dist/public/assets/{isObject-B_BLuINR.js → isObject-CUKQpKBO.js} +0 -0
  313. /package/dist/public/assets/{libesm-Dcsy_--i.js → libesm-CbHWK9K3.js} +0 -0
  314. /package/dist/public/assets/{lint-config-client-DryIFd-7.js → lint-config-client-aw9JiA9H.js} +0 -0
  315. /package/dist/public/assets/{lint-plugin-meta-BnniPb1r.js → lint-plugin-meta-DZaKA5-M.js} +0 -0
  316. /package/dist/public/assets/{loader-circle-B0OUuKph.js → loader-circle-DIKwidm8.js} +0 -0
  317. /package/dist/public/assets/{lru-string-cache-jJ5hyYK1.js → lru-string-cache-EoEYEZ4C.js} +0 -0
  318. /package/dist/public/assets/{lua-qAotk3Jg.js → lua-BjC_YWX_.js} +0 -0
  319. /package/dist/public/assets/{mcp-consent-store-Dz4H-8gV.js → mcp-consent-store-DZN0FT4T.js} +0 -0
  320. /package/dist/public/assets/{min-CCEG0l64.js → min-x3trf8Wh.js} +0 -0
  321. /package/dist/public/assets/{minus-CKcpBpdR.js → minus-DzV1Xdva.js} +0 -0
  322. /package/dist/public/assets/{miss-dialog-store-B3cHkf8G.js → miss-dialog-store-DJRgNfjG.js} +0 -0
  323. /package/dist/public/assets/{overlay-layers-CBGNHxJK.js → overlay-layers-Dulb79gg.js} +0 -0
  324. /package/dist/public/assets/{panel-UxAkffLp.js → panel-DFoqAiSq.js} +0 -0
  325. /package/dist/public/assets/{panel-right-open-Cc56I_GE.js → panel-right-open-D4VBDtOp.js} +0 -0
  326. /package/dist/public/assets/{panzoom.es-H6kNXvjN.js → panzoom.es-DKn8NuHU.js} +0 -0
  327. /package/dist/public/assets/{paperclip-D7KMFbO9.js → paperclip-CLX0WpG3.js} +0 -0
  328. /package/dist/public/assets/{parse-api-error-BFe1cdS7.js → parse-api-error-CulWAL3N.js} +0 -0
  329. /package/dist/public/assets/{path-56QyJhyg.js → path-CPUiTFzQ.js} +0 -0
  330. /package/dist/public/assets/{pdf-CYHvv2Oq.js → pdf-UdiWtmKI.js} +0 -0
  331. /package/dist/public/assets/{pdf.worker-B8Ju19hh.js → pdf.worker-CVlM3MGW.js} +0 -0
  332. /package/dist/public/assets/{perl-E4P7BXaC.js → perl-B5kh9uCS.js} +0 -0
  333. /package/dist/public/assets/{properties-DXHbGwrb.js → properties-DW_pwOFE.js} +0 -0
  334. /package/dist/public/assets/{r-DCDstkyG.js → r-HIDEBO1S.js} +0 -0
  335. /package/dist/public/assets/{receive-store-B-UYRmZv.js → receive-store-8JT58I8W.js} +0 -0
  336. /package/dist/public/assets/{refresh-cw-DGLnzhho.js → refresh-cw-_2dDOCdN.js} +0 -0
  337. /package/dist/public/assets/{rough.esm-DE_lJ5Ge.js → rough.esm-Do3Mexf5.js} +0 -0
  338. /package/dist/public/assets/{ruby-DeKk3LV3.js → ruby-mktTWmhU.js} +0 -0
  339. /package/dist/public/assets/{share-metadata-rows-B1YjvGbL.js → share-metadata-rows-BgvfdoD5.js} +0 -0
  340. /package/dist/public/assets/{shell-BRtU48Yb.js → shell-DW-sch3D.js} +0 -0
  341. /package/dist/public/assets/{skeleton-DS8zjX9Q.js → skeleton-C4vRhplG.js} +0 -0
  342. /package/dist/public/assets/{skill-scope-cIqbdp7M.js → skill-scope-UBfnFDb4.js} +0 -0
  343. /package/dist/public/assets/{sortable.esm-BT6d9PDz.js → sortable.esm-Db0q_rOi.js} +0 -0
  344. /package/dist/public/assets/{sql-XsKG_-B3.js → sql-BnT59v2q.js} +0 -0
  345. /package/dist/public/assets/{square-pen-CEIus1aL.js → square-pen-CLflIRwR.js} +0 -0
  346. /package/dist/public/assets/{src-DLd5TgYd.js → src-B5LmWD6e.js} +0 -0
  347. /package/dist/public/assets/{startup-marks-BJYEMeGu.js → startup-marks-CeDK0_f3.js} +0 -0
  348. /package/dist/public/assets/{stex-B3qxBOBU.js → stex-dEyUgtYN.js} +0 -0
  349. /package/dist/public/assets/{swift-CGhDVaQR.js → swift-D-oQbKZh.js} +0 -0
  350. /package/dist/public/assets/{textarea-CUVLEZhx.js → textarea-Do-HJCDs.js} +0 -0
  351. /package/dist/public/assets/{thread-draft-staging-BXLyxk1u.js → thread-draft-staging-DL81pG7_.js} +0 -0
  352. /package/dist/public/assets/{timeline-diff-store-sC1fl4YV.js → timeline-diff-store-Ct1wjBoU.js} +0 -0
  353. /package/dist/public/assets/{toml-DkvxgD0C.js → toml-B8_D8Hcu.js} +0 -0
  354. /package/dist/public/assets/{trash-2-Ccq_llrY.js → trash-2-KA5Op5VO.js} +0 -0
  355. /package/dist/public/assets/{triangle-alert-V8YoC6ss.js → triangle-alert-BUshYMrj.js} +0 -0
  356. /package/dist/public/assets/{undo-2-bYFSgQwb.js → undo-2-BAIHjcAR.js} +0 -0
  357. /package/dist/public/assets/{use-collab-url-MXu3dolW.js → use-collab-url-CVs0Opja.js} +0 -0
  358. /package/dist/public/assets/{use-installed-clis-B7_xP0xS.js → use-installed-clis-CA__SZ2w.js} +0 -0
  359. /package/dist/public/assets/{use-settings-route-Bj0KocI-.js → use-settings-route-UI-dlJz3.js} +0 -0
  360. /package/dist/public/assets/{useLintConfigViewMode-C3vaXrG0.js → useLintConfigViewMode-ByY6MPfT.js} +0 -0
  361. /package/dist/public/assets/{wrench-D8b4qpCM.js → wrench-8zCTfk9X.js} +0 -0
  362. /package/dist/public/assets/{x-B3zGPHCO.js → x-KPhjHGr2.js} +0 -0
@@ -70,22 +70,22 @@
70
70
  -->
71
71
  <script>(() => { const isMode = (v) => v === 'light' || v === 'dark' || v === 'system'; const isThemeId = (v) => typeof v === 'string' && /^[a-z0-9-]{1,32}$/.test(v); let pref = 'system'; try { const r = localStorage.getItem('ok-theme-v1'); if (isMode(r)) pref = r; } catch {} let slots = null; try { const raw = localStorage.getItem('ok-color-theme-pair-v1'); if (raw) { const o = JSON.parse(raw); if (o?.light && o?.dark) { slots = o; if (isMode(o.pref)) pref = o.pref; } } } catch {} let dark = pref === 'dark'; if (pref === 'system') { try { dark = window.matchMedia('(prefers-color-scheme: dark)').matches; } catch {} } let ct = null; if (slots) { const slot = dark ? slots.dark : slots.light; if (isThemeId(slot?.id)) { dark = !!slot.dark; if (slot.id !== 'default') ct = slot.id; } } else { try { const c = localStorage.getItem('ok-color-theme-v1'); if (isThemeId(c) && c !== 'default') ct = c; } catch {} } let customCss = null; if (ct === 'custom') { try { const raw = localStorage.getItem('ok-custom-theme-v1'); if (raw) { const o = JSON.parse(raw); if (o?.css) { customCss = o.css; dark = !!o.dark; } } } catch {} if (!customCss) ct = null; } if (dark) document.documentElement.classList.add('dark'); if (ct) document.documentElement.setAttribute('data-color-theme', ct); if (customCss) { const s = document.createElement('style'); s.id = 'ok-custom-theme'; s.textContent = customCss; document.head.appendChild(s); } if (window.okDesktop) { document.documentElement.classList.add('electron-mode'); document.documentElement.classList.add(`electron-platform-${window.okDesktop.platform}`); } })();</script>
72
72
  <style>html { background-color: #fafafa } html.dark { background-color: #171717 }</style>
73
- <script type="module" crossorigin src="./assets/index-WK-_KKWh.js"></script>
73
+ <script type="module" crossorigin src="./assets/index-BdjlZXPr.js"></script>
74
74
  <link rel="modulepreload" crossorigin href="./assets/chunk-CYidjpOJ.js">
75
- <link rel="modulepreload" crossorigin href="./assets/dist-CpRBr-Ct.js">
75
+ <link rel="modulepreload" crossorigin href="./assets/dist-ByZ-P6Dg.js">
76
76
  <link rel="modulepreload" crossorigin href="./assets/react-f2sANaYj.js">
77
77
  <link rel="modulepreload" crossorigin href="./assets/react-dom-DPxgxlDT.js">
78
- <link rel="modulepreload" crossorigin href="./assets/globals-GZJKYnBt.js">
78
+ <link rel="modulepreload" crossorigin href="./assets/globals-BkB_jgyG.js">
79
79
  <link rel="modulepreload" crossorigin href="./assets/preload-helper-Chd9yIcd.js">
80
80
  <link rel="modulepreload" crossorigin href="./assets/w3c-keyname-hgmz1BF7.js">
81
- <link rel="modulepreload" crossorigin href="./assets/dist-zYQJXuRH.js">
82
- <link rel="modulepreload" crossorigin href="./assets/cm-theme-CUwlOcHl.js">
83
- <link rel="modulepreload" crossorigin href="./assets/dist-DgD72kci.js">
84
- <link rel="modulepreload" crossorigin href="./assets/dist-BHX9GuTC.js">
85
- <link rel="modulepreload" crossorigin href="./assets/dist-DdN4_oB-.js">
86
- <link rel="modulepreload" crossorigin href="./assets/dist-Cz7Q9WAs.js">
87
- <link rel="modulepreload" crossorigin href="./assets/dist-AhKSYQhE2.js">
88
- <link rel="modulepreload" crossorigin href="./assets/dist-CJtNQVui.js">
81
+ <link rel="modulepreload" crossorigin href="./assets/dist-CVvcgj09.js">
82
+ <link rel="modulepreload" crossorigin href="./assets/cm-theme-CZKVXD9s.js">
83
+ <link rel="modulepreload" crossorigin href="./assets/dist-C5hoswyZ.js">
84
+ <link rel="modulepreload" crossorigin href="./assets/dist-Dl_Hcem_.js">
85
+ <link rel="modulepreload" crossorigin href="./assets/dist-CLZZzoNM.js">
86
+ <link rel="modulepreload" crossorigin href="./assets/dist-D5b61U8h.js">
87
+ <link rel="modulepreload" crossorigin href="./assets/dist-4GhcOoys2.js">
88
+ <link rel="modulepreload" crossorigin href="./assets/dist-BDbPHHcG.js">
89
89
  <link rel="modulepreload" crossorigin href="./assets/jsx-runtime-BUgB2tll.js">
90
90
  <link rel="modulepreload" crossorigin href="./assets/dist-Nvb76hAm.js">
91
91
  <link rel="modulepreload" crossorigin href="./assets/dist-DUWYPul7.js">
@@ -93,19 +93,19 @@
93
93
  <link rel="modulepreload" crossorigin href="./assets/compiler-runtime-BfE3aGVn.js">
94
94
  <link rel="modulepreload" crossorigin href="./assets/utils-CPqDy6Hr.js">
95
95
  <link rel="modulepreload" crossorigin href="./assets/button-RQ5o7P7w.js">
96
- <link rel="modulepreload" crossorigin href="./assets/dist-BX-8uxZE.js">
97
- <link rel="modulepreload" crossorigin href="./assets/dist-HbUc9U1a.js">
96
+ <link rel="modulepreload" crossorigin href="./assets/dist-BrVyfPlR.js">
97
+ <link rel="modulepreload" crossorigin href="./assets/dist-B2sUyimR.js">
98
98
  <link rel="modulepreload" crossorigin href="./assets/dist-PQ5KMVDh.js">
99
- <link rel="modulepreload" crossorigin href="./assets/DiffView-Bc5gwnAV.js">
100
- <link rel="modulepreload" crossorigin href="./assets/sortable.esm-BT6d9PDz.js">
99
+ <link rel="modulepreload" crossorigin href="./assets/DiffView-CRnGOcsK.js">
100
+ <link rel="modulepreload" crossorigin href="./assets/sortable.esm-Db0q_rOi.js">
101
101
  <link rel="modulepreload" crossorigin href="./assets/floating-ui.dom-C0wusa09.js">
102
102
  <link rel="modulepreload" crossorigin href="./assets/trace-api-DH580DYm.js">
103
103
  <link rel="modulepreload" crossorigin href="./assets/lib-CtlgmvnR.js">
104
104
  <link rel="modulepreload" crossorigin href="./assets/markdownit-DoX6x6DK.js">
105
105
  <link rel="modulepreload" crossorigin href="./assets/dist-FFXyFMEP2.js">
106
- <link rel="modulepreload" crossorigin href="./assets/client-version-Bx2rOwMc.js">
107
- <link rel="modulepreload" crossorigin href="./assets/config-context-pESjjB5n.js">
108
- <link rel="modulepreload" crossorigin href="./assets/config-provider-DFqLxfMZ.js">
106
+ <link rel="modulepreload" crossorigin href="./assets/client-version-CzyGslws.js">
107
+ <link rel="modulepreload" crossorigin href="./assets/config-context-CjIu2e9K.js">
108
+ <link rel="modulepreload" crossorigin href="./assets/config-provider-DOEEoLhw.js">
109
109
  <link rel="modulepreload" crossorigin href="./assets/dist-Bi80hc1t.js">
110
110
  <link rel="modulepreload" crossorigin href="./assets/dist-CR6aO28t.js">
111
111
  <link rel="modulepreload" crossorigin href="./assets/dist-DpaqLIPT.js">
@@ -119,119 +119,120 @@
119
119
  <link rel="modulepreload" crossorigin href="./assets/chevron-down-CRb8csep.js">
120
120
  <link rel="modulepreload" crossorigin href="./assets/chevron-up-BZk9M0QL.js">
121
121
  <link rel="modulepreload" crossorigin href="./assets/select-BU4xT6VN.js">
122
- <link rel="modulepreload" crossorigin href="./assets/minus-CKcpBpdR.js">
123
- <link rel="modulepreload" crossorigin href="./assets/checkbox-DqQC4GOw.js">
122
+ <link rel="modulepreload" crossorigin href="./assets/minus-DzV1Xdva.js">
123
+ <link rel="modulepreload" crossorigin href="./assets/checkbox-k5Do5hry.js">
124
124
  <link rel="modulepreload" crossorigin href="./assets/collapsible-OhEmjTXw.js">
125
- <link rel="modulepreload" crossorigin href="./assets/x-B3zGPHCO.js">
126
- <link rel="modulepreload" crossorigin href="./assets/dialog-DwFomKjP.js">
125
+ <link rel="modulepreload" crossorigin href="./assets/x-KPhjHGr2.js">
126
+ <link rel="modulepreload" crossorigin href="./assets/dialog-B0SeVR1b.js">
127
127
  <link rel="modulepreload" crossorigin href="./assets/dist-DMj9iIHH.js">
128
128
  <link rel="modulepreload" crossorigin href="./assets/dist-G89kioZo.js">
129
129
  <link rel="modulepreload" crossorigin href="./assets/chevron-right-BjiB8LDf.js">
130
130
  <link rel="modulepreload" crossorigin href="./assets/dropdown-menu-DRytYgB4.js">
131
131
  <link rel="modulepreload" crossorigin href="./assets/label-BT2yjpKR.js">
132
132
  <link rel="modulepreload" crossorigin href="./assets/local-menu-action-bus-iy6v2osW.js">
133
- <link rel="modulepreload" crossorigin href="./assets/dist-CFDOSoEm.js">
134
- <link rel="modulepreload" crossorigin href="./assets/dist-C7PQBily.js">
135
- <link rel="modulepreload" crossorigin href="./assets/stex-B3qxBOBU.js">
133
+ <link rel="modulepreload" crossorigin href="./assets/dist-BHXZ_sfW.js">
134
+ <link rel="modulepreload" crossorigin href="./assets/dist-eB1cZ_1W.js">
135
+ <link rel="modulepreload" crossorigin href="./assets/stex-dEyUgtYN.js">
136
136
  <link rel="modulepreload" crossorigin href="./assets/propagation-api-DSg7UKuw.js">
137
137
  <link rel="modulepreload" crossorigin href="./assets/switch-0kSGDL9E.js">
138
138
  <link rel="modulepreload" crossorigin href="./assets/folder-open-ee990ToL.js">
139
- <link rel="modulepreload" crossorigin href="./assets/trash-2-Ccq_llrY.js">
140
- <link rel="modulepreload" crossorigin href="./assets/file-tree-utils-pPHn6axy.js">
141
- <link rel="modulepreload" crossorigin href="./assets/doc-paths-D3i0lyz2.js">
142
- <link rel="modulepreload" crossorigin href="./assets/skill-scope-cIqbdp7M.js">
143
- <link rel="modulepreload" crossorigin href="./assets/navigation-targets-CLEkpgkH.js">
144
- <link rel="modulepreload" crossorigin href="./assets/asset-dispatch-O9x3rXhj.js">
145
- <link rel="modulepreload" crossorigin href="./assets/external-link-COF7NUCm.js">
146
- <link rel="modulepreload" crossorigin href="./assets/documents-fetch-DK-kdvYE.js">
147
- <link rel="modulepreload" crossorigin href="./assets/CodeMirrorPropInput-DdMTYFN7.js">
139
+ <link rel="modulepreload" crossorigin href="./assets/trash-2-KA5Op5VO.js">
140
+ <link rel="modulepreload" crossorigin href="./assets/file-tree-utils-Dfu7Cauy.js">
141
+ <link rel="modulepreload" crossorigin href="./assets/doc-paths-BT16-f7r.js">
142
+ <link rel="modulepreload" crossorigin href="./assets/skill-scope-UBfnFDb4.js">
143
+ <link rel="modulepreload" crossorigin href="./assets/navigation-targets-BB54n_r7.js">
144
+ <link rel="modulepreload" crossorigin href="./assets/asset-dispatch-BZz3JZpZ.js">
145
+ <link rel="modulepreload" crossorigin href="./assets/external-link-DT5mGYp0.js">
146
+ <link rel="modulepreload" crossorigin href="./assets/documents-fetch-CoP66yPf.js">
147
+ <link rel="modulepreload" crossorigin href="./assets/CodeMirrorPropInput-BgivX4OM.js">
148
148
  <link rel="modulepreload" crossorigin href="./assets/git-branch-B0WeYwW-.js">
149
- <link rel="modulepreload" crossorigin href="./assets/triangle-alert-V8YoC6ss.js">
150
- <link rel="modulepreload" crossorigin href="./assets/Mermaid-DT9lZOmy.js">
149
+ <link rel="modulepreload" crossorigin href="./assets/triangle-alert-BUshYMrj.js">
150
+ <link rel="modulepreload" crossorigin href="./assets/Mermaid-VtbzVjk9.js">
151
151
  <link rel="modulepreload" crossorigin href="./assets/CopyButton-DfXJBl0I.js">
152
- <link rel="modulepreload" crossorigin href="./assets/documents-events-CfPFCkMx.js">
153
- <link rel="modulepreload" crossorigin href="./assets/parse-api-error-BFe1cdS7.js">
154
- <link rel="modulepreload" crossorigin href="./assets/startup-marks-BJYEMeGu.js">
155
- <link rel="modulepreload" crossorigin href="./assets/prop-types-Ma1AdHjG.js">
152
+ <link rel="modulepreload" crossorigin href="./assets/documents-events-BYhhJH8W.js">
153
+ <link rel="modulepreload" crossorigin href="./assets/parse-api-error-CulWAL3N.js">
154
+ <link rel="modulepreload" crossorigin href="./assets/startup-marks-CeDK0_f3.js">
155
+ <link rel="modulepreload" crossorigin href="./assets/prop-types-BlWArB_E.js">
156
156
  <link rel="modulepreload" crossorigin href="./assets/eye-CArKS_Md.js">
157
157
  <link rel="modulepreload" crossorigin href="./assets/hash-CDGtqqEo.js">
158
158
  <link rel="modulepreload" crossorigin href="./assets/info-BnJuC0vW.js">
159
- <link rel="modulepreload" crossorigin href="./assets/loader-circle-B0OUuKph.js">
160
- <link rel="modulepreload" crossorigin href="./assets/paperclip-D7KMFbO9.js">
161
- <link rel="modulepreload" crossorigin href="./assets/dist-DmEZHXvB.js">
162
- <link rel="modulepreload" crossorigin href="./assets/file-tree-rename-validation-DEz_ryBu.js">
163
- <link rel="modulepreload" crossorigin href="./assets/badge-CnYDYmI5.js">
164
- <link rel="modulepreload" crossorigin href="./assets/input-CtKG6a5B.js">
165
- <link rel="modulepreload" crossorigin href="./assets/use-collab-url-MXu3dolW.js">
166
- <link rel="modulepreload" crossorigin href="./assets/skills-api-CUO_kMGl.js">
167
- <link rel="modulepreload" crossorigin href="./assets/DocumentContext-KCLbnIOa.js">
168
- <link rel="modulepreload" crossorigin href="./assets/format-CFFWVvag.js">
159
+ <link rel="modulepreload" crossorigin href="./assets/loader-circle-DIKwidm8.js">
160
+ <link rel="modulepreload" crossorigin href="./assets/paperclip-CLX0WpG3.js">
161
+ <link rel="modulepreload" crossorigin href="./assets/dist-CBLxq4zk.js">
162
+ <link rel="modulepreload" crossorigin href="./assets/file-tree-rename-validation-BB1aD1Pp.js">
163
+ <link rel="modulepreload" crossorigin href="./assets/badge-CBU6CQBJ.js">
164
+ <link rel="modulepreload" crossorigin href="./assets/input-FE6wkApb.js">
165
+ <link rel="modulepreload" crossorigin href="./assets/use-collab-url-CVs0Opja.js">
166
+ <link rel="modulepreload" crossorigin href="./assets/skills-api-9ALineK1.js">
167
+ <link rel="modulepreload" crossorigin href="./assets/DocumentContext-DNGvgipP.js">
168
+ <link rel="modulepreload" crossorigin href="./assets/format-KYHSRwuS.js">
169
169
  <link rel="modulepreload" crossorigin href="./assets/braces-PuTG97X6.js">
170
- <link rel="modulepreload" crossorigin href="./assets/folder-config-api-RZ7_mnX7.js">
171
- <link rel="modulepreload" crossorigin href="./assets/comment-chips-CiyfLOdw.js">
172
- <link rel="modulepreload" crossorigin href="./assets/textarea-CUVLEZhx.js">
173
- <link rel="modulepreload" crossorigin href="./assets/selection-context-7k7toz-O.js">
174
- <link rel="modulepreload" crossorigin href="./assets/lint-config-client-DryIFd-7.js">
175
- <link rel="modulepreload" crossorigin href="./assets/use-skills-C03UjHry.js">
176
- <link rel="modulepreload" crossorigin href="./assets/ManagedArtifactProperties-CzYYBk6-.js">
177
- <link rel="modulepreload" crossorigin href="./assets/cursor-W0skD8YU.js">
178
- <link rel="modulepreload" crossorigin href="./assets/RegisteredAgentIcon-CSZXCqwG.js">
170
+ <link rel="modulepreload" crossorigin href="./assets/folder-config-api-CgtASyeO.js">
171
+ <link rel="modulepreload" crossorigin href="./assets/comment-chips-BsJHBqr7.js">
172
+ <link rel="modulepreload" crossorigin href="./assets/textarea-Do-HJCDs.js">
173
+ <link rel="modulepreload" crossorigin href="./assets/selection-context-1v-yONuu.js">
174
+ <link rel="modulepreload" crossorigin href="./assets/lint-config-client-aw9JiA9H.js">
175
+ <link rel="modulepreload" crossorigin href="./assets/use-skills-CvHLXmrt.js">
176
+ <link rel="modulepreload" crossorigin href="./assets/ManagedArtifactProperties-t-5VCzho.js">
177
+ <link rel="modulepreload" crossorigin href="./assets/cursor-C6NZ_NjT.js">
178
+ <link rel="modulepreload" crossorigin href="./assets/RegisteredAgentIcon-DaRhHE3D.js">
179
179
  <link rel="modulepreload" crossorigin href="./assets/folder-DxrU2PLH.js">
180
- <link rel="modulepreload" crossorigin href="./assets/copilot-CuzHDCzI.js">
181
- <link rel="modulepreload" crossorigin href="./assets/agent-visibility-rej4SMuK.js">
180
+ <link rel="modulepreload" crossorigin href="./assets/copilot-QWlqAzS5.js">
181
+ <link rel="modulepreload" crossorigin href="./assets/agent-visibility-C3Lr_sAC.js">
182
182
  <link rel="modulepreload" crossorigin href="./assets/use-workspace-D9sCUZUt.js">
183
- <link rel="modulepreload" crossorigin href="./assets/ChangedOutsideBadge-Bfkto4cS.js">
184
- <link rel="modulepreload" crossorigin href="./assets/use-open-skill-B9RXxGiH.js">
185
- <link rel="modulepreload" crossorigin href="./assets/use-settings-route-Bj0KocI-.js">
186
- <link rel="modulepreload" crossorigin href="./assets/clipboard-adapter-DPkNOslT.js">
187
- <link rel="modulepreload" crossorigin href="./assets/skill-actions-9py30hAo.js">
183
+ <link rel="modulepreload" crossorigin href="./assets/ChangedOutsideBadge-CAsaXgQm.js">
184
+ <link rel="modulepreload" crossorigin href="./assets/list-plus-DMZ39tO_.js">
185
+ <link rel="modulepreload" crossorigin href="./assets/use-open-skill-CwXro_jC.js">
186
+ <link rel="modulepreload" crossorigin href="./assets/use-settings-route-UI-dlJz3.js">
187
+ <link rel="modulepreload" crossorigin href="./assets/clipboard-adapter-jV7IP0XO.js">
188
+ <link rel="modulepreload" crossorigin href="./assets/skill-actions-ySWvy7X6.js">
188
189
  <link rel="modulepreload" crossorigin href="./assets/radio-group-CmCnommQ.js">
189
190
  <link rel="modulepreload" crossorigin href="./assets/separator-C4EdGs_S.js">
190
191
  <link rel="modulepreload" crossorigin href="./assets/toggle-group-DAYvcc1F.js">
191
192
  <link rel="modulepreload" crossorigin href="./assets/useQuery-ZeEDLtxh.js">
192
- <link rel="modulepreload" crossorigin href="./assets/EnableSyncConfirmDialog-arF4Sj-T.js">
193
+ <link rel="modulepreload" crossorigin href="./assets/EnableSyncConfirmDialog-QKk6kzxZ.js">
193
194
  <link rel="modulepreload" crossorigin href="./assets/arrow-up-right-Gp4MuO-g.js">
194
195
  <link rel="modulepreload" crossorigin href="./assets/case-sensitive-DyF7sIpA.js">
195
196
  <link rel="modulepreload" crossorigin href="./assets/chevron-left-BRFq0qcJ.js">
196
- <link rel="modulepreload" crossorigin href="./assets/refresh-cw-DGLnzhho.js">
197
- <link rel="modulepreload" crossorigin href="./assets/wrench-D8b4qpCM.js">
198
- <link rel="modulepreload" crossorigin href="./assets/lint-plugin-meta-BnniPb1r.js">
199
- <link rel="modulepreload" crossorigin href="./assets/panel-UxAkffLp.js">
200
- <link rel="modulepreload" crossorigin href="./assets/skeleton-DS8zjX9Q.js">
201
- <link rel="modulepreload" crossorigin href="./assets/typing-burst-detector-DtmQ6kVh.js">
197
+ <link rel="modulepreload" crossorigin href="./assets/refresh-cw-_2dDOCdN.js">
198
+ <link rel="modulepreload" crossorigin href="./assets/wrench-8zCTfk9X.js">
199
+ <link rel="modulepreload" crossorigin href="./assets/lint-plugin-meta-DZaKA5-M.js">
200
+ <link rel="modulepreload" crossorigin href="./assets/panel-DFoqAiSq.js">
201
+ <link rel="modulepreload" crossorigin href="./assets/skeleton-C4vRhplG.js">
202
+ <link rel="modulepreload" crossorigin href="./assets/typing-burst-detector-CYnIaM6u.js">
202
203
  <link rel="modulepreload" crossorigin href="./assets/download-QOlmqXQ8.js">
203
- <link rel="modulepreload" crossorigin href="./assets/field-iFofWrdC.js">
204
- <link rel="modulepreload" crossorigin href="./assets/auth-state-cache-BeOEy6YL.js">
205
- <link rel="modulepreload" crossorigin href="./assets/miss-dialog-store-B3cHkf8G.js">
206
- <link rel="modulepreload" crossorigin href="./assets/pending-receive-nav-store-D4jv0_5E.js">
207
- <link rel="modulepreload" crossorigin href="./assets/terminal-launch-events-AgGTpIvS.js">
208
- <link rel="modulepreload" crossorigin href="./assets/open-managed-artifact-tab-NfU6BQPM.js">
209
- <link rel="modulepreload" crossorigin href="./assets/use-skill-directory-DnZO4572.js">
210
- <link rel="modulepreload" crossorigin href="./assets/panel-right-open-Cc56I_GE.js">
211
- <link rel="modulepreload" crossorigin href="./assets/square-pen-CEIus1aL.js">
212
- <link rel="modulepreload" crossorigin href="./assets/undo-2-bYFSgQwb.js">
213
- <link rel="modulepreload" crossorigin href="./assets/form-CGbOgaUs.js">
214
- <link rel="modulepreload" crossorigin href="./assets/follow-file-Bn799IyI.js">
215
- <link rel="modulepreload" crossorigin href="./assets/text-viewer-languages-DEjz8Rlz.js">
216
- <link rel="modulepreload" crossorigin href="./assets/EditorModeToggle-C4CCeLL1.js">
217
- <link rel="modulepreload" crossorigin href="./assets/ConfigSharingInfoTooltip-BhNgrS2h.js">
218
- <link rel="modulepreload" crossorigin href="./assets/project-paths--7l9Mqe-.js">
219
- <link rel="modulepreload" crossorigin href="./assets/SkillModeBanner-DFgrdWyf.js">
220
- <link rel="modulepreload" crossorigin href="./assets/file-tree-adapter-BLvYxUFn.js">
221
- <link rel="modulepreload" crossorigin href="./assets/agent-diff-store-CsOpkSA7.js">
222
- <link rel="modulepreload" crossorigin href="./assets/target-navigation-intent-w29SusNY.js">
223
- <link rel="modulepreload" crossorigin href="./assets/use-live-xterm-theme-DNlmDOeX.js">
224
- <link rel="modulepreload" crossorigin href="./assets/input-group-BgDCDWUR.js">
225
- <link rel="modulepreload" crossorigin href="./assets/use-installed-clis-B7_xP0xS.js">
226
- <link rel="modulepreload" crossorigin href="./assets/use-skill-origin-BjuqP806.js">
227
- <link rel="modulepreload" crossorigin href="./assets/terminal-telemetry-CN7NrKbU.js">
228
- <link rel="modulepreload" crossorigin href="./assets/agent-presence-C8KjkxgZ.js">
229
- <link rel="modulepreload" crossorigin href="./assets/auth-prompt-store-DQ_HcDxh.js">
230
- <link rel="modulepreload" crossorigin href="./assets/mcp-consent-store-Dz4H-8gV.js">
231
- <link rel="modulepreload" crossorigin href="./assets/overlay-layers-CBGNHxJK.js">
232
- <link rel="modulepreload" crossorigin href="./assets/receive-store-B-UYRmZv.js">
233
- <link rel="modulepreload" crossorigin href="./assets/timeline-diff-store-sC1fl4YV.js">
234
- <link rel="stylesheet" crossorigin href="./assets/globals-Bl3fKb9V.css">
204
+ <link rel="modulepreload" crossorigin href="./assets/field-GJ7NzaJt.js">
205
+ <link rel="modulepreload" crossorigin href="./assets/auth-state-cache-BBQUZa7Y.js">
206
+ <link rel="modulepreload" crossorigin href="./assets/miss-dialog-store-DJRgNfjG.js">
207
+ <link rel="modulepreload" crossorigin href="./assets/pending-receive-nav-store-WnN6M6Cf.js">
208
+ <link rel="modulepreload" crossorigin href="./assets/terminal-launch-events-DKgbFSpL.js">
209
+ <link rel="modulepreload" crossorigin href="./assets/open-managed-artifact-tab-B-SCOaEl.js">
210
+ <link rel="modulepreload" crossorigin href="./assets/use-skill-directory-B6ffBJdj.js">
211
+ <link rel="modulepreload" crossorigin href="./assets/panel-right-open-D4VBDtOp.js">
212
+ <link rel="modulepreload" crossorigin href="./assets/square-pen-CLflIRwR.js">
213
+ <link rel="modulepreload" crossorigin href="./assets/undo-2-BAIHjcAR.js">
214
+ <link rel="modulepreload" crossorigin href="./assets/form-IV9p7CBQ.js">
215
+ <link rel="modulepreload" crossorigin href="./assets/follow-file-CJlKhusM.js">
216
+ <link rel="modulepreload" crossorigin href="./assets/text-viewer-languages-Cg0FdkAb.js">
217
+ <link rel="modulepreload" crossorigin href="./assets/EditorModeToggle-DsLK07Fd.js">
218
+ <link rel="modulepreload" crossorigin href="./assets/ConfigSharingInfoTooltip-DXfX9VNk.js">
219
+ <link rel="modulepreload" crossorigin href="./assets/project-paths-CQTj3FbI.js">
220
+ <link rel="modulepreload" crossorigin href="./assets/SkillModeBanner-C_1eHet3.js">
221
+ <link rel="modulepreload" crossorigin href="./assets/file-tree-adapter-5NHUF1AU.js">
222
+ <link rel="modulepreload" crossorigin href="./assets/agent-diff-store-sFgLbtZa.js">
223
+ <link rel="modulepreload" crossorigin href="./assets/target-navigation-intent-CS2r1eMb.js">
224
+ <link rel="modulepreload" crossorigin href="./assets/use-live-xterm-theme-sbqUOBNg.js">
225
+ <link rel="modulepreload" crossorigin href="./assets/input-group-pOmI7K9l.js">
226
+ <link rel="modulepreload" crossorigin href="./assets/use-installed-clis-CA__SZ2w.js">
227
+ <link rel="modulepreload" crossorigin href="./assets/use-skill-origin-V3GZkGVc.js">
228
+ <link rel="modulepreload" crossorigin href="./assets/terminal-telemetry-CY2tEm12.js">
229
+ <link rel="modulepreload" crossorigin href="./assets/agent-presence-cKIGljxI.js">
230
+ <link rel="modulepreload" crossorigin href="./assets/auth-prompt-store-DaAbCGBh.js">
231
+ <link rel="modulepreload" crossorigin href="./assets/mcp-consent-store-DZN0FT4T.js">
232
+ <link rel="modulepreload" crossorigin href="./assets/overlay-layers-Dulb79gg.js">
233
+ <link rel="modulepreload" crossorigin href="./assets/receive-store-8JT58I8W.js">
234
+ <link rel="modulepreload" crossorigin href="./assets/timeline-diff-store-Ct1wjBoU.js">
235
+ <link rel="stylesheet" crossorigin href="./assets/globals-DAsZiYWs.css">
235
236
  <link rel="stylesheet" crossorigin href="./assets/DocumentContext-B0sQn39F.css">
236
237
  <link rel="stylesheet" crossorigin href="./assets/index-CDpJ2gXn.css">
237
238
  </head>
@@ -32,12 +32,12 @@
32
32
  script above.
33
33
  -->
34
34
  <style>html { background-color: #fafafa } html.dark { background-color: #171717 }</style>
35
- <script type="module" crossorigin src="./assets/uninstall-COYss8W7.js"></script>
35
+ <script type="module" crossorigin src="./assets/uninstall-CTlK5Oun.js"></script>
36
36
  <link rel="modulepreload" crossorigin href="./assets/chunk-CYidjpOJ.js">
37
- <link rel="modulepreload" crossorigin href="./assets/dist-CpRBr-Ct.js">
37
+ <link rel="modulepreload" crossorigin href="./assets/dist-ByZ-P6Dg.js">
38
38
  <link rel="modulepreload" crossorigin href="./assets/react-f2sANaYj.js">
39
39
  <link rel="modulepreload" crossorigin href="./assets/react-dom-DPxgxlDT.js">
40
- <link rel="modulepreload" crossorigin href="./assets/globals-GZJKYnBt.js">
40
+ <link rel="modulepreload" crossorigin href="./assets/globals-BkB_jgyG.js">
41
41
  <link rel="modulepreload" crossorigin href="./assets/preload-helper-Chd9yIcd.js">
42
42
  <link rel="modulepreload" crossorigin href="./assets/trace-api-DH580DYm.js">
43
43
  <link rel="modulepreload" crossorigin href="./assets/lib-CtlgmvnR.js">
@@ -52,21 +52,21 @@
52
52
  <link rel="modulepreload" crossorigin href="./assets/dist-CR6aO28t.js">
53
53
  <link rel="modulepreload" crossorigin href="./assets/createLucideIcon-BbgVV4EV.js">
54
54
  <link rel="modulepreload" crossorigin href="./assets/check-DLRoQSSY.js">
55
- <link rel="modulepreload" crossorigin href="./assets/minus-CKcpBpdR.js">
55
+ <link rel="modulepreload" crossorigin href="./assets/minus-DzV1Xdva.js">
56
56
  <link rel="modulepreload" crossorigin href="./assets/compiler-runtime-BfE3aGVn.js">
57
57
  <link rel="modulepreload" crossorigin href="./assets/bundle-mjs-SHeFpKGC.js">
58
58
  <link rel="modulepreload" crossorigin href="./assets/utils-CPqDy6Hr.js">
59
- <link rel="modulepreload" crossorigin href="./assets/checkbox-DqQC4GOw.js">
59
+ <link rel="modulepreload" crossorigin href="./assets/checkbox-k5Do5hry.js">
60
60
  <link rel="modulepreload" crossorigin href="./assets/label-BT2yjpKR.js">
61
61
  <link rel="modulepreload" crossorigin href="./assets/dist-By2lAhKX.js">
62
62
  <link rel="modulepreload" crossorigin href="./assets/dist-DMj9iIHH.js">
63
63
  <link rel="modulepreload" crossorigin href="./assets/radio-group-CmCnommQ.js">
64
64
  <link rel="modulepreload" crossorigin href="./assets/button-RQ5o7P7w.js">
65
- <link rel="modulepreload" crossorigin href="./assets/loader-circle-B0OUuKph.js">
66
- <link rel="modulepreload" crossorigin href="./assets/badge-CnYDYmI5.js">
67
- <link rel="modulepreload" crossorigin href="./assets/input-CtKG6a5B.js">
68
- <link rel="modulepreload" crossorigin href="./assets/textarea-CUVLEZhx.js">
69
- <link rel="stylesheet" crossorigin href="./assets/globals-Bl3fKb9V.css">
65
+ <link rel="modulepreload" crossorigin href="./assets/loader-circle-DIKwidm8.js">
66
+ <link rel="modulepreload" crossorigin href="./assets/badge-CBU6CQBJ.js">
67
+ <link rel="modulepreload" crossorigin href="./assets/input-FE6wkApb.js">
68
+ <link rel="modulepreload" crossorigin href="./assets/textarea-Do-HJCDs.js">
69
+ <link rel="stylesheet" crossorigin href="./assets/globals-DAsZiYWs.css">
70
70
  </head>
71
71
 
72
72
  <body class="antialiased">
@@ -1,2 +1,2 @@
1
- import{t as e}from"./launch-json-removal-CZdh_dcS.mjs";import{join as t}from"node:path";function n(n){let i=n.logger??r,a=t(n.projectDir,`.claude`,`launch.json`);if(n.reclaimDisableEnv===`1`)return i({event:`launch-json-repair-skipped`,reason:`reclaim-disabled`}),{outcome:{configPath:a,outcome:`skipped-reclaim-disabled`},repairedCount:0};let o;try{o=e(n.projectDir)}catch(e){let t=e instanceof Error?e.message:String(e);return i({event:`launch-json-repair-write-failed`,configPath:a}),{outcome:{configPath:a,outcome:`write-failed`,error:t},repairedCount:0}}let s=o.kind===`removed`||o.kind===`removed-file`;return s&&i({event:`launch-json-repair-removed`,configPath:a}),{outcome:{configPath:a,outcome:o.kind},repairedCount:+!!s}}function r(e){process.stderr.write(`${JSON.stringify(e)}\n`)}export{n as repairLaunchJson};
2
- //# sourceMappingURL=repair-launch-json-CAh3ejoL.mjs.map
1
+ import{t as e}from"./launch-json-removal-CMu6q22x.mjs";import{join as t}from"node:path";function n(n){let i=n.logger??r,a=t(n.projectDir,`.claude`,`launch.json`);if(n.reclaimDisableEnv===`1`)return i({event:`launch-json-repair-skipped`,reason:`reclaim-disabled`}),{outcome:{configPath:a,outcome:`skipped-reclaim-disabled`},repairedCount:0};let o;try{o=e(n.projectDir)}catch(e){let t=e instanceof Error?e.message:String(e);return i({event:`launch-json-repair-write-failed`,configPath:a}),{outcome:{configPath:a,outcome:`write-failed`,error:t},repairedCount:0}}let s=o.kind===`removed`||o.kind===`removed-file`;return s&&i({event:`launch-json-repair-removed`,configPath:a}),{outcome:{configPath:a,outcome:o.kind},repairedCount:+!!s}}function r(e){process.stderr.write(`${JSON.stringify(e)}\n`)}export{n as repairLaunchJson};
2
+ //# sourceMappingURL=repair-launch-json-B6W8GS1I.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e,g as t,s as n}from"./write-project-skill-Dp0YYiKp.mjs";import{d as r,v as i}from"./init-CxtnkaqG.mjs";import{t as a}from"./mcp-migrate-event-B1gJf6bG.mjs";import{homedir as o}from"node:os";function s(t){let r=t.logger??u,i=t.home??o(),a=[];if(t.reclaimDisableEnv===`1`)return r({event:`mcp-config-repair-skipped`,reason:`reclaim-disabled`}),{outcomes:a,repairedCount:0};for(let o of e){let e=n[o],s=c(()=>e.configPath(``,i));if(s!==null&&a.push(l({scope:`user`,editorId:o,target:e,home:i,cwd:``,configPath:s,configPathOverride:void 0,logger:r})),e.projectConfigPath){let n=e.projectConfigPath,i=c(()=>n(t.projectDir));i!==null&&a.push(l({scope:`project`,editorId:o,target:e,home:void 0,cwd:t.projectDir,configPath:i,configPathOverride:i,logger:r}))}}return{outcomes:a,repairedCount:a.filter(e=>e.outcome===`repaired`).length}}function c(e){try{return e()}catch{return null}}function l(e){let n={scope:e.scope,editorId:e.editorId,configPath:e.configPath},o=r(e.target,e.cwd,e.home,e.configPathOverride);if(o===null)return{...n,outcome:`no-entry`};if(t(o))return{...n,outcome:`canonical`};e.logger(a({scope:e.scope,surface:`cli-repair`,editorId:e.editorId,configPath:e.configPath,priorEntry:o}));let s=i(e.target,e.cwd,{mode:`published`,skipAvailabilityCheck:!0},e.home,e.configPathOverride);if(s.action===`failed`){let t=s.error??`unknown write failure`;return e.logger({event:`mcp-config-repair-write-failed`,scope:e.scope,editorId:e.editorId,configPath:e.configPath,error:t}),{...n,outcome:`write-failed`,error:t}}return s.action===`declined`?(e.logger({event:`mcp-config-repair-declined`,scope:e.scope,editorId:e.editorId,configPath:e.configPath,reason:s.declineReason}),{...n,outcome:`declined`}):{...n,outcome:`repaired`}}function u(e){process.stderr.write(`${JSON.stringify(e)}\n`)}export{s as repairMcpConfigs};
2
- //# sourceMappingURL=repair-mcp-configs-BNKw8yub.mjs.map
1
+ import{a as e,g as t,s as n}from"./write-project-skill-DuGbv8Sv.mjs";import{d as r,v as i}from"./init-BcJW1pN_.mjs";import{t as a}from"./mcp-migrate-event-B1gJf6bG.mjs";import{homedir as o}from"node:os";function s(t){let r=t.logger??u,i=t.home??o(),a=[];if(t.reclaimDisableEnv===`1`)return r({event:`mcp-config-repair-skipped`,reason:`reclaim-disabled`}),{outcomes:a,repairedCount:0};for(let o of e){let e=n[o],s=c(()=>e.configPath(``,i));if(s!==null&&a.push(l({scope:`user`,editorId:o,target:e,home:i,cwd:``,configPath:s,configPathOverride:void 0,logger:r})),e.projectConfigPath){let n=e.projectConfigPath,i=c(()=>n(t.projectDir));i!==null&&a.push(l({scope:`project`,editorId:o,target:e,home:void 0,cwd:t.projectDir,configPath:i,configPathOverride:i,logger:r}))}}return{outcomes:a,repairedCount:a.filter(e=>e.outcome===`repaired`).length}}function c(e){try{return e()}catch{return null}}function l(e){let n={scope:e.scope,editorId:e.editorId,configPath:e.configPath},o=r(e.target,e.cwd,e.home,e.configPathOverride);if(o===null)return{...n,outcome:`no-entry`};if(t(o))return{...n,outcome:`canonical`};e.logger(a({scope:e.scope,surface:`cli-repair`,editorId:e.editorId,configPath:e.configPath,priorEntry:o}));let s=i(e.target,e.cwd,{mode:`published`,skipAvailabilityCheck:!0},e.home,e.configPathOverride);if(s.action===`failed`){let t=s.error??`unknown write failure`;return e.logger({event:`mcp-config-repair-write-failed`,scope:e.scope,editorId:e.editorId,configPath:e.configPath,error:t}),{...n,outcome:`write-failed`,error:t}}return s.action===`declined`?(e.logger({event:`mcp-config-repair-declined`,scope:e.scope,editorId:e.editorId,configPath:e.configPath,reason:s.declineReason}),{...n,outcome:`declined`}):{...n,outcome:`repaired`}}function u(e){process.stderr.write(`${JSON.stringify(e)}\n`)}export{s as repairMcpConfigs};
2
+ //# sourceMappingURL=repair-mcp-configs-DxtNHw8M.mjs.map
@@ -1,4 +1,4 @@
1
- import{z as e}from"./src-1Bl34H5k.mjs";import{ar as t,br as n,dr as r,gr as i,lr as a,mr as o,or as s,ur as c,xr as l}from"./src-FnNqthYf.mjs";import{c as u,s as d,t as f,x as p}from"./write-project-skill-Dp0YYiKp.mjs";import{n as m,s as h,t as g}from"./colors-BsmVIwfM.mjs";import{n as _,r as v,t as y}from"./skill-teardown-Csh2gkan.mjs";import{dirname as b,join as x,relative as S,resolve as C}from"node:path";import{existsSync as w,mkdirSync as T,readFileSync as E,readdirSync as D,rmSync as O,statSync as k,writeFileSync as A}from"node:fs";import{homedir as j}from"node:os";import{createInterface as M}from"node:readline/promises";const N={existsSync:e=>w(e),isDirectory:e=>{try{return k(e).isDirectory()}catch(e){if(e.code===`ENOENT`)return!1;throw e}},readdirSync:e=>D(e),readFileSync:e=>E(e),writeFileSync:(e,t)=>{A(e,t)},mkdirSync:(e,t)=>{T(e,t)},rmSync:(e,t)=>{O(e,t)}},P={resolveProjectBundledSkillDir:()=>i(`project`,{checkDesktop:!1}),resolveUserBundledSkillDir:e=>i(e,{checkDesktop:!1}),readBundledVersion:()=>s(),readRecordedVersion:e=>a(e,`cli-hosts`),writeRecordedVersion:(e,t)=>r(e,`cli-hosts`,t,`cli-start`),recordEvent:e=>o(e),readBundleDecision:(e,n)=>t(e,n),writeBundleDecision:(e,t,n)=>c(e,t,n),removeBundleFromDisk:(e,t)=>v(e,t)};function F(e){process.stderr.write(`${JSON.stringify(e)}\n`)}function I(e,t,n){n.rmSync(t,{recursive:!0,force:!0}),n.mkdirSync(b(t),{recursive:!0}),L(e,t,n)}function L(e,t,n){n.mkdirSync(t,{recursive:!0});for(let r of n.readdirSync(e)){let i=x(e,r),a=x(t,r);n.isDirectory(i)?L(i,a,n):n.writeFileSync(a,n.readFileSync(i))}}function R(e,t,n,r,i,a){let o=[],s=x(e,`.agents`,`skills`,t),c=!1;if(r.existsSync(s))o.push({kind:`central`,path:s,outcome:`skipped-present`});else try{I(n,s,r),c=!0,o.push({kind:`central`,path:s,outcome:`written`}),i({event:`user-skill-reclaim-central-written`,scope:`user`,path:s,preexisting:!1,version:a})}catch(e){let t=e instanceof Error?e.message:String(e);o.push({kind:`central`,path:s,outcome:`failed`,error:t}),i({event:`user-skill-reclaim-central-failed`,scope:`user`,path:s,error:t})}for(let c of u){let l=x(e,c.hostDir),u=x(l,`skills`,t);if(u===s){o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`skipped-collapsed-with-central`});continue}if(!r.existsSync(l)){o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`skipped-host-absent`});continue}if(r.existsSync(u)){o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`skipped-present`});continue}try{I(n,u,r),o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`written`}),i({event:`user-skill-reclaim-host-written`,scope:`user`,editorId:c.editorId,hostDir:c.hostDir,path:u,preexisting:!1,version:a})}catch(e){let t=e instanceof Error?e.message:String(e);o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`failed`,error:t}),i({event:`user-skill-reclaim-host-failed`,scope:`user`,editorId:c.editorId,hostDir:c.hostDir,path:u,error:t})}}return{entries:o,centralWritten:c}}function z(e,t){if(!e)return!1;try{return t.existsSync(e)?t.readFileSync(e).toString(`utf8`).includes(`# ok-mcp-`):!1}catch{return!1}}function B(e,t,n,r){let i;try{i=t.resolveProjectBundledSkillDir()}catch(e){return r({event:`project-skill-reclaim-bundle-missing`,scope:`project`,error:e instanceof Error?e.message:String(e)}),{outcome:`skipped`,reason:`bundle-missing`}}let a=[];for(let t of u){let o=x(e,t.hostDir,`skills`,`open-knowledge`),s=x(o,`SKILL.md`);if(n.existsSync(s)){a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`present`});continue}let c=d[t.editorId]?.projectConfigPath?.(e);if(!z(c,n)){a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`no-token`}),r({event:`project-skill-reclaim-no-token`,scope:`project`,editorId:t.editorId,path:o});continue}try{f(o,e),I(i,o,n),a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`created`}),r({event:`project-skill-reclaim-created`,scope:`project`,editorId:t.editorId,path:o})}catch(e){let n=e instanceof Error?e.message:String(e);a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`failed`,error:n}),r({event:`project-skill-reclaim-failed`,scope:`project`,editorId:t.editorId,path:o,error:n})}}return{outcome:`done`,entries:a}}async function V(t,r,i,a){let o=e=>{r.recordEvent(e).catch(()=>{})},s=()=>new Date().toISOString(),c;try{c=await r.readBundledVersion()}catch(e){let t=e instanceof Error?e.message:String(e);return a({event:`user-skill-reclaim-version-read-failed`,scope:`user`,error:t}),o({ts:s(),surface:`cli-start`,target:`cli-hosts`,bundle:`discovery`,outcome:`failed`,reason:`version-read-failed:${t}`}),{outcome:`skipped`,reason:`version-read-failed`}}let u;try{u=await r.readRecordedVersion(t)}catch(e){a({event:`user-skill-reclaim-version-read-error`,scope:`user`,error:e instanceof Error?e.message:String(e)}),u=null}let d=[],f=null;for(let e of l)try{d.push({id:e,sourceDir:r.resolveUserBundledSkillDir(e)})}catch(e){f=e instanceof Error?e.message:String(e)}if(d.length===0)return a({event:`user-skill-reclaim-bundle-missing`,scope:`user`,error:f??`no user-global bundles`}),o({ts:s(),surface:`cli-start`,target:`cli-hosts`,outcome:`failed`,reason:`bundle-missing:${f}`}),{outcome:`skipped`,reason:`bundle-missing`};let p=[];for(let o of d){let s=n[o.id],c=i.existsSync(x(t,`.agents`,`skills`,s)),l=await r.readBundleDecision(t,s).catch(()=>null);if(!e(l,{installedOnDisk:c})){if(c)try{r.removeBundleFromDisk(t,o.id),a({event:`user-skill-reclaim-bundle-declined-removed`,scope:`user`,bundle:o.id})}catch(e){a({event:`user-skill-reclaim-bundle-remove-failed`,scope:`user`,bundle:o.id,error:e instanceof Error?e.message:String(e)})}continue}if(l===null&&c)try{await r.writeBundleDecision(t,s,!0)}catch(e){a({event:`user-skill-reclaim-grandfather-write-failed`,scope:`user`,bundle:o.id,error:e instanceof Error?e.message:String(e)})}p.push(o)}if(p.length===0)return{outcome:`skipped`,reason:`all-bundles-declined`};let m=p.every(e=>i.existsSync(x(t,`.agents`,`skills`,n[e.id])));if(u!==null&&u===c&&m)return a({event:`user-skill-reclaim-skipped-version-current`,scope:`user`,version:c}),{outcome:`skipped`,reason:`version-current`};let h=[],g=d.length===l.length,_=[];for(let{id:e,sourceDir:r}of p){let o=R(t,n[e],r,i,a,c);h.push(...o.entries),_.push({id:e,centralWritten:o.centralWritten})}let v=h.some(e=>e.kind===`central`&&e.outcome===`failed`);if(g&&!v){let e=null;try{await r.writeRecordedVersion(t,c),a({event:`user-skill-reclaim-version-recorded`,scope:`user`,version:c})}catch(t){e=t instanceof Error?t.message:String(t),a({event:`user-skill-reclaim-version-record-failed`,scope:`user`,version:c,error:e})}for(let{id:t,centralWritten:n}of _)o({ts:s(),surface:`cli-start`,target:`cli-hosts`,bundle:t,outcome:e===null?n?`installed`:`skip-current`:`failed`,version:c,...e===null?{}:{reason:`state-write-failed:${e}`}})}else{let e=h.some(e=>e.kind===`host`&&e.outcome===`failed`);o({ts:s(),surface:`cli-start`,target:`cli-hosts`,outcome:`failed`,version:c,reason:g?e?`all-writes-failed`:`central-write-failed`:`bundle-unresolved`})}return{outcome:`done`,version:c,entries:h}}async function H(e){let t=e.logger??F,n=e.fs??N,r=e.home??j(),i={...P,...e.deps};if(e.reclaimDisableEnv===`1`)return t({event:`skill-repair-skipped`,reason:`reclaim-disabled`}),{status:`skipped`,reason:`reclaim-disabled`};let a=B(e.projectDir,i,n,t),o=await V(r,i,n,t),s=_(r),c=[],l=!1,u=!1;if(s.skillDirs.length>0||s.emptyDirs.length>0)if(e.confirmLegacyCleanup&&await e.confirmLegacyCleanup(s)){try{c=y(r,s)}catch(e){u=!0,t({event:`legacy-fanout-cleanup-refused`,scope:`user`,error:e instanceof Error?e.message:String(e)})}for(let e of c)t({event:`legacy-fanout-path-removed`,scope:`user`,path:e})}else l=!0,t({event:`legacy-fanout-cleanup-declined`,scope:`user`});return{status:`done`,project:a,user:o,legacySwept:c,legacyCleanupDeclined:l,legacyCleanupFailed:u}}function U(e){return e.status===`skipped`?e.reason===`reclaim-disabled`?0:1:e.project.outcome===`skipped`||e.user.outcome===`skipped`&&e.user.reason!==`version-current`&&e.user.reason!==`all-bundles-declined`||e.project.entries.some(e=>e.outcome===`failed`)||e.user.outcome===`done`&&e.user.entries.some(e=>e.outcome===`failed`)?1:0}function W(e){if(e.status===`skipped`)return`Skipped: ${e.reason}`;let t=[`Skill reclaim complete.`];if(e.project.outcome===`done`){let n=e.project.entries.filter(e=>e.outcome===`present`).length,r=e.project.entries.filter(e=>e.outcome===`created`).length,i=e.project.entries.filter(e=>e.outcome===`no-token`).length,a=e.project.entries.filter(e=>e.outcome===`failed`).length;t.push(` Project: ${n} present, ${r} created, ${i} no-token, ${a} failed.`)}else t.push(` Project: skipped (${e.project.reason}).`);if(e.user.outcome===`done`){let n=e.user.entries.filter(e=>e.outcome===`written`).length,r=e.user.entries.filter(e=>e.outcome===`skipped-present`).length,i=e.user.entries.filter(e=>e.outcome===`skipped-host-absent`||e.outcome===`skipped-collapsed-with-central`).length,a=e.user.entries.filter(e=>e.outcome===`failed`).length;t.push(` User (${e.user.version}): ${n} written, ${r} present, ${i} skipped, ${a} failed.`)}else t.push(` User: skipped (${e.user.reason}).`);return e.legacySwept.length>0?t.push(` Cleanup: removed ${e.legacySwept.length} path(s) from a pre-0.42 install.`):e.legacyCleanupFailed?t.push(` Cleanup: failed — see logs; pre-0.42 directories left in place.`):e.legacyCleanupDeclined&&t.push(` Cleanup: declined — pre-0.42 directories left in place.`),t.join(`
1
+ import{z as e}from"./src-1Bl34H5k.mjs";import{ar as t,br as n,dr as r,gr as i,lr as a,mr as o,or as s,ur as c,xr as l}from"./src-DnjBaD3J.mjs";import{c as u,s as d,t as f,x as p}from"./write-project-skill-DuGbv8Sv.mjs";import{n as m,s as h,t as g}from"./colors-BsmVIwfM.mjs";import{n as _,r as v,t as y}from"./skill-teardown-exqrf3fF.mjs";import{dirname as b,join as x,relative as S,resolve as C}from"node:path";import{existsSync as w,mkdirSync as T,readFileSync as E,readdirSync as D,rmSync as O,statSync as k,writeFileSync as A}from"node:fs";import{homedir as j}from"node:os";import{createInterface as M}from"node:readline/promises";const N={existsSync:e=>w(e),isDirectory:e=>{try{return k(e).isDirectory()}catch(e){if(e.code===`ENOENT`)return!1;throw e}},readdirSync:e=>D(e),readFileSync:e=>E(e),writeFileSync:(e,t)=>{A(e,t)},mkdirSync:(e,t)=>{T(e,t)},rmSync:(e,t)=>{O(e,t)}},P={resolveProjectBundledSkillDir:()=>i(`project`,{checkDesktop:!1}),resolveUserBundledSkillDir:e=>i(e,{checkDesktop:!1}),readBundledVersion:()=>s(),readRecordedVersion:e=>a(e,`cli-hosts`),writeRecordedVersion:(e,t)=>r(e,`cli-hosts`,t,`cli-start`),recordEvent:e=>o(e),readBundleDecision:(e,n)=>t(e,n),writeBundleDecision:(e,t,n)=>c(e,t,n),removeBundleFromDisk:(e,t)=>v(e,t)};function F(e){process.stderr.write(`${JSON.stringify(e)}\n`)}function I(e,t,n){n.rmSync(t,{recursive:!0,force:!0}),n.mkdirSync(b(t),{recursive:!0}),L(e,t,n)}function L(e,t,n){n.mkdirSync(t,{recursive:!0});for(let r of n.readdirSync(e)){let i=x(e,r),a=x(t,r);n.isDirectory(i)?L(i,a,n):n.writeFileSync(a,n.readFileSync(i))}}function R(e,t,n,r,i,a){let o=[],s=x(e,`.agents`,`skills`,t),c=!1;if(r.existsSync(s))o.push({kind:`central`,path:s,outcome:`skipped-present`});else try{I(n,s,r),c=!0,o.push({kind:`central`,path:s,outcome:`written`}),i({event:`user-skill-reclaim-central-written`,scope:`user`,path:s,preexisting:!1,version:a})}catch(e){let t=e instanceof Error?e.message:String(e);o.push({kind:`central`,path:s,outcome:`failed`,error:t}),i({event:`user-skill-reclaim-central-failed`,scope:`user`,path:s,error:t})}for(let c of u){let l=x(e,c.hostDir),u=x(l,`skills`,t);if(u===s){o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`skipped-collapsed-with-central`});continue}if(!r.existsSync(l)){o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`skipped-host-absent`});continue}if(r.existsSync(u)){o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`skipped-present`});continue}try{I(n,u,r),o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`written`}),i({event:`user-skill-reclaim-host-written`,scope:`user`,editorId:c.editorId,hostDir:c.hostDir,path:u,preexisting:!1,version:a})}catch(e){let t=e instanceof Error?e.message:String(e);o.push({kind:`host`,editorId:c.editorId,hostDir:c.hostDir,path:u,outcome:`failed`,error:t}),i({event:`user-skill-reclaim-host-failed`,scope:`user`,editorId:c.editorId,hostDir:c.hostDir,path:u,error:t})}}return{entries:o,centralWritten:c}}function z(e,t){if(!e)return!1;try{return t.existsSync(e)?t.readFileSync(e).toString(`utf8`).includes(`# ok-mcp-`):!1}catch{return!1}}function B(e,t,n,r){let i;try{i=t.resolveProjectBundledSkillDir()}catch(e){return r({event:`project-skill-reclaim-bundle-missing`,scope:`project`,error:e instanceof Error?e.message:String(e)}),{outcome:`skipped`,reason:`bundle-missing`}}let a=[];for(let t of u){let o=x(e,t.hostDir,`skills`,`open-knowledge`),s=x(o,`SKILL.md`);if(n.existsSync(s)){a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`present`});continue}let c=d[t.editorId]?.projectConfigPath?.(e);if(!z(c,n)){a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`no-token`}),r({event:`project-skill-reclaim-no-token`,scope:`project`,editorId:t.editorId,path:o});continue}try{f(o,e),I(i,o,n),a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`created`}),r({event:`project-skill-reclaim-created`,scope:`project`,editorId:t.editorId,path:o})}catch(e){let n=e instanceof Error?e.message:String(e);a.push({editorId:t.editorId,hostDir:t.hostDir,path:o,outcome:`failed`,error:n}),r({event:`project-skill-reclaim-failed`,scope:`project`,editorId:t.editorId,path:o,error:n})}}return{outcome:`done`,entries:a}}async function V(t,r,i,a){let o=e=>{r.recordEvent(e).catch(()=>{})},s=()=>new Date().toISOString(),c;try{c=await r.readBundledVersion()}catch(e){let t=e instanceof Error?e.message:String(e);return a({event:`user-skill-reclaim-version-read-failed`,scope:`user`,error:t}),o({ts:s(),surface:`cli-start`,target:`cli-hosts`,bundle:`discovery`,outcome:`failed`,reason:`version-read-failed:${t}`}),{outcome:`skipped`,reason:`version-read-failed`}}let u;try{u=await r.readRecordedVersion(t)}catch(e){a({event:`user-skill-reclaim-version-read-error`,scope:`user`,error:e instanceof Error?e.message:String(e)}),u=null}let d=[],f=null;for(let e of l)try{d.push({id:e,sourceDir:r.resolveUserBundledSkillDir(e)})}catch(e){f=e instanceof Error?e.message:String(e)}if(d.length===0)return a({event:`user-skill-reclaim-bundle-missing`,scope:`user`,error:f??`no user-global bundles`}),o({ts:s(),surface:`cli-start`,target:`cli-hosts`,outcome:`failed`,reason:`bundle-missing:${f}`}),{outcome:`skipped`,reason:`bundle-missing`};let p=[];for(let o of d){let s=n[o.id],c=i.existsSync(x(t,`.agents`,`skills`,s)),l=await r.readBundleDecision(t,s).catch(()=>null);if(!e(l,{installedOnDisk:c})){if(c)try{r.removeBundleFromDisk(t,o.id),a({event:`user-skill-reclaim-bundle-declined-removed`,scope:`user`,bundle:o.id})}catch(e){a({event:`user-skill-reclaim-bundle-remove-failed`,scope:`user`,bundle:o.id,error:e instanceof Error?e.message:String(e)})}continue}if(l===null&&c)try{await r.writeBundleDecision(t,s,!0)}catch(e){a({event:`user-skill-reclaim-grandfather-write-failed`,scope:`user`,bundle:o.id,error:e instanceof Error?e.message:String(e)})}p.push(o)}if(p.length===0)return{outcome:`skipped`,reason:`all-bundles-declined`};let m=p.every(e=>i.existsSync(x(t,`.agents`,`skills`,n[e.id])));if(u!==null&&u===c&&m)return a({event:`user-skill-reclaim-skipped-version-current`,scope:`user`,version:c}),{outcome:`skipped`,reason:`version-current`};let h=[],g=d.length===l.length,_=[];for(let{id:e,sourceDir:r}of p){let o=R(t,n[e],r,i,a,c);h.push(...o.entries),_.push({id:e,centralWritten:o.centralWritten})}let v=h.some(e=>e.kind===`central`&&e.outcome===`failed`);if(g&&!v){let e=null;try{await r.writeRecordedVersion(t,c),a({event:`user-skill-reclaim-version-recorded`,scope:`user`,version:c})}catch(t){e=t instanceof Error?t.message:String(t),a({event:`user-skill-reclaim-version-record-failed`,scope:`user`,version:c,error:e})}for(let{id:t,centralWritten:n}of _)o({ts:s(),surface:`cli-start`,target:`cli-hosts`,bundle:t,outcome:e===null?n?`installed`:`skip-current`:`failed`,version:c,...e===null?{}:{reason:`state-write-failed:${e}`}})}else{let e=h.some(e=>e.kind===`host`&&e.outcome===`failed`);o({ts:s(),surface:`cli-start`,target:`cli-hosts`,outcome:`failed`,version:c,reason:g?e?`all-writes-failed`:`central-write-failed`:`bundle-unresolved`})}return{outcome:`done`,version:c,entries:h}}async function H(e){let t=e.logger??F,n=e.fs??N,r=e.home??j(),i={...P,...e.deps};if(e.reclaimDisableEnv===`1`)return t({event:`skill-repair-skipped`,reason:`reclaim-disabled`}),{status:`skipped`,reason:`reclaim-disabled`};let a=B(e.projectDir,i,n,t),o=await V(r,i,n,t),s=_(r),c=[],l=!1,u=!1;if(s.skillDirs.length>0||s.emptyDirs.length>0)if(e.confirmLegacyCleanup&&await e.confirmLegacyCleanup(s)){try{c=y(r,s)}catch(e){u=!0,t({event:`legacy-fanout-cleanup-refused`,scope:`user`,error:e instanceof Error?e.message:String(e)})}for(let e of c)t({event:`legacy-fanout-path-removed`,scope:`user`,path:e})}else l=!0,t({event:`legacy-fanout-cleanup-declined`,scope:`user`});return{status:`done`,project:a,user:o,legacySwept:c,legacyCleanupDeclined:l,legacyCleanupFailed:u}}function U(e){return e.status===`skipped`?e.reason===`reclaim-disabled`?0:1:e.project.outcome===`skipped`||e.user.outcome===`skipped`&&e.user.reason!==`version-current`&&e.user.reason!==`all-bundles-declined`||e.project.entries.some(e=>e.outcome===`failed`)||e.user.outcome===`done`&&e.user.entries.some(e=>e.outcome===`failed`)?1:0}function W(e){if(e.status===`skipped`)return`Skipped: ${e.reason}`;let t=[`Skill reclaim complete.`];if(e.project.outcome===`done`){let n=e.project.entries.filter(e=>e.outcome===`present`).length,r=e.project.entries.filter(e=>e.outcome===`created`).length,i=e.project.entries.filter(e=>e.outcome===`no-token`).length,a=e.project.entries.filter(e=>e.outcome===`failed`).length;t.push(` Project: ${n} present, ${r} created, ${i} no-token, ${a} failed.`)}else t.push(` Project: skipped (${e.project.reason}).`);if(e.user.outcome===`done`){let n=e.user.entries.filter(e=>e.outcome===`written`).length,r=e.user.entries.filter(e=>e.outcome===`skipped-present`).length,i=e.user.entries.filter(e=>e.outcome===`skipped-host-absent`||e.outcome===`skipped-collapsed-with-central`).length,a=e.user.entries.filter(e=>e.outcome===`failed`).length;t.push(` User (${e.user.version}): ${n} written, ${r} present, ${i} skipped, ${a} failed.`)}else t.push(` User: skipped (${e.user.reason}).`);return e.legacySwept.length>0?t.push(` Cleanup: removed ${e.legacySwept.length} path(s) from a pre-0.42 install.`):e.legacyCleanupFailed?t.push(` Cleanup: failed — see logs; pre-0.42 directories left in place.`):e.legacyCleanupDeclined&&t.push(` Cleanup: declined — pre-0.42 directories left in place.`),t.join(`
2
2
  `)}function G(){return new p(`repair-skills`).description("Refresh bundled SKILL.md files for installed AI editors (project-local + user-global). Runs automatically during `ok start`; this command forces an explicit sweep.").option(`-y, --yes`,`Skip the confirmation prompt for removing directories left by a pre-0.42 install.`).action(async e=>{let t=await H({projectDir:C(process.cwd()),reclaimDisableEnv:process.env.OK_RECLAIM_DISABLE??null,confirmLegacyCleanup:t=>K(t,{yes:e.yes===!0})});process.stdout.write(`${W(t)}\n`),process.exitCode=U(t)})}async function K(e,t){let n=j(),r=e=>`~/${S(n,e)}`,i=t.input??process.stdin,a=[``,g(`A previous version of OpenKnowledge installed its skill into agent tools you may never have used.`),m(`(Versions before 0.42 wrote to every host a third-party installer knew about — see issue #820.)`)];if(e.skillDirs.length>0&&a.push(``,`${g(`Remove OpenKnowledge skills:`)} ${e.skillDirs.length}`,...e.skillDirs.map(e=>` ${r(e)}`)),e.emptyDirs.length>0){let t=e.skillDirs.length>0?`Then remove these, which hold nothing else once the above are gone:`:`Remove these empty directories, left behind by that install:`;a.push(``,`${g(t)} ${e.emptyDirs.length}`,...e.emptyDirs.map(e=>` ${r(e)}`))}if(a.push(``,m(`Nothing outside these paths is touched. A directory that still holds anything is kept.`)),process.stdout.write(`${a.join(`
3
3
  `)}\n`),t.yes)return!0;if(!i.isTTY)return process.stdout.write(`${h("Not a terminal — skipping cleanup. Re-run with `ok repair-skills --yes` to remove these.")}\n`),!1;let o=M({input:i,output:process.stdout});try{let e=(await o.question(`\n${g(`Remove them?`)} ${m(`[y/N] `)}`)).trim().toLowerCase();return e===`y`||e===`yes`}finally{o.close()}}export{G as n,H as t};
4
- //# sourceMappingURL=repair-skills-Cj6J23RY.mjs.map
4
+ //# sourceMappingURL=repair-skills-BfSKnUWU.mjs.map
@@ -0,0 +1 @@
1
+ import{t as e}from"./repair-skills-BfSKnUWU.mjs";export{e as repairSkills};
@@ -1,2 +1,2 @@
1
- import{br as e,xr as t}from"./src-FnNqthYf.mjs";import{c as n}from"./write-project-skill-Dp0YYiKp.mjs";import{dirname as r,isAbsolute as i,join as a,relative as o,resolve as s,sep as c}from"node:path";import{existsSync as l,lstatSync as u,readdirSync as d,rmSync as f,rmdirSync as p}from"node:fs";const m=[{hostDir:`.adal`,pruneRoot:`.adal`},{hostDir:`.aider-desk`,pruneRoot:`.aider-desk`},{hostDir:`.astrbot/data`,pruneRoot:`.astrbot`},{hostDir:`.augment`,pruneRoot:`.augment`},{hostDir:`.autohand`,pruneRoot:`.autohand`},{hostDir:`.bob`,pruneRoot:`.bob`},{hostDir:`.codeartsdoer`,pruneRoot:`.codeartsdoer`},{hostDir:`.codebuddy`,pruneRoot:`.codebuddy`},{hostDir:`.codeium/windsurf`,pruneRoot:`.codeium`},{hostDir:`.codemaker`,pruneRoot:`.codemaker`},{hostDir:`.codestudio`,pruneRoot:`.codestudio`},{hostDir:`.commandcode`,pruneRoot:`.commandcode`},{hostDir:`.config/crush`,pruneRoot:`.config/crush`},{hostDir:`.config/devin`,pruneRoot:`.config/devin`},{hostDir:`.config/goose`,pruneRoot:`.config/goose`},{hostDir:`.config/kimchi/harness`,pruneRoot:`.config/kimchi`},{hostDir:`.continue`,pruneRoot:`.continue`},{hostDir:`.factory`,pruneRoot:`.factory`},{hostDir:`.forge`,pruneRoot:`.forge`},{hostDir:`.grok`,pruneRoot:`.grok`},{hostDir:`.iflow`,pruneRoot:`.iflow`},{hostDir:`.inferencesh`,pruneRoot:`.inferencesh`},{hostDir:`.jazz`,pruneRoot:`.jazz`},{hostDir:`.junie`,pruneRoot:`.junie`},{hostDir:`.kilocode`,pruneRoot:`.kilocode`},{hostDir:`.kiro`,pruneRoot:`.kiro`},{hostDir:`.kode`,pruneRoot:`.kode`},{hostDir:`.lingma`,pruneRoot:`.lingma`},{hostDir:`.mcpjam`,pruneRoot:`.mcpjam`},{hostDir:`.moxby`,pruneRoot:`.moxby`},{hostDir:`.mux`,pruneRoot:`.mux`},{hostDir:`.neovate`,pruneRoot:`.neovate`},{hostDir:`.ona`,pruneRoot:`.ona`},{hostDir:`.openhands`,pruneRoot:`.openhands`},{hostDir:`.pochi`,pruneRoot:`.pochi`},{hostDir:`.qoder`,pruneRoot:`.qoder`},{hostDir:`.qoder-cn`,pruneRoot:`.qoder-cn`},{hostDir:`.qwen`,pruneRoot:`.qwen`},{hostDir:`.reasonix`,pruneRoot:`.reasonix`},{hostDir:`.roo`,pruneRoot:`.roo`},{hostDir:`.rovodev`,pruneRoot:`.rovodev`},{hostDir:`.snowflake/cortex`,pruneRoot:`.snowflake`},{hostDir:`.tabnine/agent`,pruneRoot:`.tabnine`},{hostDir:`.terramind`,pruneRoot:`.terramind`},{hostDir:`.tinycloud`,pruneRoot:`.tinycloud`},{hostDir:`.trae`,pruneRoot:`.trae`},{hostDir:`.trae-cn`,pruneRoot:`.trae-cn`},{hostDir:`.vibe`,pruneRoot:`.vibe`},{hostDir:`.zcode`,pruneRoot:`.zcode`},{hostDir:`.zencoder`,pruneRoot:`.zencoder`}],h=[...t.map(t=>e[t]),`open-knowledge`];function g(e){if(!i(e))throw Error(`skill cleanup requires an absolute home directory; got ${JSON.stringify(e)}`);let t=s(e);if(t===c||r(t)===t)throw Error(`skill cleanup refuses to operate on the filesystem root (${t})`);return t}function _(e,t){let n=o(e,t);if(n.startsWith(`..`)||i(n))return!1;let r=e;for(let e of n.split(c)){r=a(r,e);try{if(!u(r).isDirectory())return!1}catch{return!1}}return!0}function v(e,t){try{return d(e).every(n=>t.has(a(e,n)))}catch{return!1}}function y(e){let t=g(e),n=[],i=[],o=new Set;for(let e of m){let s=a(t,e.hostDir,`skills`);if(!_(t,s))continue;let u=h.map(e=>a(s,e)).filter(e=>l(e));n.push(...u);for(let e of u)o.add(e);let d=a(t,e.pruneRoot),f=s;for(;v(f,o)&&(i.push(f),o.add(f),f!==d);){let e=r(f);if(e===f||e===t||!e.startsWith(t+c))break;f=e}}return{skillDirs:n,emptyDirs:i}}function b(e){try{if(!u(e).isDirectory())return!1;let t=d(e);return t.length===0||t.includes(`SKILL.md`)}catch{return!1}}function x(e){let t=new Set,n=new Set;for(let i of m){let o=a(e,i.hostDir,`skills`);for(let e of h)t.add(a(o,e));let s=a(e,i.pruneRoot),l=o;for(;n.add(l),l!==s;){let t=r(l);if(t===l||t===e||!t.startsWith(e+c))break;l=t}}return{skillDirs:t,emptyDirs:n}}function S(e,t){let n=g(e),r=x(n),i=[...t.skillDirs.filter(e=>!r.skillDirs.has(e)),...t.emptyDirs.filter(e=>!r.emptyDirs.has(e))];if(i.length>0)throw Error(`refusing skill cleanup — ${i.length} path(s) outside the known legacy set: ${i.join(`, `)}`);let a=[];for(let e of t.skillDirs)if(_(n,e)&&b(e))try{f(e,{recursive:!0,force:!0}),a.push(e)}catch{}for(let e of t.emptyDirs)if(_(n,e))try{p(e),a.push(e)}catch{}return a}function C(r){let i=g(r),o=[];for(let r of t){let t=e[r];o.push({path:a(i,`.agents`,`skills`,t),bundleId:r,scope:`central`});for(let e of n)o.push({path:a(i,e.hostDir,`skills`,t),bundleId:r,scope:`host`,hostDir:e.hostDir})}return o}function w(e,t){let n=[];for(let r of C(e))if(r.bundleId===t)try{f(r.path,{recursive:!0,force:!0})}catch(e){n.push(e instanceof Error?e:Error(String(e)))}if(n.length>0)throw AggregateError(n,`Failed to remove ${n.length} path(s) for ${t}`)}export{C as i,y as n,w as r,S as t};
2
- //# sourceMappingURL=skill-teardown-Csh2gkan.mjs.map
1
+ import{br as e,xr as t}from"./src-DnjBaD3J.mjs";import{c as n}from"./write-project-skill-DuGbv8Sv.mjs";import{dirname as r,isAbsolute as i,join as a,relative as o,resolve as s,sep as c}from"node:path";import{existsSync as l,lstatSync as u,readdirSync as d,rmSync as f,rmdirSync as p}from"node:fs";const m=[{hostDir:`.adal`,pruneRoot:`.adal`},{hostDir:`.aider-desk`,pruneRoot:`.aider-desk`},{hostDir:`.astrbot/data`,pruneRoot:`.astrbot`},{hostDir:`.augment`,pruneRoot:`.augment`},{hostDir:`.autohand`,pruneRoot:`.autohand`},{hostDir:`.bob`,pruneRoot:`.bob`},{hostDir:`.codeartsdoer`,pruneRoot:`.codeartsdoer`},{hostDir:`.codebuddy`,pruneRoot:`.codebuddy`},{hostDir:`.codeium/windsurf`,pruneRoot:`.codeium`},{hostDir:`.codemaker`,pruneRoot:`.codemaker`},{hostDir:`.codestudio`,pruneRoot:`.codestudio`},{hostDir:`.commandcode`,pruneRoot:`.commandcode`},{hostDir:`.config/crush`,pruneRoot:`.config/crush`},{hostDir:`.config/devin`,pruneRoot:`.config/devin`},{hostDir:`.config/goose`,pruneRoot:`.config/goose`},{hostDir:`.config/kimchi/harness`,pruneRoot:`.config/kimchi`},{hostDir:`.continue`,pruneRoot:`.continue`},{hostDir:`.factory`,pruneRoot:`.factory`},{hostDir:`.forge`,pruneRoot:`.forge`},{hostDir:`.grok`,pruneRoot:`.grok`},{hostDir:`.iflow`,pruneRoot:`.iflow`},{hostDir:`.inferencesh`,pruneRoot:`.inferencesh`},{hostDir:`.jazz`,pruneRoot:`.jazz`},{hostDir:`.junie`,pruneRoot:`.junie`},{hostDir:`.kilocode`,pruneRoot:`.kilocode`},{hostDir:`.kiro`,pruneRoot:`.kiro`},{hostDir:`.kode`,pruneRoot:`.kode`},{hostDir:`.lingma`,pruneRoot:`.lingma`},{hostDir:`.mcpjam`,pruneRoot:`.mcpjam`},{hostDir:`.moxby`,pruneRoot:`.moxby`},{hostDir:`.mux`,pruneRoot:`.mux`},{hostDir:`.neovate`,pruneRoot:`.neovate`},{hostDir:`.ona`,pruneRoot:`.ona`},{hostDir:`.openhands`,pruneRoot:`.openhands`},{hostDir:`.pochi`,pruneRoot:`.pochi`},{hostDir:`.qoder`,pruneRoot:`.qoder`},{hostDir:`.qoder-cn`,pruneRoot:`.qoder-cn`},{hostDir:`.qwen`,pruneRoot:`.qwen`},{hostDir:`.reasonix`,pruneRoot:`.reasonix`},{hostDir:`.roo`,pruneRoot:`.roo`},{hostDir:`.rovodev`,pruneRoot:`.rovodev`},{hostDir:`.snowflake/cortex`,pruneRoot:`.snowflake`},{hostDir:`.tabnine/agent`,pruneRoot:`.tabnine`},{hostDir:`.terramind`,pruneRoot:`.terramind`},{hostDir:`.tinycloud`,pruneRoot:`.tinycloud`},{hostDir:`.trae`,pruneRoot:`.trae`},{hostDir:`.trae-cn`,pruneRoot:`.trae-cn`},{hostDir:`.vibe`,pruneRoot:`.vibe`},{hostDir:`.zcode`,pruneRoot:`.zcode`},{hostDir:`.zencoder`,pruneRoot:`.zencoder`}],h=[...t.map(t=>e[t]),`open-knowledge`];function g(e){if(!i(e))throw Error(`skill cleanup requires an absolute home directory; got ${JSON.stringify(e)}`);let t=s(e);if(t===c||r(t)===t)throw Error(`skill cleanup refuses to operate on the filesystem root (${t})`);return t}function _(e,t){let n=o(e,t);if(n.startsWith(`..`)||i(n))return!1;let r=e;for(let e of n.split(c)){r=a(r,e);try{if(!u(r).isDirectory())return!1}catch{return!1}}return!0}function v(e,t){try{return d(e).every(n=>t.has(a(e,n)))}catch{return!1}}function y(e){let t=g(e),n=[],i=[],o=new Set;for(let e of m){let s=a(t,e.hostDir,`skills`);if(!_(t,s))continue;let u=h.map(e=>a(s,e)).filter(e=>l(e));n.push(...u);for(let e of u)o.add(e);let d=a(t,e.pruneRoot),f=s;for(;v(f,o)&&(i.push(f),o.add(f),f!==d);){let e=r(f);if(e===f||e===t||!e.startsWith(t+c))break;f=e}}return{skillDirs:n,emptyDirs:i}}function b(e){try{if(!u(e).isDirectory())return!1;let t=d(e);return t.length===0||t.includes(`SKILL.md`)}catch{return!1}}function x(e){let t=new Set,n=new Set;for(let i of m){let o=a(e,i.hostDir,`skills`);for(let e of h)t.add(a(o,e));let s=a(e,i.pruneRoot),l=o;for(;n.add(l),l!==s;){let t=r(l);if(t===l||t===e||!t.startsWith(e+c))break;l=t}}return{skillDirs:t,emptyDirs:n}}function S(e,t){let n=g(e),r=x(n),i=[...t.skillDirs.filter(e=>!r.skillDirs.has(e)),...t.emptyDirs.filter(e=>!r.emptyDirs.has(e))];if(i.length>0)throw Error(`refusing skill cleanup — ${i.length} path(s) outside the known legacy set: ${i.join(`, `)}`);let a=[];for(let e of t.skillDirs)if(_(n,e)&&b(e))try{f(e,{recursive:!0,force:!0}),a.push(e)}catch{}for(let e of t.emptyDirs)if(_(n,e))try{p(e),a.push(e)}catch{}return a}function C(r){let i=g(r),o=[];for(let r of t){let t=e[r];o.push({path:a(i,`.agents`,`skills`,t),bundleId:r,scope:`central`});for(let e of n)o.push({path:a(i,e.hostDir,`skills`,t),bundleId:r,scope:`host`,hostDir:e.hostDir})}return o}function w(e,t){let n=[];for(let r of C(e))if(r.bundleId===t)try{f(r.path,{recursive:!0,force:!0})}catch(e){n.push(e instanceof Error?e:Error(String(e)))}if(n.length>0)throw AggregateError(n,`Failed to remove ${n.length} path(s) for ${t}`)}export{C as i,y as n,w as r,S as t};
2
+ //# sourceMappingURL=skill-teardown-exqrf3fF.mjs.map
@@ -1,4 +1,4 @@
1
- import{o as e}from"./chunk-DTipWd-i.mjs";import{Y as t}from"./sleep-ByqzSHar.mjs";import{Ds as n,Ho as r,Os as i,Q as a,Z as o}from"./src-1Bl34H5k.mjs";import{Jr as s,Tn as c,at as l,gi as u,it as d,ot as f,rt as p,wa as m}from"./src-FnNqthYf.mjs";import{O as h,P as g}from"./fs-traced-Cq61rC8q.mjs";import{S as _,u as v,v as y,x as b}from"./server-lock-Dc1sKhMm.mjs";import{t as x}from"./yazl-DZr4PyKA.mjs";import{_ as S,g as C,i as w,s as ee,x as te}from"./write-project-skill-Dp0YYiKp.mjs";import{c as ne}from"./colors-BsmVIwfM.mjs";import"./acp-harness-probe-CZ_UOiYg.mjs";import{D as T,E,S as re,T as D,_ as O,b as ie,o as ae,v as k}from"./init-CxtnkaqG.mjs";import{n as A}from"./constants-DBnOKKEh.mjs";import{t as j}from"./is-object-ByG7RnjH.mjs";import"./loader-BEUNY2ST.mjs";import"./skill-teardown-Csh2gkan.mjs";import"./preview-B3emDMwg.mjs";import{execSync as oe,spawnSync as M}from"node:child_process";import{basename as N,dirname as P,isAbsolute as se,join as F,relative as ce,resolve as I,sep as le}from"node:path";import{cpSync as ue,createWriteStream as de,existsSync as L,lstatSync as fe,mkdirSync as R,mkdtempSync as pe,readFileSync as z,readdirSync as me,readlinkSync as he,rmSync as ge,statSync as _e,writeFileSync as B}from"node:fs";import{arch as ve,freemem as ye,homedir as V,hostname as be,platform as xe,release as Se,tmpdir as Ce,totalmem as we,type as Te,uptime as Ee}from"node:os";import{realpath as H}from"node:fs/promises";import{createHash as De}from"node:crypto";var U=t();const Oe=new Set([`start`,`stop`,`status`,`clean`,`ui`,`mcp`,`preview`,`lint`,`deinit`,`auth`]);function ke(e,t,n=c){if(e!==void 0&&!Oe.has(e))return null;let r=n(t);return r===null||r.distance===0?null:r.rootPath}let Ae=null;function je(e){Ae=e}function Me(){return Ae??process.cwd()}function Ne(){return F(V(),`.ok`,`bug-reports`)}function Pe(e=new Date){let t=e.toISOString().replace(/[:.]/g,`-`),n=Ne(),r=`${t}-bugreport`,i=F(n,`${r}.zip`);for(let e=2;L(i);e+=1)i=F(n,`${r}-${e}.zip`);return i}function Fe(e,t){let n=F(e,`.ok`,`config.yml`);if(L(n))try{let e=z(n,`utf8`).match(/^\s*name:\s*['"]?(.+?)['"]?\s*$/m);if(e?.[1])return e[1]}catch(e){t?.warn({configPath:n,err:e},`bug-report: failed to read .ok/config.yml for project slug; using path-hash fallback`)}return L(F(e,`.ok`))?De(`sha256`).update(I(e)).digest(`hex`).slice(0,12):null}function Ie(){let e={timestamp:new Date().toISOString(),platform:xe(),osType:Te(),osRelease:Se(),hostname:`[redacted]`,uptime:Ee(),freeMem:ye(),totalMem:we(),nodeVersion:process.version,bunVersion:process.versions.bun??null,v8Version:process.versions.v8??null,pid:process.pid};try{e.macosVersion=oe(`sw_vers -productVersion 2>/dev/null`,s({encoding:`utf8`})).trim()}catch{}try{let t=F(__dirname,`..`,`..`,`package.json`);L(t)&&(e.okVersion=JSON.parse(z(t,`utf8`)).version)}catch{}return e}function Le(e,t){return Re(e,t).files}function Re(e,t){if(!L(t))return{files:[]};let n=me(t).filter(e=>e.endsWith(`.log`)||/\.log\.\d+$/.test(e)).map(e=>F(t,e));if(e&&n.length>0){let t=n.filter(t=>{try{return z(t,`utf8`).includes(`"project":"${e}"`)}catch{return!0}});t.length>0&&(n=t)}return{files:n}}function ze(e){let t=F(e,`.ok`,`local`);return L(t)?{files:[`server.lock`,`last-spawn-error.log`,o].map(e=>F(t,e)).filter(e=>L(e))}:{files:[]}}function Be(e){let t=F(e,`.ok`,`local`,`logs`);return L(t)?{files:[`server-current.jsonl`,`server-prev.jsonl`].map(e=>F(t,e)).filter(e=>L(e))}:{files:[]}}function Ve(e){if(e.redact){let{redacted:t,patterns:n,lineCount:r}=i(e.content);e.zipfile.addBuffer(Buffer.from(t,`utf8`),e.name),e.bundleFiles.push(e.name),n.length>0&&e.redactions.push({file:e.name,lineCount:r,patterns:n})}else e.zipfile.addBuffer(Buffer.from(e.content,`utf8`),e.name),e.bundleFiles.push(e.name)}function W(e){for(let t of e.files)try{Ve({zipfile:e.zipfile,name:`${e.prefix}/${N(t)}`,content:z(t,`utf8`),redact:e.redact,bundleFiles:e.bundleFiles,redactions:e.redactions})}catch(n){e.logger?.warn({file:t,prefix:e.prefix,err:n},`bug-report: skipped unreadable file`)}}async function He(t){let{redact:r,outputPath:i,logger:a}=t,o=t.userLogsDir??F(V(),`.ok`,`logs`),s=t.projectDir?Fe(t.projectDir,a):null;R(P(i),{recursive:!0}),a?.info({projectSlug:s},`gathering diagnostic data`);let c=Ie();c.desktop=t.desktop??null;let{files:l}=Re(s,o),{files:u}=t.projectDir?ze(t.projectDir):{files:[]},{files:d}=t.projectDir?Be(t.projectDir):{files:[]};a?.info({logFileCount:l.length,lockFileCount:u.length,localSinkFileCount:d.length},`files collected`);let f=[],p=[],{ZipFile:m}=await import(`./yazl-jVENrf5i.mjs`).then(t=>e(t.default,1)),h=new m;W({zipfile:h,files:l,prefix:`logs`,redact:r,bundleFiles:p,redactions:f,logger:a}),W({zipfile:h,files:u,prefix:`lockdir`,redact:r,bundleFiles:p,redactions:f,logger:a}),W({zipfile:h,files:d,prefix:`local-logs`,redact:r,bundleFiles:p,redactions:f,logger:a});for(let e of t.extraFiles??[])try{let t=z(e.sourcePath),n=`extra/${e.zipName??N(e.sourcePath)}`;h.addBuffer(t,n),p.push(n)}catch(t){a?.warn({sourcePath:e.sourcePath,err:t},`extra file unreadable; omitted from bundle`)}t.note&&Ve({zipfile:h,name:`note.txt`,content:t.note,redact:r,bundleFiles:p,redactions:f});let g=JSON.stringify(c,null,2);h.addBuffer(Buffer.from(g,`utf8`),`sysinfo.json`),p.push(`sysinfo.json`);let _={generatedAt:new Date().toISOString(),disciplineVersion:`1.0.0`,projectSlug:s,files:p,redactions:f,sysinfo:c};h.addBuffer(Buffer.from(JSON.stringify(_,null,2),`utf8`),`MANIFEST.json`);let v=f.reduce((e,t)=>e+t.lineCount,0),y=[`# Bug Report Bundle`,``,`Generated: ${_.generatedAt}`,`Project: ${s??`(unscoped)`}`,`Discipline version: ${_.disciplineVersion}`,``,`## Contents`,``,...p.map(e=>`- ${e}`),``,`## Privacy`,``,...r?[`This bundle was auto-redacted before packaging.`,`Patterns checked: ${n.join(`, `)}`,v>0?`${v} line(s) were scrubbed across ${f.length} file(s).`:`No redactions were needed.`,`See MANIFEST.json for the full redaction audit report.`,``,`This bundle is safe to attach to a GitHub issue.`]:[`Redaction was disabled for this bundle; file contents are unmodified.`]].join(`
1
+ import{o as e}from"./chunk-DTipWd-i.mjs";import{Y as t}from"./sleep-ByqzSHar.mjs";import{Ds as n,Ho as r,Os as i,Q as a,Z as o}from"./src-1Bl34H5k.mjs";import{Jr as s,Tn as c,at as l,gi as u,it as d,ot as f,rt as p,wa as m}from"./src-DnjBaD3J.mjs";import{O as h,P as g}from"./fs-traced-Cq61rC8q.mjs";import{S as _,u as v,v as y,x as b}from"./server-lock-Dc1sKhMm.mjs";import{t as x}from"./yazl-DZr4PyKA.mjs";import{_ as S,g as C,i as w,s as ee,x as te}from"./write-project-skill-DuGbv8Sv.mjs";import{c as ne}from"./colors-BsmVIwfM.mjs";import"./acp-harness-probe-7F7pDfk8.mjs";import{D as T,E,S as re,T as D,_ as O,b as ie,o as ae,v as k}from"./init-BcJW1pN_.mjs";import{n as A}from"./constants-CDBkEzja.mjs";import{t as j}from"./is-object-ByG7RnjH.mjs";import"./loader-Bi_cGpOE.mjs";import"./skill-teardown-exqrf3fF.mjs";import"./preview-CkFbXsn7.mjs";import{execSync as oe,spawnSync as M}from"node:child_process";import{basename as N,dirname as P,isAbsolute as se,join as F,relative as ce,resolve as I,sep as le}from"node:path";import{cpSync as ue,createWriteStream as de,existsSync as L,lstatSync as fe,mkdirSync as R,mkdtempSync as pe,readFileSync as z,readdirSync as me,readlinkSync as he,rmSync as ge,statSync as _e,writeFileSync as B}from"node:fs";import{arch as ve,freemem as ye,homedir as V,hostname as be,platform as xe,release as Se,tmpdir as Ce,totalmem as we,type as Te,uptime as Ee}from"node:os";import{realpath as H}from"node:fs/promises";import{createHash as De}from"node:crypto";var U=t();const Oe=new Set([`start`,`stop`,`status`,`clean`,`ui`,`mcp`,`preview`,`lint`,`deinit`,`auth`]);function ke(e,t,n=c){if(e!==void 0&&!Oe.has(e))return null;let r=n(t);return r===null||r.distance===0?null:r.rootPath}let Ae=null;function je(e){Ae=e}function Me(){return Ae??process.cwd()}function Ne(){return F(V(),`.ok`,`bug-reports`)}function Pe(e=new Date){let t=e.toISOString().replace(/[:.]/g,`-`),n=Ne(),r=`${t}-bugreport`,i=F(n,`${r}.zip`);for(let e=2;L(i);e+=1)i=F(n,`${r}-${e}.zip`);return i}function Fe(e,t){let n=F(e,`.ok`,`config.yml`);if(L(n))try{let e=z(n,`utf8`).match(/^\s*name:\s*['"]?(.+?)['"]?\s*$/m);if(e?.[1])return e[1]}catch(e){t?.warn({configPath:n,err:e},`bug-report: failed to read .ok/config.yml for project slug; using path-hash fallback`)}return L(F(e,`.ok`))?De(`sha256`).update(I(e)).digest(`hex`).slice(0,12):null}function Ie(){let e={timestamp:new Date().toISOString(),platform:xe(),osType:Te(),osRelease:Se(),hostname:`[redacted]`,uptime:Ee(),freeMem:ye(),totalMem:we(),nodeVersion:process.version,bunVersion:process.versions.bun??null,v8Version:process.versions.v8??null,pid:process.pid};try{e.macosVersion=oe(`sw_vers -productVersion 2>/dev/null`,s({encoding:`utf8`})).trim()}catch{}try{let t=F(__dirname,`..`,`..`,`package.json`);L(t)&&(e.okVersion=JSON.parse(z(t,`utf8`)).version)}catch{}return e}function Le(e,t){return Re(e,t).files}function Re(e,t){if(!L(t))return{files:[]};let n=me(t).filter(e=>e.endsWith(`.log`)||/\.log\.\d+$/.test(e)).map(e=>F(t,e));if(e&&n.length>0){let t=n.filter(t=>{try{return z(t,`utf8`).includes(`"project":"${e}"`)}catch{return!0}});t.length>0&&(n=t)}return{files:n}}function ze(e){let t=F(e,`.ok`,`local`);return L(t)?{files:[`server.lock`,`last-spawn-error.log`,o].map(e=>F(t,e)).filter(e=>L(e))}:{files:[]}}function Be(e){let t=F(e,`.ok`,`local`,`logs`);return L(t)?{files:[`server-current.jsonl`,`server-prev.jsonl`].map(e=>F(t,e)).filter(e=>L(e))}:{files:[]}}function Ve(e){if(e.redact){let{redacted:t,patterns:n,lineCount:r}=i(e.content);e.zipfile.addBuffer(Buffer.from(t,`utf8`),e.name),e.bundleFiles.push(e.name),n.length>0&&e.redactions.push({file:e.name,lineCount:r,patterns:n})}else e.zipfile.addBuffer(Buffer.from(e.content,`utf8`),e.name),e.bundleFiles.push(e.name)}function W(e){for(let t of e.files)try{Ve({zipfile:e.zipfile,name:`${e.prefix}/${N(t)}`,content:z(t,`utf8`),redact:e.redact,bundleFiles:e.bundleFiles,redactions:e.redactions})}catch(n){e.logger?.warn({file:t,prefix:e.prefix,err:n},`bug-report: skipped unreadable file`)}}async function He(t){let{redact:r,outputPath:i,logger:a}=t,o=t.userLogsDir??F(V(),`.ok`,`logs`),s=t.projectDir?Fe(t.projectDir,a):null;R(P(i),{recursive:!0}),a?.info({projectSlug:s},`gathering diagnostic data`);let c=Ie();c.desktop=t.desktop??null;let{files:l}=Re(s,o),{files:u}=t.projectDir?ze(t.projectDir):{files:[]},{files:d}=t.projectDir?Be(t.projectDir):{files:[]};a?.info({logFileCount:l.length,lockFileCount:u.length,localSinkFileCount:d.length},`files collected`);let f=[],p=[],{ZipFile:m}=await import(`./yazl-jVENrf5i.mjs`).then(t=>e(t.default,1)),h=new m;W({zipfile:h,files:l,prefix:`logs`,redact:r,bundleFiles:p,redactions:f,logger:a}),W({zipfile:h,files:u,prefix:`lockdir`,redact:r,bundleFiles:p,redactions:f,logger:a}),W({zipfile:h,files:d,prefix:`local-logs`,redact:r,bundleFiles:p,redactions:f,logger:a});for(let e of t.extraFiles??[])try{let t=z(e.sourcePath),n=`extra/${e.zipName??N(e.sourcePath)}`;h.addBuffer(t,n),p.push(n)}catch(t){a?.warn({sourcePath:e.sourcePath,err:t},`extra file unreadable; omitted from bundle`)}t.note&&Ve({zipfile:h,name:`note.txt`,content:t.note,redact:r,bundleFiles:p,redactions:f});let g=JSON.stringify(c,null,2);h.addBuffer(Buffer.from(g,`utf8`),`sysinfo.json`),p.push(`sysinfo.json`);let _={generatedAt:new Date().toISOString(),disciplineVersion:`1.0.0`,projectSlug:s,files:p,redactions:f,sysinfo:c};h.addBuffer(Buffer.from(JSON.stringify(_,null,2),`utf8`),`MANIFEST.json`);let v=f.reduce((e,t)=>e+t.lineCount,0),y=[`# Bug Report Bundle`,``,`Generated: ${_.generatedAt}`,`Project: ${s??`(unscoped)`}`,`Discipline version: ${_.disciplineVersion}`,``,`## Contents`,``,...p.map(e=>`- ${e}`),``,`## Privacy`,``,...r?[`This bundle was auto-redacted before packaging.`,`Patterns checked: ${n.join(`, `)}`,v>0?`${v} line(s) were scrubbed across ${f.length} file(s).`:`No redactions were needed.`,`See MANIFEST.json for the full redaction audit report.`,``,`This bundle is safe to attach to a GitHub issue.`]:[`Redaction was disabled for this bundle; file contents are unmodified.`]].join(`
2
2
  `);h.addBuffer(Buffer.from(y,`utf8`),`README.md`),h.end();let b=de(i);return h.outputStream.pipe(b),await new Promise((e,t)=>{b.on(`close`,e),b.on(`error`,t)}),a?.info({bundlePath:i,fileCount:p.length,redactionCount:v},`bundle written`),{zipPath:i,summary:{projectSlug:s,files:p,redactions:f,redactedLineCount:v,generatedAt:_.generatedAt}}}var Ue=e(x(),1),G=e(ne(),1);function K(e,t){return t.length===0||!e.includes(t)?e:e.split(t).join(`<CONTENT_DIR>`)}function We(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function q(e,t){if(typeof e==`string`)return K(e,t.contentDir);if(Array.isArray(e))return e.map(e=>q(e,t));if(!We(e))return e;let n={};for(let[r,i]of Object.entries(e))n[r]=q(i,t);return n}function Ge(e,t){let n=z(e,`utf-8`);if(n.length===0)return;let r=n.endsWith(`
3
3
  `),i=n.split(`
4
4
  `),a=[];for(let e=0;e<i.length;e++){let n=i[e]??``;if(!(e===i.length-1&&n===``)){if(n.length===0){a.push(``);continue}try{let e=q(JSON.parse(n),t);a.push(JSON.stringify(e))}catch{a.push(n)}}}B(e,r?`${a.join(`
@@ -17,4 +17,4 @@ import{o as e}from"./chunk-DTipWd-i.mjs";import{Y as t}from"./sleep-ByqzSHar.mjs
17
17
  `).replace(/\n/g,`\r
18
18
  `));let u=`${i?``:``}${l}`;return u!==r&&g(e,u,{mode:D(e)}),{kind:`removed`}}function ln(e){return e==null?!1:e.includes(`--type=utility`)&&e.includes(`--utility-sub-type=node.mojom.NodeService`)}function un(e,t=Date.now()){let n=new Date(e).getTime();if(Number.isNaN(n))return`—`;let r=t-n,i=Math.floor(r/1e3);if(i<60)return`${i}s`;let a=Math.floor(i/60);if(a<60)return`${a}m ago`;let o=Math.floor(a/60);return o<24?`${o}h ago`:`${Math.floor(o/24)}d ago`}function dn(e,t,n,r,i,a){if(t.status===`missing`||t.status===`corrupt`)return null;let o=t.lock,s=null;if(n.status!==`missing`&&n.status!==`corrupt`){let e=n.lock;s={port:e.port,status:n.status,pid:e.pid,startedAt:e.startedAt,usage:a}}return{directory:o.worktreeRoot,server:{port:o.port,status:t.status,pid:o.pid,startedAt:o.startedAt,usage:i},ui:s,hostname:o.hostname,lockPath:t.lockPath,binary:r==null?null:d(r),command:r,isDesktop:ln(r)}}function fn(e){return e.ui==null?!1:e.ui.status===`alive`||e.ui.status===`foreign-host`}function Q(e){let t=e.server.status;return t===`alive`||t===`foreign-host`?e.isDesktop?`desktop`:t===`alive`?`running`:`foreign`:t===`dead-pid`&&fn(e)?`ui-orphan`:`stale`}const pn=new Set([`running`,`desktop`,`foreign`,`ui-orphan`]);function mn(e){switch(e){case`running`:return G.default.green(e);case`desktop`:return G.default.blue(e);case`foreign`:return G.default.cyan(e);case`ui-orphan`:return G.default.magenta(e);case`stale`:return G.default.yellow(e)}}function hn(e){return e==null?`—`:`${e.cpuPercent.toFixed(1)}% / ${e.memPercent.toFixed(1)}%`}function gn(e){return`${hn(e.server.usage)} | ${hn(e.ui?.usage??null)}`}function _n(e){return`${e.server.port===0?`(starting)`:String(e.server.port)} / ${e.ui==null||e.ui.status===`dead-pid`?`—`:String(e.ui.port)}`}function vn(e){if(e.length===0)return`No open-knowledge servers found.`;let t=[`DIRECTORY`,`PORTS (API/UI)`,`CPU/MEM (API | UI)`,`STATUS`,`PID`,`STARTED`,`BINARY`],n=e.map(e=>{let t=Q(e),n=t===`ui-orphan`&&e.ui!=null?e.ui.pid:e.server.pid;return[e.directory,_n(e),gn(e),t,String(n),un(e.server.startedAt),e.binary??`—`]}),r=t.length,i=t.map(e=>e.length);for(let e of n)for(let t=0;t<r;t++)i[t]=Math.max(i[t]??0,(e[t]??``).length);let a=t.map((e,t)=>e.padEnd(i[t]??0)).join(` `).trimEnd(),o=e.map((e,t)=>{let a=n[t]??[],o=[];for(let t=0;t<r;t++){let n=(a[t]??``).padEnd(i[t]??0);if(t===3){let r=a[t]??``;n=mn(Q(e))+` `.repeat(Math.max(0,(i[t]??0)-r.length))}o.push(n)}return o.join(` `).trimEnd()}),s=G.default.dim(`To stop a server: ok stop <port|pid|directory|all>`);return[a,...o,``,s].join(`
19
19
  `)}async function yn(e={}){let t=e.discover??p,n=e.inspect??Z,r=e.log??(e=>console.log(e)),i=e.resolveCommand??l,a=e.resolveUsage??f,o=await t(),s=[];for(let e of o){let t=n(e,`server`),r=n(e,`ui`),o=dn(e,t,r,t.status===`missing`||t.status===`corrupt`?null:i(t.lock.pid),t.status===`missing`||t.status===`corrupt`?null:a(t.lock.pid),r.status===`missing`||r.status===`corrupt`?null:a(r.lock.pid));o!=null&&s.push(o)}if(e.json){let e=s.map(e=>({...e,displayStatus:Q(e)}));r(JSON.stringify(e,null,2));return}r(vn(e.all?s:s.filter(e=>pn.has(Q(e)))))}function bn(){return new te(`ps`).description(`List all running open-knowledge servers`).argument(`[modifier]`,`"all" to include stale (dead-pid) entries`).option(`--all`,`Include stale (dead-pid) entries (foreign-host shows by default)`).option(`--json`,`Emit structured JSON (always includes all statuses)`).action(async(e,t)=>{await yn({all:t.all===!0||e===`all`,json:t.json===!0})})}function xn(e,t,n={}){let r=n.isAlive??b,i=[];for(let[n,a]of[[`server`,e],[`ui`,t]])(a.status===`alive`||a.status===`foreign-host`&&r(a.lock.pid))&&i.push({name:n,pid:a.lock.pid,port:a.lock.port});return{targets:i}}function Sn(e){let t=e.inspect??(t=>Z(e.lockDir,t)),n=e.kill??((e,t)=>process.kill(e,t)),r=e.log??(e=>console.log(e)),i=e.error??(e=>console.error(e)),a=xn(t(`server`),t(`ui`),{isAlive:e.isAlive});if(a.targets.length===0)return r(`No running open-knowledge processes.`),{stopped:[],failed:[],hadTargets:!1};let o=[],s=[];for(let e of a.targets)try{n(e.pid,`SIGTERM`),o.push(e)}catch(t){s.push({target:e,error:t instanceof Error?t.message:String(t)})}return o.length>0&&r(`Stopped: ${o.map(e=>`${e.name} (pid=${e.pid}, port=${e.port})`).join(`, `)}`),s.length>0&&i(`Failed to stop: ${s.map(({target:e,error:t})=>`${e.name} (pid=${e.pid}): ${t}`).join(`; `)}`),{stopped:o,failed:s,hadTargets:!0}}function $(e,t){return e.status===`alive`?!0:e.status===`foreign-host`?t(e.lock.pid):!1}async function Cn(e,t=b){let n=await p(),r=null;for(let i of n){let n=Z(i,`server`),a=Z(i,`ui`);if($(n,t)&&n.lock.port===e||$(a,t)&&a.lock.port===e)return i;r===null&&($(n,t)&&n.lock.pid===e||$(a,t)&&a.lock.pid===e)&&(r=i)}return r}function wn(e){let t=Sn({lockDir:e});return t.failed.length>0&&(process.exitCode=1),t}function Tn(e){return new te(`stop`).description(`Stop open-knowledge server(s). With no argument: stops the server for the current directory. Pass a port number, a directory path, or "all" to target globally.`).argument(`[target...]`,`port number, directory path (spaces OK), or "all"`).action(async t=>{let n=t.length===0?void 0:t.join(` `);if(n===void 0){e();let t=Sn({lockDir:u(process.cwd()),log:()=>{}});if(t.hadTargets){if(t.stopped.length>0){let e=t.stopped.map(e=>`${e.name} (pid=${e.pid}, port=${e.port})`).join(`, `);console.log(`Stopped: ${e}`)}t.failed.length>0&&(process.exitCode=1)}else await yn({});return}if(n===`all`){let e=await p();if(e.length===0){console.log(`No running open-knowledge servers found.`);return}let t=0;for(let n of e){let e=Z(n,`server`),r=Z(n,`ui`);!$(e,b)&&!$(r,b)||(wn(n),t++)}t===0&&console.log(`No running open-knowledge servers found.`);return}if(/^\d+$/.test(n)){let e=Number.parseInt(n,10),t=await Cn(e);if(t===null){console.log(`No running open-knowledge server found with port or PID ${e}.`);return}wn(t);return}wn(u(I(Me(),n)))})}function En(e){return{event:`mcp-config-decline`,scope:e.scope,surface:e.surface,editorId:e.editorId,reason:e.reason}}async function Dn(e,t){let n,i;try{n=await H(I(e)),i=await H(I(P(e)))}catch{return{kind:`not-git`}}if(!On(n,i))return{kind:`symlink-escape`};let a=F(n,`.git`),o;try{o=_e(a)}catch{return{kind:`not-git`}}if(o.isDirectory()){let e;try{e=await H(a)}catch{return{kind:`not-git`}}if(!On(e,n))return{kind:`symlink-escape`}}else if(!o.isFile())return{kind:`not-git`};let s=m(n);if(s.kind!==`repository`)return{kind:`not-git`};let c=s.repository.readRemoteUrl(`origin`);if(c.kind===`unreadable`)return{kind:`not-git`};if(c.kind===`absent`)return c.reason===`config-missing`?{kind:`not-git`}:{kind:`no-origin`};let l=c.url,u=Wt(l);if(u===null)return{kind:`non-github`};let d=r(u.hostname);if(d===null)return{kind:`non-github`};let f=d===t.host.toLowerCase(),p=u.owner.toLowerCase()===t.owner.toLowerCase(),h=u.name.toLowerCase()===t.repo.toLowerCase();return!f&&p&&h?{kind:`wrong-host`,actualHost:d}:!f||!p||!h?{kind:`wrong-repo`,actualOwner:u.owner,actualRepo:u.name}:{kind:`ok`,gitRemoteUrl:`https://${d}/${u.owner}/${u.name}.git`}}function On(e,t){if(e===t)return!0;let n=ce(t,e);return n.length>0&&!n.startsWith(`..`)&&!se(n)}const kn=[{id:`mcp-config`,write(e,t,n){let r=e.projectConfigPath?.(t);if(!r)return{integration:`mcp-config`,editorId:e.id,action:`skipped-unsupported`};try{let i=k(e,t,n,void 0,r);return i.action===`written`||i.action===`overwritten`?{integration:`mcp-config`,editorId:e.id,action:i.action,path:i.configPath}:i.action===`failed`?{integration:`mcp-config`,editorId:e.id,action:`failed`,path:i.configPath,error:i.error??`unknown failure`}:i.action===`declined`?{integration:`mcp-config`,editorId:e.id,action:`declined`,path:i.configPath,...i.declineReason===void 0?{}:{reason:i.declineReason}}:{integration:`mcp-config`,editorId:e.id,action:`failed`,path:i.configPath,error:`unexpected project-scope action: ${i.action}`}}catch(t){return{integration:`mcp-config`,editorId:e.id,action:`failed`,path:r,error:t instanceof Error?t.message:String(t)}}}},{id:`project-skill`,write(e,t,n){try{let r=w(e,t,{home:n.home});return{integration:`project-skill`,editorId:e.id,action:r.action,...r.path?{path:r.path}:{},...r.error?{error:r.error}:{}}}catch(t){return{integration:`project-skill`,editorId:e.id,action:`failed`,error:t instanceof Error?t.message:String(t)}}}}];function An(e,t,n={},r=kn){let i=[];for(let a of t){let t=ee[a];for(let a of r)i.push(a.write(t,e,n))}return i}function jn(e,t,n={}){return{integrations:An(e,t,n)}}export{Pe as C,ke as D,je as E,zt as S,Me as T,Kt as _,Tn as a,Ht as b,Jt as c,tn as d,Zt as f,qt as g,Gt as h,Sn as i,Xt as l,en as m,Dn as n,bn as o,$t as p,En as r,an as s,jn as t,Yt as u,Wt as v,Ne as w,Rt as x,Z as y};
20
- //# sourceMappingURL=src-B3GlRGwT.mjs.map
20
+ //# sourceMappingURL=src-D-DjnpUm.mjs.map
@@ -1 +1 @@
1
- import{F as e,Fo as t,Ro as n,d as r,es as i,fs as a,js as o,l as s,ns as c,z as l,zo as u}from"./src-1Bl34H5k.mjs";import{$ as d,$i as f,$n as p,$r as m,$t as h,A as g,Ai as _,An as v,Ar as y,At as b,B as x,Bi as S,Bn as C,Br as w,Bt as T,C as E,Ci as D,Cn as O,Cr as k,Ct as A,D as j,Di as M,Dn as N,Dr as P,Dt as F,E as I,Ei as L,En as R,Er as z,Et as B,F as V,Fi as H,Fn as U,Ft as W,G,Gi as K,Gn as q,Gr as J,Gt as Y,H as X,Hi as Z,Hn as Q,Hr as $,Ht as ee,I as te,Ii as ne,In as re,It as ie,J as ae,Ji as oe,Jn as se,Jr as ce,Jt as le,K as ue,Ki as de,Kn as fe,Kr as pe,Kt as me,L as he,Li as ge,Ln as _e,Lt as ve,M as ye,Mi as be,Mn as xe,Mr as Se,Mt as Ce,N as we,Ni as Te,Nn as Ee,Nt as De,O as Oe,Oi as ke,On as Ae,Or as je,Ot as Me,P as Ne,Pi as Pe,Pn as Fe,Pt as Ie,Q as Le,Qi as Re,Qn as ze,Qr as Be,Qt as Ve,R as He,Ri as Ue,Rn as We,Rr as Ge,Rt as Ke,S as qe,Si as Je,Sn as Ye,Sr as Xe,St as Ze,T as Qe,Ti as $e,Tn as et,Tr as tt,Tt as nt,U as rt,Ui as it,Un as at,Ur as ot,Ut as st,V as ct,Vi as lt,Vn as ut,Vr as dt,Vt as ft,W as pt,Wi as mt,Wn as ht,Wr as gt,Wt as _t,X as vt,Xi as yt,Xn as bt,Xr as xt,Xt as St,Y as Ct,Yi as wt,Yn as Tt,Yr as Et,Yt as Dt,Z as Ot,Zi as kt,Zn as At,Zr as jt,Zt as Mt,_ as Nt,_a as Pt,_i as Ft,_n as It,_r as Lt,_t as Rt,a as zt,aa as Bt,ai as Vt,an as Ht,ar as Ut,at as Wt,b as Gt,ba as Kt,bi as qt,bn as Jt,br as Yt,bt as Xt,c as Zt,ca as Qt,ci as $t,cn as en,cr as tn,d as nn,da as rn,di as an,dn as on,dr as sn,ea as cn,ei as ln,en as un,er as dn,et as fn,f as pn,fa as mn,fi as hn,fn as gn,fr as _n,g as vn,ga as yn,gi as bn,gn as xn,gr as Sn,gt as Cn,h as wn,ha as Tn,hi as En,hn as Dn,hr as On,ht as kn,i as An,ia as jn,ii as Mn,in as Nn,ir as Pn,it as Fn,j as In,ji as Ln,jn as Rn,jr as zn,jt as Bn,k as Vn,ki as Hn,kn as Un,kr as Wn,kt as Gn,l as Kn,la as qn,li as Jn,ln as Yn,lr as Xn,m as Zn,ma as Qn,mi as $n,mn as er,mr as tr,mt as nr,n as rr,na as ir,ni as ar,nn as or,nr as sr,nt as cr,o as lr,oa as ur,oi as dr,on as fr,or as pr,ot as mr,p as hr,pa as gr,pi as _r,pn as vr,pr as yr,q as br,qi as xr,qn as Sr,qr as Cr,qt as wr,r as Tr,ra as Er,ri as Dr,rn as Or,rr as kr,rt as Ar,s as jr,sa as Mr,si as Nr,sn as Pr,sr as Fr,st as Ir,t as Lr,ta as Rr,ti as zr,tn as Br,tr as Vr,tt as Hr,u as Ur,ua as Wr,ui as Gr,un as Kr,ur as qr,v as Jr,va as Yr,vn as Xr,vr as Zr,vt as Qr,w as $r,wi as ei,wn as ti,wr as ni,wt as ri,x as ii,xi as ai,xn as oi,xr as si,xt as ci,y as li,ya as ui,yi as di,yn as fi,yr as pi,yt as mi,z as hi,zi as gi,zn as _i,zr as vi,zt as yi}from"./src-FnNqthYf.mjs";import{C as bi,E as xi,T as Si,_ as Ci,b as wi,c as Ti,d as Ei,g as Di,i as Oi,l as ki,m as Ai,n as ji,p as Mi,s as Ni,t as Pi,u as Fi,v as Ii,w as Li,x as Ri,y as zi}from"./fs-traced-Cq61rC8q.mjs";import{a as Bi,d as Vi,f as Hi,i as Ui,l as Wi,n as Gi,r as Ki,t as qi,u as Ji}from"./logger-BZPV1wv8.mjs";import{S as Yi,_ as Xi,a as Zi,c as Qi,f as $i,g as ea,h as ta,i as na,l as ra,m as ia,n as aa,o as oa,p as sa,r as ca,s as la,t as ua,u as da,v as fa,x as pa}from"./server-lock-Dc1sKhMm.mjs";export{rn as AGENT_ID_MAX_LEN,mn as AGENT_ID_RE,M as AGENT_WRITE_ORIGIN,Yr as AcpPermissionStore,Tn as AcpRegistry,Je as AcpThreadManager,qt as AgentFocusBroadcaster,di as AgentPresenceBroadcaster,ke as AgentSessionCapacityError,Hn as AgentSessionManager,kn as AutoStartDisabledError,Zr as BUNDLE_IDS,pi as BUNDLE_SCOPE,Yt as BUNDLE_SKILL_NAME,Sr as BacklinkIndex,gi as CC1Broadcaster,c as CC1_CONTRACT_VERSION,Kr as CONFIG_FILENAME,ut as CONFLICT_MARKER_RE,w as CURSOR_BUNDLE_PATHS_BY_PLATFORM,Nt as ConfigSchema,K as DEFAULT_CHECKPOINT_RETENTION,Mn as DEFAULT_EMBEDDINGS_DIMENSIONS,W as DEFAULT_PACK_ID,ct as DocumentDurabilityState,Vt as EMBEDDINGS_API_KEY_ENV,yn as FEATURED_AGENT_IDS,de as FILE_SYSTEM_WRITER,q as FILE_WATCHER_ORIGIN,Be as FileEmbeddingsBackend,Mt as GIT_PREFLIGHT_FAIL_SPAN_NAME,xr as GIT_UPSTREAM_WRITER,ui as GitDirAccessError,h as GitNotAvailableError,un as GitTooOldError,Cn as HOCUSPOCUS_AUTH_REJECTION_REASONS,Rt as HocuspocusAuthRejection,Qr as HocuspocusAuthTokenSchema,pe as INSTALLED_AGENTS_SCHEMES,i as LINEAGE_EPOCH_KEY,He as LIVE_DERIVED_INDEX_DEBOUNCE_MS,ie as LOG_MD_TEMPLATE,nt as MANAGED_RENAME_ORIGIN,D as MAX_ACP_THREADS,_ as MAX_AGENT_SESSIONS,$e as MCP_CONNECTION_ID_HEADER,t as MCP_SERVER_NAME,Ln as MIN_EVICTABLE_IDLE_MS,Br as MIN_GIT_VERSION,X as MISSING_OK_CONFIG_MESSAGE,Kt as MalformedGitPointerError,fn as McpLogger,rt as MissingOkConfigError,Te as OBSERVER_SYNC_ORIGIN,on as OK_OKIGNORE_TEMPLATE,n as ORPHAN_MODES,o as PROTOCOL_VERSION,qi as PinoLogger,Qi as ProcessLockCollisionError,Kn as ProjectGitInitError,B as ROLLBACK_ORIGIN,gn as ROOT_GITIGNORE_TEMPLATE,ea as RUNTIME_VERSION,fi as RemoteConfigError,oe as SERVICE_WRITER,yr as SKILL_INSTALL_EVENTS_FILE_REL,e as SKILL_STATE_TARGETS,ve as STARTER_FOLDERS,Ke as STARTER_FOLDER_FRONTMATTER_FILENAME,yi as STARTER_PACKS,T as STARTER_PACK_IDS,ft as STARTER_TEMPLATES,Qe as STATE_MANIFEST_FILENAME,Xi as STATE_SCHEMA_VERSION,a as SYSTEM_DOC_NAME,wr as SeedPrerequisiteError,le as SeedRootDirError,ua as ServerLockCollisionError,Lr as SingleFileNotAFileError,rr as SingleFileNotFoundError,Tr as SingleFileNotMarkdownError,I as StateManifestError,fe as TagIndex,si as USER_GLOBAL_BUNDLE_IDS,Tt as UiLockCollisionError,F as __getShowAllWalkStatsForTesting,Me as __resetShowAllWalkStatsForTesting,ra as acquireProcessLock,aa as acquireServerLock,bt as acquireUiLock,be as applyAgentMarkdownWrite,_i as applyExternalChange,Ie as applySeed,j as assertCompatibleStateManifest,or as assertGitAvailable,N as assertNeverDiskEvent,ai as attachAcpThreadSocket,nr as attachIdleShutdown,Jr as bootServer,dn as buildAndOpenSkill,vr as buildConfigYmlContent,Ct as buildExecResult,ei as buildOkMcpStdioCommand,On as buildSkillZip,ee as buildStarterFolderFrontmatterYaml,wt as buildWipTree,Xe as bundleSkillMdPath,m as canonicalProjectKey,Ae as classifyEvents,Pi as classifyFsPath,ln as clearAllEmbeddingsKeys,Nr as clearContributors,st as coercePackId,s as colorFromSeed,yt as commitUpstreamImport,kt as commitWip,Re as commitWipFromTree,Or as compareSemver,tt as composeEffectiveLinterConfig,z as composeFrontmatterSchemasConfig,Q as containsConflictMarkers,Un as contentHash,$t as contributorCount,Ne as countShadowObjects,V as countStaleAgentWipRefs,te as countWipRefs,Gn as createApiExtension,ri as createAssetServeMiddleware,G as createCollaborationHost,Ge as createContentFilter,vi as createContentFilterAsync,zr as createEmbeddingsSecretStore,An as createEphemeralProjectDir,C as createExternalChangeHandler,pn as createFileLogger,hi as createLiveDerivedIndexExtension,br as createMcpHttpHandler,Cr as createOsProbe,we as createPersistenceExtension,E as createServer,In as createServerObserverExtension,ne as createStreamingErrorWriter,Gi as createTestLogger,ar as describeStoredEmbeddingsKey,vn as detectClaudeDesktopPresence,Nn as detectGit,Oe as detectProjectShape,Vr as detectUserSkillHosts,Ar as discoverLockDirs,Wn as discoverMarkdownlintConfig,Ve as emitPreflightFailureSpan,vt as encodeDocName,Ot as encodeFolderRoute,Le as encodeSkillRoute,Ur as ensureProjectGit,er as ensureProjectSkillGitignore,ge as errorResponse,v as evictStaleTrackerEntries,b as extractHeadings,Fn as extractOkBinaryPath,se as extractWikiLinksFromMarkdown,Ht as fallbackPaths,nn as findEnclosingGitRoot,et as findEnclosingProjectRoot,y as findNativeMarkdownlintFile,hr as flushFileLogger,mi as formatAuthRejectionWire,Jn as formatContributors,Gr as formatContributorsFrom,Ce as formatPackRationale,f as gcCheckpointRefs,Hr as getCurrentMcpLogger,$n as getLocalDir,Zn as getLogFilePath,Ki as getLogger,wn as getLogsDir,fa as getMachineId,zi as getMeter,ur as getMetrics,wi as getTracer,Mr as handleCollabSocketError,dt as handleSpawnCursor,Jt as hasForwardingHeaders,he as hasGcLogLatch,r as iconFromClientName,Qt as incrementCollabSocketFilteredError,qn as incrementServerObserverFire,Dn as initContent,cn as initShadowRepo,Ri as initTelemetry,Gt as initToleranceTelemetryWriter,Ir as installPrettyZodErrors,Ui as installTestLoggers,sr as installUserSkill,Xr as isAllowedApiOrigin,O as isAllowedWorkspaceHostHeader,S as isConfigDoc,Xt as isHocuspocusAuthRejectionReason,_t as isKnownPackId,lt as isLinkIndexExcludedDoc,ti as isLoopbackAddress,Z as isManagedArtifactDoc,u as isOrphanMode,Pe as isPairedWriteOrigin,$ as isPathWithinDir,pa as isProcessAlive,R as isProjectRoot,oi as isRemoteAdmitted,it as isReservedForUserTree,Rn as isSelfWrite,mt as isSystemDoc,ii as isToleranceTelemetryEnabled,Yi as isValidLockPid,xe as lastKnownHash,Rr as listRescueCheckpoints,Y as listStarterPacks,Pt as loadCustomAgents,ye as loadPrincipal,da as lockFilePath,Bi as loggerFactory,Wi as logsCurrentPath,Ji as logsPreviousPath,Dr as makeLazyEmbeddingsKeyStore,ca as markServerLockDraining,pt as mountMcpAndApi,ji as normalizeFsPath,k as originGitHubHost,xn as packageVersionMajorMinor,ci as parseAuthRejectionWire,fr as parseGitVersion,Ze as parseHocuspocusAuthToken,ue as parseKeepaliveConnectionId,Ee as pathToDocName,De as planSeed,zt as prepareSingleFileOpen,Wt as processCommand,mr as processUsage,Pn as readAllTargets,Ut as readBundleDecision,zn as readOwnNativeRules,$i as readProcessLock,sa as readProcessLockDetailed,x as readProjectHeadState,jt as readProjectLocalSemanticConfig,na as readServerLock,pr as readServerPackageVersion,Fr as readSkillInstallStateSnapshot,Vn as readStateManifest,tn as readTargetRecordedAt,Xn as readTargetVersion,At as readUiLock,at as reconcile,an as recordContributor,tr as recordSkillInstallEvent,ae as registerAllTools,Fe as registerWrite,ia as releaseProcessLock,Zi as releaseServerLock,ze as releaseUiLock,U as removeLastKnownHash,kr as reportSkillInstall,Wr as resetMetrics,l as resolveBundleEnabled,Sn as resolveBundledSkillDir,En as resolveContentDir,ot as resolveCursorBinaryDefault,gt as resolveCursorSpawnInvocation,P as resolveEffectiveLinterConfig,dr as resolveEmbeddingsCredential,bn as resolveLockDir,je as resolveNativeConfigForDoc,Se as resolveNativeMarkdownlintConfig,me as resolvePack,jr as resolvePackageVersion,Ye as resolveRemoteAccess,_n as resolveSkillInstallReportSettings,d as resolveUiInfo,hn as restoreContributors,li as restoreLifecycleFromConflictsJson,Et as rewriteMarkdownLinksForDocumentRename,xt as rewriteWikiLinksForDocumentRename,Pr as runAuthReposSubprocess,en as runAuthStatusSubprocess,Dt as runCloneSubprocess,Yn as runDeviceFlowSubprocess,cr as runWithMcpLogger,Ft as safeContentPath,Bn as safeSubdir,ir as safetyCheckpoint,L as sanitizeClientName,Er as saveInMemoryCheckpoint,jn as saveVersion,A as seedBasenameIndex,lr as serializeError,bi as setActiveSpanAttributes,H as setupServerObservers,Bt as shadowGit,Li as shutdownTelemetry,Vi as spansCurrentPath,Hi as spansPreviousPath,J as spawnDetached,ht as splitMarkdownBlocks,re as startWatcher,Ue as streamingProblemEvent,_r as swapContributors,qe as teardownToleranceTelemetryWriter,gr as toBroadcasterKey,Oi as tracedAppendFileSync,Ni as tracedLinkSync,Ti as tracedMkdir,ki as tracedMkdirSync,Fi as tracedRename,Ei as tracedRenameSync,Mi as tracedRmSync,Ai as tracedRmdirSync,Di as tracedUnlinkSync,Ci as tracedWriteFile,Ii as tracedWriteFileSync,$r as trustSystemCertificates,Zt as untrackTrackedProjectSkillProjection,_e as updateLastKnownHash,ta as updateProcessLockPort,oa as updateServerLockPort,p as updateUiLockPort,Qn as validateAgentId,St as validateCloneInputs,Lt as validateSkillZip,la as waitForServerLockDrain,ce as withHiddenWindowsConsole,Si as withSpan,xi as withSpanSync,qr as writeBundleDecision,ni as writeMarkdownlintRule,It as writeRootGitignoreForNewRepo,g as writeStateManifest,sn as writeTargetVersion,We as writeTracker};
1
+ import{F as e,Fo as t,Ro as n,d as r,es as i,fs as a,js as o,l as s,ns as c,z as l,zo as u}from"./src-1Bl34H5k.mjs";import{$ as d,$i as f,$n as p,$r as m,$t as h,A as g,Ai as _,An as v,Ar as y,At as b,B as x,Bi as S,Bn as C,Br as w,Bt as T,C as E,Ci as D,Cn as O,Cr as k,Ct as A,D as j,Di as M,Dn as N,Dr as P,Dt as F,E as I,Ei as L,En as R,Er as z,Et as B,F as V,Fi as H,Fn as U,Ft as W,G,Gi as K,Gn as q,Gr as J,Gt as Y,H as X,Hi as Z,Hn as Q,Hr as $,Ht as ee,I as te,Ii as ne,In as re,It as ie,J as ae,Ji as oe,Jn as se,Jr as ce,Jt as le,K as ue,Ki as de,Kn as fe,Kr as pe,Kt as me,L as he,Li as ge,Ln as _e,Lt as ve,M as ye,Mi as be,Mn as xe,Mr as Se,Mt as Ce,N as we,Ni as Te,Nn as Ee,Nt as De,O as Oe,Oi as ke,On as Ae,Or as je,Ot as Me,P as Ne,Pi as Pe,Pn as Fe,Pt as Ie,Q as Le,Qi as Re,Qn as ze,Qr as Be,Qt as Ve,R as He,Ri as Ue,Rn as We,Rr as Ge,Rt as Ke,S as qe,Si as Je,Sn as Ye,Sr as Xe,St as Ze,T as Qe,Ti as $e,Tn as et,Tr as tt,Tt as nt,U as rt,Ui as it,Un as at,Ur as ot,Ut as st,V as ct,Vi as lt,Vn as ut,Vr as dt,Vt as ft,W as pt,Wi as mt,Wn as ht,Wr as gt,Wt as _t,X as vt,Xi as yt,Xn as bt,Xr as xt,Xt as St,Y as Ct,Yi as wt,Yn as Tt,Yr as Et,Yt as Dt,Z as Ot,Zi as kt,Zn as At,Zr as jt,Zt as Mt,_ as Nt,_a as Pt,_i as Ft,_n as It,_r as Lt,_t as Rt,a as zt,aa as Bt,ai as Vt,an as Ht,ar as Ut,at as Wt,b as Gt,ba as Kt,bi as qt,bn as Jt,br as Yt,bt as Xt,c as Zt,ca as Qt,ci as $t,cn as en,cr as tn,d as nn,da as rn,di as an,dn as on,dr as sn,ea as cn,ei as ln,en as un,er as dn,et as fn,f as pn,fa as mn,fi as hn,fn as gn,fr as _n,g as vn,ga as yn,gi as bn,gn as xn,gr as Sn,gt as Cn,h as wn,ha as Tn,hi as En,hn as Dn,hr as On,ht as kn,i as An,ia as jn,ii as Mn,in as Nn,ir as Pn,it as Fn,j as In,ji as Ln,jn as Rn,jr as zn,jt as Bn,k as Vn,ki as Hn,kn as Un,kr as Wn,kt as Gn,l as Kn,la as qn,li as Jn,ln as Yn,lr as Xn,m as Zn,ma as Qn,mi as $n,mn as er,mr as tr,mt as nr,n as rr,na as ir,ni as ar,nn as or,nr as sr,nt as cr,o as lr,oa as ur,oi as dr,on as fr,or as pr,ot as mr,p as hr,pa as gr,pi as _r,pn as vr,pr as yr,q as br,qi as xr,qn as Sr,qr as Cr,qt as wr,r as Tr,ra as Er,ri as Dr,rn as Or,rr as kr,rt as Ar,s as jr,sa as Mr,si as Nr,sn as Pr,sr as Fr,st as Ir,t as Lr,ta as Rr,ti as zr,tn as Br,tr as Vr,tt as Hr,u as Ur,ua as Wr,ui as Gr,un as Kr,ur as qr,v as Jr,va as Yr,vn as Xr,vr as Zr,vt as Qr,w as $r,wi as ei,wn as ti,wr as ni,wt as ri,x as ii,xi as ai,xn as oi,xr as si,xt as ci,y as li,ya as ui,yi as di,yn as fi,yr as pi,yt as mi,z as hi,zi as gi,zn as _i,zr as vi,zt as yi}from"./src-DnjBaD3J.mjs";import{C as bi,E as xi,T as Si,_ as Ci,b as wi,c as Ti,d as Ei,g as Di,i as Oi,l as ki,m as Ai,n as ji,p as Mi,s as Ni,t as Pi,u as Fi,v as Ii,w as Li,x as Ri,y as zi}from"./fs-traced-Cq61rC8q.mjs";import{a as Bi,d as Vi,f as Hi,i as Ui,l as Wi,n as Gi,r as Ki,t as qi,u as Ji}from"./logger-BZPV1wv8.mjs";import{S as Yi,_ as Xi,a as Zi,c as Qi,f as $i,g as ea,h as ta,i as na,l as ra,m as ia,n as aa,o as oa,p as sa,r as ca,s as la,t as ua,u as da,v as fa,x as pa}from"./server-lock-Dc1sKhMm.mjs";export{rn as AGENT_ID_MAX_LEN,mn as AGENT_ID_RE,M as AGENT_WRITE_ORIGIN,Yr as AcpPermissionStore,Tn as AcpRegistry,Je as AcpThreadManager,qt as AgentFocusBroadcaster,di as AgentPresenceBroadcaster,ke as AgentSessionCapacityError,Hn as AgentSessionManager,kn as AutoStartDisabledError,Zr as BUNDLE_IDS,pi as BUNDLE_SCOPE,Yt as BUNDLE_SKILL_NAME,Sr as BacklinkIndex,gi as CC1Broadcaster,c as CC1_CONTRACT_VERSION,Kr as CONFIG_FILENAME,ut as CONFLICT_MARKER_RE,w as CURSOR_BUNDLE_PATHS_BY_PLATFORM,Nt as ConfigSchema,K as DEFAULT_CHECKPOINT_RETENTION,Mn as DEFAULT_EMBEDDINGS_DIMENSIONS,W as DEFAULT_PACK_ID,ct as DocumentDurabilityState,Vt as EMBEDDINGS_API_KEY_ENV,yn as FEATURED_AGENT_IDS,de as FILE_SYSTEM_WRITER,q as FILE_WATCHER_ORIGIN,Be as FileEmbeddingsBackend,Mt as GIT_PREFLIGHT_FAIL_SPAN_NAME,xr as GIT_UPSTREAM_WRITER,ui as GitDirAccessError,h as GitNotAvailableError,un as GitTooOldError,Cn as HOCUSPOCUS_AUTH_REJECTION_REASONS,Rt as HocuspocusAuthRejection,Qr as HocuspocusAuthTokenSchema,pe as INSTALLED_AGENTS_SCHEMES,i as LINEAGE_EPOCH_KEY,He as LIVE_DERIVED_INDEX_DEBOUNCE_MS,ie as LOG_MD_TEMPLATE,nt as MANAGED_RENAME_ORIGIN,D as MAX_ACP_THREADS,_ as MAX_AGENT_SESSIONS,$e as MCP_CONNECTION_ID_HEADER,t as MCP_SERVER_NAME,Ln as MIN_EVICTABLE_IDLE_MS,Br as MIN_GIT_VERSION,X as MISSING_OK_CONFIG_MESSAGE,Kt as MalformedGitPointerError,fn as McpLogger,rt as MissingOkConfigError,Te as OBSERVER_SYNC_ORIGIN,on as OK_OKIGNORE_TEMPLATE,n as ORPHAN_MODES,o as PROTOCOL_VERSION,qi as PinoLogger,Qi as ProcessLockCollisionError,Kn as ProjectGitInitError,B as ROLLBACK_ORIGIN,gn as ROOT_GITIGNORE_TEMPLATE,ea as RUNTIME_VERSION,fi as RemoteConfigError,oe as SERVICE_WRITER,yr as SKILL_INSTALL_EVENTS_FILE_REL,e as SKILL_STATE_TARGETS,ve as STARTER_FOLDERS,Ke as STARTER_FOLDER_FRONTMATTER_FILENAME,yi as STARTER_PACKS,T as STARTER_PACK_IDS,ft as STARTER_TEMPLATES,Qe as STATE_MANIFEST_FILENAME,Xi as STATE_SCHEMA_VERSION,a as SYSTEM_DOC_NAME,wr as SeedPrerequisiteError,le as SeedRootDirError,ua as ServerLockCollisionError,Lr as SingleFileNotAFileError,rr as SingleFileNotFoundError,Tr as SingleFileNotMarkdownError,I as StateManifestError,fe as TagIndex,si as USER_GLOBAL_BUNDLE_IDS,Tt as UiLockCollisionError,F as __getShowAllWalkStatsForTesting,Me as __resetShowAllWalkStatsForTesting,ra as acquireProcessLock,aa as acquireServerLock,bt as acquireUiLock,be as applyAgentMarkdownWrite,_i as applyExternalChange,Ie as applySeed,j as assertCompatibleStateManifest,or as assertGitAvailable,N as assertNeverDiskEvent,ai as attachAcpThreadSocket,nr as attachIdleShutdown,Jr as bootServer,dn as buildAndOpenSkill,vr as buildConfigYmlContent,Ct as buildExecResult,ei as buildOkMcpStdioCommand,On as buildSkillZip,ee as buildStarterFolderFrontmatterYaml,wt as buildWipTree,Xe as bundleSkillMdPath,m as canonicalProjectKey,Ae as classifyEvents,Pi as classifyFsPath,ln as clearAllEmbeddingsKeys,Nr as clearContributors,st as coercePackId,s as colorFromSeed,yt as commitUpstreamImport,kt as commitWip,Re as commitWipFromTree,Or as compareSemver,tt as composeEffectiveLinterConfig,z as composeFrontmatterSchemasConfig,Q as containsConflictMarkers,Un as contentHash,$t as contributorCount,Ne as countShadowObjects,V as countStaleAgentWipRefs,te as countWipRefs,Gn as createApiExtension,ri as createAssetServeMiddleware,G as createCollaborationHost,Ge as createContentFilter,vi as createContentFilterAsync,zr as createEmbeddingsSecretStore,An as createEphemeralProjectDir,C as createExternalChangeHandler,pn as createFileLogger,hi as createLiveDerivedIndexExtension,br as createMcpHttpHandler,Cr as createOsProbe,we as createPersistenceExtension,E as createServer,In as createServerObserverExtension,ne as createStreamingErrorWriter,Gi as createTestLogger,ar as describeStoredEmbeddingsKey,vn as detectClaudeDesktopPresence,Nn as detectGit,Oe as detectProjectShape,Vr as detectUserSkillHosts,Ar as discoverLockDirs,Wn as discoverMarkdownlintConfig,Ve as emitPreflightFailureSpan,vt as encodeDocName,Ot as encodeFolderRoute,Le as encodeSkillRoute,Ur as ensureProjectGit,er as ensureProjectSkillGitignore,ge as errorResponse,v as evictStaleTrackerEntries,b as extractHeadings,Fn as extractOkBinaryPath,se as extractWikiLinksFromMarkdown,Ht as fallbackPaths,nn as findEnclosingGitRoot,et as findEnclosingProjectRoot,y as findNativeMarkdownlintFile,hr as flushFileLogger,mi as formatAuthRejectionWire,Jn as formatContributors,Gr as formatContributorsFrom,Ce as formatPackRationale,f as gcCheckpointRefs,Hr as getCurrentMcpLogger,$n as getLocalDir,Zn as getLogFilePath,Ki as getLogger,wn as getLogsDir,fa as getMachineId,zi as getMeter,ur as getMetrics,wi as getTracer,Mr as handleCollabSocketError,dt as handleSpawnCursor,Jt as hasForwardingHeaders,he as hasGcLogLatch,r as iconFromClientName,Qt as incrementCollabSocketFilteredError,qn as incrementServerObserverFire,Dn as initContent,cn as initShadowRepo,Ri as initTelemetry,Gt as initToleranceTelemetryWriter,Ir as installPrettyZodErrors,Ui as installTestLoggers,sr as installUserSkill,Xr as isAllowedApiOrigin,O as isAllowedWorkspaceHostHeader,S as isConfigDoc,Xt as isHocuspocusAuthRejectionReason,_t as isKnownPackId,lt as isLinkIndexExcludedDoc,ti as isLoopbackAddress,Z as isManagedArtifactDoc,u as isOrphanMode,Pe as isPairedWriteOrigin,$ as isPathWithinDir,pa as isProcessAlive,R as isProjectRoot,oi as isRemoteAdmitted,it as isReservedForUserTree,Rn as isSelfWrite,mt as isSystemDoc,ii as isToleranceTelemetryEnabled,Yi as isValidLockPid,xe as lastKnownHash,Rr as listRescueCheckpoints,Y as listStarterPacks,Pt as loadCustomAgents,ye as loadPrincipal,da as lockFilePath,Bi as loggerFactory,Wi as logsCurrentPath,Ji as logsPreviousPath,Dr as makeLazyEmbeddingsKeyStore,ca as markServerLockDraining,pt as mountMcpAndApi,ji as normalizeFsPath,k as originGitHubHost,xn as packageVersionMajorMinor,ci as parseAuthRejectionWire,fr as parseGitVersion,Ze as parseHocuspocusAuthToken,ue as parseKeepaliveConnectionId,Ee as pathToDocName,De as planSeed,zt as prepareSingleFileOpen,Wt as processCommand,mr as processUsage,Pn as readAllTargets,Ut as readBundleDecision,zn as readOwnNativeRules,$i as readProcessLock,sa as readProcessLockDetailed,x as readProjectHeadState,jt as readProjectLocalSemanticConfig,na as readServerLock,pr as readServerPackageVersion,Fr as readSkillInstallStateSnapshot,Vn as readStateManifest,tn as readTargetRecordedAt,Xn as readTargetVersion,At as readUiLock,at as reconcile,an as recordContributor,tr as recordSkillInstallEvent,ae as registerAllTools,Fe as registerWrite,ia as releaseProcessLock,Zi as releaseServerLock,ze as releaseUiLock,U as removeLastKnownHash,kr as reportSkillInstall,Wr as resetMetrics,l as resolveBundleEnabled,Sn as resolveBundledSkillDir,En as resolveContentDir,ot as resolveCursorBinaryDefault,gt as resolveCursorSpawnInvocation,P as resolveEffectiveLinterConfig,dr as resolveEmbeddingsCredential,bn as resolveLockDir,je as resolveNativeConfigForDoc,Se as resolveNativeMarkdownlintConfig,me as resolvePack,jr as resolvePackageVersion,Ye as resolveRemoteAccess,_n as resolveSkillInstallReportSettings,d as resolveUiInfo,hn as restoreContributors,li as restoreLifecycleFromConflictsJson,Et as rewriteMarkdownLinksForDocumentRename,xt as rewriteWikiLinksForDocumentRename,Pr as runAuthReposSubprocess,en as runAuthStatusSubprocess,Dt as runCloneSubprocess,Yn as runDeviceFlowSubprocess,cr as runWithMcpLogger,Ft as safeContentPath,Bn as safeSubdir,ir as safetyCheckpoint,L as sanitizeClientName,Er as saveInMemoryCheckpoint,jn as saveVersion,A as seedBasenameIndex,lr as serializeError,bi as setActiveSpanAttributes,H as setupServerObservers,Bt as shadowGit,Li as shutdownTelemetry,Vi as spansCurrentPath,Hi as spansPreviousPath,J as spawnDetached,ht as splitMarkdownBlocks,re as startWatcher,Ue as streamingProblemEvent,_r as swapContributors,qe as teardownToleranceTelemetryWriter,gr as toBroadcasterKey,Oi as tracedAppendFileSync,Ni as tracedLinkSync,Ti as tracedMkdir,ki as tracedMkdirSync,Fi as tracedRename,Ei as tracedRenameSync,Mi as tracedRmSync,Ai as tracedRmdirSync,Di as tracedUnlinkSync,Ci as tracedWriteFile,Ii as tracedWriteFileSync,$r as trustSystemCertificates,Zt as untrackTrackedProjectSkillProjection,_e as updateLastKnownHash,ta as updateProcessLockPort,oa as updateServerLockPort,p as updateUiLockPort,Qn as validateAgentId,St as validateCloneInputs,Lt as validateSkillZip,la as waitForServerLockDrain,ce as withHiddenWindowsConsole,Si as withSpan,xi as withSpanSync,qr as writeBundleDecision,ni as writeMarkdownlintRule,It as writeRootGitignoreForNewRepo,g as writeStateManifest,sn as writeTargetVersion,We as writeTracker};