Add sep-835 limit retry scenario, add suite options to server command and update pending scenarios (#49)

* lefthook: move deps installs to optional local change

* add test scenario for infinite retry
and negative test

* Add broken client for retry limit negative test and fix lefthook formatting

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix www-authenticate in scope scenario

* add suites and shift pending to reflect current pending

* lint

---------

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Paul Carleton 2025-11-21 16:49:38 +00:00 • committed by GitHub
commit b64e054918
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,12 @@ const pendingClientScenariosList: ClientScenario[] = [
// JSON Schema 2020-12 (SEP-1613)
// This test is pending until the SDK includes PR #1135 which preserves
// $schema, $defs, and additionalProperties fields in tool schemas.
new JsonSchema2020_12Scenario()
new JsonSchema2020_12Scenario(),
// On hold until elicitation schema types are fixed
// https://github.com/modelcontextprotocol/modelcontextprotocol/pull/1863
new ToolsCallElicitationScenario(),
new ElicitationDefaultsScenario()
];
// All client scenarios
@ -90,7 +95,7 @@ const allClientScenariosList: ClientScenario[] = [
new ElicitationDefaultsScenario(),
// Elicitation scenarios (SEP-1330) - pending
...pendingClientScenariosList,
new ElicitationEnumsScenario(),
// Resources scenarios
new ResourcesListScenario(),
@ -159,6 +164,10 @@ export function listActiveClientScenarios(): string[] {
return activeClientScenariosList.map((scenario) => scenario.name);
}
export function listPendingClientScenarios(): string[] {
return pendingClientScenariosList.map((scenario) => scenario.name);
}
export function listAuthScenarios(): string[] {
return authScenariosList.map((scenario) => scenario.name);
}