cc-dashboard/web
Vadym Samoilenko 2533f4b046 feat: AI assistant chat widget + session categories + anomaly detection
- Migration 0005: sessions.category, manual_entries.category, ai_flags table, assistant_messages table
- AiFlag + AssistantMessage ORM models added to models.py
- src/services/assistant.py: gap detection (>30min gaps, low active/wall ratio, uncategorized sessions, long days), Anthropic tool_use loop with 7 tools (get_daily_summary, get_sessions, get_project_stats, detect_anomalies, create_manual_entry, set_session_category, get_unresolved_flags)
- src/routers/assistant.py: POST /api/assistant/chat (SSE streaming), GET/DELETE /history, GET /flags, POST /flags/scan, PATCH /flags/:id/resolve, PATCH /sessions/:id/category
- APScheduler: hourly anomaly scan for all users, persists AiFlag records
- AssistantWidget.vue: floating bottom-right chat panel, streaming SSE rendering, quick-hint chips, tool activity indicators, red badge for unresolved flags, markdown rendering, clear history

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 18:59:51 +01:00
..
src feat: AI assistant chat widget + session categories + anomaly detection 2026-05-06 18:59:51 +01:00
.eslintrc.cjs feat: add complete Vue 3 frontend in web/ directory 2026-05-06 18:52:43 +01:00
index.html feat: add complete Vue 3 frontend in web/ directory 2026-05-06 18:52:43 +01:00
package.json feat: add complete Vue 3 frontend in web/ directory 2026-05-06 18:52:43 +01:00
postcss.config.js feat: add complete Vue 3 frontend in web/ directory 2026-05-06 18:52:43 +01:00
tailwind.config.ts feat: add complete Vue 3 frontend in web/ directory 2026-05-06 18:52:43 +01:00
tsconfig.json feat: add complete Vue 3 frontend in web/ directory 2026-05-06 18:52:43 +01:00
tsconfig.node.json feat: add complete Vue 3 frontend in web/ directory 2026-05-06 18:52:43 +01:00
vite.config.ts feat: add complete Vue 3 frontend in web/ directory 2026-05-06 18:52:43 +01:00
vitest.config.ts feat: add complete Vue 3 frontend in web/ directory 2026-05-06 18:52:43 +01:00