mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 13:50:22 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ec51691f7 |
No files matched your search
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<h1 align="center">⚔️ DeepSeek Harness cybersecurity red-team tool (dsh-purge)</h1>
|
<h1 align="center">⚔️ DeepSeek Harness cybersecurity red-team tool (dsh-purge)</h1>
|
||||||
|
|
||||||
<p align="center"><strong>Version 1.1.32</strong></p>
|
<p align="center"><strong>Version 1.1.33</strong></p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<em>Local official DeepSeek Harness cybersecurity red-team plugin. Clean host policy, and ship a built-in drill console. Swap prompts per model. Default prompt for Chinese models — 小码酱. Please star ⭐</em>
|
<em>Local official DeepSeek Harness cybersecurity red-team plugin. Clean host policy, and ship a built-in drill console. Swap prompts per model. Default prompt for Chinese models — 小码酱. Please star ⭐</em>
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<h1 align="center">⚔️ DeepSeek Harness 网络安全红队工具(dsh-purge)</h1>
|
<h1 align="center">⚔️ DeepSeek Harness 网络安全红队工具(dsh-purge)</h1>
|
||||||
|
|
||||||
<p align="center"><strong>Version 1.1.32</strong></p>
|
<p align="center"><strong>Version 1.1.33</strong></p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<em>本机官方 DeepSeek Harness 网络安全红队评测插件。清洗宿主策略,并带内嵌演练台。不同模型可换不同提示词。默认提示词面向国模「小码酱」。求 Star 收藏 ⭐</em>
|
<em>本机官方 DeepSeek Harness 网络安全红队评测插件。清洗宿主策略,并带内嵌演练台。不同模型可换不同提示词。默认提示词面向国模「小码酱」。求 Star 收藏 ⭐</em>
|
||||||
|
|||||||
+4
-1
@@ -109,6 +109,9 @@ export async function reapplyInstalled(options = {}) {
|
|||||||
const summary = core.summarizeApplyReport(report);
|
const summary = core.summarizeApplyReport(report);
|
||||||
writeAppliedStamp(installedRev());
|
writeAppliedStamp(installedRev());
|
||||||
const pending = Boolean(handoff?.asar && !renamed && options.scheduleSwap !== false);
|
const pending = Boolean(handoff?.asar && !renamed && options.scheduleSwap !== false);
|
||||||
|
// 只有真的挪开了 app.asar,当前进程才还在旧包上,需要再开一次。
|
||||||
|
// 官方端已经在 resources/app 里跑时,不能仅因 ELECTRON_RUN_AS_NODE 再弹「需要重启」,
|
||||||
|
// 否则每次打开面板都会再要一次重启。
|
||||||
return {
|
return {
|
||||||
ok: true,
|
ok: true,
|
||||||
version: pluginVersion(),
|
version: pluginVersion(),
|
||||||
@@ -116,7 +119,7 @@ export async function reapplyInstalled(options = {}) {
|
|||||||
applied: summary.applied || 0,
|
applied: summary.applied || 0,
|
||||||
failed: summary.failed.length,
|
failed: summary.failed.length,
|
||||||
renamed,
|
renamed,
|
||||||
needsFullQuit: renamed || pending || core.officialHostMustStayUp(),
|
needsFullQuit: renamed || pending,
|
||||||
cmdFlashOk: flash.ok === true,
|
cmdFlashOk: flash.ok === true,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dsh-purge",
|
"name": "dsh-purge",
|
||||||
"version": "1.1.32",
|
"version": "1.1.33",
|
||||||
"description": "DeepSeek Harness 网络安全红队工具:本机官方 Harness 受控评测与清洗,内嵌演练台;不同模型可换不同提示词;默认提示词面向国模「小码酱」。求 Star ⭐",
|
"description": "DeepSeek Harness 网络安全红队工具:本机官方 Harness 受控评测与清洗,内嵌演练台;不同模型可换不同提示词;默认提示词面向国模「小码酱」。求 Star ⭐",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
# 1.1.33
|
||||||
|
|
||||||
|
## 中文
|
||||||
|
|
||||||
|
- 版本升级到 1.1.33。
|
||||||
|
- **修复已经重启后,打开面板仍弹出「需要重启」**。官方客户端已经从解开的 `resources/app` 运行时,不再仅因为当前是官方进程就再要求退出一次。只有这次真的挪开了 `app.asar`,才会提示重启。
|
||||||
|
|
||||||
|
## English
|
||||||
|
|
||||||
|
- Version 1.1.33.
|
||||||
|
- **Fix the restart dialog coming back after you already restarted.** When the official app is already running from the unpacked `resources/app`, opening the panel no longer asks you to quit again just because this is the official process. The restart prompt appears only when `app.asar` was actually moved aside in this run.
|
||||||
|
|
||||||
# 1.1.32
|
# 1.1.32
|
||||||
|
|
||||||
## 中文
|
## 中文
|
||||||
|
|||||||
Reference in new issue
Block a user