@intlayer/mcp 9.7.1 → 9.7.2
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,7 +1,7 @@
|
|
|
1
1
|
import { dirname as dirname$1 } from "node:path";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
import { isESModule } from "@intlayer/config/utils";
|
|
4
3
|
import { createMCPClient } from "@ai-sdk/mcp";
|
|
4
|
+
import { isESModule } from "@intlayer/config/utils";
|
|
5
5
|
|
|
6
6
|
// src/client/client.ts
|
|
7
7
|
const dirname = isESModule ? dirname$1(fileURLToPath(import.meta.url)) : __dirname;
|
|
@@ -3,11 +3,11 @@ import { loadCLITools } from "../tools/cli.mjs";
|
|
|
3
3
|
import { loadDocsTools } from "../tools/docs.mjs";
|
|
4
4
|
import { loadInstallLSPTool } from "../tools/installLSP.mjs";
|
|
5
5
|
import { loadInstallSkillsTool } from "../tools/installSkills.mjs";
|
|
6
|
-
import { readFileSync } from "node:fs";
|
|
7
6
|
import { dirname as dirname$1, resolve } from "node:path";
|
|
8
7
|
import { fileURLToPath } from "node:url";
|
|
9
8
|
import { isESModule } from "@intlayer/config/utils";
|
|
10
9
|
import { z } from "zod/mini";
|
|
10
|
+
import { readFileSync } from "node:fs";
|
|
11
11
|
|
|
12
12
|
// src/server/server.ts
|
|
13
13
|
const dirname = isESModule ? dirname$1(fileURLToPath(import.meta.url)) : __dirname;
|
package/dist/esm/tools/api.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { z } from "zod/mini";
|
|
2
1
|
import { getIntlayerAPI } from "@intlayer/api";
|
|
3
2
|
import { editor } from "@intlayer/config/built";
|
|
4
3
|
import { getEditorClientSecret } from "@intlayer/config/secrets";
|
|
4
|
+
import { z } from "zod/mini";
|
|
5
5
|
|
|
6
6
|
// src/tools/api.ts
|
|
7
7
|
const authSchema = {
|
package/dist/esm/tools/docs.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod/mini";
|
|
2
1
|
import { getSearchAPI } from "@intlayer/api";
|
|
2
|
+
import { z } from "zod/mini";
|
|
3
3
|
import { getDoc, getDocMetadataBySlug, getDocMetadataRecord, getDocsKeys } from "@intlayer/docs";
|
|
4
4
|
import { buildReviewReport, formatReviewReport } from "@intlayer/engine/docReview";
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/mcp",
|
|
3
|
-
"version": "9.7.
|
|
3
|
+
"version": "9.7.2",
|
|
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": [
|
|
7
|
+
"cli",
|
|
8
|
+
"documentation",
|
|
7
9
|
"intlayer",
|
|
8
10
|
"mcp",
|
|
9
|
-
"mcp-server",
|
|
10
|
-
"mcp-proxy",
|
|
11
|
-
"documentation",
|
|
12
|
-
"cli",
|
|
11
|
+
"mcp-language-server",
|
|
13
12
|
"mcp-lsp",
|
|
14
|
-
"mcp-
|
|
13
|
+
"mcp-proxy",
|
|
14
|
+
"mcp-server"
|
|
15
15
|
],
|
|
16
16
|
"homepage": "https://intlayer.org",
|
|
17
17
|
"bugs": {
|
|
18
18
|
"url": "https://github.com/aymericzip/intlayer/issues"
|
|
19
19
|
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/aymericzip/intlayer.git"
|
|
23
|
-
},
|
|
24
20
|
"license": "Apache-2.0",
|
|
25
21
|
"author": {
|
|
26
22
|
"name": "Aymeric PINEAU",
|
|
@@ -33,7 +29,38 @@
|
|
|
33
29
|
"url": "https://github.com/aymericzip"
|
|
34
30
|
}
|
|
35
31
|
],
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/aymericzip/intlayer.git"
|
|
35
|
+
},
|
|
36
|
+
"bin": "dist/esm/server/stdio.mjs",
|
|
37
|
+
"files": [
|
|
38
|
+
"./dist",
|
|
39
|
+
"./package.json"
|
|
40
|
+
],
|
|
36
41
|
"sideEffects": false,
|
|
42
|
+
"main": "dist/esm/server/stdio.mjs",
|
|
43
|
+
"module": "dist/esm/server/stdio.mjs",
|
|
44
|
+
"types": "dist/types/server/stdio.d.ts",
|
|
45
|
+
"typesVersions": {
|
|
46
|
+
"*": {
|
|
47
|
+
".": [
|
|
48
|
+
"./dist/types/server/stdio.d.ts"
|
|
49
|
+
],
|
|
50
|
+
"sse": [
|
|
51
|
+
"./dist/types/server/sse.d.ts"
|
|
52
|
+
],
|
|
53
|
+
"client": [
|
|
54
|
+
"./dist/types/client/client.d.ts"
|
|
55
|
+
],
|
|
56
|
+
"tools": [
|
|
57
|
+
"./dist/types/tools/index.d.ts"
|
|
58
|
+
],
|
|
59
|
+
"package.json": [
|
|
60
|
+
"./package.json"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
37
64
|
"exports": {
|
|
38
65
|
".": {
|
|
39
66
|
"types": "./dist/types/server/stdio.d.ts",
|
|
@@ -57,42 +84,15 @@
|
|
|
57
84
|
},
|
|
58
85
|
"./package.json": "./package.json"
|
|
59
86
|
},
|
|
60
|
-
"main": "dist/esm/server/stdio.mjs",
|
|
61
|
-
"module": "dist/esm/server/stdio.mjs",
|
|
62
|
-
"types": "dist/types/server/stdio.d.ts",
|
|
63
|
-
"typesVersions": {
|
|
64
|
-
"*": {
|
|
65
|
-
".": [
|
|
66
|
-
"./dist/types/server/stdio.d.ts"
|
|
67
|
-
],
|
|
68
|
-
"sse": [
|
|
69
|
-
"./dist/types/server/sse.d.ts"
|
|
70
|
-
],
|
|
71
|
-
"client": [
|
|
72
|
-
"./dist/types/client/client.d.ts"
|
|
73
|
-
],
|
|
74
|
-
"tools": [
|
|
75
|
-
"./dist/types/tools/index.d.ts"
|
|
76
|
-
],
|
|
77
|
-
"package.json": [
|
|
78
|
-
"./package.json"
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"bin": "dist/esm/server/stdio.mjs",
|
|
83
|
-
"files": [
|
|
84
|
-
"./dist",
|
|
85
|
-
"./package.json"
|
|
86
|
-
],
|
|
87
87
|
"scripts": {
|
|
88
88
|
"build": "bun --bun tsdown --config tsdown.config.ts",
|
|
89
89
|
"build:ci": "bun --bun tsdown --config tsdown.config.ts",
|
|
90
90
|
"clean": "bun --bun rimraf ./dist .turbo",
|
|
91
91
|
"dev": "bun --bun tsdown --config tsdown.config.ts --watch",
|
|
92
|
-
"format": "
|
|
93
|
-
"format:fix": "
|
|
94
|
-
"lint": "
|
|
95
|
-
"lint:fix": "
|
|
92
|
+
"format": "oxfmt --check .",
|
|
93
|
+
"format:fix": "oxfmt .",
|
|
94
|
+
"lint": "oxlint .",
|
|
95
|
+
"lint:fix": "oxlint --fix .",
|
|
96
96
|
"manange:permissions": "bun -e \"require('fs').chmodSync('dist/esm/server/stdio.mjs', 0o755); require('fs').chmodSync('dist/esm/server/sse.mjs', 0o755)\"",
|
|
97
97
|
"process-files": "ts-node src/transpiler/processFilesCLI.ts --dir $npm_config_dir --extension $npm_config_extension --no-node-snapshot",
|
|
98
98
|
"prepublish": "cp -f ../../../README.md ./README.md",
|
|
@@ -112,27 +112,27 @@
|
|
|
112
112
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
113
113
|
},
|
|
114
114
|
"dependencies": {
|
|
115
|
-
"@ai-sdk/mcp": "2.0.
|
|
116
|
-
"@fastify/cors": "11.4.
|
|
115
|
+
"@ai-sdk/mcp": "2.0.93",
|
|
116
|
+
"@fastify/cors": "11.4.1",
|
|
117
117
|
"@fastify/helmet": "13.2.0",
|
|
118
|
-
"@intlayer/api": "9.7.
|
|
119
|
-
"@intlayer/cli": "9.7.
|
|
120
|
-
"@intlayer/config": "9.7.
|
|
121
|
-
"@intlayer/docs": "9.7.
|
|
122
|
-
"@intlayer/engine": "9.7.
|
|
123
|
-
"@intlayer/types": "9.7.
|
|
124
|
-
"dotenv": "18.0.
|
|
118
|
+
"@intlayer/api": "9.7.2",
|
|
119
|
+
"@intlayer/cli": "9.7.2",
|
|
120
|
+
"@intlayer/config": "9.7.2",
|
|
121
|
+
"@intlayer/docs": "9.7.2",
|
|
122
|
+
"@intlayer/engine": "9.7.2",
|
|
123
|
+
"@intlayer/types": "9.7.2",
|
|
124
|
+
"dotenv": "18.0.10",
|
|
125
125
|
"fastify": "5.12.8",
|
|
126
126
|
"zod": "4.6.7"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
|
-
"@intlayer/types": "9.7.
|
|
129
|
+
"@intlayer/types": "9.7.2",
|
|
130
130
|
"@types/node": "^26",
|
|
131
131
|
"@utils/ts-config": "1.0.4",
|
|
132
132
|
"@utils/ts-config-types": "1.0.4",
|
|
133
133
|
"@utils/tsdown-config": "1.0.4",
|
|
134
|
-
"rimraf": "6.1.
|
|
135
|
-
"tsdown": "0.23.
|
|
134
|
+
"rimraf": "6.1.4",
|
|
135
|
+
"tsdown": "0.23.7",
|
|
136
136
|
"typescript": "7.0.2",
|
|
137
137
|
"vitest": "5.1.0"
|
|
138
138
|
},
|