DeepSeek Harness (DSH) extends its functionality through a plugin architecture. For users who need to use a ChatGPT Plus/Pro subscription, directly binding the official account is the better option. The following section introduces the ChatGPT Subscription plugin.

Plugin Overview

ChatGPT Subscription is a DeepSeek Harness plugin maintained by singerao25. It uses official OAuth sign-in, allowing you to use ChatGPT models directly inside DSH and leverage your Plus/Pro subscription quota.

Core Features

  • Official OAuth login: Bind your account through OpenAI’s official authorization page.
  • Model invocation: Select a model under the ChatGPT provider in DSH’s conversation model selector to start chatting.
  • State management: Supports “Re-login” and “Unbind” operations, and allows you to view account status and expiration time.
  • Token synchronization: The login token is synchronized to ~/.codex/auth, with file permissions set to owner-only.
  • Multilingual support: Supports English, Chinese, Japanese, Korean, Spanish, Portuguese, French, German, Italian, Russian, Hindi, and Indonesian.

Installation and Enablement

  1. Install the plugin:
    In DSH, open Plugins -> Add plugin, enter the package name, and install it.
    For the CLI Web Profile, use the following command:
    dsh plugin --profile web add dsh-chatgpt-sub
  1. Restart DSH:
    After installation, DSH must be restarted for the change to take effect. Refreshing the page is not sufficient.
    In the desktop app, restart it via the menu.

Typical Usage

  1. Install the plugin: On the plugin page, open Add plugin, enter dsh-chatgpt-sub, and install it.
  2. Sign in to your account: Open Plugins -> ChatGPT Subscription, and click Sign in with ChatGPT. Complete authorization in the browser; the page should display Connected.
  3. Start a conversation: In the model selector on the chat interface, find the ChatGPT provider, select the corresponding model, and start chatting.

Applicable Scenarios and Notes

  • Prerequisites: Your account must include Codex access, and the subscription quota must be sufficient.
  • Permission impact: The plugin writes the token to ~/.codex/auth, which may affect the account used by Codex CLI.
  • Uninstallation note: Uninstalling the plugin does not delete the data in ~/.codex/auth; it only removes the plugin’s own binding and the management entry in DSH.
  • License: MIT.

Summary

This plugin addresses the need to directly use ChatGPT models from an official subscription inside DSH. It uses OAuth to help ensure account security and supports multilingual environments. After installation, restart DSH to ensure the token is synchronized correctly.

GitHub Repository