feat(community): 通过 Host 审阅确认桌面来源信任

This commit is contained in:
2026-09-08 21:55:33 +08:00
parent a07bdfd973
commit 7754d3cf6e
7 changed files with 120 additions and 17 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
/** 社区协议 v1;签名元数据与安装运行状态分离。 */
export type PackageKind = 'theme' | 'skill' | 'plugin' | 'mcp' | 'persona' | 'template' | 'model'
export interface CommunityKey { key_id: string; namespace: string; public_key: string; revoked: boolean }
export interface CommunitySource { id: string; url: string; enabled: boolean; keys: CommunityKey[]; fetchedAt?: string }
export interface CommunitySource { source_id?: string; id: string; url: string; enabled: boolean; keys: CommunityKey[]; fetchedAt?: string }
export interface CommunityRelease {
schema_version: 1; namespace: string; package_id: string; type: PackageKind; version: string
name: string; author_id: string; license: string; description: string; sha256: string; size: number