@bcrumbs.net/inbox 0.0.64 → 0.0.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/assets/ar/inbox.json +37 -6
  2. package/assets/en/inbox.json +37 -6
  3. package/e2e/checkout/checkout.flows.d.ts +6 -0
  4. package/e2e/support/auth.d.ts +7 -3
  5. package/index.cjs.js +38427 -1199
  6. package/index.esm.js +38430 -1202
  7. package/package.json +1 -1
  8. package/src/app/ai/components/Crumby/CrumbyChatError.d.ts +9 -0
  9. package/src/app/ai/components/Crumby/CrumbyChatErrorBoundary.d.ts +13 -0
  10. package/src/app/ai/components/Crumby/CrumbyHeader.d.ts +9 -0
  11. package/src/app/ai/components/Crumby/CrumbyPageContext.d.ts +22 -0
  12. package/src/app/ai/components/Crumby/CrumbyRuntimeProvider.d.ts +9 -0
  13. package/src/app/ai/components/CrumbySettings/CrumbyEditsBanner.d.ts +14 -0
  14. package/src/app/ai/components/CrumbySettings/VoiceSettingsSection.d.ts +9 -0
  15. package/src/app/ai/components/playground/Button.d.ts +1 -1
  16. package/src/app/ai/components/playground/TooltipIconButton.d.ts +1 -1
  17. package/src/app/ai/components/sources/mediaTypeForFile.d.ts +8 -0
  18. package/src/app/ai/config/promptSettings.d.ts +31 -0
  19. package/src/app/ai/hooks/usePromptCopilot.d.ts +22 -0
  20. package/src/app/ai/tools/PromptEditorTool.d.ts +2 -0
  21. package/src/app/ai/types/index.d.ts +1 -1
  22. package/src/app/ai/utils/clientToolResubmit.d.ts +8 -0
  23. package/src/app/ai/utils/crumbyChatFetch.d.ts +15 -0
  24. package/src/app/auth/components/password-page/AuthPasswordPageLayout.d.ts +3 -1
  25. package/src/app/auth/components/password-page/PasswordSuccessView.d.ts +2 -1
  26. package/src/app/auth/config/authProvider.d.ts +20 -2
  27. package/src/app/auth/config/clerkAppearance.d.ts +51 -52
  28. package/src/app/auth/pages/Login.d.ts +1 -1
  29. package/src/app/auth/pages/Register.d.ts +1 -0
  30. package/src/app/billing/pages/GatewayWelcomePage.d.ts +4 -1
  31. package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +2 -1
  32. package/src/app/broadcast/components/BroadcastDetailsSection.d.ts +3 -1
  33. package/src/app/dashboard/components/AgentCard.d.ts +2 -1
  34. package/src/app/dashboard/components/AgentsCard.d.ts +4 -2
  35. package/src/app/dashboard/components/BroadcastDashboard.d.ts +3 -1
  36. package/src/app/dashboard/components/ChatsByLifeCycleCard.d.ts +13 -0
  37. package/src/app/dashboard/components/DashboardFilters.d.ts +27 -0
  38. package/src/app/dashboard/components/DashboardPdfCaptureArea.d.ts +11 -0
  39. package/src/app/dashboard/components/DashboardPdfExportButton.d.ts +7 -0
  40. package/src/app/dashboard/components/DashboardPdfHeader.d.ts +11 -0
  41. package/src/app/dashboard/components/DashboardSections.d.ts +7 -2
  42. package/src/app/dashboard/components/InboxDashboard.d.ts +3 -1
  43. package/src/app/dashboard/hooks/useDashboardPdfMeta.d.ts +31 -0
  44. package/src/app/dashboard/hooks/useDashboardTabsPdfExport.d.ts +26 -0
  45. package/src/app/dashboard/utils/dashboardReportExports.d.ts +16 -1
  46. package/src/app/dashboard/utils/exportDashboardPdf.d.ts +19 -0
  47. package/src/app/dashboard/utils/lifecycleStages.d.ts +53 -0
  48. package/src/app/dashboard/utils/reportHelpers.d.ts +9 -0
  49. package/src/app/gatewayHome/components/ChecklistStep.d.ts +15 -0
  50. package/src/app/gatewayHome/components/CreditBalanceCard.d.ts +6 -0
  51. package/src/app/gatewayHome/components/MessageStats.d.ts +5 -0
  52. package/src/app/gatewayHome/components/SetupChecklist.d.ts +11 -0
  53. package/src/app/gatewayHome/components/console/QuickstartConsole.d.ts +11 -0
  54. package/src/app/gatewayHome/components/console/RunRequestBar.d.ts +15 -0
  55. package/src/app/gatewayHome/components/console/consoleStyles.d.ts +77 -0
  56. package/src/app/gatewayHome/components/steps/ApiKeyStepBody.d.ts +8 -0
  57. package/src/app/gatewayHome/components/steps/ChannelStepBody.d.ts +3 -0
  58. package/src/app/gatewayHome/components/steps/MetaStepBody.d.ts +6 -0
  59. package/src/app/gatewayHome/components/steps/WebhookStepBody.d.ts +7 -0
  60. package/src/app/gatewayHome/components/styles.d.ts +29 -0
  61. package/src/app/gatewayHome/config/constants.d.ts +22 -0
  62. package/src/app/gatewayHome/hooks/useGatewaySetup.d.ts +59 -0
  63. package/src/app/gatewayHome/hooks/useMessageStats.d.ts +17 -0
  64. package/src/app/gatewayHome/hooks/useQuickstartRequest.d.ts +31 -0
  65. package/src/app/gatewayHome/hooks/useSendableTemplates.d.ts +9 -0
  66. package/src/app/gatewayHome/pages/GatewayHomePage.d.ts +1 -0
  67. package/src/app/gatewayHome/types/index.d.ts +21 -0
  68. package/src/app/gatewayHome/utils/buildRequestBody.d.ts +7 -0
  69. package/src/app/gatewayHome/utils/buildSnippet.d.ts +9 -0
  70. package/src/app/gatewayHome/utils/sendTestMessage.d.ts +3 -0
  71. package/src/app/gatewayHome/utils/setupStorage.d.ts +8 -0
  72. package/src/app/gatewayHome/utils/templateHasParameters.d.ts +6 -0
  73. package/src/app/generic/components/HeaderImageInput.d.ts +3 -1
  74. package/src/app/generic/components/MessagePreview.d.ts +1 -1
  75. package/src/app/generic/components/PreviewHeaderDocument.d.ts +5 -0
  76. package/src/app/generic/utils/chunkErrorRecovery.d.ts +7 -0
  77. package/src/app/generic/utils/onesignal.d.ts +13 -0
  78. package/src/app/inbox/calls/useIncomingCallAlerts.d.ts +2 -0
  79. package/src/app/inbox/components/Calls/ActiveCallControls.d.ts +6 -0
  80. package/src/app/inbox/components/Calls/IncomingCallBanner.d.ts +6 -0
  81. package/src/app/inbox/components/Chat/QuickReplyEmpty.d.ts +5 -0
  82. package/src/app/inbox/components/Chat/QuickReplyPickerMenu.d.ts +2 -2
  83. package/src/app/inbox/components/NewDetails/ClientSection.d.ts +3 -1
  84. package/src/app/inbox/components/NewDetails/SuggestedAssignee.d.ts +7 -0
  85. package/src/app/inbox/components/NewDetails/SuggestedStage.d.ts +13 -0
  86. package/src/app/inbox/components/NewDetails/SuggestedTags.d.ts +18 -0
  87. package/src/app/inbox/components/NewDetails/SuggestionItems.d.ts +16 -0
  88. package/src/app/inbox/constants/index.d.ts +1 -0
  89. package/src/app/inbox/context/CallSession.d.ts +16 -0
  90. package/src/app/inbox/context/SuggestionsContext.d.ts +25 -0
  91. package/src/app/inbox/hooks/useAgentSuggestions.d.ts +20 -0
  92. package/src/app/inbox/hooks/useApplySuggestion.d.ts +18 -0
  93. package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +30 -0
  94. package/src/app/inbox/hooks/useIncomingCallAlerts.d.ts +2 -0
  95. package/src/app/inbox/hooks/useNewSortedEvents.d.ts +1 -1
  96. package/src/app/inbox/hooks/useQuickReplyPicker.d.ts +5 -3
  97. package/src/app/inbox/pages/InboxPage.d.ts +1 -1
  98. package/src/app/inbox/utils/callUi.d.ts +25 -0
  99. package/src/app/inbox/utils/convSuggestions.d.ts +59 -0
  100. package/src/app/inbox/utils/convSuggestionsStorage.d.ts +20 -0
  101. package/src/app/inbox/utils/sounds.d.ts +2 -0
  102. package/src/app/layout/hooks/useCallsEnabled.d.ts +1 -0
  103. package/src/app/layout/hooks/useGatewayPlanEnabled.d.ts +5 -0
  104. package/src/app/layout/hooks/useWebchatEnabled.d.ts +5 -0
  105. package/src/app/managemnet/components/QuickRepliesListEmpty.d.ts +5 -0
  106. package/src/app/managemnet/components/channels/ChannelItem.d.ts +2 -1
  107. package/src/app/managemnet/components/channels/ChannelSettingsDrawer.d.ts +15 -0
  108. package/src/app/managemnet/components/channels/ShareChannelLinkDialog.d.ts +11 -0
  109. package/src/app/managemnet/components/channels/WebChatSnippetBlock.d.ts +7 -0
  110. package/src/app/managemnet/config/webchat.d.ts +5 -0
  111. package/src/app/managemnet/pages/connectChannel/ConnectChannel.d.ts +2 -0
  112. package/src/app/managemnet/pages/generalSettings/NoiseFilterSettings.d.ts +8 -0
  113. package/src/app/managemnet/pages/generalSettings/noiseFilterConstants.d.ts +24 -0
  114. package/src/app/managemnet/utils/webChatSnippet.d.ts +2 -0
  115. package/src/app/onboarding/components/OnboardingView.d.ts +3 -1
  116. package/src/app/onboarding/components/useOnboardingChecklist.d.ts +12 -9
  117. package/src/app/onboarding/constants/workspaceProfileOptions.d.ts +30 -0
  118. package/src/app/onboarding/utils/onboardingApi.d.ts +23 -0
  119. package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +42 -49
  120. package/src/app/resources/components/Integrations/ChannelDialogLayout.d.ts +6 -1
  121. package/src/app/resources/components/Integrations/RenderCorrectIntegrationFlow.d.ts +3 -1
  122. package/src/app/resources/components/Integrations/WebChat/index.d.ts +8 -0
  123. package/src/app/resources/components/Integrations/WhatsApp/index.d.ts +1 -0
  124. package/src/app/resources/hooks/useFBPagesHook.d.ts +4 -2
  125. package/src/app/resources/hooks/useWabaHook.d.ts +5 -4
  126. package/src/app/resources/utils/channelSetupTracking.d.ts +21 -0
  127. package/src/app/resources/utils/facebookSdk.d.ts +11 -0
  128. package/src/app/subscriptions/components/NewSubscription/OnboardingStepper.d.ts +2 -2
  129. package/src/app/subscriptions/components/NewSubscription/SubscriptionName.d.ts +2 -0
  130. package/src/app/subscriptions/components/NewSubscription/WorkspaceProfile.d.ts +18 -0
  131. package/src/app/subscriptions/components/NewSubscription/WorkspaceStepLayout.d.ts +5 -2
  132. package/src/app/subscriptions/hooks/useWorkspaceProfileSubmit.d.ts +12 -0
  133. package/src/app/subscriptions/utils/newWorkspaceContext.d.ts +8 -0
  134. package/src/assets/locales/translations.d.ts +321 -20
  135. package/src/config/constants.d.ts +1 -2
  136. package/src/graphql.autogenerated.d.ts +1907 -117
  137. package/src/testUtils/bcUiMock.d.ts +16 -0
  138. package/src/utils/colorPool.d.ts +1 -2
  139. package/src/utils/getActiveChannelList.d.ts +6 -1
  140. package/src/utils/globalHelper.d.ts +22 -0
  141. package/src/app/billing/pages/GuidePage.d.ts +0 -1
  142. package/src/app/contact/components/ImportProgressDialog.d.ts +0 -14
  143. package/src/app/managemnet/components/channels/EditChannelDialog.d.ts +0 -11
  144. package/src/app/onboarding/utils/onboardingChecklistPersistence.d.ts +0 -18
