Player-MINEPIG/dsh-llm-codex-oauth8

dsh-llm-codex-oauth

Use your ChatGPT/Codex subscription in dsh through the OpenAI Codex OAuth flow.

AI Analysis

该插件用于在 dsh 中接入 ChatGPT/Codex 订阅。适合拥有相关订阅并希望在 dsh 终端中直接调用该模型的用户。使用时需通过 OAuth 流程登录 ChatGPT 账号并切换模型。

Package
dsh-llm-codex-oauth
Version
0.3.6
License
MIT
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Player-MINEPIG/dsh-llm-codex-oauth

· 临时使用:把下面命令里的 dsh 换成 npx @deepseek-ai/dsh

使用

  1. 重启 dsh 后打开设置页,侧栏选择「Codex 订阅 (ChatGPT)」。
  2. 点击「登录 ChatGPT 账号」,按提示打开验证网址、输入设备码并登录你的 ChatGPT 账号。
  3. 状态变为「已连接」后,在 Models 设置页把模型切到 codex-oauth 提供方下的某个模型。
  4. 登出:回设置页点「登出」,或在对话里输入 /codex-logout/codex-status 可随时查看状态。