refactor: 重构后端结构并迁移前端到 Vue3

This commit is contained in:
2026-05-15 11:46:21 +08:00
parent 9107378fcc
commit 9c5a5a54c6
165 changed files with 5057 additions and 62710 deletions
+25
View File
@@ -0,0 +1,25 @@
from typing import Any
from app.config import AppConfig
from app.history import HistoryManager
config = AppConfig.load()
history_manager = HistoryManager()
processing_tasks: dict[str, dict[str, Any]] = {}
upload_sessions: dict[str, dict[str, Any]] = {}
global_task_lock: dict[str, Any] = {
"locked": False,
"task_id": None,
"stage": None,
"started_at": None,
}
def reset_task_lock() -> None:
global_task_lock["locked"] = False
global_task_lock["task_id"] = None
global_task_lock["stage"] = None
global_task_lock["started_at"] = None