@openclaw-china/qqbot 2026.3.10 → 2026.3.12

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/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import { z } from 'zod';
2
2
 
3
+ declare const QQBotC2CMarkdownDeliveryModeSchema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["passive", "proactive-table-only", "proactive-all"]>>>;
4
+ type QQBotC2CMarkdownDeliveryMode = z.input<typeof QQBotC2CMarkdownDeliveryModeSchema>;
3
5
  declare const QQBotAccountSchema: z.ZodObject<{
4
6
  name: z.ZodOptional<z.ZodString>;
5
7
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -22,6 +24,7 @@ declare const QQBotAccountSchema: z.ZodObject<{
22
24
  secretKey?: unknown;
23
25
  }>>;
24
26
  markdownSupport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
27
+ c2cMarkdownDeliveryMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["passive", "proactive-table-only", "proactive-all"]>>>;
25
28
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "pairing", "allowlist"]>>>;
26
29
  groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "allowlist", "disabled"]>>>;
27
30
  requireMention: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -46,6 +49,7 @@ declare const QQBotAccountSchema: z.ZodObject<{
46
49
  }>>;
47
50
  }, "strip", z.ZodTypeAny, {
48
51
  markdownSupport: boolean;
52
+ c2cMarkdownDeliveryMode: "passive" | "proactive-table-only" | "proactive-all";
49
53
  dmPolicy: "open" | "pairing" | "allowlist";
50
54
  groupPolicy: "open" | "allowlist" | "disabled";
51
55
  requireMention: boolean;
@@ -84,6 +88,7 @@ declare const QQBotAccountSchema: z.ZodObject<{
84
88
  secretKey?: unknown;
85
89
  } | undefined;
86
90
  markdownSupport?: boolean | undefined;
91
+ c2cMarkdownDeliveryMode?: "passive" | "proactive-table-only" | "proactive-all" | undefined;
87
92
  dmPolicy?: "open" | "pairing" | "allowlist" | undefined;
88
93
  groupPolicy?: "open" | "allowlist" | "disabled" | undefined;
89
94
  requireMention?: boolean | undefined;
@@ -123,6 +128,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
123
128
  secretKey?: unknown;
124
129
  }>>;
125
130
  markdownSupport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
131
+ c2cMarkdownDeliveryMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["passive", "proactive-table-only", "proactive-all"]>>>;
126
132
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "pairing", "allowlist"]>>>;
127
133
  groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "allowlist", "disabled"]>>>;
128
134
  requireMention: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -169,6 +175,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
169
175
  secretKey?: unknown;
170
176
  }>>;
171
177
  markdownSupport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
178
+ c2cMarkdownDeliveryMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["passive", "proactive-table-only", "proactive-all"]>>>;
172
179
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "pairing", "allowlist"]>>>;
173
180
  groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "allowlist", "disabled"]>>>;
174
181
  requireMention: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -193,6 +200,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
193
200
  }>>;
194
201
  }, "strip", z.ZodTypeAny, {
195
202
  markdownSupport: boolean;
203
+ c2cMarkdownDeliveryMode: "passive" | "proactive-table-only" | "proactive-all";
196
204
  dmPolicy: "open" | "pairing" | "allowlist";
197
205
  groupPolicy: "open" | "allowlist" | "disabled";
198
206
  requireMention: boolean;
@@ -231,6 +239,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
231
239
  secretKey?: unknown;
232
240
  } | undefined;
233
241
  markdownSupport?: boolean | undefined;
242
+ c2cMarkdownDeliveryMode?: "passive" | "proactive-table-only" | "proactive-all" | undefined;
234
243
  dmPolicy?: "open" | "pairing" | "allowlist" | undefined;
235
244
  groupPolicy?: "open" | "allowlist" | "disabled" | undefined;
236
245
  requireMention?: boolean | undefined;
@@ -250,6 +259,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
250
259
  }>>>;
