ShanHaiFish/dsh-check-for-updates ↗★ 0
dsh-check-for-updates
DSH 更新检查插件(静态 bundle):首次打开自动检查 DSH 新版本(取 npm 实际最高版本),左下方弹窗提示并提供【更新到】按钮自动执行已校验升级;UI 使用 DSH 语义化主题 token;DSH 安装根/版本、node/npm 均在运行时探测,无硬编码路径。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ShanHaiFish/dsh-check-for-updates说明文档
阅读完整 README ↗使用方法
安装插件
- 将
host.js和client.js代码复制到 DSH 动态插件定义中 - 使用
cordis_define定义插件 - 使用
cordis_run运行插件
验证功能
- 打开 DSH Web 界面
- 进入 设置 > 通用
- 找到 DSH 更新 设置项
- 点击 测试网络 按钮验证网络连接
- 点击 检查更新 按钮验证功能
- 查看控制台日志获取详细信息
2. 使用"测试网络"按钮
点击"测试网络"按钮可以:
- 验证
web.fetch是否正常工作 - 检查 npm registry 是否可访问
- 查看返回的数据格式