edge-sky/dsh-auth-adapter1

@edge-sky/dsh-oauth-adapter

Web OAuth account surface for official DSH authorization flows

AI Analysis

为 DSH 提供 OAuth 账户授权页面。适合需要配置和管理 OpenAI Codex 或 GitHub Copilot 官方授权凭证的用户。

Package
@edge-sky/dsh-oauth-adapter
Version
0.1.1-rc.8
License
MIT
Last updated
Aug 23, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:edge-sky/dsh-auth-adapter

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

image

image

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.