Skip to content

Commit c880559

Browse files
committed
docs: replace retired config keys with canonical schema keys
1 parent d7cdb2e commit c880559

61 files changed

Lines changed: 397 additions & 360 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/channels/ambient-room-events.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,15 +182,15 @@ Use an agent override when several agents share the same room but only one shoul
182182
},
183183
},
184184
agents: {
185-
list: [
186-
{
187-
id: "main",
185+
entries: {
186+
main: {
187+
default: true,
188188
groupChat: {
189189
unmentionedInbound: "room_event",
190190
mentionPatterns: ["@openclaw", "openclaw"],
191191
},
192192
},
193-
],
193+
},
194194
},
195195
}
196196
```

‎docs/channels/broadcast-groups.md‎

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,24 @@ Every listed agent id must exist in `agents.entries`: config validation reports
6464
```json
6565
{
6666
"agents": {
67-
"list": [
68-
{
69-
"id": "code-reviewer",
67+
"entries": {
68+
"code-reviewer": {
69+
"default": true,
7070
"name": "Code Reviewer",
7171
"workspace": "/path/to/code-reviewer",
7272
"sandbox": { "mode": "all" }
7373
},
74-
{
75-
"id": "security-auditor",
74+
"security-auditor": {
7675
"name": "Security Auditor",
7776
"workspace": "/path/to/security-auditor",
7877
"sandbox": { "mode": "all" }
7978
},
80-
{
81-
"id": "docs-generator",
79+
"docs-generator": {
8280
"name": "Documentation Generator",
8381
"workspace": "/path/to/docs-generator",
8482
"sandbox": { "mode": "all" }
8583
}
86-
]
84+
}
8785
},
8886
"broadcast": {
8987
"strategy": "parallel",
@@ -178,11 +176,11 @@ In group `[email protected]` with agents `["alfred", "baerbel"]`:
178176
```json
179177
{
180178
"agents": {
181-
"list": [
182-
{ "id": "security-scanner", "name": "Security Scanner" },
183-
{ "id": "code-formatter", "name": "Code Formatter" },
184-
{ "id": "test-generator", "name": "Test Generator" }
185-
]
179+
"entries": {
180+
"security-scanner": { "default": true, "name": "Security Scanner" },
181+
"code-formatter": { "name": "Code Formatter" },
182+
"test-generator": { "name": "Test Generator" }
183+
}
186184
}
187185
}
188186
```
@@ -191,10 +189,13 @@ In group `[email protected]` with agents `["alfred", "baerbel"]`:
191189
```json
192190
{
193191
"agents": {
194-
"list": [
195-
{ "id": "reviewer", "tools": { "allow": ["read", "exec"] } },
196-
{ "id": "fixer", "tools": { "allow": ["read", "write", "edit", "exec"] } }
197-
]
192+
"entries": {
193+
"reviewer": {
194+
"default": true,
195+
"tools": { "allow": ["read", "exec"] }
196+
},
197+
"fixer": { "tools": { "allow": ["read", "write", "edit", "exec"] } }
198+
}
198199
}
199200
}
200201
```
@@ -287,24 +288,22 @@ Broadcast groups work alongside existing routing:
287288
]
288289
},
289290
"agents": {
290-
"list": [
291-
{
292-
"id": "code-formatter",
291+
"entries": {
292+
"code-formatter": {
293+
"default": true,
293294
"workspace": "~/agents/formatter",
294295
"tools": { "allow": ["read", "write"] }
295296
},
296-
{
297-
"id": "security-scanner",
297+
"security-scanner": {
298298
"workspace": "~/agents/security",
299299
"tools": { "allow": ["read", "exec"] }
300300
},
301-
{
302-
"id": "test-coverage",
301+
"test-coverage": {
303302
"workspace": "~/agents/testing",
304303
"tools": { "allow": ["read", "exec"] }
305304
},
306-
{ "id": "docs-checker", "workspace": "~/agents/docs", "tools": { "allow": ["read"] } }
307-
]
305+
"docs-checker": { "workspace": "~/agents/docs", "tools": { "allow": ["read"] } }
306+
}
308307
}
309308
}
310309
```
@@ -320,11 +319,11 @@ Broadcast groups work alongside existing routing:
320319
"+15555550123": ["detect-language", "translator-en", "translator-de"]
321320
},
322321
"agents": {
323-
"list": [
324-
{ "id": "detect-language", "workspace": "~/agents/lang-detect" },
325-
{ "id": "translator-en", "workspace": "~/agents/translate-en" },
326-
{ "id": "translator-de", "workspace": "~/agents/translate-de" }
327-
]
322+
"entries": {
323+
"detect-language": { "default": true, "workspace": "~/agents/lang-detect" },
324+
"translator-en": { "workspace": "~/agents/translate-en" },
325+
"translator-de": { "workspace": "~/agents/translate-de" }
326+
}
328327
}
329328
}
330329
```

‎docs/channels/buzz.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,10 @@ workspace, or model while one Gateway and Buzz bot serve all of them:
272272
```json5
273273
{
274274
agents: {
275-
list: [
276-
{ id: "support", workspace: "~/.openclaw/workspace-support" },
277-
{ id: "engineering", workspace: "~/.openclaw/workspace-engineering" },
278-
],
275+
entries: {
276+
support: { default: true, workspace: "~/.openclaw/workspace-support" },
277+
engineering: { workspace: "~/.openclaw/workspace-engineering" },
278+
},
279279
},
280280
bindings: [
281281
{

‎docs/channels/channel-routing.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,13 @@ Example:
124124
```json5
125125
{
126126
agents: {
127-
list: [{ id: "support", name: "Support", workspace: "~/.openclaw/workspace-support" }],
127+
entries: {
128+
support: {
129+
default: true,
130+
name: "Support",
131+
workspace: "~/.openclaw/workspace-support",
132+
},
133+
},
128134
},
129135
bindings: [
130136
{ match: { channel: "slack", teamId: "T123" }, agentId: "support" },

‎docs/channels/discord.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1689,7 +1689,7 @@ Primary reference: [Configuration reference - Discord](/gateway/config-channels#
16891689

16901690
- startup/auth: `enabled`, `token`, `applicationId`, `accounts.*`, `allowBots`
16911691
- policy: `groupPolicy`, `dmPolicy`, `allowFrom`, `dm.*`, `guilds.*`, `guilds.*.channels.*`
1692-
- command: `commands.native`, `commands.useAccessGroups` (global), `configWrites`, `slashCommand.ephemeral`
1692+
- command: `commands.native`, `commands.allowFrom` (global), `configWrites`, `slashCommand.ephemeral`
16931693
- gateway: `proxy`
16941694
- reply/history: `replyToMode`, `historyLimit`, `dmHistoryLimit`, `dms.*.historyLimit`
16951695
- delivery: `textChunkLimit` (default `2000`), `maxLinesPerMessage` (default `17`)

‎docs/channels/feishu.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@ Feishu/Lark supports ACP for DMs and group thread messages. Feishu/Lark ACP is t
404404
```json5
405405
{
406406
agents: {
407-
list: [
408-
{
409-
id: "codex",
407+
entries: {
408+
codex: {
409+
default: true,
410410
runtime: {
411411
type: "acp",
412412
acp: {
@@ -417,7 +417,7 @@ Feishu/Lark supports ACP for DMs and group thread messages. Feishu/Lark ACP is t
417417
},
418418
},
419419
},
420-
],
420+
},
421421
},
422422
bindings: [
423423
{
@@ -460,11 +460,11 @@ Use `bindings` to route Feishu/Lark DMs or groups to different agents.
460460
```json5
461461
{
462462
agents: {
463-
list: [
464-
{ id: "main" },
465-
{ id: "agent-a", workspace: "/home/user/agent-a" },
466-
{ id: "agent-b", workspace: "/home/user/agent-b" },
467-
],
463+
entries: {
464+
main: { default: true },
465+
"agent-a": { workspace: "/home/user/agent-a" },
466+
"agent-b": { workspace: "/home/user/agent-b" },
467+
},
468468
},
469469
bindings: [
470470
{

‎docs/channels/imessage.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,15 +411,15 @@ Example:
411411
```json5
412412
{
413413
agents: {
414-
list: [
415-
{
416-
id: "codex",
414+
entries: {
415+
codex: {
416+
default: true,
417417
runtime: {
418418
type: "acp",
419419
acp: { agent: "codex", backend: "acpx", mode: "persistent" },
420420
},
421421
},
422-
],
422+
},
423423
},
424424
bindings: [
425425
{

‎docs/channels/slack.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,8 +1970,10 @@ openclaw pairing list slack
19701970

19711971
Slack does not create or remove slash commands automatically. `commands.native: "auto"` does not enable Slack native commands; use `true` and create the matching commands in the Slack app. In HTTP mode, every Slack slash command must include the Gateway URL. In Socket Mode, command payloads arrive over the websocket and Slack ignores `slash_commands[].url`.
19721972

1973-
Also check `commands.useAccessGroups`, DM authorization, channel allowlists,
1974-
and per-channel `users` allowlists. Slack returns ephemeral errors for
1973+
Also check `commands.allowFrom` (when configured), DM authorization,
1974+
channel allowlists, and per-channel `users` allowlists. Access-group
1975+
entries in channel allowlists are resolved automatically. Slack returns
1976+
ephemeral errors for
19751977
blocked slash-command senders, including:
19761978

19771979
- `This channel is not allowed.`

‎docs/channels/yuanbao.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,11 @@ Use `bindings` to route Yuanbao DMs or groups to different agents:
283283
```json5
284284
{
285285
agents: {
286-
list: [
287-
{ id: "main" },
288-
{ id: "agent-a", workspace: "/home/user/agent-a" },
289-
{ id: "agent-b", workspace: "/home/user/agent-b" },
290-
],
286+
entries: {
287+
main: { default: true },
288+
"agent-a": { workspace: "/home/user/agent-a" },
289+
"agent-b": { workspace: "/home/user/agent-b" },
290+
},
291291
},
292292
bindings: [
293293
{

‎docs/cli/config.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Use `--replace` only when the provided value should intentionally become the com
201201
</Tabs>
202202

203203
<Warning>
204-
SecretRef assignments are rejected on unsupported runtime-mutable surfaces (for example `hooks.token`, `commands.ownerDisplaySecret`, Discord thread-binding webhook tokens, and WhatsApp creds JSON). See [SecretRef Credential Surface](/reference/secretref-credential-surface).
204+
SecretRef assignments are rejected on unsupported runtime-mutable surfaces (for example `hooks.token`, Discord thread-binding webhook tokens, and WhatsApp creds JSON). See [SecretRef Credential Surface](/reference/secretref-credential-surface).
205205
</Warning>
206206

207207
Batch parsing always uses the batch payload (`--batch-json`/`--batch-file`) as the source of truth; `--strict-json` / `--json` do not change batch parsing behavior.

0 commit comments

Comments
 (0)