DeepSeek Harness (DSH) plugin dependency management and core tool execution stability.
Raw Developer Origin & Technical Request
GitHub Issue
Aug 14, 2026
### 涉及插件
聚合包 / 安装 (dsh-web-ui-all / dsh-web-ui-settings)
### Issue 类型
Bug 报告
### 摘要
安装 @linxin666/dsh-web-ui-all@0.1.12 后重启 DSH(0.1.0-rc.6),所有会话的任意工具调用(todo_write、pwsh 等)都在执行瞬间崩溃:`Cannot read properties of undefined (reading 'prepare')`(code UNKNOWN)。
根因:插件的 peerDependencies 声明了 `@deepseek-ai/dsh-tools`,pnpm 将其以独立副本装入 web profile 依赖树(`~/.dsh/profiles/web/node_modules/@deepseek-ai/dsh-tools`),与 DSH 内置(npm 全局)副本形成双副本。`TOOL_RUNTIME_SCHEDULER` 是 Symbol,两份副本的 Symbol 不相等,导致 `ctx.tools[TOOL_RUNTIME_SCHEDULER]` 为 undefined,所有工具调用在 `dsh-agent-loop` 的 `.prepare()` 处崩溃。删除 profile 中的副本后故障消失。
### 预期结果
执行 `dsh plugin --profile web add @linxin666/dsh-web-ui-all@0.1.12` 并重启 `dsh web` 后,DSH 的所有工具调用(todo_write、pwsh、read、write 等)应正常工作,模型可正常执行工具。
### 详情 / 复现步骤
**环境**:Windows 10 x64 / Node 22.20.0 / pnpm 11.21.0 / DSH 0.1.0-rc.6(npm 全局安装)/ @linxin666/dsh-web-ui-all@0.1.12
**复现步骤**:
1. 执行 `dsh plugin --profile web add @linxin666/dsh-web-ui-all@0.1.12`(首次执行报 ERR_PNPM_IGNORED_BUILDS,但 28 个包已成功装入;allowBuilds 放行后重试成功)
2. 重启 `dsh web`
3. 任意会话发送消息,模型正常生成工具调用(工具列表正常出现)
4. 工具执行 1ms 内崩溃:`Cannot read properties of undefined (reading 'prepare')`,code UNKNOWN
5. 同一故障在多个会话 100% 复现
**定位信息**:
- 崩溃点:`@deepseek-ai/dsh-agent-loop/lib/index.js:193` → `ctx.tools[TOOL_RUNTIME_SCHEDULER].prepare(call.exec)`
- `TOOL_RUNTIME_SCHEDULER = Symbol("@deepseek-ai/dsh-tools.scheduler")`
- 安装插件后 `~/.dsh/profiles/web/node_modules/@deepseek-ai/dsh-tools`(0.1.0-rc.6)作为独立副本存在,DSH 核心(dsh-agent-loop 等)从 npm 全局副本加载 → 两份副本的 ...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from zhu1090093659/dsh-web-ui.
Frequently Asked Questions
Market intelligence mapped to DeepSeek Harness (DSH) plugin dependency management and core tool execution stability..
What problem does DeepSeek Harness (DSH) plugin dependency management and core tool execution stability. solve?
How is the developer community reacting to DeepSeek Harness (DSH) plugin dependency management and core tool execution stability.?
What are the foundational technologies related to DeepSeek Harness (DSH) plugin dependency management and core tool execution stability.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like pnpm and Symbol by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics