Fix weird type errors

This commit is contained in:
Gregory Schier
2026-01-02 07:10:48 -08:00
parent 7e239c0dd1
commit 04eec0ee05
4 changed files with 1931 additions and 2871 deletions

View File

@@ -31,12 +31,12 @@ export function registerToastTools(server: McpServer, ctx: McpServerContext) {
{
title: 'Show Toast',
description: 'Show a toast notification in Yaak',
inputSchema: z.object({
inputSchema: {
message: z.string().describe('The message to display'),
icon: z.enum(ICON_VALUES).optional().describe('Icon name'),
color: z.enum(COLOR_VALUES).optional().describe('Toast color'),
timeout: z.number().optional().describe('Timeout in milliseconds'),
}),
},
},
async ({ message, icon, color, timeout }) => {
await ctx.yaak.toast.show({