Fallen0543/dsh-sidebar-files 预览 preview

Fallen0543/dsh-sidebar-files

Plugin插件 Native原生 ⭐ 3 NOASSERTION Sessions & Context会话与上下文UI & Themes界面与主题

DeepSeek Harness 侧边栏文件树插件:会话/文件标签栏 + 懒加载文件树,按扩展名彩色图标、复制路径、发送给 Agent。

Project Overview项目介绍

It is a native DeepSeek Harness plugin that adds an inline, lazy-loaded file tree to DSH's left sidebar. To install it, you first need to have the DSH CLI and pnpm package manager installed on your local machine. The standard, easiest installation pulls the published package from npm with the command dsh plugin --profile web add dsh-sidebar-files. After running the install command, you just restart DSH with the target profile to see the new Sessions/Files tab in the sidebar. If you do not already have a web profile, the DSH CLI will initialize it automatically for you during the first run.

After installation, when you open DSH with your target profile, you will see the new Files tab added to the left sidebar below the New Session button. The file tree loads lazily, meaning only one directory level is fetched when you expand a folder, which reduces unnecessary network and processing load. Dotfiles, node_modules, and the .git directory are hidden by default, but you can toggle a setting to reveal these hidden items if you need to access them. Each file row has two hover actions: copy the full file path to your clipboard, or send the file content directly to the current agent session.

This plugin is released under the MIT open source license, with icon assets borrowed from the Material Icon Theme, which is also licensed under MIT. It can also be installed from a local checkout, a prebuilt tarball, or directly from the GitHub repository, depending on your needs. If you install it from GitHub, you will need to add an allowlist entry for it in your profile's pnpm-workspace.yaml, because pnpm 10+ blocks build scripts from git dependencies by default. Installing from npm or a prebuilt tarball does not require any extra configuration steps, and local development follows standard pnpm workflows for building and testing.

这是一个专为 DeepSeek Harness 开发的原生插件,为 DSH 左侧边栏添加了文件树浏览功能。它会在新建会话按钮下方注入「会话/文件」标签栏,在侧边栏区域渲染基于当前工作区的懒加载内联文件树,支持按扩展名显示对应品牌图标,鼠标悬浮文件行还能调出复制路径、发送文件到当前代理的操作按钮。

开发者使用该插件可以更方便地在 DSH 界面中浏览当前工作区的文件结构,无需切换到外部文件管理器再复制路径或传输文件。默认会自动隐藏以点开头的文件、node_modules 和 .git 目录,点击「显示隐藏项」开关即可展示这些内容,适合日常开发中需要快速定位文件、向代理提供文件内容的场景。

该插件基于 MIT 许可证开源,安装需要提前配置好 dsh CLI 和 pnpm 包管理器,支持通过 npm 注册表、本地源码包、GitHub 源码三种方式安装到指定 DSH 配置档。如果从 GitHub 源码安装,需要在配置档的 pnpm-workspace.yaml 中添加允许构建的白名单,从 npm 或预构建压缩包安装则无需任何额外配置。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-sidebar-files

把 Fallen0543/dsh-sidebar-files 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-sidebar-files

English | 中文

npm version License: MIT

A sidebar file tree for DeepSeek Harness. Adds a Sessions / Files tab strip to the left sidebar and an inline, lazy-loaded file tree over the active workspace — with per-extension brand icons, copy-path, and send-to-agent actions.

Files tab in the sidebar

Hover a file row for two actions — copy path and send to agent:

Copy path
Copy path
Send to agent
Send to agent

Plugin status. Built and verified against the published harness (0.1.0-rc.6, the web profile). It runs entirely as an out-of-tree bundle: the node half serves directory listings through its own HTTP route, the browser half renders the tree. No core changes required.

Features

  • Sessions / Files tab strip injected below the New Session button (wide sidebar). The tree renders inline in the sidebar region — same presentation as the harness's own browsing surfaces.
  • Lazy listing: one directory level is fetched on demand (the workspace root on open, a directory on first expand), through the plugin's own GET /dsh-sidebar-files/list?path=… route. Wire cost follows what you actually open.
  • Per-extension icons: 47 brand-style glyphs for common extensions (ts/js/json/yml/yaml/css/html/md/ico/png/zip/log/…), plus a generic document fallback. Icon path data from Material Icon Theme (MIT, © Material Extensions 2025) — see LICENSE.
  • Hidden by default: dot-led names, node_modules, and .git are filtered out; the 显示隐藏项 toggle reveals them. node_modules/.git stay hidden until the toggle is on.
  • Row actions (hover): copy path (with one-second "copied" feedback) and send the file to the current session's agent (a queued "please read this file" prompt).
  • Resilient fallback: if the shell's sidebar structure is ever unrecognizable, the plugin degrades to a footer action button + centered modal instead of the tab strip — never a blank screen.
  • Bilingual (中文 / English), following the harness locale.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dhs-tuicode 下一个 Next dsh-conversation-archive →