@zhin.js/adapter-onebot11 1.1.24 → 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,32 @@
1
1
  # @zhin.js/adapter-onebot11
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/adapter-onebot-events@0.0.5
11
+ - @zhin.js/core@1.1.60
12
+
13
+ ## 1.1.25
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [8adce16]
18
+ - @zhin.js/console-contract@1.1.5
19
+ - @zhin.js/host-http@1.1.17
20
+ - @zhin.js/core@1.1.59
21
+ - @zhin.js/page@1.1.17
22
+ - @zhin.js/adapter-onebot-events@0.0.4
23
+ - @zhin.js/adapter@1.1.31
24
+ - @zhin.js/agent-feature@1.1.16
25
+ - @zhin.js/feature-kit@1.1.15
26
+ - @zhin.js/permission@1.1.15
27
+ - @zhin.js/skill@1.1.16
28
+ - @zhin.js/tool@1.1.18
29
+
3
30
  ## 1.1.24
4
31
 
5
32
  ### Patch Changes
@@ -2,9 +2,38 @@ export const onebot11ConsoleSpec = {
2
2
  adapterKey: 'onebot11',
3
3
  adapterDisplayName: 'OneBot 11',
4
4
  fields: [
5
- { key: 'url', description: 'OneBot 实现 WebSocket URL(connection: ws 必填)', descriptionI18n: { en: 'OneBot WebSocket URL (required for connection: ws)' } },
6
- { key: 'path', description: 'reverse-wss 路径(connection: wss)', descriptionI18n: { en: 'Reverse WebSocket path (connection: wss)' } },
7
- { key: 'access_token', env: true, description: 'OneBot access token' },
5
+ {
6
+ key: 'url',
7
+ label: '正向 WebSocket 地址',
8
+ labelI18n: { en: 'Forward WebSocket URL' },
9
+ group: '连接模式',
10
+ groupI18n: { en: 'Connection Mode' },
11
+ placeholder: 'ws://127.0.0.1:3001',
12
+ description: 'OneBot 实现 WebSocket URL(connection: ws 必填)',
13
+ descriptionI18n: { en: 'OneBot WebSocket URL (required for connection: ws)' },
14
+ },
15
+ {
16
+ key: 'path',
17
+ label: '反向 WebSocket 路径',
18
+ labelI18n: { en: 'Reverse WebSocket Path' },
19
+ group: '连接模式',
20
+ groupI18n: { en: 'Connection Mode' },
21
+ placeholder: '/onebot/v11/ws',
22
+ description: 'reverse-wss 路径(connection: wss)',
23
+ descriptionI18n: { en: 'Reverse WebSocket path (connection: wss)' },
24
+ },
25
+ {
26
+ key: 'access_token',
27
+ env: true,
28
+ label: 'Access Token (访问令牌)',
29
+ labelI18n: { en: 'Access Token' },
30
+ group: '安全认证',
31
+ groupI18n: { en: 'Authentication' },
32
+ placeholder: '与 OneBot 协议端一致的 Token',
33
+ placeholderI18n: { en: 'Token matching OneBot server config' },
34
+ description: 'OneBot 11 接口鉴权令牌(Access Token)',
35
+ descriptionI18n: { en: 'OneBot access token' },
36
+ },
8
37
  ],
9
38
  docsUrl: 'https://zhin.js.org/adapters/onebot11',
10
39
  readPermission: 'onebot11:read',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-onebot11",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "description": "Zhin.js OneBot 11 adapter for Plugin Runtime (WebSocket client)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -45,19 +45,19 @@
45
45
  "@imhelper/onebot-v11": "1.0.7",
46
46
  "imhelper": "1.0.7",
47
47
  "ws": "^8.21.1",
48
- "@zhin.js/adapter-onebot-events": "0.0.3",
49
- "@zhin.js/adapter": "1.1.30",
50
- "@zhin.js/agent-feature": "1.1.15",
51
- "@zhin.js/console-contract": "1.1.4",
52
- "@zhin.js/core": "1.1.58",
53
- "@zhin.js/feature-kit": "1.1.14",
54
- "@zhin.js/host-http": "1.1.16",
48
+ "@zhin.js/adapter-onebot-events": "0.0.5",
49
+ "@zhin.js/adapter": "1.1.32",
50
+ "@zhin.js/agent-feature": "1.1.16",
51
+ "@zhin.js/console-contract": "1.1.5",
52
+ "@zhin.js/core": "1.1.60",
53
+ "@zhin.js/feature-kit": "1.1.15",
54
+ "@zhin.js/host-http": "1.1.17",
55
55
  "@zhin.js/im-contract": "1.1.13",
56
56
  "@zhin.js/logger": "1.1.2",
57
- "@zhin.js/page": "1.1.16",
58
- "@zhin.js/permission": "1.1.14",
59
- "@zhin.js/skill": "1.1.15",
60
- "@zhin.js/tool": "1.1.17"
57
+ "@zhin.js/page": "1.1.17",
58
+ "@zhin.js/permission": "1.1.15",
59
+ "@zhin.js/skill": "1.1.16",
60
+ "@zhin.js/tool": "1.1.18"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/node": "^26.1.2",
@@ -65,15 +65,15 @@
65
65
  "typescript": "^6.0.3",
66
66
  "vitest": "^4.1.10",
67
67
  "zod": "^4.4.3",
68
- "@zhin.js/host-http": "1.1.16",
69
- "zhin.js": "1.1.23"
68
+ "@zhin.js/host-http": "1.1.17",
69
+ "zhin.js": "1.1.25"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "zod": "^4.0.0",
73
- "@zhin.js/adapter": "^1.1.30",
74
- "@zhin.js/command": "^1.1.16",
75
- "@zhin.js/core": "^1.1.58",
76
- "zhin.js": "^1.1.23"
73
+ "@zhin.js/adapter": "^1.1.32",
74
+ "@zhin.js/command": "^1.1.17",
75
+ "@zhin.js/core": "^1.1.60",
76
+ "zhin.js": "^1.1.25"
77
77
  },
