diff --git a/README.md b/README.md index dc613502..4ab6ed05 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,6 @@ OpenCLI connects to Chrome/Chromium through a lightweight Browser Bridge extensi ```bash opencli doctor -opencli daemon status ``` ### 4. Run your first commands @@ -75,7 +74,7 @@ Use OpenCLI directly when you want a reliable command instead of a live browser - `opencli list` shows every registered command. - `opencli ` runs a built-in or generated adapter. - `opencli register mycli` exposes a local CLI through the same discovery surface. -- `opencli daemon status` and `opencli doctor` help diagnose browser connectivity. +- `opencli doctor` helps diagnose browser connectivity. ## For AI Agents diff --git a/README.zh-CN.md b/README.zh-CN.md index 6a237b6c..4aa1aabc 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -45,7 +45,6 @@ OpenCLI 通过轻量 Browser Bridge 扩展和本地微型 daemon 与 Chrome/Chro ```bash opencli doctor -opencli daemon status ``` ### 4. 跑第一个命令 @@ -63,7 +62,7 @@ opencli bilibili hot --limit 5 - `opencli list` 查看当前所有命令 - `opencli ` 调用内置或生成好的适配器 - `opencli register mycli` 把本地 CLI 接入同一发现入口 -- `opencli doctor` / `opencli daemon status` 处理浏览器连通性问题 +- `opencli doctor` 处理浏览器连通性问题 ## 给 AI Agent diff --git a/docs/guide/browser-bridge.md b/docs/guide/browser-bridge.md index 3c6eed5a..44e9347a 100644 --- a/docs/guide/browser-bridge.md +++ b/docs/guide/browser-bridge.md @@ -41,9 +41,7 @@ The daemon manages the WebSocket connection between your CLI commands and the Ch The daemon auto-starts on first browser command and stays alive persistently. ```bash -opencli daemon status # Check daemon state (PID, uptime, extension, memory) opencli daemon stop # Graceful shutdown -opencli daemon restart # Stop + restart ``` The daemon is persistent — it stays alive until you explicitly stop it (`opencli daemon stop`) or uninstall the package. diff --git a/docs/guide/troubleshooting.md b/docs/guide/troubleshooting.md index 37735576..cafb853b 100644 --- a/docs/guide/troubleshooting.md +++ b/docs/guide/troubleshooting.md @@ -31,15 +31,11 @@ OPENCLI_CDP_TARGET=detail.1688.com opencli 1688 item 841141931191 -f json ### Daemon issues ```bash -# Check daemon status (PID, uptime, extension connection, memory) -opencli daemon status - # View extension logs curl localhost:19825/logs -# Stop or restart the daemon +# Stop the daemon opencli daemon stop -opencli daemon restart # Full diagnostics opencli doctor diff --git a/docs/zh/guide/browser-bridge.md b/docs/zh/guide/browser-bridge.md index 23b0eaf5..761c1cd9 100644 --- a/docs/zh/guide/browser-bridge.md +++ b/docs/zh/guide/browser-bridge.md @@ -28,9 +28,7 @@ opencli doctor # 检查扩展 + 守护进程连接 Daemon 在首次运行浏览器命令时自动启动,之后保持常驻运行。 ```bash -opencli daemon status # 查看 daemon 状态(PID、运行时长、扩展连接、内存) opencli daemon stop # 优雅关停 -opencli daemon restart # 重启 ``` Daemon 为常驻模式,会一直运行直到你显式停止(`opencli daemon stop`)或卸载包。