@codingame/monaco-vscode-speech-service-override 12.0.1 → 13.1.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/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
1
|
+
import type { IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
2
|
export default function getServiceOverride(): IEditorOverrideServices;
|
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
3
|
-
import { ISpeechService } from 'vscode/vscode/vs/workbench/contrib/speech/common/speechService.service';
|
|
2
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
3
|
+
import { ISpeechService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/speech/common/speechService.service';
|
|
4
4
|
import { SpeechService } from './vscode/src/vs/workbench/contrib/speech/browser/speechService.js';
|
|
5
|
-
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
5
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
6
6
|
|
|
7
7
|
function getServiceOverride() {
|
|
8
8
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-speech-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - speech service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"
|
|
18
|
+
"@codingame/monaco-vscode-api": "13.1.0"
|
|
19
19
|
},
|
|
20
|
-
"peerDependencies": {},
|
|
21
|
-
"peerDependenciesMeta": {},
|
|
22
20
|
"main": "index.js",
|
|
23
21
|
"module": "index.js",
|
|
24
22
|
"types": "index.d.ts",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
2
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
3
|
-
import { Disposable, IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
4
|
-
import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
5
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
6
|
-
import { IHostService } from "vscode/vscode/vs/workbench/services/host/browser/host.service";
|
|
7
|
-
import { ISpeechProvider, ISpeechToTextSession, KeywordRecognitionStatus, ITextToSpeechSession } from "vscode/vscode/vs/workbench/contrib/speech/common/speechService";
|
|
8
|
-
import { ISpeechService } from "vscode/vscode/vs/workbench/contrib/speech/common/speechService.service";
|
|
9
|
-
import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
10
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
11
|
-
import { IExtensionService } from "vscode/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
1
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
2
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
3
|
+
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
4
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
5
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
6
|
+
import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
|
|
7
|
+
import { ISpeechProvider, ISpeechToTextSession, KeywordRecognitionStatus, ITextToSpeechSession } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/speech/common/speechService";
|
|
8
|
+
import { ISpeechService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/speech/common/speechService.service";
|
|
9
|
+
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
10
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
11
|
+
import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
12
12
|
export interface ISpeechProviderDescriptor {
|
|
13
13
|
readonly name: string;
|
|
14
14
|
readonly description?: string;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
5
|
-
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
6
|
-
import { Disposable, toDisposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
8
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
9
|
-
import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host.service';
|
|
10
|
-
import { DeferredPromise } from 'vscode/vscode/vs/base/common/async';
|
|
11
|
-
import { HasSpeechProvider, SpeechToTextInProgress, TextToSpeechInProgress, speechLanguageConfigToLanguage, SPEECH_LANGUAGE_CONFIG, SpeechToTextStatus, TextToSpeechStatus, KeywordRecognitionStatus } from 'vscode/vscode/vs/workbench/contrib/speech/common/speechService';
|
|
12
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
13
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
14
|
-
import { ExtensionsRegistry } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
|
|
15
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { CancellationTokenSource } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
5
|
+
import { Emitter, Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
6
|
+
import { Disposable, toDisposable, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
7
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
8
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
9
|
+
import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
|
|
10
|
+
import { DeferredPromise } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
11
|
+
import { HasSpeechProvider, SpeechToTextInProgress, TextToSpeechInProgress, speechLanguageConfigToLanguage, SPEECH_LANGUAGE_CONFIG, SpeechToTextStatus, TextToSpeechStatus, KeywordRecognitionStatus } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/speech/common/speechService';
|
|
12
|
+
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
13
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
14
|
+
import { ExtensionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
|
|
15
|
+
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
16
16
|
|
|
17
17
|
const speechProvidersExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
18
18
|
extensionPoint: 'speechProviders',
|
|
19
19
|
jsonSchema: {
|
|
20
|
-
description: ( localize(
|
|
20
|
+
description: ( localize(8929, 'Contributes a Speech Provider')),
|
|
21
21
|
type: 'array',
|
|
22
22
|
items: {
|
|
23
23
|
additionalProperties: false,
|
|
@@ -26,11 +26,11 @@ const speechProvidersExtensionPoint = ExtensionsRegistry.registerExtensionPoint(
|
|
|
26
26
|
required: ['name'],
|
|
27
27
|
properties: {
|
|
28
28
|
name: {
|
|
29
|
-
description: ( localize(
|
|
29
|
+
description: ( localize(8930, "Unique name for this Speech Provider.")),
|
|
30
30
|
type: 'string'
|
|
31
31
|
},
|
|
32
32
|
description: {
|
|
33
|
-
description: ( localize(
|
|
33
|
+
description: ( localize(8931, "A description of this Speech Provider, shown in the UI.")),
|
|
34
34
|
type: 'string'
|
|
35
35
|
}
|
|
36
36
|
}
|