wacrm/src/app/(dashboard)
Arnas Donauskas c736e7a43f feat(ai): add token-usage dashboard (AI Agents → Usage)
Surfaces the ai_usage_log data added in the previous commit:
- GET /api/ai/usage — admin-only aggregation (totals, per-mode,
  per-model, zero-filled daily series) over a 7/30/90-day window,
  mirroring the ai_usage_log SELECT policy
- AiUsageCard — stat tiles + daily token bar chart + by-model list,
  rendered under a new admin-only "Usage" tab on the AI Agents page

Counts only; no message content is stored or shown.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 14:31:36 +03:00
..
agents feat(ai): add token-usage dashboard (AI Agents → Usage) 2026-07-08 14:31:36 +03:00
automations feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
broadcasts fix(broadcasts): collect header media URL for image/video templates (#298) 2026-06-25 17:17:18 +03:00
contacts fix: gated button add your first contact 2026-07-01 23:33:04 +07:00
dashboard feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
flows feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
inbox feat(inbox): filter conversations by contact tags and company 2026-07-01 13:03:53 +03:00
notifications feat(notifications): implement account-based notification retrieval and update logic 2026-06-30 11:16:20 +05:30
pipelines feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
settings feat: AI Agents sidebar section (setup + playground) 2026-07-02 18:20:18 +03:00
dashboard-shell.tsx feat(team): member presence (online / away / offline) on the roster 2026-06-22 14:37:29 +03:00
layout.tsx Revert "feat(i18n): re-attempt next-intl with hardened artifact tracing" 2026-05-31 21:05:34 +03:00