mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-31 22:24:16 +01:00
fix(plugins): retain full registry identity for image upgrades
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
10d8a9ce89
commit
3f8cd9c1c0
1 file changed
+1
-6
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user