@intlayer/mcp 8.3.4 → 8.4.0-canary.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.
@@ -1,2 +1,2 @@
1
- import{readFileSync as e}from"node:fs";import{dirname as t,resolve as n}from"node:path";import{fileURLToPath as r}from"node:url";import{isESModule as i}from"@intlayer/config/utils";import{Client as a}from"@modelcontextprotocol/sdk/client/index.js";const o=i?t(r(import.meta.url)):__dirname,s=JSON.parse(e(n(o,`../../../package.json`),`utf8`)),c=()=>new a({name:`mcp-client-for-intlayer-mcp-server`,version:s.version});export{o as dirname,c as loadClient};
1
+ import{fileURLToPath as e}from"node:url";import{readFileSync as t}from"node:fs";import{dirname as n,resolve as r}from"node:path";import{isESModule as i}from"@intlayer/config/utils";import{Client as a}from"@modelcontextprotocol/sdk/client/index.js";const o=i?n(e(import.meta.url)):__dirname,s=JSON.parse(t(r(o,`../../../package.json`),`utf8`)),c=()=>new a({name:`mcp-client-for-intlayer-mcp-server`,version:s.version});export{o as dirname,c as loadClient};
2
2
  //# sourceMappingURL=client.mjs.map
@@ -1,3 +1,3 @@
1
- import{existsSync as e,readFileSync as t}from"node:fs";import{basename as n,dirname as r,join as i,relative as a,resolve as o,sep as s}from"node:path";import{fileURLToPath as c}from"node:url";const l=()=>{try{return r(c(import.meta.url))}catch{return typeof __dirname<`u`?__dirname:process.cwd()}},u=e=>{let t=e;for(let e=0;e<12;e++){if(n(t)===`dist`)return t;let e=o(t,`..`);if(e===t)break;t=e}return null},d=e=>{if(!e)return null;try{if(e.startsWith(`file://`))return c(e)}catch{}return e},f=()=>{let e=Error.prepareStackTrace;try{Error.prepareStackTrace=(e,t)=>t;let e=Error();Error.captureStackTrace(e,f);let t=e.stack||[],n=e=>e.includes(`${s}_virtual${s}`)||e.includes(`/_virtual/`);for(let e of t){let t=d(typeof e.getFileName==`function`?e.getFileName():null);if(t&&!(t.includes(`node:internal`)||t.includes(`${s}internal${s}modules${s}`))&&!n(t))return r(t)}for(let e of t){let t=d(typeof e.getFileName==`function`?e.getFileName():null);if(t)return r(t)}}catch{}finally{Error.prepareStackTrace=e}return l()},p=(n,r=`utf8`)=>{let s=l(),c=u(s)??o(s,`..`,`..`,`dist`),d=i(c,`assets`),p=[],m=a(c,f()).split(`\\`).join(`/`).replace(/^(?:dist\/)?(?:esm|cjs)\//,``).replace(/^_virtual\//,``);if(n.startsWith(`./`)||n.startsWith(`../`)){let i=o(d,m,n);if(p.push(i),e(i))return t(i,r)}let h=i(d,n);if(p.push(h),e(h))return t(h,r);if(m){let a=i(d,m,n);if(p.push(a),e(a))return t(a,r)}let g=[`readAsset: file not found.`,`Searched:`,...p.map(e=>`- ${e}`)].join(`
1
+ import{fileURLToPath as e}from"node:url";import{existsSync as t,readFileSync as n}from"node:fs";import{basename as r,dirname as i,join as a,relative as o,resolve as s,sep as c}from"node:path";const l=()=>{try{return i(e(import.meta.url))}catch{return typeof __dirname<`u`?__dirname:process.cwd()}},u=e=>{let t=e;for(let e=0;e<12;e++){if(r(t)===`dist`)return t;let e=s(t,`..`);if(e===t)break;t=e}return null},d=t=>{if(!t)return null;try{if(t.startsWith(`file://`))return e(t)}catch{}return t},f=()=>{let e=Error.prepareStackTrace;try{Error.prepareStackTrace=(e,t)=>t;let e=Error();Error.captureStackTrace(e,f);let t=e.stack||[],n=e=>e.includes(`${c}_virtual${c}`)||e.includes(`/_virtual/`);for(let e of t){let t=d(typeof e.getFileName==`function`?e.getFileName():null);if(t&&!(t.includes(`node:internal`)||t.includes(`${c}internal${c}modules${c}`))&&!n(t))return i(t)}for(let e of t){let t=d(typeof e.getFileName==`function`?e.getFileName():null);if(t)return i(t)}}catch{}finally{Error.prepareStackTrace=e}return l()},p=(e,r=`utf8`)=>{let i=l(),c=u(i)??s(i,`..`,`..`,`dist`),d=a(c,`assets`),p=[],m=o(c,f()).split(`\\`).join(`/`).replace(/^(?:dist\/)?(?:esm|cjs)\//,``).replace(/^_virtual\//,``);if(e.startsWith(`./`)||e.startsWith(`../`)){let i=s(d,m,e);if(p.push(i),t(i))return n(i,r)}let h=a(d,e);if(p.push(h),t(h))return n(h,r);if(m){let i=a(d,m,e);if(p.push(i),t(i))return n(i,r)}let g=[`readAsset: file not found.`,`Searched:`,...p.map(e=>`- ${e}`)].join(`
2
2
  `);throw Error(g)};export{p};
3
3
  //# sourceMappingURL=_utils_asset.mjs.map
@@ -1,2 +1,2 @@
1
- import{loadCLITools as e}from"../tools/cli.mjs";import{loadDocsTools as t}from"../tools/docs.mjs";import{loadInstallSkillsTool as n}from"../tools/installSkills.mjs";import{readFileSync as r}from"node:fs";import{dirname as i,resolve as a}from"node:path";import{fileURLToPath as o}from"node:url";import{isESModule as s}from"@intlayer/config/utils";import{McpServer as c}from"@modelcontextprotocol/sdk/server/mcp.js";const l=s?i(o(import.meta.url)):__dirname,u=JSON.parse(r(a(l,`../../../package.json`),`utf8`)),d=({isLocal:r})=>{let i=new c({name:`intlayer`,version:u.version});if(r)try{e(i),n(i)}catch(e){console.error(`Error loading CLI tools:`,e)}try{t(i)}catch(e){console.error(`Error loading docs tools:`,e)}return i};export{l as dirname,d as loadServer};
1
+ import{loadCLITools as e}from"../tools/cli.mjs";import{loadInstallSkillsTool as t}from"../tools/installSkills.mjs";import{loadDocsTools as n}from"../tools/docs.mjs";import{fileURLToPath as r}from"node:url";import{readFileSync as i}from"node:fs";import{dirname as a,resolve as o}from"node:path";import{isESModule as s}from"@intlayer/config/utils";import{McpServer as c}from"@modelcontextprotocol/sdk/server/mcp.js";const l=s?a(r(import.meta.url)):__dirname,u=JSON.parse(i(o(l,`../../../package.json`),`utf8`)),d=({isLocal:r})=>{let i=new c({name:`intlayer`,version:u.version});if(r)try{e(i),t(i)}catch(e){console.error(`Error loading CLI tools:`,e)}try{n(i)}catch(e){console.error(`Error loading docs tools:`,e)}return i};export{l as dirname,d as loadServer};
2
2
  //# sourceMappingURL=server.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/mcp",
3
- "version": "8.3.4",
3
+ "version": "8.4.0-canary.0",
4
4
  "private": false,
5
5
  "description": "Intlayer MCP server. Handle MCP to help IDE to use Intlayer. It build, fill, pull, push, dictionaries",
6
6
  "keywords": [
@@ -93,18 +93,18 @@
93
93
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
94
94
  },
95
95
  "dependencies": {
96
- "@intlayer/api": "8.3.4",
97
- "@intlayer/cli": "8.3.4",
98
- "@intlayer/config": "8.3.4",
99
- "@intlayer/docs": "8.3.4",
100
- "@intlayer/types": "8.3.4",
96
+ "@intlayer/api": "8.4.0-canary.0",
97
+ "@intlayer/cli": "8.4.0-canary.0",
98
+ "@intlayer/config": "8.4.0-canary.0",
99
+ "@intlayer/docs": "8.4.0-canary.0",
100
+ "@intlayer/types": "8.4.0-canary.0",
101
101
  "@modelcontextprotocol/sdk": "1.27.1",
102
102
  "dotenv": "17.3.1",
103
103
  "express": "5.2.1",
104
104
  "zod": "4.3.6"
105
105
  },
106
106
  "devDependencies": {
107
- "@intlayer/types": "8.3.4",
107
+ "@intlayer/types": "8.4.0-canary.0",
108
108
  "@modelcontextprotocol/inspector": "0.21.1",
109
109
  "@types/express": "5.0.6",
110
110
  "@types/node": "25.5.0",