Skip to content

Commit a277433

Browse files
committed
fix(conformance): pass json-schema-ref-no-deref client scenario
Register the SEP-2106 conformance scenario in the everythingClient and remove it from expected-failures.yaml. The client already blocks non-local $ref dereferencing via assertSchemaSafeToCompile.
1 parent ea7a9fc commit a277433

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

test/conformance/expected-failures.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ client:
2121
# SEP-2243 (HTTP standardization): no fixture handler / client header support yet.
2222
- http-custom-headers
2323
- http-invalid-tool-headers
24-
# SEP-2106 (JSON Schema $ref handling): client still dereferences network $refs.
25-
- json-schema-ref-no-deref
2624
# SEP-2468 (authorization response iss parameter): not implemented in the client.
2725
- auth/iss-supported
2826
- auth/iss-not-advertised

test/conformance/src/everythingClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ async function runToolsCallClient(serverUrl: string): Promise<void> {
144144
registerScenario('initialize', runBasicClient);
145145
registerScenario('tools_call', runToolsCallClient);
146146

147+
// ============================================================================
148+
// JSON Schema $ref scenario (SEP-2106)
149+
// ============================================================================
150+
151+
registerScenario('json-schema-ref-no-deref', runBasicClient);
152+
147153
// ============================================================================
148154
// Auth scenarios - well-behaved client
149155
// ============================================================================

0 commit comments

Comments
 (0)