dsh-codex-connect: ChatGPT OAuth and Codex Models for DeepSeek Harness
franksong2702/dsh-codex-connect
Connect ChatGPT OAuth and Codex models to DeepSeek Harness with native approvals and session recovery.
Enables ChatGPT subscribers to use OpenAI Codex models in DeepSeek Harness without an OpenAI Platform API credential, while keeping Harness-native approvals and security controls.
dsh plugin --profile web add github:franksong2702/dsh-codex-connect- Category
- Models & Reasoning
- Platform
- DSH-Plugin
- Author
- franksong2702
- Distribution
- Plugin
dsh-codex-connect Key Features
dsh-codex-connect Repository

dsh-codex-connect Repo Summary
dsh-codex-connect is a ChatGPT OAuth and Codex model integration plugin (DSH plugin) for DeepSeek Harness, maintained by franksong2702 under the Apache-2.0 license, built with TypeScript. It solves the problem of letting ChatGPT subscribers use OpenAI Codex models in DSH without needing an OpenAI Platform API credential. The plugin adds an openai-codex model catalog and a separate ChatGPT OAuth login. Models run through Harness's normal LLM service, so streaming, tool calls, reasoning replay, compaction, filesystem controls, permission gates, and approval prompts remain Harness-owned. It does not turn a ChatGPT subscription into an OpenAI Platform API credential. Installation is additive: it does not replace the current default model or search route, and its standalone search provider and view_image tool are disabled until explicitly enabled.
What core features does the dsh-codex-connect DSH plugin support?
The plugin provides a full ChatGPT OAuth login flow, accessible from the Harness settings UI or via CLI. The doctor command reads only process and filesystem metadata; it never opens the OAuth document or prints a token, authorization URL, authorization code, account id, or auth-file content. doctor --json emits exactly one secret-free JSON document with schema version 1, including package/version/Node metadata, credential-file state and safe mode, capabilities, conflict status, and hints; it omits the absolute credential path and OAuth/account/expiry data. status --json emits only signed-in or signed-out state with package metadata; signed-out status still exits with code 1.
How do I install dsh-codex-connect?
Install using the following command, which supports installation from npm or GitHub, as well as from a source checkout or local path:
dsh plugin --profile web add github:franksong2702/dsh-codex-connect
After installation, manage the plugin via Settings → Plugins → Plugin configuration → Codex Connect in Harness, or use CLI commands to log in, check status, and run diagnostics:
dsh plugin --profile web exec dsh-codex-connect login
dsh plugin --profile web exec dsh-codex-connect status
dsh plugin --profile web exec dsh-codex-connect doctor
How do I configure the ChatGPT account and optional capabilities for dsh-codex-connect?
In the Harness plugin configuration card, you can manage the ChatGPT account and optional capabilities (such as Codex search and view_image). Configuration changes use Harness's revision-fenced settings store and apply live. Save changes affects only this plugin's capability section; it never selects a default model or global settings. Codex models then appear in Harness's normal model picker alongside existing providers.
Which DeepSeek Harness versions and platforms does dsh-codex-connect support?
The plugin depends on multiple @deepseek-ai/dsh-* packages covering agent, LLM, session, settings, tools, web, and more, indicating deep integration with the DSH ecosystem. Maintained by franksong2702, last updated in 2026-08, with 11 stars and 1 fork, licensed under Apache-2.0.