@iblai/iblai-js 2.4.3 → 2.4.5

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.
@@ -579,8 +579,9 @@ declare function switchToSkillsTab(page: Page): Promise<void>;
579
579
  */
580
580
  declare function verifySkillsTabVisible(page: Page): Promise<void>;
581
581
  /**
582
- * Switch to the "Agent Skills" sub-tab (the agent's own skills, with enable
583
- * toggles; the default sub-tab) and wait for its panel to render.
582
+ * Switch to the "Agent Skills" sub-tab (the agent's assigned skills with
583
+ * enable toggles, paged server-side 10 per page; the default sub-tab) and
584
+ * wait for its panel to render.
584
585
  */
585
586
  declare function switchToAgentSkillsSubTab(page: Page): Promise<void>;
586
587
  /**
@@ -618,13 +619,15 @@ declare function verifySkillVisible(page: Page, skillName: string): Promise<void
618
619
  */
619
620
  declare function addSkillToAgent(page: Page, skillName: string): Promise<void>;
620
621
  /**
621
- * Verify a catalog row shows the "Added" chip (already on the agent, or
622
- * shadowed by a same-slug private skill) and offers no Add button.
622
+ * Verify a catalog row shows the "Added" chip (the skill is assigned to the
623
+ * agent) and offers no Add button.
623
624
  */
624
625
  declare function verifySkillAdded(page: Page, skillName: string): Promise<void>;
625
626
  /**
626
- * Open the three-dots actions menu for a skill row. The menu content portals
627
- * to document.body, so the returned locator is page-level by design.
627
+ * Open the three-dots actions menu for a skill row on the active sub-tab.
628
+ * Agent-tab rows offer "Remove from Agent" only; catalog rows offer
629
+ * Edit/Delete (for editable skills). The menu content portals to
630
+ * document.body, so the returned locator is page-level by design.
628
631
  */
629
632
  declare function openSkillActionsMenu(page: Page, skillName: string): Promise<Locator>;
630
633
  /**
@@ -652,6 +655,13 @@ declare function disableSkill(page: Page, skillName: string): Promise<void>;
652
655
  * Returns the new checked state.
653
656
  */
654
657
  declare function toggleSkill(page: Page, skillName: string): Promise<boolean>;
