@inkeep/open-knowledge 0.86.13-beta.8 → 0.86.13-beta.9

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 (110) hide show
  1. package/dist/assets/skills/project/references/linking.md +1 -1
  2. package/dist/cli.mjs +60 -60
  3. package/dist/constants-MkX1_7dG.mjs +1 -0
  4. package/dist/{dist-CUHyT8Po.mjs → dist-B2mNPHPS.mjs} +1 -1
  5. package/dist/{dist-jVEVXcLW.mjs → dist-v2lkJBLz.mjs} +494 -493
  6. package/dist/index.mjs +9 -9
  7. package/dist/{init-kdH152Ks.mjs → init-DcmVBoE-.mjs} +33 -33
  8. package/dist/init-Udt9RQTb.mjs +1 -0
  9. package/dist/{launch-json-removal-DfnXNgcq.mjs → launch-json-removal-CHhPsbmP.mjs} +1 -1
  10. package/dist/{loader-BAPBaCdj.mjs → loader-D8aRCnDL.mjs} +1 -1
  11. package/dist/loader-MSLOcQCZ.mjs +1 -0
  12. package/dist/{md-manager-BGnqyqi1-BZjgceH4.mjs → md-manager-BGnqyqi1-C2aCFGjW.mjs} +106 -106
  13. package/dist/{open-browser-4-JUxTJq.mjs → open-browser-Ccrfb4Zg.mjs} +1 -1
  14. package/dist/parse-worker.mjs +1 -1
  15. package/dist/{preview-S7YFOnEc.mjs → preview-BJ6gs2RH.mjs} +1 -1
  16. package/dist/preview-CntWf8G9.mjs +1 -0
  17. package/dist/public/assets/{AccountSection-By8eO4DF.js → AccountSection-DtjsHl4P.js} +1 -1
  18. package/dist/public/assets/{ActivityModeContent-DXsf7rkL.js → ActivityModeContent-ue0cjhAi.js} +1 -1
  19. package/dist/public/assets/{AddPropertiesButton-C9-ztZw_.js → AddPropertiesButton-Bpz_-y_I.js} +1 -1
  20. package/dist/public/assets/{AgentDiffPane-6LWBfRF0.js → AgentDiffPane-DieBkA8J.js} +1 -1
  21. package/dist/public/assets/{AttachmentsSection-CjwmogoS.js → AttachmentsSection-D0ANkE-3.js} +1 -1
  22. package/dist/public/assets/{CodeMirrorPropInput-DzNQgYlQ.js → CodeMirrorPropInput-Dkw0G_gY.js} +4 -4
  23. package/dist/public/assets/{ContentRulesSection-BT2fCLNL.js → ContentRulesSection-DrL9S92F.js} +1 -1
  24. package/dist/public/assets/{DocumentContext-Db80U3dt.js → DocumentContext-BT4R__b_.js} +28 -28
  25. package/dist/public/assets/{EditorModeToggle-DF54OEB_.js → EditorModeToggle-BrSFayGL.js} +1 -1
  26. package/dist/public/assets/{ExcalidrawDocEditor-BCE8VhOn.js → ExcalidrawDocEditor-Cw7cxWTm.js} +1 -1
  27. package/dist/public/assets/FeedbackForm-Bqmfw-XS.js +1 -0
  28. package/dist/public/assets/{GraphPanel-BZ86oMzh.js → GraphPanel-Bq6fUIBW.js} +1 -1
  29. package/dist/public/assets/{ImageAttachments-DA_IO7l-.js → ImageAttachments-BkNRauWd.js} +1 -1
  30. package/dist/public/assets/{ImportSkillDialog-iNvdKf3A.js → ImportSkillDialog-Cqcp5gZh.js} +1 -1
  31. package/dist/public/assets/{LinkPreviewsSection-DJJDT9tt.js → LinkPreviewsSection-D7bkvkE6.js} +1 -1
  32. package/dist/public/assets/{LintConfigEditor-Bqtg6Wo1.js → LintConfigEditor-B86O_7x_.js} +1 -1
  33. package/dist/public/assets/{LintingSection-Cgt0cds5.js → LintingSection-BokrC8-Q.js} +1 -1
  34. package/dist/public/assets/{ManagedArtifactProperties-Bz4exizS.js → ManagedArtifactProperties-XJly8z5W.js} +1 -1
  35. package/dist/public/assets/ManagedArtifactProperties-yyVotSha.js +1 -0
  36. package/dist/public/assets/{MermaidDocEditor-DN2R0mvw.js → MermaidDocEditor-BYZqgvF7.js} +1 -1
  37. package/dist/public/assets/{NetworkAccessSection-C65GEQs_.js → NetworkAccessSection-CVAEH3yW.js} +1 -1
  38. package/dist/public/assets/{OkignoreSection-CB1scSj_.js → OkignoreSection-GTDGySNc.js} +1 -1
  39. package/dist/public/assets/{PageListContext-DhMqc0Dx.js → PageListContext-HSyJOlMQ.js} +1 -1
  40. package/dist/public/assets/{PropertyDisplayRow-BwqAwXVj.js → PropertyDisplayRow-DvzKSJ4l.js} +1 -1
  41. package/dist/public/assets/{PublishToGitHubDialog-CK-eGzTy.js → PublishToGitHubDialog-CncGO5IH.js} +1 -1
  42. package/dist/public/assets/{ReportBugDialogBody-tgBrnYBX.js → ReportBugDialogBody-C3o-b5FB.js} +1 -1
  43. package/dist/public/assets/{ReportBugMenuTrigger-CxTQeLcC.js → ReportBugMenuTrigger-BSic8aEj.js} +1 -1
  44. package/dist/public/assets/{SchemaConfigEditor-92Y3R-gV.js → SchemaConfigEditor-XhXJlVUd.js} +1 -1
  45. package/dist/public/assets/{SearchSection-D1TBVHyq.js → SearchSection-C2fJ-AZD.js} +1 -1
  46. package/dist/public/assets/{SessionsHost-CXSwHd_R.js → SessionsHost-w8sD1wRy.js} +2 -2
  47. package/dist/public/assets/{SettingsDialogBody-BlwAeg8V.js → SettingsDialogBody-CptWw-8n.js} +2 -2
  48. package/dist/public/assets/{ShareReceiveMissDialog-V3V9l5_l.js → ShareReceiveMissDialog-BqbonvaU.js} +1 -1
  49. package/dist/public/assets/{SkillToolbarControls-BIwWYubn.js → SkillToolbarControls-PlEcYJis.js} +1 -1
  50. package/dist/public/assets/{SourceEditor-BaYDGvRA.js → SourceEditor-CspQKnvE.js} +1 -1
  51. package/dist/public/assets/{SyncSection-BZtJ8qBB.js → SyncSection-az1Jic0z.js} +1 -1
  52. package/dist/public/assets/{SyncStatusBadge-DWP0pdU-.js → SyncStatusBadge-oD2nm86o.js} +1 -1
  53. package/dist/public/assets/{TerminalPanel-BfnrGC_7.js → TerminalPanel-C-9jJEyf.js} +1 -1
  54. package/dist/public/assets/{TerminalSection-hk0zu5zG.js → TerminalSection-Bf1m8ylg.js} +1 -1
  55. package/dist/public/assets/{TerminalWindowApp-lrQ93TuF.js → TerminalWindowApp-B1e5eVxf.js} +1 -1
  56. package/dist/public/assets/{TextDocEditor-CtVCY0Jr.js → TextDocEditor--crQL7j8.js} +1 -1
  57. package/dist/public/assets/{ThreadView-CCU9GEGb.js → ThreadView-DuI0ePSb.js} +3 -3
  58. package/dist/public/assets/{TimelineDiffPane-9rHxONpH.js → TimelineDiffPane-CGC7pH5m.js} +1 -1
  59. package/dist/public/assets/{client-version-LCIbDwjv.js → client-version-o0-e6Xg8.js} +1 -1
  60. package/dist/public/assets/{comment-chips-BL9CA_7r.js → comment-chips-BYzSWjE3.js} +3 -3
  61. package/dist/public/assets/{config-provider-C3qfGKpJ.js → config-provider-BcgiYSim.js} +1 -1
  62. package/dist/public/assets/{doc-undo-manager-CLUlSazH.js → doc-undo-manager-B-Erku0G.js} +1 -1
  63. package/dist/public/assets/{file-tree-adapter-CW5EohSW.js → file-tree-adapter-D27t3A4R.js} +1 -1
  64. package/dist/public/assets/globals-G6Xf2xYI.css +1 -0
  65. package/dist/public/assets/index-DGrnzC_B.js +2205 -0
  66. package/dist/public/assets/{lint-plugins-Gc193-uk.js → lint-plugins-yQ5R3Dg-.js} +1 -1
  67. package/dist/public/assets/navigation-targets-pcYc32Il.js +1 -0
  68. package/dist/public/assets/{page-list-cache-B9RqU_KB.js → page-list-cache-C-bM1SMu.js} +1 -1
  69. package/dist/public/assets/{pending-receive-nav-store-CBSAFtzU.js → pending-receive-nav-store-BV9hiWqU.js} +1 -1
  70. package/dist/public/assets/{preferred-session-events-ZmfH8TC-.js → preferred-session-events-CnOr_7vC.js} +1 -1
  71. package/dist/public/assets/progress-CIQy-NPJ.js +10 -0
  72. package/dist/public/assets/{selection-context-DLM2xYX3.js → selection-context-CP5ebTKT.js} +1 -1
  73. package/dist/public/assets/{src-B6V0x6iY.js → src-BUcEmKCH.js} +1 -1
  74. package/dist/public/assets/{target-navigation-intent-OCgrT_rG.js → target-navigation-intent-B9dIW1Bq.js} +1 -1
  75. package/dist/public/assets/{telemetry-impl-EfUmLz7w.js → telemetry-impl-Bou1hrP6.js} +1 -1
  76. package/dist/public/assets/{telemetry-startup-B098Rfya.js → telemetry-startup-tSXZexaZ.js} +1 -1
  77. package/dist/public/assets/typing-burst-detector-adZ2R93j.js +8 -0
  78. package/dist/public/assets/{uninstall-BhKucRvy.js → uninstall-BNoyrj3Z.js} +1 -1
  79. package/dist/public/assets/{use-activity-panel-BXxBc9js.js → use-activity-panel-B0NYKsaf.js} +1 -1
  80. package/dist/public/assets/{use-installed-clis-DoWN-tVr.js → use-installed-clis-BqTMhT_v.js} +2 -2
  81. package/dist/public/assets/{use-open-skill-D4CHLLCX.js → use-open-skill-B7ZDbwPM.js} +1 -1
  82. package/dist/public/assets/{use-terminal-enabled-CC9zzjLB.js → use-terminal-enabled-MD4VMEe5.js} +1 -1
  83. package/dist/public/assets/{use-timeline-entry-diff-CYAX4sjQ.js → use-timeline-entry-diff-DBiVVCYO.js} +2 -2
  84. package/dist/public/index.html +28 -28
  85. package/dist/public/uninstall.html +3 -3
  86. package/dist/registry-probes-Bi3J6EAt.mjs +17 -0
  87. package/dist/{removal-file-path-U4VI8Y6X.mjs → removal-file-path-Ca9-pX6Q.mjs} +1 -1
  88. package/dist/{repair-launch-json-CVn0L03H.mjs → repair-launch-json-CwPWeO2c.mjs} +1 -1
  89. package/dist/{repair-mcp-configs-CNMFjBnO.mjs → repair-mcp-configs-DNzXqCJ8.mjs} +1 -1
  90. package/dist/src-C63FVPx1.mjs +1 -0
  91. package/dist/src-DgPsVo-K.mjs +16 -0
  92. package/dist/{start-CloYBm1u.mjs → start-Bd1cuWOs.mjs} +3 -3
  93. package/dist/start-DqnTaf73.mjs +1 -0
  94. package/package.json +4 -4
  95. package/dist/constants-DsqstLHH.mjs +0 -1
  96. package/dist/init-Cazf_ig6.mjs +0 -1
  97. package/dist/loader-55F_2Z6p.mjs +0 -1
  98. package/dist/preview-Cf3plc2s.mjs +0 -1
  99. package/dist/public/assets/FeedbackForm-BwnVqBbq.js +0 -1
  100. package/dist/public/assets/ManagedArtifactProperties-NyM5UGrR.js +0 -1
  101. package/dist/public/assets/globals-BddzEyvs.css +0 -1
  102. package/dist/public/assets/index-DR4V3jNo.js +0 -2205
  103. package/dist/public/assets/navigation-targets-CcY2FHJZ.js +0 -1
  104. package/dist/public/assets/progress-CY6HiIpq.js +0 -10
  105. package/dist/public/assets/typing-burst-detector-CTTymTnu.js +0 -8
  106. package/dist/registry-probes--fuRXE7y.mjs +0 -17
  107. package/dist/src-CQO5GchD.mjs +0 -1
  108. package/dist/src-oPFH8u4O.mjs +0 -16
  109. package/dist/start-BND4jpTX.mjs +0 -1
  110. /package/dist/public/assets/{globals-BfTv_Hnc.js → globals-aghZx9Sb.js} +0 -0
