@mcp-b/react-components 0.56.1 → 0.56.2
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.
- package/dist/{AgentActivity-Cc_oDYum.d.ts → AgentActivity-DSObWhDU.d.ts} +3 -9
- package/dist/{AgentChatQueue-MrHhV901.d.ts → AgentChatQueue-CGR4hd7D.d.ts} +2 -9
- package/dist/{AgentMessageParts-C7L-Mv9U.d.ts → AgentMessageParts-BtWwiE4f.d.ts} +1 -6
- package/dist/{AgentToolRunsContext-DT50htHj.d.ts → AgentToolRunsContext-DniwGn96.d.ts} +1 -5
- package/dist/{AppTopBar-CVkLRdk7.d.ts → AppTopBar-DwzydmXu.d.ts} +8 -43
- package/dist/{Avatar-o2NO1fCG.d.ts → Avatar-t1YRzdwB.d.ts} +7 -30
- package/dist/{Button-DjONW5UW.d.ts → Button-ClRxb8tM.d.ts} +4 -17
- package/dist/{CodeBlock-DJ99TQWy.d.ts → CodeBlock-CPotpyyM.d.ts} +16 -72
- package/dist/{CodeBlock-Bl-q7wMc.js → CodeBlock-Dw1z6jc8.js} +1 -1
- package/dist/{Correspondent-7K6uNLUm.d.ts → Correspondent-ANkZHGEa.d.ts} +1 -5
- package/dist/{Dialog-88GF7_Th.d.ts → Dialog-D5AVE3IN.d.ts} +9 -49
- package/dist/{EmployeeChrome-B7Gt2Hpk.d.ts → EmployeeChrome-CN99SVfF.d.ts} +15 -59
- package/dist/{FileTree-DruTQ-oa.js → FileTree-D61EeWRU.js} +1 -2
- package/dist/{Form-CM7GNTwR.d.ts → Form-DIpgCZ2V.d.ts} +3 -7
- package/dist/{IconButton-CAlFVb2L.d.ts → IconButton-43ggXEuf.d.ts} +4 -14
- package/dist/{ManagerOffice-CMJ7laGe.js → ManagerOffice-CJwBAEMv.js} +4 -4
- package/dist/McpConnectorForm-BPWCo9bU.d.ts +35 -0
- package/dist/{McpPluginCatalog-DNeHDrts.d.ts → McpPluginCatalog-uSh0gGeY.d.ts} +5 -32
- package/dist/{Menu-CgfUZhZd.d.ts → Menu-FA4P6KrA.d.ts} +18 -87
- package/dist/{Message-COsMPZSC.d.ts → Message-CwCqa90H.d.ts} +20 -116
- package/dist/{MessageScrollerVirtual-D4afYwVB.d.ts → MessageScrollerVirtual-DVQeEkNy.d.ts} +2 -16
- package/dist/{Popover-CgHG5DtS.d.ts → Popover-BtAR4Tn8.d.ts} +12 -54
- package/dist/{PromptInput-DGPrCTPl.d.ts → PromptInput-C3adKglc.d.ts} +35 -243
- package/dist/{PromptInputApproval-D2hpn54U.d.ts → PromptInputApproval-C6KvCOMZ.d.ts} +2 -17
- package/dist/{ResponsiveSidebarShell-BUBQa_IV.d.ts → ResponsiveSidebarShell-DoZlSP30.d.ts} +4 -20
- package/dist/{Select-RrceeEIe.d.ts → Select-CEzSA672.d.ts} +16 -86
- package/dist/{Separator-CzhtLYE1.d.ts → Separator-CYWGW1tr.d.ts} +1 -8
- package/dist/{SetupChecklist-BiWQkKEq.js → SetupChecklist-DWyifWWg.js} +2 -2
- package/dist/{Tabs-Ptrbaynh.d.ts → Tabs-BYs-RgJ7.d.ts} +5 -33
- package/dist/{ThinkChatActivity-B6dh3n0-.d.ts → ThinkChatActivity-BkGjTY4r.d.ts} +6 -18
- package/dist/{ThinkChatActivitySummary-BtBQgMg6.d.ts → ThinkChatActivitySummary-DZVy3uQV.d.ts} +2 -3
- package/dist/{ThinkChatContext-COIgzkYp.d.ts → ThinkChatContext-DQ6M2VlJ.d.ts} +0 -1
- package/dist/{ThinkChatToolParts-D4qcnnxt.d.ts → ThinkChatToolParts-BucHi63O.d.ts} +1 -2
- package/dist/{ThinkExecutionRun-k8bpyXqt.d.ts → ThinkExecutionRun-CPeYVneQ.d.ts} +0 -1
- package/dist/{ThinkRoutine-Cb1DdaHa.d.ts → ThinkRoutine-DGlKJbIy.d.ts} +1 -2
- package/dist/{ThinkThreadPicker-DX0lL-P7.d.ts → ThinkThreadPicker-BmIZmpae.d.ts} +4 -19
- package/dist/{Toolbar-CGY004u0.d.ts → Toolbar-Dcn4IszI.d.ts} +8 -34
- package/dist/{Workspace-mzMZSdts.d.ts → Workspace-Cr-aGDfx.d.ts} +3 -19
- package/dist/{WorkspaceFile-19WP0EU1.d.ts → WorkspaceFile-DiwiJEwO.d.ts} +3 -3
- package/dist/{WorkspaceFileView-DXgTljKV.js → WorkspaceFileView-DCvGBsI1.js} +7 -6
- package/dist/{WorkspaceLink-BYZG-V_I.js → WorkspaceLink-BeFAXpbI.js} +14 -13
- package/dist/{WorkspaceLink-Bh9-Jo1r.d.ts → WorkspaceLink-Buo6gKj2.d.ts} +3 -23
- package/dist/{WorkspaceMessageResponse-BApg8KZv.d.ts → WorkspaceMessageResponse-D8FGgIQU.d.ts} +3 -12
- package/dist/{WorkspaceMessageResponse-CUJk9_P5.js → WorkspaceMessageResponse-DnsdpaGU.js} +1 -1
- package/dist/{WorkspaceMountManager-CkLI1B-G.d.ts → WorkspaceMountManager-DM384Cn6.d.ts} +1 -11
- package/dist/{codex-model-catalog-BBN_gWcc.d.ts → codex-model-catalog-CBWDdQl7.d.ts} +4 -2
- package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.d.ts +41 -89
- package/dist/components/agents-sdk/AgentChat.js +10 -9
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentEvent.d.ts +5 -13
- package/dist/components/agents-sdk/AgentEvent.js +1 -1
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +1 -1
- package/dist/components/agents-sdk/BrowserLiveScreen.d.ts +12 -24
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +9 -8
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.d.ts +5 -12
- package/dist/components/agents-sdk/BrowserReplay.js +2 -2
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +4 -6
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/DiscordConnectionDialog.d.ts +3 -11
- package/dist/components/agents-sdk/EmployeeApp.d.ts +9 -30
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -39
- package/dist/components/agents-sdk/EmployeeChat.js +4 -4
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +13 -12
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +5 -16
- package/dist/components/agents-sdk/EmployeeSchedules.js +3 -2
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +9 -17
- package/dist/components/agents-sdk/EmployeeStartScreen.js +3 -3
- package/dist/components/agents-sdk/ManagerAccountActions.d.ts +4 -12
- package/dist/components/agents-sdk/ManagerAccountActions.js +3 -3
- package/dist/components/agents-sdk/ManagerOffice.d.ts +41 -98
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +18 -29
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +2 -2
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +13 -10
- package/dist/components/agents-sdk/McpConnectionRequest.js +3 -3
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +3 -3
- package/dist/components/agents-sdk/McpServerIcon.d.ts +4 -10
- package/dist/components/agents-sdk/McpServerPicker.d.ts +16 -52
- package/dist/components/agents-sdk/McpServerPicker.js +3 -3
- package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +3 -11
- package/dist/components/agents-sdk/ModelSelector.d.ts +46 -134
- package/dist/components/agents-sdk/ModelSelector.js +5 -5
- package/dist/components/agents-sdk/PromptInputApproval.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +5 -7
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SlackConnectionDialog.d.ts +3 -10
- package/dist/components/agents-sdk/SubagentRunDetails.d.ts +12 -37
- package/dist/components/agents-sdk/SubagentRunDetails.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +9 -17
- package/dist/components/agents-sdk/SubagentRunIndicator.js +2 -2
- package/dist/components/agents-sdk/SubagentRunList.d.ts +4 -13
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +7 -19
- package/dist/components/agents-sdk/SubagentRunPanel.js +1 -1
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +6 -16
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +21 -41
- package/dist/components/agents-sdk/ThinkChat.js +3 -2
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +2 -2
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +4 -3
- package/dist/components/agents-sdk/ThinkChatContext.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.d.ts +9 -23
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +11 -8
- package/dist/components/agents-sdk/ThinkChatToolParts.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +4 -12
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +3 -3
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionRun.js +3 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +8 -20
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +20 -57
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +6 -5
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +10 -30
- package/dist/components/agents-sdk/ThinkPendingApproval.d.ts +6 -28
- package/dist/components/agents-sdk/ThinkPendingApproval.js +1 -1
- package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +4 -8
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutine.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +8 -17
- package/dist/components/agents-sdk/ThinkRoutineActions.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +5 -17
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +4 -15
- package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +8 -16
- package/dist/components/agents-sdk/ThinkRoutineForm.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +4 -14
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +3 -10
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +3 -3
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +4 -15
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +10 -18
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +12 -27
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +6 -6
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +18 -32
- package/dist/components/agents-sdk/WorkspaceExecution.js +6 -6
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +8 -11
- package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -3
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +4 -16
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.d.ts +3 -14
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +8 -19
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +3 -2
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +8 -16
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +22 -38
- package/dist/components/agents-sdk/WorkspaceProject.js +5 -5
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +8 -19
- package/dist/components/agents-sdk/WorkspaceUserScript.js +6 -5
- package/dist/components/ai-sdk/Activity.d.ts +21 -90
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentAttention.d.ts +15 -44
- package/dist/components/ai-sdk/AgentChatMessageEditor.d.ts +3 -11
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +15 -54
- package/dist/components/ai-sdk/AgentChatStartScreen.js +12 -11
- package/dist/components/ai-sdk/AgentChatTurnError.d.ts +3 -8
- package/dist/components/ai-sdk/AgentMessageParts.d.ts +1 -1
- package/dist/components/ai-sdk/AgentMessageParts.js +4 -2
- package/dist/components/ai-sdk/Approval.d.ts +20 -56
- package/dist/components/ai-sdk/Approval.js +2 -2
- package/dist/components/ai-sdk/Artifact.d.ts +23 -73
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.d.ts +19 -62
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.d.ts +13 -40
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.d.ts +6 -17
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +20 -60
- package/dist/components/ai-sdk/ConnectedAppCards.js +3 -3
- package/dist/components/ai-sdk/Context.d.ts +27 -65
- package/dist/components/ai-sdk/Context.js +2 -2
- package/dist/components/ai-sdk/Conversation.d.ts +16 -50
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Correspondent.d.ts +1 -1
- package/dist/components/ai-sdk/ExpansionState.d.ts +6 -11
- package/dist/components/ai-sdk/Goal.d.ts +20 -61
- package/dist/components/ai-sdk/Goal.js +2 -2
- package/dist/components/ai-sdk/InlineCitation.d.ts +11 -30
- package/dist/components/ai-sdk/InlineCitation.js +8 -7
- package/dist/components/ai-sdk/MediaPreviewCard.d.ts +15 -53
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +3 -3
- package/dist/components/ai-sdk/MessageScroller.d.ts +14 -42
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.d.ts +32 -95
- package/dist/components/ai-sdk/Plan.js +4 -3
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +7 -7
- package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +5 -19
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +1 -1
- package/dist/components/ai-sdk/Queue.d.ts +39 -130
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.d.ts +10 -32
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.d.ts +11 -35
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.d.ts +13 -41
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/ai-sdk/ToolApproval.d.ts +3 -14
- package/dist/components/ai-sdk/ToolInvocation.d.ts +3 -9
- package/dist/components/ai-sdk/ToolInvocation.js +2 -4
- package/dist/components/ai-sdk/ToolPart.d.ts +5 -7
- package/dist/components/extension/ChatGptSignInScreen.d.ts +6 -20
- package/dist/components/extension/ChatGptSignInScreen.js +1 -1
- package/dist/components/extension/CodexModelSelector.d.ts +5 -22
- package/dist/components/extension/CodexModelSelector.js +3 -3
- package/dist/components/extension/ConversationTabPicker.d.ts +5 -10
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/foundations/Accordion.d.ts +12 -34
- package/dist/components/foundations/AlertDialog.d.ts +24 -72
- package/dist/components/foundations/AlertDialog.js +6 -3
- package/dist/components/foundations/AppIcon.d.ts +15 -37
- package/dist/components/foundations/Autocomplete.d.ts +13 -59
- package/dist/components/foundations/Avatar.d.ts +1 -1
- package/dist/components/foundations/Avatar.js +4 -2
- package/dist/components/foundations/Button.d.ts +1 -1
- package/dist/components/foundations/Card.d.ts +15 -54
- package/dist/components/foundations/Checkbox.d.ts +5 -15
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/CheckboxGroup.d.ts +14 -44
- package/dist/components/foundations/CheckboxGroup.js +14 -7
- package/dist/components/foundations/Collapsible.d.ts +10 -26
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/Combobox.d.ts +13 -59
- package/dist/components/foundations/ContextMenu.d.ts +31 -93
- package/dist/components/foundations/ContextMenu.js +3 -2
- package/dist/components/foundations/DescriptionList.d.ts +6 -26
- package/dist/components/foundations/Dialog.d.ts +1 -1
- package/dist/components/foundations/Dialog.js +4 -2
- package/dist/components/foundations/EmptyState.d.ts +5 -14
- package/dist/components/foundations/Field.d.ts +29 -84
- package/dist/components/foundations/Fieldset.d.ts +10 -24
- package/dist/components/foundations/Fieldset.js +2 -1
- package/dist/components/foundations/Form.d.ts +1 -1
- package/dist/components/foundations/Form.js +2 -1
- package/dist/components/foundations/FormattedDate.d.ts +3 -7
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/Input.d.ts +3 -9
- package/dist/components/foundations/Input.js +2 -1
- package/dist/components/foundations/Kbd.d.ts +3 -10
- package/dist/components/foundations/Label.d.ts +5 -12
- package/dist/components/foundations/Label.js +2 -1
- package/dist/components/foundations/LinkButton.d.ts +10 -17
- package/dist/components/foundations/Marker.d.ts +10 -29
- package/dist/components/foundations/Menu.d.ts +1 -1
- package/dist/components/foundations/Menu.js +2 -1
- package/dist/components/foundations/Menubar.d.ts +35 -101
- package/dist/components/foundations/Menubar.js +5 -3
- package/dist/components/foundations/Meter.d.ts +14 -35
- package/dist/components/foundations/NavigationMenu.d.ts +25 -71
- package/dist/components/foundations/NumberField.d.ts +16 -41
- package/dist/components/foundations/Popover.d.ts +1 -1
- package/dist/components/foundations/Popover.js +2 -1
- package/dist/components/foundations/PreviewCard.d.ts +16 -42
- package/dist/components/foundations/Progress.d.ts +9 -24
- package/dist/components/foundations/RadioGroup.d.ts +9 -24
- package/dist/components/foundations/RadioGroup.js +2 -1
- package/dist/components/foundations/ScrollArea.d.ts +16 -42
- package/dist/components/foundations/SearchField.d.ts +10 -23
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.d.ts +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Separator.d.ts +1 -1
- package/dist/components/foundations/Slider.d.ts +16 -46
- package/dist/components/foundations/Stepper.d.ts +31 -91
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Switch.d.ts +6 -17
- package/dist/components/foundations/Tabs.d.ts +1 -1
- package/dist/components/foundations/Textarea.d.ts +5 -11
- package/dist/components/foundations/ThemeProvider.d.ts +5 -13
- package/dist/components/foundations/Toast.d.ts +19 -51
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/Toggle.d.ts +7 -18
- package/dist/components/foundations/Toggle.js +5 -4
- package/dist/components/foundations/ToggleGroup.d.ts +11 -26
- package/dist/components/foundations/Toolbar.d.ts +1 -1
- package/dist/components/foundations/Tooltip.d.ts +16 -43
- package/dist/components/foundations/TransitionSurface.d.ts +6 -12
- package/dist/components/foundations/icons.d.ts +1 -1
- package/dist/components/foundations/icons.js +1 -1
- package/dist/components/general-purpose/AccountSignInDialog.d.ts +3 -10
- package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
- package/dist/components/general-purpose/ActionGuide.d.ts +14 -47
- package/dist/components/general-purpose/AppFrame.d.ts +4 -14
- package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
- package/dist/components/general-purpose/BrandLoading.d.ts +3 -7
- package/dist/components/general-purpose/Commit.d.ts +48 -156
- package/dist/components/general-purpose/Commit.js +4 -3
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +27 -93
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.d.ts +15 -62
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/NotificationPrompt.d.ts +2 -7
- package/dist/components/general-purpose/Pricing.d.ts +10 -11
- package/dist/components/general-purpose/PricingBillingToggle.d.ts +3 -11
- package/dist/components/general-purpose/PricingConfirmationDialog.d.ts +3 -13
- package/dist/components/general-purpose/PricingFAQ.d.ts +3 -9
- package/dist/components/general-purpose/PricingPage.d.ts +3 -30
- package/dist/components/general-purpose/PricingPage.js +2 -1
- package/dist/components/general-purpose/PricingPlanCard.d.ts +4 -12
- package/dist/components/general-purpose/PricingPlanCard.js +2 -2
- package/dist/components/general-purpose/PricingUsageCalculator.d.ts +3 -11
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResizableSidePanel.d.ts +10 -33
- package/dist/components/general-purpose/ResizableSidePanel.js +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +5 -13
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.d.ts +6 -18
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/StatusScreen.d.ts +5 -13
- package/dist/components/general-purpose/Terminal.d.ts +22 -67
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.d.ts +39 -137
- package/dist/components/general-purpose/TestResults.js +7 -6
- package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -10
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WebPreview.d.ts +23 -76
- package/dist/components/general-purpose/WebPreview.js +2 -2
- package/dist/components/nanites/AgentConnection.d.ts +11 -35
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.d.ts +8 -27
- package/dist/components/nanites/AgentToolDetail.js +6 -5
- package/dist/components/nanites/GithubMotionMark.d.ts +2 -6
- package/dist/components/nanites/GithubMotionMark.js +2 -1
- package/dist/components/nanites/NaniteScene.d.ts +16 -19
- package/dist/components/nanites/NaniteScene.js +9 -8
- package/dist/{copy-button-CJYYgCIU.d.ts → copy-button-BIfY5M-D.d.ts} +1 -2
- package/dist/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
- package/dist/{format-COCyV98Z.js → format-CWaZEp5o.js} +1 -1
- package/dist/icons-CUuD7iEh.d.ts +73 -0
- package/dist/{mcp-server-catalog-D9p4gGeJ.d.ts → mcp-server-catalog-DgA9BnL0.d.ts} +0 -1
- package/dist/{progress-ring-Cgii90dC.js → progress-ring-L2bbF0ji.js} +1 -1
- package/dist/styles/app-top-bar.css +2 -2
- package/dist/styles/recipes.css +19 -19
- package/dist/utils/codex-model-catalog.d.ts +1 -1
- package/dist/utils/composer-link.d.ts +24 -25
- package/dist/utils/favicon.d.ts +3 -4
- package/dist/utils/mcp-server-catalog.d.ts +1 -1
- package/dist/utils/structured-code.d.ts +4 -6
- package/dist/utils/theme.d.ts +11 -12
- package/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-C3QT6UlQ.js} +1 -1
- package/package.json +37 -37
- package/dist/McpConnectorForm--HB0MEGC.d.ts +0 -39
- package/dist/icons-CCZGYUwU.d.ts +0 -299
- package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
2
|
-
import { E as IconProps } from "../../icons-
|
|
2
|
+
import { E as IconProps } from "../../icons-CUuD7iEh.js";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/ai-sdk/ChainOfThought.d.ts
|
|
6
|
-
interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {}
|
|
5
|
+
export interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {}
|
|
7
6
|
/**
|
|
8
7
|
* A collapsible display of an AI's step-by-step reasoning trace. Compose
|
|
9
8
|
* ChainOfThoughtHeader with ChainOfThoughtContent, then nest
|
|
@@ -29,39 +28,26 @@ interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsib
|
|
|
29
28
|
* </ChainOfThought>
|
|
30
29
|
* ```
|
|
31
30
|
*/
|
|
32
|
-
declare function ChainOfThought({
|
|
33
|
-
|
|
34
|
-
ref
|
|
35
|
-
...props
|
|
36
|
-
}: ChainOfThoughtProps & {
|
|
37
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
31
|
+
export declare function ChainOfThought({ className, ref, ...props }: ChainOfThoughtProps & {
|
|
32
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
33
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
38
34
|
}): React.JSX.Element;
|
|
39
|
-
interface ChainOfThoughtHeaderProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, "unstyled"> {}
|
|
35
|
+
export interface ChainOfThoughtHeaderProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, "unstyled"> {}
|
|
40
36
|
/**
|
|
41
37
|
* Clickable header row that toggles the reasoning trace.
|
|
42
38
|
*/
|
|
43
|
-
declare function ChainOfThoughtHeader({
|
|
44
|
-
className,
|
|
45
|
-
children,
|
|
46
|
-
ref,
|
|
47
|
-
...props
|
|
48
|
-
}: ChainOfThoughtHeaderProps & {
|
|
39
|
+
export declare function ChainOfThoughtHeader({ className, children, ref, ...props }: ChainOfThoughtHeaderProps & {
|
|
49
40
|
ref?: React.Ref<HTMLButtonElement>;
|
|
50
41
|
}): React.JSX.Element;
|
|
51
|
-
interface ChainOfThoughtContentProps extends Omit<React.ComponentProps<typeof Collapsible.Panel>, "unstyled"> {}
|
|
42
|
+
export interface ChainOfThoughtContentProps extends Omit<React.ComponentProps<typeof Collapsible.Panel>, "unstyled"> {}
|
|
52
43
|
/**
|
|
53
44
|
* Collapsible panel containing step rows.
|
|
54
45
|
*/
|
|
55
|
-
declare function ChainOfThoughtContent({
|
|
56
|
-
className,
|
|
57
|
-
children,
|
|
58
|
-
ref,
|
|
59
|
-
...props
|
|
60
|
-
}: ChainOfThoughtContentProps & {
|
|
46
|
+
export declare function ChainOfThoughtContent({ className, children, ref, ...props }: ChainOfThoughtContentProps & {
|
|
61
47
|
ref?: React.Ref<HTMLDivElement>;
|
|
62
48
|
}): React.JSX.Element;
|
|
63
|
-
type ChainOfThoughtStepStatus = "pending" | "active" | "complete";
|
|
64
|
-
interface ChainOfThoughtStepProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
49
|
+
export type ChainOfThoughtStepStatus = "pending" | "active" | "complete";
|
|
50
|
+
export interface ChainOfThoughtStepProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
65
51
|
/** Optional icon component rendered instead of the default status icon. */
|
|
66
52
|
icon?: React.ComponentType<IconProps>;
|
|
67
53
|
/** Visual status of this step. */
|
|
@@ -75,47 +61,26 @@ interface ChainOfThoughtStepProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
|
75
61
|
* A single step in the reasoning trace. Shows a status indicator, label,
|
|
76
62
|
* optional description, and any children (e.g. search results).
|
|
77
63
|
*/
|
|
78
|
-
declare function ChainOfThoughtStep({
|
|
79
|
-
className,
|
|
80
|
-
icon: Icon,
|
|
81
|
-
status,
|
|
82
|
-
label,
|
|
83
|
-
description,
|
|
84
|
-
children,
|
|
85
|
-
ref,
|
|
86
|
-
...props
|
|
87
|
-
}: ChainOfThoughtStepProps & {
|
|
64
|
+
export declare function ChainOfThoughtStep({ className, icon: Icon, status, label, description, children, ref, ...props }: ChainOfThoughtStepProps & {
|
|
88
65
|
ref?: React.Ref<HTMLLIElement>;
|
|
89
66
|
}): React.JSX.Element;
|
|
90
|
-
interface ChainOfThoughtSearchResultsProps extends React.HTMLAttributes<HTMLUListElement> {}
|
|
67
|
+
export interface ChainOfThoughtSearchResultsProps extends React.HTMLAttributes<HTMLUListElement> {}
|
|
91
68
|
/**
|
|
92
69
|
* Container for a set of search-result chips displayed inside a step.
|
|
93
70
|
*/
|
|
94
|
-
declare function ChainOfThoughtSearchResults({
|
|
95
|
-
className,
|
|
96
|
-
children,
|
|
97
|
-
ref,
|
|
98
|
-
...props
|
|
99
|
-
}: ChainOfThoughtSearchResultsProps & {
|
|
71
|
+
export declare function ChainOfThoughtSearchResults({ className, children, ref, ...props }: ChainOfThoughtSearchResultsProps & {
|
|
100
72
|
ref?: React.Ref<HTMLUListElement>;
|
|
101
73
|
}): React.JSX.Element;
|
|
102
|
-
interface ChainOfThoughtSearchResultProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "title"> {
|
|
74
|
+
export interface ChainOfThoughtSearchResultProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "title"> {
|
|
103
75
|
title?: React.ReactNode;
|
|
104
76
|
}
|
|
105
77
|
/**
|
|
106
78
|
* A single search-result chip link.
|
|
107
79
|
*/
|
|
108
|
-
declare function ChainOfThoughtSearchResult({
|
|
109
|
-
className,
|
|
110
|
-
children,
|
|
111
|
-
title,
|
|
112
|
-
href,
|
|
113
|
-
ref,
|
|
114
|
-
...props
|
|
115
|
-
}: ChainOfThoughtSearchResultProps & {
|
|
80
|
+
export declare function ChainOfThoughtSearchResult({ className, children, title, href, ref, ...props }: ChainOfThoughtSearchResultProps & {
|
|
116
81
|
ref?: React.Ref<HTMLAnchorElement>;
|
|
117
82
|
}): React.JSX.Element;
|
|
118
|
-
interface ChainOfThoughtImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
83
|
+
export interface ChainOfThoughtImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
119
84
|
/** Optional caption rendered beneath the image. */
|
|
120
85
|
caption?: string;
|
|
121
86
|
}
|
|
@@ -123,15 +88,7 @@ interface ChainOfThoughtImageProps extends React.ImgHTMLAttributes<HTMLImageElem
|
|
|
123
88
|
* An image thumbnail with optional caption, displayed inside a step's
|
|
124
89
|
* children area.
|
|
125
90
|
*/
|
|
126
|
-
declare function ChainOfThoughtImage({
|
|
127
|
-
className,
|
|
128
|
-
children,
|
|
129
|
-
caption,
|
|
130
|
-
alt,
|
|
131
|
-
ref,
|
|
132
|
-
...props
|
|
133
|
-
}: ChainOfThoughtImageProps & {
|
|
91
|
+
export declare function ChainOfThoughtImage({ className, children, caption, alt, ref, ...props }: ChainOfThoughtImageProps & {
|
|
134
92
|
ref?: React.Ref<HTMLImageElement>;
|
|
135
93
|
}): React.JSX.Element;
|
|
136
|
-
//#endregion
|
|
137
|
-
export { ChainOfThought, ChainOfThoughtContent, ChainOfThoughtContentProps, ChainOfThoughtHeader, ChainOfThoughtHeaderProps, ChainOfThoughtImage, ChainOfThoughtImageProps, ChainOfThoughtProps, ChainOfThoughtSearchResult, ChainOfThoughtSearchResultProps, ChainOfThoughtSearchResults, ChainOfThoughtSearchResultsProps, ChainOfThoughtStep, ChainOfThoughtStepProps, ChainOfThoughtStepStatus };
|
|
94
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
+
import { K as SpinnerIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/ChainOfThought.tsx
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { MarkerProps } from "../foundations/Marker.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/ai-sdk/Checkpoint.d.ts
|
|
5
|
-
interface CheckpointProps extends Omit<MarkerProps, "render" | "variant"> {
|
|
4
|
+
export interface CheckpointProps extends Omit<MarkerProps, "render" | "variant"> {
|
|
6
5
|
/** Checkpoint icon, metadata, and optional application-owned actions. */
|
|
7
6
|
children?: React.ReactNode;
|
|
8
7
|
}
|
|
@@ -12,53 +11,27 @@ interface CheckpointProps extends Omit<MarkerProps, "render" | "variant"> {
|
|
|
12
11
|
* Actions are ordinary composed buttons or links; this primitive does not
|
|
13
12
|
* save, restore, resume, or otherwise call an agent transport.
|
|
14
13
|
*/
|
|
15
|
-
declare function Checkpoint({
|
|
16
|
-
className,
|
|
17
|
-
ref,
|
|
18
|
-
...props
|
|
19
|
-
}: CheckpointProps & {
|
|
14
|
+
export declare function Checkpoint({ className, ref, ...props }: CheckpointProps & {
|
|
20
15
|
ref?: React.Ref<HTMLDivElement>;
|
|
21
16
|
}): React.JSX.Element;
|
|
22
|
-
interface CheckpointIconProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
23
|
-
declare function CheckpointIcon({
|
|
24
|
-
children,
|
|
25
|
-
className,
|
|
26
|
-
ref,
|
|
27
|
-
...props
|
|
28
|
-
}: CheckpointIconProps & {
|
|
17
|
+
export interface CheckpointIconProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
18
|
+
export declare function CheckpointIcon({ children, className, ref, ...props }: CheckpointIconProps & {
|
|
29
19
|
ref?: React.Ref<HTMLSpanElement>;
|
|
30
20
|
}): React.JSX.Element;
|
|
31
|
-
interface CheckpointContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
32
|
-
declare function CheckpointContent({
|
|
33
|
-
className,
|
|
34
|
-
ref,
|
|
35
|
-
...props
|
|
36
|
-
}: CheckpointContentProps & {
|
|
21
|
+
export interface CheckpointContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
22
|
+
export declare function CheckpointContent({ className, ref, ...props }: CheckpointContentProps & {
|
|
37
23
|
ref?: React.Ref<HTMLDivElement>;
|
|
38
24
|
}): React.JSX.Element;
|
|
39
|
-
interface CheckpointTitleProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
40
|
-
declare function CheckpointTitle({
|
|
41
|
-
className,
|
|
42
|
-
ref,
|
|
43
|
-
...props
|
|
44
|
-
}: CheckpointTitleProps & {
|
|
25
|
+
export interface CheckpointTitleProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
26
|
+
export declare function CheckpointTitle({ className, ref, ...props }: CheckpointTitleProps & {
|
|
45
27
|
ref?: React.Ref<HTMLSpanElement>;
|
|
46
28
|
}): React.JSX.Element;
|
|
47
|
-
interface CheckpointDescriptionProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
48
|
-
declare function CheckpointDescription({
|
|
49
|
-
className,
|
|
50
|
-
ref,
|
|
51
|
-
...props
|
|
52
|
-
}: CheckpointDescriptionProps & {
|
|
29
|
+
export interface CheckpointDescriptionProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
30
|
+
export declare function CheckpointDescription({ className, ref, ...props }: CheckpointDescriptionProps & {
|
|
53
31
|
ref?: React.Ref<HTMLSpanElement>;
|
|
54
32
|
}): React.JSX.Element;
|
|
55
|
-
interface CheckpointActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
56
|
-
declare function CheckpointActions({
|
|
57
|
-
className,
|
|
58
|
-
ref,
|
|
59
|
-
...props
|
|
60
|
-
}: CheckpointActionsProps & {
|
|
33
|
+
export interface CheckpointActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
34
|
+
export declare function CheckpointActions({ className, ref, ...props }: CheckpointActionsProps & {
|
|
61
35
|
ref?: React.Ref<HTMLDivElement>;
|
|
62
36
|
}): React.JSX.Element;
|
|
63
|
-
//#endregion
|
|
64
|
-
export { Checkpoint, CheckpointActions, CheckpointActionsProps, CheckpointContent, CheckpointContentProps, CheckpointDescription, CheckpointDescriptionProps, CheckpointIcon, CheckpointIconProps, CheckpointProps, CheckpointTitle, CheckpointTitleProps };
|
|
37
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { s as BookmarkIcon } from "../../icons-
|
|
2
|
+
import { s as BookmarkIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Marker, MarkerIcon } from "../foundations/Marker.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-
|
|
1
|
+
import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-CPotpyyM.js";
|
|
2
2
|
export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockActionsProps, CodeBlockContainer, CodeBlockContainerProps, CodeBlockContent, CodeBlockContentProps, CodeBlockCopyButton, CodeBlockCopyButtonProps, CodeBlockFilename, CodeBlockFilenameProps, CodeBlockHeader, CodeBlockHeaderProps, type CodeBlockLanguage, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorContentProps, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorItemProps, CodeBlockLanguageSelectorProps, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorTriggerProps, CodeBlockLanguageSelectorValue, CodeBlockLanguageSelectorValueProps, CodeBlockProps, CodeBlockTitle, CodeBlockTitleProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as CODE_BLOCK_LANGUAGES, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../../CodeBlock-
|
|
1
|
+
import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as CODE_BLOCK_LANGUAGES, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../../CodeBlock-Dw1z6jc8.js";
|
|
2
2
|
export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorValue, CodeBlockTitle };
|
|
@@ -1,30 +1,19 @@
|
|
|
1
1
|
import { ParsedComposerLink } from "../../utils/composer-link.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/ai-sdk/ComposerLink.d.ts
|
|
5
|
-
interface ComposerLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
4
|
+
export interface ComposerLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
6
5
|
href: string;
|
|
7
6
|
icon?: React.ReactNode;
|
|
8
7
|
}
|
|
9
|
-
declare function composerLinkIconSrc(parts: ParsedComposerLink | undefined): string | undefined;
|
|
10
|
-
declare function composerLinkUsesCube(parts: ParsedComposerLink | undefined): boolean;
|
|
11
|
-
declare function composerLinkAccent(parts: ParsedComposerLink | undefined): string | undefined;
|
|
8
|
+
export declare function composerLinkIconSrc(parts: ParsedComposerLink | undefined): string | undefined;
|
|
9
|
+
export declare function composerLinkUsesCube(parts: ParsedComposerLink | undefined): boolean;
|
|
10
|
+
export declare function composerLinkAccent(parts: ParsedComposerLink | undefined): string | undefined;
|
|
12
11
|
/**
|
|
13
12
|
* Inline identity link for composer entities: slash commands, MCP mentions,
|
|
14
13
|
* skills, tabs, and files. The href is the source of truth; the visible node
|
|
15
14
|
* is text plus an optional brand mark, not a button chip.
|
|
16
15
|
*/
|
|
17
|
-
declare function ComposerLink({
|
|
18
|
-
href,
|
|
19
|
-
icon,
|
|
20
|
-
className,
|
|
21
|
-
children,
|
|
22
|
-
onClick,
|
|
23
|
-
style,
|
|
24
|
-
ref,
|
|
25
|
-
...props
|
|
26
|
-
}: ComposerLinkProps & {
|
|
16
|
+
export declare function ComposerLink({ href, icon, className, children, onClick, style, ref, ...props }: ComposerLinkProps & {
|
|
27
17
|
ref?: React.Ref<HTMLAnchorElement>;
|
|
28
18
|
}): React.JSX.Element;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { ComposerLink, ComposerLinkProps, composerLinkAccent, composerLinkIconSrc, composerLinkUsesCube };
|
|
19
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { brandHexFromIconSrc, parseComposerHref, sampleImageAccent } from "../../utils/composer-link.js";
|
|
2
2
|
import { findCatalogMcpServerCard, getMcpServerIconSrc } from "../../utils/mcp-server-catalog.js";
|
|
3
3
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
4
|
-
import { c as BoxIcon } from "../../icons-
|
|
4
|
+
import { c as BoxIcon } from "../../icons-CeGfXO21.js";
|
|
5
5
|
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { t as Correspondent } from "../../Correspondent-
|
|
1
|
+
import { t as Correspondent } from "../../Correspondent-ANkZHGEa.js";
|
|
2
2
|
import { CardProps } from "../foundations/Card.js";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/ai-sdk/ConnectedAppCards.d.ts
|
|
6
|
-
type ConnectedAppCardState = "pending" | "sent" | "denied";
|
|
5
|
+
export type ConnectedAppCardState = "pending" | "sent" | "denied";
|
|
7
6
|
/**
|
|
8
7
|
* Lifecycle of persisting the visible draft. Absent means saved. While a save
|
|
9
8
|
* is in flight or failed the card's release action is disabled, and a failed
|
|
10
9
|
* save is shown inline with its retry affordance — a draft must never release
|
|
11
10
|
* content the backing store does not hold.
|
|
12
11
|
*/
|
|
13
|
-
type ConnectedAppCardSaveState = {
|
|
12
|
+
export type ConnectedAppCardSaveState = {
|
|
14
13
|
status: "saving";
|
|
15
14
|
} | {
|
|
16
15
|
status: "error";
|
|
@@ -18,8 +17,11 @@ type ConnectedAppCardSaveState = {
|
|
|
18
17
|
onRetry?: () => void;
|
|
19
18
|
};
|
|
20
19
|
type ConnectedAppCardProps = Omit<CardProps, "children" | "hover" | "size" | "title" | "onChange"> & {
|
|
21
|
-
/** Lifecycle of the draft. Pending can be edited; sent and denied are settled. */
|
|
22
|
-
|
|
20
|
+
/** Lifecycle of the draft. Pending can be edited; sent and denied are settled. */
|
|
21
|
+
state?: ConnectedAppCardState;
|
|
22
|
+
/** Persistence lifecycle of the visible draft. Absent means saved. */
|
|
23
|
+
saveState?: ConnectedAppCardSaveState;
|
|
24
|
+
/** Optional provider mark. The domain's generic icon is used by default. */
|
|
23
25
|
icon?: React.ReactNode;
|
|
24
26
|
/**
|
|
25
27
|
* File-level controls rendered beside the status in the header, such as Open
|
|
@@ -28,7 +30,7 @@ type ConnectedAppCardProps = Omit<CardProps, "children" | "hover" | "size" | "ti
|
|
|
28
30
|
*/
|
|
29
31
|
headerActions?: React.ReactNode;
|
|
30
32
|
};
|
|
31
|
-
interface EmailMessageDraft {
|
|
33
|
+
export interface EmailMessageDraft {
|
|
32
34
|
/** Sender label or address shown in the draft header. */
|
|
33
35
|
from?: string;
|
|
34
36
|
/** Recipient label or address shown in the draft header. */
|
|
@@ -38,7 +40,7 @@ interface EmailMessageDraft {
|
|
|
38
40
|
/** Editable plain-text message body. */
|
|
39
41
|
body?: string;
|
|
40
42
|
}
|
|
41
|
-
interface EmailMessageCardProps extends ConnectedAppCardProps, EmailMessageDraft {
|
|
43
|
+
export interface EmailMessageCardProps extends ConnectedAppCardProps, EmailMessageDraft {
|
|
42
44
|
/** Person-shaped To. The address string remains the route. */
|
|
43
45
|
correspondent?: Correspondent;
|
|
44
46
|
/** Receives the complete draft after an editable field changes. */
|
|
@@ -54,30 +56,17 @@ interface EmailMessageCardProps extends ConnectedAppCardProps, EmailMessageDraft
|
|
|
54
56
|
* Email draft or result. Pending cards can be edited and released; send,
|
|
55
57
|
* discard, and reject-with-reason stay application-owned.
|
|
56
58
|
*/
|
|
57
|
-
declare function EmailMessageCard({
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
from,
|
|
61
|
-
icon,
|
|
62
|
-
onChange,
|
|
63
|
-
onDiscard,
|
|
64
|
-
onReject,
|
|
65
|
-
onSend,
|
|
66
|
-
state,
|
|
67
|
-
subject,
|
|
68
|
-
to,
|
|
69
|
-
ref,
|
|
70
|
-
...props
|
|
71
|
-
}: EmailMessageCardProps & {
|
|
72
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
59
|
+
export declare function EmailMessageCard({ body, correspondent, from, icon, onChange, onDiscard, onReject, onSend, state, subject, to, ref, ...props }: EmailMessageCardProps & {
|
|
60
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
61
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
73
62
|
}): React.JSX.Element;
|
|
74
|
-
interface SlackMessageDraft {
|
|
63
|
+
export interface SlackMessageDraft {
|
|
75
64
|
workspace?: string;
|
|
76
65
|
to: string;
|
|
77
66
|
thread?: string;
|
|
78
67
|
message: string;
|
|
79
68
|
}
|
|
80
|
-
interface SlackMessageCardProps extends ConnectedAppCardProps, SlackMessageDraft {
|
|
69
|
+
export interface SlackMessageCardProps extends ConnectedAppCardProps, SlackMessageDraft {
|
|
81
70
|
/** Person-shaped To. Rooms stay the destination string. */
|
|
82
71
|
correspondent?: Correspondent;
|
|
83
72
|
onChange?: (next: SlackMessageDraft) => void;
|
|
@@ -86,31 +75,17 @@ interface SlackMessageCardProps extends ConnectedAppCardProps, SlackMessageDraft
|
|
|
86
75
|
onSend?: () => void | Promise<void>;
|
|
87
76
|
}
|
|
88
77
|
/** Slack draft or posted message with workspace, destination, and thread fields. */
|
|
89
|
-
declare function SlackMessageCard({
|
|
90
|
-
correspondent,
|
|
91
|
-
icon,
|
|
92
|
-
message,
|
|
93
|
-
onChange,
|
|
94
|
-
onDiscard,
|
|
95
|
-
onReject,
|
|
96
|
-
onSend,
|
|
97
|
-
state,
|
|
98
|
-
thread,
|
|
99
|
-
to,
|
|
100
|
-
workspace,
|
|
101
|
-
ref,
|
|
102
|
-
...props
|
|
103
|
-
}: SlackMessageCardProps & {
|
|
78
|
+
export declare function SlackMessageCard({ correspondent, icon, message, onChange, onDiscard, onReject, onSend, state, thread, to, workspace, ref, ...props }: SlackMessageCardProps & {
|
|
104
79
|
ref?: React.Ref<HTMLDivElement>;
|
|
105
80
|
}): React.JSX.Element;
|
|
106
|
-
interface CalendarEventDraft {
|
|
81
|
+
export interface CalendarEventDraft {
|
|
107
82
|
eventTitle: string;
|
|
108
83
|
when: string;
|
|
109
84
|
whenDateTime?: string;
|
|
110
85
|
location?: string;
|
|
111
86
|
attendees?: string;
|
|
112
87
|
}
|
|
113
|
-
interface CalendarEventCardProps extends ConnectedAppCardProps, CalendarEventDraft {
|
|
88
|
+
export interface CalendarEventCardProps extends ConnectedAppCardProps, CalendarEventDraft {
|
|
114
89
|
onChange?: (next: CalendarEventDraft) => void;
|
|
115
90
|
onDiscard?: () => void | Promise<void>;
|
|
116
91
|
onReject?: (reason: string) => void | Promise<void>;
|
|
@@ -120,22 +95,7 @@ interface CalendarEventCardProps extends ConnectedAppCardProps, CalendarEventDra
|
|
|
120
95
|
* Calendar draft or settled event. Pass `whenDateTime` for a semantic `time`
|
|
121
96
|
* element; the application owns locale and timezone formatting.
|
|
122
97
|
*/
|
|
123
|
-
declare function CalendarEventCard({
|
|
124
|
-
attendees,
|
|
125
|
-
eventTitle,
|
|
126
|
-
icon,
|
|
127
|
-
location,
|
|
128
|
-
onChange,
|
|
129
|
-
onDiscard,
|
|
130
|
-
onReject,
|
|
131
|
-
onSend,
|
|
132
|
-
state,
|
|
133
|
-
when,
|
|
134
|
-
whenDateTime,
|
|
135
|
-
ref,
|
|
136
|
-
...props
|
|
137
|
-
}: CalendarEventCardProps & {
|
|
98
|
+
export declare function CalendarEventCard({ attendees, eventTitle, icon, location, onChange, onDiscard, onReject, onSend, state, when, whenDateTime, ref, ...props }: CalendarEventCardProps & {
|
|
138
99
|
ref?: React.Ref<HTMLDivElement>;
|
|
139
100
|
}): React.JSX.Element;
|
|
140
|
-
//#endregion
|
|
141
|
-
export { CalendarEventCard, CalendarEventCardProps, CalendarEventDraft, ConnectedAppCardSaveState, ConnectedAppCardState, EmailMessageCard, EmailMessageCardProps, EmailMessageDraft, SlackMessageCard, SlackMessageCardProps, SlackMessageDraft };
|
|
101
|
+
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { G as SlackIcon, O as MailIcon, _ as DotIcon, d as CheckIcon, nt as XIcon, u as CalendarIcon } from "../../icons-
|
|
2
|
+
import { G as SlackIcon, O as MailIcon, _ as DotIcon, d as CheckIcon, nt as XIcon, u as CalendarIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { Field } from "../foundations/Field.js";
|
|
5
5
|
import { Textarea } from "../foundations/Textarea.js";
|
|
6
|
-
import { Input } from "../foundations/Input.js";
|
|
7
|
-
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
6
|
import { Card, CardAction, CardContent, CardFooter, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
7
|
+
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
|
+
import { Input } from "../foundations/Input.js";
|
|
9
9
|
import { CorrespondentName, emailDestinationCorrespondent, slackDestinationCorrespondent } from "./Correspondent.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { f as PopoverTriggerProps, l as PopoverPositionerProps, u as PopoverProps } from "../../Popover-
|
|
1
|
+
import { f as PopoverTriggerProps, l as PopoverPositionerProps, u as PopoverProps } from "../../Popover-BtAR4Tn8.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { LanguageModelUsage, UIMessage } from "ai";
|
|
4
|
-
|
|
5
4
|
//#region src/components/ai-sdk/Context.d.ts
|
|
6
|
-
interface ContextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
export interface ContextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
6
|
/** Tokens currently used. */
|
|
8
7
|
usedTokens: number;
|
|
9
8
|
/** Maximum context window size. */
|
|
@@ -46,85 +45,48 @@ interface ContextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
46
45
|
* </Context>
|
|
47
46
|
* ```
|
|
48
47
|
*/
|
|
49
|
-
declare function Context({
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
maxTokens,
|
|
53
|
-
usage,
|
|
54
|
-
modelId,
|
|
55
|
-
totalCostUsd,
|
|
56
|
-
open,
|
|
57
|
-
defaultOpen,
|
|
58
|
-
onOpenChange,
|
|
59
|
-
children,
|
|
60
|
-
ref,
|
|
61
|
-
...props
|
|
62
|
-
}: ContextProps & {
|
|
63
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
48
|
+
export declare function Context({ className, usedTokens, maxTokens, usage, modelId, totalCostUsd, open, defaultOpen, onOpenChange, children, ref, ...props }: ContextProps & {
|
|
49
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
50
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
64
51
|
}): React.JSX.Element;
|
|
65
|
-
interface ContextTriggerProps extends PopoverTriggerProps {}
|
|
52
|
+
export interface ContextTriggerProps extends PopoverTriggerProps {}
|
|
66
53
|
/** Context ring trigger; use `render` to compose a custom control and `children` for its content. */
|
|
67
|
-
declare function ContextTrigger({
|
|
68
|
-
|
|
69
|
-
children,
|
|
70
|
-
...props
|
|
71
|
-
}: ContextTriggerProps): React.JSX.Element;
|
|
72
|
-
interface ContextContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
54
|
+
export declare function ContextTrigger({ className, children, ...props }: ContextTriggerProps): React.JSX.Element;
|
|
55
|
+
export interface ContextContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
73
56
|
/** The trigger usually sits in a composer at the bottom, so default "top". */
|
|
74
57
|
side?: PopoverPositionerProps["side"];
|
|
75
58
|
}
|
|
76
|
-
declare function ContextContent({
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
children,
|
|
80
|
-
...props
|
|
81
|
-
}: ContextContentProps): React.JSX.Element;
|
|
82
|
-
interface ContextContentHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
83
|
-
declare function ContextContentHeader({
|
|
84
|
-
className,
|
|
85
|
-
children,
|
|
86
|
-
ref,
|
|
87
|
-
...props
|
|
88
|
-
}: ContextContentHeaderProps & {
|
|
59
|
+
export declare function ContextContent({ className, side, children, ...props }: ContextContentProps): React.JSX.Element;
|
|
60
|
+
export interface ContextContentHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
61
|
+
export declare function ContextContentHeader({ className, children, ref, ...props }: ContextContentHeaderProps & {
|
|
89
62
|
ref?: React.Ref<HTMLDivElement>;
|
|
90
63
|
}): React.JSX.Element;
|
|
91
|
-
interface ContextContentBodyProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
92
|
-
declare function ContextContentBody({
|
|
93
|
-
className,
|
|
94
|
-
children,
|
|
95
|
-
ref,
|
|
96
|
-
...props
|
|
97
|
-
}: ContextContentBodyProps & {
|
|
64
|
+
export interface ContextContentBodyProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
65
|
+
export declare function ContextContentBody({ className, children, ref, ...props }: ContextContentBodyProps & {
|
|
98
66
|
ref?: React.Ref<HTMLDivElement>;
|
|
99
67
|
}): React.JSX.Element;
|
|
100
|
-
interface ContextContentFooterProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
101
|
-
declare function ContextContentFooter({
|
|
102
|
-
className,
|
|
103
|
-
children,
|
|
104
|
-
ref,
|
|
105
|
-
...props
|
|
106
|
-
}: ContextContentFooterProps & {
|
|
68
|
+
export interface ContextContentFooterProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
69
|
+
export declare function ContextContentFooter({ className, children, ref, ...props }: ContextContentFooterProps & {
|
|
107
70
|
ref?: React.Ref<HTMLDivElement>;
|
|
108
71
|
}): React.JSX.Element;
|
|
109
|
-
interface ContextUsageRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
72
|
+
export interface ContextUsageRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
110
73
|
label?: string;
|
|
111
74
|
}
|
|
112
|
-
type ContextInputUsageProps = ContextUsageRowProps;
|
|
113
|
-
type ContextOutputUsageProps = ContextUsageRowProps;
|
|
114
|
-
type ContextReasoningUsageProps = ContextUsageRowProps;
|
|
115
|
-
type ContextCacheUsageProps = ContextUsageRowProps;
|
|
116
|
-
declare function ContextInputUsage(props: ContextInputUsageProps): React.JSX.Element;
|
|
117
|
-
declare function ContextOutputUsage(props: ContextOutputUsageProps): React.JSX.Element;
|
|
118
|
-
declare function ContextReasoningUsage(props: ContextReasoningUsageProps): React.JSX.Element;
|
|
119
|
-
declare function ContextCacheUsage(props: ContextCacheUsageProps): React.JSX.Element;
|
|
75
|
+
export type ContextInputUsageProps = ContextUsageRowProps;
|
|
76
|
+
export type ContextOutputUsageProps = ContextUsageRowProps;
|
|
77
|
+
export type ContextReasoningUsageProps = ContextUsageRowProps;
|
|
78
|
+
export type ContextCacheUsageProps = ContextUsageRowProps;
|
|
79
|
+
export declare function ContextInputUsage(props: ContextInputUsageProps): React.JSX.Element;
|
|
80
|
+
export declare function ContextOutputUsage(props: ContextOutputUsageProps): React.JSX.Element;
|
|
81
|
+
export declare function ContextReasoningUsage(props: ContextReasoningUsageProps): React.JSX.Element;
|
|
82
|
+
export declare function ContextCacheUsage(props: ContextCacheUsageProps): React.JSX.Element;
|
|
120
83
|
/**
|
|
121
84
|
* Latest `metadata.usage` in a transcript — the AI SDK convention for token
|
|
122
85
|
* accounting (`toUIMessageStreamResponse({ messageMetadata })`), which Think
|
|
123
86
|
* merges into `message.metadata` as turns finish. Structural: any message
|
|
124
87
|
* whose metadata carries a `usage` object qualifies.
|
|
125
88
|
*/
|
|
126
|
-
declare function getContextUsage(messages: readonly UIMessage[]): LanguageModelUsage | undefined;
|
|
89
|
+
export declare function getContextUsage(messages: readonly UIMessage[]): LanguageModelUsage | undefined;
|
|
127
90
|
/** Tokens occupying the context window: `totalTokens`, or input + output. */
|
|
128
|
-
declare function getContextUsedTokens(usage: LanguageModelUsage | undefined): number;
|
|
129
|
-
//#endregion
|
|
130
|
-
export { Context, ContextCacheUsage, ContextCacheUsageProps, ContextContent, ContextContentBody, ContextContentBodyProps, ContextContentFooter, ContextContentFooterProps, ContextContentHeader, ContextContentHeaderProps, ContextContentProps, ContextInputUsage, ContextInputUsageProps, ContextOutputUsage, ContextOutputUsageProps, ContextProps, ContextReasoningUsage, ContextReasoningUsageProps, ContextTrigger, ContextTriggerProps, ContextUsageRowProps, getContextUsage, getContextUsedTokens };
|
|
91
|
+
export declare function getContextUsedTokens(usage: LanguageModelUsage | undefined): number;
|
|
92
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { Separator } from "../foundations/Separator.js";
|
|
3
2
|
import { Popover } from "../foundations/Popover.js";
|
|
4
|
-
import {
|
|
3
|
+
import { Separator } from "../foundations/Separator.js";
|
|
4
|
+
import { t as ProgressRing } from "../../progress-ring-L2bbF0ji.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ai-sdk/Context.tsx
|