Display terminal tool results for bg sessions (#289845)

This commit is contained in:
Don Jayamanne
2026-01-23 20:31:37 +11:00
committed by GitHub
parent ac8880847e
commit 735afe80ef
2 changed files with 62 additions and 9 deletions

View File

@@ -118,6 +118,24 @@ declare module 'vscode' {
toolEdited?: string;
};
language: string;
/**
* Terminal command output. Displayed when the terminal is no longer available.
*/
output?: {
/** The raw output text, may include ANSI escape codes. */
text: string;
};
/**
* Command execution state.
*/
state?: {
/** Exit code of the command. */
exitCode?: number;
/** Duration of execution in milliseconds. */
duration?: number;
};
}
export class McpToolInvocationContentData {