/**
 * ACP domain state — tracks the Agent Client Protocol transport layer,
 * active subagent connections, and inter-session ACP sessions.
 */
/**
 * Returns the default initial state for the ACP domain.
 */
export function createInitialAcpState() {
    return {
        revision: 0,
        lastUpdatedAt: 0,
        source: 'init',
        managerTransportState: 'disconnected',
        initialized: false,
        connections: new Map(),
        activeConnectionIds: [],
        totalSpawned: 0,
        totalCompleted: 0,
        totalFailed: 0,
        totalMessages: 0,
    };
}
