deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
DeepSeek Harness 插件:在会话头部加一个「在编辑器中打开」下拉框,自动扫描本机已安装的编辑器(VS Code、Cursor、Windsurf、GoLand、PhpStorm、WebStorm、IntelliJ IDEA、PyCharm、CLion、Rider、HBuilderX、Sublime Text、Atom),一键用选中的编辑器打开当前会话所在的工作区。
↑ / ↓ / Enter / Esc、点击外部关闭)。--dsw-alias-* 设计 token)。这是一个双面(dual-face)插件:
| 半部 | 文件 | 职责 |
|---|---|---|
| host | lib/index.js |
扫描本机编辑器;在 Web server 上注册 /editor-launcher/list、/editor-launcher/refresh、/editor-launcher/open 三个路由;由 host 侧 spawn 拉起编辑器(浏览器无法起进程)。 |
| client | lib/client.js |
在 conversation.session.header.actions 槽位注册下拉按钮,通过 fetch 调用上面的路由。 |
.app(/Applications、~/Applications、JetBrains Toolbox apps 树)→ Windows / Linux 常见安装路径。open -a "<名字>" <路径>(复用已开窗口);open -na "<名字>" --args <路径>(新开实例并传入项目);<命令> <路径>(如 code、subl)。path 为真实可读目录,且 editorId 必须来自本次扫描结果——不做命令拼接,无 shell 注入面。仅 Web 界面有意义:host 半部注入
webServer服务,headless / TUI profile 中不存在该服务,插件不会激活。
# 任选一个镜像仓库克隆
git clone https://gitee.com/zqy-904915452/dsh-editor-launcher.git
# git clone https://github.com/904915452/dsh-editor-launcher.git
cd dsh-editor-launcher
dsh plugin --profile web add "file:$(pwd)"
dsh plugin --profile web install
file: 后要写 clone 下来的绝对路径;如果你用的是自定义 profile,把 web 换成你的 profile 名。
也可以直接用仓库地址装:dsh plugin --profile web add git+https://gitee.com/zqy-904915452/dsh-editor-launcher.git
(或 GitHub 镜像 git+https://github.com/904915452/dsh-editor-launcher.git)。
安装后刷新页面让新的 client bundle 生效,然后进入任一会话,在标题栏动作区即可看到「在编辑器中打开」按钮。
卸载:
dsh plugin --profile web remove @zhangqingyu/dsh-editor-launcher
dsh-editor-launcher/
├── cordis.patch.yml # bundle patch:插入 editor-launcher 行
├── package.json # dsh.bundle.patch + dsh.client 声明
└── lib/
├── index.js # host 半部:扫描 + 启动路由
└── client.js # browser 半部:头部下拉框
.app 方式通过 open 拉起。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。