Apache-2.0 的 dsh 套件,透過 OAuth 登入把 ChatGPT Codex 模型接入 DeepSeek Harness——無須 OpenAI API 金鑰。
DSH 整合
原生執行環境
作者聲明
安全稽核
未稽核
最後核實
2026-09-01
授權條款
Apache-2.0
01它能幫你完成什麼?
Run ChatGPT / Codex models inside DeepSeek Harness without an OpenAI Platform API key
A connected ChatGPT OAuth session plus the Codex GPT catalog (streaming, tool calls, reasoning replay, prompt caching, dsh compaction) through the normal LLM service
DeepSeek Harness (dsh) users with a ChatGPT subscription who want Codex models without buying OpenAI API access
Generate images from prompts inside DeepSeek Harness
An `imagegen` tool backed by `gpt-image-2`, with workspace or conversation reference images and automatic workspace output
dsh users who need image generation alongside code and chat
02如何將外掛接入 DeepSeek Harness?
先決條件
- DeepSeek Harness (dsh) installed with a profile — the install commands invoke the `dsh` CLI (`dsh plugin --profile web add dsh-codex`, then `dsh web`)
安裝步驟
- 01
Install the prebuilt bundle from npm into the selected dsh profile: `dsh plugin --profile web add dsh-codex`
$ dsh plugin --profile web add dsh-codex
- 02
Start the web profile: `dsh web`
$ dsh web
- 03
From a DeepSeek Harness source checkout, use `pnpm dsh plugin --profile web add dsh-codex`
- 04
For local development, install a linked checkout with `link:/absolute/path/to/dsh-codex`
- 05
Sign in: open **Settings → OpenAI Codex → Sign in with ChatGPT**; the plugin completes OpenAI's localhost callback
驗證整合成功
- The account page shows live Codex quota bars and exact remaining percentages
03DSH 整合程度與能力邊界
Native dsh plugin bundle installed via `dsh plugin add`, extending the LLM service and dsh's web_search / read_image / paste-drop tools
ChatGPT OAuth sign-in
DeepSeek Harness Settings panel or a standalone CLI→ChatGPT OAuth session with automatic token refresh
Codex GPT catalog
ChatGPT account→Codex GPT model catalog, including vision-capable models when the account offers them
Streaming, tool calls & dsh compaction
normal LLM service requests→streaming, tool calls, reasoning replay, prompt caching, and dsh compaction
Codex web search
dsh's existing `web_search` tool→Codex standalone web search results
imagegen tool (gpt-image-2)
text prompts, with optional workspace or conversation reference images→generated images with automatic workspace output
04適合誰?何時不該用?
適合
- DeepSeek Harness (dsh) users with a ChatGPT subscription who want Codex models without buying OpenAI API access
- dsh users who need image generation alongside code and chat
不適合
- Uses only the ChatGPT Codex backend; it does not turn a ChatGPT subscription into a general-purpose OpenAI API credential (different from usage-based OpenAI API access).
05相容性、維護與安全提醒
- Uses only the ChatGPT Codex backend; it does not turn a ChatGPT subscription into a general-purpose OpenAI API credential (different from usage-based OpenAI API access).
- Exact credit balances or workspace limits appear only when the account API supplies them.
Apache-2.0 independent dsh bundle; no tagged GitHub release; last push 2026-08-20
06常見問題
使用 dsh-codex 需要 OpenAI Platform API 金鑰嗎?
不需要。dsh-codex 透過 OpenAI 的 Codex 登入流程使用你的 ChatGPT 訂閱——無須 OpenAI Platform API 金鑰,也無須修改 dsh 原始碼。它不會把訂閱轉化為通用 OpenAI API 憑證。
如何把 dsh-codex 安裝到 DeepSeek Harness?
從 npm 安裝預先建置的套件到對應 dsh 設定:`dsh plugin --profile web add dsh-codex`,然後執行 `dsh web`。若從原始碼检出,可用 `pnpm dsh plugin --profile web add dsh-codex`;本地開發可用 `link:/absolute/path/to/dsh-codex` 連結本機目錄。
如何登入 ChatGPT?
開啟 設定 → OpenAI Codex → 用 ChatGPT 登入。套件會開啟 OpenAI 授權頁並完成本機回呼;回環 Web 頁面會被自動信任。登入後帳號頁會顯示即時的 Codex 配額條。
dsh-codex 新增了哪些模型與功能?
新增 Codex GPT 模型目錄(帳號支援時含視覺模型)、串流輸出、工具呼叫、推理重播、提示快取、dsh 壓縮、經 dsh web_search 的 Codex 聯網搜尋、為 read_image 增加的 HTTP(S) 圖片輸入、基於 gpt-image-2 的 imagegen 圖片生成工具,以及透過 dsh 貼上/拖放實現的瀏覽器圖片輸入。
ChatGPT 訂閱與 OpenAI API 存取是同一件事嗎?
不是。ChatGPT 訂閱認證與按量計費的 OpenAI API 存取是兩種不同的產品。本套件僅使用 ChatGPT Codex 後端,不會把訂閱轉化為通用 OpenAI API 憑證。
07相關的 DSH 工作流程
openviking
作者 volcengine
為 AI 智慧體打造的自進化上下文資料庫,統一智慧體記憶、知識 RAG 與技能。
archify
作者 tt-a1i
為編碼智慧體生成美觀可驗證的架構圖、時序圖與資料流圖,輸出自包含 HTML,支援動效與清晰匯出。
nocobase
作者 nocobase
開源的 AI + 無程式碼應用搭建平臺:AI 在久經生產驗證的底層基礎設施與所見即所得的無程式碼介面之上工作,幫你快速構建 CRM、ERP 等業務系統,兼顧速度與可靠性。
learn-harness-engineering
作者 walkinglabs
Harness 工程新手教程,從 0 到 1 系統學習智慧體工作流框架。
08資料與來源
`dsh-codex` is an independent dsh bundle. It adds:
streaming, tool calls, reasoning replay, prompt caching, and dsh compaction through the normal LLM service
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-01。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
