Skip to content
dsh.fish
Bundle

dsh-oauth-newapi

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

Source
hrhgit
License
MIT
Updated
Updated 3 days ago

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](README.zh-CN.md) for configuration and protocol details.

Install

dsh plugin --profile web add github:hrhgit/dsh-oauth-newapi#c5f8a663df95822eeab70b2b249f6fe7cadc66b4

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
Source