lynkr-dsh-plugin
Manifest validlynkr-dsh-plugin
A DeepSeek Harness (dsh) plugin that registers Lynkr — a self-hosted, multi-provider LLM tier-routing gateway — as a custom OpenAI-compatible provider.
Lynkr sits in front of coding agents and chat clients and routes each request to the cheapest model tier that can actually handle it (classifying difficulty per-request), across 15+ providers — Anthropic, OpenAI, Azure OpenAI, Bedrock, Vertex, OpenRouter, Moonshot, Baidu, Z.AI, Ollama, DeepSeek, and more.
Unofficial / community plugin
This is not affiliated with or endorsed by DeepSeek. DeepSeek Harness's own repository does not accept external pull requests to its built-in provider catalog (see their CONTRIBUTING.md) — publishing a package tagged dsh-plugin is their documented path for community integrations instead, so that's what this is.
Verification status — please read before relying on this
This plugin was written against DeepSeek Harness's published documentation (docs/user/develop/basic/publish.md, docs/user/guide/providers.md), not against a live dsh install — I didn't have one available while writing it. What that means concretely:
- ✅ The TypeScript source (
src/index.ts) is syntax-valid (checked with Node's type-stripping loader). - ✅ The
settings.yamlshape it writes matches DeepSeek's own documented custom-provider schema verbatim. - ✅ The
package.json→dsh.bundle.patch→cordis.patch.yml→ plugin-row wiring matches their documented bundle-manifest schema verbatim. - ⚠️ Not yet confirmed: that
dsh's actual plugin loader accepts this exact shape end-to-end (e.g.dsh plugin --profile <name> add lynkr-dsh-pluginsuccessfully loading and callingapply()). Their plugin API surface is explicitly a "developer preview... iterating rapidly with compatibility-breaking changes."
Because of that uncertainty, the plugin is written to fail safe: if anything about the load or the settings.yaml merge doesn't go as expected, it changes nothing and prints the exact YAML to add by hand instead (see "Manual setup" below — that path has no dependency on the plugin loader at all and will always work).
If you try this against a real dsh install, please open an issue or PR with what you found — first real-world confirmation gets a note here.
Install (once published)
dsh plugin --profile <your-profile> add lynkr-dsh-plugin
On next load, this adds to $DSH_HOME/settings.yaml:
llm-pi-ai:
providers:
lynkr:
apiKeyEnv: LYNKR_API_KEY
api: openai-completions
baseURL: http://127.0.0.1:8081/v1
models:
- id: lynkr-auto
Then:
export LYNKR_API_KEY=anything(Lynkr doesn't enforce auth on local requests by default — set this to whatever your instance actually expects if you've locked it down).- Make sure Lynkr is running:
lynkr start(see the Lynkr repo). - Select the
lynkrprovider indsh's model picker. Whatever model you pick there is a label — Lynkr's own tier router decides the real backend server-side based on request complexity.
It never overwrites an existing lynkr entry, and never touches any other provider's config.
Manual setup (no plugin required)
Skip the plugin entirely and just add the block above to $DSH_HOME/settings.yaml yourself. This is the fallback path the plugin itself prints if the automatic merge ever fails, and it's equally valid as your starting point.
Development
npm install
npm run build
License
MIT
Comments
Loading…
From the same category
by Ebony-Vinyl
在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 Muse Spark 1.3、MiMo V2.6 在内的前沿模型——完全免费,不限量。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, Mu
★ 7.5k
MIT
JavaScript
Oct 11, 2026
dsh plugin --profile web add dsh-our-free-modelby V1ki
Use ChatGPT (Codex), Claude, and Grok (X Premium) subscriptions as DeepSeek Harness LLM providers — OAuth login in the web UI, no API keys
★ 444
↓ 3k/wk
MIT
TypeScript
Oct 9, 2026
dsh plugin --profile web add dsh-plugin-subscriptionsby corrinehu
将 WorkBuddy 桌面 App 包含的模型自动接入 DeepSeek Harness,零配置使用。Bring the models in the WorkBuddy desktop app into DeepSeek Harness with zero configuration.
★ 393
↓ 3.9k/wk
MIT
TypeScript
Oct 11, 2026
dsh plugin --profile web add dsh-workbuddy-connectby Mars-Sea
Command Code provider plugin for DeepSeek Harness (dsh). Adds Command Code model access, live model catalog, plan-aware model selection, reasoning effort, image input, web search, and multi-account su
★ 377
↓ 3.5k/wk
MIT
TypeScript
Oct 11, 2026
dsh plugin --profile web add @mars-sea/dsh-commandcode-providerAdds a deepseek-web provider that uses chat.deepseek.com web models in DSH, with browser login capture, PoW request signing, SSE streaming, and prompting-based tool calls.
★ 223
↓ 3.8k/wk
Apache-2.0
JavaScript
dsh plugin --profile web add dsh-deepseek-web-loginby zouyuxuan122
在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 Muse Spark 1.3、MiMo V2.6 在内的前沿模型——完全免费,不限量。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, Mu
★ 219
MIT
JavaScript
Oct 5, 2026
dsh plugin --profile web add dsh-our-free-model