deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
English | 中文
A runtime mount manager for optional third-party plugin bundles in DeepSeek Harness. Provides the「插件挂载管理」(Plugin Mount Manager) settings section that mounts/unmounts bundle rows in-process through the Loader API — instant effect, no restart, never rewrites the profile manifest, with named presets, a failure ledger and self-healing fallback.
npm i dsh-bundle-manager
Key architecture requirement: optional third-party plugins must live in dependencies only (NOT in dsh.profile.bundles), and this plugin is the only framework bundle that mounts them at runtime:
{
"dependencies": { "dsh-bundle-manager": "npm:dsh-bundle-manager" },
"dsh": { "profile": { "bundles": ["dsh-base", "dsh-web-app", "dsh-settings-ui", "dsh-bundle-manager"] } }
}
DSH_PM_BOOT_GROUPS, 1–8)framework-protected); atomic registry writes with .bak last-known-good and automatic legacy-path migration/bundle-manager/api, browser-trust fence)| Method | Body | Returns |
|---|---|---|
list |
{} |
plugins[] (state/version/managed/waitingFor/kind/attempts) + profile/activePreset/presets + storage block |
apply |
{ entries: { pkg: true\|false } } |
one-shot diff apply + persist (serial queue, 30s cap) |
preset/save |
{ name, draft? } |
save snapshot (draft merged, new name auto-activates) |
preset/switch |
{ name } |
diff switch (keeps shared plugins mounted) |
preset/delete |
{ names: string[] } |
multi-delete (rejects default / active preset) |
47f9438) — runtime mount/unmount, framework whitelist, failed isolation, presets, registry persistence and the client half all pass with zero code adaptation. Known difference: link: mounts fail ESM resolution on rc.6, use file: tarballs.npm test # offline regression harness (159 assertions, mock ctx driving the fenced API)
npm run ci # 5-step gate: syntax + harness + secret scan + sanitization + pack whitelist
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。