API $$ v0.4.1
·
2 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
API $$ v0.4.1
这是一个卸载完整性补丁。v0.4.0 能恢复两份官方 DSH 文件,但成功卸载后仍会保留项目创建的备份目录与清单;v0.4.1 修复了这一点。
This patch release completes teardown behavior. v0.4.0 restored the two official DSH files but retained project-created backup state after a successful uninstall; v0.4.1 removes that residue.
修复 / Fixes
- 成功卸载后删除
backup/或backup-macos/、校验清单和原件副本 - 目标文件已经恢复为官方原件时,也会清理剩余安装状态
- 重复卸载保持幂等,不会重新创建文件
- 首次安装中途失败时,恢复官方文件并删除本次刚创建的备份
- 目标文件未知或被篡改时继续拒绝卸载,并保留恢复依据,不冒险强删
- Successful uninstall removes all project-created backup state
- Already-pristine and repeated-uninstall paths leave no residue
- Failed first install removes newly created recovery state after rollback
- Unknown or tampered targets remain fail-closed with recovery data preserved
验证 / Verification
- macOS 与 PowerShell 隔离生命周期测试:安装前后 DSH 目录逐字节一致
- Windows 10 / Windows PowerShell 5.1 实机隔离测试通过
-WhatIf与--dry-run保持零写入- PR、
main与正式标签的 GitHub Actions 全部通过
边界 / Boundary
API $$ 仍是锁定 @deepseek-ai/dsh@0.1.0-rc.6 的非官方补丁包,不是原生 Cordis 插件。卸载后必须重启原 DSH 进程,才能清除内存中已加载的旧代码。用户自行下载的源码目录属于安装介质,卸载器不会冒险自删;确认不再需要后可正常删除。
API $$ remains an unofficial patch package locked to @deepseek-ai/dsh@0.1.0-rc.6, not a native Cordis plugin. Restart the original DSH process after uninstall to unload resident code. The user-downloaded source checkout is installation media and is not self-deleted.
安装与升级:中文手册 · English guide