mito-ai 0.1.30__py3-none-any.whl → 0.1.32__py3-none-any.whl
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.
Potentially problematic release.
This version of mito-ai might be problematic. Click here for more details.
- mito_ai/_version.py +1 -1
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/build_log.json +1 -1
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/package.json +2 -2
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/schemas/mito_ai/package.json.orig +1 -1
- mito_ai-0.1.30.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.5c78616c48ffde147e05.js → mito_ai-0.1.32.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.42b54cf8f038cc526980.js +5 -11
- mito_ai-0.1.30.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.5c78616c48ffde147e05.js.map → mito_ai-0.1.32.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.42b54cf8f038cc526980.js.map +1 -1
- mito_ai-0.1.30.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.017b9e90c5534a403f4b.js → mito_ai-0.1.32.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.a711c58b58423173bd24.js +3 -3
- mito_ai-0.1.30.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.017b9e90c5534a403f4b.js.map → mito_ai-0.1.32.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.a711c58b58423173bd24.js.map +1 -1
- {mito_ai-0.1.30.dist-info → mito_ai-0.1.32.dist-info}/METADATA +1 -1
- {mito_ai-0.1.30.dist-info → mito_ai-0.1.32.dist-info}/RECORD +24 -24
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/etc/jupyter/jupyter_server_config.d/mito_ai.json +0 -0
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/schemas/mito_ai/toolbar-buttons.json +0 -0
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/static/style.js +0 -0
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/static/style_index_js.06083e515de4862df010.js +0 -0
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/static/style_index_js.06083e515de4862df010.js.map +0 -0
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_html2canvas_dist_html2canvas_js.ea47e8c8c906197f8d19.js +0 -0
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_html2canvas_dist_html2canvas_js.ea47e8c8c906197f8d19.js.map +0 -0
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_semver_index_js.9795f79265ddb416864b.js +0 -0
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_semver_index_js.9795f79265ddb416864b.js.map +0 -0
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_vscode-diff_dist_index_js.ea55f1f9346638aafbcf.js +0 -0
- {mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_vscode-diff_dist_index_js.ea55f1f9346638aafbcf.js.map +0 -0
- {mito_ai-0.1.30.dist-info → mito_ai-0.1.32.dist-info}/WHEEL +0 -0
- {mito_ai-0.1.30.dist-info → mito_ai-0.1.32.dist-info}/entry_points.txt +0 -0
- {mito_ai-0.1.30.dist-info → mito_ai-0.1.32.dist-info}/licenses/LICENSE +0 -0
mito_ai/_version.py
CHANGED
{mito_ai-0.1.30.data → mito_ai-0.1.32.data}/data/share/jupyter/labextensions/mito_ai/package.json
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mito_ai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
4
4
|
"description": "AI chat for JupyterLab",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"outputDir": "mito_ai/labextension",
|
|
139
139
|
"schemaDir": "schema",
|
|
140
140
|
"_build": {
|
|
141
|
-
"load": "static/remoteEntry.
|
|
141
|
+
"load": "static/remoteEntry.a711c58b58423173bd24.js",
|
|
142
142
|
"extension": "./extension",
|
|
143
143
|
"style": "./style"
|
|
144
144
|
}
|
|
@@ -2475,8 +2475,7 @@ const ChatTaskpane = ({ notebookTracker, renderMimeRegistry, contextManager, app
|
|
|
2475
2475
|
app.commands.notifyCommandChanged(_commands__WEBPACK_IMPORTED_MODULE_18__.COMMAND_MITO_AI_CELL_TOOLBAR_ACCEPT_CODE);
|
|
2476
2476
|
app.commands.notifyCommandChanged(_commands__WEBPACK_IMPORTED_MODULE_18__.COMMAND_MITO_AI_CELL_TOOLBAR_REJECT_CODE);
|
|
2477
2477
|
};
|
|
2478
|
-
|
|
2479
|
-
const codeDiffStripesCompartments = react__WEBPACK_IMPORTED_MODULE_2___default().useRef(new WeakMap());
|
|
2478
|
+
const codeDiffStripesCompartments = react__WEBPACK_IMPORTED_MODULE_2___default().useRef(new Map());
|
|
2480
2479
|
// Function to update the extensions of code cells
|
|
2481
2480
|
const updateCodeCellsExtensions = (unifiedDiffLines) => {
|
|
2482
2481
|
var _a;
|
|
@@ -2491,20 +2490,15 @@ const ChatTaskpane = ({ notebookTracker, renderMimeRegistry, contextManager, app
|
|
|
2491
2490
|
// TODO: Instead of casting, we should rely on the type system to make
|
|
2492
2491
|
// sure we're using the correct types!
|
|
2493
2492
|
const codeCell = cell;
|
|
2494
|
-
// Add safety check to ensure codeCell is a valid object before using it as WeakMap key
|
|
2495
|
-
// This sometimes happens when starting a chat from trymito.io
|
|
2496
|
-
if (!codeCell || typeof codeCell !== 'object') {
|
|
2497
|
-
console.warn('Mito AI: Invalid codeCell object, skipping code diff stripes');
|
|
2498
|
-
return;
|
|
2499
|
-
}
|
|
2500
2493
|
const cmEditor = codeCell.editor;
|
|
2501
2494
|
const editorView = cmEditor === null || cmEditor === void 0 ? void 0 : cmEditor.editor;
|
|
2502
2495
|
if (editorView) {
|
|
2503
|
-
|
|
2496
|
+
const cellId = codeCell.model.id;
|
|
2497
|
+
let compartment = codeDiffStripesCompartments.current.get(cellId);
|
|
2504
2498
|
if (!compartment) {
|
|
2505
2499
|
// Create a new compartment and store it
|
|
2506
2500
|
compartment = new _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.Compartment();
|
|
2507
|
-
codeDiffStripesCompartments.current.set(
|
|
2501
|
+
codeDiffStripesCompartments.current.set(cellId, compartment);
|
|
2508
2502
|
// Apply the initial configuration
|
|
2509
2503
|
editorView.dispatch({
|
|
2510
2504
|
effects: _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.StateEffect.appendConfig.of(compartment.of(unifiedDiffLines !== undefined && isActiveCodeCell ? (0,_CodeDiffDisplay__WEBPACK_IMPORTED_MODULE_19__.codeDiffStripesExtension)({ unifiedDiffLines: unifiedDiffLines }) : [])),
|
|
@@ -14044,4 +14038,4 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js
|
|
|
14044
14038
|
/***/ })
|
|
14045
14039
|
|
|
14046
14040
|
}]);
|
|
14047
|
-
//# sourceMappingURL=lib_index_js.
|
|
14041
|
+
//# sourceMappingURL=lib_index_js.42b54cf8f038cc526980.js.map
|