658
+ /**
659
+ * Set a skill's platform-wide enabled flag via its "Available Skills"
660
+ * catalog row Switch (skill-level PATCH — the agent-tab switches PATCH the
661
+ * assignment instead). No-op when already in the requested state; waits for
662
+ * the success toast otherwise. Read-only featured rows have no switch.
663
+ */
664
+ declare function setCatalogSkillEnabled(page: Page, skillName: string, enabled: boolean): Promise<void>;
655
665
  interface SkillFormValues {
656
666
  name: string;
657
667
  slug: string;
@@ -673,17 +683,20 @@ declare function openNewSkillDialog(page: Page): Promise<Locator>;
673
683
  */
674
684
  declare function createSkill(page: Page, values: SkillFormValues): Promise<void>;
675
685
  /**
676
- * Open the Edit Skill dialog for a row (lands on the General sub-tab).
686
+ * Open the Edit Skill dialog for a catalog row (lands on the General
687
+ * sub-tab). Skill edit/delete actions live on the "Available Skills"
688
+ * sub-tab — switch there first (`switchToAvailableSkillsSubTab`).
677
689
  * Returns the dialog locator — resolve fields and sub-tabs from it.
678
690
  */
679
691
  declare function openEditSkillDialog(page: Page, skillName: string): Promise<Locator>;
680
692
  /**
681
- * Edit an existing platform-level skill (General sub-tab fields).
693
+ * Edit an existing platform-level skill (General sub-tab fields) from its
694
+ * catalog row — switch to the "Available Skills" sub-tab first.
682
695
  */
683
696
  declare function editSkill(page: Page, skillName: string, updates: Partial<SkillFormValues>): Promise<void>;
684
697
  /**
685
- * Delete a platform-level skill via its row menu, confirming the
686
- * "Delete Skill" dialog.
698
+ * Delete a platform-level skill via its catalog row menu (switch to the
699
+ * "Available Skills" sub-tab first), confirming the "Delete Skill" dialog.
687
700
  */
688
701
  declare function deleteSkill(page: Page, skillName: string): Promise<void>;
689
702
  /**
@@ -1658,6 +1671,281 @@ declare function clickBillingManageBilling(page: Page): Promise<void>;
1658
1671
  /** Clicks the Manage Usage button in the Auto Recharge section. */
1659
1672
  declare function clickBillingManageUsage(page: Page): Promise<void>;
1660
1673
 
1674
+ /**
1675
+ * Spend limits ("Billing") helpers — Playwright bindings for the LLM
1676
+ * spend-cap admin UI from `@iblai/web-containers`:
1677
+ *
1678
+ * - the **agent settings Billing tab** (`AgentSpendCapsTab`) with its
1679
+ * "This Agent" / "Per User" sub-tabs, the per-user table with a
1680
+ * three-dots row menu, and the add/edit user-limit modal (email-based
1681
+ * user picker), and
1682
+ * - the **tenant settings Billing tab** with its "Plan & Credits" /
1683
+ * "Spend Limits" tabs and the workspace-wide limit section
1684
+ * (`SpendLimitsSection` inside `BillingTab`).
1685
+ *
1686
+ * Selector policy (flakiness-proof by construction):
1687
+ * - Dialog-first scoping: every modal is resolved into a Locator variable
1688
+ * first (`user-cap-modal`, the delete dialogs, the edit-agent dialog, the
1689
+ * Agent Limits manage popup) and all sub-elements are queried from that
1690
+ * variable — never a bare page-wide match that could hit same-named
1691
+ * elements in nested portals.
1692
+ * - Nested dialogs: the tenant Agent Limits tab opens the agent Billing
1693
+ * editor in a popup *on top of* the tenant settings dialog, so several
1694
+ * dialogs with tablists can be open at once. Every agent-scope helper
1695
+ * accepts an optional `scope` Locator (the host dialog) for that case;
1696
+ * `openAgentLimitsManage` returns the popup Locator to pass as `scope`.
1697
+ * - Stable hooks only: `data-testid`, role + accessible name (aria-labels).
1698
+ * No CSS class or structural selectors.
1699
+ * - No `waitForTimeout` / `networkidle`. Progress is gated on UI state that
1700
+ * only exists after the awaited transition: a section testid rendering, a
1701
+ * modal closing after its mutation resolves, a table row
1702
+ * appearing/disappearing after the list refetch, a success toast.
1703
+ */
1704
+ declare const SPEND_LIMITS_LABELS: {
1705
+ /** Agent-settings modal tab name (host registries label it "Billing"). */
1706
+ readonly tabName: "Billing";
1707
+ readonly subTabs: {
1708
+ readonly agent: "This Agent";
1709
+ readonly users: "Per User";
1710
+ };
1711
+ readonly tenantTabs: {
1712
+ readonly planAndCredits: "Plan & Credits";
1713
+ readonly spendLimits: "Spend Limits";
1714
+ readonly agentLimits: "Agent Limits";
1715
+ };
1716
+ /** aria-label of the tenant Billing tab's tablist. */
1717
+ readonly tenantTablistAria: "Billing sections";
1718
+ readonly addUserLimitButton: "Add User Limit";
1719
+ readonly menu: {
1720
+ /**
1721
+ * aria-label template for a table row's three-dots trigger. Takes the
1722
+ * DISPLAYED name — the user's email when the API provides one, username
1723
+ * only as fallback. Helpers locate the trigger by its username-keyed
1724
+ * testid instead (`user-cap-actions-<username>`), which is immune to
1725
+ * that distinction; prefer the testid in new code.
1726
+ */
1727
+ readonly actionsAria: (displayName: string) => string;
1728
+ readonly edit: "Edit";
1729
+ readonly delete: "Delete";
1730
+ };
1731
+ readonly toasts: {
1732
+ readonly saved: "Spend limit saved";
1733
+ readonly deleted: "Spend limit deleted";
1734
+ };
1735
+ readonly intervalOptions: {
1736
+ readonly day: "Day";
1737
+ readonly week: "Week";
1738
+ readonly month: "Month";
1739
+ readonly year: "Year";
1740
+ };
1741
+ readonly enforcementOptions: {
1742
+ readonly block: "Block Requests";
1743
+ readonly alert_only: "Alert Only";
1744
+ };
1745
+ };
1746
+ type SpendLimitSubTab = keyof typeof SPEND_LIMITS_LABELS.subTabs;
1747
+ type SpendLimitInterval = keyof typeof SPEND_LIMITS_LABELS.intervalOptions;
1748
+ type SpendLimitEnforcement = keyof typeof SPEND_LIMITS_LABELS.enforcementOptions;
1749
+ interface SpendLimitInput {
1750
+ /** Limit in USD, e.g. 250 or '250.00'. */
1751
+ limitUsd?: number | string;
1752
+ interval?: SpendLimitInterval;
1753
+ enforcement?: SpendLimitEnforcement;
1754
+ /** Comma-separated percentages, e.g. '80, 95'. Empty string clears them. */
1755
+ alertThresholds?: string;
1756
+ enabled?: boolean;
1757
+ }
1758
+ interface UserSpendLimitInput extends SpendLimitInput {
1759
+ /** Email typed into the picker and clicked in the results (email-only UI). */
1760
+ email: string;
1761
+ /** Username the backend keys the cap by — used for the table-row gate. */
1762
+ username: string;
1763
+ }
1764
+ /**
1765
+ * The agent Billing tab's body. `scope` is the dialog hosting the editor
1766
+ * (e.g. the Locator returned by `openAgentLimitsManage`); defaults to the
1767
+ * topmost settings dialog.
1768
+ */
1769
+ declare function spendLimitsTabBody(page: Page, scope?: Locator): Locator;
1770
+ /** A per-user table row for the given username. */
1771
+ declare function userSpendLimitRow(page: Page, username: string, scope?: Locator): Locator;
1772
+ /**
1773
+ * Returns false if the Billing tab isn't currently rendered in the
1774
+ * edit-agent dialog (host didn't register it, or RBAC hid it).
1775
+ */
1776
+ declare function isSpendLimitsTabVisible(page: Page): Promise<boolean>;
1777
+ /**
1778
+ * Switch to the Billing top-level tab of the edit-agent dialog. Completion
1779
+ * is gated on the tab body's testid, not on timing.
1780
+ */
1781
+ declare function switchToSpendLimitsTab(page: Page): Promise<void>;
1782
+ /**
1783
+ * Switch between the Billing tab's two sub-tabs. Completion is gated on the
1784
+ * sub-tab's content rendering: the agent limit form (or its loading/denied
1785
+ * states) for "agent", the per-user section (or its spinner) for "users".
1786
+ * `scope` is the dialog hosting the editor (see `spendLimitsTabBody`).
1787
+ */
1788
+ declare function switchToSpendLimitsSubTab(page: Page, subTab: SpendLimitSubTab, scope?: Locator): Promise<void>;
1789
+ /**
1790
+ * Create or update the agent-scoped spend limit (switches to the "This
1791
+ * agent" sub-tab first). Completion is gated on the saved toast and the
1792
+ * usage strip rendering (it only exists once a cap is persisted).
1793
+ */
1794
+ declare function setAgentSpendLimit(page: Page, values: SpendLimitInput, scope?: Locator): Promise<void>;
1795
+ /**
1796
+ * Delete the agent-scoped spend limit via the form's Delete button →
1797
+ * confirmation dialog. Completion is gated on the dialog closing, the
1798
+ * deleted toast, and the form returning to create mode (no-cap hint).
1799
+ */
1800
+ declare function deleteAgentSpendLimit(page: Page, scope?: Locator): Promise<void>;
1801
+ /**
1802
+ * Add a per-user spend limit through the modal (switches to the "Per User"
1803
+ * sub-tab first): opens the modal, searches the user by email, clicks the
1804
+ * email in the results (the picker is email-only by design), fills the
1805
+ * form, saves. Completion is gated on the modal closing and the user's
1806
+ * table row rendering after the list refetch.
1807
+ */
1808
+ declare function addUserSpendLimit(page: Page, values: UserSpendLimitInput, scope?: Locator): Promise<void>;
1809
+ /**
1810
+ * Edit an existing per-user limit via its row's three-dots menu → Edit
1811
+ * modal. Completion is gated on the modal closing after the upsert.
1812
+ */
1813
+ declare function editUserSpendLimit(page: Page, username: string, values: SpendLimitInput, scope?: Locator): Promise<void>;
1814
+ /**
1815
+ * Idempotently flip a per-user limit's Status toggle (the switch in the
1816
+ * table's Status column — datasets-table pattern, saves immediately).
1817
+ * Completion is gated on the saved toast and the switch reflecting the new
1818
+ * state after the row refetch.
1819
+ */
1820
+ declare function setUserSpendLimitEnabled(page: Page, username: string, enabled: boolean, scope?: Locator): Promise<void>;
1821
+ /**
1822
+ * Delete a per-user limit via its row's three-dots menu → confirmation
1823
+ * dialog. Completion is gated on the dialog closing, the deleted toast and
1824
+ * the row disappearing after the list refetch.
1825
+ */
1826
+ declare function deleteUserSpendLimit(page: Page, username: string, scope?: Locator): Promise<void>;
1827
+ /** The workspace spend limit section card in the tenant Billing tab. */
1828
+ declare function workspaceSpendLimitSection(page: Page): Locator;
1829
+ /**
1830
+ * Switch the tenant Billing tab to "Spend Limits". Assumes the tenant
1831
+ * settings Billing tab is already open (see `waitForBillingTabReady`).
1832
+ * Completion is gated on the workspace section rendering.
1833
+ */
1834
+ declare function switchToWorkspaceSpendLimits(page: Page): Promise<void>;
1835
+ /**
1836
+ * Switch the tenant Billing tab back to "Plan & Credits". Completion is
1837
+ * gated on the Plan section rendering.
1838
+ */
1839
+ declare function switchToPlanAndCredits(page: Page): Promise<void>;
1840
+ /**
1841
+ * Create or update the workspace-wide spend limit (switches to the Spend
1842
+ * Limits tab first). Completion is gated on the saved toast and the
1843
+ * usage strip rendering (it only exists once a cap is persisted).
1844
+ */
1845
+ declare function setWorkspaceSpendLimit(page: Page, values: SpendLimitInput): Promise<void>;
1846
+ /**
1847
+ * Delete the workspace-wide spend limit. Completion is gated on the dialog
1848
+ * closing, the deleted toast, and the usage strip disappearing.
1849
+ */
1850
+ declare function deleteWorkspaceSpendLimit(page: Page): Promise<void>;
1851
+ /**
1852
+ * Assert the workspace usage strip (the same one the agent editor shows) is
1853
+ * visible, optionally matching formatted dollar values like '$30.50' inside
1854
+ * its "Spent: …" / "Remaining: …" texts.
1855
+ */
1856
+ declare function expectWorkspaceSpendStats(page: Page, values?: {
1857
+ spent?: string;
1858
+ remaining?: string;
1859
+ }): Promise<void>;
1860
+ /**
1861
+ * Assert the "actual spend" stats (financial analytics) shown while no
1862
+ * workspace cap is configured yet.
1863
+ */
1864
+ declare function expectWorkspaceActualSpendStats(page: Page): Promise<void>;
1865
+ /** The Agent Limits section card in the tenant Billing tab. */
1866
+ declare function agentLimitsSection(page: Page): Locator;
1867
+ /** An Agent Limits table row for the given agent unique_id. */
1868
+ declare function agentLimitsRow(page: Page, mentorUniqueId: string): Locator;
1869
+ /**
1870
+ * Switch the tenant Billing tab to "Agent Limits". Assumes the tenant
1871
+ * Billing tab is already open. Completion is gated on the section rendering.
1872
+ */
1873
+ declare function switchToAgentLimits(page: Page): Promise<void>;
1874
+ /**
1875
+ * Filter the Agent Limits table to one agent via the autocomplete: types the
1876
+ * name, clicks the matching option, and gates on the selected chip.
1877
+ */
1878
+ declare function filterAgentLimits(page: Page, agentName: string): Promise<void>;
1879
+ /** Clear the Agent Limits autocomplete filter (back to the full caps list). */
1880
+ declare function clearAgentLimitsFilter(page: Page): Promise<void>;
1881
+ /**
1882
+ * Open the manage popup for a capped agent's row and return the popup's
1883
+ * Locator. The popup hosts the same `AgentSpendCapsTab` editor as the
1884
+ * agent's own settings and stacks ON TOP of the tenant settings dialog, so
1885
+ * pass the returned Locator as the `scope` argument of the agent-scope
1886
+ * helpers (`setAgentSpendLimit`, `addUserSpendLimit`, …) — that pins every
1887
+ * query to the popup instead of the dialog underneath.
1888
+ */
1889
+ declare function openAgentLimitsManage(page: Page, mentorUniqueId: string): Promise<Locator>;
1890
+ /**
1891
+ * With the filter set to an agent that has no cap yet, click the empty
1892
+ * state's "Set Spend Limit" button and return the opened popup's Locator
1893
+ * (pass it as `scope` to the agent-scope helpers, see
1894
+ * `openAgentLimitsManage`).
1895
+ */
1896
+ declare function clickSetSpendLimitForFilteredAgent(page: Page): Promise<Locator>;
1897
+ /** Close the Agent Limits manage popup (Escape) and gate on it disappearing. */
1898
+ declare function closeAgentLimitsPopup(page: Page): Promise<void>;
1899
+ /**
1900
+ * Idempotently flip an agent cap's Status toggle in the Agent Limits table
1901
+ * (saves immediately). Gates on the saved toast and the switch reflecting
1902
+ * the new state after the list refetch.
1903
+ */
1904
+ declare function setAgentLimitsRowEnabled(page: Page, mentorUniqueId: string, enabled: boolean): Promise<void>;
1905
+ /**
1906
+ * Assert an Agent Limits row is visible, optionally checking its formatted
1907
+ * cell contents, e.g. `{ name: 'Math Tutor', limit: '$250.00', spent: '$30.50' }`.
1908
+ * Text matching is substring-based so a limit can be checked with or without
1909
+ * its "/ Month" interval suffix.
1910
+ */
1911
+ declare function expectAgentLimitsRowContent(page: Page, mentorUniqueId: string, texts?: {
1912
+ name?: string;
1913
+ limit?: string;
1914
+ spent?: string;
1915
+ remaining?: string;
1916
+ }): Promise<void>;
1917
+ /**
1918
+ * End to end from the tenant Agent Limits tab, for an agent with NO cap yet:
1919
+ * filter to the agent by name, open the popup from the empty state's "Set
1920
+ * Spend Limit" button, save the agent-scoped limit inside the popup, close
1921
+ * it, and gate on the agent's row rendering after the list refetch.
1922
+ */
1923
+ declare function createAgentSpendLimitViaFilter(page: Page, agent: {
1924
+ name: string;
1925
+ mentorUniqueId: string;
1926
+ }, values: SpendLimitInput): Promise<void>;
1927
+ /**
1928
+ * End to end from the tenant Agent Limits tab: open a capped agent's manage
1929
+ * popup, save the agent-scoped limit inside it, close the popup, and gate on
1930
+ * the row still rendering after the list refetch.
1931
+ */
1932
+ declare function setAgentSpendLimitFromTenantBilling(page: Page, mentorUniqueId: string, values: SpendLimitInput): Promise<void>;
1933
+ /**
1934
+ * End to end from the tenant Agent Limits tab: open the agent's manage popup
1935
+ * and delete its agent-scoped limit through the confirmation dialog. Closing
1936
+ * the popup afterwards gates on the agent's row disappearing from the table
1937
+ * (the tenant-wide list only holds configured caps).
1938
+ */
1939
+ declare function deleteAgentSpendLimitFromTenantBilling(page: Page, mentorUniqueId: string): Promise<void>;
1940
+ /**
1941
+ * End to end per-user limit from the tenant Agent Limits tab: open the
1942
+ * agent's manage popup, add the user limit through its "Per User" sub-tab
1943
+ * (nested user-cap modal inside the popup), then close the popup. Completion
1944
+ * is gated inside `addUserSpendLimit` on the modal closing and the user's
1945
+ * row rendering in the popup's table.
1946
+ */
1947
+ declare function addUserSpendLimitFromTenantBilling(page: Page, mentorUniqueId: string, values: UserSpendLimitInput): Promise<void>;
1948
+
1661
1949
  /**
1662
1950
  * Tasks tab helpers — Playwright bindings for the `AgentTasksTab`
1663
1951
  * component from `@iblai/web-containers`.
@@ -2836,5 +3124,5 @@ declare function generateProjectConfig(platform: string, deviceName: string, dep
2836
3124
  */
2837
3125
  declare function createPlaywrightConfig(options: CreatePlaywrightConfigOptions): PlaywrightTestConfig;
2838
3126
 
2839
- export { AuthFlowBuilder, CHAT_PRIVACY_LABELS, CustomReporter, EVALS_LABELS, GRADER_LABELS, LTI_LABELS, LTI_TEST_IDS, MailsacClient, PRIVACY_LABELS, SCREENSHARE_LABELS, SUPPORT_LABELS, TASKS_LABELS, VOICE_LABELS, addGraderCriterion, addManualScore, addMemory, addQaPairsManually, addSkillToAgent, addTextResource, archiveFirstMemory, archiveMemoryByContent, billingAutoRechargeSection, billingCreditsSection, billingPlanSection, buildReportUrl, canChatWithEmbedMentor, cancelDeleteEvaluation, cancelDeleteInstance, cancelDeleteSkill, cancelDisconnectInstance, cancelEnableChatPrivacyMidSession, cancelKeyDelete, cancelLlmJudge, cancelNewInstanceDialog, cancelStartEvaluation, checkAdminStatus, checkRunStatus, clearDateRangeFilter, clearGradeResultOverride, clearInstanceSearch, clearUserFilter, clickBackHome, clickBillingAddCredits, clickBillingManageBilling, clickBillingManageUsage, clickBillingUpgrade, clickChatPrivacyToggle, clickDownloadAgain, clickManualDownloadLink, closeBenchmarkItemsDialog, closeCreditBalanceDropdown, closeEvaluationDetailDialog, closeKeyDetail, closeManageBenchmarksDialog, closeWithEsc, confirmEnableChatPrivacyMidSession, confirmKeyDelete, connectToInstance, copyEndpoint, createAuthSetup, createBenchmark, createEnvConfig, createInstance, createKey, createLink, createPlaywrightConfig, createSkill, createSupportTicketViaChatAndVerify, createTool, creditBalancePanel, creditBalancePlanBadge, creditBalanceTrigger, deleteEvaluation, deleteFirstMemory, deleteGraderCriterion, deleteInstance, deleteKey, deleteMemoryByContent, deleteQaItem, deleteResource, deleteSkill, deleteTask, disableSkill, disableSupport, disconnectInstance, editAgentPrompt, editGraderCriterion, editInstance, editLink, editSkill, editTextResource, editTool, enableSkill, enableSupport, expandReview, expandTrace, expectAllEndpointsVisible, expectBenchmarkListed, expectBillingAutoRechargeSection, expectBillingCreditsSection, expectBillingPlanSection, expectBillingTabForCurrentPlan, expectBillingTabForFreePlan, expectBillingTabForPremiumPlan, expectBillingTabForTrialPlan, expectCallConfigVisible, expectCallConfigVoiceTriggerShows, expectChatPrivacyConfirmDialogOpen, expectChatPrivacyLocked, expectChatPrivacySource, expectChatPrivacyState, expectChatPrivacyToggleVisible, expectCompletedTasks, expectCreditBalanceForCurrentPlan, expectCreditBalancePanelForFreePlan, expectCreditBalancePanelForPremiumPlan, expectCreditBalancePanelForTrialPlan, expectCreditBalanceVisibilityForTenant, expectDetailWaitingForTraces, expectEndpointUrl, expectEntitySelected, expectFailedTasks, expectGradeResultRow, expectGraderMisconfiguredWarning, expectGraderTotalPoints, expectKeyDeleteError, expectKeyInList, expectKeyNotInList, expectKeysEmpty, expectLastCriterionDeleteDisabled, expectLinkInList, expectLinkNotInList, expectLinkTargetUri, expectLinksEmpty, expectLogDetailsStatus, expectLogsForTask, expectLtiHeader, expectMentorVoiceTriggerShows, expectMessageInConversation, expectNoAccessibilityViolations, expectNoAccessibilityViolationsOnDialogs, expectNoBenchmarksNotice, expectNoLogsForSelectedTask, expectNoRepliesYet, expectNoTickets, expectOutputFilterEnabled, expectPrivacyFieldsHidden, expectPrivacyFieldsVisible, expectPrivateModeSelected, expectPrivateModeTabReady, expectQaItemListed, expectReviewInList, expectReviewStatus, expectRunInTable, expectRunNotInTable, expectRunStatus, expectRunsTableEmpty, expectScheduleStartTimeInPastError, expectScreenShareDisabledHint, expectSelectedBenchmark, expectSttSelectDisabled, expectTaskInList, expectTaskNotInList, expectTaskStatus, expectTasksEmpty, expectTenantChatPrivacyEnabled, expectTenantChatPrivacyVisible, expectTicketClosedNotice, expectTicketDescriptionContains, expectTicketInList, expectTicketStatusInList, expectToolInList, expectToolNotInList, expectToolsEmpty, expectTotalTasks, expectTraceScore, expectTtsSelectDisabled, expectVoiceProviderSelected, expectVoiceVisible, exportRunCsv, fillLinkName, fillToolForm, filterByAction, filterByActionAndVerify, filterByActor, filterByActorAndVerify, filterByDateRange, filterGradeResultsByEmail, filterTicketsByStatus, filterTicketsByUser, generateBrowserSetupProjects, generateProjectConfig, getAddItemsDialog, getAuditLogRowCount, getAvailableActors, getBenchmarkCombobox, getBenchmarkComboboxDropdown, getBenchmarkItemsDialog, getBillingAutoRechargeStatus, getBillingPlanLabel, getBrowserKey, getCallConfigForm, getChatInput, getChatPrivacyConfirmDialog, getChatPrivacyToggle, getCreateBenchmarkDialog, getCreateKeyButton, getCreateLinkButton, getCreateToolButton, getCreditBalancePlanLabel, getCreditBalanceRemaining, getCurrentModel, getCurrentTenantShowPaywall, getDeleteEvaluationDialog, getDeleteQaItemDialog, getEditAgentDialog, getEndpoint, getEndpointCopyButton, getEndpointUrl, getEntityChip, getEvaluationDetailDialog, getInstanceHealthLabel, getInstanceRowCount, getInstanceStatusLabel, getKeyActionsTrigger, getKeyCreateModal, getKeyCreateNameInput, getKeyDeleteModal, getKeyDetailModal, getKeyDetailNameInput, getKeyPublicJwkField, getKeyPublicKeyField, getKeyRow, getKeysEmptyState, getKeysSection, getLinkCopyTargetUriButton, getLinkEditButton, getLinkModal, getLinkNameInput, getLinkRow, getLinksEmptyState, getLinksSection, getLlmJudgeDialog, getLlmPickerDialog, getLtiSubTab, getManageBenchmarksButton, getManageBenchmarksDialog, getMemoryCount, getMentorIdFromUrl, getNewEvaluationButton, getOutputFilterSwitch, getPaginationInfo, getPrivateModeCard, getReplyComposer, getReviewRow, getRunRow, getScheduleTaskButton, getSearchInput, getSkillRowCount, getStartEvaluationDialog, getStatusFilter, getSupportInfoBox, getSupportTabTrigger, getSupportToggle, getTaskRow, getTenantChatPrivacyRow, getTenantChatPrivacySwitch, getTicketDescription, getTicketDetail, getTicketList, getTicketRow, getTicketRowByIndex, getToolEditButton, getToolKeySelect, getToolModal, getToolRow, getToolsEmptyState, getToolsSection, getTraceRow, getUserFilter, getVoiceProviderCard, getVoiceRow, goToFirstPage, goToLastPage, goToNextPage, goToPage, goToPreviousPage, goToSkillsListPage, graderTabBody, inviteUserTest, isEvaluationTabVisible, isFirefox, isGraderTabVisible, isGradingEnabled, isJSON, isLtiTabVisible, isMemoryTabVisible, isOnFirstPage, isOnLastPage, isPrivacyTabVisible, isPrivateModeTabVisible, isSandboxTabVisible, isScreenShareTabVisible, isSkillEnabled, isSupportEnabled, isSupportTabVisible, isTasksTabVisible, isVoiceTabVisible, logger, loginWithEmailAndPassword, loginWithMicrosoftIdp, navigateToAccountComponent, navigateToAuditLog, navigateToAuditLogAndWaitForData, navigateToDataReports, navigateToReportDownload, openAddItemsDialog, openAddMemoryDialog, openAgentPromptEditModal, openBenchmarkItems, openCallConfigVoicePicker, openCreateKeyModal, openCreateLinkModal, openCreateToolModal, openCreditBalanceDropdown, openEditInstanceDialog, openEditLinkModal, openEditSkillDialog, openEditToolModal, openFirstLogDetails, openInstanceActionsMenu, openKeyActionsMenu, openKeyDelete, openKeyDetail, openLLMProviderPicker, openManageBenchmarksDialog, openMentorVoicePicker, openNewInstanceDialog, openNewReviewForRun, openNewReviewFromDetail, openNewSkillDialog, openRunActionsMenu, openRunResults, openScheduleTaskDialog, openScreenSharePromptEditor, openSkillActionsMenu, openSlashSkillPicker, openStartEvaluationDialog, openTicket, overrideGradeResult, parseReportUrlParams, previewCallConfigVoiceInline, previewMentorVoiceInline, previewVoice, pushConfiguration, readEndpointUrl, readKeyPublicJwk, readKeyPublicKey, refreshEvaluationDetail, refreshTickets, reliableClick, reliableFill, removeSkillFromAgent, removeTraceScore, renameKey, replyToTicket, requestSupportTicketViaChat, resetCallConfig, retry, runConnectedInstanceChecks, runInstanceChecks, safeWaitForURL, saveCallConfig, saveGraderConfig, saveScreenSharePrompts, saveVoiceSettings, scheduleTask, searchBenchmarks, searchInstances, searchTasks, searchVoices, selectBenchmark, selectCallMode, selectDateFromCalendar, selectJudgeLlm, selectLLMModel, selectLlmProvider, selectPrivacyAction, selectPrivateMode, selectSlashSkill, selectSttProvider, selectTaskInList, selectToolKeySetMode, selectToolSigningKey, selectTtsProvider, selectVoice, selectVoiceProvider, sendAgentChatMessage, setBlockMessage, setCallLanguage, setEnableVideo, setEntitySelected, setGradingEnabled, setOutputFilterEnabled, setScreenSharePrompt, setSupportEnabled, setTenantChatPrivacyEnabled, setTicketStatus, setUseFunctionCallingEnabled, setupSandboxInstance, shouldAddNewRowWhenClickingAddRowButton, shouldAllowEditingCellValuesInCSVEditor, shouldCancelCombiningReports, shouldCloseCSVEditorWhenClickingCloseButton, shouldCloseCSVEditorWithoutSavingWhenClickingCancel, shouldCombineRecommendationReports, shouldDirectlyDownloadChatHistoryReportWithoutCSVEditor, shouldDisableOtherDownloadButtonsWhileGeneratingReport, shouldDisplayCSVInEditableTableFormat, shouldDisplayReportCards, shouldHaveCombinedReportDataTestIds, shouldOpenCSVEditorDialog, shouldOpenCSVEditorForUserMetadataReport, shouldSaveEditedCSVAndTriggerDownload, shouldShowCombiningReportsDialog, shouldVerifyCSVEditorDialogAccessibility, signUpWithEmailAndPassword, startEvaluation, submitLinkModal, submitLlmJudge, submitToolModal, switchToAddItemsSubTab, switchToAgentSkillsSubTab, switchToAvailableSkillsSubTab, switchToEvaluationTab, switchToGraderSubTab, switchToGraderTab, switchToLtiSubTab, switchToLtiTab, switchToMemoryTab, switchToPrivacyTab, switchToPrivateModeTab, switchToSandboxTab, switchToScreenShareTab, switchToSkillResourcesSubTab, switchToSkillsTab, switchToSupportTab, switchToTasksTab, switchToVoiceSubTab, switchToVoiceTab, teardownSandboxInstance, test, toggleAutoPush, toggleMemorySwitch, toggleSkill, toolFields, uploadAssetResource, uploadQaCsv, verifyAgentConfigPromptsVisible, verifyAgentSkillsEmptyState, verifyAuditLogEmptyState, verifyAuditLogEntryStructure, verifyAuditLogGenericError, verifyAuditLogLoading, verifyAuditLogPermissionError, verifyAuditLogTableVisible, verifyConnectDisabledForUnhealthy, verifyConnectedInstanceCard, verifyCurrentPage, verifyDonePhase, verifyDownloadingPhase, verifyErrorPhase, verifyInstanceTableEmpty, verifyInstanceTableVisible, verifyMemoryExists, verifyMemoryNotExists, verifyMemoryTabMemoriesList, verifyMemoryTabSettings, verifyPreparingPhase, verifySkillAdded, verifySkillVisible, verifySkillsEmptyState, verifySkillsTabVisible, waitForAgentChatResponse, waitForAuditLogDataLoaded, waitForBillingTabReady, waitForCreditBalanceLoaded, waitForDialogReady, waitForElementStable, waitForPageLoad, waitForPageReady, waitForReportDownload, waitForTicketInList };
2840
- export type { AgentPromptField, AuthFlowType, AuthSetupConfig, BillingAutoRechargeStatus, CallMode, ChatPrivacyMode, ChatPrivacySource, ChatPrivacyToggleState, CreatePlaywrightConfigOptions, CreditBalancePlan, EnvConfig, EvalReviewStatus, EvalRunStatus, GraderCriterionInput, GraderFeedbackMode, GraderGradingMode, GraderSubTab, LlmProvider, LtiEndpoint, LtiKeySetMode, LtiSubTab, LtiToolFormData, PlatformConfig, PrivacyAction, PrivacyEntity, ReportDownloadOptions, SafeWaitForURLOptions, ScreenSharePromptField, SignUpCredentials, SkillFormValues, StepFn, SttProvider, SupportTicketStatus, TaskRepeat, TaskStatus, TextResourceValues, TtsProvider, VoiceProvider };
3127
+ export { AuthFlowBuilder, CHAT_PRIVACY_LABELS, CustomReporter, EVALS_LABELS, GRADER_LABELS, LTI_LABELS, LTI_TEST_IDS, MailsacClient, PRIVACY_LABELS, SCREENSHARE_LABELS, SPEND_LIMITS_LABELS, SUPPORT_LABELS, TASKS_LABELS, VOICE_LABELS, addGraderCriterion, addManualScore, addMemory, addQaPairsManually, addSkillToAgent, addTextResource, addUserSpendLimit, addUserSpendLimitFromTenantBilling, agentLimitsRow, agentLimitsSection, archiveFirstMemory, archiveMemoryByContent, billingAutoRechargeSection, billingCreditsSection, billingPlanSection, buildReportUrl, canChatWithEmbedMentor, cancelDeleteEvaluation, cancelDeleteInstance, cancelDeleteSkill, cancelDisconnectInstance, cancelEnableChatPrivacyMidSession, cancelKeyDelete, cancelLlmJudge, cancelNewInstanceDialog, cancelStartEvaluation, checkAdminStatus, checkRunStatus, clearAgentLimitsFilter, clearDateRangeFilter, clearGradeResultOverride, clearInstanceSearch, clearUserFilter, clickBackHome, clickBillingAddCredits, clickBillingManageBilling, clickBillingManageUsage, clickBillingUpgrade, clickChatPrivacyToggle, clickDownloadAgain, clickManualDownloadLink, clickSetSpendLimitForFilteredAgent, closeAgentLimitsPopup, closeBenchmarkItemsDialog, closeCreditBalanceDropdown, closeEvaluationDetailDialog, closeKeyDetail, closeManageBenchmarksDialog, closeWithEsc, confirmEnableChatPrivacyMidSession, confirmKeyDelete, connectToInstance, copyEndpoint, createAgentSpendLimitViaFilter, createAuthSetup, createBenchmark, createEnvConfig, createInstance, createKey, createLink, createPlaywrightConfig, createSkill, createSupportTicketViaChatAndVerify, createTool, creditBalancePanel, creditBalancePlanBadge, creditBalanceTrigger, deleteAgentSpendLimit, deleteAgentSpendLimitFromTenantBilling, deleteEvaluation, deleteFirstMemory, deleteGraderCriterion, deleteInstance, deleteKey, deleteMemoryByContent, deleteQaItem, deleteResource, deleteSkill, deleteTask, deleteUserSpendLimit, deleteWorkspaceSpendLimit, disableSkill, disableSupport, disconnectInstance, editAgentPrompt, editGraderCriterion, editInstance, editLink, editSkill, editTextResource, editTool, editUserSpendLimit, enableSkill, enableSupport, expandReview, expandTrace, expectAgentLimitsRowContent, expectAllEndpointsVisible, expectBenchmarkListed, expectBillingAutoRechargeSection, expectBillingCreditsSection, expectBillingPlanSection, expectBillingTabForCurrentPlan, expectBillingTabForFreePlan, expectBillingTabForPremiumPlan, expectBillingTabForTrialPlan, expectCallConfigVisible, expectCallConfigVoiceTriggerShows, expectChatPrivacyConfirmDialogOpen, expectChatPrivacyLocked, expectChatPrivacySource, expectChatPrivacyState, expectChatPrivacyToggleVisible, expectCompletedTasks, expectCreditBalanceForCurrentPlan, expectCreditBalancePanelForFreePlan, expectCreditBalancePanelForPremiumPlan, expectCreditBalancePanelForTrialPlan, expectCreditBalanceVisibilityForTenant, expectDetailWaitingForTraces, expectEndpointUrl, expectEntitySelected, expectFailedTasks, expectGradeResultRow, expectGraderMisconfiguredWarning, expectGraderTotalPoints, expectKeyDeleteError, expectKeyInList, expectKeyNotInList, expectKeysEmpty, expectLastCriterionDeleteDisabled, expectLinkInList, expectLinkNotInList, expectLinkTargetUri, expectLinksEmpty, expectLogDetailsStatus, expectLogsForTask, expectLtiHeader, expectMentorVoiceTriggerShows, expectMessageInConversation, expectNoAccessibilityViolations, expectNoAccessibilityViolationsOnDialogs, expectNoBenchmarksNotice, expectNoLogsForSelectedTask, expectNoRepliesYet, expectNoTickets, expectOutputFilterEnabled, expectPrivacyFieldsHidden, expectPrivacyFieldsVisible, expectPrivateModeSelected, expectPrivateModeTabReady, expectQaItemListed, expectReviewInList, expectReviewStatus, expectRunInTable, expectRunNotInTable, expectRunStatus, expectRunsTableEmpty, expectScheduleStartTimeInPastError, expectScreenShareDisabledHint, expectSelectedBenchmark, expectSttSelectDisabled, expectTaskInList, expectTaskNotInList, expectTaskStatus, expectTasksEmpty, expectTenantChatPrivacyEnabled, expectTenantChatPrivacyVisible, expectTicketClosedNotice, expectTicketDescriptionContains, expectTicketInList, expectTicketStatusInList, expectToolInList, expectToolNotInList, expectToolsEmpty, expectTotalTasks, expectTraceScore, expectTtsSelectDisabled, expectVoiceProviderSelected, expectVoiceVisible, expectWorkspaceActualSpendStats, expectWorkspaceSpendStats, exportRunCsv, fillLinkName, fillToolForm, filterAgentLimits, filterByAction, filterByActionAndVerify, filterByActor, filterByActorAndVerify, filterByDateRange, filterGradeResultsByEmail, filterTicketsByStatus, filterTicketsByUser, generateBrowserSetupProjects, generateProjectConfig, getAddItemsDialog, getAuditLogRowCount, getAvailableActors, getBenchmarkCombobox, getBenchmarkComboboxDropdown, getBenchmarkItemsDialog, getBillingAutoRechargeStatus, getBillingPlanLabel, getBrowserKey, getCallConfigForm, getChatInput, getChatPrivacyConfirmDialog, getChatPrivacyToggle, getCreateBenchmarkDialog, getCreateKeyButton, getCreateLinkButton, getCreateToolButton, getCreditBalancePlanLabel, getCreditBalanceRemaining, getCurrentModel, getCurrentTenantShowPaywall, getDeleteEvaluationDialog, getDeleteQaItemDialog, getEditAgentDialog, getEndpoint, getEndpointCopyButton, getEndpointUrl, getEntityChip, getEvaluationDetailDialog, getInstanceHealthLabel, getInstanceRowCount, getInstanceStatusLabel, getKeyActionsTrigger, getKeyCreateModal, getKeyCreateNameInput, getKeyDeleteModal, getKeyDetailModal, getKeyDetailNameInput, getKeyPublicJwkField, getKeyPublicKeyField, getKeyRow, getKeysEmptyState, getKeysSection, getLinkCopyTargetUriButton, getLinkEditButton, getLinkModal, getLinkNameInput, getLinkRow, getLinksEmptyState, getLinksSection, getLlmJudgeDialog, getLlmPickerDialog, getLtiSubTab, getManageBenchmarksButton, getManageBenchmarksDialog, getMemoryCount, getMentorIdFromUrl, getNewEvaluationButton, getOutputFilterSwitch, getPaginationInfo, getPrivateModeCard, getReplyComposer, getReviewRow, getRunRow, getScheduleTaskButton, getSearchInput, getSkillRowCount, getStartEvaluationDialog, getStatusFilter, getSupportInfoBox, getSupportTabTrigger, getSupportToggle, getTaskRow, getTenantChatPrivacyRow, getTenantChatPrivacySwitch, getTicketDescription, getTicketDetail, getTicketList, getTicketRow, getTicketRowByIndex, getToolEditButton, getToolKeySelect, getToolModal, getToolRow, getToolsEmptyState, getToolsSection, getTraceRow, getUserFilter, getVoiceProviderCard, getVoiceRow, goToFirstPage, goToLastPage, goToNextPage, goToPage, goToPreviousPage, goToSkillsListPage, graderTabBody, inviteUserTest, isEvaluationTabVisible, isFirefox, isGraderTabVisible, isGradingEnabled, isJSON, isLtiTabVisible, isMemoryTabVisible, isOnFirstPage, isOnLastPage, isPrivacyTabVisible, isPrivateModeTabVisible, isSandboxTabVisible, isScreenShareTabVisible, isSkillEnabled, isSpendLimitsTabVisible, isSupportEnabled, isSupportTabVisible, isTasksTabVisible, isVoiceTabVisible, logger, loginWithEmailAndPassword, loginWithMicrosoftIdp, navigateToAccountComponent, navigateToAuditLog, navigateToAuditLogAndWaitForData, navigateToDataReports, navigateToReportDownload, openAddItemsDialog, openAddMemoryDialog, openAgentLimitsManage, openAgentPromptEditModal, openBenchmarkItems, openCallConfigVoicePicker, openCreateKeyModal, openCreateLinkModal, openCreateToolModal, openCreditBalanceDropdown, openEditInstanceDialog, openEditLinkModal, openEditSkillDialog, openEditToolModal, openFirstLogDetails, openInstanceActionsMenu, openKeyActionsMenu, openKeyDelete, openKeyDetail, openLLMProviderPicker, openManageBenchmarksDialog, openMentorVoicePicker, openNewInstanceDialog, openNewReviewForRun, openNewReviewFromDetail, openNewSkillDialog, openRunActionsMenu, openRunResults, openScheduleTaskDialog, openScreenSharePromptEditor, openSkillActionsMenu, openSlashSkillPicker, openStartEvaluationDialog, openTicket, overrideGradeResult, parseReportUrlParams, previewCallConfigVoiceInline, previewMentorVoiceInline, previewVoice, pushConfiguration, readEndpointUrl, readKeyPublicJwk, readKeyPublicKey, refreshEvaluationDetail, refreshTickets, reliableClick, reliableFill, removeSkillFromAgent, removeTraceScore, renameKey, replyToTicket, requestSupportTicketViaChat, resetCallConfig, retry, runConnectedInstanceChecks, runInstanceChecks, safeWaitForURL, saveCallConfig, saveGraderConfig, saveScreenSharePrompts, saveVoiceSettings, scheduleTask, searchBenchmarks, searchInstances, searchTasks, searchVoices, selectBenchmark, selectCallMode, selectDateFromCalendar, selectJudgeLlm, selectLLMModel, selectLlmProvider, selectPrivacyAction, selectPrivateMode, selectSlashSkill, selectSttProvider, selectTaskInList, selectToolKeySetMode, selectToolSigningKey, selectTtsProvider, selectVoice, selectVoiceProvider, sendAgentChatMessage, setAgentLimitsRowEnabled, setAgentSpendLimit, setAgentSpendLimitFromTenantBilling, setBlockMessage, setCallLanguage, setCatalogSkillEnabled, setEnableVideo, setEntitySelected, setGradingEnabled, setOutputFilterEnabled, setScreenSharePrompt, setSupportEnabled, setTenantChatPrivacyEnabled, setTicketStatus, setUseFunctionCallingEnabled, setUserSpendLimitEnabled, setWorkspaceSpendLimit, setupSandboxInstance, shouldAddNewRowWhenClickingAddRowButton, shouldAllowEditingCellValuesInCSVEditor, shouldCancelCombiningReports, shouldCloseCSVEditorWhenClickingCloseButton, shouldCloseCSVEditorWithoutSavingWhenClickingCancel, shouldCombineRecommendationReports, shouldDirectlyDownloadChatHistoryReportWithoutCSVEditor, shouldDisableOtherDownloadButtonsWhileGeneratingReport, shouldDisplayCSVInEditableTableFormat, shouldDisplayReportCards, shouldHaveCombinedReportDataTestIds, shouldOpenCSVEditorDialog, shouldOpenCSVEditorForUserMetadataReport, shouldSaveEditedCSVAndTriggerDownload, shouldShowCombiningReportsDialog, shouldVerifyCSVEditorDialogAccessibility, signUpWithEmailAndPassword, spendLimitsTabBody, startEvaluation, submitLinkModal, submitLlmJudge, submitToolModal, switchToAddItemsSubTab, switchToAgentLimits, switchToAgentSkillsSubTab, switchToAvailableSkillsSubTab, switchToEvaluationTab, switchToGraderSubTab, switchToGraderTab, switchToLtiSubTab, switchToLtiTab, switchToMemoryTab, switchToPlanAndCredits, switchToPrivacyTab, switchToPrivateModeTab, switchToSandboxTab, switchToScreenShareTab, switchToSkillResourcesSubTab, switchToSkillsTab, switchToSpendLimitsSubTab, switchToSpendLimitsTab, switchToSupportTab, switchToTasksTab, switchToVoiceSubTab, switchToVoiceTab, switchToWorkspaceSpendLimits, teardownSandboxInstance, test, toggleAutoPush, toggleMemorySwitch, toggleSkill, toolFields, uploadAssetResource, uploadQaCsv, userSpendLimitRow, verifyAgentConfigPromptsVisible, verifyAgentSkillsEmptyState, verifyAuditLogEmptyState, verifyAuditLogEntryStructure, verifyAuditLogGenericError, verifyAuditLogLoading, verifyAuditLogPermissionError, verifyAuditLogTableVisible, verifyConnectDisabledForUnhealthy, verifyConnectedInstanceCard, verifyCurrentPage, verifyDonePhase, verifyDownloadingPhase, verifyErrorPhase, verifyInstanceTableEmpty, verifyInstanceTableVisible, verifyMemoryExists, verifyMemoryNotExists, verifyMemoryTabMemoriesList, verifyMemoryTabSettings, verifyPreparingPhase, verifySkillAdded, verifySkillVisible, verifySkillsEmptyState, verifySkillsTabVisible, waitForAgentChatResponse, waitForAuditLogDataLoaded, waitForBillingTabReady, waitForCreditBalanceLoaded, waitForDialogReady, waitForElementStable, waitForPageLoad, waitForPageReady, waitForReportDownload, waitForTicketInList, workspaceSpendLimitSection };
3128
+ export type { AgentPromptField, AuthFlowType, AuthSetupConfig, BillingAutoRechargeStatus, CallMode, ChatPrivacyMode, ChatPrivacySource, ChatPrivacyToggleState, CreatePlaywrightConfigOptions, CreditBalancePlan, EnvConfig, EvalReviewStatus, EvalRunStatus, GraderCriterionInput, GraderFeedbackMode, GraderGradingMode, GraderSubTab, LlmProvider, LtiEndpoint, LtiKeySetMode, LtiSubTab, LtiToolFormData, PlatformConfig, PrivacyAction, PrivacyEntity, ReportDownloadOptions, SafeWaitForURLOptions, ScreenSharePromptField, SignUpCredentials, SkillFormValues, SpendLimitEnforcement, SpendLimitInput, SpendLimitInterval, SpendLimitSubTab, StepFn, SttProvider, SupportTicketStatus, TaskRepeat, TaskStatus, TextResourceValues, TtsProvider, UserSpendLimitInput, VoiceProvider };