DeepSeek Harness 插件

codex-dsh-bridge

DeepSeek Harness companion for the Codex DSH Bridge.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
knottttt/codex-dsh-bridge
最近更新
2026年8月17日
分类
工具与能力
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/knottttt/codex-dsh-bridge
插件名:codex-dsh-bridge
作者:knottttt

检查来源文件

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

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

<div align="left"> <h1>Codex DeepSeekHarness Bridge</h1> <p><strong>Let Codex dispatch local project tasks to DeepSeek Harness sessions. All code in this repository was generated by Codex.</strong></p>

<p><strong>ENGLISH</strong> | <a href="./README.zh-CN.md">简体中文</a></p>

<img src="./assets/codex-dsh-bridge-settings-en.png" alt="Codex DSH Bridge settings in DeepSeek Harness" width="780" /> </div>

---

Overview

codex-dsh-bridge connects Codex to a locally running DeepSeek Harness WebUI through its HTTP RPC API.

The repository contains both sides of the integration:

  • a Codex plugin with MCP tools and a collaboration skill;
  • a DeepSeek Harness companion that adds bridge controls to Harness settings.

Beginner one-click install

Requirements:

  • Windows PowerShell 5.1 or PowerShell 7;
  • Node.js 18 or newer;
  • Codex CLI with plugin support;
  • DeepSeek Harness with the dsh command available.

Download and run the installer:

$installer = Join-Path $env:TEMP "codex-dsh-bridge-install.ps1"
Invoke-WebRequest "https://raw.githubusercontent.com/knottttt/codex-dsh-bridge/main/install.ps1" -OutFile $installer
powershell -ExecutionPolicy Bypass -File $installer

The installer:

1. adds or refreshes the Codex marketplace; 2. installs the Codex plugin; 3. installs the Harness companion into the web profile; 4. prints the required restart steps.

After installation:

1. restart the DeepSeek Harness WebUI; 2. start a new Codex task; 3. open Settings → Plugins → Plugin configuration in Harness; 4. confirm that Codex DSH Bridge is enabled.

Manual installation

Run these commands if you prefer to review each action:

codex plugin marketplace add knottttt/codex-dsh-bridge --ref main
codex plugin add codex-dsh-bridge@codex-dsh-bridge
dsh plugin --profile web add github:knottttt/codex-dsh-bridge#main

Restart Harness and start a new Codex task after the commands finish.

Updating

Run the installer again. It refreshes the marketplace, reinstalls the Codex plugin, and updates the Harness package:

powershell -ExecutionPolicy Bypass -File $installer

Uninstalling

Download and run the uninstaller:

$uninstaller = Join-Path $env:TEMP "codex-dsh-bridge-uninstall.ps1"
Invoke-WebRequest "https://raw.githubusercontent.com/knottttt/codex-dsh-bridge/main/uninstall.ps1" -OutFile $uninstaller
powershell -ExecutionPolicy Bypass -File $uninstaller

Saved bridge settings are preserved by default. Pass -RemoveSettings to remove them as well.

Components

ComponentLocationPurpose
Codex plugin.codex-plugin/, .mcp.jsonRegisters the plugin and its local MCP server
MCP bridgescripts/Connects Codex tools to the DSH HTTP RPC API
Collaboration skillskills/Guides Codex when delegating work to DSH
Harness companiondsh-plugin/Adds bridge controls to Harness settings
Marketplace.agents/plugins/marketplace.jsonMakes the Codex plugin installable from GitHub
Installerinstall.ps1Installs and updates both sides of the bridge

Available Codex tools

  • inspect the current DSH host;
  • list and filter DSH sessions;
  • create a session for a project;
  • queue or steer a message;
  • read clean user and final assistant messages;
  • wait for bounded completion;
  • cancel or fork a session;
  • dispatch a task through one convenience tool.

Harness settings

The companion adds a configuration card at:

Settings → Plugins → Plugin configuration → Codex DSH Bridge

The card controls:

  • whether the Codex bridge is enabled;
  • which local Harness endpoint the bridge uses.

Settings are mirrored to:

%DSH_HOME%\codex-dsh-bridge.json

When DSH_HOME is unset, the fallback location is:

%USERPROFILE%\.dsh\codex-dsh-bridge.json

The MCP process reads this file for every tool call, so endpoint and enabled-state changes apply without restarting Codex. The optional DSH_BASE_URL environment variable overrides the saved endpoint, while the Harness enabled switch still takes priority.

Local-only security boundary

The bridge accepts only loopback HTTP origins with an explicit port:

  • 127.0.0.1
  • localhost
  • ::1

HTTPS, LAN addresses, credentials, URL paths, query parameters, and fragments are rejected.

Troubleshooting

Codex tools do not appear

Start a new Codex task. Plugins and MCP tools are loaded when a task starts.

Harness settings card does not appear

Restart the Harness WebUI and verify the installed package:

dsh plugin --profile web list --depth 0

The list should contain codex-dsh-bridge-companion.

A required command is missing

Verify the commands independently:

node --version
codex --version
dsh --version

Install only one side

The installer supports:

.\install.ps1 -SkipDsh
.\install.ps1 -SkipCodex

Development

Run the complete test suite and package check from the repository root:

npm test
npm run pack:check

The suite covers bridge configuration, endpoint validation, Harness settings, revision conflicts, client registration, and distribution metadata.