@dsh-external/dsh-mood
AI 编码代理的行为情绪环插件:通过观察会话中的工具调用行为,在会话头部显示四种状态的情绪指示灯(如困惑、沮丧、崩溃、良好)。
AI 分析
核心用途是直观展示 AI 代理在执行任务时的状态和遇到的阻碍。适合需要监控 AI 自动编码过程、及时发现 AI 是否陷入死循环或频繁报错的用户。支持自定义触发情绪变化的行为阈值。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Raphaelutumn/dsh-mood說明文件
閱讀完整 README ↗Configuration
| Field | Default | Meaning |
|---|---|---|
confusedRepeatThreshold | 3 | consecutive occurrences of one tool that mean CONFUSED |
frustratedFailureThreshold | 3 | consecutive failures that mean FRUSTRATED |
overwhelmedSignalCount | 3 | whether high activity + failure + repetition are all present for OVERWHELMED |
stableSuccessesToRecover | 2 | consecutive successes required to return to GOOD |
changeCooldownMs | 60000 | how long before the same reason stops re-surfacing |
repetitionWindow | 12 | recent tool calls kept for repeat detection |
highActivityThreshold | 4 | window length treated as "high activity" |
Override in the profile's cordis.patch.yml:
- id: mood
config:
frustratedFailureThreshold: 5
stableSuccessesToRecover: 3
changeCooldownMs: 30000
All config values must be positive integers. Invalid config fails plugin load loudly rather than silently weakening behavior.