Repository navigation
Releases: takboo/dsh-usage-state
Release list
v0.4.11
插件在 DeepSeek Harness 的插件管理、组件详情和设置中以 余额与额度 / Balance & Quota 展示,并提供简洁的中英文说明。npm 包名仍为 dsh-usage-state,现有配置与 RPC 标识保持不变。
- 新增并分发官方 locale display metadata,npm 安装描述同步说明账户余额、套餐额度、已用比例与重置倒计时。
- 纳入 DSH 0.2.1-rc.5 持续回归候选;修复自动 Draft PR 中断恢复对 GitHub 签名 committer 的识别,并以完整 tree 一致性保护额外内容。
- 385 项测试和 Node20/22/24 CI 通过;固定 rc.5 tarball 的隔离 Web RPC、模型切换、凭据优先级、状态行和中英文插件详情检查通过。正式下载包另通过真实 schema 下界3.18.3独立安装冒烟。
源提交:82e378172e30db4622a8a63de1bf68d6c87295bf。
SHA-256:81a39e3ac3cb0960acb3af212abd54e7a366689970c69d2289afae6334d78496。npm 与 GitHub 附件为同一 tarball,provenance 已核对源提交与包摘要。
完整更新日志 · 发布与验证证据 · Release CI
dshmarket 的名称与双语说明更新见 上游 PR #10510,目录可见时间取决于上游合并与构建。宿主检查使用 fixture;真实 Desktop 账号钱包、厂商接口、凭据落盘及完整视觉验收仍单独跟踪。
v0.4.10
验证并支持 DSH 0.2.1-rc.3,将精确 rc.3 加入 CI 兼容矩阵,保留 rc.1/rc.2 和原支持下界。
- 新版 DeepSeek API Key 动态
/models目录可在插件设置和模型选择器显示;切换模型后余额状态行正常。 - 隔离 tarball 安装、Host 激活、设置页、getState/describeCredentials、文件凭据优先级及隐藏/API 配置往返通过。
- 无需修改运行逻辑,源码及三个预构建入口与 0.4.9 相同,保留 DeepSeek 登录账号与 API Key 独立余额查询。
验证:344 项基线测试、rc.3 的 19 项真实 Typert/产物契约测试及全部 7 项 CI 检查通过。正式发布的同一 tarball 通过 Node 24/20 隔离运行;npm、GitHub 附件及 Actions 产物逐字节一致。浏览器使用模拟余额和模型目录;本次未新增真实 Desktop 登录钱包、厂商账户及完整视觉验收。
更新后重启 DSH:
dsh plugin --profile web add dsh-usage-state@0.4.10npm 0.4.10 · 更新日志 · 发布验收记录
Commit: 82499a9629779c5bad1437ddc8b272088dedb02d
SHA-256 (dsh-usage-state-0.4.10.tgz):
33b2517026ca08ff49408a2c10b14c5b53ff3660f7a44350062141e2552202ff
v0.4.9
DeepSeek Harness 官方账号登录余额与 API Key 余额现在分别获取和展示。
deepseek-account自动使用「账号余额」,通过 Harness 登录服务读取充值与赠送钱包,无需 API Key;deepseek-official保持 API Key 查询。- 两种模式的身份和缓存独立,退出登录、换号及晚返回响应不能恢复旧账号余额;非法读数不会冒充零。
- 账号模式提供登录指引,高级区不显示 API Key/端点输入。
- 重写当前文档导航、架构、排查、待办与发布流程;历史审计、研究和设计过程归档,默认全文搜索屏蔽归档正文。
支持声明沿用 0.4.8;本次自动化验证使用 fixture。真实 Desktop 登录账户余额及视觉验收仍在待办清单中。
发布附件为经验证的 npm 同一份 tarball,SHA-256 以附件校验文件为准。
v0.4.8
DSH 0.2.1-rc.2 compatibility verification release.
- Verify the exact rc.2 host with isolated tarball installation, real browser settings/RPC, saved-credential precedence, and hide/restore configuration.
- Confirm the account status line works alongside the new 1017 model badge and native usage/activity displays.
- Keep the runtime source and all three prebuilt entry points byte-identical to 0.4.7. The existing
^0.2.0-rc.2 || ^0.2.1-rc.1range already includes rc.2. - Extend CI to retain rc.1 and add rc.2 as separate RPC-contract jobs. All 333 baseline tests and the exact rc.2 platform’s 18 contract checks pass. Canonical and Node 20 prebuilt tarball smokes pass.
未发现新的运行兼容性问题。本版更新兼容性声明、验证记录和 CI;余额及模型流验证均使用本地 fixture,不访问真实厂商账户。
Changelog · rc.2 compatibility evidence
Commit: 74e43aa580ef14b4feef7a9a14dbcbd7055f46e9
The attached tarball and SHA-256 file identify the same verified artifact submitted to npm.
v0.4.7
DSH 0.2.1-rc.1 compatibility release.
- Fix credential lookup after delayed service activation or reload, preserving the host’s saved-credential priority and writable state.
- Explicitly support DSH
^0.2.0-rc.2 || ^0.2.1-rc.1, with an aligned dsh-settings peer. - Validate isolated tarball installs on both hosts, real settings/RPC assembly, the input status line, and hide/restore configuration on 0.2.1-rc.1. All 333 tests and both platforms’ 18 RPC contract checks pass; CI also covers Node 22/24 and prebuilt Node 20.
已修复启动顺序造成的凭据服务缓存问题,并完成新版 DSH 的设置页、状态行及配置往返验证。兼容性测试使用本地模拟数据,不包含新增真实厂商账户测试。
Full changelog · Compatibility evidence
Commit: 88c44646323149457ffc328634bcdb5237d3f9b9
The attached tarball and SHA-256 file identify the same artifact published to npm.
v0.4.6
Kimi Code provider 自动检测及新旧套餐用量兼容。
Fixed
- Kimi Code provider(kimi-code/kimi-coding/kimi-for-coding)和api.kimi.com/api.kimi.ai自动选择Coding Plan用量,Moonshot保持API余额;显式模式选择优先。
- Kimi用量兼容官方客户端usages比例池(5h/7d/月总额度/编程月用量)及旧usage/limits计数;TIME_UNIT_MINUTE的300分钟归一为5h,新套餐无周额度时不虚构7d。
- Kimi Code完整API地址不再重复拼接coding路径;Moonshot与Kimi Code的provider凭据按模式筛选,HTTP200错误信封及非法读数不会覆盖成功值。
Validation
-
新增provider→凭据→请求→RPC回归、月额度状态行渲染及真实tarball的Kimi预构建运行冒烟,纳入现有CI/Release的Node24与Node20门禁。
-
使用既有KIMI_CODING_API_KEY对官方接口完成只读实测,成功读取5h/7d窗口;未将密钥或账户响应写入仓库。月额度形态依官方客户端固定源码和去身份fixture验证。
-
Commit:
3cb1e0e7d8432b906b39ab4dc35d30df3759e740 -
CI:331 项测试及 Node 22.18/24/20 门禁通过。
-
Release workflow:OIDC 发布与 GitHub 附档成功。
-
附件为流程验证的原始 tarball;SHA-256:
798679c90b86ba837f3f1c4d38fd530dbc01dc2f034d5debf41a3f3d0c4d4a9c。 -
月额度与国际区域账户尚无活体验证;对应解析和请求由 fixture 回归覆盖。
v0.4.5
Published the verified npm tarball for v0.4.5.
Commit: 353bb2a
The attached SHA-256 file identifies the exact verified artifact.