mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 23:06:49 +01:00
Support restoring edits for background sessions (#279270)
* Support restoring edits for background sessions * revert change
This commit is contained in:
@@ -32,7 +32,8 @@ declare module 'vscode' {
|
||||
export class ChatResponseCodeblockUriPart {
|
||||
isEdit?: boolean;
|
||||
value: Uri;
|
||||
constructor(value: Uri, isEdit?: boolean);
|
||||
undoStopId?: string;
|
||||
constructor(value: Uri, isEdit?: boolean, undoStopId?: string);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -170,7 +171,7 @@ declare module 'vscode' {
|
||||
export class ChatResponseExternalEditPart {
|
||||
uris: Uri[];
|
||||
callback: () => Thenable<unknown>;
|
||||
applied: Thenable<void>;
|
||||
applied: Thenable<string>;
|
||||
constructor(uris: Uri[], callback: () => Thenable<unknown>);
|
||||
}
|
||||
|
||||
@@ -314,7 +315,7 @@ declare module 'vscode' {
|
||||
* tracked as agent edits. This can be used to track edits made from
|
||||
* external tools that don't generate simple {@link textEdit textEdits}.
|
||||
*/
|
||||
externalEdit<T>(target: Uri | Uri[], callback: () => Thenable<T>): Thenable<T>;
|
||||
externalEdit(target: Uri | Uri[], callback: () => Thenable<unknown>): Thenable<string>;
|
||||
|
||||
markdownWithVulnerabilities(value: string | MarkdownString, vulnerabilities: ChatVulnerability[]): void;
|
||||
codeblockUri(uri: Uri, isEdit?: boolean): void;
|
||||
|
||||
Reference in New Issue
Block a user