更新内容
- 适配 DeepSeek Harness
dsh-v0.1.3-alpha.1的会话持久化接口,恢复安装前历史消息的费用补算;继续兼容旧宿主。 - 修复重启宿主后会话模型标签消失、自动跟随供应商回退到全局默认值的问题。历史请求恢复显示,新的实时请求仍优先。
- 将 revision 缓存限定在同一个持久化服务实例内,避免替换服务后复用旧结果;保留历史价格快照、实时消息去重与回放节流。
- 更新中英文 README、CHANGELOG 和兼容性检查,覆盖 Harness
0.1.1-rc.2、0.1.2-alpha.1、0.1.2-rc.1、0.1.3-alpha.1。
验证
- 85 项测试、类型检查、lint、生成文件一致性与打包内容检查通过。
- 在 Windows 上用官方
dsh-v0.1.3-alpha.1源码构建的 Web GUI,完成历史补算、实时累计、刷新、会话切换、设置开关与重启恢复验收。 - 验收使用本地模拟模型用量和余额;三次请求对应三条账本记录,精确合计 ¥1.494 / USD 0.21912,无重复计费。此项验证不代表供应商实际扣款核对。
安装或升级后,重启 dsh web 并刷新页面。费用继续按插件的本地价格快照估算。
English
This patch restores historical billing on Harness dsh-v0.1.3-alpha.1 through read-only SessionHandles while retaining legacy raw-log support. Session provider/model labels now recover from historical requests after a host restart, with live requests taking precedence. Revision caches are scoped to each persistence service instance. Historical pricing snapshots and message deduplication are preserved.
Both READMEs and the changelog are updated. All 85 tests and local quality/package checks passed; browser acceptance used the real Harness Web GUI with a local deterministic provider fixture, not real provider billing.