mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 20:20:45 +08:00
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。 Made-with: Cursor
30 lines
876 B
Markdown
30 lines
876 B
Markdown
---
|
|
summary: "CLI reference for `openclaw tui` (terminal UI connected to the Gateway)"
|
|
read_when:
|
|
- You want a terminal UI for the Gateway (remote-friendly)
|
|
- You want to pass url/token/session from scripts
|
|
title: "tui"
|
|
---
|
|
|
|
# `openclaw tui`
|
|
|
|
Open the terminal UI connected to the Gateway.
|
|
|
|
Related:
|
|
|
|
- TUI guide: [TUI](/web/tui)
|
|
|
|
Notes:
|
|
|
|
- `tui` resolves configured gateway auth SecretRefs for token/password auth when possible (`env`/`file`/`exec` providers).
|
|
- When launched from inside a configured agent workspace directory, TUI auto-selects that agent for the session key default (unless `--session` is explicitly `agent:<id>:...`).
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
openclaw tui
|
|
openclaw tui --url ws://127.0.0.1:18789 --token <token>
|
|
openclaw tui --session main --deliver
|
|
# when run inside an agent workspace, infers that agent automatically
|
|
openclaw tui --session bugfix
|
|
```
|