@zhin.js/adapter-line 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,29 @@
1
1
  # @zhin.js/adapter-line
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
+
12
+ ## 1.1.25
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [8adce16]
17
+ - @zhin.js/console-contract@1.1.5
18
+ - @zhin.js/host-http@1.1.17
19
+ - @zhin.js/core@1.1.59
20
+ - @zhin.js/page@1.1.17
21
+ - @zhin.js/adapter@1.1.31
22
+ - @zhin.js/agent-feature@1.1.16
23
+ - @zhin.js/feature-kit@1.1.15
24
+ - @zhin.js/skill@1.1.16
25
+ - @zhin.js/tool@1.1.18
26
+
3
27
  ## 1.1.24
4
28
 
5
29
  ### Patch Changes
@@ -2,8 +2,32 @@ export const lineConsoleSpec = {
2
2
  adapterKey: 'line',
3
3
  adapterDisplayName: 'LINE',
4
4
  fields: [
5
- { key: 'channelSecret', required: true, env: true, description: 'LINE channel secret' },
6
- { key: 'channelAccessToken', required: true, env: true, description: 'LINE channel access token' },
5
+ {
6
+ key: 'channelSecret',
7
+ required: true,
8
+ env: true,
9
+ label: 'Channel Secret (频道密钥)',
10
+ labelI18n: { en: 'Channel Secret' },
11
+ group: '基础认证',
12
+ groupI18n: { en: 'Basic Auth' },
13
+ placeholder: '32 位十六进制 Channel Secret',
14
+ placeholderI18n: { en: 'LINE Messaging API Channel Secret' },
15
+ description: 'LINE Developers 控制台生成的 Channel Secret',
16
+ descriptionI18n: { en: 'LINE channel secret' },
17
+ },
18
+ {
19
+ key: 'channelAccessToken',
20
+ required: true,
21
+ env: true,
22
+ label: 'Channel Access Token (访问令牌)',
23
+ labelI18n: { en: 'Channel Access Token' },
24
+ group: '基础认证',
25
+ groupI18n: { en: 'Basic Auth' },
26
+ placeholder: '长效 Channel Access Token',
27
+ placeholderI18n: { en: 'Long-lived Channel Access Token' },
28
+ description: 'LINE Messaging API 的长效 Channel Access Token',
29
+ descriptionI18n: { en: 'LINE channel access token' },
30
+ },
7
31
  ],
8
32
  docsUrl: 'https://zhin.js.org/adapters/line',
9
33
  readPermission: 'line:read',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-line",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "description": "Zhin.js LINE Messaging API adapter for Plugin Runtime (HTTP webhook)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -31,25 +31,25 @@
31
31
  "directory": "plugins/adapters/line"
32
32
  },
33
33
  "dependencies": {
34
- "@zhin.js/adapter": "1.1.30",
35
- "@zhin.js/agent-feature": "1.1.15",
36
- "@zhin.js/console-contract": "1.1.4",
37
- "@zhin.js/core": "1.1.58",
38
- "@zhin.js/feature-kit": "1.1.14",
39
- "@zhin.js/host-http": "1.1.16",
34
+ "@zhin.js/adapter": "1.1.32",
35
+ "@zhin.js/agent-feature": "1.1.16",
36
+ "@zhin.js/console-contract": "1.1.5",
37
+ "@zhin.js/core": "1.1.60",
38
+ "@zhin.js/feature-kit": "1.1.15",
39
+ "@zhin.js/host-http": "1.1.17",
40
40
  "@zhin.js/im-contract": "1.1.13",
41
41
  "@zhin.js/logger": "1.1.2",
42
- "@zhin.js/page": "1.1.16",
43
- "@zhin.js/skill": "1.1.15",
44
- "@zhin.js/tool": "1.1.17"
42
+ "@zhin.js/page": "1.1.17",
43
+ "@zhin.js/skill": "1.1.16",
44
+ "@zhin.js/tool": "1.1.18"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "zod": "^4.0.0",
48
- "@zhin.js/adapter": "^1.1.30",
49
- "@zhin.js/command": "^1.1.16",
50
- "@zhin.js/core": "^1.1.58",
51
- "@zhin.js/host-http": "^1.1.16",
52
- "zhin.js": "^1.1.23"
48
+ "@zhin.js/adapter": "^1.1.32",
49
+ "@zhin.js/command": "^1.1.17",
50
+ "@zhin.js/core": "^1.1.60",
51
+ "@zhin.js/host-http": "^1.1.17",
52
+ "zhin.js": "^1.1.25"
53
53
  },
54
54
  "peerDependenciesMeta": {
55
55
  "@zhin.js/command": {
@@ -67,7 +67,7 @@
67
67
  "typescript": "^6.0.3",
68
68
  "vitest": "^4.1.10",
69
69
  "zod": "^4.4.3",
70
- "zhin.js": "1.1.23"
70
+ "zhin.js": "1.1.25"
71
71
  },
72
72
  "files": [
73
73
  "adapters",
@@ -7,8 +7,32 @@ export const lineConsoleSpec = {
7
7
  adapterKey: 'line',
8
8
  adapterDisplayName: 'LINE',
9
9
  fields: [
10
- { key: 'channelSecret', required: true, env: true, description: 'LINE channel secret' },
11
- { key: 'channelAccessToken', required: true, env: true, description: 'LINE channel access token' },
10
+ {
11
+ key: 'channelSecret',
12
+ required: true,
13
+ env: true,
14
+ label: 'Channel Secret (频道密钥)',
15
+ labelI18n: { en: 'Channel Secret' },
16
+ group: '基础认证',
17
+ groupI18n: { en: 'Basic Auth' },
18
+ placeholder: '32 位十六进制 Channel Secret',
19
+ placeholderI18n: { en: 'LINE Messaging API Channel Secret' },
20
+ description: 'LINE Developers 控制台生成的 Channel Secret',
21
+ descriptionI18n: { en: 'LINE channel secret' },
22
+ },
23
+ {
24
+ key: 'channelAccessToken',
25
+ required: true,
26
+ env: true,
27
+ label: 'Channel Access Token (访问令牌)',
28
+ labelI18n: { en: 'Channel Access Token' },
29
+ group: '基础认证',
30
+ groupI18n: { en: 'Basic Auth' },
31
+ placeholder: '长效 Channel Access Token',
32
+ placeholderI18n: { en: 'Long-lived Channel Access Token' },
33
+ description: 'LINE Messaging API 的长效 Channel Access Token',
34
+ descriptionI18n: { en: 'LINE channel access token' },
35
+ },
12
36
  ] as readonly AdapterConsoleField[],
13
37
  docsUrl: 'https://zhin.js.org/adapters/line',
14
38
  readPermission: 'line:read',