Skip to content

Validate elicitation number schema by protocol#261

Closed
leehack wants to merge 1 commit into
spec/elicitation-content-integer-valuesfrom
spec/elicitation-number-schema-bounds
Closed

Validate elicitation number schema by protocol#261
leehack wants to merge 1 commit into
spec/elicitation-content-integer-valuesfrom
spec/elicitation-number-schema-bounds

Conversation

@leehack

@leehack leehack commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • enforce stable 2025 integer-only form elicitation number-schema keywords by default
  • allow draft 2026 fractional number-schema keywords through protocol-aware parsing and MRTR input requests
  • add stable/draft regression coverage and changelog entry

Tests

  • dart test test/elicitation_test.dart test/mcp_2025_11_25_test.dart test/mcp_2026_07_28_test.dart
  • dart analyze
  • git diff --check
  • dart test
  • dart pub global run coverage:test_with_coverage

@codecov

codecov Bot commented Jun 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.12195% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.62%. Comparing base (13d9fc9) to head (f33a4ca).

Files with missing lines Patch % Lines
lib/src/client/client.dart 77.77% 2 Missing ⚠️
Additional details and impacted files
@@                           Coverage Diff                            @@
##           spec/elicitation-content-integer-values     #261   +/-   ##
========================================================================
  Coverage                                    88.62%   88.62%           
========================================================================
  Files                                           47       47           
  Lines                                         9480     9498   +18     
========================================================================
+ Hits                                          8402     8418   +16     
- Misses                                        1078     1080    +2     
Flag Coverage Δ
unittests 88.62% <95.12%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@leehack

leehack commented Jun 1, 2026

Copy link
Copy Markdown
Owner Author

Closing this draft micro PR because the RC spec work has been consolidated into a smaller reviewable stack. This change is preserved in #271 (type/schema validation); the consolidated tip is tree-identical to the previous micro-stack tip.

@leehack leehack closed this Jun 1, 2026
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.

1 participant