feat: track official versions and import resources

Persist official version-state, extend CAS/ResourceRepository import classification, and add offline catalog and failure regression fixtures.

Fixes #13

Fixes #12

Fixes #8
This commit is contained in:
2026-07-15 19:53:10 +08:00
parent 4192d7ee4c
commit 90307a3243
30 changed files with 1269 additions and 157 deletions
@@ -0,0 +1,7 @@
{
"data_url": "https://prod-clientpatch.bluearchiveyostar.com/r93_token/TableBundles/TableCatalog.bytes",
"hash_url": "https://prod-clientpatch.bluearchiveyostar.com/r93_token/TableBundles/TableCatalog.hash",
"data": "ExcelDB.db",
"official_hash": "0",
"expected_error_contains": "官方 hash 校验失败"
}
@@ -0,0 +1,7 @@
{
"url": "https://prod-clientpatch.bluearchiveyostar.com/r93_token/TableBundles/Forbidden.bytes",
"http_status": 403,
"failure_kind": "http_forbidden",
"retryable": false,
"expected_attempts": 1
}
@@ -0,0 +1,7 @@
{
"url": "https://prod-clientpatch.bluearchiveyostar.com/r93_token/TableBundles/Missing.bytes",
"http_status": 404,
"failure_kind": "http_not_found",
"retryable": false,
"expected_attempts": 1
}