Babulubobo/dsh-codex-oauth

use your codex subscription in deepseek harness

项目介绍Project Overview

dsh-codex-oauth 是 DeepSeek Harness 的 OAuth 适配器,用 ChatGPT(Codex Pro/Plus)订阅运行 Codex 模型。核心能力是登录认证与凭据存储。适合在 DSH 中调用 Codex 模型时使用。注意:非官方,有封号风险,风险自担。

dsh-codex-oauth is an OAuth adapter for DeepSeek Harness, enabling Codex model usage via ChatGPT (Codex Pro/Plus) subscriptions. Its core capability is login authentication and credential storage. Use it when running Codex models within DSH. Caveat: unofficial, with account ban risk at your own discretion.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:Babulubobo/dsh-codex-oauth

Babulubobo/dsh-codex-oauth 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-codex-oauth

用 ChatGPT(Codex Pro/Plus)订阅在 DeepSeek Harness 里跑 Codex 模型的 OAuth 适配器。

⚠️ 非官方:OpenAI 未授权第三方工具这样使用订阅,有封号风险,风险自担。

安装

cp -R dsh-codex-oauth "$DSH_HOME/profiles/web/node_modules/"

在 profile 的 cordis.patch.yml 加:

- insert:
    - id: llm-openai-codex
      name: 'dsh-codex-oauth'

重启 dsh web

登录

Web 输入框执行 /codex-login(浏览器回调),或终端:

node "$DSH_HOME/profiles/web/node_modules/dsh-codex-oauth/bin/codex-login.mjs"

登录后模型选择器选 OpenAI Codex Pro

说明

  • 提供方路由 id 为 codex-pro;凭据存在 $DSH_HOME/storages/codex-oauth.json
  • 依赖(@deepseek-ai/*@earendil-works/pi-ai)由 DSH 的模块 fallback 解析,无需手动安装。

License

MIT

上一个 Prev dsh-change-center 下一个 Next dsh-habits