feat(versions): 加壳版本可视化(已加固徽标 + 派生来源)

- 版本列表返回 source_version(派生来源版本号),新增「派生自」列
- 版本号后加「已加固」徽标;未加固版本该列显示 -
- 版本详情页加加壳来源横幅(来源版本 + 跳转加壳任务)
- PublishAsVersion 自动进位改为跳过已占用的号;不再误回写 task.version_id
- 前端 schema 补 protected/source_version_id/protect_task_id/source_version
This commit is contained in:
hermes
2026-11-21 16:54:56 +08:00
parent 02df87f464
commit 683ebb31df
8 changed files with 236 additions and 101 deletions
+10 -2
View File
@@ -1431,7 +1431,8 @@
"status": "Status",
"deltaPackage": "Delta",
"createdAt": "Created At",
"actions": "Actions"
"actions": "Actions",
"sourceVersion": "Derived from"
},
"actions": {
"download": "Download",
@@ -1543,7 +1544,14 @@
"updateFailed": "Failed to update version",
"fetchFailed": "Failed to fetch version information",
"fetchAppsFailed": "Failed to fetch application list"
}
},
"protectedBadge": "Protected",
"protectedHint": "This version is a protected artifact with the verification shell",
"protectedBanner": "This version was generated by the protect tool",
"derivedFrom": "derived from",
"sourceUnknown": "source version removed",
"viewProtectTask": "View protect task #{id}",
"sourceDirect": "uploaded & protected"
},
"cardTypes": {
"title": "Card Type Management",
+10 -2
View File
@@ -1416,7 +1416,8 @@
"status": "状态",
"deltaPackage": "增量包",
"createdAt": "创建时间",
"actions": "操作"
"actions": "操作",
"sourceVersion": "派生自"
},
"actions": {
"download": "下载",
@@ -1539,7 +1540,14 @@
"updateFailed": "更新失败",
"fetchFailed": "获取版本信息失败",
"fetchAppsFailed": "获取应用列表失败"
}
},
"protectedBadge": "已加固",
"protectedHint": "此版本是加壳产物,入口文件带验证壳",
"protectedBanner": "此版本由加壳工具生成",
"derivedFrom": "派生自",
"sourceUnknown": "来源版本已删除",
"viewProtectTask": "查看加壳任务 #{id}",
"sourceDirect": "直接上传加壳"
},
"cardTypes": {
"title": "卡类管理",