@codingame/monaco-vscode-chat-service-override 11.0.0 → 11.0.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 (30) hide show
  1. package/package.json +6 -6
  2. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +18 -18
  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 +10 -10
  5. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +16 -16
  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/codeBlockOperations.js +9 -9
  12. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +16 -16
  13. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +1 -1
  14. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingService.js +4 -3
  15. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +2 -2
  16. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.js +4 -4
  17. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.js +11 -8
  18. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipantContributions.js +26 -26
  19. package/vscode/src/vs/workbench/contrib/chat/browser/chatPasteProviders.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.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/chatViewsWelcomeContributions.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/languageModelStats.js +2 -2
  25. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
  26. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +13 -13
  27. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
  28. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +4 -4
  29. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +2 -2
  30. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js +6 -6
@@ -18,7 +18,7 @@ const languageModelToolsExtensionPoint = ExtensionsRegistry.registerExtensionPoi
18
18
  },
19
19
  jsonSchema: {
20
20
  description: ( localize(
21
- 7480,
21
+ 7516,
22
22
  'Contributes a tool that can be invoked by a language model in a chat session, or from a standalone command. Registered tools can be used by all extensions.'
23
23
  )),
24
24
  type: 'array',
@@ -44,7 +44,7 @@ const languageModelToolsExtensionPoint = ExtensionsRegistry.registerExtensionPoi
44
44
  properties: {
45
45
  name: {
46
46
  description: ( localize(
47
- 7481,
47
+ 7517,
48
48
  "A unique name for this tool. This name must be a globally unique identifier, and is also used as a name when presenting this tool to a language model."
49
49
  )),
50
50
  type: 'string',
@@ -52,7 +52,7 @@ const languageModelToolsExtensionPoint = ExtensionsRegistry.registerExtensionPoi
52
52
  },
53
53
  toolReferenceName: {
54
54
  markdownDescription: ( localize(
55
- 7482,
55
+ 7518,
56
56
  "If {0} is enabled for this tool, the user may use '#' with this name to invoke the tool in a query. Otherwise, the name is not required. Name must not contain whitespace.",
57
57
  '`canBeReferencedInPrompt`'
58
58
  )),
@@ -61,32 +61,32 @@ const languageModelToolsExtensionPoint = ExtensionsRegistry.registerExtensionPoi
61
61
  },
62
62
  displayName: {
63
63
  description: ( localize(
64
- 7483,
64
+ 7519,
65
65
  "A human-readable name for this tool that may be used to describe it in the UI."
66
66
  )),
67
67
  type: 'string'
68
68
  },
69
69
  userDescription: {
70
- description: ( localize(7484, "A description of this tool that may be shown to the user.")),
70
+ description: ( localize(7520, "A description of this tool that may be shown to the user.")),
71
71
  type: 'string'
72
72
  },
73
73
  modelDescription: {
74
74
  description: ( localize(
75
- 7485,
75
+ 7521,
76
76
  "A description of this tool that may be used by a language model to select it."
77
77
  )),
78
78
  type: 'string'
79
79
  },
80
80
  inputSchema: {
81
81
  description: ( localize(
82
- 7486,
82
+ 7522,
83
83
  "A JSON schema for the input this tool accepts. The input must be an object at the top level. A particular language model may not support all JSON schema features. See the documentation for the language model family you are using for more information."
84
84
  )),
85
85
  $ref: toolsParametersSchemaSchemaId,
86
86
  },
87
87
  canBeReferencedInPrompt: {
88
88
  markdownDescription: ( localize(
89
- 7487,
89
+ 7523,
90
90
  "If true, this tool shows up as an attachment that the user can add manually to their request. Chat participants will receive the tool in {0}.",
91
91
  '`ChatRequest#toolReferences`'
92
92
  )),
@@ -94,7 +94,7 @@ const languageModelToolsExtensionPoint = ExtensionsRegistry.registerExtensionPoi
94
94
  },
95
95
  icon: {
96
96
  markdownDescription: ( localize(
97
- 7488,
97
+ 7524,
98
98
  "An icon that represents this tool. Either a file path, an object with file paths for dark and light themes, or a theme icon reference, like `$(zap)`"
99
99
  )),
100
100
  anyOf: [{
@@ -104,11 +104,11 @@ const languageModelToolsExtensionPoint = ExtensionsRegistry.registerExtensionPoi
104
104
  type: 'object',
105
105
  properties: {
106
106
  light: {
107
- description: ( localize(7489, 'Icon path when a light theme is used')),
107
+ description: ( localize(7525, 'Icon path when a light theme is used')),
108
108
  type: 'string'
109
109
  },
110
110
  dark: {
111
- description: ( localize(7490, 'Icon path when a dark theme is used')),
111
+ description: ( localize(7526, 'Icon path when a dark theme is used')),
112
112
  type: 'string'
113
113
  }
114
114
  }
@@ -116,14 +116,14 @@ const languageModelToolsExtensionPoint = ExtensionsRegistry.registerExtensionPoi
116
116
  },
117
117
  when: {
118
118
  markdownDescription: ( localize(
119
- 7491,
119
+ 7527,
120
120
  "Condition which must be true for this tool to be enabled. Note that a tool may still be invoked by another extension even when its `when` condition is false."
121
121
  )),
122
122
  type: 'string'
123
123
  },
124
124
  tags: {
125
125
  description: ( localize(
126
- 7492,
126
+ 7528,
127
127
  "A set of tags that roughly describe the tool's capabilities. A tool user may use these to filter the set of tools to just ones that are relevant for the task at hand, or they may want to pick a tag that can be used to identify just the tools contributed by this extension."
128
128
  )),
129
129
  type: 'array',
@@ -20,7 +20,7 @@ var PhraseTextType;
20
20
  const VoiceChatInProgress = ( (new RawContextKey(
21
21
  'voiceChatInProgress',
22
22
  false,
23
- { type: 'boolean', description: ( localize(7493, "A speech-to-text session is in progress for chat.")) }
23
+ { type: 'boolean', description: ( localize(7529, "A speech-to-text session is in progress for chat.")) }
24
24
  )));
25
25
  let VoiceChatService = class VoiceChatService extends Disposable {
26
26
  static { VoiceChatService_1 = this; }
@@ -26,7 +26,7 @@ const editActionMenuItem = {
26
26
  order: 0,
27
27
  command: {
28
28
  id: SubmitAction.ID,
29
- title: ( localize(2729, "Edit Code")),
29
+ title: ( localize(3215, "Edit Code")),
30
30
  },
31
31
  when: ( (ContextKeyExpr.and(
32
32
  CONTEXT_CHAT_INPUT_HAS_TEXT,
@@ -39,7 +39,7 @@ const generateActionMenuItem = {
39
39
  order: 0,
40
40
  command: {
41
41
  id: SubmitAction.ID,
42
- title: ( localize(2730, "Generate")),
42
+ title: ( localize(3216, "Generate")),
43
43
  },
44
44
  when: ( (ContextKeyExpr.and(
45
45
  CONTEXT_CHAT_INPUT_HAS_TEXT,
@@ -54,8 +54,8 @@ const cancelActionMenuItem = {
54
54
  order: 0,
55
55
  command: {
56
56
  id: CancelAction.ID,
57
- title: ( localize(2731, "Cancel Request")),
58
- shortTitle: ( localize(2732, "Cancel")),
57
+ title: ( localize(3217, "Cancel Request")),
58
+ shortTitle: ( localize(3218, "Cancel")),
59
59
  },
60
60
  when: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_REQUEST_IN_PROGRESS))),
61
61
  };
@@ -14,7 +14,7 @@ import { AbstractInlineChatAction } from 'vscode/vscode/vs/workbench/contrib/inl
14
14
  import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
15
15
 
16
16
  const CTX_INLINE_CHAT_EXPANSION = ( (new RawContextKey('inlineChatExpansion', false, ( localize(
17
- 7662,
17
+ 7698,
18
18
  "Whether the inline chat expansion is enabled when at the end of a just-typed line"
19
19
  )))));
20
20
  let InlineChatExansionContextKey = class InlineChatExansionContextKey {
@@ -84,7 +84,7 @@ class InlineChatExpandLineAction extends EditorAction2 {
84
84
  super({
85
85
  id: 'inlineChat.startWithCurrentLine',
86
86
  category: AbstractInlineChatAction.category,
87
- title: ( localize2(7663, "Start in Editor with Current Line")),
87
+ title: ( localize2(7699, "Start in Editor with Current Line")),
88
88
  f1: true,
89
89
  precondition: ( (ContextKeyExpr.and(
90
90
  (CTX_INLINE_CHAT_VISIBLE.negate()),
@@ -113,7 +113,7 @@ let InlineChatSavingServiceImpl = class InlineChatSavingServiceImpl {
113
113
  const agentName = session.agent.fullName;
114
114
  const filelabel = this._labelService.getUriBasenameLabel(session.textModelN.uri);
115
115
  message = ( localize(
116
- 2706,
116
+ 3186,
117
117
  "Do you want to save the changes {0} made in {1}?",
118
118
  agentName,
119
119
  filelabel
@@ -125,7 +125,7 @@ let InlineChatSavingServiceImpl = class InlineChatSavingServiceImpl {
125
125
  i => this._labelService.getUriBasenameLabel(i.session.textModelN.uri)
126
126
  ))));
127
127
  message = ( localize(
128
- 2707,
128
+ 3187,
129
129
  "Do you want to save the changes inline chat made in {0}?",
130
130
  labels.join(', ')
131
131
  ));
@@ -133,13 +133,13 @@ let InlineChatSavingServiceImpl = class InlineChatSavingServiceImpl {
133
133
  const result = await this._dialogService.confirm({
134
134
  message,
135
135
  detail: ( localize(
136
- 2708,
136
+ 3188,
137
137
  "AI-generated changes may be incorrect and should be reviewed before saving."
138
138
  )),
139
- primaryButton: ( localize(2709, "Save")),
140
- cancelButton: ( localize(2710, "Cancel")),
139
+ primaryButton: ( localize(3189, "Save")),
140
+ cancelButton: ( localize(3190, "Cancel")),
141
141
  checkbox: {
142
- label: ( localize(2711, "Always save with AI-generated changes without asking")),
142
+ label: ( localize(3191, "Always save with AI-generated changes without asking")),
143
143
  checked: false
144
144
  }
145
145
  });