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 +27 -4
- package/README.zh-CN.md +27 -4
- package/docs/images/README.md +6 -2
- package/docs/images/sidebar-compact-en.png +0 -0
- package/docs/images/sidebar-compact-zh.png +0 -0
- package/docs/images/sidebar-icons-en.png +0 -0
- package/docs/images/sidebar-icons-zh.png +0 -0
- package/docs/images/sidebar-simple-en.png +0 -0
- package/docs/images/sidebar-simple-zh.png +0 -0
- package/docs/images/sidebar-standard-en.png +0 -0
- package/docs/images/sidebar-standard-zh.png +0 -0
- package/docs/images/sidebar-summary-en.png +0 -0
- package/docs/images/sidebar-summary-zh.png +0 -0
- package/docs/release-notes/v1.9.81.md +13 -0
- package/package.json +2 -1
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
+
| [](docs/images/sidebar-standard-en.png) | [](docs/images/sidebar-compact-en.png) |
|
|
80
|
+
|
|
81
|
+
| Simple | Combined card |
|
|
82
|
+
|:---:|:---:|
|
|
83
|
+
| [](docs/images/sidebar-simple-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
|
+
[](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
|
| [](docs/images/statistics.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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-compact-zh.png) |
|
|
80
|
+
|
|
81
|
+
| 简洁 | 合并卡片 |
|
|
82
|
+
|:---:|:---:|
|
|
83
|
+
| [](docs/images/sidebar-simple-zh.png) | [](docs/images/sidebar-summary-zh.png) |
|
|
84
|
+
|
|
85
|
+
<details>
|
|
86
|
+
<summary>图标布局</summary>
|
|
87
|
+
|
|
88
|
+
点击图标可展开对应明细。
|
|
89
|
+
|
|
90
|
+
[](docs/images/sidebar-icons-zh.png)
|
|
91
|
+
|
|
92
|
+
</details>
|
|
93
|
+
|
|
94
|
+
### 其他界面
|
|
95
|
+
|
|
73
96
|
| 费用趋势与模型排行 | 单个会话费用分布 |
|
|
74
97
|
|---|---|
|
|
75
98
|
| [](docs/images/statistics.png) | [](docs/images/treemap.png) |
|
package/docs/images/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# 界面截图 / UI screenshots
|
|
2
2
|
|
|
3
|
-
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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.
|
|
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",
|