feat: 增加固定工作台应用目录兼容格式

This commit is contained in:
yige committed 2026-10-13 16:48:14 +08:00
1 parent 70f3132ec4
commit 0c0f991baa
21 files changed
+2408 -19

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
/** 发布者关系声明的跨字段检查;不推导安装、权限或运行时健康。 */
export function validateApplicationContract(manifest) {
if (!['docker-app', 'native-app', 'artifact'].includes(manifest.type)) return []
if (!['docker-app', 'native-app', 'artifact', 'web-bundle'].includes(manifest.type)) return []
const errors = []
const ids = new Set()
for (const entrypoint of Array.isArray(manifest.entrypoints) ? manifest.entrypoints : []) {