@@ -13,7 +13,8 @@
13
13
  "phone": "الهاتف",
14
14
  "email": "البريد الالكتروني",
15
15
  "noConversations": "لا يوجد محادثة مختارة.",
16
- "noConversationsSubtext": "انقر على الزر أدناه لبدء محادثة مع عميل.",
16
+ "noConversationsSubtext": "أرسل رسالة إلى قناتك لتظهر في صندوق الوارد.",
17
+ "noConversationsWhatsAppHint": "يمكنك أيضاً بدء محادثة من هنا عبر قناة واتساب فقط.",
17
18
  "tags": "علامات",
18
19
  "startedAt": "تاريخ البداية",
19
20
  "startedJustNow": "بدأ للتو",
@@ -94,11 +95,12 @@
94
95
  "contactActions": "إجراءات الزبون",
95
96
  "editContact": "تعديل الزبون",
96
97
  "noChats": {
97
- "startConversation": "إبدأ محادثة",
98
+ "startConversation": "ابدأ محادثة واتساب",
98
99
  "noChannels": "لا توجد قنوات بعد.",
99
100
  "noChannelsSubtext": "اربط قناة مراسلة مثل واتساب لاستقبال وإرسال المحادثات. أنشئ قناة أدناه للبدء.",
100
101
  "noConversations": "لا يوجد محادثات مختارة.",
101
- "noConversationsSubtext": "انقر على الزر أدناه لبدء محادثة مع عميل.",
102
+ "noConversationsSubtext": "أرسل رسالة إلى قناتك لتظهر في صندوق الوارد.",
103
+ "noConversationsWhatsAppHint": "يمكنك أيضاً بدء محادثة من هنا عبر قناة واتساب فقط.",
102
104
  "createChannel": "إنشاء قناة",
103
105
  "selectToStart": "اختر محادثة للبدء"
104
106
  },
