Skip to content

feat(coding-plans): add BytePlus Pro plan - #5033

Merged
jeanduplessis merged 1 commit into
mainfrom
proud-tarn
Aug 5, 2026
Merged

feat(coding-plans): add BytePlus Pro plan#5033
jeanduplessis merged 1 commit into
mainfrom
proud-tarn

Conversation

@jeanduplessis

Copy link
Copy Markdown
Contributor

Summary

Add BytePlus Coding Plan Pro as a $100 monthly Coding Plan and improve the provider-grouped Slack inventory summary.

Why this change is needed

BytePlus customers need a higher-capacity option for complex, high-intensity development. Admin inventory notifications also need to distinguish providers and plans clearly without repeating revocation warnings.

How this is addressed

  • Adds Coding Plan Pro at 100 Kilo Credits per 30 days with the existing BytePlus model set and published request limits.
  • Extends catalog, inventory validation, renewals, availability state, local inventory seeding, and Auto Routing to recognize the Pro plan.
  • Routes Lite and Pro through the same BytePlus default model while retaining BytePlus priority over MiniMax.
  • Groups Slack inventory by provider, formats counts as code, and consolidates revocation warnings into one final callout.
  • Updates the Coding Plans and Subscription Center specifications.

Human Verification

  • 61 focused web Coding Plan tests passed.
  • 192 Auto Routing tests passed.
  • Verified the local inventory seed help exposes the byteplus-pro option.

Reviewer Notes

Human Reviewer Flags

  • The Coding Plans and Subscription Center specifications now define Coding Plan Pro as a required BytePlus offering.
  • Coding Plan Pro reuses Lite's supported model set and Auto Routing default rather than introducing plan-specific routing.
  • The displayed request limits are catalog copy; this change does not add quota enforcement.

Code Reviewer Agent

Code Reviewer Notes
  • Stable plan ID: byteplus-coding-plan-team-pro.
  • Price is stored as 100_000_000 microdollars with a 30-day billing period.
  • Provider-level live-subscription exclusivity continues to prevent simultaneous Lite and Pro subscriptions.
  • The branch was rebased onto current origin/main; the earlier duplicate dependency-remediation commit was dropped.

@kilo-code-bot

kilo-code-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Executive Summary

BytePlus Coding Plan Pro is added through the existing catalog-driven, provider-generic architecture (pricing catalog, provider-level exclusivity, renewals, validation, usage, seeding, and Auto Routing all resolve the new plan automatically), the Slack inventory regrouping is consistently tested, and specs were updated coherently with no broken cross-references.

Files Reviewed (12 files)
  • .specs/coding-plans.md
  • .specs/subscription-center.md
  • apps/web/src/lib/coding-plans/billing-lifecycle-cron.test.ts
  • apps/web/src/lib/coding-plans/index.test.ts
  • apps/web/src/lib/coding-plans/inventory-slack-summary.test.ts
  • apps/web/src/lib/coding-plans/inventory-slack-summary.ts
  • apps/web/src/lib/coding-plans/inventory-validation.test.ts
  • apps/web/src/lib/coding-plans/pricing.ts
  • apps/web/src/routers/coding-plans-router.test.ts
  • dev/seed/coding-plans/available-credentials.ts
  • services/auto-routing/src/coding-plan-preference.ts
  • services/auto-routing/src/index.test.ts

Reviewed by kimi-k3 · Input: 81.1K · Output: 13.6K · Cached: 908.3K

Review guidance: REVIEW.md from base branch main

@jeanduplessis
jeanduplessis merged commit 561ebf0 into main Aug 5, 2026
22 checks passed
@jeanduplessis
jeanduplessis deleted the proud-tarn branch August 5, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants