dsh-depguard
依赖拓扑安全:装前预测 + 装后检测 @deepseek-ai/dsh-* 多副本、版本漂移与插件私包,防 Symbol 键冲突崩溃(Cannot read properties of undefined (reading 'prepare'))。
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')".
怎么安装
dsh plugin add dsh-depguard 简介
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 →…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- 35
- 最近更新
- 2026-08-16
- 创建于
- 2026-08-16
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh, dsh-plugin, security
同类推荐
langfuse
langfuse/langfuse
🪢 开源AI工程平台:LLM评估、可观测性、指标、提示管理、游乐场、数据集。与OpenTelemetry、LangChain、OpenAI SDK、LiteLLM等集成。🍊YC W23