DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Workspace Tree — DSH Plugin for DeepSeek Harness
← Plugins
W

dsh-workspace-tree

Workspace Tree

DSH Workspace Tree: Reworks the sidebar workspace into a dual-mode filesystem tree—Folder mode browses and creates items by actual directory hierarchy (session cwd = directory, environment isolation), while Workspace mode manages only workspaces and sessions; workspaces are strictly bound to directo

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:liceses/dsh-workspace-tree#4e2fd2e7938dbba7ad55d6eb1dd214e1788f68da
READMECompatibilityVersions
工作区树总览

Description

DSH Workspace Tree: Reworks the sidebar workspace into a dual-mode filesystem tree—Folder mode browses and creates items by actual directory hierarchy (session cwd = directory, environment isolation), while Workspace mode manages only workspaces and sessions; workspaces are strictly bound to directories, with drag-and-drop sorting, upward status propagation, session/folder search filtering, and a configuration panel.

Compatibility and provenance

Workspace Tree is published as dsh-workspace-tree and currently resolves to version 1.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/8/2026

Versions

1.1.0stable
9/8/2026
1.0.1stable
9/6/2026
1.0.0stable
8/30/2026

Related plugins

Loading related plugins…

Latest
1.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 7
Weekly downloads
0
Last push
9/8/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocol

README

dsh-workspace-tree · 工作区树(v4)

把 DSH Web 左侧栏的「工作区」重做为文件系统树双模式。核心原则: 工作区 = 目录强绑定——会话的 cwd 就是它所在的目录,环境真正隔离。

工作区树总览

工作区模式:工作区按目录层级嵌套(子文件夹直接显示在父工作区下), 会话挂各自工作区,行尾为最近活动时间。

双模式(标题栏切换,选择自动记忆)

模式显示用途
文件夹模式完整文件系统目录树(含非工作区的中间目录),工作区节点带会话计数标记浏览目录结构;hover 任意目录可「新建会话」(会话 cwd = 该目录,自动注册工作区)或「添加为工作区」;点击工作区节点 = 纯导航到工作区模式并定位
工作区模式只显示工作区节点(隐藏中间目录),按目录相对层级嵌套,会话挂各自工作区下管理会话:打开 / 重命名 / 分叉 / 归档;工作区重命名 / 删除

v4 新增:搜索过滤

模式切换按钮与「新建会话」之间新增简约搜索框(🔍 图标,输入即过滤, Esc / ✕ 清空):

  • 匹配范围:会话标题 或 文件夹/工作区名,不区分大小写子串
  • 工作区模式:隐藏不匹配的会话与整组;命中组强制展开(临时),清空后 还原手动折叠状态
  • 文件夹模式:目录按「名字或后代会话是否有匹配」剪枝并强制展开命中 分支;命中的工作区节点下内联列出要展示的会话(名字命中 → 该工作区 全部可见会话,否则仅标题命中的会话),可直接点击打开
  • 无任何命中时显示「无匹配会话」空态

为什么重写(v2 → v3)

v2 的自定义逻辑文件夹(不改变会话 cwd)造成了环境不隔离:文件夹只是 UI 归类, 会话里的文件操作仍落在工作区根目录。v3 彻底移除逻辑文件夹模型,树完全由 workspaces[].path 的文件系统层级推导,在目录下新建的会话其 cwd 就是该目录。

架构

半区文件职责
Hostlib/index.js仅保留只读调试路由 /api/dsh-workspace-tree/debug(工作区注册表投影),零持久化
Clientlib/client.js树浏览器:双模式渲染、目录树推导(buildDirTree / buildWorkspaceForest)、导航联动、隔离会话创建(sessions.create({cwd}))

数据源全部来自标准 props(useWorkspaces / useSessions),无额外状态。

交互细节

  • 文件夹模式:目录节点点击 = 展开/折叠(chevron 单独点击也可);工作区节点点击 = 切到工作区模式 + 展开该组 + 滚动定位(纯导航,不打断当前会话);hover 操作:工作区节点「+新建会话 / ✎重命名 / 🗑删除」,普通目录「+新建会话(自动注册)/ +添加为工作区」
  • 工作区模式:组头「+新建会话 / ✎重命名 / 🗑删除」;会话行保留官方「完成未读」绿色提醒点、运行矩阵动画、等待交互琥珀点
  • 展开状态、模式选择均 localStorage 记忆

安装

cd dsh-workspace-tree
dsh plugin add .          # 或按部署方式装配 bundle

或通过 dsh-super-injector 运行时注入(免重启):

dev_inject_plugin {"dir": "D:/developing/DSH-plugin/dsh-workspace-tree"}

兼容性

  • 路由前缀、patch 行 id(dsh-workspace-tree)唯一;不声明 children slot(避免与官方 sidebar.workspaces.directoryFlow 冲突)
  • 以 priority: -1 替换官方浏览器(shadowing 升序、最低渲染)
  • 卸载插件后官方浏览器自动恢复,无残留数据(v3 零持久化)