Файли
openidea/docs
LU XIANGRUIтаwildcatDownstairs d959a2a583 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]>
2026-11-29 14:00:21 +08:00
..