@codingame/monaco-vscode-relauncher-service-override 38.1.3 → 39.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-relauncher-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "39.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - relauncher service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "39.0.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -34,6 +34,7 @@ export declare class SettingsChangeRelauncher extends Disposable implements IWor
|
|
|
34
34
|
private readonly extensionUnificationEnabled;
|
|
35
35
|
private readonly agentSessionsMigrateLegacyCopilotCli;
|
|
36
36
|
private readonly agentHostClaudeAgentEnabled;
|
|
37
|
+
private readonly agentHostComputerUseEnabled;
|
|
37
38
|
private readonly editorCodexPreferAgentHost;
|
|
38
39
|
private readonly agentHostOTelEnabled;
|
|
39
40
|
private readonly agentHostOTelExporterType;
|
|
@@ -45,6 +45,7 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
45
45
|
"chat.extensionUnification.enabled",
|
|
46
46
|
"chat.agentSessions.migrateLegacyCopilotCli",
|
|
47
47
|
"chat.agentHost.claudeAgent.enabled",
|
|
48
|
+
"chat.agentHost.computerUse.enabled",
|
|
48
49
|
"chat.editor.codex.preferAgentHost",
|
|
49
50
|
"chat.agentHost.otel.enabled",
|
|
50
51
|
"chat.agentHost.otel.exporterType",
|
|
@@ -85,6 +86,7 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
85
86
|
this.extensionUnificationEnabled = ( new ChangeObserver("boolean"));
|
|
86
87
|
this.agentSessionsMigrateLegacyCopilotCli = ( new ChangeObserver("boolean"));
|
|
87
88
|
this.agentHostClaudeAgentEnabled = ( new ChangeObserver("boolean"));
|
|
89
|
+
this.agentHostComputerUseEnabled = ( new ChangeObserver("boolean"));
|
|
88
90
|
this.editorCodexPreferAgentHost = ( new ChangeObserver("boolean"));
|
|
89
91
|
this.agentHostOTelEnabled = ( new ChangeObserver("boolean"));
|
|
90
92
|
this.agentHostOTelExporterType = ( new ChangeObserver("string"));
|
|
@@ -163,6 +165,9 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
163
165
|
processChanged(
|
|
164
166
|
this.editorCodexPreferAgentHost.handleChange(config.chat?.editor?.codex?.preferAgentHost)
|
|
165
167
|
);
|
|
168
|
+
processChanged(
|
|
169
|
+
this.agentHostComputerUseEnabled.handleChange(config.chat?.agentHost?.computerUse?.enabled)
|
|
170
|
+
);
|
|
166
171
|
processChanged(
|
|
167
172
|
this.agentSessionsMigrateLegacyCopilotCli.handleChange(config.chat?.agentSessions?.migrateLegacyCopilotCli)
|
|
168
173
|
);
|
|
@@ -185,15 +190,15 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
185
190
|
this.agentHostOTelDbSpanExporterEnabled.handleChange(config.chat?.agentHost?.otel?.dbSpanExporter?.enabled)
|
|
186
191
|
);
|
|
187
192
|
if (askToRelaunch && changed && this.hostService.hasFocus) {
|
|
188
|
-
this.doConfirm(isNative ? ( localize(
|
|
189
|
-
|
|
193
|
+
this.doConfirm(isNative ? ( localize(23110, "A setting has changed that requires a restart to take effect.")) : ( localize(23111, "A setting has changed that requires a reload to take effect.")), isNative ? ( localize(
|
|
194
|
+
23112,
|
|
190
195
|
"Press the restart button to restart {0} and enable the setting.",
|
|
191
196
|
this.productService.nameLong
|
|
192
197
|
)) : ( localize(
|
|
193
|
-
|
|
198
|
+
23113,
|
|
194
199
|
"Press the reload button to reload {0} and enable the setting.",
|
|
195
200
|
this.productService.nameLong
|
|
196
|
-
)), isNative ? ( localize(
|
|
201
|
+
)), isNative ? ( localize(23114, "&&Restart")) : ( localize(23115, "&&Reload")), () => this.hostService.restart());
|
|
197
202
|
}
|
|
198
203
|
}
|
|
199
204
|
async doConfirm(message, detail, primaryButton, confirmedFn) {
|
|
@@ -240,7 +245,7 @@ let WorkspaceChangeExtHostRelauncher = class WorkspaceChangeExtHostRelauncher ex
|
|
|
240
245
|
if (environmentService.remoteAuthority) {
|
|
241
246
|
hostService.reload();
|
|
242
247
|
} else if (isNative) {
|
|
243
|
-
const stopped = await extensionService.stopExtensionHosts(( localize(
|
|
248
|
+
const stopped = await extensionService.stopExtensionHosts(( localize(23116, "Changing workspace folders")));
|
|
244
249
|
if (stopped) {
|
|
245
250
|
extensionService.startExtensionHosts();
|
|
246
251
|
}
|