perf: faster builds, leaner daemon, smoother install/run (0.9.20)
Reuse libcstcore.a for tests with -MMD incremental deps; idle-backoff the parliament seat loop; defer curl init and cache settings; add systemd helper. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -35,6 +35,22 @@ cst-agent # TUI: /status 或 /realm
|
||||
cst-agent --service-stop
|
||||
```
|
||||
|
||||
### 常驻服务(推荐)
|
||||
|
||||
登录后会 fork 后台席位进程;也可用 systemd --user 托管前台循环(崩溃自动拉起):
|
||||
|
||||
```bash
|
||||
# 安装脚本附带的辅助命令
|
||||
cst-agent-service install-unit
|
||||
# 在 ~/.config/cst-agent/parliament.env 写入:
|
||||
# CST_REALM_PASSWORD=…
|
||||
# CST_INSTANCE_ID=my-laptop
|
||||
systemctl --user enable --now cst-agent-parliament.service
|
||||
cst-agent-service status
|
||||
```
|
||||
|
||||
或手动前台:`CST_REALM_PASSWORD=… cst-agent --service-fg`。
|
||||
|
||||
密码 Realm 开启后,直接打开 agent 会要求登录(TTY 下可当场输入密码)。
|
||||
|
||||
## 议员协作协议
|
||||
|
||||
Reference in New Issue
Block a user