JerryXst/dsh-codex-web-auth--packages-plugin ↗★ 1
dsh-codex-web-auth
ChatGPT / Codex browser sign-in for DeepSeek Harness's built-in openai-codex provider
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JerryXst/dsh-codex-web-auth#42442ad32481e3507ab2b9c9aef794f83f4eafef&path:packages/plugin说明文档
阅读完整 README ↗dsh-codex-web-auth
Browser-based ChatGPT / Codex sign-in for DeepSeek Harness's built-in openai-codex provider.
为 DeepSeek Harness 内置的 openai-codex 提供方增加 ChatGPT / Codex 浏览器登录。
Pre-release / 预发布:Complete the clean-profile release checklist before production use. 正式使用前必须完成干净 DSH Web profile 发布检查。
Install / 安装
After the package is published and verified:
包发布并验证通过后:
dsh plugin --profile web add dsh-codex-web-auth
dsh web
Open Settings → Models → openai-codex, then select Sign in to Codex.
打开 设置 → 模型 → openai-codex,点击 登录 Codex。
Visual quick start / 图文快速上手:
What it does / 功能
-
Uses the authorization flow registered by DSH's built-in
llm-pi-aiprovider. -
Relays human authorization interaction through the authenticated DSH Web channel.
-
Keeps OAuth grants on the DSH Host and never returns stored access/refresh tokens in browser progress frames.
-
Enables the
openai-codexmodel route after successful authorization. -
Supports cancellation, reauthorization, and deletion of the local Host credential.
-
使用 DSH 内置
llm-pi-ai已注册的授权流程。 -
通过已认证的 DSH Web 通道完成人机授权交互。
-
OAuth grant 保存在 DSH Host,不会通过浏览器进度帧返回已存储的 access/refresh token。
-
授权成功后启用
openai-codex模型路由。 -
支持取消、重新登录及删除 Host 本地凭据。
This package does not create an OpenAI API key or operate a third-party proxy. Account eligibility, model access, quotas, and provider behavior remain controlled by OpenAI and the installed DSH provider stack.
本包不会创建 OpenAI API Key,也不运营第三方代理。账号资格、模型权限、额度和提供方行为仍由 OpenAI 与当前 DSH 提供方栈决定。
Uninstall / 卸载
Delete the local sign-in from the provider card first if you also want to remove the stored OAuth grant. Then run:
如需同时删除 OAuth grant,请先在提供方卡片中执行“删除本地登录”,然后运行:
dsh plugin --profile web remove dsh-codex-web-auth
Security and storage / 安全与存储
The plugin includes no telemetry and makes no direct provider network request; DSH's llm-pi-ai flow owns provider communication. With DSH's default file credential provider, grants are stored in $DSH_HOME/.credentials.yaml with owner-only permissions but without encryption at rest.
插件不包含遥测,也不直接请求提供方;提供方通信由 DSH llm-pi-ai 流程负责。使用默认文件型凭据提供方时,grant 保存在 $DSH_HOME/.credentials.yaml,文件仅所有者可读,但静态内容不加密。
Never include real tokens, callback URLs, cookies, or credential files in issues or test fixtures.
禁止在 issue 或测试夹具中提交真实 token、回调 URL、Cookie 或凭据文件。
Full documentation / 完整文档:
Security policy / 安全策略:
Privacy notice / 隐私说明:
License / 许可证
MIT
Community plugin; not an official OpenAI or DeepSeek product.
社区插件,不是 OpenAI 或 DeepSeek 官方产品。