mito-ai 0.1.29__py3-none-any.whl → 0.1.31__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.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/build_log.json +1 -1
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/package.json +2 -2
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/schemas/mito_ai/package.json.orig +1 -1
- mito_ai-0.1.29.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.8fc39671fbc9ba62e74b.js → mito_ai-0.1.31.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.4a24ec8bdd6fde22593c.js +33 -28
- mito_ai-0.1.31.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.4a24ec8bdd6fde22593c.js.map +1 -0
- mito_ai-0.1.29.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.6bf957d24d60237bb287.js → mito_ai-0.1.31.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.1445025069f6d660a9b4.js +3 -3
- mito_ai-0.1.29.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.6bf957d24d60237bb287.js.map → mito_ai-0.1.31.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.1445025069f6d660a9b4.js.map +1 -1
- {mito_ai-0.1.29.dist-info → mito_ai-0.1.31.dist-info}/METADATA +1 -1
- {mito_ai-0.1.29.dist-info → mito_ai-0.1.31.dist-info}/RECORD +24 -24
- mito_ai-0.1.29.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.8fc39671fbc9ba62e74b.js.map +0 -1
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/etc/jupyter/jupyter_server_config.d/mito_ai.json +0 -0
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/schemas/mito_ai/toolbar-buttons.json +0 -0
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/static/style.js +0 -0
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/static/style_index_js.06083e515de4862df010.js +0 -0
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/static/style_index_js.06083e515de4862df010.js.map +0 -0
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_html2canvas_dist_html2canvas_js.ea47e8c8c906197f8d19.js +0 -0
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_html2canvas_dist_html2canvas_js.ea47e8c8c906197f8d19.js.map +0 -0
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_semver_index_js.9795f79265ddb416864b.js +0 -0
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_semver_index_js.9795f79265ddb416864b.js.map +0 -0
- {mito_ai-0.1.29.data → mito_ai-0.1.31.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_vscode-diff_dist_index_js.ea55f1f9346638aafbcf.js +0 -0
- {mito_ai-0.1.29.data → mito_ai-0.1.31.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.29.dist-info → mito_ai-0.1.31.dist-info}/WHEEL +0 -0
- {mito_ai-0.1.29.dist-info → mito_ai-0.1.31.dist-info}/entry_points.txt +0 -0
- {mito_ai-0.1.29.dist-info → mito_ai-0.1.31.dist-info}/licenses/LICENSE +0 -0
mito_ai/_version.py
CHANGED
{mito_ai-0.1.29.data → mito_ai-0.1.31.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.31",
|
|
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.1445025069f6d660a9b4.js",
|
|
142
142
|
"extension": "./extension",
|
|
143
143
|
"style": "./style"
|
|
144
144
|
}
|
|
@@ -2485,37 +2485,42 @@ const ChatTaskpane = ({ notebookTracker, renderMimeRegistry, contextManager, app
|
|
|
2485
2485
|
return;
|
|
2486
2486
|
}
|
|
2487
2487
|
const activeCellIndex = notebook.activeCellIndex;
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2488
|
+
try {
|
|
2489
|
+
notebook.widgets.forEach((cell, index) => {
|
|
2490
|
+
if (cell.model.type === 'code') {
|
|
2491
|
+
const isActiveCodeCell = activeCellIndex === index;
|
|
2492
|
+
// TODO: Instead of casting, we should rely on the type system to make
|
|
2493
|
+
// sure we're using the correct types!
|
|
2494
|
+
const codeCell = cell;
|
|
2495
|
+
const cmEditor = codeCell.editor;
|
|
2496
|
+
const editorView = cmEditor === null || cmEditor === void 0 ? void 0 : cmEditor.editor;
|
|
2497
|
+
if (editorView) {
|
|
2498
|
+
let compartment = codeDiffStripesCompartments.current.get(codeCell);
|
|
2499
|
+
if (!compartment) {
|
|
2500
|
+
// Create a new compartment and store it
|
|
2501
|
+
compartment = new _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.Compartment();
|
|
2502
|
+
codeDiffStripesCompartments.current.set(codeCell, compartment);
|
|
2503
|
+
// Apply the initial configuration
|
|
2504
|
+
editorView.dispatch({
|
|
2505
|
+
effects: _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.StateEffect.appendConfig.of(compartment.of(unifiedDiffLines !== undefined && isActiveCodeCell ? (0,_CodeDiffDisplay__WEBPACK_IMPORTED_MODULE_19__.codeDiffStripesExtension)({ unifiedDiffLines: unifiedDiffLines }) : [])),
|
|
2506
|
+
});
|
|
2507
|
+
}
|
|
2508
|
+
else {
|
|
2509
|
+
// Reconfigure the compartment
|
|
2510
|
+
editorView.dispatch({
|
|
2511
|
+
effects: compartment.reconfigure(unifiedDiffLines !== undefined && isActiveCodeCell ? (0,_CodeDiffDisplay__WEBPACK_IMPORTED_MODULE_19__.codeDiffStripesExtension)({ unifiedDiffLines: unifiedDiffLines }) : []),
|
|
2512
|
+
});
|
|
2513
|
+
}
|
|
2506
2514
|
}
|
|
2507
2515
|
else {
|
|
2508
|
-
|
|
2509
|
-
editorView.dispatch({
|
|
2510
|
-
effects: compartment.reconfigure(unifiedDiffLines !== undefined && isActiveCodeCell ? (0,_CodeDiffDisplay__WEBPACK_IMPORTED_MODULE_19__.codeDiffStripesExtension)({ unifiedDiffLines: unifiedDiffLines }) : []),
|
|
2511
|
-
});
|
|
2516
|
+
console.log('Mito AI: editor view not found when applying code diff stripes');
|
|
2512
2517
|
}
|
|
2513
2518
|
}
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
}
|
|
2519
|
+
});
|
|
2520
|
+
}
|
|
2521
|
+
catch (error) {
|
|
2522
|
+
console.error('Error updating code cells extensions', error);
|
|
2523
|
+
}
|
|
2519
2524
|
};
|
|
2520
2525
|
const lastAIMessagesIndex = chatHistoryManager.getLastAIMessageIndex();
|
|
2521
2526
|
return (react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", { className: "chat-taskpane" },
|
|
@@ -14038,4 +14043,4 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js
|
|
|
14038
14043
|
/***/ })
|
|
14039
14044
|
|
|
14040
14045
|
}]);
|
|
14041
|
-
//# sourceMappingURL=lib_index_js.
|
|
14046
|
+
//# sourceMappingURL=lib_index_js.4a24ec8bdd6fde22593c.js.map
|