@openclaw/qqbot 2026.5.9-beta.1 → 2026.5.10-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.
@@ -1,8 +1,8 @@
1
- import { l as ensurePlatformAdapter, u as getBridgeLogger } from "./resolve-D_06fV6-.js";
1
+ import { l as ensurePlatformAdapter, u as getBridgeLogger } from "./resolve-Cm33TWZp.js";
2
2
  import { a as resolveApprovalTarget, n as buildExecApprovalText, r as buildPluginApprovalText, t as buildApprovalKeyboard } from "./approval-cg0SVahb.js";
3
- import { a as resolveQQBotAccount } from "./config-D6545NkC.js";
4
- import { a as resolveQQBotExecApprovalConfig, i as matchesQQBotApprovalAccount, o as shouldHandleQQBotExecApprovalRequest, r as isQQBotExecApprovalClientEnabled } from "./exec-approvals-COUsM6wZ.js";
5
- import { c as getMessageApi, t as accountToCreds } from "./sender-CgdXGY2H.js";
3
+ import { a as resolveQQBotAccount } from "./config-BNAanXEH.js";
4
+ import { a as resolveQQBotExecApprovalConfig, i as matchesQQBotApprovalAccount, o as shouldHandleQQBotExecApprovalRequest, r as isQQBotExecApprovalClientEnabled } from "./exec-approvals-DgO1msIB.js";
5
+ import { c as getMessageApi, t as accountToCreds } from "./sender-C-TmIFow.js";
6
6
  import { resolveApprovalRequestSessionConversation } from "openclaw/plugin-sdk/approval-native-runtime";
7
7
  import { createChannelApprovalNativeRuntimeAdapter } from "openclaw/plugin-sdk/approval-handler-runtime";
8
8
  //#region extensions/qqbot/src/bridge/approval/handler-runtime.ts
@@ -1,6 +1,6 @@
1
- import { i as normalizeOptionalString, n as normalizeLowercaseStringOrEmpty, s as sanitizeFileName } from "./string-normalize-Ci6NM5DE.js";
2
- import { A as fileExistsAsync, C as debugWarn, E as UPLOAD_PREPARE_FALLBACK_CODE, F as readFileAsync, L as formatErrorMessage, M as getFileTypeName, N as getImageMimeType, O as checkFileSize, P as getMaxUploadSize, S as debugLog, g as sendText$1, h as sendMedia$1, j as formatFileSize, k as downloadFile, t as accountToCreds, u as initApiConfig, w as UploadDailyLimitExceededError, x as debugError } from "./sender-CgdXGY2H.js";
3
- import { c as getQQBotMediaDir, d as isLocalPath, m as resolveQQBotPayloadLocalFilePath, o as getQQBotDataDir, p as normalizePath, r as parseTarget$1 } from "./target-parser-DQ6J3Qe-.js";
1
+ import { i as normalizeOptionalString, n as normalizeLowercaseStringOrEmpty, s as sanitizeFileName } from "./string-normalize-BzzzPOeb.js";
2
+ import { A as fileExistsAsync, C as debugWarn, E as UPLOAD_PREPARE_FALLBACK_CODE, F as readFileAsync, L as formatErrorMessage, M as getFileTypeName, N as getImageMimeType, O as checkFileSize, P as getMaxUploadSize, S as debugLog, g as sendText$1, h as sendMedia$1, j as formatFileSize, k as downloadFile, t as accountToCreds, u as initApiConfig, w as UploadDailyLimitExceededError, x as debugError } from "./sender-C-TmIFow.js";
3
+ import { c as getQQBotMediaDir, d as isLocalPath, m as resolveQQBotPayloadLocalFilePath, o as getQQBotDataDir, p as normalizePath, r as parseTarget$1 } from "./target-parser-CTNFSKb1.js";
4
4
  import { pathExistsSync, resolveLocalPathFromRootsSync } from "openclaw/plugin-sdk/security-runtime";
5
5
  import path from "node:path";
