You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: use explicit extensions field instead of spreading kwargs
Address PR review feedback: Instead of using **capability_extensions to
spread arbitrary keys into ClientCapabilities, explicitly use the
'extensions' field. This prevents potential conflicts if new fields are
added to ClientCapabilities in the future.
Changes:
- Add 'extensions' field to ClientCapabilities type definition
- Update ClientSession to pass capability_extensions as 'extensions' kwarg
- Update test to pass extensions dict directly (without 'extensions' key wrapper)
0 commit comments