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

dsh-pi-ai-sync

同步服务商路由与模型目录以保持最新状态 适合使用pi.dev网关且不想手动编辑代码更新模型列表的用户

包名
dsh-pi-ai-sync
兼容性
待验证
Cordis 依赖范围
^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