@difizen/libro-jupyter 0.2.32 → 0.2.33
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-jupyter-model.d.ts","sourceRoot":"","sources":["../src/libro-jupyter-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,gBAAgB,EAChB,aAAa,EACd,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AACxF,OAAO,KAAK,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,EAAa,YAAY,EAAQ,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI7C,OAAO,EAGL,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAGrC,KAAK,MAAM,GAAG,cAAc,CAAC;AAC7B,qBACa,iBAAkB,SAAQ,UAAW,YAAW,uBAAuB;IAClF,SAAS,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC7C,SAAS,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAEjD,IAAI,WAAW,qBAEd;IAGD,mBAAmB,EAAE,MAAM,CAAC;IAE5B,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC;IAE/B,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC;IAE/B,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IAGrC,UAAU,UAAQ;IAElB,SAAS,CAAC,uBAAuB,EAAE,4BA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EhD,wBAAwB,EAAE,wBAAwB;IA6BpD,IAAI,YAAY,wBAEf;IAED,IAAI,eAAe,IAIQ,MAAM,CAFhC;IAED,IAAI,eAAe,CAAC,KAAK,EAAE,MAAM,EAEhC;IAED,IAAI,mBAAmB,IAIQ,MAAM,CAFpC;IAED,IAAI,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAEpC;IACD,SAAS,CAAC,UAAU,8BAAqC;IACzD,IAAI,OAAO,+BAEV;IAGD,gBAAgB,EAAE,OAAO,GAAG,SAAS,CAAC;IAGtC,QAAQ,SAAM;IAEd,SAAS,CAAC,aAAa,SAAM;IAE7B,IAAI,YAAY,IAIQ,MAAM,CAF7B;IAED,IAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAE7B;IAED,qBAAqB,EAAE,wBAAwB,CAAC;IAE1C,gBAAgB;IAMhB,eAAe;IAIf,iBAAiB,CAAC,YAAY,EAAE,MAAM;IAItC,gBAAgB,CAAC,YAAY,EAAE,MAAM;IAI5B,mBAAmB,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAS/D,qBAAqB;IA2BZ,MAAM;IAcT,SAAS;IAQT,QAAQ;IAUR,OAAO;IAkBP,SAAS;IAQf,eAAe;CAYhB"}
|
|
@@ -209,56 +209,74 @@ export var LibroJupyterModel = (_dec = transient(), _dec2 = prop(), _dec3 = prop
|
|
|
209
209
|
}()
|
|
210
210
|
}, {
|
|
211
211
|
key: "loadNotebookContent",
|
|
212
|
-
value: function
|
|
213
|
-
var
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
value: function () {
|
|
213
|
+
var _loadNotebookContent = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
214
|
+
var content;
|
|
215
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
216
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
217
|
+
case 0:
|
|
218
|
+
_context5.next = 2;
|
|
219
|
+
return _get(_getPrototypeOf(LibroJupyterModel.prototype), "loadNotebookContent", this).call(this);
|
|
220
|
+
case 2:
|
|
221
|
+
content = _context5.sent;
|
|
222
|
+
this.id = this.currentFileContents.path; // use file path as id, will be passed to editor and lsp
|
|
223
|
+
if (this.executable && !this.kernelConnecting) {
|
|
224
|
+
this.startKernelConnection();
|
|
225
|
+
}
|
|
226
|
+
return _context5.abrupt("return", content);
|
|
227
|
+
case 6:
|
|
228
|
+
case "end":
|
|
229
|
+
return _context5.stop();
|
|
230
|
+
}
|
|
231
|
+
}, _callee5, this);
|
|
232
|
+
}));
|
|
233
|
+
function loadNotebookContent() {
|
|
234
|
+
return _loadNotebookContent.apply(this, arguments);
|
|
217
235
|
}
|
|
218
|
-
return
|
|
219
|
-
}
|
|
236
|
+
return loadNotebookContent;
|
|
237
|
+
}()
|
|
220
238
|
}, {
|
|
221
239
|
key: "startKernelConnection",
|
|
222
240
|
value: function startKernelConnection() {
|
|
223
241
|
var _this2 = this;
|
|
224
242
|
this.kernelConnecting = true;
|
|
225
243
|
var fileInfo = this.currentFileContents;
|
|
226
|
-
this.serverManager.ready.then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
244
|
+
this.serverManager.ready.then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
227
245
|
var kernelConnection, kc;
|
|
228
|
-
return _regeneratorRuntime().wrap(function
|
|
229
|
-
while (1) switch (
|
|
246
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
247
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
230
248
|
case 0:
|
|
231
249
|
kernelConnection = _this2.kernelConnectionManager.getKernelConnection(fileInfo);
|
|
232
250
|
if (!kernelConnection) {
|
|
233
|
-
|
|
251
|
+
_context6.next = 7;
|
|
234
252
|
break;
|
|
235
253
|
}
|
|
236
254
|
_this2.kernelConnection = kernelConnection;
|
|
237
255
|
_this2.kcDeferred.resolve(_this2.kernelConnection);
|
|
238
256
|
_this2.kernelConnecting = false;
|
|
239
|
-
|
|
257
|
+
_context6.next = 15;
|
|
240
258
|
break;
|
|
241
259
|
case 7:
|
|
242
|
-
|
|
260
|
+
_context6.next = 9;
|
|
243
261
|
return _this2.kernelConnectionManager.startNew(_this2.currentFileContents);
|
|
244
262
|
case 9:
|
|
245
|
-
kc =
|
|
263
|
+
kc = _context6.sent;
|
|
246
264
|
if (kc) {
|
|
247
|
-
|
|
265
|
+
_context6.next = 12;
|
|
248
266
|
break;
|
|
249
267
|
}
|
|
250
|
-
return
|
|
268
|
+
return _context6.abrupt("return");
|
|
251
269
|
case 12:
|
|
252
270
|
_this2.kernelConnection = kc;
|
|
253
271
|
_this2.kcDeferred.resolve(kc);
|
|
254
272
|
_this2.kernelConnecting = false;
|
|
255
273
|
case 15:
|
|
256
|
-
return
|
|
274
|
+
return _context6.abrupt("return");
|
|
257
275
|
case 16:
|
|
258
276
|
case "end":
|
|
259
|
-
return
|
|
277
|
+
return _context6.stop();
|
|
260
278
|
}
|
|
261
|
-
},
|
|
279
|
+
}, _callee6);
|
|
262
280
|
}))).catch(console.error);
|
|
263
281
|
}
|
|
264
282
|
}, {
|
|
@@ -277,24 +295,24 @@ export var LibroJupyterModel = (_dec = transient(), _dec2 = prop(), _dec3 = prop
|
|
|
277
295
|
}, {
|
|
278
296
|
key: "interrupt",
|
|
279
297
|
value: function () {
|
|
280
|
-
var _interrupt = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
281
|
-
return _regeneratorRuntime().wrap(function
|
|
282
|
-
while (1) switch (
|
|
298
|
+
var _interrupt = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
|
299
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
300
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
283
301
|
case 0:
|
|
284
302
|
if (this.kernelConnection) {
|
|
285
|
-
|
|
303
|
+
_context7.next = 3;
|
|
286
304
|
break;
|
|
287
305
|
}
|
|
288
306
|
alert(l10n.t('Kernel Connection 还没有建立'));
|
|
289
|
-
return
|
|
307
|
+
return _context7.abrupt("return");
|
|
290
308
|
case 3:
|
|
291
|
-
|
|
309
|
+
_context7.next = 5;
|
|
292
310
|
return this.kernelConnection.interrupt();
|
|
293
311
|
case 5:
|
|
294
312
|
case "end":
|
|
295
|
-
return
|
|
313
|
+
return _context7.stop();
|
|
296
314
|
}
|
|
297
|
-
},
|
|
315
|
+
}, _callee7, this);
|
|
298
316
|
}));
|
|
299
317
|
function interrupt() {
|
|
300
318
|
return _interrupt.apply(this, arguments);
|
|
@@ -304,26 +322,26 @@ export var LibroJupyterModel = (_dec = transient(), _dec2 = prop(), _dec3 = prop
|
|
|
304
322
|
}, {
|
|
305
323
|
key: "shutdown",
|
|
306
324
|
value: function () {
|
|
307
|
-
var _shutdown = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
308
|
-
return _regeneratorRuntime().wrap(function
|
|
309
|
-
while (1) switch (
|
|
325
|
+
var _shutdown = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
326
|
+
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
327
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
310
328
|
case 0:
|
|
311
329
|
if (this.kernelConnection) {
|
|
312
|
-
|
|
330
|
+
_context8.next = 3;
|
|
313
331
|
break;
|
|
314
332
|
}
|
|
315
333
|
alert(l10n.t('Kernel Connection 还没有建立'));
|
|
316
|
-
return
|
|
334
|
+
return _context8.abrupt("return");
|
|
317
335
|
case 3:
|
|
318
|
-
|
|
336
|
+
_context8.next = 5;
|
|
319
337
|
return this.kernelConnectionManager.shutdownKC(this.currentFileContents);
|
|
320
338
|
case 5:
|
|
321
339
|
this.kernelConnection = undefined;
|
|
322
340
|
case 6:
|
|
323
341
|
case "end":
|
|
324
|
-
return
|
|
342
|
+
return _context8.stop();
|
|
325
343
|
}
|
|
326
|
-
},
|
|
344
|
+
}, _callee8, this);
|
|
327
345
|
}));
|
|
328
346
|
function shutdown() {
|
|
329
347
|
return _shutdown.apply(this, arguments);
|
|
@@ -333,13 +351,13 @@ export var LibroJupyterModel = (_dec = transient(), _dec2 = prop(), _dec3 = prop
|
|
|
333
351
|
}, {
|
|
334
352
|
key: "restart",
|
|
335
353
|
value: function () {
|
|
336
|
-
var _restart = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
354
|
+
var _restart = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
337
355
|
var _this3 = this;
|
|
338
|
-
return _regeneratorRuntime().wrap(function
|
|
339
|
-
while (1) switch (
|
|
356
|
+
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
357
|
+
while (1) switch (_context9.prev = _context9.next) {
|
|
340
358
|
case 0:
|
|
341
359
|
if (!(!this.kernelConnection || this.kernelConnection.isDisposed)) {
|
|
342
|
-
|
|
360
|
+
_context9.next = 4;
|
|
343
361
|
break;
|
|
344
362
|
}
|
|
345
363
|
this.startKernelConnection();
|
|
@@ -350,14 +368,14 @@ export var LibroJupyterModel = (_dec = transient(), _dec2 = prop(), _dec3 = prop
|
|
|
350
368
|
}
|
|
351
369
|
return;
|
|
352
370
|
}).catch(console.error);
|
|
353
|
-
return
|
|
371
|
+
return _context9.abrupt("return");
|
|
354
372
|
case 4:
|
|
355
373
|
this.kernelConnection.restart();
|
|
356
374
|
case 5:
|
|
357
375
|
case "end":
|
|
358
|
-
return
|
|
376
|
+
return _context9.stop();
|
|
359
377
|
}
|
|
360
|
-
},
|
|
378
|
+
}, _callee9, this);
|
|
361
379
|
}));
|
|
362
380
|
function restart() {
|
|
363
381
|
return _restart.apply(this, arguments);
|
|
@@ -367,24 +385,24 @@ export var LibroJupyterModel = (_dec = transient(), _dec2 = prop(), _dec3 = prop
|
|
|
367
385
|
}, {
|
|
368
386
|
key: "reconnect",
|
|
369
387
|
value: function () {
|
|
370
|
-
var _reconnect = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
371
|
-
return _regeneratorRuntime().wrap(function
|
|
372
|
-
while (1) switch (
|
|
388
|
+
var _reconnect = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
|
389
|
+
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
390
|
+
while (1) switch (_context10.prev = _context10.next) {
|
|
373
391
|
case 0:
|
|
374
392
|
if (this.kernelConnection) {
|
|
375
|
-
|
|
393
|
+
_context10.next = 3;
|
|
376
394
|
break;
|
|
377
395
|
}
|
|
378
396
|
alert(l10n.t('Kernel Connection 还没有建立'));
|
|
379
|
-
return
|
|
397
|
+
return _context10.abrupt("return");
|
|
380
398
|
case 3:
|
|
381
|
-
|
|
399
|
+
_context10.next = 5;
|
|
382
400
|
return this.kernelConnection.reconnect();
|
|
383
401
|
case 5:
|
|
384
402
|
case "end":
|
|
385
|
-
return
|
|
403
|
+
return _context10.stop();
|
|
386
404
|
}
|
|
387
|
-
},
|
|
405
|
+
}, _callee10, this);
|
|
388
406
|
}));
|
|
389
407
|
function reconnect() {
|
|
390
408
|
return _reconnect.apply(this, arguments);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-jupyter",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.33",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro"
|
|
@@ -33,22 +33,22 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/colors": "^7.0.0",
|
|
35
35
|
"@ant-design/icons": "^5.1.0",
|
|
36
|
-
"@difizen/libro-code-cell": "^0.2.
|
|
37
|
-
"@difizen/libro-code-editor": "^0.2.
|
|
38
|
-
"@difizen/libro-codemirror": "^0.2.
|
|
39
|
-
"@difizen/libro-cofine-editor": "^0.2.
|
|
40
|
-
"@difizen/libro-common": "^0.2.
|
|
41
|
-
"@difizen/libro-core": "^0.2.
|
|
42
|
-
"@difizen/libro-kernel": "^0.2.
|
|
43
|
-
"@difizen/libro-l10n": "^0.2.
|
|
44
|
-
"@difizen/libro-language-client": "^0.2.
|
|
45
|
-
"@difizen/libro-lsp": "^0.2.
|
|
46
|
-
"@difizen/libro-markdown-cell": "^0.2.
|
|
47
|
-
"@difizen/libro-output": "^0.2.
|
|
48
|
-
"@difizen/libro-raw-cell": "^0.2.
|
|
49
|
-
"@difizen/libro-rendermime": "^0.2.
|
|
50
|
-
"@difizen/libro-search": "^0.2.
|
|
51
|
-
"@difizen/libro-search-code-cell": "^0.2.
|
|
36
|
+
"@difizen/libro-code-cell": "^0.2.33",
|
|
37
|
+
"@difizen/libro-code-editor": "^0.2.33",
|
|
38
|
+
"@difizen/libro-codemirror": "^0.2.33",
|
|
39
|
+
"@difizen/libro-cofine-editor": "^0.2.33",
|
|
40
|
+
"@difizen/libro-common": "^0.2.33",
|
|
41
|
+
"@difizen/libro-core": "^0.2.33",
|
|
42
|
+
"@difizen/libro-kernel": "^0.2.33",
|
|
43
|
+
"@difizen/libro-l10n": "^0.2.33",
|
|
44
|
+
"@difizen/libro-language-client": "^0.2.33",
|
|
45
|
+
"@difizen/libro-lsp": "^0.2.33",
|
|
46
|
+
"@difizen/libro-markdown-cell": "^0.2.33",
|
|
47
|
+
"@difizen/libro-output": "^0.2.33",
|
|
48
|
+
"@difizen/libro-raw-cell": "^0.2.33",
|
|
49
|
+
"@difizen/libro-rendermime": "^0.2.33",
|
|
50
|
+
"@difizen/libro-search": "^0.2.33",
|
|
51
|
+
"@difizen/libro-search-code-cell": "^0.2.33",
|
|
52
52
|
"@difizen/mana-app": "latest",
|
|
53
53
|
"@difizen/mana-l10n": "latest",
|
|
54
54
|
"classnames": "^2.3.2",
|
|
@@ -148,8 +148,8 @@ export class LibroJupyterModel extends LibroModel implements ExecutableNotebookM
|
|
|
148
148
|
await this.contentsManager.deleteCheckpoint(this.filePath, checkpointID);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
override loadNotebookContent(): Promise<INotebookContent> {
|
|
152
|
-
const content = super.loadNotebookContent();
|
|
151
|
+
override async loadNotebookContent(): Promise<INotebookContent> {
|
|
152
|
+
const content = await super.loadNotebookContent();
|
|
153
153
|
this.id = this.currentFileContents.path; // use file path as id, will be passed to editor and lsp
|
|
154
154
|
if (this.executable && !this.kernelConnecting) {
|
|
155
155
|
this.startKernelConnection();
|