lc23313/dsh-autoupdate0

dsh-autoupdate

Built-in auto-update plugin for dsh (DeepSeek Harness): manual update check from the Settings page, guarded update pipeline with health check, automatic rollback, circuit breaker and degrade ladders.

AI 분석

核心用途是为 DSH 提供自动或手动的版本更新管理,具备熔断和降级机制以确保更新安全。适合希望保持 DSH 处于最新版本且不愿手动维护更新的普通用户。

패키지
dsh-autoupdate
버전
1.1.0
라이선스
MIT
최근 업데이트
2026. 8. 23.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lc23313/dsh-autoupdate

Configuration

Defaults live in the package's own cordis.patch.yml; override them per profile in ~/.dsh/profiles//cordis.patch.yml (a user-layer row replaces the row's whole config; omitted keys fall back to schema defaults):

- id: auto-update
  config:
    channel: rc               # track the rc dist-tag
    checkIntervalMs: 3600000  # check hourly
OptionDefaultDescription
enabledtrueMaster switch; false = no-op
channel"latest"npm dist-tag to track; falls back to latest
autoApplytruefalse = detect + notify only (prints a manual command)
autoCheckfalsev1.1.0: false = manual mode (Settings button only); true = v1.0.0 periodic checks
checkIntervalMs21600000Check interval when autoCheck: true (6 h; floor 5 min)
startupDelayMs30000Delay before the first check after boot
maxConsecutiveFailures3N failures → notify, 2N → off
cooldownMs86400000Pause auto-apply after an apply failure
npmTimeoutMs30000Timeout for npm queries
installTimeoutMs300000Timeout for npm install / pnpm update
npmCommand / dshCommandnpm / dshCommand overrides (absolute paths allowed)
registry""npm registry override (mirrors)
updateProfilePluginstrueRefresh user plugins in profiles after a CLI update
profiles[]Which profiles to refresh; empty = auto-detect profiles depending on this plugin
logToConsoletrueMirror log lines to the dsh console