can set a work directory in assistant chats (#534)

This commit is contained in:
arkml 2026-05-06 23:14:00 +05:30 committed by GitHub
parent d6651c4bf8
commit a48887da61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 159 additions and 8 deletions

View file

@ -483,6 +483,16 @@ const ipcSchemas = {
req: z.object({ path: z.string() }),
res: z.object({ data: z.string(), mimeType: z.string(), size: z.number() }),
},
// Native dialog channels
'dialog:openDirectory': {
req: z.object({
defaultPath: z.string().optional(),
title: z.string().optional(),
}),
res: z.object({
path: z.string().nullable(),
}),
},
// Knowledge version history channels
'knowledge:history': {
req: z.object({ path: RelPath }),