mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 11:40:35 +00:00
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:
@@ -1,8 +1,8 @@
|
||||
---
|
||||
read_when:
|
||||
- 您需要 TUI 的新手友好指南
|
||||
- 您需要 TUI 功能、命令和快捷键的完整列表
|
||||
summary: 终端 UI(TUI):从任何机器连接到 Gateway
|
||||
- 你需要 TUI 的新手友好指南
|
||||
- 你需要 TUI 功能、命令和快捷键的完整列表
|
||||
summary: 终端 UI(TUI):从任何机器连接到 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` 和你的路由配置。
|
||||
- 会话选择器为空:你可能处于全局范围或尚无会话。
|
||||
|
||||
Reference in New Issue
Block a user