docs: update README with WebUI overview and API endpoints

This commit is contained in:
DBT
2026-02-26 01:15:16 +00:00
parent d904ff90d7
commit edc15cc7e3

View File

@@ -116,6 +116,25 @@ clawgo gateway autonomy on
clawgo gateway autonomy off
```
## 🖥️ WebUI控制台
ClawGo 提供内置 WebUIReact + Vite 构建产物由网关直接托管):
- 访问入口:`http://<host>:<port>/webui?token=<gateway.token>`
- 移动端适配:侧边抽屉导航、紧凑头部、日志页可读模式
- 页面Dashboard / Chat / Logs / Skills / Config / Cron / Nodes / Memory
常用 WebUI API均需 token
- 配置:`GET/POST /webui/api/config`
- 聊天:`POST /webui/api/chat``POST /webui/api/chat/stream`
- 日志:`GET /webui/api/logs/recent``GET /webui/api/logs/stream`
- 定时任务:`GET /webui/api/cron``POST /webui/api/cron`
- 节点:`GET /webui/api/nodes``POST /webui/api/nodes`
- 技能:`GET/POST/DELETE /webui/api/skills`
- 会话:`GET /webui/api/sessions`
- 记忆文件:`GET/POST/DELETE /webui/api/memory`
## 📌 命令总览
```text