@mcp-b/react-components 0.58.1 → 0.59.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 (164) hide show
  1. package/dist/{CodeBlock-Bs_Z03eC.js → CodeBlock-B4K656LO.js} +1 -1
  2. package/dist/{EmployeeChrome-DsdIek0l.d.ts → EmployeeChrome-QSki0QT4.d.ts} +4 -4
  3. package/dist/{ExecutionResult-BSZsUbrL.js → ExecutionResult-Wd1sKAvD.js} +2 -2
  4. package/dist/{FileTree-DyLBn7O_.js → FileTree-BpCJuvji.js} +1 -1
  5. package/dist/{ManagerOffice-C8AQcaXs.js → ManagerOffice-BaHSBcSF.js} +4 -4
  6. package/dist/{ResponsiveSidebarShell-DoZlSP30.d.ts → ResponsiveSidebarShell-DzBGlRJF.d.ts} +23 -8
  7. package/dist/{SetupChecklist-CKQ-mKYt.js → SetupChecklist-BNK2XFaI.js} +2 -2
  8. package/dist/{ThinkChatActivity-BkGjTY4r.d.ts → ThinkChatActivity-C4_hPEmb.d.ts} +20 -4
  9. package/dist/{ThinkChatActivitySummary-DZVy3uQV.d.ts → ThinkChatActivitySummary-ChJ8Iu2T.d.ts} +3 -3
  10. package/dist/{ThinkChatToolParts-BucHi63O.d.ts → ThinkChatToolParts-BrntWlpa.d.ts} +29 -3
  11. package/dist/{WorkspaceConceptPanel-97ZyVpZI.js → WorkspaceConceptPanel-D21iRsWm.js} +7 -4
  12. package/dist/{WorkspaceFileView-M2jC2P4p.js → WorkspaceFileView-5SHsjamf.js} +84 -78
  13. package/dist/app-bar-outlet-CNfNzY4Y.js +6 -0
  14. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  15. package/dist/components/agents-sdk/AgentChat.js +7 -7
  16. package/dist/components/agents-sdk/BrowserLiveScreen.js +50 -12
  17. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  18. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  19. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  20. package/dist/components/agents-sdk/EmployeeApp.d.ts +2 -3
  21. package/dist/components/agents-sdk/EmployeeApp.js +5 -5
  22. package/dist/components/agents-sdk/EmployeeChat.js +4 -4
  23. package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
  24. package/dist/components/agents-sdk/EmployeeChrome.js +219 -207
  25. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
  26. package/dist/components/agents-sdk/EmployeeSchedules.js +7 -7
  27. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +1 -1
  28. package/dist/components/agents-sdk/EmployeeStartScreen.js +3 -3
  29. package/dist/components/agents-sdk/ExecutionBoard.js +4 -4
  30. package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
  31. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  32. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
  33. package/dist/components/agents-sdk/ManagerOfficeScreens.js +6 -19
  34. package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
  35. package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
  36. package/dist/components/agents-sdk/McpPluginCatalog.js +2 -2
  37. package/dist/components/agents-sdk/McpServerPicker.js +2 -2
  38. package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
  39. package/dist/components/agents-sdk/ModelSelector.js +5 -5
  40. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  41. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  42. package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
  43. package/dist/components/agents-sdk/SubagentRunPanel.d.ts +8 -9
  44. package/dist/components/agents-sdk/SubagentRunPanel.js +133 -122
  45. package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
  46. package/dist/components/agents-sdk/ThinkChat.d.ts +1 -1
  47. package/dist/components/agents-sdk/ThinkChat.js +26 -3
  48. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
  49. package/dist/components/agents-sdk/ThinkChatActivity.js +110 -110
  50. package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
  51. package/dist/components/agents-sdk/ThinkChatActivitySummary.js +183 -40
  52. package/dist/components/agents-sdk/ThinkChatToolPanels.d.ts +8 -4
  53. package/dist/components/agents-sdk/ThinkChatToolPanels.js +310 -64
  54. package/dist/components/agents-sdk/ThinkChatToolParts.d.ts +2 -2
  55. package/dist/components/agents-sdk/ThinkChatToolParts.js +71 -1
  56. package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
  57. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  58. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -4
  59. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +8 -8
  60. package/dist/components/agents-sdk/ThinkFullApp.d.ts +1 -1
  61. package/dist/components/agents-sdk/ThinkFullApp.js +6 -1
  62. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
  63. package/dist/components/agents-sdk/ThinkRoutineActions.js +15 -23
  64. package/dist/components/agents-sdk/ThinkRoutineBrowser.js +2 -2
  65. package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
  66. package/dist/components/agents-sdk/ThinkRoutineForm.js +6 -6
  67. package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
  68. package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
  69. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  70. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  71. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +7 -7
  72. package/dist/components/agents-sdk/WorkspaceExecution.js +146 -139
  73. package/dist/components/agents-sdk/WorkspaceExecutionTable.js +5 -5
  74. package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -3
  75. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  76. package/dist/components/agents-sdk/WorkspaceHeader.js +27 -29
  77. package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
  78. package/dist/components/agents-sdk/WorkspaceProject.js +6 -6
  79. package/dist/components/agents-sdk/WorkspaceUserScript.js +6 -6
  80. package/dist/components/ai-sdk/Activity.d.ts +1 -1
  81. package/dist/components/ai-sdk/Activity.js +85 -7
  82. package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
  83. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  84. package/dist/components/ai-sdk/Approval.js +4 -3
  85. package/dist/components/ai-sdk/Artifact.js +1 -1
  86. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  87. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  88. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  89. package/dist/components/ai-sdk/ComposerLink.js +2 -2
  90. package/dist/components/ai-sdk/ConnectedAppCards.js +66 -48
  91. package/dist/components/ai-sdk/Context.js +1 -1
  92. package/dist/components/ai-sdk/Conversation.js +2 -2
  93. package/dist/components/ai-sdk/ExpansionState.d.ts +16 -6
  94. package/dist/components/ai-sdk/ExpansionState.js +25 -7
  95. package/dist/components/ai-sdk/Goal.js +1 -1
  96. package/dist/components/ai-sdk/MediaPreviewCard.js +2 -2
  97. package/dist/components/ai-sdk/Message.js +2 -2
  98. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  99. package/dist/components/ai-sdk/MessageScrollerVirtual.js +99 -12
  100. package/dist/components/ai-sdk/Plan.js +1 -1
  101. package/dist/components/ai-sdk/PromptInput.js +13 -9
  102. package/dist/components/ai-sdk/PromptInputComposerEditor.js +2 -2
  103. package/dist/components/ai-sdk/Queue.js +2 -2
  104. package/dist/components/ai-sdk/Reasoning.js +1 -1
  105. package/dist/components/ai-sdk/Sources.js +1 -1
  106. package/dist/components/ai-sdk/Task.js +1 -1
  107. package/dist/components/ai-sdk/ToolInvocation.d.ts +8 -0
  108. package/dist/components/ai-sdk/ToolInvocation.js +45 -19
  109. package/dist/components/extension/ChatGptSignInScreen.js +1 -1
  110. package/dist/components/extension/CodexModelSelector.js +2 -2
  111. package/dist/components/extension/ConversationTabPicker.js +2 -2
  112. package/dist/components/foundations/Checkbox.js +1 -1
  113. package/dist/components/foundations/Collapsible.js +1 -1
  114. package/dist/components/foundations/ContextMenu.js +1 -1
  115. package/dist/components/foundations/Menubar.js +1 -1
  116. package/dist/components/foundations/SearchField.js +1 -1
  117. package/dist/components/foundations/Select.js +1 -1
  118. package/dist/components/foundations/Stepper.js +1 -1
  119. package/dist/components/foundations/Toast.js +1 -1
  120. package/dist/components/foundations/ToggleGroup.js +1 -1
  121. package/dist/components/foundations/icons.js +1 -1
  122. package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
  123. package/dist/components/general-purpose/Commit.js +2 -2
  124. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  125. package/dist/components/general-purpose/FileTree.js +1 -1
  126. package/dist/components/general-purpose/PricingPlanCard.js +2 -2
  127. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  128. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +2 -2
  129. package/dist/components/general-purpose/ResponsiveSidebarShell.js +163 -88
  130. package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
  131. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  132. package/dist/components/general-purpose/Terminal.js +3 -3
  133. package/dist/components/general-purpose/TestResults.js +1 -1
  134. package/dist/components/general-purpose/ThemeModeControl.js +1 -1
  135. package/dist/components/general-purpose/WebPreview.js +2 -2
  136. package/dist/components/nanites/AgentConnection.js +2 -2
  137. package/dist/components/nanites/AgentToolDetail.d.ts +1 -3
  138. package/dist/components/nanites/AgentToolDetail.js +30 -39
  139. package/dist/{copy-button-M4sAp9xS.js → copy-button-BsmxSSeD.js} +1 -1
  140. package/dist/merge-refs-DAh6reu8.js +26 -0
  141. package/dist/styles/activity.css +74 -0
  142. package/dist/styles/agent-chat.css +8 -1
  143. package/dist/styles/agent-tool-detail.css +2 -17
  144. package/dist/styles/app-top-bar.css +6 -7
  145. package/dist/styles/base.css +1 -1
  146. package/dist/styles/employee-chrome.css +0 -7
  147. package/dist/styles/message.css +1 -1
  148. package/dist/styles/responsive-sidebar-shell.css +10 -25
  149. package/dist/styles/scroll-area.css +16 -0
  150. package/dist/styles/scrollbars.css +55 -41
  151. package/dist/styles/search-field.css +0 -1
  152. package/dist/styles/subagent-run.css +36 -196
  153. package/dist/styles/think-chat-tool-panels.css +38 -5
  154. package/dist/styles/think-execution-workbench.css +4 -0
  155. package/dist/styles/think-full-app.css +1 -6
  156. package/dist/styles/workspace-concepts.css +6 -39
  157. package/dist/styles/workspace-explorer.css +4 -11
  158. package/dist/{workspace-assets-DVn0d-fN.js → workspace-assets-RD6IhOyh.js} +1 -1
  159. package/dist/{workspace-delete-DfloiBWp.js → workspace-delete-CrNGUuBp.js} +1 -1
  160. package/package.json +2 -2
  161. package/dist/components/agents-sdk/SubagentRunDetails.d.ts +0 -40
  162. package/dist/components/agents-sdk/SubagentRunDetails.js +0 -98
  163. package/dist/merge-refs-DF_7w2x_.js +0 -18
  164. package/dist/{icons-DvlrWt54.js → icons-Cn3vWZRs.js} +1 -1
