Function hasNavigation

  • Checks if a specific agent is part of the navigation route for a given client. Validates the agent and client session, retrieves the associated swarm, and queries the navigation route. Logs the operation if enabled by global configuration.

    Parameters

    • clientId: string

      The unique identifier of the client session.

    • agentName: string

      The name of the agent to use or reference.

    Returns Promise<boolean>