feat: expand multimodal and knowledge workflows

This commit is contained in:
lofyer
2026-08-10 21:25:47 +08:00
parent 0fab985f28
commit ad79659308
38 changed files with 3036 additions and 2416 deletions
+6
View File
@@ -13,6 +13,7 @@ import {
type KnowledgeLibrary,
type KnowledgeSearchReference,
type KnowledgeSnapshot,
type PastedImageInput,
type RuntimeSettings,
type RuntimeSettingsInput,
type RuntimeConfigActionInput,
@@ -707,6 +708,11 @@ const desktopApi: DesktopApi = {
ipcRenderer.invoke(
ipcChannels.contextSelectFiles
) as Promise<ContextAttachment[]>,
addPastedImage: (input: PastedImageInput) =>
ipcRenderer.invoke(
ipcChannels.contextAddPastedImage,
input
) as Promise<ContextAttachment>,
captureScreen: () =>
ipcRenderer.invoke(
ipcChannels.contextCaptureScreen