Skip to content

Releases: l956615272-hub/dsh-token-usage

v0.4.2

Choose a tag to compare

@github-actions github-actions released this 26 Oct 02:08

中文 | English

中文

修复

  • 兼容声明改为 engines.dsh: >=0.1.5-rc.1,不再设置 DSH 版本上限。
  • dsh.compatibility.dshReleases 补充 0.2.1-rc.3。

兼容性

  • 支持 DSH >=0.1.5-rc.1(已在 0.2.1-rc.3 验证)。

完整更新日志:v0.4.1...v0.4.2

English

Fixed

  • Declare engines.dsh: >=0.1.5-rc.1 without an upper DSH version bound.
  • Add 0.2.1-rc.3 to dsh.compatibility.dshReleases.

Compatibility

  • DSH >=0.1.5-rc.1 (verified on 0.2.1-rc.3).

Full changelog: v0.4.1...v0.4.2

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 22 Oct 07:41

中文 | English

中文

修复

  • README 安装说明移除本机绝对路径,改为 npm 安装(推荐)与仓库根目录 . 的本地开发安装。
  • PRD 项目路径改为仓库根目录的相对描述,不再包含 /Users/...。

兼容性

  • 支持 DSH 0.1.5-rc.1 ~ 0.2.1-rc.2。

完整更新日志:v0.4.0...v0.4.1

English

Fixed

  • README install instructions now use the npm package (recommended) and . from the repository root for local development, removing a machine-specific absolute path.
  • The PRD project path is now described relative to the repository root.

Compatibility

  • DSH 0.1.5-rc.1 through 0.2.1-rc.2.

Full changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@l956615272-hub l956615272-hub released this 22 Oct 07:27

中文 | English

中文

新功能

  • 默认展示「今天」的 Token 统计;时间范围顺序调整为 今天 / 近 7 天 / 近 30 天 / 自定义日期 / 全部。
  • 趋势图坐标轴字号随容器宽度自适应,窄面板下也能清晰阅读。
  • 悬停改用 HTML 明细卡:显示时间、合计、各系列及数值;不再使用浏览器原生 tooltip。
  • 柱体增加入场动画与悬停高亮/淡出,并遵循 prefers-reduced-motion。
  • 新增「在左侧栏显示」开关:开启后左侧栏出现 Token 统计入口,点开占满右侧工作区;偏好保存在本机,无需重启。

改进

  • 图表 viewBox 跟随实际宽度,避免把轴标签从 12px 缩到约 7px。
  • 侧栏入口沿用 DSH 的 sidebar.panellist / main 槽位,默认关闭。

兼容性

  • 支持 DSH 0.1.5-rc.1 ~ 0.2.1-rc.2。

完整更新日志:v0.3.0...v0.4.0

English

Added

  • The default range is now Today; the order is Today / Last 7 days / Last 30 days / Custom / All.
  • Chart axis labels size to the container width, remaining readable in narrow panels.
  • Hover now shows an HTML detail card with the bucket time, total, each series and its value; the native browser tooltip is gone.
  • Bars animate in and highlight/fade on hover, respecting prefers-reduced-motion.
  • New "Show in sidebar" switch: adds a Token Usage entry to the left sidebar that opens a full main-area page. The choice is stored locally and needs no restart.

Improved

  • The chart viewBox follows the real width, so axis labels no longer shrink from 12px to about 7px.
  • The sidebar entry uses DSH's sidebar.panellist / main slots and is off by default.

Compatibility

  • DSH 0.1.5-rc.1 through 0.2.1-rc.2.

Full changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@l956615272-hub l956615272-hub released this 22 Oct 07:27

中文 | English

中文

新功能

  • 顶部时间区间成为唯一时间控制,趋势图与明细表共用同一个维度和同一次请求。
  • 趋势图按区间自动分桶:1–3 天按小时、4–7 天按 3 小时、8–14 天按 6 小时、15–90 天按天、91–700 天按周、更长按月;空桶补 0。
  • 分组维度扩展为 模型 / 模型家族 / Provider / 工作区 / 会话 / Token 类型;明细表改为维度合计并新增「占比」列。
  • 新增模型家族维度与 3h/6h 时间桶。

修复与改进

  • 表格恢复为维度明细,不再显示按天行;时间只由顶部区间控制。
  • 工作区在图例中显示目录名,悬停显示完整路径。
  • 报表 CLI 支持 family,保留 coarsen:false 精确分组。

兼容性

  • 支持 DSH 0.1.5-rc.1 ~ 0.2.1-rc.2。

完整更新日志:v0.2.1...v0.3.0

English

Added

  • The top range is now the single time control; the chart and breakdown table share one dimension and one request.
  • The chart picks buckets automatically: hourly for 1–3 days, 3-hourly for 4–7 days, 6-hourly for 8–14 days, daily for 15–90 days, weekly for 91–700 days, monthly beyond that; empty buckets are zero-filled.
  • Dimensions: model / model family / provider / workspace / session / token type. The table now shows per-dimension totals with a share column.
  • Added the model-family dimension and 3h/6h buckets.

Fixed / Improved

  • The table is a dimension breakdown again; time is controlled only by the top range.
  • Workspace labels use the directory name in the legend and the full path on hover.
  • The report CLI supports family and keeps coarsen:false for exact grouping.

Compatibility

  • DSH 0.1.5-rc.1 through 0.2.1-rc.2.

Full changelog: v0.2.1...v0.3.0