@inkeep/open-knowledge 0.40.0-beta.1 → 0.41.0-beta.0

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 (437) hide show
  1. package/dist/{acp-harness-probe-CI5eMrtp.mjs → acp-harness-probe-BxjXsPOq.mjs} +2 -2
  2. package/dist/assets/skills/discovery/SKILL.md +1 -1
  3. package/dist/assets/skills/project/SKILL.md +1 -1
  4. package/dist/assets/skills/write-skill/SKILL.md +1 -1
  5. package/dist/cli.mjs +63 -63
  6. package/dist/config-schema.json +56 -0
  7. package/dist/config.project.schema.json +56 -0
  8. package/dist/constants-bmev5FwS.mjs +2 -0
  9. package/dist/{fs-traced-PoaSX4-V.mjs → fs-traced-CNJs7Awa.mjs} +2 -2
  10. package/dist/fs-traced-DgSYzTia.mjs +1 -0
  11. package/dist/{git-handle-DQgl5oTH.mjs → git-handle-DklxWau8.mjs} +2 -2
  12. package/dist/git-handle-sbdi3Vzr.mjs +1 -0
  13. package/dist/index.d.mts +8 -0
  14. package/dist/index.mjs +1 -1
  15. package/dist/init-B-FNuVLD.mjs +1 -0
  16. package/dist/{init-DqAj6DLP.mjs → init-JMQ-3ZKg.mjs} +11 -11
  17. package/dist/{launch-json-removal-DMBq4-k5.mjs → launch-json-removal-xORplwHY.mjs} +2 -2
  18. package/dist/loader-DdZabgzf.mjs +1 -0
  19. package/dist/{loader-CuzKavqN.mjs → loader-G247xVVO.mjs} +2 -2
  20. package/dist/md-manager-BxIIRrx9.mjs +2 -0
  21. package/dist/{open-browser-D3OpxES8.mjs → open-browser-BxTeTvF1.mjs} +2 -2
  22. package/dist/parse-worker.mjs +1 -1
  23. package/dist/preview-C3pbNWkQ.mjs +1 -0
  24. package/dist/{preview-DNAkJMSB.mjs → preview-CpkyThwj.mjs} +2 -2
  25. package/dist/public/assets/{ActivityModeContent-dWIhYEu6.js → ActivityModeContent-D4HgJCqO.js} +1 -1
  26. package/dist/public/assets/{ActivityPanelDiffView-Ca-9q7Zb.js → ActivityPanelDiffView-BlsCddlr.js} +1 -1
  27. package/dist/public/assets/{AgentDiffPane-ZSMGc24S.js → AgentDiffPane-CF-TbfmZ.js} +2 -2
  28. package/dist/public/assets/AgentThreadClientBinder-Dpyf5sM1.js +1 -0
  29. package/dist/public/assets/{AppMenubar-BuB4TAd6.js → AppMenubar-CqSGRAc3.js} +1 -1
  30. package/dist/public/assets/CodeMirrorPropInput-DtBXfCv4.js +3 -0
  31. package/dist/public/assets/{ConsentDialogBody-BBzNYhHt.js → ConsentDialogBody-Cdr00Adv.js} +1 -1
  32. package/dist/public/assets/{CopyButton-Ja2824Ao.js → CopyButton-tIb30IiS.js} +1 -1
  33. package/dist/public/assets/DocumentContext-DOrUYOMA.js +38 -0
  34. package/dist/public/assets/EditorModeToggle-BbmLhPID.js +2 -0
  35. package/dist/public/assets/{EnableSyncConfirmDialog-DPaSz-wC.js → EnableSyncConfirmDialog-joOV35Dx.js} +1 -1
  36. package/dist/public/assets/FeedbackForm-CQc3lxnB.js +1 -0
  37. package/dist/public/assets/{GraphPanel-BpzaeAQp.js → GraphPanel-6soc8rip.js} +2 -2
  38. package/dist/public/assets/LintConfigEditor-CDx1eqC2.js +1 -0
  39. package/dist/public/assets/ManagedArtifactProperties-KEOfe-lF.js +1 -0
  40. package/dist/public/assets/{McpConsentDialogBody-DHTkre7u.js → McpConsentDialogBody-CMdEW0Jf.js} +1 -1
  41. package/dist/public/assets/MermaidDocEditor-BvnOVcfR.js +1 -0
  42. package/dist/public/assets/PropertyPanel-CnC-grqg.js +2 -0
  43. package/dist/public/assets/{RegisteredAgentIcon-B57vI5w6.js → RegisteredAgentIcon-BYstaLMY.js} +1 -1
  44. package/dist/public/assets/{ReportBugDialogBody-DrIG1ML_.js → ReportBugDialogBody-DWp9BbwF.js} +1 -1
  45. package/dist/public/assets/SchemaConfigEditor-CS0s2hEm.js +1 -0
  46. package/dist/public/assets/SettingsDialogBody-D4oXv9m2.js +7 -0
  47. package/dist/public/assets/{ShareBranchSwitchDialog-C179lw0C.js → ShareBranchSwitchDialog-I1sCMM_-.js} +1 -1
  48. package/dist/public/assets/{ShareReceiveDialog-TtY0UQrE.js → ShareReceiveDialog-BmY-2e0s.js} +1 -1
  49. package/dist/public/assets/{ShareReceiveMissDialog-op0Pk4ih.js → ShareReceiveMissDialog-qvLgAowX.js} +1 -1
  50. package/dist/public/assets/{SkillEditorActions-DVAUJ782.js → SkillEditorActions-Dg-HbG9_.js} +1 -1
  51. package/dist/public/assets/SourceEditor-DH16cqjY.js +1 -0
  52. package/dist/public/assets/{TerminalPanel-DqAeIpPV.js → TerminalPanel-DXQ0GSej.js} +3 -3
  53. package/dist/public/assets/TerminalSessionsHost-BscGA05Z.js +2 -0
  54. package/dist/public/assets/{TerminalWindowApp-C0nQcTDF.js → TerminalWindowApp-BLTq-pir.js} +1 -1
  55. package/dist/public/assets/ThreadView-BBswMilr.js +6 -0
  56. package/dist/public/assets/TimelineDiffPane-DYqU_NIC.js +2 -0
  57. package/dist/public/assets/__vite-browser-external-Ducgp38Y.js +1 -0
  58. package/dist/public/assets/{abnfDiagram-VRR7QNED-D9F9DXsr.js → abnfDiagram-VRR7QNED-Pz-d7QUO.js} +1 -1
  59. package/dist/public/assets/{agent-diff-store-_LaXNJgH.js → agent-diff-store-CCCbFYpb.js} +1 -1
  60. package/dist/public/assets/agent-visibility-BKmC0R33.js +1 -0
  61. package/dist/public/assets/{arc-CycIfT6O.js → arc-zavTz6Mi.js} +1 -1
  62. package/dist/public/assets/architecture-TIHT7OUA-BmEXwMPm.js +1 -0
  63. package/dist/public/assets/{architectureDiagram-ZJ3FMSHR-DfsVDv0h.js → architectureDiagram-ZJ3FMSHR-DPFdhM_J.js} +1 -1
  64. package/dist/public/assets/arrow-up-right-DtHvY6Qg.js +1 -0
  65. package/dist/public/assets/auth-state-cache-C3hA0fzC.js +11 -0
  66. package/dist/public/assets/{badge-BDZGi1Ks.js → badge-kWhLcwP5.js} +1 -1
  67. package/dist/public/assets/{blockDiagram-677ZJIJ3-a-alorma.js → blockDiagram-677ZJIJ3-BcUTUrKf.js} +1 -1
  68. package/dist/public/assets/braces-DUywltjC.js +1 -0
  69. package/dist/public/assets/{button-DHE6Sx02.js → button-B5JstM7q.js} +1 -1
  70. package/dist/public/assets/{c4Diagram-LMCZKHZV-Cc0-n0UQ.js → c4Diagram-LMCZKHZV-DX6b63EP.js} +1 -1
  71. package/dist/public/assets/{calendar-HuZ4s1vW.js → calendar-B17Fe4zV.js} +1 -1
  72. package/dist/public/assets/case-sensitive-B_HNX58h.js +1 -0
  73. package/dist/public/assets/channel-DnLJ-ZjM.js +1 -0
  74. package/dist/public/assets/check-DJxEKgxy.js +1 -0
  75. package/dist/public/assets/{checkbox-DAZcO8UL.js → checkbox-DgMFNyxc.js} +1 -1
  76. package/dist/public/assets/{chevron-down-CQd32BUC.js → chevron-down-DQUaF_vw.js} +1 -1
  77. package/dist/public/assets/chevron-left-DemaPXNL.js +1 -0
  78. package/dist/public/assets/chevron-right-DNxn1CM1.js +1 -0
  79. package/dist/public/assets/chunk-2Q5K7J3B-Bw7pux3Y.js +1 -0
  80. package/dist/public/assets/{chunk-32BRIVSS-DAp6JEen.js → chunk-32BRIVSS-Demy6w9E.js} +1 -1
  81. package/dist/public/assets/{chunk-52WLFC77-DOJ_zrKl.js → chunk-52WLFC77-BlEIphDp.js} +1 -1
  82. package/dist/public/assets/{chunk-5FCAYU7R-BZbSx9vA.js → chunk-5FCAYU7R-lS620rLS.js} +1 -1
  83. package/dist/public/assets/{chunk-5HE753X5-B2Flc7i4.js → chunk-5HE753X5-Ctwpftk0.js} +1 -1
  84. package/dist/public/assets/{chunk-5JV3BV7I-B6P7lOib.js → chunk-5JV3BV7I-B0xTm5To.js} +1 -1
  85. package/dist/public/assets/{chunk-5TONJI2A-Bx2IxKM5.js → chunk-5TONJI2A-CTbq1Ges.js} +1 -1
  86. package/dist/public/assets/{chunk-5VM5RSS4-DC5JDqIq.js → chunk-5VM5RSS4-DIOyJEh7.js} +1 -1
  87. package/dist/public/assets/{chunk-7BUUIJ7U-D6E7ODqO.js → chunk-7BUUIJ7U-DJAQBDRB.js} +1 -1
  88. package/dist/public/assets/{chunk-BIQX33UG-BK09YW6f.js → chunk-BIQX33UG-BJ4KOiuD.js} +1 -1
  89. package/dist/public/assets/{chunk-BO2N2NFS-d0sH-rMK.js → chunk-BO2N2NFS-BKwKMCf_.js} +4 -4
  90. package/dist/public/assets/{chunk-C7G6YPKG-DyJUpciK.js → chunk-C7G6YPKG-DKtlXCwT.js} +1 -1
  91. package/dist/public/assets/{chunk-CQNSW5MT-BAtlNSBX.js → chunk-CQNSW5MT-CztK3zab.js} +1 -1
  92. package/dist/public/assets/{chunk-CYSBUYHQ-D8hsDORv.js → chunk-CYSBUYHQ-CvFdHE5W.js} +1 -1
  93. package/dist/public/assets/{chunk-EMLP6XTP-ChQSYJxh.js → chunk-EMLP6XTP-VxWimccr.js} +1 -1
  94. package/dist/public/assets/{chunk-EX3LRPZG-h-6LYf1x.js → chunk-EX3LRPZG-CO_SPblJ.js} +1 -1
  95. package/dist/public/assets/{chunk-FWX5IMBZ-DRwSfJSX.js → chunk-FWX5IMBZ-JMqub3ht.js} +2 -2
  96. package/dist/public/assets/{chunk-HOUHSVGY-F4yPi64m.js → chunk-HOUHSVGY-By4XpU6I.js} +1 -1
  97. package/dist/public/assets/{chunk-ICXQ74PX-BF1AraUQ.js → chunk-ICXQ74PX-DWdDeVYv.js} +1 -1
  98. package/dist/public/assets/{chunk-JG7HCLWE-Biog_J3i.js → chunk-JG7HCLWE-BQ8U-ghC.js} +1 -1
  99. package/dist/public/assets/{chunk-JWPE2WC7-BuX-EugW.js → chunk-JWPE2WC7-DcQSwMri.js} +1 -1
  100. package/dist/public/assets/{chunk-MOJQB5TN-Pk-JS7uF.js → chunk-MOJQB5TN-BBaMKQVw.js} +1 -1
  101. package/dist/public/assets/{chunk-MOZMSUNE-CPb1eEls.js → chunk-MOZMSUNE-CRVOIrQ5.js} +1 -1
  102. package/dist/public/assets/{chunk-OGEWGWER-D_9VshMV.js → chunk-OGEWGWER-ba9ltMXK.js} +1 -1
  103. package/dist/public/assets/{chunk-OSBZ3O6U-DLOl9lpV.js → chunk-OSBZ3O6U-BwLKYi-M.js} +1 -1
  104. package/dist/public/assets/{chunk-PUDLZKDR-D_qil-uw.js → chunk-PUDLZKDR-DJ-xx1Uu.js} +1 -1
  105. package/dist/public/assets/{chunk-Q4XR5HBZ--lNMVAiV.js → chunk-Q4XR5HBZ-BNj93MDr.js} +1 -1
  106. package/dist/public/assets/{chunk-QBLGF6JB-CXHeFNVR.js → chunk-QBLGF6JB-hOGtWhlz.js} +1 -1
  107. package/dist/public/assets/{chunk-R7FJI6CG-C16CHt3a.js → chunk-R7FJI6CG-BjWQRpAc.js} +1 -1
  108. package/dist/public/assets/{chunk-RYQCIY6F-DNu-IRpO.js → chunk-RYQCIY6F-B9SS86ok.js} +1 -1
  109. package/dist/public/assets/{chunk-U6XO7XAA-DbjPtJON.js → chunk-U6XO7XAA-DBbzoX4Z.js} +1 -1
  110. package/dist/public/assets/{chunk-V7JOEXUC-TOHJpp-0.js → chunk-V7JOEXUC-EpFJBpvk.js} +1 -1
  111. package/dist/public/assets/chunk-VAUOI2AC-Dn-E52TZ.js +1 -0
  112. package/dist/public/assets/{chunk-VR4S4FIN-DRClO3Vp.js → chunk-VR4S4FIN-B7zogTZo.js} +1 -1
  113. package/dist/public/assets/{chunk-WYO6CB5R-DyzfGKK0.js → chunk-WYO6CB5R-bpRilmGb.js} +2 -2
  114. package/dist/public/assets/chunk-XXDRQBXY-sKXoKzRW.js +1 -0
  115. package/dist/public/assets/{chunk-YOTPTUD7-CI44npHy.js → chunk-YOTPTUD7-WzuLu2rZ.js} +1 -1
  116. package/dist/public/assets/{chunk-ZGVPDNZ5-B4UAL6rf.js → chunk-ZGVPDNZ5-BwWckaeQ.js} +1 -1
  117. package/dist/public/assets/{chunk-ZIRB5QZD-BSn4ei2K.js → chunk-ZIRB5QZD-BtkU1hkD.js} +1 -1
  118. package/dist/public/assets/chunk-zsgVPwQN.js +1 -0
  119. package/dist/public/assets/classDiagram-OUVF2IWQ-DnCJ0gX4.js +1 -0
  120. package/dist/public/assets/classDiagram-v2-EOCWNBFH-Dm_rQEzS.js +1 -0
  121. package/dist/public/assets/client-version-Bma7l-bS.js +1 -0
  122. package/dist/public/assets/{collapsible-BIzY37go.js → collapsible-snx-HFVG.js} +1 -1
  123. package/dist/public/assets/compiler-runtime-YPpVnfQ-.js +1 -0
  124. package/dist/public/assets/config-context-Lgd8fBM2.js +1 -0
  125. package/dist/public/assets/{config-provider-BgOkEHZH.js → config-provider-DQaCjhBX.js} +2 -2
  126. package/dist/public/assets/{copilot-Be7YOjJF.js → copilot-fpMAoCAq.js} +1 -1
  127. package/dist/public/assets/{copy-Dwat-rG5.js → copy-C1RMi2cI.js} +1 -1
  128. package/dist/public/assets/{cose-bilkent-JH36ORCC-CNo4r1jR.js → cose-bilkent-JH36ORCC-v6AC1hlD.js} +1 -1
  129. package/dist/public/assets/{createLucideIcon-BUb14crZ.js → createLucideIcon-BwsSSL7z.js} +1 -1
  130. package/dist/public/assets/{cursor-AolWKuZw.js → cursor-BSZbWhxr.js} +1 -1
  131. package/dist/public/assets/cynefin-VYW2F7L2-BgEeRk9i.js +1 -0
  132. package/dist/public/assets/{cynefinDiagram-TSTJHNR4-BerNcsRY.js → cynefinDiagram-TSTJHNR4-DJT_8PZ9.js} +1 -1
  133. package/dist/public/assets/{dagre-B556Eg9Y.js → dagre-C139UR6G.js} +1 -1
  134. package/dist/public/assets/{dagre-VKFMJZFB-DsGixG0T.js → dagre-VKFMJZFB-5RJKKLB6.js} +1 -1
  135. package/dist/public/assets/{diagram-FQU43EPY-Bn3pI3fo.js → diagram-FQU43EPY-CMw4bmCQ.js} +1 -1
  136. package/dist/public/assets/{diagram-G47NLZAW-DlmHXzE8.js → diagram-G47NLZAW-CYLhDQDm.js} +1 -1
  137. package/dist/public/assets/{diagram-NH7WQ7WH-DSU5C3aY.js → diagram-NH7WQ7WH-lnG_Yvrf.js} +1 -1
  138. package/dist/public/assets/{diagram-OA4YK3LP-BxczHUUr.js → diagram-OA4YK3LP-tjz67Utc.js} +1 -1
  139. package/dist/public/assets/{diagram-WEI45ONY-9RfHZ21T.js → diagram-WEI45ONY-keCs6tdk.js} +1 -1
  140. package/dist/public/assets/{dialog-BLaUGJCd.js → dialog-BvA78Pbg.js} +1 -1
  141. package/dist/public/assets/{dist-C5VV4AJh.js → dist-B22zi36Z.js} +1 -1
  142. package/dist/public/assets/{dist-Cx2QCt5k.js → dist-B2SLv_cy.js} +1 -1
  143. package/dist/public/assets/{dist-DUnAX2Ky.js → dist-BHnd2TCW.js} +1 -1
  144. package/dist/public/assets/{dist-Bv-DNDka.js → dist-BNSJKKYT.js} +1 -1
  145. package/dist/public/assets/{dist-C5oOOujV.js → dist-BPbnU4MJ.js} +1 -1
  146. package/dist/public/assets/{dist-COAuqNbv.js → dist-C3RLAwRF.js} +1 -1
  147. package/dist/public/assets/{dist-BlUN9R-p.js → dist-CEEceAlU.js} +1 -1
  148. package/dist/public/assets/{dist-BgCLeN3Q.js → dist-CUQV7eXO.js} +1 -1
  149. package/dist/public/assets/{dist-DfKVxirz.js → dist-CXEsWt_M.js} +1 -1
  150. package/dist/public/assets/{dist-n-Hi6NdA.js → dist-Ck2P_69m.js} +1 -1
  151. package/dist/public/assets/{dist-DrdxKM3X.js → dist-Cm6pClkc2.js} +1 -1
  152. package/dist/public/assets/dist-CwM3Fx_3.js +565 -0
  153. package/dist/public/assets/{dist-93kZXTH1.js → dist-CwZTPnUs.js} +1 -1
  154. package/dist/public/assets/dist-DEF-YX4p.js +1 -0
  155. package/dist/public/assets/{dist-CcNiwixP.js → dist-DNTp9iqB.js} +1 -1
  156. package/dist/public/assets/dist-DVNg6hPx.js +2 -0
  157. package/dist/public/assets/{dist-DBENJeML.js → dist-De9aiAJx.js} +1 -1
  158. package/dist/public/assets/{dist-kVT8A9Kf.js → dist-DoAMXMs5.js} +1 -1
  159. package/dist/public/assets/{dist-B4uQVk5s.js → dist-DoyeToaO.js} +1 -1
  160. package/dist/public/assets/{dist-5kUc8Rop.js → dist-Ds91W2q2.js} +1 -1
  161. package/dist/public/assets/{dist-uVOKoIoH.js → dist-EBCF8Hyi.js} +1 -1
  162. package/dist/public/assets/{dist-635PXtcP.js → dist-PyCLG6aQ.js} +1 -1
  163. package/dist/public/assets/{dist-BJxDYUHt.js → dist-UJD1w5LO.js} +1 -1
  164. package/dist/public/assets/{dist-DwCd6eR-.js → dist-t90i8nhW.js} +1 -1
  165. package/dist/public/assets/{doc-hash-Bgdowslw.js → doc-hash-CzxKqowf.js} +1 -1
  166. package/dist/public/assets/{documents-events-HEfBwy2y.js → documents-events-BL57BK03.js} +1 -1
  167. package/dist/public/assets/{dropdown-menu-DVTufjNA.js → dropdown-menu-Br5y3pW-.js} +1 -1
  168. package/dist/public/assets/{ebnfDiagram-CCIWWBDH-D2xzvzqw.js → ebnfDiagram-CCIWWBDH-B-u3v2zf.js} +1 -1
  169. package/dist/public/assets/{erDiagram-Q63AITRT-CYNZizIY.js → erDiagram-Q63AITRT-CJ_Cnn6b.js} +1 -1
  170. package/dist/public/assets/{es2015-D5U2f808.js → es2015-BPXMTj9r.js} +1 -1
  171. package/dist/public/assets/esm-BTOPTNTx.js +1 -0
  172. package/dist/public/assets/eventmodeling-45OFAUF4-ZjNWMPgH.js +1 -0
  173. package/dist/public/assets/{eye-DuFNDQPj.js → eye-Bd06Ragq.js} +1 -1
  174. package/dist/public/assets/field-L06JWfWh.js +1 -0
  175. package/dist/public/assets/file-tree-adapter-BPfbWs81.js +1 -0
  176. package/dist/public/assets/file-tree-utils-D741Um3O.js +1 -0
  177. package/dist/public/assets/flowDiagram-23GEKE2U-emKuZ14A.js +1 -0
  178. package/dist/public/assets/{folder-open-C-WgQ0Xp.js → folder-open-uBVyDcrj.js} +1 -1
  179. package/dist/public/assets/follow-file-DcOgGK76.js +1 -0
  180. package/dist/public/assets/{form-CTttIps7.js → form-DqVoiojI.js} +1 -1
  181. package/dist/public/assets/{ganttDiagram-NO4QXBWP-sqpYy8P9.js → ganttDiagram-NO4QXBWP-DHV4x4CM.js} +1 -1
  182. package/dist/public/assets/{git-branch-DFJ3yJt8.js → git-branch-Dt9AthpR.js} +1 -1
  183. package/dist/public/assets/gitGraph-TEB2WS4Q-DULAthqL.js +1 -0
  184. package/dist/public/assets/{gitGraphDiagram-IHSO6WYX-LRtYXzVh.js → gitGraphDiagram-IHSO6WYX-BCudlL0f.js} +1 -1
  185. package/dist/public/assets/{graphlib-C8fe8zk2.js → graphlib-C20MI2IN.js} +1 -1
  186. package/dist/public/assets/hash-BBX_Yf_s.js +1 -0
  187. package/dist/public/assets/{highlighted-body-OFNGDK62-D_PnaFD1.js → highlighted-body-OFNGDK62-C-4VTnbV.js} +1 -1
  188. package/dist/public/assets/index-BH0n8V71.js +2022 -0
  189. package/dist/public/assets/index-BNgm62X1.css +1 -0
  190. package/dist/public/assets/{info-DV3bzhzI.js → info-CUyu_utl.js} +1 -1
  191. package/dist/public/assets/info-DKCQHKI2-bR6bCx3M.js +1 -0
  192. package/dist/public/assets/{infoDiagram-FWYZ7A6U-CoQbECuU.js → infoDiagram-FWYZ7A6U-BgYy4d56.js} +1 -1
  193. package/dist/public/assets/{input-CsXmpyZP.js → input-DAAOxj0-.js} +1 -1
  194. package/dist/public/assets/{ishikawaDiagram-FXEZZL3T-C_Cz2h3y.js → ishikawaDiagram-FXEZZL3T-CCS72EW8.js} +1 -1
  195. package/dist/public/assets/{journeyDiagram-5HDEW3XC-DFrtpWnU.js → journeyDiagram-5HDEW3XC-CoREp23c.js} +1 -1
  196. package/dist/public/assets/{jsx-runtime-DyiINK0N.js → jsx-runtime-Dda6ZcOg.js} +1 -1
  197. package/dist/public/assets/{kanban-definition-HUTT4EX6-BpqONXYd.js → kanban-definition-HUTT4EX6-DSFIJzBy.js} +1 -1
  198. package/dist/public/assets/{label-bn6BDr7p.js → label-BPs9TAEe.js} +1 -1
  199. package/dist/public/assets/{lib-9ZUh4rh4.js → lib-7eiHvDyn.js} +1 -1
  200. package/dist/public/assets/{line-CGcPvb4l.js → line-DN_hBe-O.js} +1 -1
  201. package/dist/public/assets/{linear-DrLUUwfa.js → linear-D449kPqH.js} +1 -1
  202. package/dist/public/assets/lint-config-client-tK7RuglK.js +1 -0
  203. package/dist/public/assets/lint-plugin-meta-CZ4Yze5u.js +1 -0
  204. package/dist/public/assets/loader-circle-DquHdXOY.js +1 -0
  205. package/dist/public/assets/{map-WpH6dMWB.js → map-MD1QDiqI.js} +1 -1
  206. package/dist/public/assets/{markdownit-BEubyjFu.js → markdownit-D5ckRcLX.js} +1 -1
  207. package/dist/public/assets/markdownlint-rule-browser-DvPHhOzr.js +1 -0
  208. package/dist/public/assets/mermaid-GHXKKRXX-CmCfs7wO.js +1 -0
  209. package/dist/public/assets/{mermaid-parser.core-3Xu6H-xr.js → mermaid-parser.core-Cm2pHXoA.js} +2 -2
  210. package/dist/public/assets/{mermaid.core-BgfUsmdk.js → mermaid.core-CBLgP-tq.js} +3 -3
  211. package/dist/public/assets/{mindmap-definition-LN4V7U3C-C5hGDmLh.js → mindmap-definition-LN4V7U3C-CuiM6FsU.js} +1 -1
  212. package/dist/public/assets/{miss-dialog-store-81J1GwFD.js → miss-dialog-store-tptqlgbE.js} +1 -1
  213. package/dist/public/assets/navigation-targets-BkPd72gM.js +1 -0
  214. package/dist/public/assets/{now-LAZzaJBH.js → now-Dq6LIEaU.js} +1 -1
  215. package/dist/public/assets/{open-managed-artifact-tab-D70MXBHT.js → open-managed-artifact-tab-Bo3JdcHq.js} +1 -1
  216. package/dist/public/assets/{ordinal-DC5m951M.js → ordinal-BIOoIzFp.js} +1 -1
  217. package/dist/public/assets/packet-7NZHBO7P-CcYWaX_e.js +1 -0
  218. package/dist/public/assets/{panel-DLUMbyPl.js → panel-DoEQccon.js} +1 -1
  219. package/dist/public/assets/{panel-right-open-CBweAP43.js → panel-right-open-DXZ0AA7N.js} +1 -1
  220. package/dist/public/assets/{paperclip-DF10JkTg.js → paperclip-B0H0WUBm.js} +1 -1
  221. package/dist/public/assets/{pegDiagram-2B236MQR-BWoigFVh.js → pegDiagram-2B236MQR-BLm9aXLc.js} +1 -1
  222. package/dist/public/assets/{pending-receive-nav-store-CMbR1DlR.js → pending-receive-nav-store-DILNtcMD.js} +1 -1
  223. package/dist/public/assets/pie-RZYD4A2V-BDSTcnr_.js +1 -0
  224. package/dist/public/assets/{pieDiagram-ENE6RG2P-CkC6m5hO.js → pieDiagram-ENE6RG2P-DWSDBj0y.js} +1 -1
  225. package/dist/public/assets/{project-paths-DcJ4HDNl.js → project-paths-s6FVZ5CP.js} +1 -1
  226. package/dist/public/assets/{prop-types-X3nIYAt7.js → prop-types-deRNMwVG.js} +1 -1
  227. package/dist/public/assets/{propagation-api-yIIm019t.js → propagation-api-C2s1QQGZ.js} +1 -1
  228. package/dist/public/assets/{quadrantDiagram-ABIIQ3AL-CHcF1Exh.js → quadrantDiagram-ABIIQ3AL-y4XpclHG.js} +1 -1
  229. package/dist/public/assets/radar-I7S5WNFK-BxDARIlg.js +1 -0
  230. package/dist/public/assets/{radio-group-DW_ypmKx.js → radio-group-CAXEEQ3G.js} +1 -1
  231. package/dist/public/assets/railroad-3IZDKUUU-BCCxSkZw.js +1 -0
  232. package/dist/public/assets/railroad-abnf-AHOZXSZD-Cuizy3dO.js +1 -0
  233. package/dist/public/assets/railroad-ebnf-EBAXGLYW-TmaYmurZ.js +1 -0
  234. package/dist/public/assets/railroad-peg-LSFZ7HO6-DB-VHQzx.js +1 -0
  235. package/dist/public/assets/{railroadDiagram-RFXS5EU6-DFdEG7eg.js → railroadDiagram-RFXS5EU6-D9LfvazB.js} +1 -1
  236. package/dist/public/assets/{react-JNybMug3.js → react-BN2QHhcO.js} +1 -1
  237. package/dist/public/assets/{react-dom-Db7zF7dM.js → react-dom-BtuvISNc.js} +1 -1
  238. package/dist/public/assets/{receive-store-CXRtunGe.js → receive-store-WiVBTPya.js} +1 -1
  239. package/dist/public/assets/{refresh-cw-DSH9Of_0.js → refresh-cw-iL3pn0CM.js} +1 -1
  240. package/dist/public/assets/{requirementDiagram-TGXJPOKE-CGyQCT2G.js → requirementDiagram-TGXJPOKE-CagEMoI5.js} +1 -1
  241. package/dist/public/assets/{sankeyDiagram-HTMAVEWB-DTVS4b12.js → sankeyDiagram-HTMAVEWB-DJKiupTl.js} +1 -1
  242. package/dist/public/assets/schema-fields-view-intent-BjfU6Zlh.js +1 -0
  243. package/dist/public/assets/{selection-context-BiPXU2rp.js → selection-context-BS88-VYp.js} +1 -1
  244. package/dist/public/assets/separator-DDR192VD.js +1 -0
  245. package/dist/public/assets/{sequenceDiagram-DBY2YBRQ-pna9hZ0I.js → sequenceDiagram-DBY2YBRQ-nJTL2lqd.js} +1 -1
  246. package/dist/public/assets/{share-metadata-rows-C7rJ-Cd0.js → share-metadata-rows-Bv7Ioipm.js} +1 -1
  247. package/dist/public/assets/{sizeCapture-X5ZJPWSS-zTum-WLf.js → sizeCapture-X5ZJPWSS-dyd3KiMv.js} +1 -1
  248. package/dist/public/assets/{skeleton-CA6hvjst.js → skeleton-CHlN2fwE.js} +1 -1
  249. package/dist/public/assets/skill-actions-DYgaLxsb.js +1 -0
  250. package/dist/public/assets/{skills-api-C_fjXVRf.js → skills-api-uFanX4oJ.js} +1 -1
  251. package/dist/public/assets/{sliders-horizontal-C9Uy29A1.js → sliders-horizontal-BF9G548a.js} +1 -1
  252. package/dist/public/assets/{sortable.esm-DcjmFgta.js → sortable.esm-Cj1OlkyK.js} +1 -1
  253. package/dist/public/assets/square-pen-DYNBYC6t.js +1 -0
  254. package/dist/public/assets/{src-BlkIpXCO.js → src-BM1NAcg_.js} +1 -1
  255. package/dist/public/assets/{src-Bv1hrVBW.js → src-h4FvJn1N.js} +1 -1
  256. package/dist/public/assets/{startup-marks-CytO17UM.js → startup-marks-lzQ6NDDC.js} +1 -1
  257. package/dist/public/assets/{stateDiagram-2N3HPSRC-CyBtuA0r.js → stateDiagram-2N3HPSRC-SO_TzvB4.js} +1 -1
  258. package/dist/public/assets/stateDiagram-v2-6OUMAXLB-JVqQagQd.js +1 -0
  259. package/dist/public/assets/{stex-Hrt2qQag.js → stex-CcubjMmP.js} +1 -1
  260. package/dist/public/assets/{swimlanes-5IMT3BWC-D50reMLQ.js → swimlanes-5IMT3BWC-I_fog1Gx.js} +2 -2
  261. package/dist/public/assets/swimlanesDiagram-G3AALYLV-DRypLOPY.js +8 -0
  262. package/dist/public/assets/switch-BHGjWF45.js +1 -0
  263. package/dist/public/assets/tag-pill-input-BMmUS_WQ.js +1 -0
  264. package/dist/public/assets/{target-navigation-intent-DW8AJzuM.js → target-navigation-intent-BBHZfQ77.js} +1 -1
  265. package/dist/public/assets/{telemetry-impl-5fGxwbNg.js → telemetry-impl-BKKGF3Eq.js} +2 -2
  266. package/dist/public/assets/telemetry-startup-DukOvXUN.js +1 -0
  267. package/dist/public/assets/{terminal-input-events-DxwonmvH.js → terminal-input-events-Bedf4049.js} +1 -1
  268. package/dist/public/assets/{terminal-launch-events-CuvBwfob.js → terminal-launch-events-B9McD1vp.js} +1 -1
  269. package/dist/public/assets/{terminal-telemetry-qJ0O-9wu.js → terminal-telemetry-D45Iq_is.js} +1 -1
  270. package/dist/public/assets/{textarea-DwJR-19i.js → textarea-BuxwyMFe.js} +1 -1
  271. package/dist/public/assets/{thread-client-DyotU42S.js → thread-client-CZmxW8Kl.js} +1 -1
  272. package/dist/public/assets/{timeline-definition-FHXFAJF6-CuzBF-5l.js → timeline-definition-FHXFAJF6-BQOKl1Wr.js} +1 -1
  273. package/dist/public/assets/{timeline-diff-store-dt1fl2gd.js → timeline-diff-store-C_Gy5mJi.js} +1 -1
  274. package/dist/public/assets/{toggle-group-CxrQL99E.js → toggle-group-D6QJybW6.js} +1 -1
  275. package/dist/public/assets/{tooltip-BCGL5jDF.js → tooltip-BI4ZrlGO.js} +1 -1
  276. package/dist/public/assets/{trash-2-DpF__0y9.js → trash-2-Baoxa0CE.js} +1 -1
  277. package/dist/public/assets/treeView-QDETBFTQ-Dpe2j0i9.js +1 -0
  278. package/dist/public/assets/treemap-6X3UGDF4-C95sDBTA.js +1 -0
  279. package/dist/public/assets/{triangle-alert-DpxK7pzx.js → triangle-alert-CoYdkHNh.js} +1 -1
  280. package/dist/public/assets/typing-burst-detector-BIkRjVzN.js +6 -0
  281. package/dist/public/assets/{use-activity-panel-DEqogtJb.js → use-activity-panel-moy0VULL.js} +1 -1
  282. package/dist/public/assets/{use-apply-config-color-theme-CbAc42DQ.js → use-apply-config-color-theme-DjtvV6aD.js} +1 -1
  283. package/dist/public/assets/{use-collab-url-CDJf5CAl.js → use-collab-url-WOwjT5g9.js} +1 -1
  284. package/dist/public/assets/{use-installed-clis-DmVWBoog.js → use-installed-clis-Civ9j_Zf.js} +1 -1
  285. package/dist/public/assets/{use-live-xterm-theme-DsNSOoA7.js → use-live-xterm-theme-Cy4XCERE.js} +1 -1
  286. package/dist/public/assets/use-settings-route-B9FDd0vP.js +1 -0
  287. package/dist/public/assets/{use-terminal-enabled-CjyUXLzD.js → use-terminal-enabled-Dzj-2NfI.js} +1 -1
  288. package/dist/public/assets/use-timeline-entry-diff-BbF516OI.js +6 -0
  289. package/dist/public/assets/{use-workspace-CHGWiUmE.js → use-workspace-ZAVODT_V.js} +1 -1
  290. package/dist/public/assets/useLintConfigViewMode-B3XLyk60.js +1 -0
  291. package/dist/public/assets/{useQuery-NsPxD6kI.js → useQuery-4J-R1a0S.js} +1 -1
  292. package/dist/public/assets/{vennDiagram-L72KCM5P-BehiEQfV.js → vennDiagram-L72KCM5P-qzJ6aksY.js} +1 -1
  293. package/dist/public/assets/wardley-OPB4EBWU-Ce2t1r0s.js +1 -0
  294. package/dist/public/assets/{wardleyDiagram-EHGQE667-C30zq5TO.js → wardleyDiagram-EHGQE667-CiP5w3Gp.js} +1 -1
  295. package/dist/public/assets/{workspace-paths-DgJUp1dw.js → workspace-paths-CWFRWNa_.js} +1 -1
  296. package/dist/public/assets/{wrench-BDWKT3wQ.js → wrench-C6cgdqwA.js} +1 -1
  297. package/dist/public/assets/x-CxAa17gB.js +1 -0
  298. package/dist/public/assets/{xychartDiagram-FW5EYKEG-G_u042Mg.js → xychartDiagram-FW5EYKEG-DlKpchAN.js} +1 -1
  299. package/dist/public/index.html +135 -125
  300. package/dist/{repair-launch-json-tt6Tjedd.mjs → repair-launch-json-BYeznHy1.mjs} +2 -2
  301. package/dist/{repair-mcp-configs-Bn1d1oSd.mjs → repair-mcp-configs-BRROn8jU.mjs} +2 -2
  302. package/dist/{repair-skills-BVXDXZaA.mjs → repair-skills-151h5k8W.mjs} +2 -2
  303. package/dist/repair-skills-DZ0Xp2Qs.mjs +1 -0
  304. package/dist/schemas/v0/config.project.schema.json +56 -0
  305. package/dist/server-lock-B5AUGEQr.mjs +1 -0
  306. package/dist/{server-lock-DWsOY8Sf.mjs → server-lock-KBZIBxqm.mjs} +2 -2
  307. package/dist/{sleep-CnRgOMGV.mjs → sleep-DPcGAk1M.mjs} +2 -2
  308. package/dist/src-BTZ4BQel.mjs +330 -0
  309. package/dist/{src-VT3q7v5V.mjs → src-CCAHJYob.mjs} +5 -5
  310. package/dist/src-DFk8Tui7.mjs +3265 -0
  311. package/dist/src-DyjLVrS0.mjs +1 -0
  312. package/dist/{start-BQRik_0l.mjs → start-BJNRAUkA.mjs} +2 -2
  313. package/dist/start-DEJNwvqi.mjs +1 -0
  314. package/dist/{write-project-skill-SrjlunKm.mjs → write-project-skill-XdhLhz7G.mjs} +4 -4
  315. package/package.json +5 -5
  316. package/dist/constants-CkXW_O1Z.mjs +0 -2
  317. package/dist/fs-traced-CIBSRy3q.mjs +0 -1
  318. package/dist/git-handle-Dv50ya_5.mjs +0 -1
  319. package/dist/init-BG8F8jyV.mjs +0 -1
  320. package/dist/loader-48vYo7np.mjs +0 -1
  321. package/dist/md-manager-BFa4uLFA.mjs +0 -2
  322. package/dist/preview-hDB5CK12.mjs +0 -1
  323. package/dist/public/assets/AgentThreadClientBinder-CLmx-vqX.js +0 -1
  324. package/dist/public/assets/CodeMirrorPropInput-C9WmN90w.js +0 -3
  325. package/dist/public/assets/DocumentContext-BcbJIejF.js +0 -38
  326. package/dist/public/assets/FeedbackForm-BeMx2Cc0.js +0 -1
  327. package/dist/public/assets/ManagedArtifactProperties-CQXgVT_Z.js +0 -1
  328. package/dist/public/assets/MermaidDocEditor-DL9NPMko.js +0 -1
  329. package/dist/public/assets/PropertyPanel-DEgQa4x9.js +0 -2
  330. package/dist/public/assets/SettingsDialogBody-BZ10IzbM.js +0 -7
  331. package/dist/public/assets/SourceEditor-Nfwr4rkI.js +0 -1
  332. package/dist/public/assets/TerminalSessionsHost-CMZ3pfB8.js +0 -2
  333. package/dist/public/assets/ThreadView-Dd8w-hhw.js +0 -6
  334. package/dist/public/assets/TimelineDiffPane-DKx6CcI9.js +0 -2
  335. package/dist/public/assets/__vite-browser-external-CW7faKnP.js +0 -1
  336. package/dist/public/assets/agent-visibility-CaL4MDEH.js +0 -1
  337. package/dist/public/assets/architecture-TIHT7OUA-B1GVwxkr.js +0 -1
  338. package/dist/public/assets/arrow-up-right-Bzc4GmE5.js +0 -1
  339. package/dist/public/assets/auth-state-cache-9Mxvjb5G.js +0 -11
  340. package/dist/public/assets/channel-Dnd06LFp.js +0 -1
  341. package/dist/public/assets/check-D_9hlB38.js +0 -1
  342. package/dist/public/assets/chevron-left-4ixwi2VD.js +0 -1
  343. package/dist/public/assets/chevron-right-cXK7rcek.js +0 -1
  344. package/dist/public/assets/chunk-2Q5K7J3B-Bk0ErfBQ.js +0 -1
  345. package/dist/public/assets/chunk-DseTPa7n.js +0 -1
  346. package/dist/public/assets/chunk-VAUOI2AC-BGyW6aBf.js +0 -1
  347. package/dist/public/assets/chunk-XXDRQBXY-D5Z2YAqk.js +0 -1
  348. package/dist/public/assets/classDiagram-OUVF2IWQ-T0UcJd03.js +0 -1
  349. package/dist/public/assets/classDiagram-v2-EOCWNBFH-vS8mV2Ho.js +0 -1
  350. package/dist/public/assets/client-version-yw5_4u_I.js +0 -1
  351. package/dist/public/assets/compiler-runtime-dQcBxOhn.js +0 -1
  352. package/dist/public/assets/config-context-C5AosGyi.js +0 -1
  353. package/dist/public/assets/cynefin-VYW2F7L2-IoPsg8uT.js +0 -1
  354. package/dist/public/assets/dist-Bjs7qRWH.js +0 -2
  355. package/dist/public/assets/dist-CHLZ8lz0.js +0 -557
  356. package/dist/public/assets/dist-xZVtOT7r.js +0 -1
  357. package/dist/public/assets/eventmodeling-45OFAUF4-Miu5EHpe.js +0 -1
  358. package/dist/public/assets/file-tree-adapter-Bvk6LAfH.js +0 -1
  359. package/dist/public/assets/flowDiagram-23GEKE2U-k4ax4B4W.js +0 -1
  360. package/dist/public/assets/follow-file-grI1hNx7.js +0 -1
  361. package/dist/public/assets/gitGraph-TEB2WS4Q-OmjugmYN.js +0 -1
  362. package/dist/public/assets/index-DsA_F7eu.js +0 -2022
  363. package/dist/public/assets/index-G6x9YQiR.css +0 -1
  364. package/dist/public/assets/info-DKCQHKI2-BNI5cXhn.js +0 -1
  365. package/dist/public/assets/keyboard-shortcuts-DEJA0SzW.js +0 -1
  366. package/dist/public/assets/lint-config-client-DJccpgCS.js +0 -1
  367. package/dist/public/assets/loader-circle-K7Xwpjny.js +0 -1
  368. package/dist/public/assets/mermaid-GHXKKRXX-m6Nh9s9H.js +0 -1
  369. package/dist/public/assets/navigation-targets-CPuDxLos.js +0 -1
  370. package/dist/public/assets/packet-7NZHBO7P-B_5BB2Lm.js +0 -1
  371. package/dist/public/assets/pie-RZYD4A2V-DN_XCApP.js +0 -1
  372. package/dist/public/assets/radar-I7S5WNFK-KdS1Y0nk.js +0 -1
  373. package/dist/public/assets/railroad-3IZDKUUU-CargXMo2.js +0 -1
  374. package/dist/public/assets/railroad-abnf-AHOZXSZD-rKz-719h.js +0 -1
  375. package/dist/public/assets/railroad-ebnf-EBAXGLYW-BwxcIuUm.js +0 -1
  376. package/dist/public/assets/railroad-peg-LSFZ7HO6-D-qfZOX5.js +0 -1
  377. package/dist/public/assets/separator-Cvkbg_YK.js +0 -1
  378. package/dist/public/assets/skill-actions-8sFn_d3u.js +0 -1
  379. package/dist/public/assets/stateDiagram-v2-6OUMAXLB-DqUkY3SY.js +0 -1
  380. package/dist/public/assets/swimlanesDiagram-G3AALYLV-DauLKJFl.js +0 -8
  381. package/dist/public/assets/telemetry-startup-CLLgwJqA.js +0 -1
  382. package/dist/public/assets/treeView-QDETBFTQ-ocdjjjzR.js +0 -1
  383. package/dist/public/assets/treemap-6X3UGDF4-PQZ2TLFo.js +0 -1
  384. package/dist/public/assets/typing-burst-detector-CY0OrGne.js +0 -6
  385. package/dist/public/assets/use-timeline-entry-diff-CaKIZSP2.js +0 -6
  386. package/dist/public/assets/wardley-OPB4EBWU-CAyNEwcQ.js +0 -1
  387. package/dist/public/assets/x-6ATUQvcC.js +0 -1
  388. package/dist/repair-skills-D7MJ6bSo.mjs +0 -1
  389. package/dist/server-lock-Bhmg0tcS.mjs +0 -1
  390. package/dist/src-DQTDRmqk.mjs +0 -1
  391. package/dist/src-DVrFd0vk.mjs +0 -3272
  392. package/dist/src-IQdx1yfl.mjs +0 -322
  393. package/dist/start-3HnyNbf6.mjs +0 -1
  394. /package/dist/public/assets/{agent-presence-DdJtLtJ1.js → agent-presence-DNc33brV.js} +0 -0
  395. /package/dist/public/assets/{array-rrgqyMEz.js → array-CymCLnp2.js} +0 -0
  396. /package/dist/public/assets/{chunk-KEIR6QF5-dYt3HMDt.js → chunk-KEIR6QF5-lISElqQF.js} +0 -0
  397. /package/dist/public/assets/{chunk-Y2CYZVJY-CX0MjbSu.js → chunk-Y2CYZVJY-DG6TUVdx.js} +0 -0
  398. /package/dist/public/assets/{clike-mYAQK8rB.js → clike-9w8A902Z.js} +0 -0
  399. /package/dist/public/assets/{clipboard-adapter-BGIXxhKQ.js → clipboard-adapter-Drwe8q2F.js} +0 -0
  400. /package/dist/public/assets/{colors-N4wXgevD.js → colors-C5iIWSWx.js} +0 -0
  401. /package/dist/public/assets/{cytoscape.esm-DVWrVKKE.js → cytoscape.esm-o_6HroCP.js} +0 -0
  402. /package/dist/public/assets/{defaultLocale-D0l1NlB5.js → defaultLocale-Ci_cmxto.js} +0 -0
  403. /package/dist/public/assets/{desktop-bridge-types-Ij8BA7el.js → desktop-bridge-types-D4yyohEA.js} +0 -0
  404. /package/dist/public/assets/{diff-CQoFqEJ8.js → diff-n4NkdSZN.js} +0 -0
  405. /package/dist/public/assets/{dist-Y35lJRjm.js → dist-AKpDSDgD.js} +0 -0
  406. /package/dist/public/assets/{dist-BD3698ve.js → dist-BsjuWfqE.js} +0 -0
  407. /package/dist/public/assets/{documents-fetch-CyAk_i-3.js → documents-fetch-DjUIhwk3.js} +0 -0
  408. /package/dist/public/assets/{external-link-BtglP1zb.js → external-link-I5y7ImPR.js} +0 -0
  409. /package/dist/public/assets/{file-tree-rename-validation-DMHa94fr.js → file-tree-rename-validation-VypXChwN.js} +0 -0
  410. /package/dist/public/assets/{format-Dn5VT_ew.js → format-Dz9WHgnR.js} +0 -0
  411. /package/dist/public/assets/{go-DksFOnIG.js → go-D_ersHVS.js} +0 -0
  412. /package/dist/public/assets/{init-BZfMkAqI.js → init-C7ZvyJtv.js} +0 -0
  413. /package/dist/public/assets/{isObject-ClHKc-zZ.js → isObject-DaX0mC2K.js} +0 -0
  414. /package/dist/public/assets/{katex-arNHcYlY.js → katex-DZtlYSy3.js} +0 -0
  415. /package/dist/public/assets/{libesm-BUX1Jc4h.js → libesm-Dk2Xd9ht.js} +0 -0
  416. /package/dist/public/assets/{lru-string-cache-D19dwCKJ.js → lru-string-cache-mZvIfIzw.js} +0 -0
  417. /package/dist/public/assets/{lua-DtKxmweM.js → lua-BZ3SwmRr.js} +0 -0
  418. /package/dist/public/assets/{mcp-consent-store-rBVJ88Wy.js → mcp-consent-store-D6bfXqet.js} +0 -0
  419. /package/dist/public/assets/{min-C03Z0UNc.js → min-BNBb-xib.js} +0 -0
  420. /package/dist/public/assets/{panzoom.es-DSQCRJbU.js → panzoom.es-ChI1_jtK.js} +0 -0
  421. /package/dist/public/assets/{parse-api-error-DucXvNZh.js → parse-api-error-CWeCvbNN.js} +0 -0
  422. /package/dist/public/assets/{path-vgVLrjZ6.js → path-CYY6b8e4.js} +0 -0
  423. /package/dist/public/assets/{pdf-B7Aueyrp.js → pdf-DQbEAtJS.js} +0 -0
  424. /package/dist/public/assets/{pdf.worker-DcgidUky.js → pdf.worker-DsFSKvhP.js} +0 -0
  425. /package/dist/public/assets/{perl-BXzCUtdd.js → perl-FdQByH_S.js} +0 -0
  426. /package/dist/public/assets/{properties-CJAqwakm.js → properties-CBj992v9.js} +0 -0
  427. /package/dist/public/assets/{r-Brb1bnAX.js → r-qg1NnfeR.js} +0 -0
  428. /package/dist/public/assets/{rough.esm-DTi2YMB-.js → rough.esm-wROa2UhX.js} +0 -0
  429. /package/dist/public/assets/{ruby-CWNYdZZ6.js → ruby-Cg1fwXaw.js} +0 -0
  430. /package/dist/public/assets/{shell-B3Wf6FeS.js → shell-CA2_MAbd.js} +0 -0
  431. /package/dist/public/assets/{sql-BRvyk2_W.js → sql-Cr2C6qVg.js} +0 -0
  432. /package/dist/public/assets/{src-DlwJ21NB.js → src-CrMlpkn3.js} +0 -0
  433. /package/dist/public/assets/{swift-DT2ta4LM.js → swift-D3NgIBNg.js} +0 -0
  434. /package/dist/public/assets/{toml-C1FnyICQ.js → toml-DzNmVe9T.js} +0 -0
  435. /package/dist/public/assets/{trace-api-CXljsYUC.js → trace-api-BEJdTRcX.js} +0 -0
  436. /package/dist/public/assets/{w3c-keyname-Daddi42S.js → w3c-keyname-BPyKWMWB.js} +0 -0
  437. /package/dist/public/assets/{worktree-store-1tC864Do.js → worktree-store-CcI-M07q.js} +0 -0
@@ -176,7 +176,7 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\
176
176
  `)+1;for(;e!==0;)this.onNewLine(this.offset+e),e=this.source.indexOf(`
177
177
  `,e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case`newline`:if(this.onKeyLine=!1,t.value){let n=`end`in t.value?t.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type===`comment`?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`space`:case`comment`:if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2]?.value?.end;if(Array.isArray(n)){u(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&this.type!==`seq-item-ind`,i=[];if(r&&t.sep&&!t.value){let n=[];for(let r=0;r<t.sep.length;++r){let i=t.sep[r];switch(i.type){case`newline`:n.push(r);break;case`space`:break;case`comment`:i.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(i=t.sep.splice(n[1]))}switch(this.type){case`anchor`:case`tag`:r||t.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`explicit-key-ind`:!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):r||t.value?(i.push(this.sourceToken),e.items.push({start:i,explicitKey:!0})):this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case`map-value-ind`:if(t.explicitKey)if(!t.sep)if(a(t.start,`newline`))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=l(t.start);this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(a(t.sep,`map-value-ind`))this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(s(t.key)&&!a(t.sep,`newline`)){let e=l(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else i.length>0?t.sep=t.sep.concat(i,this.sourceToken):t.sep.push(this.sourceToken);else t.sep?t.value||r?e.items.push({start:i,key:null,sep:[this.sourceToken]}):a(t.sep,`map-value-ind`)?this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);r||t.value?(e.items.push({start:i,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let r=this.startBlockValue(e);if(r){if(r.type===`block-seq`){if(!t.explicitKey&&t.sep&&!a(t.sep,`newline`)){yield*this.pop({type:`error`,offset:this.offset,message:`Unexpected block-seq-ind on same line with key`,source:this.source});return}}else n&&e.items.push({start:i});this.stack.push(r);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case`newline`:if(t.value){let n=`end`in t.value?t.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type===`comment`?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case`space`:case`comment`:if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2]?.value?.end;if(Array.isArray(n)){u(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case`anchor`:case`tag`:if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case`seq-item-ind`:if(this.indent!==e.indent)break;t.value||a(t.start,`seq-item-ind`)?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if(this.type===`flow-error-end`){let e;do yield*this.pop(),e=this.peek(1);while(e?.type===`flow-collection`)}else if(e.end.length===0){switch(this.type){case`comma`:case`explicit-key-ind`:!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case`map-value-ind`:!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case`space`:case`comment`:case`newline`:case`anchor`:case`tag`:!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case`flow-map-end`:case`flow-seq-end`:e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if(t.type===`block-map`&&(this.type===`map-value-ind`&&t.indent===e.indent||this.type===`newline`&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type===`map-value-ind`&&t.type!==`flow-collection`){let n=l(c(t));d(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let i={type:`block-map`,offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf(`
