fix: 发布 1.1.29,更新下载不再把 GitHub 302 当成失败

- 安装包里的 1.1.26 仍用 fetch 拉 github.com/archive,宿主不跟随 302 就报 http 302,切换失败所以版本一直停在旧的
- 下载改走 Node https,302 读 Location;没有 Location 时把 archive 地址改写成 codeload
- 自动更新只跟版本号,并在安装前写 stamp,避免 add --force 重启后再次更新
- 钉住的标签只标一条为当前

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
叫我小杨同学andCursor committed 2026-09-28 15:39:34 +08:00
1 parent 6075a782bf
commit 5b1040c65c
5 files changed
+172 -43

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dsh-purge",
"version": "1.1.28",
"version": "1.1.29",
"description": "DeepSeek Harness 网络安全红队工具:本机官方 Harness 受控评测与清洗,不同模型可换不同提示词;默认提示词面向国模「小码酱」。求 Star ⭐",
"type": "module",
"main": "lib/index.js",