dyuan311/dsh-openai-codex-oauth ↗★ 1
dsh-openai-codex-oauth
针对 DeepSeek Harness openai-codex 模型的 ChatGPT Plus/Pro OAuth 登录插件
AI 分析
核心用途是为 DSH 的 openai-codex 模型提供 ChatGPT Plus/Pro 的 OAuth 身份认证与 Token 刷新管理。适合需要接入官方 ChatGPT 高级模型服务的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dyuan311/dsh-openai-codex-oauth说明文档
阅读完整 README ↗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.