syncended/deepseek-harness-openai-codex

syncended★ 0JavaScript最后同步: 2026-08-21

在 GitHub 打开

README 摘要

DeepSeek Harness — OpenAI Codex Plugin Use your ChatGPT Plus/Pro subscription as an LLM provider in the DeepSeek Harness. This plugin adds device-code OAuth login through both the Web settings UI and /codex CLI command — no browser callback server or localhost listener. After login, Codex models appear alongside your other providers in the DSH model selector, the access token refreshes automatically without a restart, and a Codex limits popup above Settings shows the 5-hour and weekly balance. How it works 1. In the Web app, open Settings → OpenAI Codex → Sign in . The page opens OpenAI, shows the one-time code, and updates automatically after approval. Headless/TUI users can run /codex login for the same device-code flow. 2. The plugin stores the token triple {access, refresh, expires} in $DSH HOME/openai-codex.json and publishes only the live access token to the DSH credential seam under OPENAI CODEX TOKEN . 3. Your settings.yaml maps that credential to the openai-codex route, and dsh-llm-pi-ai uses the built-in openai-codex-responses API to serve all Codex models. 4. The plugin refreshes the token automatically 5 minutes before expiry. 5. In Web, Codex limits calls OpenAI from t…

在 GitHub 查看完整 README →
终端/TUIdsh-plugintui

分类