edge-sky/dsh-oauth-adapter ↗★ 2
@edge-sky/dsh-oauth-adapter
用于官方 DSH 授权流程的 Web OAuth 账户界面,支持 OpenAI Codex 和 GitHub Copilot。
AI 分析
为 DSH 提供 OAuth 账户授权页面。适合需要配置和管理 OpenAI Codex 或 GitHub Copilot 官方授权凭证的用户。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:edge-sky/dsh-oauth-adapter說明文件
閱讀完整 README ↗dsh-oauth-adapter
English | 中文
An OAuth account page for the DSH Web profile. It supports:
- OpenAI Codex
- GitHub Copilot
The adapter has only been tested with DSH 0.1.1-rc.2; compatibility with future versions is not guaranteed.
Install
dsh plugin --profile web add @edge-sky/dsh-oauth-adapter
or
npx @deepseek-ai/dsh plugin --profile web add @edge-sky/dsh-oauth-adapter
Start DSH:
npx @deepseek-ai/dsh web
How it works
DSH integrates pi-ai through the @deepseek-ai/dsh-llm-pi-ai adapter, but does not provide an OAuth entry point. @edge-sky/dsh-oauth-adapter registers pi-ai's existing Codex and Copilot login flows with the DSH Authorization Service.
Because DSH does not currently mount the ctx.authorization service, this plugin also mounts it manually.
The plugin itself does not manage OAuth credentials or maintain login state. Maybe DSH support this sign-in method in the future; but for now, this plugin lets you enjoy it.