@codingame/monaco-vscode-chat-service-override 13.0.0 → 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.
Files changed (28) hide show
  1. package/package.json +20 -23
  2. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +20 -20
  3. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClearActions.js +11 -11
  4. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +9 -9
  5. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +20 -20
  6. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +2 -2
  7. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +1 -1
  8. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
  9. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
  10. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +3 -3
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +9 -9
  13. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +18 -18
  14. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingService.js +4 -4
  15. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +7 -7
  16. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +29 -29
  17. package/vscode/src/vs/workbench/contrib/chat/browser/chatPasteProviders.js +4 -4
  18. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.js +29 -29
  19. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputRelatedFilesContrib.js +1 -1
  21. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
  23. package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +2 -2
  24. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +13 -13
  25. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
  26. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +4 -4
  27. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +8 -8
  28. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-chat-service-override",
3
- "version": "13.0.0",
3
+ "version": "13.1.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - chat service-override",
6
6
  "keywords": [],
@@ -15,29 +15,26 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-1021b67c-93e5-5c78-a270-cbdb2574d980-common": "13.0.0",
19
- "@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common": "13.0.0",
20
- "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common": "13.0.0",
21
- "@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common": "13.0.0",
22
- "@codingame/monaco-vscode-47923ab1-c4c8-58b5-89ac-fa1b998eb5dd-common": "13.0.0",
23
- "@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common": "13.0.0",
24
- "@codingame/monaco-vscode-5108c2c9-4ada-52d8-8c4b-fe03b3160e71-common": "13.0.0",
25
- "@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common": "13.0.0",
26
- "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.0.0",
27
- "@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common": "13.0.0",
28
- "@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.0.0",
29
- "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "13.0.0",
30
- "@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "13.0.0",
31
- "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "13.0.0",
32
- "@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common": "13.0.0",
33
- "@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common": "13.0.0",
34
- "@codingame/monaco-vscode-ea14e352-8f1c-5569-b79a-8a96a53e8abe-common": "13.0.0",
35
- "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common": "13.0.0"
18
+ "@codingame/monaco-vscode-1021b67c-93e5-5c78-a270-cbdb2574d980-common": "13.1.0",
19
+ "@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common": "13.1.0",
20
+ "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common": "13.1.0",
21
+ "@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common": "13.1.0",
22
+ "@codingame/monaco-vscode-47923ab1-c4c8-58b5-89ac-fa1b998eb5dd-common": "13.1.0",
23
+ "@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common": "13.1.0",
24
+ "@codingame/monaco-vscode-5108c2c9-4ada-52d8-8c4b-fe03b3160e71-common": "13.1.0",
25
+ "@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common": "13.1.0",
26
+ "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.1.0",
27
+ "@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common": "13.1.0",
28
+ "@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.1.0",
29
+ "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "13.1.0",
30
+ "@codingame/monaco-vscode-api": "13.1.0",
31
+ "@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "13.1.0",
32
+ "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "13.1.0",
33
+ "@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common": "13.1.0",
34
+ "@codingame/monaco-vscode-e7080bda-ce3e-5243-9a35-98cd9634dbda-common": "13.1.0",
35
+ "@codingame/monaco-vscode-ea14e352-8f1c-5569-b79a-8a96a53e8abe-common": "13.1.0",
36
+ "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common": "13.1.0"
36
37
  },
37
- "peerDependencies": {
38
- "@codingame/monaco-vscode-api": "13.0.0"
39
- },
40
- "peerDependenciesMeta": {},
41
38
  "main": "index.js",
42
39
  "module": "index.js",
43
40
  "types": "index.d.ts",
