Mongfayi/dsh-local-filetree ↗★ 2
dsh-local-filetree
DSH Web UI 的只读文件树面板:在右侧详情栏展示当前会话工作区树
AI 分析
在右侧栏提供懒加载、只读的当前工作区文件树。适合需要随时对照项目目录结构,但无需复杂编辑操作的 DSH 用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Mongfayi/dsh-local-filetree說明文件
閱讀完整 README ↗安装
- 将本包放入你的 workspace(或任意外部目录),并在 DSH web profile 中安装为 bundle:
- 把包目录链接/安装进 profile 的 node_modules(
dsh plugin --profile web add); - 在
.dsh-home/profiles/web/package.json的dsh.profile.bundles中加入包名(示例见下)。
- 把包目录链接/安装进 profile 的 node_modules(
- 重启生效:静态 bundle 变化需要重启
dsh web(加载器在启动时扫描)。重启后:- 侧边栏底部出现「文件树」按钮;
- 点击后右侧栏打开文件树,根为当前会话工作区;
- 面板内「恢复工具详情」还原出厂右侧栏。
// .dsh-home/profiles/web/package.json
{
"dependencies": { "dsh-local-filetree": "file:" },
"dsh": { "profile": { "bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-local-filetree"] } }
}