dsh-folder
其他 活跃维护

dsh-folder

KDronin/dsh-folder

轻量级工作区功能插件,在工作区右键菜单的重命名与删除工作区选项之间新增打开文件夹入口,点击即可快速跳转至对应工作区本地目录,无需手动查找路径。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
6 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:KDronin/dsh-folder
git clone https://github.com/KDronin/dsh-folder.git
git clone git@github.com:KDronin/dsh-folder.git
README.md main

dsh-folder

DeepSeek Harness(DSH)工作区插件:在侧边栏工作区「三个点」菜单中,于 重命名 与 删除工作区 之间插入 打开文件夹 操作。

功能

  • 在工作区行更多操作菜单中新增「打开文件夹」
  • 菜单位置固定在「重命名」和「删除工作区」之间,克隆原菜单项保证对齐一致
  • 点击后调用 DSH Host 的 workspaces.openPath 打开该工作区对应目录
  • 支持中文 / English 界面

安装

方式一:DSH 官方命令

dsh plugin --profile web add github:KDronin/dsh-folder

然后重启 dsh web 并刷新页面。

方式二:手动安装

把 dsh-folder 复制到 DSH profile 的 node_modules:

$target = Join-Path $env:USERPROFILE '.dsh\profiles\node_modules\dsh-folder'
Copy-Item -Recurse .\dsh-folder $target

在 $HOME/.dsh/profiles/web/cordis.patch.yml 添加:

- insert:
    - id: dsh-folder
      name: 'dsh-folder'

重启 dsh web 并刷新页面。

开发

  • lib/index.js — Host 侧空实现(纯 UI 插件)
  • lib/client.js — 浏览器侧插件,通过 DOM 注入菜单项

License

MIT