feat(telegram): harden channel reliability with retries and error diagnostics
This commit is contained in:
@@ -73,7 +73,7 @@ export interface SystemHandlerDeps {
|
||||
getConnectionCount: () => number;
|
||||
/** Optional callback to trigger a graceful restart. If not provided, system.restart returns an error. */
|
||||
restart?: () => Promise<void>;
|
||||
getChannels?: () => Array<{ name: string; status: string }>;
|
||||
getChannels?: () => Array<{ name: string; status: string; error?: string; lastErrorAt?: number }>;
|
||||
getUsage?: () => { totalSessions: number; activeConnections: number };
|
||||
/** Optional callback to retrieve per-session token usage data. */
|
||||
getTokenUsage?: () => TokenUsageEntry[];
|
||||
|
||||
Reference in New Issue
Block a user