feat(bat): 暴露翻译任务状态控制

Refs #43
This commit is contained in:
2026-08-12 09:11:09 +08:00
parent 1933d6acb0
commit 974a6e18c3
17 changed files with 341 additions and 13 deletions
+2
View File
@@ -7,6 +7,8 @@ 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.
`GET /admin/schedules` accepts optional `id`, `group`, and `enabled` filters.
`POST /admin/control/translation-task-update` uses the same token and forwards
the narrow `translation.task.update` provider-worker status contract.
The production panel must reuse the same HTTP authentication, rate limiting,
access logging, reverse-proxy handling, and no-store dynamic response policy as