YZz-S/dsh-workspace-files-explorer1

workspace-files-explorer

DeepSeek Harness (dsh) 工作区文件浏览器插件:浮层面板浏览当前会话工作区文件树,支持代码语法高亮与 Markdown 渲染预览。

AI Analysis

核心用途是直观查看和预览项目文件。适合在 DSH 中进行代码编写、文档阅读,需要频繁确认工作区文件结构的用户。

Package
workspace-files-explorer
Version
1.0.0
License
MIT
Last updated
Aug 15, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YZz-S/dsh-workspace-files-explorer

Usage

Method 1: dynamic Cordis plugin (temporary)

Define and run in a dsh Web GUI session with the Cordis tools:

  1. Call cordis_define: paste host.js content as code.host and client.js content as code.client (plugin.kind: 'new', idPrefix of 3–6 lowercase letters)
  2. Call cordis_run to activate and allow authorization in the UI
  3. 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 工具定义并运行:

  1. 调用 cordis_definecode.host 粘贴 host.js 的内容,code.client 粘贴 client.js 的内容(plugin.kind: 'new'idPrefix 取 3–6 个小写字母)
  2. 调用 cordis_run 激活,在界面上允许授权
  3. 面板默认打开;标题栏右侧出现「工作区文件」按钮用于切换显隐

注意:动态插件的生命周期与当前 dsh 进程相同。重启 dsh 后需重新定义运行。

方式二:可安装插件(常驻)

见上文「安装(dsh.bundle)」:dsh plugin --profile web add github:YZz-S/dsh-workspace-files-explorer,插件随 profile 常驻,无需每次手动运行。