@intlayer/mcp 9.4.4 → 9.5.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.
package/README.md CHANGED
@@ -69,8 +69,6 @@ With **per-locale content files**, **TypeScript autocompletion**, **tree-shakabl
69
69
  | <img src="https://github.com/aymericzip/intlayer/blob/main/docs/assets/interoperability.png?raw=true" alt="Feature" width="700"> | **Interoperability**<br><br>Allow interoperability with react-i18next, next-i18next, next-intl, react-intl, vue-i18n. <br><br> - [Intlayer and react-intl](https://intlayer.org/blog/intlayer-with-react-intl) <br> - [Intlayer and next-intl](https://intlayer.org/blog/intlayer-with-next-intl) <br> - [Intlayer and next-i18next](https://intlayer.org/blog/intlayer-with-next-i18next) <br> - [Intlayer and vue-i18n](https://intlayer.org/blog/intlayer-with-vue-i18n) <br> - [Intlayer compat adapters](https://intlayer.org/doc/compatibility) |
70
70
  | <img src="https://github.com/aymericzip/intlayer/blob/main/docs/assets/benchmark.png?raw=true" alt="Feature" width="700"> | **Performances & Benchmark**<br><br>Uses advanced tree-shaking and dynamic loading to boost performances and keep the solution as light as possible. <br><br> - [Performances & Benchmark](https://intlayer.org/doc/benchmark) |
71
71
 
72
- ---
73
-
74
72
  ## 📦 Installation
75
73
 
76
74
  Start your journey with Intlayer today and experience a smoother, more powerful approach to internationalization.
@@ -1,5 +1,5 @@
1
- import { createMCPClient } from "@ai-sdk/mcp";
2
1
  import { dirname as dirname$1 } from "node:path";
2
+ import { createMCPClient } from "@ai-sdk/mcp";
3
3
  import { fileURLToPath } from "node:url";
4
4
  import { isESModule } from "@intlayer/config/utils";
5
5
 
@@ -1,13 +1,13 @@
1
- import { loadAPITools } from "../tools/api.mjs";
2
- import { loadCLITools } from "../tools/cli.mjs";
3
- import { loadDocsTools } from "../tools/docs.mjs";
4
1
  import { loadInstallLSPTool } from "../tools/installLSP.mjs";
2
+ import { loadCLITools } from "../tools/cli.mjs";
3
+ import { loadAPITools } from "../tools/api.mjs";
5
4
  import { loadInstallSkillsTool } from "../tools/installSkills.mjs";
5
+ import { loadDocsTools } from "../tools/docs.mjs";
6
+ import z from "zod";
6
7
  import { dirname as dirname$1, resolve } from "node:path";
7
8
  import { fileURLToPath } from "node:url";
8
9
  import { isESModule } from "@intlayer/config/utils";
9
10
  import { readFileSync } from "node:fs";
10
- import z from "zod";
11
11
 
12
12
  //#region src/server/server.ts
13
13
  const dirname = isESModule ? dirname$1(fileURLToPath(import.meta.url)) : __dirname;
@@ -1,7 +1,7 @@
1
- import { relative } from "node:path";
1
+ import { listProjects } from "@intlayer/engine/cli";
2
2
  import z from "zod";
3
+ import { relative } from "node:path";
3
4
  import { build, extract, fill, init, listContentDeclarationRows, listMissingTranslations, pull, push } from "@intlayer/cli";
4
- import { listProjects } from "@intlayer/engine/cli";
5
5
  import { scanWebsite } from "@intlayer/engine/scan";
6
6
  import { ALL_LOCALES } from "@intlayer/types/allLocales";
7
7
 
@@ -1,7 +1,7 @@
1
- import { loadAPITools } from "./api.mjs";
2
- import { loadCLITools } from "./cli.mjs";
3
- import { loadDocsTools } from "./docs.mjs";
4
1
  import { loadInstallLSPTool } from "./installLSP.mjs";
2
+ import { loadCLITools } from "./cli.mjs";
3
+ import { loadAPITools } from "./api.mjs";
5
4
  import { loadInstallSkillsTool } from "./installSkills.mjs";
5
+ import { loadDocsTools } from "./docs.mjs";
6
6
 
7
7
  export { loadAPITools, loadCLITools, loadDocsTools, loadInstallLSPTool, loadInstallSkillsTool };
@@ -1,5 +1,5 @@
1
- import z from "zod";
2
1
  import { installLSP } from "@intlayer/engine/cli";
2
+ import z from "zod";
3
3
 
4
4
  //#region src/tools/installLSP.ts
5
5
  const loadInstallLSPTool = (server) => {
@@ -1,6 +1,6 @@
1
- import * as readline from "node:readline";
2
- import z from "zod";
3
1
  import { PLATFORMS, SKILLS, installSkills } from "@intlayer/engine/cli";
2
+ import z from "zod";
3
+ import * as readline from "node:readline";
4
4
 
5
5
  //#region src/tools/installSkills.ts
6
6
  const loadInstallSkillsTool = (server) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/mcp",
3
- "version": "9.4.4",
3
+ "version": "9.5.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": [
@@ -111,22 +111,22 @@
111
111
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
112
112
  },
113
113
  "dependencies": {
114
- "@ai-sdk/mcp": "2.0.44",
114
+ "@ai-sdk/mcp": "2.0.45",
115
115
  "@fastify/cors": "11.3.0",
116
116
  "@fastify/helmet": "13.1.1",
117
- "@intlayer/api": "9.4.4",
118
- "@intlayer/cli": "9.4.4",
119
- "@intlayer/config": "9.4.4",
120
- "@intlayer/docs": "9.4.4",
121
- "@intlayer/engine": "9.4.4",
122
- "@intlayer/types": "9.4.4",
117
+ "@intlayer/api": "9.5.0",
118
+ "@intlayer/cli": "9.5.0",
119
+ "@intlayer/config": "9.5.0",
120
+ "@intlayer/docs": "9.5.0",
121
+ "@intlayer/engine": "9.5.0",
122
+ "@intlayer/types": "9.5.0",
123
123
  "dotenv": "17.4.2",
124
- "fastify": "5.12.1",
124
+ "fastify": "5.12.3",
125
125
  "zod": "4.5.4"
126
126
  },
127
127
  "devDependencies": {
128
- "@intlayer/types": "9.4.4",
129
- "@types/node": "26.4.1",
128
+ "@intlayer/types": "9.5.0",
129
+ "@types/node": "26.5.0",
130
130
  "@utils/ts-config": "1.0.4",
131
131
  "@utils/ts-config-types": "1.0.4",
132
132
  "@utils/tsdown-config": "1.0.4",