Compare commits

...

1 Commits

Author SHA1 Message Date
jackwener 942d78a7bb Remove daemon status/restart references from docs and READMEs
These commands were removed in the persistent daemon refactor.
Only `daemon stop` remains as a user-facing command.
2026-04-09 20:46:28 +08:00
5 changed files with 3 additions and 13 deletions
+1 -2
View File
@@ -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 <site> <command>` 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
+1 -2
View File
@@ -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 <site> <command>` 调用内置或生成好的适配器
- `opencli register mycli` 把本地 CLI 接入同一发现入口
- `opencli doctor` / `opencli daemon status` 处理浏览器连通性问题
- `opencli doctor` 处理浏览器连通性问题
## 给 AI Agent
-2
View File
@@ -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.
+1 -5
View File
@@ -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
-2
View File
@@ -28,9 +28,7 @@ opencli doctor # 检查扩展 + 守护进程连接
Daemon 在首次运行浏览器命令时自动启动,之后保持常驻运行。
```bash
opencli daemon status # 查看 daemon 状态(PID、运行时长、扩展连接、内存)
opencli daemon stop # 优雅关停
opencli daemon restart # 重启
```
Daemon 为常驻模式,会一直运行直到你显式停止(`opencli daemon stop`)或卸载包。