z331225718/dsh-openai-codex-auth ↗★ 0
@sipi/dsh-openai-codex-auth
可安装的 OpenAI Codex 设备登录提供方,用于 DSH 的 pi-ai 路由。 适合想通过 ChatGPT 设备码登录接入 Codex 模型的用户,需网页端。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:z331225718/dsh-openai-codex-auth说明文档
阅读完整 README ↗Configuration
Structured credentials are stored at $DSH_HOME/.llm-oauth.json. path overrides that file, dshHome changes the default home, lockTimeoutMs defaults to 30 seconds, lockStaleMs to 60 seconds, loginTimeoutMs to 16 minutes, and startupTimeoutMs to 30 seconds.
- id: openai-codex-auth
name: '@sipi/dsh-openai-codex-auth'
config:
dshHome: ~/.dsh
The store serializes mutations in process and across processes. A provider generation prevents a login completing after logout from restoring a deleted credential. POSIX files are atomically replaced at mode 0600; Windows users must protect DSH_HOME with their account ACL. Browser RPC state never includes tokens or raw provider responses.