@likec4/mcp 1.60.0 → 1.61.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 (35) hide show
  1. package/README.md +104 -102
  2. package/dist/app/render-view-client.css +1 -1
  3. package/dist/app/render-view-client.js +375 -393
  4. package/dist/chunks/libs/@chenglou/pretext.mjs +9 -0
  5. package/dist/chunks/libs/@logtape/logtape.mjs +5 -5
  6. package/dist/chunks/libs/chevrotain.mjs +19 -19
  7. package/dist/chunks/libs/clone.mjs +1 -0
  8. package/dist/chunks/libs/eventemitter3.mjs +1 -1
  9. package/dist/chunks/libs/fast-equals.mjs +1 -0
  10. package/dist/chunks/libs/fontkit.mjs +1 -0
  11. package/dist/chunks/libs/fuse.js.mjs +1 -0
  12. package/dist/chunks/libs/graphology.mjs +1 -1
  13. package/dist/chunks/libs/hast-util-to-html.mjs +2 -2
  14. package/dist/chunks/libs/hastscript.mjs +1 -1
  15. package/dist/chunks/libs/immer.mjs +1 -1
  16. package/dist/chunks/libs/langium.mjs +2 -2
  17. package/dist/chunks/libs/markdown-table.mjs +1 -1
  18. package/dist/chunks/libs/mdast-util-find-and-replace.mjs +1 -1
  19. package/dist/chunks/libs/mdast-util-from-markdown.mjs +4 -4
  20. package/dist/chunks/libs/mdast-util-gfm.mjs +4 -4
  21. package/dist/chunks/libs/mdast-util-to-hast.mjs +3 -3
  22. package/dist/chunks/libs/micromark-extension-gfm.mjs +2 -2
  23. package/dist/chunks/libs/mnemonist.mjs +1 -1
  24. package/dist/chunks/libs/parse-entities.mjs +1 -1
  25. package/dist/chunks/libs/pathe.mjs +1 -1
  26. package/dist/chunks/libs/refractor.mjs +1 -1
  27. package/dist/chunks/libs/rehype-prism-plus.mjs +2 -2
  28. package/dist/chunks/libs/remark-github-blockquote-alert.mjs +1 -1
  29. package/dist/chunks/libs/remeda.mjs +1 -1
  30. package/dist/chunks/libs/unified.mjs +1 -1
  31. package/dist/chunks/libs/which.mjs +1 -1
  32. package/dist/chunks/rolldown-runtime.mjs +1 -1
  33. package/dist/chunks/src.mjs +193 -108
  34. package/dist/cli.mjs +1 -1
  35. package/package.json +27 -27
