dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Open symlinks and junctions in the DSH sidebar, with targets outside the workspace gated by workspace trust · 让 DSH 侧边栏能展开、打开符号链接(含 Windows junction),指向工作区外的需工作区已信任
让 DSH 侧边栏「文件」树能展开、打开工作区里的符号链接(含 Windows junction)。指向工作区外的链接,需要工作区已信任才能访问。
DSH 默认按链接的真实路径判断是否在工作区内,所以链接到别处的目录和文件都会报错:展开时报 outside-workspace,打开时报 not-regular-file。
dsh plugin --profile desktop add github:RicardoYan/dsh-workspace-trust#v0.1.0
dsh plugin --profile desktop add github:RicardoYan/dsh-symlink-passthrough#v0.1.0
Web 端把 desktop 换成你的 profile 名(一般是 web)。装完重启 DSH。
卸载:dsh plugin --profile desktop remove dsh-symlink-passthrough
按链接指向的真实路径判断:
| 链接指向 | 结果 |
|---|---|
| 工作区内 | 放行 |
| 工作区外 | 工作区已信任、且不在禁止访问列表里才放行 |
.dsh/settings.yml 或 .git 的目录;信任和禁止访问列表都由 dsh-workspace-trust 管理(/workspace-trust trust 信任当前工作区).. 的路径、直接写的工作区外路径照旧按 DSH 原规则处理fs.contains,workspaceFiles 的 confine / locateFile / feed.follow),适用于 @deepseek-ai/dsh >=0.2.0-rc.2 <0.3.0-0;缺失时启动日志出现 [symlink-passthrough] ... missing 告警,对应功能不生效,普通文件不受影响enabled: false 可以关闭插件MIT