@openclaw/qqbot 2026.6.2-beta.1 → 2026.6.5-beta.2

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/api.js CHANGED
@@ -1,9 +1,9 @@
1
- import { C as getMessageReplyStats, D as setOutboundAudioPort, E as OUTBOUND_ERROR_CODES, S as getMessageReplyConfig, T as DEFAULT_MEDIA_SEND_ERROR, _ as sendVideoMsg, a as sendText, b as MESSAGE_REPLY_LIMIT, f as buildMediaTarget, g as sendPhoto, h as sendDocument, i as sendProactiveMessage, m as resolveOutboundMediaPath, n as sendCronMessage, p as parseTarget, r as sendMedia, v as sendVoice, w as recordMessageReply, x as checkMessageReplyLimit, y as resolveUserFacingMediaError } from "./outbound-CVVQeQxX.js";
1
+ import { C as getMessageReplyStats, D as setOutboundAudioPort, E as OUTBOUND_ERROR_CODES, S as getMessageReplyConfig, T as DEFAULT_MEDIA_SEND_ERROR, _ as sendVideoMsg, a as sendText, b as MESSAGE_REPLY_LIMIT, f as buildMediaTarget, g as sendPhoto, h as sendDocument, i as sendProactiveMessage, m as resolveOutboundMediaPath, n as sendCronMessage, p as parseTarget, r as sendMedia, v as sendVoice, w as recordMessageReply, x as checkMessageReplyLimit, y as resolveUserFacingMediaError } from "./outbound-CEqyriPT.js";
2
2
  import { c as listQQBotAccountIds, l as resolveDefaultQQBotAccountId, o as DEFAULT_ACCOUNT_ID, s as applyQQBotAccountConfig, u as resolveQQBotAccount } from "./config-schema-BI7AYP6Q.js";
3
- import { t as qqbotPlugin } from "./channel-BYYYPzrA.js";
3
+ import { t as qqbotPlugin } from "./channel-BLMrGYfg.js";
4
4
  import { C as debugError, l as getAccessToken, w as debugLog, z as formatErrorMessage } from "./runtime-BSgtMZ6G.js";
5
5
  import { t as qqbotSetupPlugin } from "./channel.setup-xBlmSU4X.js";
6
- import { r as getFrameworkCommands, t as getRequestContext } from "./request-context-BL0hymyD.js";
6
+ import { r as getFrameworkCommands, t as getRequestContext } from "./request-context-DsuA124s.js";
7
7
  import { resolveExpiresAtMsFromDurationMs } from "openclaw/plugin-sdk/number-runtime";
8
8
  import { callGatewayTool } from "openclaw/plugin-sdk/agent-harness-runtime";
9
9
  //#region extensions/qqbot/src/engine/tools/channel-api.ts
@@ -3,6 +3,7 @@ import { a as qqbotSetupAdapterShared, c as listQQBotAccountIds, i as qqbotMeta,
3
3
  import { T as debugWarn, t as getQQBotRuntime, w as debugLog, z as formatErrorMessage } from "./runtime-BSgtMZ6G.js";
4
4
  import { getExecApprovalReplyMetadata } from "openclaw/plugin-sdk/approval-runtime";
5
5
  import { createMessageReceiptFromOutboundResults, defineChannelMessageAdapter } from "openclaw/plugin-sdk/channel-outbound";
6
+ import { sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
6
7
  import { createChannelApprovalCapability } from "openclaw/plugin-sdk/approval-delivery-runtime";
7
8
  import { createLazyChannelApprovalNativeRuntimeAdapter } from "openclaw/plugin-sdk/approval-handler-adapter-runtime";
8
9
  import { resolveApprovalRequestChannelAccountId, resolveApprovalRequestSessionConversation } from "openclaw/plugin-sdk/approval-native-runtime";
@@ -375,7 +376,7 @@ function createQQBotApprovalCapability() {
375
376
  },
376
377
  load: async () => {
377
378
  ensurePlatformAdapter();
378
- return (await import("./handler-runtime-DEXmNJcJ.js")).qqbotApprovalNativeRuntime;
379
+ return (await import("./handler-runtime-CjXwuNlq.js")).qqbotApprovalNativeRuntime;
379
380
  }
380
381
  })
381
382
  });
