refactor: 收口 V3 分层架构与插件兼容边界

This commit is contained in:
jxxghp
2026-08-18 13:22:02 +08:00
parent cca99bd421
commit 8472bcff43
274 changed files with 10730 additions and 6130 deletions
+5
View File
@@ -116,3 +116,8 @@ class DoctorRunner:
"safe_mode": settings.MOVIEPILOT_SAFE_MODE,
"pid": os.getpid(),
}
def run_doctor(*, fix: bool = False, deep: bool = False) -> DoctorReport:
"""运行 MoviePilot 离线诊断并返回报告。"""
return DoctorRunner(fix=fix, deep=deep).run()