auggie246/dsh-llm-openai-codex ↗★ 0
dsh-llm-openai-codex
OpenAI Codex (ChatGPT Plus/Pro subscription) provider for DeepSeek Harness with DSH Web OAuth, device code, and shared Codex CLI credentials
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:auggie246/dsh-llm-openai-codex说明文档
阅读完整 README ↗Credentials and configuration
The Settings card supports two credential sources.
- DSH-managed stores credentials at
$DSH_HOME/credentials/openai-codex.json. - Shared Codex CLI reads
~/.codex/auth.jsonor$CODEX_HOME/auth.json.
DSH-managed credentials are the default for a new installation.
Use Connect ChatGPT in browser to create them.
DSH receives the OAuth callback at http://localhost:1455/auth/callback.
Use Use device code when the callback port is busy or the browser is remote.
For the shared Codex CLI source, sign in through the Codex CLI with ChatGPT. The shared source is read-only for interactive DSH login. The plugin never starts an OAuth login that can replace the Codex CLI file. The plugin refreshes the shared token pair safely when necessary. The plugin never deletes the shared Codex CLI credential file.
Every plugin configuration key is optional.
- insert:
- id: llm-openai-codex
name: 'dsh-llm-openai-codex'
config:
route: openai-codex
displayName: OpenAI Codex
storage: dsh
# authPath: ~/.codex/auth.json
refreshMarginMs: 60000
streamIdleTimeoutMs: 300000
reasoning: medium
models: [gpt-5.4, gpt-5.4-mini]
retryPolicy: { mode: normal, maxRetries: 2 }
authPath pins the credential file and disables the Settings source selector.
route changes the provider prefix shown in model pickers.
Changing route can conflict with another plugin that owns the same route.