@mcp-b/react-components 0.61.0 → 0.62.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/{EmployeeChrome-D3IgFX22.d.ts → EmployeeChrome-D5x4EM9y.d.ts} +8 -2
- package/dist/{ThinkSchedule-5S834QKW.d.ts → ThinkSchedule-CSuDGrZ9.d.ts} +1 -1
- package/dist/{WorkspaceAutomation-B2Pdz_SU.d.ts → WorkspaceAutomation-CMvICi-p.d.ts} +1 -1
- package/dist/{codex-model-catalog-CFEGgUAj.d.ts → codex-model-catalog-18yO7dln.d.ts} +8 -8
- package/dist/components/agents-sdk/AgentChat.js +1 -1
- package/dist/components/agents-sdk/AgentEvent.js +2 -2
- package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +3 -3
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +10 -4
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeSchedules.js +1 -1
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeStartScreen.js +1 -1
- package/dist/components/agents-sdk/ManagerOffice.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +1 -1
- package/dist/components/agents-sdk/SubagentRunLanes.js +1 -1
- package/dist/components/agents-sdk/SubagentRunPanel.js +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleForm.js +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +1 -1
- package/dist/components/extension/CodexModelSelector.d.ts +1 -1
- package/dist/components/extension/FirstRunSetup.d.ts +2 -2
- package/dist/components/foundations/ToggleGroup.d.ts +1 -1
- package/dist/components/foundations/ToggleGroup.js +1 -1
- package/dist/components/nanites/AgentToolDetail.js +3 -3
- package/dist/utils/codex-model-catalog.d.ts +1 -1
- package/dist/{workspace-concept-panel-CxuqDi4m.d.ts → workspace-concept-panel-KpMmznB_.d.ts} +1 -1
- package/package.json +2 -2
|
@@ -62,6 +62,11 @@ interface EmployeeCompanion {
|
|
|
62
62
|
origin: string;
|
|
63
63
|
setEnabled: (enabled: boolean) => void;
|
|
64
64
|
}
|
|
65
|
+
/** Host-owned switch for agents on this computer; their connection stays outside the chrome. */
|
|
66
|
+
interface EmployeeLocalAgents {
|
|
67
|
+
enabled: boolean;
|
|
68
|
+
setEnabled: (enabled: boolean) => void;
|
|
69
|
+
}
|
|
65
70
|
/** Host-owned passkey-vault preference; credential storage stays outside the chrome. */
|
|
66
71
|
interface EmployeePasskeyVault {
|
|
67
72
|
enabled: boolean;
|
|
@@ -96,6 +101,7 @@ interface EmployeeMenuProps {
|
|
|
96
101
|
/** Requests host sign-out; session teardown stays host-owned. */
|
|
97
102
|
onSignOut?: () => void;
|
|
98
103
|
companion?: EmployeeCompanion;
|
|
104
|
+
localAgents?: EmployeeLocalAgents;
|
|
99
105
|
passkeys?: EmployeePasskeyVault;
|
|
100
106
|
/** Shown for a selected conversation; omit when there is nothing to follow. */
|
|
101
107
|
follow?: EmployeeFollow;
|
|
@@ -103,7 +109,7 @@ interface EmployeeMenuProps {
|
|
|
103
109
|
workbenchNavigation?: readonly EmployeeWorkbenchItem[];
|
|
104
110
|
}
|
|
105
111
|
/** Employee settings are host-owned state; the menu stores only dialog visibility. */
|
|
106
|
-
declare function EmployeeMenu({ renderLink, view, identity, onModel, onSignOut, companion, passkeys, follow, workbenchNavigation, navigation }: EmployeeMenuProps): React.JSX.Element;
|
|
112
|
+
declare function EmployeeMenu({ renderLink, view, identity, onModel, onSignOut, companion, localAgents, passkeys, follow, workbenchNavigation, navigation }: EmployeeMenuProps): React.JSX.Element;
|
|
107
113
|
interface EmployeeShellProps<Thread extends ThinkThreadItem = ThinkThreadItem> extends EmployeeMenuProps {
|
|
108
114
|
view: EmployeeView;
|
|
109
115
|
/** Replaces the default Back to chat link in every layout. */
|
|
@@ -156,4 +162,4 @@ declare const EmployeeChrome: {
|
|
|
156
162
|
Welcome: typeof EmployeeWelcome;
|
|
157
163
|
};
|
|
158
164
|
//#endregion
|
|
159
|
-
export { EmployeeFollow as a,
|
|
165
|
+
export { EmployeeFollow as a, EmployeeMenuProps as c, EmployeeRenderLink as d, EmployeeShellProps as f, EmployeeWorkbenchItem as h, EmployeeDestination as i, EmployeeModelSetup as l, EmployeeView as m, EmployeeChrome as n, EmployeeIdentity as o, EmployeeStatus as p, EmployeeCompanion as r, EmployeeLocalAgents as s, EmployeeBrand as t, EmployeePasskeyVault as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ThinkExecutionRun } from "./ThinkExecutionRun-DJ2TFDmZ.js";
|
|
2
|
-
import { i as WorkspaceAutomationInvocation } from "./WorkspaceAutomation-
|
|
2
|
+
import { i as WorkspaceAutomationInvocation } from "./WorkspaceAutomation-CMvICi-p.js";
|
|
3
3
|
import { ThinkScheduledTask, ThinkScheduledTaskSchedule } from "@cloudflare/think";
|
|
4
4
|
import { Schedule } from "agents";
|
|
5
5
|
//#region src/components/agents-sdk/ThinkSchedule.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as WorkspaceConceptQueryOptions } from "./WorkspaceConcept-BjrgGE1w.js";
|
|
2
|
-
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "./workspace-concept-panel-
|
|
2
|
+
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "./workspace-concept-panel-KpMmznB_.js";
|
|
3
3
|
import { a as ExecutionTrace, r as ExecutionGraph } from "./ExecutionBoard-DvPGdn4F.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { JSONValue } from "ai";
|
|
@@ -76,7 +76,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
76
76
|
readonly upgradeInfo: null;
|
|
77
77
|
readonly availabilityNux: null;
|
|
78
78
|
readonly hidden: boolean;
|
|
79
|
-
readonly inputModalities: ("
|
|
79
|
+
readonly inputModalities: ("image" | "text")[];
|
|
80
80
|
readonly supportsPersonality: boolean;
|
|
81
81
|
readonly additionalSpeedTiers: never[];
|
|
82
82
|
readonly serviceTiers: never[];
|
|
@@ -93,7 +93,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
93
93
|
readonly upgradeInfo: null;
|
|
94
94
|
readonly availabilityNux: null;
|
|
95
95
|
readonly hidden: boolean;
|
|
96
|
-
readonly inputModalities: ("
|
|
96
|
+
readonly inputModalities: ("image" | "text")[];
|
|
97
97
|
readonly supportsPersonality: boolean;
|
|
98
98
|
readonly additionalSpeedTiers: never[];
|
|
99
99
|
readonly serviceTiers: never[];
|
|
@@ -110,7 +110,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
110
110
|
readonly upgradeInfo: null;
|
|
111
111
|
readonly availabilityNux: null;
|
|
112
112
|
readonly hidden: boolean;
|
|
113
|
-
readonly inputModalities: ("
|
|
113
|
+
readonly inputModalities: ("image" | "text")[];
|
|
114
114
|
readonly supportsPersonality: boolean;
|
|
115
115
|
readonly additionalSpeedTiers: never[];
|
|
116
116
|
readonly serviceTiers: never[];
|
|
@@ -127,7 +127,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
127
127
|
readonly upgradeInfo: null;
|
|
128
128
|
readonly availabilityNux: null;
|
|
129
129
|
readonly hidden: boolean;
|
|
130
|
-
readonly inputModalities: ("
|
|
130
|
+
readonly inputModalities: ("image" | "text")[];
|
|
131
131
|
readonly supportsPersonality: boolean;
|
|
132
132
|
readonly additionalSpeedTiers: never[];
|
|
133
133
|
readonly serviceTiers: never[];
|
|
@@ -144,7 +144,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
144
144
|
readonly upgradeInfo: null;
|
|
145
145
|
readonly availabilityNux: null;
|
|
146
146
|
readonly hidden: boolean;
|
|
147
|
-
readonly inputModalities: ("
|
|
147
|
+
readonly inputModalities: ("image" | "text")[];
|
|
148
148
|
readonly supportsPersonality: boolean;
|
|
149
149
|
readonly additionalSpeedTiers: never[];
|
|
150
150
|
readonly serviceTiers: never[];
|
|
@@ -161,7 +161,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
161
161
|
readonly upgradeInfo: null;
|
|
162
162
|
readonly availabilityNux: null;
|
|
163
163
|
readonly hidden: boolean;
|
|
164
|
-
readonly inputModalities: ("
|
|
164
|
+
readonly inputModalities: ("image" | "text")[];
|
|
165
165
|
readonly supportsPersonality: boolean;
|
|
166
166
|
readonly additionalSpeedTiers: never[];
|
|
167
167
|
readonly serviceTiers: never[];
|
|
@@ -178,7 +178,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
178
178
|
readonly upgradeInfo: null;
|
|
179
179
|
readonly availabilityNux: null;
|
|
180
180
|
readonly hidden: boolean;
|
|
181
|
-
readonly inputModalities: ("
|
|
181
|
+
readonly inputModalities: ("image" | "text")[];
|
|
182
182
|
readonly supportsPersonality: boolean;
|
|
183
183
|
readonly additionalSpeedTiers: never[];
|
|
184
184
|
readonly serviceTiers: never[];
|
|
@@ -195,7 +195,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
195
195
|
readonly upgradeInfo: null;
|
|
196
196
|
readonly availabilityNux: null;
|
|
197
197
|
readonly hidden: boolean;
|
|
198
|
-
readonly inputModalities: ("
|
|
198
|
+
readonly inputModalities: ("image" | "text")[];
|
|
199
199
|
readonly supportsPersonality: boolean;
|
|
200
200
|
readonly additionalSpeedTiers: never[];
|
|
201
201
|
readonly serviceTiers: never[];
|
|
@@ -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 { u as useRunsSelector } from "../../agent-tool-runs-DsOp_X2y.js";
|
|
6
|
-
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
7
5
|
import { NaniteMark } from "../nanites/NaniteScene.js";
|
|
6
|
+
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
7
|
+
import { u as useRunsSelector } from "../../agent-tool-runs-DsOp_X2y.js";
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { isTextUIPart } from "ai";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-C8HH2fMT.js";
|
|
2
2
|
import { t as AgentRun } from "../../AgentToolRunsContext-Br3jZ6Up.js";
|
|
3
|
-
import {
|
|
3
|
+
import { f as EmployeeShellProps, l as EmployeeModelSetup, p as EmployeeStatus, t as EmployeeBrand } from "../../EmployeeChrome-D5x4EM9y.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
//#region src/components/agents-sdk/EmployeeApp.d.ts
|
|
6
6
|
export interface EmployeeAppRootProps extends EmployeeShellProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { st as WarningIcon } from "../../icons-Yp99gmMC.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,12 +2,12 @@ import { PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActi
|
|
|
2
2
|
import { Context, ContextContent, ContextContentBody, ContextContentFooter, 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-Wo4akaSG.js";
|
|
7
|
-
import {
|
|
8
|
-
import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
|
|
6
|
+
import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
|
|
9
7
|
import { t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-BZ-_I18b.js";
|
|
10
8
|
import { ThinkChat } from "./ThinkChat.js";
|
|
9
|
+
import { McpServerPickerItems } from "./McpServerPicker.js";
|
|
10
|
+
import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
|
|
11
11
|
import * as React from "react";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/agents-sdk/EmployeeChat.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EmployeeFollow, c as
|
|
2
|
-
export { EmployeeBrand, EmployeeChrome, EmployeeCompanion, EmployeeDestination, EmployeeFollow, EmployeeIdentity, EmployeeMenuProps, EmployeeModelSetup, EmployeePasskeyVault, EmployeeRenderLink, EmployeeShellProps, EmployeeStatus, EmployeeView, EmployeeWorkbenchItem };
|
|
1
|
+
import { a as EmployeeFollow, c as EmployeeMenuProps, d as EmployeeRenderLink, f as EmployeeShellProps, h as EmployeeWorkbenchItem, i as EmployeeDestination, l as EmployeeModelSetup, m as EmployeeView, n as EmployeeChrome, o as EmployeeIdentity, p as EmployeeStatus, r as EmployeeCompanion, s as EmployeeLocalAgents, t as EmployeeBrand, u as EmployeePasskeyVault } from "../../EmployeeChrome-D5x4EM9y.js";
|
|
2
|
+
export { EmployeeBrand, EmployeeChrome, EmployeeCompanion, EmployeeDestination, EmployeeFollow, EmployeeIdentity, EmployeeLocalAgents, EmployeeMenuProps, EmployeeModelSetup, EmployeePasskeyVault, EmployeeRenderLink, EmployeeShellProps, EmployeeStatus, EmployeeView, EmployeeWorkbenchItem };
|
|
@@ -13,11 +13,11 @@ import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
|
|
|
13
13
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
14
14
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
15
15
|
import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
16
|
-
import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
17
|
-
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
18
|
-
import { AgentChat } from "./AgentChat.js";
|
|
19
16
|
import { useTheme } from "../foundations/ThemeProvider.js";
|
|
20
17
|
import { ActionGuide, ActionGuideAction, ActionGuideList, ActionGuideSection } from "../general-purpose/ActionGuide.js";
|
|
18
|
+
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
19
|
+
import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
20
|
+
import { AgentChat } from "./AgentChat.js";
|
|
21
21
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
22
22
|
import { ThinkThreadPicker, ThinkThreadStatusIndicators, summarizeThinkThreads } from "./ThinkThreadPicker.js";
|
|
23
23
|
import * as React from "react";
|
|
@@ -68,7 +68,7 @@ function MenuSwitchItem({ label, hint, checked, onCheckedChange }) {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
/** Employee settings are host-owned state; the menu stores only dialog visibility. */
|
|
71
|
-
function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut, companion, passkeys, follow, workbenchNavigation = [], navigation }) {
|
|
71
|
+
function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut, companion, localAgents, passkeys, follow, workbenchNavigation = [], navigation }) {
|
|
72
72
|
const { preference, setPreference } = useTheme();
|
|
73
73
|
const { restoreBarFocus, closeSidebarOnCompact } = useResponsiveSidebarShell();
|
|
74
74
|
const [identityOpen, setIdentityOpen] = React.useState(false);
|
|
@@ -178,6 +178,12 @@ function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut,
|
|
|
178
178
|
})
|
|
179
179
|
})
|
|
180
180
|
] })] }) : null,
|
|
181
|
+
localAgents ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsxs(Menu.Group, { children: [/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Local agents" }), /* @__PURE__ */ jsx(MenuSwitchItem, {
|
|
182
|
+
label: "Allow local agents",
|
|
183
|
+
hint: "Let agents on this computer, such as Claude Code, use this employee's browser and workspace through the rook command.",
|
|
184
|
+
checked: localAgents.enabled,
|
|
185
|
+
onCheckedChange: localAgents.setEnabled
|
|
186
|
+
})] })] }) : null,
|
|
181
187
|
passkeys ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsxs(Menu.Group, { children: [/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Passkeys" }), /* @__PURE__ */ jsx(MenuSwitchItem, {
|
|
182
188
|
label: "Use its own passkeys",
|
|
183
189
|
hint: "The employee saves and uses its own passkeys instead of the browser's.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-
|
|
3
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { c as EmployeeMenuProps } from "../../EmployeeChrome-D5x4EM9y.js";
|
|
2
|
+
import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-CMvICi-p.js";
|
|
3
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-CSuDGrZ9.js";
|
|
4
4
|
import { ThinkScheduleActionsRootProps } from "./ThinkScheduleActions.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
//#region src/components/agents-sdk/EmployeeSchedules.d.ts
|
|
@@ -2,8 +2,8 @@ import { V as PencilIcon, r as ArrowLeftIcon } from "../../icons-Yp99gmMC.js";
|
|
|
2
2
|
import { getThinkExecutionRunId } from "./ThinkExecutionRun.js";
|
|
3
3
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
4
4
|
import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
5
|
-
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
6
5
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
6
|
+
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
7
7
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
8
8
|
import { ThinkScheduleActions, useThinkScheduleActions } from "./ThinkScheduleActions.js";
|
|
9
9
|
import { ThinkScheduleBrowser } from "./ThinkScheduleBrowser.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { J as PromptInputMessage } from "../../PromptInput-Dbe6WgWA.js";
|
|
2
|
-
import { i as EmployeeDestination, t as EmployeeBrand } from "../../EmployeeChrome-
|
|
2
|
+
import { i as EmployeeDestination, t as EmployeeBrand } from "../../EmployeeChrome-D5x4EM9y.js";
|
|
3
3
|
import { SetupChecklistGroupProps } from "../general-purpose/SetupChecklist.js";
|
|
4
4
|
import { n as McpPluginCatalogProps } from "../../McpPluginCatalog-SQNOytXQ.js";
|
|
5
5
|
import { r as WorkspaceMountManagerProps } from "../../WorkspaceMountManager-DM384Cn6.js";
|
|
@@ -3,8 +3,8 @@ import { Menu } from "../foundations/Menu.js";
|
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
5
5
|
import { ActionGuideAction } from "../general-purpose/ActionGuide.js";
|
|
6
|
-
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
7
6
|
import { t as SetupChecklistAction } from "../../SetupChecklist-Wo4akaSG.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-CSuDGrZ9.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useRender } from "@base-ui/react/use-render";
|
|
4
4
|
//#region src/components/agents-sdk/ManagerOffice.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as EmployeeShellProps } from "../../EmployeeChrome-D5x4EM9y.js";
|
|
2
2
|
import { ManagerOfficeConnectedEmployee, ManagerOfficeDestination, ManagerOfficeEmployee } from "./ManagerOffice.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/ManagerOfficeScreens.d.ts
|
|
@@ -8,8 +8,8 @@ import { Dialog } from "../foundations/Dialog.js";
|
|
|
8
8
|
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
9
9
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
10
10
|
import { Separator } from "../foundations/Separator.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,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Button, buttonVariants } from "../foundations/Button.js";
|
|
3
3
|
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
4
|
-
import { a as runStopOffered, c as useRunOpen, d as useRunsStore, l as useRunStop } from "../../agent-tool-runs-DsOp_X2y.js";
|
|
5
4
|
import { SubagentRunIndicator, getSubagentRunName, getSubagentRunStatusText } from "./SubagentRunIndicator.js";
|
|
5
|
+
import { a as runStopOffered, c as useRunOpen, d as useRunsStore, l as useRunStop } from "../../agent-tool-runs-DsOp_X2y.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/agents-sdk/SubagentRunLanes.tsx
|
|
@@ -4,8 +4,8 @@ import { Tooltip } from "../foundations/Tooltip.js";
|
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
5
|
import { Popover } from "../foundations/Popover.js";
|
|
6
6
|
import { Queue, QueueItem, QueueItemActions, QueueItemContent, QueueItemDescription, QueueList } from "../ai-sdk/Queue.js";
|
|
7
|
-
import { a as runStopOffered, c as useRunOpen, d as useRunsStore, n as IDLE, u as useRunsSelector } from "../../agent-tool-runs-DsOp_X2y.js";
|
|
8
7
|
import { SubagentRunIndicator, getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
8
|
+
import { a as runStopOffered, c as useRunOpen, d as useRunsStore, n as IDLE, u as useRunsSelector } from "../../agent-tool-runs-DsOp_X2y.js";
|
|
9
9
|
import { useOptionalAgentChatQueue } from "./AgentChatQueue.js";
|
|
10
10
|
import { AgentChatNotice } from "./AgentChat.js";
|
|
11
11
|
import { SubagentRunSelector } from "./SubagentRunSelector.js";
|
|
@@ -3,8 +3,8 @@ 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 { ToolInvocationDetails } from "../ai-sdk/ToolInvocation.js";
|
|
6
|
-
import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
|
|
7
6
|
import { d as useRunsStore, u as useRunsSelector } from "../../agent-tool-runs-DsOp_X2y.js";
|
|
7
|
+
import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
|
|
8
8
|
import { SubagentRunLanes } from "./SubagentRunLanes.js";
|
|
9
9
|
import { useOptionalThinkChatLive } from "./ThinkChatContext.js";
|
|
10
10
|
import { isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartWorking, isSessionContextToolPart, isSkillToolPart, isThinkChatActivityPart, isWorkspaceToolPart, thinkToolOutcome } from "./ThinkChatToolParts.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as getThinkScheduleNextRun, n as ThinkScheduleOwner, r as ThinkScheduleRunOf, t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { i as getThinkScheduleNextRun, n as ThinkScheduleOwner, r as ThinkScheduleRunOf, t as ThinkSchedule } from "../../ThinkSchedule-CSuDGrZ9.js";
|
|
2
2
|
export { ThinkSchedule, ThinkScheduleOwner, ThinkScheduleRunOf, getThinkScheduleNextRun };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as AppTopBar } from "../../AppTopBar-DwzydmXu.js";
|
|
2
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
2
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-CSuDGrZ9.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkScheduleActions.d.ts
|
|
5
5
|
export interface ThinkScheduleActionsRootProps<TSchedule extends ThinkSchedule = ThinkSchedule> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-CSuDGrZ9.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
//#region src/components/agents-sdk/ThinkScheduleBrowser.d.ts
|
|
4
4
|
export interface ThinkScheduleBrowserProps<TSchedule extends ThinkSchedule = ThinkSchedule> extends Omit<React.HTMLAttributes<HTMLElement>, "onSelect"> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-
|
|
2
|
-
import { r as ThinkScheduleRunOf, t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-CMvICi-p.js";
|
|
2
|
+
import { r as ThinkScheduleRunOf, t as ThinkSchedule } from "../../ThinkSchedule-CSuDGrZ9.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkScheduleDetail.d.ts
|
|
5
5
|
export interface ThinkScheduleDetailProps<TSchedule extends ThinkSchedule = ThinkSchedule> extends React.HTMLAttributes<HTMLElement> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as WorkspaceAutomationInvocation, t as WorkspaceAutomation } from "../../WorkspaceAutomation-
|
|
1
|
+
import { i as WorkspaceAutomationInvocation, t as WorkspaceAutomation } from "../../WorkspaceAutomation-CMvICi-p.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { ThinkScheduledTaskSchedule } from "@cloudflare/think";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkScheduleForm.d.ts
|
|
@@ -13,9 +13,9 @@ import { t as ExecutionResult } from "../../ExecutionResult-DmC21cll.js";
|
|
|
13
13
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
14
14
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
15
15
|
import { n as OptionSelect, t as scheduledTableSourceNote } from "../../scheduled-table-source-NZR1vFc_.js";
|
|
16
|
-
import { Fieldset } from "../foundations/Fieldset.js";
|
|
17
16
|
import { CheckboxGroup } from "../foundations/CheckboxGroup.js";
|
|
18
17
|
import { Combobox } from "../foundations/Combobox.js";
|
|
18
|
+
import { Fieldset } from "../foundations/Fieldset.js";
|
|
19
19
|
import { NumberField } from "../foundations/NumberField.js";
|
|
20
20
|
import * as React from "react";
|
|
21
21
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as WorkspaceAutomationOutcome, c as WorkspaceAutomationRunFile, d as WorkspaceAutomationsPanelProps, f as automationsWorkbenchItem, i as WorkspaceAutomationInvocation, l as WorkspaceAutomationSource, n as WorkspaceAutomationFile, o as WorkspaceAutomationParam, r as WorkspaceAutomationFileProps, s as WorkspaceAutomationParamType, t as WorkspaceAutomation, u as WorkspaceAutomationsPanel } from "../../WorkspaceAutomation-
|
|
1
|
+
import { a as WorkspaceAutomationOutcome, c as WorkspaceAutomationRunFile, d as WorkspaceAutomationsPanelProps, f as automationsWorkbenchItem, i as WorkspaceAutomationInvocation, l as WorkspaceAutomationSource, n as WorkspaceAutomationFile, o as WorkspaceAutomationParam, r as WorkspaceAutomationFileProps, s as WorkspaceAutomationParamType, t as WorkspaceAutomation, u as WorkspaceAutomationsPanel } from "../../WorkspaceAutomation-CMvICi-p.js";
|
|
2
2
|
export { WorkspaceAutomation, WorkspaceAutomationFile, WorkspaceAutomationFileProps, WorkspaceAutomationInvocation, WorkspaceAutomationOutcome, WorkspaceAutomationParam, WorkspaceAutomationParamType, WorkspaceAutomationRunFile, WorkspaceAutomationSource, WorkspaceAutomationsPanel, WorkspaceAutomationsPanelProps, automationsWorkbenchItem };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as WorkspaceAutomationTableValue, S as WorkspaceAutomationTableSource, _ as WorkspaceAutomationTableLoadOptions, b as WorkspaceAutomationTableRow, g as WorkspaceAutomationTableInput, h as WorkspaceAutomationTableData, m as WorkspaceAutomationTableActions, p as WorkspaceAutomationTable, v as WorkspaceAutomationTableLoaded, x as WorkspaceAutomationTableRun, y as WorkspaceAutomationTableProps } from "../../WorkspaceAutomation-
|
|
1
|
+
import { C as WorkspaceAutomationTableValue, S as WorkspaceAutomationTableSource, _ as WorkspaceAutomationTableLoadOptions, b as WorkspaceAutomationTableRow, g as WorkspaceAutomationTableInput, h as WorkspaceAutomationTableData, m as WorkspaceAutomationTableActions, p as WorkspaceAutomationTable, v as WorkspaceAutomationTableLoaded, x as WorkspaceAutomationTableRun, y as WorkspaceAutomationTableProps } from "../../WorkspaceAutomation-CMvICi-p.js";
|
|
2
2
|
export { WorkspaceAutomationTable, WorkspaceAutomationTableActions, WorkspaceAutomationTableData, WorkspaceAutomationTableInput, WorkspaceAutomationTableLoadOptions, WorkspaceAutomationTableLoaded, WorkspaceAutomationTableProps, WorkspaceAutomationTableRow, WorkspaceAutomationTableRun, WorkspaceAutomationTableSource, WorkspaceAutomationTableValue };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-BjrgGE1w.js";
|
|
2
|
-
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-
|
|
2
|
+
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-KpMmznB_.js";
|
|
3
3
|
import { t as WorkspacePerson } from "../../workspace-person-BSgvRjZE.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
//#region src/components/agents-sdk/WorkspacePerson.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-BjrgGE1w.js";
|
|
2
|
-
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-
|
|
2
|
+
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-KpMmznB_.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/WorkspaceProject.d.ts
|
|
5
5
|
export type WorkspaceProjectThreadOrigin = "user" | "schedule" | "messenger";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as MenuProps } from "../../Menu-FA4P6KrA.js";
|
|
2
|
-
import { i as CodexModel } from "../../codex-model-catalog-
|
|
2
|
+
import { i as CodexModel } from "../../codex-model-catalog-18yO7dln.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/extension/CodexModelSelector.d.ts
|
|
5
5
|
type ModelId<ModelT extends CodexModel> = ModelT["id"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as WorkspaceAutomationSource, t as WorkspaceAutomation } from "../../WorkspaceAutomation-
|
|
2
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { l as WorkspaceAutomationSource, t as WorkspaceAutomation } from "../../WorkspaceAutomation-CMvICi-p.js";
|
|
2
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-CSuDGrZ9.js";
|
|
3
3
|
import { WorkspaceCorrespondence } from "../agents-sdk/WorkspaceCorrespondence.js";
|
|
4
4
|
import { WorkspacePersonSource } from "../agents-sdk/WorkspacePerson.js";
|
|
5
5
|
import { WorkspaceProjectSource } from "../agents-sdk/WorkspaceProject.js";
|
|
@@ -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-DAh6reu8.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
|
|
@@ -2,15 +2,15 @@ import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
|
2
2
|
import { r as ArrowLeftIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { MessageActions } from "../ai-sdk/Message.js";
|
|
4
4
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
5
|
-
import {
|
|
5
|
+
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
6
6
|
import { NaniteMark } from "./NaniteScene.js";
|
|
7
|
+
import { SubagentRunIndicator, getSubagentRunName } from "../agents-sdk/SubagentRunIndicator.js";
|
|
7
8
|
import { AgentChat } from "../agents-sdk/AgentChat.js";
|
|
8
|
-
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
9
9
|
import { ThinkChat } from "../agents-sdk/ThinkChat.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import { useAgent } from "agents/react";
|
|
13
12
|
import { useAgentChat } from "@cloudflare/think/react";
|
|
13
|
+
import { useAgent } from "agents/react";
|
|
14
14
|
//#region src/components/nanites/AgentToolDetail.tsx
|
|
15
15
|
/**
|
|
16
16
|
* Live retained-child detail composed from upstream connection and chat values.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CodexModelAvailabilityNux, c as CodexModelServiceTier, d as CodexReasoningEffortOption, f as defineCodexModels, i as CodexModel, l as CodexModelUpgradeInfo, n as CODEX_MODEL_IDS, o as CodexModelId, r as CodexInputModality, s as CodexModelListResponse, t as CHECKED_IN_CODEX_MODELS, u as CodexReasoningEffort } from "../codex-model-catalog-
|
|
1
|
+
import { a as CodexModelAvailabilityNux, c as CodexModelServiceTier, d as CodexReasoningEffortOption, f as defineCodexModels, i as CodexModel, l as CodexModelUpgradeInfo, n as CODEX_MODEL_IDS, o as CodexModelId, r as CodexInputModality, s as CodexModelListResponse, t as CHECKED_IN_CODEX_MODELS, u as CodexReasoningEffort } from "../codex-model-catalog-18yO7dln.js";
|
|
2
2
|
export { CHECKED_IN_CODEX_MODELS, CODEX_MODEL_IDS, CodexInputModality, CodexModel, CodexModelAvailabilityNux, CodexModelId, CodexModelListResponse, CodexModelServiceTier, CodexModelUpgradeInfo, CodexReasoningEffort, CodexReasoningEffortOption, defineCodexModels };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-b/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.62.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": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"streamdown": "^2.7.0",
|
|
56
56
|
"unist-util-visit": "^5.1.0",
|
|
57
57
|
"yet-another-react-lightbox": "^3.32.2",
|
|
58
|
-
"@mcp-b/design-tokens": "0.
|
|
58
|
+
"@mcp-b/design-tokens": "0.62.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@ai-sdk/react": "^4.0.136",
|