@aalis/plugin-mcp-server 0.15.0 → 0.15.1
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/dist/locales/en.d.ts +3 -3
- package/dist/locales/en.d.ts.map +1 -1
- package/dist/locales/en.js +3 -3
- package/dist/locales/en.js.map +1 -1
- package/dist/texts.d.ts +6 -6
- package/dist/texts.js +3 -3
- package/dist/texts.js.map +1 -1
- package/package.json +2 -2
package/dist/locales/en.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ declare const _default: {
|
|
|
5
5
|
readonly bindLabel: "Listening address";
|
|
6
6
|
readonly bindEmpty: "bind must not be empty";
|
|
7
7
|
readonly tokenLabel: "Access token";
|
|
8
|
-
readonly tokenDescription: "External MCP clients
|
|
8
|
+
readonly tokenDescription: "External MCP clients must send it in the header Authorization: Bearer <token>. At least 32 visible ASCII characters with no whitespace; can be generated with openssl rand -hex 32";
|
|
9
9
|
readonly tokenInvalid: "must be at least 32 visible ASCII characters (no whitespace)";
|
|
10
|
-
readonly toolGroupsLabel: "Allowed tool groups
|
|
11
|
-
readonly toolGroupsDescription: "An empty list or ['*'] = expose tools of all groups (still subject to
|
|
10
|
+
readonly toolGroupsLabel: "Allowed tool groups";
|
|
11
|
+
readonly toolGroupsDescription: "An empty list or ['*'] = expose tools of all groups (still subject to “Allow exposing restricted tools”).";
|
|
12
12
|
readonly allowRestrictedLabel: "Allow exposing restricted tools";
|
|
13
13
|
};
|
|
14
14
|
export default _default;
|
package/dist/locales/en.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,wBAeG"}
|
package/dist/locales/en.js
CHANGED
|
@@ -6,10 +6,10 @@ export default defineLocale()({
|
|
|
6
6
|
bindLabel: 'Listening address',
|
|
7
7
|
bindEmpty: 'bind must not be empty',
|
|
8
8
|
tokenLabel: 'Access token',
|
|
9
|
-
tokenDescription: 'External MCP clients
|
|
9
|
+
tokenDescription: 'External MCP clients must send it in the header Authorization: Bearer <token>. At least 32 visible ASCII characters with no whitespace; can be generated with openssl rand -hex 32',
|
|
10
10
|
tokenInvalid: 'must be at least 32 visible ASCII characters (no whitespace)',
|
|
11
|
-
toolGroupsLabel: 'Allowed tool groups
|
|
12
|
-
toolGroupsDescription: "An empty list or ['*'] = expose tools of all groups (still subject to
|
|
11
|
+
toolGroupsLabel: 'Allowed tool groups',
|
|
12
|
+
toolGroupsDescription: "An empty list or ['*'] = expose tools of all groups (still subject to “Allow exposing restricted tools”).",
|
|
13
13
|
allowRestrictedLabel: 'Allow exposing restricted tools',
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=en.js.map
|
package/dist/locales/en.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,eAAe,YAAY,EAAU,CAAC;IACpC,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,gBAAgB;IAC3B,eAAe,EACb,wJAAwJ;IAC1J,SAAS,EAAE,mBAAmB;IAC9B,SAAS,EAAE,wBAAwB;IACnC,UAAU,EAAE,cAAc;IAC1B,gBAAgB,EACd,
|
|
1
|
+
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,eAAe,YAAY,EAAU,CAAC;IACpC,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,gBAAgB;IAC3B,eAAe,EACb,wJAAwJ;IAC1J,SAAS,EAAE,mBAAmB;IAC9B,SAAS,EAAE,wBAAwB;IACnC,UAAU,EAAE,cAAc;IAC1B,gBAAgB,EACd,oLAAoL;IACtL,YAAY,EAAE,8DAA8D;IAC5E,eAAe,EAAE,qBAAqB;IACtC,qBAAqB,EACnB,2GAA2G;IAC7G,oBAAoB,EAAE,iCAAiC;CACxD,CAAC,CAAC"}
|
package/dist/texts.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ declare const SOURCE: {
|
|
|
5
5
|
readonly bindLabel: "监听地址";
|
|
6
6
|
readonly bindEmpty: "bind 不能为空";
|
|
7
7
|
readonly tokenLabel: "访问令牌";
|
|
8
|
-
readonly tokenDescription: "外部 MCP
|
|
8
|
+
readonly tokenDescription: "外部 MCP 客户端要在请求头带上 Authorization: Bearer <令牌>。至少 32 个可见 ASCII 字符、不含空白,可用 openssl rand -hex 32 生成";
|
|
9
9
|
readonly tokenInvalid: "至少 32 个可见 ASCII 字符(不含空白)";
|
|
10
|
-
readonly toolGroupsLabel: "
|
|
11
|
-
readonly toolGroupsDescription: "空列表或 ['*'] =
|
|
10
|
+
readonly toolGroupsLabel: "允许的工具分组";
|
|
11
|
+
readonly toolGroupsDescription: "空列表或 ['*'] = 暴露所有分组的工具(仍受「允许暴露 restricted(受限)工具」约束)。";
|
|
12
12
|
readonly allowRestrictedLabel: "允许暴露 restricted(受限)工具";
|
|
13
13
|
};
|
|
14
14
|
export type Source = typeof SOURCE;
|
|
@@ -19,10 +19,10 @@ export declare const t: import("@aalis/schema-i18n").TextFactory<{
|
|
|
19
19
|
readonly bindLabel: "监听地址";
|
|
20
20
|
readonly bindEmpty: "bind 不能为空";
|
|
21
21
|
readonly tokenLabel: "访问令牌";
|
|
22
|
-
readonly tokenDescription: "外部 MCP
|
|
22
|
+
readonly tokenDescription: "外部 MCP 客户端要在请求头带上 Authorization: Bearer <令牌>。至少 32 个可见 ASCII 字符、不含空白,可用 openssl rand -hex 32 生成";
|
|
23
23
|
readonly tokenInvalid: "至少 32 个可见 ASCII 字符(不含空白)";
|
|
24
|
-
readonly toolGroupsLabel: "
|
|
25
|
-
readonly toolGroupsDescription: "空列表或 ['*'] =
|
|
24
|
+
readonly toolGroupsLabel: "允许的工具分组";
|
|
25
|
+
readonly toolGroupsDescription: "空列表或 ['*'] = 暴露所有分组的工具(仍受「允许暴露 restricted(受限)工具」约束)。";
|
|
26
26
|
readonly allowRestrictedLabel: "允许暴露 restricted(受限)工具";
|
|
27
27
|
}>;
|
|
28
28
|
export {};
|
package/dist/texts.js
CHANGED
|
@@ -8,10 +8,10 @@ const SOURCE = {
|
|
|
8
8
|
bindLabel: '监听地址',
|
|
9
9
|
bindEmpty: 'bind 不能为空',
|
|
10
10
|
tokenLabel: '访问令牌',
|
|
11
|
-
tokenDescription: '外部 MCP
|
|
11
|
+
tokenDescription: '外部 MCP 客户端要在请求头带上 Authorization: Bearer <令牌>。至少 32 个可见 ASCII 字符、不含空白,可用 openssl rand -hex 32 生成',
|
|
12
12
|
tokenInvalid: '至少 32 个可见 ASCII 字符(不含空白)',
|
|
13
|
-
toolGroupsLabel: '
|
|
14
|
-
toolGroupsDescription: "空列表或 ['*'] =
|
|
13
|
+
toolGroupsLabel: '允许的工具分组',
|
|
14
|
+
toolGroupsDescription: "空列表或 ['*'] = 暴露所有分组的工具(仍受「允许暴露 restricted(受限)工具」约束)。",
|
|
15
15
|
allowRestrictedLabel: '允许暴露 restricted(受限)工具',
|
|
16
16
|
};
|
|
17
17
|
export const t = defineTexts({
|
package/dist/texts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"texts.js","sourceRoot":"","sources":["../src/texts.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAEjC,MAAM,MAAM,GAAG;IACb,WAAW,EAAE,SAAS;IACtB,SAAS,EAAE,MAAM;IACjB,eAAe,EAAE,2CAA2C;IAC5D,SAAS,EAAE,MAAM;IACjB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,MAAM;IAClB,gBAAgB,EACd,
|
|
1
|
+
{"version":3,"file":"texts.js","sourceRoot":"","sources":["../src/texts.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAEjC,MAAM,MAAM,GAAG;IACb,WAAW,EAAE,SAAS;IACtB,SAAS,EAAE,MAAM;IACjB,eAAe,EAAE,2CAA2C;IAC5D,SAAS,EAAE,MAAM;IACjB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,MAAM;IAClB,gBAAgB,EACd,iGAAiG;IACnG,YAAY,EAAE,0BAA0B;IACxC,eAAe,EAAE,SAAS;IAC1B,qBAAqB,EAAE,sDAAsD;IAC7E,oBAAoB,EAAE,uBAAuB;CACrC,CAAC;AAGX,MAAM,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC;IAC3B,EAAE,EAAE,0BAA0B;IAC9B,QAAQ,EAAE,OAAO;IACjB,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,EAAE,EAAE,EAAE;CAChB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aalis/plugin-mcp-server",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^22.0.0",
|
|
34
34
|
"typescript": "^5.7.0",
|
|
35
|
-
"@aalis/core": "0.21.
|
|
35
|
+
"@aalis/core": "0.21.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@aalis/core": ">=0.21.0 <1.0.0"
|