syncended/deepseek-harness-openai-codex
Uses a ChatGPT Plus or Pro subscription as a DSH model provider via device-code OAuth, plus a /codex slash command and limit display.
Turns a ChatGPT subscription you already pay for into a provider inside DSH, rather than a separate app. Login is device-code OAuth through the Web settings UI, or an interactive /codex slash command in the harness; either way no callback server is opened. After login, Codex models appear with the other providers, tokens refresh automatically, and the Web UI shows 5-hour and weekly limits in a Codex limits popup — the README notes the screenshot was rendered by the real plugin UI with sanitized demonstration balances. The credential path is minimal: it publishes only the live access token to the DSH credential service as OPENAI_CODEX_TOKEN, so no token is written anywhere else, and the route maps it without a manual settings step. /codex is a Harness slash command rather than a shell executable, and must be run inside an interactive profile that has the plugin installed — a distinction the README makes explicitly, because getting it wrong looks like a broken install.
Install
dsh plugin --profile web add -w @syncended/dsh-codexThe README's install line for the web profile, including the -w workspace flag the author documents. It notes that DSH reconciles plugins per profile, so the package must be installed in every profile where the provider or /codex command is needed, and that a restart of the selected profile is required after installing or upgrading. A local-checkout form is documented (dsh plugin --profile web add -w /absolute/path/to/deepseek-harness-openai-codex) and removal is dsh plugin --profile web remove @syncended/dsh-codex. No dsh settings set step is needed, because the package declares a DSH bundle, registers the openai-codex route and maps its credential automatically.
Compatibility
Needs DeepSeek Harness 0.1.0-rc.6 or a compatible release, Node.js 18 or newer, and pnpm available to the dsh plugin command. It requires an actual ChatGPT Plus or Pro subscription — this is not a free path to the models. The README is blunt about the fragile part: the limits view and the live model-catalog sync use OpenAI's undocumented Codex endpoints, and their availability and response shape may change without notice. Login is device-code OAuth with no browser callback server and no localhost listener, which is a deliberate choice for headless and remote hosts. The bundled llm-pi-ai route uses the openai-codex-responses API and serves the installed pi-ai Codex catalog directly — it declares no models list, because in dsh-llm-pi-ai a configured list replaces the catalog rather than extending it, and a hard-coded list would freeze model discovery.
Details
- Repo: syncended/deepseek-harness-openai-codex
- Category: Models & Providers
- Stars: 1
- Version: 0.1.1 (npm)
Alternatives
gooosie/dsh-openai-codex-auth · GooDAnDReaDY/dsh-opencode-provider · drscrewdriver/dsh-llm-openai-completions