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网关且不想手动编辑代码更新模型列表的用户

패키지
dsh-pi-ai-sync
호환성
미검증
Cordis peer 범위
^4.0.2
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 14.

설치

$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