dsh-open-folder-fix
修正 Windows 上「打开工作目录」的行为。官方调用 `explorer.exe "<file:// URI>"`,在某些主机上会报告成功却不弹窗口——因为成功判据是退出码,分不出「窗口开了」和「什么都没发生」。本插件把该操作改走 `explorer.exe /e,<目录>`,稳定新开窗口;菜单里其它应用仍走官方路径。
Fixes the Windows workspace-open action. The shipped opener runs `explorer.exe "<file:// URI>"`, which on some hosts reports success without raising a window — the exit-code verdict cannot tell an opened window from nothing happening. This routes that one action to `explorer.exe /e,<dir>`, which raises a window reliably, and leaves every other application in the menu on the shipped path.
怎么安装
dsh plugin add github:Martlet-Tech/dsh-open-folder-fix 简介
dsh-open-folder-fix 修正 DSH Web GUI 里「打开工作区」按钮在 Windows 上的行为。 问题 DSH 的 Session 头部有一个「在应用中打开工作目录」的分裂按钮。在 Windows 上, 它走 shell-open 通道,最终由 @deepseek-ai/dsh-native-command 执行: explorer.exe "<目录的 file:// URI>" ← 0.1.7-rc.1 的写法 更早的版本走的是另一条命令(powershell.exe -NoProfile -Command "Invoke-Item -LiteralPath '<目录>'");两者症状相同,见下。 **上游的 explorer 调用在某些 Windows 主机上不起作用,而且不报错。** 这是上游 自己记录在案的已知限制(dsh-native-command/README.md,Known Limitations): 非交互会话(服务、或无交互登录的计划任务)里,explorer.exe 不调用任何文件 关联,并在约 1 秒后仍然以退出码 1 返回……于是「打开」**报告成功却什么都没打开**。 上游的成功判据就是退出码:runExplorer 把退出码 1 当作"已交接给桌面进程"而 吞掉,runShellOpen 再用 launchWatchMs 看门…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-24
- 创建于
- 2026-09-22
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh, dsh-plugin, explorer, plugin, windows
同类推荐
radar
skyhook-io/radar
缺失的开源Kubernetes UI,内置面向AI代理的MCP服务器。查看出了什么问题、原因以及变化。问题、拓扑、事件时间线、Helm、GitOps、实时服务流量和集群审计——全部集成在一个Go二进制文件中。
dsh-desktop
anywhere-labs/deepseek-harness-desktop
为 DeepSeek Harness (DSH) 生态打造的现代化桌面端体验