dsh-cost-meter 1.9.80 → 1.9.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  <p align="center">Cost tracking and subscription quotas for DeepSeek Harness</p>
4
4
 
5
5
  <p align="center">
6
- <a href="https://github.com/Han-1413141/dsh-cost-meter/releases/latest"><img src="https://img.shields.io/badge/version-1.9.80-4176E6?style=flat-square" alt="version"></a>
6
+ <a href="https://github.com/Han-1413141/dsh-cost-meter/releases/latest"><img src="https://img.shields.io/badge/version-1.9.81-4176E6?style=flat-square" alt="version"></a>
7
7
  <a href="https://www.npmjs.com/package/dsh-cost-meter"><img src="https://img.shields.io/npm/dm/dsh-cost-meter?label=downloads&style=flat-square&color=4176E6" alt="npm monthly downloads"></a>
8
8
  <a href="https://github.com/Han-1413141/dsh-cost-meter/stargazers"><img src="https://img.shields.io/github/stars/Han-1413141/dsh-cost-meter?label=stars&style=flat-square&color=D9A400" alt="GitHub stars"></a>
9
9
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="MIT license"></a>
@@ -42,20 +42,20 @@ Restart `dsh web` after installation or updates. **Desktop** uses its bundled CL
42
42
  The PowerShell installer checks pnpm and Git and uses the `web` profile by default:
43
43
 
44
44
  ```powershell
45
- irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.80/install.ps1 | iex
45
+ irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.81/install.ps1 | iex
46
46
  ```
47
47
 
48
48
  Install a pinned Git tag:
49
49
 
50
50
  ```sh
51
- dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.80
51
+ dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.81
52
52
  ```
53
53
 
54
54
  See [installation and updates](docs/install.en.md) for uninstalling or installing without Git.
55
55
 
56
56
  </details>
57
57
 
58
- Current release **v1.9.80**: [release notes](docs/release-notes/v1.9.80.md) · [troubleshooting](docs/install-troubleshooting.md)
58
+ Current release **v1.9.81**: [release notes](docs/release-notes/v1.9.81.md) · [troubleshooting](docs/install-troubleshooting.md)
59
59
 
60
60
  ## Feature overview
61
61
 
