@mcp-b/react-components 0.58.1 → 0.59.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CodeBlock-Bs_Z03eC.js → CodeBlock-B4K656LO.js} +1 -1
- package/dist/{EmployeeChrome-DsdIek0l.d.ts → EmployeeChrome-QSki0QT4.d.ts} +4 -4
- package/dist/{ExecutionResult-BSZsUbrL.js → ExecutionResult-Wd1sKAvD.js} +2 -2
- package/dist/{FileTree-DyLBn7O_.js → FileTree-BpCJuvji.js} +1 -1
- package/dist/{ManagerOffice-C8AQcaXs.js → ManagerOffice-BaHSBcSF.js} +4 -4
- package/dist/{ResponsiveSidebarShell-DoZlSP30.d.ts → ResponsiveSidebarShell-DzBGlRJF.d.ts} +23 -8
- package/dist/{SetupChecklist-CKQ-mKYt.js → SetupChecklist-BNK2XFaI.js} +2 -2
- package/dist/{ThinkChatActivity-BkGjTY4r.d.ts → ThinkChatActivity-C4_hPEmb.d.ts} +20 -4
- package/dist/{ThinkChatActivitySummary-DZVy3uQV.d.ts → ThinkChatActivitySummary-ChJ8Iu2T.d.ts} +3 -3
- package/dist/{ThinkChatToolParts-BucHi63O.d.ts → ThinkChatToolParts-BrntWlpa.d.ts} +29 -3
- package/dist/{WorkspaceConceptPanel-97ZyVpZI.js → WorkspaceConceptPanel-D21iRsWm.js} +7 -4
- package/dist/{WorkspaceFileView-M2jC2P4p.js → WorkspaceFileView-5SHsjamf.js} +84 -78
- package/dist/app-bar-outlet-CNfNzY4Y.js +6 -0
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.js +7 -7
- package/dist/components/agents-sdk/BrowserLiveScreen.js +50 -12
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.d.ts +2 -3
- package/dist/components/agents-sdk/EmployeeApp.js +5 -5
- package/dist/components/agents-sdk/EmployeeChat.js +4 -4
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +219 -207
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeSchedules.js +7 -7
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeStartScreen.js +3 -3
- package/dist/components/agents-sdk/ExecutionBoard.js +4 -4
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +6 -19
- package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +2 -2
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.js +5 -5
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +8 -9
- package/dist/components/agents-sdk/SubagentRunPanel.js +133 -122
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChat.js +26 -3
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +110 -110
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +183 -40
- package/dist/components/agents-sdk/ThinkChatToolPanels.d.ts +8 -4
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +310 -64
- package/dist/components/agents-sdk/ThinkChatToolParts.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkChatToolParts.js +71 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -4
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +8 -8
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkFullApp.js +6 -1
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineActions.js +15 -23
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineForm.js +6 -6
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +7 -7
- package/dist/components/agents-sdk/WorkspaceExecution.js +146 -139
- package/dist/components/agents-sdk/WorkspaceExecutionTable.js +5 -5
- package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -3
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +27 -29
- package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
- package/dist/components/agents-sdk/WorkspaceProject.js +6 -6
- package/dist/components/agents-sdk/WorkspaceUserScript.js +6 -6
- package/dist/components/ai-sdk/Activity.d.ts +1 -1
- package/dist/components/ai-sdk/Activity.js +85 -7
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +4 -3
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +2 -2
- package/dist/components/ai-sdk/ConnectedAppCards.js +66 -48
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.js +2 -2
- package/dist/components/ai-sdk/ExpansionState.d.ts +16 -6
- package/dist/components/ai-sdk/ExpansionState.js +25 -7
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +2 -2
- package/dist/components/ai-sdk/Message.js +2 -2
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +99 -12
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.js +13 -9
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +2 -2
- package/dist/components/ai-sdk/Queue.js +2 -2
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/ai-sdk/ToolInvocation.d.ts +8 -0
- package/dist/components/ai-sdk/ToolInvocation.js +45 -19
- package/dist/components/extension/ChatGptSignInScreen.js +1 -1
- package/dist/components/extension/CodexModelSelector.js +2 -2
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/ToggleGroup.js +1 -1
- package/dist/components/foundations/icons.js +1 -1
- package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +2 -2
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +163 -88
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/Terminal.js +3 -3
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WebPreview.js +2 -2
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.d.ts +1 -3
- package/dist/components/nanites/AgentToolDetail.js +30 -39
- package/dist/{copy-button-M4sAp9xS.js → copy-button-BsmxSSeD.js} +1 -1
- package/dist/merge-refs-DAh6reu8.js +26 -0
- package/dist/styles/activity.css +74 -0
- package/dist/styles/agent-chat.css +8 -1
- package/dist/styles/agent-tool-detail.css +2 -17
- package/dist/styles/app-top-bar.css +6 -7
- package/dist/styles/base.css +1 -1
- package/dist/styles/employee-chrome.css +0 -7
- package/dist/styles/message.css +1 -1
- package/dist/styles/responsive-sidebar-shell.css +10 -25
- package/dist/styles/scroll-area.css +16 -0
- package/dist/styles/scrollbars.css +55 -41
- package/dist/styles/search-field.css +0 -1
- package/dist/styles/subagent-run.css +36 -196
- package/dist/styles/think-chat-tool-panels.css +38 -5
- package/dist/styles/think-execution-workbench.css +4 -0
- package/dist/styles/think-full-app.css +1 -6
- package/dist/styles/workspace-concepts.css +6 -39
- package/dist/styles/workspace-explorer.css +4 -11
- package/dist/{workspace-assets-DVn0d-fN.js → workspace-assets-RD6IhOyh.js} +1 -1
- package/dist/{workspace-delete-DfloiBWp.js → workspace-delete-CrNGUuBp.js} +1 -1
- package/package.json +2 -2
- package/dist/components/agents-sdk/SubagentRunDetails.d.ts +0 -40
- package/dist/components/agents-sdk/SubagentRunDetails.js +0 -98
- package/dist/merge-refs-DF_7w2x_.js +0 -18
- package/dist/{icons-DvlrWt54.js → icons-Cn3vWZRs.js} +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as KeyboardIcon, H as RefreshIcon, r as ArrowLeftIcon } from "../../icons-
|
|
1
|
+
import { E as KeyboardIcon, H as RefreshIcon, r as ArrowLeftIcon } from "../../icons-Cn3vWZRs.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { WebPreviewNavigationButton } from "../general-purpose/WebPreview.js";
|
|
4
4
|
import { BrowserLiveView } from "./BrowserLiveView.js";
|
|
@@ -77,6 +77,7 @@ function BrowserLiveScreen({ sendSignal: sendHostSignal, subscribeSignals, proto
|
|
|
77
77
|
const [keyboardOpen, setKeyboardOpen] = useState(false);
|
|
78
78
|
const touch = useRef(null);
|
|
79
79
|
const mousePress = useRef(null);
|
|
80
|
+
const forwardedKeys = useRef(/* @__PURE__ */ new Map());
|
|
80
81
|
function cancelPointerState() {
|
|
81
82
|
const activeTouch = touch.current;
|
|
82
83
|
const activeMouse = mousePress.current;
|
|
@@ -88,8 +89,29 @@ function BrowserLiveScreen({ sendSignal: sendHostSignal, subscribeSignals, proto
|
|
|
88
89
|
if (activeMouse?.pressed) releases.push(release(activeMouse.lastPage, activeMouse.button, 0, activeMouse.clickCount, activeMouse.modifiers));
|
|
89
90
|
sendInput(releases);
|
|
90
91
|
}
|
|
92
|
+
function cancelForwardedKeys() {
|
|
93
|
+
const releases = [];
|
|
94
|
+
for (const { key, code, keyCode } of forwardedKeys.current.values()) releases.push({
|
|
95
|
+
kind: "key",
|
|
96
|
+
type: "keyUp",
|
|
97
|
+
key,
|
|
98
|
+
code,
|
|
99
|
+
windowsVirtualKeyCode: keyCode,
|
|
100
|
+
modifiers: 0
|
|
101
|
+
});
|
|
102
|
+
forwardedKeys.current.clear();
|
|
103
|
+
sendInput(releases);
|
|
104
|
+
}
|
|
105
|
+
const releaseKeysOnWindowBlur = useEffectEvent(() => cancelForwardedKeys());
|
|
106
|
+
useEffect(() => {
|
|
107
|
+
window.addEventListener("blur", releaseKeysOnWindowBlur);
|
|
108
|
+
return () => window.removeEventListener("blur", releaseKeysOnWindowBlur);
|
|
109
|
+
}, []);
|
|
91
110
|
const attachInput = useCallback((element) => {
|
|
92
|
-
if (input.current !== element)
|
|
111
|
+
if (input.current !== element) {
|
|
112
|
+
cancelPointerState();
|
|
113
|
+
cancelForwardedKeys();
|
|
114
|
+
}
|
|
93
115
|
input.current = element;
|
|
94
116
|
setInputElement(element);
|
|
95
117
|
syncInputBounds();
|
|
@@ -129,6 +151,7 @@ function BrowserLiveScreen({ sendSignal: sendHostSignal, subscribeSignals, proto
|
|
|
129
151
|
const closingViewerId = viewerId;
|
|
130
152
|
connection = void 0;
|
|
131
153
|
cancelPointerState();
|
|
154
|
+
cancelForwardedKeys();
|
|
132
155
|
channel.current = null;
|
|
133
156
|
geometry.current = null;
|
|
134
157
|
if (!disposed) setStreamed(null);
|
|
@@ -235,6 +258,7 @@ function BrowserLiveScreen({ sendSignal: sendHostSignal, subscribeSignals, proto
|
|
|
235
258
|
if (!status) return;
|
|
236
259
|
if (status.kind === "idle") {
|
|
237
260
|
cancelPointerState();
|
|
261
|
+
cancelForwardedKeys();
|
|
238
262
|
geometry.current = null;
|
|
239
263
|
syncInputBounds();
|
|
240
264
|
setFailure(null);
|
|
@@ -245,7 +269,10 @@ function BrowserLiveScreen({ sendSignal: sendHostSignal, subscribeSignals, proto
|
|
|
245
269
|
if (status.kind === "streaming") {
|
|
246
270
|
if (status.tabId !== tabId) return;
|
|
247
271
|
const previous = geometry.current;
|
|
248
|
-
if (previous?.tabId !== status.tabId || previous.streamGeneration !== status.streamGeneration)
|
|
272
|
+
if (previous?.tabId !== status.tabId || previous.streamGeneration !== status.streamGeneration) {
|
|
273
|
+
cancelPointerState();
|
|
274
|
+
cancelForwardedKeys();
|
|
275
|
+
}
|
|
249
276
|
geometry.current = status;
|
|
250
277
|
syncInputBounds();
|
|
251
278
|
setFailure(null);
|
|
@@ -283,12 +310,13 @@ function BrowserLiveScreen({ sendSignal: sendHostSignal, subscribeSignals, proto
|
|
|
283
310
|
function sendInput(events) {
|
|
284
311
|
const open = channel.current;
|
|
285
312
|
const status = geometry.current;
|
|
286
|
-
if (open?.readyState !== "open" || !status || events.length === 0) return;
|
|
313
|
+
if (open?.readyState !== "open" || !status || events.length === 0) return false;
|
|
287
314
|
open.send(currentProtocol.current.serializeInput({
|
|
288
315
|
tabId: status.tabId,
|
|
289
316
|
streamGeneration: status.streamGeneration,
|
|
290
317
|
events
|
|
291
318
|
}));
|
|
319
|
+
return true;
|
|
292
320
|
}
|
|
293
321
|
/**
|
|
294
322
|
* A browser-chrome command needs only the channel, not a live stream:
|
|
@@ -500,9 +528,9 @@ function BrowserLiveScreen({ sendSignal: sendHostSignal, subscribeSignals, proto
|
|
|
500
528
|
},
|
|
501
529
|
onKeyDown: (event) => {
|
|
502
530
|
event.currentTarget.removeAttribute("data-pointer-focus");
|
|
503
|
-
if (event.nativeEvent.isComposing) return;
|
|
531
|
+
if (event.nativeEvent.isComposing || event.nativeEvent.keyCode === 229) return;
|
|
504
532
|
if (event.key === "Enter" || event.key === "Tab") event.preventDefault();
|
|
505
|
-
sendInput([{
|
|
533
|
+
if (sendInput([{
|
|
506
534
|
kind: "key",
|
|
507
535
|
type: "keyDown",
|
|
508
536
|
key: event.key,
|
|
@@ -510,16 +538,23 @@ function BrowserLiveScreen({ sendSignal: sendHostSignal, subscribeSignals, proto
|
|
|
510
538
|
windowsVirtualKeyCode: event.keyCode,
|
|
511
539
|
...event.key === "Enter" ? { text: "\r" } : {},
|
|
512
540
|
modifiers: modifiers(event)
|
|
513
|
-
}])
|
|
541
|
+
}])) forwardedKeys.current.set(event.code || event.key, {
|
|
542
|
+
key: event.key,
|
|
543
|
+
code: event.code,
|
|
544
|
+
keyCode: event.keyCode
|
|
545
|
+
});
|
|
514
546
|
},
|
|
515
547
|
onKeyUp: (event) => {
|
|
516
|
-
|
|
548
|
+
const physicalKey = event.code || event.key;
|
|
549
|
+
const forwardedKey = forwardedKeys.current.get(physicalKey);
|
|
550
|
+
if (!forwardedKey) return;
|
|
551
|
+
forwardedKeys.current.delete(physicalKey);
|
|
517
552
|
sendInput([{
|
|
518
553
|
kind: "key",
|
|
519
554
|
type: "keyUp",
|
|
520
|
-
key:
|
|
521
|
-
code:
|
|
522
|
-
windowsVirtualKeyCode:
|
|
555
|
+
key: forwardedKey.key,
|
|
556
|
+
code: forwardedKey.code,
|
|
557
|
+
windowsVirtualKeyCode: forwardedKey.keyCode,
|
|
523
558
|
modifiers: modifiers(event)
|
|
524
559
|
}]);
|
|
525
560
|
},
|
|
@@ -534,7 +569,10 @@ function BrowserLiveScreen({ sendSignal: sendHostSignal, subscribeSignals, proto
|
|
|
534
569
|
onContextMenu: (event) => {
|
|
535
570
|
event.preventDefault();
|
|
536
571
|
},
|
|
537
|
-
onBlur: (event) =>
|
|
572
|
+
onBlur: (event) => {
|
|
573
|
+
event.currentTarget.removeAttribute("data-pointer-focus");
|
|
574
|
+
cancelForwardedKeys();
|
|
575
|
+
},
|
|
538
576
|
onMouseDown: (event) => {
|
|
539
577
|
const gesture = mousePress.current;
|
|
540
578
|
if (!gesture || gesture.pressed) return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, _ as DotIcon, k as MaximizeIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, _ as DotIcon, k as MaximizeIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { Dialog } from "../foundations/Dialog.js";
|
|
5
5
|
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { L as PauseIcon, z as PlayIcon } from "../../icons-
|
|
2
|
+
import { L as PauseIcon, z as PlayIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { i as formatClock } from "../../format-CWaZEp5o.js";
|
|
5
5
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, rt as XIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, rt as XIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
3
|
import { Tabs } from "../foundations/Tabs.js";
|
|
4
4
|
import { WebPreview, WebPreviewEmpty, WebPreviewNavigation, WebPreviewNavigationButton, WebPreviewUrl, WebPreviewViewport } from "../general-purpose/WebPreview.js";
|
|
5
5
|
import { BrowserLiveView } from "./BrowserLiveView.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-Buo6gKj2.js";
|
|
2
|
-
import { f as EmployeeShellProps, l as EmployeeModelSetup, n as EmployeeBrand, p as EmployeeStatus, t as EmployeeAgentRun } from "../../EmployeeChrome-
|
|
2
|
+
import { f as EmployeeShellProps, l as EmployeeModelSetup, n as EmployeeBrand, p as EmployeeStatus, t as EmployeeAgentRun } from "../../EmployeeChrome-QSki0QT4.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/EmployeeApp.d.ts
|
|
5
5
|
export interface EmployeeAppRootProps extends EmployeeShellProps {
|
|
@@ -21,12 +21,11 @@ export interface EmployeeAppContentProps {
|
|
|
21
21
|
/** Current output pane, or null when the conversation occupies the screen. */
|
|
22
22
|
workbench: React.ReactNode;
|
|
23
23
|
live: React.ReactNode;
|
|
24
|
-
report?: React.ReactNode;
|
|
25
24
|
/** Place transcript hydration boundaries here so they cannot replace navigation or output. */
|
|
26
25
|
children: React.ReactNode;
|
|
27
26
|
}
|
|
28
27
|
/** Stable content lanes. Hosts hydrate the conversation locally and retain output while waiting. */
|
|
29
|
-
declare function EmployeeAppContent({ view, workbench, live,
|
|
28
|
+
declare function EmployeeAppContent({ view, workbench, live, children }: EmployeeAppContentProps): React.JSX.Element;
|
|
30
29
|
/** Local run failure presentation; keep the parent connection and queue above this part. */
|
|
31
30
|
declare function EmployeeAppConversation({ run, children }: {
|
|
32
31
|
run: EmployeeAgentRun | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tt as WarningIcon } from "../../icons-
|
|
1
|
+
import { tt as WarningIcon } from "../../icons-Cn3vWZRs.js";
|
|
2
2
|
import { WorkbenchBack } from "./WorkbenchBack.js";
|
|
3
3
|
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
4
4
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
@@ -9,7 +9,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
9
9
|
/** Persistent admission and navigation frame. Put keyed runtimes and Suspense inside it. */
|
|
10
10
|
function EmployeeAppRoot({ status, workspaceNavigation, brand, modelSetup, schedules, shell, ref, children, ...chrome }) {
|
|
11
11
|
const admitted = status === "ready" || status === "connecting";
|
|
12
|
-
if (chrome.view === "files" && workspaceNavigation?.current.destination.kind === "file") chrome.
|
|
12
|
+
if (chrome.view === "files" && workspaceNavigation?.current.destination.kind === "file") chrome.back ??= /* @__PURE__ */ jsx(WorkbenchBack, {
|
|
13
13
|
navigation: workspaceNavigation,
|
|
14
14
|
filesOpen: true
|
|
15
15
|
});
|
|
@@ -33,14 +33,14 @@ function EmployeeAppRoot({ status, workspaceNavigation, brand, modelSetup, sched
|
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
/** Stable content lanes. Hosts hydrate the conversation locally and retain output while waiting. */
|
|
36
|
-
function EmployeeAppContent({ view, workbench, live,
|
|
36
|
+
function EmployeeAppContent({ view, workbench, live, children }) {
|
|
37
37
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(ThinkFullApp.Root, {
|
|
38
38
|
workbenchOpen: Boolean(workbench),
|
|
39
39
|
hidden: view === "live",
|
|
40
40
|
children: [
|
|
41
|
-
/* @__PURE__ */
|
|
41
|
+
/* @__PURE__ */ jsx(ThinkFullApp.Conversation, {
|
|
42
42
|
"data-workspace-restoration-scope": "chat",
|
|
43
|
-
children
|
|
43
|
+
children
|
|
44
44
|
}),
|
|
45
45
|
/* @__PURE__ */ jsx(ThinkFullApp.ResizeHandle, {}),
|
|
46
46
|
/* @__PURE__ */ jsx(ThinkFullApp.Workbench, { children: workbench })
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuTrigger, PromptInputAttachments, PromptInputBody, PromptInputCommandComposer, PromptInputContextSelector, PromptInputFooter, PromptInputFooterEnd, PromptInputTools } from "../ai-sdk/PromptInput.js";
|
|
2
|
-
import { Context, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextTrigger } from "../ai-sdk/Context.js";
|
|
3
|
-
import { CodexModelSelector } from "../extension/CodexModelSelector.js";
|
|
4
|
-
import { ConversationTabPicker } from "../extension/ConversationTabPicker.js";
|
|
5
2
|
import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
|
|
6
|
-
import {
|
|
3
|
+
import { ConversationTabPicker } from "../extension/ConversationTabPicker.js";
|
|
4
|
+
import { n as SetupChecklistGroup } from "../../SetupChecklist-BNK2XFaI.js";
|
|
7
5
|
import { McpServerPickerItems } from "./McpServerPicker.js";
|
|
8
6
|
import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
|
|
7
|
+
import { Context, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextTrigger } from "../ai-sdk/Context.js";
|
|
8
|
+
import { CodexModelSelector } from "../extension/CodexModelSelector.js";
|
|
9
9
|
import { ThinkChat } from "./ThinkChat.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EmployeeDestination, c as EmployeeMenuProps, d as EmployeeRenderLink, f as EmployeeShellProps, h as EmployeeWorkbenchItem, i as EmployeeCompanion, l as EmployeeModelSetup, m as EmployeeView, n as EmployeeBrand, o as EmployeeFollow, p as EmployeeStatus, r as EmployeeChrome, s as EmployeeIdentity, t as EmployeeAgentRun, u as EmployeePasskeyVault } from "../../EmployeeChrome-
|
|
1
|
+
import { a as EmployeeDestination, c as EmployeeMenuProps, d as EmployeeRenderLink, f as EmployeeShellProps, h as EmployeeWorkbenchItem, i as EmployeeCompanion, l as EmployeeModelSetup, m as EmployeeView, n as EmployeeBrand, o as EmployeeFollow, p as EmployeeStatus, r as EmployeeChrome, s as EmployeeIdentity, t as EmployeeAgentRun, u as EmployeePasskeyVault } from "../../EmployeeChrome-QSki0QT4.js";
|
|
2
2
|
export { EmployeeAgentRun, EmployeeBrand, EmployeeChrome, EmployeeCompanion, EmployeeDestination, EmployeeFollow, EmployeeIdentity, EmployeeMenuProps, EmployeeModelSetup, EmployeePasskeyVault, EmployeeRenderLink, EmployeeShellProps, EmployeeStatus, EmployeeView, EmployeeWorkbenchItem };
|