File tree Expand file tree Collapse file tree 3 files changed +5
-54
lines changed
commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk
commonTest/kotlin/io/modelcontextprotocol/kotlin/sdk Expand file tree Collapse file tree 3 files changed +5
-54
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ import kotlin.concurrent.atomics.ExperimentalAtomicApi
1818import kotlin.concurrent.atomics.incrementAndFetch
1919import kotlin.jvm.JvmInline
2020
21- public const val LATEST_PROTOCOL_VERSION : String = " 2024-11-05 "
21+ public const val LATEST_PROTOCOL_VERSION : String = " 2025-03-26 "
2222
2323public val SUPPORTED_PROTOCOL_VERSIONS : Array <String > = arrayOf(
2424 LATEST_PROTOCOL_VERSION ,
25- " 2024-10-07 " ,
25+ " 2024-11-05 " ,
2626)
2727
2828public const val JSONRPC_VERSION : String = " 2.0"
@@ -1250,7 +1250,7 @@ public class CallToolResult(
12501250) : CallToolResultBase
12511251
12521252/* *
1253- * [CallToolResult] extended with backwards compatibility to protocol version 2024-10-07 .
1253+ * [CallToolResult] extended with backwards compatibility to protocol version 2024-11-05 .
12541254 */
12551255@Serializable
12561256public class CompatibilityCallToolResult (
Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ class TypesTest {
1212 @Test
1313 fun `should have correct latest protocol version` () {
1414 assertNotEquals(" " , LATEST_PROTOCOL_VERSION )
15- assertEquals(" 2024-11-05 " , LATEST_PROTOCOL_VERSION )
15+ assertEquals(" 2025-03-26 " , LATEST_PROTOCOL_VERSION )
1616 }
1717
1818 @Test
1919 fun `should have correct supported protocol versions` () {
2020 assertIs<Array <String >>(SUPPORTED_PROTOCOL_VERSIONS )
2121 assertTrue(SUPPORTED_PROTOCOL_VERSIONS .contains(LATEST_PROTOCOL_VERSION ))
22- assertTrue(SUPPORTED_PROTOCOL_VERSIONS .contains(" 2024-10-07 " ))
22+ assertTrue(SUPPORTED_PROTOCOL_VERSIONS .contains(" 2024-11-05 " ))
2323 assertEquals(2 , SUPPORTED_PROTOCOL_VERSIONS .size)
2424 }
2525
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments