feat: add plugin application runtime and unified instance authorization

This commit is contained in:
illusia committed 2026-11-03 20:13:01 +08:00
1 parent 8bca848c21
commit 3430a8a753
80 files changed
+2133 -1004

No files matched your search

@@ -51,7 +51,7 @@ export function getSkinRuntimePluginApproval(
return grant && isSkinRuntimePluginApproved(grant, skinId, skinVersion, plugin, digest) ? grant : null;
}
/** Called only by the host consent UI after a user explicitly approves this exact package. */
/** Internal digest-bound record. The host must first allow this skin through instance authorization. */
export function approveSkinRuntimePlugin(
skinId: string,
skinVersion: string,