Commit History
-
chore: remove Stripe — replaced by Orange Money / Wave payment gateway
CognxSafeTrack +1: Claude Sonnet 4.6Delete stripe.ts route file, remove import and /v1/stripe registration from app.ts, drop stripe npm dependency, remove deprecated stripeWebhookRoute stub from payments.ts, and remove stripeCustomerId from admin Organization interface. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>641e72b -
feat: Claude Sonnet 4.6 provider + Stripe billing automation
CognxSafeTrack +1: Claude Sonnet 4.6AI: - packages/ai-sdk: ClaudeProvider implements LLMProvider via tool_use structured outputs + zod-to-json-schema - Claude registered at priority 120 (TEXT only), supersedes Gemini for feedback/lessons/chat — -40% cost, better French - ANTHROPIC_API_KEY added to API and worker env validation Stripe: - apps/api/src/routes/stripe.ts: POST /v1/stripe/webhook handles checkout.session.completed, subscription.updated/deleted, invoice.payment_failed/succeeded - Schema: stripeCustomerId + stripeSubscriptionId added to Organization - tenant.ts: 402 gate for isHardStopped orgs (x-api-key calls always pass) - ClientsManagementView: SUSPENDU badge on hard-stopped orgs - STRIPE_SECRET_KEY + STRIPE_WEBHOOK_SECRET added to config Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>4a0c3ba
-
chore: stabilization, audit fixes and project synchronization
CognxSafeTrack7b0c22b
-
fix: downgrade @fastify/view to v8 to match Fastify 4.x
CognxSafeTrack055daca -
fix: downgrade fastify and plugins to v4.x to resolve deployment mismatch on Hugging Face
CognxSafeTrackac131b5 -
feat: centralize AI logic in @repo /ai-sdk, harmonize worker HTTP clients
CognxSafeTrack +1: Claude Sonnet 4.6Architecture refactoring: - Extract all AI providers (OpenAI, Gemini, ProviderRegistry, ffmpeg, search) from apps/api/src/services/ai/ into new packages/ai-sdk package - API's services/ai/index.ts is now a thin wrapper that injects prisma, redis and organization context into the shared AIService - Worker gains @repo/ai-sdk dependency; ai-pedagogy.ts delegates to aiService.generatePersonalizedLesson instead of duplicating logic - New apiClient (Axios, 30s timeout) and whatsappClient replace bare fetch calls in InboundHandler and MediaHandler for consistent error handling - Prisma seed fixed: Tracks now include organizationId for multi-tenant compliance Build: all 8 packages pass pnpm turbo run build from clean state. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>2849f33
-
feat: push notifications, CRM analytics, Fastify v5 upgrades, schema updates
CognxSafeTrack +1: Claude Sonnet 4.6- Add web push notification service and admin endpoints - Add CRM analytics component and conversational dashboard - Extend Contacts page with campaign management - Update AI and whatsapp routes (Fastify v5 compat, webhook fixes) - Extend Prisma schema with new models and indexes - Add CRM campaign prompt template Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b43e552
-
fix: resolve TS errors for CRM import and update dependencies
CognxSafeTrack15f7569 -
chore: update api package.json and lockfile
CognxSafeTrack1321c7d -
chore: synchronize latest API routes and lockfile changes to GitHub
CognxSafeTrackce5b580 -
feat: implement Phase 4 (Quota management, centralized logging, and env sync)
CognxSafeTrackaec4d7f -
fix: use pnpm exec tsx for monorepo module resolution
CognxSafeTrackd85101e -
fix: use node instead of tsx for production runtime
CognxSafeTrack26b7538
-
feat: migrate to multi-tenant SaaS architecture with JWT auth and BullMQ notifications
CognxSafeTrack2ab1980
-
feat: Premium Onboarding with Meta SDK and Technical Debt resolution
CognxSafeTrack6248bf4
-
fix: use tsx for API start script to ensure module resolution in production
CognxSafeTrack400f5b2
-
Chore: Added AI regression test framework and enhanced Mock provider
CognxSafeTrackd95a6d7 -
Refactor: Isolated AI prompts into @repo /prompts package for better maintainability
CognxSafeTrackb8ae83d -
Fix: Add Garbage Collector (GC) for media and temp files
CognxSafeTrackf4e46e8 -
Refactor: Technical Debt Repayment (Clean Dashboard, Strict Typing, Pino Logging, SQL Migration)
CognxSafeTrackde6a95b
-
feat: Implement Multi-AI Architecture with Google Gemini provider and failover logic
CognxSafeTrackf41372b
-
chore: execute Sprint 38 technical debt resolution (Type Safety, Zod validation, Vitest, Mock LLM extracted)
CognxSafeTrackd9879cf -
feat: Genspark-Standard upgrade, MLOps audit fixes, and XAMLÉ branding
CognxSafeTrackeac938a -
chore(api): add fast-levenshtein for Whisper WER calibration benchmark
CognxSafeTrackb6de1ea
-
feat(pedagogy): implementation of dynamic content infrastructure and evaluation criteria
CognxSafeTrackca816a7
-
fix: replace native fetch with axios to fix Node 20 ipv6 DNS ENOTFOUND in Docker
CognxSafeTrack3cee00b -
feat: admin auth login, real WhatsApp Cloud API, Cloudflare R2 storage
CognxSafeTrack0349430 -
feat(security): API key auth, HMAC webhook verification, rate limiting, Zod validation
CognxSafeTrack04b12d1
-
chore(build): use tsc --build to bust docker cache for new healthcheck
CognxSafeTrackb1c5720 -
fix(redis): utilize ioredis and REDIS_URL for robust authenticated connections
CognxSafeTrack25374b3 -
feat(payment): integrate stripe checkout, webhooks, and worker dispatch
CognxSafeTrackb5f6b08 -
feat: implement AI document generation (mock, pdf, pptx) and worker integration
CognxSafeTrack2d7440e -
fix: resolve TS compilation errors in api service
CognxSafeTrack7d1fb38
-
Initial commit: Monorepo setup with React+Vite, Fastify, Prisma, and Docker Compose
CognxSafeTrackcc442ef