Appearance
openclaw status
诊断渠道连接状态与会话信息。
bash
openclaw status
openclaw status --all
openclaw status --deep
openclaw status --usage说明:
--deep:执行实时探测(包括 WhatsApp Web、Telegram、Discord、Google Chat、Slack、Signal)。- 配置了多个 Agent 时,输出中会包含每个 Agent 各自的会话存储信息。
- 概览部分会显示 Gateway 和节点主机服务的安装状态与运行状态(如果可用)。
- 概览中包含更新通道和 git SHA(仅限源码方式安装)。
- 如果有可用更新,status 输出会提示运行
openclaw update(参见 更新指南)。 - 只读状态接口(
status、status --json、status --all)在可能的情况下会解析目标配置路径的 SecretRef,并将结果包含在输出中。 - 如果某个渠道配置了 SecretRef,但在当前命令路径下无法获取,status 会保持只读模式,输出降级报告而不是直接报错。人类可读输出会显示"configured token unavailable in this command path"之类的警告,JSON 输出则包含
secretDiagnostics字段。 - 当前命令路径下 SecretRef 解析成功时,status 优先使用已解析的快照,并从最终输出中清除临时的"secret 不可用"渠道标记。
status --all输出中包含 Secrets 概览行和诊断区块,汇总 secret 诊断信息(为可读性做了截断),但不会中断报告生成。
排查小龙虾连接异常时,先跑一下
openclaw status --all,把输出贴给社区,能省不少来回。