@mcp-b/react-components 0.47.0 → 0.49.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 (274) hide show
  1. package/dist/AgentChatQueue-C_Jaw3Ia.d.ts +48 -0
  2. package/dist/AgentToolRunsContext-GMe_hSnD.d.ts +35 -0
  3. package/dist/Avatar-o2NO1fCG.d.ts +124 -0
  4. package/dist/{Button-CZt3yywF.d.ts → Button-DjONW5UW.d.ts} +1 -1
  5. package/dist/{CodeBlock-C380GD5t.d.ts → CodeBlock--r6GS8YV.d.ts} +8 -2
  6. package/dist/{CodeBlock-DMHZiw86.js → CodeBlock-g8sADidM.js} +7 -7
  7. package/dist/Correspondent-7K6uNLUm.d.ts +64 -0
  8. package/dist/{FileTree-BHebfvkK.js → FileTree-H8mMg4rV.js} +20 -29
  9. package/dist/{IconButton-BAUFhUk8.d.ts → IconButton-ByiyjkYE.d.ts} +2 -2
  10. package/dist/{Message-D_vCVEGB.d.ts → Message-DyaTBiV7.d.ts} +17 -4
  11. package/dist/MessageScrollerVirtual-D4afYwVB.d.ts +84 -0
  12. package/dist/{PromptInput-DtJHyp0S.d.ts → PromptInput-C4Mofitz.d.ts} +44 -31
  13. package/dist/PromptInputApproval-D2hpn54U.d.ts +44 -0
  14. package/dist/Separator-CzhtLYE1.d.ts +41 -0
  15. package/dist/Toolbar-CGY004u0.d.ts +155 -0
  16. package/dist/{Workspace-C_zHq9KZ.d.ts → Workspace-HzGrWDX3.d.ts} +14 -3
  17. package/dist/{WorkspaceFile-Dq-GC0_T.d.ts → WorkspaceFile-Bouauobc.d.ts} +1 -1
  18. package/dist/{WorkspaceFileView-ChIJz-fl.js → WorkspaceFileView-DYPtRVpM.js} +4 -3
  19. package/dist/{WorkspaceLink-B1d2GIGl.js → WorkspaceLink-BYZG-V_I.js} +8 -91
  20. package/dist/{WorkspaceMessageResponse-Dg_aNpoj.js → WorkspaceMessageResponse-CUJk9_P5.js} +6 -3
  21. package/dist/components/agents-sdk/AgentChat.d.ts +198 -2
  22. package/dist/components/agents-sdk/AgentChat.js +525 -670
  23. package/dist/components/agents-sdk/AgentChatQueue.d.ts +2 -0
  24. package/dist/components/agents-sdk/AgentChatQueue.js +206 -0
  25. package/dist/components/agents-sdk/AgentEvent.js +1 -1
  26. package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +2 -2
  27. package/dist/components/agents-sdk/AgentToolRunsContext.js +1 -36
  28. package/dist/components/agents-sdk/BrowserLiveScreen.js +21 -13
  29. package/dist/components/agents-sdk/BrowserReplay.d.ts +1 -1
  30. package/dist/components/agents-sdk/BrowserRunPanel.d.ts +3 -0
  31. package/dist/components/agents-sdk/BrowserRunPanel.js +31 -30
  32. package/dist/components/agents-sdk/EmployeeChrome.d.ts +212 -0
  33. package/dist/components/agents-sdk/EmployeeChrome.js +555 -0
  34. package/dist/components/agents-sdk/ManagerOffice.d.ts +115 -85
  35. package/dist/components/agents-sdk/ManagerOffice.js +545 -1154
  36. package/dist/components/agents-sdk/McpConnectionRequest.d.ts +4 -4
  37. package/dist/components/agents-sdk/McpConnectionRequest.js +3 -2
  38. package/dist/components/agents-sdk/McpConnectorForm.d.ts +38 -1
  39. package/dist/components/agents-sdk/McpPluginCatalog.d.ts +93 -1
  40. package/dist/components/agents-sdk/McpPluginCatalog.js +3 -2
  41. package/dist/components/agents-sdk/McpServerIcon.d.ts +17 -0
  42. package/dist/components/agents-sdk/McpServerIcon.js +25 -0
  43. package/dist/components/agents-sdk/McpServerPicker.d.ts +4 -3
  44. package/dist/components/agents-sdk/McpServerPicker.js +2 -1
  45. package/dist/components/agents-sdk/ModelSelector.d.ts +4 -4
  46. package/dist/components/agents-sdk/ModelSelector.js +3 -3
  47. package/dist/components/agents-sdk/PromptInputApproval.d.ts +1 -43
  48. package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
  49. package/dist/components/agents-sdk/PromptInputCommands.js +1 -2
  50. package/dist/components/agents-sdk/SessionCompaction.d.ts +88 -1
  51. package/dist/components/agents-sdk/SessionCompaction.js +2 -2
  52. package/dist/components/agents-sdk/SubagentRunDetails.d.ts +30 -1
  53. package/dist/components/agents-sdk/SubagentRunDetails.js +57 -1
  54. package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +9 -9
  55. package/dist/components/agents-sdk/SubagentRunIndicator.js +18 -23
  56. package/dist/components/agents-sdk/SubagentRunList.d.ts +6 -3
  57. package/dist/components/agents-sdk/SubagentRunList.js +4 -2
  58. package/dist/components/agents-sdk/SubagentRunPanel.d.ts +60 -0
  59. package/dist/components/agents-sdk/SubagentRunPanel.js +255 -0
  60. package/dist/components/agents-sdk/SubagentRunSelector.d.ts +8 -4
  61. package/dist/components/agents-sdk/SubagentRunSelector.js +4 -2
  62. package/dist/components/agents-sdk/ThinkChat.d.ts +102 -2
  63. package/dist/components/agents-sdk/ThinkChat.js +233 -2
  64. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +76 -1
  65. package/dist/components/agents-sdk/ThinkChatActivity.js +17 -9
  66. package/dist/components/agents-sdk/ThinkChatContext.d.ts +27 -1
  67. package/dist/components/agents-sdk/ThinkChatContext.js +1 -1
  68. package/dist/components/agents-sdk/ThinkChatToolPanels.js +23 -18
  69. package/dist/components/agents-sdk/ThinkExecutionDetail.js +1 -1
  70. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
  71. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +85 -28
  72. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +158 -101
  73. package/dist/components/agents-sdk/ThinkFullApp.d.ts +40 -158
  74. package/dist/components/agents-sdk/ThinkFullApp.js +71 -285
  75. package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +18 -1
  76. package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +51 -0
  77. package/dist/components/agents-sdk/ThinkRoutineActions.js +201 -0
  78. package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +4 -1
  79. package/dist/components/agents-sdk/ThinkRoutineBrowser.js +16 -14
  80. package/dist/components/agents-sdk/ThinkRoutineDetail.js +12 -12
  81. package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +2 -1
  82. package/dist/components/agents-sdk/ThinkRoutineForm.js +11 -11
  83. package/dist/components/agents-sdk/ThinkRoutineRuns.js +6 -6
  84. package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +90 -1
  85. package/dist/components/agents-sdk/ThinkThreadPicker.js +2 -2
  86. package/dist/components/agents-sdk/Workspace.d.ts +2 -2
  87. package/dist/components/agents-sdk/Workspace.js +20 -23
  88. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
  89. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  90. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +3 -2
  91. package/dist/components/agents-sdk/WorkspaceConcept.js +3 -3
  92. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +15 -10
  93. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +43 -40
  94. package/dist/components/agents-sdk/WorkspaceExecution.d.ts +31 -31
  95. package/dist/components/agents-sdk/WorkspaceExecution.js +115 -192
  96. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +5 -2
  97. package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -2
  98. package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
  99. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
  100. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  101. package/dist/components/agents-sdk/WorkspaceLink.js +1 -1
  102. package/dist/components/agents-sdk/WorkspaceLive.d.ts +60 -1
  103. package/dist/components/agents-sdk/WorkspaceLive.js +33 -5
  104. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +47 -1
  105. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  106. package/dist/components/agents-sdk/WorkspaceMountManager.d.ts +3 -2
  107. package/dist/components/agents-sdk/WorkspaceMountManager.js +5 -8
  108. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +38 -0
  109. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.js +86 -0
  110. package/dist/components/agents-sdk/WorkspaceProject.d.ts +44 -15
  111. package/dist/components/agents-sdk/WorkspaceProject.js +74 -51
  112. package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +1 -1
  113. package/dist/components/agents-sdk/WorkspaceUserScript.js +5 -2
  114. package/dist/components/ai-sdk/Activity.d.ts +1 -1
  115. package/dist/components/ai-sdk/AgentAttention.d.ts +2 -2
  116. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +89 -2
  117. package/dist/components/ai-sdk/AgentChatStartScreen.js +63 -42
  118. package/dist/components/ai-sdk/AgentMessageParts.d.ts +45 -1
  119. package/dist/components/ai-sdk/Approval.d.ts +1 -1
  120. package/dist/components/ai-sdk/Artifact.d.ts +2 -2
  121. package/dist/components/ai-sdk/Artifact.js +2 -2
  122. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  123. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  124. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  125. package/dist/components/ai-sdk/ComposerLink.js +1 -2
  126. package/dist/components/ai-sdk/ConnectedAppCards.d.ts +16 -1
  127. package/dist/components/ai-sdk/ConnectedAppCards.js +69 -94
  128. package/dist/components/ai-sdk/Context.d.ts +7 -3
  129. package/dist/components/ai-sdk/Context.js +7 -17
  130. package/dist/components/ai-sdk/Conversation.d.ts +2 -2
  131. package/dist/components/ai-sdk/Correspondent.d.ts +2 -0
  132. package/dist/components/ai-sdk/Correspondent.js +145 -0
  133. package/dist/components/ai-sdk/Goal.d.ts +3 -3
  134. package/dist/components/ai-sdk/Goal.js +2 -2
  135. package/dist/components/ai-sdk/InlineCitation.d.ts +1 -1
  136. package/dist/components/ai-sdk/InlineCitation.js +1 -1
  137. package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
  138. package/dist/components/ai-sdk/Message.d.ts +2 -2
  139. package/dist/components/ai-sdk/Message.js +11 -2
  140. package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
  141. package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +2 -76
  142. package/dist/components/ai-sdk/MessageScrollerVirtual.js +38 -4
  143. package/dist/components/ai-sdk/Plan.d.ts +1 -1
  144. package/dist/components/ai-sdk/PromptInput.d.ts +2 -2
  145. package/dist/components/ai-sdk/PromptInput.js +170 -226
  146. package/dist/components/ai-sdk/PromptInputComposerEditor.js +32 -9
  147. package/dist/components/ai-sdk/Queue.d.ts +28 -5
  148. package/dist/components/ai-sdk/Queue.js +19 -4
  149. package/dist/components/ai-sdk/Reasoning.d.ts +1 -1
  150. package/dist/components/ai-sdk/Reasoning.js +4 -4
  151. package/dist/components/ai-sdk/Sources.d.ts +1 -1
  152. package/dist/components/ai-sdk/Task.d.ts +1 -1
  153. package/dist/components/extension/ChatGptSignInScreen.d.ts +1 -1
  154. package/dist/components/extension/CodexModelSelector.d.ts +5 -0
  155. package/dist/components/extension/ConversationTabPicker.d.ts +1 -0
  156. package/dist/components/extension/ConversationTabPicker.js +1 -1
  157. package/dist/components/foundations/AlertDialog.d.ts +1 -1
  158. package/dist/components/foundations/AppIcon.d.ts +3 -2
  159. package/dist/components/foundations/Autocomplete.js +6 -1
  160. package/dist/components/foundations/Avatar.d.ts +1 -121
  161. package/dist/components/foundations/Button.d.ts +1 -1
  162. package/dist/components/foundations/Card.d.ts +22 -27
  163. package/dist/components/foundations/Card.js +51 -32
  164. package/dist/components/foundations/CheckboxGroup.d.ts +1 -1
  165. package/dist/components/foundations/Collapsible.d.ts +1 -1
  166. package/dist/components/foundations/Combobox.js +6 -1
  167. package/dist/components/foundations/Dialog.d.ts +106 -1
  168. package/dist/components/foundations/EmptyState.d.ts +1 -1
  169. package/dist/components/foundations/Field.d.ts +2 -1
  170. package/dist/components/foundations/Fieldset.d.ts +1 -1
  171. package/dist/components/foundations/Form.d.ts +4 -4
  172. package/dist/components/foundations/IconButton.d.ts +1 -1
  173. package/dist/components/foundations/Label.d.ts +1 -1
  174. package/dist/components/foundations/LinkButton.d.ts +2 -2
  175. package/dist/components/foundations/Meter.d.ts +1 -1
  176. package/dist/components/foundations/NumberField.d.ts +1 -1
  177. package/dist/components/foundations/ScrollArea.d.ts +1 -1
  178. package/dist/components/foundations/SearchField.d.ts +1 -1
  179. package/dist/components/foundations/Select.js +6 -1
  180. package/dist/components/foundations/Separator.d.ts +1 -40
  181. package/dist/components/foundations/Stepper.d.ts +1 -1
  182. package/dist/components/foundations/Textarea.d.ts +1 -1
  183. package/dist/components/foundations/Toast.d.ts +5 -1
  184. package/dist/components/foundations/Toggle.d.ts +70 -1
  185. package/dist/components/foundations/ToggleGroup.d.ts +3 -2
  186. package/dist/components/foundations/Toolbar.d.ts +1 -151
  187. package/dist/components/foundations/TransitionSurface.d.ts +1 -1
  188. package/dist/components/general-purpose/ActionGuide.d.ts +10 -26
  189. package/dist/components/general-purpose/ActionGuide.js +4 -18
  190. package/dist/components/general-purpose/AppTopBar.d.ts +4 -2
  191. package/dist/components/general-purpose/Commit.d.ts +2 -2
  192. package/dist/components/general-purpose/Commit.js +1 -1
  193. package/dist/components/general-purpose/EnvironmentVariables.d.ts +2 -2
  194. package/dist/components/general-purpose/FileTree.d.ts +1 -7
  195. package/dist/components/general-purpose/FileTree.js +1 -1
  196. package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
  197. package/dist/components/general-purpose/PricingPlanCard.d.ts +4 -0
  198. package/dist/components/general-purpose/PricingUsageCalculator.js +1 -1
  199. package/dist/components/general-purpose/ResizableSidePanel.d.ts +2 -2
  200. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +128 -2
  201. package/dist/components/general-purpose/ResponsiveSidebarShell.js +119 -101
  202. package/dist/components/general-purpose/SettingsFormDialog.d.ts +14 -27
  203. package/dist/components/general-purpose/SettingsFormDialog.js +40 -70
  204. package/dist/components/general-purpose/SetupChecklist.d.ts +1 -0
  205. package/dist/components/general-purpose/SetupChecklist.js +76 -1
  206. package/dist/components/general-purpose/Terminal.d.ts +3 -3
  207. package/dist/components/general-purpose/Terminal.js +10 -5
  208. package/dist/components/general-purpose/TestResults.d.ts +23 -11
  209. package/dist/components/general-purpose/TestResults.js +48 -50
  210. package/dist/components/general-purpose/ThemeModeControl.d.ts +2 -0
  211. package/dist/components/general-purpose/WebPreview.d.ts +29 -4
  212. package/dist/components/general-purpose/WebPreview.js +37 -12
  213. package/dist/components/nanites/AgentConnection.js +1 -1
  214. package/dist/components/nanites/AgentToolDetail.d.ts +13 -11
  215. package/dist/components/nanites/AgentToolDetail.js +20 -41
  216. package/dist/{copy-button-C0JyjClr.d.ts → copy-button-OUwOdgEm.d.ts} +1 -1
  217. package/dist/mcp-server-mAErsxHU.js +27 -0
  218. package/dist/styles/activity.css +1 -96
  219. package/dist/styles/agent-chat.css +75 -102
  220. package/dist/styles/agent-tool-detail.css +0 -16
  221. package/dist/styles/base.css +3 -3
  222. package/dist/styles/browser-run-panel.css +1 -15
  223. package/dist/styles/button.css +7 -1
  224. package/dist/styles/code-block.css +12 -0
  225. package/dist/styles/composition-motion.css +0 -2
  226. package/dist/styles/correspondent.css +73 -0
  227. package/dist/styles/employee-chrome.css +43 -0
  228. package/dist/styles/file-tree.css +5 -0
  229. package/dist/styles/index.css +5 -2
  230. package/dist/styles/manager-office.css +380 -1086
  231. package/dist/styles/message.css +2 -10
  232. package/dist/styles/queue.css +71 -0
  233. package/dist/styles/subagent-run.css +122 -6
  234. package/dist/styles/test-results.css +2 -5
  235. package/dist/styles/think-chat-activity.css +13 -0
  236. package/dist/styles/think-chat-tool-panels.css +81 -0
  237. package/dist/styles/think-execution-workbench.css +2 -8
  238. package/dist/styles/think-full-app.css +42 -251
  239. package/dist/styles/{think-routine-library.css → think-routine.css} +64 -80
  240. package/dist/styles/web-preview.css +15 -1
  241. package/dist/utils/mcp-server-catalog.d.ts +1112 -2
  242. package/dist/utils/mcp-server-catalog.js +28 -9
  243. package/dist/utils/structured-code.d.ts +1 -1
  244. package/dist/{workspace-assets-CxpEHsac.js → workspace-assets-Bg7XhPsk.js} +16 -2
  245. package/package.json +7 -3
  246. package/dist/AgentChat-BLmQghkt.d.ts +0 -327
  247. package/dist/AgentChatStartScreen-Bkv7Avni.d.ts +0 -84
  248. package/dist/AgentMessageParts-C7L-Mv9U.d.ts +0 -46
  249. package/dist/AgentToolRunsContext-jtmveaRE.d.ts +0 -57
  250. package/dist/Dialog-B_FhRWaz.d.ts +0 -107
  251. package/dist/McpConnectorForm-CeYNY0MI.d.ts +0 -39
  252. package/dist/McpPluginCatalog-3qWu8oK1.d.ts +0 -92
  253. package/dist/ResponsiveSidebarShell-BTVPxLJK.d.ts +0 -123
  254. package/dist/SessionCompaction-CmTJFpzj.d.ts +0 -89
  255. package/dist/SetupChecklist-CwRjIDH4.js +0 -77
  256. package/dist/ThinkChat-CwMdEum8.d.ts +0 -185
  257. package/dist/ThinkChat-DLDta57t.js +0 -332
  258. package/dist/ThinkChatActivity-B3lGVS-6.d.ts +0 -77
  259. package/dist/ThinkChatContext-COIgzkYp.d.ts +0 -28
  260. package/dist/ThinkRecoveryNotice-DGWr94rk.d.ts +0 -19
  261. package/dist/ThinkThreadPicker-yFz4vvIf.d.ts +0 -91
  262. package/dist/Toggle-DLrIf5YH.d.ts +0 -69
  263. package/dist/WorkspaceLive-DLGhtIly.d.ts +0 -49
  264. package/dist/WorkspaceMessageResponse-kJYU8Onj.d.ts +0 -48
  265. package/dist/components/agents-sdk/ThinkFullAppViewSwitch.d.ts +0 -31
  266. package/dist/components/agents-sdk/ThinkFullAppViewSwitch.js +0 -34
  267. package/dist/components/agents-sdk/ThinkRoutineLibrary.d.ts +0 -80
  268. package/dist/components/agents-sdk/ThinkRoutineLibrary.js +0 -159
  269. package/dist/components/agents-sdk/ThinkSidepanel.d.ts +0 -200
  270. package/dist/components/agents-sdk/ThinkSidepanel.js +0 -775
  271. package/dist/mcp-server-7NR24ASj.js +0 -69
  272. package/dist/mcp-server-catalog-C_g7C-9o.d.ts +0 -1108
  273. package/dist/styles/think-sidepanel.css +0 -78
  274. package/dist/think-agent-Cip5KAPj.d.ts +0 -7
