feat(plugin): add SCUM ownership migration foundation

This commit is contained in:
npc0-hue
2026-07-28 18:11:00 +08:00
parent d24074134a
commit 271e1e684f
29 changed files with 328 additions and 315 deletions
+6
View File
@@ -78,6 +78,9 @@ export interface PluginPageContract {
key: string;
title: string;
path: string;
bundleKey?: string;
bundleVersion?: string;
bundleIntegritySha256?: string;
permissions?: PluginPermission[];
bridgeActions?: PluginBridgeAction[];
}
@@ -101,6 +104,9 @@ export function pluginBridgeManifestContractFromResponse(
key: page.key,
title: page.title,
path: page.path,
bundleKey: page.bundleKey,
bundleVersion: page.bundleVersion,
bundleIntegritySha256: page.bundleIntegritySha256,
permissions: page.permissions.filter(isPluginPermission),
bridgeActions: page.bridgeActions?.filter(isPluginBridgeAction)
})),