@codingame/monaco-vscode-chat-service-override 11.1.0 → 11.1.2

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 (34) hide show
  1. package/chat.js +2 -2
  2. package/package.json +8 -6
  3. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +19 -19
  4. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClearActions.js +17 -16
  5. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +14 -13
  6. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +22 -21
  7. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +5 -4
  8. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +1 -1
  9. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +5 -4
  10. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.js +2 -1
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +7 -6
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +7 -6
  13. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +167 -0
  14. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +2 -2
  15. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +8 -8
  16. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingService.js +1 -1
  17. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.js +4 -4
  18. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.js +2 -1
  19. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipantContributions.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js +2 -2
  21. package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js +3 -3
  23. package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.js +4 -4
  24. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.js +4 -4
  25. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.js +2 -2
  26. package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +2 -2
  27. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js +1 -1
  28. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +13 -13
  29. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +2 -2
  30. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +4 -4
  31. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.js +1 -1
  32. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.js +2 -2
  33. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +3 -3
  34. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.js +1 -1
package/chat.js CHANGED
@@ -3,7 +3,7 @@ import { IChatWidgetService, IQuickChatService, IChatAccessibilityService, IChat
3
3
  import { ChatAccessibilityService } from './vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js';
4
4
  import { QuickChatService } from './vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js';
5
5
  import { ChatVariablesService } from './vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js';
6
- import { ChatWidgetService } from '@codingame/monaco-vscode-chat-extensions-notebook-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
6
+ import { ChatWidgetService } from '@codingame/monaco-vscode-chat-notebook-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
7
7
  import { ChatCodeBlockContextProviderService } from './vscode/src/vs/workbench/contrib/chat/browser/codeBlockContextProviderService.js';
8
8
  import { ChatAgentService, ChatAgentNameService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
9
9
  import { IChatAgentService, IChatAgentNameService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
@@ -20,7 +20,7 @@ import { ILanguageModelsService } from 'vscode/vscode/vs/workbench/contrib/chat/
20
20
  import { IInlineChatSavingService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service';
21
21
  import { InlineChatSavingServiceImpl } from './vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js';
22
22
  import { IInlineChatSessionService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service';
23
- import { InlineChatSessionServiceImpl } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl';
23
+ import { InlineChatSessionServiceImpl } from '@codingame/monaco-vscode-chat-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl';
24
24
  import { LanguageModelStatsService } from './vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js';
25
25
  import './vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js';
26
26
  import './vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-chat-service-override",
3
- "version": "11.1.0",
3
+ "version": "11.1.2",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,10 +26,12 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@11.1.0",
30
- "@codingame/monaco-vscode-chat-extensions-notebook-common": "11.1.0",
31
- "@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common": "11.1.0",
32
- "@codingame/monaco-vscode-chat-notebook-common": "11.1.0",
33
- "@codingame/monaco-vscode-chat-interactive-notebook-search-common": "11.1.0"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@11.1.2",
30
+ "@codingame/monaco-vscode-chat-notebook-common": "11.1.2",
31
+ "@codingame/monaco-vscode-chat-interactive-notebook-search-terminal-common": "11.1.2",
32
+ "@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common": "11.1.2",
33
+ "@codingame/monaco-vscode-chat-extensions-notebook-common": "11.1.2",
34
+ "@codingame/monaco-vscode-chat-notebook-terminal-common": "11.1.2",
35
+ "@codingame/monaco-vscode-chat-interactive-notebook-search-common": "11.1.2"
34
36
  }
35
37
  }
@@ -2,7 +2,7 @@ import { localize } from 'vscode/vscode/vs/nls';
2
2
  import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
3
3
  import { AccessibleContentProvider } from 'vscode/vscode/vs/platform/accessibility/browser/accessibleView';
4
4
  import { AccessibleDiffViewerNext } from 'vscode/vscode/vs/editor/browser/widget/diffEditor/commands';
5
- import { INLINE_CHAT_ID } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
5
+ import { INLINE_CHAT_ID } from '@codingame/monaco-vscode-chat-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
6
6
  import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
7
7
  import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
8
8
  import { CONTEXT_CHAT_LOCATION, CONTEXT_IN_QUICK_CHAT, CONTEXT_IN_CHAT_SESSION, CONTEXT_RESPONSE, CONTEXT_REQUEST } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
@@ -44,44 +44,44 @@ function getAccessibilityHelpText(type, keybindingService) {
44
44
  const content = [];
45
45
  if (type === 'panelChat' || type === 'quickChat') {
46
46
  content.push(( localize(
47
- 7530,
47
+ 7501,
48
48
  '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.'
49
49
  )));
50
50
  content.push(( localize(
51
- 7531,
51
+ 7502,
52
52
  '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.'
53
53
  )));
54
54
  content.push(( localize(
55
- 7532,
55
+ 7503,
56
56
  'In the input box, inspect the last response in the accessible view{0}.',
57
57
  '<keybinding:editor.action.accessibleView>'
58
58
  )));
59
59
  content.push(( localize(
60
- 7533,
60
+ 7504,
61
61
  'In the input box, navigate to the suggested follow up question (Shift+Tab) and press Enter to run it.'
62
62
  )));
63
63
  content.push(( localize(
64
- 7534,
64
+ 7505,
65
65
  '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.'
66
66
  )));
67
67
  content.push(( localize(
68
- 7535,
68
+ 7506,
69
69
  'To focus the chat request/response list, which can be navigated with up and down arrows, invoke the Focus Chat command{0}.',
70
70
  getChatFocusKeybindingLabel(keybindingService, type, false)
71
71
  )));
72
72
  content.push(( localize(
73
- 7536,
73
+ 7507,
74
74
  'To focus the input box for chat requests, invoke the Focus Chat Input command{0}.',
75
75
  getChatFocusKeybindingLabel(keybindingService, type, true)
76
76
  )));
77
77
  content.push(( localize(
78
- 7537,
78
+ 7508,
79
79
  'To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.',
80
80
  '<keybinding:workbench.action.chat.nextCodeBlock>'
81
81
  )));
82
82
  if (type === 'panelChat') {
83
83
  content.push(( localize(
84
- 7538,
84
+ 7509,
85
85
  'To create a new chat session, invoke the New Chat command{0}.',
86
86
  '<keybinding:workbench.action.chat.new>'
87
87
  )));
@@ -89,45 +89,45 @@ function getAccessibilityHelpText(type, keybindingService) {
89
89
  }
90
90
  else {
91
91
  content.push(( localize(
92
- 7539,
92
+ 7510,
93
93
  "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."
94
94
  )));
95
95
  content.push(( localize(
96
- 7540,
96
+ 7511,
97
97
  "It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat{0}.",
98
98
  '<keybinding:inlineChat.start>'
99
99
  )));
100
100
  content.push(( localize(
101
- 7541,
101
+ 7512,
102
102
  '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.',
103
103
  '<keybinding:history.showPrevious>',
104
104
  '<keybinding:history.showNext>'
105
105
  )));
106
106
  content.push(( localize(
107
- 7542,
107
+ 7513,
108
108
  'In the input box, inspect the response in the accessible view{0}.',
109
109
  '<keybinding:editor.action.accessibleView>'
110
110
  )));
111
111
  content.push(( localize(
112
- 7543,
112
+ 7514,
113
113
  "Context menu actions may run a request prefixed with a /. Type / to discover such ready-made commands."
114
114
  )));
115
115
  content.push(( localize(
116
- 7544,
116
+ 7515,
117
117
  "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."
118
118
  )));
119
119
  content.push(( localize(
120
- 7545,
120
+ 7516,
121
121
  "Once in the diff editor, enter review mode with{0}. Use up and down arrows to navigate lines with the proposed changes.",
122
122
  AccessibleDiffViewerNext.id
123
123
  )));
124
124
  content.push(( localize(
125
- 7546,
125
+ 7517,
126
126
  "Use tab to reach conditional parts like commands, status, message responses and more."
127
127
  )));
128
128
  }
129
129
  content.push(( localize(
130
- 7547,
130
+ 7518,
131
131
  "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."
132
132
  )));
133
133
  return content.join('\n');
@@ -10,13 +10,14 @@ import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/
10
10
  import { isChatViewTitleActionContext } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatActions';
11
11
  import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
12
12
  import { CONTEXT_CHAT_ENABLED, CONTEXT_CHAT_LOCATION, CONTEXT_IN_CHAT_SESSION, CONTEXT_CHAT_EDITING_PARTICIPANT_REGISTERED, CONTEXT_CHAT_EDITING_CAN_UNDO, CONTEXT_CHAT_EDITING_CAN_REDO } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
13
- import { hasUndecidedChatEditingResourceContextKey, hasAppliedChatEditsContextKey } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/common/chatEditingService';
13
+ import { hasUndecidedChatEditingResourceContextKey, hasAppliedChatEditsContextKey } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/common/chatEditingService';
14
14
  import { IChatEditingService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
15
- import { CHAT_VIEW_ID, EDITS_VIEW_ID } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/chat';
15
+ import { CHAT_VIEW_ID, EDITS_VIEW_ID } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/chat';
16
16
  import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
17
- import { ChatEditorInput } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
18
- import { CHAT_CATEGORY } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
19
- import { clearChatEditor } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatClear';
17
+ import { ChatEditorInput } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
18
+ import '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
19
+ import { clearChatEditor } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatClear';
20
+ import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
20
21
 
21
22
  const ACTION_ID_NEW_CHAT = `workbench.action.chat.newChat`;
22
23
  const ACTION_ID_NEW_EDIT_SESSION = `workbench.action.chat.newEditSession`;
@@ -25,7 +26,7 @@ function registerNewChatActions() {
25
26
  constructor() {
26
27
  super({
27
28
  id: 'workbench.action.chatEditor.newChat',
28
- title: ( localize2(7548, "New Chat")),
29
+ title: ( localize2(7540, "New Chat")),
29
30
  icon: Codicon.plus,
30
31
  f1: false,
31
32
  precondition: CONTEXT_CHAT_ENABLED,
@@ -46,7 +47,7 @@ function registerNewChatActions() {
46
47
  constructor() {
47
48
  super({
48
49
  id: ACTION_ID_NEW_CHAT,
49
- title: ( localize2(7548, "New Chat")),
50
+ title: ( localize2(7540, "New Chat")),
50
51
  category: CHAT_CATEGORY,
51
52
  icon: Codicon.plus,
52
53
  precondition: ( (ContextKeyExpr.and(
@@ -93,7 +94,7 @@ function registerNewChatActions() {
93
94
  constructor() {
94
95
  super({
95
96
  id: ACTION_ID_NEW_EDIT_SESSION,
96
- title: ( localize2(7549, "New Edit Session")),
97
+ title: ( localize2(7541, "New Edit Session")),
97
98
  category: CHAT_CATEGORY,
98
99
  icon: Codicon.plus,
99
100
  precondition: ( (ContextKeyExpr.and(CONTEXT_CHAT_ENABLED, CONTEXT_CHAT_EDITING_PARTICIPANT_REGISTERED))),
@@ -119,9 +120,9 @@ function registerNewChatActions() {
119
120
  const undecidedEdits = currentEdits.filter((edit) => edit.state.get() === 0 );
120
121
  if (undecidedEdits.length) {
121
122
  const { result } = await dialogService.prompt({
122
- title: ( localize(7550, "Start new editing session?")),
123
+ title: ( localize(7542, "Start new editing session?")),
123
124
  message: ( localize(
124
- 7551,
125
+ 7543,
125
126
  "Starting a new editing session will end your current session. Do you want to discard pending edits to {0} files?",
126
127
  undecidedEdits.length
127
128
  )),
@@ -129,14 +130,14 @@ function registerNewChatActions() {
129
130
  cancelButton: true,
130
131
  buttons: [
131
132
  {
132
- label: ( localize(7552, "Discard & Continue")),
133
+ label: ( localize(7544, "Discard & Continue")),
133
134
  run: async () => {
134
135
  await currentEditingSession.reject();
135
136
  return true;
136
137
  }
137
138
  },
138
139
  {
139
- label: ( localize(7553, "Accept & Continue")),
140
+ label: ( localize(7545, "Accept & Continue")),
140
141
  run: async () => {
141
142
  await currentEditingSession.accept();
142
143
  return true;
@@ -184,7 +185,7 @@ function registerNewChatActions() {
184
185
  constructor() {
185
186
  super({
186
187
  id: 'workbench.action.chat.done',
187
- title: ( localize2(7554, "Done")),
188
+ title: ( localize2(7546, "Done")),
188
189
  category: CHAT_CATEGORY,
189
190
  precondition: ( (ContextKeyExpr.and(CONTEXT_CHAT_ENABLED, CONTEXT_CHAT_EDITING_PARTICIPANT_REGISTERED))),
190
191
  f1: false,
@@ -229,7 +230,7 @@ function registerNewChatActions() {
229
230
  constructor() {
230
231
  super({
231
232
  id: 'workbench.action.chat.undoEdit',
232
- title: ( localize2(7555, "Undo Last Edit")),
233
+ title: ( localize2(7547, "Undo Last Edit")),
233
234
  category: CHAT_CATEGORY,
234
235
  icon: Codicon.discard,
235
236
  precondition: ( (ContextKeyExpr.and(
@@ -262,7 +263,7 @@ function registerNewChatActions() {
262
263
  constructor() {
263
264
  super({
264
265
  id: 'workbench.action.chat.redoEdit',
265
- title: ( localize2(7556, "Redo Last Edit")),
266
+ title: ( localize2(7548, "Redo Last Edit")),
266
267
  category: CHAT_CATEGORY,
267
268
  icon: Codicon.redo,
268
269
  precondition: ( (ContextKeyExpr.and(
@@ -295,7 +296,7 @@ function registerNewChatActions() {
295
296
  constructor() {
296
297
  super({
297
298
  id: 'workbench.action.chat.openEditSession',
298
- title: ( localize2(7557, "Open {0}", 'Copilot Edits')),
299
+ title: ( localize2(7549, "Open {0}", 'Copilot Edits')),
299
300
  category: CHAT_CATEGORY,
300
301
  icon: Codicon.goToEditingSession,
301
302
  precondition: ( (ContextKeyExpr.and(CONTEXT_CHAT_ENABLED, CONTEXT_CHAT_EDITING_PARTICIPANT_REGISTERED))),
@@ -15,11 +15,12 @@ import { CONTEXT_CHAT_ENABLED, CONTEXT_IN_CHAT_SESSION, CONTEXT_IN_CHAT_INPUT, C
15
15
  import { IChatEditingService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
16
16
  import { ChatCopyKind } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
17
17
  import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
18
- import { isResponseVM } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
18
+ import { isResponseVM } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
19
19
  import { IChatWidgetService, IChatCodeBlockContextProviderService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
20
- import { DefaultChatTextEditor } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/codeBlockPart';
21
- import { CHAT_CATEGORY } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
20
+ import { DefaultChatTextEditor } from '@codingame/monaco-vscode-chat-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/codeBlockPart';
21
+ import '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
22
22
  import { ApplyCodeBlockOperation, InsertCodeBlockOperation } from './codeBlockOperations.js';
23
+ import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
23
24
 
24
25
  const shellLangIds = [
25
26
  'fish',
@@ -61,7 +62,7 @@ function registerChatCodeBlockActions() {
61
62
  constructor() {
62
63
  super({
63
64
  id: 'workbench.action.chat.copyCodeBlock',
64
- title: ( localize2(7558, "Copy")),
65
+ title: ( localize2(7550, "Copy")),
65
66
  f1: false,
66
67
  category: CHAT_CATEGORY,
67
68
  icon: Codicon.copy,
@@ -146,7 +147,7 @@ function registerChatCodeBlockActions() {
146
147
  constructor() {
147
148
  super({
148
149
  id: 'workbench.action.chat.applyInEditor',
149
- title: ( localize2(7559, "Apply in Editor")),
150
+ title: ( localize2(7551, "Apply in Editor")),
150
151
  precondition: CONTEXT_CHAT_ENABLED,
151
152
  f1: true,
152
153
  category: CHAT_CATEGORY,
@@ -181,7 +182,7 @@ function registerChatCodeBlockActions() {
181
182
  constructor() {
182
183
  super({
183
184
  id: 'workbench.action.chat.applyAll',
184
- title: ( localize2(7560, "Apply All Edits")),
185
+ title: ( localize2(7552, "Apply All Edits")),
185
186
  precondition: CONTEXT_CHAT_ENABLED,
186
187
  f1: true,
187
188
  category: CHAT_CATEGORY,
@@ -208,7 +209,7 @@ function registerChatCodeBlockActions() {
208
209
  constructor() {
209
210
  super({
210
211
  id: 'workbench.action.chat.insertCodeBlock',
211
- title: ( localize2(7561, "Insert At Cursor")),
212
+ title: ( localize2(7553, "Insert At Cursor")),
212
213
  precondition: CONTEXT_CHAT_ENABLED,
213
214
  f1: true,
214
215
  category: CHAT_CATEGORY,
@@ -239,7 +240,7 @@ function registerChatCodeBlockActions() {
239
240
  constructor() {
240
241
  super({
241
242
  id: 'workbench.action.chat.insertIntoNewFile',
242
- title: ( localize2(7562, "Insert into New File")),
243
+ title: ( localize2(7554, "Insert into New File")),
243
244
  precondition: CONTEXT_CHAT_ENABLED,
244
245
  f1: true,
245
246
  category: CHAT_CATEGORY,
@@ -280,7 +281,7 @@ function registerChatCodeBlockActions() {
280
281
  constructor() {
281
282
  super({
282
283
  id: 'workbench.action.chat.runInTerminal',
283
- title: ( localize2(7563, "Insert into Terminal")),
284
+ title: ( localize2(7555, "Insert into Terminal")),
284
285
  precondition: CONTEXT_CHAT_ENABLED,
285
286
  f1: true,
286
287
  category: CHAT_CATEGORY,
@@ -380,7 +381,7 @@ function registerChatCodeBlockActions() {
380
381
  constructor() {
381
382
  super({
382
383
  id: 'workbench.action.chat.nextCodeBlock',
383
- title: ( localize2(7564, "Next Code Block")),
384
+ title: ( localize2(7556, "Next Code Block")),
384
385
  keybinding: {
385
386
  primary: 2048 | 512 | 12 ,
386
387
  mac: { primary: 2048 | 512 | 12 , },
@@ -400,7 +401,7 @@ function registerChatCodeBlockActions() {
400
401
  constructor() {
401
402
  super({
402
403
  id: 'workbench.action.chat.previousCodeBlock',
403
- title: ( localize2(7565, "Previous Code Block")),
404
+ title: ( localize2(7557, "Previous Code Block")),
404
405
  keybinding: {
405
406
  primary: 2048 | 512 | 11 ,
406
407
  mac: { primary: 2048 | 512 | 11 , },
@@ -457,7 +458,7 @@ function registerChatCodeCompareBlockActions() {
457
458
  constructor() {
458
459
  super({
459
460
  id: 'workbench.action.chat.applyCompareEdits',
460
- title: ( localize2(7566, "Apply Edits")),
461
+ title: ( localize2(7558, "Apply Edits")),
461
462
  f1: false,
462
463
  category: CHAT_CATEGORY,
463
464
  icon: Codicon.check,
@@ -487,7 +488,7 @@ function registerChatCodeCompareBlockActions() {
487
488
  constructor() {
488
489
  super({
489
490
  id: 'workbench.action.chat.discardCompareEdits',
490
- title: ( localize2(7567, "Discard Edits")),
491
+ title: ( localize2(7559, "Discard Edits")),
491
492
  f1: false,
492
493
  category: CHAT_CATEGORY,
493
494
  icon: Codicon.trash,
@@ -32,15 +32,16 @@ import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/commo
32
32
  import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
33
33
  import { CONTEXT_CHAT_ENABLED, CONTEXT_CHAT_LOCATION, CONTEXT_IN_CHAT_INPUT } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
34
34
  import { IChatEditingService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
35
- import { ChatRequestAgentPart } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
35
+ import { ChatRequestAgentPart } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
36
36
  import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
37
37
  import { ILanguageModelToolsService } from 'vscode/vscode/vs/workbench/contrib/chat/common/languageModelToolsService.service';
38
- import { showChatView } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/chat';
38
+ import { showChatView } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/chat';
39
39
  import { IChatWidgetService, IQuickChatService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
40
40
  import { imageToHash, isImage } from '../chatPasteProviders.js';
41
- import { isQuickChat } from '@codingame/monaco-vscode-chat-extensions-notebook-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
42
- import { convertBufferToScreenshotVariable, ScreenshotVariableId } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/contrib/screenshot';
43
- import { CHAT_CATEGORY } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
41
+ import { isQuickChat } from '@codingame/monaco-vscode-chat-notebook-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
42
+ import { convertBufferToScreenshotVariable, ScreenshotVariableId } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/contrib/screenshot';
43
+ import '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
44
+ import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
44
45
 
45
46
  function registerChatContextActions() {
46
47
  registerAction2(AttachContextAction);
@@ -80,7 +81,7 @@ class AttachFileAction extends Action2 {
80
81
  constructor() {
81
82
  super({
82
83
  id: AttachFileAction.ID,
83
- title: ( localize2(7568, "Add File to Chat")),
84
+ title: ( localize2(7560, "Add File to Chat")),
84
85
  category: CHAT_CATEGORY,
85
86
  f1: false,
86
87
  precondition: ( (ContextKeyExpr.and(
@@ -109,7 +110,7 @@ class AttachSelectionAction extends Action2 {
109
110
  constructor() {
110
111
  super({
111
112
  id: AttachSelectionAction.ID,
112
- title: ( localize2(7569, "Add Selection to Chat")),
113
+ title: ( localize2(7561, "Add Selection to Chat")),
113
114
  category: CHAT_CATEGORY,
114
115
  f1: false,
115
116
  precondition: ( (ContextKeyExpr.and(
@@ -151,7 +152,7 @@ class AttachContextAction extends Action2 {
151
152
  ))); }
152
153
  constructor(desc = {
153
154
  id: AttachContextAction.ID,
154
- title: ( localize2(7570, "Attach Context")),
155
+ title: ( localize2(7562, "Attach Context")),
155
156
  icon: Codicon.attach,
156
157
  category: CHAT_CATEGORY,
157
158
  precondition: ( (ContextKeyExpr.or(AttachContextAction._cdt, (ContextKeyExpr.and(
@@ -316,8 +317,8 @@ class AttachContextAction extends Action2 {
316
317
  const fileBuffer = await clipboardService.readImage();
317
318
  toAttach.push({
318
319
  id: await imageToHash(fileBuffer),
319
- name: ( localize(7571, 'Pasted Image')),
320
- fullName: ( localize(7571, 'Pasted Image')),
320
+ name: ( localize(7563, 'Pasted Image')),
321
+ fullName: ( localize(7563, 'Pasted Image')),
321
322
  value: fileBuffer,
322
323
  isDynamic: true,
323
324
  isImage: true
@@ -382,7 +383,7 @@ class AttachContextAction extends Action2 {
382
383
  quickPickItems.push({
383
384
  kind: 'image',
384
385
  id: await imageToHash(imageData),
385
- label: ( localize(7572, 'Image from Clipboard')),
386
+ label: ( localize(7564, 'Image from Clipboard')),
386
387
  iconClass: ThemeIcon.asClassName(Codicon.fileMedia),
387
388
  });
388
389
  }
@@ -392,8 +393,8 @@ class AttachContextAction extends Action2 {
392
393
  icon: ThemeIcon.fromId(Codicon.deviceCamera.id),
393
394
  iconClass: ThemeIcon.asClassName(Codicon.deviceCamera),
394
395
  label: (isElectron
395
- ? ( localize(7573, 'Screenshot Window'))
396
- : ( localize(7574, 'Screenshot'))),
396
+ ? ( localize(7565, 'Screenshot Window'))
397
+ : ( localize(7566, 'Screenshot'))),
397
398
  });
398
399
  }
399
400
  if (widget.viewModel?.sessionId) {
@@ -436,7 +437,7 @@ class AttachContextAction extends Action2 {
436
437
  }
437
438
  quickPickItems.push({
438
439
  kind: 'quickaccess',
439
- label: ( localize(7575, 'Symbol...')),
440
+ label: ( localize(7567, 'Symbol...')),
440
441
  iconClass: ThemeIcon.asClassName(Codicon.symbolField),
441
442
  prefix: SymbolsQuickAccessProvider.PREFIX,
442
443
  id: 'symbol'
@@ -449,10 +450,10 @@ class AttachContextAction extends Action2 {
449
450
  icon: ThemeIcon.fromId(Codicon.serverEnvironment.id),
450
451
  iconClass: ThemeIcon.asClassName(Codicon.serverEnvironment),
451
452
  value: 'kernelVariable',
452
- label: ( localize(7576, 'Kernel Variable...')),
453
+ label: ( localize(7568, 'Kernel Variable...')),
453
454
  command: {
454
455
  id: 'notebook.chat.selectAndInsertKernelVariable',
455
- title: ( localize(7577, 'Select and Insert Kernel Variable')),
456
+ title: ( localize(7569, 'Select and Insert Kernel Variable')),
456
457
  arguments: [{ widget, range: undefined }]
457
458
  }
458
459
  });
@@ -463,7 +464,7 @@ class AttachContextAction extends Action2 {
463
464
  quickPickItems.push({
464
465
  kind: 'open-editors',
465
466
  id: 'open-editors',
466
- label: ( localize(7578, 'Open Editors')),
467
+ label: ( localize(7570, 'Open Editors')),
467
468
  iconClass: ThemeIcon.asClassName(Codicon.files),
468
469
  });
469
470
  }
@@ -471,7 +472,7 @@ class AttachContextAction extends Action2 {
471
472
  quickPickItems.push({
472
473
  kind: 'search-results',
473
474
  id: 'search-results',
474
- label: ( localize(7579, 'Search Results')),
475
+ label: ( localize(7571, 'Search Results')),
475
476
  iconClass: ThemeIcon.asClassName(Codicon.search),
476
477
  });
477
478
  }
@@ -546,7 +547,7 @@ class AttachContextAction extends Action2 {
546
547
  SymbolsQuickAccessProvider.PREFIX,
547
548
  AbstractGotoSymbolQuickAccessProvider.PREFIX
548
549
  ],
549
- placeholder: placeholder ?? ( localize(7580, 'Search attachments')),
550
+ placeholder: placeholder ?? ( localize(7572, 'Search attachments')),
550
551
  providerOptions,
551
552
  });
552
553
  }
@@ -555,7 +556,7 @@ registerAction2(class AttachFilesAction extends AttachContextAction {
555
556
  constructor() {
556
557
  super({
557
558
  id: 'workbench.action.chat.editing.attachFiles',
558
- title: ( localize2(7581, "Add Files to Working Set")),
559
+ title: ( localize2(7573, "Add Files to Working Set")),
559
560
  f1: false,
560
561
  category: CHAT_CATEGORY,
561
562
  precondition: ( (CONTEXT_CHAT_LOCATION.isEqualTo(ChatAgentLocation.EditingSession)))
@@ -563,7 +564,7 @@ registerAction2(class AttachFilesAction extends AttachContextAction {
563
564
  }
564
565
  async run(accessor, ...args) {
565
566
  const context = args[0];
566
- const attachFilesContext = { ...context, showFilesOnly: true, placeholder: ( localize(7582, 'Search for files to add to your working set')) };
567
+ const attachFilesContext = { ...context, showFilesOnly: true, placeholder: ( localize(7574, 'Search for files to add to your working set')) };
567
568
  return super.run(accessor, attachFilesContext);
568
569
  }
569
570
  });
@@ -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 '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
4
+ import { stringifyItem } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/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
- import { isRequestVM, isResponseVM } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
7
+ import { isRequestVM, isResponseVM } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/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(7583, "Copy All")),
15
+ title: ( localize2(7575, "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(7584, "Copy")),
45
+ title: ( localize2(7576, "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(7585, "Log Chat Input History")),
15
+ title: ( localize2(7577, "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 '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
3
+ import '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/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
- import { isResponseVM } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
6
+ import { isResponseVM } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/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(7597, "Next File Tree")),
14
+ title: ( localize2(7589, "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(7598, "Previous File Tree")),
33
+ title: ( localize2(7590, "Previous File Tree")),
33
34
  keybinding: {
34
35
  primary: 2048 | 1024 | 67 ,
35
36
  weight: 200 ,
@@ -4,8 +4,9 @@ import { IProductService } from 'vscode/vscode/vs/platform/product/common/produc
4
4
  import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
5
5
  import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
6
6
  import { ExtensionIdentifier } from 'vscode/vscode/vs/platform/extensions/common/extensions';
7
- import { CHAT_OPEN_ACTION_ID } from '@codingame/monaco-vscode-chat-extensions-interactive-notebook-quickaccess-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
7
+ import '@codingame/monaco-vscode-chat-extensions-interactive-notebook-search-terminal-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
8
8
  import { IExtensionManagementService } from 'vscode/vscode/vs/platform/extensionManagement/common/extensionManagement.service';
9
+ import { CHAT_OPEN_ACTION_ID } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
9
10
 
10
11
  let ChatGettingStartedContribution = class ChatGettingStartedContribution extends Disposable {
11
12
  static { this.ID = 'workbench.contrib.chatGettingStarted'; }