Docs: normalize zh-CN terminology + tone

What: switch to 你/你的 tone; standardize Skills/Gateway网关/local loopback/私信 wording
Why: align zh-CN docs with issue 6995 feedback + idiomatic tech style
Tests: pnpm docs:build
This commit is contained in:
Josh Palmer
2026-02-02 15:46:45 +01:00
parent 2b1f68c928
commit 5676a6b38d
237 changed files with 2322 additions and 2337 deletions

View File

@@ -1,8 +1,8 @@
---
read_when:
- 需要 TUI 的新手友好指南
- 需要 TUI 功能、命令和快捷键的完整列表
summary: 终端 UITUI从任何机器连接到 Gateway
- 需要 TUI 的新手友好指南
- 需要 TUI 功能、命令和快捷键的完整列表
summary: 终端 UITUI从任何机器连接到 Gateway网关
title: TUI
x-i18n:
generated_at: "2026-02-01T21:43:58Z"
@@ -17,7 +17,7 @@ x-i18n:
## 快速开始
1. 启动 Gateway。
1. 启动 Gateway网关
```bash
openclaw gateway
@@ -31,13 +31,13 @@ openclaw tui
3. 输入消息并按 Enter。
远程 Gateway
远程 Gateway网关
```bash
openclaw tui --url ws://<host>:<port> --token <gateway-token>
```
如果的 Gateway 使用密码认证,请使用 `--password`
如果的 Gateway网关使用密码认证,请使用 `--password`
## 界面概览
@@ -49,11 +49,11 @@ openclaw tui --url ws://<host>:<port> --token <gateway-token>
## 概念模型:智能体 + 会话
- 智能体是唯一的标识符(例如 `main``research`。Gateway 提供可用列表。
- 智能体是唯一的标识符(例如 `main``research`。Gateway网关提供可用列表。
- 会话属于当前智能体。
- 会话键存储为 `agent:<agentId>:<sessionKey>`
- 如果输入 `/session main`TUI 会将其展开为 `agent:<currentAgent>:main`
- 如果输入 `/session agent:other:main`,则显式切换到该智能体会话。
- 如果输入 `/session main`TUI 会将其展开为 `agent:<currentAgent>:main`
- 如果输入 `/session agent:other:main`,则显式切换到该智能体会话。
- 会话范围:
- `per-sender`(默认):每个智能体有多个会话。
- `global`TUI 始终使用 `global` 会话(选择器可能为空)。
@@ -61,7 +61,7 @@ openclaw tui --url ws://<host>:<port> --token <gateway-token>
## 发送与投递
- 消息发送到 Gateway默认不投递给提供商。
- 消息发送到 Gateway网关;默认不投递给提供商。
- 开启投递:
- `/deliver on`
- 或通过设置面板
@@ -113,7 +113,7 @@ openclaw tui --url ws://<host>:<port> --token <gateway-token>
- `/settings`
- `/exit`
其他 Gateway 斜杠命令(例如 `/context`)会转发到 Gateway 并显示为系统输出。请参阅[斜杠命令](/tools/slash-commands)。
其他 Gateway网关斜杠命令(例如 `/context`)会转发到 Gateway网关并显示为系统输出。请参阅[斜杠命令](/tools/slash-commands)。
## 本地 shell 命令
@@ -136,14 +136,14 @@ openclaw tui --url ws://<host>:<port> --token <gateway-token>
## 连接详情
- TUI 以 `mode: "tui"` 注册到 Gateway。
- TUI 以 `mode: "tui"` 注册到 Gateway网关
- 重新连接时显示系统消息;事件间隙会在日志中显示。
## 选项
- `--url <url>`Gateway WebSocket URL默认使用配置或 `ws://127.0.0.1:<port>`
- `--token <token>`Gateway 令牌(如需要)
- `--password <password>`Gateway 密码(如需要)
- `--url <url>`Gateway网关 WebSocket URL默认使用配置或 `ws://127.0.0.1:<port>`
- `--token <token>`Gateway网关令牌(如需要)
- `--password <password>`Gateway网关密码(如需要)
- `--session <key>`:会话键(默认:`main`,全局范围时为 `global`
- `--deliver`:将助手回复投递给提供商(默认关闭)
- `--thinking <level>`:覆盖发送时的思考级别
@@ -153,14 +153,14 @@ openclaw tui --url ws://<host>:<port> --token <gateway-token>
发送消息后没有输出:
- 在 TUI 中运行 `/status` 确认 Gateway 已连接且处于空闲/忙碌状态。
- 检查 Gateway 日志:`openclaw logs --follow`
- 在 TUI 中运行 `/status` 确认 Gateway网关已连接且处于空闲/忙碌状态。
- 检查 Gateway网关日志:`openclaw logs --follow`
- 确认智能体可以运行:`openclaw status``openclaw models status`
- 如果期望消息出现在聊天渠道中,请启用投递(`/deliver on``--deliver`)。
- 如果期望消息出现在聊天渠道中,请启用投递(`/deliver on``--deliver`)。
- `--history-limit <n>`:要加载的历史记录条目数(默认 200
## 故障排除
- `disconnected`:确保 Gateway 正在运行且`--url/--token/--password` 正确。
- 选择器中没有智能体:检查 `openclaw agents list`的路由配置。
- 会话选择器为空:可能处于全局范围或尚无会话。
- `disconnected`:确保 Gateway网关正在运行且`--url/--token/--password` 正确。
- 选择器中没有智能体:检查 `openclaw agents list`的路由配置。
- 会话选择器为空:可能处于全局范围或尚无会话。