Introduction¶
The workspace file panel in the DeepSeek Harness (DSH) right sidebar is strictly for browsing; the workspaceFiles service provided by the host is read-only. To edit a configuration line, create a new script, or quickly save a file within a session, users often have to switch to an external editor. This article introduces the community plugin dsh-ide-vscode (maintained by wang6077). It provides a “file tree on the left + editing area on the right” interface within a DSH right sidebar tab, allowing you to save changes with Ctrl+S without leaving DSH.
What is this¶
dsh-ide-vscode is a client-side plugin for DSH: it displays the file tree of the current session’s workspace on the left, and opens a text editor, image preview, audio/video player, or archive list on the right based on the file type. It is categorized as a client-side plugin. You can find it on the plugin marketplace at skillhub.cn/plugins/wang6077/dsh-ide-vscode, and the source code along with documentation is available on GitHub. It is licensed under MIT; the current package version is 0.1.1.
It performs read and write operations through a local HTTP route established by the plugin itself (mounted on the host’s web server with the path prefix /api/ide-vscode), because the built-in file service does not support writing.
Core Features¶
File Tree (Left)¶
- Expand and collapse directories; click a file to open it on the right.
- Directory right-click menu: New File, New Folder, Package to Zip, Refresh.
- File right-click menu: Rename, Change Extension, Delete, Package to Zip; right-clicking on empty space in the tree applies the action to the currently selected directory.
- When creating a new file, suffix pills are provided (e.g.,
.txt,.md,.json,.js,.py), but you can also manually type any suffix. - Top search box: Enter a filename and press Enter to search across subdirectories (up to 60 results); paste a path with slashes or a drive letter to jump to the corresponding hierarchy, or open the file if it is a file.
On Windows, folders and file names use the same text color, with folders represented by a yellow filled icon; file icons are retrieved via the system’s SHGetFileInfo based on the extension. On macOS / Linux, the host does not call Win32, so the frontend uses built-in neutral icons.
Editor (Right)¶
- Line numbers and syntax highlighting (host shiki, identified by extension).
Tabinserts two spaces;Ctrl+Dduplicates the current line (duplicates the entire selection if multiple lines are selected);Ctrl+Ssaves (a “Save” button is also available).- When focus is not in the editor,
Ctrl+Dacts as the global shortcut to open this panel (macOS uses⌘D; Web version usesCtrl+Alt+D); when focus is in the editor, it retains the “duplicate line” function. - The status bar displays line count, character count, byte count, and saved/unsaved status; switching files with unsaved modifications will prompt a save, discard, or cancel option.
Images, Audio/Video, and Archives¶
- Images (
.png,.jpg,.jpeg,.gif,.webp,.bmp,.ico,.avif): Previewed within the panel; toggle between actual size and fit to window; single file limit is 64 MB, loaded viaGET /api/ide-vscode/raw. - Audio / Video: Common extensions are played within the panel using native browser controls; the status bar indicates read-only playback.
- Archives (
.zip,.tar,.tar.gz, etc.): Lists package members (up to 1000 items); supports “Extract Here” and right-click “Package to Zip”; utilizes the system’s built-intar(bsdtar is built-in for Windows 10+) with no additional runtime dependencies.
Deletion and Recycle Bin¶
By default, deletion moves items to the recycle bin (not immediate physical deletion); the dialog offers an option for “Permanent Delete” with a secondary confirmation. The recycle bin is located at <workspace_root>/.dsh-ide-vscode/trash by default and can be configured via environment variables or ide-root.json (see README).
Installation and Activation¶
Recommended installation method is via the DSH Plugin Market: Settings → Plugins → Plugin Market → Search dsh-ide-vscode → Install.
Command line installation example (replace profile name with your actual environment):
dsh plugin --profile desktop add dsh-ide-vscode
When using dsh web, replace desktop with the corresponding web profile. A DSH restart is required after installation; the plugin package list is only loaded at startup.
Compatibility (from README): DSH >= 0.1.5-rc.1 (web / desktop); Node >= 22; extraction/packaging requires the system to provide tar.
Typical Usage¶
Opening the Panel¶
- Click
+in the right sidebar and select the “Workspace IDE” card on the start page. - Press
Ctrl+D(orCtrl+Alt+Dfor the web version) anywhere to open it directly. - Clicking code or configuration files such as
.js,.ts,.py,.json,.ps1,.yamlin a session will also open them in this IDE;.mdand.htmlare still handled by DSH’s built-in document preview.
Editing and Saving¶
Modify content in the right editor and press Ctrl+S or click “Save” to write to the workspace. The file tree follows the workspace of the session to which the current panel belongs; switching sessions or workspaces will change the tree accordingly, so separate root configuration is generally unnecessary.
Optional: Place an ide-root.json in the local plugin package directory (not in git, not in the npm package), e.g., {"root": "D:\\my\\project"}, or set the environment variable DSH_IDE_ROOT to fix the root directory; see the “Workspace Root Directory” section in the README for resolution order.
Use Cases and Notes¶
Suitable for: Quickly viewing and modifying text and configurations within the workspace inside DSH; previewing images and media; listing, extracting, or packaging common archives like zip; developers who do not want to switch to an external IDE frequently just to change a line of configuration.
Important to note:
- The plugin accesses the workspace with the permissions of the current dsh process; before installation, please review the source code and MIT license to assess if it meets your security requirements.
- Paths are resolved relative to the workspace root; out-of-bounds requests return 403; writing, creating, or deleting in
node_modules,.git, etc. is prohibited. - This is not a full VS Code: no Monaco, no LSP, no terminal or Git, no multi-tabs; only one file can be edited at a time.
- Single file read limit is 2 MB, write limit is 8 MB; whether formats like
.rarcan be extracted depends on the systemtarcapabilities.
The DSH ecosystem emphasizes “everything is a plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek / High-Flyer.
Conclusion¶
dsh-ide-vscode brings a readable and writable workspace IDE into the DSH right sidebar, filling the gap left by the read-only file panel. For installation steps, API details, and security boundaries, please refer to the README.
- Plugin Directory Page: https://www.skillhub.cn/plugins/wang6077/dsh-ide-vscode
- GitHub: https://github.com/wang6077/dsh-ide-vscode