返回目錄

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 外掛,絕不濫發。