dsh-depguard
Dependency-topology guard: pre-install conflict prediction and post-install detection of duplicate @deepseek-ai/dsh-* copies, version drift, and vendored core services that cause Symbol-key crashes like "Cannot read properties of undefined (reading 'prepare')".
依赖拓扑安全:装前预测 + 装后检测 @deepseek-ai/dsh-* 多副本、版本漂移与插件私包,防 Symbol 键冲突崩溃(Cannot read properties of undefined (reading 'prepare'))。
How to install
dsh plugin add dsh-depguard About
dsh-depguard English | 中文 **装前预测 + 装后检测 DeepSeek Harness 的依赖拓扑冲突,防止 Symbol 键崩溃。** 你装插件时崩过这个吗? Cannot read properties of undefined (reading 'prepare') 根因是 discussion #1337:@deepseek-ai/dsh-tools 等核心包出现**第二份物理副本**时,JS Symbol 键(每次求值都不同)会让 ctx.tools[scheduler] 变 undefined,一次工具调度就崩,还会在会话里留下孤儿 tool_calls,之后每轮 400 INVALID_REQUEST 死锁。 本插件**只做检测 + 修复建议,绝不自动修复**——修复交给 dsh-undo-plugin、dsh-boot-guard 等第三方插件,保持模块化。 两个工具 dsh_depguard_predict — 装前预测(社区空白) 装新插件之前,静态拉取它的 manifest(npm 包 / github:owner/repo / 本地路径),与当前 runtime 的 @deepseek-ai/dsh-* 基准比对: | 信号 | 风险 | |---|---| | dependencies 直接含核心包 | 🔴 CRITICAL →…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- 35
- Last push
- 2026-08-16
- Created
- 2026-08-16
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, dsh, dsh-plugin, security
Related plugins
langfuse
langfuse/langfuse
🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
claude-code-templates
davila7/claude-code-templates
CLI tool for configuring and monitoring Claude Code
semiotic
nteract/semiotic
React data visualization library for streaming, networks, and AI-assisted development
dsh-desktop
dataelement/dsh-desktop
DSHDesktop:DeepSeek Harness Desktop / DeepSeek Harness 桌面版