From cbc5509d55c78696b031337e64350f0f65f6636f Mon Sep 17 00:00:00 2001 From: QQ Date: Tue, 17 Nov 2026 08:49:02 +0800 Subject: [PATCH] Import packages/plugin/src/update-check.ts --- packages/plugin/src/update-check.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/plugin/src/update-check.ts b/packages/plugin/src/update-check.ts index 3ba408b..dbf4adf 100644 --- a/packages/plugin/src/update-check.ts +++ b/packages/plugin/src/update-check.ts @@ -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. */