Skip to content

8.29日从2.0.2升级到2.04报错:plugin tree failed to load: dsh-plugin-desktop: 1 entry did not activate dsh-client-ui-task-board: pending (waiting for service: apiProxy) #728

Description

@lanhaibo

Existing reports / 提交前查重

  • I searched existing issues and did not find the same problem / 我已搜索现有 Issue,没有发现相同问题

Affected area / 涉及区域

Updates / 更新

Operating system / 操作系统

Windows 10 x64

Installation method / 安装方式

Windows installer / Windows 安装包

DSH Desktop version / DSH Desktop 版本

2.0.2

DSH runtime version / DSH 运行时版本

0.1.1-rc.2

Profile type / Profile 类型

Default or built-in Profile / 默认或内置 Profile

Third-party plugins / 第三方插件

@linxin666/dsh-client-ui-task-board@0.3.4

Fresh Profile comparison / 全新 Profile 对照结果

Still reproduces in a fresh Profile / 全新 Profile 仍可复现

What happened? / 实际发生了什么?

## 标题
[Regression] 2.0.4 启动失败:插件 Host 启动 @linxin666/dsh-client-ui-task-board pending (waiting for service: apiProxy)

## 复现步骤
1. 桌面双击 "DSH Desktop" 快捷方式
2. 等待启动,约 60~120s 内弹错误对话框:
   "失败阶段: 插件 Host 启动
    dsh-plugin-desktop: plugin tree failed to load: dsh-plugin-desktop: 1 entry did not activate
    @linxin666/dsh-client-ui-task-board: pending (waiting for service: apiProxy)"

## 期望
升级到 2.0.4 后桌面应用仍能正常启动,任务看板可选加载。

## 实际
整个 Electron 进程被 cordis 拒绝 boot,主机不暴露 webserver / api gateway,IM 桥(feishu / weixin / dingtalk / wecom / qq / slack / telegram / discord / whatsapp)全部 401 Harness Host is not ready。

## 关键日志
文件:`%APPDATA%\DSH Desktop\logs\dsh-YYYY-MM-DD.error.log`

--- dsh-plugin-desktop DSH Desktop 2.0.4 win32 node v24.18.1 run --- ...(略:IM 桥报 401、workspace-registry 警告)... 2026-08-29 09:35:52.103 [I] [@anionex/dsh-vision-toolkit] dsh-vision-toolkit 0.1.39 ready Error: dsh-plugin-desktop: plugin tree failed to load: dsh-plugin-desktop: 1 entry did not activate @linxin666/dsh-client-ui-task-board: pending (waiting for service: apiProxy) at boot (file:///D:/Program%20Files/DSH%20Desktop/resources/app.asar/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js:1512:9) at async start (file:///D:/Program%20Files/DSH%20Desktop/resources/app.asar/lib/main.js:4912:15) at async run (file:///D:/Program%20Files/DSH%20Desktop/resources/app.asar/lib/main.js:5123:2)


## 环境
- OS: Windows 10 64-bit
- 桌面应用:DSH Desktop 2.0.4(v2.0.2 正常)
- 桌面 profile bundles 包含 `@linxin666/dsh-client-ui-task-board@0.3.4`
- `C:\Users\Lenovo\.dsh\profiles\desktop\package.json` 的 `dsh.profile.bundles` 中:
  - `... dsh-better-sidebar, dsh-biomemory, ..., @linxin666/dsh-client-ui-task-board, @linxin666/dsh-ssh, ...`
- `app.asar.unpacked/package.json` 的 `dependencies` 中**无** `@deepseek-ai/dsh-host-apiproxy`
- `app.asar/node_modules/@deepseek-ai/` 下**无** `dsh-host-apiproxy` 目录
- `app.asar` 全文 grep `apiproxy|apiProxy` 命中 0

## 根因(已交叉验证)
1. `@linxin666/dsh-client-ui-task-board@0.3.4` 的 `src/index.ts:27` 声明:
   ```ts
   export const inject = ['systemPrompt', 'apiProxy', 'webServer', 'agents', 'commands']

apiProxy 永远没注册 → Fiber 永远 pending → 整个 plugin tree 被 reject。

2.0.4 的 app.asar.unpacked/package.json 完整 dependencies 中已经移除 @deepseek-ai/dsh-host-apiproxy,且 2.0.2 启动时没有这个错误(09:25:40 日志), 2.0.4(09:34:44 / 09:35:47)才出现 → 这是 2.0.4 升级的回归。

Reproduction steps / 复现步骤

deepseek-harness-desktop在8.29日上午提示有2.0.4升级,点击确定下载安装包,安装,重新启动desktop,报错:插件 Host 启动 @linxin666/dsh-client-ui-task-board pending (waiting for service: apiProxy)。

Expected behavior / 预期结果

升级成功

Reproduction frequency / 复现频率

Every time / 每次都能复现

Logs or error details / 日志或错误信息

日志错误见附件

dsh-2026-08-29.log

Screenshots or recordings / 截图或录屏

No response

Last known working version / 最后正常版本

2.0.2

Additional context / 补充信息

产品升级版本测试验证不足。2次升级都需要半天以上时间去解决升级问题:

  1. v1.3.0->v2.0.2
  2. v2.0.2->v2.0.4
    我本地幸亏还有web profile,能在web profile中定位升级问题,能给你提个bug, 否则无法想象。希望你们能重视,把产品做好。升级测试认真一些。我是必装dsh-web-ui,就是dsh-web-ui-all(不包括皮肤那个插件)。

Sensitive information / 敏感信息

  • I removed API keys, tokens, account details, and other sensitive data from my attachments / 我已从附件中移除 API Key、Token、账号信息等敏感内容

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions