package com.cameleer.server.core.agent;

/**
 * Listener interface for agent registry events.
 * <p>
 * Defined in the core module so the registry service can notify listeners
 * without depending on Spring or SSE classes. The app module provides the
 * implementation that bridges to the SSE connection manager.
 */
public interface AgentEventListener {

    /**
     * Called when a new command is ready to be delivered to an agent.
     *
     * @param instanceId the target agent instance identifier
     * @param command the command to deliver
     */
    void onCommandReady(String instanceId, AgentCommand command);
}
