lynkr-dsh-plugin
DeepSeek Harness (dsh) plugin that registers Lynkr — a self-hosted, multi-provider LLM tier-routing gateway — as a custom OpenAI-compatible provider in settings.yaml.
安装
dsh plugin --profile web add github:veerareddyvishal144/lynkr-dsh-plugin
需要可复现安装时,可在仓库后追加 #commit 固定提交。
DeepSeek Harness (dsh) plugin that registers Lynkr — a self-hosted, multi-provider LLM tier-routing gateway — as a custom OpenAI-compatible provider in settings.yaml.
该插件未提供要点说明,请参考仓库 README。
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/veerareddyvishal144/lynkr-dsh-plugin |
| 许可证 | MIT |
| 主要语言 | master |
| 下载量 | 2 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-28 |
| 收录日期 | 2026-09-19 |
| 分类 | 模型与提供方 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# lynkr-dsh-plugin
A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`) plugin that registers **[Lynkr](https://github.com/veerareddyvishal144/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`](https://github.com/topics/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.yaml` shape 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 add lynkr-dsh-plugin` successfully loading and calling `apply()`). 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)
```bash
dsh plugin --profile add lynkr-dsh-plugin
```
On next load, this adds to `$DSH_HOME/settings.yaml`:
```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:
1. `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).
2. Make sure Lynkr is running: `lynkr start` (see the [Lynkr repo](https://github.com/veerareddyvishal144/lynkr)).
3. Select the `lynkr` provider in `dsh`'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
```bash
npm install
npm run build
```
## License
MIT
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。