Skip to content

v1.0.0

Choose a tag to compare

@c-ling c-ling released this 16 Aug 15:41
· 6 commits to main since this release

v1.0.0

更新内容(中文)

  • 新增:侧边栏钱包按钮(位于设置按钮上方,宽度/字号与设置按钮一致;展开态显示「钱包 + 余额」,收起态圆形图标 + 低余额红点,hover 弹出磨砂浮窗展示余额)。
  • 新增:居中钱包弹窗(带遮罩,样式对齐设置弹窗),展示 DeepSeek 官方 API 余额与「更新于」时间(多币种)、成本估算(? 悬停查看口径)与全部会话成本排行(会话、模型、输入/输出 token、缓存命中、金额)。
  • 新增:会话 stats 行开头内嵌金额(金额 ≈ ¥3.87 | 1 轮 · 68 步 | …),不再单独占用底部一行。
  • 新增:内置 v4 价格表(deepseek-v4-flash / deepseek-v4-pro,旧价、空闲、高峰三档),按 token 分桶计费估算;未知模型显式标注「含无价格模型」且不计入金额。
  • 新增:余额由宿主每 5 分钟拉取,API Key 永不进入浏览器 bundle;路由输出脱敏余额。
  • 中英文 UI 跟随「设置 → 通用 → 语言」;深色模式仅使用 DSW 主题变量。
  • 仅内存缓存,无持久化数据,卸载后界面完全还原。

Changes (English)

  • Added: sidebar wallet button above the settings row (matches its width/font; expanded shows "Wallet + balance", collapsed shows a round icon with a low-balance red dot and a frosted hover popup with the balance).
  • Added: centered wallet modal with mask (styled like the settings modal) showing the official DeepSeek API balance with "Updated" time (multi-currency), a cost estimate with a ? tooltip explaining the basis, and an all-session cost ranking (session, model, input/output tokens, cache hit, amount).
  • Added: session amount prepended to the built-in stats line (Amount ≈ ¥3.87 | 1 turn · 68 steps | …) instead of a separate bottom row.
  • Added: built-in v4 price table (deepseek-v4-flash / deepseek-v4-pro; legacy, off-peak and peak tiers) with token-bucket cost estimation; unknown models are explicitly flagged as "unpriced" and excluded from the amount.
  • Added: balance is fetched host-side every 5 minutes; the API key never enters the browser bundle and route output is redacted.
  • Bilingual UI follows Settings → General → Language; dark mode uses only DSW theme tokens.
  • In-memory state only; uninstalling fully restores the UI.