omdsh-dev/dsh-open-in-vscode 预览 preview

omdsh-dev/dsh-open-in-vscode

Plugin插件 Native原生 ⭐ 53 MIT Dev Workflow开发与代码工作流

直接从Web GUI在VS Code中打开DeepSeek Harness工作区目录。

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH). It adds an “Open in VS Code” menu item to the overflow menu of every workspace row in DSH’s web GUI sidebar. The menu item automatically matches DSH’s current locale, showing Chinese text for Chinese locales and English text for English locales. It works with both native extension slots for newer DSH versions and a compatibility adapter for 0.1.0-rc.6. To install the plugin, run the command dsh plugin --profile web add https://github.com/omdsh-dev/dsh-open-in-vscode/archive/refs/tags/v0.1.6.tar.gz in your terminal. After installation completes, you must restart the DSH web server and refresh the browser page to load the plugin.

This plugin is designed for DSH users who manage multiple development workspaces in DSH and use VS Code as their primary local code editor. Without this plugin, users have to manually copy the workspace directory path from DSH, open a terminal, navigate to the correct path, and launch VS Code manually step by step. With this plugin, all those repetitive steps are reduced to a single click directly from the DSH interface. It streamlines the workflow of switching between multiple workspaces for development, saving time and eliminating unnecessary repetitive manual steps.

The plugin is released under the permissive open source MIT license, so it is free to use, modify, and redistribute for any purpose. It requires DSH version 0.1.0-rc.6 or newer to run, and the VS Code code command line executable must be available on your system’s PATH. You can also configure a custom editor command and extra arguments in the plugin settings if you prefer to use a different directory editor. The plugin never reads or writes any user files directly, it only triggers the configured editor to open the requested workspace directory.

这是一款专为 DeepSeek Harness (DSH) 开发的原生插件,作用是让用户可以直接从 DSH 网页端侧边栏的工作区列表,通过溢出菜单里的新增选项一键打开对应工作目录到 VS Code 或其他配置好的命令行编辑器。它适配 DSH 原生的工作区行菜单扩展点,同时兼容 0.1.0-rc.6 版本的兼容适配器,支持跟随界面语言切换菜单的显示文字。

日常使用 DSH 管理多个开发工作区,同时习惯用 VS Code 进行本地编码开发的用户,安装这个插件后,不需要手动复制工作区路径再打开编辑器,只需要在侧边栏找到目标工作区,点开右上角的省略号溢出菜单,点击对应选项就能完成跳转,大幅简化了多工作区切换开发的操作流程,提升了开发效率。

该插件采用 MIT 许可开源,完全免费使用。使用前需要确保已经安装 DSH 0.1.0-rc.6 或更新版本,并且 VS Code 的命令行工具 code 已经添加到系统 PATH 中,也可以自定义配置打开目录的编辑器命令和额外参数。安装后需要重启 DSH 服务再刷新页面才能生效,插件本身不会读写用户文件,仅负责触发打开目录的操作。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add https://github.com/omdsh-dev/dsh-open-in-vscode/archive/refs/tags/v0.1.6.tar.gz

把 omdsh-dev/dsh-open-in-vscode 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-open-in-vscode

Open a workspace directory in VS Code straight from the DeepSeek Harness web GUI: every real Workspace row in the sidebar gains an Open in VSCode row inside its … overflow menu.

What it does

  • The client half uses the harness's sidebar.workspaces.row-menu slot when available and falls back to a scoped compatibility adapter on the public DSH 0.1.0-rc.6 build. Both paths render the same locale-following menu row — 在 VSCode 中打开 under the Chinese locale, Open in VSCode under English.
  • The row's click closes the menu and calls the host over the strict Typert Remote openInVscode/open, passing the workspace directory.
  • The host half spawns the configured editor CLI on that directory (code <path> by default), detached, so the editor outlives the server.

Prerequisites

  • VS Code, or an editor CLI on PATH. On Windows, the default code command also discovers standard per-user and system VS Code installations. On macOS, install the VS Code shell command or set the plugin command to any editor that opens a directory).
  • DSH 0.1.0-rc.6 or newer. The plugin uses the native Workspace row-menu extension point where present and a compatibility adapter on rc.6.

Install

Add the plugin to your web profile (this runs pnpm inside the profile and reconciles the bundle layer):

dsh plugin --profile web add https://github.com/omdsh-dev/dsh-open-in-vscode/archive/refs/tags/v0.1.6.tar.gz

Restart the web server (kill -TERM <pid> and wait for exit — never kill -9, it tears the session zstd log mid-frame), then refresh the page. The host plugin mounts under dsh-open-in-vscode; the client bundle is served at /plugins/dsh-open-in-vscode/client.js.

The versioned tarball replaces older pinned commits without running a git prepare script. Confirm the installed version with:

dsh plugin --profile web list dsh-open-in-vscode --depth 0

Configuration

Deployment-varying choices are validated Config fields, changeable from cordis.yml:

Key Default Meaning
command code Executable that opens a directory. The default also probes standard Windows VS Code install locations; other commands resolve through PATH.
args [] Extra arguments passed before the directory path.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-catppuccin-theme 下一个 Next dsh-plugin-better-sidebar-plugin-office →