dsh-oauth-newapi
No description
- Stars
- 0
- Language
- TypeScript
- Created
- Aug 14, 2026
- Updated
- Aug 31, 2026
Introduction
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.