Import packages/plugin/src/update-check.ts

This commit is contained in:
QQ 2026-11-17 08:49:02 +08:00
parent 00c942daa4
commit cbc5509d55
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,11 @@ export interface PluginUpdateSnapshot {
currentVersion: string
latestVersion: string
checkedAt: number
/**
* Present when this Desktop install is a registry bundle the official plugin
* manager can replace. Absent for GitHub, path, and other non-registry installs.
*/
upgrade?: 'ready'
}
/** dist-tags endpoints raced in parallel; the mirror backs up the official registry. */