Feature: Transport selector chooses correct transport by mode
  As a CleverAgents developer
  I want TransportSelector to return the right transport based on server_url
  So that local and server modes use the correct communication channel

  @coverage
  Scenario: Select stdio transport when no server URL is given
    Given no transport server URL is configured
    When I call TransportSelector.select with no server_url
    Then the returned transport should be an A2aStdioTransport instance

  @coverage
  Scenario: Select HTTP transport when server URL is provided
    Given a server URL "http://localhost:8080" is configured
    When I call TransportSelector.select with server_url "http://localhost:8080"
    Then the returned transport should be an A2aHttpTransport instance

  @coverage
  Scenario: Select stdio transport for empty string server URL
    Given an empty string server URL is configured
    When I call TransportSelector.select with server_url ""
    Then the returned transport should be an A2aStdioTransport instance
