Featured-metric dashboard tile: label (uppercase muted) above a huge 32/700 primary value, with optional tone-colored delta line and corner icon. Distinct from its neighbors: - add_stat_grid_v0 — multi-cell side-by-side, smaller values - add_metric_comparison_v0 — horizontal label+value+inline arrow - add_stat_card_v0 (this) — single featured metric, whole-card focus Trend enum tones the delta line only (value stays slate-900): up → #10B981 (emerald) down → #EF4444 (red) flat → #64748B (slate, default) Wired through all standard points — schema into ext-3 (shortest shard at 371 lines + new tool → 408, still comfortably under 800) + shim + SERVER_BUILDERS + parity CASES + contract allow-list + elements.md decision tree + triggers + minimal usage. Handler test covers 6 cases: minimal registration + defaults + icon+delta+up-tone + down-tone + flat-tone default + width clamp + bogus parent_id rejection. |
||
|---|---|---|
| .. | ||
| ai | ||
| mcp | ||
| local-asset.get.ts | ||