@lvce-editor/chat-view 5.1.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.
@@ -2916,6 +2916,10 @@ const getMenuEntryIds = () => {
2916
2916
  return [];
2917
2917
  };
2918
2918
 
2919
+ const getQuickPickMenuEntries = () => {
2920
+ return [];
2921
+ };
2922
+
2919
2923
  const getSelectedSessionId = state => {
2920
2924
  return state.selectedSessionId;
2921
2925
  };
@@ -10272,6 +10276,7 @@ const commandMap = {
10272
10276
  'Chat.getKeyBindings': getKeyBindings,
10273
10277
  'Chat.getMenuEntries': getMenuEntries,
10274
10278
  'Chat.getMenuEntryIds': getMenuEntryIds,
10279
+ 'Chat.getQuickPickMenuEntries': getQuickPickMenuEntries,
10275
10280
  'Chat.getSelectedSessionId': wrapGetter(getSelectedSessionId),
10276
10281
  'Chat.handleChatListContextMenu': handleChatListContextMenu,
10277
10282
  'Chat.handleChatListScroll': wrapCommand(handleChatListScroll),
@@ -10325,6 +10330,18 @@ const commandMap = {
10325
10330
  'Chat.useMockApi': wrapCommand(useMockApi)
10326
10331
  };
10327
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
+
10328
10345
  const sendMessagePortToChatMathWorker = async port => {
10329
10346
  await sendMessagePortToChatMathWorker$1(port, 0);
10330
10347
  };
@@ -10353,7 +10370,7 @@ const listen = async () => {
10353
10370
  commandMap: commandMap
10354
10371
  });
10355
10372
  set$1(rpc);
10356
- await Promise.all([initializeChatNetworkWorker(), initializeChatMathWorker()]);
10373
+ await Promise.all([initializeChatNetworkWorker(), initializeChatMathWorker(), initializeChatCoordinatorWorker()]);
10357
10374
  };
10358
10375
 
10359
10376
  const main = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/chat-view",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "description": "Chat View Worker",
5
5
  "repository": {
6
6
  "type": "git",