@openclaw/qqbot 2026.6.5-beta.5 → 2026.6.5-beta.6

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,4 +1,4 @@
1
- import { t as qqbotPlugin } from "./channel-CcN43bPL.js";
1
+ import { t as qqbotPlugin } from "./channel-D13iTVCr.js";
2
2
  import { a as resolveQQBotAccount, i as resolveDefaultQQBotAccountId, n as applyQQBotAccountConfig, r as listQQBotAccountIds, t as DEFAULT_ACCOUNT_ID } from "./config-ZEfgeoL4.js";
3
3
  import { t as qqbotSetupPlugin } from "./channel.setup-CQ_DFfPx.js";
4
4
  import { t as getFrameworkCommands } from "./slash-commands-impl-FRw-Dl44.js";
@@ -377,7 +377,7 @@ function createQQBotApprovalCapability() {
377
377
  },
378
378
  load: async () => {
379
379
  ensurePlatformAdapter();
380
- return (await import("./handler-runtime-JKYDlRdq.js")).qqbotApprovalNativeRuntime;
380
+ return (await import("./handler-runtime-DZXDF0GH.js")).qqbotApprovalNativeRuntime;
381
381
  }
382
382
  })
383
383
  });
@@ -667,7 +667,7 @@ function resolveQQBotGroupToolPolicy(params) {
667
667
  //#region extensions/qqbot/src/channel.ts
668
668
  let gatewayModulePromise;
669
669
  function loadGatewayModule() {
670
- gatewayModulePromise ??= import("./gateway-DdM2k3ss.js");
670
+ gatewayModulePromise ??= import("./gateway-DcL6jnps.js");
671
671
  return gatewayModulePromise;
672
672
  }
673
673
  let outboundMessagingModulePromise;
@@ -1,2 +1,2 @@
1
- import { t as qqbotPlugin } from "./channel-CcN43bPL.js";
1
+ import { t as qqbotPlugin } from "./channel-D13iTVCr.js";
2
2
  export { qqbotPlugin };
@@ -1,7 +1,7 @@
1
1
  import { C as getNextMsgSeq, D as downloadFile, F as StreamInputMode, I as StreamInputState, M as getMaxUploadSize, P as StreamContentType, T as openLocalFile, a as createRawInputNotifyFn, b as stopBackgroundTokenRefresh, c as getMessageApi, d as initSender, f as onMessageSent, g as sendText, h as sendMedia, i as clearTokenCache, j as getImageMimeType, k as formatFileSize, l as getPluginUserAgent, m as sendInputNotify, n as acknowledgeInteraction, o as getAccessToken, p as registerAccount, r as buildDeliveryTarget, s as getGatewayUrl, t as accountToCreds, u as initApiConfig, x as withTokenRetry, y as startBackgroundTokenRefresh } from "./sender-DIMG7jHz.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 { c as setBridgeLogger, o as ensurePlatformAdapter } from "./config-schema-BFLNZ8Nf.js";
4
- import { a as authorizeQQBotApprovalAction, i as toGatewayAccount, n as buildQQBotStateKey, p as parseApprovalButtonData, r as openQQBotSyncKeyedStore } from "./channel-CcN43bPL.js";
4
+ import { a as authorizeQQBotApprovalAction, i as toGatewayAccount, n as buildQQBotStateKey, p as parseApprovalButtonData, r as openQQBotSyncKeyedStore } from "./channel-D13iTVCr.js";
5
5
  import { d as resolveAccountBase } from "./config-ZEfgeoL4.js";
6
6
  import { a as formatErrorMessage, i as formatDuration, n as debugLog, r as debugWarn, t as debugError } from "./log-SDfMMBWe.js";
7
7
  import { n as getQQBotRuntimeForEngine, t as getQQBotRuntime } from "./runtime-B9UoQ5NI.js";
@@ -22,7 +22,6 @@ import path from "node:path";
22
22
  import { mimeTypeFromFilePath } from "openclaw/plugin-sdk/media-mime";
23
23
  import { MAX_TIMER_TIMEOUT_MS, finiteSecondsToTimerSafeMilliseconds } from "openclaw/plugin-sdk/number-runtime";
24
24
  import { resolveRuntimeServiceVersion } from "openclaw/plugin-sdk/cli-runtime";
25
- import { loadSessionStore } from "openclaw/plugin-sdk/session-store-runtime";
26
25
  import { getRuntimeConfig } from "openclaw/plugin-sdk/runtime-config-snapshot";
27
26
  import WebSocket from "ws";
28
27
  import { resolveAmbientNodeProxyAgent } from "openclaw/plugin-sdk/extension-shared";
@@ -66,7 +65,10 @@ function resolveSessionStorePath(cfg, agentId) {
66
65
  function createNodeSessionStoreReader() {
67
66
  return { read: ({ cfg, agentId }) => {
68
67
  try {
69
- return loadSessionStore(resolveSessionStorePath(cfg, agentId), { skipCache: true });
68
+ const storePath = resolveSessionStorePath(cfg, agentId);
69
+ if (!fs.existsSync(storePath)) return null;
70
+ const raw = fs.readFileSync(storePath, "utf-8");
71
+ return JSON.parse(raw);
70
72
  } catch {
71
73
  return null;
72
74
  }
@@ -1,6 +1,6 @@
1
1
  import { c as getMessageApi, t as accountToCreds } from "./sender-DIMG7jHz.js";
2
2
  import { o as ensurePlatformAdapter, s as getBridgeLogger } from "./config-schema-BFLNZ8Nf.js";
3
- import { c as resolveQQBotExecApprovalConfig, d as buildExecApprovalText, f as buildPluginApprovalText, l as shouldHandleQQBotExecApprovalRequest, m as resolveApprovalTarget, o as isQQBotExecApprovalClientEnabled, s as matchesQQBotApprovalAccount, u as buildApprovalKeyboard } from "./channel-CcN43bPL.js";
3
+ import { c as resolveQQBotExecApprovalConfig, d as buildExecApprovalText, f as buildPluginApprovalText, l as shouldHandleQQBotExecApprovalRequest, m as resolveApprovalTarget, o as isQQBotExecApprovalClientEnabled, s as matchesQQBotApprovalAccount, u as buildApprovalKeyboard } from "./channel-D13iTVCr.js";
4
4
  import { a as resolveQQBotAccount } from "./config-ZEfgeoL4.js";
5
5
  import { resolveApprovalRequestSessionConversation } from "openclaw/plugin-sdk/approval-native-runtime";
6
6
  import { createChannelApprovalNativeRuntimeAdapter } from "openclaw/plugin-sdk/approval-handler-runtime";
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/qqbot",
3
- "version": "2026.6.5-beta.5",
3
+ "version": "2026.6.5-beta.6",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/qqbot",
9
- "version": "2026.6.5-beta.5",
9
+ "version": "2026.6.5-beta.6",
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.5-beta.5"
18
+ "openclaw": ">=2026.6.5-beta.6"
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.5-beta.5",
3
+ "version": "2026.6.5-beta.6",
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.5-beta.5"
19
+ "openclaw": ">=2026.6.5-beta.6"
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.5-beta.5"
48
+ "pluginApi": ">=2026.6.5-beta.6"
49
49
  },
50
50
  "build": {
51
- "openclawVersion": "2026.6.5-beta.5"
51
+ "openclawVersion": "2026.6.5-beta.6"
52
52
  },
53
53
  "release": {
54
54
  "publishToClawHub": true,