@@ -70,6 +70,29 @@ See [features and screenshots](docs/features.en.md) for entry points and [model
70
70
 
71
71
  ## Screenshots & walkthrough
72
72
 
73
+ ### Sidebar layouts
74
+
75
+ Switch layouts under **Settings → Cost → Display → Sidebar → Sidebar layout**. Each screenshot uses the same example balance, quota and usage.
76
+
77
+ | Standard | Compact |
78
+ |:---:|:---:|
79
+ | [![Standard sidebar with stacked quota rows](docs/images/sidebar-standard-en.png)](docs/images/sidebar-standard-en.png) | [![Compact sidebar with two-column quota rows](docs/images/sidebar-compact-en.png)](docs/images/sidebar-compact-en.png) |
80
+
81
+ | Simple | Combined card |
82
+ |:---:|:---:|
83
+ | [![Simple sidebar with shorter rows](docs/images/sidebar-simple-en.png)](docs/images/sidebar-simple-en.png) | [![Combined sidebar card with usage, balance and pricing period](docs/images/sidebar-summary-en.png)](docs/images/sidebar-summary-en.png) |
84
+
85
+ <details>
86
+ <summary>Icons layout</summary>
87
+
88
+ Select an icon to open its details.
89
+
90
+ [![Sidebar with a combined balance and pricing period icon, plus quota and usage icons](docs/images/sidebar-icons-en.png)](docs/images/sidebar-icons-en.png)
91
+
92
+ </details>
93
+
94
+ ### Other views
95
+
73
96
  | Cost trends and model ranking | Conversation cost distribution |
74
97
  |---|---|
75
98
  | [![Cost trends](docs/images/statistics.png)](docs/images/statistics.png) | [![Conversation treemap](docs/images/treemap.png)](docs/images/treemap.png) |
package/README.zh-CN.md CHANGED
@@ -3,7 +3,7 @@
3
3
  <p align="center">DeepSeek Harness 费用统计与订阅额度插件</p>
4
4
 
5
5
  <p align="center">
6
- <a href="https://github.com/Han-1413141/dsh-cost-meter/releases/latest"><img src="https://img.shields.io/badge/version-1.9.80-4176E6?style=flat-square" alt="version"></a>
6
+ <a href="https://github.com/Han-1413141/dsh-cost-meter/releases/latest"><img src="https://img.shields.io/badge/version-1.9.81-4176E6?style=flat-square" alt="version"></a>
7
7
  <a href="https://www.npmjs.com/package/dsh-cost-meter"><img src="https://img.shields.io/npm/dm/dsh-cost-meter?label=downloads&style=flat-square&color=4176E6" alt="npm monthly downloads"></a>
8
8
  <a href="https://github.com/Han-1413141/dsh-cost-meter/stargazers"><img src="https://img.shields.io/github/stars/Han-1413141/dsh-cost-meter?label=stars&style=flat-square&color=D9A400" alt="GitHub stars"></a>
9
9
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="MIT license"></a>
@@ -42,20 +42,20 @@ dsh plugin --profile web add dsh-cost-meter
42
42
  PowerShell 脚本自动检查 pnpm 和 Git,默认安装到 `web` Profile:
43
43
 
44
44
  ```powershell
45
- irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.80/install.ps1 | iex
45
+ irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.81/install.ps1 | iex
46
46
  ```
47
47
 
48
48
  固定 Git tag 安装:
49
49
 
50
50
  ```sh
51
- dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.80
51
+ dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.81
52
52
  ```
53
53
 
54
54
  更新、卸载及无 Git 的安装方法见[安装说明](docs/install.md)。
55
55
 
56
56
  </details>
57
57
 
58
- 当前版本 **v1.9.80**:[更新说明](docs/release-notes/v1.9.80.md) · [安装排障](docs/install-troubleshooting.md)
58
+ 当前版本 **v1.9.81**:[更新说明](docs/release-notes/v1.9.81.md) · [安装排障](docs/install-troubleshooting.md)
59
59
 
60
60
  ## 功能总览
61
61
 
@@ -70,6 +70,29 @@ dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.80
70
70
 
71
71
  ## 图文演示
72
72
 
73
+ ### 侧栏布局
74
+
75
+ 在 **设置 → 费用 → 显示 → 侧栏 → 侧栏布局** 中切换。各张截图使用同一组示例余额、套餐额度和用量。
76
+
77
+ | 标准 | 紧凑 |
78
+ |:---:|:---:|
79
+ | [![标准布局,套餐额度纵向排列](docs/images/sidebar-standard-zh.png)](docs/images/sidebar-standard-zh.png) | [![紧凑布局,套餐额度两列排列](docs/images/sidebar-compact-zh.png)](docs/images/sidebar-compact-zh.png) |
80
+
81
+ | 简洁 | 合并卡片 |
82
+ |:---:|:---:|
83
+ | [![简洁布局,以短行显示用量和额度](docs/images/sidebar-simple-zh.png)](docs/images/sidebar-simple-zh.png) | [![合并卡片布局,同一张卡片显示用量、余额和峰谷时段](docs/images/sidebar-summary-zh.png)](docs/images/sidebar-summary-zh.png) |
84
+
85
+ <details>
86
+ <summary>图标布局</summary>
87
+
88
+ 点击图标可展开对应明细。
89
+
90
+ [![侧栏图标布局,包含余额与峰谷图标、套餐额度图标和今日用量图标](docs/images/sidebar-icons-zh.png)](docs/images/sidebar-icons-zh.png)
91
+
92
+ </details>
93
+
94
+ ### 其他界面
95
+
73
96
  | 费用趋势与模型排行 | 单个会话费用分布 |
74
97
  |---|---|
75
98
  | [![费用趋势与模型排行](docs/images/statistics.png)](docs/images/statistics.png) | [![会话费用矩形图](docs/images/treemap.png)](docs/images/treemap.png) |
@@ -1,5 +1,9 @@
1
1
  # 界面截图 / UI screenshots
2
2
 
3
- 这些图片选自 2026-10-25 的项目配图库,由实际界面组件和示例数据生成。金额、账户余额、套餐百分比和会话内容用于展示功能。当前安装与功能说明以文档正文为准。
3
+ 会话和功能截图选自 2026-10-25 的项目配图库,由实际界面组件和示例数据生成。金额、账户余额、套餐百分比和会话内容用于展示功能。当前安装与功能说明以文档正文为准。
4
4
 
5
- The images come from the project's 2026-10-25 screenshot collection, rendered with application components and sample data. Amounts, balances, quota percentages and conversation content are examples.
5
+ The conversation and feature images come from the project's 2026-10-25 screenshot collection, rendered with application components and sample data. Amounts, balances, quota percentages and conversation content are examples.
6
+
7
+ `sidebar-*.png` 截取自 DeepSeek Harness Web 中运行的 dsh-cost-meter,使用同一组示例数据展示各侧栏布局。
8
+
9
+ The `sidebar-*.png` images show dsh-cost-meter running in DeepSeek Harness Web, with the same example data in each layout.
Binary file
Binary file
@@ -0,0 +1,13 @@
1
+ ## v1.9.81 更新
2
+
3
+ - **侧栏布局截图**。中英文仓库首页增加标准、紧凑、简洁、合并卡片与图标布局截图,使用同一组示例用量、余额和套餐额度。
4
+
5
+ ## 升级
6
+
7
+ 已安装用户在任意终端重跑一行即可(重跑即为更新):
8
+
9
+ ```powershell
10
+ irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.81/install.ps1 | iex
11
+ ```
12
+
13
+ 升级后**重启 dsh web** 使插件服务端代码生效,浏览器端刷新页面即可。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-cost-meter",
3
- "version": "1.9.80",
3
+ "version": "1.9.81",
4
4
  "description": "DeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(16 家,含 WorkBuddy 官方积分、OpenDesign 工作区查询、含小米 MiMo Token Plan 控制台 Cookie 查询、SCNet Token Plan 本地 Credits 计量与火山方舟 Volcano Ark Coding Plan AK/SK 签名查询)、自定义 Provider 余额查询(可配任意 HTTP 端点)与余额进度条、峰谷计价时段显示与切换前弹窗/系统通知提醒(位置/提前量/类型可配),界面中英双语。Session cost tracking plugin for DeepSeek Harness: per-conversation cost, daily totals, history and official price sync, with multi-vendor model pricing (built-in 170+ model-ID catalog with auto-matching), Coding Plan quota queries & display for 16 vendors (incl. WorkBuddy official credits, OpenDesign workspace queries, Xiaomi MiMo Token Plan via console cookie, local credits metering for the SCNet Token Plan and Volcano Ark Coding Plan via AK/SK signature), plan/API dual-track billing with per-1% & full-window Token Plan usage estimates, custom provider balance lookup (configurable HTTP endpoint) and balance progress bar, plus peak/off-peak pricing display with pre-switch popup & system-notification alerts (position / lead time / type configurable), in a bilingual (Chinese/English) UI.",
5
5
  "type": "module",
6
6
  "main": "lib/bootstrap.js",
@@ -100,6 +100,7 @@
100
100
  "files": [
101
101
  "docs/web-request-fees.md",
102
102
  "docs/host-price-calculators.md",
103
+ "docs/release-notes/v1.9.81.md",
103
104
  "docs/release-notes/v1.9.80.md",
104
105
  "docs/release-notes/v1.9.78.md",
105
106
  "locale",