huantian1223/dsh-token-stats

Plugin ⭐ 1 MIT data

Install

| 键 | 默认 | 说明 |
|---|---|---|
| `gapMs` | 1800000(30 分钟) | 会话切分为"单次连续聊天"的空闲阈值 |
| `rescanIntervalMs` | 30000(30 秒) | 会话日志增量复核周期 |
| `balanceCacheMs` | 900000(15 分钟) | 余额查询缓存时长 |
| `windowMonths` | 12 | 热力图完整时间窗口(月) |
| `defaultRange` | `3m` | 热力图默认显示范围(`12m`/`3m`/`30d`) |
| `balanceWarnThreshold` | 5(¥) | 余额低于该值触发红色预警(0 关闭) |

修改后重启 DSH 生效;当前生效配置可在 `GET /token-stats/api/config` 查看。

## 测试

Add huantian1223/dsh-token-stats to your DSH config (web profile) to enable.

README

Expand full README Collapse

README is empty.