@mcp-b/react-components 0.49.1 → 0.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/dist/{AgentChatQueue-v5890eA1.d.ts → AgentChatQueue-MrHhV901.d.ts} +1 -1
  2. package/dist/AgentMessageParts-C7L-Mv9U.d.ts +46 -0
  3. package/dist/AppTopBar-CVkLRdk7.d.ts +99 -0
  4. package/dist/{CodeBlock-g8sADidM.js → CodeBlock-BMK6CW9D.js} +1 -1
  5. package/dist/Dialog-88GF7_Th.d.ts +107 -0
  6. package/dist/{FileTree-DruTQ-oa.js → FileTree-okaLnS5j.js} +1 -1
  7. package/dist/Form-CM7GNTwR.d.ts +91 -0
  8. package/dist/ManagerOffice-CqOggftJ.js +1146 -0
  9. package/dist/McpConnectorForm--HB0MEGC.d.ts +39 -0
  10. package/dist/Popover-CgHG5DtS.d.ts +220 -0
  11. package/dist/{PromptInput-4kCz3T9P.d.ts → PromptInput-DGPrCTPl.d.ts} +2 -1
  12. package/dist/ResponsiveSidebarShell-CAmmtQTR.d.ts +128 -0
  13. package/dist/SessionCompaction-CmTJFpzj.d.ts +89 -0
  14. package/dist/SetupChecklist-O6qmgwz4.js +77 -0
  15. package/dist/ThinkChatActivity-DENkintt.d.ts +77 -0
  16. package/dist/ThinkChatContext-COIgzkYp.d.ts +28 -0
  17. package/dist/ThinkRoutine-Cb1DdaHa.d.ts +30 -0
  18. package/dist/ThinkThreadPicker-yetGX_s5.d.ts +91 -0
  19. package/dist/{WorkspaceFileView-DYPtRVpM.js → WorkspaceFileView-ncZuIWhC.js} +2 -2
  20. package/dist/WorkspaceMessageResponse-8lOSAbw_.d.ts +48 -0
  21. package/dist/codex-model-catalog-BBN_gWcc.d.ts +155 -0
  22. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  23. package/dist/components/agents-sdk/AgentChat.d.ts +3 -3
  24. package/dist/components/agents-sdk/AgentChat.js +9 -10
  25. package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
  26. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  27. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  28. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  29. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  30. package/dist/components/agents-sdk/DiscordConnectionDialog.d.ts +20 -0
  31. package/dist/components/agents-sdk/DiscordConnectionDialog.js +65 -0
  32. package/dist/components/agents-sdk/EmployeeApp.d.ts +49 -0
  33. package/dist/components/agents-sdk/EmployeeApp.js +57 -0
  34. package/dist/components/agents-sdk/EmployeeChat.d.ts +63 -0
  35. package/dist/components/agents-sdk/EmployeeChat.js +84 -0
  36. package/dist/components/agents-sdk/EmployeeChrome.d.ts +10 -2
  37. package/dist/components/agents-sdk/EmployeeChrome.js +26 -16
  38. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +24 -0
  39. package/dist/components/agents-sdk/EmployeeSchedules.js +105 -0
  40. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +43 -0
  41. package/dist/components/agents-sdk/EmployeeStartScreen.js +133 -0
  42. package/dist/components/agents-sdk/ManagerAccountActions.d.ts +29 -0
  43. package/dist/components/agents-sdk/ManagerAccountActions.js +62 -0
  44. package/dist/components/agents-sdk/ManagerOffice.d.ts +1 -1
  45. package/dist/components/agents-sdk/ManagerOffice.js +1 -1145
  46. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +49 -0
  47. package/dist/components/agents-sdk/ManagerOfficeScreens.js +198 -0
  48. package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
  49. package/dist/components/agents-sdk/McpConnectionRequest.js +3 -3
  50. package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -38
  51. package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
  52. package/dist/components/agents-sdk/McpPluginCatalog.d.ts +3 -3
  53. package/dist/components/agents-sdk/McpPluginCatalog.js +3 -3
  54. package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
  55. package/dist/components/agents-sdk/McpServerPicker.d.ts +3 -3
  56. package/dist/components/agents-sdk/McpServerPicker.js +2 -2
  57. package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +31 -0
  58. package/dist/components/agents-sdk/ModelEndpointDialog.js +118 -0
  59. package/dist/components/agents-sdk/ModelSelector.d.ts +1 -1
  60. package/dist/components/agents-sdk/ModelSelector.js +4 -4
  61. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  62. package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
  63. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  64. package/dist/components/agents-sdk/SessionCompaction.d.ts +1 -88
  65. package/dist/components/agents-sdk/SlackConnectionDialog.d.ts +18 -0
  66. package/dist/components/agents-sdk/SlackConnectionDialog.js +48 -0
  67. package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
  68. package/dist/components/agents-sdk/SubagentRunPanel.js +2 -2
  69. package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
  70. package/dist/components/agents-sdk/ThinkChat.d.ts +6 -6
  71. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -76
  72. package/dist/components/agents-sdk/ThinkChatActivity.js +2 -2
  73. package/dist/components/agents-sdk/ThinkChatContext.d.ts +1 -27
  74. package/dist/components/agents-sdk/ThinkChatToolPanels.js +2 -2
  75. package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
  76. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  77. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +1 -1
  78. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -3
  79. package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +1 -1
  80. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
  81. package/dist/components/agents-sdk/ThinkRoutine.d.ts +1 -29
  82. package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +2 -2
  83. package/dist/components/agents-sdk/ThinkRoutineActions.js +2 -2
  84. package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +1 -1
  85. package/dist/components/agents-sdk/ThinkRoutineBrowser.js +3 -3
  86. package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +1 -1
  87. package/dist/components/agents-sdk/ThinkRoutineForm.js +3 -3
  88. package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
  89. package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -90
  90. package/dist/components/agents-sdk/ThinkThreadPicker.js +2 -2
  91. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  92. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +6 -6
  93. package/dist/components/agents-sdk/WorkspaceExecution.js +7 -7
  94. package/dist/components/agents-sdk/WorkspaceExplorer.js +1 -1
  95. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  96. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  97. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -47
  98. package/dist/components/agents-sdk/WorkspaceMountManager.js +2 -2
  99. package/dist/components/agents-sdk/WorkspaceProject.js +4 -4
  100. package/dist/components/agents-sdk/WorkspaceUserScript.js +4 -4
  101. package/dist/components/ai-sdk/Activity.js +1 -1
  102. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +1 -1
  103. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  104. package/dist/components/ai-sdk/AgentMessageParts.d.ts +1 -45
  105. package/dist/components/ai-sdk/Approval.js +2 -2
  106. package/dist/components/ai-sdk/Artifact.js +1 -1
  107. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  108. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  109. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  110. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  111. package/dist/components/ai-sdk/ConnectedAppCards.js +3 -3
  112. package/dist/components/ai-sdk/Context.d.ts +1 -1
  113. package/dist/components/ai-sdk/Context.js +1 -1
  114. package/dist/components/ai-sdk/Conversation.js +1 -1
  115. package/dist/components/ai-sdk/Goal.js +1 -1
  116. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  117. package/dist/components/ai-sdk/Message.js +2 -2
  118. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  119. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  120. package/dist/components/ai-sdk/Plan.d.ts +1 -1
  121. package/dist/components/ai-sdk/Plan.js +1 -1
  122. package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
  123. package/dist/components/ai-sdk/PromptInput.js +7 -7
  124. package/dist/components/ai-sdk/Queue.js +1 -1
  125. package/dist/components/ai-sdk/Reasoning.js +1 -1
  126. package/dist/components/ai-sdk/Sources.js +1 -1
  127. package/dist/components/ai-sdk/Task.js +1 -1
  128. package/dist/components/extension/ChatGptSignInScreen.js +1 -1
  129. package/dist/components/extension/CodexModelSelector.d.ts +1 -1
  130. package/dist/components/extension/CodexModelSelector.js +2 -2
  131. package/dist/components/extension/ConversationTabPicker.js +2 -2
  132. package/dist/components/foundations/Checkbox.js +1 -1
  133. package/dist/components/foundations/Collapsible.js +1 -1
  134. package/dist/components/foundations/ContextMenu.js +1 -1
  135. package/dist/components/foundations/Dialog.d.ts +1 -106
  136. package/dist/components/foundations/Form.d.ts +1 -90
  137. package/dist/components/foundations/Menubar.js +1 -1
  138. package/dist/components/foundations/Popover.d.ts +1 -219
  139. package/dist/components/foundations/SearchField.js +1 -1
  140. package/dist/components/foundations/Select.js +1 -1
  141. package/dist/components/foundations/Stepper.js +1 -1
  142. package/dist/components/foundations/Toast.js +1 -1
  143. package/dist/components/foundations/icons.js +1 -1
  144. package/dist/components/general-purpose/AccountSignInDialog.d.ts +26 -0
  145. package/dist/components/general-purpose/AccountSignInDialog.js +25 -0
  146. package/dist/components/general-purpose/AppTopBar.d.ts +1 -98
  147. package/dist/components/general-purpose/Commit.js +2 -2
  148. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  149. package/dist/components/general-purpose/FileTree.js +1 -1
  150. package/dist/components/general-purpose/NotificationPrompt.d.ts +13 -0
  151. package/dist/components/general-purpose/NotificationPrompt.js +18 -0
  152. package/dist/components/general-purpose/PricingPlanCard.js +2 -2
  153. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  154. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -127
  155. package/dist/components/general-purpose/ResponsiveSidebarShell.js +124 -72
  156. package/dist/components/general-purpose/SettingsFormDialog.d.ts +2 -2
  157. package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
  158. package/dist/components/general-purpose/SetupChecklist.js +1 -76
  159. package/dist/components/general-purpose/StatusScreen.d.ts +10 -0
  160. package/dist/components/general-purpose/StatusScreen.js +13 -0
  161. package/dist/components/general-purpose/Terminal.js +2 -2
  162. package/dist/components/general-purpose/TestResults.js +1 -1
  163. package/dist/components/general-purpose/ThemeModeControl.js +1 -1
  164. package/dist/components/general-purpose/WebPreview.js +2 -2
  165. package/dist/components/nanites/AgentConnection.js +2 -2
  166. package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
  167. package/dist/components/nanites/AgentToolDetail.js +2 -2
  168. package/dist/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
  169. package/dist/mcp-server-catalog-D9p4gGeJ.d.ts +1112 -0
  170. package/dist/styles/agent-chat.css +12 -4
  171. package/dist/styles/employee-app.css +29 -0
  172. package/dist/styles/index.css +2 -0
  173. package/dist/styles/manager-work.css +93 -0
  174. package/dist/styles/message.css +4 -0
  175. package/dist/utils/codex-model-catalog.d.ts +1 -154
  176. package/dist/utils/mcp-server-catalog.d.ts +1 -1111
  177. package/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-C3QT6UlQ.js} +1 -1
  178. package/package.json +2 -2
  179. package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
