Foreword

DSH’s extension philosophy leans towards “everything is a plugin”: model access, login methods can be supplemented by plugins. If you need to use OpenAI Codex models in DeepSeek Harness without preparing an OpenAI API key or Codex CLI separately, you can look at dsh-openai-oauth. It logs into ChatGPT from DeepSeek Harness and makes available Codex models accessible in DSH’s standard model selector.

The community directory is an independent site, with no official affiliation to DeepSeek or High-Flyer, and is not an official app store.

What This Is

dsh-openai-oauth is a community plugin maintained by AdonisSheldon, version 0.1.0, under the MIT license. Its core problem to solve is: using available Codex models from DeepSeek Harness without an OpenAI API key or Codex CLI.

Core Features

  • Browser login with PKCE or Device Code login
  • Web settings and a headless login command
  • Automatic token refresh
  • Codex models in the standard DSH model selector
  • Credentials stored locally under the Harness home

Installation and Activation

First, confirm the running conditions:

  • DeepSeek Harness 0.1.0-rc.8
  • Node.js ^22.19.0 or >=24.0.0
  • pnpm on PATH
  • A ChatGPT account with Codex access
  • Version 0.1.0 supports macOS and Linux; Windows support is not yet included

The DSH installation command given in the README is:

dsh plugin --profile web add dsh-openai-oauth@0.1.0

This command is placed in the README under the “After the package is published” scenario; current materials do not confirm the package publication status. After installing, updating, or removing the plugin, DSH needs to be restarted.

Typical Usage

Login process for the Web profile:

  1. Open Settings → OpenAI OAuth.
  2. Choose Browser login or Device Code.
  3. Sign in with a ChatGPT account that has Codex access.
  4. Open Models and select an openai-codex model.

Web integration only supports local DSH Host bound to 127.0.0.1.

Headless profile example:

dsh plugin --profile headless add ./dsh-openai-oauth-0.1.0.tgz
dsh plugin --profile headless exec dsh-openai-login

The second command is used to execute the login process.

Use Cases and Notes

Suitable for use in DSH environments on macOS or Linux, especially when you already have a ChatGPT account with Codex access and want to avoid using an OpenAI API key or Codex CLI.

Before use, note:

  • The plugin runs with the current dsh process permissions; before installation, you should check the source code and license.
  • Credentials are unencrypted and saved at:
$DSH_HOME/plugins/dsh-openai-oauth/credentials.json
  • Web integration only supports local DSH Host and is bound to 127.0.0.1.
  • This is an unofficial community project, with no official affiliation or endorsement from OpenAI or DeepSeek AI.
  • The license is MIT.

Links

  • GitHub: https://github.com/AdonisSheldon/dsh-openai-oauth
  • Directory page (from plugin clues): https://www.skillhub.cn/plugins/AdonisSheldon/dsh-openai-oauth