@codingame/monaco-vscode-chat-service-override 14.0.2 → 14.0.4

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 (26) hide show
  1. package/package.json +20 -20
  2. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +10 -10
  3. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +24 -24
  4. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +2 -2
  5. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +1 -1
  6. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
  7. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
  8. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +3 -3
  9. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
  10. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +15 -15
  11. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +21 -21
  12. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingService.js +3 -3
  13. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +2 -2
  14. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +34 -34
  15. package/vscode/src/vs/workbench/contrib/chat/browser/chatPasteProviders.js +4 -4
  16. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.js +47 -47
  17. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.js +1 -1
  18. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputRelatedFilesContrib.js +1 -1
  19. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
  21. package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +2 -2
  22. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +17 -17
  23. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
  24. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +4 -4
  25. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController2.js +5 -5
  26. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +8 -8
@@ -43,14 +43,14 @@ import { stringValue } from '@codingame/monaco-vscode-api/vscode/vs/base/browser
43
43
  import { observableConfigValue } from '@codingame/monaco-vscode-api/vscode/vs/platform/observable/common/platformObservableUtils';
44
44
 
45
45
  var InlineChatHintsController_1;
46
- const CTX_INLINE_CHAT_SHOWING_HINT = ( new RawContextKey('inlineChatShowingHint', false, ( localize(6936, "Whether inline chat shows a contextual hint"))));
46
+ const CTX_INLINE_CHAT_SHOWING_HINT = ( new RawContextKey('inlineChatShowingHint', false, ( localize(6937, "Whether inline chat shows a contextual hint"))));
47
47
  const _inlineChatActionId = 'inlineChat.startWithCurrentLine';
48
48
  class InlineChatExpandLineAction extends EditorAction2 {
49
49
  constructor() {
50
50
  super({
51
51
  id: _inlineChatActionId,
52
52
  category: AbstractInlineChatAction.category,
53
- title: ( localize2(6937, "Start in Editor with Current Line")),
53
+ title: ( localize2(6938, "Start in Editor with Current Line")),
54
54
  f1: true,
55
55
  precondition: ( ContextKeyExpr.and(( CTX_INLINE_CHAT_VISIBLE.negate()), CTX_INLINE_CHAT_HAS_AGENT, EditorContextKeys.writable)),
56
56
  keybinding: [{
@@ -100,7 +100,7 @@ class ShowInlineChatHintAction extends EditorAction2 {
100
100
  super({
101
101
  id: 'inlineChat.showHint',
102
102
  category: AbstractInlineChatAction.category,
103
- title: ( localize2(6938, "Show Inline Chat Hint")),
103
+ title: ( localize2(6939, "Show Inline Chat Hint")),
104
104
  f1: false,
105
105
  precondition: ( ContextKeyExpr.and(( CTX_INLINE_CHAT_VISIBLE.negate()), CTX_INLINE_CHAT_HAS_AGENT, EditorContextKeys.writable)),
106
106
  });
@@ -227,15 +227,15 @@ let InlineChatHintsController = class InlineChatHintsController extends Disposab
227
227
  this._ctxShowingHint.reset();
228
228
  return;
229
229
  }
230
- const agentName = chatAgentService.getDefaultAgent(ChatAgentLocation.Editor)?.name ?? ( localize(6939, "Chat"));
230
+ const agentName = chatAgentService.getDefaultAgent(ChatAgentLocation.Editor)?.name ?? ( localize(6940, "Chat"));
231
231
  const { position, isEol, isWhitespace, kb, model } = showData;
232
232
  const inlineClassName = ['a' , 'inline-chat-hint', 'inline-chat-hint-text'];
233
233
  let content;
234
234
  if (isWhitespace) {
235
- content = '\u00a0' + ( localize(6940, "{0} to edit with {1}", kb, agentName));
235
+ content = '\u00a0' + ( localize(6941, "{0} to edit with {1}", kb, agentName));
236
236
  }
237
237
  else if (isEol) {
238
- content = '\u00a0' + ( localize(6941, "{0} to continue with {1}", kb, agentName));
238
+ content = '\u00a0' + ( localize(6942, "{0} to continue with {1}", kb, agentName));
239
239
  }
240
240
  else {
241
241
  content = '\u200a' + kb + '\u200a';
@@ -264,7 +264,7 @@ let InlineChatHintsController = class InlineChatHintsController extends Disposab
264
264
  getActions: () => [
265
265
  toAction({
266
266
  id: 'inlineChat.disableHint',
267
- label: ( localize(6942, "Disable Inline Chat Hint")),
267
+ label: ( localize(6943, "Disable Inline Chat Hint")),
268
268
  run: async () => {
269
269
  await this._configurationService.updateValue(setting, false);
270
270
  }
@@ -292,7 +292,7 @@ class HideInlineChatHintAction extends EditorAction2 {
292
292
  constructor() {
293
293
  super({
294
294
  id: 'inlineChat.hideHint',
295
- title: ( localize2(6943, "Hide Inline Chat Hint")),
295
+ title: ( localize2(6944, "Hide Inline Chat Hint")),
296
296
  precondition: CTX_INLINE_CHAT_SHOWING_HINT,
297
297
  keybinding: {
298
298
  weight: KeybindingWeight.EditorContrib - 10,