DeepSHPlugins
dsh-open-in-vscode 项目预览
GITHUB / COMMUNITY PROJECT

dsh-open-in-vscode

工具与集成JavaScriptMIT

从 Web GUI 一键在 VS Code 中打开工作区目录。

53 Starsomdsh-dev 更新时间 2026-08-16
访问 GitHub 仓库
dsh-open-in-vscode 项目预览

项目介绍

中文

从 Web GUI 一键在 VS Code 中打开工作区目录。

English

Open DSH workspace directories in VS Code directly from the web GUI.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
omdsh-dev
仓库
omdsh-dev/dsh-open-in-vscode
GitHub Stars
53
Forks
6
开发语言
JavaScript
许可证
MIT
最近推送
2026-08-16
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

81/ 100
维护活跃
82
文档与实用信息
85
生态关注度
57
安装便捷信号
100
项目声明信号
100

README 含完整安装与使用说明;标准命令一键安装。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin add github:omdsh-dev/dsh-open-in-vscode

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

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:

KeyDefaultMeaning
commandcodeExecutable 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.

A missing executable fails loud with a fix hint; relative paths are refused.

Capability boundary

ActionRuns whereRequires approval
Open a workspace directory in the editorHost (user gesture)No — the user clicked the row
Anything else—The plugin has no tools, no settings namespace, and no model-facing surface

The plugin adds no tools, no skills, and no settings; it only opens the directory the user already opened in DSH. It never reads or writes files itself.

Development

pnpm install
pnpm run check   # typecheck + lint + test + build; commit lib/ (file: installs run without a build)

Layout: the wire contract lives in one module (src/contract.ts) shared by the host manifest (src/typert.ts) and the client contribution (src/client/remote.ts); the harness owns the slot declaration and the Menu node-entry kind this plugin composes through.

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目