notebook-intelligence 2.4.1__tar.gz → 2.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/PKG-INFO +1 -1
  2. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/_version.py +1 -1
  3. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/base_chat_participant.py +7 -1
  4. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/package.json +2 -2
  5. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/schemas/@notebook-intelligence/notebook-intelligence/package.json.orig +1 -1
  6. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/editor.worker.js +1 -1
  7. notebook_intelligence-2.4.1/notebook_intelligence/labextension/static/remoteEntry.ccab414d3c2e82af2607.js → notebook_intelligence-2.4.2/notebook_intelligence/labextension/static/remoteEntry.d9d709f6862dfa2e5a69.js +1 -1
  8. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/package.json +1 -1
  9. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/.copier-answers.yml +0 -0
  10. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/.gitignore +0 -0
  11. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/.prettierignore +0 -0
  12. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/.yarnrc.yml +0 -0
  13. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/CHANGELOG.md +0 -0
  14. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/CONTRIBUTING.md +0 -0
  15. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/LICENSE +0 -0
  16. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/README.md +0 -0
  17. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/RELEASE.md +0 -0
  18. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/install.json +0 -0
  19. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/jupyter-config/server-config/notebook_intelligence.json +0 -0
  20. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/__init__.py +0 -0
  21. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/ai_service_manager.py +0 -0
  22. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/api.py +0 -0
  23. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/built_in_toolsets.py +0 -0
  24. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/config.py +0 -0
  25. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/extension.py +0 -0
  26. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/github_copilot.py +0 -0
  27. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/github_copilot_chat_participant.py +0 -0
  28. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/schemas/@notebook-intelligence/notebook-intelligence/plugin.json +0 -0
  29. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/144.3ed487e60baf9785fae1.js +0 -0
  30. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/196.db3f5562c0372c6e07f6.js +0 -0
  31. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/1b55f12eca93ba6743e7.ttf +0 -0
  32. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/326.4de77f44c9c6c2bbad47.js +0 -0
  33. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/326.4de77f44c9c6c2bbad47.js.LICENSE.txt +0 -0
  34. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/327.fe6b84491254fcaf64bf.js +0 -0
  35. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/327.fe6b84491254fcaf64bf.js.LICENSE.txt +0 -0
  36. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/671.1797d409270b24758991.js +0 -0
  37. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/694.d0b052d80c0397c7f1ea.js +0 -0
  38. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/728.e21c211a709fe0ab1e1f.js +0 -0
  39. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/830.46ab52f7b558fb3c1a20.js +0 -0
  40. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/977.7e3d66ffc344a0af7a4e.js +0 -0
  41. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/be02dcbf2787b0b29ec8.module.wasm +0 -0
  42. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/e589c9ba04e3e5a90081.module.wasm +0 -0
  43. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/editor.worker.js.LICENSE.txt +0 -0
  44. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/style.js +0 -0
  45. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/labextension/static/third-party-licenses.json +0 -0
  46. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/llm_providers/github_copilot_llm_provider.py +0 -0
  47. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/llm_providers/litellm_compatible_llm_provider.py +0 -0
  48. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/llm_providers/ollama_llm_provider.py +0 -0
  49. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/llm_providers/openai_compatible_llm_provider.py +0 -0
  50. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/mcp_manager.py +0 -0
  51. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/prompts.py +0 -0
  52. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/notebook_intelligence/util.py +0 -0
  53. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/pyproject.toml +0 -0
  54. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/schema/plugin.json +0 -0
  55. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/setup.py +0 -0
  56. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/tsconfig.json +0 -0
  57. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/webpack.config.js +0 -0
  58. {notebook_intelligence-2.4.1 → notebook_intelligence-2.4.2}/yarn.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: notebook_intelligence
3
- Version: 2.4.1
3
+ Version: 2.4.2
4
4
  Summary: AI coding assistant for JupyterLab
5
5
  Project-URL: Homepage, https://github.com/notebook-intelligence/notebook-intelligence
6
6
  Project-URL: Bug Tracker, https://github.com/notebook-intelligence/notebook-intelligence/issues
@@ -1,4 +1,4 @@
1
1
  # This file is auto-generated by Hatchling. As such, do not:
2
2
  # - modify
3
3
  # - track in version control e.g. be sure to add to .gitignore
4
- __version__ = VERSION = '2.4.1'
4
+ __version__ = VERSION = '2.4.2'
@@ -2,6 +2,7 @@
2
2
 
3
3
  import os
4
4
  from typing import Union
5
+ import json
5
6
  from notebook_intelligence.api import ChatCommand, ChatParticipant, ChatRequest, ChatResponse, MarkdownData, ProgressData, Tool, ToolPreInvokeResponse
6
7
  from notebook_intelligence.prompts import Prompts
7
8
  import base64
@@ -43,7 +44,12 @@ class SecuredExtensionTool(Tool):
43
44
  def pre_invoke(self, request: ChatRequest, tool_args: dict) -> Union[ToolPreInvokeResponse, None]:
44
45
  confirmationTitle = "Approve"
45
46
  confirmationMessage = "Are you sure you want to call this extension tool?"
46
- return ToolPreInvokeResponse(f"Calling extension tool '{self.name}'", confirmationTitle, confirmationMessage)
47
+ return ToolPreInvokeResponse(
48
+ message = f"Calling extension tool '{self.name}'",
49
+ detail = {"title": "Parameters", "content": json.dumps(tool_args)},
50
+ confirmationTitle = confirmationTitle,
51
+ confirmationMessage = confirmationMessage
52
+ )
47
53
 
48
54
  async def handle_tool_call(self, request: ChatRequest, response: ChatResponse, tool_context: dict, tool_args: dict) -> str:
49
55
  return await self._ext_tool.handle_tool_call(request, response, tool_context, tool_args)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notebook-intelligence/notebook-intelligence",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "AI coding assistant for JupyterLab",
5
5
  "keywords": [
6
6
  "AI",
@@ -130,7 +130,7 @@
130
130
  }
131
131
  },
132
132
  "_build": {
133
- "load": "static/remoteEntry.ccab414d3c2e82af2607.js",
133
+ "load": "static/remoteEntry.d9d709f6862dfa2e5a69.js",
134
134
  "extension": "./extension",
135
135
  "style": "./style"
136
136
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notebook-intelligence/notebook-intelligence",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "AI coding assistant for JupyterLab",
5
5
  "keywords": [
6
6
  "AI",