@@ -1 +1 @@
1
- import{a as e,i as t,n,o as r,r as i,t as a}from"../rolldown-runtime.mjs";import{stat as o}from"node:fs/promises";import{statSync as s}from"node:fs";var c=/* @__PURE__ */ i({isexe:()=>l,sync:()=>u}),l,u,d,checkMode,f=n((()=>{l=/* @__PURE__ */ t(async(e,t={})=>{let{ignoreErrors:n=!1}=t;try{return d(await o(e),t)}catch(e){let t=e;if(n||t.code===`EACCES`)return!1;throw t}},`isexe`),u=/* @__PURE__ */ t((e,t={})=>{let{ignoreErrors:n=!1}=t;try{return d(s(e),t)}catch(e){let t=e;if(n||t.code===`EACCES`)return!1;throw t}},`sync`),d=/* @__PURE__ */ t((e,t)=>e.isFile()&&checkMode(e,t),`checkStat`),checkMode=(e,t)=>{let n=t.uid??process.getuid?.(),r=t.groups??process.getgroups?.()??[],i=t.gid??process.getgid?.()??r[0];if(n===void 0||i===void 0)throw Error(`cannot get uid or gid`);let a=/* @__PURE__ */ new Set([i,...r]),o=e.mode,s=e.uid,c=e.gid;return!!(o&1||o&8&&a.has(c)||o&64&&s===n||o&72&&n===0)}})),p=/* @__PURE__ */ i({isexe:()=>m,sync:()=>h}),m,h,checkPathExt,checkStat,g=n((()=>{m=/* @__PURE__ */ t(async(e,t={})=>{let{ignoreErrors:n=!1}=t;try{return checkStat(await o(e),e,t)}catch(e){let t=e;if(n||t.code===`EACCES`)return!1;throw t}},`isexe`),h=/* @__PURE__ */ t((e,t={})=>{let{ignoreErrors:n=!1}=t;try{return checkStat(s(e),e,t)}catch(e){let t=e;if(n||t.code===`EACCES`)return!1;throw t}},`sync`),checkPathExt=(e,t)=>{let{pathExt:n=process.env.PATHEXT||``}=t,r=n.split(`;`);if(r.indexOf(``)!==-1)return!0;for(let t=0;t<r.length;t++){let n=r[t].toLowerCase(),i=e.substring(e.length-n.length).toLowerCase();if(n&&i===n)return!0}return!1},checkStat=(e,t,n)=>e.isFile()&&checkPathExt(t,n)})),_=n((()=>{})),v=/* @__PURE__ */ i({isexe:()=>b,posix:()=>c,sync:()=>x,win32:()=>p}),y,b,x,S=n((()=>{f(),g(),_(),y=(process.env._ISEXE_TEST_PLATFORM_||process.platform)===`win32`?p:c,b=y.isexe,x=y.sync})),C=/* @__PURE__ */ a(((t,n)=>{let{isexe:i,sync:a}=(S(),r(v)),{join:o,delimiter:s,sep:c,posix:l}=e(`node:path`),u=process.platform===`win32`,d=new RegExp(`[${l.sep}${c===l.sep?``:c}]`.replace(/(\\)/g,`\\$1`)),f=RegExp(`^\\.${d.source}`),getNotFoundError=e=>Object.assign(/* @__PURE__ */ Error(`not found: ${e}`),{code:`ENOENT`}),getPathInfo=(e,{path:t=process.env.PATH,pathExt:n=process.env.PATHEXT,delimiter:r=s})=>{let i=e.match(d)?[``]:[...u?[process.cwd()]:[],...(t||/* istanbul ignore next: very unusual */``).split(r)];if(u){let t=n||[`.EXE`,`.CMD`,`.BAT`,`.COM`].join(r),a=t.split(r).flatMap(e=>[e,e.toLowerCase()]);return e.includes(`.`)&&a[0]!==``&&a.unshift(``),{pathEnv:i,pathExt:a,pathExtExe:t}}return{pathEnv:i,pathExt:[``]}},getPathPart=(e,t)=>{let n=/^".*"$/.test(e)?e.slice(1,-1):e;return(!n&&f.test(t)?t.slice(0,2):``)+o(n,t)},which=async(e,t={})=>{let{pathEnv:n,pathExt:r,pathExtExe:a}=getPathInfo(e,t),o=[];for(let s of n){let n=getPathPart(s,e);for(let e of r){let r=n+e;if(await i(r,{pathExt:a,ignoreErrors:!0})){if(!t.all)return r;o.push(r)}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw getNotFoundError(e)},whichSync=(e,t={})=>{let{pathEnv:n,pathExt:r,pathExtExe:i}=getPathInfo(e,t),o=[];for(let s of n){let n=getPathPart(s,e);for(let e of r){let r=n+e;if(a(r,{pathExt:i,ignoreErrors:!0})){if(!t.all)return r;o.push(r)}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw getNotFoundError(e)};n.exports=which,which.sync=whichSync}));export{C as t};
1
+ import{a as e,i as t,n,o as r,r as i,t as a}from"../rolldown-runtime.mjs";import{statSync as o}from"node:fs";import{stat as s}from"node:fs/promises";var c=/* @__PURE__ */ i({isexe:()=>l,sync:()=>u}),l,u,d,checkMode,f=n((()=>{l=/* @__PURE__ */ t(async(e,t={})=>{let{ignoreErrors:n=!1}=t;try{return d(await s(e),t)}catch(e){let t=e;if(n||t.code===`EACCES`)return!1;throw t}},`isexe`),u=/* @__PURE__ */ t((e,t={})=>{let{ignoreErrors:n=!1}=t;try{return d(o(e),t)}catch(e){let t=e;if(n||t.code===`EACCES`)return!1;throw t}},`sync`),d=/* @__PURE__ */ t((e,t)=>e.isFile()&&checkMode(e,t),`checkStat`),checkMode=(e,t)=>{let n=t.uid??process.getuid?.(),r=t.groups??process.getgroups?.()??[],i=t.gid??process.getgid?.()??r[0];if(n===void 0||i===void 0)throw Error(`cannot get uid or gid`);let a=/* @__PURE__ */ new Set([i,...r]),o=e.mode,s=e.uid,c=e.gid;return!!(o&1||o&8&&a.has(c)||o&64&&s===n||o&72&&n===0)}})),p=/* @__PURE__ */ i({isexe:()=>m,sync:()=>h}),m,h,checkPathExt,checkStat,g=n((()=>{m=/* @__PURE__ */ t(async(e,t={})=>{let{ignoreErrors:n=!1}=t;try{return checkStat(await s(e),e,t)}catch(e){let t=e;if(n||t.code===`EACCES`)return!1;throw t}},`isexe`),h=/* @__PURE__ */ t((e,t={})=>{let{ignoreErrors:n=!1}=t;try{return checkStat(o(e),e,t)}catch(e){let t=e;if(n||t.code===`EACCES`)return!1;throw t}},`sync`),checkPathExt=(e,t)=>{let{pathExt:n=process.env.PATHEXT||``}=t,r=n.split(`;`);if(r.indexOf(``)!==-1)return!0;for(let t=0;t<r.length;t++){let n=r[t].toLowerCase(),i=e.substring(e.length-n.length).toLowerCase();if(n&&i===n)return!0}return!1},checkStat=(e,t,n)=>e.isFile()&&checkPathExt(t,n)})),_=n((()=>{})),v=/* @__PURE__ */ i({isexe:()=>b,posix:()=>c,sync:()=>x,win32:()=>p}),y,b,x,S=n((()=>{f(),g(),_(),y=(process.env._ISEXE_TEST_PLATFORM_||process.platform)===`win32`?p:c,b=y.isexe,x=y.sync})),C=/* @__PURE__ */ a(((t,n)=>{let{isexe:i,sync:a}=(S(),r(v)),{join:o,delimiter:s,sep:c,posix:l}=e(`node:path`),u=process.platform===`win32`,d=new RegExp(`[${l.sep}${c===l.sep?``:c}]`.replace(/(\\)/g,`\\$1`)),f=RegExp(`^\\.${d.source}`),getNotFoundError=e=>Object.assign(/* @__PURE__ */ Error(`not found: ${e}`),{code:`ENOENT`}),getPathInfo=(e,{path:t=process.env.PATH,pathExt:n=process.env.PATHEXT,delimiter:r=s})=>{let i=e.match(d)?[``]:[...u?[process.cwd()]:[],...(t||/* istanbul ignore next: very unusual */``).split(r)];if(u){let t=n||[`.EXE`,`.CMD`,`.BAT`,`.COM`].join(r),a=t.split(r).flatMap(e=>[e,e.toLowerCase()]);return e.includes(`.`)&&a[0]!==``&&a.unshift(``),{pathEnv:i,pathExt:a,pathExtExe:t}}return{pathEnv:i,pathExt:[``]}},getPathPart=(e,t)=>{let n=/^".*"$/.test(e)?e.slice(1,-1):e;return(!n&&f.test(t)?t.slice(0,2):``)+o(n,t)},which=async(e,t={})=>{let{pathEnv:n,pathExt:r,pathExtExe:a}=getPathInfo(e,t),o=[];for(let s of n){let n=getPathPart(s,e);for(let e of r){let r=n+e;if(await i(r,{pathExt:a,ignoreErrors:!0})){if(!t.all)return r;o.push(r)}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw getNotFoundError(e)},whichSync=(e,t={})=>{let{pathEnv:n,pathExt:r,pathExtExe:i}=getPathInfo(e,t),o=[];for(let s of n){let n=getPathPart(s,e);for(let e of r){let r=n+e;if(a(r,{pathExt:i,ignoreErrors:!0})){if(!t.all)return r;o.push(r)}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw getNotFoundError(e)};n.exports=which,which.sync=whichSync}));export{C as t};
@@ -1 +1 @@
1
- import{createRequire as e}from"node:module";var t=Object.create,n=Object.defineProperty,__name=(e,t)=>n(e,`name`,{value:t,configurable:!0}),r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,__esmMin=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),__exportAll=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},__copyProps=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},__toESM=(e,r,i)=>(i=e==null?{}:t(a(e)),__copyProps(r||!e||!e.__esModule||!o.call(e,`default`)?n(i,`default`,{value:e,enumerable:!0}):i,e)),__toCommonJS=e=>o.call(e,`module.exports`)?e[`module.exports`]:__copyProps(n({},`__esModule`,{value:!0}),e),s=/* @__PURE__ */ e(import.meta.url);export{s as a,__name as i,__esmMin as n,__toCommonJS as o,__exportAll as r,__toESM as s,__commonJSMin as t};
1
+ import{createRequire as e}from"node:module";var t=Object.create,n=Object.defineProperty,__name=(e,t)=>n(e,`name`,{value:t,configurable:!0}),r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,__esmMin=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),__exportAll=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},__copyProps=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},__toESM=(e,r,i)=>(i=e==null?{}:t(a(e)),__copyProps(r||!e||!e.__esModule||!o.call(e,`default`)?n(i,`default`,{value:e,enumerable:!0}):i,e)),__toCommonJS=e=>o.call(e,`module.exports`)?e[`module.exports`]:__copyProps(n({},`__esModule`,{value:!0}),e),s=/* @__PURE__ */ e(import.meta.url);export{s as a,__name as i,__esmMin as n,__toCommonJS as o,__exportAll as r,__toESM as s,__commonJSMin as t};