tpmjs/apps/web
Ajax Davis d6de3e025a feat: implement user activity stream and multiple API improvements
Activity Stream:
- Add UserActivity model with ActivityType enum to track user actions
- Create activity logging service with fire-and-forget pattern
- Add /api/user/activity endpoint with cursor pagination
- Add cleanup cron job for 90-day activity retention
- Integrate activity logging into 18 mutation API routes
- Add DashboardActivityStream component with virtualized rendering

API Improvements:
- Add distributed rate limiting via Vercel KV (with in-memory fallback)
- Add rate limiting to chat endpoint (30 req/min)
- Optimize BM25 search with database-level pre-filtering
- Fix JSON parse crash in search endpoint
- Add pagination to collection tools response (toolsLimit/toolsOffset)
- Add take limits to agent detail query to prevent excessive data fetch
- Fix hardcoded tool count calculation in agents dashboard

Schema Extraction:
- Add schemaExtractionAttemptAt and schemaExtractionError fields
- Separate rate limiting for failed (1 min) vs successful (1 hour) attempts
- Allow retry of failed extractions

Standardization:
- Create api-response.ts with standardized response helpers
- Add apiSuccess, apiError, apiNotFound, apiForbidden, etc.
- Update agents routes to use standardized format

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-08 04:11:01 +10:00
..
public fix: move tools-export.json to public/ for Vercel compatibility 2026-01-01 17:46:36 +10:00
scripts feat: add transport parameter to MCP endpoint 2026-01-02 10:50:34 +10:00
src feat: implement user activity stream and multiple API improvements 2026-01-08 04:11:01 +10:00
.gitignore fix: add npmPublishedAt to API response and add null safety for dates 2025-12-16 12:49:53 +10:00
eslint.config.mjs fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
next-env.d.ts fix: add Prisma client to web app for Vercel monorepo compatibility 2026-01-02 00:37:00 +10:00
next.config.ts feat: add /tool-ideas page with 10K AI-generated tools 2026-01-01 17:13:46 +10:00
package.json feat: redesign public pages with virtualized tables 2026-01-07 21:55:13 +10:00
postcss.config.js feat: add complete monorepo structure and all packages 2025-11-25 21:59:40 +10:00
RATE_LIMITING.md feat: add HN launch readiness features 2025-12-14 11:56:42 +10:00
RATE_LIMITING_SUMMARY.md feat: add HN launch readiness features 2025-12-14 11:56:42 +10:00
tailwind.config.ts fix: preserve streamed output and add markdown rendering to playground 2025-11-30 19:28:53 +10:00
tsconfig.json feat(sync): implement Phase 3 Sync Workers with Vercel Cron integration 2025-11-28 02:57:54 +10:00
vercel.json fix: add build:web script to only build web and dependencies for Vercel 2026-01-03 14:18:28 +10:00
vitest.config.ts feat: add comprehensive stats dashboard with D3 charts 2025-12-28 17:08:19 +10:00