fix(beszel): MCP description accuracy and type strictness

- Add .default("1h") to timePeriod so MCP clients can omit it
- Include "1m" in the description's valid timePeriod values
- Clarify that getSystemStats uses only the first integrationId
- Use MantineSize type instead of plain string for itemRadius
This commit is contained in:
Thomas Camlong committed 2026-06-16 15:13:35 +02:00
1 parent 8600c63bab
commit 420c0c30e4
2 files changed
+4 -3

No files matched your search

@@ -1,5 +1,6 @@
"use client";
import type { MantineSize } from "@mantine/core";
import { Badge, Box, Card, Group, Progress, Text, Stack, useComputedColorScheme } from "@mantine/core";
import {
Activity,
@@ -153,7 +154,7 @@ interface SystemCardProps {
size: SizeConfig;
maxMetrics: number;
backgroundColor: string;
itemRadius: string;
itemRadius: MantineSize;
}
const metricRenderers = [