dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
DSH desktop (Deepseek Harness EAC) plugin: open http/https/mailto/tel/file links in the default browser/app, bypassing the broken shell.open-external bridge
DSH 桌面端(Deepseek Harness EAC,Windows WebView2 壳)外部链接修复插件。
点击应用里的 http/https 外链时,自动在系统默认浏览器中打开,而不是毫无反应。
shell.open-external 桥接(PR #251:cmd start
→ ShellExecuteW,实测返回 {ok:true})。<a target="_blank"> 外链
仍没有原生接线(壳注入的 BRIDGE_JS 与 webui 框架都没有锚点点击拦截)——
实测 5.3.6 停用本插件后点链接依旧打不开。点击链接 / window.open()
↓(客户端拦截器,capture 阶段)
window.dshDesktop.openExternal(url) → 原生 ShellExecuteW → 默认浏览器
window.dshDesktop.openPath(path) → file:// 解码为路径后默认应用打开
http:// / https:// → 默认浏览器(原生桥,5.3.6+);file:// → 解码为 Windows 绝对路径 → openPath 默认应用打开;127.0.0.1/localhost、#hash、下载、javascript:)不受影响;window.open 新标签页;在 ~/.dsh/profiles/web-desktop/package.json 的 dependencies 中加入:
"dsh-external-links": "github:Lion-Li-git/dsh-external-links"
执行 pnpm install,并在该目录 cordis.patch.yml 末尾追加:
- insert:
- id: dsh-external-links
name: 'dsh-external-links'
重启 DSH 桌面端。之后插件会像内置插件一样出现在设置 → 插件 列表,可直接开关
(停用 = 写入 disabled: true,下次启动不再加载)。
dsh plugin add,快捷但不可在插件管理页开关)dsh plugin --profile web-desktop add github:Lion-Li-git/dsh-external-links
说明:bundle 方式(
dsh.profile.bundles)安装的第三方插件,当前官方版本 在插件管理页不支持停用/移除(会提示"请在插件市场卸载")——这是上游对 所有市场/bundle 插件的一致限制,不是本插件的特例。想用开关就选方式 A。
Start-Process)绕开 cmd start bug。shell.open-external。dsh-eac-shell.exe);~/.dsh),DSH 桌面端版本更新不会覆盖它。MIT