vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
37 lines • 1.23 kB
TypeScript
export interface ServiceInstance {
name: string;
instance: unknown;
isStarted: boolean;
isDisposed: boolean;
startMethod?: string;
stopMethod?: string;
disposeMethod?: string;
resetStaticMethod?: string;
}
export interface ServiceDependency {
service: string;
dependsOn: string[];
}
export declare class ServiceLifecycleManager {
private static instance;
private services;
private dependencies;
private startupInProgress;
private shutdownInProgress;
private constructor();
static getInstance(): ServiceLifecycleManager;
static resetInstance(): void;
registerService(config: Omit<ServiceInstance, 'isStarted' | 'isDisposed'>): void;
registerDependency(service: string, dependsOn: string[]): void;
startAllServices(): Promise<void>;
stopAllServices(): Promise<void>;
disposeAllServices(): Promise<void>;
private startService;
private stopService;
private disposeService;
private calculateStartupOrder;
getServiceStatus(serviceName: string): ServiceInstance | null;
getAllServiceStatuses(): Map<string, ServiceInstance>;
areAllServicesHealthy(): boolean;
}
//# sourceMappingURL=service-lifecycle-manager.d.ts.map