feat minor billing feat/phase-2g-bundle
AI Agent git-import/068377df · 112 days ago · Apr 6, 2026 · Diff

feat(billing): consolidation quota UI + rate limit + updated tier limits

Tier limits (billing-constants.mjs): free: 0 → plus: 30 → growth: 100 → pro/team: 300/mo

Bridge (bridge/server.mjs): - 30-minute server-side cooldown on manual consolidate calls (429 with retry_after_minutes so the UI can show a friendly countdown) - Status endpoint now returns pass_count_month and cooldown_minutes

Hub UI (hub.js, index.html): - Plan cards: each tier now lists its monthly memory consolidation count - Pack add-on cards: +50 / +150 / +350 consolidation passes per pack - Dashboard card: cost meter replaced with "X of Y consolidations used" progress bar; "Consolidate Now" shows countdown when cooling down - Preview popup: shows consolidations remaining instead of $0.00 cost - History table: Cost column removed; shows Date/Topics/Events/Status

Tests: updated billing-consolidation.test.mjs to reflect new tier values

sha256:675d0889881c735a023353c346a59074e86407054d9a38bad43f402123c24645 sha
sha256:f21ab240eb414396d025edec291b590648c2374b765ae9469116b2b9893d8fbe snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:675d0889881c735a023353c346a59074e86407054d9a38bad43f402123c24645 --body "your comment"