178
178
  `)+1;for(;e!==0;)this.onNewLine(this.offset+e),e=this.source.indexOf(`
179
- `,e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return this.flowScalar(this.type);case`block-scalar-header`:return{type:`block-scalar`,offset:this.offset,indent:this.indent,props:[this.sourceToken],source:``};case`flow-map-start`:case`flow-seq-start`:return{type:`flow-collection`,offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case`seq-item-ind`:return{type:`block-seq`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case`explicit-key-ind`:{this.onKeyLine=!0;let t=l(c(e));return t.push(this.sourceToken),{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case`map-value-ind`:{this.onKeyLine=!0;let t=l(c(e));return{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!==`comment`||this.indent<=t?!1:e.every(e=>e.type===`newline`||e.type===`space`)}*documentEnd(e){this.type!==`doc-mode`&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case`comma`:case`doc-start`:case`doc-end`:case`flow-seq-end`:case`flow-map-end`:case`map-value-ind`:yield*this.pop(),yield*this.step();break;case`newline`:this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop())}}}})),uc=t((e=>{var t=nc(),n=zs(),r=Bs(),i=ps(),a=K(),o=cc(),s=lc();function c(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new o.LineCounter||null,prettyErrors:t}}function l(e,n={}){let{lineCounter:i,prettyErrors:a}=c(n),o=new s.Parser(i?.addNewLine),l=new t.Composer(n),u=Array.from(l.compose(o.parse(e)));if(a&&i)for(let t of u)t.errors.forEach(r.prettifyError(e,i)),t.warnings.forEach(r.prettifyError(e,i));return u.length>0?u:Object.assign([],{empty:!0},l.streamInfo())}function u(e,n={}){let{lineCounter:i,prettyErrors:a}=c(n),o=new s.Parser(i?.addNewLine),l=new t.Composer(n),u=null;for(let t of l.compose(o.parse(e),!0,e.length))if(!u)u=t;else if(u.options.logLevel!==`silent`){u.errors.push(new r.YAMLParseError(t.range.slice(0,2),`MULTIPLE_DOCS`,`Source contains multiple documents; please use YAML.parseAllDocuments()`));break}return a&&i&&(u.errors.forEach(r.prettifyError(e,i)),u.warnings.forEach(r.prettifyError(e,i))),u}function d(e,t,n){let r;typeof t==`function`?r=t:n===void 0&&t&&typeof t==`object`&&(n=t);let a=u(e,n);if(!a)return null;if(a.warnings.forEach(e=>i.warn(a.options.logLevel,e)),a.errors.length>0){if(a.options.logLevel!==`silent`)throw a.errors[0];a.errors=[]}return a.toJS(Object.assign({reviver:r},n))}function f(e,t,r){let i=null;if(typeof t==`function`||Array.isArray(t)?i=t:r===void 0&&t&&(r=t),typeof r==`string`&&(r=r.length),typeof r==`number`){let e=Math.round(r);r=e<1?void 0:e>8?{indent:8}:{indent:e}}if(e===void 0){let{keepUndefined:e}=r??t??{};if(!e)return}return a.isDocument(e)&&!i?e.toString(r):new n.Document(e,i,r).toString(r)}e.parse=d,e.parseAllDocuments=l,e.parseDocument=u,e.stringify=f})),dc=t((e=>{var t=nc(),n=zs(),r=Ls(),i=Bs(),a=as(),o=K(),s=Y(),c=J(),l=X(),u=Z();oc();var d=sc(),f=cc(),p=lc(),m=uc(),h=es();e.Composer=t.Composer,e.Document=n.Document,e.Schema=r.Schema,e.YAMLError=i.YAMLError,e.YAMLParseError=i.YAMLParseError,e.YAMLWarning=i.YAMLWarning,e.Alias=a.Alias,e.isAlias=o.isAlias,e.isCollection=o.isCollection,e.isDocument=o.isDocument,e.isMap=o.isMap,e.isNode=o.isNode,e.isPair=o.isPair,e.isScalar=o.isScalar,e.isSeq=o.isSeq,e.Pair=s.Pair,e.Scalar=c.Scalar,e.YAMLMap=l.YAMLMap,e.YAMLSeq=u.YAMLSeq,e.Lexer=d.Lexer,e.LineCounter=f.LineCounter,e.Parser=p.Parser,e.parse=m.parse,e.parseAllDocuments=m.parseAllDocuments,e.parseDocument=m.parseDocument,e.stringify=m.stringify,e.visit=h.visit,e.visitAsync=h.visitAsync}));const fc=new Set(Object.keys({sh:`bash`,zsh:`bash`,bash:`bash`,c:`c`,cc:`cpp`,cpp:`cpp`,cxx:`cpp`,"c++":`cpp`,h:`c`,hh:`cpp`,hpp:`cpp`,cs:`csharp`,css:`css`,less:`less`,scss:`scss`,sass:`scss`,diff:`diff`,patch:`diff`,go:`go`,gql:`graphql`,graphql:`graphql`,ini:`ini`,cfg:`ini`,conf:`ini`,properties:`ini`,java:`java`,js:`javascript`,jsx:`javascript`,mjs:`javascript`,cjs:`javascript`,json:`json`,jsonc:`json`,kt:`kotlin`,kts:`kotlin`,lua:`lua`,makefile:`makefile`,md:`markdown`,mdx:`markdown`,m:`objectivec`,mm:`objectivec`,pl:`perl`,pm:`perl`,php:`php`,phtml:`php`,py:`python`,pyi:`python`,pyx:`python`,r:`r`,rb:`ruby`,rs:`rust`,sql:`sql`,swift:`swift`,ts:`typescript`,tsx:`typescript`,xml:`xml`,yaml:`yaml`,yml:`yaml`})),pc=[`image/jpeg`,`image/png`,`image/gif`,`image/webp`,`image/svg+xml`],mc=[`video/mp4`,`video/webm`,`video/ogg`],hc=[`audio/mpeg`,`audio/wav`,`audio/ogg`],gc=[`application/pdf`],_c=new Set([`png`,`jpg`,`jpeg`,`gif`,`webp`,`avif`,`svg`]),vc=new Set([`mp4`,`webm`,`mov`,`m4v`,`mkv`]),yc=new Set([`pdf`]),bc=new Set([`mp3`,`wav`,`ogg`,`m4a`,`flac`,`aac`,`opus`]),xc=new Set(`pdf.docx.xlsx.pptx.doc.xls.ppt.zip.7z.tar.gz.rar.csv.tsv.rtf.json.yaml.yml.xml.txt.pages.numbers.key.odt.ods.odp.epub.mobi`.split(`.`)),Sc=new Set(`exe.bat.cmd.ps1.com.msi.vbs.js.jse.wsf.wsh.hta.sh.command.csh.ksh.bash.zsh.fish.desktop.action.workflow.html.htm.svg.xml.mhtml.svgz.dmg.pkg.mpkg.scpt.applescript.terminal.prefpane.webloc.inetloc.fileloc.jar.appimage.deb.rpm.msix.appx.ipa.apk.pif.scr.lnk.url`.split(`.`)),Cc=new Set(`png.jpg.jpeg.gif.webp.avif.svg.apng.heic.heif.tiff.bmp.ico.pdf.mp4.webm.mov.m4v.mkv.avi.flv.wmv.mpeg.mpg.mp3.wav.ogg.m4a.flac.aac.opus.zip.7z.tar.gz.rar.woff.woff2.ttf.otf.eot.docx.xlsx.pptx.doc.xls.ppt.odt.ods.odp.pages.numbers.key.epub.mobi.csv.tsv.txt.rtf.json.yaml.yml.xml.toml.lock.gpx.html.htm`.split(`.`)),wc=new Set([`html`,`htm`]),Tc=`sandbox allow-scripts; connect-src 'none'`,Ec=new Set(`png.jpg.jpeg.gif.webp.avif.apng.heic.heif.tiff.bmp.ico.svg.pdf.mp4.webm.mov.m4v.mkv.mp3.wav.ogg.m4a.flac.aac.opus.json.toml.lock`.split(`.`)),Dc=`same-dir`,Oc=new Set(`png.jpg.jpeg.gif.webp.avif.svg.pdf.mp4.webm.mov.m4v.mkv.mp3.wav.ogg.m4a.flac.aac.opus.docx.xlsx.pptx.doc.xls.ppt.zip.7z.tar.gz.rar.csv.tsv.rtf.json.yaml.yml.xml.txt.pages.numbers.key.odt.ods.odp.epub.mobi`.split(`.`)),kc=[`png`,`jpg`,`jpeg`,`gif`,`webp`,`avif`],Ac=[`mp4`,`webm`,`mov`,`m4v`],jc=[`mp3`,`wav`,`ogg`,`m4a`,`flac`,`aac`,`opus`],Mc=[`pdf`],Nc=[`json`,`toml`,`lock`];function Pc(e,t,n){for(let r of t)if(!n.has(r))throw Error(`${e}: ${r} is not present in canonical upload constants`)}Pc(`SIDEBAR_IMAGE_ASSET_EXTENSIONS`,kc,_c),Pc(`SIDEBAR_VIDEO_ASSET_EXTENSIONS`,Ac,vc),Pc(`SIDEBAR_AUDIO_ASSET_EXTENSIONS`,jc,bc),Pc(`SIDEBAR_PDF_ASSET_EXTENSIONS`,Mc,yc),Pc(`FILE_ATTACHMENT_EXTENSIONS`,[...xc],Oc),Pc(`WIKI_EMBED_EXTENSIONS`,[...Oc],Cc);const Fc=new Set(kc),Ic=new Set(Ac),Lc=new Set(jc),Rc=new Set(Mc),zc=new Set(Nc);Pc(`SIDEBAR_RENDERABLE_ASSET_EXTENSIONS`,[...new Set([...kc,...Ac,...jc,...Mc,...Nc])],Ec);const Bc=new Set([`base`,`canvas`]),Vc=new Set([`mmd`,`mermaid`]);function Hc(e){let t=e.lastIndexOf(`.`);return t<0?!1:Vc.has(e.slice(t+1).toLowerCase())}const Uc=new Set([...Cc,...Bc,...Vc]);function Wc(e){let t=e.toLowerCase().replace(/^\./,``);return Fc.has(t)?`image`:Ic.has(t)?`video`:Lc.has(t)?`audio`:Rc.has(t)?`pdf`:zc.has(t)||Bc.has(t)?`text`:Vc.has(t)?`mermaid`:fc.has(t)?`text`:null}const Gc=[`off`,`warning`,`error`],Kc=`warning`,qc=[`error`,`warning`],Jc={bg:`#282a36`,bgElevated:`#343746`,bgSubtle:`#21222c`,fg:`#f8f8f2`,fgMuted:`#9aa0c5`,border:`#44475a`,primary:`#bd93f9`,primaryFg:`#282a36`,red:`#ff5555`,green:`#50fa7b`,yellow:`#f1fa8c`,blue:`#8be9fd`,cyan:`#8be9fd`,orange:`#ffb86c`,purple:`#ff79c6`},Yc={bg:`#303446`,bgElevated:`#414559`,bgSubtle:`#292c3c`,fg:`#c6d0f5`,fgMuted:`#a5adce`,border:`#51576d`,primary:`#ca9ee6`,primaryFg:`#303446`,red:`#e78284`,green:`#a6d189`,yellow:`#e5c890`,blue:`#8caaee`,cyan:`#81c8be`,orange:`#ef9f76`,purple:`#ca9ee6`},Xc={bg:`#eff1f5`,bgElevated:`#ffffff`,bgSubtle:`#e6e9ef`,fg:`#4c4f69`,fgMuted:`#6c6f85`,border:`#ccd0da`,primary:`#8839ef`,primaryFg:`#ffffff`,red:`#d20f39`,green:`#40a02b`,yellow:`#df8e1d`,blue:`#1e66f5`,cyan:`#179299`,orange:`#fe640b`,purple:`#8839ef`},Zc={bg:`#272822`,bgElevated:`#31322b`,bgSubtle:`#1e1f1a`,fg:`#f8f8f2`,fgMuted:`#a6a28c`,border:`#49483e`,primary:`#66d9ef`,primaryFg:`#272822`,red:`#f92672`,green:`#a6e22e`,yellow:`#e6db74`,blue:`#66d9ef`,cyan:`#66d9ef`,orange:`#fd971f`,purple:`#ae81ff`},Qc={bg:`#282828`,bgElevated:`#32302f`,bgSubtle:`#1d2021`,fg:`#ebdbb2`,fgMuted:`#a89984`,border:`#3c3836`,primary:`#83a598`,primaryFg:`#1d2021`,red:`#fb4934`,green:`#b8bb26`,yellow:`#fabd2f`,blue:`#83a598`,cyan:`#8ec07c`,orange:`#fe8019`,purple:`#d3869b`},$c={bg:`#002b36`,bgElevated:`#073642`,bgSubtle:`#00252e`,fg:`#93a1a1`,fgMuted:`#6a7f86`,border:`#0e4a56`,primary:`#268bd2`,primaryFg:`#fdf6e3`,red:`#dc322f`,green:`#859900`,yellow:`#b58900`,blue:`#268bd2`,cyan:`#2aa198`,orange:`#cb4b16`,purple:`#6c71c4`};function el(e){return{background:e.bg,foreground:e.fg,card:e.bgElevated,"card-foreground":e.fg,popover:e.bgElevated,"popover-foreground":e.fg,primary:e.primary,"primary-foreground":e.primaryFg,secondary:e.bgElevated,"secondary-foreground":e.fg,muted:e.bgElevated,"muted-foreground":e.fgMuted,accent:e.bgElevated,"accent-foreground":e.fg,destructive:e.red,border:e.border,input:e.border,ring:e.primary,"selection-soft":`oklch(from var(--primary) l c h / 0.3)`,"chart-1":e.primary,"chart-2":e.green,"chart-3":e.yellow,"chart-4":e.purple,"chart-5":e.red,sidebar:e.bgSubtle,"sidebar-foreground":e.fg,"sidebar-primary":e.primary,"sidebar-primary-foreground":e.primaryFg,"sidebar-accent":`oklch(from var(--primary) l c h / 0.14)`,"sidebar-accent-foreground":e.primary,"sidebar-hover":e.bgElevated,"sidebar-border":e.border,"sidebar-ring":e.primary,"syntax-keyword":e.purple,"syntax-tag":e.red,"syntax-attr":e.blue,"syntax-string":e.green,"syntax-number":e.orange,"syntax-atom":e.cyan}}function tl(e,t,n){return{id:e,label:t,kind:`dark`,base:n,toTokens:()=>el(n)}}function nl(e,t,n){return{id:e,label:t,kind:`light`,base:n,toTokens:()=>el(n)}}function rl(e,t){return{id:e,label:t,kind:`system`}}const il=[rl(`default`,`Default`),tl(`dracula`,`Dracula`,Jc),tl(`catppuccin-frappe`,`Catppuccin Frappé`,Yc),nl(`catppuccin-latte`,`Catppuccin Latte`,Xc),tl(`monokai`,`Monokai`,Zc),tl(`gruvbox`,`Gruvbox`,Qc),tl(`solarized`,`Solarized`,$c),rl(`custom`,`Custom`)],al=il.map(e=>e.id);new Map(il.map(e=>[e.id,e]));const ol=Symbol.for(`@inkeep/open-knowledge/field-registry`),sl=globalThis;sl[ol]===void 0&&(sl[ol]=tr());const Q=sl[ol];function cl(e){let t=e;for(let e=0;e<16;e++){if(t==null)return;let e=ll(t)?Q.get(t):void 0;if(e!==void 0)return e;let n=t._zod?.def?.innerType;if(n===void 0)return;t=n}}function ll(e){return typeof e==`object`&&!!e&&`_zod`in e&&`parse`in e}const ul=Object.freeze([`authorization`,`auth.token`,`auth.bearer`,`cookie`,`set-cookie`,`x-api-key`,`password`,`secret`]),dl=52428800,fl=26214400,pl=`https://api.openai.com/v1`,ml=`text-embedding-3-small`;function hl(e){let t;try{t=new URL(e)}catch{return`invalid-url`}if(t.protocol===`https:`)return null;let n=t.hostname.toLowerCase(),r=n===`localhost`||n===`127.0.0.1`||n===`[::1]`;return t.protocol===`http:`&&r?null:`insecure-scheme`}function gl(e){let t=e.trim();return t===``?`./`:t}function _l(e){let t=gl(e);return t.includes(`\0`)||t.includes(`\\`)?!1:t===`/`?!0:!(t.startsWith(`/`)||/^[A-Za-z]:/.test(t)||t.split(`/`).some(e=>e===`..`))}const vl=U({content:U({dir:L().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Folder OpenKnowledge reads and writes documents under, relative to the project root (the folder that contains .ok/). Defaults to the project root. Exclude paths with .okignore.`}).default(`.`),attachmentFolderPath:L().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Where pasted and dropped assets are stored, relative to the content root. './' colocates beside the current document (default); '/' targets the content root; './subdir' targets a subfolder under the current document folder; 'folder' targets a fixed folder under the content root. Whitespace-only values are treated as './'.`}).refine(_l,{message:`Invalid attachment folder path: must not contain '..' segments, NUL bytes, backslashes, or OS absolute paths (use '/' for the content root).`}).default(`./`)}).default({dir:`.`,attachmentFolderPath:`./`}),appearance:U({theme:W([`light`,`dark`,`system`]).register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Editor color theme: 'light', 'dark', or 'system' (follow the OS). A personal preference (user scope) — not shared with the project.`}).optional(),colorTheme:W(al).register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`IDE color palette: 'default' (follows the light/dark theme), one of 'dracula', 'catppuccin-frappe', 'catppuccin-latte', 'monokai', 'gruvbox', 'solarized', or 'custom' (your own colors from appearance.customTheme). A personal preference (user scope) — not shared with the project.`}).optional(),colorThemeEnabled:B().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Whether the Themes plugin appears in Settings → Plugins. A personal preference (user scope). Default on.`}).optional(),customTheme:U({background:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: editor canvas background, as a #rrggbb hex string.`}).optional(),surface:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: elevated surfaces (cards, sidebar, popovers), as a #rrggbb hex string.`}).optional(),foreground:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: primary text color, as a #rrggbb hex string.`}).optional(),primary:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: accent color for buttons, links, and focus, as a #rrggbb hex string.`}).optional(),accent:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: secondary accent (syntax highlights, charts), as a #rrggbb hex string.`}).optional(),border:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: hairline border + input color, as a #rrggbb hex string.`}).optional()}).optional(),preview:U({autoOpen:B().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`When on, the agent opens or refreshes the live preview after each edit. Turn off if you manage your own preview window. A personal preference (user scope).`}).default(!0)}).default({autoOpen:!0}),sidebar:U({showHiddenFiles:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Show dot-prefixed entries (e.g. .ok/, .okignore) in the file tree. Per-machine (project-local) — not shared with collaborators.`}).default(!1),showOnlyMarkdownFiles:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Show only markdown documents (.md/.mdx) and folders in the file tree, hiding other file types from view. View-only: hidden files stay on disk and remain reachable via links and search. Per-machine (project-local) — not shared with collaborators.`}).default(!1),showSkillsSection:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Show the Skills section in the sidebar. Skill documents remain reachable via links and search while the section is hidden. Per-machine (project-local) — not shared with collaborators.`}).default(!0),showOkFolders:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Show .ok folders (skills, templates, and other OpenKnowledge-managed state) in the file tree as read-only entries. .ok/worktrees and .ok/local never appear. Per-machine (project-local) — not shared with collaborators.`}).default(!1)}).optional()}).default({preview:{autoOpen:!0}}),editor:U({wordWrap:B().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Soft-wrap long lines in the source (CodeMirror) editor. A personal preference (user scope).`}).default(!0)}).default({wordWrap:!0}),agents:U({autoApproveOkTools:B().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:"Auto-approve OpenKnowledge's own tools (and `ok open` on Claude) for agents launched from the built-in terminal. Destructive tools (delete/move/share/install) still prompt. Per-machine personal preference (user scope)."}).default(!0)}).default({autoApproveOkTools:!0}),autoSync:U({mode:W(qo).register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`How this machine syncs this project with its git remote: 'off' (no sync), 'follow' (one-directional — pull remote changes, never push your own; 'pull' is accepted as a legacy alias), or 'full' (bidirectional pull and push). null = not chosen yet (onboarding asks). Per-machine (project-local) — not shared. Supersedes the legacy autoSync.enabled boolean.`}).nullable().default(null),enabled:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Legacy per-machine sync toggle, superseded by autoSync.mode. Read only when mode is absent (true = full, false = off). null = not chosen yet. Per-machine (project-local) — not shared.`}).nullable().default(null),resumeMode:W(Jo).register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`When sync is paused (autoSync.mode 'off') after having been enabled, the active mode to resume into ('follow' | 'full'). Per-machine UI memory; ignored while a mode is active. Not shared.`}).optional(),default:so([B(),W(qo)]).register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Committed project default for a machine's sync mode on first open: 'off' | 'follow' | 'full', or the legacy boolean (true = full, false = off). null = ask (show the onboarding prompt). Shared via git. A per-machine autoSync.mode choice overrides it.`}).nullable().default(null)}).default({mode:null,enabled:null,default:null}),terminal:U({enabled:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Opt-out for the in-app terminal (a real OS shell at full user privilege). The terminal is on by default; set false to disable it for this project on this machine. Per-machine (project-local) — never shared via git, clone, or sync.`}).nullable().default(null)}).default({enabled:null}),telemetry:U({localSink:U({enabled:B().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:"Write local diagnostic spans + logs under .ok/local/ for `ok diagnose bundle`. Local-only — never leaves the machine until you run bundle. Set false for sensitive workspaces. Shared across collaborators."}).default(!0),spans:U({maxBytes:z().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Maximum size, in bytes, of the local diagnostic spans file before it rotates (default ~50 MB).`}).default(dl)}).default({maxBytes:dl}),logs:U({maxBytes:z().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Maximum size, in bytes, of the local diagnostic logs file before it rotates (default ~25 MB).`}).default(fl)}).default({maxBytes:fl}),attributeDenylist:V(L()).register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Telemetry attribute keys whose values are redacted before any local span/log is written (credential / secret guard). Extends the built-in denylist.`}).default([...ul])}).default({enabled:!0,spans:{maxBytes:dl},logs:{maxBytes:fl},attributeDenylist:[...ul]})}).default({localSink:{enabled:!0,spans:{maxBytes:dl},logs:{maxBytes:fl},attributeDenylist:[...ul]}}),search:U({semantic:U({enabled:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:"Add semantic (embeddings) ranking to the MCP search tool, fused with the lexical engine so conceptually-related pages surface even with no shared keywords. When ON and an API key is set (`ok embeddings set-key`), the search query and matching document content are sent to the configured embeddings provider — content egress. Default OFF. Per-machine (project-local) — not shared with collaborators."}).default(!1),baseUrl:L().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:"Base URL of the OpenAI-compatible embeddings API (default https://api.openai.com/v1). Override for Azure / self-hosted / other providers. The API key is NOT stored here — set it with `ok embeddings set-key` (OS keyring)."}).default(pl),model:L().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Embeddings model id (default text-embedding-3-small). Must be served by the provider at baseUrl. Changing it re-embeds the corpus (the cache is keyed by provider + model + dimensions).`}).default(ml),dimensions:z().int().positive().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Optional output vector dimensions. Omit to use the model's native size (1536 for text-embedding-3-small). Set a smaller value (text-embedding-3 supports e.g. 512 / 1024) to shrink the on-disk cache, trading a little retrieval quality. Changing it re-embeds the corpus.`}).optional(),similarityFloor:z().min(0).max(1).register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Optional hard cutoff: drop any "by meaning" match whose cosine similarity is below this value. Off by default (0) because retrieval is rank-based (the closest pages are returned regardless of absolute score) and the right cutoff is model-specific. Set it only to suppress weak matches for a specific provider/model whose cosine scale you know. Most setups should leave it unset and rely on the result-count cap.`}).optional()}).default({enabled:!1,baseUrl:pl,model:ml})}).default({semantic:{enabled:!1,baseUrl:pl,model:ml}}),contentRules:U({markdownlint:H({enabled:B().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Whether the markdownlint plugin (body rules) contributes diagnostics.`}).default(!1)}).default({enabled:!1})}).default({markdownlint:{enabled:!1}}),validation:U({links:W(Gc).register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`How broken internal links are reported on the validation plane: 'off' hides them, 'warning' (default) or 'error' sets their severity.`}).default(Kc),fileTreeIndicators:B().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Whether the file tree tints and badges files that have validation problems.`}).default(!0)}).default({links:Kc,fileTreeIndicators:!0}),linkPreviews:U({enabled:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Show a rich preview card (site name, page title, description, favicon) when you hover an external link in the editor. When ON, hovering an external link sends that link's URL to the destination site to fetch its preview metadata — outbound egress, one request per previewed link. Default ON; set to false to turn external previews off. Per-machine (project-local) — not shared with collaborators. Previews of links to other documents in this project are read from the local index with no network request and are always on.`}).default(!0)}).default({enabled:!0})});r();const yl=`open-knowledge-config`;async function bl(e,t,r){let a=i.getTracer(yl),o=t?{attributes:t}:{};return a.startActiveSpan(e,o,async e=>{try{return await r(e)}catch(t){throw e.recordException(t),e.setStatus({code:n.ERROR,message:t instanceof Error?t.message:String(t)}),t}finally{e.end()}})}function xl(e,t,r){let a=i.getTracer(yl),o=t?{attributes:t}:{};return a.startActiveSpan(e,o,e=>{try{return r(e)}catch(t){throw e.recordException(t),e.setStatus({code:n.ERROR,message:t instanceof Error?t.message:String(t)}),t}finally{e.end()}})}function Sl(e,t){let n=i.getActiveSpan();n&&n.addEvent(e,t)}function Cl(e){let t=e;for(let e=0;e<16;e++){if(t==null||t?._zod?.def?.shape!==void 0)return t;let e=t?._zod?.def?.innerType;if(e===void 0)return t;t=e}return t}function wl(e,t){let n=e;for(let e of t){n=Cl(n);let t=n?._zod?.def?.shape;if(!t||(n=t[String(e)],n===void 0))return}return n}function Tl(e,t){let n=wl(e,t);if(n!==void 0)return cl(n)}function El(e,t){return e===`either`?!0:e===t}function Dl(e,t){let n=null;function r(e,i){if(n!==null||e===void 0)return;if(typeof e==`object`&&e&&!Array.isArray(e)){for(let[t,a]of Object.entries(e))if(r(a,[...i,t]),n!==null)return;return}let a=Tl(vl,i);a?.scope!==void 0&&(El(a.scope,t)||(n={code:`SCOPE_VIOLATION`,path:i,expectedScope:a.scope,actualScope:t}))}for(let[t,i]of Object.entries(e))if(r(i,[t]),n!==null)break;return n}var Ol=dc();function kl(e,t){for(let n=1;n<t.length;n++){let r=t.slice(0,n);e.hasIn(r)&&((0,Ol.isCollection)(e.getIn(r,!0))||e.deleteIn(r))}}function Al(e,t){let n=[];function r(t,i){if(t!==void 0){if(t===null){e.deleteIn(i),n.push(i.join(`.`));return}if(Array.isArray(t)){kl(e,i),e.setIn(i,t),n.push(i.join(`.`));return}if(typeof t==`object`){for(let[e,n]of Object.entries(t))r(n,[...i,e]);return}kl(e,i),e.setIn(i,t),n.push(i.join(`.`))}}for(let[e,n]of Object.entries(t))r(n,[e]);return n}function jl(e){return{path:e.path.map(e=>typeof e==`symbol`?String(e):e),message:e.message,issueCode:e.code}}const Ml=H({file:L(),line:z().int().min(1),column:z().int().min(1),snippet:L().optional()}),Nl=H({path:V(so([L(),z()])),message:L(),issueCode:L(),params:mo(L(),to()).optional(),source:Ml.optional()}),Pl=W([`user`,`project`,`project-local`,`either`]),Fl=W([`user`,`project`,`project-local`]),Il=lo(`code`,[H({code:G(`YAML_PARSE`),detail:L()}),H({code:G(`SCHEMA_INVALID`),issues:V(Nl)}),H({code:G(`SCOPE_VIOLATION`),path:V(L()),expectedScope:Pl,actualScope:Fl}),H({code:G(`NOT_AGENT_SETTABLE`),path:V(L())}),H({code:G(`MIXED_SCOPE`),paths:V(H({path:V(L()),scope:Fl}))}),H({code:G(`REMOVED_KEY`),path:V(L()),redirect:L(),source:Ml.optional()}),H({code:G(`WRITE_ERROR`),detail:L()}),H({code:G(`OKIGNORE_INVALID`),detail:L(),lineNumber:z().int().min(1).optional()}),H({code:G(`UNKNOWN`),message:L().optional()})]),Ll=new Set(Il.options.map(e=>e.shape.code.value)),Rl=so([Il,U({code:L(),message:L().optional()})]);function zl(e){return Ll.has(e.code)}function Bl(e){switch(e){case`user`:return`~/.ok/global.yml`;case`project`:return`.ok/config.yml`;case`project-local`:return`.ok/local/config.yml`;case`either`:return`.ok/config.yml or ~/.ok/global.yml`}}function Vl(e){switch(e){case`user`:return`personal to you, across all projects`;case`project`:return`shared with your team via git`;case`project-local`:return`this machine only, not shared`;case`either`:return`user or project`}}function Hl(e){if(!zl(e))return e.message??`Unknown error (${e.code}).`;switch(e.code){case`YAML_PARSE`:return`Failed to parse YAML: ${e.detail}`;case`SCHEMA_INVALID`:{if(e.issues.length===0)return`Invalid configuration.`;let t=new Map;for(let n of e.issues){let e=n.source?.file??`<no source>`,r=t.get(e)??[];r.push(n),t.set(e,r)}let n=[];for(let[e,r]of t){e===`<no source>`?n.push(`Invalid configuration:`):n.push(`Invalid configuration at ${e}:`);for(let t of r){let r=t.path.length===0?`<root>`:t.path.join(`.`);if(t.source){if(n.push(` ${e}:${t.source.line}:${t.source.column}`),n.push(` ${r}: ${t.message}`),t.source.snippet&&t.source.snippet.length>0)for(let e of t.source.snippet.split(`
179
+ `,e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return this.flowScalar(this.type);case`block-scalar-header`:return{type:`block-scalar`,offset:this.offset,indent:this.indent,props:[this.sourceToken],source:``};case`flow-map-start`:case`flow-seq-start`:return{type:`flow-collection`,offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case`seq-item-ind`:return{type:`block-seq`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case`explicit-key-ind`:{this.onKeyLine=!0;let t=l(c(e));return t.push(this.sourceToken),{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case`map-value-ind`:{this.onKeyLine=!0;let t=l(c(e));return{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!==`comment`||this.indent<=t?!1:e.every(e=>e.type===`newline`||e.type===`space`)}*documentEnd(e){this.type!==`doc-mode`&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case`comma`:case`doc-start`:case`doc-end`:case`flow-seq-end`:case`flow-map-end`:case`map-value-ind`:yield*this.pop(),yield*this.step();break;case`newline`:this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop())}}}})),uc=t((e=>{var t=nc(),n=zs(),r=Bs(),i=ps(),a=K(),o=cc(),s=lc();function c(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new o.LineCounter||null,prettyErrors:t}}function l(e,n={}){let{lineCounter:i,prettyErrors:a}=c(n),o=new s.Parser(i?.addNewLine),l=new t.Composer(n),u=Array.from(l.compose(o.parse(e)));if(a&&i)for(let t of u)t.errors.forEach(r.prettifyError(e,i)),t.warnings.forEach(r.prettifyError(e,i));return u.length>0?u:Object.assign([],{empty:!0},l.streamInfo())}function u(e,n={}){let{lineCounter:i,prettyErrors:a}=c(n),o=new s.Parser(i?.addNewLine),l=new t.Composer(n),u=null;for(let t of l.compose(o.parse(e),!0,e.length))if(!u)u=t;else if(u.options.logLevel!==`silent`){u.errors.push(new r.YAMLParseError(t.range.slice(0,2),`MULTIPLE_DOCS`,`Source contains multiple documents; please use YAML.parseAllDocuments()`));break}return a&&i&&(u.errors.forEach(r.prettifyError(e,i)),u.warnings.forEach(r.prettifyError(e,i))),u}function d(e,t,n){let r;typeof t==`function`?r=t:n===void 0&&t&&typeof t==`object`&&(n=t);let a=u(e,n);if(!a)return null;if(a.warnings.forEach(e=>i.warn(a.options.logLevel,e)),a.errors.length>0){if(a.options.logLevel!==`silent`)throw a.errors[0];a.errors=[]}return a.toJS(Object.assign({reviver:r},n))}function f(e,t,r){let i=null;if(typeof t==`function`||Array.isArray(t)?i=t:r===void 0&&t&&(r=t),typeof r==`string`&&(r=r.length),typeof r==`number`){let e=Math.round(r);r=e<1?void 0:e>8?{indent:8}:{indent:e}}if(e===void 0){let{keepUndefined:e}=r??t??{};if(!e)return}return a.isDocument(e)&&!i?e.toString(r):new n.Document(e,i,r).toString(r)}e.parse=d,e.parseAllDocuments=l,e.parseDocument=u,e.stringify=f})),dc=t((e=>{var t=nc(),n=zs(),r=Ls(),i=Bs(),a=as(),o=K(),s=Y(),c=J(),l=X(),u=Z();oc();var d=sc(),f=cc(),p=lc(),m=uc(),h=es();e.Composer=t.Composer,e.Document=n.Document,e.Schema=r.Schema,e.YAMLError=i.YAMLError,e.YAMLParseError=i.YAMLParseError,e.YAMLWarning=i.YAMLWarning,e.Alias=a.Alias,e.isAlias=o.isAlias,e.isCollection=o.isCollection,e.isDocument=o.isDocument,e.isMap=o.isMap,e.isNode=o.isNode,e.isPair=o.isPair,e.isScalar=o.isScalar,e.isSeq=o.isSeq,e.Pair=s.Pair,e.Scalar=c.Scalar,e.YAMLMap=l.YAMLMap,e.YAMLSeq=u.YAMLSeq,e.Lexer=d.Lexer,e.LineCounter=f.LineCounter,e.Parser=p.Parser,e.parse=m.parse,e.parseAllDocuments=m.parseAllDocuments,e.parseDocument=m.parseDocument,e.stringify=m.stringify,e.visit=h.visit,e.visitAsync=h.visitAsync}));const fc=new Set(Object.keys({sh:`bash`,zsh:`bash`,bash:`bash`,c:`c`,cc:`cpp`,cpp:`cpp`,cxx:`cpp`,"c++":`cpp`,h:`c`,hh:`cpp`,hpp:`cpp`,cs:`csharp`,css:`css`,less:`less`,scss:`scss`,sass:`scss`,diff:`diff`,patch:`diff`,go:`go`,gql:`graphql`,graphql:`graphql`,ini:`ini`,cfg:`ini`,conf:`ini`,properties:`ini`,java:`java`,js:`javascript`,jsx:`javascript`,mjs:`javascript`,cjs:`javascript`,json:`json`,jsonc:`json`,kt:`kotlin`,kts:`kotlin`,lua:`lua`,makefile:`makefile`,md:`markdown`,mdx:`markdown`,m:`objectivec`,mm:`objectivec`,pl:`perl`,pm:`perl`,php:`php`,phtml:`php`,py:`python`,pyi:`python`,pyx:`python`,r:`r`,rb:`ruby`,rs:`rust`,sql:`sql`,swift:`swift`,ts:`typescript`,tsx:`typescript`,xml:`xml`,yaml:`yaml`,yml:`yaml`})),pc=[`image/jpeg`,`image/png`,`image/gif`,`image/webp`,`image/svg+xml`],mc=[`video/mp4`,`video/webm`,`video/ogg`],hc=[`audio/mpeg`,`audio/wav`,`audio/ogg`],gc=[`application/pdf`],_c=new Set([`png`,`jpg`,`jpeg`,`gif`,`webp`,`avif`,`svg`]),vc=new Set([`mp4`,`webm`,`mov`,`m4v`,`mkv`]),yc=new Set([`pdf`]),bc=new Set([`mp3`,`wav`,`ogg`,`m4a`,`flac`,`aac`,`opus`]),xc=new Set(`pdf.docx.xlsx.pptx.doc.xls.ppt.zip.7z.tar.gz.rar.csv.tsv.rtf.json.yaml.yml.xml.txt.pages.numbers.key.odt.ods.odp.epub.mobi`.split(`.`)),Sc=new Set(`exe.bat.cmd.ps1.com.msi.vbs.js.jse.wsf.wsh.hta.sh.command.csh.ksh.bash.zsh.fish.desktop.action.workflow.html.htm.svg.xml.mhtml.svgz.dmg.pkg.mpkg.scpt.applescript.terminal.prefpane.webloc.inetloc.fileloc.jar.appimage.deb.rpm.msix.appx.ipa.apk.pif.scr.lnk.url`.split(`.`)),Cc=new Set(`png.jpg.jpeg.gif.webp.avif.svg.apng.heic.heif.tiff.bmp.ico.pdf.mp4.webm.mov.m4v.mkv.avi.flv.wmv.mpeg.mpg.mp3.wav.ogg.m4a.flac.aac.opus.zip.7z.tar.gz.rar.woff.woff2.ttf.otf.eot.docx.xlsx.pptx.doc.xls.ppt.odt.ods.odp.pages.numbers.key.epub.mobi.csv.tsv.txt.rtf.json.yaml.yml.xml.toml.lock.gpx.html.htm`.split(`.`)),wc=new Set([`html`,`htm`]),Tc=`sandbox allow-scripts; connect-src 'none'`,Ec=new Set(`png.jpg.jpeg.gif.webp.avif.apng.heic.heif.tiff.bmp.ico.svg.pdf.mp4.webm.mov.m4v.mkv.mp3.wav.ogg.m4a.flac.aac.opus.json.toml.lock`.split(`.`)),Dc=`same-dir`,Oc=new Set(`png.jpg.jpeg.gif.webp.avif.svg.pdf.mp4.webm.mov.m4v.mkv.mp3.wav.ogg.m4a.flac.aac.opus.docx.xlsx.pptx.doc.xls.ppt.zip.7z.tar.gz.rar.csv.tsv.rtf.json.yaml.yml.xml.txt.pages.numbers.key.odt.ods.odp.epub.mobi`.split(`.`)),kc=[`png`,`jpg`,`jpeg`,`gif`,`webp`,`avif`],Ac=[`mp4`,`webm`,`mov`,`m4v`],jc=[`mp3`,`wav`,`ogg`,`m4a`,`flac`,`aac`,`opus`],Mc=[`pdf`],Nc=[`json`,`toml`,`lock`];function Pc(e,t,n){for(let r of t)if(!n.has(r))throw Error(`${e}: ${r} is not present in canonical upload constants`)}Pc(`SIDEBAR_IMAGE_ASSET_EXTENSIONS`,kc,_c),Pc(`SIDEBAR_VIDEO_ASSET_EXTENSIONS`,Ac,vc),Pc(`SIDEBAR_AUDIO_ASSET_EXTENSIONS`,jc,bc),Pc(`SIDEBAR_PDF_ASSET_EXTENSIONS`,Mc,yc),Pc(`FILE_ATTACHMENT_EXTENSIONS`,[...xc],Oc),Pc(`WIKI_EMBED_EXTENSIONS`,[...Oc],Cc);const Fc=new Set(kc),Ic=new Set(Ac),Lc=new Set(jc),Rc=new Set(Mc),zc=new Set(Nc);Pc(`SIDEBAR_RENDERABLE_ASSET_EXTENSIONS`,[...new Set([...kc,...Ac,...jc,...Mc,...Nc])],Ec);const Bc=new Set([`base`,`canvas`]),Vc=new Set([`mmd`,`mermaid`]);function Hc(e){let t=e.lastIndexOf(`.`);return t<0?!1:Vc.has(e.slice(t+1).toLowerCase())}const Uc=new Set([...Cc,...Bc,...Vc]);function Wc(e){let t=e.toLowerCase().replace(/^\./,``);return Fc.has(t)?`image`:Ic.has(t)?`video`:Lc.has(t)?`audio`:Rc.has(t)?`pdf`:zc.has(t)||Bc.has(t)?`text`:Vc.has(t)?`mermaid`:fc.has(t)?`text`:null}const Gc=[`off`,`warning`,`error`],Kc=`warning`,qc=[`error`,`warning`],Jc={bg:`#282a36`,bgElevated:`#343746`,bgSubtle:`#21222c`,fg:`#f8f8f2`,fgMuted:`#9aa0c5`,border:`#44475a`,primary:`#bd93f9`,primaryFg:`#282a36`,red:`#ff5555`,green:`#50fa7b`,yellow:`#f1fa8c`,blue:`#8be9fd`,cyan:`#8be9fd`,orange:`#ffb86c`,purple:`#ff79c6`},Yc={bg:`#303446`,bgElevated:`#414559`,bgSubtle:`#292c3c`,fg:`#c6d0f5`,fgMuted:`#a5adce`,border:`#51576d`,primary:`#ca9ee6`,primaryFg:`#303446`,red:`#e78284`,green:`#a6d189`,yellow:`#e5c890`,blue:`#8caaee`,cyan:`#81c8be`,orange:`#ef9f76`,purple:`#ca9ee6`},Xc={bg:`#eff1f5`,bgElevated:`#ffffff`,bgSubtle:`#e6e9ef`,fg:`#4c4f69`,fgMuted:`#6c6f85`,border:`#ccd0da`,primary:`#8839ef`,primaryFg:`#ffffff`,red:`#d20f39`,green:`#40a02b`,yellow:`#df8e1d`,blue:`#1e66f5`,cyan:`#179299`,orange:`#fe640b`,purple:`#8839ef`},Zc={bg:`#272822`,bgElevated:`#31322b`,bgSubtle:`#1e1f1a`,fg:`#f8f8f2`,fgMuted:`#a6a28c`,border:`#49483e`,primary:`#66d9ef`,primaryFg:`#272822`,red:`#f92672`,green:`#a6e22e`,yellow:`#e6db74`,blue:`#66d9ef`,cyan:`#66d9ef`,orange:`#fd971f`,purple:`#ae81ff`},Qc={bg:`#282828`,bgElevated:`#32302f`,bgSubtle:`#1d2021`,fg:`#ebdbb2`,fgMuted:`#a89984`,border:`#3c3836`,primary:`#83a598`,primaryFg:`#1d2021`,red:`#fb4934`,green:`#b8bb26`,yellow:`#fabd2f`,blue:`#83a598`,cyan:`#8ec07c`,orange:`#fe8019`,purple:`#d3869b`},$c={bg:`#002b36`,bgElevated:`#073642`,bgSubtle:`#00252e`,fg:`#93a1a1`,fgMuted:`#6a7f86`,border:`#0e4a56`,primary:`#268bd2`,primaryFg:`#fdf6e3`,red:`#dc322f`,green:`#859900`,yellow:`#b58900`,blue:`#268bd2`,cyan:`#2aa198`,orange:`#cb4b16`,purple:`#6c71c4`};function el(e){return{background:e.bg,foreground:e.fg,card:e.bgElevated,"card-foreground":e.fg,popover:e.bgElevated,"popover-foreground":e.fg,primary:e.primary,"primary-foreground":e.primaryFg,secondary:e.bgElevated,"secondary-foreground":e.fg,muted:e.bgElevated,"muted-foreground":e.fgMuted,accent:e.bgElevated,"accent-foreground":e.fg,destructive:e.red,border:e.border,input:e.border,ring:e.primary,"selection-soft":`oklch(from var(--primary) l c h / 0.3)`,"chart-1":e.primary,"chart-2":e.green,"chart-3":e.yellow,"chart-4":e.purple,"chart-5":e.red,sidebar:e.bgSubtle,"sidebar-foreground":e.fg,"sidebar-primary":e.primary,"sidebar-primary-foreground":e.primaryFg,"sidebar-accent":`oklch(from var(--primary) l c h / 0.14)`,"sidebar-accent-foreground":e.primary,"sidebar-hover":e.bgElevated,"sidebar-border":e.border,"sidebar-ring":e.primary,"syntax-keyword":e.purple,"syntax-tag":e.red,"syntax-attr":e.blue,"syntax-string":e.green,"syntax-number":e.orange,"syntax-atom":e.cyan}}function tl(e,t,n){return{id:e,label:t,kind:`dark`,base:n,toTokens:()=>el(n)}}function nl(e,t,n){return{id:e,label:t,kind:`light`,base:n,toTokens:()=>el(n)}}function rl(e,t){return{id:e,label:t,kind:`system`}}const il=[rl(`default`,`Default`),tl(`dracula`,`Dracula`,Jc),tl(`catppuccin-frappe`,`Catppuccin Frappé`,Yc),nl(`catppuccin-latte`,`Catppuccin Latte`,Xc),tl(`monokai`,`Monokai`,Zc),tl(`gruvbox`,`Gruvbox`,Qc),tl(`solarized`,`Solarized`,$c),rl(`custom`,`Custom`)],al=il.map(e=>e.id);new Map(il.map(e=>[e.id,e]));const ol=Symbol.for(`@inkeep/open-knowledge/field-registry`),sl=globalThis;sl[ol]===void 0&&(sl[ol]=tr());const Q=sl[ol];function cl(e){let t=e;for(let e=0;e<16;e++){if(t==null)return;let e=ll(t)?Q.get(t):void 0;if(e!==void 0)return e;let n=t._zod?.def?.innerType;if(n===void 0)return;t=n}}function ll(e){return typeof e==`object`&&!!e&&`_zod`in e&&`parse`in e}const ul=Object.freeze([`authorization`,`auth.token`,`auth.bearer`,`cookie`,`set-cookie`,`x-api-key`,`password`,`secret`]),dl=52428800,fl=26214400,pl=`https://api.openai.com/v1`,ml=`text-embedding-3-small`;function hl(e){let t;try{t=new URL(e)}catch{return`invalid-url`}if(t.protocol===`https:`)return null;let n=t.hostname.toLowerCase(),r=n===`localhost`||n===`127.0.0.1`||n===`[::1]`;return t.protocol===`http:`&&r?null:`insecure-scheme`}function gl(e){let t=e.trim();return t===``?`./`:t}function _l(e){let t=gl(e);return t.includes(`\0`)||t.includes(`\\`)?!1:t===`/`?!0:!(t.startsWith(`/`)||/^[A-Za-z]:/.test(t)||t.split(`/`).some(e=>e===`..`))}const vl=U({content:U({dir:L().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Folder OpenKnowledge reads and writes documents under, relative to the project root (the folder that contains .ok/). Defaults to the project root. Exclude paths with .okignore.`}).default(`.`),attachmentFolderPath:L().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Where pasted and dropped assets are stored, relative to the content root. './' colocates beside the current document (default); '/' targets the content root; './subdir' targets a subfolder under the current document folder; 'folder' targets a fixed folder under the content root. Whitespace-only values are treated as './'.`}).refine(_l,{message:`Invalid attachment folder path: must not contain '..' segments, NUL bytes, backslashes, or OS absolute paths (use '/' for the content root).`}).default(`./`)}).default({dir:`.`,attachmentFolderPath:`./`}),appearance:U({theme:W([`light`,`dark`,`system`]).register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Editor color theme: 'light', 'dark', or 'system' (follow the OS). A personal preference (user scope) — not shared with the project.`}).optional(),colorTheme:W(al).register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`IDE color palette: 'default' (follows the light/dark theme), one of 'dracula', 'catppuccin-frappe', 'catppuccin-latte', 'monokai', 'gruvbox', 'solarized', or 'custom' (your own colors from appearance.customTheme). A personal preference (user scope) — not shared with the project.`}).optional(),colorThemeEnabled:B().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Whether the Themes plugin appears in Settings → Plugins. A personal preference (user scope). Default on.`}).optional(),customTheme:U({background:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: editor canvas background, as a #rrggbb hex string.`}).optional(),surface:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: elevated surfaces (cards, sidebar, popovers), as a #rrggbb hex string.`}).optional(),foreground:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: primary text color, as a #rrggbb hex string.`}).optional(),primary:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: accent color for buttons, links, and focus, as a #rrggbb hex string.`}).optional(),accent:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: secondary accent (syntax highlights, charts), as a #rrggbb hex string.`}).optional(),border:L().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Custom theme: hairline border + input color, as a #rrggbb hex string.`}).optional()}).optional(),preview:U({autoOpen:B().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`When on, the agent opens or refreshes the live preview after each edit. Turn off if you manage your own preview window. A personal preference (user scope).`}).default(!0)}).default({autoOpen:!0}),sidebar:U({showHiddenFiles:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Show dot-prefixed entries (e.g. .ok/, .okignore) in the file tree. Per-machine (project-local) — not shared with collaborators.`}).default(!1),showOnlyMarkdownFiles:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Show only markdown documents (.md/.mdx) and folders in the file tree, hiding other file types from view. View-only: hidden files stay on disk and remain reachable via links and search. Per-machine (project-local) — not shared with collaborators.`}).default(!1),showSkillsSection:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Show the Skills section in the sidebar. Skill documents remain reachable via links and search while the section is hidden. Per-machine (project-local) — not shared with collaborators.`}).default(!0),showOkFolders:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Show .ok folders (skills, templates, and other OpenKnowledge-managed state) in the file tree as read-only entries. .ok/worktrees and .ok/local never appear. Per-machine (project-local) — not shared with collaborators.`}).default(!1)}).optional()}).default({preview:{autoOpen:!0}}),editor:U({wordWrap:B().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:`Soft-wrap long lines in the source (CodeMirror) editor. A personal preference (user scope).`}).default(!0)}).default({wordWrap:!0}),agents:U({autoApproveOkTools:B().register(Q,{scope:`user`,agentSettable:!1,defaultScope:`user`,description:"Auto-approve OpenKnowledge's own tools (and `ok open` on Claude) for agents launched from the built-in terminal. Destructive tools (delete/move/share/install) still prompt. Per-machine personal preference (user scope)."}).default(!0)}).default({autoApproveOkTools:!0}),autoSync:U({mode:W(qo).register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`How this machine syncs this project with its git remote: 'off' (no sync), 'follow' (one-directional — pull remote changes, never push your own; 'pull' is accepted as a legacy alias), or 'full' (bidirectional pull and push). null = not chosen yet (onboarding asks). Per-machine (project-local) — not shared. Supersedes the legacy autoSync.enabled boolean.`}).nullable().default(null),enabled:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Legacy per-machine sync toggle, superseded by autoSync.mode. Read only when mode is absent (true = full, false = off). null = not chosen yet. Per-machine (project-local) — not shared.`}).nullable().default(null),resumeMode:W(Jo).register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`When sync is paused (autoSync.mode 'off') after having been enabled, the active mode to resume into ('follow' | 'full'). Per-machine UI memory; ignored while a mode is active. Not shared.`}).optional(),default:so([B(),W(qo)]).register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Committed project default for a machine's sync mode on first open: 'off' | 'follow' | 'full', or the legacy boolean (true = full, false = off). null = ask (show the onboarding prompt). Shared via git. A per-machine autoSync.mode choice overrides it.`}).nullable().default(null)}).default({mode:null,enabled:null,default:null}),terminal:U({enabled:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Opt-out for the in-app terminal (a real OS shell at full user privilege). The terminal is on by default; set false to disable it for this project on this machine. Per-machine (project-local) — never shared via git, clone, or sync.`}).nullable().default(null)}).default({enabled:null}),telemetry:U({localSink:U({enabled:B().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:"Write local diagnostic spans + logs under .ok/local/ for `ok diagnose bundle`. Local-only — never leaves the machine until you run bundle. Set false for sensitive workspaces. Shared across collaborators."}).default(!0),spans:U({maxBytes:z().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Maximum size, in bytes, of the local diagnostic spans file before it rotates (default ~50 MB).`}).default(dl)}).default({maxBytes:dl}),logs:U({maxBytes:z().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Maximum size, in bytes, of the local diagnostic logs file before it rotates (default ~25 MB).`}).default(fl)}).default({maxBytes:fl}),attributeDenylist:V(L()).register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Telemetry attribute keys whose values are redacted before any local span/log is written (credential / secret guard). Extends the built-in denylist.`}).default([...ul])}).default({enabled:!0,spans:{maxBytes:dl},logs:{maxBytes:fl},attributeDenylist:[...ul]})}).default({localSink:{enabled:!0,spans:{maxBytes:dl},logs:{maxBytes:fl},attributeDenylist:[...ul]}}),search:U({semantic:U({enabled:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:"Add semantic (embeddings) ranking to the MCP search tool, fused with the lexical engine so conceptually-related pages surface even with no shared keywords. When ON and an API key is set (`ok embeddings set-key`), the search query and matching document content are sent to the configured embeddings provider — content egress. Default OFF. Per-machine (project-local) — not shared with collaborators."}).default(!1),baseUrl:L().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:"Base URL of the OpenAI-compatible embeddings API (default https://api.openai.com/v1). Override for Azure / self-hosted / other providers. The API key is NOT stored here — set it with `ok embeddings set-key` (OS keyring)."}).default(pl),model:L().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Embeddings model id (default text-embedding-3-small). Must be served by the provider at baseUrl. Changing it re-embeds the corpus (the cache is keyed by provider + model + dimensions).`}).default(ml),dimensions:z().int().positive().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Optional output vector dimensions. Omit to use the model's native size (1536 for text-embedding-3-small). Set a smaller value (text-embedding-3 supports e.g. 512 / 1024) to shrink the on-disk cache, trading a little retrieval quality. Changing it re-embeds the corpus.`}).optional(),similarityFloor:z().min(0).max(1).register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Optional hard cutoff: drop any "by meaning" match whose cosine similarity is below this value. Off by default (0) because retrieval is rank-based (the closest pages are returned regardless of absolute score) and the right cutoff is model-specific. Set it only to suppress weak matches for a specific provider/model whose cosine scale you know. Most setups should leave it unset and rely on the result-count cap.`}).optional()}).default({enabled:!1,baseUrl:pl,model:ml})}).default({semantic:{enabled:!1,baseUrl:pl,model:ml}}),contentRules:U({markdownlint:H({enabled:B().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Whether the markdownlint plugin (body rules) contributes diagnostics.`}).default(!1)}).default({enabled:!1}),frontmatter:H({enabled:B().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Whether the frontmatter plugin (JSON-Schema validation of document frontmatter) contributes diagnostics.`}).default(!1),schemas:V(H({appliesTo:so([L(),V(L())]).optional(),file:L(),enabled:B().optional()})).register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Frontmatter schema mappings: which docs (appliesTo globs) validate against which JSON Schema file (project-root-relative path).`}).default([])}).default({enabled:!1,schemas:[]})}).default({markdownlint:{enabled:!1},frontmatter:{enabled:!1,schemas:[]}}),validation:U({links:W(Gc).register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`How broken internal links are reported on the validation plane: 'off' hides them, 'warning' (default) or 'error' sets their severity.`}).default(Kc),fileTreeIndicators:B().register(Q,{scope:`project`,agentSettable:!1,defaultScope:`project`,description:`Whether the file tree tints and badges files that have validation problems.`}).default(!0)}).default({links:Kc,fileTreeIndicators:!0}),linkPreviews:U({enabled:B().register(Q,{scope:`project-local`,agentSettable:!1,defaultScope:`project-local`,description:`Show a rich preview card (site name, page title, description, favicon) when you hover an external link in the editor. When ON, hovering an external link sends that link's URL to the destination site to fetch its preview metadata — outbound egress, one request per previewed link. Default ON; set to false to turn external previews off. Per-machine (project-local) — not shared with collaborators. Previews of links to other documents in this project are read from the local index with no network request and are always on.`}).default(!0)}).default({enabled:!0})});r();const yl=`open-knowledge-config`;async function bl(e,t,r){let a=i.getTracer(yl),o=t?{attributes:t}:{};return a.startActiveSpan(e,o,async e=>{try{return await r(e)}catch(t){throw e.recordException(t),e.setStatus({code:n.ERROR,message:t instanceof Error?t.message:String(t)}),t}finally{e.end()}})}function xl(e,t,r){let a=i.getTracer(yl),o=t?{attributes:t}:{};return a.startActiveSpan(e,o,e=>{try{return r(e)}catch(t){throw e.recordException(t),e.setStatus({code:n.ERROR,message:t instanceof Error?t.message:String(t)}),t}finally{e.end()}})}function Sl(e,t){let n=i.getActiveSpan();n&&n.addEvent(e,t)}function Cl(e){let t=e;for(let e=0;e<16;e++){if(t==null||t?._zod?.def?.shape!==void 0)return t;let e=t?._zod?.def?.innerType;if(e===void 0)return t;t=e}return t}function wl(e,t){let n=e;for(let e of t){n=Cl(n);let t=n?._zod?.def?.shape;if(!t||(n=t[String(e)],n===void 0))return}return n}function Tl(e,t){let n=wl(e,t);if(n!==void 0)return cl(n)}function El(e,t){return e===`either`?!0:e===t}function Dl(e,t){let n=null;function r(e,i){if(n!==null||e===void 0)return;if(typeof e==`object`&&e&&!Array.isArray(e)){for(let[t,a]of Object.entries(e))if(r(a,[...i,t]),n!==null)return;return}let a=Tl(vl,i);a?.scope!==void 0&&(El(a.scope,t)||(n={code:`SCOPE_VIOLATION`,path:i,expectedScope:a.scope,actualScope:t}))}for(let[t,i]of Object.entries(e))if(r(i,[t]),n!==null)break;return n}var Ol=dc();function kl(e,t){for(let n=1;n<t.length;n++){let r=t.slice(0,n);e.hasIn(r)&&((0,Ol.isCollection)(e.getIn(r,!0))||e.deleteIn(r))}}function Al(e,t){let n=[];function r(t,i){if(t!==void 0){if(t===null){e.deleteIn(i),n.push(i.join(`.`));return}if(Array.isArray(t)){kl(e,i),e.setIn(i,t),n.push(i.join(`.`));return}if(typeof t==`object`){for(let[e,n]of Object.entries(t))r(n,[...i,e]);return}kl(e,i),e.setIn(i,t),n.push(i.join(`.`))}}for(let[e,n]of Object.entries(t))r(n,[e]);return n}function jl(e){return{path:e.path.map(e=>typeof e==`symbol`?String(e):e),message:e.message,issueCode:e.code}}const Ml=H({file:L(),line:z().int().min(1),column:z().int().min(1),snippet:L().optional()}),Nl=H({path:V(so([L(),z()])),message:L(),issueCode:L(),params:mo(L(),to()).optional(),source:Ml.optional()}),Pl=W([`user`,`project`,`project-local`,`either`]),Fl=W([`user`,`project`,`project-local`]),Il=lo(`code`,[H({code:G(`YAML_PARSE`),detail:L()}),H({code:G(`SCHEMA_INVALID`),issues:V(Nl)}),H({code:G(`SCOPE_VIOLATION`),path:V(L()),expectedScope:Pl,actualScope:Fl}),H({code:G(`NOT_AGENT_SETTABLE`),path:V(L())}),H({code:G(`MIXED_SCOPE`),paths:V(H({path:V(L()),scope:Fl}))}),H({code:G(`REMOVED_KEY`),path:V(L()),redirect:L(),source:Ml.optional()}),H({code:G(`WRITE_ERROR`),detail:L()}),H({code:G(`OKIGNORE_INVALID`),detail:L(),lineNumber:z().int().min(1).optional()}),H({code:G(`UNKNOWN`),message:L().optional()})]),Ll=new Set(Il.options.map(e=>e.shape.code.value)),Rl=so([Il,U({code:L(),message:L().optional()})]);function zl(e){return Ll.has(e.code)}function Bl(e){switch(e){case`user`:return`~/.ok/global.yml`;case`project`:return`.ok/config.yml`;case`project-local`:return`.ok/local/config.yml`;case`either`:return`.ok/config.yml or ~/.ok/global.yml`}}function Vl(e){switch(e){case`user`:return`personal to you, across all projects`;case`project`:return`shared with your team via git`;case`project-local`:return`this machine only, not shared`;case`either`:return`user or project`}}function Hl(e){if(!zl(e))return e.message??`Unknown error (${e.code}).`;switch(e.code){case`YAML_PARSE`:return`Failed to parse YAML: ${e.detail}`;case`SCHEMA_INVALID`:{if(e.issues.length===0)return`Invalid configuration.`;let t=new Map;for(let n of e.issues){let e=n.source?.file??`<no source>`,r=t.get(e)??[];r.push(n),t.set(e,r)}let n=[];for(let[e,r]of t){e===`<no source>`?n.push(`Invalid configuration:`):n.push(`Invalid configuration at ${e}:`);for(let t of r){let r=t.path.length===0?`<root>`:t.path.join(`.`);if(t.source){if(n.push(` ${e}:${t.source.line}:${t.source.column}`),n.push(` ${r}: ${t.message}`),t.source.snippet&&t.source.snippet.length>0)for(let e of t.source.snippet.split(`
180
180
  `))n.push(` ${e}`)}else n.push(` ${r}: ${t.message}`)}}return n.join(`
