Skip to content

v0.3.0

Latest

Choose a tag to compare

@juhe291 juhe291 released this 14 Aug 14:12
· 15 commits to master since this release

Added

  • Per-model pricing: session rows and daily/monthly stats bill each session at the price table of the model it actually used (v4-flash / v4-pro), so sessions that switched models stay accurate
  • auto price mode: flat legacy rates until 2026-08-17 00:00 Beijing time, then automatically switches to DeepSeek's official peak/off-peak schedule; the footer badge shows flat / peak / off-peak rate accordingly — no config change needed

Changed

  • Footer redesigned into three columns: status + price mode | current cost | date + time
  • Stats view simplified: dropped "Summary"/"Trend" headings, cumulative total label enlarged into one line
  • Curve Y axis reworked: unit label always visible, compact ticks (1B/500M), floating value pill at the latest point
  • Stats and live views aligned to identical heights; footer cost unified with stats figures

Fixed

  • Invisible budget bar (0.2.2 regression): replaced nonexistent theme tokens with the real suffixed variables
  • Stats view crash (0.2.2 regression): React Hooks order violation
  • Overestimated session cost: sessions mixing models were billed entirely at the current model's rate
  • Double-container whitespace and grey scrollbar strip in the stats view

新增

  • 按模型分别计价:会话行、按日/按月统计按各会话实际使用的模型(v4-flash / v4-pro 等)套用对应价格表,切换过模型的会话不再整段按单一模型计价
  • auto 价格模式:2026-08-17 零时(北京时间)前自动使用 flat 旧价,之后自动切换 DeepSeek 官方峰谷价(高峰 9-12 / 14-18),底部徽章同步显示「标准价 / 高峰价 / 空闲价」,无需手动改配置

变更

  • 底部栏改为三列布局:状态 + 价格模式 | 当前花费 | 年月日 + 时间
  • 统计视图排版精简:删除「汇总」「趋势」标题,累计消耗标签加大单行显示
  • 曲线 Y 轴重排:单位标签常驻、紧凑刻度(1B/500M)、当前值胶囊浮动在最新点旁,大数值不再重叠
  • 统计与实时视图高度精确对齐;底部当前花费与统计口径统一

修复

  • 预算进度条不可见(0.2.2 引入的缺陷):主题 token 名称错误,已替换为主题真实定义的带后缀变量
  • 统计视图崩溃(0.2.2 引入的缺陷):React Hooks 顺序违规导致切换统计视图时面板消失
  • 会话成本高估:会话混用模型时整段按当前模型计价的问题
  • 统计视图双层容器造成的多余空白与灰色滚动条条带