dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:mouyu6508-hue/dsh-fusion
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Conflict detection and config fusion for DeepSeek Harness plugin composition — find the duplicate loader that keeps your profile from booting, and merge the config that a later layer silently overwrites.
DeepSeek Harness builds a profile in layers: the root cordis.yml → every bundle's cordis.patch.yml → the profile's own cordis.patch.yml. The more plugins you install, the more two things start happening — and neither is obvious:
install-shadow, for example:
@tt-a1i/archify-dsh introduced cross-layer duplicate loader names — @deepseek-ai/dsh-skill-filesystem (@deepseek-ai/dsh-base + @tt-a1i/archify-dsh)dsh-fusion surfaces both: it reads the real layer stack, shows who overrode whom, and emits one patch containing only the final merged values.

From GitHub (current distribution):
dsh plugin --profile web add github:mouyu6508-hue/dsh-fusion
On the desktop client, paste the repository URL into Settings → Plugins.
If this ever lands on npm, the command becomes
dsh plugin --profile web add dsh-fusion.
dsh-fusion scan # what's fighting in this profile?
dsh-fusion scan --profile web --json # machine-readable
dsh-fusion fuse # print the fused patch
dsh-fusion fuse --fix --write # keep one copy of a duplicate, write cordis.fusion.yml
Real output from the bundled demo profile:
profile: examples/conflict-profile
bundles: 3 | layers: 5 | entries: 3
conflicts: 1 | silent overrides: 2
[conflict] same loader mounted 2 times: @deepseek-ai/dsh-skill-filesystem
ids skill-filesystem, archify-skill-filesystem (from @deepseek-ai/dsh-base + @tt-a1i/archify-dsh).
the module runs twice; tools/services get registered twice or shadow each other
[override] dsh-dafeiyu config key scale overridden by profile:cordis.patch.yml
1 → 0.55
fuse --fix turns the first one into a patch you can apply directly:
- id: archify-skill-filesystem
disabled: true
--prefer <id> picks which copy to keep (default: the first one mounted, i.e. the base layer).
fusion_report toolInstalling the plugin adds one tool:
| Parameter | Meaning |
|---|---|
profile |
profile name to inspect (default desktop) |
dir |
profile directory instead of a name |
write |
also write cordis.fusion.yml (default: report only) |
It looks at two sources:
ctx.loader which entries are actually mounted. Some duplicates only appear at runtime: the plugin's patch file is clean, and it mounts a second copy of a module during apply(). The case above is exactly that — file inspection alone never finds it.If the host doesn't expose the loader, it degrades to static-only instead of failing.
| Kind | Severity | Meaning |
|---|---|---|
duplicate-name |
conflict | the same loader is mounted on 2+ rows; the module runs twice |
name-mismatch |
conflict | one id given two different names by two layers |
disabled-conflict |
conflict | one layer enables, another disables |
unknown-target |
conflict | a patch targets an id nobody inserted (the row is silently dropped) |
config-override |
override | a config key overwritten by a later layer |
repeat-row |
notice | same id + same name written twice (normal way the market saves settings) |
dynamic-config |
notice | config contains !!js expressions; can't be merged statically |
--fix writes the disabled: true for you).!!js. Expressions are kept as text; rows that can't be merged are skipped and named in the output.dsh.bundle.patch)node --test # or run test files directly (the runner spawns children, which some sandboxes block)
node bin/fusion.js scan --dir examples/conflict-profile
lib/core.js — pure functions: parse, detect, deep-merge, emitlib/profile.js — filesystem only: read the profile layers in real orderlib/runtime.js — loader only: read what's actually mountedlib/index.js — plugin entry: registers fusion_reportdsh plugin conflict · install-shadow · duplicate loader entry · profile patch merge · cordis patch layer · silent config override · DSH 插件冲突
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。