@codingame/monaco-vscode-chat-service-override 9.0.2 → 9.0.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-chat-service-override",
3
- "version": "9.0.2",
3
+ "version": "9.0.3",
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@9.0.2"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@9.0.3"
30
30
  }
31
31
  }
@@ -27,7 +27,7 @@ import Severity$1 from 'vscode/vscode/vs/base/common/severity';
27
27
  const chatParticipantExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
28
28
  extensionPoint: 'chatParticipants',
29
29
  jsonSchema: {
30
- description: ( localize(7136, 'Contributes a chat participant')),
30
+ description: ( localize(7134, 'Contributes a chat participant')),
31
31
  type: 'array',
32
32
  items: {
33
33
  additionalProperties: false,
@@ -36,12 +36,12 @@ const chatParticipantExtensionPoint = ExtensionsRegistry.registerExtensionPoint(
36
36
  required: ['name', 'id'],
37
37
  properties: {
38
38
  id: {
39
- description: ( localize(7137, "A unique id for this chat participant.")),
39
+ description: ( localize(7135, "A unique id for this chat participant.")),
40
40
  type: 'string'
41
41
  },
42
42
  name: {
43
43
  description: ( localize(
44
- 7138,
44
+ 7136,
45
45
  "User-facing name for this chat participant. The user will use '@' with this name to invoke the participant. Name must not contain whitespace."
46
46
  )),
47
47
  type: 'string',
@@ -49,37 +49,37 @@ const chatParticipantExtensionPoint = ExtensionsRegistry.registerExtensionPoint(
49
49
  },
50
50
  fullName: {
51
51
  markdownDescription: ( localize(
52
- 7139,
52
+ 7137,
53
53
  "The full name of this chat participant, which is shown as the label for responses coming from this participant. If not provided, {0} is used.",
54
54
  '`name`'
55
55
  )),
56
56
  type: 'string'
57
57
  },
58
58
  description: {
59
- description: ( localize(7140, "A description of this chat participant, shown in the UI.")),
59
+ description: ( localize(7138, "A description of this chat participant, shown in the UI.")),
60
60
  type: 'string'
61
61
  },
62
62
  isSticky: {
63
63
  description: ( localize(
64
- 7141,
64
+ 7139,
65
65
  "Whether invoking the command puts the chat into a persistent mode, where the command is automatically added to the chat input for the next message."
66
66
  )),
67
67
  type: 'boolean'
68
68
  },
69
69
  sampleRequest: {
70
70
  description: ( localize(
71
- 7142,
71
+ 7140,
72
72
  "When the user clicks this participant in `/help`, this text will be submitted to the participant."
73
73
  )),
74
74
  type: 'string'
75
75
  },
76
76
  when: {
77
- description: ( localize(7143, "A condition which must be true to enable this participant.")),
77
+ description: ( localize(7141, "A condition which must be true to enable this participant.")),
78
78
  type: 'string'
79
79
  },
80
80
  disambiguation: {
81
81
  description: ( localize(
82
- 7144,
82
+ 7142,
83
83
  "Metadata to help with automatically routing user questions to this chat participant. You must add `contribChatParticipantDetection` to `enabledApiProposals` to use this API."
84
84
  )),
85
85
  type: 'array',
@@ -91,21 +91,21 @@ const chatParticipantExtensionPoint = ExtensionsRegistry.registerExtensionPoint(
91
91
  properties: {
92
92
  categoryName: {
93
93
  markdownDescription: ( localize(
94
- 7145,
94
+ 7143,
95
95
  "A detailed name for this category, e.g. `workspace_questions` or `web_questions`."
96
96
  )),
97
97
  type: 'string'
98
98
  },
99
99
  description: {
100
100
  description: ( localize(
101
- 7146,
101
+ 7144,
102
102
  "A detailed description of the kinds of questions that are suitable for this chat participant."
103
103
  )),
104
104
  type: 'string'
105
105
  },
106
106
  examples: {
107
107
  description: ( localize(
108
- 7147,
108
+ 7145,
109
109
  "A list of representative example questions that are suitable for this chat participant."
110
110
  )),
111
111
  type: 'array'
@@ -115,7 +115,7 @@ const chatParticipantExtensionPoint = ExtensionsRegistry.registerExtensionPoint(
115
115
  },
116
116
  commands: {
117
117
  markdownDescription: ( localize(
118
- 7148,
118
+ 7146,
119
119
  "Commands available for this chat participant, which the user can invoke with a `/`."
120
120
  )),
121
121
  type: 'array',
@@ -127,36 +127,36 @@ const chatParticipantExtensionPoint = ExtensionsRegistry.registerExtensionPoint(
127
127
  properties: {
128
128
  name: {
129
129
  description: ( localize(
130
- 7149,
130
+ 7147,
131
131
  "A short name by which this command is referred to in the UI, e.g. `fix` or * `explain` for commands that fix an issue or explain code. The name should be unique among the commands provided by this participant."
132
132
  )),
133
133
  type: 'string'
134
134
  },
135
135
  description: {
136
- description: ( localize(7150, "A description of this command.")),
136
+ description: ( localize(7148, "A description of this command.")),
137
137
  type: 'string'
138
138
  },
139
139
  when: {
140
- description: ( localize(7151, "A condition which must be true to enable this command.")),
140
+ description: ( localize(7149, "A condition which must be true to enable this command.")),
141
141
  type: 'string'
142
142
  },
143
143
  sampleRequest: {
144
144
  description: ( localize(
145
- 7152,
145
+ 7150,
146
146
  "When the user clicks this command in `/help`, this text will be submitted to the participant."
147
147
  )),
148
148
  type: 'string'
149
149
  },
150
150
  isSticky: {
151
151
  description: ( localize(
152
- 7141,
152
+ 7139,
153
153
  "Whether invoking the command puts the chat into a persistent mode, where the command is automatically added to the chat input for the next message."
154
154
  )),
155
155
  type: 'boolean'
156
156
  },
157
157
  disambiguation: {
158
158
  description: ( localize(
159
- 7153,
159
+ 7151,
160
160
  "Metadata to help with automatically routing user questions to this chat command. You must add `contribChatParticipantDetection` to `enabledApiProposals` to use this API."
161
161
  )),
162
162
  type: 'array',
@@ -168,21 +168,21 @@ const chatParticipantExtensionPoint = ExtensionsRegistry.registerExtensionPoint(
168
168
  properties: {
169
169
  categoryName: {
170
170
  markdownDescription: ( localize(
171
- 7154,
171
+ 7152,
172
172
  "A detailed name for this category, e.g. `workspace_questions` or `web_questions`."
173
173
  )),
174
174
  type: 'string'
175
175
  },
176
176
  description: {
177
177
  description: ( localize(
178
- 7155,
178
+ 7153,
179
179
  "A detailed description of the kinds of questions that are suitable for this chat command."
180
180
  )),
181
181
  type: 'string'
182
182
  },
183
183
  examples: {
184
184
  description: ( localize(
185
- 7156,
185
+ 7154,
186
186
  "A list of representative example questions that are suitable for this chat command."
187
187
  )),
188
188
  type: 'array'
@@ -195,7 +195,7 @@ const chatParticipantExtensionPoint = ExtensionsRegistry.registerExtensionPoint(
195
195
  },
196
196
  supportsToolReferences: {
197
197
  description: ( localize(
198
- 7157,
198
+ 7155,
199
199
  "Whether this participant supports {0}.",
200
200
  'ChatRequest#toolReferences'
201
201
  )),
@@ -306,7 +306,7 @@ let ChatExtensionPointHandler = class ChatExtensionPointHandler {
306
306
  });
307
307
  }
308
308
  registerViewContainer() {
309
- const title = ( localize2(7158, "Chat"));
309
+ const title = ( localize2(7156, "Chat"));
310
310
  const icon = Codicon.commentDiscussion;
311
311
  const viewContainerId = CHAT_SIDEBAR_PANEL_ID;
312
312
  const viewContainer = ( (Registry.as(Extensions.ViewContainersRegistry))).registerViewContainer({
@@ -356,9 +356,9 @@ let ChatCompatibilityNotifier = class ChatCompatibilityNotifier {
356
356
  extensionsWorkbenchService.queryLocal().then(exts => {
357
357
  const chat = exts.find(ext => ext.identifier.id === 'github.copilot-chat');
358
358
  if (chat?.local?.validations.some(v => v[0] === Severity$1.Error)) {
359
- const showExtensionLabel = ( localize(7159, "Show Extension"));
359
+ const showExtensionLabel = ( localize(7157, "Show Extension"));
360
360
  const mainMessage = ( localize(
361
- 7160,
361
+ 7158,
362
362
  "Chat failed to load because the installed version of the {0} extension is not compatible with this version of {1}. Please ensure that the GitHub Copilot Chat extension is up to date.",
363
363
  'GitHub Copilot Chat',
364
364
  productService.nameLong