dsh-oauth-newapi
New API OAuth provider, account configuration, model discovery, and model adapter for DeepSeek Harness
AI 分析
核心用途是将 New API 实例作为 OAuth 条目集成至 DSH 模型中心。适合需要统一管理 New API 账户、进行模型发现和路由选择的用户。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hrhgit/dsh-oauth-newapiドキュメント
README 全文を読む ↗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.