@zhin.js/adapter-milky 1.1.25 → 1.1.26

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @zhin.js/adapter-milky
2
2
 
3
+ ## 1.1.26
4
+
5
+ ### Patch Changes
6
+
7
+ - 0d76a7c: Overhaul Console interactive workbenches, platform-specific adapter account onboarding/login flows, DeclarativePageView visual/interactive capabilities, and official utility plugin Console pages.
8
+ - Updated dependencies [0d76a7c]
9
+ - @zhin.js/adapter@1.1.32
10
+ - @zhin.js/core@1.1.60
11
+
3
12
  ## 1.1.25
4
13
 
5
14
  ### Patch Changes
@@ -2,9 +2,39 @@ export const milkyConsoleSpec = {
2
2
  adapterKey: 'milky',
3
3
  adapterDisplayName: 'Milky',
4
4
  fields: [
5
- { key: 'baseUrl', required: true, description: 'Milky HTTP API base URL' },
6
- { key: 'path', description: 'webhook / reverse-wss 路径', descriptionI18n: { en: 'Webhook / reverse-wss path' } },
7
- { key: 'access_token', env: true, description: 'Milky access token' },
5
+ {
6
+ key: 'baseUrl',
7
+ required: true,
8
+ label: 'Milky 服务地址',
9
+ labelI18n: { en: 'Milky Base URL' },
10
+ group: '连接模式',
11
+ groupI18n: { en: 'Connection Mode' },
12
+ placeholder: 'http://127.0.0.1:3000',
13
+ description: 'Milky HTTP API base URL',
14
+ descriptionI18n: { en: 'Milky HTTP API base URL' },
15
+ },
16
+ {
17
+ key: 'path',
18
+ label: '事件回调 / 反向 WS 路径',
19
+ labelI18n: { en: 'Webhook / Reverse WS Path' },
20
+ group: '连接模式',
21
+ groupI18n: { en: 'Connection Mode' },
22
+ placeholder: '/milky/event',
23
+ description: 'webhook / reverse-wss 路径',
24
+ descriptionI18n: { en: 'Webhook / reverse-wss path' },
25
+ },
26
+ {
27
+ key: 'access_token',
28
+ env: true,
29
+ label: 'Access Token (访问令牌)',
30
+ labelI18n: { en: 'Access Token' },
31
+ group: '安全认证',
32
+ groupI18n: { en: 'Authentication' },
33
+ placeholder: 'Milky 服务端配置的 Access Token',
34
+ placeholderI18n: { en: 'Access token configured on Milky server' },
35
+ description: 'Milky 接口鉴权令牌(Access Token)',
36
+ descriptionI18n: { en: 'Milky access token' },
37
+ },
8
38
  ],
9
39
  docsUrl: 'https://zhin.js.org/adapters/milky',
10
40
  readPermission: 'milky:read',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-milky",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "description": "Zhin.js Milky adapter for Plugin Runtime (WebSocket client)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -43,9 +43,9 @@
43
43
  "@imhelper/milky-v1": "1.0.7",
44
44
  "imhelper": "1.0.7",
45
45
  "ws": "^8.21.1",
46
- "@zhin.js/adapter": "1.1.31",
46
+ "@zhin.js/adapter": "1.1.32",
47
47
  "@zhin.js/console-contract": "1.1.5",
48
- "@zhin.js/core": "1.1.59",
48
+ "@zhin.js/core": "1.1.60",
49
49
  "@zhin.js/feature-kit": "1.1.15",
50
50
  "@zhin.js/host-http": "1.1.17",
51
51
  "@zhin.js/im-contract": "1.1.13",
@@ -59,17 +59,17 @@
59
59
  "typescript": "^6.0.3",
60
60
  "vitest": "^4.1.10",
61
61
  "zod": "^4.4.3",
62
- "@zhin.js/agent": "1.1.50",
62
+ "@zhin.js/agent": "1.1.51",
63
63
  "@zhin.js/host-http": "1.1.17",
64
- "zhin.js": "1.1.24"
64
+ "zhin.js": "1.1.25"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "zod": "^4.0.0",
68
- "@zhin.js/adapter": "^1.1.31",
69
- "@zhin.js/agent": "^1.1.50",
68
+ "@zhin.js/adapter": "^1.1.32",
69
+ "@zhin.js/agent": "^1.1.51",
70
70
  "@zhin.js/command": "^1.1.17",
71
- "@zhin.js/core": "^1.1.59",
72
- "zhin.js": "^1.1.24"
71
+ "@zhin.js/core": "^1.1.60",
72
+ "zhin.js": "^1.1.25"
73
73
  },
74
74
  "peerDependenciesMeta": {
75
75
  "@zhin.js/agent": {
@@ -7,9 +7,39 @@ export const milkyConsoleSpec = {
7
7
  adapterKey: 'milky',
8
8
  adapterDisplayName: 'Milky',
9
9
  fields: [
10
- { key: 'baseUrl', required: true, description: 'Milky HTTP API base URL' },
11
- { key: 'path', description: 'webhook / reverse-wss 路径', descriptionI18n: { en: 'Webhook / reverse-wss path' } },
12
- { key: 'access_token', env: true, description: 'Milky access token' },
10
+ {
11
+ key: 'baseUrl',
12
+ required: true,
13
+ label: 'Milky 服务地址',
14
+ labelI18n: { en: 'Milky Base URL' },
15
+ group: '连接模式',
16
+ groupI18n: { en: 'Connection Mode' },
17
+ placeholder: 'http://127.0.0.1:3000',
18
+ description: 'Milky HTTP API base URL',
19
+ descriptionI18n: { en: 'Milky HTTP API base URL' },
20
+ },
21
+ {
22
+ key: 'path',
23
+ label: '事件回调 / 反向 WS 路径',
24
+ labelI18n: { en: 'Webhook / Reverse WS Path' },
25
+ group: '连接模式',
26
+ groupI18n: { en: 'Connection Mode' },
27
+ placeholder: '/milky/event',
28
+ description: 'webhook / reverse-wss 路径',
29
+ descriptionI18n: { en: 'Webhook / reverse-wss path' },
30
+ },
31
+ {
32
+ key: 'access_token',
33
+ env: true,
34
+ label: 'Access Token (访问令牌)',
35
+ labelI18n: { en: 'Access Token' },
36
+ group: '安全认证',
37
+ groupI18n: { en: 'Authentication' },
38
+ placeholder: 'Milky 服务端配置的 Access Token',
39
+ placeholderI18n: { en: 'Access token configured on Milky server' },
40
+ description: 'Milky 接口鉴权令牌(Access Token)',
41
+ descriptionI18n: { en: 'Milky access token' },
42
+ },
13
43
  ] as readonly AdapterConsoleField[],
14
44
  docsUrl: 'https://zhin.js.org/adapters/milky',
15
45
  readPermission: 'milky:read',