jupyterlab-chat-extension 0.23.2 → 0.24.0
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.
- package/lib/index.js +1 -1
- package/package.json +2 -2
- package/src/index.ts +2 -1
package/lib/index.js
CHANGED
|
@@ -1037,7 +1037,7 @@ const chatPanel = {
|
|
|
1037
1037
|
// Get the chat in default directory
|
|
1038
1038
|
const getChatNames = async () => {
|
|
1039
1039
|
var _a;
|
|
1040
|
-
const dirContents = await serviceManager.contents.get((_a = widgetConfig.config.defaultDirectory) !== null && _a !== void 0 ? _a : '');
|
|
1040
|
+
const dirContents = await serviceManager.contents.get((_a = widgetConfig.config.defaultDirectory) !== null && _a !== void 0 ? _a : '', { content: true });
|
|
1041
1041
|
const names = {};
|
|
1042
1042
|
for (const file of dirContents.content) {
|
|
1043
1043
|
if (file.type === 'file' && file.name.endsWith(chatFileExtension)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jupyterlab-chat-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "A chat extension based on shared documents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@lumino/coreutils": "^2.2.2",
|
|
68
68
|
"@lumino/signaling": "^2.1.5",
|
|
69
69
|
"@lumino/widgets": "^2.8.0",
|
|
70
|
-
"jupyterlab-chat": "^0.
|
|
70
|
+
"jupyterlab-chat": "^0.24.0",
|
|
71
71
|
"react": "^18.2.0",
|
|
72
72
|
"y-protocols": "^1.0.5",
|
|
73
73
|
"yjs": "^13.5.40"
|
package/src/index.ts
CHANGED
|
@@ -1302,7 +1302,8 @@ const chatPanel: JupyterFrontEndPlugin<MultiChatPanel> = {
|
|
|
1302
1302
|
// Get the chat in default directory
|
|
1303
1303
|
const getChatNames = async () => {
|
|
1304
1304
|
const dirContents = await serviceManager.contents.get(
|
|
1305
|
-
widgetConfig.config.defaultDirectory ?? ''
|
|
1305
|
+
widgetConfig.config.defaultDirectory ?? '',
|
|
1306
|
+
{ content: true }
|
|
1306
1307
|
);
|
|
1307
1308
|
const names: { [name: string]: string } = {};
|
|
1308
1309
|
for (const file of dirContents.content) {
|