@openclaw-china/qqbot 2026.3.18 → 2026.3.20
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 +27 -0
- package/dist/index.js +490 -55
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ declare const QQBotAccountSchema: z.ZodObject<{
|
|
|
31
31
|
markdownSupport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
32
32
|
c2cMarkdownDeliveryMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["passive", "proactive-table-only", "proactive-all"]>>>;
|
|
33
33
|
c2cMarkdownChunkStrategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["markdown-block", "length"]>>>;
|
|
34
|
+
c2cMarkdownSafeChunkByteLimit: z.ZodOptional<z.ZodNumber>;
|
|
34
35
|
typingHeartbeatMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["none", "idle", "always"]>>>;
|
|
35
36
|
typingHeartbeatIntervalMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
36
37
|
typingInputSeconds: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -84,6 +85,7 @@ declare const QQBotAccountSchema: z.ZodObject<{
|
|
|
84
85
|
secretId?: string | undefined;
|
|
85
86
|
secretKey?: string | undefined;
|
|
86
87
|
} | undefined;
|
|
88
|
+
c2cMarkdownSafeChunkByteLimit?: number | undefined;
|
|
87
89
|
allowFrom?: string[] | undefined;
|
|
88
90
|
groupAllowFrom?: string[] | undefined;
|
|
89
91
|
inboundMedia?: {
|
|
@@ -105,6 +107,7 @@ declare const QQBotAccountSchema: z.ZodObject<{
|
|
|
105
107
|
markdownSupport?: boolean | undefined;
|
|
106
108
|
c2cMarkdownDeliveryMode?: "passive" | "proactive-table-only" | "proactive-all" | undefined;
|
|
107
109
|
c2cMarkdownChunkStrategy?: "markdown-block" | "length" | undefined;
|
|
110
|
+
c2cMarkdownSafeChunkByteLimit?: number | undefined;
|
|
108
111
|
typingHeartbeatMode?: "none" | "idle" | "always" | undefined;
|
|
109
112
|
typingHeartbeatIntervalMs?: number | undefined;
|
|
110
113
|
typingInputSeconds?: number | undefined;
|
|
@@ -150,6 +153,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
|
|
|
150
153
|
markdownSupport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
151
154
|
c2cMarkdownDeliveryMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["passive", "proactive-table-only", "proactive-all"]>>>;
|
|
152
155
|
c2cMarkdownChunkStrategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["markdown-block", "length"]>>>;
|
|
156
|
+
c2cMarkdownSafeChunkByteLimit: z.ZodOptional<z.ZodNumber>;
|
|
153
157
|
typingHeartbeatMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["none", "idle", "always"]>>>;
|
|
154
158
|
typingHeartbeatIntervalMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
155
159
|
typingInputSeconds: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -202,6 +206,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
|
|
|
202
206
|
markdownSupport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
203
207
|
c2cMarkdownDeliveryMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["passive", "proactive-table-only", "proactive-all"]>>>;
|
|
204
208
|
c2cMarkdownChunkStrategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["markdown-block", "length"]>>>;
|
|
209
|
+
c2cMarkdownSafeChunkByteLimit: z.ZodOptional<z.ZodNumber>;
|
|
205
210
|
typingHeartbeatMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["none", "idle", "always"]>>>;
|
|
206
211
|
typingHeartbeatIntervalMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
207
212
|
typingInputSeconds: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -255,6 +260,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
|
|
|
255
260
|
secretId?: string | undefined;
|
|
256
261
|
secretKey?: string | undefined;
|
|
257
262
|
} | undefined;
|
|
263
|
+
c2cMarkdownSafeChunkByteLimit?: number | undefined;
|
|
258
264
|
allowFrom?: string[] | undefined;
|
|
259
265
|
groupAllowFrom?: string[] | undefined;
|
|
260
266
|
inboundMedia?: {
|
|
@@ -276,6 +282,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
|
|
|
276
282
|
markdownSupport?: boolean | undefined;
|
|
277
283
|
c2cMarkdownDeliveryMode?: "passive" | "proactive-table-only" | "proactive-all" | undefined;
|
|
278
284
|
c2cMarkdownChunkStrategy?: "markdown-block" | "length" | undefined;
|
|
285
|
+
c2cMarkdownSafeChunkByteLimit?: number | undefined;
|
|
279
286
|
typingHeartbeatMode?: "none" | "idle" | "always" | undefined;
|
|
280
287
|
typingHeartbeatIntervalMs?: number | undefined;
|
|
281
288
|
typingInputSeconds?: number | undefined;
|
|
@@ -324,6 +331,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
|
|
|
324
331
|
secretId?: string | undefined;
|
|
325
332
|
secretKey?: string | undefined;
|
|
326
333
|
} | undefined;
|
|
334
|
+
c2cMarkdownSafeChunkByteLimit?: number | undefined;
|
|
327
335
|
allowFrom?: string[] | undefined;
|
|
328
336
|
groupAllowFrom?: string[] | undefined;
|
|
329
337
|
inboundMedia?: {
|
|
@@ -359,6 +367,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
|
|
|
359
367
|
secretId?: string | undefined;
|
|
360
368
|
secretKey?: string | undefined;
|
|
361
369
|
} | undefined;
|
|
370
|
+
c2cMarkdownSafeChunkByteLimit?: number | undefined;
|
|
362
371
|
allowFrom?: string[] | undefined;
|
|
363
372
|
groupAllowFrom?: string[] | undefined;
|
|
364
373
|
inboundMedia?: {
|
|
@@ -381,6 +390,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
|
|
|
381
390
|
markdownSupport?: boolean | undefined;
|
|
382
391
|
c2cMarkdownDeliveryMode?: "passive" | "proactive-table-only" | "proactive-all" | undefined;
|
|
383
392
|
c2cMarkdownChunkStrategy?: "markdown-block" | "length" | undefined;
|
|
393
|
+
c2cMarkdownSafeChunkByteLimit?: number | undefined;
|
|
384
394
|
typingHeartbeatMode?: "none" | "idle" | "always" | undefined;
|
|
385
395
|
typingHeartbeatIntervalMs?: number | undefined;
|
|
386
396
|
typingInputSeconds?: number | undefined;
|
|
@@ -416,6 +426,7 @@ declare const QQBotConfigSchema: z.ZodObject<{
|
|
|
416
426
|
markdownSupport?: boolean | undefined;
|
|
417
427
|
c2cMarkdownDeliveryMode?: "passive" | "proactive-table-only" | "proactive-all" | undefined;
|
|
418
428
|
c2cMarkdownChunkStrategy?: "markdown-block" | "length" | undefined;
|
|
429
|
+
c2cMarkdownSafeChunkByteLimit?: number | undefined;
|
|
419
430
|
typingHeartbeatMode?: "none" | "idle" | "always" | undefined;
|
|
420
431
|
typingHeartbeatIntervalMs?: number | undefined;
|
|
421
432
|
typingInputSeconds?: number | undefined;
|
|
@@ -577,6 +588,10 @@ declare const qqbotPlugin: {
|
|
|
577
588
|
type: string;
|
|
578
589
|
enum: string[];
|
|
579
590
|
};
|
|
591
|
+
c2cMarkdownSafeChunkByteLimit: {
|
|
592
|
+
type: string;
|
|
593
|
+
minimum: number;
|
|
594
|
+
};
|
|
580
595
|
dmPolicy: {
|
|
581
596
|
type: string;
|
|
582
597
|
enum: string[];
|
|
@@ -690,6 +705,10 @@ declare const qqbotPlugin: {
|
|
|
690
705
|
type: string;
|
|
691
706
|
enum: string[];
|
|
692
707
|
};
|
|
708
|
+
c2cMarkdownSafeChunkByteLimit: {
|
|
709
|
+
type: string;
|
|
710
|
+
minimum: number;
|
|
711
|
+
};
|
|
693
712
|
dmPolicy: {
|
|
694
713
|
type: string;
|
|
695
714
|
enum: string[];
|
|
@@ -1134,6 +1153,10 @@ declare const plugin: {
|
|
|
1134
1153
|
type: string;
|
|
1135
1154
|
enum: string[];
|
|
1136
1155
|
};
|
|
1156
|
+
c2cMarkdownSafeChunkByteLimit: {
|
|
1157
|
+
type: string;
|
|
1158
|
+
minimum: number;
|
|
1159
|
+
};
|
|
1137
1160
|
dmPolicy: {
|
|
1138
1161
|
type: string;
|
|
1139
1162
|
enum: string[];
|
|
@@ -1247,6 +1270,10 @@ declare const plugin: {
|
|
|
1247
1270
|
type: string;
|
|
1248
1271
|
enum: string[];
|
|
1249
1272
|
};
|
|
1273
|
+
c2cMarkdownSafeChunkByteLimit: {
|
|
1274
|
+
type: string;
|
|
1275
|
+
minimum: number;
|
|
1276
|
+
};
|
|
1250
1277
|
dmPolicy: {
|
|
1251
1278
|
type: string;
|
|
1252
1279
|
enum: string[];
|