Introduction¶
The philosophy of DSH is “everything is a plugin”. When there are multiple link: plugins in a profile, it is necessary to confirm which local directories are behind upstream. dsh-update-radar is used to perform this read-only check.
What is it¶
dsh-update-radar is a DeepSeek Harness plugin that checks if installed link: plugins have upstream updates. The repository is maintained by Equinox7379 and is licensed under the MIT License.
Core Features¶
Below is an introduction to its actual behavior.
- Reads all
link:paths from profile dependencies. - Executes
git rev-parse HEADandgit ls-remote origin HEADon directories containing.git. - Compares local with upstream.
- Provides an
update_radartool that takes no arguments. - Read-only: only executes
rev-parse/ls-remote, does not fetch or modify any repository. - Returns
nullfor git failures (no repository / network errors), does not affect the overall report. - Zero dependencies, no custom session events, no HTTP routes.
Installation and Enablement¶
Replace the link: path in the installation command with your local directory, then restart dsh web.
dsh plugin --profile web add link:/path/to/dsh-update-radar
# 重启 dsh web
Typical Usage¶
Call the update_radar tool without passing any arguments.
update_radar
The example output includes checked, behind, and upToDate fields:
{
"checked": 32,
"behind": [
{ "plugin": "dsh-notification", "local": "96413d33", "upstream": "3e33100f" }
],
"upToDate": [
{ "plugin": "dsh-genui", "local": "57b43382", "upstream": "57b43382" }
]
}
behind indicates the local version is behind the upstream version, while upToDate indicates the local version is consistent with the upstream version.
Applicable Scenarios and Notes¶
Suitable for DSH scenarios where local plugin directories are managed via link: paths. It only checks for update status, does not perform fetches, and does not modify repositories.
The plugin runs with the permissions of the current dsh process. It is recommended to check the source code and license before installation. The license is MIT. If certain directories are missing .git or there are network errors, the corresponding fields will return null, which does not affect the overall report.
Conclusion¶
dsh-update-radar aggregates the upstream update checks of multiple link: plugins into a single report. Repository: https://github.com/Equinox7379/dsh-update-radar