fix(providers): 撞名防护加固(多槽暂存/用量弹窗守卫/重载失败保暂存/trim 重名拦截/导航拦截)— bump to v0.8.7
Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s
Release / Attach macOS install script (push) Canceled after 0s
Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s
Release / Attach macOS install script (push) Canceled after 0s
This commit is contained in:
1 parent
97422440e1
commit
b0ad97deb2
15 files changed
+5595
-1035
No files matched your search
@@ -6,6 +6,20 @@
|
||||
|
||||
---
|
||||
|
||||
## v0.8.7 (2026-10-18)
|
||||
|
||||
撞名防护加固版:对 v0.8.6 防线的一轮对抗性审查后补齐六处缺口,三个高危路径(连续撞名丢第二个受害者、用量面板绕过守卫落盘、重载失败守卫自溃)全部关闭。
|
||||
|
||||
- **多槽暂存**:被撞名顶掉的条目原为单槽暂存,连续两次撞名时第二个受害者无记录可找回;现任意多次撞名的受害者都会被记住,改名 / 删除 / JSON 应用时逐一还原
|
||||
- **用量面板保存守卫**:「用量配置」弹窗的静默保存此前不经过撞名校验,撞名态下一次保存即把丢失状态落盘;现与 Ctrl+S 共用同一组硬阻止检查
|
||||
- **重载失败不清暂存**:仅重载成功时清理被顶掉条目的暂存,失败时守卫保持有效
|
||||
- **trim 重名拦截**:`TokenHub` / `TokenHub ` 变体不再能经 Ctrl+S 落盘(落盘后编辑页会永久红框)
|
||||
- **撞名态导航拦截**:撞名未解决时顶栏导航弹窗提示先解决;普通未保存修改的导航不变
|
||||
- **`Object.hasOwn` 替换 `in`**:命名 `constructor` 等原型键名不再幽灵撞名;类型库 ES2020→ES2022(仅类型声明,编译目标不变)
|
||||
- 零 Rust 改动、无迁移成本;`subagent-settings.ts` 的 4 处 `in` 留待后续
|
||||
- models.dev 快照同步至 2026-10-17(8,994 模型,+102)
|
||||
- 测试:前端 162 项(新增 5 项 trim 重名扫描);六条路径经三路对抗性审查复核
|
||||
|
||||
## v0.8.6 (2026-10-16)
|
||||
|
||||
供应商名称唯一性防护版:修复同一厂商配置第二把 Key 时,因名称撞车导致第一个供应商条目被静默覆盖、API Key 丢失的问题。
|
||||
|
||||
Reference in new issue
Block a user