Files
resolutionflow/backend/requirements.txt
chihlasm 44432413c2 feat: AI-assisted flow builder with 4-stage wizard
Implements the complete AI flow builder feature using a guided 4-stage
wizard (Foundation → Scaffold → Branch Detail → Review & Assemble).
AI assists at bounded points using Claude Haiku for cost-efficient
structured JSON generation (~$0.01-0.03/flow).

Backend: new models (ai_conversations, ai_usage), Alembic migration,
quota enforcement with billing anchor, Anthropic API integration with
prompt caching, tree validation, conversation CRUD with 24h TTL,
APScheduler cleanup job, 5 API endpoints, Pydantic schemas.

Frontend: TypeScript types, API client, Zustand store for wizard state,
7 components (modal, step indicator, foundation form, branch selector,
branch detail view, tree preview, quota display), MyTreesPage integration
with "Build with AI" button (hidden when AI not configured).

Tests: 14 validator unit tests + 11 endpoint integration tests with
mocked Anthropic (zero real API spend). All 25 tests passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 08:07:08 -05:00

42 lines
623 B
Plaintext

# FastAPI and server
fastapi==0.128.5
uvicorn[standard]==0.40.0
# Database
sqlalchemy==2.0.46
asyncpg==0.31.0
psycopg2-binary==2.9.9
alembic==1.18.3
# Authentication
python-jose[cryptography]==3.5.0
passlib[bcrypt]==1.7.4
bcrypt==4.1.2
python-multipart==0.0.22
# Validation and settings
pydantic==2.12.5
pydantic-settings==2.12.0
email-validator==2.1.0
# Rate Limiting
slowapi==0.1.9
# Payments
stripe==14.3.0
# Email
resend==2.21.0
# HTTP client (seed scripts, internal API calls)
httpx>=0.27.0
# AI Flow Builder
anthropic>=0.40.0
# Utilities
python-dotenv==1.0.1
croniter>=2.0.0
pytz>=2024.1
apscheduler>=3.10.4