Add more info to codeblock copy/insert/apply actions (#252319)

For dashboards
This commit is contained in:
Rob Lourens
2025-06-24 12:52:05 -07:00
committed by GitHub
parent 86cfd1b4db
commit 37b46afab0
10 changed files with 91 additions and 23 deletions
@@ -334,6 +334,10 @@ declare module 'vscode' {
copiedCharacters: number;
totalCharacters: number;
copiedText: string;
totalLines: number;
copiedLines: number;
modelId: string;
languageId?: string;
}
export interface ChatInsertAction {
@@ -341,6 +345,9 @@ declare module 'vscode' {
kind: 'insert';
codeBlockIndex: number;
totalCharacters: number;
totalLines: number;
languageId?: string;
modelId: string;
newFile?: boolean;
}
@@ -349,6 +356,9 @@ declare module 'vscode' {
kind: 'apply';
codeBlockIndex: number;
totalCharacters: number;
totalLines: number;
languageId?: string;
modelId: string;
newFile?: boolean;
codeMapper?: string;
}