From 4cec6086456c429fc7d384c22271682963a92737 Mon Sep 17 00:00:00 2001 From: Gowtham Padala <71338985+gowtham-padala@users.noreply.github.com> Date: Mon, 16 Nov 2026 01:27:27 -0500 Subject: [PATCH] [Conformance] Listen on the standalone stream in the SEP-1034 client defaults scenario --- tests/Conformance/client.php | 7 ++++++- tests/Conformance/conformance-baseline-2025-11-25.yml | 4 +--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/Conformance/client.php b/tests/Conformance/client.php index 24d4f4343..367c9f7c3 100644 --- a/tests/Conformance/client.php +++ b/tests/Conformance/client.php @@ -196,7 +196,12 @@ function buildAuthenticator(string $url, string $scenario, array $context, Psr\L } $client = $builder->build(); -$transport = new HttpTransport($url, logger: $logger, auth: buildAuthenticator($url, $scenario, $context, $logger)); + +// The server of this scenario sends its elicitation request on the standalone GET +// stream rather than on the response of the tool call, so the client has to listen. +$listen = 'elicitation-sep1034-client-defaults' === $scenario; + +$transport = new HttpTransport($url, logger: $logger, listen: $listen, auth: buildAuthenticator($url, $scenario, $context, $logger)); try { $client->connect($transport); diff --git a/tests/Conformance/conformance-baseline-2025-11-25.yml b/tests/Conformance/conformance-baseline-2025-11-25.yml index ac08dab2d..7127a6b96 100644 --- a/tests/Conformance/conformance-baseline-2025-11-25.yml +++ b/tests/Conformance/conformance-baseline-2025-11-25.yml @@ -1,3 +1 @@ -client: - # Elicitation defaults (SEP-1034) are not filled in when accepting. - - elicitation-sep1034-client-defaults +client: []