@clowder-ai/connector-feishu 0.1.0-alpha.5 → 0.1.0-alpha.8
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/dist/thread-mappings.d.ts.map +1 -1
- package/npm-shrinkwrap.json +11 -11
- package/package.json +3 -3
- package/plugin.yaml +17 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-mappings.d.ts","sourceRoot":"","sources":["../src/thread-mappings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,KAAK,OAAO,GAAG;IAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAC/F,KAAK,QAAQ,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC;AA+CxH,wBAAgB,cAAc,CAAC,OAAO,EAAE,cAAc;sBA/B1B,MAAM;iBAwBjB,MAAM,YAAY,MAAM;mBACtB,MAAM;;wBAVD,MAAM,SAAS,QAAQ;;;;
|
|
1
|
+
{"version":3,"file":"thread-mappings.d.ts","sourceRoot":"","sources":["../src/thread-mappings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,KAAK,OAAO,GAAG;IAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAC/F,KAAK,QAAQ,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC;AA+CxH,wBAAgB,cAAc,CAAC,OAAO,EAAE,cAAc;sBA/B1B,MAAM;iBAwBjB,MAAM,YAAY,MAAM;mBACtB,MAAM;;wBAVD,MAAM,SAAS,QAAQ;;;;sBAqB0T,CAAC;uBAAiC,CAAC;;;;;;uBAA8S,CAAC;;;;;;;;;;;;;sBAA2f,CAAC;8BAAwC,CAAC;;EAD/tC"}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clowder-ai/connector-feishu",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.8",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@clowder-ai/connector-feishu",
|
|
9
|
-
"version": "0.1.0-alpha.
|
|
9
|
+
"version": "0.1.0-alpha.8",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@clowder-ai/plugin-sdk": "0.2.0-beta.
|
|
12
|
+
"@clowder-ai/plugin-sdk": "0.2.0-beta.24",
|
|
13
13
|
"@larksuiteoapi/node-sdk": "1.59.0",
|
|
14
14
|
"qrcode": "1.5.4",
|
|
15
|
-
"@clowder-ai/plugin-contract": "0.
|
|
15
|
+
"@clowder-ai/plugin-contract": "0.2.0"
|
|
16
16
|
},
|
|
17
17
|
"engines": {
|
|
18
18
|
"node": ">=20.0.0"
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@clowder-ai/plugin-contract": {
|
|
29
|
-
"version": "0.
|
|
30
|
-
"resolved": "https://registry.npmjs.org/@clowder-ai/plugin-contract/-/plugin-contract-0.
|
|
31
|
-
"integrity": "sha512-
|
|
29
|
+
"version": "0.2.0",
|
|
30
|
+
"resolved": "https://registry.npmjs.org/@clowder-ai/plugin-contract/-/plugin-contract-0.2.0.tgz",
|
|
31
|
+
"integrity": "sha512-pvA/A/s13JLnnYtCacQ3gS+rC3phS5fpNVczmOJemlcLfdCGMQL3VvS8v4TAKEogGVBvHiHEKGeDbwiSmZbCjQ==",
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"ajv": "^8.17.0",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"node_modules/@clowder-ai/plugin-sdk": {
|
|
42
|
-
"version": "0.2.0-beta.
|
|
43
|
-
"resolved": "https://registry.npmjs.org/@clowder-ai/plugin-sdk/-/plugin-sdk-0.2.0-beta.
|
|
44
|
-
"integrity": "sha512-
|
|
42
|
+
"version": "0.2.0-beta.24",
|
|
43
|
+
"resolved": "https://registry.npmjs.org/@clowder-ai/plugin-sdk/-/plugin-sdk-0.2.0-beta.24.tgz",
|
|
44
|
+
"integrity": "sha512-obnziD7d+OHHjQp3eNUKHeZJU5CZ1NC5yonWAak4koXX+Jg8o8wzld3CcBhfGMbZCghIvCFJuXMMTXhNjx7u+g==",
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@clowder-ai/plugin-contract": "0.
|
|
47
|
+
"@clowder-ai/plugin-contract": "0.2.0"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=20.0.0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clowder-ai/connector-feishu",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.8",
|
|
4
4
|
"description": "Feishu and Lark enterprise messaging connector for Clowder AI hosts",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"prepack": "pnpm build"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@clowder-ai/plugin-sdk": "0.2.0-beta.
|
|
36
|
+
"@clowder-ai/plugin-sdk": "0.2.0-beta.24",
|
|
37
37
|
"@larksuiteoapi/node-sdk": "1.59.0",
|
|
38
38
|
"qrcode": "1.5.4",
|
|
39
|
-
"@clowder-ai/plugin-contract": "0.
|
|
39
|
+
"@clowder-ai/plugin-contract": "0.2.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "^20.17.0",
|
package/plugin.yaml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
pluginId: official.connector.feishu
|
|
2
|
-
version: 0.1.0-alpha.
|
|
3
|
-
contractVersion: 0.
|
|
2
|
+
version: 0.1.0-alpha.8
|
|
3
|
+
contractVersion: 0.2.0
|
|
4
4
|
name: Feishu / Lark Connector
|
|
5
5
|
description:
|
|
6
6
|
default: Receive and send Feishu or Lark messages through a Host-owned connector binding.
|
|
@@ -21,7 +21,7 @@ configuration:
|
|
|
21
21
|
- key: connectionMode
|
|
22
22
|
label: 连接模式
|
|
23
23
|
kind: select
|
|
24
|
-
required:
|
|
24
|
+
required: true
|
|
25
25
|
default: webhook
|
|
26
26
|
options:
|
|
27
27
|
- value: webhook
|
|
@@ -31,10 +31,7 @@ configuration:
|
|
|
31
31
|
- key: verificationToken
|
|
32
32
|
label: Verification Token
|
|
33
33
|
kind: secret
|
|
34
|
-
required:
|
|
35
|
-
requiredWhen:
|
|
36
|
-
key: connectionMode
|
|
37
|
-
value: webhook
|
|
34
|
+
required: true
|
|
38
35
|
- key: groupBotMentionsJson
|
|
39
36
|
label: Group Bot Mentions (JSON, .env-only)
|
|
40
37
|
kind: string
|
|
@@ -67,6 +64,19 @@ configuration:
|
|
|
67
64
|
action:
|
|
68
65
|
method: feishu.disconnect
|
|
69
66
|
next: qr-generate
|
|
67
|
+
configurationVariants:
|
|
68
|
+
discriminator: connectionMode
|
|
69
|
+
branches:
|
|
70
|
+
- id: webhook
|
|
71
|
+
when:
|
|
72
|
+
properties:
|
|
73
|
+
connectionMode: { const: webhook }
|
|
74
|
+
fields: [verificationToken]
|
|
75
|
+
- id: websocket
|
|
76
|
+
when:
|
|
77
|
+
properties:
|
|
78
|
+
connectionMode: { const: websocket }
|
|
79
|
+
fields: []
|
|
70
80
|
test:
|
|
71
81
|
action:
|
|
72
82
|
method: feishu.test
|