181
181
  `)}case`SCOPE_VIOLATION`:return[`Setting ${e.path.join(`.`)} belongs in your ${e.expectedScope} config`,`(${Bl(e.expectedScope)} — ${Vl(e.expectedScope)}),`,`but it was set in the ${e.actualScope} config (${Bl(e.actualScope)}).`,`Move it to ${Bl(e.expectedScope)}.`].join(` `);case`NOT_AGENT_SETTABLE`:return[`Setting ${e.path.join(`.`)} is human-only and can't be changed by an agent.`,`Change it in the Settings pane, or edit the config.yml by hand.`].join(` `);case`MIXED_SCOPE`:return[`This change touches settings that live in different config files. Apply them one file at a time:`,e.paths.map(({path:e,scope:t})=>` ${e.join(`.`)} → ${Bl(t)} (${t})`).join(`
182
182
  `)].join(`
@@ -185,4 +185,4 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\
185
185
  `)}case`WRITE_ERROR`:return`Failed to write config file: ${e.detail}`;case`OKIGNORE_INVALID`:return e.lineNumber===void 0?`.okignore: ${e.detail}`:`.okignore line ${e.lineNumber}: ${e.detail}`;case`UNKNOWN`:return e.message??`Unknown error.`}}function Ul(e,t){if(t.length===0)return e.contents??null;let n=e.getIn(t,!0);if((0,Ol.isNode)(n))return n;for(let n=t.length-1;n>=0;n--){let r=e.getIn(t.slice(0,n),!0);if((0,Ol.isNode)(r))return r}return e.contents??null}function Wl(e,t){let n=1,r=1,i=Math.min(t,e.length);for(let t=0;t<i;t++)e.charCodeAt(t)===10?(n++,r=1):r++;return{line:n,column:r}}function Gl(e,t,n,r,i){let a=e.split(`
