From 3f8cd9c1c0f0b15fb1101f8dd335a775e63d1184 Mon Sep 17 00:00:00 2001 From: Dotta Date: Fri, 30 Oct 2026 11:07:20 -0500 Subject: [PATCH] fix(plugins): retain full registry identity for image upgrades Co-Authored-By: Paperclip --- server/src/services/plugin-loader.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server/src/services/plugin-loader.ts b/server/src/services/plugin-loader.ts index 7c9701fe8fe..9fc558f9f9b 100644 --- a/server/src/services/plugin-loader.ts +++ b/server/src/services/plugin-loader.ts @@ -1809,12 +1809,7 @@ export function pluginLoader( newManifest: PaperclipPluginManifestV1; discovered: DiscoveredPlugin; }> { - const plugin = (await registry.getById(pluginId)) as { - id: string; - packageName: string; - packagePath: string | null; - manifestJson: PaperclipPluginManifestV1; - } | null; + const plugin = await registry.getById(pluginId); if (!plugin) throw new Error(`Plugin not found: ${pluginId}`); const oldManifest = plugin.manifestJson;