The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 08:45 UTC
Remove ProviderHealth onReady callback from service interface
- Drop the unused `onReady` hook from `ProviderHealthShape` - Keep startup health status access focused on `getStatuses`
Julius Marminge committed
Mar 9, 2026 at 12:23 UTC
1f47cc6f4e51d236421d45bafabaa3bbf2576c3f
1 file changed
-4
apps/server/src/provider/Services/ProviderHealth.ts
-4
@@ -15,10 +15,6 @@ export interface ProviderHealthShape {
15
* Read provider health statuses computed at server startup.
16
*/
17
readonly getStatuses: Effect.Effect<ReadonlyArray<ServerProviderStatus>>;
18
- /**
19
- * Register a callback invoked once when background health checks complete.
20
- */
21
- readonly onReady: (cb: (statuses: ReadonlyArray<ServerProviderStatus>) => void) => void;
18
}
19
20
export class ProviderHealth extends ServiceMap.Service<ProviderHealth, ProviderHealthShape>()(