@codingame/monaco-vscode-chat-service-override 10.0.2 → 10.1.1

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 (25) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +19 -19
  3. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClearActions.js +4 -3
  4. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +12 -11
  5. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +12 -11
  6. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +4 -3
  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 +4 -3
  9. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +5 -4
  10. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +5 -4
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +170 -0
  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 +17 -17
  14. package/vscode/src/vs/workbench/contrib/chat/browser/chatGettingStarted.js +2 -2
  15. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipantContributions.js +26 -26
  16. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.js +1 -1
  17. package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +2 -2
  18. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +2 -2
  19. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +3 -3
  20. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
  21. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +14 -14
  22. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
  23. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +4 -4
  24. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +2 -2
  25. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-chat-service-override",
3
- "version": "10.0.2",
3
+ "version": "10.1.1",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@10.0.2"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.1"
30
30
  }
31
31
  }
@@ -27,93 +27,93 @@ function getAccessibilityHelpText(type) {
27
27
  const content = [];
28
28
  if (type === 'panelChat') {
29
29
  content.push(( localize(
30
- 7214,
30
+ 7477,
31
31
  'The 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.'
32
32
  )));
33
33
  content.push(( localize(
34
- 7215,
34
+ 7478,
35
35
  '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.'
36
36
  )));
37
37
  content.push(( localize(
38
- 7216,
38
+ 7479,
39
39
  'In the input box, inspect the last response in the accessible view{0}.',
40
40
  '<keybinding:editor.action.accessibleView>'
41
41
  )));
42
42
  content.push(( localize(
43
- 7217,
43
+ 7480,
44
44
  'In the input box, navigate to the suggested follow up question (Shift+Tab) and press Enter to run it.'
45
45
  )));
46
46
  content.push(( localize(
47
- 7218,
47
+ 7481,
48
48
  '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.'
49
49
  )));
50
50
  content.push(( localize(
51
- 7219,
51
+ 7482,
52
52
  'To focus the chat request/response list, which can be navigated with up and down arrows, invoke the Focus Chat command{0}.',
53
53
  '<keybinding:chat.action.focus>'
54
54
  )));
55
55
  content.push(( localize(
56
- 7220,
56
+ 7483,
57
57
  'To focus the input box for chat requests, invoke the Focus Chat Input command{0}.',
58
58
  '<keybinding:workbench.action.chat.focusInput>'
59
59
  )));
60
60
  content.push(( localize(
61
- 7221,
61
+ 7484,
62
62
  'To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.',
63
63
  '<keybinding:workbench.action.chat.nextCodeBlock>'
64
64
  )));
65
65
  content.push(( localize(
66
- 7222,
66
+ 7485,
67
67
  'To focus the next file tree within a response, invoke the Chat: Next File Tree command{0}.',
68
68
  '<keybinding:workbench.action.chat.nextFileTree>'
69
69
  )));
70
70
  content.push(( localize(
71
- 7223,
71
+ 7486,
72
72
  'To create a new chat session, invoke the New Chat command{0}.',
73
73
  '<keybinding:workbench.action.chat.new>'
74
74
  )));
75
75
  }
76
76
  else {
77
77
  content.push(( localize(
78
- 7224,
78
+ 7487,
79
79
  "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."
80
80
  )));
81
81
  content.push(( localize(
82
- 7225,
82
+ 7488,
83
83
  "It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat{0}.",
84
84
  '<keybinding:inlineChat.start>'
85
85
  )));
86
86
  content.push(( localize(
87
- 7226,
87
+ 7489,
88
88
  '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.',
89
89
  '<keybinding:history.showPrevious>',
90
90
  '<keybinding:history.showNext>'
91
91
  )));
92
92
  content.push(( localize(
93
- 7227,
93
+ 7490,
94
94
  'In the input box, inspect the response in the accessible view{0}.',
95
95
  '<keybinding:editor.action.accessibleView>'
96
96
  )));
97
97
  content.push(( localize(
98
- 7228,
98
+ 7491,
99
99
  "Context menu actions may run a request prefixed with a /. Type / to discover such ready-made commands."
100
100
  )));
101
101
  content.push(( localize(
102
- 7229,
102
+ 7492,
103
103
  "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."
104
104
  )));
105
105
  content.push(( localize(
106
- 7230,
106
+ 7493,
107
107
  "Once in the diff editor, enter review mode with{0}. Use up and down arrows to navigate lines with the proposed changes.",
108
108
  AccessibleDiffViewerNext.id
109
109
  )));
110
110
  content.push(( localize(
111
- 7231,
111
+ 7494,
112
112
  "Use tab to reach conditional parts like commands, status, message responses and more."
113
113
  )));
114
114
  }
115
115
  content.push(( localize(
116
- 7232,
116
+ 7495,
117
117
  "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."
118
118
  )));
119
119
  return content.join('\n');
@@ -5,13 +5,14 @@ import { IAccessibilitySignalService } from 'vscode/vscode/vs/platform/accessibi
5
5
  import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
6
6
  import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
7
7
  import { ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
8
- import { CHAT_CATEGORY, isChatViewTitleActionContext } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
8
+ import { isChatViewTitleActionContext } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
9
9
  import { clearChatEditor } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatClear';
10
10
  import { CHAT_VIEW_ID } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
11
11
  import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
12
12
  import { ChatEditorInput } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
13
13
  import { CONTEXT_CHAT_ENABLED, CONTEXT_IN_CHAT_SESSION } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
14
14
  import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
15
+ import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
15
16
 
16
17
  const ACTION_ID_NEW_CHAT = `workbench.action.chat.newChat`;
17
18
  function registerNewChatActions() {
@@ -19,7 +20,7 @@ function registerNewChatActions() {
19
20
  constructor() {
20
21
  super({
21
22
  id: 'workbench.action.chatEditor.newChat',
22
- title: ( localize2(7233, "New Chat")),
23
+ title: ( localize2(7512, "New Chat")),
23
24
  icon: Codicon.plus,
24
25
  f1: false,
25
26
  precondition: CONTEXT_CHAT_ENABLED,
@@ -40,7 +41,7 @@ function registerNewChatActions() {
40
41
  constructor() {
41
42
  super({
42
43
  id: ACTION_ID_NEW_CHAT,
43
- title: ( localize2(7233, "New Chat")),
44
+ title: ( localize2(7512, "New Chat")),
44
45
  category: CHAT_CATEGORY,
45
46
  icon: Codicon.plus,
46
47
  precondition: CONTEXT_CHAT_ENABLED,
@@ -20,8 +20,9 @@ import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/cha
20
20
  import { isResponseVM } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatViewModel';
21
21
  import { IChatWidgetService, IChatCodeBlockContextProviderService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
22
22
  import { DefaultChatTextEditor } from 'vscode/vscode/vs/workbench/contrib/chat/browser/codeBlockPart';
23
- import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
23
+ import 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
24
24
  import { ApplyCodeBlockOperation, InsertCodeBlockOperation } from './codeBlockOperations.js';
25
+ import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
25
26
 
26
27
  const shellLangIds = [
27
28
  'fish',
@@ -63,7 +64,7 @@ function registerChatCodeBlockActions() {
63
64
  constructor() {
64
65
  super({
65
66
  id: 'workbench.action.chat.copyCodeBlock',
66
- title: ( localize2(7234, "Copy")),
67
+ title: ( localize2(7513, "Copy")),
67
68
  f1: false,
68
69
  category: CHAT_CATEGORY,
69
70
  icon: Codicon.copy,
@@ -148,7 +149,7 @@ function registerChatCodeBlockActions() {
148
149
  constructor() {
149
150
  super({
150
151
  id: 'workbench.action.chat.applyInEditor',
151
- title: ( localize2(7235, "Apply in Editor")),
152
+ title: ( localize2(7514, "Apply in Editor")),
152
153
  precondition: CONTEXT_CHAT_ENABLED,
153
154
  f1: true,
154
155
  category: CHAT_CATEGORY,
@@ -183,7 +184,7 @@ function registerChatCodeBlockActions() {
183
184
  constructor() {
184
185
  super({
185
186
  id: 'workbench.action.chat.applyAll',
186
- title: ( localize2(7236, "Apply All Edits")),
187
+ title: ( localize2(7515, "Apply All Edits")),
187
188
  precondition: CONTEXT_CHAT_ENABLED,
188
189
  f1: true,
189
190
  category: CHAT_CATEGORY,
@@ -226,7 +227,7 @@ function registerChatCodeBlockActions() {
226
227
  constructor() {
227
228
  super({
228
229
  id: 'workbench.action.chat.insertCodeBlock',
229
- title: ( localize2(7237, "Insert At Cursor")),
230
+ title: ( localize2(7516, "Insert At Cursor")),
230
231
  precondition: CONTEXT_CHAT_ENABLED,
231
232
  f1: true,
232
233
  category: CHAT_CATEGORY,
@@ -257,7 +258,7 @@ function registerChatCodeBlockActions() {
257
258
  constructor() {
258
259
  super({
259
260
  id: 'workbench.action.chat.insertIntoNewFile',
260
- title: ( localize2(7238, "Insert into New File")),
261
+ title: ( localize2(7517, "Insert into New File")),
261
262
  precondition: CONTEXT_CHAT_ENABLED,
262
263
  f1: true,
263
264
  category: CHAT_CATEGORY,
@@ -298,7 +299,7 @@ function registerChatCodeBlockActions() {
298
299
  constructor() {
299
300
  super({
300
301
  id: 'workbench.action.chat.runInTerminal',
301
- title: ( localize2(7239, "Insert into Terminal")),
302
+ title: ( localize2(7518, "Insert into Terminal")),
302
303
  precondition: CONTEXT_CHAT_ENABLED,
303
304
  f1: true,
304
305
  category: CHAT_CATEGORY,
@@ -398,7 +399,7 @@ function registerChatCodeBlockActions() {
398
399
  constructor() {
399
400
  super({
400
401
  id: 'workbench.action.chat.nextCodeBlock',
401
- title: ( localize2(7240, "Next Code Block")),
402
+ title: ( localize2(7519, "Next Code Block")),
402
403
  keybinding: {
403
404
  primary: 2048 | 512 | 12 ,
404
405
  mac: { primary: 2048 | 512 | 12 , },
@@ -418,7 +419,7 @@ function registerChatCodeBlockActions() {
418
419
  constructor() {
419
420
  super({
420
421
  id: 'workbench.action.chat.previousCodeBlock',
421
- title: ( localize2(7241, "Previous Code Block")),
422
+ title: ( localize2(7520, "Previous Code Block")),
422
423
  keybinding: {
423
424
  primary: 2048 | 512 | 11 ,
424
425
  mac: { primary: 2048 | 512 | 11 , },
@@ -475,7 +476,7 @@ function registerChatCodeCompareBlockActions() {
475
476
  constructor() {
476
477
  super({
477
478
  id: 'workbench.action.chat.applyCompareEdits',
478
- title: ( localize2(7242, "Apply Edits")),
479
+ title: ( localize2(7521, "Apply Edits")),
479
480
  f1: false,
480
481
  category: CHAT_CATEGORY,
481
482
  icon: Codicon.check,
@@ -505,7 +506,7 @@ function registerChatCodeCompareBlockActions() {
505
506
  constructor() {
506
507
  super({
507
508
  id: 'workbench.action.chat.discardCompareEdits',
508
- title: ( localize2(7243, "Discard Edits")),
509
+ title: ( localize2(7522, "Discard Edits")),
509
510
  f1: false,
510
511
  category: CHAT_CATEGORY,
511
512
  icon: Codicon.trash,
@@ -11,7 +11,7 @@ import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/acti
11
11
  import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
12
12
  import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
13
13
  import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
14
- import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
14
+ import 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
15
15
  import { showChatView } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
16
16
  import { IChatWidgetService, IQuickChatService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
17
17
  import { isQuickChat } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatWidget';
@@ -30,6 +30,7 @@ import { imageToHash, isImage } from 'vscode/vscode/vs/workbench/contrib/chat/br
30
30
  import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
31
31
  import { ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
32
32
  import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
33
+ import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
33
34
 
34
35
  function registerChatContextActions() {
35
36
  registerAction2(AttachContextAction);
@@ -41,7 +42,7 @@ class AttachFileAction extends Action2 {
41
42
  constructor() {
42
43
  super({
43
44
  id: AttachFileAction.ID,
44
- title: ( localize2(7244, "Add File to Chat")),
45
+ title: ( localize2(7523, "Add File to Chat")),
45
46
  category: CHAT_CATEGORY,
46
47
  f1: false,
47
48
  precondition: ( (ActiveEditorContext.isEqualTo('workbench.editors.files.textFileEditor'))),
@@ -67,7 +68,7 @@ class AttachSelectionAction extends Action2 {
67
68
  constructor() {
68
69
  super({
69
70
  id: AttachSelectionAction.ID,
70
- title: ( localize2(7245, "Add Selection to Chat")),
71
+ title: ( localize2(7524, "Add Selection to Chat")),
71
72
  category: CHAT_CATEGORY,
72
73
  f1: false,
73
74
  precondition: ( (ActiveEditorContext.isEqualTo('workbench.editors.files.textFileEditor'))),
@@ -112,7 +113,7 @@ class AttachContextAction extends Action2 {
112
113
  constructor() {
113
114
  super({
114
115
  id: AttachContextAction.ID,
115
- title: ( localize2(7246, "Attach Context")),
116
+ title: ( localize2(7525, "Attach Context")),
116
117
  icon: Codicon.attach,
117
118
  category: CHAT_CATEGORY,
118
119
  precondition: AttachContextAction._cdt,
@@ -226,8 +227,8 @@ class AttachContextAction extends Action2 {
226
227
  const fileBuffer = await clipboardService.readImage();
227
228
  toAttach.push({
228
229
  id: await imageToHash(fileBuffer),
229
- name: ( localize(7247, 'Pasted Image')),
230
- fullName: ( localize(7247, 'Pasted Image')),
230
+ name: ( localize(7526, 'Pasted Image')),
231
+ fullName: ( localize(7526, 'Pasted Image')),
231
232
  value: fileBuffer,
232
233
  isDynamic: true,
233
234
  isImage: true
@@ -282,7 +283,7 @@ class AttachContextAction extends Action2 {
282
283
  quickPickItems.push({
283
284
  id: await imageToHash(imageData),
284
285
  kind: 'image',
285
- label: ( localize(7248, 'Image from Clipboard')),
286
+ label: ( localize(7527, 'Image from Clipboard')),
286
287
  iconClass: ThemeIcon.asClassName(Codicon.fileMedia),
287
288
  });
288
289
  }
@@ -327,7 +328,7 @@ class AttachContextAction extends Action2 {
327
328
  }
328
329
  }
329
330
  quickPickItems.push({
330
- label: ( localize(7249, 'Symbol...')),
331
+ label: ( localize(7528, 'Symbol...')),
331
332
  icon: ThemeIcon.fromId(Codicon.symbolField.id),
332
333
  iconClass: ThemeIcon.asClassName(Codicon.symbolField),
333
334
  prefix: SymbolsQuickAccessProvider.PREFIX
@@ -340,10 +341,10 @@ class AttachContextAction extends Action2 {
340
341
  icon: ThemeIcon.fromId(Codicon.serverEnvironment.id),
341
342
  iconClass: ThemeIcon.asClassName(Codicon.serverEnvironment),
342
343
  value: 'kernelVariable',
343
- label: ( localize(7250, 'Kernel Variable...')),
344
+ label: ( localize(7529, 'Kernel Variable...')),
344
345
  command: {
345
346
  id: 'notebook.chat.selectAndInsertKernelVariable',
346
- title: ( localize(7251, 'Select and Insert Kernel Variable')),
347
+ title: ( localize(7530, 'Select and Insert Kernel Variable')),
347
348
  arguments: [{ widget, range: undefined }]
348
349
  }
349
350
  });
@@ -368,7 +369,7 @@ class AttachContextAction extends Action2 {
368
369
  SymbolsQuickAccessProvider.PREFIX,
369
370
  AbstractGotoSymbolQuickAccessProvider.PREFIX
370
371
  ],
371
- placeholder: ( localize(7252, 'Search attachments')),
372
+ placeholder: ( localize(7531, 'Search attachments')),
372
373
  providerOptions: {
373
374
  handleAccept: (item) => {
374
375
  if ('prefix' in item) {
@@ -1,17 +1,18 @@
1
1
  import { localize2 } from 'vscode/vscode/vs/nls';
2
2
  import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
3
3
  import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
4
- import { CHAT_CATEGORY, stringifyItem } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
4
+ import { stringifyItem } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
5
5
  import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
6
6
  import { CONTEXT_RESPONSE_FILTERED } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
7
7
  import { isRequestVM, isResponseVM } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatViewModel';
8
+ import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
8
9
 
9
10
  function registerChatCopyActions() {
10
11
  registerAction2(class CopyAllAction extends Action2 {
11
12
  constructor() {
12
13
  super({
13
14
  id: 'workbench.action.chat.copyAll',
14
- title: ( localize2(7253, "Copy All")),
15
+ title: ( localize2(7532, "Copy All")),
15
16
  f1: false,
16
17
  category: CHAT_CATEGORY,
17
18
  menu: {
@@ -41,7 +42,7 @@ function registerChatCopyActions() {
41
42
  constructor() {
42
43
  super({
43
44
  id: 'workbench.action.chat.copyItem',
44
- title: ( localize2(7254, "Copy")),
45
+ title: ( localize2(7533, "Copy")),
45
46
  f1: false,
46
47
  category: CHAT_CATEGORY,
47
48
  menu: {
@@ -12,7 +12,7 @@ class LogChatInputHistoryAction extends Action2 {
12
12
  constructor() {
13
13
  super({
14
14
  id: LogChatInputHistoryAction.ID,
15
- title: ( localize2(7255, "Log Chat Input History")),
15
+ title: ( localize2(7534, "Log Chat Input History")),
16
16
  icon: Codicon.attach,
17
17
  category: Categories.Developer,
18
18
  f1: true
@@ -1,16 +1,17 @@
1
1
  import { localize2 } from 'vscode/vscode/vs/nls';
2
2
  import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
3
- import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
3
+ import 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
4
4
  import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
5
5
  import { CONTEXT_IN_CHAT_SESSION, CONTEXT_CHAT_ENABLED } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
6
6
  import { isResponseVM } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatViewModel';
7
+ import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
7
8
 
8
9
  function registerChatFileTreeActions() {
9
10
  registerAction2(class NextFileTreeAction extends Action2 {
10
11
  constructor() {
11
12
  super({
12
13
  id: 'workbench.action.chat.nextFileTree',
13
- title: ( localize2(7256, "Next File Tree")),
14
+ title: ( localize2(7540, "Next File Tree")),
14
15
  keybinding: {
15
16
  primary: 2048 | 67 ,
16
17
  weight: 200 ,
@@ -29,7 +30,7 @@ function registerChatFileTreeActions() {
29
30
  constructor() {
30
31
  super({
31
32
  id: 'workbench.action.chat.previousFileTree',
32
- title: ( localize2(7257, "Previous File Tree")),
33
+ title: ( localize2(7541, "Previous File Tree")),
33
34
  keybinding: {
34
35
  primary: 2048 | 1024 | 67 ,
35
36
  weight: 200 ,
@@ -4,23 +4,24 @@ import { localize, localize2 } from 'vscode/vscode/vs/nls';
4
4
  import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
5
5
  import { IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
6
6
  import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
7
- import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
7
+ import 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
8
8
  import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
9
9
  import { ChatEditorInput } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
10
10
  import { CONTEXT_CHAT_ENABLED } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
11
11
  import { isExportableSessionData } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatModel';
12
12
  import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
13
13
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
14
+ import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
14
15
 
15
16
  const defaultFileName = 'chat.json';
16
- const filters = [{ name: ( localize(7258, "Chat Session")), extensions: ['json'] }];
17
+ const filters = [{ name: ( localize(7542, "Chat Session")), extensions: ['json'] }];
17
18
  function registerChatExportActions() {
18
19
  registerAction2(class ExportChatAction extends Action2 {
19
20
  constructor() {
20
21
  super({
21
22
  id: 'workbench.action.chat.export',
22
23
  category: CHAT_CATEGORY,
23
- title: ( localize2(7259, "Export Chat...")),
24
+ title: ( localize2(7543, "Export Chat...")),
24
25
  precondition: CONTEXT_CHAT_ENABLED,
25
26
  f1: true,
26
27
  });
@@ -54,7 +55,7 @@ function registerChatExportActions() {
54
55
  constructor() {
55
56
  super({
56
57
  id: 'workbench.action.chat.import',
57
- title: ( localize2(7260, "Import Chat...")),
58
+ title: ( localize2(7544, "Import Chat...")),
58
59
  category: CHAT_CATEGORY,
59
60
  precondition: CONTEXT_CHAT_ENABLED,
60
61
  f1: true,
@@ -2,7 +2,7 @@ import { localize2 } from 'vscode/vscode/vs/nls';
2
2
  import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
3
3
  import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
4
4
  import { ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
5
- import { CHAT_CATEGORY, isChatViewTitleActionContext } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
5
+ import { isChatViewTitleActionContext } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
6
6
  import { CHAT_VIEW_ID } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
7
7
  import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
8
8
  import { ChatEditor } from '../chatEditor.js';
@@ -12,6 +12,7 @@ import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor
12
12
  import { AUX_WINDOW_GROUP, ACTIVE_GROUP } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
13
13
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
14
14
  import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
15
+ import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
15
16
 
16
17
  var MoveToNewLocation;
17
18
  ( ((function(MoveToNewLocation) {
@@ -23,7 +24,7 @@ function registerMoveActions() {
23
24
  constructor() {
24
25
  super({
25
26
  id: `workbench.action.chat.openInEditor`,
26
- title: ( localize2(7266, "Open Chat in Editor")),
27
+ title: ( localize2(7545, "Open Chat in Editor")),
27
28
  category: CHAT_CATEGORY,
28
29
  precondition: CONTEXT_CHAT_ENABLED,
29
30
  f1: true,
@@ -43,7 +44,7 @@ function registerMoveActions() {
43
44
  constructor() {
44
45
  super({
45
46
  id: `workbench.action.chat.openInNewWindow`,
46
- title: ( localize2(7267, "Open Chat in New Window")),
47
+ title: ( localize2(7546, "Open Chat in New Window")),
47
48
  category: CHAT_CATEGORY,
48
49
  precondition: CONTEXT_CHAT_ENABLED,
49
50
  f1: true,
@@ -63,7 +64,7 @@ function registerMoveActions() {
63
64
  constructor() {
64
65
  super({
65
66
  id: `workbench.action.chat.openInSidebar`,
66
- title: ( localize2(7268, "Open Chat in Side Bar")),
67
+ title: ( localize2(7547, "Open Chat in Side Bar")),
67
68
  category: CHAT_CATEGORY,
68
69
  precondition: CONTEXT_CHAT_ENABLED,
69
70
  f1: true,