feat(bat): 完善工作流调度与 dashboard RPC
bat-rust / Build and test Rust (push) Canceled after 0s
bat-rust / Build and test Go API (push) Canceled after 0s

补全资源拉取、解析、翻译、重打包和本地化发布命令,支持单次、限定次数与周期调度。移除 TUI 计划并通过 schedule.* RPC 暴露给 bat-api dashboard。

Closes #43
This commit is contained in:
2026-08-03 22:18:52 +08:00
parent 3b103be8a9
commit 0784d5b532
27 changed files with 2931 additions and 58 deletions
+3 -2
View File
@@ -3,8 +3,9 @@
This directory is reserved for the future player-facing `bat-api` management
panel. The current backend exposes a non-mutating index at `GET /admin/` that
returns JSON links for health, readiness, bootstrap, release, resources, and
OpenAPI. Mutating `/admin/control/{action}` routes are protected by the
configured admin token and forward only the documented Rust `bat` allowlist.
OpenAPI. `GET /admin/schedules` and mutating
`/admin/control/schedule-{add,update,remove,run}` routes are protected by the
configured admin token and forward the Rust-owned schedule contract.
The production panel must reuse the same HTTP authentication, rate limiting,
access logging, reverse-proxy handling, and no-store dynamic response policy as