返回目錄

dsh-codex

編輯精選維護狀態: 活躍

yan-zero/dsh-codex

通過 OpenAI Codex 登入流程在 DeepSeek Harness 中使用你的 ChatGPT 訂閱。

前往 GitHub
$ dsh plugin --profile web add dsh-codex

51

星數

14

Fork

TypeScript

語言

Apache-2.0

授權條款

2026-08-13

建立於

2026-08-20

最近推送

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`)

安裝步驟

  1. 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

  2. 02

    Start the web profile: `dsh web`

    $ dsh web

  3. 03

    From a DeepSeek Harness source checkout, use `pnpm dsh plugin --profile web add dsh-codex`

  4. 04

    For local development, install a linked checkout with `link:/absolute/path/to/dsh-codex`

  5. 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 整合程度與能力邊界

DSH 整合原生執行環境

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 CLIChatGPT OAuth session with automatic token refresh

  • Codex GPT catalog

    ChatGPT accountCodex GPT model catalog, including vision-capable models when the account offers them

  • Streaming, tool calls & dsh compaction

    normal LLM service requestsstreaming, tool calls, reasoning replay, prompt caching, and dsh compaction

  • Codex web search

    dsh's existing `web_search` toolCodex standalone web search results

  • imagegen tool (gpt-image-2)

    text prompts, with optional workspace or conversation reference imagesgenerated 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.
2026-08-132026-08-20作者未說明

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 憑證。

08資料與來源

  • 作者聲明github.come3e54e206f7c…

    `dsh-codex` is an independent dsh bundle. It adds:

  • 作者聲明github.come3e54e206f7c…

    streaming, tool calls, reasoning replay, prompt caching, and dsh compaction through the normal LLM service

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-01。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。