251
260
  }, "strip", z.ZodTypeAny, {
252
261
  markdownSupport: boolean;
262
+ c2cMarkdownDeliveryMode: "passive" | "proactive-table-only" | "proactive-all";
253
263
  dmPolicy: "open" | "pairing" | "allowlist";
254
264
  groupPolicy: "open" | "allowlist" | "disabled";
255
265
  requireMention: boolean;
@@ -279,6 +289,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
279
289
  defaultAccount?: string | undefined;
280
290
  accounts?: Record<string, {
281
291
  markdownSupport: boolean;
292
+ c2cMarkdownDeliveryMode: "passive" | "proactive-table-only" | "proactive-all";
282
293
  dmPolicy: "open" | "pairing" | "allowlist";
283
294
  groupPolicy: "open" | "allowlist" | "disabled";
284
295
  requireMention: boolean;
@@ -318,6 +329,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
318
329
  secretKey?: unknown;
319
330
  } | undefined;
320
331
  markdownSupport?: boolean | undefined;
332
+ c2cMarkdownDeliveryMode?: "passive" | "proactive-table-only" | "proactive-all" | undefined;
321
333
  dmPolicy?: "open" | "pairing" | "allowlist" | undefined;
322
334
  groupPolicy?: "open" | "allowlist" | "disabled" | undefined;
323
335
  requireMention?: boolean | undefined;
@@ -347,6 +359,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
347
359
  secretKey?: unknown;
348
360
  } | undefined;
349
361
  markdownSupport?: boolean | undefined;
362
+ c2cMarkdownDeliveryMode?: "passive" | "proactive-table-only" | "proactive-all" | undefined;
350
363
  dmPolicy?: "open" | "pairing" | "allowlist" | undefined;
351
364
  groupPolicy?: "open" | "allowlist" | "disabled" | undefined;
352
365
  requireMention?: boolean | undefined;
@@ -380,11 +393,13 @@ interface ResolvedQQBotAccount {
380
393
  configured: boolean;
381
394
  appId?: string;
382
395
  markdownSupport?: boolean;
396
+ c2cMarkdownDeliveryMode?: QQBotC2CMarkdownDeliveryMode;
383
397
  }
384
398
  interface QQBotSendResult {
385
399
  channel: "qqbot";
386
400
  messageId?: string;
387
401
  timestamp?: number | string;
402
+ refIdx?: string;
388
403
  error?: string;
389
404
  }
390
405
  type QQChatType = "direct" | "group" | "channel";
@@ -424,7 +439,7 @@ declare const qqbotPlugin: {
424
439
  order: 72;
425
440
  };
426
441
  capabilities: {
427
- chatTypes: readonly ["direct", "channel"];
442
+ chatTypes: readonly ["direct", "group", "channel"];
428
443
  media: boolean;
429
444
  reactions: boolean;
430
445
  threads: boolean;
@@ -487,6 +502,10 @@ declare const qqbotPlugin: {
487
502
  markdownSupport: {
488
503
  type: string;
489
504
  };
505
+ c2cMarkdownDeliveryMode: {
506
+ type: string;
507
+ enum: string[];
508
+ };
490
509
  dmPolicy: {
491
510
  type: string;
492
511
  enum: string[];
@@ -586,6 +605,10 @@ declare const qqbotPlugin: {
586
605
  markdownSupport: {
587
606
  type: string;
588
607
  };
608
+ c2cMarkdownDeliveryMode: {
609
+ type: string;
610
+ enum: string[];
611
+ };
589
612
  dmPolicy: {
590
613
  type: string;
591
614
  enum: string[];
@@ -997,6 +1020,10 @@ declare const plugin: {
997
1020
  markdownSupport: {
998
1021
  type: string;
999
1022
  };
1023
+ c2cMarkdownDeliveryMode: {
1024
+ type: string;
1025
+ enum: string[];
1026
+ };
1000
1027
  dmPolicy: {
1001
1028
  type: string;
1002
1029
  enum: string[];
@@ -1096,6 +1123,10 @@ declare const plugin: {
1096
1123
  markdownSupport: {
1097
1124
  type: string;
1098
1125
  };
1126
+ c2cMarkdownDeliveryMode: {
1127
+ type: string;
1128
+ enum: string[];
1129
+ };
1099
1130
  dmPolicy: {
1100
1131
  type: string;
1101
1132
  enum: string[];