z331225718/dsh-openai-codex-auth
z331225718★ 0TypeScriptLast synced: 2026-08-15
—
README excerpt
@sipi/dsh-openai-codex-auth English 中文 An independently versioned, installable OpenAI Codex device-login plugin for @deepseek-ai/dsh-llm-pi-ai . It contributes OAuth storage and the openai-codex interactive-auth controller without adding a second model adapter. Install The bundle inserts one openai-codex-auth configuration row. Remove the same package to unload its controller and credential contribution without changing the base adapter: The Models page then offers a ChatGPT device-code login. OAuth requests run in the DSH Node process; on Node 24, proxy environment variables require NODE USE ENV PROXY=1 (or --use-env-proxy ). 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. 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 ne…
View full README on GitHub →