@iblai/web-containers 2.7.0 → 2.9.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.
Files changed (93) hide show
  1. package/dist/cjs/_virtual/index2.js +2 -2
  2. package/dist/cjs/_virtual/index3.js +2 -2
  3. package/dist/cjs/components/analytics/analytics-financial-stats.js +2 -2
  4. package/dist/cjs/components/analytics/analytics-financial-stats.js.map +1 -1
  5. package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js +2 -0
  6. package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
  7. package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab.js +8 -7
  8. package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab.js.map +1 -1
  9. package/dist/cjs/components/modals/edit-mentor-modal/tabs/spend-caps-tab/index.js +42 -14
  10. package/dist/cjs/components/modals/edit-mentor-modal/tabs/spend-caps-tab/index.js.map +1 -1
  11. package/dist/cjs/components/modals/user-profile-modal.js +6 -6
  12. package/dist/cjs/components/platform-sidebar/index.js +4 -0
  13. package/dist/cjs/components/platform-sidebar/index.js.map +1 -1
  14. package/dist/cjs/components/profile/benchmarks/benchmark-items-modal.js +5 -1
  15. package/dist/cjs/components/profile/benchmarks/benchmark-items-modal.js.map +1 -1
  16. package/dist/cjs/components/profile/benchmarks/edit-item-modal.js +61 -0
  17. package/dist/cjs/components/profile/benchmarks/edit-item-modal.js.map +1 -0
  18. package/dist/cjs/components/profile/benchmarks/qa-form.js +11 -9
  19. package/dist/cjs/components/profile/benchmarks/qa-form.js.map +1 -1
  20. package/dist/cjs/components/profile/monetization/item-monetization.js +37 -0
  21. package/dist/cjs/components/profile/monetization/item-monetization.js.map +1 -0
  22. package/dist/cjs/components/profile/monetization/paywall-config.js +2 -3
  23. package/dist/cjs/components/profile/monetization/paywall-config.js.map +1 -1
  24. package/dist/cjs/components/profile/monetization/paywall-detail.js +119 -65
  25. package/dist/cjs/components/profile/monetization/paywall-detail.js.map +1 -1
  26. package/dist/cjs/components/profile/monetization/paywall-utils.js +5 -0
  27. package/dist/cjs/components/profile/monetization/paywall-utils.js.map +1 -1
  28. package/dist/cjs/components/profile/monetization/price-management.js +80 -51
  29. package/dist/cjs/components/profile/monetization/price-management.js.map +1 -1
  30. package/dist/cjs/components/spend-caps/labels.js +6 -0
  31. package/dist/cjs/components/spend-caps/labels.js.map +1 -1
  32. package/dist/cjs/i18n/messages/en.json.js +60 -20
  33. package/dist/cjs/i18n/messages/en.json.js.map +1 -1
  34. package/dist/cjs/i18n/messages/es.json.js +59 -19
  35. package/dist/cjs/i18n/messages/es.json.js.map +1 -1
  36. package/dist/cjs/i18n/messages/fr.json.js +59 -19
  37. package/dist/cjs/i18n/messages/fr.json.js.map +1 -1
  38. package/dist/cjs/i18n/messages/zh.json.js +58 -18
  39. package/dist/cjs/i18n/messages/zh.json.js.map +1 -1
  40. package/dist/cjs/index.js +2 -0
  41. package/dist/cjs/index.js.map +1 -1
  42. package/dist/cjs/node_modules/.pnpm/css-mediaquery@0.1.2/node_modules/css-mediaquery/index.js +1 -1
  43. package/dist/cjs/node_modules/.pnpm/matchmediaquery@0.4.2/node_modules/matchmediaquery/index.js +1 -1
  44. package/dist/cjs/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  45. package/dist/cjs/web-containers/tsconfig.build.tsbuildinfo +1 -1
  46. package/dist/esm/components/analytics/analytics-financial-stats.js +2 -2
  47. package/dist/esm/components/analytics/analytics-financial-stats.js.map +1 -1
  48. package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js +2 -0
  49. package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
  50. package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab.js +8 -7
  51. package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab.js.map +1 -1
  52. package/dist/esm/components/modals/edit-mentor-modal/tabs/spend-caps-tab/index.js +43 -15
  53. package/dist/esm/components/modals/edit-mentor-modal/tabs/spend-caps-tab/index.js.map +1 -1
  54. package/dist/esm/components/modals/user-profile-modal.js +6 -6
  55. package/dist/esm/components/platform-sidebar/index.js +4 -0
  56. package/dist/esm/components/platform-sidebar/index.js.map +1 -1
  57. package/dist/esm/components/profile/benchmarks/benchmark-items-modal.js +5 -1
  58. package/dist/esm/components/profile/benchmarks/benchmark-items-modal.js.map +1 -1
  59. package/dist/esm/components/profile/benchmarks/edit-item-modal.js +59 -0
  60. package/dist/esm/components/profile/benchmarks/edit-item-modal.js.map +1 -0
  61. package/dist/esm/components/profile/benchmarks/qa-form.js +11 -10
  62. package/dist/esm/components/profile/benchmarks/qa-form.js.map +1 -1
  63. package/dist/esm/components/profile/monetization/item-monetization.js +35 -0
  64. package/dist/esm/components/profile/monetization/item-monetization.js.map +1 -0
  65. package/dist/esm/components/profile/monetization/paywall-config.js +2 -3
  66. package/dist/esm/components/profile/monetization/paywall-config.js.map +1 -1
  67. package/dist/esm/components/profile/monetization/paywall-detail.js +114 -67
  68. package/dist/esm/components/profile/monetization/paywall-detail.js.map +1 -1
  69. package/dist/esm/components/profile/monetization/paywall-utils.js +5 -1
  70. package/dist/esm/components/profile/monetization/paywall-utils.js.map +1 -1
  71. package/dist/esm/components/profile/monetization/price-management.js +80 -51
  72. package/dist/esm/components/profile/monetization/price-management.js.map +1 -1
  73. package/dist/esm/components/spend-caps/labels.js +6 -0
  74. package/dist/esm/components/spend-caps/labels.js.map +1 -1
  75. package/dist/esm/i18n/messages/en.json.js +59 -21
  76. package/dist/esm/i18n/messages/en.json.js.map +1 -1
  77. package/dist/esm/i18n/messages/es.json.js +58 -20
  78. package/dist/esm/i18n/messages/es.json.js.map +1 -1
  79. package/dist/esm/i18n/messages/fr.json.js +58 -20
  80. package/dist/esm/i18n/messages/fr.json.js.map +1 -1
  81. package/dist/esm/i18n/messages/zh.json.js +57 -19
  82. package/dist/esm/i18n/messages/zh.json.js.map +1 -1
  83. package/dist/esm/index.js +1 -0
  84. package/dist/esm/index.js.map +1 -1
  85. package/dist/esm/web-containers/tsconfig.build.tsbuildinfo +1 -1
  86. package/dist/index.d.ts +19 -2
  87. package/dist/next/index.d.ts +37 -8
  88. package/dist/package.json +1 -1
  89. package/package.json +1 -1
  90. package/dist/cjs/components/profile/monetization/wizard-step-indicator.js +0 -23
  91. package/dist/cjs/components/profile/monetization/wizard-step-indicator.js.map +0 -1
  92. package/dist/esm/components/profile/monetization/wizard-step-indicator.js +0 -21
  93. package/dist/esm/components/profile/monetization/wizard-step-indicator.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1177,6 +1177,23 @@ interface MonetizationTabProps {
1177
1177
  }