@@ -0,0 +1,18 @@
1
+ import { Button } from "../foundations/Button.js";
2
+ import "react";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/general-purpose/NotificationPrompt.tsx
5
+ /** Persistent permission/retry affordance; availability and the user gesture stay host-owned. */
6
+ function NotificationPrompt({ onEnable, children }) {
7
+ return /* @__PURE__ */ jsx("div", {
8
+ className: "sigvelo-floating-prompt",
9
+ children: /* @__PURE__ */ jsx(Button, {
10
+ variant: "surface",
11
+ color: "neutral",
12
+ onClick: onEnable,
13
+ children
14
+ })
15
+ });
16
+ }
17
+ //#endregion
18
+ export { NotificationPrompt };
@@ -1,9 +1,9 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-cuEtsgj9.js";
2
+ import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { IconButton } from "../foundations/IconButton.js";
5
- import { Separator } from "../foundations/Separator.js";
6
5
  import { Card } from "../foundations/Card.js";
6
+ import { Separator } from "../foundations/Separator.js";
7
7
  import { getPlanPrice, getPlanYearlySavings } from "./Pricing.js";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  //#region src/components/general-purpose/PricingPlanCard.tsx
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Slider } from "../foundations/Slider.js";
2
+ import { Card } from "../foundations/Card.js";
3
3
  import { Separator } from "../foundations/Separator.js";