186
186
  `),o=r-1;if(o<0||o>=a.length)return``;let s=a[o]??``,c=t-(i-1)+s.length,l=Math.max(1,Math.min(n,c)-t),u=[],d=String(o+2).length;for(let e=Math.max(0,o-1);e<=Math.min(a.length-1,o+1);e++){let t=e===o,n=t?`>`:` `,r=String(e+1).padStart(d,` `);if(u.push(`${n} ${r} | ${a[e]??``}`),t){let e=` `.repeat(2+d+3+i-1);u.push(`${e}${`^`.repeat(l)}`)}}return u.join(`
187
187
  `)}function Kl(e){let t=Ul(e.doc,e.path);if(!t)return;let n=t.range;if(!n)return;let[r,,i=r]=n,{line:a,column:o}=Wl(e.source,r),s=(0,Ol.isCollection)(t)?Gl(e.source,r,r+1,a,o):Gl(e.source,r,i,a,o);return{file:e.file,line:a,column:o,snippet:s.length>0?s:void 0}}const $="Run `ok config migrate` to strip the obsolete key from config.yml automatically, or remove it by hand.",ql=[{path:[`content`,`include`],redirect:[`content.include has been removed.`,`For subdirectory scoping, set content.dir in .ok/config.yml instead.`,`For pattern-based filtering, use .okignore (gitignore syntax — exclude-only; do not copy include patterns directly).`,$].join(` `)},{path:[`content`,`exclude`],redirect:[`Move these patterns to .okignore at the project root (gitignore syntax, 1:1 migration).`,$].join(` `)},{path:[`folders`],redirect:[`folders is no longer a top-level config field.`,"A folder's own frontmatter (open-shape, like a doc's) lives in nested `<folder>/.ok/frontmatter.yml`; new-doc starting properties come from templates in `<folder>/.ok/templates/`.","Edit via the folder overview in the editor sidebar, or `edit({ folder: { path, frontmatter } })` via the MCP.",$].join(` `)},{path:[`appearance`,`editorModeDefault`],redirect:[`appearance.editorModeDefault was removed and is never read — new docs always open in WYSIWYG; toggle mode via the editor mode button.`,$].join(` `)},{path:[`upload`,`maxBytes`],redirect:[`streaming uploads have no user-facing cap; the value is hardcoded in @inkeep/open-knowledge-core.`,$].join(` `)},{path:[`github`,`oauthAppClientId`],redirect:[`Use the OPEN_KNOWLEDGE_GITHUB_CLIENT_ID environment variable instead.`,$].join(` `)},{path:[`server`,`host`],redirect:[`Use the --host CLI flag or the HOST environment variable instead.`,$].join(` `)},{path:[`server`,`openOnAgentEdit`],redirect:[`This behavior was removed; the value is hardcoded.`,$].join(` `)},{path:[`mcp`,`autoStart`],redirect:[`To disable MCP auto-start, set OK_MCP_AUTOSTART=0.`,$].join(` `)},{path:[`mcp`,`tools`,`read_document`,`historyDepth`],redirect:[`This value is hardcoded in @inkeep/open-knowledge-core.`,$].join(` `)},{path:[`mcp`,`tools`,`grep`,`maxResults`],redirect:[`This value is hardcoded in @inkeep/open-knowledge-core.`,$].join(` `)},{path:[`mcp`,`tools`,`search`,`maxResults`],redirect:[`The search result cap is hardcoded in @inkeep/open-knowledge-core; this config key was removed.`,$].join(` `)},{path:[`preview`,`baseUrl`],redirect:["preview URLs now resolve only to the running UI process — start one with `ok ui`.",$].join(` `)},{path:[`preview`,`scriptSrc`],redirect:[`preview.scriptSrc has been removed.`,`The code-block preview iframe now runs a fixed open network policy (it is no longer configurable).`,$].join(` `)},{path:[`appearance`,`sidebar`,`showAllFiles`],redirect:[`appearance.sidebar.showAllFiles has been removed.`,`The sidebar lists every file on disk by default; dot-prefixed entries are gated by appearance.sidebar.showHiddenFiles, and appearance.sidebar.showOnlyMarkdownFiles scopes the tree down to markdown documents as a per-machine view preference.`,$].join(` `)}];function Jl(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Yl(e,t){let n=e;for(let e=0;e<t.length-1;e++){if(!Jl(n))return!1;n=n[t[e]]}return Jl(n)?t[t.length-1]in n:!1}function Xl(e){let{value:t,file:n,source:r,doc:i}=e;if(!Jl(t))return[];let a=[];for(let e of ql){if(!Yl(t,e.path))continue;let o;i!=null&&r!=null&&n!=null&&(o=Kl({file:n,source:r,doc:i,path:e.path})),a.push({code:`REMOVED_KEY`,path:e.path,redirect:e.redirect,...o===void 0?{}:{source:o}})}return a}const Zl=`v0`,Ql=`.ok/config.yml`,$l=`local`;function eu(e){return new Promise(t=>{setTimeout(t,e)})}export{$a as $,gc as A,y as At,Tc as B,hl as C,j as Ct,qc as D,Ne as Dt,Kc as E,je as Et,Sc as F,dc as G,vc as H,xc as I,$o as J,Go as K,_c as L,Cc as M,s as Mt,bc as N,o as Nt,hc as O,Te as Ot,Dc as P,Za as Q,Ec as R,ul as S,Cn as St,gl as T,ke as Tt,Hc as U,wc as V,Wc as W,yo as X,Ka as Y,W as Z,vl as _,Aa as _t,ql as a,fo as at,fl as b,jr as bt,Rl as c,U as ct,Al as d,bo as dt,V as et,jl as f,Wo as ft,xl as g,to as gt,bl as h,so as ht,Zl as i,Ja as it,mc as j,O as jt,pc as k,D as kt,Hl as l,z as lt,Sl as m,L as mt,$l as n,Vo as nt,Xl as o,zo as ot,Dl as p,mo as pt,Qo as q,Ql as r,lo as rt,Kl as s,G as st,eu as t,B as tt,zl as u,H as ut,pl as v,ra as vt,_l as w,De as wt,dl as x,tr as xt,ml as y,ta as yt,Uc as z};
188
- //# sourceMappingURL=sleep-CnRgOMGV.mjs.map
188
+ //# sourceMappingURL=sleep-DPcGAk1M.mjs.map