Skip to content

feat: add structured capability types #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

dsp-ant
Copy link
Member

@dsp-ant dsp-ant commented Nov 6, 2024

Replace generic capability dictionaries with structured types for prompts,
resources, tools, and roots. This improves type safety and makes capability
features like listChanged and subscribe more explicit in the protocol.

@dsp-ant dsp-ant requested a review from jspahrsummers November 6, 2024 23:14
@dsp-ant dsp-ant force-pushed the davidsp/capabilities branch 5 times, most recently from 004581b to 3ad24ae Compare November 6, 2024 23:47
@dsp-ant dsp-ant linked an issue Nov 7, 2024 that may be closed by this pull request
@dsp-ant dsp-ant force-pushed the davidsp/capabilities branch from 3ad24ae to 383725a Compare November 7, 2024 14:47
Replace generic capability dictionaries with structured types for prompts,
resources, tools, and roots. This improves type safety and makes capability
features like listChanged and subscribe more explicit in the protocol.
@dsp-ant dsp-ant force-pushed the davidsp/capabilities branch from 383725a to 5497da0 Compare November 7, 2024 14:49
@dsp-ant dsp-ant merged commit b0787fd into main Nov 7, 2024
5 checks passed
@dsp-ant dsp-ant deleted the davidsp/capabilities branch November 7, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Turn ClientCapabilities and ServerCapabilities fields into real models
2 participants