Skip to content

Commit 3c08d0c

Browse files
Copilotrzhao271
andcommitted
Initial plan for yarn to npm migration
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
1 parent 1104dc1 commit 3c08d0c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/@types/vscode.proposed.chatParticipantAdditions.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,8 @@ declare module 'vscode' {
10591059
}
10601060

10611061
export interface ChatRequestModeInstructions {
1062+
/** set when the mode a custom agent (not built-in), to be used as identifier */
1063+
readonly uri?: Uri;
10621064
readonly name: string;
10631065
readonly content: string;
10641066
readonly toolReferences?: readonly ChatLanguageModelToolReference[];

src/@types/vscode.proposed.chatParticipantPrivate.d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
// version: 14
6+
// version: 15
77

88
declare module 'vscode' {
99

@@ -116,6 +116,13 @@ declare module 'vscode' {
116116
*/
117117
readonly parentRequestId?: string;
118118

119+
/**
120+
* The permission level for tool auto-approval in this request.
121+
* - `'autoApprove'`: Auto-approve all tool calls and retry on errors.
122+
* - `'autopilot'`: Everything autoApprove does plus continues until the task is done.
123+
*/
124+
readonly permissionLevel?: string;
125+
119126
/**
120127
* Whether any hooks are enabled for this request.
121128
*/

0 commit comments

Comments
 (0)