@inkeep/open-knowledge 0.62.0-beta.2 → 0.62.0-beta.21

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 (328) hide show
  1. package/dist/{acp-harness-probe-CsOd2HY8.mjs → acp-harness-probe-kUb2Kidl.mjs} +2 -2
  2. package/dist/assets/skills/packs/codebase-wiki/plugin.json +10 -0
  3. package/dist/assets/skills/packs/entity-vault/plugin.json +10 -0
  4. package/dist/assets/skills/packs/knowledge-base/plugin.json +10 -0
  5. package/dist/assets/skills/packs/okf/plugin.json +10 -0
  6. package/dist/assets/skills/packs/plain-notes/plugin.json +10 -0
  7. package/dist/assets/skills/packs/software-lifecycle/plugin.json +10 -0
  8. package/dist/assets/skills/packs/worldbuilding/plugin.json +10 -0
  9. package/dist/assets/skills/packs/writing-pipeline/plugin.json +10 -0
  10. package/dist/assets/skills/write-skill/SKILL.md +14 -1
  11. package/dist/cli.mjs +59 -59
  12. package/dist/config-schema.json +33 -0
  13. package/dist/config.project-local.schema.json +21 -0
  14. package/dist/config.user.schema.json +18 -0
  15. package/dist/constants-Be43M5S5.mjs +2 -0
  16. package/dist/fs-traced-Cbn6E9Vr.mjs +1 -0
  17. package/dist/{fs-traced-2B_-YK-g.mjs → fs-traced-Dm4NQ6S5.mjs} +2 -2
  18. package/dist/{git-handle-BkSalb6i.mjs → git-handle-B1_kHwxU.mjs} +2 -2
  19. package/dist/git-handle-Bzo9zPMA.mjs +1 -0
  20. package/dist/index.d.mts +27 -7
  21. package/dist/index.mjs +213 -213
  22. package/dist/init-BTSkl-0b.mjs +1 -0
  23. package/dist/{init-1WSRoxGv.mjs → init-BdoxPt_G.mjs} +34 -34
  24. package/dist/{launch-json-removal-FkTYvACR.mjs → launch-json-removal-Bw2sOxEx.mjs} +2 -2
  25. package/dist/{loader-CPTihIGS.mjs → loader-BtTRGXlY.mjs} +2 -2
  26. package/dist/loader-C4kBBP8Q.mjs +1 -0
  27. package/dist/md-manager-BmiopEw3.mjs +2 -0
  28. package/dist/native/native-config.darwin-arm64.node +0 -0
  29. package/dist/native/native-config.darwin-x64.node +0 -0
  30. package/dist/native/native-config.linux-arm64-gnu.node +0 -0
  31. package/dist/native/native-config.linux-arm64-musl.node +0 -0
  32. package/dist/native/native-config.linux-x64-musl.node +0 -0
  33. package/dist/native/native-config.win32-arm64-msvc.node +0 -0
  34. package/dist/native/native-config.win32-x64-msvc.node +0 -0
  35. package/dist/{open-browser-BS9zcVt9.mjs → open-browser-Bjj7OZGh.mjs} +2 -2
  36. package/dist/parse-worker.mjs +1 -1
  37. package/dist/preview-Bw9x5ZVA.mjs +1 -0
  38. package/dist/{preview-CTKAOWbX.mjs → preview-Dvw6A4o_.mjs} +2 -2
  39. package/dist/public/assets/ActivityModeContent-UgHvlRfm.js +1 -0
  40. package/dist/public/assets/AddPropertiesButton-BDADcHDL.js +1 -0
  41. package/dist/public/assets/{AgentDiffPane-BoHib7V-.js → AgentDiffPane-ilX8XDNa.js} +1 -1
  42. package/dist/public/assets/{AgentThreadClientBinder-B6SCKpGN.js → AgentThreadClientBinder-sEhhcDlu.js} +1 -1
  43. package/dist/public/assets/{AppMenubar-8Yu49LrI.js → AppMenubar-D59NBp8t.js} +1 -1
  44. package/dist/public/assets/{BugReportHistory-BVQJb7PU.js → BugReportHistory-C-CVBV3l.js} +1 -1
  45. package/dist/public/assets/{BugReportHistoryDialog-_mgVzUpk.js → BugReportHistoryDialog-DHt-VFrA.js} +1 -1
  46. package/dist/public/assets/CodeMirrorPropInput-7DWVEyfk.js +3 -0
  47. package/dist/public/assets/{ConfigSharingInfoTooltip-Dz5-bsuu.js → ConfigSharingInfoTooltip-vG0lwpqt.js} +1 -1
  48. package/dist/public/assets/{ConsentDialogBody-BOStsOyA.js → ConsentDialogBody-BrU01-jw.js} +1 -1
  49. package/dist/public/assets/DiffView-DBOYN8TZ.js +3 -0
  50. package/dist/public/assets/DocumentContext-BIdKuiG7.js +38 -0
  51. package/dist/public/assets/EditorModeToggle-D6QnlYh6.js +1 -0
  52. package/dist/public/assets/{EnableSyncConfirmDialog-DLAT5Ood.js → EnableSyncConfirmDialog-AO57yzbd.js} +1 -1
  53. package/dist/public/assets/{ExcalidrawDocEditor-CO9dou3t.js → ExcalidrawDocEditor-Bam5rV4w.js} +1 -1
  54. package/dist/public/assets/FeedbackForm-CdHrYizt.js +1 -0
  55. package/dist/public/assets/{GraphPanel-fOz-MZ-A.js → GraphPanel-Dx93IooL.js} +2 -2
  56. package/dist/public/assets/ImportSkillDialog-DW6Z89kM.js +1 -0
  57. package/dist/public/assets/{LintConfigEditor-Ba4tOwrd.js → LintConfigEditor-BeI-xPUE.js} +1 -1
  58. package/dist/public/assets/ManagedArtifactProperties-B5LwwYXJ.js +1 -0
  59. package/dist/public/assets/ManagedArtifactProperties-BZO9kI8m.js +1 -0
  60. package/dist/public/assets/{McpConsentDialogBody-CwRVqAIu.js → McpConsentDialogBody-BhVT9dPx.js} +1 -1
  61. package/dist/public/assets/Mermaid-NYQ6RsUB.js +2 -0
  62. package/dist/public/assets/MermaidDocEditor-Cd89HPoy.js +1 -0
  63. package/dist/public/assets/{PropertyDisplayRow-Cu9Ln0I5.js → PropertyDisplayRow-CG8-hCCj.js} +2 -2
  64. package/dist/public/assets/{RegisteredAgentIcon-9IP3tgIz.js → RegisteredAgentIcon-D_jDwJpu.js} +1 -1
  65. package/dist/public/assets/{ReportBugDialogBody-DPbSt3db.js → ReportBugDialogBody-DBA0DIqE.js} +1 -1
  66. package/dist/public/assets/{SchemaConfigEditor-CpDc03Su.js → SchemaConfigEditor-DpFGHtSP.js} +1 -1
  67. package/dist/public/assets/SessionsHost-DlaikM-O.js +2 -0
  68. package/dist/public/assets/SettingsDialogBody-De-5QcmZ.js +12 -0
  69. package/dist/public/assets/{ShareBranchSwitchDialog-C_pVfS08.js → ShareBranchSwitchDialog-7Edp8Hzf.js} +1 -1
  70. package/dist/public/assets/{ShareReceiveDialog-f65F3P4j.js → ShareReceiveDialog-8IdsRTvy.js} +1 -1
  71. package/dist/public/assets/{ShareReceiveMissDialog-DBnTRDP2.js → ShareReceiveMissDialog-Mz-t9oAA.js} +1 -1
  72. package/dist/public/assets/SkillCostValue-Cku3M1db.js +1 -0
  73. package/dist/public/assets/{SkillEditBanner-19neNY4_.js → SkillEditBanner-BCy7jpzl.js} +1 -1
  74. package/dist/public/assets/SkillInstallMenu-BCHCe8z8.js +2 -0
  75. package/dist/public/assets/{SkillOriginInline-D2lLAD0d.js → SkillOriginInline-C1xgG8JC.js} +1 -1
  76. package/dist/public/assets/SkillToolbarControls-JpHel_UB.js +1 -0
  77. package/dist/public/assets/{SlidesToolbarControls-Le_49a2U.js → SlidesToolbarControls-BB3yJWH1.js} +1 -1
  78. package/dist/public/assets/SourceEditor-DNieshsS.js +1 -0
  79. package/dist/public/assets/{TerminalPanel-Bq3D2u2L.js → TerminalPanel-D9R7DZt8.js} +3 -3
  80. package/dist/public/assets/{TerminalWindowApp-Cs8TCoMa.js → TerminalWindowApp-BxE3Ym8E.js} +1 -1
  81. package/dist/public/assets/TextDocEditor-D8XWlX40.js +1 -0
  82. package/dist/public/assets/{ThemePicker-Cfu6jytm.js → ThemePicker-BEO3X5aw.js} +1 -1
  83. package/dist/public/assets/ThreadView-69VZaOlR.js +14 -0
  84. package/dist/public/assets/{TimelineDiffPane-D7Dq5YL_.js → TimelineDiffPane-C3vnfLo5.js} +1 -1
  85. package/dist/public/assets/{agent-diff-store-DjDBy7Vi.js → agent-diff-store-BhRxu1mZ.js} +1 -1
  86. package/dist/public/assets/alert-dialog-C8E8SkhJ.js +7 -0
  87. package/dist/public/assets/arrow-up-right-CXMA4cr5.js +1 -0
  88. package/dist/public/assets/auth-state-cache-DBv0mprN.js +11 -0
  89. package/dist/public/assets/{braces-CDKuh9KW.js → braces-okUwnkYm.js} +1 -1
  90. package/dist/public/assets/{bug-report-send-manager-C7ZQagFv.js → bug-report-send-manager-Bh0TzGvX.js} +1 -1
  91. package/dist/public/assets/{calendar-BfB8lsjW.js → calendar-C_32W35y.js} +1 -1
  92. package/dist/public/assets/{case-sensitive-BRpV9t7A.js → case-sensitive-B9mhUnHr.js} +1 -1
  93. package/dist/public/assets/check-Bzwwm-o4.js +1 -0
  94. package/dist/public/assets/{checkbox-DF_QVto8.js → checkbox-Bi7zk4c5.js} +1 -1
  95. package/dist/public/assets/{chevron-down-DT2zmBir.js → chevron-down-xENV92Te.js} +1 -1
  96. package/dist/public/assets/chevron-left-B1wYSm9K.js +1 -0
  97. package/dist/public/assets/chevron-right-BVvjaUfh.js +1 -0
  98. package/dist/public/assets/{circle-alert-CuO28qX3.js → circle-alert-CKGYtHdt.js} +1 -1
  99. package/dist/public/assets/client-version-Qo8hmlER.js +1 -0
  100. package/dist/public/assets/{cm-theme-CundV4JI.js → cm-theme-CqnwWjn0.js} +1 -1
  101. package/dist/public/assets/{comment-chips-Df5Rd0T0.js → comment-chips-C2rVq4II.js} +1 -1
  102. package/dist/public/assets/{config-provider-BEdlvRi2.js → config-provider-D-IaOGA6.js} +4 -4
  103. package/dist/public/assets/dialog-BH80AfFt.js +5 -0
  104. package/dist/public/assets/{dist-BkdK7CJv.js → dist--D6RzOfD.js} +1 -1
  105. package/dist/public/assets/dist-1N70TEoy2.js +1 -0
  106. package/dist/public/assets/{dist-DpEQ7fP3.js → dist-CFs5UHD5.js} +1 -1
  107. package/dist/public/assets/{dist-ZzZDT_qa.js → dist-CLS9aKf7.js} +1 -1
  108. package/dist/public/assets/{dist-42PGOjVE.js → dist-CPvLRdmt.js} +1 -1
  109. package/dist/public/assets/{dist-q2W-QRsN.js → dist-D8CXqbDc2.js} +1 -1
  110. package/dist/public/assets/{dist-0WeLsvey2.js → dist-DvxceSuh2.js} +145 -145
  111. package/dist/public/assets/{dist-Dvx6OW-b.js → dist-DxgTfwGf.js} +1 -1
  112. package/dist/public/assets/{dist-Cxi87QtK.js → dist-awmOdYf0.js} +1 -1
  113. package/dist/public/assets/{dist-CbJimssg.js → dist-cQHiWmQq.js} +1 -1
  114. package/dist/public/assets/{dist-DfNDNysF.js → dist-ezYezphN.js} +1 -1
  115. package/dist/public/assets/{dist-Dln1RION.js → dist-tUuSMxU2.js} +1 -1
  116. package/dist/public/assets/{dist-BDokCQTT.js → dist-yHiImJTb.js} +1 -1
  117. package/dist/public/assets/doc-paths-Ci9V3GJP.js +1 -0
  118. package/dist/public/assets/{documents-events-Bswa3218.js → documents-events-KFNF8M1t.js} +1 -1
  119. package/dist/public/assets/{download-BDEHPw74.js → download-Bdmlj4Jo.js} +1 -1
  120. package/dist/public/assets/dropdown-menu-BpLbh79a.js +1 -0
  121. package/dist/public/assets/{eye-CXNadRZD.js → eye-DIJifYDY.js} +1 -1
  122. package/dist/public/assets/{field-DiGsul30.js → field-CtUgODi9.js} +1 -1
  123. package/dist/public/assets/file-tree-adapter-BsjkSG-e.js +1 -0
  124. package/dist/public/assets/{file-tree-utils-BQSHH47w.js → file-tree-utils-Ds7HkJwf.js} +1 -1
  125. package/dist/public/assets/{folder-config-api-3OH-7XRq.js → folder-config-api-BWqau0tQ.js} +1 -1
  126. package/dist/public/assets/{folder-open-Dokmmg9C.js → folder-open-5aQb9yif.js} +1 -1
  127. package/dist/public/assets/{git-branch-C3seqxdn.js → git-branch-BEl3Boky.js} +1 -1
  128. package/dist/public/assets/globals-CicL60No.css +1 -0
  129. package/dist/public/assets/{hash-CXbTGfZC.js → hash-26j3E552.js} +1 -1
  130. package/dist/public/assets/{history-CPr-xzs6.js → history-BteF85_l.js} +1 -1
  131. package/dist/public/assets/i18n-k3aI0GNV.js +1 -0
  132. package/dist/public/assets/index-CSzWQRes.js +2196 -0
  133. package/dist/public/assets/{info-DIn-MtiX.js → info-CqQMSCez.js} +1 -1
  134. package/dist/public/assets/{input-group-ChHhVUP_.js → input-group-BG4x9Co0.js} +1 -1
  135. package/dist/public/assets/{lint-config-client-B_Zy2yNf.js → lint-config-client-Dv_IZf02.js} +1 -1
  136. package/dist/public/assets/{lint-plugin-meta-AbruPv8_.js → lint-plugin-meta-C15NfeTq.js} +1 -1
  137. package/dist/public/assets/{list-plus-Lm4FbPM9.js → list-plus-1_iMFVqs.js} +1 -1
  138. package/dist/public/assets/local-menu-action-bus-BuSRFm5g.js +1 -0
  139. package/dist/public/assets/{markdownlint-rule-browser-hy-0vwkM.js → markdownlint-rule-browser-B8m3JJ8Y.js} +1 -1
  140. package/dist/public/assets/messages-B0BMmqnn.js +1 -0
  141. package/dist/public/assets/messages-B5c6YyNP.js +1 -0
  142. package/dist/public/assets/messages-BzE-c_Uj.js +1 -0
  143. package/dist/public/assets/messages-CNojGJ24.js +1 -0
  144. package/dist/public/assets/messages-CPhl6p5K.js +1 -0
  145. package/dist/public/assets/messages-CUIoZBqe.js +1 -0
  146. package/dist/public/assets/messages-Cw1qxDcG.js +1 -0
  147. package/dist/public/assets/messages-D2PtImxe.js +1 -0
  148. package/dist/public/assets/messages-DEYBrYWV.js +1 -0
  149. package/dist/public/assets/messages-DPi-3ors.js +1 -0
  150. package/dist/public/assets/messages-FV0LJygj.js +1 -0
  151. package/dist/public/assets/messages-bf96uLMn.js +1 -0
  152. package/dist/public/assets/minus-HJRULrSt.js +1 -0
  153. package/dist/public/assets/{miss-dialog-store-0sg4whjI.js → miss-dialog-store-CdkrAlK3.js} +1 -1
  154. package/dist/public/assets/note-window-mode-J_lykVfh.js +1 -0
  155. package/dist/public/assets/{ok-7HU1xjtN.js → ok-D3euoYhD.js} +1 -1
  156. package/dist/public/assets/package-BuoPO9EK.js +1 -0
  157. package/dist/public/assets/page-list-cache-DeM2R6LV.js +1 -0
  158. package/dist/public/assets/{panel-right-open-6pbxqqMD.js → panel-right-open-BXE3r3dB.js} +1 -1
  159. package/dist/public/assets/{paperclip-C6Bt4Kir.js → paperclip-C-okgtwN.js} +1 -1
  160. package/dist/public/assets/{pending-receive-nav-store--uA_Ttz1.js → pending-receive-nav-store-BVpMc8JM.js} +1 -1
  161. package/dist/public/assets/progress-BA2juWmV.js +9 -0
  162. package/dist/public/assets/{project-paths-Be5oNlgO.js → project-paths-DFtdLgxL.js} +1 -1
  163. package/dist/public/assets/prop-types-CCaA1wTK.js +1 -0
  164. package/dist/public/assets/{receive-store-wRD2KuhC.js → receive-store-8SCgMS8t.js} +1 -1
  165. package/dist/public/assets/{refresh-cw-CMZXURW4.js → refresh-cw-D41gUk_B.js} +1 -1
  166. package/dist/public/assets/{select-CErmRiOd.js → select-fWSYgcDA.js} +1 -1
  167. package/dist/public/assets/{selection-context-_FFqOhZk.js → selection-context-zszi1QFC.js} +1 -1
  168. package/dist/public/assets/{separator-DcX0NiAC.js → separator-BmK42_9U.js} +1 -1
  169. package/dist/public/assets/skill-scope-BuVzIUXk.js +1 -0
  170. package/dist/public/assets/skills-api-Dep6MiKT.js +1 -0
  171. package/dist/public/assets/{spinner-BfQfD3gf.js → spinner-DmibE6UV.js} +1 -1
  172. package/dist/public/assets/{square-pen-zbdpw5xR.js → square-pen-BlKNuUz7.js} +1 -1
  173. package/dist/public/assets/{src-CTOqSJUC.js → src-BSLRefUx.js} +1 -1
  174. package/dist/public/assets/{tag-pill-input-lRng_LCn.js → tag-pill-input-CQS5NOhF.js} +1 -1
  175. package/dist/public/assets/target-navigation-intent-pKpCjs2S.js +1 -0
  176. package/dist/public/assets/{telemetry-startup-DjnediLY.js → telemetry-startup-DPx9iYCc.js} +1 -1
  177. package/dist/public/assets/terminal-CmHqE3At.js +1 -0
  178. package/dist/public/assets/{terminal-cli-display-DtlGtdop.js → terminal-cli-display-HlY8wnKB.js} +1 -1
  179. package/dist/public/assets/{terminal-launch-events-BAi370wJ.js → terminal-launch-events-DF6gr1Aw.js} +1 -1
  180. package/dist/public/assets/{terminal-telemetry-v1o4QDEL.js → terminal-telemetry-DIQemiSP.js} +1 -1
  181. package/dist/public/assets/{text-viewer-languages-8mK7FOb6.js → text-viewer-languages-D1G0H8jz.js} +2 -2
  182. package/dist/public/assets/{trash-2-DfA0xAM7.js → trash-2-BVoWHmfV.js} +1 -1
  183. package/dist/public/assets/{triangle-alert-LClCSvEK.js → triangle-alert-CJVfCxE0.js} +1 -1
  184. package/dist/public/assets/typing-burst-detector-DIEPcqLu.js +8 -0
  185. package/dist/public/assets/{undo-2-D0RXWwCv.js → undo-2-CXHp9Ngg.js} +1 -1
  186. package/dist/public/assets/{uninstall-ZkNjYQIp.js → uninstall-hrTOWrpH.js} +1 -1
  187. package/dist/public/assets/{use-activity-panel-BEIbg3tr.js → use-activity-panel-DmQb6ftt.js} +1 -1
  188. package/dist/public/assets/{use-apply-config-color-theme-UfawtLYp.js → use-apply-config-color-theme-CgQvQTC8.js} +1 -1
  189. package/dist/public/assets/{use-collab-url-DqLs_I38.js → use-collab-url-D-KUuG97.js} +1 -1
  190. package/dist/public/assets/{use-live-xterm-theme-yIlEKfu7.js → use-live-xterm-theme-9u7r8aAP.js} +1 -1
  191. package/dist/public/assets/use-open-skill-DPLvxchh.js +1 -0
  192. package/dist/public/assets/{use-settings-route-Lf1FP1Sa.js → use-settings-route-DVQFDRof.js} +1 -1
  193. package/dist/public/assets/use-skill-origin-R1sRvauo.js +1 -0
  194. package/dist/public/assets/use-skills-DAq8jAZe.js +1 -0
  195. package/dist/public/assets/{use-terminal-enabled-er2JoZ-A.js → use-terminal-enabled-Dr8J6UFC.js} +1 -1
  196. package/dist/public/assets/use-timeline-entry-diff--6rU6lJA.js +6 -0
  197. package/dist/public/assets/{use-workspace-BZqaUk-j.js → use-workspace-CmQoGWbG.js} +1 -1
  198. package/dist/public/assets/{wrench-Bx808FyC.js → wrench-JX3g_hHJ.js} +1 -1
  199. package/dist/public/assets/x-wQUDJS55.js +1 -0
  200. package/dist/public/index.html +132 -132
  201. package/dist/public/uninstall.html +14 -14
  202. package/dist/{repair-launch-json-DgqIQIOF.mjs → repair-launch-json-HOcUsTIc.mjs} +2 -2
  203. package/dist/{repair-mcp-configs-DsLiavE4.mjs → repair-mcp-configs-CV_5-AyG.mjs} +2 -2
  204. package/dist/{repair-skills-DIq6H0KE.mjs → repair-skills-Dem7BC1X.mjs} +2 -2
  205. package/dist/repair-skills-T5QwtV-L.mjs +1 -0
  206. package/dist/{resolve-project-root-BjH69ZD8.mjs → resolve-project-root-D42xTuDS.mjs} +4 -4
  207. package/dist/schemas/v0/config.project-local.schema.json +21 -0
  208. package/dist/schemas/v0/config.user.schema.json +18 -0
  209. package/dist/server-lock-BIFxlKM5.mjs +1 -0
  210. package/dist/{server-lock-RKPNHNqb.mjs → server-lock-DgBmHnv3.mjs} +2 -2
  211. package/dist/{skill-teardown-C_JJAnAZ.mjs → skill-teardown-R_4ZT4ie.mjs} +2 -2
  212. package/dist/{sleep-DhRrtbfG.mjs → sleep-D4NlDISj.mjs} +2 -2
  213. package/dist/src-B51qQNNF.mjs +2029 -0
  214. package/dist/src-BDiA4a2R.mjs +20 -0
  215. package/dist/{src-BD1wHyiU.mjs → src-CWk71iRz.mjs} +127 -127
  216. package/dist/src-DXorWxxl.mjs +1 -0
  217. package/dist/src-DYP_-J_-.mjs +1 -0
  218. package/dist/start-CbjI-fRE.mjs +1 -0
  219. package/dist/{start-DFHJtxzc.mjs → start-kzCrMDfY.mjs} +3 -3
  220. package/dist/yazl-BwMlCqRQ.mjs +1 -0
  221. package/dist/{yazl-DZr4PyKA.mjs → yazl-DejPO9b3.mjs} +1 -1
  222. package/package.json +5 -5
  223. package/dist/constants-gwiR1AXZ.mjs +0 -2
  224. package/dist/fs-traced-DjggEXdh.mjs +0 -1
  225. package/dist/git-handle-DaYxKcxM.mjs +0 -1
  226. package/dist/init-768uKYVu.mjs +0 -1
  227. package/dist/loader-CXbb_RbT.mjs +0 -1
  228. package/dist/md-manager-_lKMHY2F.mjs +0 -2
  229. package/dist/preview-B9kGxHb1.mjs +0 -1
  230. package/dist/public/assets/ActivityModeContent-dydHORCJ.js +0 -1
  231. package/dist/public/assets/CodeMirrorPropInput-C4Sgk7Nu.js +0 -3
  232. package/dist/public/assets/DiffView-DI7cYNCJ.js +0 -3
  233. package/dist/public/assets/DocumentContext-BRyLZId_.js +0 -38
  234. package/dist/public/assets/EditorModeToggle-9eGLVUIm.js +0 -1
  235. package/dist/public/assets/FeedbackForm-BugXqXA0.js +0 -1
  236. package/dist/public/assets/ImportSkillDialog-Byz6Z1dj.js +0 -1
  237. package/dist/public/assets/ManagedArtifactProperties-Chh3WUTQ.js +0 -1
  238. package/dist/public/assets/ManagedArtifactProperties-FdkUWPgB.js +0 -1
  239. package/dist/public/assets/Mermaid-C8sqPdnq.js +0 -2
  240. package/dist/public/assets/MermaidDocEditor-D3_VxruW.js +0 -1
  241. package/dist/public/assets/SessionsHost-CjAX0WAW.js +0 -2
  242. package/dist/public/assets/SettingsDialogBody-BeLZ_5xC.js +0 -13
  243. package/dist/public/assets/SkillCostValue-C2xg3KQR.js +0 -1
  244. package/dist/public/assets/SkillInstallMenu-CDr2JYhu.js +0 -2
  245. package/dist/public/assets/SkillToolbarControls-CTxnGRS8.js +0 -1
  246. package/dist/public/assets/SourceEditor-CzJ30keY.js +0 -1
  247. package/dist/public/assets/TextDocEditor-ygMtgeY7.js +0 -1
  248. package/dist/public/assets/ThreadView-B6lIZKv1.js +0 -14
  249. package/dist/public/assets/alert-dialog-D3_HT0Lf.js +0 -7
  250. package/dist/public/assets/arrow-up-right-BD5rQrDA.js +0 -1
  251. package/dist/public/assets/auth-state-cache-rHmLBb9X.js +0 -11
  252. package/dist/public/assets/check-DDzb-wrU.js +0 -1
  253. package/dist/public/assets/chevron-left-7MFpt77_.js +0 -1
  254. package/dist/public/assets/chevron-right-D8IV-Ph_.js +0 -1
  255. package/dist/public/assets/client-version-C04OLNen.js +0 -1
  256. package/dist/public/assets/dialog-CeTXzamA.js +0 -5
  257. package/dist/public/assets/dist-CmGSr9O-.js +0 -1
  258. package/dist/public/assets/doc-paths-CiuwB0oU.js +0 -1
  259. package/dist/public/assets/dropdown-menu-C8skJt-Y.js +0 -1
  260. package/dist/public/assets/file-tree-adapter-B4qIw1fG.js +0 -1
  261. package/dist/public/assets/globals-Cm0uoqGd.css +0 -1
  262. package/dist/public/assets/i18n-D6RCXg6s.js +0 -1
  263. package/dist/public/assets/index-vrkBhpz7.js +0 -2098
  264. package/dist/public/assets/known-skill-dirs-BXzevfAU.js +0 -1
  265. package/dist/public/assets/local-menu-action-bus-IjTSMx8U.js +0 -1
  266. package/dist/public/assets/messages-9jq2H0Oi.js +0 -1
  267. package/dist/public/assets/messages-Bx_f87sx.js +0 -1
  268. package/dist/public/assets/messages-C3miiMeN.js +0 -1
  269. package/dist/public/assets/messages-CDKiFfjp.js +0 -1
  270. package/dist/public/assets/messages-DVwDXAsF.js +0 -1
  271. package/dist/public/assets/messages-Dk8a17Y8.js +0 -1
  272. package/dist/public/assets/messages-DkwLrsWG.js +0 -1
  273. package/dist/public/assets/messages-DqR117DY.js +0 -1
  274. package/dist/public/assets/messages-QUjY9svp.js +0 -1
  275. package/dist/public/assets/messages-WUH3Y5VP.js +0 -1
  276. package/dist/public/assets/messages-dHZujidV.js +0 -1
  277. package/dist/public/assets/messages-xF0EOnP_.js +0 -1
  278. package/dist/public/assets/minus-zMlnd3qf.js +0 -1
  279. package/dist/public/assets/navigation-targets-Df3QXcjS.js +0 -1
  280. package/dist/public/assets/open-managed-artifact-tab-DLCGOaFC.js +0 -1
  281. package/dist/public/assets/progress-BCKE1cPj.js +0 -9
  282. package/dist/public/assets/prop-types-NQri49lM.js +0 -1
  283. package/dist/public/assets/skill-actions-BP-CCkh4.js +0 -1
  284. package/dist/public/assets/skill-scope-CAVgRNo8.js +0 -1
  285. package/dist/public/assets/skills-api-BmxNOfQ0.js +0 -1
  286. package/dist/public/assets/target-navigation-intent-BuGWbfE1.js +0 -1
  287. package/dist/public/assets/terminal-4WK7jXvy.js +0 -1
  288. package/dist/public/assets/typing-burst-detector-ZpjfAtrw.js +0 -8
  289. package/dist/public/assets/use-open-skill-5vxsvMFg.js +0 -1
  290. package/dist/public/assets/use-popular-skills-CrLiCM00.js +0 -1
  291. package/dist/public/assets/use-skill-origin-CvIMw2zJ.js +0 -1
  292. package/dist/public/assets/use-timeline-entry-diff-BI2FRiaG.js +0 -6
  293. package/dist/public/assets/x-C1LzPj_K.js +0 -1
  294. package/dist/repair-skills-D2u8xMCO.mjs +0 -1
  295. package/dist/server-lock-BZi8m82Z.mjs +0 -1
  296. package/dist/src-B_6tF_Gx.mjs +0 -2029
  297. package/dist/src-CNzlP6PP.mjs +0 -1
  298. package/dist/src-D9PIQWsr.mjs +0 -1
  299. package/dist/src-DL44CZGU.mjs +0 -20
  300. package/dist/start-BADrSNko.mjs +0 -1
  301. package/dist/yazl-jVENrf5i.mjs +0 -1
  302. /package/dist/public/assets/{asset-dispatch-BffGDRYN.js → asset-dispatch-CD6rGcnF.js} +0 -0
  303. /package/dist/public/assets/{auth-prompt-store-BXeyTyYx.js → auth-prompt-store-vAFATIFt.js} +0 -0
  304. /package/dist/public/assets/{badge-Bb7mpvxU.js → badge-DGD9B_-e.js} +0 -0
  305. /package/dist/public/assets/{copilot-BvcrBiQu.js → copilot-DMpTxujg.js} +0 -0
  306. /package/dist/public/assets/{createLucideIcon-IawHI4re.js → createLucideIcon-CAkY8Blx.js} +0 -0
  307. /package/dist/public/assets/{cursor-Dy0g2caC.js → cursor-2VSK5BUh.js} +0 -0
  308. /package/dist/public/assets/{dist-BL2TNIf3.js → dist-EbTHn-HD.js} +0 -0
  309. /package/dist/public/assets/{documents-fetch-DMG54QRV.js → documents-fetch-Bw4lKnRN.js} +0 -0
  310. /package/dist/public/assets/{external-link-CxH7AG7J.js → external-link-DGqXfQJy.js} +0 -0
  311. /package/dist/public/assets/{file-tree-rename-validation-MFhw33W7.js → file-tree-rename-validation-DmGgIR2S.js} +0 -0
  312. /package/dist/public/assets/{format-CWkG0foI.js → format-CyaLi0or.js} +0 -0
  313. /package/dist/public/assets/{globals-CKGGll07.js → globals-BuKzWnho.js} +0 -0
  314. /package/dist/public/assets/{input-I1Mvaow8.js → input-Cy2M_Avq.js} +0 -0
  315. /package/dist/public/assets/{panel-Do94xfkL.js → panel-DNPki55m.js} +0 -0
  316. /package/dist/public/assets/{parse-api-error-RlJ5hnUA.js → parse-api-error-DcnXKbfT.js} +0 -0
  317. /package/dist/public/assets/{platform-labels-a3gk_AS8.js → platform-labels-CTgi7sF6.js} +0 -0
  318. /package/dist/public/assets/{popover-Rvl_AsUU.js → popover-DAe-_3rj.js} +0 -0
  319. /package/dist/public/assets/{skeleton-DIxLroLR.js → skeleton-BZIHOzZH.js} +0 -0
  320. /package/dist/public/assets/{sortable.esm-DVUoPZjJ.js → sortable.esm-DK-jMveF.js} +0 -0
  321. /package/dist/public/assets/{startup-marks-CzkHuO_z.js → startup-marks-BYurBbnW.js} +0 -0
  322. /package/dist/public/assets/{stex-D2L90EPe.js → stex-s_JxeNEZ.js} +0 -0
  323. /package/dist/public/assets/{textarea-BtqZ3yY1.js → textarea-BoMa_3jF.js} +0 -0
  324. /package/dist/public/assets/{timeline-diff-store-BaXPeva3.js → timeline-diff-store-ym5Oz1UF.js} +0 -0
  325. /package/dist/public/assets/{tool-list-format-BjLHl4sC.js → tool-list-format-CC-FRU0G.js} +0 -0
  326. /package/dist/public/assets/{use-apply-config-theme-yjXI2GwT.js → use-apply-config-theme-B1eLRQeV.js} +0 -0
  327. /package/dist/public/assets/{use-installed-clis-vg6izNL9.js → use-installed-clis-t29XGX_x.js} +0 -0
  328. /package/dist/public/assets/{workspace-paths-BKo6L6w1.js → workspace-paths-CD0W1etA.js} +0 -0
