feat: 补充固定工作台合成样本与 webBundles 校验 (#12)

新增静态、原生服务、Docker 三组合成的 listing-only 作者契约样本,补充 webBundles 目录统计与 definitionPath 规范路径检查。受主仓固定的 4.3 作者 Schema、正式 4.2 Schema、根 manifest 和 27 个条目均不变。

Add synthetic listing-only authoring fixtures, webBundles catalog statistics and a canonical definitionPath check. The pinned 4.3 authoring Schema, formal 4.2 Schema, root manifest and 27 entries are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
yigeandClaude Opus 5.5 authored and GitHub committed 2026-11-03 09:54:00 +08:00
1 parent 5247054b7a
commit 13986db85e
17 files changed
+630 -5

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ function fixture(type = 'native-app') {
cpSync(join(source, 'schemas'), join(root, 'schemas'), { recursive: true })
cpSync(join(source, 'entries/desirecore-control'), join(root, 'entries/desirecore-control'), { recursive: true })
const manifest = JSON.parse(readFileSync(join(source, 'manifest.json'), 'utf8'))
manifest.stats = { totalEntries: 1, dockerApps: 0, nativeApps: type === 'native-app' ? 1 : 0, mcpServices: 0, httpApis: 0, externalIntegrations: 0 }
manifest.stats = { totalEntries: 1, dockerApps: 0, nativeApps: type === 'native-app' ? 1 : 0, ...(type === 'web-bundle' ? { webBundles: 1 } : {}), mcpServices: 0, httpApis: 0, externalIntegrations: 0 }
writeFileSync(join(root, 'manifest.json'), JSON.stringify(manifest))
writeFileSync(join(root, 'SCHEMA_VERSION'), manifest.version + '\n')
// 测试 release 引用仅用于校验分支;不代表线上 Control 已发布此 release。