@zhin.js/adapter-weixin-ilink 1.1.14 → 1.1.16

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/package.json +10 -10
  3. package/schema.json +41 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # @zhin.js/adapter-weixin-ilink
2
2
 
3
+ ## 1.1.16
4
+
5
+ ### Patch Changes
6
+
7
+ - 53bc6a0: 适配器配置标签、端点命令和工具反馈支持中英文;复用当前操作语言,保持协议值、用户内容、身份、权限与发送链路不变。Sandbox 展示使用项目语言,QQ 绑定与交互状态保留完整会话身份。
8
+ - Updated dependencies [334e92d]
9
+ - Updated dependencies [18296cf]
10
+ - Updated dependencies [08e64de]
11
+ - Updated dependencies [9cade30]
12
+ - Updated dependencies [53bc6a0]
13
+ - Updated dependencies [66b6404]
14
+ - Updated dependencies [adb4af2]
15
+ - Updated dependencies [69f9ef6]
16
+ - Updated dependencies [17d1301]
17
+ - @zhin.js/adapter@1.1.23
18
+ - @zhin.js/core@1.1.51
19
+ - @zhin.js/im-contract@1.1.7
20
+ - @zhin.js/feature-kit@1.1.9
21
+
22
+ ## 1.1.15
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [f98025b]
27
+ - Updated dependencies [66ec1a5]
28
+ - Updated dependencies [7d68df6]
29
+ - Updated dependencies [bf0fa9f]
30
+ - Updated dependencies [3326db3]
31
+ - Updated dependencies [e91235e]
32
+ - Updated dependencies [6da2bad]
33
+ - Updated dependencies [3781f1c]
34
+ - @zhin.js/core@1.1.50
35
+ - @zhin.js/adapter@1.1.22
36
+ - @zhin.js/im-contract@1.1.6
37
+ - @zhin.js/feature-kit@1.1.8
38
+
3
39
  ## 1.1.14
4
40
 
5
41
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-weixin-ilink",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "type": "module",
5
5
  "description": "Zhin.js Weixin iLink (ClawBot) adapter for Plugin Runtime (long-poll)",
6
6
  "main": "./lib/index.js",
@@ -48,17 +48,17 @@
48
48
  }
49
49
  },
50
50
  "dependencies": {
51
- "@zhin.js/adapter": "1.1.21",
52
- "@zhin.js/core": "1.1.49",
53
- "@zhin.js/feature-kit": "1.1.7",
54
- "@zhin.js/im-contract": "1.1.5",
51
+ "@zhin.js/adapter": "1.1.23",
52
+ "@zhin.js/core": "1.1.51",
53
+ "@zhin.js/feature-kit": "1.1.9",
54
+ "@zhin.js/im-contract": "1.1.7",
55
55
  "@zhin.js/logger": "1.1.2"
56
56
  },
57
57
  "peerDependencies": {
58
- "@zhin.js/adapter": "^1.1.21",
59
- "@zhin.js/command": "^1.1.9",
60
- "@zhin.js/core": "^1.1.49",
61
- "zhin.js": "^1.1.14"
58
+ "@zhin.js/adapter": "^1.1.23",
59
+ "@zhin.js/command": "^1.1.11",
60
+ "@zhin.js/core": "^1.1.51",
61
+ "zhin.js": "^1.1.16"
62
62
  },
63
63
  "peerDependenciesMeta": {
64
64
  "@zhin.js/command": {
@@ -72,7 +72,7 @@
72
72
  "@types/node": "^26.1.2",
73
73
  "typescript": "^6.0.3",
74
74
  "vitest": "^4.1.10",
75
- "zhin.js": "1.1.14"
75
+ "zhin.js": "1.1.16"
76
76
  },
77
77
  "ilink_appid": "bot",
78
78
  "engines": {
package/schema.json CHANGED
@@ -29,7 +29,12 @@
29
29
  "string",
30
30
  "number"
31
31
  ],
32
- "description": "框架 master(Weixin user id;AI/工具权限、endpoint 管理)。endpoints[i].master 可逐项覆盖"
32
+ "description": "框架 master(Weixin user id;AI/工具权限、endpoint 管理)。endpoints[i].master 可逐项覆盖",
33
+ "x-i18n": {
34
+ "en": {
35
+ "description": "Framework masters (Weixin user id; AI/tool permissions and endpoint management). endpoints[i].master can override this value."
36
+ }
37
+ }
33
38
  },
34
39
  "trusted": {
35
40
  "type": "array",
@@ -40,7 +45,12 @@
40
45
  ],
41
46
  "description": "Trusted Weixin user id"
42
47
  },
43
- "description": "框架 trusted 用户列表(弱于 master)。endpoints[i].trusted 可逐项追加"
48
+ "description": "框架 trusted 用户列表(弱于 master)。endpoints[i].trusted 可逐项追加",
49
+ "x-i18n": {
50
+ "en": {
51
+ "description": "Framework trusted users, below master authority. endpoints[i].trusted can add users."
52
+ }
53
+ }
44
54
  },
45
55
  "endpoints": {
46
56
  "type": "array",
@@ -55,7 +65,12 @@
55
65
  "string",
56
66
  "number"
57
67
  ],
58
- "description": "本 endpoint 的框架 master(Weixin user id);覆盖顶层 master"
68
+ "description": "本 endpoint 的框架 master(Weixin user id);覆盖顶层 master",
69
+ "x-i18n": {
70
+ "en": {
71
+ "description": "Framework masters for this endpoint (Weixin user id), overriding the top-level master list."
72
+ }
73
+ }
59
74
  },
60
75
  "trusted": {
61
76
  "type": "array",
@@ -66,7 +81,12 @@
66
81
  ],
67
82
  "description": "Trusted Weixin user id"
68
83
  },
69
- "description": "本 endpoint 的 trusted 列表"
84
+ "description": "本 endpoint 的 trusted 列表",
85
+ "x-i18n": {
86
+ "en": {
87
+ "description": "Trusted users for this endpoint."
88
+ }
89
+ }
70
90
  },
71
91
  "botToken": {
72
92
  "type": "string",
@@ -96,18 +116,33 @@
96
116
  },
97
117
  "commandPrefix": {
98
118
  "type": "string",
99
- "description": "本 endpoint 的命令前缀"
119
+ "description": "本 endpoint 的命令前缀",
120
+ "x-i18n": {
121
+ "en": {
122
+ "description": "Command prefix for this endpoint."
123
+ }
124
+ }
100
125
  }
101
126
  },
102
127
  "required": [
103
128
  "id"
104
129
  ]
130
+ },
131
+ "x-i18n": {
132
+ "en": {
133
+ "description": "Multiple accounts: mount multiple endpoints in one plugin instance. Each entry uses the top-level fields; id is required and other fields override defaults."
134
+ }
105
135
  }
106
136
  },
107
137
  "commandPrefix": {
108
138
  "type": "string",
109
139
  "default": "",
110
- "description": "命令前缀(默认 '' 无前缀,任意文本按命令匹配;如 '/' 要求 / 开头)。endpoints[i] 可逐项覆盖"
140
+ "description": "命令前缀(默认 '' 无前缀,任意文本按命令匹配;如 '/' 要求 / 开头)。endpoints[i] 可逐项覆盖",
141
+ "x-i18n": {
142
+ "en": {
143
+ "description": "Command prefix. The default empty string allows unprefixed commands; '/' requires a leading slash. Each endpoints[i] can override it."
144
+ }
145
+ }
111
146
  }
112
147
  },
113
148
  "required": [