Files
dsh-purge/package.json
T
叫我小杨同学andCursor 1f5c2ff6e2 fix: 发布 1.1.27,修应用重启后进规则设定仍弹「需要重启」
- 手动应用成功后写入 applied 戳,避免重启 settle 误判未对齐再要求重启
- 点重启时清掉 boot_full_quit 粘性标记;status 按布尔值同步弹窗
- web waitForRestart 必须先看到旧进程掉线再判定成功,避免同进程误刷新又弹窗

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 10:36:00 +08:00

86 lines
2.2 KiB
JSON

{
"name": "dsh-purge",
"version": "1.1.27",
"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"
}