Skip to main content

Browse, resume, and manage your Claude Code CLI sessions from a JupyterLab side panel. One click reactivates the right terminal - no duplicate tabs, live remote-control indicator, and favourites for the projects you keep coming back to.

Project description

jupyterlab_claude_code_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

Manage Claude Code CLI sessions from inside JupyterLab. A left-sidebar panel lists every project under ~/.claude/projects/ deduplicated to one row per folder, marks live remote-control sessions with a green dot, and lets you jump back into any session by opening (or reactivating) a terminal pwd'd to that project and auto-running claude --resume <id>.

Claude Code Sessions panel

Features

  • Three-section side panel - Favourites, Recent (top 10 by activity), and All. Each section scrolls independently; Favourites disappears when empty
  • Live remote-control indicator - green dot on rows whose ~/.claude/sessions/<pid>.json is alive (verified via os.kill(pid, 0))
  • One-click resume - click a row to find an existing terminal pwd'd to that project (queried server-side from the pty's process tree) and reactivate its tab; only spawns a fresh terminal if none matches. Concurrent rapid clicks are coalesced
  • Smart name resolution - shows the user-set /rename name when available; auto-detected names (volatile across the same sessionId or 3+ token lowercase-kebab) fall back to the folder basename. Toggle the behaviour via the resolveSessionNames setting
  • Path-segment disambiguation - when two sessions share the same display name, the row reveals the minimum number of trailing path segments needed for each to be unique
  • Favourites - star a session via the right-click menu; persisted server-side at ~/.claude/jupyterlab_claude_code_extension.json
  • Layout restorer - panel visibility persists across JupyterLab reloads
  • Auto-disabled when the claude binary is not on PATH
  • Hover tooltip with relative path (vs JL root), last activity, message count, branch, first prompt, session id

Requirements

  • JupyterLab >= 4.0.0
  • Python >= 3.10
  • claude CLI on PATH

Install

Developers must install via the project Makefile (which orchestrates clean, build, and pip install of the resulting wheel):

make install

End-users can install the published package from PyPI:

pip install jupyterlab_claude_code_extension

Uninstall

pip uninstall jupyterlab_claude_code_extension

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_claude_code_extension-1.0.16.tar.gz (267.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file jupyterlab_claude_code_extension-1.0.16.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_claude_code_extension-1.0.16.tar.gz
Algorithm Hash digest
SHA256 a2d57fbdb2f3eddc6e587f6c1d6fb14bb9d548d9431577fbc4a04f48c374b2c9
MD5 3ceb85d0c0eee0afeed3e50787b979b8
BLAKE2b-256 b937dc7f4cac14a94e5f6f1c033dfaf287831c81a7764cb362a07a54c9e5664a

See more details on using hashes here.

File details

Details for the file jupyterlab_claude_code_extension-1.0.16-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_claude_code_extension-1.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 4bc654a7120b510fb185e6286eb2ac5a6e6bc610694a4cb3cd1d3e13b277d1e1
MD5 c07b14a19ef488c3d38ad6632854f227
BLAKE2b-256 b69457c13ea2323458a2cb55bffc4c7a6176e3bd7344e1cc24f9c6c345457deb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page