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
+10
View File
@@ -312,10 +312,20 @@ type GamePluginPage struct {
Key string
Title string
Path string
Bundle PluginPageBundle
Permissions []string
BridgeActions []string
}
// PluginPageBundle identifies an installed plugin-owned page module. The host
// validates this declaration before loading a bundle and never selects a game
// page by plugin ID.
type PluginPageBundle struct {
Key string
Version string
IntegritySHA256 string
}
// PluginFileWorkspace is a bounded, logical catalog for a plugin-owned files
// workbench. Keys are logical identifiers, never host paths.
type PluginFileWorkspace struct {