@mcp-b/react-components 0.57.0 → 0.58.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 (165) hide show
  1. package/dist/Card-BPkXIkBz.d.ts +46 -0
  2. package/dist/{CodeBlock-Dw1z6jc8.js → CodeBlock-Bs_Z03eC.js} +2 -1
  3. package/dist/{CodeBlock-CPotpyyM.d.ts → CodeBlock-DYp5V_4O.d.ts} +1 -1
  4. package/dist/{EmployeeChrome-CN99SVfF.d.ts → EmployeeChrome-DsdIek0l.d.ts} +2 -10
  5. package/dist/ExecutionBoard-DHfMvKlB.d.ts +64 -0
  6. package/dist/ExecutionResult-BSZsUbrL.js +279 -0
  7. package/dist/{FileTree-D61EeWRU.js → FileTree-DyLBn7O_.js} +1 -1
  8. package/dist/{ManagerOffice-D4L_xO4i.js → ManagerOffice-DHcLRhFu.js} +2 -17
  9. package/dist/{McpConnectorForm-BPWCo9bU.d.ts → McpConnectorForm-D4bY-lm_.d.ts} +1 -1
  10. package/dist/{McpPluginCatalog-uSh0gGeY.d.ts → McpPluginCatalog-2FZDLCeK.d.ts} +2 -2
  11. package/dist/{SetupChecklist-DWyifWWg.js → SetupChecklist-CKQ-mKYt.js} +1 -1
  12. package/dist/{ThinkRoutine-DGlKJbIy.d.ts → ThinkRoutine-DoZjbzyn.d.ts} +15 -3
  13. package/dist/{Workspace-Cr-aGDfx.d.ts → Workspace-iCkXvQRJ.d.ts} +1 -1
  14. package/dist/WorkspaceConcept-ByaG-kBq.d.ts +38 -0
  15. package/dist/WorkspaceExecutionTable-DNhj6YDX.d.ts +239 -0
  16. package/dist/{WorkspaceFile-DiwiJEwO.d.ts → WorkspaceFile-DkIZKoK6.d.ts} +1 -1
  17. package/dist/{WorkspaceFileView-DCvGBsI1.js → WorkspaceFileView-M2jC2P4p.js} +217 -139
  18. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  19. package/dist/components/agents-sdk/AgentChat.js +4 -4
  20. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  21. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  22. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  23. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  24. package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
  25. package/dist/components/agents-sdk/EmployeeApp.js +3 -7
  26. package/dist/components/agents-sdk/EmployeeChat.d.ts +3 -1
  27. package/dist/components/agents-sdk/EmployeeChat.js +11 -4
  28. package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
  29. package/dist/components/agents-sdk/EmployeeChrome.js +72 -57
  30. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +6 -3
  31. package/dist/components/agents-sdk/EmployeeSchedules.js +12 -10
  32. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +2 -2
  33. package/dist/components/agents-sdk/EmployeeStartScreen.js +2 -2
  34. package/dist/components/agents-sdk/ExecutionBoard.d.ts +2 -0
  35. package/dist/components/agents-sdk/ExecutionBoard.js +648 -0
  36. package/dist/components/agents-sdk/ManagerAccountActions.js +1 -1
  37. package/dist/components/agents-sdk/ManagerOffice.d.ts +1 -1
  38. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  39. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
  40. package/dist/components/agents-sdk/ManagerOfficeScreens.js +4 -3
  41. package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
  42. package/dist/components/agents-sdk/McpConnectionRequest.js +1 -1
  43. package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
  44. package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
  45. package/dist/components/agents-sdk/McpPluginCatalog.js +16 -7
  46. package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
  47. package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
  48. package/dist/components/agents-sdk/McpServerPicker.js +1 -1
  49. package/dist/components/agents-sdk/ModelSelector.js +1 -1
  50. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  51. package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
  52. package/dist/components/agents-sdk/SubagentRunPanel.js +1 -1
  53. package/dist/components/agents-sdk/ThinkChatToolPanels.js +238 -209
  54. package/dist/components/agents-sdk/ThinkExecutionDetail.js +13 -34
  55. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  56. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +1 -1
  57. package/dist/components/agents-sdk/ThinkRoutine.d.ts +2 -2
  58. package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +2 -2
  59. package/dist/components/agents-sdk/ThinkRoutineActions.js +25 -15
  60. package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +1 -1
  61. package/dist/components/agents-sdk/ThinkRoutineBrowser.js +1 -1
  62. package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +5 -2
  63. package/dist/components/agents-sdk/ThinkRoutineDetail.js +13 -7
  64. package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +23 -6
  65. package/dist/components/agents-sdk/ThinkRoutineForm.js +519 -212
  66. package/dist/components/agents-sdk/ThinkThreadPicker.js +1 -1
  67. package/dist/components/agents-sdk/TypeSafeConnectionDialog.d.ts +10 -0
  68. package/dist/components/agents-sdk/TypeSafeConnectionDialog.js +34 -0
  69. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  70. package/dist/components/agents-sdk/Workspace.d.ts +1 -1
  71. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
  72. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  73. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +2 -37
  74. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +2 -2
  75. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +3 -2
  76. package/dist/components/agents-sdk/WorkspaceExecution.d.ts +2 -92
  77. package/dist/components/agents-sdk/WorkspaceExecution.js +648 -131
  78. package/dist/components/agents-sdk/WorkspaceExecutionTable.d.ts +2 -0
  79. package/dist/components/agents-sdk/WorkspaceExecutionTable.js +824 -0
  80. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +3 -1
  81. package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -3
  82. package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
  83. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +4 -2
  84. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  85. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  86. package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -2
  87. package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
  88. package/dist/components/agents-sdk/WorkspaceProject.js +4 -3
  89. package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +1 -1
  90. package/dist/components/agents-sdk/WorkspaceUserScript.js +3 -2
  91. package/dist/components/ai-sdk/Activity.js +1 -1
  92. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  93. package/dist/components/ai-sdk/Approval.js +1 -1
  94. package/dist/components/ai-sdk/Artifact.js +1 -1
  95. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  96. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  97. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  98. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  99. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  100. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  101. package/dist/components/ai-sdk/ConnectedAppCards.d.ts +1 -1
  102. package/dist/components/ai-sdk/ConnectedAppCards.js +1 -1
  103. package/dist/components/ai-sdk/Context.js +2 -2
  104. package/dist/components/ai-sdk/Conversation.js +1 -1
  105. package/dist/components/ai-sdk/Goal.js +1 -1
  106. package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
  107. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  108. package/dist/components/ai-sdk/Message.js +2 -2
  109. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  110. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  111. package/dist/components/ai-sdk/Plan.js +1 -1
  112. package/dist/components/ai-sdk/PromptInput.js +1 -1
  113. package/dist/components/ai-sdk/Queue.js +1 -1
  114. package/dist/components/ai-sdk/Reasoning.js +1 -1
  115. package/dist/components/ai-sdk/Sources.js +1 -1
  116. package/dist/components/ai-sdk/Task.js +1 -1
  117. package/dist/components/extension/ChatGptSignInScreen.js +2 -2
  118. package/dist/components/extension/CodexModelSelector.js +1 -1
  119. package/dist/components/extension/ConversationTabPicker.js +1 -1
  120. package/dist/components/foundations/Card.d.ts +2 -45
  121. package/dist/components/foundations/Checkbox.js +1 -1
  122. package/dist/components/foundations/ContextMenu.js +1 -1
  123. package/dist/components/foundations/Menubar.js +1 -1
  124. package/dist/components/foundations/SearchField.js +1 -1
  125. package/dist/components/foundations/Select.js +1 -1
  126. package/dist/components/foundations/Stepper.js +1 -1
  127. package/dist/components/foundations/Toast.js +1 -1
  128. package/dist/components/foundations/icons.d.ts +2 -2
  129. package/dist/components/foundations/icons.js +2 -2
  130. package/dist/components/general-purpose/Commit.js +2 -2
  131. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  132. package/dist/components/general-purpose/FileTree.js +1 -1
  133. package/dist/components/general-purpose/PricingPlanCard.js +1 -1
  134. package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
  135. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  136. package/dist/components/general-purpose/Terminal.js +2 -2
  137. package/dist/components/general-purpose/TestResults.js +1 -1
  138. package/dist/components/general-purpose/ThemeModeControl.js +1 -1
  139. package/dist/components/general-purpose/WebPreview.js +1 -1
  140. package/dist/components/nanites/AgentConnection.js +2 -2
  141. package/dist/components/nanites/AgentToolDetail.js +1 -1
  142. package/dist/{copy-button-Dk2vRe9j.js → copy-button-M4sAp9xS.js} +1 -1
  143. package/dist/execution-result-DWVmm-bL.js +80 -0
  144. package/dist/{icons-CUuD7iEh.d.ts → icons-Dj6id76o.d.ts} +2 -1
  145. package/dist/{icons-CeGfXO21.js → icons-DvlrWt54.js} +3 -2
  146. package/dist/{mcp-server-catalog-DgA9BnL0.d.ts → mcp-server-catalog-kaMWaSAL.d.ts} +3 -1
  147. package/dist/styles/app-top-bar.css +2 -1
  148. package/dist/styles/base.css +1 -0
  149. package/dist/styles/chatgpt-sign-in-screen.css +8 -14
  150. package/dist/styles/context.css +8 -0
  151. package/dist/styles/description-list.css +12 -9
  152. package/dist/styles/execution-board.css +383 -0
  153. package/dist/styles/index.css +3 -0
  154. package/dist/styles/mcp-plugin-catalog.css +8 -7
  155. package/dist/styles/think-chat-tool-panels.css +1 -2
  156. package/dist/styles/think-execution-workbench.css +1 -12
  157. package/dist/styles/think-routine.css +39 -41
  158. package/dist/styles/workspace-concepts.css +441 -17
  159. package/dist/styles/workspace-explorer.css +18 -4
  160. package/dist/utils/mcp-server-catalog.d.ts +2 -2
  161. package/dist/utils/mcp-server-catalog.js +18 -1
  162. package/dist/utils/structured-code.d.ts +1 -1
  163. package/dist/{workspace-assets-wW_lQLYK.js → workspace-assets-DVn0d-fN.js} +24 -81
  164. package/dist/workspace-delete-DfloiBWp.js +80 -0
  165. package/package.json +3 -2
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
2
+ import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-DvlrWt54.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { IconButton } from "../foundations/IconButton.js";
5
5
  import { Card } from "../foundations/Card.js";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { W as SidebarIcon, et as WarningIcon, f as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
2
+ import { W as SidebarIcon, f as ChevronDownIcon, r as ArrowLeftIcon, tt as WarningIcon } from "../../icons-DvlrWt54.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { t as capitalize } from "../../format-CWaZEp5o.js";
5
5
  import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
@@ -1,2 +1,2 @@
1
- import { n as SetupChecklistGroup, t as SetupChecklistAction } from "../../SetupChecklist-DWyifWWg.js";
1
+ import { n as SetupChecklistGroup, t as SetupChecklistAction } from "../../SetupChecklist-CKQ-mKYt.js";
2
2
  export { SetupChecklistAction, SetupChecklistGroup };
@@ -1,7 +1,7 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Z as TerminalIcon, nt as XIcon } from "../../icons-CeGfXO21.js";
2
+ import { Q as TerminalIcon, rt as XIcon } from "../../icons-DvlrWt54.js";
3
3
  import { IconButton } from "../foundations/IconButton.js";
