DeepSeek Harness 插件

dsh-code-server

Embed a loopback code-server workbench in DeepSeek Harness Web without patching DSH(英文原文)

跳到安装方式

来源信息

GitHub 仓库
iMMIQ/dsh-code-server
最近更新
2026年8月18日
分类
工具与能力
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/iMMIQ/dsh-code-server
插件名:dsh-code-server
作者:iMMIQ

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-code-server

A plugin for DeepSeek Harness (DSH): it adds a full VS Code workbench to DSH Web and wires it into your live DSH sessions — chat with the workspace agent from inside the editor, turn selections into questions, and open any file the conversation mentions, all without leaving the browser.

Current release: v0.1.5 · VS Code 1.132.0 · Linux & macOS (amd64 / arm64)

What you get

  • A full VS Code workbench in DSH Web. Editor, integrated terminal, Git,

extensions and language servers run in a right-hand drawer that docks beside the conversation or floats above it.

  • The workbench follows your conversation. Switching to a session of

another registered DSH workspace steers the editor to that workspace instead of staying pinned to the first one.

  • File references open in the editor. Click a file path shown by a

conversation tool call and it opens in the running workbench — the window first switches to the file's owning workspace when needed; read rows land on the line the agent was reading.

  • No chat panel — the conversation stays in DSH. The workbench ships

without the VS Code Chat view: the drawer's left side already is the DSH conversation, so a second one would only duplicate it. The editor-anchored surfaces below still stream the session's replies, tool calls and all.

  • Inline chat (Ctrl+I). Select code, press Ctrl+I and ask — the selection

travels with the question, the answer streams into the inline zone, and the turn also lands in the DSH conversation.

  • Editor commands. DSH: Ask About This Selection (also in the editor

context menu), DSH: Fix Problems in This File, DSH: Explain Terminal Selection, and a Fix with DSH quick-fix offered on any diagnostic.

  • Full tool output. Bash cards whose output was truncated get an

Open full output button that opens the complete stdout/stderr files.

  • No bundled cloud AI. Copilot, the agent host and the MCP runtime are

removed from the bundled workbench; the Chat surfaces talk to your own DSH session only. The plugin also seeds chat.editor.localAgent.enabled: false and workbench.secondarySideBar.defaultVisibility: hidden, enforces both through VS Code's configuration API after activation (including JSONC user settings), and closes a restored secondary side bar on startup. Bare input and Ctrl+I therefore go to the DSH participant and DSH session instead of the removed built-in agent. It also sweeps any residual github.copilot* extension left by older runtimes or manual installs.

Requirements

  • DeepSeek Harness with plugin support (verified against commit 47f9438)
  • Linux or macOS on x86-64 or ARM64 — Windows is not supported
  • About 460 MB of disk after installation
  • A trusted, single-user localhost setup (see [Security](#security))

Install

Pick the release archive for your platform and add it to a DSH profile:

dsh plugin --profile web add \
  https://github.com/iMMIQ/dsh-code-server/releases/download/v0.1.5/dsh-code-server-0.1.5-linux-amd64.tgz
dsh --profile web
PlatformArchive suffix
Linux x86-64linux-amd64
Linux ARM64linux-arm64
macOS Intelmacos-amd64
macOS Apple Siliconmacos-arm64

The archive is self-contained — it bundles the workbench runtime, so no separate IDE installation is needed. Update or roll back by running the same command with the target version, then restart DSH and refresh the browser. Remove the plugin with:

dsh plugin --profile web remove dsh-code-server

Usage

  • Open DSH Web and press the </> button in the bottom-right corner: the

workbench opens in a drawer beside the conversation. In docked mode the conversation reflows instead of being covered; below 800px viewport width the editor becomes a fullscreen overlay. Collapsing the drawer keeps the workbench alive — edits, terminals and extensions survive.

  • Click file paths in the conversation to open them in the workbench. A read

tool row lands on the line its read window started at; other rows open at line 1.

  • There is no chat panel in the workbench on purpose — the DSH conversation

next to it is the chat. Ask from the editor instead: Ctrl+I inline chat, the right-menu commands, or the quick-fixes below. The workspace needs an active session — start one in DSH first; otherwise you get a clear error.

  • Select code and press Ctrl+I for inline chat: the selection is sent along

with the question, the answer streams into the zone right in the editor, and the turn is recorded in the DSH conversation.

  • Right-click a selection for DSH: Ask About This Selection. Use

DSH: Fix Problems in This File on a file with diagnostics, take the Fix with DSH quick-fix from the lightbulb or the Problems panel, or select terminal output and run DSH: Explain Terminal Selection.

  • On a bash card with truncated output, press Open full output to open

the complete output files in the workbench.

Configuration

The workbench server listens on http://127.0.0.1:3081 and uses the code-server bundled with the plugin (a copy on PATH is only used when the bundled runtime is missing, e.g. in development). To change that, override the block in your DSH user patch — it replaces the defaults as a whole, so keep every field you need:

- id: dsh-code-server
  config:
    executable: /absolute/path/to/code-server
    host: 127.0.0.1
    port: 3081
    startupTimeoutMs: 20000

Security

The plugin targets a trusted, single-user localhost setup. code-server is forced to bind to 127.0.0.1 with authentication disabled, so nothing outside the machine can reach it. Requests from the workbench extension carry a one-time token generated at each launch. File opens follow chat rows to any existing local path — workspace files, DSH output spill, scratch files under /tmp — which only mirrors what the workbench's own open dialogs already expose. Installing this plugin is equivalent to giving the local user a full IDE.

Compatibility

Each release is developed and verified against a pinned DSH version (see [Requirements](#requirements)); the integration surfaces are guarded by automated tests. After upgrading DSH, switch to the plugin release that matches it if anything misbehaves.

Development

pnpm install
pnpm check        # unit tests + DSH compatibility tests
pnpm build

cd /path/to/deepseek-harness
pnpm dsh plugin --profile web add /path/to/dsh-code-server
pnpm dsh --profile web

Browser-level end-to-end suites live in [tests/e2e](./tests/e2e/README.md).

License

The plugin code is licensed under the [GNU LGPL v3](./LICENSE). The workbench runtime bundled in the release archives is a trimmed fork of code-server (iMMIQ/code-server @ dsh-v4.132.0), MIT-licensed, with its license and third-party notices retained under vendor/code-server in the package.