chs-1108/dsh-purge ↗★ 2

dsh-purge

DeepSeek Harness 破甲:让所有模型都能破甲,不同模型可换不同提示词;默认提示词面向国模「小码酱」。Jailbreak for every model — swap prompts per model. 求 Star 收藏 ⭐ 如要二开,请查看署名要求部分 适合需要绕过模型安全限制、针对特定国模进行深度定制对话的用户。

パッケージ
dsh-purge
互換性
未検証
Cordis ピア範囲
^4.0.1
バージョン
1.2.3
ライセンス
MIT
最終更新
2026/10/22

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chs-1108/dsh-purge

ドキュメント

README 全文を読む ↗

Usage

Chat commands

/purge  status | apply | revert | uninstall | edit | help
/rules  list | use  | create  | delete  | reset | help
/skills list | import  | create  [description] | delete  | help
/rewind

CLI

dsh-purge --status      # state, DSH_HOME, per-patch table
dsh-purge --apply       # apply every patch (prompt + code + shim + override)
dsh-purge --revert      # restore originals
dsh-purge --uninstall   # revert if needed, then remove the plugin
dsh-purge --edit        # open prompt-inject.md in $EDITOR
dsh-purge --help

Tools exposed to the model

ToolPurpose
purge_statusRead patch state, DSH_HOME, injection source
purge_applyApply all patches
purge_revertRestore originals

Where things live in the dock

AreaWhat it shows
dsh-purgeButton beside the session title; opens or collapses the dock
CleanPatches, prompt editor, rule sets, skills, own servers
DrillAssets, skills, environment — says Unauthorized until the gate is passed
PatchesGrouped status plus Apply / Restore / Uninstall
PromptEdits prompt-inject.md, the per-session override
Own serversOne IP or exact hostname per line → $DSH_HOME/net-scope-allow.txt
Rule setsMultiple AGENTS.md / CLAUDE.md; Enable writes, Delete removes
SkillsImport a zip/folder into this host's $DSH_HOME/skills//SKILL.md

Configuration

Plugin config lives in the profile's cordis.patch.yml (or the copy bundled in cordis.patch.yml at the repo root). Defaults:

- insert:
    - id: dsh-purge
      name: 'dsh-purge'
      inject: [systemPrompt, tools]
      config:
        enabled: true
        autoApplyOnStart: false     # apply patches when the host boots
        autoUpdateOnStart: false    # check this repo for a newer version on boot
        autoRevertOnMissing: false  # revert when the host files disappear
        injectOnce: false           # inject only on the first turn
        stripMnemon: true           # drop mnemon sections from the assembly
        verbose: false              # verbose logging to the console
        postPrompt: ""              # extra section appended to the prompt
        postPromptOrder: 5100
        autoRetry: true             # retry a failed turn
        retryMax: 3
        autoContinue: false         # auto-send a continue message
        continueMax: 3
        continueText: "继续"
        capabilityProtocol: true    # teach the model to find skills / MCP itself
        hooksDenyBypass: true       # neutralise hooks that block tool calls
KeyDefaultNotes
enabledtrueMaster switch; false leaves the host untouched
autoApplyOnStartfalseTurn on only if you want boot-time patching
autoUpdateOnStartfalseContacts this repo to compare versions
stripMnemontrueRemoves third-party mnemon sections from the assembly
capabilityProtocoltrueAdds the skill / MCP discovery section
hooksDenyBypasstrueStops third-party hooks from silently denying tool calls

Diagnostics are off by default. Set DSH_PURGE_DEBUG=1 (or verbose: true) to write a log to %TEMP%/.dsh-cache.log ($TMPDIR/.dsh-cache.log).