DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@sjhmars/editor-launcher

Editor Launcher

从 Session 标头中选择一个已安装的编辑器,并使用它在 Web 和桌面端打开会话文件链接

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @sjhmars/editor-launcher@0.1.6
README兼容性版本

兼容性与来源证明

Editor Launcher 以 @sjhmars/editor-launcher 发布,当前版本为 0.1.6。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/11/5

版本

0.1.6stable
2026/10/10
0.1.5stable
2026/8/21
0.1.4stable
2026/8/19
查看其余 4 个版本收起版本
0.1.3stable
2026/8/19
0.1.2stable
2026/8/19
0.1.1stable
2026/8/19
0.1.0stable
2026/8/19

相关插件

正在加载相关插件…

最新版
0.1.6
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
45 kB
文件数
11
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 3
周下载
30
最近提交
2026/10/12
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Experimental Inspector@deepseek-ai/dsh-experimental-inspector用于 Host 调试和 Client Runtime 检查的实验性跨 realm CDP hub

README

@sjhmars/editor-launcher

在 Session 头部(Session log 按钮左侧)加一个编辑器选择器:列出本机已安装的编辑器,选中即记为默认;之后点击会话中模型 Read/Edit/Write 输出的文件路径链接,就会用你选的编辑器打开该文件(Web 端)。

Adds an editor picker to the Session header (left of the Session-log button): it lists the editors installed on this machine, and the one you choose is remembered as the default. After that, clicking the file-path links the model produced in Read/Edit/Write tool rows opens those files with your chosen editor (Web).

兼容版本 / Compatibility

0.1.6 适配 Harness 0.2.1-alpha.1。客户端使用 Cordis Context、ui-renderer、uiSession 和 api-session-controller;图标采用当前 ui-primitives 导出。相对路径用当前会话工作目录,~/ 标签用 Host home;启动失败通过官方 session.openWorkspacePath 回退。无需 client-runtime 或 invariant companion。

Version 0.1.6 targets Harness 0.2.1-alpha.1. The client uses Cordis Context, ui-renderer, uiSession, api-session-controller and current icons. Relative paths use the current Session directory, and ~/ labels use the Host home. Failed launches fall back through session.openWorkspacePath.

构建后运行 pnpm run test:compat,验证构建客户端的槽位、缓存、会话切换、路径与系统打开回退。测试替身处理启动请求,具体编辑器需另行验收。

Run pnpm run test:compat after building to check the built client's slot, cache, Session switching, paths and default-open fallback. Launch requests use a test double; native editors require separate verification.

工作原理 / How it works

  • Host half(src/index.ts)暴露一个 Typert Remote 服务 EditorLauncherService(editorLauncher/listEditors、editorLauncher/openWith)。Gateway 的 SRC 声明路径自动发现它,无需生成 descriptors。
  • Browser half(src/client/):
    • 通过 conversation.session.header.utilities 槽位注册选择器胶囊(order: -1,位于 Session log 左侧)。
    • 在 document 捕获阶段拦截 [data-tool] 工具行里无 aria-expanded 的路径链接点击,改用所选编辑器打开;编辑器缺失或启动失败时回退系统默认应用。
    • 偏好(默认编辑器 id)存于 localStorage['dsh.editor-launcher.preferred']。
  • Web 与桌面共用同一条 /api + Typert Gateway 链路(createSharedFetchHandler),因此两端零特判。

安装 / Install

从 npm 安装到 web profile:

dsh plugin --profile web add @sjhmars/editor-launcher

重启 dsh web 即可。Session log 左侧会出现"用编辑器打开"胶囊;点击会话中的 Read/Edit/Write 文件链接即用所选编辑器打开。

构建 / Build

开发依赖 link: 到相邻 deepseek-harness 的公开包。先构建官方仓库,然后在本仓库运行:

Development dependencies link to the adjacent Harness checkout. Build Harness first, then run in this repository:

pnpm install --ignore-scripts
pnpm --filter @sjhmars/editor-launcher run build
pnpm run test:compat

lib/client.js 是浏览器 bundle;lib/index.js 是 Node 入口。

lib/client.js is the browser bundle; lib/index.js is the Node entry.

支持的编辑器 / Detected editors

VS Code / VS Code Insiders、Cursor、Sublime Text、Notepad++、Neovim、Vim,以及 macOS 的 open -a 应用。检测方式:where/which(PATH)+ 各平台常见安装路径。

已知限制 / Known Limitations

  • 编辑器候选清单内置在 Host 代码中,暂不支持用户配置额外编辑器(extraEditors 留作后续)。