YZz-S/dsh-workspace-files-explorer ↗★ 1
workspace-files-explorer
DeepSeek Harness (dsh) 工作区文件浏览器插件:浮层面板浏览当前会话工作区文件树,支持代码语法高亮与 Markdown 渲染预览。
AI 分析
核心用途是直观查看和预览项目文件。适合在 DSH 中进行代码编写、文档阅读,需要频繁确认工作区文件结构的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YZz-S/dsh-workspace-files-explorerドキュメント
README 全文を読む ↗Usage
Method 1: dynamic Cordis plugin (temporary)
Define and run in a dsh Web GUI session with the Cordis tools:
- Call
cordis_define: pastehost.jscontent ascode.hostandclient.jscontent ascode.client(plugin.kind: 'new',idPrefixof 3–6 lowercase letters) - Call
cordis_runto activate and allow authorization in the UI - The panel opens by default; the "Workspace Files" button appears on the right of the title bar to toggle visibility
Note: a dynamic plugin lives as long as the current dsh process. After restarting dsh you must define and run it again.
Method 2: installable plugin (persistent)
See "Installation (dsh.bundle)" above: dsh plugin --profile web add github:YZz-S/dsh-workspace-files-explorer — the plugin persists with the profile, no manual run needed each time.
使用方法
方式一:动态 Cordis 插件(临时运行)
在 dsh Web GUI 的会话中,用 Cordis 工具定义并运行:
- 调用
cordis_define:code.host粘贴host.js的内容,code.client粘贴client.js的内容(plugin.kind: 'new',idPrefix取 3–6 个小写字母) - 调用
cordis_run激活,在界面上允许授权 - 面板默认打开;标题栏右侧出现「工作区文件」按钮用于切换显隐
注意:动态插件的生命周期与当前 dsh 进程相同。重启 dsh 后需重新定义运行。
方式二:可安装插件(常驻)
见上文「安装(dsh.bundle)」:dsh plugin --profile web add github:YZz-S/dsh-workspace-files-explorer,插件随 profile 常驻,无需每次手动运行。