介绍
# Clawd Presence
基于终端的 AI 智能体状态显示。
## 为什么
聊天存在延迟。状态显示反转了这一点——智能体持续广播状态,你可以像看时钟一样瞥一眼。
## 设置
```bash # Configure (auto-detect from clawdbot or manual) python3 scripts/configure.py --auto # or python3 scripts/configure.py --letter A --name "AGENT"
# Run display in dedicated terminal python3 scripts/display.py ```
## 更新状态
当智能体开始任务时调用:
```bash python3 scripts/status.py work "Building feature" python3 scripts/status.py think "Analyzing data" python3 scripts/status.py idle "Ready" python3 scripts/status.py alert "Need attention" python3 scripts/status.py sleep ```
## 状态
| 状态 | 颜色 | 用途 | |-------|-------|-----| | `idle` | 青色 | 等待 | | `work` | 绿色 | 执行中 | | `think` | 黄色 | 处理中 | | `alert` | 红色 | 需要人工干预 | | `sleep` | 蓝色 | 低功耗 |
## 自动闲置
5 分钟无更新后返回闲置状态。防止状态过时。
```bash python3 scripts/configure.py --timeout 300 # seconds, 0 to disable ```
## 文件
- `scripts/display.py` - 主显示 - `scripts/status.py` - 更新状态 - `scripts/configure.py` - 设置 - `assets/monograms/` - 字母设计 A-Z