suntianc/dsh-codex-auth0

dsh-codex-auth

将本地 Codex CLI ChatGPT 登录作为 DSH 的 LLM 路由,并提供原生的 GPT 认证设置卡片。

AI 分析

核心用途是复用本地的 Codex 登录凭证作为 DSH 的模型提供方。适合已在使用 Codex CLI 并希望在 DSH 中直接调用其 ChatGPT 路由的用户。

套件
dsh-codex-auth
版本
0.1.0
授權
MIT
最近更新
2026年8月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:suntianc/dsh-codex-auth

Configuration

All plugin-row fields are optional:

FieldDefaultMeaning
authJsonPath''$CODEX_HOME/~/.codex/auth.jsonCodex auth file
credentialRefCODEX_CHATGPT_TOKENValue-free reference shown by the card
refreshLeadMs300000Refresh lead time in milliseconds
codexCommandcodexCLI command used for login and version probing
displayNameOpenAI Codex (chatgpt)Provider label in model selectors

The package includes its own dsh.bundle patch, so dsh plugin installs and activates it. Do not also add an openai-codex entry under llm-pi-ai.providers; duplicate route registrations conflict.