mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 02:50:22 +08:00
- 安装包里的 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>
86 lines
2.2 KiB
JSON
86 lines
2.2 KiB
JSON
{
|
|
"name": "dsh-purge",
|
|
"version": "1.1.29",
|
|
"description": "DeepSeek Harness 网络安全红队工具:本机官方 Harness 受控评测与清洗,不同模型可换不同提示词;默认提示词面向国模「小码酱」。求 Star ⭐",
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"exports": {
|
|
".": {
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./client": "./client.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"bin": {
|
|
"dsh-purge": "bin/dsh-purge.js"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"!lib/default-prompt-inject.md",
|
|
"bin",
|
|
"docs",
|
|
"client.js",
|
|
"cordis.patch.yml",
|
|
"screenshots.json",
|
|
"README.md",
|
|
"README.zh-CN.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"embed-prompt": "node scripts/embed-default-prompt.mjs",
|
|
"test:identity": "node scripts/test-identity-assembly.mjs",
|
|
"test:yaml": "node scripts/test-yaml-comment.mjs",
|
|
"test:update": "node scripts/test-update-guards.mjs",
|
|
"test:rewind": "node scripts/test-rewind-plan.mjs",
|
|
"test:idempotence": "node scripts/test-patch-idempotence.mjs",
|
|
"test:surface": "node scripts/test-surface-desktop.mjs",
|
|
"test:profile-patch": "node scripts/test-user-profile-patch.mjs"
|
|
},
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"dsh",
|
|
"dsh-plugin",
|
|
"dsh-plugins",
|
|
"网络安全",
|
|
"红队评测",
|
|
"llm-security",
|
|
"harness-security",
|
|
"deepseek-harness",
|
|
"red-team",
|
|
"instructions",
|
|
"rules",
|
|
"prompt-eval",
|
|
"agent"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/YuJunZhiXue/dsh-purge.git"
|
|
},
|
|
"homepage": "https://github.com/YuJunZhiXue/dsh-purge#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/YuJunZhiXue/dsh-purge/issues"
|
|
},
|
|
"dsh": {
|
|
"bundle": {
|
|
"patch": "./cordis.patch.yml"
|
|
},
|
|
"client": {
|
|
"platform": "web",
|
|
"inject": [
|
|
"@deepseek-ai/dsh-client-connection",
|
|
"@deepseek-ai/dsh-client-runtime",
|
|
"@deepseek-ai/dsh-client-locale",
|
|
"@deepseek-ai/dsh-client-ui-slots",
|
|
"@deepseek-ai/dsh-client-ui-settings"
|
|
]
|
|
}
|
|
},
|
|
"peerDependencies": {
|
|
"@deepseek-ai/cordis": "^4.0.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"dshTarget": "0.1.7-rc.2"
|
|
}
|