@iblai/mcp 1.3.3 → 1.4.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"component-info.js","sourceRoot":"","sources":["../../src/tools/component-info.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,4EAA4E;IACzF,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mFAAmF;aACtF;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,CAAC;KAC5B;CACF,CAAC;AAEF,MAAM,UAAU,GAA2B;IACzC,+EAA+E;IAC/E,iCAAiC;IACjC,+EAA+E;IAE/E,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA4BkE;IAE1E,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;0EA0BkE;IAExE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAyCkE;IAE1E,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;2EAoBkE;IAEzE,KAAK,EAAE;;;;;;;;;;;;;2EAakE;IAEzE,QAAQ,EAAE;;;;;;;;;;;;;;;8EAekE;IAE5E,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA8BkE;IAE1E,QAAQ,EAAE;;;;;;;;;;;;;;;;8EAgBkE;IAE5E,UAAU,EAAE;;;;;;;;;;;;;;;;;;iFAkBmE;IAE/E,MAAM,EAAE;;;;;;;;;;;;;;;;4EAgBkE;IAE1E,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;0EAoBkE;IAExE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;4EAyBkE;IAE1E,KAAK,EAAE;;;;;;;;;;;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AAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM;EACzF,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;;wBAEjD,cAAc,CAAC,MAAM;EAC3C,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;AAC9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hook-info.d.ts","sourceRoot":"","sources":["../../src/tools/hook-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAcxB,CAAC;AAg0EF,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAuIpD"}
1
+ {"version":3,"file":"hook-info.d.ts","sourceRoot":"","sources":["../../src/tools/hook-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAcxB,CAAC;AAu+EF,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAwIpD"}
@@ -272,6 +272,50 @@ const {
272
272
  - \`handleSubscribeUserTrigger()\` - Initiates subscription renewal
273
273
 
274
274
  **File Location**: \`packages/web-utils/src/hooks/subscription/use-subscription-handler.ts\``,
275
+ useStripeUpgrade: `# useStripeUpgrade Hook
276
+
277
+ Resolves the Stripe Pricing Page session for a tenant and exposes ready-to-redirect checkout URLs for the \`free\` and \`premium\` plans. Used by the \`CreditBalance\` dropdown ("Upgrade Plan" button) and \`UpgradePackageModal\` ("Upgrade for free" CTA) to start the upgrade flow.
278
+
279
+ \`\`\`typescript
280
+ import { useStripeUpgrade } from '@iblai/iblai-js/web-utils';
281
+
282
+ interface UseStripeUpgradeArgs {
283
+ redirectUrl: string; // success_url passed to Stripe
284
+ sourcePlatformKey: string; // current tenant key
285
+ mainPlatformKey: string; // main IBL platform key
286
+ currentUserEmail: string; // prefills locked_prefilled_email on the checkout URL
287
+ }
288
+
289
+ type StripeUpgradePlan = 'free' | 'premium';
290
+
291
+ const {
292
+ isLoading,
293
+ freeUrl, // resolved checkout URL for the free plan (after handleUpgrade)
294
+ premiumUrl, // resolved checkout URL for the premium plan (after handleUpgrade)
295
+ handleUpgrade, // (redirectPlan?: 'free' | 'premium') => Promise<void>
296
+ } = useStripeUpgrade({
297
+ redirectUrl,
298
+ sourcePlatformKey,
299
+ mainPlatformKey,
300
+ currentUserEmail,
301
+ });
302
+
303
+ // Trigger an immediate redirect into the premium checkout
304
+ await handleUpgrade('premium');
305
+
306
+ // Or resolve URLs without redirecting (useful when rendering plan-specific buttons)
307
+ await handleUpgrade();
308
+ \`\`\`
309
+
310
+ **Behavior:**
311
+ - Calls \`useLazyGetStripePricingPageSessionQuery\` (data-layer) with \`platform_key=mainPlatformKey\` and \`source_platform_key=sourcePlatformKey\`.
312
+ - Parses the returned \`payment_link_url\` (a JSON string of \`{ free?, premium? }\`) and appends \`locked_prefilled_email\` + \`client_reference_id\` to each link.
313
+ - If \`redirectPlan\` is provided and the matching link resolved, sets \`window.location.href\` to that URL.
314
+ - \`isLoading\` is \`true\` while the lazy query is in-flight.
315
+
316
+ **Related:** \`UpgradePackageModal\`, \`CreditBalance\`, \`useLazyGetStripePricingPageSessionQuery\`, \`useSubscriptionHandler\`.
317
+
318
+ **File Location**: \`packages/web-utils/src/hooks/stripe/use-stripe-upgrade.ts\``,
275
319
  // ============================================================================
276
320
  // TENANT HOOKS
277
321
  // ============================================================================
@@ -2236,6 +2280,124 @@ const { isOpen, setIsOpen, courseMentor, setCourseMentor } = useChatState();
2236
2280
  \`\`\`
2237
2281
 
2238
2282
  **File Location**: \`packages/web-containers/src/components/course-content/hooks/use-chat-state.ts\``,
2283
+ useAgentSearch: `# useAgentSearch Hook
2284
+
2285
+ Core agent search hook — thin wrapper around \`useGetAiSearchMentorsQuery\` from \`@iblai/data-layer\`. Low-level building block for building custom explore / pick-a-mentor UIs. For a higher-level hook with built-in search state, debounce and pagination controls, use \`useAgentSearchWithPagination\`.
2286
+
2287
+ \`\`\`typescript
2288
+ import { useAgentSearch } from '@iblai/iblai-js/web-containers/next';
2289
+ import type {
2290
+ UseAgentSearchConfig,
2291
+ UseAgentSearchResult,
2292
+ AgentSearchResult,
2293
+ } from '@iblai/iblai-js/web-containers/next';
2294
+
2295
+ const {
2296
+ agents, // AgentSearchResult[]
2297
+ facets, // Record<string, MentorFacet> | undefined
2298
+ hasMore, // boolean
2299
+ totalCount, // number
2300
+ totalPages, // number
2301
+ isLoading,
2302
+ isFetching,
2303
+ refetch, // Force a refetch
2304
+ } = useAgentSearch({
2305
+ tenantKey,
2306
+ query, // optional search string
2307
+ limit: 6,
2308
+ offset: 0,
2309
+ starred: true, // optional
2310
+ featured: true, // optional
2311
+ category, subjects, llm, types,
2312
+ includeMainPublicMentors: true,
2313
+ // orderDirection: 'asc' | 'desc'
2314
+ skip: false,
2315
+ });
2316
+ \`\`\`
2317
+
2318
+ **File Location**: \`packages/web-containers/src/hooks/agent-search/use-agent-search.ts\``,
2319
+ useAgentSearchWithPagination: `# useAgentSearchWithPagination Hook
2320
+
2321
+ Higher-level wrapper around \`useAgentSearch\` that owns the search input value, debounce, and pagination controls (traditional page numbers or "load more"). Use this for simple list/table views (MyMentorsModal, SettingsModal); for the full explore page with sections use \`useAgentSearch\` directly inside \`AgentSearch\`.
2322
+
2323
+ \`\`\`typescript
2324
+ import { useAgentSearchWithPagination } from '@iblai/iblai-js/web-containers/next';
2325
+ import type {
2326
+ UseAgentSearchWithPaginationConfig,
2327
+ UseAgentSearchWithPaginationResult,
2328
+ } from '@iblai/iblai-js/web-containers/next';
2329
+
2330
+ const {
2331
+ agents, totalCount, isLoading, isFetching,
2332
+ searchQuery, setSearchQuery, // raw input value
2333
+ debouncedQuery, // debounced value actually queried
2334
+ currentPage, totalPages, handlePageChange, // 'paginated' mode
2335
+ loadMore, // 'infinite' mode
2336
+ } = useAgentSearchWithPagination({
2337
+ tenantKey,
2338
+ itemsPerPage: 6, // default 6
2339
+ // paginationMode: 'paginated' | 'infinite'
2340
+ debounceMs: 500, // default 500
2341
+ starred: true, // + all UseAgentSearchConfig filters
2342
+ });
2343
+ \`\`\`
2344
+
2345
+ **File Location**: \`packages/web-containers/src/hooks/agent-search/use-agent-search-with-pagination.ts\``,
2346
+ useAgentStar: `# useAgentStar Hook
2347
+
2348
+ Encapsulates the star/unstar mutation pair (\`useStarMentorMutation\` + \`useUnstarMentorMutation\`), tracks the in-flight agent id, and routes unauthenticated users to a host-provided handler. Shared by any UI that renders agent cards with a favorite toggle (\`AgentCard variant="with-star"\`, \`AgentSearch\`, starred section, etc.).
2349
+
2350
+ \`\`\`typescript
2351
+ import { useAgentStar } from '@iblai/iblai-js/web-containers/next';
2352
+ import type {
2353
+ UseAgentStarConfig,
2354
+ UseAgentStarResult,
2355
+ } from '@iblai/iblai-js/web-containers/next';
2356
+
2357
+ const { toggleFavorite, togglingAgentId } = useAgentStar({
2358
+ tenantKey,
2359
+ username, // null triggers onUnauthenticatedAction
2360
+ onUnauthenticatedAction: () => redirectToAuthSpa(),
2361
+ });
2362
+
2363
+ <StarButton
2364
+ isStarred={agent.starred}
2365
+ isToggling={togglingAgentId === String(agent.id)}
2366
+ onClick={(e) => toggleFavorite(agent, e)}
2367
+ />
2368
+ \`\`\`
2369
+
2370
+ **File Location**: \`packages/web-containers/src/hooks/agent-search/use-agent-star.ts\``,
2371
+ useAgentSettings: `# useAgentSettings Hook
2372
+
2373
+ Reads the shared agent-editing identity and config (tenantKey, mentorId, username, enableRBAC, rbacPermissions, executeGatedAction, visibilityOptions) from the nearest \`<AgentSettingsProvider>\`. Every Edit Mentor Modal tab (\`SettingsTab\`, \`LLMTab\`, \`ToolsTab\`, \`MemoryTab\`, \`SafetyTab\`, \`ApiTab\`, \`HistoryTab\`, \`DatasetsTab\`, \`PromptsTab\`, \`EmbedTab\`, \`DisclaimersTab\`, \`AccessTab\`) reads from this context instead of accepting those as direct props. Throws if called outside a provider.
2374
+
2375
+ \`\`\`typescript
2376
+ import {
2377
+ AgentSettingsProvider,
2378
+ useAgentSettings,
2379
+ } from '@iblai/iblai-js/web-containers/next';
2380
+ import type { AgentSettingsContextValue } from '@iblai/iblai-js/web-containers/next';
2381
+
2382
+ <AgentSettingsProvider
2383
+ tenantKey={tenantKey}
2384
+ mentorId={mentorId}
2385
+ username={username}
2386
+ enableRBAC={enableRBAC}
2387
+ rbacPermissions={rbacPermissions}
2388
+ executeGatedAction={executeWithTrialCheck}
2389
+ visibilityOptions={visibilityOptions}
2390
+ >
2391
+ <SettingsTab {...} />
2392
+ <LLMTab {...} />
2393
+ </AgentSettingsProvider>
2394
+
2395
+ // Inside any tab:
2396
+ const { tenantKey, mentorId, username, enableRBAC, executeGatedAction } =
2397
+ useAgentSettings();
2398
+ \`\`\`
2399
+
2400
+ **File Location**: \`packages/web-containers/src/components/modals/edit-mentor-modal/agent-settings-context.tsx\``,
2239
2401
  };
2240
2402
  export function getHookInfo(hookName) {
2241
2403
  const info = hooks[hookName];
@@ -2251,6 +2413,7 @@ export function getHookInfo(hookName) {
2251
2413
  - useProfileImageUpload - Profile image upload
2252
2414
  - useTenantMetadata - Tenant configuration
2253
2415
  - useSubscriptionHandler - Subscription management
2416
+ - useStripeUpgrade - Resolve Stripe Pricing Page session and redirect to free/premium checkout
2254
2417
  - useTimeTracker - Time tracking for analytics
2255
2418
  - useDayJs - Date/time utilities
2256
2419
 
@@ -1 +1 @@
1
- {"version":3,"file":"hook-info.js","sourceRoot":"","sources":["../../src/tools/hook-info.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,sDAAsD;IACnE,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,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;;;;;;;;;mGAkCoF;IAEjG,YAAY,EAAE;;;;;;;;;;;;;;;qGAeqF;IAEnG,cAAc,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0FAmCwE;IAExF,4BAA4B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;0GA0B0E;IAExG,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;wFAwBwE;IAEtF,gBAAgB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kHA6B8F;CACjH,CAAC;AAEF,MAAM,UAAU,WAAW,CAAC,QAAgB;IAC1C,MAAM,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC7B,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,SAAS,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAiIuB,CAAC;IAClD,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"playwright-helper-info.d.ts","sourceRoot":"","sources":["../../src/tools/playwright-helper-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;CAepC,CAAC;AA+hCF,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAiBlE"}
1
+ {"version":3,"file":"playwright-helper-info.d.ts","sourceRoot":"","sources":["../../src/tools/playwright-helper-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;CAepC,CAAC;AA28CF,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAiBlE"}
@@ -986,6 +986,401 @@ async function verifyMemoryNotExists(page: Page, content: string): Promise<void>
986
986
  Assert that a memory with the given content text is NOT visible in the memories list. Useful for verifying delete operations.
987
987
 
988
988
  **Related:** \`verifyMemoryExists\`, \`deleteMemoryByContent\``,
989
+ // ============================================================================
990
+ // CREDIT BALANCE HELPERS (Navbar dropdown — paywall trigger + plan-aware UI)
991
+ // ============================================================================
992
+ getCurrentTenantShowPaywall: `# getCurrentTenantShowPaywall
993
+
994
+ \`\`\`typescript
995
+ import { getCurrentTenantShowPaywall } from '@iblai/iblai-js/playwright';
996
+
997
+ async function getCurrentTenantShowPaywall(page: Page): Promise<boolean>
998
+ \`\`\`
999
+
1000
+ Reads the \`current_tenant\` entry from \`localStorage\` and returns its \`show_paywall\` boolean flag. Returns \`false\` when the entry is missing, malformed, or the flag is unset. Use this to decide whether the \`CreditBalance\` trigger is expected to render.
1001
+
1002
+ **Related:** \`expectCreditBalanceVisibilityForTenant\``,
1003
+ creditBalanceTrigger: `# creditBalanceTrigger
1004
+
1005
+ \`\`\`typescript
1006
+ import { creditBalanceTrigger } from '@iblai/iblai-js/playwright';
1007
+
1008
+ function creditBalanceTrigger(page: Page): Locator
1009
+ \`\`\`
1010
+
1011
+ Locator for the credit-balance trigger button in the navbar (\`data-testid="credit-balance-trigger"\`).
1012
+
1013
+ **Related:** \`creditBalancePanel\`, \`openCreditBalanceDropdown\``,
1014
+ creditBalancePanel: `# creditBalancePanel
1015
+
1016
+ \`\`\`typescript
1017
+ import { creditBalancePanel } from '@iblai/iblai-js/playwright';
1018
+
1019
+ function creditBalancePanel(page: Page): Locator
1020
+ \`\`\`
1021
+
1022
+ Locator for the credit-balance dropdown panel rendered in a Radix portal (\`data-testid="credit-balance-panel"\`).
1023
+
1024
+ **Related:** \`creditBalancePlanBadge\`, \`openCreditBalanceDropdown\``,
1025
+ creditBalancePlanBadge: `# creditBalancePlanBadge
1026
+
1027
+ \`\`\`typescript
1028
+ import { creditBalancePlanBadge } from '@iblai/iblai-js/playwright';
1029
+
1030
+ function creditBalancePlanBadge(page: Page): Locator
1031
+ \`\`\`
1032
+
1033
+ Locator for the plan badge (\`Free\` / \`Trial\` / \`Premium\`) inside the open credit-balance panel (\`data-testid="credit-balance-plan-badge"\`).
1034
+
1035
+ **Related:** \`getCreditBalancePlanLabel\``,
1036
+ expectCreditBalanceVisibilityForTenant: `# expectCreditBalanceVisibilityForTenant
1037
+
1038
+ \`\`\`typescript
1039
+ import { expectCreditBalanceVisibilityForTenant } from '@iblai/iblai-js/playwright';
1040
+
1041
+ async function expectCreditBalanceVisibilityForTenant(
1042
+ page: Page,
1043
+ ): Promise<{ shouldBeVisible: boolean }>
1044
+ \`\`\`
1045
+
1046
+ Asserts the credit-balance trigger is visible iff the current tenant has \`show_paywall=true\`. Returns the resolved expectation so callers can branch.
1047
+
1048
+ **Related:** \`getCurrentTenantShowPaywall\``,
1049
+ openCreditBalanceDropdown: `# openCreditBalanceDropdown
1050
+
1051
+ \`\`\`typescript
1052
+ import { openCreditBalanceDropdown } from '@iblai/iblai-js/playwright';
1053
+
1054
+ async function openCreditBalanceDropdown(page: Page): Promise<Locator>
1055
+ \`\`\`
1056
+
1057
+ Opens the credit-balance dropdown if not already open, waits for the panel to be visible, and waits for the initial "Loading credits..." placeholder to clear. Idempotent — safe to call when the panel is already up. Returns the panel locator.
1058
+
1059
+ **Related:** \`closeCreditBalanceDropdown\`, \`waitForCreditBalanceLoaded\``,
1060
+ waitForCreditBalanceLoaded: `# waitForCreditBalanceLoaded
1061
+
1062
+ \`\`\`typescript
1063
+ import { waitForCreditBalanceLoaded } from '@iblai/iblai-js/playwright';
1064
+
1065
+ async function waitForCreditBalanceLoaded(page: Page): Promise<void>
1066
+ \`\`\`
1067
+
1068
+ Waits for the "Loading credits..." placeholder to disappear from the open panel. Resolves on success (real content rendered) or error ("Unable to load credit balance.") — both states replace the loading row.
1069
+
1070
+ **Related:** \`openCreditBalanceDropdown\``,
1071
+ closeCreditBalanceDropdown: `# closeCreditBalanceDropdown
1072
+
1073
+ \`\`\`typescript
1074
+ import { closeCreditBalanceDropdown } from '@iblai/iblai-js/playwright';
1075
+
1076
+ async function closeCreditBalanceDropdown(page: Page): Promise<void>
1077
+ \`\`\`
1078
+
1079
+ Closes the credit-balance dropdown via the Escape key and waits for the panel to detach.
1080
+
1081
+ **Related:** \`openCreditBalanceDropdown\``,
1082
+ getCreditBalancePlanLabel: `# getCreditBalancePlanLabel
1083
+
1084
+ \`\`\`typescript
1085
+ import { getCreditBalancePlanLabel } from '@iblai/iblai-js/playwright';
1086
+
1087
+ type CreditBalancePlan = 'Free' | 'Trial' | 'Premium';
1088
+
1089
+ async function getCreditBalancePlanLabel(page: Page): Promise<CreditBalancePlan | null>
1090
+ \`\`\`
1091
+
1092
+ Reads the plan label text from the open panel. Returns \`null\` when the badge is not rendered (e.g. billing data still loading or errored).
1093
+
1094
+ **Related:** \`expectCreditBalanceForCurrentPlan\``,
1095
+ getCreditBalanceRemaining: `# getCreditBalanceRemaining
1096
+
1097
+ \`\`\`typescript
1098
+ import { getCreditBalanceRemaining } from '@iblai/iblai-js/playwright';
1099
+
1100
+ async function getCreditBalanceRemaining(page: Page): Promise<number | null>
1101
+ \`\`\`
1102
+
1103
+ Reads the "Remaining" credits value from the open panel ("X,XXX Credits") and returns it as a number. Returns \`null\` when the row is not rendered or unparseable.
1104
+
1105
+ **Related:** \`openCreditBalanceDropdown\``,
1106
+ expectCreditBalancePanelForFreePlan: `# expectCreditBalancePanelForFreePlan
1107
+
1108
+ \`\`\`typescript
1109
+ import { expectCreditBalancePanelForFreePlan } from '@iblai/iblai-js/playwright';
1110
+
1111
+ async function expectCreditBalancePanelForFreePlan(page: Page): Promise<void>
1112
+ \`\`\`
1113
+
1114
+ Asserts the Free plan UI inside the credit-balance dropdown: plan badge reads \`Free\`, only "Upgrade Plan" is visible, no Manage Usage / Add Credits / Manage Billing buttons, and no Auto Recharge section.
1115
+
1116
+ **Related:** \`expectCreditBalancePanelForTrialPlan\`, \`expectCreditBalancePanelForPremiumPlan\``,
1117
+ expectCreditBalancePanelForTrialPlan: `# expectCreditBalancePanelForTrialPlan
1118
+
1119
+ \`\`\`typescript
1120
+ import { expectCreditBalancePanelForTrialPlan } from '@iblai/iblai-js/playwright';
1121
+
1122
+ async function expectCreditBalancePanelForTrialPlan(page: Page): Promise<void>
1123
+ \`\`\`
1124
+
1125
+ Asserts the Trial plan UI inside the credit-balance dropdown: plan badge reads \`Trial\`, only "Upgrade Plan" is visible, no Manage Usage / Add Credits / Manage Billing buttons.
1126
+
1127
+ **Related:** \`expectCreditBalancePanelForFreePlan\`, \`expectCreditBalancePanelForPremiumPlan\``,
1128
+ expectCreditBalancePanelForPremiumPlan: `# expectCreditBalancePanelForPremiumPlan
1129
+
1130
+ \`\`\`typescript
1131
+ import { expectCreditBalancePanelForPremiumPlan } from '@iblai/iblai-js/playwright';
1132
+
1133
+ async function expectCreditBalancePanelForPremiumPlan(
1134
+ page: Page,
1135
+ options: { hasPaymentMethod: boolean },
1136
+ ): Promise<void>
1137
+ \`\`\`
1138
+
1139
+ Asserts the Premium plan UI inside the credit-balance dropdown:
1140
+ - Plan badge reads \`Premium\` and the "Upgrade Plan" button must NOT appear.
1141
+ - With \`hasPaymentMethod: true\` → "Manage Usage" + "Add Credits" visible; "Manage Billing" hidden.
1142
+ - With \`hasPaymentMethod: false\` → "Manage Billing" visible; "Manage Usage" + "Add Credits" hidden.
1143
+
1144
+ **Related:** \`expectCreditBalancePanelForFreePlan\`, \`expectCreditBalancePanelForTrialPlan\``,
1145
+ expectCreditBalanceForCurrentPlan: `# expectCreditBalanceForCurrentPlan
1146
+
1147
+ \`\`\`typescript
1148
+ import { expectCreditBalanceForCurrentPlan } from '@iblai/iblai-js/playwright';
1149
+
1150
+ type CreditBalancePlan = 'Free' | 'Trial' | 'Premium';
1151
+
1152
+ async function expectCreditBalanceForCurrentPlan(
1153
+ page: Page,
1154
+ options?: { hasPaymentMethod?: boolean },
1155
+ ): Promise<CreditBalancePlan>
1156
+ \`\`\`
1157
+
1158
+ Convenience wrapper that opens the dropdown, detects the active plan from the badge, and runs the matching state assertions on the already-open panel. Returns the detected plan label.
1159
+
1160
+ For Premium plans, pass \`hasPaymentMethod\` to assert the specific sub-state. If omitted on Premium, only the "no Upgrade Plan button" check runs.
1161
+
1162
+ **Related:** \`expectCreditBalancePanelForFreePlan\`, \`expectCreditBalancePanelForTrialPlan\`, \`expectCreditBalancePanelForPremiumPlan\``,
1163
+ // ============================================================================
1164
+ // BILLING TAB HELPERS (Profile > Billing tab — plan-aware section assertions)
1165
+ // ============================================================================
1166
+ billingPlanSection: `# billingPlanSection
1167
+
1168
+ \`\`\`typescript
1169
+ import { billingPlanSection } from '@iblai/iblai-js/playwright';
1170
+
1171
+ function billingPlanSection(page: Page): Locator
1172
+ \`\`\`
1173
+
1174
+ Locator for the Plan section card on the BillingTab (\`data-testid="billing-plan-section"\`).
1175
+
1176
+ **Related:** \`getBillingPlanLabel\`, \`expectBillingPlanSection\``,
1177
+ billingCreditsSection: `# billingCreditsSection
1178
+
1179
+ \`\`\`typescript
1180
+ import { billingCreditsSection } from '@iblai/iblai-js/playwright';
1181
+
1182
+ function billingCreditsSection(page: Page): Locator
1183
+ \`\`\`
1184
+
1185
+ Locator for the Credits section card on the BillingTab (\`data-testid="billing-credits-section"\`).
1186
+
1187
+ **Related:** \`expectBillingCreditsSection\`, \`clickBillingAddCredits\`, \`clickBillingManageBilling\``,
1188
+ billingAutoRechargeSection: `# billingAutoRechargeSection
1189
+
1190
+ \`\`\`typescript
1191
+ import { billingAutoRechargeSection } from '@iblai/iblai-js/playwright';
1192
+
1193
+ function billingAutoRechargeSection(page: Page): Locator
1194
+ \`\`\`
1195
+
1196
+ Locator for the Auto Recharge section card on the BillingTab (\`data-testid="billing-auto-recharge-section"\`). This section is only rendered for non-Free plans with a payment method on file.
1197
+
1198
+ **Related:** \`getBillingAutoRechargeStatus\`, \`expectBillingAutoRechargeSection\`, \`clickBillingManageUsage\``,
1199
+ getBillingPlanLabel: `# getBillingPlanLabel
1200
+
1201
+ \`\`\`typescript
1202
+ import { getBillingPlanLabel } from '@iblai/iblai-js/playwright';
1203
+
1204
+ type CreditBalancePlan = 'Free' | 'Trial' | 'Premium';
1205
+
1206
+ async function getBillingPlanLabel(page: Page): Promise<CreditBalancePlan | null>
1207
+ \`\`\`
1208
+
1209
+ Reads the plan label text from the BillingTab Plan section (\`data-testid="billing-plan-label"\`). Returns \`null\` if the label is not rendered.
1210
+
1211
+ **Related:** \`expectBillingTabForCurrentPlan\``,
1212
+ getBillingAutoRechargeStatus: `# getBillingAutoRechargeStatus
1213
+
1214
+ \`\`\`typescript
1215
+ import { getBillingAutoRechargeStatus } from '@iblai/iblai-js/playwright';
1216
+
1217
+ type BillingAutoRechargeStatus = 'Enabled' | 'Disabled';
1218
+
1219
+ async function getBillingAutoRechargeStatus(page: Page): Promise<BillingAutoRechargeStatus | null>
1220
+ \`\`\`
1221
+
1222
+ Reads the auto-recharge status badge (\`Enabled\` / \`Disabled\`) when the section is rendered (\`data-testid="billing-auto-recharge-status"\`). Returns \`null\` if the section/badge is absent.
1223
+
1224
+ **Related:** \`expectBillingAutoRechargeSection\``,
1225
+ waitForBillingTabReady: `# waitForBillingTabReady
1226
+
1227
+ \`\`\`typescript
1228
+ import { waitForBillingTabReady } from '@iblai/iblai-js/playwright';
1229
+
1230
+ async function waitForBillingTabReady(page: Page): Promise<void>
1231
+ \`\`\`
1232
+
1233
+ Waits for the BillingTab loading skeletons to clear by waiting for the Plan section card to mount.
1234
+
1235
+ **Related:** \`expectBillingTabForCurrentPlan\``,
1236
+ expectBillingPlanSection: `# expectBillingPlanSection
1237
+
1238
+ \`\`\`typescript
1239
+ import { expectBillingPlanSection } from '@iblai/iblai-js/playwright';
1240
+
1241
+ async function expectBillingPlanSection(
1242
+ page: Page,
1243
+ options: { plan: 'Free' | 'Trial' | 'Premium' },
1244
+ ): Promise<void>
1245
+ \`\`\`
1246
+
1247
+ Asserts the Plan section state for a given plan:
1248
+ - The plan label text matches \`options.plan\`.
1249
+ - The "Current" pill is visible.
1250
+ - The "Upgrade" button is visible iff the plan is not Premium.
1251
+
1252
+ **Related:** \`clickBillingUpgrade\`, \`expectBillingTabForCurrentPlan\``,
1253
+ expectBillingCreditsSection: `# expectBillingCreditsSection
1254
+
1255
+ \`\`\`typescript
1256
+ import { expectBillingCreditsSection } from '@iblai/iblai-js/playwright';
1257
+
1258
+ async function expectBillingCreditsSection(
1259
+ page: Page,
1260
+ options: { plan: 'Free' | 'Trial' | 'Premium'; hasPaymentMethod?: boolean },
1261
+ ): Promise<void>
1262
+ \`\`\`
1263
+
1264
+ Asserts the Credits section state. Always verifies the "Available" stat row. Action-button rules mirror the component:
1265
+ - **Free** → no Add Credits / Manage Billing button.
1266
+ - **Non-Free + \`hasPaymentMethod: true\`** → "Add Credits" visible, "Manage Billing" absent.
1267
+ - **Non-Free + \`hasPaymentMethod: false\`** → "Manage Billing" visible, "Add Credits" absent.
1268
+ - **Non-Free with \`hasPaymentMethod\` omitted** → only the "Available" row is asserted.
1269
+
1270
+ **Related:** \`clickBillingAddCredits\`, \`clickBillingManageBilling\``,
1271
+ expectBillingAutoRechargeSection: `# expectBillingAutoRechargeSection
1272
+
1273
+ \`\`\`typescript
1274
+ import { expectBillingAutoRechargeSection } from '@iblai/iblai-js/playwright';
1275
+
1276
+ async function expectBillingAutoRechargeSection(
1277
+ page: Page,
1278
+ options: { expectVisible: boolean; status?: 'Enabled' | 'Disabled' },
1279
+ ): Promise<void>
1280
+ \`\`\`
1281
+
1282
+ Asserts the Auto Recharge section visibility. The section is rendered only when \`hasPaymentMethod && !isFreePlan\`. Pass \`expectVisible: false\` to assert it is absent. When visible, "Manage Usage" must be visible; if \`status\` is provided, also asserts the Enabled/Disabled badge text.
1283
+
1284
+ **Related:** \`getBillingAutoRechargeStatus\`, \`clickBillingManageUsage\``,
1285
+ expectBillingTabForFreePlan: `# expectBillingTabForFreePlan
1286
+
1287
+ \`\`\`typescript
1288
+ import { expectBillingTabForFreePlan } from '@iblai/iblai-js/playwright';
1289
+
1290
+ async function expectBillingTabForFreePlan(page: Page): Promise<void>
1291
+ \`\`\`
1292
+
1293
+ Free plan: Plan = "Free" with Upgrade visible; Credits section has no action button; Auto Recharge section is hidden entirely (regardless of \`has_payment_method\`).
1294
+
1295
+ **Related:** \`expectBillingTabForTrialPlan\`, \`expectBillingTabForPremiumPlan\``,
1296
+ expectBillingTabForTrialPlan: `# expectBillingTabForTrialPlan
1297
+
1298
+ \`\`\`typescript
1299
+ import { expectBillingTabForTrialPlan } from '@iblai/iblai-js/playwright';
1300
+
1301
+ async function expectBillingTabForTrialPlan(
1302
+ page: Page,
1303
+ options: { hasPaymentMethod: boolean },
1304
+ ): Promise<void>
1305
+ \`\`\`
1306
+
1307
+ Trial plan: Plan = "Trial" with Upgrade visible; Credits action depends on \`hasPaymentMethod\` ("Add Credits" when true, "Manage Billing" when false); Auto Recharge section is rendered iff \`hasPaymentMethod\` is true.
1308
+
1309
+ **Related:** \`expectBillingTabForFreePlan\`, \`expectBillingTabForPremiumPlan\``,
1310
+ expectBillingTabForPremiumPlan: `# expectBillingTabForPremiumPlan
1311
+
1312
+ \`\`\`typescript
1313
+ import { expectBillingTabForPremiumPlan } from '@iblai/iblai-js/playwright';
1314
+
1315
+ async function expectBillingTabForPremiumPlan(
1316
+ page: Page,
1317
+ options: { hasPaymentMethod: boolean },
1318
+ ): Promise<void>
1319
+ \`\`\`
1320
+
1321
+ Premium plan: Plan = "Premium" with Upgrade hidden; Credits action depends on \`hasPaymentMethod\` ("Add Credits" when true, "Manage Billing" when false); Auto Recharge section is rendered iff \`hasPaymentMethod\` is true.
1322
+
1323
+ **Related:** \`expectBillingTabForFreePlan\`, \`expectBillingTabForTrialPlan\``,
1324
+ expectBillingTabForCurrentPlan: `# expectBillingTabForCurrentPlan
1325
+
1326
+ \`\`\`typescript
1327
+ import { expectBillingTabForCurrentPlan } from '@iblai/iblai-js/playwright';
1328
+
1329
+ type CreditBalancePlan = 'Free' | 'Trial' | 'Premium';
1330
+
1331
+ async function expectBillingTabForCurrentPlan(
1332
+ page: Page,
1333
+ options?: { hasPaymentMethod?: boolean },
1334
+ ): Promise<CreditBalancePlan>
1335
+ \`\`\`
1336
+
1337
+ Convenience: detects the active plan from the Plan section badge and runs the matching state assertions. Returns the detected plan. For non-Free plans, pass \`hasPaymentMethod\` to assert the Credits / Auto Recharge sub-states; if omitted, only the Plan section + base "Available" row is verified.
1338
+
1339
+ **Related:** \`expectBillingTabForFreePlan\`, \`expectBillingTabForTrialPlan\`, \`expectBillingTabForPremiumPlan\``,
1340
+ clickBillingUpgrade: `# clickBillingUpgrade
1341
+
1342
+ \`\`\`typescript
1343
+ import { clickBillingUpgrade } from '@iblai/iblai-js/playwright';
1344
+
1345
+ async function clickBillingUpgrade(page: Page): Promise<void>
1346
+ \`\`\`
1347
+
1348
+ Clicks the "Upgrade" button in the BillingTab Plan section. The button is only visible on non-Premium plans.
1349
+
1350
+ **Related:** \`expectBillingPlanSection\``,
1351
+ clickBillingAddCredits: `# clickBillingAddCredits
1352
+
1353
+ \`\`\`typescript
1354
+ import { clickBillingAddCredits } from '@iblai/iblai-js/playwright';
1355
+
1356
+ async function clickBillingAddCredits(page: Page): Promise<void>
1357
+ \`\`\`
1358
+
1359
+ Clicks the "Add Credits" button in the BillingTab Credits section. Visible only on non-Free plans with a payment method on file.
1360
+
1361
+ **Related:** \`expectBillingCreditsSection\``,
1362
+ clickBillingManageBilling: `# clickBillingManageBilling
1363
+
1364
+ \`\`\`typescript
1365
+ import { clickBillingManageBilling } from '@iblai/iblai-js/playwright';
1366
+
1367
+ async function clickBillingManageBilling(page: Page): Promise<void>
1368
+ \`\`\`
1369
+
1370
+ Clicks the "Manage Billing" button in the BillingTab Credits section. Visible only on non-Free plans without a payment method.
1371
+
1372
+ **Related:** \`expectBillingCreditsSection\``,
1373
+ clickBillingManageUsage: `# clickBillingManageUsage
1374
+
1375
+ \`\`\`typescript
1376
+ import { clickBillingManageUsage } from '@iblai/iblai-js/playwright';
1377
+
1378
+ async function clickBillingManageUsage(page: Page): Promise<void>
1379
+ \`\`\`
1380
+
1381
+ Clicks the "Manage Usage" button in the BillingTab Auto Recharge section. Visible only on non-Free plans with a payment method.
1382
+
1383
+ **Related:** \`expectBillingAutoRechargeSection\``,
989
1384
  };
990
1385
  // Aliases — common alternate names
991
1386
  helpers['safe_wait_for_url'] = helpers['safeWaitForURL'];