全部插件

DSH / BUNDLE / CLIENT-UI

dsh-token-tracker

v0.1.0XiaHouSheng / dsh-token-trackerff0e50b5fd

可安装组合包UI 与客户端插件社区 · Topic 自动分析Web UI

概览

dsh-token-tracker

Fold provider token usage from the durable session log, price it with a peak/off-peak table, and surface totals in the dsh web GUI plus a standalone overview page and JSON API.

README / ZH

插件文档

目录摘要

Fold provider token usage from the durable session log, price it with a peak/off-peak table, and surface totals in the dsh web GUI plus a standalone overview page and JSON API.

dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。

在 GitHub 阅读完整 README

LIMITATIONS

已知限制

- token 核算依赖 provider 在 `assistant/message` 事件上上报 `usage`;缺省时会退化为按字符数估算(标记 `≈`),并非计费级精度。 - 峰谷计价以北京时间为时区锚点,且计价缓存 TTL 很短,因此编辑计价文件后需要几秒才生效。 - peer 版本在 publish 形态下使用精确区间(`^0.1.0-rc.5`)。它们由匹配的 harness 安装满足;请让它们与你部署的 harness 版本保持一致,否则 `dsh plugin add` 会提示 peer 未满足。 - 总览页以较慢的 10 分钟间隔自动刷新(标签页隐藏时暂停);会话日志很大时,表格最多展示前 300 个会话。