dyuan311/dsh-openai-codex-oauth1

dsh-openai-codex-oauth

针对 DeepSeek Harness openai-codex 模型的 ChatGPT Plus/Pro OAuth 登录插件

AI 分析

核心用途是为 DSH 的 openai-codex 模型提供 ChatGPT Plus/Pro 的 OAuth 身份认证与 Token 刷新管理。适合需要接入官方 ChatGPT 高级模型服务的用户。

套件
dsh-openai-codex-oauth
版本
0.1.1
授權
MIT
最近更新
2026年8月13日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dyuan311/dsh-openai-codex-oauth

Configuration

The generated Harness plugin entry accepts:

- id: openai-codex-oauth
  name: dsh-openai-codex-oauth
  config:
    oauthCredentialRef: OPENAI_CODEX_OAUTH_CREDENTIAL
    refreshBeforeMs: 300000

The plugin stores the complete OAuth credential under OPENAI_CODEX_OAUTH_CREDENTIAL and the current access token under OPENAI_CODEX_ACCESS_TOKEN. With the default local credential source, Harness commonly writes these values to ~/.dsh/.credentials.yaml with permissions scoped to the local user.