DeepSeek Harness Plugin

tingfeng347/dsh-vscode-workbench

Stars ★ 25 Downloads (30d) 6,446 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

Installation

The plugin requires DeepSeek Harness >=0.2.1-rc.1 at install time. The default test baseline is 0.2.2-rc.5 (Cordis 4.1.0), with route-authentication support verified for Harness 0.2.3.

npm i -g @deepseek-ai/dsh@0.2.2-rc.5
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. After it starts, open VS Code Workbench from the DSH sidebar. The plugin enables the official terminal and built-in browser. See Installation for upgrades and Harness compatibility failures.

Features

Area What you can do
Files and editing Create, rename, move, delete, and drag files, with multi-selection, split panes, Monaco editing, and per-workspace layout restoration. Saves use revision checks and atomic writes.
Workspace search and replace Search with case, whole-word, regular-expression, and include or exclude path options. Preview and replace one match, one file, or all results.
Git and file review Stage, commit, amend, push, and sync from Source Control. Compare staged files with HEAD and browse the automatically refreshed commit graph. Change blocks in split diffs can add a file reference with the affected lines to the DSH conversation. IDEA / PyCharm split diffs are the default, with VS Code inline diffs available as an alternative.
Language intelligence and debugging Install and restart language servers for completion, definitions, references, fixes, formatting, and Problems. The Debug panel supports breakpoints, stepping, call stacks, and variables.
AI assistance Use Off, Manual, or Automatic code completion. Review all or the latest AI changes by block, file, or batch, with optional auto-follow.
Remote SSH development Connect with an OpenSSH alias or address using ssh-agent, a private key, or a password. Edit, download, and drag and drop remote files. Use search and replace, Git, and the terminal. The SSH selector below the DSH composer switches between connected workspaces and supports remote file and line references.
Documents and web pages Preview Markdown, images, PDFs, Excel, Word, and PowerPoint in tabs, and open web links or local HTML in the built-in or system browser.
Terminal and DSH chat Use the official Harness terminal with multiple sessions, renaming, and splits. Add files or editor selections to DSH chat and open generated file links from the current session.
Workspaces, layout, and window Manage workspaces and sessions, arrange the activity bar, sidebars, chat, terminal, themes, and font size. Floating windows support dragging, resizing, fullscreen, and remembered geometry.

Demo

Shortcuts

Shortcut Action
Ctrl+Shift+E Open Explorer
Ctrl+Shift+F / ⌘⇧F Search the workspace
Ctrl+Shift+H / ⌘⇧H Open workspace replace
Ctrl+Shift+G Open Source Control
Ctrl/Cmd+Click Toggle one Explorer item
Shift+Click Select the visible range from the anchor
Ctrl/Cmd+A Select every visible Explorer item
Shift+Up/Down Extend or shrink the contiguous selection
Ctrl/Cmd+C Copy selected relative paths, one per line
Delete / Backspace Delete selected Explorer items
Esc Clear the selection or close the delete confirmation
Ctrl+S / ⌘S Save the active file
Ctrl+Alt+B Toggle the DSH conversation panel
Ctrl+` Show or hide the terminal
Ctrl+Shift+` Create a terminal
Ctrl+T / ⌘T Open a built-in browser tab
Ctrl/Cmd+Alt+K Add the current file or selected code to DSH chat from the editor
Alt/Option+\ Trigger AI code completion when enabled
Tab / Esc Accept or dismiss an AI inline suggestion
Ctrl/Cmd+Enter Commit from the commit message field
F11 / Ctrl+Command+F Toggle floating-window fullscreen (second shortcut on macOS)

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. Remote SSH uses the local OpenSSH client with optional password storage in the system credential store. On Linux, password storage requires Secret Service. File operations validate paths against the remote workspace with realpath. Remote commands in chat start in the selected workspace and run with the SSH account permissions. 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

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.