deepseek-harness-wallet 0.3.9 → 0.3.10
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/CHANGELOG.md +6 -0
- package/README.md +4 -2
- package/index.js +1 -1
- package/lib/client.js +1 -5615
- package/package.json +19 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## 0.3.10 - 2026-09-05
|
|
6
|
+
|
|
7
|
+
- 拆分可读客户端源码并提交可复现的精简加载产物,使每个文件低于 DSH STORE 的 256 KiB 自动审核上限;安装仍不需要构建或运行依赖。 / Split readable client sources and commit a reproducible compact loader artifact below DSH STORE's 256 KiB per-file review bound, retaining build-free installation and zero runtime dependencies.
|
|
8
|
+
- 声明 alpha.3、alpha.4、alpha.5、rc.1 的精确 DSH 兼容状态;alpha.4/alpha.5/rc.1 均完成隔离 Profile 安装、冷启动、钱包接口与客户端资源验证、卸载和回退。 / Declare exact DSH compatibility for alpha.3, alpha.4, alpha.5, and rc.1; the latter three passed disposable-profile installation, cold start, wallet endpoints/client resource delivery, removal, and rollback.
|
|
9
|
+
- 增加产物复现与文件体积检查,保留全部钱包、账户、套餐及分时计价回归。 / Add artifact reproducibility and byte-bound checks while retaining wallet, account, plan and time-of-use pricing regressions.
|
|
10
|
+
|
|
5
11
|
## 0.3.9 - 2026-09-04
|
|
6
12
|
|
|
7
13
|
- 第三方 API 自定义价格新增分时计价(Issue #37):每个精确 Provider/模型可在基础价之上配置多个 IANA 时区、适用星期和起止时间规则,并为输入、缓存读、缓存写、输出分别定价;支持跨午夜时段,当前命中的价格段会在设置和钱包详情中显示。 / Added time-of-use custom third-party API pricing (Issue #37): each exact Provider/model route can define multiple IANA-timezone, weekday, and start/end windows over a base rate, with separate input, cache-read, cache-write, and output prices; cross-midnight windows are supported and the active price segment is shown in Settings and wallet details.
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
> A local-first companion that keeps account status, per-conversation usage, completion reminders, official recharge, flexible layout, and host-gated session controls beside the DSH composer.
|
|
16
16
|
|
|
17
|
-
> **Version:** v0.3.
|
|
17
|
+
> **Version:** v0.3.10.
|
|
18
18
|
|
|
19
19
|
> If DeepSeek Harness Control Center helps you, please consider leaving a ⭐ Star. Thank you!
|
|
20
20
|
|
|
@@ -74,7 +74,7 @@ Details: [compatibility](#browser-desktop-and-os-compatibility) · [data and tru
|
|
|
74
74
|
|
|
75
75
|
## Install
|
|
76
76
|
|
|
77
|
-
From npm
|
|
77
|
+
From npm:
|
|
78
78
|
|
|
79
79
|
```sh
|
|
80
80
|
dsh plugin --profile web add deepseek-harness-wallet
|
|
@@ -145,6 +145,8 @@ For buildable DSH hosts, the npm package and repository include a versioned [Age
|
|
|
145
145
|
|
|
146
146
|
## Data & trust
|
|
147
147
|
|
|
148
|
+
Client development now uses five readable files under `src/client/` and a committed `lib/client.js` artifact; run `npm ci`, `npm run build:client`, and `npm run check:client` after source edits. Installation runs no build scripts. Exact-version smoke checks are documented in [0.3.10 compatibility evidence](https://github.com/feibi-mochi/deepseek-harness-control-center/blob/main/docs/compatibility-0.3.10.md).
|
|
149
|
+
|
|
148
150
|
| Item | Behavior |
|
|
149
151
|
| --- | --- |
|
|
150
152
|
| Token accounting | Listens to the `llm/stream` event and buckets per session and provider: `deepseek-official` plus explicitly opted-in wrapper routes use the official bucket; other providers stay third-party; each usage event also locks its contemporaneous official price, so multiple sessions and pricing windows never mix. |
|
package/index.js
CHANGED
|
@@ -34,7 +34,7 @@ const TRANSPARENT_PROVIDER_PREFIX = 'vision-toolkit-'
|
|
|
34
34
|
// DeepSeek's official paid-API bucket by the wrapper-provider alias control.
|
|
35
35
|
const PLAN_PROVIDER_IDS = new Set(PLAN_ADAPTERS.map((adapter) => adapter.provider))
|
|
36
36
|
const RECHARGE_URL = 'https://platform.deepseek.com/top_up'
|
|
37
|
-
const PLUGIN_VERSION = '0.3.
|
|
37
|
+
const PLUGIN_VERSION = '0.3.10'
|
|
38
38
|
const PRICING_SOURCE_URL = 'https://api-docs.deepseek.com/zh-cn/quick_start/pricing/'
|
|
39
39
|
const PRICING_SYNC_INTERVAL_MS = 6 * 60 * 60_000
|
|
40
40
|
const PRICING_SYNC_TIMEOUT_MS = 8_000
|