You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor StdioClientTransport: add structured concurrency, error handling, and support for optional error stream. Update dependencies in libs.versions.toml.
Copy file name to clipboardExpand all lines: kotlin-sdk-client/api/kotlin-sdk-client.api
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,13 @@ public final class io/modelcontextprotocol/kotlin/sdk/client/KtorClientKt {
62
62
public static synthetic fun mcpSseTransport-5_5nbZA$default (Lio/ktor/client/HttpClient;Ljava/lang/String;Lkotlin/time/Duration;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lio/modelcontextprotocol/kotlin/sdk/client/SseClientTransport;
63
63
}
64
64
65
+
public final class io/modelcontextprotocol/kotlin/sdk/client/OldStdioClientTransport : io/modelcontextprotocol/kotlin/sdk/shared/AbstractTransport {
66
+
public fun <init> (Lkotlinx/io/Source;Lkotlinx/io/Sink;)V
67
+
public fun close (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
68
+
public fun send (Lio/modelcontextprotocol/kotlin/sdk/types/JSONRPCMessage;Lio/modelcontextprotocol/kotlin/sdk/shared/TransportSendOptions;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
69
+
public fun start (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
70
+
}
71
+
65
72
public final class io/modelcontextprotocol/kotlin/sdk/client/SseClientTransport : io/modelcontextprotocol/kotlin/sdk/shared/AbstractTransport {
66
73
public synthetic fun <init> (Lio/ktor/client/HttpClient;Ljava/lang/String;Lkotlin/time/Duration;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
67
74
public synthetic fun <init> (Lio/ktor/client/HttpClient;Ljava/lang/String;Lkotlin/time/Duration;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
@@ -71,7 +78,12 @@ public final class io/modelcontextprotocol/kotlin/sdk/client/SseClientTransport
71
78
}
72
79
73
80
public final class io/modelcontextprotocol/kotlin/sdk/client/StdioClientTransport : io/modelcontextprotocol/kotlin/sdk/shared/AbstractTransport {
81
+
public static final field BUFFER_SIZE J
74
82
public fun <init> (Lkotlinx/io/Source;Lkotlinx/io/Sink;)V
83
+
public fun <init> (Lkotlinx/io/Source;Lkotlinx/io/Sink;Lkotlinx/io/Source;)V
84
+
public fun <init> (Lkotlinx/io/Source;Lkotlinx/io/Sink;Lkotlinx/io/Source;Lkotlinx/coroutines/channels/Channel;)V
85
+
public fun <init> (Lkotlinx/io/Source;Lkotlinx/io/Sink;Lkotlinx/io/Source;Lkotlinx/coroutines/channels/Channel;Lkotlin/jvm/functions/Function1;)V
86
+
public synthetic fun <init> (Lkotlinx/io/Source;Lkotlinx/io/Sink;Lkotlinx/io/Source;Lkotlinx/coroutines/channels/Channel;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
75
87
public fun close (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
76
88
public fun send (Lio/modelcontextprotocol/kotlin/sdk/types/JSONRPCMessage;Lio/modelcontextprotocol/kotlin/sdk/shared/TransportSendOptions;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
77
89
public fun start (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
0 commit comments