release: test → main — /api/chat cutover (#645/#632), SongStats (#635), exclude empty chats (#633), credit digest (#634)
Merged
SW
5mo ago+16+16+01234567890123456789-24-24-01234567890123456789
Promotes test to main (9 commits).
Headline:
- BREAKING —
POST /api/chat/workflow→POST /api/chat(#645); legacy/api/chatstreaming endpoint removed (#632). - Research provider migrated to SongStats (#635).
GET /api/chatsexcludes zero-message chats (#633).- Credit-spend visibility digest cron (#634).
🤖 Generated with Claude Code
Summary by cubic
Cut over chat to POST /api/chat (breaking), migrated research to SongStats, and added a credit-spend digest. GET /api/chats now hides chats with no messages.
-
New Features
- Research now powered by SongStats; removed Chartmetric and unused research routes; slow paths use up to 60s.
- Credit-spend visibility digest via Vercel Cron (*/10) hits
GET /api/internal/credit-spend-digest; posts per-account summary to Telegram; guarded byCRON_SECRET. - Chats listing excludes zero-message chats via
chat_messages!innerjoin.
-
Migration
- Breaking: rename
POST /api/chat/workflowtoPOST /api/chat. Update all clients. - Legacy
/api/chatstreaming endpoint removed.
- Breaking: rename