@@ -110,7 +112,10 @@
110
112
  "inProgress": "قيد التنفيذ",
111
113
  "scheduled": "مجدول"
112
114
  },
113
- "startConversation": "إبدأ محادثة مع عميل",
115
+ "startConversation": "ابدأ محادثة واتساب",
116
+ "startConversationDescription": "بدء المحادثة متاح لقنوات واتساب فقط. اختر جهة اتصال أو رقم هاتف ثم قالباً معتمداً للرسالة.",
117
+ "createMetaTemplates": "إنشاء قوالب الرسائل في Meta",
118
+ "refreshTemplates": "تحديث القوالب",
114
119
  "startCovBtn": "إبدأ المحادثة",
115
120
  "messageTemplate": "قالب الرسالة",
116
121
  "pickIntegration": "قناة",
@@ -177,6 +182,13 @@
177
182
  "sourceUrl": "رابط المصدر",
178
183
  "broadcastName": "برودكاست",
179
184
  "assignedTo": "موكل ل",
185
+ "sentiment": "المشاعر",
186
+ "sentimentEmpty": "غير محدد",
187
+ "noiseFilterApplied": "مرشح الضوضاء · {{mode}} · {{tag}}",
188
+ "noiseFilterSkipped": "مرشح الضوضاء · تم التخطي",
189
+ "noiseFilterError": "مرشح الضوضاء · فشل",
190
+ "noiseFilterModeFirst": "الرسالة الأولى",
191
+ "noiseFilterModeFull": "تصنيف كامل",
180
192
  "refNumber": "رقم المرجع",