78
78
  "peerDependenciesMeta": {
79
79
  "@zhin.js/command": {
@@ -7,9 +7,38 @@ export const onebot11ConsoleSpec = {
7
7
  adapterKey: 'onebot11',
8
8
  adapterDisplayName: 'OneBot 11',
9
9
  fields: [
10
- { key: 'url', description: 'OneBot 实现 WebSocket URL(connection: ws 必填)', descriptionI18n: { en: 'OneBot WebSocket URL (required for connection: ws)' } },
11
- { key: 'path', description: 'reverse-wss 路径(connection: wss)', descriptionI18n: { en: 'Reverse WebSocket path (connection: wss)' } },
12
- { key: 'access_token', env: true, description: 'OneBot access token' },
10
+ {
11
+ key: 'url',
12
+ label: '正向 WebSocket 地址',
13
+ labelI18n: { en: 'Forward WebSocket URL' },
14
+ group: '连接模式',
15
+ groupI18n: { en: 'Connection Mode' },
16
+ placeholder: 'ws://127.0.0.1:3001',
17
+ description: 'OneBot 实现 WebSocket URL(connection: ws 必填)',
18
+ descriptionI18n: { en: 'OneBot WebSocket URL (required for connection: ws)' },
19
+ },
20
+ {
21
+ key: 'path',
22
+ label: '反向 WebSocket 路径',
23
+ labelI18n: { en: 'Reverse WebSocket Path' },
24
+ group: '连接模式',
25
+ groupI18n: { en: 'Connection Mode' },
26
+ placeholder: '/onebot/v11/ws',
27
+ description: 'reverse-wss 路径(connection: wss)',
28
+ descriptionI18n: { en: 'Reverse WebSocket path (connection: wss)' },
29
+ },
30
+ {
31
+ key: 'access_token',
32
+ env: true,
33
+ label: 'Access Token (访问令牌)',
34
+ labelI18n: { en: 'Access Token' },
35
+ group: '安全认证',
36
+ groupI18n: { en: 'Authentication' },
37
+ placeholder: '与 OneBot 协议端一致的 Token',
38
+ placeholderI18n: { en: 'Token matching OneBot server config' },
39
+ description: 'OneBot 11 接口鉴权令牌(Access Token)',
40
+ descriptionI18n: { en: 'OneBot access token' },
41
+ },
13
42
  ] as readonly AdapterConsoleField[],
14
43
  docsUrl: 'https://zhin.js.org/adapters/onebot11',
15
44
  readPermission: 'onebot11:read',