edge-sky/dsh-oauth-adapter 预览 preview

edge-sky/dsh-oauth-adapter

A OAuth adapter for DSH

项目介绍Project Overview

dsh-oauth-adapter 是 DSH Web 配置的 OAuth 账户页插件,将 pi-ai 现有的 OpenAI Codex 与 GitHub Copilot 登录流程注册到 DSH 授权服务,并手动挂载该服务。需要在 Web 界面通过 OAuth 登录 Codex 或 Copilot 时使用。插件不管理 OAuth 凭证或维护登录状态,且仅在 DSH 0.1.1-rc.2 测试,后续版本兼容性不保证。

dsh-oauth-adapter is a DSH Web-profile plugin that adds an OAuth account page. It registers pi-ai's existing OpenAI Codex and GitHub Copilot login flows with the DSH Authorization Service and manually mounts that service. Use it when you need OAuth sign-in for Codex or Copilot in the DSH web UI. It does not manage credentials or login state, and has only been tested with DSH 0.1.1-rc.2; future compatibility is not guaranteed.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add @edge-sky/dsh-oauth-adapter

edge-sky/dsh-oauth-adapter 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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
imageimage

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.

上一个 Prev multimodal-bridge 下一个 Next dsh-recap