@@ -1,18 +1,10 @@
1
- import { n as ResponsiveSidebarShell } from "../../ResponsiveSidebarShell-BTVPxLJK.js";
1
+ import { t as Correspondent } from "../../Correspondent-7K6uNLUm.js";
2
2
  import { ThinkRoutine } from "./ThinkRoutine.js";
3
3
  import * as React from "react";
4
+ import { useRender } from "@base-ui/react/use-render";
4
5
 
5
6
  //#region src/components/agents-sdk/ManagerOffice.d.ts
6
7
  type ManagerOfficeWorkStatus = "idle" | "running" | "attention" | "error" | "interrupted";
7
- /** The app-owned projection currently shown by the manager office. */
8
- type ManagerOfficeView = {
9
- kind: "dashboard";
10
- } | {
11
- kind: "attention";
12
- } | {
13
- kind: "employee";
14
- employeeId: string;
15
- };
16
8
  interface ManagerOfficeHandoff {
17
9
  /** Stable handoff identity. */
18
10
  id: string;
@@ -33,6 +25,27 @@ interface ManagerOfficeHandoff {
33
25
  /** Unix timestamp in milliseconds when this handoff began. */
34
26
  createdAt: number;
35
27
  }
28
+ /**
29
+ * One item in a lane's workspace staging area. Companion projects a thread
30
+ * folder (files, recorded Google Doc/Sheet URLs, people) once the employee
31
+ * creates it. Not a document registry and not a CRM.
32
+ */
33
+ type ManagerOfficeWorkingSetItem = {
34
+ kind: "file";
35
+ path: string;
36
+ title: string;
37
+ } | {
38
+ kind: "folder";
39
+ path: string;
40
+ title: string;
41
+ } | {
42
+ kind: "link";
43
+ href: string;
44
+ title: string;
45
+ } | {
46
+ kind: "correspondent";
47
+ correspondent: Correspondent;
48
+ };
36
49
  interface ManagerOfficeWork {
37
50
  /** Stable work identity. */
38
51
  id: string;
@@ -44,16 +57,18 @@ interface ManagerOfficeWork {
44
57
  summary?: string;
45
58
  /** Unix timestamp in milliseconds of the latest lifecycle transition. */
46
59
  updatedAt: number;
60
+ /**
61
+ * Staging files, provider documents, and people this lane is using. Omit or
62
+ * empty until the employee creates the thread's workspace folder.
63
+ */
64
+ workingSet?: readonly ManagerOfficeWorkingSetItem[];
47
65
  }
48
- /** Which way work moves through a channel, from the employee's side. */
49
- type ManagerOfficeChannelDirection = "input" | "output" | "both";
50
66
  type ManagerOfficeChannelStatus = "connected" | "needs-auth" | "error";
51
67
  interface ManagerOfficeChannel {
52
68
  /** Stable channel identity. */
53
69
  id: string;
54
70
  /** Service the employee reaches through, such as “Slack” or “Gmail”. */
55
71
  name: string;
56
- direction: ManagerOfficeChannelDirection;
57
72
  status: ManagerOfficeChannelStatus;
58
73
  /** Connected account or workspace, or the reason the channel stopped. */
59
74
  detail?: string;
@@ -64,30 +79,6 @@ interface ManagerOfficeChannel {
64
79
  */
65
80
  icon?: React.ReactNode;
66
81
  }
67
- interface ManagerOfficeBrowserPreview {
68
- /** Title of the tab currently visible on the employee's browser. */
69
- title: string;
70
- /** Display-safe URL supplied by the host. */
71
- url: string;
72
- }
73
- interface ManagerOfficeAnalyticsPoint {
74
- /** Start of the reporting bucket as a Unix timestamp in milliseconds. */
75
- timestamp: number;
76
- /** Outcomes completed during this bucket. */
77
- completed: number;
78
- /** Employee runtime consumed during this bucket. */
79
- workloadHours: number;
80
- /** Host-estimated inference and tool cost during this bucket. */
81
- estimatedCost: number;
82
- }
83
- interface ManagerOfficeEmployeeAnalytics {
84
- employeeId: string;
85
- points: readonly ManagerOfficeAnalyticsPoint[];
86
- }
87
- interface ManagerOfficeReportSelection {
88
- employeeIds: readonly string[];
89
- rangeDays: 7 | 30 | 90;
90
- }
91
82
  interface ManagerOfficeEmployeeBase {
92
83
  /** Stable employee identity used by routes and list keys. */
93
84
  id: string;
@@ -108,8 +99,6 @@ interface ManagerOfficeConnectedEmployee extends ManagerOfficeEmployeeBase {
108
99
  routines: readonly ThinkRoutine[];
109
100
  /** Every service the employee reads from or acts on. Empty is meaningful. */
110
101
  channels: readonly ManagerOfficeChannel[];
111
- /** The live tab the manager can glance at from the office. */
112
- browserPreview?: ManagerOfficeBrowserPreview;
113
102
  }
114
103
  interface ManagerOfficeDisconnectedEmployee extends ManagerOfficeEmployeeBase {
115
104
  status: "offline" | "connecting" | "unavailable";
@@ -148,32 +137,15 @@ type ManagerOfficeDestination = {
148
137
  employee: ManagerOfficeConnectedEmployee;
149
138
  } | {
150
139
  kind: "workspace";
151
- employee: ManagerOfficeConnectedEmployee;
140
+ employee: ManagerOfficeConnectedEmployee; /** Owning lane when opening a file from that lane's working set. */
141
+ work?: ManagerOfficeWork; /** Workspace path to select, when the destination is a specific entry. */
142
+ path?: string;
152
143
  };
153
- interface ManagerOfficeProps extends React.HTMLAttributes<HTMLDivElement> {
154
- /** Current disposable navigation projection; durable selection remains app-owned. */
155
- view: ManagerOfficeView;
156
- /** Employees projected from their owning runtimes. */
144
+ interface ManagerOfficeRootProps extends useRender.ComponentProps<"div"> {
145
+ /** Data projected from the owning employee runtimes. */
157
146
  employees: readonly ManagerOfficeEmployee[];
158
- /** Returns an app-owned route element for every office destination. */
147
+ /** Application-owned routes; no navigation state lives in the office. */
159
148
  renderLink: (destination: ManagerOfficeDestination) => React.ReactElement;
160
- /** Add/sign-out controls rendered in the app bar or office rail. */
161
- officeActions?: React.ReactNode;
162
- /** Place the wide-layout Workforce toggle. Defaults to the Workforce sidebar. */
163
- sidebarTogglePlacement?: React.ComponentProps<typeof ResponsiveSidebarShell>["sidebarTogglePlacement"];
164
- /**
165
- * Actions rendered for the selected connected employee. Compose interactive
166
- * controls through `AppTopBar.Control` so they join the toolbar.
167
- */
168
- renderEmployeeActions?: (employee: ManagerOfficeConnectedEmployee) => React.ReactNode;
169
- /** Action shown in the empty office. */
170
- emptyOfficeAction?: React.ReactNode;
171
- /** Per-employee reporting buckets used by the executive analytics view. */
172
- analytics?: readonly ManagerOfficeEmployeeAnalytics[];
173
- /** Currency used for cost estimates. Defaults to USD. */
174
- analyticsCurrency?: string;
175
- /** Export the exact filtered portfolio and time range currently on screen. */
176
- onExportReport?: (selection: ManagerOfficeReportSelection) => void;
177
149
  }
178
150
  interface ManagerOfficeSidebarProps extends Omit<React.HTMLAttributes<HTMLElement>, "content"> {
179
151
  /** Close the office drawer after a compact-width selection. */
@@ -181,7 +153,7 @@ interface ManagerOfficeSidebarProps extends Omit<React.HTMLAttributes<HTMLElemen
181
153
  /** Employees projected from their owning runtimes. */
182
154
  employees: readonly ManagerOfficeEmployee[];
183
155
  /** App-owned route element for an employee selection. */
184
- renderLink: ManagerOfficeProps["renderLink"];
156
+ renderLink: ManagerOfficeRootProps["renderLink"];
185
157
  /** Add/sign-out/toggle controls rendered beside Workforce. */
186
158
  officeActions?: React.ReactNode;
187
159
  /** Employee whose row and optional nested content are active. */
@@ -190,6 +162,11 @@ interface ManagerOfficeSidebarProps extends Omit<React.HTMLAttributes<HTMLElemen
190
162
  content?: React.ReactNode;
191
163
  /** Persistent sidebar action, such as starting a conversation with the selected employee. */
192
164
  footer?: React.ReactNode;
165
+ /**
166
+ * Office is a vertical named roster. Chat is a horizontal seat strip so the
167
+ * thread list owns the column.
168
+ */
169
+ layout?: "office" | "chat";
193
170
  }
194
171
  type ManagerOfficeSidebarAlertProps = {
195
172
  "aria-label"?: string;
@@ -211,11 +188,6 @@ declare function ManagerOfficeSidebarAlert({
211
188
  title,
212
189
  ...props
213
190
  }: ManagerOfficeSidebarAlertProps): React.JSX.Element;
214
- /**
215
- * Shared Manager Office rail. Stories and host shells may add employee-owned
216
- * content, but the Workforce header, roster identity, status language, scrolling,
217
- * and footer placement stay component-owned and therefore cannot drift.
218
- */
219
191
  declare function ManagerOfficeSidebar({
220
192
  className,
221
193
  closeSidebarOnCompact,
@@ -223,29 +195,87 @@ declare function ManagerOfficeSidebar({
223
195
  employees,
224
196
  renderLink,
225
197
  footer,
198
+ layout,
226
199
  officeActions,
227
200
  selectedEmployeeId,
228
201
  ...props
229
202
  }: ManagerOfficeSidebarProps): React.JSX.Element;
230
- /**
231
- * Multi-employee manager office: a dashboard, aggregate handoffs, employee
232
- * roster, and one employee dossier. The consuming app owns authentication,
233
- * Agent connections, routing, and the selected employee's full work surface.
234
- */
235
- declare function ManagerOffice({
236
- analytics,
237
- analyticsCurrency,
203
+ declare function ManagerOfficeAttention({
204
+ className,
205
+ ...props
206
+ }: React.ComponentPropsWithRef<"div">): React.JSX.Element;
207
+ interface ManagerOfficeEmployeeProps extends useRender.ComponentProps<"div"> {
208
+ employee: ManagerOfficeConnectedEmployee;
209
+ }
210
+ /** Scope the selected employee without imposing dossier content or column order. */
211
+ declare function ManagerOfficeEmployeeRoot({
212
+ employee,
213
+ render,
214
+ ref,
215
+ ...props
216
+ }: ManagerOfficeEmployeeProps): React.JSX.Element;
217
+ declare function ManagerOfficeEmployeeHeader({
218
+ className,
219
+ ...props
220
+ }: React.ComponentPropsWithRef<"header">): React.JSX.Element;
221
+ declare function ManagerOfficeHandoffs({
222
+ className,
223
+ ...props
224
+ }: React.ComponentPropsWithRef<"section">): React.JSX.Element | null;
225
+ declare function ManagerOfficeWorkSection({
226
+ className,
227
+ ...props
228
+ }: React.ComponentPropsWithRef<"section">): React.JSX.Element;
229
+ declare function ManagerOfficeRoutines({
230
+ className,
231
+ ...props
232
+ }: React.ComponentPropsWithRef<"section">): React.JSX.Element;
233
+ declare function ManagerOfficeChannels({
238
234
  className,
239
- emptyOfficeAction,
235
+ ...props
236
+ }: React.ComponentPropsWithRef<"section">): React.JSX.Element;
237
+ declare function ManagerOfficeMain({
238
+ render,
239
+ ref,
240
+ ...props
241
+ }: useRender.ComponentProps<"main">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
242
+ declare function ManagerOfficeColumns({
243
+ render,
244
+ ref,
245
+ ...props
246
+ }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
247
+ declare function ManagerOfficeAside({
248
+ render,
249
+ ref,
250
+ ...props
251
+ }: useRender.ComponentProps<"aside">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
252
+ /** Honest disconnected state; the host chooses when and where to display it. */
253
+ declare function ManagerOfficeConnectionState({
254
+ employee
255
+ }: {
256
+ employee: ManagerOfficeDisconnectedEmployee;
257
+ }): React.JSX.Element;
258
+ /** Office data and relative-time boundary; hosts compose their shell and routed content. */
259
+ declare function ManagerOfficeRoot({
240
260
  employees,
241
261
  renderLink,
242
- officeActions,
243
- onExportReport,
244
- renderEmployeeActions,
245
- sidebarTogglePlacement,
246
- style,
247
- view,
262
+ render,
263
+ ref,
248
264
  ...props
249
- }: ManagerOfficeProps): React.JSX.Element;
265
+ }: ManagerOfficeRootProps): React.JSX.Element;
266
+ declare const ManagerOffice: {
267
+ Root: typeof ManagerOfficeRoot;
268
+ Main: typeof ManagerOfficeMain;
269
+ Attention: typeof ManagerOfficeAttention;
270
+ Employee: typeof ManagerOfficeEmployeeRoot;
271
+ EmployeeHeader: typeof ManagerOfficeEmployeeHeader;
272
+ Handoffs: typeof ManagerOfficeHandoffs;
273
+ Columns: typeof ManagerOfficeColumns;
274
+ Aside: typeof ManagerOfficeAside;
275
+ Work: typeof ManagerOfficeWorkSection;
276
+ Routines: typeof ManagerOfficeRoutines;
277
+ Channels: typeof ManagerOfficeChannels;
278
+ ConnectionState: typeof ManagerOfficeConnectionState;
279
+ };
250
280
  //#endregion
251
- export { ManagerOffice, ManagerOfficeAnalyticsPoint, ManagerOfficeBrowserPreview, ManagerOfficeChannel, ManagerOfficeChannelDirection, ManagerOfficeChannelStatus, ManagerOfficeConnectedEmployee, ManagerOfficeDestination, ManagerOfficeDisconnectedEmployee, ManagerOfficeEmployee, ManagerOfficeEmployeeAnalytics, ManagerOfficeEmployeeStatus, ManagerOfficeHandoff, ManagerOfficeProps, ManagerOfficeReportSelection, ManagerOfficeSidebar, ManagerOfficeSidebarAlert, ManagerOfficeSidebarAlertProps, ManagerOfficeSidebarProps, ManagerOfficeView, ManagerOfficeWork, ManagerOfficeWorkStatus };
281
+ export { ManagerOffice, ManagerOfficeChannel, ManagerOfficeChannelStatus, ManagerOfficeConnectedEmployee, ManagerOfficeDestination, ManagerOfficeDisconnectedEmployee, ManagerOfficeEmployee, ManagerOfficeEmployeeProps, ManagerOfficeEmployeeStatus, ManagerOfficeHandoff, ManagerOfficeRootProps, ManagerOfficeSidebar, ManagerOfficeSidebarAlert, ManagerOfficeSidebarAlertProps, ManagerOfficeSidebarProps, ManagerOfficeWork, ManagerOfficeWorkStatus, ManagerOfficeWorkingSetItem };