Bundle
@goodandready/dsh-model-sync
Automatic model catalog synchronization for API-key DeepSeek Harness providers.
- Source
- GooDAnDReaDY
- License
- MIT
- Updated
- Updated yesterday
Readme
# 📦 @goodandready/dsh-model-sync
<div align="center">
<h3>DeepSeek Harness 服务商模型目录动态同步与账户余额监控插件</h3>
<p align="center">
<a href="https://www.npmjs.com/package/@goodandready/dsh-model-sync"><img src="https://img.shields.io/npm/v/@goodandready/dsh-model-sync.svg?style=for-the-badge&color=6366f1&labelColor=1e1b4b" alt="npm version"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-10b981.svg?style=for-the-badge&color=10b981&labelColor=064e3b" alt="license"></a>
<a href="https://github.com/topics/dsh-plugin"><img src="https://img.shields.io/badge/DSH-Plugin-8b5cf6.svg?style=for-the-badge&labelColor=2e1065" alt="DSH Plugin"></a>
<a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node-20%2B-f59e0b.svg?style=for-the-badge&labelColor=451a03" alt="Node version"></a>
</p>
<p align="center">
<a href="https://goodandready.app/"><img src="https://img.shields.io/badge/作者全部项目-goodandready.app-ff4500.svg?style=for-the-badge&logo=rocket&logoColor=white&labelColor=1a1a2e" alt="作者全部项目"></a>
</p>
<p align="center">
<a href="README.md"><b>🇬🇧 English</b></a> •
<a href="README.ru.md"><b>🇷🇺 Русский</b></a> •
<a href="README.zh.md"><b>🇨🇳 中文说明</b></a>
</p>
</div>
---
## ⚡ 插件概览
**`dsh-model-sync`** 保持 **DeepSeek Harness** 模型选单与上游大模型服务商实时同步。
每当服务商上线新模型、扩充上下文长度或调整定价时,插件自动拉取最新清单,同步模型能力标签(`vision` 视觉、`tools` 工具调用、`reasoning` 深度思考、`embeddings` 嵌入),并在无需重启服务的前提下热重载目录。
```mermaid
graph LR
subgraph Trigger [调度与手动触发]
Cron[⏰ 后台定时轮询调度器] --> Engine[dsh-model-sync 核心引擎]
WebUI[🖥️ 设置面板: 立即同步按钮] --> Engine
end
subgraph Providers [25+ 上游服务商]
Engine --> Registry{适配器注册表}
Registry -->|Bearer 鉴权| P1[OpenAI / DeepSeek / OpenRouter / Groq]
Registry -->|x-api-key 鉴权| P2[Anthropic Claude / 自定义网关]
Registry -->|query-key 鉴权| P3[Google Gemini]
Registry -->|本地探针| P4[本地 Ollama / vLLM / SGLang]
end
subgraph Reconcile [目录对齐与审计]
P1 --> Normalizer[模型归一化与能力特征打标]
P2 --> Normalizer
P3 --> Normalizer
P4 --> Normalizer
Normalizer --> Diff[差异审计流: 新增 / 废弃模型]
Diff --> Catalog[DSH 当前生效模型选单]
end
style Trigger fill:#1e1e2e,stroke:#89b4fa,stroke-width:2px,color:#cdd6f4
style Providers fill:#181825,stroke:#cba6f7,stroke-width:2px,color:#cdd6f4
style Reconcile fill:#11111b,stroke:#a6e3a1,stroke-width:2px,color:#cdd6f4
```
---
## 📦 安装指南
```bash
dsh plugin --profile web add @goodandready/dsh-model-sync
```
---
## 📄 开源协议
MIT © [GooDAnDReaDY](https://github.com/GooDAnDReaDY)
Install
dsh plugin --profile web add @goodandready/dsh-model-sync@0.3.10
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install goodandready-dsh-model-sync from the hub