@lvce-editor/chat-view 5.0.0 → 5.2.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/dist/chatViewWorkerMain.js +23 -1
- package/package.json +1 -1
|
@@ -2912,6 +2912,14 @@ const getMenuEntries = () => {
|
|
|
2912
2912
|
return getMenuEntriesFile();
|
|
2913
2913
|
};
|
|
2914
2914
|
|
|
2915
|
+
const getMenuEntryIds = () => {
|
|
2916
|
+
return [];
|
|
2917
|
+
};
|
|
2918
|
+
|
|
2919
|
+
const getQuickPickMenuEntries = () => {
|
|
2920
|
+
return [];
|
|
2921
|
+
};
|
|
2922
|
+
|
|
2915
2923
|
const getSelectedSessionId = state => {
|
|
2916
2924
|
return state.selectedSessionId;
|
|
2917
2925
|
};
|
|
@@ -10267,6 +10275,8 @@ const commandMap = {
|
|
|
10267
10275
|
'Chat.getCommandIds': getCommandIds,
|
|
10268
10276
|
'Chat.getKeyBindings': getKeyBindings,
|
|
10269
10277
|
'Chat.getMenuEntries': getMenuEntries,
|
|
10278
|
+
'Chat.getMenuEntryIds': getMenuEntryIds,
|
|
10279
|
+
'Chat.getQuickPickMenuEntries': getQuickPickMenuEntries,
|
|
10270
10280
|
'Chat.getSelectedSessionId': wrapGetter(getSelectedSessionId),
|
|
10271
10281
|
'Chat.handleChatListContextMenu': handleChatListContextMenu,
|
|
10272
10282
|
'Chat.handleChatListScroll': wrapCommand(handleChatListScroll),
|
|
@@ -10320,6 +10330,18 @@ const commandMap = {
|
|
|
10320
10330
|
'Chat.useMockApi': wrapCommand(useMockApi)
|
|
10321
10331
|
};
|
|
10322
10332
|
|
|
10333
|
+
const sendMessagePortToChatCoordinatorWorker = async port => {
|
|
10334
|
+
// TODO:
|
|
10335
|
+
await sendMessagePortToChatMathWorker$1(port, 0);
|
|
10336
|
+
};
|
|
10337
|
+
const initializeChatCoordinatorWorker = async () => {
|
|
10338
|
+
const rpc = await create$4({
|
|
10339
|
+
commandMap: {},
|
|
10340
|
+
send: sendMessagePortToChatCoordinatorWorker
|
|
10341
|
+
});
|
|
10342
|
+
set$4(rpc);
|
|
10343
|
+
};
|
|
10344
|
+
|
|
10323
10345
|
const sendMessagePortToChatMathWorker = async port => {
|
|
10324
10346
|
await sendMessagePortToChatMathWorker$1(port, 0);
|
|
10325
10347
|
};
|
|
@@ -10348,7 +10370,7 @@ const listen = async () => {
|
|
|
10348
10370
|
commandMap: commandMap
|
|
10349
10371
|
});
|
|
10350
10372
|
set$1(rpc);
|
|
10351
|
-
await Promise.all([initializeChatNetworkWorker(), initializeChatMathWorker()]);
|
|
10373
|
+
await Promise.all([initializeChatNetworkWorker(), initializeChatMathWorker(), initializeChatCoordinatorWorker()]);
|
|
10352
10374
|
};
|
|
10353
10375
|
|
|
10354
10376
|
const main = async () => {
|