181
193
  "conversationOverview": "معلومات المحادثة",
182
194
  "clientInfo": {
@@ -211,10 +223,22 @@
211
223
  "enhance": "تحسين",
212
224
  "loading": "جاري التحميل...",
213
225
  "aiSummary": "ملخص AI",
226
+ "suggestedTags": "وسوم مقترحة",
227
+ "suggestedLifeCycle": "دورة حياة مقترحة",
228
+ "suggestedAssignee": "المسؤول المقترح",
229
+ "suggestionAssigneeReason_one": "تولّى محادثة سابقة واحدة مع جهة الاتصال هذه",
230
+ "suggestionAssigneeReason_other": "تولّى {{count}} من المحادثات السابقة مع جهة الاتصال هذه",
231
+ "suggestionDismiss": "تجاهل",
232
+ "suggestionConfidence": "ثقة {{value}}%",
233
+ "suggestionApplyFailed": "تعذر تطبيق الاقتراح.",
214
234
  "noSummaryAvailable": "لا يوجد ملخص متاح",
215
235
  "addNoteHere": "اضف ملاحظة",
216
236
  "quickReplyPicker": {
217
- "empty": "لا توجد ردود سريعة مطابقة"
237
+ "noCommands": "لا توجد أوامر بعد!",
238
+ "noCommandsDescription": "إنشاء أوامر مائلة (Slash Commands) لمساعدة الوكلاء على تنفيذ إجراءات الذكاء الاصطناعي بشكل أسرع أثناء الدردشة مع العملاء",
239
+ "noCommandsFiltered": "لا توجد ردود سريعة مطابقة",
240
+ "noCommandsDescriptionFiltered": " لم نعثر على أوامر تطابق بحثك. جرّب كلمة بحث مختلفة أو أنشئ أمرًا جديدًا",
241
+ "createNew": "إنشاء جديد"
218
242
  },
219
243
  "failedToSendNote": "تعذر اضافة الملاحظة",
220
244
  "replyToMessage": "الرد على {{name}}",
@@ -241,7 +265,14 @@
241
265
  "channelsFilter": "القنوات",
242
266
  "tagsFilter": "علامات المحادثة",
243
267
  "noResultsFound": "لا توجد نتائج",
244
- "noResultsFoundSubtitle": "لم نتمكن من العثور على أي محادثات تطابق بحثك. جرّب تغيير الكلمات أو مسح الفلاتر."
268
+ "noResultsFoundSubtitle": "لم نتمكن من العثور على أي محادثات تطابق بحثك. جرّب تغيير الكلمات أو مسح الفلاتر.",
269
+ "incomingCall": "مكالمة صوتية واردة",
270
+ "answerCall": "رد",
271
+ "declineCall": "رفض",
272
+ "hangUp": "إنهاء",
273
+ "mute": "كتم",
274
+ "unmute": "إلغاء الكتم",
275
+ "micDenied": "يلزم السماح بالميكروفون للانضمام إلى المكالمة"
245
276
  },
