@mcp-b/react-components 0.56.2 → 0.57.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.
- package/dist/components/agents-sdk/AgentChat.js +1 -1
- package/dist/components/agents-sdk/AgentEvent.js +2 -2
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +4 -4
- package/dist/components/agents-sdk/EmployeeSchedules.js +2 -2
- package/dist/components/agents-sdk/EmployeeStartScreen.js +2 -2
- package/dist/components/agents-sdk/ManagerAccountActions.js +1 -1
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +1 -1
- package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +8 -0
- package/dist/components/agents-sdk/ModelEndpointDialog.js +25 -2
- package/dist/components/agents-sdk/ThinkChatActivity.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineActions.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineForm.js +2 -2
- package/dist/components/agents-sdk/ThinkThreadPicker.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +1 -1
- package/dist/components/agents-sdk/WorkspaceExecution.js +2 -2
- package/dist/components/agents-sdk/WorkspaceExplorer.js +1 -1
- package/dist/components/agents-sdk/WorkspaceProject.js +1 -1
- package/dist/components/agents-sdk/WorkspaceUserScript.js +1 -1
- package/dist/components/foundations/ToggleGroup.d.ts +1 -1
- package/dist/components/foundations/ToggleGroup.js +1 -1
- package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
- package/dist/components/general-purpose/PricingUsageCalculator.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/nanites/AgentToolDetail.js +4 -4
- package/package.json +2 -2
- package/dist/{ManagerOffice-CJwBAEMv.js → ManagerOffice-D4L_xO4i.js} +2 -2
- package/dist/{workspace-assets-C3QT6UlQ.js → workspace-assets-wW_lQLYK.js} +1 -1
|
@@ -8,10 +8,10 @@ import { AgentMessageParts } from "../ai-sdk/AgentMessageParts.js";
|
|
|
8
8
|
import { Marker, MarkerContent } from "../foundations/Marker.js";
|
|
9
9
|
import { VirtualMessageScroller } from "../ai-sdk/MessageScrollerVirtual.js";
|
|
10
10
|
import { Queue, QueueItem, QueueItemAction, QueueItemActions, QueueItemContent, QueueItemIndicator, QueueList } from "../ai-sdk/Queue.js";
|
|
11
|
+
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
11
12
|
import { AgentEventRow, getAgentEvent } from "./AgentEvent.js";
|
|
12
13
|
import { AgentChatQueueProvider, useOptionalAgentChatQueue } from "./AgentChatQueue.js";
|
|
13
14
|
import { PromptInputApproval, getApprovalStateKey, getPendingToolApprovals } from "./PromptInputApproval.js";
|
|
14
|
-
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { useRender } from "@base-ui/react/use-render";
|
|
@@ -2,9 +2,9 @@ import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
|
2
2
|
import { Activity, ActivityContent, ActivityText, ActivityTrigger } from "../ai-sdk/Activity.js";
|
|
3
3
|
import { r as firstLine } from "../../format-CWaZEp5o.js";
|
|
4
4
|
import { MessageResponse } from "../ai-sdk/Message.js";
|
|
5
|
-
import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
|
|
6
|
-
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
7
5
|
import { NaniteMark } from "../nanites/NaniteScene.js";
|
|
6
|
+
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
7
|
+
import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { isTextUIPart } from "ai";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { et as WarningIcon } from "../../icons-CeGfXO21.js";
|
|
2
|
-
import { WorkbenchBack } from "./WorkbenchBack.js";
|
|
3
2
|
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
3
|
+
import { WorkbenchBack } from "./WorkbenchBack.js";
|
|
4
4
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
5
5
|
import { ThinkFullApp } from "./ThinkFullApp.js";
|
|
6
6
|
import "react";
|
|
@@ -2,11 +2,11 @@ import { PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActi
|
|
|
2
2
|
import { Context, ContextContent, ContextContentBody, ContextContentHeader, ContextTrigger } from "../ai-sdk/Context.js";
|
|
3
3
|
import { CodexModelSelector } from "../extension/CodexModelSelector.js";
|
|
4
4
|
import { ConversationTabPicker } from "../extension/ConversationTabPicker.js";
|
|
5
|
-
import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
|
|
6
5
|
import { n as SetupChecklistGroup } from "../../SetupChecklist-DWyifWWg.js";
|
|
6
|
+
import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
|
|
7
|
+
import { ThinkChat } from "./ThinkChat.js";
|
|
7
8
|
import { McpServerPickerItems } from "./McpServerPicker.js";
|
|
8
9
|
import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
|
|
9
|
-
import { ThinkChat } from "./ThinkChat.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region src/components/agents-sdk/EmployeeChat.tsx
|
|
@@ -11,14 +11,14 @@ import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v
|
|
|
11
11
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
12
12
|
import { Avatar } from "../foundations/Avatar.js";
|
|
13
13
|
import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
|
|
14
|
-
import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
15
|
-
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
16
|
-
import { AgentChat } from "./AgentChat.js";
|
|
17
14
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
18
|
-
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
19
15
|
import { useTheme } from "../foundations/ThemeProvider.js";
|
|
20
16
|
import { ActionGuide, ActionGuideAction, ActionGuideList, ActionGuideSection } from "../general-purpose/ActionGuide.js";
|
|
17
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
18
|
+
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
21
19
|
import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
20
|
+
import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
21
|
+
import { AgentChat } from "./AgentChat.js";
|
|
22
22
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
23
23
|
import { ThinkThreadPicker, ThinkThreadStatusIndicators, summarizeThinkThreads } from "./ThinkThreadPicker.js";
|
|
24
24
|
import * as React from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { R as PencilIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
|
|
2
|
+
import { LinkButton } from "../foundations/LinkButton.js";
|
|
2
3
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
3
|
-
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
4
4
|
import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
5
|
-
import {
|
|
5
|
+
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
6
6
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
7
7
|
import { getThinkExecutionRunId } from "./ThinkExecutionRun.js";
|
|
8
8
|
import { ThinkRoutineActions, useThinkRoutineActions } from "./ThinkRoutineActions.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as FolderIcon, G as SlackIcon, I as PaperclipIcon, c as BoxIcon, g as DiscordIcon } from "../../icons-CeGfXO21.js";
|
|
2
2
|
import { Menu } from "../foundations/Menu.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
|
-
import { ActionGuideAction } from "../general-purpose/ActionGuide.js";
|
|
5
4
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
6
|
-
import {
|
|
5
|
+
import { ActionGuideAction } from "../general-purpose/ActionGuide.js";
|
|
7
6
|
import { t as SetupChecklistAction } from "../../SetupChecklist-DWyifWWg.js";
|
|
7
|
+
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
8
8
|
import { McpServerPickerAction, McpServerPickerItems } from "./McpServerPicker.js";
|
|
9
9
|
import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
|
|
10
10
|
import * as React from "react";
|
|
@@ -2,8 +2,8 @@ import { B as PlusIcon, y as EllipsisIcon } from "../../icons-CeGfXO21.js";
|
|
|
2
2
|
import { Menu } from "../foundations/Menu.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
5
|
-
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
6
5
|
import { Toast } from "../foundations/Toast.js";
|
|
6
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/agents-sdk/ManagerAccountActions.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-
|
|
1
|
+
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-D4L_xO4i.js";
|
|
2
2
|
export { ManagerOffice, ManagerOfficeSidebar, ManagerOfficeSidebarAlert };
|
|
@@ -5,7 +5,7 @@ import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
|
5
5
|
import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
6
6
|
import { ThinkThreadPicker } from "./ThinkThreadPicker.js";
|
|
7
7
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
8
|
-
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-
|
|
8
|
+
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-D4L_xO4i.js";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region src/components/agents-sdk/ManagerOfficeScreens.tsx
|
|
@@ -8,8 +8,8 @@ import { Dialog } from "../foundations/Dialog.js";
|
|
|
8
8
|
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
9
9
|
import { Separator } from "../foundations/Separator.js";
|
|
10
10
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
11
|
-
import { McpServerIcon } from "./McpServerIcon.js";
|
|
12
11
|
import { SearchField } from "../foundations/SearchField.js";
|
|
12
|
+
import { McpServerIcon } from "./McpServerIcon.js";
|
|
13
13
|
import { t as getMcpServerProjection } from "../../mcp-server-mAErsxHU.js";
|
|
14
14
|
import { McpServerSetupDialog } from "./McpServerPicker.js";
|
|
15
15
|
import * as React from "react";
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { SettingsFormDialogProps } from "../general-purpose/SettingsFormDialog.js";
|
|
2
2
|
//#region src/components/agents-sdk/ModelEndpointDialog.d.ts
|
|
3
|
+
declare const MODEL_APIS: readonly [{
|
|
4
|
+
readonly value: "chat-completions";
|
|
5
|
+
readonly label: "Chat Completions";
|
|
6
|
+
}, {
|
|
7
|
+
readonly value: "responses";
|
|
8
|
+
readonly label: "Responses";
|
|
9
|
+
}];
|
|
3
10
|
export interface ModelEndpointDialogProps {
|
|
4
11
|
/** Whether the host has opened its model connection settings. */
|
|
5
12
|
open: boolean;
|
|
@@ -11,6 +18,7 @@ export interface ModelEndpointDialogProps {
|
|
|
11
18
|
onRemove?: () => Promise<void>;
|
|
12
19
|
/** Existing endpoint values and the most recent request error. */
|
|
13
20
|
configured?: {
|
|
21
|
+
api: (typeof MODEL_APIS)[number]["value"];
|
|
14
22
|
baseUrl: string;
|
|
15
23
|
modelId: string;
|
|
16
24
|
acceptsImages: boolean;
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { Field } from "../foundations/Field.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Select } from "../foundations/Select.js";
|
|
3
3
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
4
|
+
import { SettingsFormDialog } from "../general-purpose/SettingsFormDialog.js";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
//#region src/components/agents-sdk/ModelEndpointDialog.tsx
|
|
7
|
+
const MODEL_APIS = [{
|
|
8
|
+
value: "chat-completions",
|
|
9
|
+
label: "Chat Completions"
|
|
10
|
+
}, {
|
|
11
|
+
value: "responses",
|
|
12
|
+
label: "Responses"
|
|
13
|
+
}];
|
|
6
14
|
/** Shared connection form; the host owns validation, credentials and persistence. */
|
|
7
15
|
function ModelEndpointDialog({ open, onOpenChange, onSubmit, onRemove, configured }) {
|
|
8
16
|
return /* @__PURE__ */ jsxs(SettingsFormDialog, {
|
|
9
17
|
open,
|
|
10
18
|
onOpenChange,
|
|
11
19
|
title: "Custom model endpoint",
|
|
12
|
-
description: "
|
|
20
|
+
description: "Connect to an OpenAI-compatible endpoint using Chat Completions or Responses. The API key is stored by your employee and used for model requests; leave it blank for endpoints without auth.",
|
|
13
21
|
submitLabel: "Use this endpoint",
|
|
14
22
|
removeLabel: onRemove ? "Use ChatGPT instead" : void 0,
|
|
15
23
|
externalError: configured?.error ? `Last request failed: ${configured.error}` : void 0,
|
|
@@ -37,6 +45,21 @@ function ModelEndpointDialog({ open, onOpenChange, onSubmit, onRemove, configure
|
|
|
37
45
|
})
|
|
38
46
|
]
|
|
39
47
|
}),
|
|
48
|
+
/* @__PURE__ */ jsxs(Field.Root, {
|
|
49
|
+
name: "api",
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ jsx(Field.Label, { children: "API" }),
|
|
52
|
+
/* @__PURE__ */ jsxs(Select.Root, {
|
|
53
|
+
defaultValue: configured?.api ?? "chat-completions",
|
|
54
|
+
items: MODEL_APIS,
|
|
55
|
+
children: [/* @__PURE__ */ jsxs(Select.Trigger, { children: [/* @__PURE__ */ jsx(Select.Value, {}), /* @__PURE__ */ jsx(Select.Icon, {})] }), /* @__PURE__ */ jsx(Select.Portal, { children: /* @__PURE__ */ jsx(Select.Positioner, { children: /* @__PURE__ */ jsx(Select.Popup, { children: /* @__PURE__ */ jsx(Select.List, { children: MODEL_APIS.map(({ value, label }) => /* @__PURE__ */ jsx(Select.Item, {
|
|
56
|
+
value,
|
|
57
|
+
children: /* @__PURE__ */ jsx(Select.ItemText, { children: label })
|
|
58
|
+
}, value)) }) }) }) })]
|
|
59
|
+
}),
|
|
60
|
+
/* @__PURE__ */ jsx(Field.Description, { children: "Choose the API your endpoint supports. Codex uses Responses." })
|
|
61
|
+
]
|
|
62
|
+
}),
|
|
40
63
|
/* @__PURE__ */ jsxs(Field.Root, {
|
|
41
64
|
name: "modelId",
|
|
42
65
|
children: [
|
|
@@ -3,9 +3,9 @@ import { Activity, ActivityContent, ActivityItem, ActivityItemGroup, ActivityTex
|
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { MessageResponse } from "../ai-sdk/Message.js";
|
|
5
5
|
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
6
|
-
import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
|
|
7
|
-
import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
|
|
8
6
|
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
7
|
+
import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
|
|
8
|
+
import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
|
|
9
9
|
import { useOptionalThinkChatLive } from "./ThinkChatContext.js";
|
|
10
10
|
import { isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartWorking, isSessionContextToolPart, isSkillToolPart, isThinkChatActivityPart, isWorkspaceToolPart } from "./ThinkChatToolParts.js";
|
|
11
11
|
import { ThinkChatBrowserPanel, ThinkChatExecutePanel, ThinkChatFetchPanel, ThinkChatSessionContextPanel, ThinkChatSkillPanel, ThinkChatWorkspacePanel } from "./ThinkChatToolPanels.js";
|
|
@@ -2,8 +2,8 @@ import { K as SpinnerIcon, Q as TrashIcon, z as PlayIcon } from "../../icons-CeG
|
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
4
4
|
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
5
|
-
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
6
5
|
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
6
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { getThinkRoutineNextRun } from "./ThinkRoutine.js";
|
|
3
2
|
import { Switch } from "../foundations/Switch.js";
|
|
3
|
+
import { getThinkRoutineNextRun } from "./ThinkRoutine.js";
|
|
4
4
|
import { ThinkRoutineRuns } from "./ThinkRoutineRuns.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -6,12 +6,12 @@ import { Form } from "../foundations/Form.js";
|
|
|
6
6
|
import { Textarea } from "../foundations/Textarea.js";
|
|
7
7
|
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
8
8
|
import { Select } from "../foundations/Select.js";
|
|
9
|
-
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
10
|
-
import { Fieldset } from "../foundations/Fieldset.js";
|
|
11
9
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
12
10
|
import { CheckboxGroup } from "../foundations/CheckboxGroup.js";
|
|
13
11
|
import { Combobox } from "../foundations/Combobox.js";
|
|
12
|
+
import { Fieldset } from "../foundations/Fieldset.js";
|
|
14
13
|
import { NumberField } from "../foundations/NumberField.js";
|
|
14
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
//#region src/components/agents-sdk/ThinkRoutineForm.tsx
|
|
@@ -5,8 +5,8 @@ import { Tooltip } from "../foundations/Tooltip.js";
|
|
|
5
5
|
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
6
6
|
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
7
7
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
8
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
9
8
|
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
9
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
10
10
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
11
11
|
import { SearchField } from "../foundations/SearchField.js";
|
|
12
12
|
import * as React from "react";
|
|
@@ -9,7 +9,7 @@ import { Card, CardAction, CardContent, CardFooter, CardHeader, CardTitle } from
|
|
|
9
9
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
10
10
|
import { Input } from "../foundations/Input.js";
|
|
11
11
|
import { EmailMessageCard, SlackMessageCard } from "../ai-sdk/ConnectedAppCards.js";
|
|
12
|
-
import { i as WorkspaceDeleteControl, r as httpUrl, t as FaviconMark } from "../../workspace-assets-
|
|
12
|
+
import { i as WorkspaceDeleteControl, r as httpUrl, t as FaviconMark } from "../../workspace-assets-wW_lQLYK.js";
|
|
13
13
|
import * as React from "react";
|
|
14
14
|
import { createElement } from "react";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -8,9 +8,9 @@ import { a as formatErrorMessage, o as formatUnknownValue, r as firstLine } from
|
|
|
8
8
|
import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
9
9
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
10
10
|
import { Input } from "../foundations/Input.js";
|
|
11
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
12
11
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
13
|
-
import {
|
|
12
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
13
|
+
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, r as httpUrl, t as FaviconMark } from "../../workspace-assets-wW_lQLYK.js";
|
|
14
14
|
import { t as WorkspaceConceptPanel } from "../../WorkspaceConceptPanel-97ZyVpZI.js";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { createElement } from "react";
|
|
@@ -2,9 +2,9 @@ import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
|
2
2
|
import { C as FolderIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
4
4
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
5
|
-
import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
|
|
6
5
|
import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink } from "../../WorkspaceLink-BeFAXpbI.js";
|
|
7
6
|
import { WorkspaceNavigationRestorationBoundary, useRequiredWorkspaceNavigationRestoration } from "./WorkspaceNavigationRestoration.js";
|
|
7
|
+
import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
|
|
8
8
|
import { WorkspaceBrowser } from "./WorkspaceBrowser.js";
|
|
9
9
|
import { t as WorkspaceFileView } from "../../WorkspaceFileView-DCvGBsI1.js";
|
|
10
10
|
import * as React from "react";
|
|
@@ -7,7 +7,7 @@ import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle }
|
|
|
7
7
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
8
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
9
9
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
10
|
-
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, t as FaviconMark } from "../../workspace-assets-
|
|
10
|
+
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, t as FaviconMark } from "../../workspace-assets-wW_lQLYK.js";
|
|
11
11
|
import { t as WorkspaceConceptPanel } from "../../WorkspaceConceptPanel-97ZyVpZI.js";
|
|
12
12
|
import * as React from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -5,7 +5,7 @@ import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle }
|
|
|
5
5
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
6
6
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
7
7
|
import { Switch } from "../foundations/Switch.js";
|
|
8
|
-
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, t as FaviconMark } from "../../workspace-assets-
|
|
8
|
+
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, t as FaviconMark } from "../../workspace-assets-wW_lQLYK.js";
|
|
9
9
|
import { t as WorkspaceConceptPanel } from "../../WorkspaceConceptPanel-97ZyVpZI.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ToggleVariantsOptions } from "./Toggle.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
4
3
|
import { Toggle } from "@base-ui/react/toggle";
|
|
4
|
+
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
5
5
|
//#region src/components/foundations/ToggleGroup.d.ts
|
|
6
6
|
type ToggleGroupSize = ToggleVariantsOptions["size"];
|
|
7
7
|
export type ToggleGroupProps<Value extends string = string> = ToggleGroup$1.Props<Value> & {
|
|
@@ -3,8 +3,8 @@ import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
|
3
3
|
import { toggleVariants } from "./Toggle.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
7
6
|
import { Toggle } from "@base-ui/react/toggle";
|
|
7
|
+
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
8
8
|
//#region src/components/foundations/ToggleGroup.tsx
|
|
9
9
|
/**
|
|
10
10
|
* Tracks the pressed item's box so the segmented thumb can slide to it instead
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { ToggleGroup } from "../foundations/ToggleGroup.js";
|
|
3
2
|
import { Switch } from "../foundations/Switch.js";
|
|
3
|
+
import { ToggleGroup } from "../foundations/ToggleGroup.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/general-purpose/PricingBillingToggle.tsx
|
|
6
6
|
/** Controlled billing-period selector composed from the shared Switch or ToggleGroup. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Card } from "../foundations/Card.js";
|
|
3
3
|
import { Separator } from "../foundations/Separator.js";
|
|
4
|
-
import { Slider } from "../foundations/Slider.js";
|
|
5
4
|
import { Progress } from "../foundations/Progress.js";
|
|
5
|
+
import { Slider } from "../foundations/Slider.js";
|
|
6
6
|
import { formatPricingUsage, getUsagePrice } from "./Pricing.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as MoonIcon, P as MonitorIcon, Y as SunIcon } from "../../icons-CeGfXO21.js";
|
|
2
|
-
import { useTheme } from "../foundations/ThemeProvider.js";
|
|
3
2
|
import { Radio, RadioGroup } from "../foundations/RadioGroup.js";
|
|
3
|
+
import { useTheme } from "../foundations/ThemeProvider.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/general-purpose/ThemeModeControl.tsx
|
|
6
6
|
const modes = [
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { MessageActions } from "../ai-sdk/Message.js";
|
|
4
|
-
import { SubagentRunIndicator, getSubagentRunName } from "../agents-sdk/SubagentRunIndicator.js";
|
|
5
|
-
import { NaniteMark } from "./NaniteScene.js";
|
|
6
|
-
import { AgentChat } from "../agents-sdk/AgentChat.js";
|
|
7
4
|
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
8
5
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
9
|
-
import {
|
|
6
|
+
import { NaniteMark } from "./NaniteScene.js";
|
|
7
|
+
import { SubagentRunIndicator, getSubagentRunName } from "../agents-sdk/SubagentRunIndicator.js";
|
|
10
8
|
import { SubagentRunMetadata } from "../agents-sdk/SubagentRunDetails.js";
|
|
9
|
+
import { AgentChat } from "../agents-sdk/AgentChat.js";
|
|
10
|
+
import { ThinkChat } from "../agents-sdk/ThinkChat.js";
|
|
11
11
|
import * as React from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useAgentChat } from "@cloudflare/think/react";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-b/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.57.0",
|
|
4
4
|
"description": "MCP-B React components built on Base UI and shared design tokens, including Cloudflare Think chat primitives.",
|
|
5
5
|
"homepage": "https://design-system.sigvelo.com",
|
|
6
6
|
"bugs": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"streamdown": "^2.6.0",
|
|
55
55
|
"unist-util-visit": "^5.1.0",
|
|
56
56
|
"yet-another-react-lightbox": "^3.32.2",
|
|
57
|
-
"@mcp-b/design-tokens": "0.
|
|
57
|
+
"@mcp-b/design-tokens": "0.57.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@ai-sdk/react": "^3.0.285",
|
|
@@ -7,10 +7,10 @@ import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttenti
|
|
|
7
7
|
import { Tooltip } from "./components/foundations/Tooltip.js";
|
|
8
8
|
import { Avatar } from "./components/foundations/Avatar.js";
|
|
9
9
|
import { CorrespondentName, correspondentHandleLabel } from "./components/ai-sdk/Correspondent.js";
|
|
10
|
-
import { EmptyState } from "./components/foundations/EmptyState.js";
|
|
11
|
-
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
12
10
|
import { AppIcon } from "./components/foundations/AppIcon.js";
|
|
11
|
+
import { EmptyState } from "./components/foundations/EmptyState.js";
|
|
13
12
|
import { LinkButton } from "./components/foundations/LinkButton.js";
|
|
13
|
+
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
14
14
|
import { getThinkExecutionRunStatus } from "./components/agents-sdk/ThinkExecutionRun.js";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -5,8 +5,8 @@ import { Button } from "./components/foundations/Button.js";
|
|
|
5
5
|
import { Tooltip } from "./components/foundations/Tooltip.js";
|
|
6
6
|
import { IconButton } from "./components/foundations/IconButton.js";
|
|
7
7
|
import { ComposerLink } from "./components/ai-sdk/ComposerLink.js";
|
|
8
|
-
import { AppIcon } from "./components/foundations/AppIcon.js";
|
|
9
8
|
import { AlertDialog } from "./components/foundations/AlertDialog.js";
|
|
9
|
+
import { AppIcon } from "./components/foundations/AppIcon.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region src/components/_internal/workspace-delete.tsx
|