nikou-cli 0.1.23 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -21,7 +21,8 @@ npm install -g nikou-cli
|
|
|
21
21
|
npx nikou-cli --help
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
要求 Node.js `>=
|
|
24
|
+
要求 Node.js `>=20`。Windows 使用 Node.js 24 时,依赖的 `better-sqlite3`
|
|
25
|
+
会直接下载对应预编译包,不要求用户安装 Visual Studio C++ 或 Windows SDK。
|
|
25
26
|
|
|
26
27
|
## 命令总览
|
|
27
28
|
|
|
@@ -450,7 +451,7 @@ nikou-cli hook admin-key --show # 打印完整密钥,注意不要外发
|
|
|
450
451
|
| 方法 | 路径 | 说明 |
|
|
451
452
|
| --- | --- | --- |
|
|
452
453
|
| GET | `/admin/ping` | 连通性探测,只返回服务名与版本 |
|
|
453
|
-
| GET | `/admin/status` | 运行态:PID、启动时间、在线 Worker
|
|
454
|
+
| GET | `/admin/status` | 运行态:PID、启动时间、在线 Worker 摘要(含内网 IP、nikou-cli 版本、视角标签)、群聊绑定数、白名单人数 |
|
|
454
455
|
| GET | `/admin/log?page=1&pageSize=200&keyword=` | 主节点日志分页,`page=1` 为最新一页 |
|
|
455
456
|
| GET | `/admin/stats?days=7` | 按天任务统计,读本机 `usage-events.sqlite` |
|
|
456
457
|
| POST | `/admin/restart` | 主节点自行退出,由 systemd `Restart=always` 拉起 |
|