246
277
  "id": "المعرف",
247
278
  "save": "حفظ",
@@ -13,7 +13,8 @@
13
13
  "phone": "Phone",
14
14
  "email": "Email",
15
15
  "noConversations": "No conversations yet.",
16
- "noConversationsSubtext": "Click the button below to start a conversation with a contact.",
16
+ "noConversationsSubtext": "Send a message to your channel to see it in your inbox.",
17
+ "noConversationsWhatsAppHint": "You can also start a conversation from here with a WhatsApp channel only.",
17
18
  "tags": "Tags",
18
19
  "startedAt": "Started at",
19
20
  "startedJustNow": "Started just now",
@@ -95,11 +96,12 @@
95
96
  "contactActions": "Contact actions",
96
97
  "editContact": "Edit contact",
97
98
  "noChats": {
98
- "startConversation": "Start a conversation",
99
+ "startConversation": "Start a WhatsApp conversation",
99
100
  "noChannels": "No channels yet.",
100
101
  "noChannelsSubtext": "Connect a messaging channel like WhatsApp to receive and send conversations. Create a channel below to get started.",
101
102
  "noConversations": "No conversations yet.",
102
- "noConversationsSubtext": "Click the button below to start a conversation with a contact.",
103
+ "noConversationsSubtext": "Send a message to your channel to see it in your inbox.",
104
+ "noConversationsWhatsAppHint": "You can also start a conversation from here with a WhatsApp channel only.",
103
105
  "createChannel": "Create Channel",
104
106
  "selectToStart": "Select a conversation to get started"
105
107
  },
@@ -111,7 +113,10 @@
111
113
  "inProgress": "In Progress",
112
114
  "scheduled": "Scheduled"
113
115
  },
114
- "startConversation": "Start a conversation with a contact",
116
+ "startConversation": "Start a WhatsApp conversation",
117
+ "startConversationDescription": "Only WhatsApp channels support starting a conversation. Select a contact or phone number and an approved message template.",
118
+ "createMetaTemplates": "Create message templates in Meta",
119
+ "refreshTemplates": "Refresh templates",
115
120
  "startCovBtn": "Start",
116
121
  "messageTemplate": "Message Template",
117
122
  "pickIntegration": "Channel",
@@ -178,6 +183,13 @@
178
183
  "sourceUrl": "Source URL",
179
184
  "broadcastName": "Broadcast",
180
185
  "assignedTo": "Assigned To",
186
+ "sentiment": "Sentiment",
187
+ "sentimentEmpty": "Not set",
188
+ "noiseFilterApplied": "Noise filter · {{mode}} · {{tag}}",
189
+ "noiseFilterSkipped": "Noise filter · skipped",
190
+ "noiseFilterError": "Noise filter · failed",
191
+ "noiseFilterModeFirst": "first message",
192
+ "noiseFilterModeFull": "full classify",
181
193
  "refNumber": "Ref Number",
182
194
  "conversationOverview": "Conversation Overview",
