Commit 411c21f
committed
Harden the client's later-revision drop and widen its coverage
A `RootModel` wrapper row (the empty result served at pre-2026
versions) reported the pydantic-internal `root` key rather than the
keys of the model it wraps; unwrap it so a legal field a strict
surface merely omits, such as `_meta`, is never mistaken for a later
revision's field. This is latent against today's tables (none of the
wrapper rows has a newer-revision counterpart) but keeps the field-set
logic correct as revisions are added.
Extend the legacy-session test over every handshake protocol version,
cover the `resultType` tag on `tools/call` and `prompts/get` results,
and register the inbound tolerance in the interaction requirements
manifest alongside its existing outbound counterpart.1 parent 009d0bb commit 411c21f
3 files changed
Lines changed: 76 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1767 | 1767 | | |
1768 | 1768 | | |
1769 | 1769 | | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
1770 | 1793 | | |
1771 | 1794 | | |
| 1795 | + | |
1772 | 1796 | | |
1773 | | - | |
1774 | | - | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
1775 | 1801 | | |
1776 | 1802 | | |
1777 | | - | |
1778 | | - | |
1779 | | - | |
1780 | | - | |
1781 | | - | |
1782 | | - | |
1783 | | - | |
| 1803 | + | |
1784 | 1804 | | |
1785 | 1805 | | |
1786 | 1806 | | |
1787 | | - | |
1788 | | - | |
| 1807 | + | |
1789 | 1808 | | |
1790 | 1809 | | |
1791 | 1810 | | |
1792 | 1811 | | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
1793 | 1831 | | |
1794 | 1832 | | |
1795 | 1833 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3278 | 3278 | | |
3279 | 3279 | | |
3280 | 3280 | | |
| 3281 | + | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
| 3292 | + | |
| 3293 | + | |
3281 | 3294 | | |
3282 | 3295 | | |
3283 | 3296 | | |
| |||
0 commit comments