Canary-Builds/dhs-connect ↗★ 0
@canary-builds/dsh-connect
通过 Codex 应用服务器将 DeepSeek Harness 连接到 ChatGPT 模型。
AI 分析
核心用途是桥接 DSH 与 ChatGPT 模型。适合需要通过 Codex 代理调用 OpenAI 服务的用户,需安装 Codex CLI。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Canary-Builds/dhs-connect说明文档
阅读完整 README ↗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:
| Variable | Purpose |
|---|---|
DSH_CODEX_BIN | Absolute path to the official Codex executable; overrides discovery. |
DSH_CODEX_HOME | Codex sign-in and configuration directory. |
DSH_CONNECT_CONFIG | Override the configuration-file path. |
DSH_CONNECT_NO_PROXY | Optional 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.