6
6
  import { getFileExtension } from "openclaw/plugin-sdk/media-mime";
@@ -1,5 +1,5 @@
1
- import { S as debugLog } from "./sender-CgdXGY2H.js";
2
- import { a as getHomeDir, f as isWindows, l as getQQBotMediaPath, o as getQQBotDataDir } from "./target-parser-DQ6J3Qe-.js";
1
+ import { S as debugLog } from "./sender-C-TmIFow.js";
2
+ import { a as getHomeDir, f as isWindows, l as getQQBotMediaPath, o as getQQBotDataDir } from "./target-parser-CTNFSKb1.js";
3
3
  import fs from "node:fs";
4
4
  import path from "node:path";
5
5
  import { loadJsonFile } from "openclaw/plugin-sdk/json-store";
@@ -1,4 +1,4 @@
1
- import { a as normalizeStringifiedOptionalString, c as getPlatformAdapter, d as registerPlatformAdapterFactory, l as hasPlatformAdapter, o as readStringField, r as normalizeOptionalLowercaseString, t as asOptionalObjectRecord, u as registerPlatformAdapter } from "./string-normalize-Ci6NM5DE.js";
1
+ import { a as normalizeStringifiedOptionalString, c as getPlatformAdapter, d as registerPlatformAdapterFactory, l as hasPlatformAdapter, o as readStringField, r as normalizeOptionalLowercaseString, t as asOptionalObjectRecord, u as registerPlatformAdapter } from "./string-normalize-BzzzPOeb.js";
2
2
  import { hasConfiguredSecretInput, normalizeResolvedSecretInputString, normalizeSecretInputString } from "openclaw/plugin-sdk/secret-input";
3
3
  import { resolvePreferredOpenClawTmpDir } from "openclaw/plugin-sdk/temp-path";
4
4
  //#region extensions/qqbot/src/bridge/logger.ts
@@ -1,4 +1,4 @@
1
- import { _ as setOpenClawVersion } from "./sender-CgdXGY2H.js";
1
+ import { _ as setOpenClawVersion } from "./sender-C-TmIFow.js";
2
2
  import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
3
3
  //#region extensions/qqbot/src/bridge/runtime.ts
