docs(agent): 统一中文注释并补充部署文档
将代码与测试注释改为中文以符合仓库规范;新增中文部署指南、 示例配置,并完善构建脚本对 VERSION 注入的说明。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,6 +11,8 @@ Single-binary host status agent implemented in Go.
|
||||
- Linux collectors read host, network, CPU, memory, disk, process, and TCP listener data from the OS.
|
||||
- Windows and Linux service lifecycle commands are exposed through the CLI.
|
||||
|
||||
**完整部署说明(中文):** [docs/DEPLOYMENT.md](docs/DEPLOYMENT.md)
|
||||
|
||||
## Commands
|
||||
|
||||
```bash
|
||||
@@ -46,7 +48,7 @@ Build outputs are written to `dist/`, which is intentionally ignored by Git.
|
||||
|
||||
## Configuration
|
||||
|
||||
All settings have safe defaults. The HTTP API listens on `127.0.0.1:8080` by default.
|
||||
Example config: [configs/example.json](configs/example.json). See [docs/DEPLOYMENT.md](docs/DEPLOYMENT.md) for defaults, environment variables, and production deployment steps.
|
||||
|
||||
```json
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user