Skip to content

Commit 4013c65

Browse files
cxyhhhhhsliverp
andauthored
fix(qqbot): enable qqbot plugin by default so runtime deps install be… (#71051)
* fix(qqbot): enable qqbot plugin by default so runtime deps install before QR-code setup The qqbot plugin manifest was missing the enabledByDefault: true flag. Without it, ensureBundledPluginRuntimeDeps treats qqbot as bundled-but- disabled-by-default (isBundledPluginConfiguredForRuntimeDeps returns false when no qqbot channel/account is configured yet), so @tencent-connect/qqbot-connector is never installed into dist/extensions/qqbot/node_modules on first launch. This creates a chicken-and-egg failure for the QR-code binding flow: finalize.ts dynamically imports @tencent-connect/qqbot-connector to run qrConnect(), but the package isn't present yet because no account is configured — binding is exactly the step that configures the first account. Users hit: QQ Bot 绑定失败: Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@tencent-connect/qqbot-connector' imported from .../dist/extensions/qqbot/channel-*.js Adding enabledByDefault: true makes the host install qqbot's runtime deps eagerly on first launch, mirroring the pattern already used by mistral / groq / deepgram / amazon-bedrock-mantle and other bundled plugins whose providers must be available before any channel config exists. No code changes required; the existing runtime-deps install pipeline handles everything once the gate is opened. * fix(qqbot): changelog for enable-by-default fix (#71051) (thanks @cxyhhhhh) --------- Co-authored-by: sliverp <870080352@qq.com>
1 parent ed51963 commit 4013c65

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ Docs: https://docs.openclaw.ai
111111
- Webhooks/security: re-resolve `SecretRef`-backed webhook route secrets on each request so `openclaw secrets reload` revokes the previous secret immediately instead of waiting for a gateway restart. (#70727) Thanks @drobison00.
112112
- Memory/dreaming: decouple the managed dreaming cron from heartbeat by running it as an isolated lightweight agent turn, so dreaming runs even when heartbeat is disabled for the default agent and is no longer skipped by `heartbeat.activeHours`. `openclaw doctor --fix` migrates stale main-session dreaming jobs in persisted cron configs to the new shape. Fixes #69811, #67397, #68972. (#70737) Thanks @jalehman.
113113
- Agents/CLI: keep `--agent` plus `--session-id` lookup scoped to the requested agent store, so explicit agent resumes cannot select another agent's session. (#70985) Thanks @frankekn.
114+
- Plugins/QQ Bot: enable the bundled qqbot plugin by default so its runtime dependency `@tencent-connect/qqbot-connector` is installed on first launch, unblocking the QR-code binding flow that dynamically imports the connector before any account is configured. (#71051) Thanks @cxyhhhhh.
114115

115116
## 2026.4.22
116117

extensions/qqbot/openclaw.plugin.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"channelEnvVars": {
55
"qqbot": ["QQBOT_APP_ID", "QQBOT_CLIENT_SECRET"]
66
},
7+
"enabledByDefault": true,
78
"skills": ["./skills"],
89
"configSchema": {
910
"type": "object",

0 commit comments

Comments
 (0)