Canary-Builds/dhs-connect0

@canary-builds/dsh-connect

通过 Codex 应用服务器将 DeepSeek Harness 连接到 ChatGPT 模型。

AI 分析

核心用途是桥接 DSH 与 ChatGPT 模型。适合需要通过 Codex 代理调用 OpenAI 服务的用户,需安装 Codex CLI。

包名
@canary-builds/dsh-connect
版本
0.3.3
许可证
MIT
最近更新
2026年9月6日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Canary-Builds/dhs-connect

Configuration

By default DSH Connect finds codex on PATH, and uses ~/.deepseek-harness/codex as its sign-in directory. Set DSH_CODEX_HOME to an existing Codex home if you want to reuse that login.

Environment variables:

VariablePurpose
DSH_CODEX_BINAbsolute path to the official Codex executable; overrides discovery.
DSH_CODEX_HOMECodex sign-in and configuration directory.
DSH_CONNECT_CONFIGOverride the configuration-file path.
DSH_CONNECT_NO_PROXYOptional domains to append to the Codex child's NO_PROXY.

Alternatively, create $DSH_HOME/connect.json (default ~/.dsh/connect.json):

{
  "codexBin": "/absolute/path/to/codex",
  "codexHome": "/absolute/path/to/codex-home"
}

The optional noProxy field contains a comma-separated domain list. Proxy routing is inherited unchanged unless explicitly configured. Do not put credentials in this file; the official Codex executable manages authentication.

For a browser on another machine, forward the callback port before signing in:

ssh -N -o ExitOnForwardFailure=yes -L 1455:127.0.0.1:1455 user@harness-host

Replace user@harness-host with your SSH destination. The bundled dsh-connect-login command also supports Codex's --device-auth option when available to your account. Run dsh-connect-doctor through your profile's executable environment for diagnostics.