@@ -1,18 +1,21 @@
1
1
  import * as React from "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region src/components/ai-sdk/ExpansionState.tsx
4
- /** Plain Map-backed store. Create one per conversation/thread. */
4
+ /** Typed Map-backed disclosure and numeric state. Create one per conversation/thread. */
5
5
  function createExpansionStore() {
6
- const state = /* @__PURE__ */ new Map();
6
+ const disclosures = /* @__PURE__ */ new Map();
7
+ const numbers = /* @__PURE__ */ new Map();
7
8
  return {
8
- get: (key) => state.get(key),
9
- set: (key, open) => void state.set(key, open)
9
+ get: (key) => disclosures.get(key),
10
+ set: (key, open) => void disclosures.set(key, open),
11
+ getNumber: (key) => numbers.get(key),
12
+ setNumber: (key, value) => void numbers.set(key, value)
10
13
  };
11
14
  }
12
15
  const ExpansionStateContext = React.createContext(null);
13
16
  /**
14
- * Provides the expansion store that `Activity`, `ActivityItemGroup`, and
15
- * `ToolInvocation` write through when given a `stateKey`. (`Reasoning` is the
17
+ * Provides the store that `Activity`, `ActivityItemGroup`, `ToolInvocation`,
18
+ * and `useExpansionNumber` write through with stable keys. (`Reasoning` is the
16
19
  * deliberate exception — it keeps its own auto-open/auto-close streaming
17
20
  * state and resets on remount.) `AgentChat` renders one around its transcript
18
21
  * automatically; wrap it yourself (with an app-held `store`) to persist
@@ -41,5 +44,20 @@ function useExpansionState(stateKey, defaultOpen) {
41
44
  setLocalOpen(next);
42
45
  }, [store, stateKey])];
43
46
  }
47
+ /**
48
+ * Numeric inspection state initialized from the surrounding store (falling
49
+ * back to `defaultValue`) and written through on every change. Only the
50
+ * mounted row reads a given key, so there is no subscription — remounting
51
+ * re-reads the store. Without a provider or a `stateKey` this is plain local
52
+ * state.
53
+ */
54
+ function useExpansionNumber(stateKey, defaultValue) {
55
+ const store = React.useContext(ExpansionStateContext);
56
+ const [value, setLocalValue] = React.useState(() => (stateKey !== void 0 ? store?.getNumber(stateKey) : void 0) ?? defaultValue);
57
+ return [value, React.useCallback((next) => {
58
+ if (store && stateKey !== void 0) store.setNumber(stateKey, next);
59
+ setLocalValue(next);
60
+ }, [store, stateKey])];
61
+ }
44
62
  //#endregion
