dsh-linked-folders
Manifest validMulti-folder workspace: a durable global linked-folders list plus per-session on-the-fly linking (link_folder/unlink_folder), managed from the Web sidebar with a native folder picker.
@steven-wu/dsh-linked-folders
Out-of-tree dsh plugin that gives a session multi-folder workspace access — like Codex's linked folders.
- A global linked-folders list (durable, cross-session) — your "global workspace".
- Per-session temporary links the model adds/removes on the fly with
link_folder/unlink_folder.
Both lists are injected into the system prompt, so the model knows which extra
roots it may cd into and work across.
Install
The package declares a dsh.bundle manifest, so dsh plugin add installs it
and adds it to the profile's bundle layers automatically:
dsh plugin --profile web add @steven-wu/dsh-linked-folders
# restart the web profile, then refresh the page
Use
- Composer → the 📁 button on the left of the input bar. Click it to open the panel: manage the global list (add by absolute path or Browse…, remove with ×) and see this session's temporary links.
- Model: say "link folder /path/to/foo" — the agent calls
link_folder; "unlink /path/to/foo" callsunlink_folder. Session links appear in the prompt as(this session).
Workspace-picker entry (optional Tier-2 patch)
The official workspace-picker menu is inline (not a slot), so the plugin can't
add to it. scripts/patch-workspace-picker.py patches the compiled
dsh-client-ui-workspace bundle to add a "Link folder…" entry next to
"Add workspace"; selecting it dispatches dsh:link-folder-requested, which this
plugin listens for (opens the native picker and links the chosen path).
python3 scripts/patch-workspace-picker.py
# then restart dsh web
Re-run after a dsh update (idempotent; the original bundle is backed up to
*.pre-linkfolder.bak).
Configuration
State lives in ~/.dsh/linked-folders.json:
{
"global": ["/Users/you/projects/app", "/Users/you/projects/lib"],
"sessions": { "session-abc…": ["/tmp/scratch"] }
}
Override the path with the DSH_LINKED_FOLDERS env var or the bundle row's
config.path. Linked folders are canonicalized to real paths and must be
existing directories.
Sandbox note
The plugin only advertises folders to the model and provides the management UI;
it does not change the file sandbox. Under danger-full-access the model can
read/write anywhere; under workspace-write it can read linked folders but
writes are still confined to the session workspace root.
Model experience
- System prompt: a
## Linked folderssection listing global + session roots. - Tools:
link_folder(path)/unlink_folder(path). - Web Remote: the client bundle explicitly mounts the
linkedFoldersRemote contribution before the sidebar consumes it (required by dsh rc.6+). - Prompt token cost: proportional to the number of linked folders (one short line each), zero when none are linked.
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0-rc.1 | — | — |
| 0.1.0-rc.2 | — | — |
| 0.1.0-rc.3 | — | — |
| 0.1.0-rc.4 | — | — |
| 0.1.0-rc.5 | — | — |
| 0.1.0-rc.6 | — | — |
Comments
Loading…
Similar plugins
by EugeneVl
Session folders for the DSH web sidebar: one-level named folders per workspace, drag-and-drop or context menu to group sessions, server-side persistence. No harness changes.
★ 10
↓ 164/wk
MIT
JavaScript
Oct 22, 2026
dsh plugin --profile web add dsh-session-foldersby cherrchen
多文件夹 workspace:让 DSH(DeepSeek Harness)的 Agent 不只能读写主目录,还能同时读写你添加的其他文件夹。Multi-folder workspace for DeepSeek Harness: let the agent read and write several folders at once, not just the primary one.
★ 14
↓ 263/wk
MIT
TypeScript
Oct 28, 2026
dsh plugin --profile web add @dsh-electron/dsh-plugin-multi-root-workspaceby KannaKuron
DSH web plugin: a hierarchical workspace tree for the sidebar — titles containing / group into virtual folders; the add-workspace flow gains a parent-group popup
★ 25
↓ 1.1k/wk
MIT
JavaScript
Oct 27, 2026
dsh plugin --profile web add dsh-better-workspaceby Knight-Zjy
DeepSeek Harness 侧边栏的工作区分类树:分类 > 工作区 > 会话(VS Code 风格)。Collapsible category tree for DSH workspaces.
★ 3
↓ 427/wk
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add dsh-workspace-categoriesby TianYa-DAO
Keeps running, finished-but-unopened and currently open sessions at the top of the DSH Web sidebar workspace list.
★ 1
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add dsh-pinned-sessionsby TussalZeus18028
Adds an "Open folder" item to the session-row ⋯ menu in the DSH workspace sidebar, opening the session's workspace folder with the host OS file manager.
★ 2
MIT
JavaScript
Aug 30, 2026
dsh plugin --profile web add dsh-open-folder