Add errorDetails to interactive session responses. (#176457)

* Add errorDetails to interactive session responses.
Also avoid calling updateElementHeight during a renderElement

* Fix hygiene
This commit is contained in:
Rob Lourens
2023-03-07 22:30:46 -05:00
committed by GitHub
parent 40ad2f338c
commit 7114851c4a
9 changed files with 118 additions and 56 deletions

View File

@@ -76,9 +76,15 @@ declare module 'vscode' {
followups?: string[];
}
export interface InteractiveResponseErrorDetails {
message: string;
responseIsIncomplete?: boolean;
}
export interface InteractiveResponseForProgress {
followups?: string[];
commands?: InteractiveResponseCommand[];
errorDetails?: InteractiveResponseErrorDetails;
}
export interface InteractiveProgress {