zhangyqjiaoshou-oss/dsh-model-sync1

@dsh-external/dsh-model-sync

One-click / auto model sync for DeepSeek Harness providers — reconciles stored model lists against each provider's /v1/models endpoint, with a Settings page toggle and conversation-open auto-sync.

AI 分析

核心用途是自动或一键刷新 DSH 服务商的模型列表,保持与 API 接口同步。适合使用第三方大模型通道、需要自动获取最新上线模型的用户。支持配置防抖时间。

パッケージ
@dsh-external/dsh-model-sync
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/08/29

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhangyqjiaoshou-oss/dsh-model-sync

ドキュメント

README 全文を読む ↗

Usage

  1. Open Settings → Model Sync.
  2. Click Sync All Models to sync immediately, or turn on Auto-sync on conversation open to refresh the model list every time you open a conversation page.
  3. Each provider reports ✅ N total (+added -removed); failures show with the reason.

Configuration

FieldTypeDefaultDescription
autoSyncbooleanfalseAuto-sync model lists whenever a conversation page opens
debounceMsnumber10000Minimum milliseconds between two automatic syncs

The auto-sync switch can also be toggled in the Settings UI; changes are written to the model-sync namespace.