From 6acb033a5343bba74cda5e219b6832346cdefbd8 Mon Sep 17 00:00:00 2001 From: Piyush Jain Date: Tue, 19 Aug 2025 19:07:12 -0700 Subject: [PATCH 1/5] Exporting toolkits in root module --- jupyter_ai_tools/__init__.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/jupyter_ai_tools/__init__.py b/jupyter_ai_tools/__init__.py index 987cc59..fba22d7 100644 --- a/jupyter_ai_tools/__init__.py +++ b/jupyter_ai_tools/__init__.py @@ -1,5 +1,17 @@ +from .toolkits.code_execution import toolkit as codeexec_toolkit +from .toolkits.file_system import toolkit as fs_toolkit +from .toolkits.git import toolkit as git_toolkit +from .toolkits.notebook import toolkit as notebook_toolkit + __version__ = "0.2.1" +__all__ = [ + "fs_toolkit", + "codeexec_toolkit", + "git_toolkit", + "notebook_toolkit", +] + def _jupyter_server_extension_points(): return [{"module": "jupyter_ai_tools"}] From 68d4892e30486debe648be88778885a345518f7f Mon Sep 17 00:00:00 2001 From: Piyush Jain Date: Tue, 19 Aug 2025 19:13:20 -0700 Subject: [PATCH 2/5] Export extension points --- jupyter_ai_tools/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jupyter_ai_tools/__init__.py b/jupyter_ai_tools/__init__.py index fba22d7..97d7c13 100644 --- a/jupyter_ai_tools/__init__.py +++ b/jupyter_ai_tools/__init__.py @@ -10,6 +10,9 @@ "codeexec_toolkit", "git_toolkit", "notebook_toolkit", + "__version__", + "_jupyter_server_extension_points", + "_load_jupyter_server_extension" ] From 1fc063f65aee72b980edfe4f7a09e3927e1a9d0f Mon Sep 17 00:00:00 2001 From: Piyush Jain Date: Tue, 19 Aug 2025 19:20:45 -0700 Subject: [PATCH 3/5] Fixing ci --- .github/workflows/ci.yml | 2 +- jupyter_ai_tools/__init__.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70a9349..3e56626 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] steps: - name: Checkout diff --git a/jupyter_ai_tools/__init__.py b/jupyter_ai_tools/__init__.py index 97d7c13..fba22d7 100644 --- a/jupyter_ai_tools/__init__.py +++ b/jupyter_ai_tools/__init__.py @@ -10,9 +10,6 @@ "codeexec_toolkit", "git_toolkit", "notebook_toolkit", - "__version__", - "_jupyter_server_extension_points", - "_load_jupyter_server_extension" ] From 472a26100984d62ea2aa9fa05146b610645c3d7a Mon Sep 17 00:00:00 2001 From: Piyush Jain Date: Wed, 20 Aug 2025 09:40:29 -0700 Subject: [PATCH 4/5] lint --- jupyter_ai_tools/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter_ai_tools/__init__.py b/jupyter_ai_tools/__init__.py index fba22d7..51f3ce8 100644 --- a/jupyter_ai_tools/__init__.py +++ b/jupyter_ai_tools/__init__.py @@ -7,7 +7,7 @@ __all__ = [ "fs_toolkit", - "codeexec_toolkit", + "codeexec_toolkit", "git_toolkit", "notebook_toolkit", ] From d8f84add1d676ebcd41d18da852792cf51ba7f77 Mon Sep 17 00:00:00 2001 From: Piyush Jain Date: Wed, 20 Aug 2025 12:26:09 -0700 Subject: [PATCH 5/5] Fixed CI, removed python 3.9 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e56626..a0c718d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: rm -rf "jupyter_ai_tools" - name: Upload artifact - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' uses: actions/upload-artifact@v4 with: name: my_server_extension-sdist @@ -99,7 +99,7 @@ jobs: - name: Install Python uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.10' architecture: 'x64' - uses: actions/download-artifact@v4 with: