1.1.73: adapt DSH 0.2.1-rc.2, Apache-2.0, lab-only default-deny.

This commit is contained in:
叫我小杨同学 committed 2026-10-23 11:50:42 +08:00
1 parent 8df4406a7c
commit 1ea067189c
114 files changed
+21198 -5183

No files matched your search

-2
View File
@@ -11,7 +11,6 @@ import { homedir } from 'node:os'
import { dirname, join } from 'node:path'
import { fileURLToPath } from 'node:url'
import { readPresetDefinition } from './preset-composition.js'
import { clearOwnedSelectedDefault } from '../preset-default.js'
/** Cordis 插件名。 */
export const name = 'dsh-purge-redteam'
@@ -572,7 +571,6 @@ export function apply(ctx) {
if (timer) clearInterval(timer)
if (stop) clearTimeout(stop)
void undeclare()
try { clearOwnedSelectedDefault({ ctx }) } catch { /* 清默认失败不挡停用 */ }
}
}, 'dsh-purge-redteam: declare agent preset')