Skip to content

与 dsh-full-remote 同装时 Web 无法启动:duplicate loader entry id "directory-picker-browse" #3

Description

@zhu1090093659

问题描述

本插件与 dsh-full-remote(同为远程访问类插件)安装在同一个 profile 时,dsh web 启动直接失败,报重复 loader entry id。两个插件各自单独安装均正常。

复现步骤

dsh plugin --profile <web-profile> add deepseek-harness-auth
dsh plugin --profile <web-profile> add dsh-full-remote
dsh web --profile <web-profile>

实际结果

Error: dsh: plugin tree failed to load: failed to apply loader entry include (cordis:include): duplicate loader entry id: directory-picker-browse

根因分析

两个插件的 cordis.patch.yml 都以 相同的 entry id directory-picker-browse 插入 @deepseek-ai/dsh-host-directory-picker-browse(固定浏览器目录选择器),cordis loader 拒绝重复 id,整树 fail-loud。

本插件与 dsh-full-remote 都是 Web 公网远程访问场景的常见组合,用户很可能同时安装。

建议

  • 使用互不冲突的 entry id(例如带插件前缀的 id),或在文档中明确与 dsh-full-remote 互斥;
  • 若能对齐 web app 现有的 directory-picker 开关语义(覆盖而非插入)则更佳。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions