插件详情 · KIDLi1412/dsh-token-heatmap
dsh-token-heatmap KIDLi1412
DSH web plugin: GitHub-style daily token-usage heatmap on the new-session screen with a selectable calendar-year view, green/blue color schemes and a display switch, plus today / this-month / all-time totals.
GitHub stars
forks
创建于
最近 push
npm 周下载
插件装不上 / 打开崩溃? npx dsh-why --package . 一键诊断并给修复建议 → dsh-why.com
— awesome 未收录 · — imsai 未收录
npm @kidli1412/dsh-token-heatmap@0.5.0(10 个版本 · 最近发布 2026-09-29)
启发式信号(npm registry 探测),非运行时测试;预发布按基础版本口径解读(非 npm semver 字面判定)">dsh 兼容:engines.dsh ^0.2.0-rc.2 || ^0.2.1-rc.2 · 官方 latest 0.2.0-rc.2
版本滞后:仓库 0.1.5 vs npm 0.5.0
徽章接入:https://dsh-insights.com/badge/KIDLi1412/dsh-token-heatmap.svg · 接入指南 ↗
新会话页显示每日令牌用量热力图,可选择年份与绿蓝配色,展示今日、本月及累计总数。
heatmapusagetokenscalendartotalsthemestogglesession
README 宣称:GitHub-style daily token-usage heatmap on the new-session screen;selectable calendar-year view;green/blue color schemes and a display switch;today / this-month / all-time totals
实测兼容 client bundle × shell 模块表
实测对象:npm 0.5.2 · 外部 require 3 个。口径:静态分析 client bundle 中代码态的 require 字面量(注释/字符串内的不计;相对路径为 bundle 自带模块表就地服务,不计),逐 shell 版本对齐官方 loader 真实解析序——seed 词 ∪ 图行(shell 内置 client 包,分 immediate 确定可解析与 lazy 条件可解析)∪ 语料库已知插件包名;try/catch 守卫感知——loader 的 require 为调用时解析,try 块缺失可由配对 catch 兜底(catch 可解析或为空仍判可加载);非运行时测试,动态 require(含模板串)不在检测范围。