@zhin.js/adapter-github 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-github
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,9 +2,42 @@ export const githubConsoleSpec = {
2
2
  adapterKey: 'github',
3
3
  adapterDisplayName: 'GitHub',
4
4
  fields: [
5
- { key: 'app_id', required: true, env: true, description: 'GitHub App ID' },
6
- { key: 'private_key', required: true, secret: true, description: 'PEM 文件路径(推荐,如 ./data/xxx.pem)或 PEM 内容', descriptionI18n: { en: 'PEM file path (recommended) or PEM content' } },
7
- { key: 'webhook_secret', env: true, description: 'webhook 签名密钥(不配则 API-only)', descriptionI18n: { en: 'Webhook signing secret (API-only when omitted)' } },
5
+ {
6
+ key: 'app_id',
7
+ required: true,
8
+ env: true,
9
+ label: 'GitHub App ID',
10
+ labelI18n: { en: 'GitHub App ID' },
11
+ group: '应用凭证与私钥',
12
+ groupI18n: { en: 'App Credentials & Key' },
13
+ placeholder: '123456',
14
+ description: 'GitHub App 设置页中的 App ID',
15
+ descriptionI18n: { en: 'GitHub App ID' },
16
+ },
17
+ {
18
+ key: 'private_key',
19
+ required: true,
20
+ secret: true,
21
+ label: '私钥路径或 PEM 内容',
22
+ labelI18n: { en: 'Private Key Path or PEM' },
23
+ group: '应用凭证与私钥',
24
+ groupI18n: { en: 'App Credentials & Key' },
25
+ placeholder: './data/github-app.pem',
26
+ description: 'PEM 文件路径(推荐,如 ./data/xxx.pem)或 PEM 内容',
27
+ descriptionI18n: { en: 'PEM file path (recommended) or PEM content' },
28
+ },
29
+ {
30
+ key: 'webhook_secret',
31
+ env: true,
32
+ label: 'Webhook Secret (签名密钥)',
33
+ labelI18n: { en: 'Webhook Secret' },
34
+ group: 'Webhook 回调',
35
+ groupI18n: { en: 'Webhook Callback' },
36
+ placeholder: '留空则仅作为 API-only 出站模式运行',
37
+ placeholderI18n: { en: 'Optional webhook secret (API-only if omitted)' },
38
+ description: 'webhook 签名密钥(不配则 API-only)',
39
+ descriptionI18n: { en: 'Webhook signing secret (API-only when omitted)' },
40
+ },
8
41
  ],
9
42
  docsUrl: 'https://zhin.js.org/adapters/github',
10
43
  readPermission: 'github:read',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-github",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "description": "Zhin.js GitHub adapter for Plugin Runtime (App auth + webhook)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -39,27 +39,27 @@
39
39
  "directory": "plugins/adapters/github"
40
40
  },
41
41
  "dependencies": {
42
- "@zhin.js/adapter": "1.1.30",
43
- "@zhin.js/agent-feature": "1.1.15",
44
- "@zhin.js/console-contract": "1.1.4",
45
- "@zhin.js/core": "1.1.58",
46
- "@zhin.js/feature-kit": "1.1.14",
47
- "@zhin.js/host-http": "1.1.16",
42
+ "@zhin.js/adapter": "1.1.32",
43
+ "@zhin.js/agent-feature": "1.1.16",
44
+ "@zhin.js/console-contract": "1.1.5",
45
+ "@zhin.js/core": "1.1.60",
46
+ "@zhin.js/feature-kit": "1.1.15",
47
+ "@zhin.js/host-http": "1.1.17",
48
48
  "@zhin.js/im-contract": "1.1.13",
49
49
  "@zhin.js/logger": "1.1.2",
50
- "@zhin.js/page": "1.1.16",
51
- "@zhin.js/skill": "1.1.15",
52
- "@zhin.js/tool": "1.1.17"
50
+ "@zhin.js/page": "1.1.17",
51
+ "@zhin.js/skill": "1.1.16",
52
+ "@zhin.js/tool": "1.1.18"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "zod": "^4.0.0",
56
- "@zhin.js/adapter": "^1.1.30",
57
- "@zhin.js/agent": "^1.1.49",
58
- "@zhin.js/command": "^1.1.16",
59
- "@zhin.js/core": "^1.1.58",
60
- "@zhin.js/host-http": "^1.1.16",
61
- "@zhin.js/prompt-section": "^1.1.14",
62
- "zhin.js": "^1.1.23"
56
+ "@zhin.js/adapter": "^1.1.32",
57
+ "@zhin.js/agent": "^1.1.51",
58
+ "@zhin.js/command": "^1.1.17",
59
+ "@zhin.js/core": "^1.1.60",
60
+ "@zhin.js/host-http": "^1.1.17",
61
+ "@zhin.js/prompt-section": "^1.1.15",
62
+ "zhin.js": "^1.1.25"
63
63
  },