@@ -923,12 +924,12 @@ function looksLikeQQBotTarget(id) {
923
924
  //#region extensions/qqbot/src/channel.ts
924
925
  let gatewayModulePromise;
925
926
  function loadGatewayModule() {
926
- gatewayModulePromise ??= import("./gateway-DNHe6a8p.js");
927
+ gatewayModulePromise ??= import("./gateway-iL9SWAED.js");
927
928
  return gatewayModulePromise;
928
929
  }
929
930
  let outboundMessagingModulePromise;
930
931
  function loadOutboundMessagingModule() {
931
- outboundMessagingModulePromise ??= import("./outbound-CVVQeQxX.js").then((n) => n.t);
932
+ outboundMessagingModulePromise ??= import("./outbound-CEqyriPT.js").then((n) => n.t);
932
933
  return outboundMessagingModulePromise;
933
934
  }
934
935
  function createQQBotSendReceipt(params) {
@@ -1077,6 +1078,7 @@ const qqbotPlugin = {
1077
1078
  chunker: (text, limit) => getQQBotRuntime().channel.text.chunkMarkdownText(text, limit),
1078
1079
  chunkerMode: "markdown",
1079
1080
  textChunkLimit: 5e3,
1081
+ sanitizeText: ({ text }) => sanitizeAssistantVisibleText(text),
1080
1082
  shouldSuppressLocalPayloadPrompt: ({ cfg, accountId, payload, hint }) => shouldSuppressLocalQQBotApprovalPrompt({
1081
1083
  cfg,
1082
1084
  accountId,
@@ -1,2 +1,2 @@
1
- import { t as qqbotPlugin } from "./channel-BYYYPzrA.js";
1
+ import { t as qqbotPlugin } from "./channel-BLMrGYfg.js";
2
2
  export { qqbotPlugin };
@@ -1,9 +1,9 @@
1
- import { D as setOutboundAudioPort, T as DEFAULT_MEDIA_SEND_ERROR, _ as sendVideoMsg, c as isCronReminderPayload, d as normalizeMediaTags, g as sendPhoto, h as sendDocument, l as isMediaPayload, o as decodeMediaPath, r as sendMedia, s as encodePayloadForCron, u as parseQQBotPayload, v as sendVoice, y as resolveUserFacingMediaError } from "./outbound-CVVQeQxX.js";
1
+ import { D as setOutboundAudioPort, T as DEFAULT_MEDIA_SEND_ERROR, _ as sendVideoMsg, c as isCronReminderPayload, d as normalizeMediaTags, g as sendPhoto, h as sendDocument, l as isMediaPayload, o as decodeMediaPath, r as sendMedia, s as encodePayloadForCron, u as parseQQBotPayload, v as sendVoice, y as resolveUserFacingMediaError } from "./outbound-CEqyriPT.js";
2
2
  import { c as getPlatformAdapter, i as normalizeOptionalString$1, n as normalizeLowercaseStringOrEmpty$1, o as readStringField, s as sanitizeFileName, t as asOptionalObjectRecord } from "./string-normalize-R_0cKO7Q.js";
3
3
  import { f as resolveAccountBase, h as setBridgeLogger, p as ensurePlatformAdapter } from "./config-schema-BI7AYP6Q.js";
4
- import { T as parseApprovalButtonData, _ as authorizeQQBotApprovalAction, a as checkSilkWasmAvailable, c as getQQBotDataPath, d as getTempDir, f as isLocalPath, g as toGatewayAccount, h as resolveQQBotPayloadLocalFilePath, i as openQQBotSyncKeyedStore, l as getQQBotMediaDir, m as normalizePath, o as getHomeDir, p as isWindows, r as buildQQBotStateKey, s as getQQBotDataDir } from "./channel-BYYYPzrA.js";
4
+ import { T as parseApprovalButtonData, _ as authorizeQQBotApprovalAction, a as checkSilkWasmAvailable, c as getQQBotDataPath, d as getTempDir, f as isLocalPath, g as toGatewayAccount, h as resolveQQBotPayloadLocalFilePath, i as openQQBotSyncKeyedStore, l as getQQBotMediaDir, m as normalizePath, o as getHomeDir, p as isWindows, r as buildQQBotStateKey, s as getQQBotDataDir } from "./channel-BLMrGYfg.js";
5
5
  import { B as StreamContentType, C as debugError, D as getNextMsgSeq, F as getImageMimeType, H as StreamInputState, I as getMaxUploadSize, N as formatFileSize, R as formatDuration, S as withTokenRetry, T as debugWarn, V as StreamInputMode, _ as sendInputNotify, a as acknowledgeInteraction, b as startBackgroundTokenRefresh, c as createRawInputNotifyFn, d as getMessageApi, f as getPluginUserAgent, g as registerAccount, h as onMessageSent, i as accountToCreds, j as downloadFile, k as openLocalFile, l as getAccessToken, m as initSender, n as getQQBotRuntimeForEngine, o as buildDeliveryTarget, p as initApiConfig, s as clearTokenCache, t as getQQBotRuntime, u as getGatewayUrl, v as sendMedia$1, w as debugLog, x as stopBackgroundTokenRefresh, y as sendText, z as formatErrorMessage } from "./runtime-BSgtMZ6G.js";
6
- import { a as getPluginVersion, i as getFrameworkVersion, n as runWithRequestContext, o as initCommands, s as matchSlashCommand } from "./request-context-BL0hymyD.js";
6
+ import { a as getPluginVersion, i as getFrameworkVersion, n as runWithRequestContext, o as initCommands, s as matchSlashCommand } from "./request-context-DsuA124s.js";
7
7
  import { asBoolean, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
8
8
  import { isImplicitSameChatApprovalAuthorization } from "openclaw/plugin-sdk/approval-auth-runtime";
9
9
  import * as fs$1 from "node:fs";
@@ -1,5 +1,5 @@
1
1
  import { m as getBridgeLogger, p as ensurePlatformAdapter, u as resolveQQBotAccount } from "./config-schema-BI7AYP6Q.js";
2
- import { C as buildExecApprovalText, E as resolveApprovalTarget, S as buildApprovalKeyboard, b as resolveQQBotExecApprovalConfig, v as isQQBotExecApprovalClientEnabled, w as buildPluginApprovalText, x as shouldHandleQQBotExecApprovalRequest, y as matchesQQBotApprovalAccount } from "./channel-BYYYPzrA.js";
2
+ import { C as buildExecApprovalText, E as resolveApprovalTarget, S as buildApprovalKeyboard, b as resolveQQBotExecApprovalConfig, v as isQQBotExecApprovalClientEnabled, w as buildPluginApprovalText, x as shouldHandleQQBotExecApprovalRequest, y as matchesQQBotApprovalAccount } from "./channel-BLMrGYfg.js";
3
3
  import { d as getMessageApi, i as accountToCreds } from "./runtime-BSgtMZ6G.js";
4
4
  import { resolveApprovalRequestSessionConversation } from "openclaw/plugin-sdk/approval-native-runtime";
5
5
  import { createChannelApprovalNativeRuntimeAdapter } from "openclaw/plugin-sdk/approval-handler-runtime";
@@ -1,5 +1,5 @@
1
1
  import { i as normalizeOptionalString, n as normalizeLowercaseStringOrEmpty, s as sanitizeFileName } from "./string-normalize-R_0cKO7Q.js";
2
- import { f as isLocalPath, h as resolveQQBotPayloadLocalFilePath, l as getQQBotMediaDir, m as normalizePath$1, n as parseTarget$1, s as getQQBotDataDir } from "./channel-BYYYPzrA.js";
2
+ import { f as isLocalPath, h as resolveQQBotPayloadLocalFilePath, l as getQQBotMediaDir, m as normalizePath$1, n as parseTarget$1, s as getQQBotDataDir } from "./channel-BLMrGYfg.js";
3
3
  import { A as checkFileSize, C as debugError, E as UploadDailyLimitExceededError, F as getImageMimeType, I as getMaxUploadSize, L as readFileAsync, M as fileExistsAsync, N as formatFileSize, O as UPLOAD_PREPARE_FALLBACK_CODE, P as getFileTypeName, T as debugWarn, i as accountToCreds, j as downloadFile, p as initApiConfig, v as sendMedia$1, w as debugLog, y as sendText$1, z as formatErrorMessage } from "./runtime-BSgtMZ6G.js";
4
4
  import { pathExistsSync, resolveLocalPathFromRootsSync } from "openclaw/plugin-sdk/security-runtime";
5
5
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { o as getHomeDir, p as isWindows, s as getQQBotDataDir, u as getQQBotMediaPath } from "./channel-BYYYPzrA.js";
1
+ import { o as getHomeDir, p as isWindows, s as getQQBotDataDir, u as getQQBotMediaPath } from "./channel-BLMrGYfg.js";
2
2
  import { w as debugLog } from "./runtime-BSgtMZ6G.js";
3
3
  import { uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import fs from "node:fs";
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/qqbot",
3
- "version": "2026.6.2-beta.1",
3
+ "version": "2026.6.5-beta.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/qqbot",
9
- "version": "2026.6.2-beta.1",
9
+ "version": "2026.6.5-beta.2",
10
10
  "dependencies": {
11
11
  "@tencent-connect/qqbot-connector": "1.1.0",
12
12
  "mpg123-decoder": "1.0.3",
@@ -15,7 +15,7 @@
15
15
  "zod": "4.4.3"
16
16
  },
17
17
  "peerDependencies": {
18
- "openclaw": ">=2026.6.2-beta.1"
18
+ "openclaw": ">=2026.6.5-beta.2"
19
19
  },
20
20
  "peerDependenciesMeta": {
21
21
  "openclaw": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/qqbot",
3
- "version": "2026.6.2-beta.1",
3
+ "version": "2026.6.5-beta.2",
4
4
  "private": false,
5
5
  "description": "OpenClaw QQ Bot channel plugin for group and direct-message workflows.",
6
6
  "repository": {
@@ -16,7 +16,7 @@
16
16
  "zod": "4.4.3"
17
17
  },
18
18
  "peerDependencies": {
19
- "openclaw": ">=2026.6.2-beta.1"
19
+ "openclaw": ">=2026.6.5-beta.2"
20
20
  },
21
21
  "peerDependenciesMeta": {
22
22
  "openclaw": {
@@ -45,10 +45,10 @@
45
45
  "minHostVersion": ">=2026.4.10"
46
46
  },
47
47
  "compat": {
48
- "pluginApi": ">=2026.6.2-beta.1"
48
+ "pluginApi": ">=2026.6.5-beta.2"
49
49
  },
50
50
  "build": {
51
- "openclawVersion": "2026.6.2-beta.1"
51
+ "openclawVersion": "2026.6.5-beta.2"
52
52
  },
53
53
  "release": {
54
54
  "publishToClawHub": true,