hezhongtang/dsh-update-copilot ↗★ 0
dsh-update-copilot
DSH 更新助手:追踪 DSH 本体、内置包及各 profile 插件的 npm/git 更新,汇总变更辅助决策,并在确认后执行升级。
AI 分析
核心用途是提供一站式的 DSH 核心及插件升级管理,适合安装了较多插件、需要安全追踪版本变更并一键升级的用户。更新操作需用户显式确认。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hezhongtang/dsh-update-copilot說明文件
閱讀完整 README ↗Usage
Ask your agent
"check for updates"
The agent runs update_copilot_scan, then builds a brief for each outdated item and presents the risk before doing anything. Updates run only after you say yes — the update tool rejects calls without confirm: true.
Or use the popup / panel
The sidebar button beside Settings opens the compact radar popup (ESC or backdrop click closes; ?duc=1 in the URL opens it once — handy for screenshots and tests). Settings → Update Copilot is the full page: core status (with a copyable upgrade command — never executed), every profile's plugins with current → latest versions, inline decision briefs, and a two-step confirm button per update. After an update, a plugin in the running profile is hot-reloaded in place when its entry and bundle patch are unchanged; the restart banner is only shown for updates outside the phase-1 hot-reload scope (bundle-patch changes, non-current profiles, self-update, etc.).
Agent tool reference
| Tool | Read/Write | Purpose |
|---|---|---|
update_copilot_scan | read | Full scan across core + all profiles (10-min cache, force to bypass) |
update_copilot_brief | read | Semver distance, risk, changelog material, recommendation for one item |
update_copilot_update | write | Execute one confirmed update through the official dsh plugin CLI; failed/timeout attempts retry automatically (3 total, 1s/3s backoff) |