/** * Coordination data aggregator — gathers multi-agent coordination state * for the get_coordination_state tool and ido4://agents/coordination resource. * * Returns: agent statuses, active locks, recent events, handoff recommendations, * and the requesting agent's current task and next recommendation. */ import type { ServiceContainer, TaskLock } from '@ido4/core'; import type { PersistedAuditEvent } from '@ido4/core'; export interface AgentStatus { agentId: string; name: string; role: string; currentTask: { issueNumber: number; title: string; } | null; lastHeartbeat: string; isStale: boolean; transitionCount24h: number; } export interface CoordinationData { agents: AgentStatus[]; activeLocks: Array; recentEvents: PersistedAuditEvent[]; recentHandoffs: PersistedAuditEvent[]; recentRecommendations: PersistedAuditEvent[]; myCurrentTask: { issueNumber: number; title: string; } | null; myNextRecommendation: { issueNumber: number; title: string; score: number; reasoning: string; } | null; summary: string; } export interface CoordinationAggregatorOptions { agentId?: string; since?: string; limit?: number; } export declare function aggregateCoordinationData(container: ServiceContainer, options?: CoordinationAggregatorOptions): Promise; //# sourceMappingURL=coordination-aggregator.d.ts.map