hrhgit/dsh-oauth-newapi0

dsh-oauth-newapi

New API OAuth provider, account configuration, model discovery, and model adapter for DeepSeek Harness

包名
dsh-oauth-newapi
版本
0.2.0
许可证
MIT
最近更新
2026年8月31日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hrhgit/dsh-oauth-newapi

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.