DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Gateway Config — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
G

gateway-config

Gateway Config

DSH plugin for configuring any OpenAI-compatible LLM gateway (GET /models discovery) as a provider

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:iceprosurface/dsh-gateway-config#b9f35a51c026f9ab16911fbf2a5e6b13be5e1daf
READMECompatibilityVersions

Compatibility and provenance

Gateway Config is published as gateway-config and currently resolves to version 0.3.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/4/2026

Versions

0.3.2stable
10/4/2026

Related plugins

Loading related plugins…

Latest
0.3.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
10/4/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in models-usage.

Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with a compact price glance card above the sidebar's Settings rowClient Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilitiesPer-model capability declarations (image input and reasoning efforts) for custom pi-ai providers, edited in place on the Models settings cards; writes the official llm-pi-ai settings namespace, no DSH source changes.Codex Subscriptiondsh-codex-subscriptionUse ChatGPT and Codex subscriptions in DeepSeek Harness with OAuth, quota, safe resets, web search, images, and Fast modeCommandcode Provider@mars-sea/dsh-commandcode-providerUnofficial DeepSeek Harness LLM provider plugin for Command Code, ported from pi-commandcode-provider (MIT). Registers the 'commandcode' provider route with a Models-page card and live model catalog.

README

gateway-config

A DSH plugin for configuring any OpenAI-compatible LLM gateway (any endpoint that serves GET /models) as a provider — one provider route per gateway, multiple gateways side by side.

What it provides

  • Host tool: gateway_configure
  • Web settings panel: LLM 网关配置
  • Gateway model discovery via GET /models with non-chat model filtering
  • Per-model reasoning-effort mappings
  • Per-model text/image input capability mappings
  • One managed credential per route (<ROUTE>_API_KEY, e.g. CINDY_API_KEY)
  • Native ChatGPT OAuth for the openai-codex provider, including automatic access-token refresh through pi-ai
  • Localized settings UI in English and Simplified Chinese, following the DSH interface locale

Providers are fixed presets; no ad-hoc routes are created. Anything that speaks the OpenAI GET /models shape (the de-facto standard DSH discovery reads) works:

  • cindy (Cindy), sub2api (Sub2API) — private gateways; addresses never live in this repository. The host tool reads them from CINDY_BASE_URL / SUB2API_BASE_URL; the web panel remembers the last address per route.
  • generic (通用) — any other OpenAI-compatible endpoint; supply its base URL (GATEWAY_BASE_URL env or the panel's Base URL field).
  • Public vendors with OpenAI-compatible APIs carry their documented base URLs out of the box: deepseek, moonshot (Kimi), zhipu (GLM), qwen, openrouter, siliconflow, xai (Grok).
  • openai-codex (OpenAI Codex / ChatGPT) uses the native pi-ai provider and OAuth transport. It does not require or accept a custom Base URL or API key.

Install into an existing DSH profile

This repository is a plugin package. It does not replace or contain a complete DSH home.

dsh plugin --profile web add https://github.com/iceprosurface/dsh-gateway-config.git

If your DSH version expects a Git URL package, use:

dsh plugin --profile web add git+https://github.com/iceprosurface/dsh-gateway-config.git

If the plugin entry is not reconciled automatically, add this to the existing $DSH_HOME/profiles/web/cordis.patch.yml without deleting other entries:

- insert:
    - id: gateway-config
      name: gateway-config

Then restart the existing DSH web process.

Configure a gateway

Open LLM Gateway / LLM 网关配置. Pick a gateway from the provider dropdown (Cindy, Sub2API, Generic, or a public vendor), fill in the Base URL if not pre-filled (the gateway's OpenAI-compatible root, e.g. ending in /v1), then click 拉取模型: the chat-capable models are listed with checkboxes; tick the ones to keep and mark one radio button as the default model, then click 写入配置. The key is stored in DSH local managed credentials and never written to this repository. Later, leave the key blank; the plugin reuses <ROUTE>_API_KEY.

For OpenAI Codex, select openai-codex and click Sign in to ChatGPT. The authorization page opens in a separate browser window. After the callback completes, DSH stores the grant as llm-pi-ai/openai-codex; tokens are never returned to the settings UI, and pi-ai refreshes them when needed. Then discover and import models as usual.

The host-side equivalent:

gateway_configure(apiKey?, baseURL?, route, displayName, defaultModel?)

apiKey and baseURL are omitted for route: "openai-codex" after OAuth sign-in has completed in the settings page.

Development

  • lib/index.js: host-side tool
  • lib/client.js: web-side settings panel
node --check lib/index.js
node --check lib/oauth-remote.js
node --check lib/client.js

Security

Never commit API keys, gateway addresses you consider private, credential files, personal DSH settings, sessions, attachments, generated dependencies, or runtime databases.

License

MIT