返回目录

dsh-open-in-vscode

编辑精选维护状态: 活跃

omdsh-dev/dsh-open-in-vscode

从 DSH Web 界面直接以 VS Code 打开工作区目录。

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

53

星标

6

Fork

JavaScript

语言

MIT

许可证

2026-08-13

创建于

2026-08-16

最近推送

一个 DeepSeek Harness 网页 GUI 插件:把你已在 DSH 中打开的工作区目录直接在 VS Code 中打开,自身不含任何工具、技能或文件访问。

DSH 适配

原生运行时

作者声明

安全审计

未审计

最后核验

2026-09-01

许可证

MIT

01它能帮你完成什么?

  • Open a DeepSeek Harness workspace directory in VS Code directly from the web-GUI sidebar

    The chosen workspace directory opens in VS Code (or the configured editor CLI), spawned detached so the editor outlives the server

    DeepSeek Harness web-GUI users who want to jump from a sidebar Workspace row into their local editor without leaving the browser

02如何接入 DeepSeek Harness?

前置条件

  • VS Code, or an editor CLI on PATH.
  • DSH `0.1.0-rc.6` or newer.

安装步骤

  1. 01

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

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

  2. 02

    Restart the web server and refresh the page; the host mounts under `dsh-open-in-vscode` and the client bundle is served at `/plugins/dsh-open-in-vscode/client.js`.

验证接入成功

  • `dsh plugin --profile web list dsh-open-in-vscode --depth 0` confirms the installed version.

03DSH 适配与能力边界

DSH 适配原生运行时

Native Workspace row-menu extension point (`sidebar.workspaces.row-menu`); scoped compatibility adapter on DSH 0.1.0-rc.6

  • Open directory in editor

    workspace directory path from the clicked Workspace row→spawns the configured editor CLI on that directory (`code <path>` by default), detached, so the editor outlives the server

    spawns an external editor process detached from the harness server
  • Locale-following menu row

    harness Workspace sidebar row→renders **在 VSCode 中打开** under the Chinese locale, **Open in VSCode** under English

  • Strict Typert Remote open call

    workspace directory from the clicked row→calls the host over the strict Typert Remote `openInVscode/open`, passing the workspace directory

04适合谁?何时不该用?

适合

  • DeepSeek Harness web-GUI users who want to jump from a sidebar Workspace row into their local editor without leaving the browser

不适合

  • Requires 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`.
  • A missing executable fails loud with a fix hint and relative paths are refused — the editor command must resolve on PATH or be an absolute path.

05兼容性、维护与安全提示

  • Requires 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`.
  • A missing executable fails loud with a fix hint and relative paths are refused — the editor command must resolve on PATH or be an absolute path.
  • On Windows the default `code` command also discovers standard VS Code installs; on macOS you must install the VS Code shell command or set the plugin `command` to any editor that opens a directory.
2026-08-132026-08-16作者未说明

MIT · repo created 2026-08-13, last push 2026-08-16 · no GitHub release published

06常见问题

如何安装 dsh-open-in-vscode?

把它加入你的 web 配置:`dsh plugin --profile web add https://github.com/omdsh-dev/dsh-open-in-vscode/archive/refs/tags/v0.1.6.tar.gz`。这会在配置内运行 pnpm 并协调 bundle 层。然后重启 web 服务器(`kill -TERM <pid>`,切勿用 `kill -9`)并刷新页面。宿主挂载在 `dsh-open-in-vscode` 下,客户端 bundle 提供在 `/plugins/dsh-open-in-vscode/client.js`。

它支持哪些 DeepSeek Harness 版本?

DSH `0.1.0-rc.6` 或更新版本。客户端在有原生 `sidebar.workspaces.row-menu` 槽位时使用该槽位,在公开的 `rc.6` 构建上回退到作用域兼容适配器。

它会读写我的文件吗?

不会。该插件不添加任何工具、技能或设置;它只打开你已在 DSH 中打开的目录,从不自行读写文件。

如何改用其他编辑器打开?

在 cordis.yml 中设置 `command` Config 键(默认 `code`);在 Windows 上它还会探测标准 VS Code 安装位置,其他命令通过 PATH 解析。找不到可执行文件会明确报错并给出修复提示,相对路径会被拒绝。

08数据与来源

  • 作者声明github.com8aed144abdc1…

    every real Workspace row in the sidebar gains an **Open in VSCode** row

  • 作者声明github.com8aed144abdc1…

    The client half uses the harness's `sidebar.workspaces.row-menu` slot when

  • 作者声明github.com8aed144abdc1…

    DSH `0.1.0-rc.6` or newer.

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-01。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。