DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-open-code-workspace

d

dsh-open-code-workspace

Manifest valid

Adds a button beside the workspace header that opens a VS Code .code-workspace file as one multi-root Workspace and starts a new Session in it. Folders are linked under $DSH_HOME/multiroot (junction o

UI (client)hasBundlePatch

dsh-open-code-workspace

Open a VS Code .code-workspace file from the DeepSeek Harness sidebar and get all of its folders as one multi-root Workspace — the same idea as VS Code's File → Open Workspace from File….

BeforeAfter
A .code-workspace file listing several repositoriesOne Workspace whose root contains every folder as a junction/symlink

What it adds

A small branch icon appears in the sidebar 工作区 / Workspaces header, just left of the search icon. Clicking it:

  1. opens the native file dialog filtered to *.code-workspace,
  2. reads the file's folders (JSON with comments and trailing commas are fine),
  3. materializes them as one directory of junctions (Windows) or symlinks (macOS/Linux), and
  4. registers that directory as a Workspace and starts a blank Session in it.

Because the entries are links, every edit lands in the real repository. Nothing is copied, and the file itself is never executed.

Requirements

  • DeepSeek Harness with the Web client (Desktop app included), plugin_manager available to install bundles.
  • A platform dialog helper: PowerShell on Windows, osascript on macOS, zenity or kdialog on Linux.

Install

Published on npm as dsh-open-code-workspace. Install it from the Plugins page, or hand the package spec to the installer (dsh-open-code-workspace@0.1.0). The bundle is a normal DSH bundle whose patch inserts one row:

- insert:
    - id: dsh-open-code-workspace
      name: dsh-open-code-workspace

For a local checkout, point the installer at this directory instead of the package name (e.g. plugin_manager install_bundle with the absolute path). The Host half activates immediately; refresh the Web page so the client half loads.

Usage

  1. Refresh the page once after installation.
  2. In the sidebar, find 工作区, then click the open-folder icon between the title and the search icon.
  3. Pick a .code-workspace file (for example C:\projects\acme.code-workspace).
  4. The Workspace appears with one entry per folder, and a new Session opens there.

The button hides itself while the header's search field is expanded, so it never overlaps the shipped controls.

Where the aggregate directory lives

$DSH_HOME/multiroot/<file-title>-<folder-list-hash>/
    frontend  -> C:\projects\web-app   (junction / symlink)
    backend   -> C:\projects\api

Override the root with DSH_OPEN_CODE_WORKSPACE_ROOT. Editing the file's folder list opens a new farm directory (the hash is part of the name), so an old farm never shows stale folders; delete $DSH_HOME/multiroot whenever you like.

How it works

See docs/DETAIL.md for the Slot reasoning, the two Host routes, and the safety notes. In short: the client half registers a button in shell.overlay and anchors it to [data-sidebar-workspace-header]; the Host half owns the native dialog and the junction farm, because a browser can do neither and a resource route only answers GET/HEAD.

Troubleshooting

  • No button — refresh the page; collapse the sidebar search field; widen the sidebar so the header actions are visible.
  • 打开失败:picker-unavailable — install zenity/kdialog (Linux) or check the dialog command for your platform.
  • farm-failed / EPERM — the volume refuses reparse points / symlinks.

Development

node --check index.js
node --check client.js
node test/smoke.mjs

The smoke test drives both Host handlers with a stub Cordis context and a temporary .code-workspace file; it creates real junctions in a temp directory.

License

MIT

Comments

Loading…

Similar plugins

dsh-sidebar-row-menu

by TLEWA

Right-click menus for DSH sidebar workspace and session rows: open folders in VS Code or Explorer, copy paths and session links.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add dsh-sidebar-row-menu

by 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.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 2

MIT

JavaScript

Aug 30, 2026

dsh plugin --profile web add dsh-open-folder

by Wang-Chuming

Plain click on an Obsidian vault file in the DSH conversation opens it in the right app: notes in the Obsidian app, configured types (for example .tex) in VS Code with their project folder as the work

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 30, 2026

dsh plugin --profile web add @dsh-external/dsh-obsidian-file-opener

by tsingshitao-nuke

Right-click a folder in Windows File Explorer to open it as a DeepSeek Harness (DSH) workspace: register, launch DSH, and switch the page to it. 资源管理器右键「在此处打开 DSH 工作区」。

Sessions & MessagesManifest valid

★ 3

MIT

JavaScript

Aug 31, 2026

dsh plugin --profile web add dsh-set-workspace

by Pasumao

[Discontinued 2026-09-11: DSH >=0.1.5 ships a built-in workspace file tree + document preview — use that instead] VS Code-style workspace file explorer for the dsh web GUI (published versions remain i

UI & ExperienceManifest valid

★ 7

↓ 214/wk

MIT

TypeScript

Sep 11, 2026

dsh plugin --profile web add dsh-plugin-workbench

Multi-workspace manager: bind a docs anchor plus ordered code-project repositories into one session, injecting their absolute paths, a recursive file index, a server/client endpoint index and optional

UI & ExperienceManifest valid

★ 1

NOASSERTION

TypeScript

dsh plugin --profile web add dsh-workspace-combiner