luoyu-xingu/dsh-multi-root1

@luoyu_xingu/dsh-multi-root

Multi-root workspace plugin for the dsh web GUI: attach several independent folders to one project workspace, manage them in a sidebar panel, and let agents read, list, write, and glob across every registered root through gated host-side tools. Hot-pluggable via a cordis profile bundle, no dsh source changes.

AI Analysis

核心用途是管理多根目录工作区,允许智能体跨文件夹进行读写和检索。适合处理复杂多模块项目、需要跨目录协作的开发任务。

Package
@luoyu_xingu/dsh-multi-root
Version
0.1.1
License
MIT
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:luoyu-xingu/dsh-multi-root

Usage

  1. Click the sidebar Roots entry.
  2. Attach folders with the path input or the Browse dialog (drive level first on Windows); optionally give each one an alias.
  3. Ask the agent to work across folders — it will use workspace_roots to discover the roots and the other workspace_root_* tools to operate inside them.

Configuration

The host plugin accepts a schemastery-validated config (composition entry):

multi-root:
  enabled: true          # master switch for routes, tools, prompt section
  announceToAgent: true  # system-prompt section announcing the plugin
  hotReload: true        # host half watches its own lib/ and re-mounts on rebuild