@codingame/monaco-vscode-a793b3ee-7ba9-5176-a019-30ec806fdd95-common 20.0.1 → 20.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/package.json +9 -9
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@codingame/monaco-vscode-a793b3ee-7ba9-5176-a019-30ec806fdd95-common",
|
3
|
-
"version": "20.0
|
3
|
+
"version": "20.1.0",
|
4
4
|
"private": false,
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - common package (chat, interactive, notebook)",
|
6
6
|
"keywords": [],
|
@@ -15,14 +15,14 @@
|
|
15
15
|
},
|
16
16
|
"type": "module",
|
17
17
|
"dependencies": {
|
18
|
-
"@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common": "20.0
|
19
|
-
"@codingame/monaco-vscode-6db1b967-5327-5c5c-8c17-bd92774c0fb2-common": "20.0
|
20
|
-
"@codingame/monaco-vscode-ac93482b-2178-52df-a200-ba0d1a4963fb-common": "20.0
|
21
|
-
"@codingame/monaco-vscode-api": "20.0
|
22
|
-
"@codingame/monaco-vscode-b994942c-360d-5b68-8a33-77d4bde6b714-common": "20.0
|
23
|
-
"@codingame/monaco-vscode-c2deffc4-ad68-5e63-8f95-9b89e0fc6898-common": "20.0
|
24
|
-
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "20.0
|
25
|
-
"@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common": "20.0
|
18
|
+
"@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common": "20.1.0",
|
19
|
+
"@codingame/monaco-vscode-6db1b967-5327-5c5c-8c17-bd92774c0fb2-common": "20.1.0",
|
20
|
+
"@codingame/monaco-vscode-ac93482b-2178-52df-a200-ba0d1a4963fb-common": "20.1.0",
|
21
|
+
"@codingame/monaco-vscode-api": "20.1.0",
|
22
|
+
"@codingame/monaco-vscode-b994942c-360d-5b68-8a33-77d4bde6b714-common": "20.1.0",
|
23
|
+
"@codingame/monaco-vscode-c2deffc4-ad68-5e63-8f95-9b89e0fc6898-common": "20.1.0",
|
24
|
+
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "20.1.0",
|
25
|
+
"@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common": "20.1.0"
|
26
26
|
},
|
27
27
|
"exports": {
|
28
28
|
".": {
|
@@ -307,14 +307,14 @@ let InlineChatController1 = InlineChatController1_1 = class InlineChatController
|
|
307
307
|
delete options.position;
|
308
308
|
}
|
309
309
|
const widgetPosition = this._showWidget(session?.headless, true, initPosition);
|
310
|
-
let errorMessage = ( localize(
|
310
|
+
let errorMessage = ( localize(7679, "Failed to start editor chat"));
|
311
311
|
if (!session) {
|
312
312
|
const createSessionCts = ( new CancellationTokenSource());
|
313
313
|
const msgListener = Event.once(this._messages.event)(m => {
|
314
314
|
this._log('state=_createSession) message received', m);
|
315
315
|
if (m === Message.ACCEPT_INPUT) {
|
316
316
|
options.autoSend = true;
|
317
|
-
this._ui.value.widget.updateInfo(( localize(
|
317
|
+
this._ui.value.widget.updateInfo(( localize(7680, "Getting ready...")));
|
318
318
|
}
|
319
319
|
else {
|
320
320
|
createSessionCts.cancel();
|
@@ -633,7 +633,7 @@ let InlineChatController1 = InlineChatController1_1 = class InlineChatController
|
|
633
633
|
let newPosition;
|
634
634
|
if (response.result?.errorDetails) ;
|
635
635
|
else if (response.response.value.length === 0) {
|
636
|
-
const status = ( localize(
|
636
|
+
const status = ( localize(7681, "No results, please refine your input and try again"));
|
637
637
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
638
638
|
}
|
639
639
|
else {
|
@@ -667,7 +667,7 @@ let InlineChatController1 = InlineChatController1_1 = class InlineChatController
|
|
667
667
|
await this._strategy.apply();
|
668
668
|
}
|
669
669
|
catch (err) {
|
670
|
-
this._dialogService.error(( localize(
|
670
|
+
this._dialogService.error(( localize(7682, "Failed to apply changes.", toErrorMessage(err))));
|
671
671
|
this._log('FAILED to apply changes');
|
672
672
|
this._log(err);
|
673
673
|
}
|
@@ -688,7 +688,7 @@ let InlineChatController1 = InlineChatController1_1 = class InlineChatController
|
|
688
688
|
undoCancelEdits = this._strategy.cancel();
|
689
689
|
}
|
690
690
|
catch (err) {
|
691
|
-
this._dialogService.error(( localize(
|
691
|
+
this._dialogService.error(( localize(7683, "Failed to discard changes.", toErrorMessage(err))));
|
692
692
|
this._log('FAILED to discard changes');
|
693
693
|
this._log(err);
|
694
694
|
}
|
@@ -803,7 +803,7 @@ let InlineChatController1 = InlineChatController1_1 = class InlineChatController
|
|
803
803
|
}
|
804
804
|
}
|
805
805
|
_updatePlaceholder() {
|
806
|
-
this._ui.value.widget.placeholder = this._session?.agent.description ?? ( localize(
|
806
|
+
this._ui.value.widget.placeholder = this._session?.agent.description ?? ( localize(7684, 'Ask or edit in context'));
|
807
807
|
}
|
808
808
|
_updateInput(text, selectAll = true) {
|
809
809
|
this._ui.value.widget.chatWidget.setInput(text);
|
@@ -222,7 +222,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
222
222
|
this.widget.reset();
|
223
223
|
this.widget.chatWidget.setVisible(false);
|
224
224
|
super.hide();
|
225
|
-
status(( localize(
|
225
|
+
status(( localize(7696, 'Closed inline chat widget')));
|
226
226
|
scrollState.restore(this.editor);
|
227
227
|
}
|
228
228
|
};
|
@@ -135,7 +135,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
135
135
|
return [{
|
136
136
|
text: `$(${successStateIcon.id})`,
|
137
137
|
color: themeColorFromId(cellStatusIconSuccess),
|
138
|
-
tooltip: ( localize(
|
138
|
+
tooltip: ( localize(8547, "Success")),
|
139
139
|
alignment: CellStatusbarAlignment.Left,
|
140
140
|
priority: Number.MAX_SAFE_INTEGER
|
141
141
|
}];
|
@@ -144,7 +144,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
144
144
|
return [{
|
145
145
|
text: `$(${errorStateIcon.id})`,
|
146
146
|
color: themeColorFromId(cellStatusIconError),
|
147
|
-
tooltip: ( localize(
|
147
|
+
tooltip: ( localize(8548, "Failed")),
|
148
148
|
alignment: CellStatusbarAlignment.Left,
|
149
149
|
priority: Number.MAX_SAFE_INTEGER
|
150
150
|
}];
|
@@ -152,7 +152,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
152
152
|
else if (state === NotebookCellExecutionState.Pending || state === NotebookCellExecutionState.Unconfirmed) {
|
153
153
|
return [{
|
154
154
|
text: `$(${pendingStateIcon.id})`,
|
155
|
-
tooltip: ( localize(
|
155
|
+
tooltip: ( localize(8549, "Pending")),
|
156
156
|
alignment: CellStatusbarAlignment.Left,
|
157
157
|
priority: Number.MAX_SAFE_INTEGER
|
158
158
|
}];
|
@@ -163,7 +163,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
163
163
|
ThemeIcon.modify(executingStateIcon, 'spin');
|
164
164
|
return [{
|
165
165
|
text: `$(${icon.id})`,
|
166
|
-
tooltip: ( localize(
|
166
|
+
tooltip: ( localize(8550, "Executing")),
|
167
167
|
alignment: CellStatusbarAlignment.Left,
|
168
168
|
priority: Number.MAX_SAFE_INTEGER
|
169
169
|
}];
|
@@ -275,10 +275,10 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
|
|
275
275
|
}));
|
276
276
|
renderTimes += `- [${rendererInfo?.displayName ?? key}](command:workbench.action.openIssueReporter?${args}) ${formatCellDuration(renderDuration[key])}\n`;
|
277
277
|
}
|
278
|
-
renderTimes += `\n*${( localize(
|
278
|
+
renderTimes += `\n*${( localize(8551, "Use the links above to file an issue using the issue reporter."))}*\n`;
|
279
279
|
tooltip = {
|
280
280
|
value: ( localize(
|
281
|
-
|
281
|
+
8552,
|
282
282
|
"**Last Execution** {0}\n\n**Execution Time** {1}\n\n**Overhead Time** {2}\n\n**Render Times**\n\n{3}",
|
283
283
|
lastExecution,
|
284
284
|
formatCellDuration(executionDuration),
|
@@ -290,7 +290,7 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
|
|
290
290
|
}
|
291
291
|
const executionText = this._isVerbose ?
|
292
292
|
( localize(
|
293
|
-
|
293
|
+
8553,
|
294
294
|
"Last Execution: {0}, Duration: {1}",
|
295
295
|
lastExecution,
|
296
296
|
formatCellDuration(duration, false)
|
@@ -293,10 +293,10 @@ let NotebookFindWidget = class NotebookFindWidget extends SimpleFindReplaceWidge
|
|
293
293
|
_getAriaLabel(label, currentMatch, searchString) {
|
294
294
|
if (label === NLS_NO_RESULTS) {
|
295
295
|
return searchString === ''
|
296
|
-
? ( localize(
|
297
|
-
: ( localize(
|
296
|
+
? ( localize(8592, "{0} found", label))
|
297
|
+
: ( localize(8593, "{0} found for '{1}'", label, searchString));
|
298
298
|
}
|
299
|
-
return localize(
|
299
|
+
return localize(8594, "{0} found for '{1}'", label, searchString);
|
300
300
|
}
|
301
301
|
dispose() {
|
302
302
|
this._notebookEditor?.removeClassName(FIND_SHOW_TRANSITION);
|