@difizen/libro-kernel 0.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/es/basemanager.d.ts +94 -0
- package/es/basemanager.d.ts.map +1 -0
- package/es/basemanager.js +110 -0
- package/es/contents/contents-drive.d.ts +189 -0
- package/es/contents/contents-drive.d.ts.map +1 -0
- package/es/contents/contents-drive.js +792 -0
- package/es/contents/contents-manager.d.ts +229 -0
- package/es/contents/contents-manager.d.ts.map +1 -0
- package/es/contents/contents-manager.js +551 -0
- package/es/contents/contents-module.d.ts +3 -0
- package/es/contents/contents-module.d.ts.map +1 -0
- package/es/contents/contents-module.js +4 -0
- package/es/contents/contents-protocol.d.ts +487 -0
- package/es/contents/contents-protocol.d.ts.map +1 -0
- package/es/contents/contents-protocol.js +1 -0
- package/es/contents/index.d.ts +6 -0
- package/es/contents/index.d.ts.map +1 -0
- package/es/contents/index.js +5 -0
- package/es/contents/validate.d.ts +10 -0
- package/es/contents/validate.d.ts.map +1 -0
- package/es/contents/validate.js +22 -0
- package/es/index.d.ts +10 -0
- package/es/index.d.ts.map +1 -0
- package/es/index.js +9 -0
- package/es/index.less +0 -0
- package/es/kernel/comm.d.ts +92 -0
- package/es/kernel/comm.d.ts.map +1 -0
- package/es/kernel/comm.js +216 -0
- package/es/kernel/future.d.ts +178 -0
- package/es/kernel/future.d.ts.map +1 -0
- package/es/kernel/future.js +587 -0
- package/es/kernel/index.d.ts +8 -0
- package/es/kernel/index.d.ts.map +1 -0
- package/es/kernel/index.js +8 -0
- package/es/kernel/kernel-connection.d.ts +550 -0
- package/es/kernel/kernel-connection.d.ts.map +1 -0
- package/es/kernel/kernel-connection.js +1957 -0
- package/es/kernel/kernel-module.d.ts +3 -0
- package/es/kernel/kernel-module.d.ts.map +1 -0
- package/es/kernel/kernel-module.js +32 -0
- package/es/kernel/libro-kernel-manager.d.ts +69 -0
- package/es/kernel/libro-kernel-manager.d.ts.map +1 -0
- package/es/kernel/libro-kernel-manager.js +349 -0
- package/es/kernel/libro-kernel-protocol.d.ts +675 -0
- package/es/kernel/libro-kernel-protocol.d.ts.map +1 -0
- package/es/kernel/libro-kernel-protocol.js +60 -0
- package/es/kernel/libro-kernel-utils.d.ts +95 -0
- package/es/kernel/libro-kernel-utils.d.ts.map +1 -0
- package/es/kernel/libro-kernel-utils.js +130 -0
- package/es/kernel/libro-kernel.d.ts +14 -0
- package/es/kernel/libro-kernel.d.ts.map +1 -0
- package/es/kernel/libro-kernel.js +54 -0
- package/es/kernel/messages.d.ts +845 -0
- package/es/kernel/messages.d.ts.map +1 -0
- package/es/kernel/messages.js +457 -0
- package/es/kernel/restapi.d.ts +78 -0
- package/es/kernel/restapi.d.ts.map +1 -0
- package/es/kernel/restapi.js +367 -0
- package/es/kernel/serialize.d.ts +10 -0
- package/es/kernel/serialize.d.ts.map +1 -0
- package/es/kernel/serialize.js +214 -0
- package/es/kernel/validate.d.ts +15 -0
- package/es/kernel/validate.d.ts.map +1 -0
- package/es/kernel/validate.js +125 -0
- package/es/kernelspec/index.d.ts +5 -0
- package/es/kernelspec/index.d.ts.map +1 -0
- package/es/kernelspec/index.js +4 -0
- package/es/kernelspec/kernelspec-module.d.ts +3 -0
- package/es/kernelspec/kernelspec-module.d.ts.map +1 -0
- package/es/kernelspec/kernelspec-module.js +4 -0
- package/es/kernelspec/kernelspec.d.ts +33 -0
- package/es/kernelspec/kernelspec.d.ts.map +1 -0
- package/es/kernelspec/kernelspec.js +1 -0
- package/es/kernelspec/manager.d.ts +81 -0
- package/es/kernelspec/manager.d.ts.map +1 -0
- package/es/kernelspec/manager.js +248 -0
- package/es/kernelspec/restapi.d.ts +71 -0
- package/es/kernelspec/restapi.d.ts.map +1 -0
- package/es/kernelspec/restapi.js +107 -0
- package/es/kernelspec/validate.d.ts +10 -0
- package/es/kernelspec/validate.d.ts.map +1 -0
- package/es/kernelspec/validate.js +69 -0
- package/es/libro-kernel-connection-manager.d.ts +19 -0
- package/es/libro-kernel-connection-manager.d.ts.map +1 -0
- package/es/libro-kernel-connection-manager.js +142 -0
- package/es/module.d.ts +3 -0
- package/es/module.d.ts.map +1 -0
- package/es/module.js +9 -0
- package/es/page-config.d.ts +36 -0
- package/es/page-config.d.ts.map +1 -0
- package/es/page-config.js +129 -0
- package/es/protocol.d.ts +13 -0
- package/es/protocol.d.ts.map +1 -0
- package/es/protocol.js +8 -0
- package/es/server/connection-error.d.ts +36 -0
- package/es/server/connection-error.d.ts.map +1 -0
- package/es/server/connection-error.js +109 -0
- package/es/server/index.d.ts +6 -0
- package/es/server/index.d.ts.map +1 -0
- package/es/server/index.js +5 -0
- package/es/server/server-connection-protocol.d.ts +49 -0
- package/es/server/server-connection-protocol.d.ts.map +1 -0
- package/es/server/server-connection-protocol.js +0 -0
- package/es/server/server-connection.d.ts +25 -0
- package/es/server/server-connection.d.ts.map +1 -0
- package/es/server/server-connection.js +159 -0
- package/es/server/server-manager.d.ts +22 -0
- package/es/server/server-manager.d.ts.map +1 -0
- package/es/server/server-manager.js +163 -0
- package/es/server/server-module.d.ts +3 -0
- package/es/server/server-module.d.ts.map +1 -0
- package/es/server/server-module.js +4 -0
- package/es/session/index.d.ts +5 -0
- package/es/session/index.d.ts.map +1 -0
- package/es/session/index.js +4 -0
- package/es/session/libro-session-manager.d.ts +71 -0
- package/es/session/libro-session-manager.d.ts.map +1 -0
- package/es/session/libro-session-manager.js +539 -0
- package/es/session/libro-session-protocol.d.ts +50 -0
- package/es/session/libro-session-protocol.d.ts.map +1 -0
- package/es/session/libro-session-protocol.js +21 -0
- package/es/session/libro-session.d.ts +12 -0
- package/es/session/libro-session.d.ts.map +1 -0
- package/es/session/libro-session.js +19 -0
- package/es/session/restapi.d.ts +28 -0
- package/es/session/restapi.d.ts.map +1 -0
- package/es/session/restapi.js +214 -0
- package/es/session/session-module.d.ts +3 -0
- package/es/session/session-module.d.ts.map +1 -0
- package/es/session/session-module.js +18 -0
- package/es/session/validate.d.ts +14 -0
- package/es/session/validate.d.ts.map +1 -0
- package/es/session/validate.js +37 -0
- package/es/utils.d.ts +4 -0
- package/es/utils.d.ts.map +1 -0
- package/es/utils.js +29 -0
- package/es/validate-property.d.ts +2 -0
- package/es/validate-property.d.ts.map +1 -0
- package/es/validate-property.js +35 -0
- package/package.json +62 -0
- package/src/basemanager.ts +133 -0
- package/src/contents/contents-drive.ts +495 -0
- package/src/contents/contents-manager.ts +465 -0
- package/src/contents/contents-module.ts +6 -0
- package/src/contents/contents-protocol.ts +604 -0
- package/src/contents/index.ts +5 -0
- package/src/contents/validate.ts +29 -0
- package/src/index.tsx +9 -0
- package/src/kernel/comm.ts +220 -0
- package/src/kernel/future.ts +474 -0
- package/src/kernel/index.ts +7 -0
- package/src/kernel/kernel-connection.ts +1770 -0
- package/src/kernel/kernel-module.ts +50 -0
- package/src/kernel/libro-kernel-manager.ts +199 -0
- package/src/kernel/libro-kernel-protocol.ts +858 -0
- package/src/kernel/libro-kernel-utils.ts +152 -0
- package/src/kernel/libro-kernel.ts +39 -0
- package/src/kernel/messages.ts +1104 -0
- package/src/kernel/restapi.ts +183 -0
- package/src/kernel/serialize.ts +262 -0
- package/src/kernel/validate.ts +101 -0
- package/src/kernelspec/index.ts +5 -0
- package/src/kernelspec/kernelspec-module.ts +9 -0
- package/src/kernelspec/kernelspec.ts +37 -0
- package/src/kernelspec/manager.ts +173 -0
- package/src/kernelspec/restapi.ts +104 -0
- package/src/kernelspec/validate.ts +80 -0
- package/src/libro-kernel-connection-manager.ts +73 -0
- package/src/module.ts +19 -0
- package/src/page-config.ts +106 -0
- package/src/protocol.ts +24 -0
- package/src/server/connection-error.ts +60 -0
- package/src/server/index.ts +5 -0
- package/src/server/server-connection-protocol.ts +57 -0
- package/src/server/server-connection.ts +144 -0
- package/src/server/server-manager.ts +76 -0
- package/src/server/server-module.ts +9 -0
- package/src/session/index.ts +4 -0
- package/src/session/libro-session-manager.ts +377 -0
- package/src/session/libro-session-protocol.ts +61 -0
- package/src/session/libro-session.ts +33 -0
- package/src/session/restapi.ts +126 -0
- package/src/session/session-module.ts +26 -0
- package/src/session/validate.ts +39 -0
- package/src/utils.ts +28 -0
- package/src/validate-property.ts +38 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/kernel/messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAG/E,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,OAAO;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC;IACtB,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC;IACjC,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC;IACtB,OAAO,CAAC,EAAE,CAAC,WAAW,GAAG,eAAe,CAAC,EAAE,CAAC;IAC5C,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,CAAC,CAAC,eAAe,CAAC,CAAC;CACnC;AACD,wBAAgB,aAAa,CAAC,CAAC,SAAS,eAAe,EACrD,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,GAC1B,CAAC,CAAC;AACL,wBAAgB,aAAa,CAAC,CAAC,SAAS,aAAa,CAAC,OAAO,CAAC,EAC5D,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,GAC1B,CAAC,CAAC;AACL,wBAAgB,aAAa,CAAC,CAAC,SAAS,aAAa,CAAC,OAAO,CAAC,EAC5D,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,GAC1B,CAAC,CAAC;AACL,wBAAgB,aAAa,CAAC,C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AG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,UAAU,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,OAAO,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,CAAC;KACZ,CAAC;CACH;AAMD;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,aAAa,CAAC,eAAe,CAAC;IACtE,OAAO,EAAE;QACP;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAe,SAAQ,aAAa,CAAC,aAAa,CAAC;IAClE,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACxC,OAAO,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;CACpC;AAMD;;GAEG;AACH,oBAAY,iCAAiC;IAC3C,2BAA2B,oCAAoC;CAChE"}
|
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
import { v4 } from 'uuid';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @hidden
|
|
5
|
+
* #### Notes
|
|
6
|
+
* Debug messages are experimental messages that are not in the official
|
|
7
|
+
* kernel message specification. As such, this function is *NOT* considered
|
|
8
|
+
* part of the public API, and may change without notice.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
* #### Notes
|
|
14
|
+
* Debug messages are experimental messages that are not in the official
|
|
15
|
+
* kernel message specification. As such, this function is *NOT* considered
|
|
16
|
+
* part of the public API, and may change without notice.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
* #### Notes
|
|
22
|
+
* Debug messages are experimental messages that are not in the official
|
|
23
|
+
* kernel message specification. As such, this function is *NOT* considered
|
|
24
|
+
* part of the public API, and may change without notice.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
export function createMessage(options) {
|
|
28
|
+
var _options$buffers, _options$msgId, _options$username, _options$metadata, _options$parentHeader;
|
|
29
|
+
return {
|
|
30
|
+
buffers: (_options$buffers = options.buffers) !== null && _options$buffers !== void 0 ? _options$buffers : [],
|
|
31
|
+
channel: options.channel,
|
|
32
|
+
content: options.content,
|
|
33
|
+
header: {
|
|
34
|
+
date: new Date().toISOString(),
|
|
35
|
+
msg_id: (_options$msgId = options.msgId) !== null && _options$msgId !== void 0 ? _options$msgId : v4(),
|
|
36
|
+
msg_type: options.msgType,
|
|
37
|
+
session: options.session,
|
|
38
|
+
username: (_options$username = options.username) !== null && _options$username !== void 0 ? _options$username : '',
|
|
39
|
+
version: '5.2'
|
|
40
|
+
},
|
|
41
|
+
metadata: (_options$metadata = options.metadata) !== null && _options$metadata !== void 0 ? _options$metadata : {},
|
|
42
|
+
parent_header: (_options$parentHeader = options.parentHeader) !== null && _options$parentHeader !== void 0 ? _options$parentHeader : {}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Shell message types.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Control message types.
|
|
52
|
+
*
|
|
53
|
+
* #### Notes
|
|
54
|
+
* Debug messages are experimental messages that are not in the official
|
|
55
|
+
* kernel message specification. As such, debug message types are *NOT*
|
|
56
|
+
* considered part of the public API, and may change without notice.
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* IOPub message types.
|
|
61
|
+
*
|
|
62
|
+
* #### Notes
|
|
63
|
+
* Debug messages are experimental messages that are not in the official
|
|
64
|
+
* kernel message specification. As such, debug message types are *NOT*
|
|
65
|
+
* considered part of the public API, and may change without notice.
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Stdin message types.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Jupyter message types.
|
|
74
|
+
*/
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The valid Jupyter channel names in a message to a frontend.
|
|
78
|
+
*/
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Kernel message header content.
|
|
82
|
+
*
|
|
83
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#general-message-format).
|
|
84
|
+
*
|
|
85
|
+
* **See also:** [[IMessage]]
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Kernel message specification.
|
|
90
|
+
*
|
|
91
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#general-message-format).
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* A kernel message on the `'shell'` channel.
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* A kernel message on the `'control'` channel.
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* A message type for shell or control messages.
|
|
104
|
+
*
|
|
105
|
+
* #### Notes
|
|
106
|
+
* This convenience is so we can use it as a generic type constraint.
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* A kernel message on the `'iopub'` channel.
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* A kernel message on the `'stdin'` channel.
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Message types.
|
|
119
|
+
*
|
|
120
|
+
* #### Notes
|
|
121
|
+
* Debug messages are experimental messages that are not in the official
|
|
122
|
+
* kernel message specification. As such, debug message types are *NOT*
|
|
123
|
+
* considered part of the public API, and may change without notice.
|
|
124
|
+
*/
|
|
125
|
+
|
|
126
|
+
// ////////////////////////////////////////////////
|
|
127
|
+
// IOPub Messages
|
|
128
|
+
// ///////////////////////////////////////////////
|
|
129
|
+
/**
|
|
130
|
+
* A `'stream'` message on the `'iopub'` channel.
|
|
131
|
+
*
|
|
132
|
+
* See [Streams](https://jupyter-client.readthedocs.io/en/latest/messaging.html#streams-stdout-stderr-etc).
|
|
133
|
+
*/
|
|
134
|
+
/**
|
|
135
|
+
* A `'display_data'` message on the `'iopub'` channel.
|
|
136
|
+
*
|
|
137
|
+
* See [Display data](https://jupyter-client.readthedocs.io/en/latest/messaging.html#display-data).
|
|
138
|
+
*/
|
|
139
|
+
/**
|
|
140
|
+
* An `'update_display_data'` message on the `'iopub'` channel.
|
|
141
|
+
*
|
|
142
|
+
* See [Update Display data](https://jupyter-client.readthedocs.io/en/latest/messaging.html#update-display-data).
|
|
143
|
+
*/
|
|
144
|
+
/**
|
|
145
|
+
* An `'execute_input'` message on the `'iopub'` channel.
|
|
146
|
+
*
|
|
147
|
+
* See [Code inputs](https://jupyter-client.readthedocs.io/en/latest/messaging.html#code-inputs).
|
|
148
|
+
*/
|
|
149
|
+
/**
|
|
150
|
+
* An `'execute_result'` message on the `'iopub'` channel.
|
|
151
|
+
*
|
|
152
|
+
* See [Execution results](https://jupyter-client.readthedocs.io/en/latest/messaging.html#id4).
|
|
153
|
+
*/
|
|
154
|
+
/**
|
|
155
|
+
* A `'error'` message on the `'iopub'` channel.
|
|
156
|
+
*
|
|
157
|
+
* See [Execution errors](https://jupyter-client.readthedocs.io/en/latest/messaging.html#execution-errors).
|
|
158
|
+
*/
|
|
159
|
+
/**
|
|
160
|
+
* The valid Kernel status states.
|
|
161
|
+
*
|
|
162
|
+
* #### Notes
|
|
163
|
+
* The status states are:
|
|
164
|
+
* * `unknown`: The kernel status is unknown, often because the connection
|
|
165
|
+
* is disconnected or connecting. This state is determined by the kernel
|
|
166
|
+
* connection status.
|
|
167
|
+
* * `autorestarting`: The kernel is restarting, initiated by the server.
|
|
168
|
+
* This state is set by the services library, not explicitly sent from the
|
|
169
|
+
* kernel.
|
|
170
|
+
* * `starting`: The kernel is starting
|
|
171
|
+
* * `idle`: The kernel has finished processing messages.
|
|
172
|
+
* * `busy`: The kernel is currently processing messages.
|
|
173
|
+
* * `restarting`: The kernel is restarting. This state is sent by the
|
|
174
|
+
* Jupyter server.
|
|
175
|
+
* * `dead`: The kernel is dead and will not be restarted. This state is set
|
|
176
|
+
* by the Jupyter server and is a final state.
|
|
177
|
+
*/
|
|
178
|
+
/**
|
|
179
|
+
* A `'status'` message on the `'iopub'` channel.
|
|
180
|
+
*
|
|
181
|
+
* See [Kernel status](https://jupyter-client.readthedocs.io/en/latest/messaging.html#kernel-status).
|
|
182
|
+
*/
|
|
183
|
+
/**
|
|
184
|
+
* A `'clear_output'` message on the `'iopub'` channel.
|
|
185
|
+
*
|
|
186
|
+
* See [Clear output](https://jupyter-client.readthedocs.io/en/latest/messaging.html#clear-output).
|
|
187
|
+
*/
|
|
188
|
+
/**
|
|
189
|
+
* An experimental `'debug_event'` message on the `'iopub'` channel
|
|
190
|
+
*
|
|
191
|
+
* @hidden
|
|
192
|
+
*
|
|
193
|
+
* #### Notes
|
|
194
|
+
* Debug messages are experimental messages that are not in the official
|
|
195
|
+
* kernel message specification. As such, this is *NOT* considered
|
|
196
|
+
* part of the public API, and may change without notice.
|
|
197
|
+
*/
|
|
198
|
+
// ////////////////////////////////////////////////
|
|
199
|
+
// Comm Messages
|
|
200
|
+
// ///////////////////////////////////////////////
|
|
201
|
+
/**
|
|
202
|
+
* A `'comm_open'` message on the `'iopub'` channel.
|
|
203
|
+
*
|
|
204
|
+
* See [Comm open](https://jupyter-client.readthedocs.io/en/latest/messaging.html#opening-a-comm).
|
|
205
|
+
*/
|
|
206
|
+
/**
|
|
207
|
+
* A `'comm_close'` message on the `'iopub'` channel.
|
|
208
|
+
*
|
|
209
|
+
* See [Comm close](https://jupyter-client.readthedocs.io/en/latest/messaging.html#opening-a-comm).
|
|
210
|
+
*/
|
|
211
|
+
/**
|
|
212
|
+
* A `'comm_msg'` message on the `'iopub'` channel.
|
|
213
|
+
*
|
|
214
|
+
* See [Comm msg](https://jupyter-client.readthedocs.io/en/latest/messaging.html#opening-a-comm).
|
|
215
|
+
*/
|
|
216
|
+
// ////////////////////////////////////////////////
|
|
217
|
+
// Shell Messages
|
|
218
|
+
// ///////////////////////////////////////////////
|
|
219
|
+
/**
|
|
220
|
+
* Reply content indicating a successful request.
|
|
221
|
+
*/
|
|
222
|
+
/**
|
|
223
|
+
* Reply content indicating an error.
|
|
224
|
+
*
|
|
225
|
+
* See the [Message spec](https://jupyter-client.readthedocs.io/en/latest/messaging.html#request-reply) for details.
|
|
226
|
+
*/
|
|
227
|
+
/**
|
|
228
|
+
* Reply content indicating an aborted request.
|
|
229
|
+
*
|
|
230
|
+
* This is [deprecated](https://jupyter-client.readthedocs.io/en/latest/messaging.html#request-reply)
|
|
231
|
+
* in message spec 5.1. Kernels should send an 'error' reply instead.
|
|
232
|
+
*/
|
|
233
|
+
/**
|
|
234
|
+
* A convenience type for reply content.
|
|
235
|
+
*
|
|
236
|
+
* This automatically unions the necessary error and abort replies required in
|
|
237
|
+
* the [message spec](https://jupyter-client.readthedocs.io/en/latest/messaging.html#request-reply).
|
|
238
|
+
*/
|
|
239
|
+
/**
|
|
240
|
+
* A `'kernel_info_request'` message on the `'shell'` channel.
|
|
241
|
+
*
|
|
242
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#kernel-info).
|
|
243
|
+
*/
|
|
244
|
+
/**
|
|
245
|
+
* A `'kernel_info_reply'` message content.
|
|
246
|
+
*
|
|
247
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#kernel-info).
|
|
248
|
+
*/
|
|
249
|
+
/**
|
|
250
|
+
* The kernel language information specification.
|
|
251
|
+
*
|
|
252
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#kernel-info).
|
|
253
|
+
*/
|
|
254
|
+
/**
|
|
255
|
+
* A `'kernel_info_reply'` message on the `'shell'` channel.
|
|
256
|
+
*
|
|
257
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#kernel-info).
|
|
258
|
+
*/
|
|
259
|
+
/**
|
|
260
|
+
* A `'complete_request'` message.
|
|
261
|
+
*
|
|
262
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#completion).
|
|
263
|
+
*
|
|
264
|
+
* **See also:** [[ICompleteReplyMsg]], [[IKernel.complete]]
|
|
265
|
+
*/
|
|
266
|
+
/**
|
|
267
|
+
* A `'complete_reply'` message content.
|
|
268
|
+
*
|
|
269
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#completion).
|
|
270
|
+
*
|
|
271
|
+
* **See also:** [[ICompleteRequest]], [[IKernel.complete]]
|
|
272
|
+
*/
|
|
273
|
+
/**
|
|
274
|
+
* A `'complete_reply'` message on the `'shell'` channel.
|
|
275
|
+
*
|
|
276
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#completion).
|
|
277
|
+
*
|
|
278
|
+
* **See also:** [[ICompleteRequest]], [[IKernel.complete]]
|
|
279
|
+
*/
|
|
280
|
+
/**
|
|
281
|
+
* An `'inspect_request'` message.
|
|
282
|
+
*
|
|
283
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#introspection).
|
|
284
|
+
*
|
|
285
|
+
* **See also:** [[IInspectReplyMsg]], [[[IKernel.inspect]]]
|
|
286
|
+
*/
|
|
287
|
+
/**
|
|
288
|
+
* A `'inspect_reply'` message content.
|
|
289
|
+
*
|
|
290
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#introspection).
|
|
291
|
+
*
|
|
292
|
+
* **See also:** [[IInspectRequest]], [[IKernel.inspect]]
|
|
293
|
+
*/
|
|
294
|
+
/**
|
|
295
|
+
* A `'inspect_reply'` message on the `'shell'` channel.
|
|
296
|
+
*
|
|
297
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#introspection).
|
|
298
|
+
*
|
|
299
|
+
* **See also:** [[IInspectRequest]], [[IKernel.inspect]]
|
|
300
|
+
*/
|
|
301
|
+
/**
|
|
302
|
+
* A `'history_request'` message.
|
|
303
|
+
*
|
|
304
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#history).
|
|
305
|
+
*
|
|
306
|
+
* **See also:** [[IHistoryReplyMsg]], [[[IKernel.history]]]
|
|
307
|
+
*/
|
|
308
|
+
/**
|
|
309
|
+
* The content of a `'history_request'` range message.
|
|
310
|
+
*
|
|
311
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#history).
|
|
312
|
+
*
|
|
313
|
+
* **See also:** [[IHistoryReply]], [[[IKernel.history]]]
|
|
314
|
+
*/
|
|
315
|
+
/**
|
|
316
|
+
* The content of a `'history_request'` search message.
|
|
317
|
+
*
|
|
318
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#history).
|
|
319
|
+
*
|
|
320
|
+
* **See also:** [[IHistoryReply]], [[[IKernel.history]]]
|
|
321
|
+
*/
|
|
322
|
+
/**
|
|
323
|
+
* The content of a `'history_request'` tail message.
|
|
324
|
+
*
|
|
325
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#history).
|
|
326
|
+
*
|
|
327
|
+
* **See also:** [[IHistoryReply]], [[[IKernel.history]]]
|
|
328
|
+
*/
|
|
329
|
+
/**
|
|
330
|
+
* A `'history_reply'` message content.
|
|
331
|
+
*
|
|
332
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#history).
|
|
333
|
+
*
|
|
334
|
+
* **See also:** [[IHistoryRequest]], [[IKernel.history]]
|
|
335
|
+
*/
|
|
336
|
+
/**
|
|
337
|
+
* A `'history_reply'` message on the `'shell'` channel.
|
|
338
|
+
*
|
|
339
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#history).
|
|
340
|
+
*
|
|
341
|
+
* **See also:** [[IHistoryRequest]], [[IKernel.history]]
|
|
342
|
+
*/
|
|
343
|
+
/**
|
|
344
|
+
* An `'is_complete_request'` message.
|
|
345
|
+
*
|
|
346
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#code-completeness).
|
|
347
|
+
*
|
|
348
|
+
* **See also:** [[IIsCompleteReplyMsg]], [[IKernel.isComplete]]
|
|
349
|
+
*/
|
|
350
|
+
/**
|
|
351
|
+
* An `'is_complete_reply'` message on the `'stream'` channel.
|
|
352
|
+
*
|
|
353
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#code-completeness).
|
|
354
|
+
*
|
|
355
|
+
* **See also:** [[IIsCompleteRequest]], [[IKernel.isComplete]]
|
|
356
|
+
*/
|
|
357
|
+
/**
|
|
358
|
+
* An 'incomplete' completion reply
|
|
359
|
+
*/
|
|
360
|
+
/**
|
|
361
|
+
* A completion reply for completion or invalid states.
|
|
362
|
+
*/
|
|
363
|
+
/**
|
|
364
|
+
* An `execute_request` message on the `'shell'` channel.
|
|
365
|
+
*/
|
|
366
|
+
/**
|
|
367
|
+
* The content of an `execute-reply` message.
|
|
368
|
+
*
|
|
369
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#execution-results).
|
|
370
|
+
*/
|
|
371
|
+
/**
|
|
372
|
+
* A convenience type for a base for an execute reply content.
|
|
373
|
+
*/
|
|
374
|
+
/**
|
|
375
|
+
* The `'execute_reply'` contents for an `'ok'` status.
|
|
376
|
+
*
|
|
377
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#execution-results).
|
|
378
|
+
*/
|
|
379
|
+
/**
|
|
380
|
+
* An `'execute_reply'` message on the `'stream'` channel.
|
|
381
|
+
*
|
|
382
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#execution-results).
|
|
383
|
+
*
|
|
384
|
+
* **See also:** [[IExecuteRequest]], [[IKernel.execute]]
|
|
385
|
+
*/
|
|
386
|
+
/**
|
|
387
|
+
* A `'comm_info_request'` message on the `'shell'` channel.
|
|
388
|
+
*
|
|
389
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#comm-info).
|
|
390
|
+
*
|
|
391
|
+
* **See also:** [[ICommInfoReplyMsg]], [[IKernel.commInfo]]
|
|
392
|
+
*/
|
|
393
|
+
/**
|
|
394
|
+
* A `'comm_info_reply'` message content.
|
|
395
|
+
*
|
|
396
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#comm-info).
|
|
397
|
+
*
|
|
398
|
+
* **See also:** [[ICommInfoRequest]], [[IKernel.commInfo]]
|
|
399
|
+
*/
|
|
400
|
+
/**
|
|
401
|
+
* A `'comm_info_reply'` message on the `'shell'` channel.
|
|
402
|
+
*
|
|
403
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#comm-info).
|
|
404
|
+
*
|
|
405
|
+
* **See also:** [[ICommInfoRequestMsg]], [[IKernel.commInfo]]
|
|
406
|
+
*/
|
|
407
|
+
// ///////////////////////////////////////////////
|
|
408
|
+
// Control Messages
|
|
409
|
+
// ///////////////////////////////////////////////
|
|
410
|
+
/**
|
|
411
|
+
* An experimental `'debug_request'` message on the `'control'` channel.
|
|
412
|
+
*
|
|
413
|
+
* @hidden
|
|
414
|
+
*
|
|
415
|
+
* #### Notes
|
|
416
|
+
* Debug messages are experimental messages that are not in the official
|
|
417
|
+
* kernel message specification. As such, this function is *NOT* considered
|
|
418
|
+
* part of the public API, and may change without notice.
|
|
419
|
+
*/
|
|
420
|
+
/**
|
|
421
|
+
* An experimental `'debug_reply'` message on the `'control'` channel.
|
|
422
|
+
*
|
|
423
|
+
* @hidden
|
|
424
|
+
*
|
|
425
|
+
* #### Notes
|
|
426
|
+
* Debug messages are experimental messages that are not in the official
|
|
427
|
+
* kernel message specification. As such, this is *NOT* considered
|
|
428
|
+
* part of the public API, and may change without notice.
|
|
429
|
+
*/
|
|
430
|
+
// ////////////////////////////////////////////////
|
|
431
|
+
// Stdin Messages
|
|
432
|
+
// ///////////////////////////////////////////////
|
|
433
|
+
/**
|
|
434
|
+
* An `'input_request'` message on the `'stdin'` channel.
|
|
435
|
+
*
|
|
436
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#messages-on-the-stdin-router-dealer-sockets).
|
|
437
|
+
*/
|
|
438
|
+
/**
|
|
439
|
+
* An `'input_reply'` message content.
|
|
440
|
+
*
|
|
441
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#messages-on-the-stdin-router-dealer-sockets).
|
|
442
|
+
*/
|
|
443
|
+
/**
|
|
444
|
+
* An `'input_reply'` message on the `'stdin'` channel.
|
|
445
|
+
*
|
|
446
|
+
* See [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/latest/messaging.html#messages-on-the-stdin-router-dealer-sockets).
|
|
447
|
+
*/
|
|
448
|
+
// ///////////////////////////////////////////////
|
|
449
|
+
// Message (de)serialization
|
|
450
|
+
// ///////////////////////////////////////////////
|
|
451
|
+
/**
|
|
452
|
+
* The list of supported kernel wire protocols over websocket.
|
|
453
|
+
*/
|
|
454
|
+
export var supportedKernelWebSocketProtocols = /*#__PURE__*/function (supportedKernelWebSocketProtocols) {
|
|
455
|
+
supportedKernelWebSocketProtocols["v1KernelWebsocketJupyterOrg"] = "v1.kernel.websocket.jupyter.org";
|
|
456
|
+
return supportedKernelWebSocketProtocols;
|
|
457
|
+
}({});
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { ISettings } from '../server/index.js';
|
|
2
|
+
import { ServerConnection } from '../server/index.js';
|
|
3
|
+
import type { IKernelModel, KernelMeta } from './libro-kernel-protocol.js';
|
|
4
|
+
export declare const KERNEL_SERVICE_URL = "api/kernels";
|
|
5
|
+
export declare class KernelRestAPI {
|
|
6
|
+
serverConnection: ServerConnection;
|
|
7
|
+
/**
|
|
8
|
+
* Get a full kernel model from the server by kernel id string.
|
|
9
|
+
*
|
|
10
|
+
* #### Notes
|
|
11
|
+
* Uses the [Jupyter Notebook API](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/jupyter/notebook/master/notebook/services/api/api.yaml#!/kernels) and validates the response model.
|
|
12
|
+
*
|
|
13
|
+
* The promise is fulfilled on a valid response and rejected otherwise.
|
|
14
|
+
*/
|
|
15
|
+
getKernelModel(id: string, serverSettings?: Partial<ISettings>): Promise<IKernelModel | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Start a new kernel.
|
|
18
|
+
*
|
|
19
|
+
* @param options - The options used to create the kernel.
|
|
20
|
+
*
|
|
21
|
+
* @returns A promise that resolves with a kernel connection object.
|
|
22
|
+
*
|
|
23
|
+
* #### Notes
|
|
24
|
+
* Uses the [Jupyter Notebook API](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/jupyter/notebook/master/notebook/services/api/api.yaml#!/kernels) and validates the response model.
|
|
25
|
+
*
|
|
26
|
+
* The promise is fulfilled on a valid response and rejected otherwise.
|
|
27
|
+
*/
|
|
28
|
+
startNew(options?: IKernelOptions, serverSettings?: Partial<ISettings>): Promise<IKernelModel>;
|
|
29
|
+
/**
|
|
30
|
+
* Fetch the running kernels.
|
|
31
|
+
*
|
|
32
|
+
* @param settings - The optional server settings.
|
|
33
|
+
*
|
|
34
|
+
* @returns A promise that resolves with the list of running kernels.
|
|
35
|
+
*
|
|
36
|
+
* #### Notes
|
|
37
|
+
* Uses the [Jupyter Notebook API](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/jupyter/notebook/master/notebook/services/api/api.yaml#!/kernels) and validates the response model.
|
|
38
|
+
*
|
|
39
|
+
* The promise is fulfilled on a valid response and rejected otherwise.
|
|
40
|
+
*/
|
|
41
|
+
listRunning(serverSettings?: Partial<ISettings>): Promise<KernelMeta[]>;
|
|
42
|
+
/**
|
|
43
|
+
* Shut down a kernel.
|
|
44
|
+
*
|
|
45
|
+
* @param id - The id of the running kernel.
|
|
46
|
+
*
|
|
47
|
+
* @param settings - The server settings for the request.
|
|
48
|
+
*
|
|
49
|
+
* @returns A promise that resolves when the kernel is shut down.
|
|
50
|
+
*
|
|
51
|
+
*
|
|
52
|
+
* #### Notes
|
|
53
|
+
* Uses the [Jupyter Notebook API](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/jupyter/notebook/master/notebook/services/api/api.yaml#!/kernels) and validates the response model.
|
|
54
|
+
*
|
|
55
|
+
* The promise is fulfilled on a valid response and rejected otherwise.
|
|
56
|
+
*/
|
|
57
|
+
shutdownKernel(id: string, serverSettings?: Partial<ISettings>): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Restart a kernel.
|
|
60
|
+
*
|
|
61
|
+
* #### Notes
|
|
62
|
+
* Uses the [Jupyter Notebook API](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/jupyter/notebook/master/notebook/services/api/api.yaml#!/kernels) and validates the response model.
|
|
63
|
+
*
|
|
64
|
+
* The promise is fulfilled on a valid response (and thus after a restart) and rejected otherwise.
|
|
65
|
+
*/
|
|
66
|
+
restartKernel(id: string, serverSettings?: Partial<ISettings>): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Interrupt a kernel.
|
|
69
|
+
*
|
|
70
|
+
* #### Notes
|
|
71
|
+
* Uses the [Jupyter Notebook API](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/jupyter/notebook/master/notebook/services/api/api.yaml#!/kernels) and validates the response model.
|
|
72
|
+
*
|
|
73
|
+
* The promise is fulfilled on a valid response and rejected otherwise.
|
|
74
|
+
*/
|
|
75
|
+
interruptKernel(id: string, serverSettings?: Partial<ISettings>): Promise<void>;
|
|
76
|
+
}
|
|
77
|
+
export type IKernelOptions = Partial<Pick<IKernelModel, 'name'>>;
|
|
78
|
+
//# sourceMappingURL=restapi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restapi.d.ts","sourceRoot":"","sources":["../../src/kernel/restapi.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAuB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3E,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAG3E,eAAO,MAAM,kBAAkB,gBAAgB,CAAC;AAEhD,qBACa,aAAa;IACE,gBAAgB,EAAE,gBAAgB,CAAC;IAE7D;;;;;;;OAOG;IACG,cAAc,CAClB,EAAE,EAAE,MAAM,EACV,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAClC,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC;IAgBpC;;;;;;;;;;;OAWG;IACG,QAAQ,CACZ,OAAO,GAAE,cAAmB,EAC5B,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAClC,OAAO,CAAC,YAAY,CAAC;IAiBxB;;;;;;;;;;;OAWG;IACG,WAAW,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAa7E;;;;;;;;;;;;;;OAcG;IACG,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAcpF;;;;;;;OAOG;IACG,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAmBnF;;;;;;;O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