4
+ import { Slider } from "../foundations/Slider.js";
4
5
  import { Progress } from "../foundations/Progress.js";
5
- import { Card } from "../foundations/Card.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,128 +1,2 @@
1
- import { AppTopBarTitleProps } from "./AppTopBar.js";
2
- import * as React from "react";
3
-
4
- //#region src/components/general-purpose/ResponsiveSidebarShell.d.ts
5
- interface ResponsiveSidebarShellControls {
6
- /** The shell's current container layout, shared by in-shell and portalled controls. */
7
- compact: boolean;
8
- /** Close the sidebar and move focus to the main content. */
9
- closeSidebar: () => void;
10
- /** Close only when the shell is currently using its compact drawer layout. */
11
- closeSidebarOnCompact: () => void;
12
- }
13
- /** Reuse the shell's measured layout and drawer controls instead of observing it again. */
14
- declare function useResponsiveSidebarShell(): ResponsiveSidebarShellControls;
15
- /**
16
- * Bar slot content shared by every shell-owning surface's `bar` prop, so an
17
- * app writes one shape whether it is configuring ThinkFullApp, the routine
18
- * library, or the shell directly.
19
- */
20
- interface AppBarSlots {
21
- /**
22
- * App-owned route element rendered as a labelled back control. Back owns
23
- * the leading slot the same way `leading` does: the shell's own sidebar
24
- * toggle stands down and compact sidebars stay reachable through
25
- * `compactTitleTrigger`.
26
- */
27
- back?: {
28
- label: string;
29
- link: React.ReactElement;
30
- };
31
- /** App-owned leading navigation that owns the leading slot at every width. */
32
- leading?: React.ReactNode;
33
- /** Compact-only navigation that replaces the drawer trigger without hiding the wide rail toggle. */
34
- compactLeading?: React.ReactNode;
35
- /** Bar title content. Hidden at compact widths when `compactTitleTrigger` stands in. */
36
- title?: React.ReactNode;
37
- /** Trailing group, before `primary`. Overflow menus and secondary icon controls. */
38
- actions?: React.ReactNode;
39
- /**
40
- * Rightmost trailing control. Sits after `actions` so a host can keep a
41
- * single primary action (new thread, new schedule) on the trailing edge
42
- * without fighting whatever else the surface puts in the bar.
43
- */
44
- primary?: React.ReactNode;
45
- }
46
- interface ResponsiveSidebarShellBar extends AppBarSlots {
47
- /** Native title render contract, including element and render-function composition. */
48
- titleRender?: AppTopBarTitleProps["render"];
49
- /**
50
- * Label content for a compact-width drawer trigger that replaces the plain
51
- * title and the icon toggle: the title itself becomes the control that opens
52
- * the sidebar. The shell renders the button and the disclosure chevron.
53
- */
54
- compactTitleTrigger?: React.ReactNode;
55
- /** Accessible name for the bar toolbar. Defaults to "Application controls". */
56
- label?: string;
57
- /** Class for the bar root, the owning surface's styling hook. */
58
- className?: string;
59
- /**
60
- * No bar row at all — for content that brings its own application bar.
61
- * Distinct from passing no slots: an empty shell with a sidebar still shows
62
- * a bar carrying the toggle.
63
- */
64
- hidden?: boolean;
65
- }
66
- interface ResponsiveSidebarShellProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "title"> {
67
- /**
68
- * Navigation or other secondary surface shown beside the selected content.
69
- * Omit for a shell that is only a bar row over content — the app bar then
70
- * has one mount point whether or not a sidebar exists.
71
- *
72
- * Open/closed is shell-internal: it is ephemeral presentation state, not a
73
- * route, so no host controls it and no resize ever writes into a router.
74
- */
75
- sidebar?: React.ReactNode | ((controls: ResponsiveSidebarShellControls) => React.ReactNode);
76
- /** Main content. */
77
- children?: React.ReactNode;
78
- /** Short noun used by the toggle and resize control, such as “threads” or “schedules”. */
79
- sidebarLabel?: string;
80
- /** Whether the sidebar is open. Omit for internal state. */
81
- sidebarOpen?: boolean;
82
- /** Move the wide-layout toggle into the sidebar while it is open. */
83
- sidebarTogglePlacement?: "main" | "sidebar";
84
- /** Initial sidebar state when `sidebarOpen` is uncontrolled. */
85
- defaultSidebarOpen?: boolean;
86
- /** Called when the sidebar is opened or closed. */
87
- onSidebarOpenChange?: (open: boolean) => void;
88
- /** Initial desktop sidebar width in CSS pixels. */
89
- defaultSidebarWidth?: number;
90
- /** Shell-owned application bar composed from slots. */
91
- bar?: ResponsiveSidebarShellBar;
92
- /**
93
- * Host-owned error shown in the main column above the content, without
94
- * replacing it. The shell renders the alert anatomy; pass the message.
95
- */
96
- error?: React.ReactNode;
97
- /** Accessible name for the mobile peek target that returns to the main content. */
98
- showMainLabel?: string;
99
- }
100
- /**
101
- * The one application shell: responsive master-detail with a resizable desktop
102
- * sidebar, a compact floating drawer that leaves the main content in place as
103
- * a dismiss target, and a shell-owned application bar composed from slots.
104
- * The root exposes `data-sidebar-open="true" | "false"` as its public styling
105
- * hook, and its container name `responsive-sidebar-shell` is public contract:
106
- * surfaces that compose the shell size themselves against it.
107
- */
108
- declare function ResponsiveSidebarShell({
109
- sidebar,
110
- sidebarLabel,
111
- sidebarOpen,
112
- sidebarTogglePlacement,
113
- defaultSidebarOpen,
114
- defaultSidebarWidth,
115
- onSidebarOpenChange,
116
- bar,
117
- error,
118
- showMainLabel,
119
- className,
120
- children,
121
- ref,
122
- style,
123
- ...props
124
- }: ResponsiveSidebarShellProps & {
125
- /** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
126
- }): React.JSX.Element;
127
- //#endregion
1
+ import { a as ResponsiveSidebarShellProps, i as ResponsiveSidebarShellControls, n as ResponsiveSidebarShell, o as useResponsiveSidebarShell, r as ResponsiveSidebarShellBar, t as AppBarSlots } from "../../ResponsiveSidebarShell-CAmmtQTR.js";
128
2
  export { AppBarSlots, ResponsiveSidebarShell, ResponsiveSidebarShellBar, ResponsiveSidebarShellControls, ResponsiveSidebarShellProps, useResponsiveSidebarShell };
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { W as SidebarIcon, et as WarningIcon, f as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-cuEtsgj9.js";
2
+ import { W as SidebarIcon, et as WarningIcon, f as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { t as capitalize } from "../../format-COCyV98Z.js";
5
5
  import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
@@ -89,6 +89,7 @@ function ResponsiveSidebarShell({ sidebar, sidebarLabel = "sidebar", sidebarOpen
89
89
  wantsBuiltInDefault
90
90
  ]);
91
91
  const hasSidebar = sidebar != null;
92
+ const sidebarVisible = hasSidebar && isSidebarOpen;
92
93
  const toggleLabel = capitalize(sidebarLabel);
93
94
  const toggleTooltip = `${isSidebarOpen ? "Hide" : "Show"} ${sidebarLabel}`;
94
95
  const updateSidebar = React.useCallback((update, restoreFocus) => {
@@ -122,20 +123,7 @@ function ResponsiveSidebarShell({ sidebar, sidebarLabel = "sidebar", sidebarOpen
122
123
  closeSidebarOnCompact
123
124
  ]);
124
125
  const sidebarContent = typeof sidebar === "function" ? sidebar(controls) : sidebar;
125
- const hasCustomLeading = bar?.leading != null;
126
- const hasAppLeading = bar?.back != null || hasCustomLeading;
127
- const hasTitleTrigger = hasSidebar && bar?.compactTitleTrigger != null && bar?.compactLeading == null;
128
- const renderSidebarToggle = (className) => hasSidebar ? /* @__PURE__ */ jsx(AppTopBar.Button, {
129
- className: cx("responsive-sidebar-shell__toggle", className),
130
- label: toggleLabel,
131
- tooltip: toggleTooltip,
132
- type: "button",
133
- "aria-controls": sidebarId,
134
- "aria-expanded": isSidebarOpen,
135
- onClick: (event) => toggleSidebar(event.currentTarget),
136
- children: /* @__PURE__ */ jsx(SidebarIcon, {})
137
- }) : null;
138
- const renderSidebarToggleInSidebar = () => hasSidebar ? /* @__PURE__ */ jsx(Button, {
126
+ const sidebarToggle = sidebarVisible && sidebarTogglePlacement === "sidebar" ? /* @__PURE__ */ jsx(Button, {
139
127
  className: "responsive-sidebar-shell__toggle responsive-sidebar-shell__toggle--sidebar",
140
128
  type: "button",
141
129
  variant: "ghost",
@@ -149,10 +137,6 @@ function ResponsiveSidebarShell({ sidebar, sidebarLabel = "sidebar", sidebarOpen
149
137
  onClick: (event) => toggleSidebar(event.currentTarget),
150
138
  children: /* @__PURE__ */ jsx(SidebarIcon, {})
151
139
  }) : null;
152
- const sidebarToggle = sidebarTogglePlacement === "sidebar" && isSidebarOpen ? renderSidebarToggleInSidebar() : null;
153
- const mainSidebarToggle = sidebarTogglePlacement === "sidebar" || sidebarTogglePlacement === "main" && !hasCustomLeading ? renderSidebarToggle(sidebarTogglePlacement === "sidebar" ? "responsive-sidebar-shell__toggle--sidebar-fallback" : hasTitleTrigger ? "responsive-sidebar-shell__toggle--replaced-by-title" : bar?.compactLeading != null ? "responsive-sidebar-shell__toggle--replaced-by-compact-leading" : void 0) : null;
154
- const hasTopBar = !bar?.hidden && (hasSidebar || bar?.back != null || bar?.leading != null || bar?.compactLeading != null || bar?.title != null || bar?.actions != null || bar?.primary != null);
155
- const compactLeadingMode = hasTitleTrigger ? "trigger" : !hasAppLeading && bar?.compactLeading != null ? "custom" : void 0;
156
140
  return /* @__PURE__ */ jsx(SidebarShellContext.Provider, {
157
141
  value: controls,
158
142
  children: /* @__PURE__ */ jsx("div", {
@@ -161,11 +145,11 @@ function ResponsiveSidebarShell({ sidebar, sidebarLabel = "sidebar", sidebarOpen
161
145
  "data-recipe": "fill-host",
162
146
  style,
163
147
  ...props,
164
- "data-sidebar-open": hasSidebar && isSidebarOpen ? "true" : "false",
148
+ "data-sidebar-open": sidebarVisible ? "true" : "false",
165
149
  "data-sidebar-toggle-placement": sidebarTogglePlacement,
166
150
  onKeyDown: (event) => {
167
151
  props.onKeyDown?.(event);
168
- if (!event.defaultPrevented && event.key === "Escape" && hasSidebar && isSidebarOpen && rootRef.current && isCompactSidebar(rootRef.current)) {
152
+ if (!event.defaultPrevented && event.key === "Escape" && sidebarVisible && rootRef.current && isCompactSidebar(rootRef.current)) {
169
153
  event.preventDefault();
170
154
  dismissSidebar();
171
155
  }
@@ -180,63 +164,28 @@ function ResponsiveSidebarShell({ sidebar, sidebarLabel = "sidebar", sidebarOpen
180
164
  maxSize: sidebarMaxWidth,
181
165
  keyboardStep: sidebarKeyboardStep,
182
166
  children: [
183
- hasSidebar && isSidebarOpen ? /* @__PURE__ */ jsx(ResizableSidePanel.Handle, { className: "responsive-sidebar-shell__resizer" }) : null,
184
- hasSidebar ? /* @__PURE__ */ jsxs("div", {
167
+ sidebarVisible ? /* @__PURE__ */ jsx(ResizableSidePanel.Handle, { className: "responsive-sidebar-shell__resizer" }) : null,
168
+ hasSidebar ? /* @__PURE__ */ jsx(SidebarPane, {
185
169
  id: sidebarId,
186
- className: "responsive-sidebar-shell__sidebar",
187
- "aria-hidden": isSidebarOpen ? void 0 : true,
188
- inert: isSidebarOpen ? void 0 : true,
189
- children: [sidebarToggle ? /* @__PURE__ */ jsx("div", {
190
- className: "responsive-sidebar-shell__sidebar-leading",
191
- children: sidebarToggle
192
- }) : null, /* @__PURE__ */ jsx("div", {
193
- className: "responsive-sidebar-shell__sidebar-content",
194
- children: sidebarContent
195
- })]
170
+ open: isSidebarOpen,
171
+ toggle: sidebarToggle,
172
+ children: sidebarContent
196
173
  }) : null,
197
174
  /* @__PURE__ */ jsxs("div", {
198
175
  ref: mainRef,
199
176
  className: "responsive-sidebar-shell__main",
200
177
  tabIndex: -1,
201
178
  children: [
202
- hasTopBar ? /* @__PURE__ */ jsxs(AppTopBar.Root, {
203
- "aria-label": bar?.label ?? "Application controls",
204
- className: bar?.className,
205
- "data-compact-leading": compactLeadingMode,
206
- children: [
207
- hasSidebar || hasAppLeading || bar?.compactLeading != null ? /* @__PURE__ */ jsxs(AppTopBar.Leading, { children: [
208
- bar?.back ? /* @__PURE__ */ jsx(AppTopBar.Link, {
209
- label: bar.back.label,
210
- render: bar.back.link,
211
- children: /* @__PURE__ */ jsx(ArrowLeftIcon, {})
212
- }) : null,
213
- bar?.leading,
214
- !hasCustomLeading ? mainSidebarToggle : null,
215
- compactLeadingMode === "custom" ? /* @__PURE__ */ jsx("span", {
216
- className: "responsive-sidebar-shell__compact-leading",
217
- children: bar?.compactLeading
218
- }) : null
219
- ] }) : null,
220
- bar?.title != null || hasTitleTrigger ? /* @__PURE__ */ jsxs(AppTopBar.Title, {
221
- render: bar?.titleRender,
222
- children: [bar?.title != null ? /* @__PURE__ */ jsx("span", {
223
- className: "responsive-sidebar-shell__title-text",
224
- children: bar.title
225
- }) : null, hasTitleTrigger ? /* @__PURE__ */ jsxs(Button, {
226
- type: "button",
227
- variant: "ghost",
228
- color: "neutral",
229
- size: "sm",
230
- className: "responsive-sidebar-shell__title-trigger",
231
- "aria-controls": sidebarId,
232
- "aria-expanded": isSidebarOpen,
233
- onClick: (event) => toggleSidebar(event.currentTarget),
234
- children: [bar?.compactTitleTrigger, /* @__PURE__ */ jsx(ChevronDownIcon, { "aria-hidden": "true" })]
235
- }) : null]
236
- }) : null,
237
- bar?.actions != null || bar?.primary != null ? /* @__PURE__ */ jsxs(AppTopBar.Trailing, { children: [bar.actions, bar.primary] }) : null
238
- ]
239
- }) : null,
179
+ /* @__PURE__ */ jsx(SidebarAppBar, {
180
+ bar,
181
+ hasSidebar,
182
+ sidebarTogglePlacement,
183
+ sidebarId,
184
+ isSidebarOpen,
185
+ toggleSidebar,
186
+ toggleLabel,
187
+ toggleTooltip
188
+ }),
240
189
  error != null ? /* @__PURE__ */ jsxs("div", {
241
190
  className: "responsive-sidebar-shell__error",
242
191
  role: "alert",
@@ -245,7 +194,7 @@ function ResponsiveSidebarShell({ sidebar, sidebarLabel = "sidebar", sidebarOpen
245
194
  children
246
195
  ]
247
196
  }),
248
- hasSidebar && isSidebarOpen ? /* @__PURE__ */ jsx(Button, {
197
+ sidebarVisible ? /* @__PURE__ */ jsx(Button, {
249
198
  type: "button",
250
199
  variant: "ghost",
251
200
  color: "neutral",
@@ -258,5 +207,108 @@ function ResponsiveSidebarShell({ sidebar, sidebarLabel = "sidebar", sidebarOpen
258
207
  })
259
208
  });
260
209
  }
210
+ function SidebarAppBar({ bar, hasSidebar, sidebarTogglePlacement, sidebarId, isSidebarOpen, toggleSidebar, toggleLabel, toggleTooltip }) {
211
+ const hasCustomLeading = bar?.leading != null;
212
+ const hasAppLeading = bar?.back != null || hasCustomLeading;
213
+ const hasTitleTrigger = hasSidebar && bar?.compactTitleTrigger != null && bar?.compactLeading == null;
214
+ const mainSidebarToggle = hasSidebar && (sidebarTogglePlacement === "sidebar" || !hasCustomLeading) ? /* @__PURE__ */ jsx(AppTopBar.Button, {
215
+ className: cx("responsive-sidebar-shell__toggle", sidebarToggleClassName(sidebarTogglePlacement, hasTitleTrigger, bar?.compactLeading != null)),
216
+ label: toggleLabel,
217
+ tooltip: toggleTooltip,
218
+ type: "button",
219
+ "aria-controls": sidebarId,
220
+ "aria-expanded": isSidebarOpen,
221
+ onClick: (event) => toggleSidebar(event.currentTarget),
222
+ children: /* @__PURE__ */ jsx(SidebarIcon, {})
223
+ }) : null;
224
+ const compactLeadingMode = hasTitleTrigger ? "trigger" : !hasAppLeading && bar?.compactLeading != null ? "custom" : void 0;
225
+ if (!hasSidebarAppBar(bar, hasSidebar)) return null;
226
+ return /* @__PURE__ */ jsxs(AppTopBar.Root, {
227
+ "aria-label": bar?.label ?? "Application controls",
228
+ className: bar?.className,
229
+ "data-compact-leading": compactLeadingMode,
230
+ children: [
231
+ /* @__PURE__ */ jsx(SidebarAppBarLeading, {
232
+ bar,
233
+ mainSidebarToggle,
234
+ compactLeadingMode
235
+ }),
236
+ /* @__PURE__ */ jsx(SidebarAppBarTitle, {
237
+ bar,
238
+ hasTitleTrigger,
239
+ sidebarId,
240
+ isSidebarOpen,
241
+ toggleSidebar
242
+ }),
243
+ bar?.actions != null || bar?.primary != null ? /* @__PURE__ */ jsxs(AppTopBar.Trailing, { children: [bar.actions, bar.primary] }) : null
244
+ ]
245
+ });
246
+ }
247
+ function SidebarAppBarTitle({ bar, hasTitleTrigger, sidebarId, isSidebarOpen, toggleSidebar }) {
248
+ if (bar?.title == null && !hasTitleTrigger) return null;
249
+ return /* @__PURE__ */ jsxs(AppTopBar.Title, {
250
+ render: bar?.titleRender,
251
+ children: [bar?.title != null ? /* @__PURE__ */ jsx("span", {
252
+ className: "responsive-sidebar-shell__title-text",
253
+ children: bar.title
254
+ }) : null, hasTitleTrigger ? /* @__PURE__ */ jsxs(Button, {
255
+ type: "button",
256
+ variant: "ghost",
257
+ color: "neutral",
258
+ size: "sm",
259
+ className: "responsive-sidebar-shell__title-trigger",
260
+ "aria-controls": sidebarId,
261
+ "aria-expanded": isSidebarOpen,
262
+ onClick: (event) => toggleSidebar(event.currentTarget),
263
+ children: [bar?.compactTitleTrigger, /* @__PURE__ */ jsx(ChevronDownIcon, { "aria-hidden": "true" })]
264
+ }) : null]
265
+ });
266
+ }
267
+ function sidebarToggleClassName(placement, hasTitleTrigger, hasCompactLeading) {
268
+ if (placement === "sidebar") return "responsive-sidebar-shell__toggle--sidebar-fallback";
269
+ if (hasTitleTrigger) return "responsive-sidebar-shell__toggle--replaced-by-title";
270
+ if (hasCompactLeading) return "responsive-sidebar-shell__toggle--replaced-by-compact-leading";
271
+ }
272
+ function SidebarAppBarLeading({ bar, mainSidebarToggle, compactLeadingMode }) {
273
+ if (mainSidebarToggle == null && bar?.back == null && bar?.leading == null && bar?.compactLeading == null) return null;
274
+ return /* @__PURE__ */ jsxs(AppTopBar.Leading, { children: [
275
+ bar?.back ? /* @__PURE__ */ jsx(AppTopBar.Link, {
276
+ label: bar.back.label,
277
+ render: bar.back.link,
278
+ children: /* @__PURE__ */ jsx(ArrowLeftIcon, {})
279
+ }) : null,
280
+ bar?.leading,
281
+ mainSidebarToggle,
282
+ compactLeadingMode === "custom" ? /* @__PURE__ */ jsx("span", {
283
+ className: "responsive-sidebar-shell__compact-leading",
284
+ children: bar?.compactLeading
285
+ }) : null
286
+ ] });
287
+ }
288
+ function hasSidebarAppBar(bar, hasSidebar) {
289
+ return !bar?.hidden && (hasSidebar || [
290
+ bar?.back,
291
+ bar?.leading,
292
+ bar?.compactLeading,
293
+ bar?.title,
294
+ bar?.actions,
295
+ bar?.primary
296
+ ].some((slot) => slot != null));
297
+ }
298
+ function SidebarPane({ id, open, toggle, children }) {
299
+ return /* @__PURE__ */ jsxs("div", {
300
+ id,
301
+ className: "responsive-sidebar-shell__sidebar",
302
+ "aria-hidden": open ? void 0 : true,
303
+ inert: open ? void 0 : true,
304
+ children: [toggle ? /* @__PURE__ */ jsx("div", {
305
+ className: "responsive-sidebar-shell__sidebar-leading",
306
+ children: toggle
307
+ }) : null, /* @__PURE__ */ jsx("div", {
308
+ className: "responsive-sidebar-shell__sidebar-content",
309
+ children
310
+ })]
311
+ });
312
+ }
261
313
  //#endregion
262
314
  export { ResponsiveSidebarShell, useResponsiveSidebarShell };
@@ -1,5 +1,5 @@
1
- import { Dialog } from "../foundations/Dialog.js";
2
- import { FormProps } from "../foundations/Form.js";
1
+ import { t as Dialog } from "../../Dialog-88GF7_Th.js";
2
+ import { n as FormProps } from "../../Form-CM7GNTwR.js";
3
3
  import * as React from "react";
4
4
 
5
5
  //#region src/components/general-purpose/SettingsFormDialog.d.ts
@@ -1,8 +1,8 @@
1
1
  import { Button } from "../foundations/Button.js";
2
- import { Dialog } from "../foundations/Dialog.js";
3
- import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
4
2
  import { Field } from "../foundations/Field.js";
5
3
  import { Form } from "../foundations/Form.js";
4
+ import { Dialog } from "../foundations/Dialog.js";
5
+ import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
6
6
  import * as React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/general-purpose/SettingsFormDialog.tsx
@@ -1,77 +1,2 @@
1
- import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { B as PlusIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon } from "../../icons-cuEtsgj9.js";
3
- import { Button } from "../foundations/Button.js";
4
- import { Menu } from "../foundations/Menu.js";
5
- import * as React from "react";
6
- import { jsx, jsxs } from "react/jsx-runtime";
7
- //#region src/components/_internal/menu-disclosure-group.tsx
8
- /**
9
- * A menu-native disclosure: its trigger stays in the menu roving-focus model,
10
- * while its rows mount only after the user expands the section.
11
- */
12
- function MenuDisclosureGroup({ children, className, defaultOpen = false, label, triggerClassName, ...props }) {
13
- const [open, setOpen] = React.useState(defaultOpen);
14
- return /* @__PURE__ */ jsxs(Menu.Group, {
15
- className: mergeBaseClassName("menu-disclosure-group", className),
16
- ...props,
17
- children: [/* @__PURE__ */ jsxs(Menu.Item, {
18
- "aria-expanded": open,
19
- className: mergeBaseClassName("menu-disclosure-group__trigger", triggerClassName),
20
- closeOnClick: false,
21
- onClick: () => setOpen((current) => !current),
22
- children: [/* @__PURE__ */ jsx("span", {
23
- className: "sigvelo-truncate-grow",
24
- children: label
25
- }), /* @__PURE__ */ jsx(ChevronDownIcon, { "aria-hidden": "true" })]
26
- }), open ? /* @__PURE__ */ jsx("div", {
27
- className: "menu-disclosure-group__items",
28
- children
29
- }) : null]
30
- });
31
- }
32
- //#endregion
33
- //#region src/components/general-purpose/SetupChecklist.tsx
34
- /** Checklist rows for any Menu surface (composer plus menu, tray menu). */
35
- function SetupChecklistGroup({ label, entries, defaultOpen = false, onSelect }) {
36
- return /* @__PURE__ */ jsx(MenuDisclosureGroup, {
37
- label,
38
- defaultOpen,
39
- children: entries.map((entry) => /* @__PURE__ */ jsxs(Menu.Item, {
40
- "aria-label": `${entry.name}, ${entry.complete ? "complete" : "not set up"}`,
41
- onClick: () => onSelect(entry.id),
42
- children: [
43
- entry.icon,
44
- /* @__PURE__ */ jsx("span", {
45
- className: "sigvelo-truncate-grow",
46
- children: entry.description
47
- }),
48
- entry.complete ? /* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ jsx(PlusIcon, { "aria-hidden": "true" })
49
- ]
50
- }, entry.id))
51
- });
52
- }
53
- /** Progress-aware tray trigger opening the checklist in its own menu. */
54
- function SetupChecklistAction({ actionLabel, label, entries, onSelect }) {
55
- const completed = entries.filter((entry) => entry.complete).length;
56
- return /* @__PURE__ */ jsxs(Menu.Root, { children: [/* @__PURE__ */ jsxs(Button, {
57
- type: "button",
58
- variant: "ghost",
59
- color: "neutral",
60
- size: "sm",
61
- "aria-label": `${actionLabel} — ${completed} of ${entries.length} set up`,
62
- render: /* @__PURE__ */ jsx(Menu.Trigger, { unstyled: true }),
63
- children: [completed === entries.length ? /* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ jsx(WarningIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", { children: actionLabel })]
64
- }), /* @__PURE__ */ jsx(Menu.Portal, { children: /* @__PURE__ */ jsx(Menu.Positioner, {
65
- side: "bottom",
66
- align: "start",
67
- sideOffset: 4,
68
- children: /* @__PURE__ */ jsx(Menu.Popup, { children: /* @__PURE__ */ jsx(SetupChecklistGroup, {
69
- defaultOpen: true,
70
- label,
71
- entries,
72
- onSelect
73
- }) })
74
- }) })] });
75
- }
76
- //#endregion
1
+ import { n as SetupChecklistGroup, t as SetupChecklistAction } from "../../SetupChecklist-O6qmgwz4.js";
77
2
  export { SetupChecklistAction, SetupChecklistGroup };
@@ -0,0 +1,10 @@
1
+ import { EmptyStateProps } from "../foundations/EmptyState.js";
2
+
3
+ //#region src/components/general-purpose/StatusScreen.d.ts
4
+ /** A whole-region status with one shared layout for its message and recovery actions. */
5
+ declare function StatusScreen({
6
+ role,
7
+ ...props
8
+ }: EmptyStateProps): import("react").JSX.Element;
9
+ //#endregion
10
+ export { StatusScreen };
@@ -0,0 +1,13 @@
1
+ import { EmptyState } from "../foundations/EmptyState.js";
2
+ import { jsx } from "react/jsx-runtime";
3
+ //#region src/components/general-purpose/StatusScreen.tsx
4
+ /** A whole-region status with one shared layout for its message and recovery actions. */
5
+ function StatusScreen({ role = "status", ...props }) {
6
+ return /* @__PURE__ */ jsx("section", {
7
+ className: "status-screen",
8
+ role,
9
+ children: /* @__PURE__ */ jsx(EmptyState, { ...props })
10
+ });
11
+ }
12
+ //#endregion
13
+ export { StatusScreen };
@@ -1,7 +1,7 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Z as TerminalIcon, nt as XIcon } from "../../icons-cuEtsgj9.js";
2
+ import { Z as TerminalIcon, nt as XIcon } from "../../icons-CeGfXO21.js";
3
3
  import { IconButton } from "../foundations/IconButton.js";
4
- import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
4
+ import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
5
5
  import { ScrollArea } from "../foundations/ScrollArea.js";
6
6
  import * as React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, d as CheckIcon, nt as XIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
3
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
+ import { K as SpinnerIcon, d as CheckIcon, nt as XIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
4
4
  import { Progress } from "../foundations/Progress.js";
5
5
  import * as React from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { F as MoonIcon, P as MonitorIcon, Y as SunIcon } from "../../icons-cuEtsgj9.js";
1
+ import { F as MoonIcon, P as MonitorIcon, Y as SunIcon } from "../../icons-CeGfXO21.js";
2
2
  import { useTheme } from "../foundations/ThemeProvider.js";
3
3
  import { Radio, RadioGroup } from "../foundations/RadioGroup.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,9 +1,9 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { H as RefreshIcon, f as ChevronDownIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-cuEtsgj9.js";
3
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
+ import { H as RefreshIcon, f as ChevronDownIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
4
4
  import { IconButton } from "../foundations/IconButton.js";
5
- import { ScrollArea } from "../foundations/ScrollArea.js";
6
5
  import { Input } from "../foundations/Input.js";
6
+ import { ScrollArea } from "../foundations/ScrollArea.js";
7
7
  import * as React from "react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  import { useRender } from "@base-ui/react/use-render";
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { D as LinkIcon } from "../../icons-cuEtsgj9.js";
2
+ import { D as LinkIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
+ import { a as CodeBlockCopyButton, i as CodeBlockContent, n as CodeBlockActions, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock } from "../../CodeBlock-BMK6CW9D.js";
4
5
  import { Popover } from "../foundations/Popover.js";
5
- import { a as CodeBlockCopyButton, i as CodeBlockContent, n as CodeBlockActions, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock } from "../../CodeBlock-g8sADidM.js";
6
6
  import { ToggleGroup } from "../foundations/ToggleGroup.js";
7
7
  import * as React from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { n as AgentToolRunValue } from "../../AgentToolRunsContext-GMe_hSnD.js";
2
+ import { i as ThinkChatValue } from "../../ThinkChatContext-COIgzkYp.js";
2
3
  import { SubagentRunMetadataProps } from "../agents-sdk/SubagentRunDetails.js";
3
- import { ThinkChatValue } from "../agents-sdk/ThinkChatContext.js";
4
4
  import * as React from "react";
5
5
  import { UIMessage } from "ai";
6
6
  import { UseAgentOptions, useAgent } from "agents/react";
@@ -1,13 +1,13 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { r as ArrowLeftIcon } from "../../icons-cuEtsgj9.js";
2
+ import { r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
3
3
  import { MessageActions } from "../ai-sdk/Message.js";
4
4
  import { SubagentRunIndicator, getSubagentRunName } from "../agents-sdk/SubagentRunIndicator.js";
5
5
  import { NaniteMark } from "./NaniteScene.js";
6
6
  import { TransitionSurface } from "../foundations/TransitionSurface.js";
7
7
  import { AgentChat } from "../agents-sdk/AgentChat.js";
8
8
  import { AppTopBar } from "../general-purpose/AppTopBar.js";
9
- import { SubagentRunMetadata } from "../agents-sdk/SubagentRunDetails.js";
10
9
  import { ThinkChat } from "../agents-sdk/ThinkChat.js";
10
+ import { SubagentRunMetadata } from "../agents-sdk/SubagentRunDetails.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";
@@ -1,4 +1,4 @@
1
- import { d as CheckIcon, h as CopyIcon } from "./icons-cuEtsgj9.js";
1
+ import { d as CheckIcon, h as CopyIcon } from "./icons-CeGfXO21.js";
2
2
  import { IconButton } from "./components/foundations/IconButton.js";
3
3
  import * as React from "react";
4
4
  import { jsx } from "react/jsx-runtime";