dsh-oauth-newapi
其他 活跃维护

dsh-oauth-newapi

hrhgit/dsh-oauth-newapi

提供New API OAuth授权对接能力,复用主机授权与凭证服务管理密钥全生命周期,支持绑定自有New API实例,快速完成统一认证授权配置,无需额外开发权限逻辑,降低多实例权限管控成本。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
1
Open Issues
TypeScript
主要语言
MIT
开源协议
123 KB
仓库大小
25 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:hrhgit/dsh-oauth-newapi
git clone https://github.com/hrhgit/dsh-oauth-newapi.git
git clone git@github.com:hrhgit/dsh-oauth-newapi.git
README.md main

dsh-oauth-newapi

New API OAuth provider plugin for DeepSeek Harness. It uses the host authorization and credential services for secret lifecycle and owns New API instances, account configuration, groups, token selection, model discovery, and model routes.

The plugin contributes flat OAuth entries to the host Model Center through the public modelEntryRegistry service and the keyed settings.modelCenter.entry Slot. It no longer creates a standalone New API settings section. Signed-in accounts are sibling entries of direct Base URL/API key providers and retain their provider-specific group, token, discovery, protocol, and model-selection flow.

Only non-secret browser drafts such as site fields, model search, and wire protocol are stored with scoped/versioned keys. OAuth credentials and New API tokens remain in host-owned credential/state storage and are never written to localStorage.

See README.zh-CN.md for configuration and protocol details.