Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/src/components/usage-banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const UsageBanner = ({ showTime }: { showTime: number }) => {

{!activeSubscription && renewalDate && (
<>
<text style={{ fg: theme.muted }}>· Renews:</text>
<text style={{ fg: theme.muted }}>· Cycle:</text>
<text style={{ fg: theme.foreground }}>{renewalDate}</text>
</>
)}
Expand Down
8 changes: 6 additions & 2 deletions common/src/constants/limits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ export const MAX_DATE = new Date(86399999999999)
export const BILLING_PERIOD_DAYS = 30
export const SESSION_MAX_AGE_SECONDS = 30 * 24 * 60 * 60 // 30 days
export const SESSION_TIME_WINDOW_MS = 30 * 60 * 1000 // 30 minutes - used for matching sessions created around fingerprint creation
// Default number of free credits granted per cycle
export const DEFAULT_FREE_CREDITS_GRANT = 500
// New Codebuff accounts receive a one-time free credit grant on signup.
export const SIGNUP_FREE_CREDITS_GRANT = 500

// New accounts do not receive monthly free credits; grandfathered monthly grants
// are based on previous expiring free grants instead of this default.
export const DEFAULT_FREE_CREDITS_GRANT = 0

// Credit pricing configuration
export const CREDIT_PRICING = {
Expand Down
Loading
Loading