45
- export { ExpansionStateProvider, createExpansionStore, useExpansionState };
63
+ export { ExpansionStateProvider, createExpansionStore, useExpansionNumber, useExpansionState };
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { $ as TrashIcon, L as PauseIcon, Z as TargetIcon, z as PlayIcon } from "../../icons-DvlrWt54.js";
2
+ import { $ as TrashIcon, L as PauseIcon, Z as TargetIcon, z as PlayIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { IconButton } from "../foundations/IconButton.js";
4
4
  import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
5
5
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { z as PlayIcon } from "../../icons-DvlrWt54.js";
3
- import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
2
+ import { z as PlayIcon } from "../../icons-Cn3vWZRs.js";
3
+ import { n as mergeRefs } from "../../merge-refs-DAh6reu8.js";
4
4
  import { Card } from "../foundations/Card.js";
5
5
  import * as React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,12 +1,12 @@
1
1
  import { parseComposerHref } from "../../utils/composer-link.js";
2
2
  import { t as cx } from "../../class-names-BiMDVpUo.js";
3
- import { S as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-DvlrWt54.js";
3
+ import { S as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-Cn3vWZRs.js";
4
4
  import { Button } from "../foundations/Button.js";
5
5
  import { IconButton } from "../foundations/IconButton.js";
6
+ import { t as CopyButton } from "../../copy-button-BsmxSSeD.js";
6
7
  import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
7
8
  import { n as clamp } from "../../format-CWaZEp5o.js";
8
9
  import { ComposerLink } from "./ComposerLink.js";
9
- import { t as CopyButton } from "../../copy-button-M4sAp9xS.js";
10
10
  import * as React from "react";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
12
  import { cjk } from "@streamdown/cjk";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { n as ArrowDownIcon } from "../../icons-DvlrWt54.js";
2
+ import { n as ArrowDownIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
5
5
  import "react";
@@ -1,11 +1,12 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { n as ArrowDownIcon } from "../../icons-DvlrWt54.js";
2
+ import { n as ArrowDownIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
5
5
  import * as React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { useVirtualizer } from "@tanstack/react-virtual";
8
8
  //#region src/components/ai-sdk/MessageScrollerVirtual.tsx
9
+ const SCROLL_END_THRESHOLD = 80;
9
10
  /**
10
11
  * Windowed chat transcript for unbounded threads (hours-long agent runs):
11
12
  * only the visible slice of rows exists in the DOM, end-anchored so streaming
@@ -39,6 +40,11 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
39
40
  const restoring = React.useRef(true);
40
41
  const contentRef = React.useRef(null);
41
42
  const warnedBadKey = React.useRef(false);
43
+ const [followingLatest, setFollowingLatest] = React.useState(initialAnchor.current?.followLatest ?? true);
44
+ const followingLatestRef = React.useRef(followingLatest);
45
+ const inspectionPaused = React.useRef(false);
46
+ const resumingLatest = React.useRef(false);
47
+ const lastScrollTop = React.useRef(void 0);
42
48
  const [atEnd, setAtEnd] = React.useState(true);
43
49
  const [scrollEdges, setScrollEdges] = React.useState();
44
50
  const { "aria-live": contentAriaLive = "off", "aria-relevant": contentAriaRelevant = messageScrollerContract.content.ariaRelevant, className: contentClassName, role: contentRole = messageScrollerContract.content.role, style: contentStyle, ...resolvedContentProps } = contentProps ?? {};
@@ -55,15 +61,38 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
55
61
  seen.add(key);
56
62
  }
57
63
  }, [items, getItemKey]);
58
- const recordAnchor = (instance) => {
64
+ const updateFollowingLatest = React.useCallback((next) => {
65
+ const anchor = scrollAnchor?.current;
66
+ if (anchor && anchor.followLatest !== next) scrollAnchor.current = {
67
+ ...anchor,
68
+ followLatest: next
69
+ };
70
+ if (followingLatestRef.current === next) return;
71
+ followingLatestRef.current = next;
72
+ setFollowingLatest(next);
73
+ }, [scrollAnchor]);
74
+ const recordAnchor = (instance, nativeScroll = false) => {
59
75
  const viewport = viewportRef.current;
60
- if (restoring.current || !scrollAnchor || !viewport) return;
76
+ if (!viewport) return;
61
77
  const scrollTop = viewport.scrollTop;
78
+ const previousScrollTop = lastScrollTop.current;
79
+ lastScrollTop.current = scrollTop;
80
+ if (restoring.current) return;
81
+ const distanceFromEnd = viewport.scrollHeight - viewport.clientHeight - scrollTop;
82
+ if (resumingLatest.current && distanceFromEnd <= 1) resumingLatest.current = false;
83
+ if (nativeScroll && !inspectionPaused.current) {
84
+ if (distanceFromEnd <= 1) updateFollowingLatest(true);
85
+ else if (!resumingLatest.current && previousScrollTop !== void 0 && scrollTop < previousScrollTop) {
86
+ if (followingLatestRef.current) instance.scrollToOffset(scrollTop, { behavior: "auto" });
87
+ updateFollowingLatest(false);
88
+ }
89
+ }
90
+ if (!scrollAnchor) return;
62
91
  const first = instance.getVirtualItems().find((item) => item.end > scrollTop);
63
92
  if (first) scrollAnchor.current = {
64
93
  key: getItemKey(items[first.index]),
65
94
  offset: scrollTop - first.start,
66
- followLatest: viewport.scrollHeight - viewport.clientHeight - scrollTop <= instance.options.scrollEndThreshold
95
+ followLatest: followingLatestRef.current
67
96
  };
68
97
  };
69
98
  const virtualizer = useVirtualizer({
@@ -73,8 +102,8 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
73
102
  estimateSize: () => estimateSize,
74
103
  getItemKey: (index) => getItemKey(items[index]),
75
104
  anchorTo: "end",
76
- followOnAppend: true,
77
- scrollEndThreshold: 80,
105
+ followOnAppend: followingLatest,
106
+ scrollEndThreshold: followingLatest ? SCROLL_END_THRESHOLD : -1,
78
107
  overscan,
79
108
  gap: 16,
80
109
  initialOffset: () => {
@@ -90,13 +119,28 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
90
119
  setScrollEdges(start && end ? "start end" : start ? "start" : end ? "end" : void 0);
91
120
  }
92
121
  });
122
+ const totalSize = virtualizer.getTotalSize();
123
+ const viewportHeight = virtualizer.scrollRect?.height;
124
+ React.useLayoutEffect(() => {
125
+ const viewport = viewportRef.current;
126
+ if (restoring.current || !followingLatestRef.current || resumingLatest.current || !viewport) return;
127
+ if (viewport.scrollHeight - viewport.clientHeight - viewport.scrollTop > 1) virtualizer.scrollToEnd({ behavior: "auto" });
128
+ }, [
129
+ totalSize,
130
+ virtualizer,
131
+ viewportHeight
132
+ ]);
93
133
  React.useLayoutEffect(() => {
94
134
  if (!restoring.current) return;
95
135
  const anchor = initialAnchor.current;
136
+ if (anchor && !anchor.followLatest && items.length === 0) return;
96
137
  const index = anchor && !anchor.followLatest ? items.findIndex((item) => getItemKey(item) === anchor.key) : -1;
97
138
  if (index >= 0 && anchor) {
98
139
  const row = contentRef.current?.querySelector(`:scope > [data-index="${index}"]`);
99
- if (!row) return;
140
+ if (!row) {
141
+ virtualizer.scrollToIndex(index, { align: "start" });
142
+ return;
143
+ }
100
144
  virtualizer.measureElement(row);
101
145
  const height = Number.parseFloat(contentRef.current?.style.height ?? "0");
102
146
  if (Math.abs(height - virtualizer.getTotalSize()) > .5) return;
@@ -106,6 +150,19 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
106
150
  } else virtualizer.scrollToEnd();
107
151
  restoring.current = false;
108
152
  });
153
+ const pauseForInspection = (target) => {
154
+ if (!(target instanceof Element) || !target.closest("[aria-expanded]")) return;
155
+ const viewport = viewportRef.current;
156
+ if (resumingLatest.current && viewport) virtualizer.scrollToOffset(viewport.scrollTop, { behavior: "auto" });
157
+ inspectionPaused.current = true;
158
+ resumingLatest.current = false;
159
+ updateFollowingLatest(false);
160
+ recordAnchor(virtualizer);
161
+ };
162
+ const noteUserScroll = () => {
163
+ inspectionPaused.current = false;
164
+ resumingLatest.current = false;
165
+ };
109
166
  return /* @__PURE__ */ jsxs("div", {
110
167
  "data-slot": messageScrollerContract.root.slot,
111
168
  className: cx(messageScrollerContract.root.className, className),
@@ -113,7 +170,27 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
113
170
  "data-recipe": "fill-host",
114
171
  children: [/* @__PURE__ */ jsx("div", {
115
172
  ref: viewportRef,
116
- onScroll: () => recordAnchor(virtualizer),
173
+ onScroll: () => recordAnchor(virtualizer, true),
174
+ onClickCapture: (event) => pauseForInspection(event.target),
175
+ onWheelCapture: noteUserScroll,
176
+ onTouchMoveCapture: noteUserScroll,
177
+ onPointerDownCapture: (event) => {
178
+ if (event.target === event.currentTarget) noteUserScroll();
179
+ },
180
+ onKeyDownCapture: (event) => {
181
+ if (!(event.target instanceof HTMLElement)) return;
182
+ if (event.target.closest("input, textarea, select, [contenteditable]:not([contenteditable=\"false\"]), [role=\"textbox\"], [role=\"combobox\"], [role=\"slider\"], [role=\"spinbutton\"]")) return;
183
+ if (event.key === " " && event.target.closest("button, [role=\"button\"]")) return;
184
+ if ([
185
+ "ArrowDown",
186
+ "ArrowUp",
187
+ "End",
188
+ "Home",
189
+ "PageDown",
190
+ "PageUp",
191
+ " "
192
+ ].includes(event.key)) noteUserScroll();
193
+ },
117
194
  "aria-label": messageScrollerContract.viewport.ariaLabel,
118
195
  "data-slot": messageScrollerContract.viewport.slot,
119
196
  "data-recipe": "scroll-fade-y",
@@ -121,6 +198,7 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
121
198
  className: messageScrollerContract.viewport.className,
122
199
  role: messageScrollerContract.viewport.role,
123
200
  tabIndex: messageScrollerContract.viewport.tabIndex,
201
+ style: { overflowAnchor: "none" },
124
202
  children: items.length === 0 ? emptyState : /* @__PURE__ */ jsx("div", {
125
203
  ...resolvedContentProps,
126
204
  ref: contentRef,
@@ -130,7 +208,7 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
130
208
  role: contentRole,
131
209
  style: {
132
210
  ...contentStyle,
133
- height: virtualizer.getTotalSize()
211
+ height: totalSize
134
212
  },
135
213
  children: virtualizer.getVirtualItems().map((virtualItem) => /* @__PURE__ */ jsx("div", {
136
214
  ref: virtualizer.measureElement,
@@ -151,9 +229,18 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
151
229
  className: cx(messageScrollerContract.button.className, scrollButtonProps?.className),
152
230
  "data-slot": messageScrollerContract.button.slot,
153
231
  "data-direction": "end",
154
- "data-active": !atEnd,
155
- tabIndex: atEnd ? -1 : void 0,
156
- onClick: () => virtualizer.scrollToEnd({ behavior: "smooth" }),
232
+ "data-active": !atEnd || !followingLatest,
233
+ tabIndex: atEnd && followingLatest ? -1 : void 0,
234
+ onClick: () => {
235
+ restoring.current = false;
236
+ inspectionPaused.current = false;
237
+ const viewport = viewportRef.current;
238
+ const distanceFromEnd = viewport ? viewport.scrollHeight - viewport.clientHeight - viewport.scrollTop : 0;
239
+ const behavior = (viewport?.ownerDocument.defaultView?.matchMedia("(prefers-reduced-motion: reduce)").matches ?? false) || distanceFromEnd <= 1 ? "auto" : "smooth";
240
+ resumingLatest.current = behavior === "smooth";
241
+ updateFollowingLatest(true);
242
+ virtualizer.scrollToEnd({ behavior });
243
+ },
157
244
  children: /* @__PURE__ */ jsx(ArrowDownIcon, {})
158
245
  })]
159
246
  });
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-DvlrWt54.js";
2
+ import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { Popover } from "../foundations/Popover.js";
4
4
  import { t as ProgressRing } from "../../progress-ring-L2bbF0ji.js";
5
5
  import * as React from "react";
@@ -1,18 +1,18 @@
1
1
  import { composerTriggerMatch, parseComposerLinks, replaceComposerTrigger } from "../../utils/composer-link.js";
2
2
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
3
- import { B as PlusIcon, C as FolderIcon, I as PaperclipIcon, J as SquareIcon, K as SpinnerIcon, M as MicrophoneIcon, P as MonitorIcon, S as FileIcon, Y as StopIcon, a as ArrowUpIcon, d as CheckIcon, f as ChevronDownIcon, nt as WrenchIcon, rt as XIcon, tt as WarningIcon } from "../../icons-DvlrWt54.js";
3
+ import { B as PlusIcon, C as FolderIcon, I as PaperclipIcon, J as SquareIcon, K as SpinnerIcon, M as MicrophoneIcon, P as MonitorIcon, S as FileIcon, Y as StopIcon, a as ArrowUpIcon, d as CheckIcon, f as ChevronDownIcon, nt as WrenchIcon, rt as XIcon, tt as WarningIcon } from "../../icons-Cn3vWZRs.js";
4
4
  import { Button } from "../foundations/Button.js";
5
- import { Autocomplete } from "../foundations/Autocomplete.js";
6
- import { Kbd } from "../foundations/Kbd.js";
7
- import { Menu } from "../foundations/Menu.js";
8
- import { PreviewCard } from "../foundations/PreviewCard.js";
9
- import { Tabs } from "../foundations/Tabs.js";
10
5
  import { Tooltip } from "../foundations/Tooltip.js";
11
6
  import { IconButton } from "../foundations/IconButton.js";
12
7
  import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
13
8
  import { a as formatErrorMessage, i as formatClock, n as clamp } from "../../format-CWaZEp5o.js";
14
- import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
9
+ import { n as mergeRefs } from "../../merge-refs-DAh6reu8.js";
15
10
  import { ComposerLink } from "./ComposerLink.js";
11
+ import { Autocomplete } from "../foundations/Autocomplete.js";
12
+ import { Kbd } from "../foundations/Kbd.js";
13
+ import { Menu } from "../foundations/Menu.js";
14
+ import { PreviewCard } from "../foundations/PreviewCard.js";
15
+ import { Tabs } from "../foundations/Tabs.js";
16
16
  import { PromptInputComposerEditor } from "./PromptInputComposerEditor.js";
17
17
  import * as React from "react";
18
18
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -386,7 +386,7 @@ function PromptInputTextarea({ className, placeholder = "How can I help?", rows
386
386
  onKeyDown: (event) => {
387
387
  onKeyDown?.(event);
388
388
  if (event.defaultPrevented) return;
389
- if (event.key === "Enter" && !event.shiftKey && !isComposingRef.current && !event.nativeEvent.isComposing) {
389
+ if (event.key === "Enter" && !event.shiftKey && !isComposingRef.current && !event.nativeEvent.isComposing && event.nativeEvent.keyCode !== 229) {
390
390
  event.preventDefault();
391
391
  event.currentTarget.form?.requestSubmit();
392
392
  }
@@ -1026,7 +1026,11 @@ function PromptInputCommandComposer({ commands, mentionCommands, onCommandSelect
1026
1026
  },
1027
1027
  onKeyDown: (event) => {
1028
1028
  onKeyDown?.(event);
1029
- if (event.defaultPrevented || event.key !== "Enter" || !open) return;
1029
+ if (event.defaultPrevented || event.key === "Home" || event.key === "End" || event.nativeEvent.isComposing || event.nativeEvent.keyCode === 229) {
1030
+ event.preventBaseUIHandler();
1031
+ return;
1032
+ }
1033
+ if (event.key !== "Enter" || event.shiftKey || !open) return;
1030
1034
  const highlightedCommand = highlightedCommandRef.current;
1031
1035
  if (highlightedCommand && !highlightedCommand.disabled && filtered.includes(highlightedCommand)) return;
1032
1036
  const command = filtered.find((candidate) => !candidate.disabled);
@@ -1,7 +1,7 @@
1
1
  import { parseComposerHref, sampleImageAccent, splitComposerDraft } from "../../utils/composer-link.js";
2
2
  import { t as cx } from "../../class-names-BiMDVpUo.js";
3
3
  import { n as clamp } from "../../format-CWaZEp5o.js";
4
- import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
4
+ import { n as mergeRefs } from "../../merge-refs-DAh6reu8.js";
5
5
  import { composerLinkAccent, composerLinkIconSrc, composerLinkUsesCube } from "./ComposerLink.js";
6
6
  import * as React from "react";
7
7
  import { jsx } from "react/jsx-runtime";
@@ -203,7 +203,7 @@ function PromptInputComposerEditor({ className, placeholder = "How can I help?",
203
203
  onKeyDown: (event) => {
204
204
  onKeyDown?.(event);
205
205
  if (event.defaultPrevented) return;
206
- if (event.key === "Enter" && !event.shiftKey && !isComposingRef.current && !event.nativeEvent.isComposing) {
206
+ if (event.key === "Enter" && !event.shiftKey && !isComposingRef.current && !event.nativeEvent.isComposing && event.nativeEvent.keyCode !== 229) {
207
207
  event.preventDefault();
208
208
  event.currentTarget.closest("form")?.requestSubmit();
209
209
  }
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { S as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-Cn3vWZRs.js";
2
3
  import { Collapsible } from "../foundations/Collapsible.js";
3
- import { S as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-DvlrWt54.js";
4
- import { Button } from "../foundations/Button.js";
5
4
  import { ScrollArea } from "../foundations/ScrollArea.js";
5
+ import { Button } from "../foundations/Button.js";
6
6
  import "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/ai-sdk/Queue.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon } from "../../icons-DvlrWt54.js";
2
+ import { K as SpinnerIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { Activity, ActivityContent, ActivityText, ActivityTrigger } from "./Activity.js";
4
4
  import { MessageResponse } from "./Message.js";
5
5
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { D as LinkIcon, p as ChevronRightIcon } from "../../icons-Cn3vWZRs.js";
2
3
  import { Collapsible } from "../foundations/Collapsible.js";
3
- import { D as LinkIcon, p as ChevronRightIcon } from "../../icons-DvlrWt54.js";
4
4
  import "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/components/ai-sdk/Sources.tsx
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { S as FileIcon, U as SearchIcon, p as ChevronRightIcon } from "../../icons-Cn3vWZRs.js";
2
3
  import { Collapsible } from "../foundations/Collapsible.js";
3
- import { S as FileIcon, U as SearchIcon, p as ChevronRightIcon } from "../../icons-DvlrWt54.js";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/components/ai-sdk/Task.tsx
@@ -12,6 +12,12 @@ export interface ToolInvocationProps {
12
12
  */
13
13
  isStreaming?: boolean;
14
14
  }
15
+ export interface ToolInvocationDetailsProps {
16
+ /** The whole upstream AI SDK tool part whose detail is disclosed. */
17
+ part: AnyToolUIPart;
18
+ /** Caller-known domain error envelope; arbitrary output.error fields stay ordinary data. */
19
+ outputError?: boolean;
20
+ }
15
21
  /**
16
22
  * Read-only generic disclosure for one upstream AI SDK tool invocation.
17
23
  *
@@ -22,4 +28,6 @@ export interface ToolInvocationProps {
22
28
  * for known workspace, browser, fetch, session, skill, and execute tools.
23
29
  */
24
30
  export declare function ToolInvocation({ part, defaultOpen, isStreaming }: ToolInvocationProps): import("react").JSX.Element;
31
+ /** Output formatting stays inside ActivityContent so collapsed rows do no detail work. */
32
+ export declare function ToolInvocationDetails({ part, outputError }: ToolInvocationDetailsProps): import("react").JSX.Element;
25
33
  //#endregion
@@ -1,8 +1,8 @@
1
1
  import { Activity, ActivityContent, ActivityPanel, ActivityTrigger } from "./Activity.js";
2
2
  import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
3
- import { getToolDisplayName, isToolPartFailed, isToolPartWorking } from "./ToolPart.js";
3
+ import { getToolDisplayName, isToolPartWorking } from "./ToolPart.js";
4
4
  import { t as summarizeToolInput } from "../../summarize-tool-input-CqTcGRYy.js";
5
- import { jsx, jsxs } from "react/jsx-runtime";
5
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { getToolName } from "ai";
7
7
  //#region src/components/ai-sdk/ToolInvocation.tsx
8
8
  function formatToolValue(value) {
@@ -43,27 +43,53 @@ function describeToolPart(part) {
43
43
  * for known workspace, browser, fetch, session, skill, and execute tools.
44
44
  */
45
45
  function ToolInvocation({ part, defaultOpen, isStreaming }) {
46
- const failed = isToolPartFailed(part);
47
- const deniedReason = part.state === "output-denied" ? part.approval.reason : void 0;
48
- const output = part.state === "output-error" ? part.errorText : part.state === "output-denied" ? deniedReason ?? "Denied" : part.state === "output-available" ? formatToolValue(part.output) : void 0;
49
- const inputStatus = part.state === "approval-requested" ? "awaiting approval" : part.state === "approval-responded" ? part.approval.approved ? "approved" : "denied" : void 0;
50
- const outputStatus = part.state === "output-denied" ? "denied" : failed ? "error" : part.state === "output-available" && part.preliminary ? "preliminary" : void 0;
51
46
  return /* @__PURE__ */ jsxs(Activity, {
52
47
  isStreaming: isStreaming ?? isToolPartWorking(part),
53
48
  defaultOpen,
54
49
  stateKey: part.toolCallId,
55
- children: [/* @__PURE__ */ jsx(ActivityTrigger, { action: describeToolPart(part) }), /* @__PURE__ */ jsxs(ActivityContent, { children: [/* @__PURE__ */ jsx(ActivityPanel, {
56
- label: part.title ?? getToolName(part),
57
- text: formatToolValue(part.input),
58
- status: inputStatus,
59
- error: inputStatus === "denied"
60
- }), output !== void 0 ? /* @__PURE__ */ jsx(ActivityPanel, {
61
- label: "output",
62
- text: output,
63
- status: outputStatus,
64
- error: failed
65
- }) : null] })]
50
+ children: [/* @__PURE__ */ jsx(ActivityTrigger, { action: describeToolPart(part) }), /* @__PURE__ */ jsx(ActivityContent, { children: /* @__PURE__ */ jsx(ToolInvocationDetails, { part }) })]
66
51
  });
67
52
  }
53
+ function toolInputStatus(part) {
54
+ if (part.state === "approval-requested") return "awaiting approval";
55
+ if (part.state === "approval-responded") return part.approval.approved ? "approved" : "denied";
56
+ }
57
+ /** The output row once the call settles: its denial, its error, or its result. */
58
+ function toolOutputRow(part, outputError) {
59
+ if (part.state === "output-denied" || part.state === "approval-responded" && !part.approval.approved) return {
60
+ text: part.approval.reason ?? "Denied",
61
+ status: "denied",
62
+ error: true
63
+ };
64
+ if (part.state === "output-error") return {
65
+ text: part.errorText,
66
+ status: "error",
67
+ error: true
68
+ };
69
+ if (part.state !== "output-available") return void 0;
70
+ const text = formatToolValue(part.output);
71
+ if (text === void 0) return void 0;
72
+ return {
73
+ text,
74
+ status: outputError ? "error" : part.preliminary ? "preliminary" : void 0,
75
+ error: outputError
76
+ };
77
+ }
78
+ /** Output formatting stays inside ActivityContent so collapsed rows do no detail work. */
79
+ function ToolInvocationDetails({ part, outputError = false }) {
80
+ const inputStatus = toolInputStatus(part);
81
+ const output = toolOutputRow(part, outputError);
82
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(ActivityPanel, {
83
+ label: part.title ?? getToolName(part),
84
+ text: formatToolValue(part.input),
85
+ status: inputStatus,
86
+ error: inputStatus === "denied"
87
+ }), output ? /* @__PURE__ */ jsx(ActivityPanel, {
88
+ label: "output",
89
+ text: output.text,
90
+ status: output.status,
91
+ error: output.error
92
+ }) : null] });
93
+ }
68
94
  //#endregion
69
- export { ToolInvocation };
95
+ export { ToolInvocation, ToolInvocationDetails };
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon } from "../../icons-DvlrWt54.js";
2
+ import { K as SpinnerIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { t as ProviderLogo } from "../../provider-logos-DWYY8wNz.js";
5
5
  import "react";
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { H as RefreshIcon, d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon } from "../../icons-DvlrWt54.js";
3
- import { Menu } from "../foundations/Menu.js";
2
+ import { H as RefreshIcon, d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon } from "../../icons-Cn3vWZRs.js";
4
3
  import { Tooltip } from "../foundations/Tooltip.js";
5
4
  import { c as titleCase } from "../../format-CWaZEp5o.js";
5
+ import { Menu } from "../foundations/Menu.js";
6
6
  import "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/extension/CodexModelSelector.tsx
@@ -1,7 +1,7 @@
1
- import { tt as WarningIcon } from "../../icons-DvlrWt54.js";
1
+ import { tt as WarningIcon } from "../../icons-Cn3vWZRs.js";
2
2
  import { Button } from "../foundations/Button.js";
3
- import { Menu } from "../foundations/Menu.js";
4
3
  import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
4
+ import { Menu } from "../foundations/Menu.js";
5
5
  import { Avatar } from "../foundations/Avatar.js";
6
6
  import * as React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { d as CheckIcon } from "../../icons-DvlrWt54.js";
2
+ import { d as CheckIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
5
5
  //#region src/components/foundations/Checkbox.tsx
@@ -1,7 +1,7 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
2
  import "react";
3
- import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
4
3
  import { jsx } from "react/jsx-runtime";
4
+ import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
5
5
  //#region src/components/foundations/Collapsible.tsx
6
6
  /**
7
7
  * Container that groups all collapsible parts. Renders a `<div>` element.
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { _ as DotIcon, d as CheckIcon } from "../../icons-DvlrWt54.js";
2
+ import { _ as DotIcon, d as CheckIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { ContextMenu as ContextMenu$1 } from "@base-ui/react/context-menu";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { _ as DotIcon, d as CheckIcon } from "../../icons-DvlrWt54.js";
2
+ import { _ as DotIcon, d as CheckIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { buttonVariants } from "./Button.js";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { U as SearchIcon } from "../../icons-DvlrWt54.js";
2
+ import { U as SearchIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { Field } from "./Field.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/foundations/SearchField.tsx
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-DvlrWt54.js";
2
+ import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { Select as Select$1 } from "@base-ui/react/select";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, d as CheckIcon } from "../../icons-DvlrWt54.js";
2
+ import { K as SpinnerIcon, d as CheckIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { Tabs } from "./Tabs.js";
4
4
  import * as React from "react";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { rt as XIcon } from "../../icons-DvlrWt54.js";
2
+ import { rt as XIcon } from "../../icons-Cn3vWZRs.js";
3
3
  import { buttonVariants } from "./Button.js";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
2
+ 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";
@@ -1,2 +1,2 @@
1
- import { $ as TrashIcon, A as McpIcon, B as PlusIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoonIcon, G as SlackIcon, H as RefreshIcon, I as PaperclipIcon, J as SquareIcon, K as SpinnerIcon, L as PauseIcon, M as MicrophoneIcon, N as MinusIcon, O as MailIcon, P as MonitorIcon, Q as TerminalIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, V as QueueIcon, W as SidebarIcon, X as SunIcon, Y as StopIcon, Z as TargetIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as UserIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MessageSquareIcon, k as MaximizeIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, nt as WrenchIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SplitIcon, r as ArrowLeftIcon, rt as XIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WarningIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-DvlrWt54.js";
1
+ import { $ as TrashIcon, A as McpIcon, B as PlusIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoonIcon, G as SlackIcon, H as RefreshIcon, I as PaperclipIcon, J as SquareIcon, K as SpinnerIcon, L as PauseIcon, M as MicrophoneIcon, N as MinusIcon, O as MailIcon, P as MonitorIcon, Q as TerminalIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, V as QueueIcon, W as SidebarIcon, X as SunIcon, Y as StopIcon, Z as TargetIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as UserIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MessageSquareIcon, k as MaximizeIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, nt as WrenchIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SplitIcon, r as ArrowLeftIcon, rt as XIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WarningIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-Cn3vWZRs.js";
2
2
  export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, InfoIcon, KeyboardIcon, LinkIcon, MailIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SlackIcon, SpinnerIcon, SplitIcon, SquareIcon, StopIcon, SunIcon, TargetIcon, TerminalIcon, TrashIcon, UserIcon, WarningIcon, WrenchIcon, XIcon };
@@ -1,5 +1,5 @@
1
- import { Field } from "../foundations/Field.js";
2
1
  import { Dialog } from "../foundations/Dialog.js";
2
+ import { Field } from "../foundations/Field.js";
3
3
  import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/general-purpose/AccountSignInDialog.tsx