eons2long/dsh-codex-oauth
eons2long★ 1JavaScript最后同步: 2026-08-15
—
README 摘要
dsh-codex-oauth English 中文 A standalone DeepSeek Harness plugin for using ChatGPT Plus/Pro Codex models through OpenAI's Codex OAuth flow. Pi is not required. It uses the official openaiCodexProvider from @earendil-works/pi-ai and DSH's public dsh-llm-pi-ai adapter. It supports streaming, tool calls, reasoning, images, replay, compaction, automatic token refresh, and the Codex model catalog. This is the ChatGPT Codex backend, not a general OpenAI Platform API-key adapter. Install For an npx installation: Sign in The plugin owns its own credential file and login flow. No Pi installation or token copying is needed. Web UI Open Settings → OpenAI Codex and click Sign in with ChatGPT . A browser window opens for the OAuth approval; after it completes, return to DSH and select openai-codex in the model picker. CLI The browser login opens OpenAI's authorization page and completes through a localhost callback. --device-code is the fallback for machines without a usable browser. After signing in, choose openai-codex in the DSH model picker. Credentials Credentials are stored at: The default is /.dsh/.openai-codex-auth.json . The file is written atomically with owner-only permissions, and re…
在 GitHub 查看完整 README →