Skip to content

feat(notebook): open sessions in JupyterLab - #310

Open
imjszhang wants to merge 4 commits into
aipoch:mainfrom
imjszhang:feat/open-jupyterlab
Open

feat(notebook): open sessions in JupyterLab#310
imjszhang wants to merge 4 commits into
aipoch:mainfrom
imjszhang:feat/open-jupyterlab

Conversation

@imjszhang

Copy link
Copy Markdown
Contributor

Summary

  • ensure JupyterLab is available in the session-bound Python runtime through the existing package-management path
  • project the current session into its data root, launch JupyterLab without a browser, and open the authenticated local URL
  • track JupyterLab process trees per session and reap them through notebook shutdown paths

Part of #293
Depends on #309. This is a stacked PR; the import commit will disappear from this diff after #309 merges.

Test plan

  • npm run typecheck
  • changed-file ESLint
  • npm test -- src/main/notebook/jupyterlab.test.ts src/main/notebook/runtime-service.jupyterlab.test.ts src/main/notebook/ipc.test.ts src/renderer/src/pages/workspace/SessionNotebookDialog.render.test.tsx src/renderer/src/pages/workspace/SessionNotebookDialog.interaction.test.tsx src/renderer/web/api-map.generated.test.ts
  • npm run check:web-api-map

Co-authored-by: Cursor <cursoragent@cursor.com>
@imjszhang
imjszhang force-pushed the feat/open-jupyterlab branch from f6300df to b9d1134 Compare July 30, 2026 16:04
…erns

Wrap import in withDataRootWrite, use dialogSession for the picker flow, and surface import success plus an imported badge.

Co-authored-by: Cursor <cursoragent@cursor.com>
@imjszhang
imjszhang force-pushed the feat/open-jupyterlab branch from b9d1134 to e1d638d Compare July 30, 2026 16:39
imjszhang and others added 2 commits July 31, 2026 01:49
Return recorded-vs-bound env mismatches from importIpynb for the footer, and align Preview/Dialog imported badges with a re-run tooltip.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@imjszhang
imjszhang force-pushed the feat/open-jupyterlab branch from e1d638d to ff9b3e9 Compare July 30, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant