tpmjs/apps/web/src/app/api
Ajax Davis 858d838241 fix: correct message ordering and add debug JSON tab
- Fix chronological ordering by saving ASSISTANT message before TOOL messages
- Collect tool results during streaming, save after assistant message
- Add "Debug JSON" tab to view raw messages array
- Shows all message fields including toolCalls, toolResult, tokens

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-08 04:49:13 +10:00
..
admin/make-agents-public fix: add admin endpoint to make existing agents public 2026-01-07 22:24:32 +10:00
agents fix: correct message ordering and add debug JSON tab 2026-01-08 04:49:13 +10:00
auth/[...all] feat: add Better Auth with email/password authentication 2026-01-01 20:45:10 +10:00
bundlephobia feat: add npm-like features to tool detail page and update keyword to tpmjs 2025-12-29 21:30:42 +10:00
collections feat: implement user activity stream and multiple API improvements 2026-01-08 04:11:01 +10:00
health feat: add build info to /api/health for deployment verification 2026-01-07 23:25:12 +10:00
og/[...path] feat: add build-time OG image generation with OpenAI 2025-12-28 20:45:02 +10:00
public feat: add like/love system for tools, collections, and agents 2026-01-07 21:04:31 +10:00
stats fix: wrap ORDER BY CASE with MIN() for PostgreSQL GROUP BY compatibility 2025-12-28 17:26:55 +10:00
sync feat: implement user activity stream and multiple API improvements 2026-01-08 04:11:01 +10:00
tool-ideas fix: move tools-export.json to public/ for Vercel compatibility 2026-01-01 17:46:36 +10:00
tools feat: implement user activity stream and multiple API improvements 2026-01-08 04:11:01 +10:00
user feat: implement user activity stream and multiple API improvements 2026-01-08 04:11:01 +10:00