@inkeep/open-knowledge 0.7.0-beta.9 → 0.7.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 (38) hide show
  1. package/dist/assets/skills/discovery/SKILL.md +1 -1
  2. package/dist/assets/skills/project/SKILL.md +1 -1
  3. package/dist/cli.mjs +20 -20
  4. package/dist/constants-TIaTTdiI.mjs +2 -0
  5. package/dist/{dist-B9Pgan6B.mjs → dist-8f5sZjjU.mjs} +1 -1
  6. package/dist/{dist-BHuGIbSz.mjs → dist-D-D0ROxy.mjs} +71 -6
  7. package/dist/index.d.mts +0 -2
  8. package/dist/index.mjs +1 -1
  9. package/dist/{init-qcesYcns.mjs → init-Crl56koT.mjs} +6 -6
  10. package/dist/init-kWgObjIf.mjs +1 -0
  11. package/dist/{loader-BPHvhEMs.mjs → loader-CWTimQxz.mjs} +2 -2
  12. package/dist/loader-Dk7DlcV0.mjs +1 -0
  13. package/dist/{preview-VC5U8FHG.mjs → preview-CI2t6ZHI.mjs} +2 -2
  14. package/dist/preview-q0rtsl75.mjs +1 -0
  15. package/dist/public/assets/{ActivityModeContent-C_nGfN8W.js → ActivityModeContent-oe_KmZ6Y.js} +1 -1
  16. package/dist/public/assets/{DocumentContext-CBm8YLGb.js → DocumentContext-DbnbvMHR.js} +1 -1
  17. package/dist/public/assets/SettingsDialogBody-BpLMuvP2.js +7 -0
  18. package/dist/public/assets/{SourceEditor-CJhongAn.js → SourceEditor-BEQlTn2N.js} +1 -1
  19. package/dist/public/assets/config-validation-events-COByjXe4.js +12 -0
  20. package/dist/public/assets/index-BA5hvX-L.css +1 -0
  21. package/dist/public/assets/{index-BygiiNXL.js → index-Boa7vp1g.js} +82 -82
  22. package/dist/public/assets/{typing-burst-detector-DqGeUwWw.js → typing-burst-detector-Cik-Z5me.js} +1 -1
  23. package/dist/public/index.html +5 -5
  24. package/dist/{repair-launch-json-QLidg_qz.mjs → repair-launch-json-DWpeccLv.mjs} +2 -2
  25. package/dist/repair-mcp-configs-CYHG9O47.mjs +2 -0
  26. package/dist/{src-C0UvyFGN.mjs → src-zdkJjt77.mjs} +2 -2
  27. package/dist/start-BEIQv4Al.mjs +1 -0
  28. package/dist/{start-DX2j8TK1.mjs → start-BqJk2pfE.mjs} +2 -2
  29. package/package.json +1 -1
  30. package/dist/constants-DmMHHbcR.mjs +0 -2
  31. package/dist/init-B358og4T.mjs +0 -1
  32. package/dist/loader-hevFzcPC.mjs +0 -1
  33. package/dist/preview-koAhH80-.mjs +0 -1
  34. package/dist/public/assets/SettingsDialogBody-DIeeG5r2.js +0 -7
  35. package/dist/public/assets/config-validation-events-DQ9eENI7.js +0 -12
  36. package/dist/public/assets/index-DAl4JRRH.css +0 -1
  37. package/dist/repair-mcp-configs-oPvTLgXm.mjs +0 -2
  38. package/dist/start-CnK8ECbf.mjs +0 -1
@@ -1,2 +0,0 @@
1
- import{_ as e,d as t,g as n,m as r,s as i}from"./init-qcesYcns.mjs";import{homedir as a}from"node:os";const o=[[`@inkeep/open-knowledge`,`mcp`],[`-y`,`@inkeep/open-knowledge`,`mcp`]];function s(t){if(t.command!==`npx`||!Array.isArray(t.args))return`preserved`;if(c(t.args,e))return`canonical`;for(let e of o)if(c(t.args,e))return`legacy-bare`;return`preserved`}function c(e,t){if(e.length!==t.length)return!1;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function l(e){let t=e.logger??f,i=e.home??a(),o=[];for(let a of r){let r=n[a],s=u(()=>r.configPath(``,i));if(s!==null&&o.push(d({scope:`user`,editorId:a,target:r,home:i,cwd:``,configPath:s,configPathOverride:void 0,logger:t})),r.projectConfigPath){let n=r.projectConfigPath,i=u(()=>n(e.projectDir));i!==null&&o.push(d({scope:`project`,editorId:a,target:r,home:void 0,cwd:e.projectDir,configPath:i,configPathOverride:i,logger:t}))}}return{outcomes:o,repairedCount:o.filter(e=>e.outcome===`repaired`).length}}function u(e){try{return e()}catch{return null}}function d(e){let n={scope:e.scope,editorId:e.editorId,configPath:e.configPath},r=i(e.target,e.cwd,e.home,e.configPathOverride);if(r===null)return{...n,outcome:`no-entry`};let a=s(r);if(a===`canonical`)return{...n,outcome:`canonical`};if(a===`preserved`)return{...n,outcome:`preserved`};let o=t(e.target,e.cwd,{mode:`published`,skipAvailabilityCheck:!0},e.home,e.configPathOverride);if(o.action===`failed`){let t=o.error??`unknown write failure`;return e.logger({event:`mcp-config-repair-write-failed`,scope:e.scope,editorId:e.editorId,configPath:e.configPath,error:t}),{...n,outcome:`write-failed`,error:t}}return e.logger({event:`mcp-config-repair-applied`,scope:e.scope,editorId:e.editorId,configPath:e.configPath}),{...n,outcome:`repaired`}}function f(e){process.stderr.write(`${JSON.stringify(e)}\n`)}export{l as repairMcpConfigs};
2
- //# sourceMappingURL=repair-mcp-configs-oPvTLgXm.mjs.map
@@ -1 +0,0 @@
1
- import{u as e}from"./start-DX2j8TK1.mjs";export{e as startCommand};