@mcp-b/react-components 0.55.0 → 0.56.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.
Files changed (130) hide show
  1. package/dist/{AgentToolRunsContext-GMe_hSnD.d.ts → AgentToolRunsContext-DT50htHj.d.ts} +4 -17
  2. package/dist/{CodeBlock-Bl-q7wMc.js → CodeBlock-Dw1z6jc8.js} +1 -1
  3. package/dist/{EmployeeChrome-B605rpVz.d.ts → EmployeeChrome-B7Gt2Hpk.d.ts} +1 -1
  4. package/dist/{FileTree-DruTQ-oa.js → FileTree-okaLnS5j.js} +1 -1
  5. package/dist/{ManagerOffice-CMJ7laGe.js → ManagerOffice-D4L_xO4i.js} +5 -5
  6. package/dist/{SetupChecklist-BiWQkKEq.js → SetupChecklist-DWyifWWg.js} +2 -2
  7. package/dist/{ThinkChatActivity-DENkintt.d.ts → ThinkChatActivity-B6dh3n0-.d.ts} +1 -1
  8. package/dist/{WorkspaceFileView-DXgTljKV.js → WorkspaceFileView-DQDWUpAH.js} +2 -2
  9. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  10. package/dist/components/agents-sdk/AgentChat.js +10 -10
  11. package/dist/components/agents-sdk/AgentEvent.js +2 -2
  12. package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +1 -1
  13. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  14. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  15. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  16. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  17. package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
  18. package/dist/components/agents-sdk/EmployeeApp.js +2 -2
  19. package/dist/components/agents-sdk/EmployeeChat.js +5 -5
  20. package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
  21. package/dist/components/agents-sdk/EmployeeChrome.js +10 -10
  22. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
  23. package/dist/components/agents-sdk/EmployeeSchedules.js +3 -3
  24. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +1 -1
  25. package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
  26. package/dist/components/agents-sdk/ManagerAccountActions.js +3 -3
  27. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  28. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
  29. package/dist/components/agents-sdk/ManagerOfficeScreens.js +2 -2
  30. package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
  31. package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
  32. package/dist/components/agents-sdk/McpPluginCatalog.js +3 -3
  33. package/dist/components/agents-sdk/McpServerPicker.js +2 -2
  34. package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
  35. package/dist/components/agents-sdk/ModelSelector.js +4 -4
  36. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  37. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  38. package/dist/components/agents-sdk/SubagentRunDetails.d.ts +1 -1
  39. package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +1 -1
  40. package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
  41. package/dist/components/agents-sdk/SubagentRunList.d.ts +1 -1
  42. package/dist/components/agents-sdk/SubagentRunPanel.d.ts +3 -14
  43. package/dist/components/agents-sdk/SubagentRunPanel.js +12 -15
  44. package/dist/components/agents-sdk/SubagentRunSelector.d.ts +1 -1
  45. package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
  46. package/dist/components/agents-sdk/ThinkChat.d.ts +2 -9
  47. package/dist/components/agents-sdk/ThinkChat.js +3 -36
  48. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
  49. package/dist/components/agents-sdk/ThinkChatActivity.js +3 -3
  50. package/dist/components/agents-sdk/ThinkChatToolPanels.js +2 -2
  51. package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
  52. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  53. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -3
  54. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
  55. package/dist/components/agents-sdk/ThinkRoutineActions.js +2 -2
  56. package/dist/components/agents-sdk/ThinkRoutineBrowser.js +2 -2
  57. package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
  58. package/dist/components/agents-sdk/ThinkRoutineForm.js +4 -4
  59. package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
  60. package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
  61. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  62. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  63. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +6 -6
  64. package/dist/components/agents-sdk/WorkspaceExecution.js +7 -7
  65. package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -3
  66. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  67. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  68. package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
  69. package/dist/components/agents-sdk/WorkspaceProject.js +4 -4
  70. package/dist/components/agents-sdk/WorkspaceUserScript.js +4 -4
  71. package/dist/components/ai-sdk/Activity.js +1 -1
  72. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  73. package/dist/components/ai-sdk/Approval.js +2 -2
  74. package/dist/components/ai-sdk/Artifact.js +1 -1
  75. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  76. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  77. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  78. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  79. package/dist/components/ai-sdk/ConnectedAppCards.js +3 -3
  80. package/dist/components/ai-sdk/Context.js +1 -1
  81. package/dist/components/ai-sdk/Conversation.js +1 -1
  82. package/dist/components/ai-sdk/Goal.js +1 -1
  83. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  84. package/dist/components/ai-sdk/Message.js +2 -2
  85. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  86. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  87. package/dist/components/ai-sdk/Plan.js +1 -1
  88. package/dist/components/ai-sdk/PromptInput.js +6 -6
  89. package/dist/components/ai-sdk/Queue.js +1 -1
  90. package/dist/components/ai-sdk/Reasoning.js +1 -1
  91. package/dist/components/ai-sdk/Sources.js +1 -1
  92. package/dist/components/ai-sdk/Task.js +1 -1
  93. package/dist/components/extension/ChatGptSignInScreen.js +1 -1
  94. package/dist/components/extension/CodexModelSelector.js +2 -2
  95. package/dist/components/extension/ConversationTabPicker.js +2 -2
  96. package/dist/components/foundations/Checkbox.js +1 -1
  97. package/dist/components/foundations/Collapsible.js +1 -1
  98. package/dist/components/foundations/ContextMenu.js +1 -1
  99. package/dist/components/foundations/Menubar.js +1 -1
  100. package/dist/components/foundations/SearchField.js +1 -1
  101. package/dist/components/foundations/Select.js +1 -1
  102. package/dist/components/foundations/Stepper.js +1 -1
  103. package/dist/components/foundations/Toast.js +1 -1
  104. package/dist/components/foundations/ToggleGroup.d.ts +1 -1
  105. package/dist/components/foundations/ToggleGroup.js +1 -1
  106. package/dist/components/foundations/icons.js +1 -1
  107. package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
  108. package/dist/components/general-purpose/Commit.js +2 -2
  109. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  110. package/dist/components/general-purpose/FileTree.js +1 -1
  111. package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
  112. package/dist/components/general-purpose/PricingPlanCard.js +2 -2
  113. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  114. package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
  115. package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
  116. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  117. package/dist/components/general-purpose/Terminal.js +2 -2
  118. package/dist/components/general-purpose/TestResults.js +1 -1
  119. package/dist/components/general-purpose/ThemeModeControl.js +2 -2
  120. package/dist/components/general-purpose/WebPreview.js +2 -2
  121. package/dist/components/nanites/AgentConnection.js +2 -2
  122. package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
  123. package/dist/components/nanites/AgentToolDetail.js +5 -5
  124. package/dist/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
  125. package/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-wW_lQLYK.js} +2 -2
  126. package/package.json +6 -6
  127. package/dist/SessionCompaction-CmTJFpzj.d.ts +0 -89
  128. package/dist/components/agents-sdk/SessionCompaction.d.ts +0 -2
  129. package/dist/components/agents-sdk/SessionCompaction.js +0 -140
  130. package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
