zhangxiubo/dsh-llm-chatgpt-oauth ↗★ 0

dsh-llm-chatgpt-oauth

为平台提供 ChatGPT Plus/Pro 的 OAuth 模型接入。 适合拥有 ChatGPT Plus/Pro 并希望接入其模型的用户,需 OAuth 授权。

包名
dsh-llm-chatgpt-oauth
兼容性
待验证
Harness 依赖范围
0.1.0-rc.7
Cordis 依赖范围
^4.0.1
版本
0.1.0
许可证
MIT
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhangxiubo/dsh-llm-chatgpt-oauth

Optional plugin configuration

Set connector options in ${DSH_HOME:-~/.dsh}/settings.yaml; valid changes apply live and refresh both the adapter metadata and Models provider directory:

llm-chatgpt-oauth:
  displayName: OpenAI Codex (ChatGPT)
  streamIdleTimeoutMs: 300000
  bootstrapFromCodexCli: true
  # Optional explicit paths:
  # codexAuthFile: /path/to/codex/auth.json
  # credentialFile: /path/to/dsh/oauth.json
  # Optional provider request headers (redacted as secret on settings wires):
  # headers:
  #   X-Custom-Header: value

The same fields may be set as the composition base by targeting llm-chatgpt-oauth in the profile's cordis.patch.yml; settings values override that base. OAuth access and refresh tokens never enter either file. Custom headers are validated, redacted from settings wire responses, and cannot override authorization, cookie, proxy-authorization, or HTTP transport headers.

To disable the route without uninstalling the package:

- id: llm-chatgpt-oauth
  disabled: true