@@ -0,0 +1,20 @@
1
+ import{o as e}from"./chunk-DTipWd-i.mjs";import{K as t,pt as n,q as r}from"./sleep-D4NlDISj.mjs";import{Ac as i,Co as a,Fc as o,Ic as s,jc as c,lt as l,ut as u}from"./src-CWk71iRz.mjs";import{On as ee,Pi as d,at as f,ct as p,ot as m,si as h,st as te}from"./src-B51qQNNF.mjs";import{D as g,F as _,I as v,k as y}from"./fs-traced-Dm4NQ6S5.mjs";import{C as b,S as x,_ as S,f as C,r as w}from"./server-lock-DgBmHnv3.mjs";import{t as T}from"./yazl-DejPO9b3.mjs";import{h as E,m as ne,x as re}from"./resolve-project-root-D42xTuDS.mjs";import{c as D}from"./colors-DSyAT9Cz.mjs";import{a as O,i as ie}from"./acp-harness-probe-kUb2Kidl.mjs";import{D as k,E as A,S as ae,T as j,_ as oe,b as se,o as ce}from"./init-BdoxPt_G.mjs";import{n as le}from"./constants-Be43M5S5.mjs";import{t as M}from"./is-object-Bw0-z8qH.mjs";import"./loader-BtTRGXlY.mjs";import"./skill-teardown-R_4ZT4ie.mjs";import"./preview-Dvw6A4o_.mjs";import{execSync as ue,spawnSync as de}from"node:child_process";import{basename as N,dirname as P,join as F,relative as fe,resolve as I,sep as pe}from"node:path";import{cpSync as me,createWriteStream as he,existsSync as L,lstatSync as ge,mkdirSync as R,mkdtempSync as _e,readFileSync as z,readdirSync as B,readlinkSync as ve,rmSync as ye,statSync as be,writeFileSync as V}from"node:fs";import{arch as xe,freemem as Se,homedir as H,hostname as Ce,platform as we,release as Te,tmpdir as Ee,totalmem as De,type as Oe,uptime as ke}from"node:os";import"node:fs/promises";import{createHash as Ae}from"node:crypto";var je=n();const Me=new Set([`start`,`stop`,`status`,`clean`,`ui`,`mcp`,`preview`,`lint`,`deinit`,`auth`]);function Ne(e,t,n=ee){if(e!==void 0&&!Me.has(e))return null;let r=n(t);return r===null||r.distance===0?null:r.rootPath}let Pe=null;function Fe(e){Pe=e}function Ie(){return Pe??process.cwd()}function U(){return F(H(),`.ok`,`bug-reports`)}function Le(e=new Date){let t=e.toISOString().replace(/[:.]/g,`-`),n=U(),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 Re(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`))?Ae(`sha256`).update(I(e)).digest(`hex`).slice(0,12):null}function ze(){let e={timestamp:new Date().toISOString(),platform:we(),osType:Oe(),osRelease:Te(),hostname:`[redacted]`,uptime:ke(),freeMem:Se(),totalMem:De(),nodeVersion:process.version,bunVersion:process.versions.bun??null,v8Version:process.versions.v8??null,pid:process.pid};try{e.macosVersion=ue(`sw_vers -productVersion 2>/dev/null`,d({encoding:`utf8`})).trim()}catch{}try{let t=F(__dirname,`..`,`..`,`package.json`);L(t)&&(e.okVersion=JSON.parse(z(t,`utf8`)).version)}catch{}return e}const Be=[{prefix:`cli`,projectTagged:!0},{prefix:`desktop`,projectTagged:!1},{prefix:`mcp`,projectTagged:!1}];function Ve(e){let t=N(e);return Be.some(e=>e.projectTagged&&t.startsWith(`${e.prefix}.`))}function He(e,t){return Ke(e,t).files}const Ue=[`ShipIt_stderr.log`,`ShipIt_stdout.log`];function We(e,t=O){let n=F(e,`${t}.ShipIt`);return L(n)?Ue.map(e=>F(n,e)).filter(e=>L(e)):[]}function Ge(e){if(!L(e))return[];try{let t=new Map;for(let n of B(e).filter(e=>e.endsWith(`.yaml`)).sort()){let e=n.endsWith(`.sent.yaml`)?n.slice(0,-o.length):n.slice(0,-5),r=t.get(e);r===void 0?t.set(e,[n]):r.push(n)}return[...t.values()].slice(-25).flat().map(t=>F(e,t))}catch{return[]}}function Ke(e,t){if(!L(t))return{files:[],excludedByProjectSlug:0};let n=B(t).filter(e=>e.endsWith(`.log`)||/\.log\.\d+$/.test(e)).map(e=>F(t,e));if(!e)return{files:n,excludedByProjectSlug:0};let r=n.filter(Ve),i=[],a=r.filter(t=>{try{return z(t,`utf8`).includes(`"project":"${e}"`)}catch{return i.push(t),!1}});if(a.length===0)return{files:n,excludedByProjectSlug:0};let o=new Set([...a,...i]);return{files:n.filter(e=>!Ve(e)||o.has(e)),excludedByProjectSlug:r.length-o.size}}function qe(e){let t=F(e,`.ok`,`local`);return L(t)?{files:[`server.lock`,`last-spawn-error.log`,l].map(e=>F(t,e)).filter(e=>L(e))}:{files:[]}}function Je(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 Ye(e){if(e.redact){let{redacted:t,patterns:n,lineCount:r}=c(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{Ye({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 Xe(t){let{redact:n,outputPath:r,logger:a}=t,o=t.userLogsDir??F(H(),`.ok`,`logs`),c=t.projectDir?Re(t.projectDir,a):null;R(P(r),{recursive:!0}),a?.info({projectSlug:c},`gathering diagnostic data`);let l=ze();l.desktop=t.desktop??null,l.language=t.language??null;let{files:u,excludedByProjectSlug:ee}=Ke(c,o),{files:d}=t.projectDir?qe(t.projectDir):{files:[]},{files:f}=t.projectDir?Je(t.projectDir):{files:[]},p=t.shipItLogFiles??[];a?.info({logFileCount:u.length,logFilesExcludedByProjectSlug:ee,lockFileCount:d.length,localSinkFileCount:f.length,shipItLogFileCount:p.length},`files collected`);let m=[],h=[],{ZipFile:te}=await import(`./yazl-BwMlCqRQ.mjs`).then(t=>e(t.default,1)),g=new te;W({zipfile:g,files:[...u,...p],prefix:`logs`,redact:n,bundleFiles:h,redactions:m,logger:a}),W({zipfile:g,files:d,prefix:`lockdir`,redact:n,bundleFiles:h,redactions:m,logger:a}),W({zipfile:g,files:f,prefix:`local-logs`,redact:n,bundleFiles:h,redactions:m,logger:a}),W({zipfile:g,files:t.bugReportLedgerFiles??[],prefix:s,redact:n,bundleFiles:h,redactions:m,logger:a});for(let e of t.extraFiles??[])try{let t=z(e.sourcePath),n=`extra/${e.zipName??N(e.sourcePath)}`;g.addBuffer(t,n),h.push(n)}catch(t){a?.warn({sourcePath:e.sourcePath,err:t},`extra file unreadable; omitted from bundle`)}t.note&&Ye({zipfile:g,name:`note.txt`,content:t.note,redact:n,bundleFiles:h,redactions:m});let _=JSON.stringify(l,null,2);g.addBuffer(Buffer.from(_,`utf8`),`sysinfo.json`),h.push(`sysinfo.json`);let v={generatedAt:new Date().toISOString(),disciplineVersion:`1.0.0`,projectSlug:c,files:h,redactions:m,sysinfo:l};g.addBuffer(Buffer.from(JSON.stringify(v,null,2),`utf8`),`MANIFEST.json`);let y=m.reduce((e,t)=>e+t.lineCount,0),b=new Set(p.map(e=>`logs/${N(e)}`)),x=h.filter(e=>b.has(e)),S=new Set((t.bugReportLedgerFiles??[]).map(e=>`${s}/${N(e)}`)),C=h.filter(e=>S.has(e)),w=c?h.filter(e=>e.startsWith(`logs/`)&&!Ve(e)&&!b.has(e)):[],T=[`# Bug Report Bundle`,``,`Generated: ${v.generatedAt}`,`Project: ${c??`(unscoped)`}`,`Discipline version: ${v.disciplineVersion}`,``,`## Contents`,``,...h.map(e=>`- ${e}`),``,`## Privacy`,``,...w.length>0?[`Scope: some collected logs are user-wide rather than project-scoped.`,`These are written once per machine per day and can contain activity`,`from other projects open on this machine, including captured console`,`output:`,...w.map(e=>`- ${e}`),``]:[],...x.length>0?[`Installer logs: written by the macOS update helper rather than by`,`OpenKnowledge itself, and machine-wide rather than scoped to any one`,`project. They record the install and update history of this app on`,`this machine. Only this app is collected, never other applications`,`that use the same update mechanism:`,...x.map(e=>`- ${e}`),``]:[],...C.length>0?[`Send history: a small record for each bug report previously generated`,`on this machine — when it was generated, whether sending it`,`succeeded, and why it failed if it did. This is what makes a failed`,`send diagnosable at all. It is machine-wide rather than scoped to`,`this project, so it names the other projects reports were filed`,`from. It carries no document content:`,...C.map(e=>`- ${e}`),``]:[],...n?[`This bundle was auto-redacted before packaging.`,`Patterns checked: ${i.join(`, `)}`,y>0?`${y} line(s) were scrubbed across ${m.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
+ `);g.addBuffer(Buffer.from(T,`utf8`),`README.md`),g.end();let E=he(r);return g.outputStream.pipe(E),await new Promise((e,t)=>{E.on(`close`,e),E.on(`error`,t)}),a?.info({bundlePath:r,fileCount:h.length,redactionCount:y},`bundle written`),{zipPath:r,summary:{projectSlug:c,files:h,redactions:m,redactedLineCount:y,generatedAt:v.generatedAt}}}var Ze=e(T(),1),G=e(D(),1);function Qe(e){return v({absPath:y(`user`,e,e),sideline:!1,warn:()=>{}}).value.appearance?.language??`system`}function $e({home:e=H(),env:n=process.env}={}){let i=Qe(e),{override:o,preferenceList:s}=g(n),{locale:c,source:l}=a({override:o,storedPreference:i,supportedLocales:r,preferenceList:s,autoDetectableLocales:t});return{preference:i,locale:c,source:l,systemLanguages:s}}function et(e,t){return t.length===0||!e.includes(t)?e:e.split(t).join(`<CONTENT_DIR>`)}function tt(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function K(e,t){if(typeof e==`string`)return et(e,t.contentDir);if(Array.isArray(e))return e.map(e=>K(e,t));if(!tt(e))return e;let n={};for(let[r,i]of Object.entries(e))n[r]=K(i,t);return n}function nt(e,t){let n=z(e,`utf-8`);if(n.length===0)return;let r=n.endsWith(`
3
+ `),i=n.split(`
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=K(JSON.parse(n),t);a.push(JSON.stringify(e))}catch{a.push(n)}}}V(e,r?`${a.join(`
5
+ `)}\n`:a.join(`
6
+ `))}function rt(e,t){let n=z(e,`utf-8`);if(n.trim().length!==0)try{let r=K(JSON.parse(n),t),i=n.endsWith(`
7
+ `)?`
8
+ `:``;V(e,`${JSON.stringify(r,null,2)}${i}`)}catch{let r=et(n,t.contentDir);r!==n&&V(e,r)}}function it(e,t){let n=z(e,`utf-8`),r=et(n,t.contentDir);r!==n&&V(e,r)}function at(e){try{return B(e,{withFileTypes:!0}).filter(e=>e.isFile()).map(t=>F(e,t.name))}catch{return[]}}const ot=new Set([`agent-presence.json`,`agent-effects.json`,`runtime.json`]);function st(e){return/\.log\.\d+$/.test(e)}function ct(e){return e.endsWith(`.jsonl`)||e.endsWith(`.log`)||st(e)}function lt(e){let t={contentDir:e.contentDir};for(let n of[`telemetry`,`logs`,`process`])for(let r of at(F(e.stagingDir,n)))ct(r)?nt(r,t):r.endsWith(`.json`)?rt(r,t):it(r,t);for(let n of at(F(e.stagingDir,`state`))){let e=N(n);n.endsWith(`.jsonl`)?nt(n,t):ot.has(e)?rt(n,t):it(n,t)}}const ut=[`.ok`,`local`,`telemetry`],dt=[`.ok`,`local`,`logs`],ft=[`.ok`,`local`,`loss-capture`],pt=`spans-current.jsonl`,mt=`spans-prev.jsonl`,ht=`server-current.jsonl`,gt=`server-prev.jsonl`,_t=`loss-current.jsonl`,vt=`loss-prev.jsonl`;function yt(e){return F(e,...ut,pt)}function bt(e){return F(e,...ut,mt)}function xt(e){return F(e,...dt,ht)}function St(e){return F(e,...dt,gt)}function Ct(e){return F(e,...ft,_t)}function wt(e){return F(e,...ft,vt)}const Tt=1e3;async function Et(e){try{let t=await fetch(`http://127.0.0.1:${e}/api/metrics/agent-presence`,{signal:AbortSignal.timeout(Tt)});return t.ok?await t.text():null}catch{return null}}async function Dt(e){try{let t=await fetch(`http://127.0.0.1:${e}/api/metrics/agent-effects`,{signal:AbortSignal.timeout(Tt)});return t.ok?await t.text():null}catch{return null}}async function Ot(e){try{let t=await fetch(`http://127.0.0.1:${e}/api/metrics/watcher-recent`,{signal:AbortSignal.timeout(Tt)});return t.ok?await t.text():null}catch{return null}}function kt(e){try{let t=JSON.parse(e);if(typeof t!=`object`||!t)return null;let n=t.decisions;return Array.isArray(n)?n.length===0?``:`${n.map(e=>JSON.stringify(e)).join(`
9
+ `)}\n`:null}catch{return null}}function At(e){let t=F(e,`.git`,`ok`);if(!L(t))return null;let n=de(`git`,[`-C`,t,`log`,`--oneline`,`-50`],d({encoding:`utf-8`,timeout:2e3}));return n.error||n.status!==0?null:n.stdout??``}function jt(e){let t=F(e,`.git`,`ok`);if(!L(t))return null;let n=de(`git`,[`-C`,t,`for-each-ref`,`--sort=-creatordate`,`--count=50`,`--format=%(refname)%09%(creatordate:iso-strict)%09%(contents:subject)`,`refs/checkpoints/`],d({encoding:`utf-8`,timeout:2e3}));return n.error||n.status!==0?null:n.stdout??``}function Mt(){let e=process.env.OK_DESKTOP_VERSION,t=process.env.OK_DESKTOP_PACKAGED,n=process.env.OK_DESKTOP_CHANNEL;return e===void 0||t===void 0||n===void 0?null:{electronVersion:e,packaged:t===`1`||t.toLowerCase()===`true`,channel:n}}function Nt(){return{nodeVersion:process.version,platform:we(),arch:xe()}}function Pt(){return process.env.OTEL_SDK_DISABLED===`false`}function q(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Ft(e){if(!L(e))return{};let t;try{t=(0,je.parse)(z(e,`utf-8`))}catch(t){return console.warn(`[ok diagnose bundle] failed to parse ${e} for manifest config; manifest will report schema defaults. Reason: ${t instanceof Error?t.message:String(t)}`),{}}if(!q(t))return{};let n=t.telemetry;if(!q(n))return{};let r=n.localSink;return q(r)?r:{}}function It(e){return typeof e==`boolean`?e:void 0}function Lt(e){return typeof e==`number`&&Number.isFinite(e)&&e>0?e:void 0}function J(e){if(q(e))return Lt(e.maxBytes)}function Rt(e){let t=Ft(y(`project`,e)),n=Ft(y(`project-local`,e));return{enabled:It(n.enabled)??It(t.enabled)??!0,spansMaxBytes:J(n.spans)??J(t.spans)??52428800,logsMaxBytes:J(n.logs)??J(t.logs)??26214400}}function zt(e){return Ae(`sha256`).update(e).digest(`hex`)}function Bt(e){let t=z(e),n=0;for(let e=0;e<t.length;e++)t[e]===10&&n++;return n}function Vt(e){let t=z(e,`utf-8`),n=`"doc.name"`,r=0,i=t.indexOf(n);for(;i!==-1;)r++,i=t.indexOf(n,i+10);return r}function Y(e,t){if(!L(e))return!1;try{return R(P(t),{recursive:!0}),me(e,t),!0}catch{return!1}}function Ht(e){let t=[],n=e=>{let r=B(e,{withFileTypes:!0});for(let i of r){let r=F(e,i.name);i.isDirectory()?n(r):i.isFile()&&t.push(r)}};return n(e),t.sort()}const Ut=new Set([`.jsonl`]);function Wt(e){let t=e.lastIndexOf(`.`);return t===-1?!1:Ut.has(e.slice(t))}const Gt=new Set([`.jsonl`,`.json`,`.txt`,`.log`,`.lock`,`.yaml`,`.yml`]);function Kt(e){if(st(e))return!0;let t=e.lastIndexOf(`.`);return t===-1?!1:Gt.has(e.slice(t))}function qt(e){let t=[];for(let n of Ht(e)){let r=Jt(e,n);if(!Kt(r))continue;let{redacted:i,patterns:a,lineCount:o}=c(z(n,`utf-8`));a.length!==0&&(V(n,i),t.push({file:r,lineCount:o,patterns:a}))}return{redactions:t,redactedLineCount:t.reduce((e,t)=>e+t.lineCount,0)}}function Jt(e,t){return fe(e,t).split(pe).join(`/`)}async function Yt(e){let t=I(e.contentDir),n=I(e.projectDir??e.contentDir),r=e.deps??{},i=r.fetchAgentPresence??Et,a=r.fetchAgentEffects??Dt,o=r.fetchWatcherRecent??Ot,c=r.readShadowHead??At,ee=r.readCheckpointRefs??jt,d=r.now??(()=>new Date),f=r.okVersion??(()=>le),p=r.readDesktopEnv??Mt,m=r.readLanguage??$e,h=r.readRuntime??Nt,te=r.isOtlpPushEnabled??Pt,g=_e(F(Ee(),`ok-bundle-`));try{R(F(g,`telemetry`),{recursive:!0}),R(F(g,`logs`),{recursive:!0}),R(F(g,`state`),{recursive:!0}),Y(yt(n),F(g,`telemetry`,pt)),Y(bt(n),F(g,`telemetry`,mt)),Y(xt(n),F(g,`logs`,ht)),Y(St(n),F(g,`logs`,gt));for(let t of e.userLogFiles??[])Y(t,F(g,`logs`,N(t)));for(let t of e.userStateFiles??[])Y(t,F(g,s,N(t)));let _=F(n,`.ok`,`local`),v=F(_,`server.lock`),y=`not-running`,b=`no server.lock`,x=null;if(L(v)){Y(v,F(g,`state`,`server.lock`));try{let e=z(v,`utf-8`),t=JSON.parse(e);typeof t.port==`number`?x=t.port:b=`lock present but no port`}catch{b=`lock present but unparseable`}}if(x!==null){let e=await i(x);e===null?b=`agent-presence endpoint at :${x} unreachable`:(V(F(g,`state`,`agent-presence.json`),e),y=`running`,b=``);let t=await a(x);t!==null&&V(F(g,`state`,`agent-effects.json`),t);let n=await o(x);if(n!==null){let e=kt(n);e!==null&&V(F(g,`state`,`watcher-recent.jsonl`),e)}}let S=c(t);S!==null&&V(F(g,`state`,`shadow-head.txt`),S);let C=ee(t);C!==null&&V(F(g,`state`,`checkpoint-refs.txt`),C),Y(Ct(n),F(g,`state`,_t)),Y(wt(n),F(g,`state`,vt)),Y(F(_,`last-spawn-error.log`),F(g,`state`,`last-spawn-error.log`)),Y(F(_,u),F(g,`state`,u)),Y(F(_,l),F(g,`state`,l));let w=h(),T=p(),E=m(),ne={ok:{version:f(),nodeVersion:w.nodeVersion,platform:w.platform,arch:w.arch},host:{desktop:T,language:E}};V(F(g,`state`,`runtime.json`),`${JSON.stringify(ne,null,2)}\n`);let re=y===`running`?`running
10
+ `:`not-running (${b})\n`;if(V(F(g,`state`,`server-status.txt`),re),e.processDir&&L(e.processDir)){let t=F(g,`process`);R(t,{recursive:!0}),me(e.processDir,t,{recursive:!0})}let D=e.redact===!0;D&&lt({stagingDir:g,contentDir:t}),e.note&&V(F(g,`note.txt`),e.note);let O=null;e.scrubSecrets===!0&&(O=qt(g));for(let t of e.extraFiles??[])Y(t.sourcePath,F(g,`extra`,t.zipName??N(t.sourcePath)))||r.logger?.warn({sourcePath:t.sourcePath},`extra file missing; omitted from bundle`);let ie=Rt(n),k=Ht(g),A=[],ae=0,j=0;for(let e of k){let t=Jt(g,e),n=be(e).size,r=Wt(t)?Bt(e):0;A.push({path:t,bytes:n,lines:r}),ae+=n,t.startsWith(`telemetry/`)&&Wt(t)&&(j+=Vt(e))}let oe={applied:D};O!==null&&(oe.secretScrub=O);let se={schemaVersion:2,createdAt:d().toISOString(),ok:{version:f(),nodeVersion:w.nodeVersion,platform:w.platform,arch:w.arch},host:{desktop:T,language:E},contentDir:{pathSha256:zt(t),absolutePath:D?`<CONTENT_DIR>`:t},telemetry:{localSink:ie,otlpPushEnabled:te()},redaction:oe,serverStatus:y,files:A};V(F(g,`manifest.json`),`${JSON.stringify(se,null,2)}\n`);let ce=k.some(e=>{try{return z(e,`utf-8`).includes(t)}catch{return!1}}),le={totalBytes:ae,fileCount:A.length,docNameCount:j,contentDirVisible:ce,redacted:D},M=!1;return{stagingDir:g,manifest:se,summary:le,cleanup:()=>{M||(M=!0,ye(g,{recursive:!0,force:!0}))}}}catch(e){throw ye(g,{recursive:!0,force:!0}),e}}async function Xt(e){let{collected:t,outputPath:n}=e,r=P(n);if(!L(r))throw Error(`ok diagnose bundle: parent directory does not exist: ${r}. Create it or pass --out with an existing parent.`);let i=new Ze.ZipFile,a=Ht(t.stagingDir);for(let e of a){let n=Jt(t.stagingDir,e);i.addFile(e,n)}i.end();let o=he(n);return i.outputStream.pipe(o),await new Promise((e,t)=>{o.on(`close`,e),o.on(`error`,t),i.outputStream.on(`error`,t)}),n}function Zt(e,t){let n=F(e,`.ok`,`config.yml`);if(L(n))try{let t=(0,je.parse)(z(n,`utf-8`)),r=M(t)?t.content:void 0,i=M(r)?r.dir:void 0;if(typeof i==`string`&&i.length>0)return I(e,i)}catch(e){t?.warn({configPath:n,err:e},`bug-report: failed to read .ok/config.yml; falling back to project root as content dir`)}return I(e)}async function Qt(e,t,n,r){let i=Re(t,e.logger),a=await Yt({contentDir:Zt(t,e.logger),projectDir:t,redact:e.redact,scrubSecrets:e.redact,note:e.note,extraFiles:e.extraFiles,userLogFiles:[...He(i,e.userLogsDir??F(H(),`.ok`,`logs`)),...We(e.cachesDir??F(H(),`Library`,`Caches`))],userStateFiles:Ge(e.bugReportsDir??U()),deps:{readDesktopEnv:n,readLanguage:r,logger:e.logger}});try{R(P(e.outputPath),{recursive:!0}),await Xt({collected:a,outputPath:e.outputPath});let t=a.manifest.redaction.secretScrub;return{zipPath:e.outputPath,summary:{level:`full`,systemWide:!1,projectSlug:i,files:a.manifest.files.map(e=>e.path),redactions:t?.redactions??[],redactedLineCount:t?.redactedLineCount??0,generatedAt:a.manifest.createdAt}}}finally{a.cleanup()}}async function $t(e){let{projectDir:t}=e,n=e.readDesktopEnv??Mt,r=e.readLanguage??$e;if(e.level===`full`&&t!==void 0)return Qt(e,t,n,r);let{zipPath:i,summary:a}=await Xe({projectDir:t,redact:e.redact,outputPath:e.outputPath,userLogsDir:e.userLogsDir,shipItLogFiles:We(e.cachesDir??F(H(),`Library`,`Caches`)),bugReportLedgerFiles:Ge(e.bugReportsDir??U()),logger:e.logger,note:e.note,extraFiles:e.extraFiles,desktop:n(),language:r()});return{zipPath:i,summary:{level:e.level,systemWide:t===void 0,projectSlug:a.projectSlug,files:a.files,redactions:a.redactions,redactedLineCount:a.redactedLineCount,generatedAt:a.generatedAt}}}function en(e,t){if(!L(e))return{status:`missing`,lockPath:e};let n;try{n=JSON.parse(z(e,`utf-8`))}catch{return{status:`corrupt`,lockPath:e}}if(!n||typeof n!=`object`||!b(n.pid))return{status:`corrupt`,lockPath:e};let r=n;if(!(t.isAlive??x)(r.pid))return{status:`dead-pid`,lockPath:e,lock:r};if(typeof r.machineId==`string`)return r.machineId===(t.machineId??S())?{status:`alive`,lockPath:e,lock:r}:{status:`foreign-host`,lockPath:e,lock:r};let i=t.host??Ce();return r.hostname===i?{status:`alive`,lockPath:e,lock:r}:{status:`foreign-host`,lockPath:e,lock:r}}function X(e,t,n={}){return en(C(e,t),n)}function Z(e,t={}){return en(F(e,`ui.lock`),t)}function tn(e){return e.replace(/:\d+$/,``)}function nn(e){let t=e.trim();if(!t)return null;{let e=/^https?:\/\/([^/?#]+)\/([\w.\-~%]+)\/([\w.\-~%]+?)(?:\.git)?\/?$/.exec(t);if(e)return{protocol:`https`,hostname:tn(e[1]),owner:e[2],name:e[3]}}{let e=/^ssh:\/\/(?:[\w.-]+@)?([^/?#]+)\/([\w.\-~%]+)\/([\w.\-~%]+?)(?:\.git)?\/?$/.exec(t);if(e)return{protocol:`ssh`,hostname:tn(e[1]),owner:e[2],name:e[3]}}{let e=/^git:\/\/([^/?#]+)\/([\w.\-~%]+)\/([\w.\-~%]+?)(?:\.git)?\/?$/.exec(t);if(e)return{protocol:`git`,hostname:tn(e[1]),owner:e[2],name:e[3]}}{let e=/^(?:[\w.-]+@)?([\w.-]+):([\w.\-~%]+)\/([\w.\-~%]+?)(?:\.git)?$/.exec(t);if(e?.[1].includes(`.`)||e&&t.startsWith(`git@`))return{protocol:`ssh`,hostname:e[1],owner:e[2],name:e[3]}}{let e=/^git:([\w.-]+)\/([\w.\-~%]+)\/([\w.\-~%]+?)(?:\.git)?\/?$/.exec(t);if(e)return{protocol:`git`,hostname:e[1],owner:e[2],name:e[3]}}if(!t.includes(`://`)&&!t.includes(`@`)&&!t.startsWith(`/`)){let e=/^([\w.-]+)\/([\w.\-~%]+?)(?:\.git)?$/.exec(t);if(e)return{protocol:`https`,hostname:`github.com`,owner:e[1],name:e[2]}}return null}const rn=/^# >>> open-knowledge cli >>>\n[\s\S]*?^# <<< open-knowledge cli <<<\n?/m;function an(e){return F(e,`Library`,`Application Support`,`OpenKnowledge`,`path-install.json`)}const on={existsSync:e=>L(e),readFileSync:(e,t)=>z(e,t),lstatSync:e=>ge(e),readlinkSync:e=>ve(e)};function sn(e,t=on){let n=an(e);if(!t.existsSync(n))return null;try{let e=JSON.parse(t.readFileSync(n,`utf8`));return e?.version===1?e:null}catch{return null}}function cn(e){let t=e.replace(rn,``);return{text:t,changed:t!==e,emptyAfter:t.trim()===``}}function ln(e,t,n=on){try{return n.lstatSync(e).isSymbolicLink()?n.readlinkSync(e)===t:!1}catch{return!1}}function un(e){return ne(e)||E(e)||ae(e)}const dn=10*1024*1024;function fn(e,t,n,r){let i=ce(e,t,n,r);if(i.kind===`absent`||i.kind===`no-entry`)return{kind:`not-present`};if(i.kind===`decline`)return{kind:`declined`,reason:i.reason};if(!un(i.entry))return{kind:`left-foreign`};let a;try{a=r??e.configPath(t,n)}catch{return{kind:`not-present`}}let o=e.serverName(t);if(e.format===`file`){ye(a,{force:!0});let e=ie(t,n);return{kind:`removed`,trust:e.action,...e.error===void 0?{}:{trustError:e.error}}}return e.format===`toml`?hn(a,o):e.format===`yaml`?mn(a,e.topLevelKey,o):pn(a,e.topLevelKey,e.serverMapSubKey,o)}function pn(e,t,n,r){let i;try{i=z(e,`utf-8`)}catch{return{kind:`declined`,reason:`unparseable`}}if(Buffer.byteLength(i,`utf-8`)>dn)return{kind:`declined`,reason:`oversize`};let{text:a,changed:o}=k(i,oe(t,n,r));return o?(_(e,a,{mode:j(e)}),{kind:`removed`}):{kind:`not-present`}}function mn(e,t,n){let r;try{r=z(e,`utf-8`)}catch{return{kind:`declined`,reason:`unparseable`}}if(Buffer.byteLength(r,`utf-8`)>dn)return{kind:`declined`,reason:`oversize`};let i=r.charCodeAt(0)===65279,a=i?r.slice(1):r,o=(0,je.parseDocument)(a);if(o.errors.length>0)return{kind:`declined`,reason:`unparseable`};let s=[t,n];if(!o.hasIn(s))return{kind:`not-present`};o.deleteIn(s);let c=o.toString(),l=A(a);a.trim()===``||a.endsWith(`
11
+ `)?c.endsWith(`
12
+ `)||(c=`${c}\n`):c=c.replace(/\n+$/,``),l&&(c=c.replace(/\r\n/g,`
13
+ `).replace(/\n/g,`\r
14
+ `));let u=`${i?``:``}${c}`;return u!==r&&_(e,u,{mode:j(e)}),{kind:`removed`}}function hn(e,t){let n=se();if(n.backend===`fallback`)return{kind:`declined`,reason:`no-native-writer`};let r;try{r=z(e,`utf-8`)}catch{return{kind:`declined`,reason:`unparseable`}}let i=r.charCodeAt(0)===65279,a=i?r.slice(1):r,o=A(a),s=a.trim()===``||a.endsWith(`
15
+ `),c;try{c=n.removeEntry(a,t)}catch{return{kind:`declined`,reason:`unparseable`}}if(!c.existed)return{kind:`not-present`};let l=c.text;s?l.endsWith(`
16
+ `)||(l=`${l}\n`):l=l.replace(/\n+$/,``),o&&(l=l.replace(/\r\n/g,`
17
+ `).replace(/\n/g,`\r
18
+ `));let u=`${i?``:``}${l}`;return u!==r&&_(e,u,{mode:j(e)}),{kind:`removed`}}function gn(e){return e==null?!1:e.includes(`--type=utility`)&&e.includes(`--utility-sub-type=node.mojom.NodeService`)}function _n(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 vn(e,t,n,r){if(t.status===`missing`||t.status===`corrupt`)return null;let i=t.lock,a=t.status===`alive`&&w(i)?{port:i.port,status:t.status,pid:i.pid,startedAt:i.startedAt,usage:r}:null;return{directory:i.worktreeRoot,server:{port:i.port,status:t.status,pid:i.pid,startedAt:i.startedAt,usage:r},ui:a,hostname:i.hostname,lockPath:t.lockPath,binary:n==null?null:m(n),command:n,isDesktop:gn(n)}}function Q(e){let t=e.server.status;return t===`alive`||t===`foreign-host`?e.isDesktop?`desktop`:t===`alive`?`running`:`foreign`:`stale`}const yn=new Set([`running`,`desktop`,`foreign`]);function bn(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`stale`:return G.default.yellow(e)}}function xn(e){return e==null?`—`:`${e.cpuPercent.toFixed(1)}% / ${e.memPercent.toFixed(1)}%`}function Sn(e){return`${xn(e.server.usage)} | ${xn(e.ui?.usage??null)}`}function Cn(e){return`${e.server.port===0?`(starting)`:String(e.server.port)} / ${e.ui==null?`—`:String(e.ui.port)}`}function wn(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=>[e.directory,Cn(e),Sn(e),Q(e),String(e.server.pid),_n(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=bn(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
+ `)}async function Tn(e={}){let t=e.discover??f,n=e.inspect??X,r=e.log??(e=>console.log(e)),i=e.resolveCommand??te,a=e.resolveUsage??p,o=await t(),s=[];for(let e of o){let t=n(e,`server`),r=vn(e,t,t.status===`missing`||t.status===`corrupt`?null:i(t.lock.pid),t.status===`missing`||t.status===`corrupt`?null:a(t.lock.pid));r!=null&&s.push(r)}if(e.json){let e=s.map(e=>({...e,displayStatus:Q(e)}));r(JSON.stringify(e,null,2));return}r(wn(e.all?s:s.filter(e=>yn.has(Q(e)))))}function En(){return new re(`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 Tn({all:t.all===!0||e===`all`,json:t.json===!0})})}function Dn(e,t,n={}){let r=n.isAlive??x,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 On(e){let t=e.inspect??(t=>t===`ui`?Z(e.lockDir):X(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=Dn(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 kn(e,t=x){let n=await f(),r=null;for(let i of n){let n=X(i,`server`),a=Z(i);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 An(e){let t=On({lockDir:e});return t.failed.length>0&&(process.exitCode=1),t}function jn(e){return new re(`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=On({lockDir:h(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 Tn({});return}if(n===`all`){let e=await f();if(e.length===0){console.log(`No running open-knowledge servers found.`);return}let t=0;for(let n of e){let e=X(n,`server`),r=Z(n);!$(e,x)&&!$(r,x)||(An(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 kn(e);if(t===null){console.log(`No running open-knowledge server found with port or PID ${e}.`);return}An(t);return}An(h(I(Ie(),n)))})}export{U as _,rn as a,Ne as b,sn as c,Z as d,X as f,Le as g,Xt as h,fn as i,cn as l,Yt as m,jn as n,ln as o,$t as p,En as r,an as s,On as t,nn as u,Ie as v,Fe as y};
20
+ //# sourceMappingURL=src-BDiA4a2R.mjs.map