64
64
  "peerDependenciesMeta": {
65
65
  "@zhin.js/agent": {
@@ -83,9 +83,9 @@
83
83
  "typescript": "^6.0.3",
84
84
  "vitest": "^4.1.10",
85
85
  "zod": "^4.4.3",
86
- "@zhin.js/agent": "1.1.49",
87
- "@zhin.js/prompt-section": "1.1.14",
88
- "zhin.js": "1.1.23"
86
+ "@zhin.js/agent": "1.1.51",
87
+ "@zhin.js/prompt-section": "1.1.15",
88
+ "zhin.js": "1.1.25"
89
89
  },
90
90
  "files": [
91
91
  "adapters",
@@ -7,9 +7,42 @@ export const githubConsoleSpec = {
7
7
  adapterKey: 'github',
8
8
  adapterDisplayName: 'GitHub',
9
9
  fields: [
10
- { key: 'app_id', required: true, env: true, description: 'GitHub App ID' },
11
- { key: 'private_key', required: true, secret: true, description: 'PEM 文件路径(推荐,如 ./data/xxx.pem)或 PEM 内容', descriptionI18n: { en: 'PEM file path (recommended) or PEM content' } },
12
- { key: 'webhook_secret', env: true, description: 'webhook 签名密钥(不配则 API-only)', descriptionI18n: { en: 'Webhook signing secret (API-only when omitted)' } },
10
+ {
11
+ key: 'app_id',
12
+ required: true,
13
+ env: true,
14
+ label: 'GitHub App ID',
15
+ labelI18n: { en: 'GitHub App ID' },
16
+ group: '应用凭证与私钥',
17
+ groupI18n: { en: 'App Credentials & Key' },
18
+ placeholder: '123456',
19
+ description: 'GitHub App 设置页中的 App ID',
20
+ descriptionI18n: { en: 'GitHub App ID' },
21
+ },
22
+ {
23
+ key: 'private_key',
24
+ required: true,
25
+ secret: true,
26
+ label: '私钥路径或 PEM 内容',
27
+ labelI18n: { en: 'Private Key Path or PEM' },
28
+ group: '应用凭证与私钥',
29
+ groupI18n: { en: 'App Credentials & Key' },
30
+ placeholder: './data/github-app.pem',
31
+ description: 'PEM 文件路径(推荐,如 ./data/xxx.pem)或 PEM 内容',
32
+ descriptionI18n: { en: 'PEM file path (recommended) or PEM content' },
33
+ },
34
+ {
35
+ key: 'webhook_secret',
36
+ env: true,
37
+ label: 'Webhook Secret (签名密钥)',
38
+ labelI18n: { en: 'Webhook Secret' },
39
+ group: 'Webhook 回调',
40
+ groupI18n: { en: 'Webhook Callback' },
41
+ placeholder: '留空则仅作为 API-only 出站模式运行',
42
+ placeholderI18n: { en: 'Optional webhook secret (API-only if omitted)' },
43
+ description: 'webhook 签名密钥(不配则 API-only)',
44
+ descriptionI18n: { en: 'Webhook signing secret (API-only when omitted)' },
45
+ },
13
46
  ] as readonly AdapterConsoleField[],
14
47
  docsUrl: 'https://zhin.js.org/adapters/github',
15
48
  readPermission: 'github:read',