feat: add official resource sync pipeline

Add the production-facing official update service and bat-official-sync watch CLI for unattended resource synchronization.

Support launcher-resource discovery without installing the launcher, remote marker snapshots, local manifest audit and repair, official seed hash validation, bootstrap caching, richer Addressables coverage, SQLite resource persistence, and FFI JSON helpers.
This commit is contained in:
2026-07-05 23:49:56 +08:00
parent 99e66a48d7
commit 789402c887
35 changed files with 6262 additions and 177 deletions
Generated
+6
View File
@@ -181,13 +181,17 @@ name = "bat-ffi"
version = "0.1.0"
dependencies = [
"anyhow",
"bat-adapters",
"bat-assetbundle",
"bat-cas-engine",
"bat-core",
"bat-infrastructure",
"bat-patch",
"cbindgen",
"libc",
"serde",
"serde_json",
"tokio",
]
[[package]]
@@ -199,10 +203,12 @@ dependencies = [
"bat-adapters",
"bat-cas-engine",
"bat-core",
"blake3",
"hex",
"md-5",
"serde",
"serde_json",
"sqlx",
"tempfile",
"thiserror",
"tokio",