@mcp-b/react-components 0.57.1 → 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 (179) hide show
  1. package/dist/Card-BPkXIkBz.d.ts +46 -0
  2. package/dist/{CodeBlock-Bl-q7wMc.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-CfOhUyp3.js → FileTree-DyLBn7O_.js} +1 -1
  8. package/dist/{ManagerOffice-CMJ7laGe.js → ManagerOffice-DHcLRhFu.js} +6 -21
  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-BiWQkKEq.js → SetupChecklist-CKQ-mKYt.js} +2 -2
  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-CCe_o79q.js → WorkspaceFileView-M2jC2P4p.js} +217 -139
  18. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  19. package/dist/components/agents-sdk/AgentChat.js +11 -11
  20. package/dist/components/agents-sdk/AgentEvent.js +2 -2
  21. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  22. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  23. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  24. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  25. package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
  26. package/dist/components/agents-sdk/EmployeeApp.js +4 -8
  27. package/dist/components/agents-sdk/EmployeeChat.js +5 -5
  28. package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
  29. package/dist/components/agents-sdk/EmployeeChrome.js +81 -66
  30. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +6 -3
  31. package/dist/components/agents-sdk/EmployeeSchedules.js +14 -12
  32. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +2 -2
  33. package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
  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 +3 -3
  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 +2 -2
  43. package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
  44. package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
  45. package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
  46. package/dist/components/agents-sdk/McpPluginCatalog.js +18 -9
  47. package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
  48. package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
  49. package/dist/components/agents-sdk/McpServerPicker.js +2 -2
  50. package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
  51. package/dist/components/agents-sdk/ModelSelector.js +4 -4
  52. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  53. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  54. package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
  55. package/dist/components/agents-sdk/SubagentRunPanel.js +2 -2
  56. package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
  57. package/dist/components/agents-sdk/ThinkChatActivity.js +3 -3
  58. package/dist/components/agents-sdk/ThinkChatToolPanels.js +238 -209
  59. package/dist/components/agents-sdk/ThinkExecutionDetail.js +14 -35
  60. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  61. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -3
  62. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
  63. package/dist/components/agents-sdk/ThinkRoutine.d.ts +2 -2
  64. package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +2 -2
  65. package/dist/components/agents-sdk/ThinkRoutineActions.js +26 -16
  66. package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +1 -1
  67. package/dist/components/agents-sdk/ThinkRoutineBrowser.js +2 -2
  68. package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +5 -2
  69. package/dist/components/agents-sdk/ThinkRoutineDetail.js +14 -8
  70. package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +23 -6
  71. package/dist/components/agents-sdk/ThinkRoutineForm.js +522 -215
  72. package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
  73. package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
  74. package/dist/components/agents-sdk/TypeSafeConnectionDialog.d.ts +10 -0
  75. package/dist/components/agents-sdk/TypeSafeConnectionDialog.js +34 -0
  76. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  77. package/dist/components/agents-sdk/Workspace.d.ts +1 -1
  78. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
  79. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  80. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +2 -37
  81. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +2 -2
  82. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +7 -6
  83. package/dist/components/agents-sdk/WorkspaceExecution.d.ts +2 -92
  84. package/dist/components/agents-sdk/WorkspaceExecution.js +651 -134
  85. package/dist/components/agents-sdk/WorkspaceExecutionTable.d.ts +2 -0
  86. package/dist/components/agents-sdk/WorkspaceExecutionTable.js +824 -0
  87. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +3 -1
  88. package/dist/components/agents-sdk/WorkspaceExplorer.js +5 -4
  89. package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
  90. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +4 -2
  91. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  92. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  93. package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -2
  94. package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
  95. package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
  96. package/dist/components/agents-sdk/WorkspaceProject.js +6 -5
  97. package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +1 -1
  98. package/dist/components/agents-sdk/WorkspaceUserScript.js +5 -4
  99. package/dist/components/ai-sdk/Activity.js +1 -1
  100. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  101. package/dist/components/ai-sdk/Approval.js +2 -2
  102. package/dist/components/ai-sdk/Artifact.js +1 -1
  103. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  104. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  105. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  106. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  107. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  108. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  109. package/dist/components/ai-sdk/ConnectedAppCards.d.ts +1 -1
  110. package/dist/components/ai-sdk/ConnectedAppCards.js +3 -3
  111. package/dist/components/ai-sdk/Context.js +1 -1
  112. package/dist/components/ai-sdk/Conversation.js +1 -1
  113. package/dist/components/ai-sdk/Goal.js +1 -1
  114. package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
  115. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  116. package/dist/components/ai-sdk/Message.js +2 -2
  117. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  118. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  119. package/dist/components/ai-sdk/Plan.js +1 -1
  120. package/dist/components/ai-sdk/PromptInput.js +6 -6
  121. package/dist/components/ai-sdk/Queue.js +1 -1
  122. package/dist/components/ai-sdk/Reasoning.js +1 -1
  123. package/dist/components/ai-sdk/Sources.js +1 -1
  124. package/dist/components/ai-sdk/Task.js +1 -1
  125. package/dist/components/extension/ChatGptSignInScreen.js +2 -2
  126. package/dist/components/extension/CodexModelSelector.js +2 -2
  127. package/dist/components/extension/ConversationTabPicker.js +2 -2
  128. package/dist/components/foundations/Card.d.ts +2 -45
  129. package/dist/components/foundations/Checkbox.js +1 -1
  130. package/dist/components/foundations/Collapsible.js +1 -1
  131. package/dist/components/foundations/ContextMenu.js +1 -1
  132. package/dist/components/foundations/Menubar.js +1 -1
  133. package/dist/components/foundations/SearchField.js +1 -1
  134. package/dist/components/foundations/Select.js +1 -1
  135. package/dist/components/foundations/Stepper.js +1 -1
  136. package/dist/components/foundations/Toast.js +1 -1
  137. package/dist/components/foundations/ToggleGroup.d.ts +1 -1
  138. package/dist/components/foundations/ToggleGroup.js +1 -1
  139. package/dist/components/foundations/icons.d.ts +2 -2
  140. package/dist/components/foundations/icons.js +2 -2
  141. package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
  142. package/dist/components/general-purpose/Commit.js +2 -2
  143. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  144. package/dist/components/general-purpose/FileTree.js +1 -1
  145. package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
  146. package/dist/components/general-purpose/PricingPlanCard.js +2 -2
  147. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  148. package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
  149. package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
  150. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  151. package/dist/components/general-purpose/Terminal.js +2 -2
  152. package/dist/components/general-purpose/TestResults.js +1 -1
  153. package/dist/components/general-purpose/ThemeModeControl.js +2 -2
  154. package/dist/components/general-purpose/WebPreview.js +2 -2
  155. package/dist/components/nanites/AgentConnection.js +2 -2
  156. package/dist/components/nanites/AgentToolDetail.js +5 -5
  157. package/dist/{copy-button-CSDuDfdP.js → copy-button-M4sAp9xS.js} +1 -1
  158. package/dist/execution-result-DWVmm-bL.js +80 -0
  159. package/dist/{icons-CUuD7iEh.d.ts → icons-Dj6id76o.d.ts} +2 -1
  160. package/dist/{icons-cuEtsgj9.js → icons-DvlrWt54.js} +4 -3
  161. package/dist/{mcp-server-catalog-DgA9BnL0.d.ts → mcp-server-catalog-kaMWaSAL.d.ts} +3 -1
  162. package/dist/styles/app-top-bar.css +2 -1
  163. package/dist/styles/base.css +1 -0
  164. package/dist/styles/chatgpt-sign-in-screen.css +8 -14
  165. package/dist/styles/description-list.css +12 -9
  166. package/dist/styles/execution-board.css +383 -0
  167. package/dist/styles/index.css +3 -0
  168. package/dist/styles/mcp-plugin-catalog.css +8 -7
  169. package/dist/styles/think-chat-tool-panels.css +1 -2
  170. package/dist/styles/think-execution-workbench.css +1 -12
  171. package/dist/styles/think-routine.css +39 -41
  172. package/dist/styles/workspace-concepts.css +441 -17
  173. package/dist/styles/workspace-explorer.css +18 -4
  174. package/dist/utils/mcp-server-catalog.d.ts +2 -2
  175. package/dist/utils/mcp-server-catalog.js +18 -1
  176. package/dist/utils/structured-code.d.ts +1 -1
  177. package/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-DVn0d-fN.js} +24 -81
  178. package/dist/workspace-delete-DfloiBWp.js +80 -0
  179. package/package.json +3 -2