4
- import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
4
+ import { t as CopyButton } from "../../copy-button-M4sAp9xS.js";
5
5
  import { ScrollArea } from "../foundations/ScrollArea.js";
6
6
  import * as React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
- import { K as SpinnerIcon, d as CheckIcon, nt as XIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
3
+ import { K as SpinnerIcon, d as CheckIcon, p as ChevronRightIcon, rt as XIcon } from "../../icons-DvlrWt54.js";
4
4
  import { Progress } from "../foundations/Progress.js";
5
5
  import * as React from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { F as MoonIcon, P as MonitorIcon, Y as SunIcon } from "../../icons-CeGfXO21.js";
1
+ import { F as MoonIcon, P as MonitorIcon, X as SunIcon } from "../../icons-DvlrWt54.js";
2
2
  import { Radio, RadioGroup } from "../foundations/RadioGroup.js";
3
3
  import { useTheme } from "../foundations/ThemeProvider.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
- import { H as RefreshIcon, f as ChevronDownIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
3
+ import { H as RefreshIcon, f as ChevronDownIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-DvlrWt54.js";
4
4
  import { IconButton } from "../foundations/IconButton.js";
5
5
  import { Input } from "../foundations/Input.js";
6
6
  import { ScrollArea } from "../foundations/ScrollArea.js";
@@ -1,7 +1,7 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { D as LinkIcon } from "../../icons-CeGfXO21.js";
2
+ import { D as LinkIcon } from "../../icons-DvlrWt54.js";
3
3
  import { Button } from "../foundations/Button.js";
4
- import { a as CodeBlockCopyButton, i as CodeBlockContent, n as CodeBlockActions, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock } from "../../CodeBlock-Dw1z6jc8.js";
4
+ import { a as CodeBlockCopyButton, i as CodeBlockContent, n as CodeBlockActions, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock } from "../../CodeBlock-Bs_Z03eC.js";
5
5
  import { Popover } from "../foundations/Popover.js";
6
6
  import { ToggleGroup } from "../foundations/ToggleGroup.js";
7
7
  import * as React from "react";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
2
+ import { r as ArrowLeftIcon } from "../../icons-DvlrWt54.js";
3
3
  import { MessageActions } from "../ai-sdk/Message.js";
4
4
  import { TransitionSurface } from "../foundations/TransitionSurface.js";
5
5
  import { AppTopBar } from "../general-purpose/AppTopBar.js";
@@ -1,4 +1,4 @@
1
- import { d as CheckIcon, h as CopyIcon } from "./icons-CeGfXO21.js";
1
+ import { d as CheckIcon, h as CopyIcon } from "./icons-DvlrWt54.js";
2
2
  import { IconButton } from "./components/foundations/IconButton.js";
3
3
  import * as React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -0,0 +1,80 @@
1
+ //#region src/components/_internal/execution-result.ts
2
+ const STRUCTURED_RESULT_START = /\{\s*(?:"|}|$)|\[\s*(?:[[{"\d\]-]|true\b|false\b|null\b|$)/;
3
+ const WORKSPACE_FILE_REFERENCE = /(?<![\w:/])\/[^\s<>`"'()[\]{}]*\.[a-z\d]+/gi;
4
+ /** File references remain intact in stored results; presentation uses readable links. */
5
+ function executionResultFiles(text) {
6
+ return [...text.matchAll(WORKSPACE_FILE_REFERENCE)].map((match) => match[0]);
7
+ }
8
+ function executionResultProse(text) {
9
+ return text.replace(WORKSPACE_FILE_REFERENCE, "the saved file");
10
+ }
11
+ /** An existing artifact reference, not a user-facing result field. */
12
+ function executionResultPath(value) {
13
+ return value != null && typeof value === "object" && "resultPath" in value && typeof value.resultPath === "string" && value.resultPath.startsWith("/") ? value.resultPath : void 0;
14
+ }
15
+ /** Decode serialized payloads for presentation while preserving ordinary text. */
16
+ function readExecutionResult(result) {
17
+ if (typeof result !== "string") return result;
18
+ const text = result.trim();
19
+ if (/^https?:\/\/\S+$/i.test(text)) return text;
20
+ const candidate = /^```(?:json)?\s*([\s\S]*?)\s*```$/i.exec(text)?.[1] ?? text;
21
+ if (candidate.startsWith("\"")) try {
22
+ const decoded = JSON.parse(candidate);
23
+ if (typeof decoded === "string") return readExecutionResult(decoded);
24
+ } catch {}
25
+ const start = candidate.search(STRUCTURED_RESULT_START);
26
+ if (start === -1) return result;
27
+ const prefix = candidate.slice(0, start).trim().replace(/:\s*$/, "");
28
+ try {
29
+ const end = candidate.lastIndexOf(candidate[start] === "{" ? "}" : "]") + 1;
30
+ const value = JSON.parse(candidate.slice(start, end));
31
+ if (value == null || typeof value !== "object") return result;
32
+ const message = [prefix, candidate.slice(end).trim()].filter(Boolean).join(" ");
33
+ return message ? {
34
+ message,
35
+ details: value
36
+ } : value;
37
+ } catch {
38
+ return [prefix, candidate.includes("--- TRUNCATED ---") ? "This result was shortened." : "Some result data could not be displayed."].filter(Boolean).join("\n");
39
+ }
40
+ }
41
+ function prose(value) {
42
+ if (typeof value !== "string") return void 0;
43
+ const text = value.trim();
44
+ const readable = readExecutionResult(text);
45
+ if (typeof readable === "string" && /^https?:\/\//i.test(readable) && URL.canParse(readable)) return new URL(readable).hostname;
46
+ return text && typeof readable === "string" ? executionResultProse(readable) : void 0;
47
+ }
48
+ /** Human prose from an explicit summary; structured values belong in result facts. */
49
+ function executionResultSummary(result) {
50
+ const value = readExecutionResult(result);
51
+ if (typeof value === "string") return prose(value) ?? "Run complete.";
52
+ if (value != null && typeof value === "object" && "summary" in value) {
53
+ const path = executionResultPath(value);
54
+ const summary = prose(path && typeof value.summary === "string" ? value.summary.replaceAll(path, "the saved file") : value.summary);
55
+ if (summary) return summary;
56
+ }
57
+ if (Array.isArray(value)) return `${value.length} ${value.length === 1 ? "item" : "items"} returned.`;
58
+ if (typeof value === "number") return String(value);
59
+ if (typeof value === "boolean") return value ? "Yes" : "No";
60
+ return "Run complete.";
61
+ }
62
+ /** Preserve useful failure prose without putting provider response bodies in the UI. */
63
+ function executionErrorSummary(error) {
64
+ if (error.includes("JavaScript preflight failed:")) return "This workflow needs a correction before it can run.";
65
+ const start = error.search(STRUCTURED_RESULT_START);
66
+ if (start === -1) return prose(error) ?? "Couldn't complete this run.";
67
+ const details = readExecutionResult(error.slice(start));
68
+ if (details != null && typeof details === "object") {
69
+ const message = "message" in details ? prose(details.message) : void 0;
70
+ if (message) return message;
71
+ if ("error" in details) {
72
+ const nested = details.error;
73
+ const nestedMessage = nested != null && typeof nested === "object" && "message" in nested ? prose(nested.message) : prose(nested);
74
+ if (nestedMessage) return nestedMessage;
75
+ }
76
+ }
77
+ return prose(error.slice(0, start).replace(/[:\s]+$/, "")) ?? "Couldn't complete this run.";
78
+ }
79
+ //#endregion
80
+ export { readExecutionResult as a, executionResultSummary as i, executionResultFiles as n, executionResultPath as r, executionErrorSummary as t };
@@ -31,6 +31,7 @@ declare const MinusIcon: ({ size, strokeWidth, ...props }: IconProps) => import(
31
31
  declare const PlayIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
32
32
  declare const PauseIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
33
33
  declare const SquareIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
34
+ declare const SplitIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
34
35
  declare const ArrowLeftIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
35
36
  declare const ArrowRightIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
36
37
  declare const ArrowDownIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
@@ -70,4 +71,4 @@ declare const SunIcon: ({ size, strokeWidth, ...props }: IconProps) => import("r
70
71
  declare const TargetIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
71
72
  declare const MaximizeIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
72
73
  //#endregion
73
- export { TerminalIcon as $, MailIcon as A, PencilIcon as B, FileIcon as C, InfoIcon as D, IconProps as E, MinusIcon as F, SearchIcon as G, PlusIcon as H, MonitorIcon as I, SpinnerIcon as J, SidebarIcon as K, MoonIcon as L, McpIcon as M, MessageSquareIcon as N, KeyboardIcon as O, MicrophoneIcon as P, TargetIcon as Q, PaperclipIcon as R, EyeOffIcon as S, FolderOpenIcon as T, QueueIcon as U, PlayIcon as V, RefreshIcon as W, StopIcon as X, SquareIcon as Y, SunIcon as Z, DiscordIcon as _, ArrowUpIcon as a, EllipsisIcon as b, BoxIcon as c, CalendarIcon as d, TrashIcon as et, CheckIcon as f, CopyIcon as g, CodeIcon as h, ArrowRightIcon as i, XIcon as it, MaximizeIcon as j, LinkIcon as k, BrainIcon as l, ChevronRightIcon as m, ArrowDownIcon as n, WarningIcon as nt, ArrowUpRightIcon as o, ChevronDownIcon as p, SlackIcon as q, ArrowLeftIcon as r, WrenchIcon as rt, BookmarkIcon as s, ArchiveIcon as t, UserIcon as tt, BrandIconProps as u, DotIcon as v, FolderIcon as w, EyeIcon as x, DownloadIcon as y, PauseIcon as z };
74
+ export { TargetIcon as $, MailIcon as A, PencilIcon as B, FileIcon as C, InfoIcon as D, IconProps as E, MinusIcon as F, SearchIcon as G, PlusIcon as H, MonitorIcon as I, SpinnerIcon as J, SidebarIcon as K, MoonIcon as L, McpIcon as M, MessageSquareIcon as N, KeyboardIcon as O, MicrophoneIcon as P, SunIcon as Q, PaperclipIcon as R, EyeOffIcon as S, FolderOpenIcon as T, QueueIcon as U, PlayIcon as V, RefreshIcon as W, SquareIcon as X, SplitIcon as Y, StopIcon as Z, DiscordIcon as _, ArrowUpIcon as a, XIcon as at, EllipsisIcon as b, BoxIcon as c, CalendarIcon as d, TerminalIcon as et, CheckIcon as f, CopyIcon as g, CodeIcon as h, ArrowRightIcon as i, WrenchIcon as it, MaximizeIcon as j, LinkIcon as k, BrainIcon as l, ChevronRightIcon as m, ArrowDownIcon as n, UserIcon as nt, ArrowUpRightIcon as o, ChevronDownIcon as p, SlackIcon as q, ArrowLeftIcon as r, WarningIcon as rt, BookmarkIcon as s, ArchiveIcon as t, TrashIcon as tt, BrandIconProps as u, DotIcon as v, FolderIcon as w, EyeIcon as x, DownloadIcon as y, PauseIcon as z };
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "./class-names-BiMDVpUo.js";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import { Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, Bookmark, Box, Brain, CalendarDays, Check, ChevronDown, ChevronRight, CircleStop, CodeXml, Copy, Dot, Download, Ellipsis, Eye, EyeOff, File, Folder, FolderOpen, Info, Keyboard, Link2, ListRestart, LoaderCircle, Mail, Maximize2, MessageSquare, Mic, Minus, Monitor, Moon, PanelLeft, Paperclip, Pause, Pencil, Play, Plus, RefreshCw, Search, Square, Sun, Target, Terminal, Trash2, TriangleAlert, User, Wrench, X } from "lucide-react";
3
+ import { Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, Bookmark, Box, Brain, CalendarDays, Check, ChevronDown, ChevronRight, CircleStop, CodeXml, Copy, Dot, Download, Ellipsis, Eye, EyeOff, File, Folder, FolderOpen, Info, Keyboard, Link2, ListRestart, LoaderCircle, Mail, Maximize2, MessageSquare, Mic, Minus, Monitor, Moon, PanelLeft, Paperclip, Pause, Pencil, Play, Plus, RefreshCw, Search, Split, Square, Sun, Target, Terminal, Trash2, TriangleAlert, User, Wrench, X } from "lucide-react";
4
4
  import { SiDiscord, SiModelcontextprotocol } from "react-icons/si";
5
5
  //#region src/components/_internal/icons.tsx
6
6
  function icon(Component) {
@@ -44,6 +44,7 @@ const MinusIcon = icon(Minus);
44
44
  const PlayIcon = icon(Play);
45
45
  const PauseIcon = icon(Pause);
46
46
  const SquareIcon = icon(Square);
47
+ const SplitIcon = icon(Split);
47
48
  const ArrowLeftIcon = icon(ArrowLeft);
48
49
  const ArrowRightIcon = icon(ArrowRight);
49
50
  const ArrowDownIcon = icon(ArrowDown);
@@ -131,4 +132,4 @@ const SunIcon = icon(Sun);
131
132
  const TargetIcon = icon(Target);
132
133
  const MaximizeIcon = icon(Maximize2);
133
134
  //#endregion
134
- export { UserIcon as $, McpIcon as A, PlusIcon as B, FolderIcon as C, LinkIcon as D, KeyboardIcon as E, MoonIcon as F, SlackIcon as G, RefreshIcon as H, PaperclipIcon as I, StopIcon as J, SpinnerIcon as K, PauseIcon as L, MicrophoneIcon as M, MinusIcon as N, MailIcon as O, MonitorIcon as P, TrashIcon as Q, PencilIcon as R, FileIcon as S, InfoIcon as T, SearchIcon as U, QueueIcon as V, SidebarIcon as W, TargetIcon as X, SunIcon as Y, TerminalIcon as Z, DotIcon as _, ArrowUpIcon as a, EyeIcon as b, BoxIcon as c, CheckIcon as d, WarningIcon as et, ChevronDownIcon as f, DiscordIcon as g, CopyIcon as h, ArrowRightIcon as i, MessageSquareIcon as j, MaximizeIcon as k, BrainIcon as l, CodeIcon as m, ArrowDownIcon as n, XIcon as nt, ArrowUpRightIcon as o, ChevronRightIcon as p, SquareIcon as q, ArrowLeftIcon as r, BookmarkIcon as s, ArchiveIcon as t, WrenchIcon as tt, CalendarIcon as u, DownloadIcon as v, FolderOpenIcon as w, EyeOffIcon as x, EllipsisIcon as y, PlayIcon as z };
135
+ export { TrashIcon as $, McpIcon as A, PlusIcon as B, FolderIcon as C, LinkIcon as D, KeyboardIcon as E, MoonIcon as F, SlackIcon as G, RefreshIcon as H, PaperclipIcon as I, SquareIcon as J, SpinnerIcon as K, PauseIcon as L, MicrophoneIcon as M, MinusIcon as N, MailIcon as O, MonitorIcon as P, TerminalIcon as Q, PencilIcon as R, FileIcon as S, InfoIcon as T, SearchIcon as U, QueueIcon as V, SidebarIcon as W, SunIcon as X, StopIcon as Y, TargetIcon as Z, DotIcon as _, ArrowUpIcon as a, EyeIcon as b, BoxIcon as c, CheckIcon as d, UserIcon as et, ChevronDownIcon as f, DiscordIcon as g, CopyIcon as h, ArrowRightIcon as i, MessageSquareIcon as j, MaximizeIcon as k, BrainIcon as l, CodeIcon as m, ArrowDownIcon as n, WrenchIcon as nt, ArrowUpRightIcon as o, ChevronRightIcon as p, SplitIcon as q, ArrowLeftIcon as r, XIcon as rt, BookmarkIcon as s, ArchiveIcon as t, WarningIcon as tt, CalendarIcon as u, DownloadIcon as v, FolderOpenIcon as w, EyeOffIcon as x, EllipsisIcon as y, PlayIcon as z };
@@ -135,6 +135,8 @@ declare const CUSTOM_MCP_SERVER_CARD: {
135
135
  };
136
136
  };
137
137
  declare function getMcpServerIconSrc(server: McpServerCard): string | undefined;
138
+ /** Product identity for document URLs whose apps share an origin. */
139
+ declare function providerCardForHref(href: string): McpServerCard | undefined;
138
140
  /** Match a live MCP entry or channel name to a catalog card that already has a brand mark. */
139
141
  declare function findCatalogMcpServerCard(query: {
140
142
  id?: string;
@@ -1108,4 +1110,4 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
1108
1110
  }];
1109
1111
  declare const DEFAULT_MCP_SERVER_CARDS: readonly McpServerCard[];
1110
1112
  //#endregion
1111
- export { MCP_SERVER_SETUP_AUTH as a, McpServerSetupAuth as c, McpServerSetupLink as d, findCatalogMcpServerCard as f, getMcpServerRuntimeState as h, MANUAL_MCP_SERVER_CARDS as i, McpServerSetupAuthField as l, getMcpServerIconSrc as m, DCR_MCP_SERVER_CARDS as n, McpServerCard as o, getMcpServerEntry as p, DEFAULT_MCP_SERVER_CARDS as r, McpServerManualSetup as s, CUSTOM_MCP_SERVER_CARD as t, McpServerSetupAuthFieldName as u };
1113
+ export { MCP_SERVER_SETUP_AUTH as a, McpServerSetupAuth as c, McpServerSetupLink as d, findCatalogMcpServerCard as f, providerCardForHref as g, getMcpServerRuntimeState as h, MANUAL_MCP_SERVER_CARDS as i, McpServerSetupAuthField as l, getMcpServerIconSrc as m, DCR_MCP_SERVER_CARDS as n, McpServerCard as o, getMcpServerEntry as p, DEFAULT_MCP_SERVER_CARDS as r, McpServerManualSetup as s, CUSTOM_MCP_SERVER_CARD as t, McpServerSetupAuthFieldName as u };
@@ -61,12 +61,13 @@
61
61
  against its hosting surface in both themes. */
62
62
  .app-top-bar[data-title-align="start"] {
63
63
  position: relative;
64
- grid-template-columns: auto auto var(--sigvelo-layout-track-fill);
64
+ grid-template-columns: auto var(--sigvelo-layout-track-fill) auto;
65
65
  border-block-end: var(--sigvelo-border-style) var(--sigvelo-border-width)
66
66
  var(--sigvelo-color-neutral-border-subtle);
67
67
  }
68
68
 
69
69
  .app-top-bar[data-title-align="start"] .app-top-bar__title {
70
+ max-inline-size: 100%;
70
71
  justify-self: start;
71
72
  }
72
73
 
@@ -45,6 +45,7 @@
45
45
  .chain-of-thought__step-indicator,
46
46
  .codex-model-selector__trigger,
47
47
  .empty-state__icon,
48
+ .execution-board__step[data-branches] > .execution-board__state-icon,
48
49
  .inline-citation__trigger,
49
50
  .media-preview-card__play,
50
51
  .manager-office__unread-dot,
@@ -9,7 +9,7 @@
9
9
  flex-direction: column;
10
10
  align-items: center;
11
11
  gap: var(--sigvelo-spacing-4);
12
- padding: var(--sigvelo-spacing-6);
12
+ padding: var(--sigvelo-layout-gutter);
13
13
  background: var(--sigvelo-color-canvas);
14
14
  color: var(--sigvelo-color-text);
15
15
  font-family: inherit;
@@ -61,7 +61,7 @@
61
61
  .chatgpt-sign-in__panel {
62
62
  inline-size: min(100%, 20rem);
63
63
  display: grid;
64
- gap: var(--sigvelo-spacing-6);
64
+ gap: var(--sigvelo-layout-stack);
65
65
  justify-items: stretch;
66
66
  text-align: center;
67
67
  }
@@ -78,15 +78,15 @@
78
78
  }
79
79
 
80
80
  .chatgpt-sign-in__brand-mark :where(img, svg) {
81
- inline-size: var(--sigvelo-spacing-16);
82
- block-size: var(--sigvelo-spacing-16);
81
+ inline-size: var(--sigvelo-spacing-10);
82
+ block-size: var(--sigvelo-spacing-10);
83
83
  object-fit: contain;
84
84
  }
85
85
 
86
86
  .chatgpt-sign-in__brand h1 {
87
87
  margin: 0;
88
88
  color: var(--sigvelo-color-primary-text);
89
- font-size: var(--sigvelo-text-2xl);
89
+ font-size: var(--sigvelo-text-sm);
90
90
  font-weight: var(--sigvelo-font-weight-semibold);
91
91
  letter-spacing: var(--sigvelo-tracking-tight);
92
92
  line-height: var(--sigvelo-leading-tight);
@@ -100,10 +100,6 @@
100
100
 
101
101
  .chatgpt-sign-in__button {
102
102
  inline-size: 100%;
103
- min-block-size: var(--sigvelo-spacing-12);
104
- padding-inline: var(--sigvelo-spacing-4);
105
- border-radius: var(--sigvelo-radius-xl);
106
- font-size: var(--sigvelo-text-sm);
107
103
  }
108
104
 
109
105
  .chatgpt-sign-in__button-icon {
@@ -112,8 +108,8 @@
112
108
 
113
109
  .chatgpt-sign-in__button svg,
114
110
  .chatgpt-sign-in__logo {
115
- inline-size: var(--sigvelo-text-lg);
116
- block-size: var(--sigvelo-text-lg);
111
+ inline-size: var(--sigvelo-density-compact-control-icon-size);
112
+ block-size: var(--sigvelo-density-compact-control-icon-size);
117
113
  color: inherit;
118
114
  }
119
115
 
@@ -134,9 +130,7 @@
134
130
  }
135
131
 
136
132
  .chatgpt-sign-in__secondary-action .button {
137
- min-block-size: var(--sigvelo-spacing-11);
138
133
  white-space: normal;
139
- font-size: var(--sigvelo-text-compact);
140
134
  color: var(--sigvelo-color-primary-text);
141
135
  }
142
136
 
@@ -159,7 +153,7 @@
159
153
  align-content: center;
160
154
  justify-items: center;
161
155
  gap: var(--sigvelo-spacing-4);
162
- padding-block: var(--sigvelo-spacing-6);
156
+ padding-block: var(--sigvelo-layout-stack);
163
157
  }
164
158
 
165
159
  .chatgpt-sign-in__footer {
@@ -125,6 +125,14 @@
125
125
  flex-direction: column;
126
126
  }
127
127
 
128
+ .context__description {
129
+ margin: 0;
130
+ padding-block: var(--sigvelo-layout-cluster);
131
+ padding-inline: var(--sigvelo-layout-gutter);
132
+ font-size: var(--sigvelo-text-xs);
133
+ color: var(--sigvelo-color-text-muted);
134
+ }
135
+
128
136
  .context__footer-row {
129
137
  display: flex;
130
138
  justify-content: space-between;
@@ -27,28 +27,31 @@
27
27
  column-gap: var(--sigvelo-spacing-3);
28
28
  }
29
29
 
30
- .description-list[data-align="start"] .description-list__item {
30
+ .description-list[data-align="start"] > .description-list__item {
31
31
  display: grid;
32
32
  grid-column: 1 / -1;
33
33
  grid-template-columns: subgrid;
34
34
  align-items: first baseline;
35
35
  }
36
36
 
37
- .description-list[data-align="start"] .description-list__item:has(:is(input, textarea)) {
37
+ .description-list[data-align="start"] > .description-list__item:has(:is(input, textarea)) {
38
38
  align-items: center;
39
39
  }
40
40
 
41
- .description-list[data-align="start"] .description-list__term {
41
+ .description-list[data-align="start"] > .description-list__item > .description-list__term {
42
42
  min-inline-size: 9ch;
43
43
  overflow-wrap: anywhere;
44
44
  }
45
45
 
46
- .description-list[data-align="start"] .description-list__term :is(label, .field__label) {
46
+ .description-list[data-align="start"]
47
+ > .description-list__item
48
+ > .description-list__term
49
+ :is(label, .field__label) {
47
50
  font: inherit;
48
51
  color: inherit;
49
52
  }
50
53
 
51
- .description-list[data-align="start"] .description-list__details {
54
+ .description-list[data-align="start"] > .description-list__item > .description-list__details {
52
55
  flex: 1;
53
56
  min-inline-size: 0;
54
57
  text-align: start;
@@ -62,22 +65,22 @@
62
65
  var(--sigvelo-color-neutral-border-subtle);
63
66
  }
64
67
 
65
- .description-list[data-variant="divided"] .description-list__item {
68
+ .description-list[data-variant="divided"] > .description-list__item {
66
69
  padding-block: var(--sigvelo-spacing-2-5);
67
70
  }
68
71
 
69
- .description-list[data-variant="divided"] .description-list__item:not(:last-child) {
72
+ .description-list[data-variant="divided"] > .description-list__item:not(:last-child) {
70
73
  border-block-end: var(--sigvelo-border-style) var(--sigvelo-border-width)
71
74
  var(--sigvelo-color-neutral-border-subtle);
72
75
  }
73
76
 
74
- .description-list[data-variant="divided"] .description-list__term {
77
+ .description-list[data-variant="divided"] > .description-list__item > .description-list__term {
75
78
  display: flex;
76
79
  align-items: center;
77
80
  gap: var(--sigvelo-spacing-2);
78
81
  }
79
82
 
80
- .description-list[data-variant="divided"] .description-list__term svg {
83
+ .description-list[data-variant="divided"] > .description-list__item > .description-list__term svg {
81
84
  inline-size: var(--sigvelo-control-icon-size-md);
82
85
  block-size: var(--sigvelo-control-icon-size-md);
83
86
  flex: 0 0 auto;