@@ -25,16 +25,22 @@ fun JupyterConnection.Socket.shellMessagesHandler(msg: Message, repl: ReplForJup
25
25
when (msgType) {
26
26
" kernel_info_request" ->
27
27
sendWrapped(msg, makeReplyMessage(msg, " kernel_info_reply" ,
28
- content = jsonObject(
29
- " protocol_version" to protocolVersion,
30
- " language" to " Kotlin" ,
31
- " language_version" to KotlinCompilerVersion .VERSION ,
32
- " language_info" to jsonObject(
33
- " name" to " kotlin" ,
34
- " codemirror_mode" to " text/x-kotlin" ,
35
- " file_extension" to " kt"
36
- )
37
- )))
28
+ content = jsonObject(
29
+ " protocol_version" to protocolVersion,
30
+ " language" to " Kotlin" ,
31
+ " language_version" to KotlinCompilerVersion .VERSION ,
32
+ " language_info" to jsonObject(
33
+ " name" to " kotlin" ,
34
+ " codemirror_mode" to " text/x-kotlin" ,
35
+ " file_extension" to " kt"
36
+ ),
37
+
38
+ // Jupyter lab Console support
39
+ " banner" to " Kotlin language, version ${KotlinCompilerVersion .VERSION } " ,
40
+ " implementation" to " Kotlin" ,
41
+ " implementation_version" to KotlinCompilerVersion .VERSION ,
42
+ " status" to " ok"
43
+ )))
38
44
" history_request" ->
39
45
sendWrapped(msg, makeReplyMessage(msg, " history_reply" ,
40
46
content = jsonObject(
0 commit comments