diff --git a/README.md b/README.md index c301881..933afee 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,9 @@ Open [http://localhost:3333](http://localhost:3333) in your browser. For remote **Model & Auth** — Configure models from your registered provider list. Follow built-in guides for provider authentication setup. -**Built-in CLI** — Run any `openclaw` command with real-time streaming output. Preset commands, favorites, and tab completion included. +**Built-in CLI** — Run any OpenClaw CLI command with real-time streaming output. Includes tab completion and saved favorites. + +![](docs/redacted-screenshots/cli.jpg) **Ops Panel** — Restart gateway, view logs, run health checks, manage backups (local + NAS via SFTP/rsync), and handle cron tasks. diff --git a/docs/USAGE_GUIDE.en.md b/docs/USAGE_GUIDE.en.md index 34f614f..195be03 100644 --- a/docs/USAGE_GUIDE.en.md +++ b/docs/USAGE_GUIDE.en.md @@ -236,6 +236,22 @@ You can: --- +## 11) Built-in CLI Terminal + +OCM includes a built-in terminal panel to run OpenClaw CLI commands directly (for example: `openclaw status`, `openclaw gateway logs --follow`, `openclaw doctor`). + +How to open: click **⌨️ Terminal** in the top navigation, or use the bottom CLI panel. + +Highlights: +- **Tab completion** while typing commands +- **Common commands** dropdown to insert templates quickly +- **Favorites**: save frequently used commands and run them with one click +- **Streaming output** (stdout/stderr) for faster debugging + +Screenshot: + +![](redacted-screenshots/cli.jpg) + ## 11) Fast troubleshooting ### “Typing…” but no reply in a Telegram group diff --git a/docs/USAGE_GUIDE.zh-CN.md b/docs/USAGE_GUIDE.zh-CN.md index 6b0b48f..a5acd73 100644 --- a/docs/USAGE_GUIDE.zh-CN.md +++ b/docs/USAGE_GUIDE.zh-CN.md @@ -208,6 +208,22 @@ OCM 的表单里可以填 “Your Telegram User ID”,让它自动把你的 us --- +## 9) CLI 终端(内置) + +OCM 内置一个 CLI 面板,用来直接运行 OpenClaw 命令(例如:`openclaw status`、`openclaw gateway logs --follow`、`openclaw doctor`)。 + +入口:点击顶部导航栏的 **⌨️ 终端**,或使用页面底部的 CLI 区域。 + +功能要点: +- **Tab 补全**:输入命令时按 Tab 进行补全/提示(适合 `openclaw ...` 子命令) +- **常用命令**:可从下拉选择,一键填充常用命令模板 +- **收藏(Favorites)**:把常用命令保存为收藏,后续一键执行 +- **实时输出**:执行后会流式显示 stdout/stderr,方便排错 + +截图示例: + +![](redacted-screenshots/cli.jpg) + ## 9) Cron(定时任务) 进入 **Cron**: diff --git a/docs/redacted-screenshots/cli.jpg b/docs/redacted-screenshots/cli.jpg new file mode 100644 index 0000000..b0ce7b4 Binary files /dev/null and b/docs/redacted-screenshots/cli.jpg differ