feat(infra): chat cursor pagination, projectChat Zod validation

↗ view on GitHub · Dshamir · 2026-05-23 · eb70e06a

- GET /chat now accepts a `before` cursor (ISO timestamp) for keyset
  pagination. Default limit set to 50 (PR #110).
- POST /projects/:projectId/chat validates request body via Zod
  schema with the validate() middleware (PR #155).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Repository Dshamir/AI-Legal
Author Dshamir <dshamir@blucap.ca>
Authored
Parents 76fedfc6
Stats 3 files changed , +60 , -8
Part of Upstream-PR security and infra hardening

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-eb70e06a.md from inside the repo you want the change in.

⬇ Download capture-commit-eb70e06a.md