@openclaw-china/feishu 0.1.8 → 0.1.9
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/clawdbot.plugin.json +28 -28
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/moltbot.plugin.json +28 -28
- package/package.json +23 -2
package/clawdbot.plugin.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "feishu",
|
|
3
|
-
"name": "Feishu",
|
|
4
|
-
"description": "飞书/Lark 消息渠道插件",
|
|
5
|
-
"version": "0.1.0",
|
|
6
|
-
"channels": ["feishu"],
|
|
7
|
-
"configSchema": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
"properties": {
|
|
11
|
-
"enabled": { "type": "boolean" },
|
|
12
|
-
"appId": { "type": "string" },
|
|
13
|
-
"appSecret": { "type": "string" },
|
|
14
|
-
"connectionMode": { "type": "string", "enum": ["websocket"] },
|
|
15
|
-
"dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist"] },
|
|
16
|
-
"groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
|
|
17
|
-
"requireMention": { "type": "boolean" },
|
|
18
|
-
"allowFrom": { "type": "array", "items": { "type": "string" } },
|
|
19
|
-
"groupAllowFrom": { "type": "array", "items": { "type": "string" } },
|
|
20
|
-
"sendMarkdownAsCard": { "type": "boolean" },
|
|
21
|
-
"historyLimit": { "type": "integer", "minimum": 0 },
|
|
22
|
-
"textChunkLimit": { "type": "integer", "minimum": 1 }
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"uiHints": {
|
|
26
|
-
"appId": { "label": "App ID" },
|
|
27
|
-
"appSecret": { "label": "App Secret", "sensitive": true }
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"id": "feishu",
|
|
3
|
+
"name": "Feishu",
|
|
4
|
+
"description": "飞书/Lark 消息渠道插件",
|
|
5
|
+
"version": "0.1.0",
|
|
6
|
+
"channels": ["feishu"],
|
|
7
|
+
"configSchema": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"properties": {
|
|
11
|
+
"enabled": { "type": "boolean" },
|
|
12
|
+
"appId": { "type": "string" },
|
|
13
|
+
"appSecret": { "type": "string" },
|
|
14
|
+
"connectionMode": { "type": "string", "enum": ["websocket"] },
|
|
15
|
+
"dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist"] },
|
|
16
|
+
"groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
|
|
17
|
+
"requireMention": { "type": "boolean" },
|
|
18
|
+
"allowFrom": { "type": "array", "items": { "type": "string" } },
|
|
19
|
+
"groupAllowFrom": { "type": "array", "items": { "type": "string" } },
|
|
20
|
+
"sendMarkdownAsCard": { "type": "boolean" },
|
|
21
|
+
"historyLimit": { "type": "integer", "minimum": 0 },
|
|
22
|
+
"textChunkLimit": { "type": "integer", "minimum": 1 }
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"uiHints": {
|
|
26
|
+
"appId": { "label": "App ID" },
|
|
27
|
+
"appSecret": { "label": "App Secret", "sensitive": true }
|
|
28
|
+
}
|
|
29
29
|
}
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var __export = (target, all) => {
|
|
|
6
6
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
// ../../node_modules
|
|
9
|
+
// ../../node_modules/zod/v3/external.js
|
|
10
10
|
var external_exports = {};
|
|
11
11
|
__export(external_exports, {
|
|
12
12
|
BRAND: () => BRAND,
|
|
@@ -118,7 +118,7 @@ __export(external_exports, {
|
|
|
118
118
|
void: () => voidType
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
// ../../node_modules
|
|
121
|
+
// ../../node_modules/zod/v3/helpers/util.js
|
|
122
122
|
var util;
|
|
123
123
|
(function(util2) {
|
|
124
124
|
util2.assertEqual = (_) => {
|
|
@@ -252,7 +252,7 @@ var getParsedType = (data) => {
|
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
// ../../node_modules
|
|
255
|
+
// ../../node_modules/zod/v3/ZodError.js
|
|
256
256
|
var ZodIssueCode = util.arrayToEnum([
|
|
257
257
|
"invalid_type",
|
|
258
258
|
"invalid_literal",
|
|
@@ -370,7 +370,7 @@ ZodError.create = (issues) => {
|
|
|
370
370
|
return error;
|
|
371
371
|
};
|
|
372
372
|
|
|
373
|
-
// ../../node_modules
|
|
373
|
+
// ../../node_modules/zod/v3/locales/en.js
|
|
374
374
|
var errorMap = (issue, _ctx) => {
|
|
375
375
|
let message;
|
|
376
376
|
switch (issue.code) {
|
|
@@ -473,7 +473,7 @@ var errorMap = (issue, _ctx) => {
|
|
|
473
473
|
};
|
|
474
474
|
var en_default = errorMap;
|
|
475
475
|
|
|
476
|
-
// ../../node_modules
|
|
476
|
+
// ../../node_modules/zod/v3/errors.js
|
|
477
477
|
var overrideErrorMap = en_default;
|
|
478
478
|
function setErrorMap(map) {
|
|
479
479
|
overrideErrorMap = map;
|
|
@@ -482,7 +482,7 @@ function getErrorMap() {
|
|
|
482
482
|
return overrideErrorMap;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
// ../../node_modules
|
|
485
|
+
// ../../node_modules/zod/v3/helpers/parseUtil.js
|
|
486
486
|
var makeIssue = (params) => {
|
|
487
487
|
const { data, path, errorMaps, issueData } = params;
|
|
488
488
|
const fullPath = [...path, ...issueData.path || []];
|
|
@@ -592,14 +592,14 @@ var isDirty = (x) => x.status === "dirty";
|
|
|
592
592
|
var isValid = (x) => x.status === "valid";
|
|
593
593
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
594
594
|
|
|
595
|
-
// ../../node_modules
|
|
595
|
+
// ../../node_modules/zod/v3/helpers/errorUtil.js
|
|
596
596
|
var errorUtil;
|
|
597
597
|
(function(errorUtil2) {
|
|
598
598
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
599
599
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
600
600
|
})(errorUtil || (errorUtil = {}));
|
|
601
601
|
|
|
602
|
-
// ../../node_modules
|
|
602
|
+
// ../../node_modules/zod/v3/types.js
|
|
603
603
|
var ParseInputLazyPath = class {
|
|
604
604
|
constructor(parent, value, path, key) {
|
|
605
605
|
this._cachedPath = [];
|