iframe mounted across toggle and cached height

This commit is contained in:
Arjun 2026-05-13 18:06:33 +05:30
parent 9122d50809
commit da6d1d9279
6 changed files with 89 additions and 14 deletions

View file

@ -112,6 +112,7 @@ export const GmailThreadMessageSchema = z.object({
body: z.string().optional(),
bodyHtml: z.string().optional(),
unread: z.boolean().optional(),
bodyHeight: z.number().int().positive().optional(),
});
export type GmailThreadMessage = z.infer<typeof GmailThreadMessageSchema>;

View file

@ -155,6 +155,14 @@ const ipcSchemas = {
threads: z.array(GmailThreadSchema),
}),
},
'gmail:saveMessageHeight': {
req: z.object({
threadId: z.string().min(1),
messageId: z.string().min(1),
height: z.number().int().positive(),
}),
res: z.object({}),
},
'mcp:listTools': {
req: z.object({
serverName: z.string(),