183
195
  "clientInfo": {
@@ -212,10 +224,22 @@
212
224
  "enhance": "Enhance",
213
225
  "loading": "Loading...",
214
226
  "aiSummary": "AI Summary",
227
+ "suggestedTags": "Suggested tags",
228
+ "suggestedLifeCycle": "Suggested life cycle",
229
+ "suggestedAssignee": "Suggested assignee",
230
+ "suggestionAssigneeReason_one": "Handled {{count}} of this contact's previous conversations",
231
+ "suggestionAssigneeReason_other": "Handled {{count}} of this contact's previous conversations",
232
+ "suggestionDismiss": "Dismiss",
233
+ "suggestionConfidence": "{{value}}% confident",
234
+ "suggestionApplyFailed": "Couldn't apply the suggestion.",
215
235
  "noSummaryAvailable": "No summary available",
216
236
  "addNoteHere": "Add your note",
217
237
  "quickReplyPicker": {
218
- "empty": "No matching quick replies"
238
+ "noCommands": "No Commands Yet!",
239
+ "noCommandsDescription": "Create slash commands to help agents perform AI actions faster while chatting with customers",
240
+ "noCommandsFiltered": "No Matching Quick Replies",
241
+ "noCommandsDescriptionFiltered": "No commands match your search. Try a different keyword or create a new command",
242
+ "createNew": "Create New"
219
243
  },
220
244
  "failedToSendNote": "failed to add the note",
221
245
  "replyToMessage": "Reply to {{name}}",
@@ -242,7 +266,14 @@
242
266
  "channelsFilter": "Channels",
243
267
  "tagsFilter": "Chat Tags",
244
268
  "noResultsFound": "No Results Found",
245
- "noResultsFoundSubtitle": "We couldn't find any chats matching your search. Try changing the keywords or clearing filters."
269
+ "noResultsFoundSubtitle": "We couldn't find any chats matching your search. Try changing the keywords or clearing filters.",
270
+ "incomingCall": "Incoming voice call",
271
+ "answerCall": "Answer",
272
+ "declineCall": "Decline",
273
+ "hangUp": "Hang up",
274
+ "mute": "Mute",
275
+ "unmute": "Unmute",
276
+ "micDenied": "Microphone access is required to join the call"
246
277
  },
247
278
  "id": "ID",
248
279
  "save": "Save",
@@ -12,6 +12,12 @@ export declare function enterFromLandingFree(page: Page): Promise<void>;
12
12
  * never a stale value carried over in storage — so teardown can never target a pre-existing workspace.
13
13
  */
14
14
  export declare function createWorkspace(page: Page, name: string): Promise<WorkspaceCleanupTarget>;
15
+ /**
16
+ * Skip the optional workspace-profile questionnaire shown right after the workspace is created.
17
+ * Its answers never gate checkout, so the suite skips it to reach the plans step (where both the
18
+ * manual Free click and the pending `free` plan from the landing deep link are handled).
19
+ */
20
+ export declare function skipWorkspaceProfile(page: Page): Promise<void>;
15
21
  /** Click the Free plan's "Choose" button. */
16
22
  export declare function chooseFreePlan(page: Page): Promise<void>;
17
23
  /** Assert the onboarding guide is shown, opening the Crumby panel if it didn't auto-open. */
@@ -5,9 +5,13 @@ export type TestUser = {
5
5
  password: string;
6
6
  };
7
7
  /**
8
- * Force the legacy (email/password) auth provider via the runtime override the app reads first
9
- * (`window._env_.AUTH_PROVIDER`), so the E2E drives the legacy login form instead of Clerk and the
10
- * whole flow keeps using the `localStorage.token` session. Must run before the first navigation.
8
+ * Force the legacy (email/password) auth provider so the E2E drives the legacy login form instead of
9
+ * Clerk and the whole flow keeps using the `localStorage.token` session. Must run before the first navigation.
10
+ *
11
+ * Two overrides are needed because the app resolves the provider differently per build:
12
+ * - `window._env_.AUTH_PROVIDER` — honored by local / PostHog-disabled builds.
13
+ * - `window.__FEATURE_FLAG_clerk_enabled__` — the explicit override that wins over the PostHog
14
+ * `clerk_enabled` flag on deployed (PostHog-enabled) builds, where AUTH_PROVIDER is ignored.
11
15
  */
12
16
  export declare function forceLegacyAuth(page: Page): Promise<void>;
13
17
  /** Log in through the UI and wait until the session token is stored. */