Skip to content

Conversation

@jtpio
Copy link
Member

@jtpio jtpio commented Sep 10, 2025

Fixes #3

By being able to get all commands, including argument types and description (via jupyterlab/jupyterlab#17649 available in JupyterLab 4.5.0a3), we can simplify the list of tools to the following:

  • list_commands()
  • execute_command(command_id, args)

To get the JupyterLab 4.5 pre-release:

python -m pip install --pre jupyterlab

Here is a quick demo with Claude Code running in a JupyterLab terminal:

jupyterlab-claude-code.mp4

@jtpio jtpio added the enhancement New feature or request label Sep 10, 2025
@jtpio jtpio marked this pull request as ready for review September 12, 2025 07:13
@jtpio
Copy link
Member Author

jtpio commented Sep 12, 2025

@Zsailer I'm marking this PR as ready, but feel free to make other changes if you would like to.

Looks like we could make a first release after #5

@Zsailer
Copy link
Contributor

Zsailer commented Sep 16, 2025

This is great, @jtpio! Merging away!

@Zsailer Zsailer merged commit e9aaf55 into jupyter-ai-contrib:main Sep 16, 2025
5 checks passed
@jtpio jtpio deleted the discover-execute-commands branch September 16, 2025 12: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.

Get results from commands

2 participants