dsh-cost-meter 1.9.63 → 1.9.64

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.63-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.64-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.63/install.ps1 | iex
45
+ irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.64/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.63
51
+ dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.64
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.63**: [release notes](docs/update-notes-1.9.63.md#english) · [troubleshooting](docs/install-troubleshooting.md)
58
+ Current release **v1.9.64**: [release notes](docs/update-notes-1.9.64.md#english) · [troubleshooting](docs/install-troubleshooting.md)
59
59
 
60
60
  ## Feature overview
61
61
 
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.63-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.64-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.63/install.ps1 | iex
45
+ irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.64/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.63
51
+ dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.64
52
52
  ```
53
53
 
54
54
  更新、卸载及无 Git 的安装方法见[安装说明](docs/install.md)。
55
55
 
56
56
  </details>
57
57
 
58
- 当前版本 **v1.9.63**:[更新说明](docs/update-notes-1.9.63.md#中文) · [安装排障](docs/install-troubleshooting.md)
58
+ 当前版本 **v1.9.64**:[更新说明](docs/update-notes-1.9.64.md#中文) · [安装排障](docs/install-troubleshooting.md)
59
59
 
60
60
  ## 功能总览
61
61
 
@@ -19,22 +19,22 @@ On Node.js 20, use `npm install -g pnpm@10` instead. See [pnpm installation and
19
19
  dsh plugin --profile web add dsh-cost-meter
20
20
  ```
21
21
 
22
- **PowerShell one-click script** (copy the whole line, paste, press Enter; pnpm is provisioned automatically, git is auto-detected — no clone needed; the install chain is **pinned to the release tag `v1.9.63`** — review the script before running):
22
+ **PowerShell one-click script** (copy the whole line, paste, press Enter; pnpm is provisioned automatically, git is auto-detected — no clone needed; the install chain is **pinned to the release tag `v1.9.64`** — review the script before running):
23
23
 
24
24
  ```powershell
25
- irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.63/install.ps1 | iex
25
+ irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.64/install.ps1 | iex
26
26
  ```
27
27
 
28
28
  **Or a plain command line** (the machine must already have pnpm and git; also pinned to the tag):
29
29
 
30
30
  ```sh
31
- dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.63
31
+ dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.64
32
32
  ```
33
33
 
34
34
  Without git, use the GitHub tag archive:
35
35
 
36
36
  ```sh
37
- dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.9.63.tar.gz
37
+ dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.9.64.tar.gz
38
38
  ```
39
39
 
40
40
  After installing, **restart** `dsh web` (plugin rows, the Typert manifest and the client bundle are all scanned at startup):
package/docs/install.md CHANGED
@@ -19,22 +19,22 @@ Node.js 20 请改用 `npm install -g pnpm@10`。版本要求见 [pnpm 官方安
19
19
  dsh plugin --profile web add dsh-cost-meter
20
20
  ```
21
21
 
22
- **PowerShell 一键脚本**(复制整行粘贴回车;自动补齐 pnpm、自动探测 git,无需克隆仓库;安装链**固定到发布 tag `v1.9.63`**,建议先下载审阅再运行):
22
+ **PowerShell 一键脚本**(复制整行粘贴回车;自动补齐 pnpm、自动探测 git,无需克隆仓库;安装链**固定到发布 tag `v1.9.64`**,建议先下载审阅再运行):
23
23
 
24
24
  ```powershell
25
- irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.63/install.ps1 | iex
25
+ irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.64/install.ps1 | iex
26
26
  ```
27
27
 
28
28
  **或直接命令行**(机器上需已有 pnpm 与 git;同样固定到 tag):
29
29
 
30
30
  ```sh
31
- dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.63
31
+ dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.64
32
32
  ```
33
33
 
34
34
  没有 git 时可用 GitHub tag 打包直链:
35
35
 
36
36
  ```sh
37
- dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.9.63.tar.gz
37
+ dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.9.64.tar.gz
38
38
  ```
39
39
 
40
40
  安装后**重启** `dsh web`(插件行、Typert 清单与客户端 bundle 均在启动时扫描):
@@ -0,0 +1,21 @@
1
+ # v1.9.64
2
+
3
+ ## 中文
4
+
5
+ - 适配 Magpie 自带接入、dsh-magpie-connect、dsh-magpie-connector 和 @zhiqiangme/dsh-magpie,按模型 ID 中的来源前缀自动匹配价格。
6
+ - 切换模型后使用对应单价,保留手动定价、渠道专属价格、免费模型及本地模型规则。
7
+ - 同步前后端价格解析,补充实际连接插件目录和连续模型切换回归。
8
+
9
+ ## English
10
+
11
+ - Match account-prefixed model IDs from Magpie and the dsh-magpie-connect, dsh-magpie-connector and @zhiqiangme/dsh-magpie integrations.
12
+ - Select the corresponding price after model switches while preserving manual assignments, source-specific rates, free variants and local-model rules.
13
+ - Keep host and client matching consistent and cover published connector catalogs and consecutive model switches.
14
+
15
+ ## 升级 / Upgrade
16
+
17
+ ```sh
18
+ dsh plugin --profile web add dsh-cost-meter@latest
19
+ ```
20
+
21
+ 更新后重启 `dsh web`。Desktop 用户参见 [安装与更新](install-troubleshooting.md#desktop-安装与更新)。