Repository navigation
Refactor Product Tiers: Unlock Universal Free Cloud Sync & Heavy API/Agent Rate Limiting Monetization - #386
Conversation
…imiting - Remove assertPaidActor paywall blocks from cloud storage and sync methods in lib/api/resources.ts - Implement TIER_RATE_LIMITS (Free: 60 RPM / 1k tools, Pro: 600 RPM / 50k tools, Teams: 3,000 RPM / 500k tools) - Add X-RateLimit-Tier header and 429 upgrade link in API guard - Enforce 1 custom workspace limit for Free tier in workspace creation - Enforce 1 active Agent Token limit for Free tier in PAT service and CreatePatDrawer - Update BillingDrawer and PricingDrawer matrices for Free, Pro, and Teams tiers Co-authored-by: nathfavour <[email protected]>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Refactored Kylrix's pricing and tier enforcement architecture:
assertPaidActorgates on notes, goals, flows, vault secrets, TOTP secrets, events, forms, and cloud sync inlib/api/resources.ts.TIER_RATE_LIMITSacross Free (60 req/min, 1,000 daily tools), Pro (600 req/min, 50,000 daily tools), and Teams (3,000 req/min, 500,000 daily tools) withX-RateLimit-Tierheaders and upgrade prompt in 429 responses.BillingDrawer.tsx,PricingDrawer.tsx,pricing-plans.ts, andpricing-plans-client.ts.PR created automatically by Jules for task 5700742039134619008 started by @nathfavour