模型与提供方
#dsh-plugin
dsh-codex-oauth
通过独立 OAuth 流程在 DeepSeek Harness 中使用 ChatGPT Plus/Pro 的 Codex 模型,无需安装 Pi。
eons2long
@eons2long
⬇ 2
★ 1
main
安装
dsh plugin --profile web add github:eons2long/dsh-codex-oauth
需要可复现安装时,可在仓库后追加 #commit 固定提交。
通过独立 OAuth 流程在 DeepSeek Harness 中使用 ChatGPT Plus/Pro 的 Codex 模型,无需安装 Pi。
该插件未提供要点说明,请参考仓库 README。
dsh-plugin
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/eons2long/dsh-codex-oauth |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 2 |
| GitHub 星标 | 1 |
| 最近推送 | 2026-08-15 |
| 收录日期 | 2026-09-19 |
| 分类 | 模型与提供方 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-codex-oauth [English](README.md) | [中文](README.zh.md) A standalone [DeepSeek Harness](https://github.com/deepseek-ai/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 ```bash dsh plugin --profile web add dsh-codex-oauth dsh web ``` For an `npx` installation: ```bash npx @deepseek-ai/dsh plugin --profile web add dsh-codex-oauth npx @deepseek-ai/dsh web ``` ## 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 ```bash dsh plugin --profile web exec dsh-openai-codex login # headless machines: dsh plugin --profile web exec dsh-openai-codex login --device-code dsh plugin --profile web exec dsh-openai-codex status dsh plugin --profile web exec dsh-openai-codex logout ``` 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: ```text $DSH_HOME/.openai-codex-auth.json ``` The default is `~/.dsh/.openai-codex-auth.json`. The file is written atomically with owner-only permissions, and refresh/login/logout operations use a cross-process file lock. The plugin never reads or modifies `~/.pi/agent/auth.json` or `~/.codex/auth.json`. ## Development ```bash npm test ``` `npm test` rebuilds the Web bundle before running the smoke checks. The test requires the DSH and `pi-ai` peer dependencies supplied by a DSH profile. ## Limitations - ChatGPT plan eligibility, model access, quotas, and backend behavior are controlled by OpenAI and may change. - Codex endpoints are not public OpenAI Platform API endpoints. - Filesystem, shell, MCP, permissions, attachments, and other DSH capabilities come from the active profile. ## License MIT
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。