dsh-model-sync
开发工具 活跃维护

dsh-model-sync

GooDAnDReaDY/dsh-model-sync

自动同步支持API密钥接入的模型服务商目录列表,无需手动编辑本地配置文件,直接从服务商侧拉取最新可用模型数据,保障模型调用时效性,使用过程无额外操作成本。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
95 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:GooDAnDReaDY/dsh-model-sync
git clone https://github.com/GooDAnDReaDY/dsh-model-sync.git
git clone git@github.com:GooDAnDReaDY/dsh-model-sync.git
README.md main

@goodandready/dsh-model-sync

Automatic model catalog synchronization for API-key providers in DeepSeek Harness.

The plugin is designed for:

  • API-key providers already configured in DSH;
  • API-key providers available in the built-in DSH catalog but not configured yet;
  • future custom API-key provider routes.

OAuth, subscription, and tool-only routes are intentionally outside the scope.

Status

Runtime, scheduler, HTTP API, reconciliation, model allowlists, and Settings UI are implemented. The release workflow includes staging and production verification before publication.

Development

See the project documentation under docs/ for architecture, research, testing, and release notes.

API and safety

GET /dsh-model-sync/status reports provider state without secrets.

POST /dsh-model-sync/run defaults to a read-only dry-run:

{ "provider": "openai", "dryRun": true }

Apply is explicit:

{ "provider": "openai", "dryRun": false, "removeMissing": false }

Omit provider to discover all enabled API-key providers in one run. The Settings UI exposes this as Refresh all.

POST /dsh-model-sync/selection stores and applies a per-provider model allowlist:

{ "provider": "openai", "models": ["gpt-5", "gpt-5-mini"] }

An empty models array means all models in the latest available catalog. The selected catalog is written to DSH's llm-pi-ai settings, so the standard DSH model picker refreshes from the resulting list.