DeepSeek Harness Plugin

tingfeng347/dsh-vscode-workbench

Stars ★ 17 Downloads (30d) 3,871 Category UI Enhancements Added 2026-08-26 npm dsh-vscode-workbench

VS Code-style local workbench for DSH with a file explorer, Monaco editor, full-text search and a Git panel.

Install

# from npm (prebuilt)

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

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:tingfeng347/dsh-vscode-workbench

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

Highlights

  • One local workbench: explorer, Monaco editor, search, Git, terminal, and DSH conversation in one VS Code-style interface.
  • Complete file experience: open text, Markdown, images, PDF, Word, Excel, and PowerPoint files directly; the tree supports drag-and-drop uploads and common file operations.
  • Reliable and live: atomic saves and revision checks prevent silent overwrites, while WebSocket updates flag external workspace changes.
  • Visual Git workflow: status, staging, commits, branches, diffs, commit files, a swimlane commit graph, and AI-generated commit messages from the current changes.
  • Persistent workspace context: restore tabs, tree, views, panels, and widths per workspace; terminals support multiple sessions, splits, and rename.
  • Two ways to open: fill the window as before, or float the workbench over DSH with dragging, eight-way resizing, and real fullscreen.
  • Built for DSH: reuse the DSH conversation surface on the right and manage theme and layout from the Workbench page in DSH settings.

Demo

Installation

Plugin 0.2.8 supports DeepSeek Harness 0.2.1-rc.1 and newer (default baseline 0.2.2-rc.1, Cordis 4.1.0). Anything below 0.2.1-rc.1 is rejected by the install gate:

npm i -g @deepseek-ai/dsh@0.2.2-rc.1
dsh plugin --profile web add dsh-vscode-workbench

Installing from the DSH Plugins page or a marketplace enables the plugin automatically. After a CLI install, add dsh-vscode-workbench to dsh.profile.bundles in ~/.dsh/profiles/web/package.json and restart dsh web. Terminals use the official Harness service, and the bundled Browser is enabled automatically; no additional terminal or sidebar plugin is needed. See Installation for upgrades and Harness compatibility failures.

Shortcuts

Shortcut Action
Ctrl+Shift+E Open Explorer
Ctrl+Shift+F Open Search
Ctrl+Shift+G Open Source Control
Ctrl+S Save the active file
Ctrl+Alt+B Toggle the DSH conversation panel
`Ctrl+`` Show or hide the terminal
`Ctrl+Shift+`` Create a terminal

Security

All plugin routes require Harness authentication. The host accepts only paths relative to the active DSH session workspace and rejects traversal and symlink escape. Saves use revision checks and atomic replacement. Git and ripgrep run with argument arrays rather than shell-concatenated commands. Terminals use the official Harness controller, connection authentication and execution environment. Credential filtering belongs to the official subprocess provider.

Development

pnpm install
pnpm typecheck
pnpm test
pnpm build

Requires Node.js ^22.19 || >=24, pnpm 11.7 and system Git. The workbench no longer installs its own native terminal module.

Docs

License

MIT

Web links and HTML files open in the browser selected under Settings → Workbench → Default browser (built-in or system). Use Cmd+T on macOS or Ctrl+T to open another official browser page. Terminals retain the bottom layout, session list, rename and split controls. Old workbench terminal processes cannot migrate to the official controller; create new terminals after updating.

Set Settings → Workbench → Window → Open mode to Floating window to keep the workbench as a layer over DSH, with the conversation and sidebar still visible around it: drag the title bar to move, drag an edge to resize, and double-click the title bar to maximize. The position and size are remembered, and Reset position and size restores the default. It reuses DSH's existing native window; it is not a second OS window.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.