feat(api): 补齐资源分发服务入口

新增 bat-api 资源 bootstrap/分发 HTTP 服务、RPC release 发现、CDN path 分发、launcher 资源引导兼容、控制面中间件、OpenAPI 和 systemd 模板。

同步 Go 边界文档,明确 Rust bat 是资源生产者和同步运维入口,Go bat-api 是只读 bootstrap/分发服务,试验 Go CLI 产物为 bin/bat-go。

验证:未运行新命令;本轮已按要求停止重复构建/测试。
This commit is contained in:
2026-07-31 00:41:48 +08:00
parent 2079c6a307
commit 3f78f8f880
43 changed files with 4427 additions and 23 deletions
@@ -0,0 +1,17 @@
{
"version": 1,
"entries": {
"https://prod-clientpatch.bluearchiveyostar.com/r93_fixture/TableBundles/TableCatalog.bytes": {
"url": "https://prod-clientpatch.bluearchiveyostar.com/r93_fixture/TableBundles/TableCatalog.bytes",
"destination": "prod-clientpatch.bluearchiveyostar.com/r93_fixture/TableBundles/TableCatalog.bytes",
"bytes": 21,
"blake3": "0000000000000000000000000000000000000000000000000000000000000000"
},
"https://prod-clientpatch.bluearchiveyostar.com/r93_fixture/TableBundles/TableCatalog.hash": {
"url": "https://prod-clientpatch.bluearchiveyostar.com/r93_fixture/TableBundles/TableCatalog.hash",
"destination": "prod-clientpatch.bluearchiveyostar.com/r93_fixture/TableBundles/TableCatalog.hash",
"bytes": 10,
"blake3": "0000000000000000000000000000000000000000000000000000000000000000"
}
}
}
@@ -0,0 +1,25 @@
{
"snapshot_version": 2,
"connection_group_name": "Prod",
"app_version": "1.70.0",
"bundle_version": "s8tloc7lo3",
"addressables_root": "https://prod-clientpatch.bluearchiveyostar.com/r93_fixture",
"launcher_metadata": {
"launcher_version": "1.7.2",
"game_latest_version": "1.70.0",
"game_latest_file_path": "prod/ZIP_TEMP/BlueArchive_JP_TEMP/BlueArchive_JP-1.70.436321-game.zip",
"game_start_exe_name": "xldr_BlueArchiveOnline_JP_loader_x64",
"game_start_params": [
"BlueArchive.exe"
],
"manifest_url": "https://launcher-pkg-ba-jp.yo-star.com/prod/ZIP_TEMP/BlueArchive_JP_TEMP/manifest.json",
"manifest_source": "BlueArchive_JP-1.70.436321-game",
"manifest_file_count": 2
},
"game_main_config_bootstrap": {
"server_info_data_url": "https://yostar-serverinfo.bluearchiveyostar.com/r93_fixture.json",
"default_connection_group": "Prod"
},
"endpoints": [],
"endpoint_markers": []
}
@@ -0,0 +1,11 @@
{
"ConnectionGroups": [
{
"Name": "Prod",
"AddressablesCatalogUrlRoot": "https://prod-clientpatch.bluearchiveyostar.com/r93_fixture",
"BundleVersion": "s8tloc7lo3",
"IsLivePublished": true,
"ApiUrl": "https://prod-game.example.invalid/"
}
]
}