AngelosZou/dsh-multi-folder0

dsh-multi-folder

多工作目录插件:允许为项目配置多个次要工作目录,Agent 在保持主 workspace 为 cwd 的同时,获得次要目录的同等读写执行权限。

AI 分析

核心用途是支持跨目录的多模块项目开发。适合处理大型单体仓库(Monorepo)或多关联项目联调的用户,使 Agent 能够无缝跨越多个配置目录进行代码检索、编辑和脚本执行。

包名
dsh-multi-folder
版本
0.1.0
许可证
MIT
最近更新
2026年8月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AngelosZou/dsh-multi-folder

Usage

A 「多工作目录 / Multi-folder」 button appears in the session header. The panel lets you:

ActionBehavior
Add directoryOpens the native directory picker
Remove / refreshApplies immediately
Switch sessionThe panel auto-switches to that session's directories
Reopen panelUses the per-session cache — no redundant command rows

Equivalent slash command for the user:

/multi-folder list
/multi-folder add "D:\path\to\repo"
/multi-folder remove "D:\path\to\repo"
/multi-folder set "D:\a" "D:\b"

The agent needs nothing extra: read / glob / grep work everywhere, and write / edit / pwsh / bash are intercepted and re-rooted automatically when the target path (or workdir) falls inside a configured secondary directory.