@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
package/dist/api.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as recordMessageReply, E as setOutboundAudioPort, S as getMessageReplyStats, T as OUTBOUND_ERROR_CODES, _ as sendVoice, a as sendText, b as checkMessageReplyLimit, d as buildMediaTarget, f as parseTarget, g as sendVideoMsg, h as sendPhoto, i as sendProactiveMessage, m as sendDocument, n as sendCronMessage, p as resolveOutboundMediaPath, r as sendMedia, v as resolveUserFacingMediaError, w as DEFAULT_MEDIA_SEND_ERROR, x as getMessageReplyConfig, y as MESSAGE_REPLY_LIMIT } from "./outbound-
|
|
2
|
-
import { a as resolveQQBotAccount, i as resolveDefaultQQBotAccountId, n as applyQQBotAccountConfig, r as listQQBotAccountIds, t as DEFAULT_ACCOUNT_ID } from "./config-
|
|
3
|
-
import { t as qqbotPlugin } from "./channel-
|
|
4
|
-
import { L as formatErrorMessage, S as debugLog, o as getAccessToken, x as debugError } from "./sender-
|
|
5
|
-
import { t as qqbotSetupPlugin } from "./channel.setup-
|
|
6
|
-
import { r as getFrameworkCommands, t as getRequestContext } from "./request-context-
|
|
1
|
+
import { C as recordMessageReply, E as setOutboundAudioPort, S as getMessageReplyStats, T as OUTBOUND_ERROR_CODES, _ as sendVoice, a as sendText, b as checkMessageReplyLimit, d as buildMediaTarget, f as parseTarget, g as sendVideoMsg, h as sendPhoto, i as sendProactiveMessage, m as sendDocument, n as sendCronMessage, p as resolveOutboundMediaPath, r as sendMedia, v as resolveUserFacingMediaError, w as DEFAULT_MEDIA_SEND_ERROR, x as getMessageReplyConfig, y as MESSAGE_REPLY_LIMIT } from "./outbound-DL154TS6.js";
|
|
2
|
+
import { a as resolveQQBotAccount, i as resolveDefaultQQBotAccountId, n as applyQQBotAccountConfig, r as listQQBotAccountIds, t as DEFAULT_ACCOUNT_ID } from "./config-BNAanXEH.js";
|
|
3
|
+
import { t as qqbotPlugin } from "./channel-Cl-NJpPD.js";
|
|
4
|
+
import { L as formatErrorMessage, S as debugLog, o as getAccessToken, x as debugError } from "./sender-C-TmIFow.js";
|
|
5
|
+
import { t as qqbotSetupPlugin } from "./channel.setup-BDM8y3aD.js";
|
|
6
|
+
import { r as getFrameworkCommands, t as getRequestContext } from "./request-context-Bn63CUkr.js";
|
|
7
7
|
import { callGatewayTool } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
8
8
|
//#region extensions/qqbot/src/engine/tools/channel-api.ts
|
|
9
9
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as asOptionalObjectRecord } from "./string-normalize-
|
|
2
|
-
import { l as ensurePlatformAdapter, u as getBridgeLogger } from "./resolve-
|
|
1
|
+
import { t as asOptionalObjectRecord } from "./string-normalize-BzzzPOeb.js";
|
|
2
|
+
import { l as ensurePlatformAdapter, u as getBridgeLogger } from "./resolve-Cm33TWZp.js";
|
|
3
3
|
import { a as resolveApprovalTarget } from "./approval-cg0SVahb.js";
|
|
4
|
-
import { a as resolveQQBotAccount, n as applyQQBotAccountConfig, t as DEFAULT_ACCOUNT_ID$1 } from "./config-
|
|
5
|
-
import { a as resolveQQBotExecApprovalConfig, i as matchesQQBotApprovalAccount, n as isQQBotExecApprovalAuthorizedSender, o as shouldHandleQQBotExecApprovalRequest, r as isQQBotExecApprovalClientEnabled, t as isQQBotExecApprovalApprover } from "./exec-approvals-
|
|
6
|
-
import { a as qqbotSetupAdapterShared, i as qqbotMeta, n as qqbotSetupWizard, r as qqbotConfigAdapter, t as qqbotChannelConfigSchema } from "./config-schema-
|
|
4
|
+
import { a as resolveQQBotAccount, n as applyQQBotAccountConfig, t as DEFAULT_ACCOUNT_ID$1 } from "./config-BNAanXEH.js";
|
|
5
|
+
import { a as resolveQQBotExecApprovalConfig, i as matchesQQBotApprovalAccount, n as isQQBotExecApprovalAuthorizedSender, o as shouldHandleQQBotExecApprovalRequest, r as isQQBotExecApprovalClientEnabled, t as isQQBotExecApprovalApprover } from "./exec-approvals-DgO1msIB.js";
|
|
6
|
+
import { a as qqbotSetupAdapterShared, i as qqbotMeta, n as qqbotSetupWizard, r as qqbotConfigAdapter, t as qqbotChannelConfigSchema } from "./config-schema-BTV9NZbt.js";
|
|
7
7
|
import { n as writeOpenClawConfigThroughRuntime, t as toGatewayAccount } from "./narrowing-BoieBTIU.js";
|
|
8
|
-
import { t as getQQBotRuntime } from "./runtime-
|
|
9
|
-
import { n as normalizeTarget, s as getQQBotDataPath, t as looksLikeQQBotTarget } from "./target-parser-
|
|
8
|
+
import { t as getQQBotRuntime } from "./runtime-CHGblcVc.js";
|
|
9
|
+
import { n as normalizeTarget, s as getQQBotDataPath, t as looksLikeQQBotTarget } from "./target-parser-CTNFSKb1.js";
|
|
10
10
|
import { getExecApprovalReplyMetadata } from "openclaw/plugin-sdk/approval-runtime";
|
|
11
11
|
import { createMessageReceiptFromOutboundResults, defineChannelMessageAdapter } from "openclaw/plugin-sdk/channel-message";
|
|
12
12
|
import { createChannelApprovalCapability } from "openclaw/plugin-sdk/approval-delivery-runtime";
|
|
@@ -156,7 +156,7 @@ function createQQBotApprovalCapability() {
|
|
|
156
156
|
},
|
|
157
157
|
load: async () => {
|
|
158
158
|
ensurePlatformAdapter();
|
|
159
|
-
return (await import("./handler-runtime-
|
|
159
|
+
return (await import("./handler-runtime-C9SrM2gR.js")).qqbotApprovalNativeRuntime;
|
|
160
160
|
}
|
|
161
161
|
})
|
|
162
162
|
});
|
|
@@ -345,7 +345,7 @@ function clearAccountCredentials(cfg, accountId) {
|
|
|
345
345
|
//#region extensions/qqbot/src/channel.ts
|
|
346
346
|
let gatewayModulePromise;
|
|
347
347
|
function loadGatewayModule() {
|
|
348
|
-
gatewayModulePromise ??= import("./gateway-
|
|
348
|
+
gatewayModulePromise ??= import("./gateway-OhbnW8Uq.js");
|
|
349
349
|
return gatewayModulePromise;
|
|
350
350
|
}
|
|
351
351
|
function createQQBotSendReceipt(params) {
|
|
@@ -363,7 +363,7 @@ function createQQBotSendReceipt(params) {
|
|
|
363
363
|
async function sendQQBotText(params) {
|
|
364
364
|
await loadGatewayModule();
|
|
365
365
|
const account = resolveQQBotAccount(params.cfg, params.accountId);
|
|
366
|
-
const { sendText } = await import("./outbound-
|
|
366
|
+
const { sendText } = await import("./outbound-DL154TS6.js").then((n) => n.t);
|
|
367
367
|
const result = await sendText({
|
|
368
368
|
to: params.to,
|
|
369
369
|
text: params.text,
|
|
@@ -385,7 +385,7 @@ async function sendQQBotText(params) {
|
|
|
385
385
|
async function sendQQBotMedia(params) {
|
|
386
386
|
await loadGatewayModule();
|
|
387
387
|
const account = resolveQQBotAccount(params.cfg, params.accountId);
|
|
388
|
-
const { sendMedia } = await import("./outbound-
|
|
388
|
+
const { sendMedia } = await import("./outbound-DL154TS6.js").then((n) => n.t);
|
|
389
389
|
const result = await sendMedia({
|
|
390
390
|
to: params.to,
|
|
391
391
|
text: params.text ?? "",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as qqbotPlugin } from "./channel-
|
|
1
|
+
import { t as qqbotPlugin } from "./channel-Cl-NJpPD.js";
|
|
2
2
|
export { qqbotPlugin };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./resolve-
|
|
2
|
-
import { a as qqbotSetupAdapterShared, i as qqbotMeta, n as qqbotSetupWizard, r as qqbotConfigAdapter, t as qqbotChannelConfigSchema } from "./config-schema-
|
|
1
|
+
import "./resolve-Cm33TWZp.js";
|
|
2
|
+
import { a as qqbotSetupAdapterShared, i as qqbotMeta, n as qqbotSetupWizard, r as qqbotConfigAdapter, t as qqbotChannelConfigSchema } from "./config-schema-BTV9NZbt.js";
|
|
3
3
|
//#region extensions/qqbot/src/channel.setup.ts
|
|
4
4
|
/**
|
|
5
5
|
* Setup-only QQBot plugin — lightweight subset used during `openclaw onboard`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as getPlatformAdapter } from "./string-normalize-
|
|
2
|
-
import { c as resolveDefaultAccountId, n as applyAccountConfig, o as listAccountIds, s as resolveAccountBase, t as DEFAULT_ACCOUNT_ID$1 } from "./resolve-
|
|
1
|
+
import { c as getPlatformAdapter } from "./string-normalize-BzzzPOeb.js";
|
|
2
|
+
import { c as resolveDefaultAccountId, n as applyAccountConfig, o as listAccountIds, s as resolveAccountBase, t as DEFAULT_ACCOUNT_ID$1 } from "./resolve-Cm33TWZp.js";
|
|
3
3
|
import { coerceSecretRef, normalizeSecretInputString } from "openclaw/plugin-sdk/secret-input";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { resolveDefaultSecretProviderAlias } from "openclaw/plugin-sdk/provider-auth";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as normalizeLowercaseStringOrEmpty } from "./string-normalize-
|
|
2
|
-
import { a as isAccountConfigured, i as formatAllowFrom, n as applyAccountConfig, r as describeAccount } from "./resolve-
|
|
3
|
-
import { a as resolveQQBotAccount, i as resolveDefaultQQBotAccountId, n as applyQQBotAccountConfig, r as listQQBotAccountIds } from "./config-
|
|
1
|
+
import { n as normalizeLowercaseStringOrEmpty } from "./string-normalize-BzzzPOeb.js";
|
|
2
|
+
import { a as isAccountConfigured, i as formatAllowFrom, n as applyAccountConfig, r as describeAccount } from "./resolve-Cm33TWZp.js";
|
|
3
|
+
import { a as resolveQQBotAccount, i as resolveDefaultQQBotAccountId, n as applyQQBotAccountConfig, r as listQQBotAccountIds } from "./config-BNAanXEH.js";
|
|
4
4
|
import { buildSecretInputSchema } from "openclaw/plugin-sdk/secret-input";
|
|
5
5
|
import { applyAccountNameToChannelSection, deleteAccountFromConfigSection, setAccountEnabledInConfigSection } from "openclaw/plugin-sdk/core";
|
|
6
6
|
import { DEFAULT_ACCOUNT_ID, createStandardChannelSetupStatus, setSetupChannelEnabled } from "openclaw/plugin-sdk/setup";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveQQBotAccount, r as listQQBotAccountIds } from "./config-
|
|
1
|
+
import { a as resolveQQBotAccount, r as listQQBotAccountIds } from "./config-BNAanXEH.js";
|
|
2
2
|
import { resolveApprovalRequestChannelAccountId } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
3
3
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/text-runtime";
|
|
4
4
|
import { resolveApprovalApprovers } from "openclaw/plugin-sdk/approval-auth-runtime";
|