@openclaw-china/qqbot 2026.3.29 → 2026.4.23

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 QQBOT_CHANNEL_ID: "qqbot";
4
+ declare const QQBOT_CONFIG_CHANNEL_ID: "qqbot-china";
3
5
  declare const QQBotC2CMarkdownDeliveryModeSchema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["passive", "proactive-table-only", "proactive-all"]>>>;
4
6
  type QQBotC2CMarkdownDeliveryMode = z.input<typeof QQBotC2CMarkdownDeliveryModeSchema>;
5
7
  declare const QQBotC2CMarkdownChunkStrategySchema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["markdown-block", "length"]>>>;
@@ -462,8 +464,8 @@ declare const QQBotConfigSchema: z.ZodObject<{
462
464
  type QQBotConfig = z.input<typeof QQBotConfigSchema>;
463
465
  type QQBotAccountConfig = z.input<typeof QQBotAccountSchema>;
464
466
  interface PluginConfig {
465
- channels?: {
466
- qqbot?: QQBotConfig;
467
+ channels?: Record<string, unknown> & {
468
+ "qqbot-china"?: QQBotConfig;
467
469
  };
468
470
  }
469
471
  declare const DEFAULT_ACCOUNT_ID = "default";
@@ -480,7 +482,7 @@ interface ResolvedQQBotAccount {
480
482
  typingHeartbeatMode?: QQBotTypingHeartbeatMode;
481
483
  }
482
484
  interface QQBotSendResult {
483
- channel: "qqbot";
485
+ channel: typeof QQBOT_CHANNEL_ID;
484
486
  messageId?: string;
485
487
  timestamp?: number | string;
486
488
  refIdx?: string;
@@ -511,7 +513,7 @@ interface WizardPrompter {
511
513
  }
512
514
 
513
515
  declare const qqbotPlugin: {
514
- id: string;
516
+ id: "qqbot";
515
517
  meta: {
516
518
  id: "qqbot";
517
519
  label: "QQ Bot";
@@ -794,7 +796,7 @@ declare const qqbotPlugin: {
794
796
  };
795
797
  };
796
798
  reload: {
797
- configPrefixes: string[];
799
+ configPrefixes: "channels.qqbot-china"[];
798
800
  };
799
801
  onboarding: {
800
802
  channel: "qqbot";
@@ -1122,7 +1124,7 @@ interface MoltbotPluginApi {
1122
1124
  }
1123
1125
 
1124
1126
  declare const plugin: {
1125
- id: string;
1127
+ id: "qqbot";
1126
1128
  name: string;
1127
1129
  description: string;
1128
1130
  configSchema: {
@@ -1374,4 +1376,4 @@ declare const plugin: {
1374
1376
  register(api: MoltbotPluginApi): void;
1375
1377
  };
1376
1378
 
1377
- export { DEFAULT_ACCOUNT_ID, type KnownQQBotTarget, type MoltbotPluginApi, type QQBotAccountConfig, type QQBotConfig, type QQBotSendResult, type ResolvedQQBotAccount, clearKnownQQBotTargets, plugin as default, getKnownQQBotTarget, getQQBotRuntime, listKnownQQBotTargets, qqbotPlugin, removeKnownQQBotTarget, sendProactiveQQBotMessage, setQQBotRuntime };
1379
+ export { DEFAULT_ACCOUNT_ID, type KnownQQBotTarget, type MoltbotPluginApi, QQBOT_CHANNEL_ID, QQBOT_CONFIG_CHANNEL_ID, type QQBotAccountConfig, type QQBotConfig, type QQBotSendResult, type ResolvedQQBotAccount, clearKnownQQBotTargets, plugin as default, getKnownQQBotTarget, getQQBotRuntime, listKnownQQBotTargets, qqbotPlugin, removeKnownQQBotTarget, sendProactiveQQBotMessage, setQQBotRuntime };