4
4
  const { setRuntime: _setRuntime, getRuntime: getQQBotRuntime } = createPluginRuntimeStore({
@@ -1,2 +1,2 @@
1
- import { r as setQQBotRuntime, t as getQQBotRuntime } from "./runtime-C3Qpr4Ph.js";
1
+ import { r as setQQBotRuntime, t as getQQBotRuntime } from "./runtime-CHGblcVc.js";
2
2
  export { getQQBotRuntime, setQQBotRuntime };
@@ -1,4 +1,4 @@
1
- import { c as getPlatformAdapter, i as normalizeOptionalString, s as sanitizeFileName } from "./string-normalize-Ci6NM5DE.js";
1
+ import { c as getPlatformAdapter, i as normalizeOptionalString, s as sanitizeFileName } from "./string-normalize-BzzzPOeb.js";
2
2
  import * as fs$1 from "node:fs";
3
3
  import os from "node:os";
4
4
  import * as crypto$1 from "node:crypto";
@@ -1,2 +1,2 @@
1
- import { t as qqbotSetupPlugin } from "./channel.setup-DS8qSqfn.js";
1
+ import { t as qqbotSetupPlugin } from "./channel.setup-BDM8y3aD.js";
2
2
  export { qqbotSetupPlugin };
@@ -1,33 +1,17 @@
1
1
  //#region extensions/qqbot/src/engine/adapter/index.ts
2
2
  let _adapter = null;
3
3
  let _adapterFactory = null;
4
- /** Register the platform adapter. Called once during startup. */
5
4
  function registerPlatformAdapter(adapter) {
6
5
  _adapter = adapter;
7
6
  }
8
- /**
9
- * Register a factory that creates the PlatformAdapter on first access.
10
- *
11
- * This decouples adapter availability from side-effect import ordering.
12
- * The factory is invoked at most once — on the first `getPlatformAdapter()`
13
- * call when no adapter has been explicitly registered yet.
14
- */
15
7
  function registerPlatformAdapterFactory(factory) {
16
8
  _adapterFactory = factory;
17
9
  }
18
- /**
19
- * Get the registered platform adapter.
20
- *
21
- * If no adapter has been explicitly registered yet but a factory was provided
22
- * via `registerPlatformAdapterFactory()`, the factory is invoked to create
23
- * and register the adapter automatically.
24
- */
25
10
  function getPlatformAdapter() {
26
11
  if (!_adapter && _adapterFactory) _adapter = _adapterFactory();
27
12
  if (!_adapter) throw new Error("PlatformAdapter not registered. Call registerPlatformAdapter() during bootstrap.");
28
13
  return _adapter;
29
14
  }
30
- /** Check whether a platform adapter has been registered (or can be created from a factory). */
31
15
  function hasPlatformAdapter() {
32
16
  return _adapter !== null || _adapterFactory !== null;
33
17
  }
@@ -1,5 +1,5 @@
1
- import { c as getPlatformAdapter } from "./string-normalize-Ci6NM5DE.js";
2
- import { C as debugWarn, L as formatErrorMessage, S as debugLog } from "./sender-CgdXGY2H.js";
1
+ import { c as getPlatformAdapter } from "./string-normalize-BzzzPOeb.js";
2
+ import { C as debugWarn, L as formatErrorMessage, S as debugLog } from "./sender-C-TmIFow.js";
3
3
  import * as fs$1 from "node:fs";
4
4
  import * as os$1 from "node:os";
5
5
  import * as path$1 from "node:path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/qqbot",
3
- "version": "2026.5.9-beta.1",
3
+ "version": "2026.5.10-beta.2",
4
4
  "private": false,
5
5
  "description": "OpenClaw QQ Bot channel plugin",
6
6
  "repository": {
@@ -20,7 +20,7 @@
20
20
  "openclaw": "workspace:*"
21
21
  },
22
22
  "peerDependencies": {
23
- "openclaw": ">=2026.5.9-beta.1"
23
+ "openclaw": ">=2026.5.10-beta.2"
24
24
  },
25
25
  "peerDependenciesMeta": {
26
26
  "openclaw": {
@@ -49,10 +49,10 @@
49
49
  "minHostVersion": ">=2026.4.10"
50
50
  },
51
51
  "compat": {
52
- "pluginApi": ">=2026.5.9-beta.1"
52
+ "pluginApi": ">=2026.5.10-beta.2"
53
53
  },
54
54
  "build": {
55
- "openclawVersion": "2026.5.9-beta.1"
55
+ "openclawVersion": "2026.5.10-beta.2"
56
56
  },
57
57
  "release": {
58
58
  "publishToClawHub": true,
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qqbot-channel
3
- description: QQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
3
+ description: QQ channel management skill. Use qqbot_channel_api to list guilds and channels, inspect members, publish posts, manage announcements, and work with schedules through the QQ Open Platform HTTP API with automatic token authentication.
4
4
  metadata: { "openclaw": { "emoji": "📡", "requires": { "config": ["channels.qqbot"] } } }
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qqbot-media
3
- description: QQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
3
+ description: QQBot rich media send and receive support. Use <qqmedia> tags to send image, voice, video, or file attachments, with the media type inferred from the file extension.
4
4
  metadata: { "openclaw": { "emoji": "📸", "requires": { "config": ["channels.qqbot"] } } }
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qqbot-remind
3
- description: QQBot 定时提醒。支持一次性和周期性提醒的创建、查询、取消。当通过 QQ 通道通信且涉及提醒/定时任务时使用。
3
+ description: QQBot scheduled reminders. Create, list, and cancel one-time or recurring reminders when a QQ conversation involves reminders, alarms, or scheduled tasks.
4
4
  metadata: { "openclaw": { "emoji": "⏰", "requires": { "config": ["channels.qqbot"] } } }
5
5
  ---
6
6