Feat/add ide opened file to chat context (#1106)

* feat(chat): add active editor file context and related functionality

* feat(chat): improve active editor file context handling and update translations

* feat(i18n): standardize quotation marks in file attachment messages

* update Korean translation for image removal action in file attachment

* feat(chat): refine active editor file handling and optimize broadcast logic

* fix(chat): stabilize VS Code editor context chips

---------

Signed-off-by: David Saz <david.saz.g@gmail.com>
Co-authored-by: Bohdan Triapitsyn <artmore@protonmail.com>
This commit is contained in:
David Saz
2026-05-05 01:24:03 +03:00
committed by GitHub
co-authored by Bohdan Triapitsyn
parent 7fc22bc69b
commit 5475ef2db3
12 changed files with 528 additions and 97 deletions
+3 -1
View File
@@ -21,8 +21,10 @@ export interface AttachedFile {
mimeType: string;
filename: string;
size: number;
source: "local" | "server";
source: "local" | "server" | "vscode";
serverPath?: string;
vscodePath?: string;
vscodeSource?: 'file' | 'selection';
}
export type EditPermissionMode = 'allow' | 'ask' | 'deny' | 'full';