Skip to content

Commit d0f0d3f

Browse files
committed
docs(cli): document channel resolve agent owner
1 parent c757001 commit d0f0d3f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎docs/cli/channels.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ it does not guess one agent workspace.
4040

4141
- `channels status`: `--channel <name>`, `--probe`, `--timeout <ms>` (default `10000`), `--json`
4242
- `channels capabilities`: `--channel <name>`, `--account <id>` (requires `--channel`), `--target <dest>` (requires `--channel`), `--timeout <ms>` (default `10000`, capped at `30000`), `--json`
43-
- `channels resolve <entries...>`: `--channel <name>`, `--account <id>`, `--kind <auto|user|group>` (default `auto`), `--json`
43+
- `channels resolve <entries...>`: `--channel <name>`, `--account <id>`, `--agent <id>`, `--kind <auto|user|group|channel>` (default `auto`), `--json`
4444
- `channels logs`: `--channel <name|all>` (default `all`), `--lines <n>` (default `200`), `--json`
4545

4646
`channels status --probe` is the live path: on a reachable gateway it runs per-account
@@ -202,11 +202,14 @@ Resolve channel/user names to IDs using the provider directory:
202202
openclaw channels resolve --channel slack "#general" "@jane"
203203
openclaw channels resolve --channel discord "My Server/#support" "@someone"
204204
openclaw channels resolve --channel matrix "Project Room"
205+
openclaw channels --agent ops resolve --channel slack "#general"
206+
openclaw channels resolve --agent ops --channel slack "#general"
205207
```
206208

207209
Notes:
208210

209-
- Use `--kind user|group|auto` to force the target type.
211+
- In multi-agent configurations, use `--agent <id>` in either parent or leaf position to select the agent-owned workspace and channel plugin context.
212+
- Use `--kind user|group|channel|auto` to force the target type.
210213
- Resolution prefers active matches when multiple entries share the same name.
211214
- `channels resolve` is read-only. If a selected account is configured via SecretRef but that credential is unavailable in the current command path, the command returns degraded unresolved results with notes instead of aborting the entire run.
212215
- `channels resolve` does not install channel plugins. Use `channels add --channel <name>` before resolving names for an installable catalog channel.

0 commit comments

Comments
 (0)