z331225718/sipi-dsh-openai-codex-auth0

@sipi/dsh-openai-codex-auth

可安装的 OpenAI Codex 设备登录提供程序,用于 DeepSeek Harness 的 pi-ai 路由。

AI 分析

核心用途是为 DSH 提供 ChatGPT 设备码登录授权。适合需要在 DSH 中接入并使用 OpenAI 相关模型服务的用户。

套件
@sipi/dsh-openai-codex-auth
版本
0.1.0
授權
MIT
最近更新
2026年8月15日

安裝

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

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.