diff --git a/apps/web/src/lib/notifications.ts b/apps/web/src/lib/notifications.ts index f889971f5..8eab2ca83 100644 --- a/apps/web/src/lib/notifications.ts +++ b/apps/web/src/lib/notifications.ts @@ -117,6 +117,7 @@ export async function generateUserNotifications(user: User): Promise { + if (!(await hasUserEverPaid(user.id))) { + return []; + } + + return [ + { + id: 'kilo-pass-promo-may-29', + title: 'Get more from every dollar with Kilo Pass', + message: 'A monthly AI token subscription with up to 50% bonus credits included.', + action: { + actionText: 'Explore Kilo Pass', + actionURL: 'https://kilo.ai/pricing/kilo-pass', + }, + showIn: ['cli', 'extension'], + expiresAt: '2026-06-30T08:00:00Z', + }, + ]; +} + async function generateKiloPassNotification( user: User, ctx: NotificationContext