Equinox7379
dsh-update-radar
Update radar for DSH: checks installed plugins against git upstreams.
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 14, 2026
- Updated
- Aug 14, 2026
Introduction
dsh-update-radar
DeepSeek Harness 插件:检查已装 link: 插件是否存在上游更新。
用途
读取 profile dependencies 中的全部 link: 路径,对含 .git 的目录执行 git rev-parse HEAD 与 git ls-remote origin HEAD,对比本地与上游。
用法
- 工具:
update_radar(无参数)
示例:
{ "checked": 32,
"behind": [ { "plugin": "dsh-notification", "local": "96413d33", "upstream": "3e33100f" } ],
"upToDate": [ { "plugin": "dsh-genui", "local": "57b43382", "upstream": "57b43382" } ] }
可靠性
- 只读:仅执行 rev-parse / ls-remote,不拉取、不改动任何仓库;
- git 失败(无仓库/网络异常)返回 null 字段,不影响整体报告;
- 零依赖、无自定义会话事件、无 HTTP 路由。
安装
dsh plugin --profile web add link:/path/to/dsh-update-radar
# 重启 dsh web
License
MIT