From 5fa70809e2b0e995e942bcc2b1677927dfa9d4fd Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Sun, 3 May 2026 11:28:24 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@1584acb124a8f51a4e65ae57177173a353e2ac83 --- .openclaw-sync/source.json | 4 ++-- docs/channels/qqbot.md | 16 ++++++++++++++++ docs/reference/secretref-credential-surface.md | 2 ++ ...cretref-user-supplied-credentials-matrix.json | 14 ++++++++++++++ 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 92931f046..3ac9ab1b0 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "153e4c59cfd578758134a59b2b7aa7e83255e84c", - "syncedAt": "2026-05-03T11:25:54.624Z" + "sha": "1584acb124a8f51a4e65ae57177173a353e2ac83", + "syncedAt": "2026-05-03T11:26:20.342Z" } diff --git a/docs/channels/qqbot.md b/docs/channels/qqbot.md index b25c7e143..9e15e6c59 100644 --- a/docs/channels/qqbot.md +++ b/docs/channels/qqbot.md @@ -82,12 +82,28 @@ File-backed AppSecret: } ``` +Env SecretRef AppSecret: + +```json5 +{ + channels: { + qqbot: { + enabled: true, + appId: "YOUR_APP_ID", + clientSecret: { source: "env", provider: "default", id: "QQBOT_CLIENT_SECRET" }, + }, + }, +} +``` + Notes: - Env fallback applies to the default QQ Bot account only. - `openclaw channels add --channel qqbot --token-file ...` provides the AppSecret only; the AppID must already be set in config or `QQBOT_APP_ID`. - `clientSecret` also accepts SecretRef input, not just a plaintext string. +- Legacy `secretref:/...` marker strings are not valid `clientSecret` values; + use structured SecretRef objects like the example above. ### Multi-account setup diff --git a/docs/reference/secretref-credential-surface.md b/docs/reference/secretref-credential-surface.md index 5e75dbeb5..045ec2128 100644 --- a/docs/reference/secretref-credential-surface.md +++ b/docs/reference/secretref-credential-surface.md @@ -90,6 +90,8 @@ Scope intent: - `channels.feishu.accounts.*.appSecret` - `channels.feishu.accounts.*.encryptKey` - `channels.feishu.accounts.*.verificationToken` +- `channels.qqbot.clientSecret` +- `channels.qqbot.accounts.*.clientSecret` - `channels.msteams.appPassword` - `channels.mattermost.botToken` - `channels.mattermost.accounts.*.botToken` diff --git a/docs/reference/secretref-user-supplied-credentials-matrix.json b/docs/reference/secretref-user-supplied-credentials-matrix.json index 995094fcb..da4731490 100644 --- a/docs/reference/secretref-user-supplied-credentials-matrix.json +++ b/docs/reference/secretref-user-supplied-credentials-matrix.json @@ -281,6 +281,20 @@ "secretShape": "secret_input", "optIn": true }, + { + "id": "channels.qqbot.accounts.*.clientSecret", + "configFile": "openclaw.json", + "path": "channels.qqbot.accounts.*.clientSecret", + "secretShape": "secret_input", + "optIn": true + }, + { + "id": "channels.qqbot.clientSecret", + "configFile": "openclaw.json", + "path": "channels.qqbot.clientSecret", + "secretShape": "secret_input", + "optIn": true + }, { "id": "channels.slack.accounts.*.appToken", "configFile": "openclaw.json",