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
18
18
import kotlin.concurrent.atomics.incrementAndFetch
19
19
import kotlin.jvm.JvmInline
20
20
21
- public const val LATEST_PROTOCOL_VERSION : String = " 2024-11-05 "
21
+ public const val LATEST_PROTOCOL_VERSION : String = " 2025-03-26 "
22
22
23
23
public val SUPPORTED_PROTOCOL_VERSIONS : Array <String > = arrayOf(
24
24
LATEST_PROTOCOL_VERSION ,
25
- " 2024-10-07 " ,
25
+ " 2024-11-05 " ,
26
26
)
27
27
28
28
public const val JSONRPC_VERSION : String = " 2.0"
@@ -1250,7 +1250,7 @@ public class CallToolResult(
1250
1250
) : CallToolResultBase
1251
1251
1252
1252
/* *
1253
- * [CallToolResult] extended with backwards compatibility to protocol version 2024-10-07 .
1253
+ * [CallToolResult] extended with backwards compatibility to protocol version 2024-11-05 .
1254
1254
*/
1255
1255
@Serializable
1256
1256
public class CompatibilityCallToolResult (
Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ class TypesTest {
12
12
@Test
13
13
fun `should have correct latest protocol version` () {
14
14
assertNotEquals(" " , LATEST_PROTOCOL_VERSION )
15
- assertEquals(" 2024-11-05 " , LATEST_PROTOCOL_VERSION )
15
+ assertEquals(" 2025-03-26 " , LATEST_PROTOCOL_VERSION )
16
16
}
17
17
18
18
@Test
19
19
fun `should have correct supported protocol versions` () {
20
20
assertIs<Array <String >>(SUPPORTED_PROTOCOL_VERSIONS )
21
21
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 " ))
23
23
assertEquals(2 , SUPPORTED_PROTOCOL_VERSIONS .size)
24
24
}
25
25
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments