mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 23:02:02 +03:00
Docs: update zh-CN translations and pipeline
What: - update zh-CN glossary, TM, and translator prompt - regenerate zh-CN docs and apply targeted fixes - add zh-CN AGENTS pipeline guidance Why: - address terminology/spacing feedback from #6995 Tests: - pnpm build && pnpm check && pnpm test
This commit is contained in:
+14
-14
@@ -1,26 +1,26 @@
|
||||
---
|
||||
read_when:
|
||||
- 你想添加/移除渠道账号(WhatsApp/Telegram/Discord/Google Chat/Slack/Mattermost(插件)/Signal/iMessage)
|
||||
- 你想检查渠道状态或查看渠道日志
|
||||
summary: "`openclaw channels` 的 CLI 参考(账号、状态、登录/登出、日志)"
|
||||
- 你想添加/删除渠道账户(WhatsApp/Telegram/Discord/Google Chat/Slack/Mattermost(插件)/Signal/iMessage)
|
||||
- 你想检查渠道状态或跟踪渠道日志
|
||||
summary: "`openclaw channels` 的 CLI 参考(账户、状态、登录/登出、日志)"
|
||||
title: channels
|
||||
x-i18n:
|
||||
generated_at: "2026-02-01T19:58:48Z"
|
||||
generated_at: "2026-02-03T07:44:51Z"
|
||||
model: claude-opus-4-5
|
||||
provider: pi
|
||||
source_hash: 16ab1642f247bfa96e8e08dfeb1eedfccb148f40d91099f5423f971df2b54e20
|
||||
source_path: cli/channels.md
|
||||
workflow: 14
|
||||
workflow: 15
|
||||
---
|
||||
|
||||
# `openclaw channels`
|
||||
|
||||
管理 Gateway网关上的聊天渠道账号及其运行时状态。
|
||||
管理 Gateway 网关上的聊天渠道账户及其运行时状态。
|
||||
|
||||
相关文档:
|
||||
|
||||
- 渠道指南:[渠道](/channels/index)
|
||||
- Gateway网关配置:[配置](/gateway/configuration)
|
||||
- Gateway 网关配置:[配置](/gateway/configuration)
|
||||
|
||||
## 常用命令
|
||||
|
||||
@@ -33,14 +33,14 @@ openclaw channels resolve --channel slack "#general" "@jane"
|
||||
openclaw channels logs --channel all
|
||||
```
|
||||
|
||||
## 添加/移除账号
|
||||
## 添加/删除账户
|
||||
|
||||
```bash
|
||||
openclaw channels add --channel telegram --token <bot-token>
|
||||
openclaw channels remove --channel telegram --delete
|
||||
```
|
||||
|
||||
提示:`openclaw channels add --help` 可查看各渠道的专用参数(token、app token、signal-cli 路径等)。
|
||||
提示:`openclaw channels add --help` 显示每个渠道的标志(token、app token、signal-cli 路径等)。
|
||||
|
||||
## 登录/登出(交互式)
|
||||
|
||||
@@ -53,7 +53,7 @@ openclaw channels logout --channel whatsapp
|
||||
|
||||
- 运行 `openclaw status --deep` 进行全面探测。
|
||||
- 使用 `openclaw doctor` 获取引导式修复。
|
||||
- `openclaw channels list` 输出 `Claude: HTTP 403 ... user:profile` → 用量快照需要 `user:profile` 权限范围。使用 `--no-usage`,或提供 claude.ai 会话密钥(`CLAUDE_WEB_SESSION_KEY` / `CLAUDE_WEB_COOKIE`),或通过 Claude Code CLI 重新认证。
|
||||
- `openclaw channels list` 输出 `Claude: HTTP 403 ... user:profile` → 用量快照需要 `user:profile` 权限范围。使用 `--no-usage`,或提供 claude.ai 会话密钥(`CLAUDE_WEB_SESSION_KEY` / `CLAUDE_WEB_COOKIE`),或通过 Claude Code CLI 重新授权。
|
||||
|
||||
## 能力探测
|
||||
|
||||
@@ -66,11 +66,11 @@ openclaw channels capabilities --channel discord --target channel:123
|
||||
|
||||
说明:
|
||||
|
||||
- `--channel` 是可选的;省略时将列出所有渠道(包括扩展)。
|
||||
- `--target` 接受 `channel:<id>` 或原始数字频道 ID,仅适用于 Discord。
|
||||
- 探测因提供商而异:Discord intents + 可选的频道权限;Slack bot + 用户权限范围;Telegram bot 标志 + webhook;Signal 守护进程版本;MS Teams 应用令牌 + Graph 角色/权限范围(已知的会标注)。无探测功能的渠道会报告 `Probe: unavailable`。
|
||||
- `--channel` 是可选的;省略它可列出所有渠道(包括扩展)。
|
||||
- `--target` 接受 `channel:<id>` 或原始数字频道 id,仅适用于 Discord。
|
||||
- 探测是特定于提供商的:Discord intents + 可选的频道权限;Slack bot + user scopes;Telegram bot 标志 + webhook;Signal daemon 版本;MS Teams app token + Graph roles/scopes(在已知处标注)。没有探测功能的渠道报告 `Probe: unavailable`。
|
||||
|
||||
## 将名称解析为 ID
|
||||
## 解析名称为 ID
|
||||
|
||||
使用提供商目录将渠道/用户名称解析为 ID:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user