дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 09:11:10 +02:00
feat(notebook): run notebooks on a remote Jupyter server (#6669)
Connect to Jupyter Server... in the notebook kernel drop-down and Find Action takes any URL a Jupyter server prints (lab/notebook/JupyterHub user URLs are reduced to the server base) and a token. The token is checked against /api/kernelspecs and stored in the OS credential store; only the base URL is written to disk. Saved servers are listed in the kernel drop-down with their kernel specs, remembered per notebook, and can be removed again. A remote kernel is started with POST api/kernels, driven over its channels WebSocket (through the configured HTTP proxy via the new ide_http::tunnel), interrupted with POST .../interrupt and deleted on restart, close, failed or cancelled start. A dropped socket is reopened for the same kernel and session for about 15 s so buffered output is replayed. The kernel transport now has a Link with local (ZeroMQ) and remote variants, sharing execution, output routing and the Jupyter Variables window. Token-less servers get the _xsrf cookie and header. Closes #6526 Co-authored-by: wildcatDownstairs <[email protected]>
Цей коміт міститься в:
1 джерело
7ab456b1e7
коміт
d959a2a583
24 files changed
+1243
-60
No files matched your search
@@ -267,3 +267,25 @@
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
.serverForm {
|
||||
display: grid;
|
||||
grid-template-columns: fit-content(30%) minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: var(--space-2) var(--space-3);
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.serverLabel {
|
||||
color: var(--fg-secondary);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.serverHint {
|
||||
color: var(--fg-muted);
|
||||
}
|
||||
|
||||
.serverError {
|
||||
color: var(--danger);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
Reference in new issue
Заблокувати користувача