@lvce-editor/extension-management-worker 4.74.0 → 4.74.2
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.
|
@@ -5972,6 +5972,9 @@ const invokeForApplication = async (applicationId, method, ...args) => {
|
|
|
5972
5972
|
switch (method) {
|
|
5973
5973
|
case 'ExtensionApi.readFile':
|
|
5974
5974
|
return invoke('Application.execute', applicationId, 'FileSystem.readFile', ...args);
|
|
5975
|
+
case 'ExtensionHostQuickPick.showQuickInput':
|
|
5976
|
+
case 'ExtensionHostQuickPick.showQuickPick':
|
|
5977
|
+
return invoke('Application.execute', applicationId, method, ...args);
|
|
5975
5978
|
case 'Extensions.activateByEvent':
|
|
5976
5979
|
return activateByEvent(args[0], args[1], args[2] ?? application.platform, application);
|
|
5977
5980
|
case 'Extensions.createWebViewWorkerRpc':
|
|
@@ -5997,6 +6000,8 @@ const invokeForApplication = async (applicationId, method, ...args) => {
|
|
|
5997
6000
|
return handleFileChanges(args[0], applicationId);
|
|
5998
6001
|
case 'Extensions.sendMessagePortToFileSystemWorker':
|
|
5999
6002
|
return createFileSystemPort(application, args[0]);
|
|
6003
|
+
case 'Extensions.showNotification':
|
|
6004
|
+
return invoke('Application.execute', applicationId, 'Notification.create', ...args);
|
|
6000
6005
|
default:
|
|
6001
6006
|
throw new Error(`Extension command does not support application context: ${method}`);
|
|
6002
6007
|
}
|