@pinkbanana/dsh-balance 0.12.1 → 0.13.0

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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/README_EN.md +2 -2
  3. package/package.json +37 -37
package/README.md CHANGED
@@ -29,9 +29,9 @@ DeepSeek Harness 插件,用于查询 DeepSeek / StepFun API 余额,以及 De
29
29
 
30
30
  ## 兼容性
31
31
 
32
- 0.12.1 适配 DeepSeek Harness **0.2.1-rc.5**([上游版本](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.2.1-rc.5)),需要 Node.js **22.19+(22.x)或 24+**。所有 DSH peer 依赖和开发依赖均锁定为 `0.2.1-rc.5`。Harness `0.2.0-rc.2` 用户请继续使用插件 `0.10.2`;本次源码不再兼容 Harness 0.1 的接口。
32
+ 0.13.0 适配 DeepSeek Harness **0.2.2-rc.1**([上游版本](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.2.2-rc.1)),需要 Node.js **24.9+**。所有 DSH peer 依赖和开发依赖均锁定为 `0.2.2-rc.1`,Cordis 使用 `~4.1.0`。Harness `0.2.0-rc.2` 用户请继续使用插件 `0.10.2`;本次源码不再兼容 Harness 0.1 的接口。
33
33
 
34
- 新版 dsh 会在安装及启动时校验插件兼容版本。旧插件锁定 `rc.2`,会被 `rc.5` 拒绝加载;请升级到插件 `0.12.1`,无需添加版本豁免。仍使用 dsh `0.2.1-rc.2` 的用户请保留插件 `0.11.0`。
34
+ 新版 dsh 会在安装及启动时校验插件兼容版本。插件 `0.12.1` 锁定 `0.2.1-rc.5`,会被 dsh `0.2.2-rc.1` 拒绝加载;请升级到插件 `0.13.0` 并重启 Harness,无需添加版本豁免。仍使用 dsh `0.2.1-rc.5` 的用户请保留插件 `0.12.1`;dsh `0.2.1-rc.2` 用户请保留插件 `0.11.0`。
35
35
 
36
36
  也可在本地构建并打包源码,再用 `dsh plugin --profile web add /absolute/path/to/package.tgz` 安装生成的 `.tgz` 文件,随后重启 Harness:
37
37
 
package/README_EN.md CHANGED
@@ -27,7 +27,7 @@ The composer readout follows the current session’s provider and model. The Set
27
27
 
28
28
  ## Compatibility
29
29
 
30
- Version 0.12.1 targets DeepSeek Harness **0.2.1-rc.5** ([upstream release](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.2.1-rc.5)). Use Node.js **22.19+ (22.x) or 24+**. All DSH peer and development dependencies are pinned to `0.2.1-rc.5`. Harness `0.2.0-rc.2` users should keep plugin `0.10.2`; Harness 0.1 APIs are no longer supported by this checkout.
30
+ Version 0.13.0 targets DeepSeek Harness **0.2.2-rc.1** ([upstream release](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.2.2-rc.1)). Use Node.js **24.9+**. All DSH peer and development dependencies are pinned to `0.2.2-rc.1`, with Cordis `~4.1.0`. Harness `0.2.0-rc.2` users should keep plugin `0.10.2`; Harness 0.1 APIs are no longer supported by this checkout.
31
31
 
32
32
  To install from source, build and pack it locally, then pass the generated `.tgz` path to `dsh plugin --profile web add /absolute/path/to/package.tgz` and restart Harness:
33
33
 
@@ -81,7 +81,7 @@ Statistics cover locally saved dsh sessions only, not other clients or organizat
81
81
 
82
82
  Conversation/reasoning model estimates use the [Tokener model catalog](https://www.tokener.ai/zh/models) USD reference snapshot checked on 2026-11-03, matching exact model IDs without vendor rates or DeepSeek peak multipliers. This snapshot also estimates older records; it does not reconstruct historical charges. Unknown models, missing usage, and requests with unpublished cache-write pricing retain their requests/tokens but stay unpriced. Account balances and actual bills remain in the [Tokener console](https://console.tokener.ai).
83
83
 
84
- New dsh versions validate compatibility before installation and startup. Plugin `0.11.0` declares `rc.2` peers and is rejected on `rc.5`; upgrade to `0.12.1` without a version exemption. Keep plugin `0.11.0` if you remain on dsh `0.2.1-rc.2`.
84
+ New dsh versions validate compatibility before installation and startup. Plugin `0.12.1` declares `0.2.1-rc.5` peers and is rejected on dsh `0.2.2-rc.1`; upgrade to plugin `0.13.0` and restart Harness. No version exemption is required. Keep plugin `0.12.1` on dsh `0.2.1-rc.5`, or plugin `0.11.0` on dsh `0.2.1-rc.2`.
85
85
 
86
86
  ## StepFun setup
87
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinkbanana/dsh-balance",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "DeepSeek Harness plugin for multi-provider API balances, available models, and usage billing",
5
5
  "repository": {
6
6
  "type": "git",
@@ -68,54 +68,54 @@
68
68
  }
69
69
  },
