@zhin.js/adapter-milky 1.1.15 → 1.1.17
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/CHANGELOG.md +42 -0
- package/commands/milky/endpoint/definition.js +1 -1
- package/commands/milky/endpoint/definition.ts +1 -1
- package/package.json +15 -15
- package/schema.json +35 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @zhin.js/adapter-milky
|
|
2
2
|
|
|
3
|
+
## 1.1.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [f67883e]
|
|
8
|
+
- Updated dependencies [e23cabc]
|
|
9
|
+
- Updated dependencies [4d728c0]
|
|
10
|
+
- Updated dependencies [24a2b71]
|
|
11
|
+
- Updated dependencies [d0e1fac]
|
|
12
|
+
- Updated dependencies [1ca669a]
|
|
13
|
+
- Updated dependencies [3771f7a]
|
|
14
|
+
- Updated dependencies [4f96ad5]
|
|
15
|
+
- @zhin.js/core@1.1.52
|
|
16
|
+
- @zhin.js/adapter@1.1.24
|
|
17
|
+
- @zhin.js/host-http@1.1.11
|
|
18
|
+
- @zhin.js/im-contract@1.1.8
|
|
19
|
+
|
|
20
|
+
## 1.1.16
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 53bc6a0: 适配器配置标签、端点命令和工具反馈支持中英文;复用当前操作语言,保持协议值、用户内容、身份、权限与发送链路不变。Sandbox 展示使用项目语言,QQ 绑定与交互状态保留完整会话身份。
|
|
25
|
+
- Updated dependencies [334e92d]
|
|
26
|
+
- Updated dependencies [f3b7c9f]
|
|
27
|
+
- Updated dependencies [658a5fb]
|
|
28
|
+
- Updated dependencies [144a17b]
|
|
29
|
+
- Updated dependencies [18296cf]
|
|
30
|
+
- Updated dependencies [08e64de]
|
|
31
|
+
- Updated dependencies [9cade30]
|
|
32
|
+
- Updated dependencies [53bc6a0]
|
|
33
|
+
- Updated dependencies [7595136]
|
|
34
|
+
- Updated dependencies [66b6404]
|
|
35
|
+
- Updated dependencies [adb4af2]
|
|
36
|
+
- Updated dependencies [69f9ef6]
|
|
37
|
+
- Updated dependencies [17d1301]
|
|
38
|
+
- @zhin.js/adapter@1.1.23
|
|
39
|
+
- @zhin.js/host-http@1.1.10
|
|
40
|
+
- @zhin.js/core@1.1.51
|
|
41
|
+
- @zhin.js/skill@1.1.10
|
|
42
|
+
- @zhin.js/im-contract@1.1.7
|
|
43
|
+
- @zhin.js/feature-kit@1.1.9
|
|
44
|
+
|
|
3
45
|
## 1.1.15
|
|
4
46
|
|
|
5
47
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ export const milkyEndpointCommands = createEndpointCommands({
|
|
|
11
11
|
adapterDisplayName: 'Milky',
|
|
12
12
|
fields: [
|
|
13
13
|
{ key: 'baseUrl', required: true, description: 'Milky HTTP API base URL' },
|
|
14
|
-
{ key: 'path', description: 'webhook / reverse-wss 路径' },
|
|
14
|
+
{ key: 'path', description: 'webhook / reverse-wss 路径', descriptionI18n: { en: "Webhook / reverse-wss path" } },
|
|
15
15
|
{ key: 'access_token', env: true, description: 'Milky access token' },
|
|
16
16
|
],
|
|
17
17
|
running: (use) => use(milkyRuntimeStateToken).endpoints.values(),
|
|
@@ -11,7 +11,7 @@ export const milkyEndpointCommands = createEndpointCommands({
|
|
|
11
11
|
adapterDisplayName: 'Milky',
|
|
12
12
|
fields: [
|
|
13
13
|
{ key: 'baseUrl', required: true, description: 'Milky HTTP API base URL' },
|
|
14
|
-
{ key: 'path', description: 'webhook / reverse-wss 路径' },
|
|
14
|
+
{ key: 'path', description: 'webhook / reverse-wss 路径', descriptionI18n: { en: "Webhook / reverse-wss path" } },
|
|
15
15
|
{ key: 'access_token', env: true, description: 'Milky access token' },
|
|
16
16
|
],
|
|
17
17
|
running: (use) => use(milkyRuntimeStateToken).endpoints.values(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/adapter-milky",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "Zhin.js Milky adapter for Plugin Runtime (WebSocket client)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"@imhelper/milky-v1": "1.0.7",
|
|
43
43
|
"imhelper": "1.0.7",
|
|
44
44
|
"ws": "^8.21.1",
|
|
45
|
-
"@zhin.js/adapter": "1.1.
|
|
46
|
-
"@zhin.js/core": "1.1.
|
|
47
|
-
"@zhin.js/feature-kit": "1.1.
|
|
48
|
-
"@zhin.js/host-http": "1.1.
|
|
49
|
-
"@zhin.js/im-contract": "1.1.
|
|
45
|
+
"@zhin.js/adapter": "1.1.24",
|
|
46
|
+
"@zhin.js/core": "1.1.52",
|
|
47
|
+
"@zhin.js/feature-kit": "1.1.9",
|
|
48
|
+
"@zhin.js/host-http": "1.1.11",
|
|
49
|
+
"@zhin.js/im-contract": "1.1.8",
|
|
50
50
|
"@zhin.js/logger": "1.1.2",
|
|
51
|
-
"@zhin.js/skill": "1.1.
|
|
51
|
+
"@zhin.js/skill": "1.1.10"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "^26.1.2",
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"typescript": "^6.0.3",
|
|
57
57
|
"vitest": "^4.1.10",
|
|
58
58
|
"zod": "^4.4.3",
|
|
59
|
-
"@zhin.js/agent": "1.1.
|
|
60
|
-
"@zhin.js/host-http": "1.1.
|
|
61
|
-
"zhin.js": "1.1.
|
|
59
|
+
"@zhin.js/agent": "1.1.43",
|
|
60
|
+
"@zhin.js/host-http": "1.1.11",
|
|
61
|
+
"zhin.js": "1.1.17"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"zod": "^4.0.0",
|
|
65
|
-
"@zhin.js/adapter": "^1.1.
|
|
66
|
-
"@zhin.js/agent": "^1.1.
|
|
67
|
-
"@zhin.js/command": "^1.1.
|
|
68
|
-
"@zhin.js/core": "^1.1.
|
|
69
|
-
"zhin.js": "^1.1.
|
|
65
|
+
"@zhin.js/adapter": "^1.1.24",
|
|
66
|
+
"@zhin.js/agent": "^1.1.43",
|
|
67
|
+
"@zhin.js/command": "^1.1.11",
|
|
68
|
+
"@zhin.js/core": "^1.1.52",
|
|
69
|
+
"zhin.js": "^1.1.17"
|
|
70
70
|
},
|
|
71
71
|
"peerDependenciesMeta": {
|
|
72
72
|
"@zhin.js/agent": {
|
package/schema.json
CHANGED
|
@@ -27,7 +27,12 @@
|
|
|
27
27
|
"string",
|
|
28
28
|
"number"
|
|
29
29
|
],
|
|
30
|
-
"description": "框架 master(QQ uin;AI/工具权限、endpoint 管理)。endpoints[i].master 可逐项覆盖"
|
|
30
|
+
"description": "框架 master(QQ uin;AI/工具权限、endpoint 管理)。endpoints[i].master 可逐项覆盖",
|
|
31
|
+
"x-i18n": {
|
|
32
|
+
"en": {
|
|
33
|
+
"description": "Framework masters (QQ uin; AI/tool permissions and endpoint management). endpoints[i].master can override this value."
|
|
34
|
+
}
|
|
35
|
+
}
|
|
31
36
|
},
|
|
32
37
|
"trusted": {
|
|
33
38
|
"type": "array",
|
|
@@ -38,7 +43,12 @@
|
|
|
38
43
|
],
|
|
39
44
|
"description": "Trusted QQ uin"
|
|
40
45
|
},
|
|
41
|
-
"description": "框架 trusted 用户列表(弱于 master)。endpoints[i].trusted 可逐项追加"
|
|
46
|
+
"description": "框架 trusted 用户列表(弱于 master)。endpoints[i].trusted 可逐项追加",
|
|
47
|
+
"x-i18n": {
|
|
48
|
+
"en": {
|
|
49
|
+
"description": "Framework trusted users, below master authority. endpoints[i].trusted can add users."
|
|
50
|
+
}
|
|
51
|
+
}
|
|
42
52
|
},
|
|
43
53
|
"endpoints": {
|
|
44
54
|
"type": "array",
|
|
@@ -53,7 +63,12 @@
|
|
|
53
63
|
"string",
|
|
54
64
|
"number"
|
|
55
65
|
],
|
|
56
|
-
"description": "本 endpoint 的框架 master(QQ uin);覆盖顶层 master"
|
|
66
|
+
"description": "本 endpoint 的框架 master(QQ uin);覆盖顶层 master",
|
|
67
|
+
"x-i18n": {
|
|
68
|
+
"en": {
|
|
69
|
+
"description": "Framework masters for this endpoint (QQ uin), overriding the top-level master list."
|
|
70
|
+
}
|
|
71
|
+
}
|
|
57
72
|
},
|
|
58
73
|
"trusted": {
|
|
59
74
|
"type": "array",
|
|
@@ -64,7 +79,12 @@
|
|
|
64
79
|
],
|
|
65
80
|
"description": "Trusted QQ uin"
|
|
66
81
|
},
|
|
67
|
-
"description": "本 endpoint 的 trusted 列表"
|
|
82
|
+
"description": "本 endpoint 的 trusted 列表",
|
|
83
|
+
"x-i18n": {
|
|
84
|
+
"en": {
|
|
85
|
+
"description": "Trusted users for this endpoint."
|
|
86
|
+
}
|
|
87
|
+
}
|
|
68
88
|
},
|
|
69
89
|
"connection": {
|
|
70
90
|
"type": "string",
|
|
@@ -105,12 +125,22 @@
|
|
|
105
125
|
"id",
|
|
106
126
|
"baseUrl"
|
|
107
127
|
]
|
|
128
|
+
},
|
|
129
|
+
"x-i18n": {
|
|
130
|
+
"en": {
|
|
131
|
+
"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."
|
|
132
|
+
}
|
|
108
133
|
}
|
|
109
134
|
},
|
|
110
135
|
"commandPrefix": {
|
|
111
136
|
"type": "string",
|
|
112
137
|
"default": "",
|
|
113
|
-
"description": "命令前缀(默认 '' 无前缀,任意文本按命令匹配;如 '/' 要求 / 开头)。endpoints[i] 可逐项覆盖"
|
|
138
|
+
"description": "命令前缀(默认 '' 无前缀,任意文本按命令匹配;如 '/' 要求 / 开头)。endpoints[i] 可逐项覆盖",
|
|
139
|
+
"x-i18n": {
|
|
140
|
+
"en": {
|
|
141
|
+
"description": "Command prefix. The default empty string allows unprefixed commands; '/' requires a leading slash. Each endpoints[i] can override it."
|
|
142
|
+
}
|
|
143
|
+
}
|
|
114
144
|
}
|
|
115
145
|
},
|
|
116
146
|
"required": [
|