This commit is contained in:
Your Name
2026-04-17 14:07:50 +08:00
parent dc34a4e294
commit 1921318c25
11 changed files with 2415 additions and 19 deletions

View File

@@ -13,6 +13,11 @@ export const runtimeApi = {
readiness: () => http.get("/runtime/readiness"),
preflight: () => http.get("/runtime/preflight"),
cluster: () => http.get("/runtime/cluster"),
syncSummary: () => http.get("/runtime/sync-summary"),
debugOverview: (params?: Record<string, unknown>) => http.get("/runtime/debug-overview", { params }),
debugDiagnosis: (params?: Record<string, unknown>) => http.get("/runtime/debug-diagnosis", { params }),
debugHandoff: (params?: Record<string, unknown>) => http.get("/runtime/debug-handoff", { params }),
debugEvents: (params?: Record<string, unknown>) => http.get("/runtime/debug-events", { params }),
action: (action: string) => http.post(`/runtime/actions/${action}`)
};