Role - moved from inline to reusable type (#1221)

This commit is contained in:
Konstantin Konstantinov 2025-12-04 21:21:46 +02:00 • committed by GitHub
commit e7ab32f9b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -660,6 +660,10 @@ const sdkTypeChecks = {
Annotations: (sdk: SDKTypes.Annotations, spec: SpecTypes.Annotations) => {
sdk = spec;
spec = sdk;
},
Role: (sdk: SDKTypes.Role, spec: SpecTypes.Role) => {
sdk = spec;
spec = sdk;
}
};
@ -669,7 +673,6 @@ const SDK_TYPES_FILE = 'src/types.ts';
const MISSING_SDK_TYPES = [
// These are inlined in the SDK:
'Role',
'Error', // The inner error object of a JSONRPCError
'URLElicitationRequiredError' // In the SDK, but with a custom definition
];