/** * ProviderHealth - Provider readiness snapshot service. * * Owns startup-time provider health checks (install/auth reachability) and * exposes the cached results to transport layers. * * @module ProviderHealth */ import type { ServerProviderStatus } from "@t3tools/contracts"; import { ServiceMap } from "effect"; import type { Effect } from "effect"; export interface ProviderHealthShape { /** * Read provider health statuses computed at server startup. */ readonly getStatuses: Effect.Effect>; } export class ProviderHealth extends ServiceMap.Service()( "t3/provider/Services/ProviderHealth", ) {}