@@ -48,55 +48,55 @@ function getAccessibilityHelpText(type, keybindingService) {
48
48
  if (type === 'panelChat' || type === 'quickChat') {
49
49
  if (type === 'quickChat') {
50
50
  content.push(( localize(
51
- 4131,
51
+ 4149,
52
52
  'The quick chat view is comprised of an input box and a request/response list. The input box is used to make requests and the list is used to display responses.'
53
53
  )));
54
54
  content.push(( localize(
55
- 4132,
55
+ 4150,
56
56
  'The quick chat view is a transient interface for making and viewing requests, while the panel chat view is a persistent interface that also supports navigating suggested follow-up questions.'
57
57
  )));
58
58
  }
59
59
  if (type === 'panelChat') {
60
60
  content.push(( localize(
61
- 4133,
61
+ 4151,
62
62
  'The panel chat view is a persistent interface that also supports navigating suggested follow-up questions, while the quick chat view is a transient interface for making and viewing requests.'
63
63
  )));
64
64
  content.push(( localize(
65
- 4134,
65
+ 4152,
66
66
  'In the input box, navigate to the suggested follow up question (Shift+Tab) and press Enter to run it.'
67
67
  )));
68
68
  }
69
69
  content.push(( localize(
70
- 4135,
70
+ 4153,
71
71
  'In the input box, use up and down arrows to navigate your request history. Edit input and use enter or the submit button to run a new request.'
72
72
  )));
73
73
  content.push(( localize(
74
- 4136,
74
+ 4154,
75
75
  'In the input box, inspect the last response in the accessible view{0}.',
76
76
  '<keybinding:editor.action.accessibleView>'
77
77
  )));
78
78
  content.push(( localize(
79
- 4137,
79
+ 4155,
80
80
  'Chat responses will be announced as they come in. A response will indicate the number of code blocks, if any, and then the rest of the response.'
81
81
  )));
82
82
  content.push(( localize(
83
- 4138,
83
+ 4156,
84
84
  'To focus the chat request/response list, which can be navigated with up and down arrows, invoke the Focus Chat command{0}.',
85
85
  getChatFocusKeybindingLabel(keybindingService, type, false)
86
86
  )));
87
87
  content.push(( localize(
88
- 4139,
88
+ 4157,
89
89
  'To focus the input box for chat requests, invoke the Focus Chat Input command{0}.',
90
90
  getChatFocusKeybindingLabel(keybindingService, type, true)
91
91
  )));
92
92
  content.push(( localize(
93
- 4140,
93
+ 4158,
94
94
  'To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.',
95
95
  '<keybinding:workbench.action.chat.nextCodeBlock>'
96
96
  )));
97
97
  if (type === 'panelChat') {
98
98
  content.push(( localize(
99
- 4141,
99
+ 4159,
100
100
  'To create a new chat session, invoke the New Chat command{0}.',
101
101
  '<keybinding:workbench.action.chat.new>'
102
102
  )));
@@ -104,45 +104,45 @@ function getAccessibilityHelpText(type, keybindingService) {
104
104
  }
105
105
  else {
106
106
  content.push(( localize(
107
- 4142,
107
+ 4160,
108
108
  "Inline chat occurs within a code editor and takes into account the current selection. It is useful for making changes to the current editor. For example, fixing diagnostics, documenting or refactoring code. Keep in mind that AI generated code may be incorrect."
109
109
  )));
110
110
  content.push(( localize(
111
- 4143,
111
+ 4161,
112
112
  "It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat{0}.",
113
113
  '<keybinding:inlineChat.start>'
114
114
  )));
115
115
  content.push(( localize(
116
- 4144,
116
+ 4162,
117
117
  'In the input box, use Show Previous{0} and Show Next{1} to navigate your request history. Edit input and use enter or the submit button to run a new request.',
118
118
  '<keybinding:history.showPrevious>',
119
119
  '<keybinding:history.showNext>'
120
120
  )));
121
121
  content.push(( localize(
122
- 4145,
122
+ 4163,
123
123
  'In the input box, inspect the response in the accessible view{0}.',
124
124
  '<keybinding:editor.action.accessibleView>'
125
125
  )));
126
126
  content.push(( localize(
127
- 4146,
127
+ 4164,
128
128
  "Context menu actions may run a request prefixed with a /. Type / to discover such ready-made commands."
129
129
  )));
130
130
  content.push(( localize(
131
- 4147,
131
+ 4165,
132
132
  "If a fix action is invoked, a response will indicate the problem with the current code. A diff editor will be rendered and can be reached by tabbing."
133
133
  )));
134
134
  content.push(( localize(
135
- 4148,
135
+ 4166,
136
136
  "Once in the diff editor, enter review mode with{0}. Use up and down arrows to navigate lines with the proposed changes.",
137
137
  AccessibleDiffViewerNext.id
138
138
  )));
139
139
  content.push(( localize(
140
- 4149,
140
+ 4167,
141
141
  "Use tab to reach conditional parts like commands, status, message responses and more."
142
142
  )));
143
143
  }
144
144
  content.push(( localize(
145
- 4150,
145
+ 4168,
146
146
  "Accessibility Signals can be changed via settings with a prefix of signals.chat. By default, if a request takes more than 4 seconds, you will hear a sound indicating that progress is still occurring."
147
147
  )));
148
148
  return content.join('\n');
@@ -28,7 +28,7 @@ function registerNewChatActions() {
28
28
  constructor() {
29
29
  super({
30
30
  id: 'workbench.action.chatEditor.newChat',
31
- title: ( localize2(4177, "New Chat")),
31
+ title: ( localize2(4195, "New Chat")),
32
32
  icon: Codicon.plus,
33
33
  f1: false,
34
34
  precondition: ChatContextKeys.enabled,
@@ -49,7 +49,7 @@ function registerNewChatActions() {
49
49
  constructor() {
50
50
  super({
51
51
  id: ACTION_ID_NEW_CHAT,
52
- title: ( localize2(4177, "New Chat")),
52
+ title: ( localize2(4195, "New Chat")),
53
53
  category: CHAT_CATEGORY,
54
54
  icon: Codicon.plus,
55
55
  precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ChatContextKeys.location.notEqualsTo(ChatAgentLocation.EditingSession)))),
@@ -93,7 +93,7 @@ function registerNewChatActions() {
93
93
  constructor() {
94
94
  super({
95
95
  id: ACTION_ID_NEW_EDIT_SESSION,
96
- title: ( localize2(4178, "New Edit Session")),
96
+ title: ( localize2(4196, "New Edit Session")),
97
97
  category: CHAT_CATEGORY,
98
98
  icon: Codicon.plus,
99
99
  precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ChatContextKeys.editingParticipantRegistered)),
@@ -126,9 +126,9 @@ function registerNewChatActions() {
126
126
  const undecidedEdits = currentEdits.filter((edit) => edit.state.get() === WorkingSetEntryState.Modified);
127
127
  if (undecidedEdits.length) {
128
128
  const { result } = await dialogService.prompt({
129
- title: ( localize(4179, "Start new editing session?")),
129
+ title: ( localize(4197, "Start new editing session?")),
130
130
  message: ( localize(
131
- 4180,
131
+ 4198,
132
132
  "Starting a new editing session will end your current session. Do you want to accept pending edits to {0} files?",
133
133
  undecidedEdits.length
134
134
  )),
@@ -136,14 +136,14 @@ function registerNewChatActions() {
136
136
  cancelButton: true,
137
137
  buttons: [
138
138
  {
139
- label: ( localize(4181, "Accept & Continue")),
139
+ label: ( localize(4199, "Accept & Continue")),
140
140
  run: async () => {
141
141
  await currentEditingSession.accept();
142
142
  return true;
143
143
  }
144
144
  },
145
145
  {
146
- label: ( localize(4182, "Discard & Continue")),
146
+ label: ( localize(4200, "Discard & Continue")),
147
147
  run: async () => {
148
148
  await currentEditingSession.reject();
149
149
  return true;
@@ -191,7 +191,7 @@ function registerNewChatActions() {
191
191
  constructor() {
192
192
  super({
193
193
  id: 'workbench.action.chat.done',
194
- title: ( localize2(4183, "Done")),
194
+ title: ( localize2(4201, "Done")),
195
195
  category: CHAT_CATEGORY,
196
196
  precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ChatContextKeys.editingParticipantRegistered)),
197
197
  f1: false,
@@ -231,7 +231,7 @@ function registerNewChatActions() {
231
231
  constructor() {
232
232
  super({
233
233
  id: 'workbench.action.chat.undoEdit',
234
- title: ( localize2(4184, "Undo Last Edit")),
234
+ title: ( localize2(4202, "Undo Last Edit")),
235
235
  category: CHAT_CATEGORY,
236
236
  icon: Codicon.discard,
237
237
  precondition: ( ContextKeyExpr.and(
@@ -261,7 +261,7 @@ function registerNewChatActions() {
261
261
  constructor() {
262
262
  super({
263
263
  id: 'workbench.action.chat.redoEdit',
264
- title: ( localize2(4185, "Redo Last Edit")),
264
+ title: ( localize2(4203, "Redo Last Edit")),
265
265
  category: CHAT_CATEGORY,
266
266
  icon: Codicon.redo,
267
267
  precondition: ( ContextKeyExpr.and(
@@ -291,7 +291,7 @@ function registerNewChatActions() {
291
291
  constructor() {
292
292
  super({
293
293
  id: 'workbench.action.chat.openEditSession',
294
- title: ( localize2(4186, "Open {0}", 'Copilot Edits')),
294
+ title: ( localize2(4204, "Open {0}", 'Copilot Edits')),
295
295
  category: CHAT_CATEGORY,
296
296
  icon: Codicon.goToEditingSession,
297
297
  precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ChatContextKeys.editingParticipantRegistered)),
@@ -64,7 +64,7 @@ function registerChatCodeBlockActions() {
64
64
  constructor() {
65
65
  super({
66
66
  id: 'workbench.action.chat.copyCodeBlock',
67
- title: ( localize2(4187, "Copy")),
67
+ title: ( localize2(4205, "Copy")),
68
68
  f1: false,
69
69
  category: CHAT_CATEGORY,
70
70
  icon: Codicon.copy,
@@ -149,7 +149,7 @@ function registerChatCodeBlockActions() {
149
149
  constructor() {
150
150
  super({
151
151
  id: 'workbench.action.chat.applyInEditor',
152
- title: ( localize2(4188, "Apply in Editor")),
152
+ title: ( localize2(4206, "Apply in Editor")),
153
153
  precondition: ChatContextKeys.enabled,
154
154
  f1: true,
155
155
  category: CHAT_CATEGORY,
@@ -185,7 +185,7 @@ function registerChatCodeBlockActions() {
185
185
  constructor() {
186
186
  super({
187
187
  id: 'workbench.action.chat.insertCodeBlock',
188
- title: ( localize2(4189, "Insert At Cursor")),
188
+ title: ( localize2(4207, "Insert At Cursor")),
189
189
  precondition: ChatContextKeys.enabled,
190
190
  f1: true,
191
191
  category: CHAT_CATEGORY,
@@ -219,7 +219,7 @@ function registerChatCodeBlockActions() {
219
219
  constructor() {
220
220
  super({
221
221
  id: 'workbench.action.chat.insertIntoNewFile',
222
- title: ( localize2(4190, "Insert into New File")),
222
+ title: ( localize2(4208, "Insert into New File")),
223
223
  precondition: ChatContextKeys.enabled,
224
224
  f1: true,
225
225
  category: CHAT_CATEGORY,
@@ -260,7 +260,7 @@ function registerChatCodeBlockActions() {
260
260
  constructor() {
261
261
  super({
262
262
  id: 'workbench.action.chat.runInTerminal',
263
- title: ( localize2(4191, "Insert into Terminal")),
263
+ title: ( localize2(4209, "Insert into Terminal")),
264
264
  precondition: ChatContextKeys.enabled,
265
265
  f1: true,
266
266
  category: CHAT_CATEGORY,
@@ -353,7 +353,7 @@ function registerChatCodeBlockActions() {
353
353
  constructor() {
354
354
  super({
355
355
  id: 'workbench.action.chat.nextCodeBlock',
356
- title: ( localize2(4192, "Next Code Block")),
356
+ title: ( localize2(4210, "Next Code Block")),
357
357
  keybinding: {
358
358
  primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown,
359
359
  mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown, },
@@ -373,7 +373,7 @@ function registerChatCodeBlockActions() {
373
373
  constructor() {
374
374
  super({
375
375
  id: 'workbench.action.chat.previousCodeBlock',
376
- title: ( localize2(4193, "Previous Code Block")),
376
+ title: ( localize2(4211, "Previous Code Block")),
377
377
  keybinding: {
378
378
  primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp,
379
379
  mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp, },
@@ -430,7 +430,7 @@ function registerChatCodeCompareBlockActions() {
430
430
  constructor() {
431
431
  super({
432
432
  id: 'workbench.action.chat.applyCompareEdits',
433
- title: ( localize2(4194, "Apply Edits")),
433
+ title: ( localize2(4212, "Apply Edits")),
434
434
  f1: false,
435
435
  category: CHAT_CATEGORY,
436
436
  icon: Codicon.gitPullRequestGoToChanges,
@@ -452,7 +452,7 @@ function registerChatCodeCompareBlockActions() {
452
452
  constructor() {
453
453
  super({
454
454
  id: 'workbench.action.chat.discardCompareEdits',
455
- title: ( localize2(4195, "Discard Edits")),
455
+ title: ( localize2(4213, "Discard Edits")),
456
456
  f1: false,
457
457
  category: CHAT_CATEGORY,
458
458
  icon: Codicon.trash,
@@ -119,7 +119,7 @@ class AttachFileToChatAction extends AttachFileAction {
119
119
  constructor() {
120
120
  super({
121
121
  id: AttachFileToChatAction.ID,
122
- title: ( localize2(4196, "Add File to Chat")),
122
+ title: ( localize2(4214, "Add File to Chat")),
123
123
  category: CHAT_CATEGORY,
124
124
  f1: false,
125
125
  precondition: ChatContextKeys.enabled,
@@ -151,7 +151,7 @@ class AttachSelectionToChatAction extends Action2 {
151
151
  constructor() {
152
152
  super({
153
153
  id: AttachSelectionToChatAction.ID,
154
- title: ( localize2(4197, "Add Selection to Chat")),
154
+ title: ( localize2(4215, "Add Selection to Chat")),
155
155
  category: CHAT_CATEGORY,
156
156
  f1: false,
157
157
  precondition: ChatContextKeys.enabled,
@@ -212,7 +212,7 @@ class AttachFileToEditingSessionAction extends AttachFileAction {
212
212
  constructor() {
213
213
  super({
214
214
  id: AttachFileToEditingSessionAction.ID,
215
- title: ( localize2(4198, "Add File to {0}", 'Copilot Edits')),
215
+ title: ( localize2(4216, "Add File to {0}", 'Copilot Edits')),
216
216
  category: CHAT_CATEGORY,
217
217
  f1: false,
218
218
  precondition: ChatContextKeys.enabled,
@@ -244,7 +244,7 @@ class AttachSelectionToEditingSessionAction extends Action2 {
244
244
  constructor() {
245
245
  super({
246
246
  id: AttachSelectionToEditingSessionAction.ID,
247
- title: ( localize2(4199, "Add Selection to {0}", 'Copilot Edits')),
247
+ title: ( localize2(4217, "Add Selection to {0}", 'Copilot Edits')),
248
248
  category: CHAT_CATEGORY,
249
249
  f1: false,
250
250
  precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ActiveEditorContext.isEqualTo('workbench.editors.files.textFileEditor')))),
@@ -274,7 +274,7 @@ class AttachContextAction extends Action2 {
274
274
  static { this._cdt = ( ContextKeyExpr.or(( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.Panel)))), ( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.Editor)))), ( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.Notebook)))), ( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.Terminal)))))); }
275
275
  constructor(desc = {
276
276
  id: AttachContextAction.ID,
277
- title: ( localize2(4200, "Attach Context")),
277
+ title: ( localize2(4218, "Attach Context")),
278
278
  icon: Codicon.attach,
279
279
  category: CHAT_CATEGORY,
280
280
  precondition: ( ContextKeyExpr.or(AttachContextAction._cdt, ( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.EditingSession)))))),
@@ -419,7 +419,7 @@ class AttachContextAction extends Action2 {
419
419
  }
420
420
  return acc;
421
421
  }, []));
422
- const selectedFiles = await quickInputService.pick(itemsPromise, { placeHolder: ( localize(4201, 'Add related files to your working set')), canPickMany: true });
422
+ const selectedFiles = await quickInputService.pick(itemsPromise, { placeHolder: ( localize(4219, 'Add related files to your working set')), canPickMany: true });
423
423
  for (const file of selectedFiles ?? []) {
424
424
  chatEditingService?.currentEditingSessionObs.get()?.addFileToWorkingSet(file.value);
425
425
  }
@@ -459,8 +459,8 @@ class AttachContextAction extends Action2 {
459
459
  const fileBuffer = await clipboardService.readImage();
460
460
  toAttach.push({
461
461
  id: await imageToHash(fileBuffer),
462
- name: ( localize(4202, 'Pasted Image')),
463
- fullName: ( localize(4202, 'Pasted Image')),
462
+ name: ( localize(4220, 'Pasted Image')),
463
+ fullName: ( localize(4220, 'Pasted Image')),
464
464
  value: fileBuffer,
465
465
  isDynamic: true,
466
466
  isImage: true
@@ -525,7 +525,7 @@ class AttachContextAction extends Action2 {
525
525
  quickPickItems.push({
526
526
  kind: 'image',
527
527
  id: await imageToHash(imageData),
528
- label: ( localize(4203, 'Image from Clipboard')),
528
+ label: ( localize(4221, 'Image from Clipboard')),
529
529
  iconClass: ThemeIcon.asClassName(Codicon.fileMedia),
530
530
  });
531
531
  }
@@ -535,8 +535,8 @@ class AttachContextAction extends Action2 {
535
535
  icon: ThemeIcon.fromId(Codicon.deviceCamera.id),
536
536
  iconClass: ThemeIcon.asClassName(Codicon.deviceCamera),
537
537
  label: (isElectron
538
- ? ( localize(4204, 'Screenshot Window'))
539
- : ( localize(4205, 'Screenshot'))),
538
+ ? ( localize(4222, 'Screenshot Window'))
539
+ : ( localize(4223, 'Screenshot'))),
540
540
  });
541
541
  }
542
542
  if (widget.viewModel?.sessionId) {
@@ -579,7 +579,7 @@ class AttachContextAction extends Action2 {
579
579
  }
580
580
  quickPickItems.push({
581
581
  kind: 'quickaccess',
582
- label: ( localize(4206, 'Symbol...')),
582
+ label: ( localize(4224, 'Symbol...')),
583
583
  iconClass: ThemeIcon.asClassName(Codicon.symbolField),
584
584
  prefix: SymbolsQuickAccessProvider.PREFIX,
585
585
  id: 'symbol'
@@ -592,10 +592,10 @@ class AttachContextAction extends Action2 {
592
592
  icon: ThemeIcon.fromId(Codicon.serverEnvironment.id),
593
593
  iconClass: ThemeIcon.asClassName(Codicon.serverEnvironment),
594
594
  value: 'kernelVariable',
595
- label: ( localize(4207, 'Kernel Variable...')),
595
+ label: ( localize(4225, 'Kernel Variable...')),
596
596
  command: {
597
597
  id: 'notebook.chat.selectAndInsertKernelVariable',
598
- title: ( localize(4208, 'Select and Insert Kernel Variable')),
598
+ title: ( localize(4226, 'Select and Insert Kernel Variable')),
599
599
  arguments: [{ widget, range: undefined }]
600
600
  }
601
601
  });
@@ -606,7 +606,7 @@ class AttachContextAction extends Action2 {
606
606
  quickPickItems.push({
607
607
  kind: 'related-files',
608
608
  id: 'related-files',
609
- label: ( localize(4209, 'Related Files')),
609
+ label: ( localize(4227, 'Related Files')),
610
610
  iconClass: ThemeIcon.asClassName(Codicon.sparkle),
611
611
  });
612
612
  }
@@ -614,7 +614,7 @@ class AttachContextAction extends Action2 {
614
614
  quickPickItems.push({
615
615
  kind: 'open-editors',
616
616
  id: 'open-editors',
617
- label: ( localize(4210, 'Open Editors')),
617
+ label: ( localize(4228, 'Open Editors')),
618
618
  iconClass: ThemeIcon.asClassName(Codicon.files),
619
619
  });
620
620
  }
@@ -622,7 +622,7 @@ class AttachContextAction extends Action2 {
622
622
  quickPickItems.push({
623
623
  kind: 'search-results',
624
624
  id: 'search-results',
625
- label: ( localize(4211, 'Search Results')),
625
+ label: ( localize(4229, 'Search Results')),
626
626
  iconClass: ThemeIcon.asClassName(Codicon.search),
627
627
  });
628
628
  }
@@ -699,7 +699,7 @@ class AttachContextAction extends Action2 {
699
699
  SymbolsQuickAccessProvider.PREFIX,
700
700
  AbstractGotoSymbolQuickAccessProvider.PREFIX
701
701
  ],
702
- placeholder: placeholder ?? ( localize(4212, 'Search attachments')),
702
+ placeholder: placeholder ?? ( localize(4230, 'Search attachments')),
703
703
  providerOptions,
704
704
  });
705
705
  }
@@ -708,7 +708,7 @@ registerAction2(class AttachFilesAction extends AttachContextAction {
708
708
  constructor() {
709
709
  super({
710
710
  id: 'workbench.action.chat.editing.attachFiles',
711
- title: ( localize2(4213, "Add Files to Working Set")),
711
+ title: ( localize2(4231, "Add Files to Working Set")),
712
712
  f1: false,
713
713
  category: CHAT_CATEGORY,
714
714
  precondition: ( ChatContextKeys.location.isEqualTo(ChatAgentLocation.EditingSession))
@@ -716,7 +716,7 @@ registerAction2(class AttachFilesAction extends AttachContextAction {
716
716
  }
717
717
  async run(accessor, ...args) {
718
718
  const context = args[0];
719
- const attachFilesContext = { ...context, showFilesOnly: true, placeholder: ( localize(4214, 'Search for files to add to your working set')) };
719
+ const attachFilesContext = { ...context, showFilesOnly: true, placeholder: ( localize(4232, 'Search for files to add to your working set')) };
720
720
  return super.run(accessor, attachFilesContext);
721
721
  }
722
722
  });
@@ -12,7 +12,7 @@ function registerChatCopyActions() {
12
12
  constructor() {
13
13
  super({
14
14
  id: 'workbench.action.chat.copyAll',
15
- title: ( localize2(4215, "Copy All")),
15
+ title: ( localize2(4233, "Copy All")),
16
16
  f1: false,
17
17
  category: CHAT_CATEGORY,
18
18
  menu: {
@@ -42,7 +42,7 @@ function registerChatCopyActions() {
42
42
  constructor() {
43
43
  super({
44
44
  id: 'workbench.action.chat.copyItem',
45
- title: ( localize2(4216, "Copy")),
45
+ title: ( localize2(4234, "Copy")),
46
46
  f1: false,
47
47
  category: CHAT_CATEGORY,
48
48
  menu: {
@@ -13,7 +13,7 @@ class LogChatInputHistoryAction extends Action2 {
13
13
  constructor() {
14
14
  super({
15
15
  id: LogChatInputHistoryAction.ID,
16
- title: ( localize2(4217, "Log Chat Input History")),
16
+ title: ( localize2(4235, "Log Chat Input History")),
17
17
  icon: Codicon.attach,
18
18
  category: Categories.Developer,
19
19
  f1: true
@@ -13,7 +13,7 @@ function registerChatFileTreeActions() {
13
13
  constructor() {
14
14
  super({
15
15
  id: 'workbench.action.chat.nextFileTree',
16
- title: ( localize2(4230, "Next File Tree")),
16
+ title: ( localize2(4248, "Next File Tree")),
17
17
  keybinding: {
18
18
  primary: KeyMod.CtrlCmd | KeyCode.F9,
19
19
  weight: KeybindingWeight.WorkbenchContrib,
@@ -32,7 +32,7 @@ function registerChatFileTreeActions() {
32
32
  constructor() {
33
33
  super({
34
34
  id: 'workbench.action.chat.previousFileTree',
35
- title: ( localize2(4231, "Previous File Tree")),
35
+ title: ( localize2(4249, "Previous File Tree")),
36
36
  keybinding: {
37
37
  primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.F9,
38
38
  weight: KeybindingWeight.WorkbenchContrib,
@@ -14,14 +14,14 @@ import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/c
14
14
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
15
15
 
16
16
  const defaultFileName = 'chat.json';
17
- const filters = [{ name: ( localize(4232, "Chat Session")), extensions: ['json'] }];
17
+ const filters = [{ name: ( localize(4250, "Chat Session")), extensions: ['json'] }];
18
18
  function registerChatExportActions() {
19
19
  registerAction2(class ExportChatAction extends Action2 {
20
20
  constructor() {
21
21
  super({
22
22
  id: 'workbench.action.chat.export',
23
23
  category: CHAT_CATEGORY,
24
- title: ( localize2(4233, "Export Chat...")),
24
+ title: ( localize2(4251, "Export Chat...")),
25
25
  precondition: ChatContextKeys.enabled,
26
26
  f1: true,
27
27
  });
@@ -55,7 +55,7 @@ function registerChatExportActions() {
55
55
  constructor() {
56
56
  super({
57
57
  id: 'workbench.action.chat.import',
58
- title: ( localize2(4234, "Import Chat...")),
58
+ title: ( localize2(4252, "Import Chat...")),
59
59
  category: CHAT_CATEGORY,
60
60
  precondition: ChatContextKeys.enabled,
61
61
  f1: true,
@@ -25,7 +25,7 @@ function registerMoveActions() {
25
25
  constructor() {
26
26
  super({
27
27
  id: `workbench.action.chat.openInEditor`,
28
- title: ( localize2(4235, "Open Chat in Editor")),
28
+ title: ( localize2(4253, "Open Chat in Editor")),
29
29
  category: CHAT_CATEGORY,
30
30
  precondition: ChatContextKeys.enabled,
31
31
  f1: true,
@@ -46,7 +46,7 @@ function registerMoveActions() {
46
46
  constructor() {
47
47
  super({
48
48
  id: `workbench.action.chat.openInNewWindow`,
49
- title: ( localize2(4236, "Open Chat in New Window")),
49
+ title: ( localize2(4254, "Open Chat in New Window")),
50
50
  category: CHAT_CATEGORY,
51
51
  precondition: ChatContextKeys.enabled,
52
52
  f1: true,
@@ -67,7 +67,7 @@ function registerMoveActions() {
67
67
  constructor() {
68
68
  super({
69
69
  id: `workbench.action.chat.openInSidebar`,
70
- title: ( localize2(4237, "Open Chat in Side Bar")),
70
+ title: ( localize2(4255, "Open Chat in Side Bar")),
71
71
  category: CHAT_CATEGORY,
72
72
  precondition: ChatContextKeys.enabled,
73
73
  f1: true,