feat: 上架视频剪辑固定应用材料 (#16)

发布固定 0.1.3 归档与独立 UUID 条目,保留旧全局 Schema,并补齐内联作者定义校验。客户端 197 与默认市场安装闭环仍须分别验证。

Publish the fixed 0.1.3 archive and UUID listing, preserving the existing global Schema and validating inline authored definitions. Client distribution and fresh market installation remain separate gates.
This commit is contained in:
yige authored and GitHub committed 2026-11-02 21:54:30 +08:00
1 parent 8aff88bc08
commit fdefd474ae
16 files changed
+5780 -25

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
/** 作者 release 使用受审的新契约;普通条目仍由已发布 global Schema 校验。 */
export const AUTHORED_ENTRY_SCHEMA_FILENAME = 'registry-entry.v4.3.schema.json'
export function isAuthoredRegistryEntry(entry) {
return entry?.type === 'web-bundle' || (entry !== null && typeof entry === 'object' && Object.hasOwn(entry, 'appRelease'))
}
export function isApplicationEntry(entry) {
return ['docker-app', 'native-app', 'artifact', 'web-bundle'].includes(entry?.type)
}