@@ -1,25 +1,12 @@
1
1
  import * as React from "react";
2
2
  import { UIMessage } from "ai";
3
3
  import { useAgentToolEvents } from "agents/react";
4
- import { AgentToolRunPart, AgentToolRunState, AgentToolRunStatus } from "agents/agent-tools";
4
+ import { AgentToolRunPart, AgentToolRunState } from "agents/agent-tools";
5
5
 
6
6
  //#region src/components/agents-sdk/AgentToolRunsContext.d.ts
7
- /**
8
- * Whole native run fields with the SDK's complete lifecycle status. Published
9
- * Agents 0.21.0 excludes `starting` from AgentToolRunState while its native
10
- * AgentToolRunStatus includes it and current retained replay emits it. This
11
- * type-only correction does not translate records or accept another shape.
12
- */
13
- type AgentToolRunValue<Part extends AgentToolRunPart = AgentToolRunPart> = Omit<AgentToolRunState<Part>, "status"> & {
14
- status: AgentToolRunStatus;
15
- };
16
- /** Whole event-hook value; run records keep the complete native lifecycle. */
17
- type AgentToolEventsValue<Part extends AgentToolRunPart = UIMessage["parts"][number]> = Omit<ReturnType<typeof useAgentToolEvents<Part>>, "runsById" | "runsByToolCallId" | "unboundRuns" | "getRunsForToolCall"> & {
18
- runsById: Record<string, AgentToolRunValue<Part>>;
19
- runsByToolCallId: Record<string, AgentToolRunValue<Part>[]>;
20
- unboundRuns: AgentToolRunValue<Part>[];
21
- getRunsForToolCall(toolCallId: string): AgentToolRunValue<Part>[];
22
- };
7
+ /** Native SDK run and event-hook values, passed without translation. */
8
+ type AgentToolRunValue<Part extends AgentToolRunPart = AgentToolRunPart> = AgentToolRunState<Part>;
9
+ type AgentToolEventsValue<Part extends AgentToolRunPart = UIMessage["parts"][number]> = ReturnType<typeof useAgentToolEvents<Part>>;
23
10
  interface AgentToolRunsProviderProps<Part extends AgentToolRunPart = UIMessage["parts"][number]> {
24
11
  /** Pass the whole `useAgentToolEvents({ agent })` result directly. */
25
12
  agentTools: AgentToolEventsValue<Part>;
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "./class-names-BiMDVpUo.js";
2
- import { t as CopyButton } from "./copy-button-CSDuDfdP.js";
2
+ import { t as CopyButton } from "./copy-button-Dk2vRe9j.js";
3
3
  import { Select } from "./components/foundations/Select.js";
4
4
  import * as React from "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { J as PromptInputMessage } from "./PromptInput-DGPrCTPl.js";
2
- import { n as AgentToolRunValue } from "./AgentToolRunsContext-GMe_hSnD.js";
2
+ import { n as AgentToolRunValue } from "./AgentToolRunsContext-DT50htHj.js";
3
3
  import { n as ResponsiveSidebarShell } from "./ResponsiveSidebarShell-BUBQa_IV.js";
4
4
  import { t as ThinkThreadItem } from "./ThinkThreadPicker-DX0lL-P7.js";
5
5
  import * as React from "react";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "./class-names-BiMDVpUo.js";
2
- import { C as FolderIcon, S as FileIcon, p as ChevronRightIcon, w as FolderOpenIcon } from "./icons-cuEtsgj9.js";
2
+ import { C as FolderIcon, S as FileIcon, p as ChevronRightIcon, w as FolderOpenIcon } from "./icons-CeGfXO21.js";
3
3
  import { t as NavigationLink } from "./navigation-link-kqMa81v5.js";
4
4
  import * as React from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,17 +1,17 @@
1
1
  import { findCatalogMcpServerCard, getMcpServerIconSrc } from "./utils/mcp-server-catalog.js";
2
2
  import { t as cx } from "./class-names-BiMDVpUo.js";
3
- import { C as FolderIcon, D as LinkIcon, K as SpinnerIcon, L as PauseIcon, P as MonitorIcon, S as FileIcon, T as InfoIcon, _ as DotIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, j as MessageSquareIcon, nt as XIcon, p as ChevronRightIcon, u as CalendarIcon } from "./icons-cuEtsgj9.js";
4
3
  import { Collapsible } from "./components/foundations/Collapsible.js";
4
+ import { C as FolderIcon, D as LinkIcon, K as SpinnerIcon, L as PauseIcon, P as MonitorIcon, S as FileIcon, T as InfoIcon, _ as DotIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, j as MessageSquareIcon, nt as XIcon, p as ChevronRightIcon, u as CalendarIcon } from "./icons-CeGfXO21.js";
5
5
  import { Button } from "./components/foundations/Button.js";
6
+ import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "./components/ai-sdk/AgentAttention.js";
6
7
  import { Tooltip } from "./components/foundations/Tooltip.js";
7
- import { EmptyState } from "./components/foundations/EmptyState.js";
8
- import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
9
8
  import { Avatar } from "./components/foundations/Avatar.js";
9
+ import { CorrespondentName, correspondentHandleLabel } from "./components/ai-sdk/Correspondent.js";
10
10
  import { AppIcon } from "./components/foundations/AppIcon.js";
11
+ import { EmptyState } from "./components/foundations/EmptyState.js";
11
12
  import { LinkButton } from "./components/foundations/LinkButton.js";
13
+ import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
12
14
  import { getThinkExecutionRunStatus } from "./components/agents-sdk/ThinkExecutionRun.js";
13
- import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "./components/ai-sdk/AgentAttention.js";
14
- import { CorrespondentName, correspondentHandleLabel } from "./components/ai-sdk/Correspondent.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";
@@ -1,7 +1,7 @@
1
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 { IconButton } from "./components/foundations/IconButton.js";
2
+ import { B as PlusIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon } from "./icons-CeGfXO21.js";
4
3
  import { Menu } from "./components/foundations/Menu.js";
4
+ import { IconButton } from "./components/foundations/IconButton.js";
5
5
  import * as React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region src/components/_internal/menu-disclosure-group.tsx
@@ -1,6 +1,6 @@
1
1
  import { i as AgentMessageRenderPartContext } from "./AgentMessageParts-C7L-Mv9U.js";
2
2
  import { AgentChatMessageContentProps } from "./components/agents-sdk/AgentChat.js";
3
- import { n as AgentToolRunValue } from "./AgentToolRunsContext-GMe_hSnD.js";
3
+ import { n as AgentToolRunValue } from "./AgentToolRunsContext-DT50htHj.js";
4
4
  import { l as ThinkChatPart } from "./ThinkChatToolParts-D4qcnnxt.js";
5
5
  import { t as ThinkChatActivityDescription } from "./ThinkChatActivitySummary-BtBQgMg6.js";
6
6
  import * as React from "react";
@@ -1,7 +1,7 @@
1
- import { b as EyeIcon, d as CheckIcon, et as WarningIcon, k as MaximizeIcon, m as CodeIcon, r as ArrowLeftIcon, v as DownloadIcon } from "./icons-cuEtsgj9.js";
1
+ import { b as EyeIcon, d as CheckIcon, et as WarningIcon, k as MaximizeIcon, m as CodeIcon, r as ArrowLeftIcon, v as DownloadIcon } from "./icons-CeGfXO21.js";
2
2
  import { i as formatClock } from "./format-COCyV98Z.js";
3
+ import { a as CodeBlockCopyButton, i as CodeBlockContent, r as CodeBlockContainer, t as CodeBlock } from "./CodeBlock-Dw1z6jc8.js";
3
4
  import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
4
- import { a as CodeBlockCopyButton, i as CodeBlockContent, r as CodeBlockContainer, t as CodeBlock } from "./CodeBlock-Bl-q7wMc.js";
5
5
  import { inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceSkillPath, parseWorkspaceSkill } from "./components/agents-sdk/WorkspaceFile.js";
6
6
  import { i as useWorkspaceNavigationContext } from "./WorkspaceLink-BYZG-V_I.js";
7
7
  import { useWorkspaceNavigationRestoration } from "./components/agents-sdk/WorkspaceNavigationRestoration.js";
@@ -1,5 +1,5 @@
1
1
  import { canRequestFavicon, inferFaviconUrl } from "../../utils/favicon.js";
2
- import { D as LinkIcon, P as MonitorIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, Z as TerminalIcon, et as WarningIcon, tt as WrenchIcon } from "../../icons-cuEtsgj9.js";
2
+ import { D as LinkIcon, P as MonitorIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, Z as TerminalIcon, et as WarningIcon, tt as WrenchIcon } from "../../icons-CeGfXO21.js";
3
3
  import * as React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region src/components/agents-sdk/AgentActivity.tsx
@@ -1,23 +1,23 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { H as RefreshIcon, K as SpinnerIcon, Q as TrashIcon, R as PencilIcon, t as ArchiveIcon } from "../../icons-cuEtsgj9.js";
3
2
  import { ExpansionStateProvider } from "../ai-sdk/ExpansionState.js";
3
+ import { H as RefreshIcon, K as SpinnerIcon, Q as TrashIcon, R as PencilIcon, t as ArchiveIcon } from "../../icons-CeGfXO21.js";
4
+ import { AgentChatMessageEditor } from "../ai-sdk/AgentChatMessageEditor.js";
5
+ import { PromptInput, PromptInputSubmit, PromptInputTray, composerLinksToReferences, usePromptInputController } from "../ai-sdk/PromptInput.js";
4
6
  import { Message, MessageAction, MessageActions, MessageCopyAction, MessageMeta, MessageTimestamp } from "../ai-sdk/Message.js";
5
- import { AgentEventRow, getAgentEvent } from "./AgentEvent.js";
6
- import { AgentChatQueueProvider, useOptionalAgentChatQueue } from "./AgentChatQueue.js";
7
7
  import { AgentMessageParts } from "../ai-sdk/AgentMessageParts.js";
8
- import { AgentChatMessageEditor } from "../ai-sdk/AgentChatMessageEditor.js";
8
+ import { Marker, MarkerContent } from "../foundations/Marker.js";
9
9
  import { VirtualMessageScroller } from "../ai-sdk/MessageScrollerVirtual.js";
10
- import { PromptInput, PromptInputSubmit, PromptInputTray, composerLinksToReferences, usePromptInputController } from "../ai-sdk/PromptInput.js";
11
10
  import { Queue, QueueItem, QueueItemAction, QueueItemActions, QueueItemContent, QueueItemIndicator, QueueList } from "../ai-sdk/Queue.js";
12
- import { PromptInputApproval, getApprovalStateKey, getPendingToolApprovals } from "./PromptInputApproval.js";
13
11
  import { BrandLoading } from "../general-purpose/BrandLoading.js";
14
- import { Marker, MarkerContent } from "../foundations/Marker.js";
12
+ import { AgentEventRow, getAgentEvent } from "./AgentEvent.js";
13
+ import { AgentChatQueueProvider, useOptionalAgentChatQueue } from "./AgentChatQueue.js";
14
+ import { PromptInputApproval, getApprovalStateKey, getPendingToolApprovals } from "./PromptInputApproval.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";
18
18
  import { mergeProps } from "@base-ui/react/merge-props";
19
- import { isCompactionMessage } from "agents/sessions";
20
19
  import { isTextUIPart } from "ai";
20
+ import { isCompactionMessage } from "agents/sessions";
21
21
  //#region src/components/agents-sdk/AgentChat.tsx
22
22
  function observeAgentChatDock(element) {
23
23
  if (!element || typeof ResizeObserver === "undefined") return;
@@ -472,7 +472,7 @@ function AgentChatApprovals({ thinkStub, pendingApprovals = [], onExecutionSettl
472
472
  ids: []
473
473
  });
474
474
  const ids = skipped.source === thinkStub ? skipped.ids : EMPTY_SKIPPED_IDS;
475
- const items = [...getPendingToolApprovals(messages, { pausedExecutions: Boolean(thinkStub) }).filter((part) => (part.state !== "approval-requested" || onApprovalResponse) && !ids.includes(getApprovalStateKey(part) ?? "")).map((part) => ({ part })), ...pendingApprovals.filter((a) => a.source === "action" && !ids.includes(a.executionId)).map((approval) => ({ approval }))];
475
+ const items = [...getPendingToolApprovals(messages, { pausedExecutions: Boolean(thinkStub) }).filter((part) => (part.state !== "approval-requested" || onApprovalResponse) && !ids.includes(getApprovalStateKey(part) ?? "")).map((part) => ({ part })), ...pendingApprovals.filter((a) => !ids.includes(a.executionId)).map((approval) => ({ approval }))];
476
476
  const pending = items.length ? items : EMPTY_APPROVAL_ITEMS;
477
477
  const restore = React.useRef(false);
478
478
  const active = React.useRef(false);
@@ -553,7 +553,7 @@ const compactingNotice = /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE_
553
553
  const COMPACTION_NOTICES = {
554
554
  pending: compactingNotice,
555
555
  compacted: "Context compacted. Context usage updates after your next message.",
556
- unchanged: "No context was compacted. Recent context is already protected.",
556
+ unchanged: "No summary was created. Run /compact to try again.",
557
557
  failed: "Compaction failed — run /compact to try again."
558
558
  };
559
559
  const COMPACTION_COMMAND = {
@@ -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-COCyV98Z.js";
4
4
  import { MessageResponse } from "../ai-sdk/Message.js";
5
- import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
6
- import { getSubagentRunName } from "./SubagentRunIndicator.js";
7
5
  import { NaniteMark } from "../nanites/NaniteScene.js";
6
+ import { getSubagentRunName } from "./SubagentRunIndicator.js";
7
+ import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
8
8
  import "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  import { isTextUIPart } from "ai";
@@ -1,2 +1,2 @@
1
- import { a as useOptionalAgentToolRuns, i as AgentToolRunsProviderProps, n as AgentToolRunValue, r as AgentToolRunsProvider, t as AgentToolEventsValue } from "../../AgentToolRunsContext-GMe_hSnD.js";
1
+ import { a as useOptionalAgentToolRuns, i as AgentToolRunsProviderProps, n as AgentToolRunValue, r as AgentToolRunsProvider, t as AgentToolEventsValue } from "../../AgentToolRunsContext-DT50htHj.js";
2
2
  export { AgentToolEventsValue, AgentToolRunValue, AgentToolRunsProvider, AgentToolRunsProviderProps, useOptionalAgentToolRuns };
@@ -1,4 +1,4 @@
1
- import { E as KeyboardIcon, H as RefreshIcon, r as ArrowLeftIcon } from "../../icons-cuEtsgj9.js";
1
+ import { E as KeyboardIcon, H as RefreshIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
2
2
  import { Button } from "../foundations/Button.js";
3
3
  import { WebPreviewNavigationButton } from "../general-purpose/WebPreview.js";
4
4
  import { BrowserLiveView } from "./BrowserLiveView.js";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, _ as DotIcon, k as MaximizeIcon } from "../../icons-cuEtsgj9.js";
2
+ import { K as SpinnerIcon, _ as DotIcon, k as MaximizeIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { Dialog } from "../foundations/Dialog.js";
5
5
  import { TransitionSurface } from "../foundations/TransitionSurface.js";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { L as PauseIcon, z as PlayIcon } from "../../icons-cuEtsgj9.js";
2
+ import { L as PauseIcon, z as PlayIcon } from "../../icons-CeGfXO21.js";
3
3
  import { IconButton } from "../foundations/IconButton.js";
4
4
  import { i as formatClock } from "../../format-COCyV98Z.js";
5
5
  import { EmptyState } from "../foundations/EmptyState.js";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, nt as XIcon } from "../../icons-cuEtsgj9.js";
2
+ import { K as SpinnerIcon, nt as XIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Tabs } from "../foundations/Tabs.js";
4
4
  import { WebPreview, WebPreviewEmpty, WebPreviewNavigation, WebPreviewNavigationButton, WebPreviewUrl, WebPreviewViewport } from "../general-purpose/WebPreview.js";
5
5
  import { BrowserLiveView } from "./BrowserLiveView.js";
@@ -1,5 +1,5 @@
1
1
  import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-Bh9-Jo1r.js";
2
- import { f as EmployeeShellProps, l as EmployeeModelSetup, n as EmployeeBrand, p as EmployeeStatus, t as EmployeeAgentRun } from "../../EmployeeChrome-B605rpVz.js";
2
+ import { f as EmployeeShellProps, l as EmployeeModelSetup, n as EmployeeBrand, p as EmployeeStatus, t as EmployeeAgentRun } from "../../EmployeeChrome-B7Gt2Hpk.js";
3
3
  import * as React from "react";
4
4
 
5
5
  //#region src/components/agents-sdk/EmployeeApp.d.ts
@@ -1,6 +1,6 @@
1
- import { et as WarningIcon } from "../../icons-cuEtsgj9.js";
2
- import { WorkbenchBack } from "./WorkbenchBack.js";
1
+ import { et as WarningIcon } from "../../icons-CeGfXO21.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";
@@ -1,12 +1,12 @@
1
1
  import { PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuTrigger, PromptInputAttachments, PromptInputBody, PromptInputCommandComposer, PromptInputContextSelector, PromptInputFooter, PromptInputFooterEnd, PromptInputTools } from "../ai-sdk/PromptInput.js";
2
- import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
3
- import { ConversationTabPicker } from "../extension/ConversationTabPicker.js";
4
- import { n as SetupChecklistGroup } from "../../SetupChecklist-BiWQkKEq.js";
5
- import { McpServerPickerItems } from "./McpServerPicker.js";
6
- import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
7
2
  import { Context, ContextContent, ContextContentBody, ContextContentHeader, ContextTrigger } from "../ai-sdk/Context.js";
8
3
  import { CodexModelSelector } from "../extension/CodexModelSelector.js";
4
+ import { ConversationTabPicker } from "../extension/ConversationTabPicker.js";
5
+ import { n as SetupChecklistGroup } from "../../SetupChecklist-DWyifWWg.js";
6
+ import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
9
7
  import { ThinkChat } from "./ThinkChat.js";
8
+ import { McpServerPickerItems } from "./McpServerPicker.js";
9
+ import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
10
10
  import * as React from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region src/components/agents-sdk/EmployeeChat.tsx
@@ -1,2 +1,2 @@
1
- import { a as EmployeeDestination, c as EmployeeMenuProps, d as EmployeeRenderLink, f as EmployeeShellProps, h as EmployeeWorkbenchItem, i as EmployeeCompanion, l as EmployeeModelSetup, m as EmployeeView, n as EmployeeBrand, o as EmployeeFollow, p as EmployeeStatus, r as EmployeeChrome, s as EmployeeIdentity, t as EmployeeAgentRun, u as EmployeePasskeyVault } from "../../EmployeeChrome-B605rpVz.js";
1
+ import { a as EmployeeDestination, c as EmployeeMenuProps, d as EmployeeRenderLink, f as EmployeeShellProps, h as EmployeeWorkbenchItem, i as EmployeeCompanion, l as EmployeeModelSetup, m as EmployeeView, n as EmployeeBrand, o as EmployeeFollow, p as EmployeeStatus, r as EmployeeChrome, s as EmployeeIdentity, t as EmployeeAgentRun, u as EmployeePasskeyVault } from "../../EmployeeChrome-B7Gt2Hpk.js";
2
2
  export { EmployeeAgentRun, EmployeeBrand, EmployeeChrome, EmployeeCompanion, EmployeeDestination, EmployeeFollow, EmployeeIdentity, EmployeeMenuProps, EmployeeModelSetup, EmployeePasskeyVault, EmployeeRenderLink, EmployeeShellProps, EmployeeStatus, EmployeeView, EmployeeWorkbenchItem };
@@ -1,24 +1,24 @@
1
1
  import { findCatalogMcpServerCard } from "../../utils/mcp-server-catalog.js";
2
- import { A as McpIcon, C as FolderIcon, F as MoonIcon, K as SpinnerIcon, P as MonitorIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, V as QueueIcon, W as SidebarIcon, Y as SunIcon, Z as TerminalIcon, b as EyeIcon, c as BoxIcon, et as WarningIcon, o as ArrowUpRightIcon, q as SquareIcon, r as ArrowLeftIcon, y as EllipsisIcon } from "../../icons-cuEtsgj9.js";
2
+ import { A as McpIcon, C as FolderIcon, F as MoonIcon, K as SpinnerIcon, P as MonitorIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, V as QueueIcon, W as SidebarIcon, Y as SunIcon, Z as TerminalIcon, b as EyeIcon, c as BoxIcon, et as WarningIcon, o as ArrowUpRightIcon, q as SquareIcon, r as ArrowLeftIcon, y as EllipsisIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
+ import { Menu } from "../foundations/Menu.js";
4
5
  import { Tooltip } from "../foundations/Tooltip.js";
5
6
  import { IconButton } from "../foundations/IconButton.js";
6
7
  import { Dialog } from "../foundations/Dialog.js";
7
8
  import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
8
- import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
9
- import { Menu } from "../foundations/Menu.js";
10
- import { BrandLoading } from "../general-purpose/BrandLoading.js";
11
- import { AgentChat } from "./AgentChat.js";
12
- import { EmptyState } from "../foundations/EmptyState.js";
13
- import { AppTopBar } from "../general-purpose/AppTopBar.js";
14
- import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
15
9
  import { AgentChatStartScreen, AgentChatStartScreenComposer, AgentChatStartScreenPrimary, AgentChatStartScreenSuggestions, AgentChatStartScreenTray, AgentChatStarterList } from "../ai-sdk/AgentChatStartScreen.js";
16
- import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
17
- import { Avatar } from "../foundations/Avatar.js";
10
+ import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
18
11
  import { DescriptionList } from "../foundations/DescriptionList.js";
12
+ import { Avatar } from "../foundations/Avatar.js";
13
+ import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
14
+ import { EmptyState } from "../foundations/EmptyState.js";
19
15
  import { useTheme } from "../foundations/ThemeProvider.js";
20
16
  import { ActionGuide, ActionGuideAction, ActionGuideList, ActionGuideSection } from "../general-purpose/ActionGuide.js";
17
+ import { AppTopBar } from "../general-purpose/AppTopBar.js";
18
+ import { BrandLoading } from "../general-purpose/BrandLoading.js";
21
19
  import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
20
+ import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
21
+ import { AgentChat } from "./AgentChat.js";
22
22
  import { McpServerIcon } from "./McpServerIcon.js";
23
23
  import { ThinkThreadPicker } from "./ThinkThreadPicker.js";
24
24
  import * as React from "react";
@@ -1,4 +1,4 @@
1
- import { c as EmployeeMenuProps } from "../../EmployeeChrome-B605rpVz.js";
1
+ import { c as EmployeeMenuProps } from "../../EmployeeChrome-B7Gt2Hpk.js";
2
2
  import { t as ThinkRoutine } from "../../ThinkRoutine-Cb1DdaHa.js";
3
3
  import { ThinkRoutineActionsRootProps } from "./ThinkRoutineActions.js";
4
4
  import * as React from "react";
@@ -1,8 +1,8 @@
1
- import { R as PencilIcon, r as ArrowLeftIcon } from "../../icons-cuEtsgj9.js";
1
+ import { R as PencilIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
2
+ import { LinkButton } from "../foundations/LinkButton.js";
2
3
  import { AppTopBar } from "../general-purpose/AppTopBar.js";
3
- import { StatusScreen } from "../general-purpose/StatusScreen.js";
4
4
  import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
5
- import { LinkButton } from "../foundations/LinkButton.js";
5
+ import { StatusScreen } from "../general-purpose/StatusScreen.js";
6
6
  import { EmployeeChrome } from "./EmployeeChrome.js";
7
7
  import { getThinkExecutionRunId } from "./ThinkExecutionRun.js";
8
8
  import { ThinkRoutineActions, useThinkRoutineActions } from "./ThinkRoutineActions.js";
@@ -1,5 +1,5 @@
1
1
  import { J as PromptInputMessage } from "../../PromptInput-DGPrCTPl.js";
2
- import { a as EmployeeDestination, n as EmployeeBrand } from "../../EmployeeChrome-B605rpVz.js";
2
+ import { a as EmployeeDestination, n as EmployeeBrand } from "../../EmployeeChrome-B7Gt2Hpk.js";
3
3
  import { SetupChecklistGroupProps } from "../general-purpose/SetupChecklist.js";
4
4
  import { n as McpPluginCatalogProps } from "../../McpPluginCatalog-DNeHDrts.js";
5
5
  import { r as WorkspaceMountManagerProps } from "../../WorkspaceMountManager-CkLI1B-G.js";
@@ -1,10 +1,10 @@
1
- import { C as FolderIcon, G as SlackIcon, I as PaperclipIcon, c as BoxIcon, g as DiscordIcon } from "../../icons-cuEtsgj9.js";
2
- import { IconButton } from "../foundations/IconButton.js";
1
+ import { C as FolderIcon, G as SlackIcon, I as PaperclipIcon, c as BoxIcon, g as DiscordIcon } from "../../icons-CeGfXO21.js";
3
2
  import { Menu } from "../foundations/Menu.js";
4
- import { ActionGuideAction } from "../general-purpose/ActionGuide.js";
3
+ import { IconButton } from "../foundations/IconButton.js";
5
4
  import { AppIcon } from "../foundations/AppIcon.js";
5
+ import { ActionGuideAction } from "../general-purpose/ActionGuide.js";
6
+ import { t as SetupChecklistAction } from "../../SetupChecklist-DWyifWWg.js";
6
7
  import { EmployeeChrome } from "./EmployeeChrome.js";
7
- import { t as SetupChecklistAction } from "../../SetupChecklist-BiWQkKEq.js";
8
8
  import { McpServerPickerAction, McpServerPickerItems } from "./McpServerPicker.js";
9
9
  import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
10
10
  import * as React from "react";
@@ -1,9 +1,9 @@
1
- import { B as PlusIcon, y as EllipsisIcon } from "../../icons-cuEtsgj9.js";
1
+ import { B as PlusIcon, y as EllipsisIcon } from "../../icons-CeGfXO21.js";
2
+ import { Menu } from "../foundations/Menu.js";
2
3
  import { IconButton } from "../foundations/IconButton.js";
3
4
  import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
4
- import { Menu } from "../foundations/Menu.js";
5
- import { AppTopBar } from "../general-purpose/AppTopBar.js";
6
5
  import { Toast } from "../foundations/Toast.js";
6
+ import { AppTopBar } from "../general-purpose/AppTopBar.js";
7
7
  import "react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  //#region src/components/agents-sdk/ManagerAccountActions.tsx
@@ -1,2 +1,2 @@
1
- import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-CMJ7laGe.js";
1
+ import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-D4L_xO4i.js";
2
2
  export { ManagerOffice, ManagerOfficeSidebar, ManagerOfficeSidebarAlert };
@@ -1,4 +1,4 @@
1
- import { f as EmployeeShellProps } from "../../EmployeeChrome-B605rpVz.js";
1
+ import { f as EmployeeShellProps } from "../../EmployeeChrome-B7Gt2Hpk.js";
2
2
  import { ManagerOfficeConnectedEmployee, ManagerOfficeDestination, ManagerOfficeEmployee } from "./ManagerOffice.js";
3
3
  import * as React from "react";
4
4
 
@@ -1,11 +1,11 @@
1
- import { B as PlusIcon, C as FolderIcon, G as SlackIcon, P as MonitorIcon, R as PencilIcon, W as SidebarIcon, et as WarningIcon, r as ArrowLeftIcon } from "../../icons-cuEtsgj9.js";
1
+ import { B as PlusIcon, C as FolderIcon, G as SlackIcon, P as MonitorIcon, R as PencilIcon, W as SidebarIcon, et as WarningIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
2
2
  import { IconButton } from "../foundations/IconButton.js";
3
3
  import { EmptyState } from "../foundations/EmptyState.js";
4
4
  import { AppTopBar } from "../general-purpose/AppTopBar.js";
5
5
  import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
6
6
  import { ThinkThreadPicker } from "./ThinkThreadPicker.js";
7
7
  import { EmployeeChrome } from "./EmployeeChrome.js";
8
- import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-CMJ7laGe.js";
8
+ import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-D4L_xO4i.js";
9
9
  import "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region src/components/agents-sdk/ManagerOfficeScreens.tsx
@@ -1,11 +1,11 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-cuEtsgj9.js";
2
+ import { K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
+ import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
4
5
  import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
5
6
  import { DescriptionList } from "../foundations/DescriptionList.js";
6
7
  import { McpServerIcon } from "./McpServerIcon.js";
7
8
  import { t as getMcpServerProjection } from "../../mcp-server-mAErsxHU.js";
8
- import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
9
9
  import * as React from "react";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
11
  import { getToolPartState } from "@cloudflare/think/react";
@@ -1,9 +1,9 @@
1
1
  import { CUSTOM_MCP_SERVER_CARD } from "../../utils/mcp-server-catalog.js";
2
2
  import { t as cx } from "../../class-names-BiMDVpUo.js";
3
3
  import { Button } from "../foundations/Button.js";
4
- import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
5
4
  import { Field } from "../foundations/Field.js";
6
5
  import { Form } from "../foundations/Form.js";
6
+ import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
7
7
  import { Fieldset } from "../foundations/Fieldset.js";
8
8
  import * as React from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,17 +1,17 @@
1
1
  import { CUSTOM_MCP_SERVER_CARD } from "../../utils/mcp-server-catalog.js";
2
2
  import { t as cx } from "../../class-names-BiMDVpUo.js";
3
- import { B as PlusIcon, K as SpinnerIcon, et as WarningIcon, nt as XIcon, o as ArrowUpRightIcon, y as EllipsisIcon } from "../../icons-cuEtsgj9.js";
3
+ import { B as PlusIcon, K as SpinnerIcon, et as WarningIcon, nt as XIcon, o as ArrowUpRightIcon, y as EllipsisIcon } from "../../icons-CeGfXO21.js";
4
4
  import { Button } from "../foundations/Button.js";
5
+ import { AgentAttention, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
5
6
  import { IconButton } from "../foundations/IconButton.js";
6
7
  import { Dialog } from "../foundations/Dialog.js";
7
8
  import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
8
9
  import { Separator } from "../foundations/Separator.js";
9
10
  import { AppIcon } from "../foundations/AppIcon.js";
10
- import { McpServerIcon } from "./McpServerIcon.js";
11
11
  import { SearchField } from "../foundations/SearchField.js";
12
+ import { McpServerIcon } from "./McpServerIcon.js";
12
13
  import { t as getMcpServerProjection } from "../../mcp-server-mAErsxHU.js";
13
14
  import { McpServerSetupDialog } from "./McpServerPicker.js";
14
- import { AgentAttention, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
15
15
  import * as React from "react";
16
16
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
17
17
  //#region src/components/agents-sdk/McpPluginCatalog.tsx
@@ -1,9 +1,9 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, N as MinusIcon, d as CheckIcon, et as WarningIcon } from "../../icons-cuEtsgj9.js";
2
+ import { K as SpinnerIcon, N as MinusIcon, d as CheckIcon, et as WarningIcon } from "../../icons-CeGfXO21.js";
3
3
  import { buttonVariants } from "../foundations/Button.js";
4
+ import { Menu } from "../foundations/Menu.js";
4
5
  import { Dialog } from "../foundations/Dialog.js";
5
6
  import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
6
- import { Menu } from "../foundations/Menu.js";
7
7
  import { PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuTrigger } from "../ai-sdk/PromptInput.js";
8
8
  import { McpServerIcon } from "./McpServerIcon.js";
9
9
  import { t as getMcpServerProjection } from "../../mcp-server-mAErsxHU.js";
@@ -1,6 +1,6 @@
1
1
  import { Field } from "../foundations/Field.js";
2
- import { SettingsFormDialog } from "../general-purpose/SettingsFormDialog.js";
3
2
  import { Checkbox } from "../foundations/Checkbox.js";
3
+ import { SettingsFormDialog } from "../general-purpose/SettingsFormDialog.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/agents-sdk/ModelEndpointDialog.tsx
6
6
  /** Shared connection form; the host owns validation, credentials and persistence. */
@@ -1,13 +1,13 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { U as SearchIcon, f as ChevronDownIcon } from "../../icons-cuEtsgj9.js";
2
+ import { U as SearchIcon, f as ChevronDownIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
+ import { Autocomplete } from "../foundations/Autocomplete.js";
4
5
  import { Dialog } from "../foundations/Dialog.js";
5
6
  import { c as titleCase } from "../../format-COCyV98Z.js";
6
- import { Autocomplete } from "../foundations/Autocomplete.js";
7
+ import { Separator } from "../foundations/Separator.js";
7
8
  import { ScrollArea } from "../foundations/ScrollArea.js";
8
- import { EmptyState } from "../foundations/EmptyState.js";
9
9
  import { t as ProviderLogo } from "../../provider-logos-DWYY8wNz.js";
10
- import { Separator } from "../foundations/Separator.js";
10
+ import { EmptyState } from "../foundations/EmptyState.js";
11
11
  import * as React from "react";
12
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
13
  import { createPortal } from "react-dom";
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { ThinkExecutionApproval, ThinkPendingApproval, getPausedExecution } from "./ThinkPendingApproval.js";
3
2
  import { ToolApproval } from "../ai-sdk/ToolApproval.js";
3
+ import { ThinkExecutionApproval, ThinkPendingApproval, getPausedExecution } from "./ThinkPendingApproval.js";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import { isToolUIPart } from "ai";
@@ -1,6 +1,6 @@
1
1
  import { composerLinkHref } from "../../utils/composer-link.js";
2
2
  import { findCatalogMcpServerCard, getMcpServerIconSrc } from "../../utils/mcp-server-catalog.js";
3
- import { A as McpIcon, c as BoxIcon } from "../../icons-cuEtsgj9.js";
3
+ import { A as McpIcon, c as BoxIcon } from "../../icons-CeGfXO21.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region src/components/agents-sdk/PromptInputCommands.tsx
6
6
  function mcpServerCommandIcon(server) {
@@ -1,4 +1,4 @@
1
- import { n as AgentToolRunValue } from "../../AgentToolRunsContext-GMe_hSnD.js";
1
+ import { n as AgentToolRunValue } from "../../AgentToolRunsContext-DT50htHj.js";
2
2
  import * as React from "react";
3
3
 
4
4
  //#region src/components/agents-sdk/SubagentRunDetails.d.ts
@@ -1,4 +1,4 @@
1
- import { n as AgentToolRunValue } from "../../AgentToolRunsContext-GMe_hSnD.js";
1
+ import { n as AgentToolRunValue } from "../../AgentToolRunsContext-DT50htHj.js";
2
2
  import * as React from "react";
3
3
  import { AgentToolRunPart } from "agents/agent-tools";
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { J as StopIcon, K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-cuEtsgj9.js";
2
+ import { J as StopIcon, K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-CeGfXO21.js";
3
3
  import { r as firstLine, s as textLines } from "../../format-COCyV98Z.js";
4
4
  import "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { n as AgentToolRunValue } from "../../AgentToolRunsContext-GMe_hSnD.js";
1
+ import { n as AgentToolRunValue } from "../../AgentToolRunsContext-DT50htHj.js";
2
2
  import * as React from "react";
3
3
  import { UIMessage } from "ai";
4
4
  import { AgentToolRunPart } from "agents/agent-tools";
@@ -1,4 +1,4 @@
1
- import { n as AgentToolRunValue, t as AgentToolEventsValue } from "../../AgentToolRunsContext-GMe_hSnD.js";
1
+ import { n as AgentToolRunValue, t as AgentToolEventsValue } from "../../AgentToolRunsContext-DT50htHj.js";
2
2
  import { ExpansionStore } from "../ai-sdk/ExpansionState.js";
3
3
  import * as React from "react";
4
4
  import { AgentToolRunPart } from "agents/agent-tools";
@@ -8,27 +8,18 @@ interface CommandState {
8
8
  pending: boolean;
9
9
  error?: string;
10
10
  }
11
- /** Controlled collection facts supplied by the connection owner. */
12
- interface SubagentRunCollectionState {
13
- status: "loading" | "ready" | "error";
14
- stale: boolean;
15
- error?: string;
16
- }
17
11
  interface SubagentRunPanelProviderProps {
18
12
  /** Conversation identity; changing it resets transient controls without remounting children. */
19
13
  scopeKey: string;
20
14
  /** The one upstream event-hook value from the parent connection. */
21
15
  agentTools: AgentToolEventsValue<AgentToolRunPart>;
22
- collection: SubagentRunCollectionState;
23
- /** The host's native execution predicate; presentation does not own cancellation policy. */
24
- mayExecute: (run: AgentToolRunValue) => boolean;
25
16
  selectedRunId?: string;
26
17
  parentRunning: boolean;
27
18
  onStopCurrentWork: () => Promise<void>;
28
19
  onStopRun: (runId: string) => Promise<void>;
29
20
  children: React.ReactNode;
30
21
  }
31
- interface SubagentRunPanelValue extends Pick<SubagentRunPanelProviderProps, "agentTools" | "collection" | "mayExecute" | "selectedRunId" | "parentRunning"> {
22
+ interface SubagentRunPanelValue extends Pick<SubagentRunPanelProviderProps, "agentTools" | "selectedRunId" | "parentRunning"> {
32
23
  open: boolean;
33
24
  setOpen: (open: boolean) => void;
34
25
  hiddenCompleted: ReadonlySet<string>;
@@ -43,8 +34,6 @@ interface SubagentRunPanelValue extends Pick<SubagentRunPanelProviderProps, "age
43
34
  declare function SubagentRunPanelProvider({
44
35
  scopeKey,
45
36
  agentTools,
46
- collection,
47
- mayExecute,
48
37
  selectedRunId,
49
38
  parentRunning,
50
39
  onStopCurrentWork,
@@ -60,4 +49,4 @@ declare function SubagentRunPanel({
60
49
  renderRunLink
61
50
  }: SubagentRunPanelProps): React.JSX.Element | null;
62
51
  //#endregion
63
- export { SubagentRunCollectionState, SubagentRunPanel, SubagentRunPanelProps, SubagentRunPanelProvider, SubagentRunPanelProviderProps, useOptionalSubagentRunPanel };
52
+ export { SubagentRunPanel, SubagentRunPanelProps, SubagentRunPanelProvider, SubagentRunPanelProviderProps, useOptionalSubagentRunPanel };