fix: 停用/卸载时清掉 selectedDefault=redteam(#108)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
叫我小杨同学andCursor committed 2026-10-24 14:42:42 +08:00
1 parent ac58b3e355
commit 5d4b45ca4f
6 files changed
+77 -17

No files matched your search

+1 -1
View File
@@ -340,7 +340,7 @@ pnpm install
### 卸载
会话标题旁的 **dsh-purge** →「清洗」→「卸载」。弹窗确认:会先还原已应用的补丁,还原回原版 Harness,再重启当前宿主。
会话标题旁的 **dsh-purge** →「清洗」→「卸载」。弹窗确认:会先还原已应用的补丁,还原回原版 Harness,再重启当前宿主。停用或卸载时会把「智能体预设」里指向红队模式的默认值改回 `standard`,避免宿主因找不到 `redteam` 而无法新建会话。
```sh
# 也可以用命令行 / 聊天