@@ -0,0 +1 @@
1
+ import"./dist-v2lkJBLz.mjs";import{v as e}from"./init-DcmVBoE-.mjs";export{e as runInit};
@@ -1 +1 @@
1
- import{Xo as e,qo as t,ts as n}from"./dist-jVEVXcLW.mjs";import{N as r,j as i,k as a}from"./init-kdH152Ks.mjs";import{t as o}from"./is-object-BGze3w87.mjs";import{t as s}from"./removal-file-path-U4VI8Y6X.mjs";import{join as c}from"node:path";import{readFileSync as l}from"node:fs";const u={allowTrailingComma:!0,disallowComments:!1};function d(e,t){return e.error===1&&e.offset===0&&t.charCodeAt(0)===65279}function f(o){let f=s(c(o,`.claude`,`launch.json`));if(f.kind!==`ready`)return f;let m=f.path,h;try{h=l(m,`utf-8`)}catch(e){return{kind:`declined`,reason:r(e)}}let g=[],_=e(h,g,u)??void 0;if(g.some(e=>!d(e,h))||_?.type!==`object`)return{kind:`declined`,reason:`unparseable`};let v=t(_).configurations;if(!Array.isArray(v))return{kind:`not-present`};let y=v.findIndex(p);if(y===-1)return{kind:`not-present`};let{text:b,changed:x}=i(h,[`configurations`,y]);return x?(n(m,b,{mode:a(m)}),{kind:`removed`}):{kind:`not-present`}}function p(e){if(!o(e))return!1;let t=e;if(t.name!==`open-knowledge-ui`||!Array.isArray(t.runtimeArgs))return!1;let n=t.runtimeArgs;return t.runtimeExecutable===`/bin/sh`?n.length===3&&n[0]===`-l`&&n[1]===`-c`&&typeof n[2]==`string`&&/^# ok-ui-v[1-9]\d*$/.test(n[2].split(/\r?\n/,1)[0]??``):t.runtimeExecutable===`npx`?m.some(e=>h(n,e)):t.runtimeExecutable===`powershell`&&n.length===4&&n[0]===`-NoProfile`&&n[1]===`-NonInteractive`&&n[2]===`-Command`&&typeof n[3]==`string`&&/^# ok-ui-win-v[1-9]\d*$/.test(n[3].split(/\r?\n/,1)[0]??``)}const m=[[`@inkeep/open-knowledge`,`ui`],[`-y`,`@inkeep/open-knowledge`,`ui`],[`-y`,`@inkeep/open-knowledge@latest`,`ui`]];function h(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}export{f as t};
1
+ import{Xo as e,qo as t,ts as n}from"./dist-v2lkJBLz.mjs";import{N as r,j as i,k as a}from"./init-DcmVBoE-.mjs";import{t as o}from"./is-object-BGze3w87.mjs";import{t as s}from"./removal-file-path-Ca9-pX6Q.mjs";import{join as c}from"node:path";import{readFileSync as l}from"node:fs";const u={allowTrailingComma:!0,disallowComments:!1};function d(e,t){return e.error===1&&e.offset===0&&t.charCodeAt(0)===65279}function f(o){let f=s(c(o,`.claude`,`launch.json`));if(f.kind!==`ready`)return f;let m=f.path,h;try{h=l(m,`utf-8`)}catch(e){return{kind:`declined`,reason:r(e)}}let g=[],_=e(h,g,u)??void 0;if(g.some(e=>!d(e,h))||_?.type!==`object`)return{kind:`declined`,reason:`unparseable`};let v=t(_).configurations;if(!Array.isArray(v))return{kind:`not-present`};let y=v.findIndex(p);if(y===-1)return{kind:`not-present`};let{text:b,changed:x}=i(h,[`configurations`,y]);return x?(n(m,b,{mode:a(m)}),{kind:`removed`}):{kind:`not-present`}}function p(e){if(!o(e))return!1;let t=e;if(t.name!==`open-knowledge-ui`||!Array.isArray(t.runtimeArgs))return!1;let n=t.runtimeArgs;return t.runtimeExecutable===`/bin/sh`?n.length===3&&n[0]===`-l`&&n[1]===`-c`&&typeof n[2]==`string`&&/^# ok-ui-v[1-9]\d*$/.test(n[2].split(/\r?\n/,1)[0]??``):t.runtimeExecutable===`npx`?m.some(e=>h(n,e)):t.runtimeExecutable===`powershell`&&n.length===4&&n[0]===`-NoProfile`&&n[1]===`-NonInteractive`&&n[2]===`-Command`&&typeof n[3]==`string`&&/^# ok-ui-win-v[1-9]\d*$/.test(n[3].split(/\r?\n/,1)[0]??``)}const m=[[`@inkeep/open-knowledge`,`ui`],[`-y`,`@inkeep/open-knowledge`,`ui`],[`-y`,`@inkeep/open-knowledge@latest`,`ui`]];function h(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}export{f as t};
@@ -1 +1 @@
1
- import{$c as e,Ju as t,Zc as n,jc as r,k as i,kc as a,rl as o}from"./md-manager-BGnqyqi1-BZjgceH4.mjs";import{is as s,os as c,x as l}from"./dist-jVEVXcLW.mjs";import{t as u}from"./is-object-BGze3w87.mjs";import{t as d}from"./constants-DsqstLHH.mjs";import{resolve as f}from"node:path";import{existsSync as p,readFileSync as m}from"node:fs";import{realpath as h}from"node:fs/promises";var g=t();async function _(e){let t=f(e);try{return await h(t)}catch(e){if(e.code!==`ENOENT`){let n=e instanceof Error?e.message:String(e);console.warn(`[normalize-cwd] realpath failed for ${t}: ${n}`)}return t}}function v(e){if(!p(e))return{value:null,path:e,source:null,doc:null};let t;try{t=m(e,`utf-8`)}catch(t){let n=t instanceof Error?t.message:String(t);return console.warn(`[config] Failed to read ${e}: ${n}`),{value:null,path:e,source:null,doc:null,diagnostic:{code:`UNREADABLE`,detail:`${e}: ${n}`}}}let n=(0,g.parseDocument)(t);if(n.errors.length>0){let r=n.errors.map(e=>e.message).join(`; `);return console.warn(`[config] Failed to parse ${e}: ${r}`),{value:null,path:e,source:t,doc:null,diagnostic:{code:`YAML_PARSE`,detail:`${e}: ${r}`}}}let r=n.toJSON();return u(r)?{value:r,path:e,source:t,doc:n}:{value:null,path:e,source:t,doc:n}}function y(t,n){return t.map(t=>{let r=t.path.map(e=>typeof e==`symbol`?String(e):e),i={path:r,message:t.message,issueCode:t.code};if(n.doc!==null&&n.source!==null){let t=e({file:n.path,source:n.source,doc:n.doc,path:r});if(t!==void 0)return{...i,source:t}}return i})}function b(e){let t=e??process.cwd(),u=[],p=[],m=[],h=[],g=c(`user`,t),_=s({absPath:g});p.push(..._.diagnostics),!_.valid&&_.sidelinedTo!==void 0&&m.push({from:g,to:_.sidelinedTo}),_.valid&&_.source!==void 0&&u.push(g);let b=(e,t=!1)=>{let r=v(e);if(r.diagnostic!==void 0&&p.push(r.diagnostic),r.value===null)return{};let a=n({value:r.value,file:r.path,source:r.source,doc:r.doc});p.push(...a),u.push(e);let s=a.length>0?o(r.value):r.value;return t&&h.push(...i({value:s,file:r.path,source:r.source,doc:r.doc})),s},x=f(t,`.ok`,d),S=b(x,!0),C=b(c(`project-local`,t)),w=a(_.value,S,C),T=l.safeParse(w);if(!T.success){let e=v(x),t={code:`SCHEMA_INVALID`,issues:y(T.error.issues,e)};throw Error(r(t))}return{config:T.data,sources:u,diagnostics:p,sidelined:m,ignoredCommittedKeys:h}}function x(e){let t=e.cacheMs??1e3,n=e.loadConfigFn??b,r=new Map,i=new Map,a=_(e.startupCwd);return async o=>{let s=await _(o??e.startupCwd),c=Date.now(),l=r.get(s);if(l&&l.expiresAt>c)return l.config;let u=i.get(s);if(u)return await u;let d=(async()=>{if(s===await a)return r.set(s,{config:e.startupConfig,expiresAt:Date.now()+t}),e.startupConfig;let i=n(s).config;return r.set(s,{config:i,expiresAt:Date.now()+t}),i})();i.set(s,d);try{return await d}finally{i.delete(s)}}}export{b as n,x as t};
1
+ import{Ac as e,Mc as t,Qc as n,Yu as r,el as i,il as a,k as o}from"./md-manager-BGnqyqi1-C2aCFGjW.mjs";import{is as s,os as c,x as l}from"./dist-v2lkJBLz.mjs";import{t as u}from"./is-object-BGze3w87.mjs";import{t as d}from"./constants-MkX1_7dG.mjs";import{resolve as f}from"node:path";import{existsSync as p,readFileSync as m}from"node:fs";import{realpath as h}from"node:fs/promises";var g=r();async function _(e){let t=f(e);try{return await h(t)}catch(e){if(e.code!==`ENOENT`){let n=e instanceof Error?e.message:String(e);console.warn(`[normalize-cwd] realpath failed for ${t}: ${n}`)}return t}}function v(e){if(!p(e))return{value:null,path:e,source:null,doc:null};let t;try{t=m(e,`utf-8`)}catch(t){let n=t instanceof Error?t.message:String(t);return console.warn(`[config] Failed to read ${e}: ${n}`),{value:null,path:e,source:null,doc:null,diagnostic:{code:`UNREADABLE`,detail:`${e}: ${n}`}}}let n=(0,g.parseDocument)(t);if(n.errors.length>0){let r=n.errors.map(e=>e.message).join(`; `);return console.warn(`[config] Failed to parse ${e}: ${r}`),{value:null,path:e,source:t,doc:null,diagnostic:{code:`YAML_PARSE`,detail:`${e}: ${r}`}}}let r=n.toJSON();return u(r)?{value:r,path:e,source:t,doc:n}:{value:null,path:e,source:t,doc:n}}function y(e,t){return e.map(e=>{let n=e.path.map(e=>typeof e==`symbol`?String(e):e),r={path:n,message:e.message,issueCode:e.code};if(t.doc!==null&&t.source!==null){let e=i({file:t.path,source:t.source,doc:t.doc,path:n});if(e!==void 0)return{...r,source:e}}return r})}function b(r){let i=r??process.cwd(),u=[],p=[],m=[],h=[],g=c(`user`,i),_=s({absPath:g});p.push(..._.diagnostics),!_.valid&&_.sidelinedTo!==void 0&&m.push({from:g,to:_.sidelinedTo}),_.valid&&_.source!==void 0&&u.push(g);let b=(e,t=!1)=>{let r=v(e);if(r.diagnostic!==void 0&&p.push(r.diagnostic),r.value===null)return{};let i=n({value:r.value,file:r.path,source:r.source,doc:r.doc});p.push(...i),u.push(e);let s=i.length>0?a(r.value):r.value;return t&&h.push(...o({value:s,file:r.path,source:r.source,doc:r.doc})),s},x=f(i,`.ok`,d),S=b(x,!0),C=b(c(`project-local`,i)),w=e(_.value,S,C),T=l.safeParse(w);if(!T.success){let e=v(x),n={code:`SCHEMA_INVALID`,issues:y(T.error.issues,e)};throw Error(t(n))}return{config:T.data,sources:u,diagnostics:p,sidelined:m,ignoredCommittedKeys:h}}function x(e){let t=e.cacheMs??1e3,n=e.loadConfigFn??b,r=new Map,i=new Map,a=_(e.startupCwd);return async o=>{let s=await _(o??e.startupCwd),c=Date.now(),l=r.get(s);if(l&&l.expiresAt>c)return l.config;let u=i.get(s);if(u)return await u;let d=(async()=>{if(s===await a)return r.set(s,{config:e.startupConfig,expiresAt:Date.now()+t}),e.startupConfig;let i=n(s).config;return r.set(s,{config:i,expiresAt:Date.now()+t}),i})();i.set(s,d);try{return await d}finally{i.delete(s)}}}export{b as n,x as t};
@@ -0,0 +1 @@
1
+ import{n as e}from"./loader-D8aRCnDL.mjs";export{e as loadConfig};