@openclaw-china/feishu 0.1.7 → 0.1.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.
@@ -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
@@ -4234,7 +4234,7 @@ var feishuOutbound = {
4234
4234
  }
4235
4235
  };
4236
4236
 
4237
- // ../../node_modules/.pnpm/@openclaw-china+shared@0.1.5/node_modules/@openclaw-china/shared/src/logger/logger.ts
4237
+ // ../../packages/shared/src/logger/logger.ts
4238
4238
  function createLogger(prefix, opts) {
4239
4239
  const logFn = opts?.log ?? console.log;
4240
4240
  const errorFn = opts?.error ?? console.error;
@@ -4246,7 +4246,7 @@ function createLogger(prefix, opts) {
4246
4246
  };
4247
4247
  }
4248
4248
 
4249
- // ../../node_modules/.pnpm/@openclaw-china+shared@0.1.5/node_modules/@openclaw-china/shared/src/policy/dm-policy.ts
4249
+ // ../../packages/shared/src/policy/dm-policy.ts
4250
4250
  function checkDmPolicy(params) {
4251
4251
  const { dmPolicy, senderId, allowFrom = [] } = params;
4252
4252
  switch (dmPolicy) {
@@ -4267,7 +4267,7 @@ function checkDmPolicy(params) {
4267
4267
  }
4268
4268
  }
4269
4269
 
4270
- // ../../node_modules/.pnpm/@openclaw-china+shared@0.1.5/node_modules/@openclaw-china/shared/src/policy/group-policy.ts
4270
+ // ../../packages/shared/src/policy/group-policy.ts
4271
4271
  function checkGroupPolicy(params) {
4272
4272
  const { groupPolicy, conversationId, groupAllowFrom = [], requireMention, mentionedBot } = params;
4273
4273
  switch (groupPolicy) {