jiaruihuang/dsh-pi-ai-sync ↗★ 0

dsh-pi-ai-sync

dsh plugin: fuse dsh-model-sync (settings seam) and dsh-opencode-go-models (pi-ai catalog file) so provider routes stay in step with the pi.dev gateway — and new models become selectable without hand-editing node_modules. 适合使用pi.dev网关且不想手动编辑代码更新模型列表的用户

Package
dsh-pi-ai-sync
Compatibility
Unverified
Cordis peer range
^4.0.2
Version
0.1.0
License
MIT
Last updated
Oct 14, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jiaruihuang/dsh-pi-ai-sync

Configuration

Edit the pi-ai-sync section of your settings document (on the dsh 0.1.x line that is ~/.dsh/settings.yaml):

pi-ai-sync:
  managedRoutes:
    - opencode
    - opencode-go
  settingsMode: unset
  intervalMinutes: 240
KeyDefaultDescription
managedRoutes[]Routes to sync; empty = opencode, opencode-go
settingsModeunsetunset removes the route's models override; mirror rewrites it from pi.dev; keep leaves settings alone
catalogSynctrueMaintain the installed pi-ai catalog files (the core leg)
intervalMinutes240Auto-refresh interval; 0 = startup only
startupDelaySeconds5Delay before the first auto round
refreshTimeoutMs120000Abort budget for one round's request
syncNotifytrueLog the report when there was something to report
keepBuiltinOnlytrueIn mirror mode, keep catalog-only ids in the written list