@linxin666/dsh-client-ui-activity-heatmap
DSH Web 侧边栏活动热力图:常驻的 GitHub 风格年度网格,可切换显示每日提交数、Token 使用量或预估花费,并展示今日统计与模型成本。
AI 分析
适合希望监控日常使用活跃度与模型消耗成本的用户。在侧边栏直观展示 Token 消耗、缓存命中率及预估花费,数据由宿主端日志聚合。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:283Gawin/dsh-heatmap说明文档
阅读完整 README ↗配置
设置页「插件 → 活动热力图」卡片可配置以下字段(等价于插件行 config):
| 键 | 类型 | 默认 | 含义 |
|---|---|---|---|
| theme | string | blue | 热力图主题色:blue / green |
| enabled | boolean | true | 插件总开关 |
| includeMerges | boolean | false | 提交数是否计入 merge 提交 |
| usdCnyRate | number | 0 | USD→CNY 汇率,0 表示不显示人民币 |
| priceOverrides | 文本行 | {} | 模型定价覆盖(见下) |
插件行 config 示例:
- insert:
- id: ui-activity-heatmap
name: '@linxin666/dsh-client-ui-activity-heatmap'
config:
theme: green
usdCnyRate: 7.2
priceOverrides:
my-model:
inputPerM: 0.5
outputPerM: 2
修改后重启 dsh web 生效。