feat: /realm in TUI, daemon instance takeover (0.9.16)

Pidfile records instance+port; login restarts the service when the seat
changes. TUI /realm status|login|stop; prompts discourage filler chatter.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
WHC
2026-10-29 11:00:34 +08:00
co-authored by Cursor
parent e610d70c30
commit a3e115539e
8 changed files with 202 additions and 24 deletions
+4 -3
View File
@@ -28,9 +28,10 @@ cst-agent --login --realm-label "thinkpad"
查看状态:
```bash
cst-agent # 进入 TUI 后 /status
# 或 CLI
cst-agent --service-stop # 停服务
cst-agent # TUI: /status 或 /realm
# /realm login # TUI 内登录并启服务
# /realm stop # 停服务
cst-agent --service-stop
```
密码 Realm 开启后,直接打开 agent 会要求登录(TTY 下可当场输入密码)。