70
70
  "engines": {
71
- "node": "^22.19.0 || >=24.0.0"
71
+ "node": ">=24.9.0"
72
72
  },
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
76
  "license": "MIT",
77
77
  "peerDependencies": {
78
- "@deepseek-ai/cordis": "~4.0.5",
79
- "@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.5",
80
- "@deepseek-ai/dsh-client-locale": "0.2.1-rc.5",
81
- "@deepseek-ai/dsh-client-store": "0.2.1-rc.5",
82
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.5",
83
- "@deepseek-ai/dsh-client-ui-layout": "0.2.1-rc.5",
84
- "@deepseek-ai/dsh-client-ui-model-selection": "0.2.1-rc.5",
85
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.5",
86
- "@deepseek-ai/dsh-client-ui-session": "0.2.1-rc.5",
87
- "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.5",
88
- "@deepseek-ai/dsh-client-ui-sidebar": "0.2.1-rc.5",
89
- "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.5",
90
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.5",
91
- "@deepseek-ai/dsh-host-webserver": "0.2.1-rc.5",
92
- "@deepseek-ai/dsh-session": "0.2.1-rc.5",
93
- "@deepseek-ai/dsh-session-persistence": "0.2.1-rc.5",
94
- "@deepseek-ai/dsh-token-meter": "0.2.1-rc.5",
78
+ "@deepseek-ai/cordis": "~4.1.0",
79
+ "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.1",
80
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
81
+ "@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
82
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
83
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.1",
84
+ "@deepseek-ai/dsh-client-ui-model-selection": "0.2.2-rc.1",
85
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.1",
86
+ "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.1",
87
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
88
+ "@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-rc.1",
89
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
90
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
91
+ "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
92
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
93
+ "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.1",
94
+ "@deepseek-ai/dsh-token-meter": "0.2.2-rc.1",
95
95
  "react": "^18.2.0",
96
96
  "react-dom": "^18.2.0"
97
97
  },
98
98
  "dependencies": {
99
- "@deepseek-ai/schemastery": "^3.18.5"
99
+ "@deepseek-ai/schemastery": "^3.19.0"
100
100
  },
101
101
  "devDependencies": {
102
- "@deepseek-ai/cordis": "~4.0.5",
103
- "@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.5",
104
- "@deepseek-ai/dsh-client-locale": "0.2.1-rc.5",
105
- "@deepseek-ai/dsh-client-store": "0.2.1-rc.5",
106
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.5",
107
- "@deepseek-ai/dsh-client-ui-layout": "0.2.1-rc.5",
108
- "@deepseek-ai/dsh-client-ui-model-selection": "0.2.1-rc.5",
109
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.5",
110
- "@deepseek-ai/dsh-client-ui-session": "0.2.1-rc.5",
111
- "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.5",
112
- "@deepseek-ai/dsh-client-ui-sidebar": "0.2.1-rc.5",
113
- "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.5",
114
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.5",
115
- "@deepseek-ai/dsh-host-webserver": "0.2.1-rc.5",
116
- "@deepseek-ai/dsh-session": "0.2.1-rc.5",
117
- "@deepseek-ai/dsh-session-persistence": "0.2.1-rc.5",
118
- "@deepseek-ai/dsh-token-meter": "0.2.1-rc.5",
102
+ "@deepseek-ai/cordis": "~4.1.0",
103
+ "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.1",
104
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
105
+ "@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
106
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
107
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.1",
108
+ "@deepseek-ai/dsh-client-ui-model-selection": "0.2.2-rc.1",
109
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.1",
110
+ "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.1",
111
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
112
+ "@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-rc.1",
113
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
114
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
115
+ "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
116
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
117
+ "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.1",
118
+ "@deepseek-ai/dsh-token-meter": "0.2.2-rc.1",
119
119
  "@eslint/js": "^9.39.1",
120
120
  "@types/node": "^24.10.0",
121
121
  "@types/react": "^18.3.27",