@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.
- package/dist/api.js +6 -6
- package/dist/{channel-nsJeL4qp.js → channel-Cl-NJpPD.js} +11 -11
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.setup-DS8qSqfn.js → channel.setup-BDM8y3aD.js} +2 -2
- package/dist/{config-D6545NkC.js → config-BNAanXEH.js} +2 -2
- package/dist/{config-schema-BUrvFkQH.js → config-schema-BTV9NZbt.js} +3 -3
- package/dist/{exec-approvals-COUsM6wZ.js → exec-approvals-DgO1msIB.js} +1 -1
- package/dist/{gateway-Dcs6Ip8b.js → gateway-OhbnW8Uq.js} +157 -555
- package/dist/{handler-runtime-DraqODp_.js → handler-runtime-C9SrM2gR.js} +4 -4
- package/dist/{outbound-CqRmSFJZ.js → outbound-DL154TS6.js} +3 -3
- package/dist/{request-context-DVsN666m.js → request-context-Bn63CUkr.js} +2 -2
- package/dist/{resolve-D_06fV6-.js → resolve-Cm33TWZp.js} +1 -1
- package/dist/{runtime-C3Qpr4Ph.js → runtime-CHGblcVc.js} +1 -1
- package/dist/runtime-api.js +1 -1
- package/dist/{sender-CgdXGY2H.js → sender-C-TmIFow.js} +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{string-normalize-Ci6NM5DE.js → string-normalize-BzzzPOeb.js} +0 -16
- package/dist/{target-parser-DQ6J3Qe-.js → target-parser-CTNFSKb1.js} +2 -2
- package/package.json +4 -4
- package/skills/qqbot-channel/SKILL.md +1 -1
- package/skills/qqbot-media/SKILL.md +1 -1
- package/skills/qqbot-remind/SKILL.md +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as ensurePlatformAdapter, u as getBridgeLogger } from "./resolve-
|
|
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-
|
|
4
|
-
import { a as resolveQQBotExecApprovalConfig, i as matchesQQBotApprovalAccount, o as shouldHandleQQBotExecApprovalRequest, r as isQQBotExecApprovalClientEnabled } from "./exec-approvals-
|
|
5
|
-
import { c as getMessageApi, t as accountToCreds } from "./sender-
|
|
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-
|
|
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-
|
|
3
|
-
import { c as getQQBotMediaDir, d as isLocalPath, m as resolveQQBotPayloadLocalFilePath, o as getQQBotDataDir, p as normalizePath, r as parseTarget$1 } from "./target-parser-
|
|
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-
|
|
2
|
-
import { a as getHomeDir, f as isWindows, l as getQQBotMediaPath, o as getQQBotDataDir } from "./target-parser-
|
|
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-
|
|
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-
|
|
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({
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as setQQBotRuntime, t as getQQBotRuntime } from "./runtime-
|
|
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-
|
|
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";
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as qqbotSetupPlugin } from "./channel.setup-
|
|
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-
|
|
2
|
-
import { C as debugWarn, L as formatErrorMessage, S as debugLog } from "./sender-
|
|
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.
|
|
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.
|
|
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.
|
|
52
|
+
"pluginApi": ">=2026.5.10-beta.2"
|
|
53
53
|
},
|
|
54
54
|
"build": {
|
|
55
|
-
"openclawVersion": "2026.5.
|
|
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
|
|
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
|
|
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
|
|
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
|
|