z331225718/dsh-openai-codex-auth ↗★ 0

@sipi/dsh-openai-codex-auth

Installable OpenAI Codex device-login provider for DeepSeek Harness pi-ai routes 适合想通过 ChatGPT 设备码登录接入 Codex 模型的用户,需网页端。

패키지
@sipi/dsh-openai-codex-auth
호환성
미검증
Harness peer 범위
>=0.1.0-rc.5 <0.2.0
Cordis peer 범위
>=4.0.1 <5
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 15.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:z331225718/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.