mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-12-01 13:10:15 +08:00
Cloud Workspaces could still invite members after reaching the plan's members.max limit because Core's invitation API never consulted it. - Project members.max into the Workspace limitation as max_members, mirroring Control Plane semantics (absent or <= 0 means unlimited). - Reject invitation creation when active members plus pending invitations fill the plan, and reject acceptance when active members already fill it (e.g. after a downgrade), with member_limit_reached. - Disable the invite form in Workspace settings when the quota is full and show an upgrade-plan CTA that opens the Cloud plans dialog. Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]>