Back to home@edge-sky

dsh-oauth-adapter

A OAuth adapter for DSH

Stars
1
Language
TypeScript
Created
Aug 22, 2026
Updated
Aug 23, 2026
GitHub repo

Introduction

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.