Trewyn/dsh-host-update0

dsh-host-update

Host auto-update for DeepSeek Harness — sidebar notifier, settings toggle, one-click restart. Detects @deepseek-ai/dsh updates and reports plugin compatibility.

包名
dsh-host-update
版本
0.1.11
许可证
MIT
最近更新
2026年8月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Trewyn/dsh-host-update

使用

安装后侧边栏底部(sidebar.footer.action)常驻「检查更新」入口:

  • 无更新:显示「已是最新」,副标题灰字。
  • 有更新:图标右上角出现蓝点 + NEW 徽标,主标题「有新版本 x.y.z」。
  • 点击展开浮层:「立即检查 / 更新并重启 / 诊断 / 复制修复提示词」。
  • 收起侧边栏(56px rail)时自动切换为 36px 圆形图标。

配置

插件默认启用(enabled: true)。可通过 profile 的 cordis.patch.yml 覆盖:

- id: host-update
  config:
    enabled: true
    schedule: daily      # hourly | daily | weekly
    allowMajor: false    # 是否允许跨大版本自动更新
    autoRollback: true

通道与启用状态也可通过 API 调整:POST /api/host-update/settings {"channel":"beta","enabled":true}