@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.
@@ -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 connecting to /sse and /messages must send the header Authorization: Bearer <token>. At least 32 visible ASCII characters with no whitespace; can be generated with openssl rand -hex 32. Stored in the secret store, and the WebUI does not show it back";
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 (empty = all, subject to the restricted switch)";
11
- readonly toolGroupsDescription: "An empty list or ['*'] = expose tools of all groups (still subject to allowRestricted).";
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;
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,wBAcG"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,wBAeG"}
@@ -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 connecting to /sse and /messages must send the header Authorization: Bearer <token>. At least 32 visible ASCII characters with no whitespace; can be generated with openssl rand -hex 32. Stored in the secret store, and the WebUI does not show it back',
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 (empty = all, subject to the restricted switch)',
12
- toolGroupsDescription: "An empty list or ['*'] = expose tools of all groups (still subject to allowRestricted).",
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
@@ -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,gRAAgR;IAClR,YAAY,EAAE,8DAA8D;IAC5E,eAAe,EAAE,qEAAqE;IACtF,qBAAqB,EAAE,yFAAyF;IAChH,oBAAoB,EAAE,iCAAiC;CACxD,CAAC,CAAC"}
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 客户端连 /sse 与 /messages 时要带请求头 Authorization: Bearer <令牌>。至少 32 个可见 ASCII 字符、不含空白,可用 openssl rand -hex 32 生成;存进密钥存储,WebUI 不回显";
8
+ readonly tokenDescription: "外部 MCP 客户端要在请求头带上 Authorization: Bearer <令牌>。至少 32 个可见 ASCII 字符、不含空白,可用 openssl rand -hex 32 生成";
9
9
  readonly tokenInvalid: "至少 32 个可见 ASCII 字符(不含空白)";
10
- readonly toolGroupsLabel: "允许的工具分组(空=全部,受受限开关约束)";
11
- readonly toolGroupsDescription: "空列表或 ['*'] = 暴露所有分组的工具(仍受 allowRestricted 约束)。";
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 客户端连 /sse 与 /messages 时要带请求头 Authorization: Bearer <令牌>。至少 32 个可见 ASCII 字符、不含空白,可用 openssl rand -hex 32 生成;存进密钥存储,WebUI 不回显";
22
+ readonly tokenDescription: "外部 MCP 客户端要在请求头带上 Authorization: Bearer <令牌>。至少 32 个可见 ASCII 字符、不含空白,可用 openssl rand -hex 32 生成";
23
23
  readonly tokenInvalid: "至少 32 个可见 ASCII 字符(不含空白)";
24
- readonly toolGroupsLabel: "允许的工具分组(空=全部,受受限开关约束)";
25
- readonly toolGroupsDescription: "空列表或 ['*'] = 暴露所有分组的工具(仍受 allowRestricted 约束)。";
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 客户端连 /sse 与 /messages 时要带请求头 Authorization: Bearer <令牌>。至少 32 个可见 ASCII 字符、不含空白,可用 openssl rand -hex 32 生成;存进密钥存储,WebUI 不回显',
11
+ tokenDescription: '外部 MCP 客户端要在请求头带上 Authorization: Bearer <令牌>。至少 32 个可见 ASCII 字符、不含空白,可用 openssl rand -hex 32 生成',
12
12
  tokenInvalid: '至少 32 个可见 ASCII 字符(不含空白)',
13
- toolGroupsLabel: '允许的工具分组(空=全部,受受限开关约束)',
14
- toolGroupsDescription: "空列表或 ['*'] = 暴露所有分组的工具(仍受 allowRestricted 约束)。",
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,oIAAoI;IACtI,YAAY,EAAE,0BAA0B;IACxC,eAAe,EAAE,uBAAuB;IACxC,qBAAqB,EAAE,gDAAgD;IACvE,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"}
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.0",
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.0"
35
+ "@aalis/core": "0.21.1"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@aalis/core": ">=0.21.0 <1.0.0"