Lstalu/dsh-bundle-dedup-guard

Lstalu★ 0JavaScript最后同步: 2026-08-21

在 GitHub 打开

DSH plugin guard: catches duplicate loader entry ids on every plugin load - prevents the "duplicate loader entry id" boot crash

README 摘要

dsh-bundle-dedup-guard English 简体中文 A DeepSeek Harness plugin that catches duplicate loader entry ids in profile bundle lists — and audits the whole plugin environment (vendor tree, plugin junctions, known conflict pairs) — on every plugin load. If a profile's dsh.profile.bundles lists an aggregate bundle (a bundle whose patch inserts all of its sub-plugins, e.g. @linxin666/dsh-web-ui-all ) and its sub-plugins individually , the loader receives the same loader-entry id twice. EntryGroup.update throws duplicate loader entry id: before any plugin starts, and the whole profile fails to boot. This plugin exists so that never happens silently again. Why this exists Incident, 2026-08-18: a web profile listed @linxin666/dsh-web-ui-all (which aggregates 13 sub-plugins into one patch) and all 13 sub-plugins separately. Every sub-plugin id was inserted twice; the first collision reported was duplicate loader entry id: ui-dsh-aionui-panel . Fixing only the bundles list was not enough — the dsh plugin command's reconcilePlugins re-appends every dependencies entry that declares dsh.bundle to the bundle list after each pnpm operation, so the sub-plugins came back an hour later and crashed the ne…

在 GitHub 查看完整 README →
工具/开发bundledeepseek-harnessdiagnosedshdsh-pluginduplicateguardloader

分类