Skip to content

feat: use scopes_supported from resource metadata by default (fixes #580) #2047

feat: use scopes_supported from resource metadata by default (fixes #580)

feat: use scopes_supported from resource metadata by default (fixes #580) #2047

Triggered via pull request November 6, 2025 19:01
Status Failure
Total duration 47s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: src/spec.types.test.ts#L208
Type 'WithJSONRPCRequest<{ method: "tools/call"; params: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; name: string; arguments?: { [x: string]: unknown; } | undefined; }; }>' is not assignable to type 'CallToolRequest'.
build: src/spec.types.test.ts#L207
Type 'CallToolRequest' is not assignable to type 'WithJSONRPCRequest<{ method: "tools/call"; params: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; name: string; arguments?: { [x: string]: unknown; } | undefined; }; }>'.
build: src/spec.types.test.ts#L195
Type 'ListToolsRequest' is not assignable to type 'WithJSONRPCRequest<{ params?: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; cursor?: string | undefined; } | undefined; method: "tools/list"; }>'.
build: src/spec.types.test.ts#L171
Type 'ClientNotification' is not assignable to type 'WithJSONRPC<ClientNotification>'.
build: src/spec.types.test.ts#L99
Type 'ListRootsRequest' is not assignable to type 'WithJSONRPCRequest<{ params?: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; } | undefined; method: "roots/list"; }>'.
build: src/spec.types.test.ts#L91
Type 'PaginatedRequest' is not assignable to type 'WithJSONRPCRequest<{ method: string; params?: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; cursor?: string | undefined; } | undefined; }>'.
build: src/spec.types.test.ts#L87
Type 'UnsubscribeRequest' is not assignable to type 'WithJSONRPCRequest<{ method: "resources/unsubscribe"; params: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; uri: string; }; }>'.
build: src/spec.types.test.ts#L83
Type 'SubscribeRequest' is not assignable to type 'WithJSONRPCRequest<{ method: "resources/subscribe"; params: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; uri: string; }; }>'.
build: src/spec.types.test.ts#L79
Type 'ProgressNotification' is not assignable to type 'WithJSONRPC<{ method: "notifications/progress"; params: { [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; progress: number; total?: number | undefined; message?: string | undefined; progressToken: string | number; }; }>'.
build: src/spec.types.test.ts#L67
Type 'CancelledNotification' is not assignable to type 'WithJSONRPC<{ method: "notifications/cancelled"; params: { [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; requestId: string | number; reason?: string | undefined; }; }>'.