Skip to content

Commit 7f91865

Browse files
committed
clean up
1 parent 92288d7 commit 7f91865

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

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

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,7 @@ declare module 'vscode' {
167167
constructor(value: ChatResponseDiffEntry[], title: string, readOnly?: boolean);
168168
}
169169

170-
export class ChatResponseExternalEditPart {
171-
uris: Uri[];
172-
callback: () => Thenable<unknown>;
173-
applied: Thenable<void>;
174-
constructor(uris: Uri[], callback: () => Thenable<unknown>);
175-
}
176-
177-
export type ExtendedChatResponsePart = ChatResponsePart | ChatResponseTextEditPart | ChatResponseNotebookEditPart | ChatResponseConfirmationPart | ChatResponseCodeCitationPart | ChatResponseReferencePart2 | ChatResponseMovePart | ChatResponseExtensionsPart | ChatResponsePullRequestPart | ChatPrepareToolInvocationPart | ChatToolInvocationPart | ChatResponseMultiDiffPart | ChatResponseThinkingProgressPart | ChatResponseExternalEditPart;
170+
export type ExtendedChatResponsePart = ChatResponsePart | ChatResponseTextEditPart | ChatResponseNotebookEditPart | ChatResponseConfirmationPart | ChatResponseCodeCitationPart | ChatResponseReferencePart2 | ChatResponseMovePart | ChatResponseExtensionsPart | ChatResponsePullRequestPart | ChatPrepareToolInvocationPart | ChatToolInvocationPart | ChatResponseMultiDiffPart | ChatResponseThinkingProgressPart;
178171
export class ChatResponseWarningPart {
179172
value: MarkdownString;
180173
constructor(value: string | MarkdownString);
@@ -308,14 +301,6 @@ declare module 'vscode' {
308301

309302
notebookEdit(target: Uri, isDone: true): void;
310303

311-
/**
312-
* Makes an external edit to one or more resources. Changes to the
313-
* resources made within the `callback` and before it resolves will be
314-
* tracked as agent edits. This can be used to track edits made from
315-
* external tools that don't generate simple {@link textEdit textEdits}.
316-
*/
317-
externalEdit<T>(target: Uri | Uri[], callback: () => Thenable<T>): Thenable<T>;
318-
319304
markdownWithVulnerabilities(value: string | MarkdownString, vulnerabilities: ChatVulnerability[]): void;
320305
codeblockUri(uri: Uri, isEdit?: boolean): void;
321306
push(part: ChatResponsePart | ChatResponseTextEditPart | ChatResponseWarningPart | ChatResponseProgressPart2): void;

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ declare module 'vscode' {
8787
* Events for edited files in this session collected since the last request.
8888
*/
8989
readonly editedFileEvents?: ChatRequestEditedFileEvent[];
90-
91-
readonly isSubagent?: boolean;
9290
}
9391

9492
export enum ChatRequestEditedFileEventKind {

0 commit comments

Comments
 (0)