1178
1178
  declare function MonetizationTab({ platformKey, authURL }: MonetizationTabProps): react_jsx_runtime.JSX.Element;
1179
1179
 
1180
+ /** `agent` and `mentor` are the same item; any other string is passed through as the item type. */
1181
+ type MonetizableItemType = 'agent' | 'mentor' | 'course' | 'program' | (string & {});
1182
+ interface ItemMonetizationProps {
1183
+ platformKey: string;
1184
+ authURL: string;
1185
+ itemType: MonetizableItemType;
1186
+ itemId: string;
1187
+ /** Shown until the paywall config returns its own item name. */
1188
+ itemName?: string;
1189
+ }
1190
+ /**
1191
+ * Paywall and pricing for one item (agent, course, program, …), for hosts that
1192
+ * place it on the item's own settings page. Same wizard as the Monetization
1193
+ * tab's detail view, minus the item picker.
1194
+ */
1195
+ declare function ItemMonetization({ platformKey, authURL, itemType, itemId, itemName, }: ItemMonetizationProps): react_jsx_runtime.JSX.Element;
1196
+
1180
1197
  interface MemoryAdminTabProps {
1181
1198
  tenantKey: string;
1182
1199
  /** Username of the signed-in admin, used as the caller path segment. */
@@ -7616,5 +7633,5 @@ interface PreviewPlan {
7616
7633
  */
7617
7634
  declare function previewPlan(source: string | null | undefined, hint?: string | null): PreviewPlan | null;
7618
7635
 
7619
- export { ACCESS_COURSE_LABEL, ALL_CATEGORIES, AccessTimeHeatmap, AccessibilityFab, AccessibilityProvider, AccessibilityToolbar, AccessiblePaginate, AddMentorToProjectModal, AddSkillDialog, Admin, AdvancedTab, AgentConfigPrompts, AgentScopeLink, AgentSettingsLauncherProvider, AgentSettingsLink, AgentSkills, AlertsTab, AnalyticsAgentPicker, AnalyticsAreaChart, AnalyticsAuditLogStats, AnalyticsBarChart, AnalyticsControlBar, AnalyticsCourseDetail, AnalyticsCourses, AnalyticsFinancialStats, AnalyticsGlobalFiltersProvider, AnalyticsLayout, AnalyticsLlmUsageStats, AnalyticsMemoryStats, AnalyticsMonetizationStats, AnalyticsNotice, AnalyticsOverview, AnalyticsPlatformAuditLog, AnalyticsProgramDetail, AnalyticsPrograms, AnalyticsReportDownload, AnalyticsReports, AnalyticsScopeProvider, AnalyticsSettingsProvider, AnalyticsTopicsStats, AnalyticsTraces, AnalyticsTranscriptsStats, AnalyticsUsersStats, ApiTab, AppleRestrictionModal, ApplyWizard, AuditLogChangesView, AuditLogJsonView, BUILDER_DEFAULT_INSTRUCTIONS, BUY_NOW_LABEL, BillingTab, CATALOGS, CERTIFICATE_HEIGHT, CERTIFICATE_WIDTH, CHART_ORDINAL_RAMP, CHART_SERIES_COLORS, CHART_SINGLE_SERIES_COLOR, CLASSIFIER_HANDLES, CLASSIFIER_LIMITS, CREATE_AGENT_LABELS, CREATE_AGENT_WIZARD_STEPS, CUA_DRIVER_REPO_URL, CUA_DRIVER_TAURI_COMMANDS, CUA_DRIVER_TAURI_EVENTS, CanvasDialog, CanvasView, CardInfoIcon, CategorizedDropdownMenu, CertificateFace, CertificateThumbnail, ChartCardWrapper, ChartFiltersProvider, ChartLoading, ChartTooltipCard, ChatContext, ChatPrivacyToggle, ChatProvider, CompanyDialog, ConnectorManagementDialog, ContactAdminModal, ConversationSentiment, ConversationTopics, CopyButtonIcon, CourseAccessGuard, CourseCardSkeleton, CourseContentLoading, CourseOutline, CourseOutlineContext, CourseOutlineDrawer, CreateAgentForm, CreateAgentModal, CreateAgentWizard, CreateProjectModal, CreateWorkflowModal, CredentialBox, CredentialMiniBoxSkeleton, CredentialsList, CreditBalance, CustomDateRangePicker, CustomTooltip, DEFAULT_COWORK_REQUIRED_SIZE_GB, DEFAULT_USER_IDENTITY_ORDER, DRAGGABLE_SNAP_TRANSITION, DefaultEmptyBox, DeleteProjectModal, DeleteWorkflowModal, DiscoverContentCard, DiscoverFacetsFilter, DiscoverFilterDrawer, DocumentSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENROLL_NOW_COURSE_STARTING_SOON_LABEL, ENROLL_NOW_LABEL, EXPRESSION_EXAMPLES, EditAlertDialog, EducationBox, EducationDialog, EducationTab, EdxIframeContext, EmptyStats, ExperienceBox, ExperienceDialog, ExperienceTab, FacetFilterContext, FloatingAccessibilityButton, Footer, GradebookTab, GroupsFilterDropdown, HostPortChipInput, IBLAI_DECISION_MODEL, INPUT_PLACEHOLDER, INVITATION_ONLY_LABEL, InstitutionDialog, IntegrationsTab, InviteUserContent, InviteUserDialog, InvitedUsersDialog, LOCAL_LLM_CHANGED_EVENT, LOCAL_MODELS, LlmModelBadge, Loader, LocalLLMTab, LocalModelsContent, LoginButton, MACOS_PERMISSIONS_COMMANDS, MEMORY_PAGE_SIZE, Markdown, MasterAgent, MasterAgentPanel, MasterAgentProvider, McpServersMenu, MemoryAdminTab, MinimumMentorAlert, MonetizationTab, NotificationDisplay, NotificationDropdown, ONBOARDING_FIELD_TYPES, ONBOARDING_METADATA_KEY, ONBOARDING_METADATA_VERSION, ONBOARDING_SECTORS, OnboardingField, OnboardingShell, OnboardingWizard, PLATFORM_AUDIT_DEEP_PAGING_THRESHOLD, PLATFORM_AUDIT_PAGE_SIZE, PRIVACY_AUDIT_LOG_DEFAULT_PAGE_SIZE, PaywallModal, PlacementExam, PlacementExamsDropdown, PlatformAuditLogDetailSheet, PlatformNavbar, PlatformNavbarSearch, PrivacyAuditLog, PrivacyAuditLogModal, PrivacyFlagDetail, Profile, ProfileTimeChart, ProgressDots, ProjectActionButtons, ProjectFilesModal, ProjectInstructionsModal, ProjectLandingPage, ProjectMentorsList, ProjectsPage, PublicCertificate, REQUEST_ACCESS_COURSE_STARTING_SOON_LABEL, REQUEST_ACCESS_LABEL, RankedBars, RenameProjectModal, ResumeBox, ResumeTab, RetrievedDocumentsButton, RichTextEditor, SERVICE_COLOR_ORDER, SandboxConfig, ScaledCertificate, SearchableMultiSelect, SecretsTab, SendNotificationDialog, SessionCanvasCards, SignupButton, SkeletonActivityStatBox, SkeletonAddSkillsLoading, SkeletonCreatePathwaySearchList, SkeletonDiscoverFilterBox, SkeletonEducationBox, SkeletonMultiplier, SkeletonPathwayBox, SkeletonProfileInfoCard, SkeletonSkillBox, SkillBox, SkillDetailModal, SkillLeaderboardChart, SkillsBox, SkillsList, SlashSkillPicker, SourceChip, Spinner, StatCard, StepHeader, SubscriptionTopBanner, SummerNoteTextEditor, TAURI_COMMANDS, TAURI_EVENTS, TRACES_PAGE_SIZE, TenantSwitcher, TimeFilter, TimeTrackingProvider, TimedExam, ToolCallIndicator, ToolDialogs, TopBanner, TranscriptFileCards, TranscriptRollupBadges, TranscriptTurnDetails, TrendSparkline, USER_ONBOARDING_FORM_SLUG, USER_ONBOARDING_FORM_VERSION, USER_ONBOARDING_SUBMISSION_SLUG, UpgradePackageModal, UserAvatar, UserOnboardingWizard, UserProfileDialog, UserProfileLink, Version, VirtualMachineAdminTab, VirtualMachineNetworkSection, WHILE_DEFAULT_MAX_ITERATIONS, WHILE_DONE_HANDLE, WHILE_LOOP_HANDLE, WHILE_MAX_ITERATIONS, WebContainersI18nProvider, WorkflowSidebar, YourActivityButton, YourActivityPanel, addBookmarksTab, areChartFiltersEqual, availablePlacementExams, buildOnboardingAgentPath, buildOnboardingMetadata, buildUserOnboardingFormMetadata, buildUserOnboardingSubmissionMetadata, canOpenOrganizationSettings, canReceiveConnection, categoryIdFor, certificateShareUrls, certificateSignatories, chatTextPreview, classifierAnswerType, classifierBranches, coerceOnboardingAgent, coerceOnboardingAgents, coerceUserOnboardingForm, collectVariableUsages, collectWorkflowVariables, colorForRank, colorForSeries, configureCanvasMarkdown, configureHtmlPreview, conversationDocuments, conversationTitle, conversationTopics, describeTextFile, displayPlatformName, downloadBlob, edgeIdFor, emptyUserOnboardingForm, findLastResumeBlock, findMathSegments, findOnboardingAgent, findSequentialParent, firstHumanMessage, flattenVerticalBlocks, formatAuditTimestamp, formatCompactNumber, formatFileSize, formatLatencySeconds, formatResult, formatSessionDate, formatTimeZoneLabel, getCatalog, getConditionCount, getConditions, getFirstAvailableUnit, getFriendlyToolName, getLLMModelDisplayName, getLocalLLMModel, getLocalLLMToolSupport, getNextUnitIframe, getOrg, getParentBlockById, getParentsInfosFromSublessonId, getPreviousUnitIframe, getQueryLabel, getRandomCourseImage, getSectorById, getTenant, getUnitToIframe, getUserId, getUserName, granularityForFilter, hasDistinctName, hasOnboardingContent, headlineStreak, humanizeAuditToken, humanizeFieldName, inBrowserPrint, inIframe, inferProviderKeysFromModel, initialCuaDriverInstallState, initialModelDownloadState, installOpaqueOriginMessageGuard, isAuthoredInstructions, isClassifierType, isCodeFile, isCoworkEnabled, isEmailLike, isFileReference, isLlmUsageForbidden, isLlmUsageUnavailable, isLocalLLMEnabled, isLtiPlaceholderEmail, isPlatformNavbarCreditBalanceVisible, isSlashCommandToken, isTauriApp, isUntrustedOpaqueSender, isValidTimeZone, isValidVariableName, latexToReadableText, llmUsageDateArgs, lmsCoursePath, localModelDisplayName, components as markdownComponents, migrateNodeData, migrateWorkflowDefinition, modelSupportsCowork, newClassifierData, onboardingPrimaryButtonClass, onboardingSecondaryButtonClass, parseIssuedOn, parseVariableDefault, placeholderSources, previewPlan, publicCertificatePath, publicCertificateUrl, readUserOnboardingForm, readUserOnboardingSubmission, readUserOnboardingSubmissions, reconcileClassifierEdges, reindexConditionEdges, resolveAuditTimeZone, resolveBinaryMimeType, resolveCreateAgentLabels, resolveEffectiveFileExtension, resolveUserIdentity, sanitizeCss, sanitizeFilename, sealLines, setCoworkEnabled, setLocalLLMEnabled, setLocalLLMModel, setLocalLLMToolSupport, shouldUseBinaryCanvas, smallestCoworkModel, startVariableDefaults, stepHasResult, stepPlaceholder, stepsBefore, summarizeTranscriptTurns, tenantLogo, toChatPrivacyActionError, toFileReference, toRetrievedDocuments, toToolCallInfos, useAccessibility, useAgentSettingsLauncher, useAnalyticsGlobalFilters, useAnalyticsScope, useAnalyticsSettings, useAuditLog, useCatalogSearch, useChartFilters, useChatPrivacy, useChatState, useCourseDetail, useCourseMetadata, useCourses, useCreateAgentFieldPermissions, useCredentialsSchemaLogos, useCuaDriver, useDiscover, useDraggablePosition, useEdxIframe, useFinancial, useIframeMessageHandler, useLlmDisplayName, useLlmProviderCatalogue, useLlmTraces, useLlmUsage, useLocalStorage, useMasterAgentToggle, useMemory, useModelDownload, useMonetization, useOverview, usePlatformAuditLabels, usePlatformAuditLog, useProfileActivityStats, useProfileCredentials, useProfilePathways, useProfilePrograms, useProfileSkills, useProfileTimeSpent, usePrograms, usePublicCertificate, useReports, useScopedMentorDbId, useScopedMentorId, useSelectedLocalModel, useSessionCanvases, useSlashSkillPicker, useSlashSkills, useT, useTauri, useTenantLogo, useTimeTracking, useTopics, useTranscripts, useUserCourses, useUserMetadata, useUsers, useWebContainersI18n, useWebContainersLocale, useYourActivity, variablePlaceholder, withCategoryLabel, withoutNoteConnectivityWarnings };
7620
- export type { AccessibilityContextType, AccessibilityFabProps, AccessibilitySettings, AccessibilityToolbarProps, ActivityStats, AddSkillDialogProps, AddSkillDialogResultRow, AgentPromptDefaults, AgentScopeLinkProps, AgentSettingsLauncherValue, AgentSettingsLinkProps, AgentSettingsTarget, AnalyticsAgentPickerProps, AnalyticsChartPoint, AnalyticsControlBarProps, AnalyticsDataSource, AnalyticsMemoryStatsProps, AnalyticsNoticeTone, AnalyticsPlatformAuditLogProps, AnalyticsScopeValue, AnalyticsScopedMentor, AnalyticsSettings, AnalyticsTracesProps, ApiTabProps, ApplyWizardProps, AuditLogDateRange, AuditLogJsonViewProps, AuditLogScope, AvailablePlacementExam, CanvasDialogProps, CanvasMarkdownEngine, CanvasViewProps, CatalogSearchParams, CategorizedDropdownAction, CategorizedDropdownMenuProps, CategorizedItem, CategoryConfig, CertificateFaceProps, CertificateShareParams, CertificateSignatory, ChartDateRange, ChartFilters, ChatContextValue, ChatPrivacyAction, ChatPrivacyActionError, ChatPrivacyToggleProps, ChatProviderProps, ClassifierAnswerType, ClassifierBranch, ClassifierBranchKind, ClassifierCategory, ClassifierExample, ClassifierHistory, ClassifierLevel, ClassifierTryOutcome, ClassifierWhenUnsure, Condition, ContactAdminModalProps, ConversationSentimentLabels, ConversationSentimentProps, ConversationTitleSource, ConversationTopicsProps, CourseAccessGuardProps, CourseAssignmentPolicy, CourseCertificateData, CourseCompletion, CourseCompletionData, CourseCompletionSummary, CourseEdxData, CourseEligibility, CourseFacet, CourseFacetTerm, CourseGrade, CourseGradingPolicy, CourseInfoLoadingState, CourseInstructor, CourseInstructorInfo, CourseOutlineChildNode, CourseOutlineContextType, CourseOutlineNode, CourseOutlineResponse, CourseProgress, CourseSectionScore, CourseSubsection, CourseVerificationData, CreateAgentFormProps, CreateAgentFormValues, CreateAgentInitialValues, CreateAgentLabels, CreateAgentModalProps, CreateAgentOption, CreateAgentWizardProps, CreateAgentWizardStep, CreateAgentWizardStepArgs, CreateProjectModalProps, CreatedAgent, CredentialBoxProps, CuaDriverInstallProgress, CuaDriverInstallState, CuaDriverStatus, DefaultEmptyBoxProps, DeleteProjectModalProps, DiscoverContent, DiscoverContentCardComponentProps, DiscoverContentCardProps, DiskSpaceError, DocumentSidebarProps, DownloadProgress, DraggableAnchor, DraggableCorner, DraggablePosition, DraggableSide, EducationBoxProps, EdxIframeContextValue, EdxOutlineNodeLike, ExperienceBoxProps, FacetFilterContextValue, FlatVerticalBlock, FooterProps, GenericPagination, GroupOption, HostPortChipInputProps, HtmlPreviewConfig, InstallationLog, InviteUserContentProps, LlmModelBadgeProps, LlmProviderDetails, LocalLLMTabProps, LocalModel, LocalModelsContentProps, LoginButtonProps, MarkdownMenuItem, MasterAgentPanelProps, MasterAgentProps, MasterAgentProviderProps, MathSegment, McpConnector, McpServersMenuProps, MemoryAggregates, MemoryCategoryBreakdown, MemoryDateRange, MemoryRow, MemoryScope, ModelDownloadState, NodeConfig, NodeTypeItem, NodeTypeSection, Notification, NotificationDisplayProps, NotificationDropdownProps, OllamaStatus, OnboardingAgentEmbed, OnboardingAnswers, OnboardingFinalStepContext, OnboardingSector, OnboardingStepHeader, OnboardingWizardProps, ParsedDefault, PlacedCanvas, PlacementExamProps, PlatformAuditDateRange, PlatformAuditFilters, PlatformAuditLabels, PlatformNavbarActivityConfig, PlatformNavbarCreditBalanceConfig, PlatformNavbarNotificationsConfig, PlatformNavbarPlacementsConfig, PlatformNavbarPrivacyToggleConfig, PlatformNavbarProps, PlatformNavbarSearchConfig, PreviewKind, PreviewPlan, PrivacyAuditLogModalProps, PrivacyAuditLogProps, PrivacyFlagDetailProps, ProfileCustomization, ProfileTimeChartProps, ProjectsPageProps, PublicCertificate$1 as PublicCertificateData, PublicCertificateProps, RankedBarItem, RenameProjectModalProps, ResolvedUserIdentity, ResumeBoxProps, RetrievedDocument, RetrievedDocumentsButtonProps, SearchedMentor, SecretsTabProps, SelectedLocalModel, SessionCanvasCardsProps, SessionCanvases, SetStateAssignment, SignupButtonProps, SkeletonMultiplierProps, SkillBoxProps, SkillBoxSkill, SkillDetailModalProps, SkillDetailModalSkill, SkillLeaderboardChartProps, SkillsBoxProps, SlashSkillPickerProps, StepReference, SubscriptionTopBannerProps, SummerNoteTextEditorProps, TabEntry, TenantMetadata, TextFileKind, TimeSpent, ToolCallIndicatorProps, TopBannerProps, TranscriptFileCardFile, TranscriptFileReference, TranscriptRollupBadgesProps, TranscriptTurnDetailsProps, TranscriptTurnDetailsSlots, TranscriptTurnDetailsTurn, TranscriptTurnRollup, TransformExpression, UseCourseDetailOptions, UseCreateAgentFieldPermissionsArgs, UseCreateAgentFieldPermissionsResult, UseCredentialsSchemaLogosArgs, UseDiscoverOptions, UseDraggablePositionOptions, UseEdxIframeUrls, UseLlmDisplayNameArgs, UseLlmProviderCatalogueArgs, UseMemoryReturn, UsePlatformAuditLogReturn, UseProfilePathwaysArgs, UseProfileProgramsArgs, UseSessionCanvasesArgs, UseSlashSkillPickerArgs, UseSlashSkillPickerResult, UseSlashSkillsArgs, UseSlashSkillsResult, UseUserCoursesArgs, UserAvatarProps, UserCourseWithMetadata, UserIdentityField, UserIdentityOptions, UserIdentitySource, UserOnboardingAgent, UserOnboardingForm, UserOnboardingSubmission, UserOnboardingSubmissions, UserProfileDialogProps, UserProfileLinkProps, UserSkill, Variable, VirtualMachineAdminTabProps, VirtualMachineNetworkSectionProps, WebContainersI18nProviderProps, WebContainersI18nValue, WorkflowAgentSettingsConfig, YourActivityButtonProps, YourActivityPanelProps };
7636
+ export { ACCESS_COURSE_LABEL, ALL_CATEGORIES, AccessTimeHeatmap, AccessibilityFab, AccessibilityProvider, AccessibilityToolbar, AccessiblePaginate, AddMentorToProjectModal, AddSkillDialog, Admin, AdvancedTab, AgentConfigPrompts, AgentScopeLink, AgentSettingsLauncherProvider, AgentSettingsLink, AgentSkills, AlertsTab, AnalyticsAgentPicker, AnalyticsAreaChart, AnalyticsAuditLogStats, AnalyticsBarChart, AnalyticsControlBar, AnalyticsCourseDetail, AnalyticsCourses, AnalyticsFinancialStats, AnalyticsGlobalFiltersProvider, AnalyticsLayout, AnalyticsLlmUsageStats, AnalyticsMemoryStats, AnalyticsMonetizationStats, AnalyticsNotice, AnalyticsOverview, AnalyticsPlatformAuditLog, AnalyticsProgramDetail, AnalyticsPrograms, AnalyticsReportDownload, AnalyticsReports, AnalyticsScopeProvider, AnalyticsSettingsProvider, AnalyticsTopicsStats, AnalyticsTraces, AnalyticsTranscriptsStats, AnalyticsUsersStats, ApiTab, AppleRestrictionModal, ApplyWizard, AuditLogChangesView, AuditLogJsonView, BUILDER_DEFAULT_INSTRUCTIONS, BUY_NOW_LABEL, BillingTab, CATALOGS, CERTIFICATE_HEIGHT, CERTIFICATE_WIDTH, CHART_ORDINAL_RAMP, CHART_SERIES_COLORS, CHART_SINGLE_SERIES_COLOR, CLASSIFIER_HANDLES, CLASSIFIER_LIMITS, CREATE_AGENT_LABELS, CREATE_AGENT_WIZARD_STEPS, CUA_DRIVER_REPO_URL, CUA_DRIVER_TAURI_COMMANDS, CUA_DRIVER_TAURI_EVENTS, CanvasDialog, CanvasView, CardInfoIcon, CategorizedDropdownMenu, CertificateFace, CertificateThumbnail, ChartCardWrapper, ChartFiltersProvider, ChartLoading, ChartTooltipCard, ChatContext, ChatPrivacyToggle, ChatProvider, CompanyDialog, ConnectorManagementDialog, ContactAdminModal, ConversationSentiment, ConversationTopics, CopyButtonIcon, CourseAccessGuard, CourseCardSkeleton, CourseContentLoading, CourseOutline, CourseOutlineContext, CourseOutlineDrawer, CreateAgentForm, CreateAgentModal, CreateAgentWizard, CreateProjectModal, CreateWorkflowModal, CredentialBox, CredentialMiniBoxSkeleton, CredentialsList, CreditBalance, CustomDateRangePicker, CustomTooltip, DEFAULT_COWORK_REQUIRED_SIZE_GB, DEFAULT_USER_IDENTITY_ORDER, DRAGGABLE_SNAP_TRANSITION, DefaultEmptyBox, DeleteProjectModal, DeleteWorkflowModal, DiscoverContentCard, DiscoverFacetsFilter, DiscoverFilterDrawer, DocumentSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENROLL_NOW_COURSE_STARTING_SOON_LABEL, ENROLL_NOW_LABEL, EXPRESSION_EXAMPLES, EditAlertDialog, EducationBox, EducationDialog, EducationTab, EdxIframeContext, EmptyStats, ExperienceBox, ExperienceDialog, ExperienceTab, FacetFilterContext, FloatingAccessibilityButton, Footer, GradebookTab, GroupsFilterDropdown, HostPortChipInput, IBLAI_DECISION_MODEL, INPUT_PLACEHOLDER, INVITATION_ONLY_LABEL, InstitutionDialog, IntegrationsTab, InviteUserContent, InviteUserDialog, InvitedUsersDialog, ItemMonetization, LOCAL_LLM_CHANGED_EVENT, LOCAL_MODELS, LlmModelBadge, Loader, LocalLLMTab, LocalModelsContent, LoginButton, MACOS_PERMISSIONS_COMMANDS, MEMORY_PAGE_SIZE, Markdown, MasterAgent, MasterAgentPanel, MasterAgentProvider, McpServersMenu, MemoryAdminTab, MinimumMentorAlert, MonetizationTab, NotificationDisplay, NotificationDropdown, ONBOARDING_FIELD_TYPES, ONBOARDING_METADATA_KEY, ONBOARDING_METADATA_VERSION, ONBOARDING_SECTORS, OnboardingField, OnboardingShell, OnboardingWizard, PLATFORM_AUDIT_DEEP_PAGING_THRESHOLD, PLATFORM_AUDIT_PAGE_SIZE, PRIVACY_AUDIT_LOG_DEFAULT_PAGE_SIZE, PaywallModal, PlacementExam, PlacementExamsDropdown, PlatformAuditLogDetailSheet, PlatformNavbar, PlatformNavbarSearch, PrivacyAuditLog, PrivacyAuditLogModal, PrivacyFlagDetail, Profile, ProfileTimeChart, ProgressDots, ProjectActionButtons, ProjectFilesModal, ProjectInstructionsModal, ProjectLandingPage, ProjectMentorsList, ProjectsPage, PublicCertificate, REQUEST_ACCESS_COURSE_STARTING_SOON_LABEL, REQUEST_ACCESS_LABEL, RankedBars, RenameProjectModal, ResumeBox, ResumeTab, RetrievedDocumentsButton, RichTextEditor, SERVICE_COLOR_ORDER, SandboxConfig, ScaledCertificate, SearchableMultiSelect, SecretsTab, SendNotificationDialog, SessionCanvasCards, SignupButton, SkeletonActivityStatBox, SkeletonAddSkillsLoading, SkeletonCreatePathwaySearchList, SkeletonDiscoverFilterBox, SkeletonEducationBox, SkeletonMultiplier, SkeletonPathwayBox, SkeletonProfileInfoCard, SkeletonSkillBox, SkillBox, SkillDetailModal, SkillLeaderboardChart, SkillsBox, SkillsList, SlashSkillPicker, SourceChip, Spinner, StatCard, StepHeader, SubscriptionTopBanner, SummerNoteTextEditor, TAURI_COMMANDS, TAURI_EVENTS, TRACES_PAGE_SIZE, TenantSwitcher, TimeFilter, TimeTrackingProvider, TimedExam, ToolCallIndicator, ToolDialogs, TopBanner, TranscriptFileCards, TranscriptRollupBadges, TranscriptTurnDetails, TrendSparkline, USER_ONBOARDING_FORM_SLUG, USER_ONBOARDING_FORM_VERSION, USER_ONBOARDING_SUBMISSION_SLUG, UpgradePackageModal, UserAvatar, UserOnboardingWizard, UserProfileDialog, UserProfileLink, Version, VirtualMachineAdminTab, VirtualMachineNetworkSection, WHILE_DEFAULT_MAX_ITERATIONS, WHILE_DONE_HANDLE, WHILE_LOOP_HANDLE, WHILE_MAX_ITERATIONS, WebContainersI18nProvider, WorkflowSidebar, YourActivityButton, YourActivityPanel, addBookmarksTab, areChartFiltersEqual, availablePlacementExams, buildOnboardingAgentPath, buildOnboardingMetadata, buildUserOnboardingFormMetadata, buildUserOnboardingSubmissionMetadata, canOpenOrganizationSettings, canReceiveConnection, categoryIdFor, certificateShareUrls, certificateSignatories, chatTextPreview, classifierAnswerType, classifierBranches, coerceOnboardingAgent, coerceOnboardingAgents, coerceUserOnboardingForm, collectVariableUsages, collectWorkflowVariables, colorForRank, colorForSeries, configureCanvasMarkdown, configureHtmlPreview, conversationDocuments, conversationTitle, conversationTopics, describeTextFile, displayPlatformName, downloadBlob, edgeIdFor, emptyUserOnboardingForm, findLastResumeBlock, findMathSegments, findOnboardingAgent, findSequentialParent, firstHumanMessage, flattenVerticalBlocks, formatAuditTimestamp, formatCompactNumber, formatFileSize, formatLatencySeconds, formatResult, formatSessionDate, formatTimeZoneLabel, getCatalog, getConditionCount, getConditions, getFirstAvailableUnit, getFriendlyToolName, getLLMModelDisplayName, getLocalLLMModel, getLocalLLMToolSupport, getNextUnitIframe, getOrg, getParentBlockById, getParentsInfosFromSublessonId, getPreviousUnitIframe, getQueryLabel, getRandomCourseImage, getSectorById, getTenant, getUnitToIframe, getUserId, getUserName, granularityForFilter, hasDistinctName, hasOnboardingContent, headlineStreak, humanizeAuditToken, humanizeFieldName, inBrowserPrint, inIframe, inferProviderKeysFromModel, initialCuaDriverInstallState, initialModelDownloadState, installOpaqueOriginMessageGuard, isAuthoredInstructions, isClassifierType, isCodeFile, isCoworkEnabled, isEmailLike, isFileReference, isLlmUsageForbidden, isLlmUsageUnavailable, isLocalLLMEnabled, isLtiPlaceholderEmail, isPlatformNavbarCreditBalanceVisible, isSlashCommandToken, isTauriApp, isUntrustedOpaqueSender, isValidTimeZone, isValidVariableName, latexToReadableText, llmUsageDateArgs, lmsCoursePath, localModelDisplayName, components as markdownComponents, migrateNodeData, migrateWorkflowDefinition, modelSupportsCowork, newClassifierData, onboardingPrimaryButtonClass, onboardingSecondaryButtonClass, parseIssuedOn, parseVariableDefault, placeholderSources, previewPlan, publicCertificatePath, publicCertificateUrl, readUserOnboardingForm, readUserOnboardingSubmission, readUserOnboardingSubmissions, reconcileClassifierEdges, reindexConditionEdges, resolveAuditTimeZone, resolveBinaryMimeType, resolveCreateAgentLabels, resolveEffectiveFileExtension, resolveUserIdentity, sanitizeCss, sanitizeFilename, sealLines, setCoworkEnabled, setLocalLLMEnabled, setLocalLLMModel, setLocalLLMToolSupport, shouldUseBinaryCanvas, smallestCoworkModel, startVariableDefaults, stepHasResult, stepPlaceholder, stepsBefore, summarizeTranscriptTurns, tenantLogo, toChatPrivacyActionError, toFileReference, toRetrievedDocuments, toToolCallInfos, useAccessibility, useAgentSettingsLauncher, useAnalyticsGlobalFilters, useAnalyticsScope, useAnalyticsSettings, useAuditLog, useCatalogSearch, useChartFilters, useChatPrivacy, useChatState, useCourseDetail, useCourseMetadata, useCourses, useCreateAgentFieldPermissions, useCredentialsSchemaLogos, useCuaDriver, useDiscover, useDraggablePosition, useEdxIframe, useFinancial, useIframeMessageHandler, useLlmDisplayName, useLlmProviderCatalogue, useLlmTraces, useLlmUsage, useLocalStorage, useMasterAgentToggle, useMemory, useModelDownload, useMonetization, useOverview, usePlatformAuditLabels, usePlatformAuditLog, useProfileActivityStats, useProfileCredentials, useProfilePathways, useProfilePrograms, useProfileSkills, useProfileTimeSpent, usePrograms, usePublicCertificate, useReports, useScopedMentorDbId, useScopedMentorId, useSelectedLocalModel, useSessionCanvases, useSlashSkillPicker, useSlashSkills, useT, useTauri, useTenantLogo, useTimeTracking, useTopics, useTranscripts, useUserCourses, useUserMetadata, useUsers, useWebContainersI18n, useWebContainersLocale, useYourActivity, variablePlaceholder, withCategoryLabel, withoutNoteConnectivityWarnings };
7637
+ export type { AccessibilityContextType, AccessibilityFabProps, AccessibilitySettings, AccessibilityToolbarProps, ActivityStats, AddSkillDialogProps, AddSkillDialogResultRow, AgentPromptDefaults, AgentScopeLinkProps, AgentSettingsLauncherValue, AgentSettingsLinkProps, AgentSettingsTarget, AnalyticsAgentPickerProps, AnalyticsChartPoint, AnalyticsControlBarProps, AnalyticsDataSource, AnalyticsMemoryStatsProps, AnalyticsNoticeTone, AnalyticsPlatformAuditLogProps, AnalyticsScopeValue, AnalyticsScopedMentor, AnalyticsSettings, AnalyticsTracesProps, ApiTabProps, ApplyWizardProps, AuditLogDateRange, AuditLogJsonViewProps, AuditLogScope, AvailablePlacementExam, CanvasDialogProps, CanvasMarkdownEngine, CanvasViewProps, CatalogSearchParams, CategorizedDropdownAction, CategorizedDropdownMenuProps, CategorizedItem, CategoryConfig, CertificateFaceProps, CertificateShareParams, CertificateSignatory, ChartDateRange, ChartFilters, ChatContextValue, ChatPrivacyAction, ChatPrivacyActionError, ChatPrivacyToggleProps, ChatProviderProps, ClassifierAnswerType, ClassifierBranch, ClassifierBranchKind, ClassifierCategory, ClassifierExample, ClassifierHistory, ClassifierLevel, ClassifierTryOutcome, ClassifierWhenUnsure, Condition, ContactAdminModalProps, ConversationSentimentLabels, ConversationSentimentProps, ConversationTitleSource, ConversationTopicsProps, CourseAccessGuardProps, CourseAssignmentPolicy, CourseCertificateData, CourseCompletion, CourseCompletionData, CourseCompletionSummary, CourseEdxData, CourseEligibility, CourseFacet, CourseFacetTerm, CourseGrade, CourseGradingPolicy, CourseInfoLoadingState, CourseInstructor, CourseInstructorInfo, CourseOutlineChildNode, CourseOutlineContextType, CourseOutlineNode, CourseOutlineResponse, CourseProgress, CourseSectionScore, CourseSubsection, CourseVerificationData, CreateAgentFormProps, CreateAgentFormValues, CreateAgentInitialValues, CreateAgentLabels, CreateAgentModalProps, CreateAgentOption, CreateAgentWizardProps, CreateAgentWizardStep, CreateAgentWizardStepArgs, CreateProjectModalProps, CreatedAgent, CredentialBoxProps, CuaDriverInstallProgress, CuaDriverInstallState, CuaDriverStatus, DefaultEmptyBoxProps, DeleteProjectModalProps, DiscoverContent, DiscoverContentCardComponentProps, DiscoverContentCardProps, DiskSpaceError, DocumentSidebarProps, DownloadProgress, DraggableAnchor, DraggableCorner, DraggablePosition, DraggableSide, EducationBoxProps, EdxIframeContextValue, EdxOutlineNodeLike, ExperienceBoxProps, FacetFilterContextValue, FlatVerticalBlock, FooterProps, GenericPagination, GroupOption, HostPortChipInputProps, HtmlPreviewConfig, InstallationLog, InviteUserContentProps, ItemMonetizationProps, LlmModelBadgeProps, LlmProviderDetails, LocalLLMTabProps, LocalModel, LocalModelsContentProps, LoginButtonProps, MarkdownMenuItem, MasterAgentPanelProps, MasterAgentProps, MasterAgentProviderProps, MathSegment, McpConnector, McpServersMenuProps, MemoryAggregates, MemoryCategoryBreakdown, MemoryDateRange, MemoryRow, MemoryScope, ModelDownloadState, MonetizableItemType, NodeConfig, NodeTypeItem, NodeTypeSection, Notification, NotificationDisplayProps, NotificationDropdownProps, OllamaStatus, OnboardingAgentEmbed, OnboardingAnswers, OnboardingFinalStepContext, OnboardingSector, OnboardingStepHeader, OnboardingWizardProps, ParsedDefault, PlacedCanvas, PlacementExamProps, PlatformAuditDateRange, PlatformAuditFilters, PlatformAuditLabels, PlatformNavbarActivityConfig, PlatformNavbarCreditBalanceConfig, PlatformNavbarNotificationsConfig, PlatformNavbarPlacementsConfig, PlatformNavbarPrivacyToggleConfig, PlatformNavbarProps, PlatformNavbarSearchConfig, PreviewKind, PreviewPlan, PrivacyAuditLogModalProps, PrivacyAuditLogProps, PrivacyFlagDetailProps, ProfileCustomization, ProfileTimeChartProps, ProjectsPageProps, PublicCertificate$1 as PublicCertificateData, PublicCertificateProps, RankedBarItem, RenameProjectModalProps, ResolvedUserIdentity, ResumeBoxProps, RetrievedDocument, RetrievedDocumentsButtonProps, SearchedMentor, SecretsTabProps, SelectedLocalModel, SessionCanvasCardsProps, SessionCanvases, SetStateAssignment, SignupButtonProps, SkeletonMultiplierProps, SkillBoxProps, SkillBoxSkill, SkillDetailModalProps, SkillDetailModalSkill, SkillLeaderboardChartProps, SkillsBoxProps, SlashSkillPickerProps, StepReference, SubscriptionTopBannerProps, SummerNoteTextEditorProps, TabEntry, TenantMetadata, TextFileKind, TimeSpent, ToolCallIndicatorProps, TopBannerProps, TranscriptFileCardFile, TranscriptFileReference, TranscriptRollupBadgesProps, TranscriptTurnDetailsProps, TranscriptTurnDetailsSlots, TranscriptTurnDetailsTurn, TranscriptTurnRollup, TransformExpression, UseCourseDetailOptions, UseCreateAgentFieldPermissionsArgs, UseCreateAgentFieldPermissionsResult, UseCredentialsSchemaLogosArgs, UseDiscoverOptions, UseDraggablePositionOptions, UseEdxIframeUrls, UseLlmDisplayNameArgs, UseLlmProviderCatalogueArgs, UseMemoryReturn, UsePlatformAuditLogReturn, UseProfilePathwaysArgs, UseProfileProgramsArgs, UseSessionCanvasesArgs, UseSlashSkillPickerArgs, UseSlashSkillPickerResult, UseSlashSkillsArgs, UseSlashSkillsResult, UseUserCoursesArgs, UserAvatarProps, UserCourseWithMetadata, UserIdentityField, UserIdentityOptions, UserIdentitySource, UserOnboardingAgent, UserOnboardingForm, UserOnboardingSubmission, UserOnboardingSubmissions, UserProfileDialogProps, UserProfileLinkProps, UserSkill, Variable, VirtualMachineAdminTabProps, VirtualMachineNetworkSectionProps, WebContainersI18nProviderProps, WebContainersI18nValue, WorkflowAgentSettingsConfig, YourActivityButtonProps, YourActivityPanelProps };
@@ -1387,6 +1387,8 @@ interface SettingsTabLabels {
1387
1387
  discovery: string;
1388
1388
  capabilities: string;
1389
1389
  welcomeScreen: string;
1390
+ /** Shown only when the host passes `monetization`; optional so existing label objects keep compiling. */
1391
+ monetization?: string;
1390
1392
  };
1391
1393
  /** Section headings within the Capabilities sub-tab. */
1392
1394
  sections: {
@@ -1710,8 +1712,15 @@ interface AgentSettingsTabProps {
1710
1712
  * `AGENT_SETTINGS_TAB_LABELS` (the package default).
1711
1713
  */
1712
1714
  labels?: DeepPartial<SettingsTabLabels>;
1715
+ /**
1716
+ * Adds a Monetization sub-tab to put this agent behind a paywall. Pass it only
1717
+ * to users who may sell (tenant `enable_monetization` + `#can_sell_items`).
1718
+ */
1719
+ monetization?: {
1720
+ authURL: string;
1721
+ };
1713
1722
  }
1714
- declare function AgentSettingsTab({ onSuccessfulSave, onSuccessfulDelete, tenants, isLoadingTenants, authUrl, onSuccessfulCopy, labels: labelsOverride, }: AgentSettingsTabProps): react_jsx_runtime.JSX.Element;
1723
+ declare function AgentSettingsTab({ onSuccessfulSave, onSuccessfulDelete, tenants, isLoadingTenants, authUrl, onSuccessfulCopy, labels: labelsOverride, monetization, }: AgentSettingsTabProps): react_jsx_runtime.JSX.Element;
1715
1724
 
1716
1725
  /** Label slice consumed by this modal. */
1717
1726
  type DeleteMentorModalLabels = SettingsTabLabels['deleteModal'];
@@ -2950,6 +2959,22 @@ interface AgentSpendCapsTabProps {
2950
2959
  */
2951
2960
  tenantKey?: string;
2952
2961
  mentorId?: string;
2962
+ /**
2963
+ * Adds a Costs section (the agent's Analytics › Costs view: spend, token
2964
+ * usage, traces) in front of Limits. Pass it only to users who may view
2965
+ * analytics for this agent.
2966
+ */
2967
+ showCosts?: boolean;
2968
+ /**
2969
+ * Adds a Monetization section (paywall + prices for this agent) after
2970
+ * Limits. Pass it only to users who may sell on the tenant.
2971
+ */
2972
+ monetization?: {
2973
+ /** Auth SPA URL; used for the paywall's checkout link and success redirect. */
2974
+ authURL: string;
2975
+ /** Shown until the paywall config returns its own item name. */
2976
+ itemName?: string;
2977
+ };
2953
2978
  /**
2954
2979
  * Extra classes merged onto the tab header / scrollable body. Hosts that
2955
2980
  * embed the tab in a wide dialog (e.g. the tenant Agent Limits popup) use
@@ -2959,14 +2984,18 @@ interface AgentSpendCapsTabProps {
2959
2984
  bodyClassName?: string;
2960
2985
  }
2961
2986
  /**
2962
- * "Billing" tab of the agent settings modal, with two sub-tabs matching the
2963
- * agent-level backend scopes: the agent's own spend limit and per-user limits
2964
- * on this agent (user picked through a platform-user search). The
2965
- * workspace-wide limit is managed in the tenant settings Billing tab instead
2966
- * (`SpendLimitsSection` inside `BillingTab`). Reads/writes the RBAC-gated
2967
- * admin endpoints; a 403 renders a friendly denied state per scope.
2987
+ * "Billing" tab of the agent settings modal. Its Limits section has two
2988
+ * sub-tabs matching the agent-level backend scopes: the agent's own spend
2989
+ * limit and per-user limits on this agent (user picked through a platform-user
2990
+ * search). The workspace-wide limit is managed in the tenant settings Billing
2991
+ * tab instead (`SpendLimitsSection` inside `BillingTab`). Reads/writes the
2992
+ * RBAC-gated admin endpoints; a 403 renders a friendly denied state per scope.
2993
+ *
2994
+ * Hosts can add a Costs section (`showCosts`) and a Monetization section
2995
+ * (`monetization`) around Limits; with neither, the tab is limits-only and
2996
+ * shows no section strip.
2968
2997
  */
2969
- declare function AgentSpendCapsTab({ labels: labelsOverride, tenantKey: tenantKeyProp, mentorId: mentorIdProp, headerClassName, bodyClassName, }: AgentSpendCapsTabProps): react_jsx_runtime.JSX.Element;
2998
+ declare function AgentSpendCapsTab({ labels: labelsOverride, tenantKey: tenantKeyProp, mentorId: mentorIdProp, showCosts, monetization, headerClassName, bodyClassName, }: AgentSpendCapsTabProps): react_jsx_runtime.JSX.Element;
2970
2999
 
2971
3000
  interface SpendCapUsageProps {
2972
3001
  tenantKey: string;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-containers",
3
- "version": "2.6.0",
3
+ "version": "2.8.0",
4
4
  "description": "ibl web containers",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-containers",
3
- "version": "2.7.0",
3
+ "version": "2.9.0",
4
4
  "description": "ibl web containers",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- var jsxRuntime = require('react/jsx-runtime');
4
- var check = require('../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/check.js');
5
-
6
- function WizardStepIndicator({ steps, currentStep, onStepClick, }) {
7
- const currentIndex = steps.findIndex((s) => s.key === currentStep);
8
- return (jsxRuntime.jsx("div", { className: "flex items-center w-full mb-4", children: steps.map((step, i) => {
9
- const isClickable = !!onStepClick;
10
- return (jsxRuntime.jsxs("div", { className: `flex items-center${i > 0 ? ' flex-1' : ''}`, children: [i > 0 && jsxRuntime.jsx("div", { className: "flex-1 h-px bg-gray-300 dark:bg-gray-600 mx-2" }), jsxRuntime.jsxs("button", { type: "button", disabled: !isClickable, onClick: () => onStepClick === null || onStepClick === void 0 ? void 0 : onStepClick(step.key), className: `flex items-center gap-1.5 text-xs font-medium ${isClickable ? 'cursor-pointer hover:opacity-80' : 'cursor-default'} ${i < currentIndex
11
- ? 'text-blue-500'
12
- : i === currentIndex
13
- ? 'text-gray-900 dark:text-gray-100'
14
- : 'text-gray-400'}`, children: [jsxRuntime.jsx("span", { className: `flex items-center justify-center w-5 h-5 rounded-full text-[10px] font-semibold ${i < currentIndex
15
- ? 'bg-blue-100 text-blue-600'
16
- : i === currentIndex
17
- ? 'bg-blue-500 text-white'
18
- : 'bg-gray-200 text-gray-400 dark:bg-gray-700'}`, children: i < currentIndex ? jsxRuntime.jsx(check.default, { className: "h-3 w-3" }) : i + 1 }), step.label] })] }, step.key));
19
- }) }));
20
- }
21
-
22
- module.exports = WizardStepIndicator;
23
- //# sourceMappingURL=wizard-step-indicator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wizard-step-indicator.js","sources":["../../../../../../../../src/components/profile/monetization/wizard-step-indicator.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs","Check"],"mappings":";;;;;AAKc,SAAU,mBAAmB,CAAC,EAC1C,KAAK,EACL,WAAW,EACX,WAAW,GAKZ,EAAA;AACC,IAAA,MAAM,YAAY,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,WAAW,CAAC;AAClE,IAAA,QACEA,cAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,+BAA+B,EAAA,QAAA,EAC3C,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAI;AACrB,YAAA,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW;AACjC,YAAA,QACEC,eAAA,CAAA,KAAA,EAAA,EAAoB,SAAS,EAAE,oBAAoB,CAAC,GAAG,CAAC,GAAG,SAAS,GAAG,EAAE,CAAA,CAAE,EAAA,QAAA,EAAA,CACxE,CAAC,GAAG,CAAC,IAAID,wBAAK,SAAS,EAAC,+CAA+C,EAAA,CAAG,EAC3EC,eAAA,CAAA,QAAA,EAAA,EACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,WAAW,EACtB,OAAO,EAAE,MAAM,WAAW,KAAA,IAAA,IAAX,WAAW,KAAA,MAAA,GAAA,MAAA,GAAX,WAAW,CAAG,IAAI,CAAC,GAAG,CAAC,EACtC,SAAS,EAAE,CAAA,8CAAA,EACT,WAAW,GAAG,iCAAiC,GAAG,gBACpD,CAAA,CAAA,EACE,CAAC,GAAG;AACF,8BAAE;8BACA,CAAC,KAAK;AACN,kCAAE;kCACA,eACR,CAAA,CAAE,EAAA,QAAA,EAAA,CAEFD,cAAA,CAAA,MAAA,EAAA,EACE,SAAS,EAAE,CAAA,gFAAA,EACT,CAAC,GAAG;AACF,sCAAE;sCACA,CAAC,KAAK;AACN,0CAAE;AACF,0CAAE,4CACR,CAAA,CAAE,EAAA,QAAA,EAED,CAAC,GAAG,YAAY,GAAGA,cAAA,CAACE,aAAK,EAAA,EAAC,SAAS,EAAC,SAAS,EAAA,CAAG,GAAG,CAAC,GAAG,CAAC,EAAA,CACpD,EACN,IAAI,CAAC,KAAK,CAAA,EAAA,CACJ,KA5BD,IAAI,CAAC,GAAG,CA6BZ;QAEV,CAAC,CAAC,EAAA,CACE;AAEV;;;;"}
@@ -1,21 +0,0 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
2
- import Check from '../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/check.js';
3
-
4
- function WizardStepIndicator({ steps, currentStep, onStepClick, }) {
5
- const currentIndex = steps.findIndex((s) => s.key === currentStep);
6
- return (jsx("div", { className: "flex items-center w-full mb-4", children: steps.map((step, i) => {
7
- const isClickable = !!onStepClick;
8
- return (jsxs("div", { className: `flex items-center${i > 0 ? ' flex-1' : ''}`, children: [i > 0 && jsx("div", { className: "flex-1 h-px bg-gray-300 dark:bg-gray-600 mx-2" }), jsxs("button", { type: "button", disabled: !isClickable, onClick: () => onStepClick === null || onStepClick === void 0 ? void 0 : onStepClick(step.key), className: `flex items-center gap-1.5 text-xs font-medium ${isClickable ? 'cursor-pointer hover:opacity-80' : 'cursor-default'} ${i < currentIndex
9
- ? 'text-blue-500'
10
- : i === currentIndex
11
- ? 'text-gray-900 dark:text-gray-100'
12
- : 'text-gray-400'}`, children: [jsx("span", { className: `flex items-center justify-center w-5 h-5 rounded-full text-[10px] font-semibold ${i < currentIndex
13
- ? 'bg-blue-100 text-blue-600'
14
- : i === currentIndex
15
- ? 'bg-blue-500 text-white'
16
- : 'bg-gray-200 text-gray-400 dark:bg-gray-700'}`, children: i < currentIndex ? jsx(Check, { className: "h-3 w-3" }) : i + 1 }), step.label] })] }, step.key));
17
- }) }));
18
- }
19
-
20
- export { WizardStepIndicator as default };
21
- //# sourceMappingURL=wizard-step-indicator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wizard-step-indicator.js","sources":["../../../../../../../../src/components/profile/monetization/wizard-step-indicator.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;AAKc,SAAU,mBAAmB,CAAC,EAC1C,KAAK,EACL,WAAW,EACX,WAAW,GAKZ,EAAA;AACC,IAAA,MAAM,YAAY,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,WAAW,CAAC;AAClE,IAAA,QACEA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,+BAA+B,EAAA,QAAA,EAC3C,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAI;AACrB,YAAA,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW;AACjC,YAAA,QACEC,IAAA,CAAA,KAAA,EAAA,EAAoB,SAAS,EAAE,oBAAoB,CAAC,GAAG,CAAC,GAAG,SAAS,GAAG,EAAE,CAAA,CAAE,EAAA,QAAA,EAAA,CACxE,CAAC,GAAG,CAAC,IAAID,aAAK,SAAS,EAAC,+CAA+C,EAAA,CAAG,EAC3EC,IAAA,CAAA,QAAA,EAAA,EACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,WAAW,EACtB,OAAO,EAAE,MAAM,WAAW,KAAA,IAAA,IAAX,WAAW,KAAA,MAAA,GAAA,MAAA,GAAX,WAAW,CAAG,IAAI,CAAC,GAAG,CAAC,EACtC,SAAS,EAAE,CAAA,8CAAA,EACT,WAAW,GAAG,iCAAiC,GAAG,gBACpD,CAAA,CAAA,EACE,CAAC,GAAG;AACF,8BAAE;8BACA,CAAC,KAAK;AACN,kCAAE;kCACA,eACR,CAAA,CAAE,EAAA,QAAA,EAAA,CAEFD,GAAA,CAAA,MAAA,EAAA,EACE,SAAS,EAAE,CAAA,gFAAA,EACT,CAAC,GAAG;AACF,sCAAE;sCACA,CAAC,KAAK;AACN,0CAAE;AACF,0CAAE,4CACR,CAAA,CAAE,EAAA,QAAA,EAED,CAAC,GAAG,YAAY,GAAGA,GAAA,CAAC,KAAK,EAAA,EAAC,SAAS,EAAC,SAAS,EAAA,CAAG,GAAG,CAAC,GAAG,CAAC,EAAA,CACpD,EACN,IAAI,CAAC,KAAK,CAAA,EAAA,CACJ,KA5BD,IAAI,CAAC,GAAG,CA6BZ;QAEV,CAAC,CAAC,EAAA,CACE;AAEV;;;;"}