2025-12-30 15:06:41 +09:00
|
|
|
import type { CheckDefinition } from "../types"
|
2026-02-13 17:29:38 +09:00
|
|
|
import { CHECK_IDS, CHECK_NAMES } from "../constants"
|
|
|
|
|
import { checkSystem, gatherSystemInfo } from "./system"
|
|
|
|
|
import { checkConfig } from "./config"
|
|
|
|
|
import { checkProviders, gatherProviderStatuses } from "./providers"
|
|
|
|
|
import { checkTools, gatherToolsSummary } from "./tools"
|
|
|
|
|
import { checkModels } from "./model-resolution"
|
2025-12-30 15:06:41 +09:00
|
|
|
|
2026-02-13 17:29:38 +09:00
|
|
|
export type { CheckDefinition }
|
2026-02-08 16:25:01 +09:00
|
|
|
export * from "./model-resolution-types"
|
2026-02-13 17:29:38 +09:00
|
|
|
export { gatherSystemInfo, gatherProviderStatuses, gatherToolsSummary }
|
2025-12-30 15:06:41 +09:00
|
|
|
|
|
|
|
|
export function getAllCheckDefinitions(): CheckDefinition[] {
|
|
|
|
|
return [
|
2026-02-13 17:29:38 +09:00
|
|
|
{
|
|
|
|
|
id: CHECK_IDS.SYSTEM,
|
|
|
|
|
name: CHECK_NAMES[CHECK_IDS.SYSTEM],
|
|
|
|
|
check: checkSystem,
|
|
|
|
|
critical: true,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: CHECK_IDS.CONFIG,
|
|
|
|
|
name: CHECK_NAMES[CHECK_IDS.CONFIG],
|
|
|
|
|
check: checkConfig,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: CHECK_IDS.PROVIDERS,
|
|
|
|
|
name: CHECK_NAMES[CHECK_IDS.PROVIDERS],
|
|
|
|
|
check: checkProviders,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: CHECK_IDS.TOOLS,
|
|
|
|
|
name: CHECK_NAMES[CHECK_IDS.TOOLS],
|
|
|
|
|
check: checkTools,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: CHECK_IDS.MODELS,
|
|
|
|
|
name: CHECK_NAMES[CHECK_IDS.MODELS],
|
|
|
|
|
check: checkModels,
|
|
|
|
|
},
|
2025-12-30 15:06:41 +09:00
|
|
|
]
|
|
|
|
|
}
|