The official version of deepseek harness installs the open source armor-breaking plug-in - unlimited N generation creates new problems

The problem of armor-breaking mode cannot occur

Why the original bag “won’t fit”

The original package comes with two hidden problems, either of which will prevent "Armor Breaking Mode" from ever appearing in the dropdown:

#questionas a result of
1preset-rows.js The complete standard line table is copied, including @deepseek-ai/dsh-tool-officeunder this profile never started → Default is judged broken → UI filters out the entire
2The plug-in only registers the preset, but the profile package.json / cordis.patch.yml There is no line to mount itThe resident instance will not load at all → no one goes to the registry to register "armor-breaking mode"

I changed 4 places

① ~\.dsh\profiles\desktop\package.json — add dependencies

json
"dsh-infinite-gen-n": "file:../../plugins/dsh-infinite-gen-n",

② ~\.dsh\profiles\desktop\cordis.patch.yml —Add resident mount line (append at the end)

yaml
- insert:
    - id: infinite-gen-n
      name: dsh-infinite-gen-n

③ preset-rows.js(3 copies synchronized) — Switch optional tool lines

js
const HAS_OFFICE   = process.env.GENN_OFFICE === "1";
const HAS_SCHEDULE = process.env.GENN_SCHEDULE === "1";
...
{ "id": "tool-schedule", "name": "@deepseek-ai/dsh-tool-schedule", "disabled": !HAS_SCHEDULE },
{ "id": "tool-office",   "name": "@deepseek-ai/dsh-tool-office",   "disabled": !HAS_OFFICE   },

This is a key part. your original redteam The default has already been used in the same location disabled: true, the comment says "Not starting it will cause the entire default to be broken and the mode drop-down to be filtered." gen-n just missed this step.

④ pnpm-lock.yaml / node_modules\.modules.yaml / node_modules\dsh-infinite-gen-n — Rewritten by packaging script

text
node.exe pnpm.mjs install --offline --no-frozen-lockfile

Three pitfalls encountered during installation (will also be encountered when reinstalling elsewhere)

  1. Do not use the original package install.ps1 ——It is an old-fashioned three-part naked copy (plugins\、node_modules\、profiles\<p>\node_modules\), DSH 0.2.2 uses the profile managed by pnpm, and the naked copy directory will be used next time. pnpm install Cleared and will not be written to the registry.
  2. Manual copy lib\ The directory will lose files —— Via PowerShell Copy-Item -Recurse Copy containing 32 sub-files lib\host-patch\ A silent copy leak occurred (the copy only contains 27 files,core.js missing),import direct ERR_MODULE_NOT_FOUND. Correct approach: Delete the target directory first and then use Copy-Item "$src\*" $dst, copy finishedFile-by-file SHA256 comparison, the missing ones will be filled according to the relative path.
  3. must first Stop-Process Disable DSH and then activate profile —— pnpm has a lock when the host is open, and the old process caches the module graph.

Verification method (three steps of self-inspection after installation)

powershell
# 1. 语法 + 可导入
node --check index.js
node --input-type=module -e "const m=await import('./index.js'); console.log(Object.keys(m))"
# 期望:IMPORT-OK apply,inject,name

# 2. 行表不再有未启动的可选行
node -e "import('./preset-rows.js').then(m=>m.ROWS.filter(r=>r.disabled===true).forEach(r=>console.log(r.id)))"
# 期望含:tool-bash / tool-schedule / tool-office / tool-plugin-manager / tool-plugin-market

# 3. 探针集
node tools/run_prompt_bank.mjs --lint      # 期望:probes=45 … LINT-OK

The final judgment criterion is only one line of log:

powershell
Get-Content "$env:USERPROFILE\.dsh\dsh-infinite-gen-n-trace.log" -Tail 4
# ✅ 期望:[preset-declare] OK id=armor
# ❌ 若是 BROKEN id=armor detail=<某插件>: never started  → 把 <某插件> 那一行同样加 disabled
xintest's avatar
xintestLv1UID 997859
Thanks, I'll test it now
iSheng's avatar
i晟Lv4Section managerA little successUID 167750
It’s an old problem. Just use your own agent to solve it.
opxiao-zhongjin's avatar
opxiao-zhongjinLv3A first glimpse into the doorUID 217044
Go try it quickly
10010's avatar
10010Lv1UID 660807
Thanks for sharing. I'll try it later and see how it works.
Mysir's avatar
MysirLv2UID 748039
I still don’t understand how to install it. Can you please provide a detailed installation video? I’d like to ask for advice.
pork333's avatar
pork333Lv1UID 799717
Thanks for sharing, will try it out

Before public display 10 Replies (16 discussions in total). please Log in or Register an account View the full floor-in-floor discussion, download attachments and participate in the interaction.