@@ -0,0 +1,648 @@
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { D as LinkIcon, H as RefreshIcon, K as SpinnerIcon, L as PauseIcon, N as MinusIcon, S as FileIcon, T as InfoIcon, V as QueueIcon, c as BoxIcon, d as CheckIcon, nt as WrenchIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SplitIcon, rt as XIcon, tt as WarningIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-DvlrWt54.js";
3
+ import { Button } from "../foundations/Button.js";
4
+ import { Menu } from "../foundations/Menu.js";
5
+ import { IconButton } from "../foundations/IconButton.js";
6
+ import { DescriptionList } from "../foundations/DescriptionList.js";
7
+ import { i as executionResultSummary, t as executionErrorSummary } from "../../execution-result-DWVmm-bL.js";
8
+ import { a as httpUrl, n as Hint, t as FaviconMark } from "../../workspace-assets-DVn0d-fN.js";
9
+ import { t as ExecutionResult } from "../../ExecutionResult-BSZsUbrL.js";
10
+ import * as React from "react";
11
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
+ import { Handle, MarkerType, Panel, Position, ReactFlow, ReactFlowProvider, useNodesInitialized, useReactFlow } from "@xyflow/react";
13
+ //#region src/components/agents-sdk/ExecutionBoard.tsx
14
+ const kindIcons = {
15
+ step: BoxIcon,
16
+ call: WrenchIcon,
17
+ fetch: LinkIcon,
18
+ branch: SplitIcon,
19
+ loop: RefreshIcon,
20
+ parallel: SplitIcon
21
+ };
22
+ function durationLabel(durationMs) {
23
+ return durationMs < 1e3 ? `${Math.round(durationMs)} ms` : `${(durationMs / 1e3).toLocaleString(void 0, { maximumFractionDigits: 1 })} s`;
24
+ }
25
+ function stateIcon(state) {
26
+ if (state === "Running") return SpinnerIcon;
27
+ if (state === "Failed") return WarningIcon;
28
+ if (state === "Completed") return CheckIcon;
29
+ if (state === "Not observed") return EyeOffIcon;
30
+ if (state === "Not reached") return MinusIcon;
31
+ if (state === "Unfinished" || state === "Stopped" || state === "Interrupted") return PauseIcon;
32
+ return PlayIcon;
33
+ }
34
+ function Step({ data, selected, positionAbsoluteX, positionAbsoluteY }) {
35
+ const { getViewport, setViewport } = useReactFlow();
36
+ const Glyph = kindIcons[data.kind];
37
+ const Status = data.state === "Ready" ? ChevronRightIcon : stateIcon(data.state);
38
+ return /* @__PURE__ */ jsxs("div", {
39
+ className: "execution-board__step",
40
+ "data-kind": data.kind,
41
+ "data-compact": data.compact || void 0,
42
+ "data-branches": data.branches || void 0,
43
+ "data-state": data.state,
44
+ "data-selected": selected || void 0,
45
+ onFocus: (event) => {
46
+ const card = event.currentTarget;
47
+ const canvas = card.closest(".react-flow");
48
+ if (!canvas) return;
49
+ const viewport = getViewport();
50
+ const left = viewport.x + positionAbsoluteX * viewport.zoom;
51
+ const top = viewport.y + positionAbsoluteY * viewport.zoom;
52
+ const right = left + card.offsetWidth * viewport.zoom;
53
+ const bottom = top + card.offsetHeight * viewport.zoom;
54
+ const dx = left < 0 ? 16 - left : right > canvas.clientWidth ? canvas.clientWidth - right - 16 : 0;
55
+ const dy = top < 0 ? 16 - top : bottom > canvas.clientHeight ? canvas.clientHeight - bottom - 16 : 0;
56
+ if (dx || dy) setViewport({
57
+ ...viewport,
58
+ x: viewport.x + dx,
59
+ y: viewport.y + dy
60
+ });
61
+ },
62
+ children: [
63
+ /* @__PURE__ */ jsx(Handle, {
64
+ type: "target",
65
+ position: Position.Top
66
+ }),
67
+ data.bypassInput ? /* @__PURE__ */ jsx(Handle, {
68
+ type: "target",
69
+ position: Position.Right,
70
+ id: "bypass"
71
+ }) : null,
72
+ /* @__PURE__ */ jsxs("button", {
73
+ type: "button",
74
+ className: "execution-board__step-select",
75
+ "aria-label": `${data.label}: ${data.state}`,
76
+ children: [
77
+ /* @__PURE__ */ jsx("span", {
78
+ className: "execution-board__kind-icon",
79
+ children: data.links[0] ? /* @__PURE__ */ jsx(FaviconMark, {
80
+ href: data.links[0].href,
81
+ fallback: /* @__PURE__ */ jsx(Glyph, {})
82
+ }) : /* @__PURE__ */ jsx(Glyph, { "aria-hidden": "true" })
83
+ }),
84
+ /* @__PURE__ */ jsx("span", {
85
+ className: "execution-board__step-text",
86
+ children: /* @__PURE__ */ jsx("strong", { children: data.label })
87
+ }),
88
+ /* @__PURE__ */ jsx("span", {
89
+ className: "execution-board__step-state",
90
+ children: /* @__PURE__ */ jsx(Status, {
91
+ className: "execution-board__state-icon",
92
+ "aria-hidden": "true"
93
+ })
94
+ })
95
+ ]
96
+ }),
97
+ data.links.length ? /* @__PURE__ */ jsx("div", {
98
+ className: "execution-board__apps",
99
+ children: data.links.map((link, index) => /* @__PURE__ */ jsx(Hint, {
100
+ content: link.href,
101
+ children: /* @__PURE__ */ jsxs("a", {
102
+ className: "execution-board__app nodrag nopan",
103
+ href: link.href,
104
+ target: "_blank",
105
+ rel: "noopener noreferrer",
106
+ "aria-label": `Open ${link.label}: ${link.domain}`,
107
+ onClick: (event) => event.stopPropagation(),
108
+ children: [
109
+ index > 0 ? /* @__PURE__ */ jsx(FaviconMark, {
110
+ href: link.href,
111
+ fallback: /* @__PURE__ */ jsx(LinkIcon, {})
112
+ }) : null,
113
+ /* @__PURE__ */ jsxs("span", { children: [link.label, /* @__PURE__ */ jsx(ArrowUpRightIcon, { "aria-hidden": "true" })] }),
114
+ /* @__PURE__ */ jsx("small", { children: link.domain })
115
+ ]
116
+ })
117
+ }, link.href))
118
+ }) : null,
119
+ data.branches ? ["yes", "no"].map((branch) => /* @__PURE__ */ jsx(Handle, {
120
+ type: "source",
121
+ position: Position.Bottom,
122
+ id: branch
123
+ }, branch)) : null,
124
+ !data.branches || data.defaultOutput ? /* @__PURE__ */ jsx(Handle, {
125
+ type: "source",
126
+ position: Position.Bottom
127
+ }) : null,
128
+ data.bypassOutput ? /* @__PURE__ */ jsx(Handle, {
129
+ type: "source",
130
+ position: Position.Right,
131
+ id: "bypass"
132
+ }) : null
133
+ ]
134
+ });
135
+ }
136
+ const nodeTypes = { step: Step };
137
+ const fitOptions = {
138
+ padding: .2,
139
+ minZoom: .01,
140
+ maxZoom: 1
141
+ };
142
+ /** Keep one step readable; fitting a long workflow is an explicit canvas action. */
143
+ function ReadableViewport({ layoutKey, canvasRef, canvasWidth, layoutWidth }) {
144
+ const { setViewport } = useReactFlow();
145
+ const initialized = useNodesInitialized();
146
+ React.useEffect(() => {
147
+ const canvas = canvasRef.current;
148
+ if (!canvas || !initialized) return;
149
+ const frame = requestAnimationFrame(() => {
150
+ if (canvas.offsetWidth <= 0 || canvas.offsetHeight <= 0) return;
151
+ const zoom = Math.min(1, Math.max(.9, (canvasWidth - 32) / layoutWidth));
152
+ setViewport({
153
+ x: canvasWidth * (1 - zoom) / 2,
154
+ y: 16,
155
+ zoom
156
+ });
157
+ });
158
+ return () => cancelAnimationFrame(frame);
159
+ }, [
160
+ canvasRef,
161
+ canvasWidth,
162
+ initialized,
163
+ layoutKey,
164
+ layoutWidth,
165
+ setViewport
166
+ ]);
167
+ return null;
168
+ }
169
+ function BoardViewMenu() {
170
+ const { fitView, zoomIn, zoomOut } = useReactFlow();
171
+ return /* @__PURE__ */ jsx(Panel, {
172
+ position: "bottom-right",
173
+ children: /* @__PURE__ */ jsxs(Menu.Root, { children: [/* @__PURE__ */ jsx(IconButton, {
174
+ label: "Board view",
175
+ render: /* @__PURE__ */ jsx(Menu.Trigger, { unstyled: true }),
176
+ variant: "ghost",
177
+ color: "neutral",
178
+ children: /* @__PURE__ */ jsx(EllipsisIcon, {})
179
+ }), /* @__PURE__ */ jsx(Menu.Portal, { children: /* @__PURE__ */ jsx(Menu.Positioner, {
180
+ align: "end",
181
+ side: "top",
182
+ children: /* @__PURE__ */ jsxs(Menu.Popup, { children: [
183
+ /* @__PURE__ */ jsx(Menu.Item, {
184
+ onClick: () => void fitView(fitOptions),
185
+ children: "Fit view"
186
+ }),
187
+ /* @__PURE__ */ jsx(Menu.Item, {
188
+ onClick: () => void zoomIn(),
189
+ children: "Zoom in"
190
+ }),
191
+ /* @__PURE__ */ jsx(Menu.Item, {
192
+ onClick: () => void zoomOut(),
193
+ children: "Zoom out"
194
+ })
195
+ ] })
196
+ }) })] })
197
+ });
198
+ }
199
+ function stepState(node, trace) {
200
+ if (!node.observed) return "Not observed";
201
+ const stats = trace?.steps[node.stepId];
202
+ if (stats?.active && trace?.status === "running") return "Running";
203
+ if (stats?.failed) return "Failed";
204
+ if (stats?.active) return "Unfinished";
205
+ if (stats?.completed) return "Completed";
206
+ return trace && trace.status !== "running" ? "Not reached" : "Ready";
207
+ }
208
+ function boardLayout(graph, canvasWidth, measurements) {
209
+ const columns = [...new Set(graph.nodes.map((node) => node.position.x))].sort((a, b) => a - b);
210
+ const byId = new Map(graph.nodes.map((node) => [node.id, node]));
211
+ const incomingCounts = /* @__PURE__ */ new Map();
212
+ for (const edge of graph.edges) incomingCounts.set(edge.target, (incomingCounts.get(edge.target) ?? 0) + 1);
213
+ const bypassEdges = new Set(graph.edges.filter((edge) => {
214
+ const from = byId.get(edge.source);
215
+ const to = byId.get(edge.target);
216
+ return from && to && from.position.y === to.position.y && graph.nodes.some((node) => node.position.x > from.position.x && node.position.x < to.position.x && node.position.y === from.position.y);
217
+ }).map((edge) => edge.id));
218
+ const positions = /* @__PURE__ */ new Map();
219
+ let top = 0;
220
+ let layoutWidth = 0;
221
+ for (const column of columns) {
222
+ const row = graph.nodes.filter((node) => node.position.x === column);
223
+ const crossingLanes = graph.edges.flatMap((edge) => {
224
+ const from = byId.get(edge.source);
225
+ const to = byId.get(edge.target);
226
+ if (!from || !to || from.position.x >= column || to.position.x <= column) return [];
227
+ return [(incomingCounts.get(to.id) ?? 0) > 1 ? from.position.y : to.position.y];
228
+ });
229
+ const lanes = [.../* @__PURE__ */ new Set([...row.map((node) => node.position.y), ...crossingLanes])].sort((a, b) => a - b);
230
+ const width = Math.min(440, Math.max(128, (canvasWidth - 48 - (lanes.length - 1) * 16) / lanes.length));
231
+ const rowWidth = lanes.length * width + (lanes.length - 1) * 16;
232
+ layoutWidth = Math.max(layoutWidth, rowWidth);
233
+ for (const node of row) positions.set(node.id, {
234
+ x: (canvasWidth - rowWidth) / 2 + lanes.indexOf(node.position.y) * (width + 16),
235
+ y: top,
236
+ width
237
+ });
238
+ top += Math.max(88, ...row.map((node) => measurements[node.id]?.height ?? 88)) + 64;
239
+ }
240
+ return {
241
+ positions,
242
+ layoutWidth,
243
+ bypassEdges
244
+ };
245
+ }
246
+ function FlowCanvas({ graph, trace, selectedId, onSelect, onDeselect, onClear }) {
247
+ const canvasRef = React.useRef(null);
248
+ const [canvasWidth, setCanvasWidth] = React.useState(360);
249
+ React.useEffect(() => {
250
+ const canvas = canvasRef.current;
251
+ if (!canvas) return;
252
+ let frame = 0;
253
+ const observer = new ResizeObserver(() => {
254
+ cancelAnimationFrame(frame);
255
+ frame = requestAnimationFrame(() => setCanvasWidth(canvas.clientWidth));
256
+ });
257
+ observer.observe(canvas);
258
+ return () => {
259
+ observer.disconnect();
260
+ cancelAnimationFrame(frame);
261
+ };
262
+ }, []);
263
+ const [measurements, setMeasurements] = React.useState({});
264
+ const pendingMeasurements = React.useRef({});
265
+ const measurementFrame = React.useRef(0);
266
+ React.useEffect(() => () => cancelAnimationFrame(measurementFrame.current), []);
267
+ const layoutKey = JSON.stringify(graph.nodes.map((node) => [
268
+ node.id,
269
+ node.label,
270
+ node.kind,
271
+ node.position.x,
272
+ node.position.y
273
+ ]));
274
+ const { positions, layoutWidth, bypassEdges } = boardLayout(graph, canvasWidth, measurements);
275
+ const nodes = graph.nodes.map((node) => {
276
+ const state = stepState(node, trace);
277
+ return {
278
+ id: node.id,
279
+ position: positions.get(node.id),
280
+ style: { width: positions.get(node.id).width },
281
+ measured: measurements[node.id],
282
+ type: "step",
283
+ selected: selectedId === node.id,
284
+ data: {
285
+ label: node.label,
286
+ kind: node.kind,
287
+ state,
288
+ links: (node.links ?? []).flatMap((link) => {
289
+ const href = httpUrl(link.href);
290
+ if (!href) return [];
291
+ const url = new URL(href);
292
+ return url.username || url.password ? [] : [{
293
+ ...link,
294
+ href,
295
+ domain: url.hostname
296
+ }];
297
+ }),
298
+ compact: positions.get(node.id).width < 240,
299
+ branches: graph.edges.some((edge) => edge.source === node.id && /^(yes|no)$/i.test(edge.label ?? "")),
300
+ defaultOutput: graph.edges.some((edge) => edge.source === node.id && !/^(yes|no)$/i.test(edge.label ?? "")),
301
+ bypassInput: graph.edges.some((edge) => edge.target === node.id && bypassEdges.has(edge.id)),
302
+ bypassOutput: graph.edges.some((edge) => edge.source === node.id && bypassEdges.has(edge.id))
303
+ },
304
+ ariaLabel: `${node.label}: ${state}`,
305
+ ariaRole: "group"
306
+ };
307
+ });
308
+ const edges = graph.edges.map((edge) => {
309
+ const branch = edge.label?.toLowerCase();
310
+ const source = graph.nodes.find((node) => node.id === edge.source);
311
+ const sourceStats = source ? trace?.steps[source.stepId] : void 0;
312
+ const count = branch === "yes" ? sourceStats?.yes : branch === "no" ? sourceStats?.no : void 0;
313
+ return {
314
+ ...edge,
315
+ sourceHandle: bypassEdges.has(edge.id) ? "bypass" : branch === "yes" || branch === "no" ? branch : void 0,
316
+ targetHandle: bypassEdges.has(edge.id) ? "bypass" : void 0,
317
+ label: edge.label,
318
+ ariaLabel: count === void 0 ? edge.label : `${edge.label}: taken ${count.toLocaleString()} times`,
319
+ className: count === 0 ? "execution-board__edge--empty" : count ? "execution-board__edge--taken" : void 0,
320
+ type: "smoothstep",
321
+ pathOptions: { offset: bypassEdges.has(edge.id) ? 8 : 20 },
322
+ markerEnd: {
323
+ type: MarkerType.ArrowClosed,
324
+ width: 12,
325
+ height: 12
326
+ }
327
+ };
328
+ });
329
+ return /* @__PURE__ */ jsx(ReactFlowProvider, { children: /* @__PURE__ */ jsxs(ReactFlow, {
330
+ ref: canvasRef,
331
+ nodes,
332
+ edges,
333
+ nodeTypes,
334
+ minZoom: .01,
335
+ maxZoom: 1.5,
336
+ panOnScroll: true,
337
+ zoomOnScroll: false,
338
+ zoomOnDoubleClick: false,
339
+ nodesFocusable: false,
340
+ nodesConnectable: false,
341
+ nodesDraggable: false,
342
+ deleteKeyCode: null,
343
+ ariaLabelConfig: {
344
+ "node.a11yDescription.default": "Press Enter or Space to inspect a step. Press Escape to clear selection.",
345
+ "edge.a11yDescription.default": "A possible path between job steps."
346
+ },
347
+ edgesFocusable: false,
348
+ onNodesChange: (changes) => {
349
+ for (const change of changes) {
350
+ if (change.type === "dimensions" && change.dimensions) {
351
+ const previous = measurements[change.id];
352
+ if (previous?.width !== change.dimensions.width || previous.height !== change.dimensions.height) pendingMeasurements.current[change.id] = change.dimensions;
353
+ }
354
+ if (change.type !== "select") continue;
355
+ if (change.selected) onSelect(change.id);
356
+ else if (change.id === selectedId) onDeselect();
357
+ }
358
+ if (Object.keys(pendingMeasurements.current).length && !measurementFrame.current) measurementFrame.current = requestAnimationFrame(() => {
359
+ measurementFrame.current = 0;
360
+ const updated = pendingMeasurements.current;
361
+ pendingMeasurements.current = {};
362
+ setMeasurements((current) => ({
363
+ ...current,
364
+ ...updated
365
+ }));
366
+ });
367
+ },
368
+ onNodeClick: (_event, node) => onSelect(node.id),
369
+ onPaneClick: onClear,
370
+ children: [/* @__PURE__ */ jsx(ReadableViewport, {
371
+ layoutKey,
372
+ canvasRef,
373
+ canvasWidth,
374
+ layoutWidth
375
+ }), /* @__PURE__ */ jsx(BoardViewMenu, {})]
376
+ }) });
377
+ }
378
+ function StepInspector({ selected, trace }) {
379
+ const stats = trace?.steps[selected.stepId];
380
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
381
+ /* @__PURE__ */ jsx("p", {
382
+ className: "execution-board__inspector-status",
383
+ children: stepState(selected, trace)
384
+ }),
385
+ (selected.kind === "step" || selected.kind === "branch") && selected.detail ? /* @__PURE__ */ jsx("p", { children: selected.detail }) : null,
386
+ stats ? /* @__PURE__ */ jsxs(DescriptionList.Root, {
387
+ variant: "divided",
388
+ "aria-label": "Step activity",
389
+ children: [
390
+ /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: "Completed" }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: stats.completed.toLocaleString() })] }),
391
+ stats.active ? /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: trace?.status === "running" ? "Running" : "Unfinished" }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: stats.active.toLocaleString() })] }) : null,
392
+ stats.failed ? /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: "Failed" }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: stats.failed.toLocaleString() })] }) : null,
393
+ /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: "Recorded time" }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: durationLabel(stats.durationMs) })] }),
394
+ selected.kind === "branch" || stats.yes + stats.no > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: "Yes" }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: stats.yes.toLocaleString() })] }), /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: "No" }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: stats.no.toLocaleString() })] })] }) : null
395
+ ]
396
+ }) : null,
397
+ stats?.error ? /* @__PURE__ */ jsx("p", { children: executionErrorSummary(stats.error) }) : null
398
+ ] });
399
+ }
400
+ function StepOutline({ graph, trace, selectedId, outlineId, onSelect }) {
401
+ return /* @__PURE__ */ jsx("ol", {
402
+ id: outlineId,
403
+ className: "execution-board__outline sigvelo-stack-list",
404
+ "aria-label": "All steps",
405
+ children: graph.nodes.map((node) => {
406
+ const state = stepState(node, trace);
407
+ const Glyph = kindIcons[node.kind];
408
+ return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(Button, {
409
+ type: "button",
410
+ size: "sm",
411
+ variant: "ghost",
412
+ color: "neutral",
413
+ "aria-pressed": selectedId === node.id,
414
+ onClick: () => onSelect(node.id),
415
+ children: [
416
+ /* @__PURE__ */ jsx(Glyph, { "aria-hidden": "true" }),
417
+ /* @__PURE__ */ jsx("span", { children: node.label }),
418
+ /* @__PURE__ */ jsx("span", {
419
+ className: "execution-board__list-state",
420
+ children: state
421
+ })
422
+ ]
423
+ }) }, node.id);
424
+ })
425
+ });
426
+ }
427
+ function BoardInspector({ graph, trace, selected, selectedId, showOutline, outlineId, inspectorHeading, onClose, onSelect }) {
428
+ const SelectedIcon = selected ? kindIcons[selected.kind] : showOutline ? QueueIcon : FileIcon;
429
+ return /* @__PURE__ */ jsxs("aside", {
430
+ className: "execution-board__inspector",
431
+ role: "region",
432
+ "aria-label": selected ? "Selected step" : showOutline ? "Step list" : "Results",
433
+ children: [/* @__PURE__ */ jsxs("div", {
434
+ className: "execution-board__inspector-heading",
435
+ children: [
436
+ /* @__PURE__ */ jsx(SelectedIcon, {
437
+ className: "execution-board__state-icon",
438
+ "aria-hidden": "true"
439
+ }),
440
+ /* @__PURE__ */ jsx("h3", {
441
+ ref: inspectorHeading,
442
+ tabIndex: -1,
443
+ children: selected?.label ?? (showOutline ? "Steps" : "Results")
444
+ }),
445
+ /* @__PURE__ */ jsx(IconButton, {
446
+ label: selected ? "Close step details" : showOutline ? "Close step list" : "Close results",
447
+ variant: "ghost",
448
+ color: "neutral",
449
+ onClick: onClose,
450
+ children: /* @__PURE__ */ jsx(XIcon, {})
451
+ })
452
+ ]
453
+ }), /* @__PURE__ */ jsx("div", {
454
+ className: "execution-board__inspector-body",
455
+ children: selected ? /* @__PURE__ */ jsx(StepInspector, {
456
+ selected,
457
+ trace
458
+ }) : showOutline ? /* @__PURE__ */ jsx(StepOutline, {
459
+ graph,
460
+ trace,
461
+ selectedId,
462
+ outlineId,
463
+ onSelect
464
+ }) : /* @__PURE__ */ jsx(ExecutionResult, { result: trace?.result })
465
+ })]
466
+ });
467
+ }
468
+ function BoardNotices({ graph, trace, showResults }) {
469
+ const hasResult = showResults && trace && (trace.result !== void 0 || trace.status === "completed");
470
+ const notice = boardNotice(graph, trace);
471
+ return /* @__PURE__ */ jsxs(Fragment, { children: [hasResult && trace.status === "completed" ? /* @__PURE__ */ jsx("div", {
472
+ className: "execution-board__outcome",
473
+ children: /* @__PURE__ */ jsx("p", { children: executionResultSummary(trace.result) })
474
+ }) : null, notice ? /* @__PURE__ */ jsx("p", {
475
+ className: "execution-board__notice",
476
+ role: notice.alert ? "alert" : void 0,
477
+ children: notice.text
478
+ }) : null] });
479
+ }
480
+ function boardNotice(graph, trace) {
481
+ if (!trace) return void 0;
482
+ if (trace.status === "error") return {
483
+ text: `${graph.nodes.find((node) => trace.steps[node.stepId]?.failed)?.label ?? "This run"} could not finish.${trace.error ? ` ${executionErrorSummary(trace.error)}` : " Ask Rook to review this step."}`,
484
+ alert: true
485
+ };
486
+ if (trace.status !== "aborted" && trace.status !== "interrupted") return void 0;
487
+ const unfinished = graph.nodes.find((node) => trace.steps[node.stepId]?.active);
488
+ if (trace.status === "aborted") return {
489
+ text: unfinished ? `Stopped during ${unfinished.label}.` : "Stopped before the job finished.",
490
+ alert: false
491
+ };
492
+ return {
493
+ text: unfinished ? `Interrupted during ${unfinished.label}.` : "This run was interrupted before the job finished.",
494
+ alert: false
495
+ };
496
+ }
497
+ function BoardToolbar({ graph, trace, hasResult, panel, outlineId, resultsButton, stepsButton, onToggleResults, onToggleSteps }) {
498
+ const activeStep = trace?.status === "running" ? graph.nodes.find((node) => trace.steps[node.stepId]?.active) : void 0;
499
+ const runStatus = trace ? {
500
+ running: "Running",
501
+ completed: "Completed",
502
+ aborted: "Stopped",
503
+ interrupted: "Interrupted",
504
+ error: "Failed"
505
+ }[trace.status] : "Ready to run";
506
+ const RunIcon = stateIcon(runStatus);
507
+ const showOutline = panel === "steps";
508
+ return /* @__PURE__ */ jsxs("div", {
509
+ className: "execution-board__toolbar",
510
+ children: [/* @__PURE__ */ jsxs("div", {
511
+ className: "execution-board__status",
512
+ role: "status",
513
+ "aria-atomic": "true",
514
+ children: [
515
+ /* @__PURE__ */ jsx(RunIcon, {
516
+ className: "execution-board__state-icon",
517
+ "aria-hidden": "true"
518
+ }),
519
+ /* @__PURE__ */ jsx("span", { children: runStatus }),
520
+ trace?.completedAt !== void 0 ? /* @__PURE__ */ jsx("span", {
521
+ className: "execution-board__duration",
522
+ children: durationLabel(trace.completedAt - trace.startedAt)
523
+ }) : null,
524
+ activeStep ? /* @__PURE__ */ jsx("span", {
525
+ className: "execution-board__active-step",
526
+ children: activeStep.label
527
+ }) : null
528
+ ]
529
+ }), /* @__PURE__ */ jsxs("div", {
530
+ className: "execution-board__actions",
531
+ children: [
532
+ hasResult ? /* @__PURE__ */ jsx(IconButton, {
533
+ ref: resultsButton,
534
+ label: panel === "result" ? "Hide results" : "Show results",
535
+ "aria-expanded": panel === "result",
536
+ variant: "ghost",
537
+ color: "neutral",
538
+ onClick: onToggleResults,
539
+ children: /* @__PURE__ */ jsx(FileIcon, {})
540
+ }) : null,
541
+ graph.gaps.length ? /* @__PURE__ */ jsx(IconButton, {
542
+ label: "Some activity may not appear on this board",
543
+ variant: "ghost",
544
+ color: "neutral",
545
+ children: /* @__PURE__ */ jsx(InfoIcon, {})
546
+ }) : null,
547
+ graph.nodes.length ? /* @__PURE__ */ jsx(IconButton, {
548
+ ref: stepsButton,
549
+ label: showOutline ? "Hide step list" : "Show step list",
550
+ "aria-expanded": showOutline,
551
+ "aria-controls": outlineId,
552
+ variant: "ghost",
553
+ color: "neutral",
554
+ onClick: onToggleSteps,
555
+ children: /* @__PURE__ */ jsx(QueueIcon, {})
556
+ }) : null
557
+ ]
558
+ })]
559
+ });
560
+ }
561
+ /** A read-only view of executable source, using the automation prototype's React Flow canvas. */
562
+ function ExecutionBoard({ graph, trace, showResults = true, className, ...props }) {
563
+ const hasNodes = graph.nodes.length > 0;
564
+ const [selectedId, setSelectedId] = React.useState();
565
+ const selected = graph.nodes.find((node) => node.id === selectedId);
566
+ const [panel, setPanel] = React.useState();
567
+ const inspectorHeading = React.useRef(null);
568
+ const stepsButton = React.useRef(null);
569
+ const resultsButton = React.useRef(null);
570
+ React.useEffect(() => {
571
+ inspectorHeading.current?.focus();
572
+ }, [selectedId, panel]);
573
+ const showOutline = panel === "steps";
574
+ const hasResult = showResults && trace && (trace.result !== void 0 || trace.status === "completed");
575
+ const closeInspector = () => {
576
+ (panel === "result" ? resultsButton : stepsButton).current?.focus();
577
+ setSelectedId(void 0);
578
+ setPanel(void 0);
579
+ };
580
+ const selectStep = (id) => {
581
+ setSelectedId(id);
582
+ setPanel(void 0);
583
+ };
584
+ const outlineId = React.useId();
585
+ const inspectorOpen = selected !== void 0 || panel !== void 0;
586
+ return /* @__PURE__ */ jsxs("section", {
587
+ ...props,
588
+ className: cx("execution-board", className),
589
+ "aria-label": props["aria-label"] ?? "Execution board",
590
+ onKeyDown: (event) => {
591
+ props.onKeyDown?.(event);
592
+ if (!event.defaultPrevented && event.key === "Escape") closeInspector();
593
+ },
594
+ children: [/* @__PURE__ */ jsx(BoardToolbar, {
595
+ graph,
596
+ trace,
597
+ hasResult: Boolean(hasResult),
598
+ panel,
599
+ outlineId,
600
+ resultsButton,
601
+ stepsButton,
602
+ onToggleResults: () => {
603
+ setSelectedId(void 0);
604
+ setPanel(panel === "result" ? void 0 : "result");
605
+ },
606
+ onToggleSteps: () => {
607
+ setSelectedId(void 0);
608
+ setPanel(showOutline ? void 0 : "steps");
609
+ }
610
+ }), /* @__PURE__ */ jsxs("div", {
611
+ className: "execution-board__stage",
612
+ "data-inspector": inspectorOpen || void 0,
613
+ children: [/* @__PURE__ */ jsxs("div", {
614
+ className: "execution-board__canvas",
615
+ children: [/* @__PURE__ */ jsx(BoardNotices, {
616
+ graph,
617
+ trace,
618
+ showResults
619
+ }), hasNodes ? /* @__PURE__ */ jsx(FlowCanvas, {
620
+ graph,
621
+ trace,
622
+ selectedId,
623
+ onSelect: selectStep,
624
+ onDeselect: () => setSelectedId(void 0),
625
+ onClear: () => {
626
+ setSelectedId(void 0);
627
+ setPanel(void 0);
628
+ }
629
+ }) : /* @__PURE__ */ jsx("p", {
630
+ className: "execution-board__empty",
631
+ children: "No steps are available to display for this job."
632
+ })]
633
+ }), inspectorOpen ? /* @__PURE__ */ jsx(BoardInspector, {
634
+ graph,
635
+ trace,
636
+ selected,
637
+ selectedId,
638
+ showOutline,
639
+ outlineId,
640
+ inspectorHeading,
641
+ onClose: closeInspector,
642
+ onSelect: selectStep
643
+ }) : null]
644
+ })]
645
+ });
646
+ }
647
+ //#endregion
648
+ export { ExecutionBoard };
@@ -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-DvlrWt54.js";
2
+ import { Menu } from "../foundations/Menu.js";
2
3
  import { IconButton } from "../foundations/IconButton.js";
3
4
  import { a as formatErrorMessage } from "../../format-CWaZEp5o.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,4 +1,4 @@
1
- import { t as ThinkRoutine } from "../../ThinkRoutine-DGlKJbIy.js";
1
+ import { t as ThinkRoutine } from "../../ThinkRoutine-DoZjbzyn.js";
2
2
  import { t as Correspondent } from "../../Correspondent-ANkZHGEa.js";
3
3
  import * as React from "react";
4
4
  import { useRender } from "@base-ui/react/use-render";
@@ -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-DHcLRhFu.js";
2
2
  export { ManagerOffice, ManagerOfficeSidebar, ManagerOfficeSidebarAlert };
@@ -1,4 +1,4 @@
1
- import { f as EmployeeShellProps } from "../../EmployeeChrome-CN99SVfF.js";
1
+ import { f as EmployeeShellProps } from "../../EmployeeChrome-DsdIek0l.js";
2
2
  import { ManagerOfficeConnectedEmployee, ManagerOfficeDestination, ManagerOfficeEmployee } from "./ManagerOffice.js";
3
3
  import * as React from "react";
4
4
  //#region src/components/agents-sdk/ManagerOfficeScreens.d.ts