mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 22:40:45 +08:00
重构主控编排与运行时预热链路,统一工作区提示词/专家调度协议并补齐 wiki 记忆注入与写回闭环。
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。 Made-with: Cursor
This commit is contained in:
parent
4a23b715a2
commit
dbbe3add6a
14438 changed files with 2693620 additions and 2546 deletions
65
openclaw/docs/cli/pairing.md
Normal file
65
openclaw/docs/cli/pairing.md
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
---
|
||||
summary: "CLI reference for `openclaw pairing` (approve/list pairing requests)"
|
||||
read_when:
|
||||
- You’re using pairing-mode DMs and need to approve senders
|
||||
title: "pairing"
|
||||
---
|
||||
|
||||
# `openclaw pairing`
|
||||
|
||||
Approve or inspect DM pairing requests (for channels that support pairing).
|
||||
|
||||
Related:
|
||||
|
||||
- Pairing flow: [Pairing](/channels/pairing)
|
||||
|
||||
## Commands
|
||||
|
||||
```bash
|
||||
openclaw pairing list telegram
|
||||
openclaw pairing list --channel telegram --account work
|
||||
openclaw pairing list telegram --json
|
||||
|
||||
openclaw pairing approve <code>
|
||||
openclaw pairing approve telegram <code>
|
||||
openclaw pairing approve --channel telegram --account work <code> --notify
|
||||
```
|
||||
|
||||
## `pairing list`
|
||||
|
||||
List pending pairing requests for one channel.
|
||||
|
||||
Options:
|
||||
|
||||
- `[channel]`: positional channel id
|
||||
- `--channel <channel>`: explicit channel id
|
||||
- `--account <accountId>`: account id for multi-account channels
|
||||
- `--json`: machine-readable output
|
||||
|
||||
Notes:
|
||||
|
||||
- If multiple pairing-capable channels are configured, you must provide a channel either positionally or with `--channel`.
|
||||
- Extension channels are allowed as long as the channel id is valid.
|
||||
|
||||
## `pairing approve`
|
||||
|
||||
Approve a pending pairing code and allow that sender.
|
||||
|
||||
Usage:
|
||||
|
||||
- `openclaw pairing approve <channel> <code>`
|
||||
- `openclaw pairing approve --channel <channel> <code>`
|
||||
- `openclaw pairing approve <code>` when exactly one pairing-capable channel is configured
|
||||
|
||||
Options:
|
||||
|
||||
- `--channel <channel>`: explicit channel id
|
||||
- `--account <accountId>`: account id for multi-account channels
|
||||
- `--notify`: send a confirmation back to the requester on the same channel
|
||||
|
||||
## Notes
|
||||
|
||||
- Channel input: pass it positionally (`pairing list telegram`) or with `--channel <channel>`.
|
||||
- `pairing list` supports `--account <accountId>` for multi-account channels.
|
||||
- `pairing approve` supports `--account <accountId>` and `--notify`.
|
||||
- If only one pairing-capable channel is configured, `pairing approve <code>` is allowed.
|
||||
Loading…
Add table
Add a link
Reference in a new issue