@ai-matrx/chat 0.1.77 → 0.2.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.
- package/CHANGELOG.md +25 -0
- package/dist/action-requests/components/ActionRequestAnswerForm.d.ts +57 -0
- package/dist/action-requests/components/ActionRequestAnswerForm.js +554 -0
- package/dist/action-requests/components/ActionRequestInlineAnswer.d.ts +6 -0
- package/dist/action-requests/components/ActionRequestInlineAnswer.js +42 -0
- package/dist/action-requests/components/ParkedOnPersonCard.d.ts +6 -0
- package/dist/action-requests/components/ParkedOnPersonCard.js +77 -0
- package/dist/action-requests/components/spendAmount.d.ts +26 -0
- package/dist/action-requests/components/spendAmount.js +29 -0
- package/dist/action-requests/hooks/usePendingActionRequest.d.ts +22 -0
- package/dist/action-requests/hooks/usePendingActionRequest.js +66 -0
- package/dist/action-requests/hooks/useToolAction.d.ts +40 -0
- package/dist/action-requests/hooks/useToolAction.js +197 -0
- package/dist/action-requests/render-types.d.ts +280 -0
- package/dist/action-requests/render-types.js +0 -0
- package/dist/action-requests/screen-run.d.ts +70 -0
- package/dist/action-requests/screen-run.js +36 -0
- package/dist/action-requests/self-service.d.ts +26 -0
- package/dist/action-requests/self-service.js +28 -0
- package/dist/agent-copy/AlchemySurfaceBridge.d.ts +14 -0
- package/dist/agent-copy/AlchemySurfaceBridge.js +48 -0
- package/dist/agent-copy/alchemy-session.d.ts +46 -0
- package/dist/agent-copy/alchemy-session.js +32 -0
- package/dist/agent-copy/buildAgentPayload.d.ts +2 -0
- package/dist/agent-copy/buildAgentPayload.js +8 -0
- package/dist/agent-copy/clipboard.d.ts +8 -0
- package/dist/agent-copy/clipboard.js +19 -0
- package/dist/agent-copy/export.d.ts +37 -0
- package/dist/agent-copy/export.js +88 -0
- package/dist/agent-copy/page-capture/pageCapture.d.ts +153 -0
- package/dist/agent-copy/page-capture/pageCapture.js +411 -0
- package/dist/agents/addressing/agentAddress.d.ts +176 -0
- package/dist/agents/addressing/agentAddress.js +69 -0
- package/dist/agents/addressing/agentAddressCache.d.ts +45 -0
- package/dist/agents/addressing/agentAddressCache.js +90 -0
- package/dist/agents/addressing/useAgentHref.d.ts +29 -0
- package/dist/agents/addressing/useAgentHref.js +71 -0
- package/dist/agents/agent-context/buildAgentBuilderContextData.d.ts +26 -0
- package/dist/agents/agent-context/buildAgentBuilderContextData.js +31 -0
- package/dist/agents/agent-context/resource-reference.d.ts +21 -0
- package/dist/agents/agent-context/resource-reference.js +31 -0
- package/dist/agents/agents-hub-catalog-filter-contract.d.ts +26 -0
- package/dist/agents/agents-hub-catalog-filter-contract.js +143 -0
- package/dist/agents/api/fetch-pending-calls.d.ts +41 -0
- package/dist/agents/api/fetch-pending-calls.js +73 -0
- package/dist/agents/api/person-declined-tool-output.d.ts +46 -0
- package/dist/agents/api/person-declined-tool-output.js +18 -0
- package/dist/agents/api/settle-client-tool-call.d.ts +45 -0
- package/dist/agents/api/settle-client-tool-call.js +70 -0
- package/dist/agents/api/submit-tool-results.d.ts +106 -0
- package/dist/agents/api/submit-tool-results.js +264 -0
- package/dist/agents/components/AutoSubmitForm.d.ts +5 -0
- package/dist/agents/components/AutoSubmitForm.js +16 -0
- package/dist/agents/components/agent-widgets/AgentChatBubble.d.ts +6 -0
- package/dist/agents/components/agent-widgets/AgentChatBubble.js +67 -0
- package/dist/agents/components/agent-widgets/AgentChatHistorySidebar.d.ts +5 -0
- package/dist/agents/components/agent-widgets/AgentChatHistorySidebar.js +131 -0
- package/dist/agents/components/agent-widgets/AgentCompactModal.d.ts +6 -0
- package/dist/agents/components/agent-widgets/AgentCompactModal.js +44 -0
- package/dist/agents/components/agent-widgets/AgentFlexiblePanel.d.ts +8 -0
- package/dist/agents/components/agent-widgets/AgentFlexiblePanel.js +48 -0
- package/dist/agents/components/agent-widgets/AgentFloatingChat.d.ts +8 -0
- package/dist/agents/components/agent-widgets/AgentFloatingChat.js +48 -0
- package/dist/agents/components/agent-widgets/AgentFullModal.d.ts +6 -0
- package/dist/agents/components/agent-widgets/AgentFullModal.js +43 -0
- package/dist/agents/components/agent-widgets/AgentInlineOverlay.d.ts +6 -0
- package/dist/agents/components/agent-widgets/AgentInlineOverlay.js +88 -0
- package/dist/agents/components/agent-widgets/AgentPanelOverlay.d.ts +6 -0
- package/dist/agents/components/agent-widgets/AgentPanelOverlay.js +45 -0
- package/dist/agents/components/agent-widgets/AgentSidebarOverlay.d.ts +6 -0
- package/dist/agents/components/agent-widgets/AgentSidebarOverlay.js +45 -0
- package/dist/agents/components/agent-widgets/AgentToastOverlay.d.ts +7 -0
- package/dist/agents/components/agent-widgets/AgentToastOverlay.js +190 -0
- package/dist/agents/components/agent-widgets/ChatCollapsible.d.ts +6 -0
- package/dist/agents/components/agent-widgets/ChatCollapsible.js +150 -0
- package/dist/agents/components/agent-widgets/chat-assistant/AgentChatAssistant.d.ts +7 -0
- package/dist/agents/components/agent-widgets/chat-assistant/AgentChatAssistant.js +162 -0
- package/dist/agents/components/agent-widgets/chat-assistant/AssistantCardStack.d.ts +11 -0
- package/dist/agents/components/agent-widgets/chat-assistant/AssistantCardStack.js +131 -0
- package/dist/agents/components/agent-widgets/chat-assistant/AssistantControlBar.d.ts +12 -0
- package/dist/agents/components/agent-widgets/chat-assistant/AssistantControlBar.js +82 -0
- package/dist/agents/components/agent-widgets/chat-assistant/AssistantMessageCard.d.ts +7 -0
- package/dist/agents/components/agent-widgets/chat-assistant/AssistantMessageCard.js +33 -0
- package/dist/agents/components/agent-widgets/chat-assistant/ChatAssistantVariableInputs.d.ts +6 -0
- package/dist/agents/components/agent-widgets/chat-assistant/ChatAssistantVariableInputs.js +199 -0
- package/dist/agents/components/agent-widgets/chat-assistant/CompactAssistantInput.d.ts +5 -0
- package/dist/agents/components/agent-widgets/chat-assistant/CompactAssistantInput.js +224 -0
- package/dist/agents/components/agent-widgets/chat-assistant/StatusCard.d.ts +6 -0
- package/dist/agents/components/agent-widgets/chat-assistant/StatusCard.js +21 -0
- package/dist/agents/components/agent-widgets/chat-assistant/UserMessageCard.d.ts +6 -0
- package/dist/agents/components/agent-widgets/chat-assistant/UserMessageCard.js +11 -0
- package/dist/agents/components/agent-widgets/chat-assistant/VariableInputCard.d.ts +12 -0
- package/dist/agents/components/agent-widgets/chat-assistant/VariableInputCard.js +7 -0
- package/dist/agents/components/agent-widgets/chat-assistant/useAssistantHeartbeat.d.ts +7 -0
- package/dist/agents/components/agent-widgets/chat-assistant/useAssistantHeartbeat.js +43 -0
- package/dist/agents/components/agent-widgets/execution-gates/AgentGateInput.d.ts +7 -0
- package/dist/agents/components/agent-widgets/execution-gates/AgentGateInput.js +150 -0
- package/dist/agents/components/agent-widgets/execution-gates/PreExecutionCard.d.ts +4 -0
- package/dist/agents/components/agent-widgets/execution-gates/PreExecutionCard.js +81 -0
- package/dist/agents/components/agent-widgets/useAgentShellAddress.d.ts +2 -0
- package/dist/agents/components/agent-widgets/useAgentShellAddress.js +17 -0
- package/dist/agents/components/ambient-assistant/ScrollAssistantLauncher.d.ts +13 -0
- package/dist/agents/components/ambient-assistant/ScrollAssistantLauncher.js +91 -0
- package/dist/agents/components/ambient-assistant/ScrollAssistantLauncherImpl.d.ts +4 -0
- package/dist/agents/components/ambient-assistant/ScrollAssistantLauncherImpl.js +249 -0
- package/dist/agents/components/ambient-assistant/ScrollVoiceAssistantLauncherImpl.d.ts +1 -0
- package/dist/agents/components/ambient-assistant/ScrollVoiceAssistantLauncherImpl.js +440 -0
- package/dist/agents/components/ambient-assistant/ambientAssistantMandates.d.ts +32 -0
- package/dist/agents/components/ambient-assistant/ambientAssistantMandates.js +67 -0
- package/dist/agents/components/ambient-assistant/ambientAssistantSuppression.d.ts +4 -0
- package/dist/agents/components/ambient-assistant/ambientAssistantSuppression.js +32 -0
- package/dist/agents/components/ambient-assistant/intelligence-places.d.ts +2 -0
- package/dist/agents/components/ambient-assistant/intelligence-places.js +26 -0
- package/dist/agents/components/chat/ChatConversationRoom.d.ts +38 -0
- package/dist/agents/components/chat/ChatConversationRoom.js +71 -0
- package/dist/agents/components/chat/ChatConversationSurface.d.ts +26 -0
- package/dist/agents/components/chat/ChatConversationSurface.js +456 -0
- package/dist/agents/components/chat/ChatHistorySidebar.d.ts +52 -0
- package/dist/agents/components/chat/ChatHistorySidebar.js +41 -0
- package/dist/agents/components/chat/ChatIncognitoHeaderButton.d.ts +1 -0
- package/dist/agents/components/chat/ChatIncognitoHeaderButton.js +24 -0
- package/dist/agents/components/chat/ChatIncognitoProvider.d.ts +10 -0
- package/dist/agents/components/chat/ChatIncognitoProvider.js +59 -0
- package/dist/agents/components/chat/ChatNewClient.d.ts +42 -0
- package/dist/agents/components/chat/ChatNewClient.js +96 -0
- package/dist/agents/components/chat/ChatNewHeader.d.ts +8 -0
- package/dist/agents/components/chat/ChatNewHeader.js +28 -0
- package/dist/agents/components/chat/ChatRoomClient.d.ts +120 -0
- package/dist/agents/components/chat/ChatRoomClient.js +543 -0
- package/dist/agents/components/chat/ChatRoomSkeleton.d.ts +7 -0
- package/dist/agents/components/chat/ChatRoomSkeleton.js +69 -0
- package/dist/agents/components/chat/ChatRunHeader.d.ts +33 -0
- package/dist/agents/components/chat/ChatRunHeader.js +96 -0
- package/dist/agents/components/chat/ChatSidebarMenu.d.ts +11 -0
- package/dist/agents/components/chat/ChatSidebarMenu.js +316 -0
- package/dist/agents/components/chat/ConversationAttachmentsChip.d.ts +3 -0
- package/dist/agents/components/chat/ConversationAttachmentsChip.js +84 -0
- package/dist/agents/components/chat/ConversationPageMenu.d.ts +10 -0
- package/dist/agents/components/chat/ConversationPageMenu.js +197 -0
- package/dist/agents/components/chat/ConversationRecordsChip.d.ts +3 -0
- package/dist/agents/components/chat/ConversationRecordsChip.js +50 -0
- package/dist/agents/components/chat/ConversationRoomNotice.d.ts +3 -0
- package/dist/agents/components/chat/ConversationRoomNotice.js +76 -0
- package/dist/agents/components/chat/NewChatGreeting.d.ts +25 -0
- package/dist/agents/components/chat/NewChatGreeting.js +70 -0
- package/dist/agents/components/chat/PinnedAgentsSection.d.ts +24 -0
- package/dist/agents/components/chat/PinnedAgentsSection.js +105 -0
- package/dist/agents/components/chat/SandboxPanel.d.ts +5 -0
- package/dist/agents/components/chat/SandboxPanel.js +418 -0
- package/dist/agents/components/chat/agent-context/buildChatContextData.d.ts +103 -0
- package/dist/agents/components/chat/agent-context/buildChatContextData.js +102 -0
- package/dist/agents/components/chat/agent-context/buildChatRunConfiguration.d.ts +25 -0
- package/dist/agents/components/chat/agent-context/buildChatRunConfiguration.js +53 -0
- package/dist/agents/components/chat/agent-context/chatAgentWrites.d.ts +67 -0
- package/dist/agents/components/chat/agent-context/chatAgentWrites.js +242 -0
- package/dist/agents/components/chat/agent-context/chatComposerTextMenu.d.ts +16 -0
- package/dist/agents/components/chat/agent-context/chatComposerTextMenu.js +30 -0
- package/dist/agents/components/chat/agent-context/chatTranscriptScope.d.ts +103 -0
- package/dist/agents/components/chat/agent-context/chatTranscriptScope.js +94 -0
- package/dist/agents/components/chat/begin-fresh-chat.d.ts +67 -0
- package/dist/agents/components/chat/begin-fresh-chat.js +137 -0
- package/dist/agents/components/chat/chat-draft-transfer.d.ts +55 -0
- package/dist/agents/components/chat/chat-draft-transfer.js +68 -0
- package/dist/agents/components/chat/chat-incognito.routes.d.ts +2 -0
- package/dist/agents/components/chat/chat-incognito.routes.js +8 -0
- package/dist/agents/components/chat/chat-quick-actions.config.d.ts +27 -0
- package/dist/agents/components/chat/chat-quick-actions.config.js +7 -0
- package/dist/agents/components/chat/conversation-email-entrance.d.ts +23 -0
- package/dist/agents/components/chat/conversation-email-entrance.js +19 -0
- package/dist/agents/components/chat/in-place-chat-host.d.ts +19 -0
- package/dist/agents/components/chat/in-place-chat-host.js +39 -0
- package/dist/agents/components/chat/intelligence-places.d.ts +2 -0
- package/dist/agents/components/chat/intelligence-places.js +78 -0
- package/dist/agents/components/chat/new-chat-about.d.ts +57 -0
- package/dist/agents/components/chat/new-chat-about.js +65 -0
- package/dist/agents/components/chat/sandbox-insight/SandboxActivityFeed.d.ts +14 -0
- package/dist/agents/components/chat/sandbox-insight/SandboxActivityFeed.js +117 -0
- package/dist/agents/components/chat/sandbox-insight/SandboxCanvasBody.d.ts +43 -0
- package/dist/agents/components/chat/sandbox-insight/SandboxCanvasBody.js +193 -0
- package/dist/agents/components/chat/sandbox-insight/SandboxCanvasOpener.d.ts +4 -0
- package/dist/agents/components/chat/sandbox-insight/SandboxCanvasOpener.js +126 -0
- package/dist/agents/components/chat/sandbox-insight/liveSourceReachability.d.ts +59 -0
- package/dist/agents/components/chat/sandbox-insight/liveSourceReachability.js +12 -0
- package/dist/agents/components/chat/sandbox-insight/revealMemory.d.ts +39 -0
- package/dist/agents/components/chat/sandbox-insight/revealMemory.js +67 -0
- package/dist/agents/components/chat/sandbox-insight/sandbox-activity.d.ts +46 -0
- package/dist/agents/components/chat/sandbox-insight/sandbox-activity.js +120 -0
- package/dist/agents/components/chat/sandbox-insight/sandboxCanvasMemory.d.ts +19 -0
- package/dist/agents/components/chat/sandbox-insight/sandboxCanvasMemory.js +18 -0
- package/dist/agents/components/chat/sandbox-insight/useOpenSandboxCanvas.d.ts +84 -0
- package/dist/agents/components/chat/sandbox-insight/useOpenSandboxCanvas.js +76 -0
- package/dist/agents/components/chat/useCanvasScopedToConversation.d.ts +14 -0
- package/dist/agents/components/chat/useCanvasScopedToConversation.js +64 -0
- package/dist/agents/components/chat/usePreparedResourceSeed.d.ts +19 -0
- package/dist/agents/components/chat/usePreparedResourceSeed.js +40 -0
- package/dist/agents/components/coming-soon/AgentComingSoonContent.d.ts +11 -0
- package/dist/agents/components/coming-soon/AgentComingSoonContent.js +43 -0
- package/dist/agents/components/context-items/ContextItemViewer.d.ts +11 -0
- package/dist/agents/components/context-items/ContextItemViewer.js +109 -0
- package/dist/agents/components/context-items/bodies/BookmarkReferenceBody.d.ts +12 -0
- package/dist/agents/components/context-items/bodies/BookmarkReferenceBody.js +20 -0
- package/dist/agents/components/context-items/bodies/ContextInputBody.d.ts +3 -0
- package/dist/agents/components/context-items/bodies/ContextInputBody.js +37 -0
- package/dist/agents/components/context-items/bodies/ContextLayerBodies.d.ts +4 -0
- package/dist/agents/components/context-items/bodies/ContextLayerBodies.js +183 -0
- package/dist/agents/components/context-items/bodies/DataBody.d.ts +2 -0
- package/dist/agents/components/context-items/bodies/DataBody.js +18 -0
- package/dist/agents/components/context-items/bodies/EntityReferenceBody.d.ts +3 -0
- package/dist/agents/components/context-items/bodies/EntityReferenceBody.js +44 -0
- package/dist/agents/components/context-items/bodies/GenericBody.d.ts +12 -0
- package/dist/agents/components/context-items/bodies/GenericBody.js +42 -0
- package/dist/agents/components/context-items/bodies/MediaBody.d.ts +3 -0
- package/dist/agents/components/context-items/bodies/MediaBody.js +101 -0
- package/dist/agents/components/context-items/bodies/NoteBody.d.ts +3 -0
- package/dist/agents/components/context-items/bodies/NoteBody.js +15 -0
- package/dist/agents/components/context-items/bodies/ProcessedDocumentBody.d.ts +2 -0
- package/dist/agents/components/context-items/bodies/ProcessedDocumentBody.js +56 -0
- package/dist/agents/components/context-items/bodies/ProcessedDocumentTitle.d.ts +2 -0
- package/dist/agents/components/context-items/bodies/ProcessedDocumentTitle.js +48 -0
- package/dist/agents/components/context-items/bodies/RemarkBody.d.ts +2 -0
- package/dist/agents/components/context-items/bodies/RemarkBody.js +19 -0
- package/dist/agents/components/context-items/bodies/ResourceSnapshotView.d.ts +7 -0
- package/dist/agents/components/context-items/bodies/ResourceSnapshotView.js +16 -0
- package/dist/agents/components/context-items/bodies/TaskBody.d.ts +1 -0
- package/dist/agents/components/context-items/bodies/TaskBody.js +11 -0
- package/dist/agents/components/context-items/bodies/UnregisteredBody.d.ts +7 -0
- package/dist/agents/components/context-items/bodies/UnregisteredBody.js +15 -0
- package/dist/agents/components/context-items/bodies/WebpageBody.d.ts +3 -0
- package/dist/agents/components/context-items/bodies/WebpageBody.js +81 -0
- package/dist/agents/components/context-items/bodies/WorkingDocumentBody.d.ts +6 -0
- package/dist/agents/components/context-items/bodies/WorkingDocumentBody.js +58 -0
- package/dist/agents/components/context-items/context-item-block-types.d.ts +16 -0
- package/dist/agents/components/context-items/context-item-block-types.js +43 -0
- package/dist/agents/components/context-items/contextItemsTab.d.ts +42 -0
- package/dist/agents/components/context-items/contextItemsTab.js +79 -0
- package/dist/agents/components/context-items/normalize.d.ts +37 -0
- package/dist/agents/components/context-items/normalize.js +321 -0
- package/dist/agents/components/context-items/recontext.d.ts +25 -0
- package/dist/agents/components/context-items/recontext.js +21 -0
- package/dist/agents/components/context-items/registry.d.ts +34 -0
- package/dist/agents/components/context-items/registry.js +369 -0
- package/dist/agents/components/context-items/remark-display.d.ts +13 -0
- package/dist/agents/components/context-items/remark-display.js +24 -0
- package/dist/agents/components/context-items/types.d.ts +162 -0
- package/dist/agents/components/context-items/types.js +0 -0
- package/dist/agents/components/context-items/useActiveContextLayerItems.d.ts +8 -0
- package/dist/agents/components/context-items/useActiveContextLayerItems.js +105 -0
- package/dist/agents/components/context-policies-display/ContextPolicyChip.d.ts +12 -0
- package/dist/agents/components/context-policies-display/ContextPolicyChip.js +51 -0
- package/dist/agents/components/context-policies-display/ContextPolicyChipStrip.d.ts +12 -0
- package/dist/agents/components/context-policies-display/ContextPolicyChipStrip.js +66 -0
- package/dist/agents/components/context-policies-display/ContextPolicyDetail.d.ts +13 -0
- package/dist/agents/components/context-policies-display/ContextPolicyDetail.js +127 -0
- package/dist/agents/components/context-policies-display/ContextPolicyItemsPopover.d.ts +11 -0
- package/dist/agents/components/context-policies-display/ContextPolicyItemsPopover.js +98 -0
- package/dist/agents/components/context-policies-display/ContextPolicyTile.d.ts +16 -0
- package/dist/agents/components/context-policies-display/ContextPolicyTile.js +45 -0
- package/dist/agents/components/context-policies-display/ContextRulesPanel.d.ts +14 -0
- package/dist/agents/components/context-policies-display/ContextRulesPanel.js +116 -0
- package/dist/agents/components/context-policies-display/ContextValueBody.d.ts +8 -0
- package/dist/agents/components/context-policies-display/ContextValueBody.js +83 -0
- package/dist/agents/components/context-policies-display/MessageContextReceipt.d.ts +67 -0
- package/dist/agents/components/context-policies-display/MessageContextReceipt.js +211 -0
- package/dist/agents/components/context-policies-display/ValueCountPill.d.ts +20 -0
- package/dist/agents/components/context-policies-display/ValueCountPill.js +24 -0
- package/dist/agents/components/context-policies-display/contextEntryLabel.d.ts +4 -0
- package/dist/agents/components/context-policies-display/contextEntryLabel.js +9 -0
- package/dist/agents/components/context-policies-display/contextPolicyIcons.d.ts +5 -0
- package/dist/agents/components/context-policies-display/contextPolicyIcons.js +43 -0
- package/dist/agents/components/context-policies-display/contextPolicyPreview.d.ts +14 -0
- package/dist/agents/components/context-policies-display/contextPolicyPreview.js +62 -0
- package/dist/agents/components/context-policies-display/contextPolicyTile.theme.d.ts +9 -0
- package/dist/agents/components/context-policies-display/contextPolicyTile.theme.js +71 -0
- package/dist/agents/components/context-policies-display/contextValueTab.d.ts +32 -0
- package/dist/agents/components/context-policies-display/contextValueTab.js +63 -0
- package/dist/agents/components/context-policies-display/contextValueUtils.d.ts +15 -0
- package/dist/agents/components/context-policies-display/contextValueUtils.js +49 -0
- package/dist/agents/components/context-policies-display/knownContextValues.d.ts +56 -0
- package/dist/agents/components/context-policies-display/knownContextValues.js +220 -0
- package/dist/agents/components/context-policies-display/war-room-context-key.d.ts +2 -0
- package/dist/agents/components/context-policies-display/war-room-context-key.js +4 -0
- package/dist/agents/components/context-preview/AttachedContextSection.d.ts +3 -0
- package/dist/agents/components/context-preview/AttachedContextSection.js +315 -0
- package/dist/agents/components/context-preview/ContextCompareView.d.ts +42 -0
- package/dist/agents/components/context-preview/ContextCompareView.js +754 -0
- package/dist/agents/components/context-preview/ContextPreviewPanel.d.ts +5 -0
- package/dist/agents/components/context-preview/ContextPreviewPanel.js +445 -0
- package/dist/agents/components/context-preview/SystemItemsLine.d.ts +15 -0
- package/dist/agents/components/context-preview/SystemItemsLine.js +36 -0
- package/dist/agents/components/context-preview/inspector/ContextInspector.d.ts +18 -0
- package/dist/agents/components/context-preview/inspector/ContextInspector.js +262 -0
- package/dist/agents/components/context-preview/inspector/ContextParityLastRun.d.ts +30 -0
- package/dist/agents/components/context-preview/inspector/ContextParityLastRun.js +127 -0
- package/dist/agents/components/context-preview/inspector/selection.d.ts +70 -0
- package/dist/agents/components/context-preview/inspector/selection.js +81 -0
- package/dist/agents/components/context-preview/useContextPreview.d.ts +41 -0
- package/dist/agents/components/context-preview/useContextPreview.js +97 -0
- package/dist/agents/components/conversation-actions/conversation-verbs.d.ts +36 -0
- package/dist/agents/components/conversation-actions/conversation-verbs.js +88 -0
- package/dist/agents/components/conversation-actions/conversationActionRegistry.d.ts +84 -0
- package/dist/agents/components/conversation-actions/conversationActionRegistry.js +280 -0
- package/dist/agents/components/conversation-actions/rename/ConversationRenameDialogHost.d.ts +1 -0
- package/dist/agents/components/conversation-actions/rename/ConversationRenameDialogHost.js +9 -0
- package/dist/agents/components/conversation-actions/rename/ConversationRenameDialogHostImpl.d.ts +7 -0
- package/dist/agents/components/conversation-actions/rename/ConversationRenameDialogHostImpl.js +38 -0
- package/dist/agents/components/conversation-actions/rename/conversationRenameOpener.d.ts +12 -0
- package/dist/agents/components/conversation-actions/rename/conversationRenameOpener.js +8 -0
- package/dist/agents/components/conversation-history/ConversationHistorySidebar.d.ts +153 -0
- package/dist/agents/components/conversation-history/ConversationHistorySidebar.js +1110 -0
- package/dist/agents/components/conversation-history/ConversationLaneToggles.d.ts +28 -0
- package/dist/agents/components/conversation-history/ConversationLaneToggles.js +92 -0
- package/dist/agents/components/conversation-history/ConversationPickerWindow.d.ts +20 -0
- package/dist/agents/components/conversation-history/ConversationPickerWindow.js +74 -0
- package/dist/agents/components/conversation-history/ConversationSearchStatus.d.ts +9 -0
- package/dist/agents/components/conversation-history/ConversationSearchStatus.js +41 -0
- package/dist/agents/components/conversation-history/ConversationSourceFilterTree.d.ts +14 -0
- package/dist/agents/components/conversation-history/ConversationSourceFilterTree.js +725 -0
- package/dist/agents/components/conversation-history/ConversationTrashSection.d.ts +7 -0
- package/dist/agents/components/conversation-history/ConversationTrashSection.js +106 -0
- package/dist/agents/components/conversation-history/useConversationServerSearch.d.ts +31 -0
- package/dist/agents/components/conversation-history/useConversationServerSearch.js +183 -0
- package/dist/agents/components/custom-agent/CustomAgentWindow.d.ts +8 -0
- package/dist/agents/components/custom-agent/CustomAgentWindow.js +244 -0
- package/dist/agents/components/custom-agent/custom-agent-plan.d.ts +39 -0
- package/dist/agents/components/custom-agent/custom-agent-plan.js +85 -0
- package/dist/agents/components/custom-agent/session.d.ts +12 -0
- package/dist/agents/components/custom-agent/session.js +19 -0
- package/dist/agents/components/debug/DebugSessionActivator.d.ts +1 -0
- package/dist/agents/components/debug/DebugSessionActivator.js +19 -0
- package/dist/agents/components/debug/RoutingPanel.d.ts +3 -0
- package/dist/agents/components/debug/RoutingPanel.js +112 -0
- package/dist/agents/components/debug/SandboxFileViewer.d.ts +10 -0
- package/dist/agents/components/debug/SandboxFileViewer.js +104 -0
- package/dist/agents/components/debug/SandboxInsightPanel.d.ts +3 -0
- package/dist/agents/components/debug/SandboxInsightPanel.js +56 -0
- package/dist/agents/components/debug/StreamDebugFloating.d.ts +17 -0
- package/dist/agents/components/debug/StreamDebugFloating.js +40 -0
- package/dist/agents/components/debug/StreamDebugPanel.d.ts +18 -0
- package/dist/agents/components/debug/StreamDebugPanel.js +1587 -0
- package/dist/agents/components/inputs/AgentVariablesInline.d.ts +12 -0
- package/dist/agents/components/inputs/AgentVariablesInline.js +415 -0
- package/dist/agents/components/inputs/BoundVariableChips.d.ts +5 -0
- package/dist/agents/components/inputs/BoundVariableChips.js +284 -0
- package/dist/agents/components/inputs/DataBoundVariableChips.d.ts +3 -0
- package/dist/agents/components/inputs/DataBoundVariableChips.js +68 -0
- package/dist/agents/components/inputs/PreExecutionAgentInput.d.ts +5 -0
- package/dist/agents/components/inputs/PreExecutionAgentInput.js +52 -0
- package/dist/agents/components/inputs/RowChoicesButton.d.ts +9 -0
- package/dist/agents/components/inputs/RowChoicesButton.js +66 -0
- package/dist/agents/components/inputs/collapsed-row.d.ts +46 -0
- package/dist/agents/components/inputs/collapsed-row.js +42 -0
- package/dist/agents/components/inputs/input-components/AudioVariableInput.d.ts +4 -0
- package/dist/agents/components/inputs/input-components/AudioVariableInput.js +11 -0
- package/dist/agents/components/inputs/input-components/CheckboxGroupInput.d.ts +14 -0
- package/dist/agents/components/inputs/input-components/CheckboxGroupInput.js +148 -0
- package/dist/agents/components/inputs/input-components/CurrencyVariableInput.d.ts +15 -0
- package/dist/agents/components/inputs/input-components/CurrencyVariableInput.js +98 -0
- package/dist/agents/components/inputs/input-components/DocumentVariableInput.d.ts +4 -0
- package/dist/agents/components/inputs/input-components/DocumentVariableInput.js +11 -0
- package/dist/agents/components/inputs/input-components/ImageVariableInput.d.ts +4 -0
- package/dist/agents/components/inputs/input-components/ImageVariableInput.js +11 -0
- package/dist/agents/components/inputs/input-components/MediaVariableInput.d.ts +15 -0
- package/dist/agents/components/inputs/input-components/MediaVariableInput.js +333 -0
- package/dist/agents/components/inputs/input-components/NumberInput.d.ts +19 -0
- package/dist/agents/components/inputs/input-components/NumberInput.js +102 -0
- package/dist/agents/components/inputs/input-components/PicklistVariableInput.d.ts +24 -0
- package/dist/agents/components/inputs/input-components/PicklistVariableInput.js +168 -0
- package/dist/agents/components/inputs/input-components/PillToggleInput.d.ts +17 -0
- package/dist/agents/components/inputs/input-components/PillToggleInput.js +19 -0
- package/dist/agents/components/inputs/input-components/RadioGroupInput.d.ts +17 -0
- package/dist/agents/components/inputs/input-components/RadioGroupInput.js +97 -0
- package/dist/agents/components/inputs/input-components/ScalarVariableInput.d.ts +11 -0
- package/dist/agents/components/inputs/input-components/ScalarVariableInput.js +115 -0
- package/dist/agents/components/inputs/input-components/SelectInput.d.ts +20 -0
- package/dist/agents/components/inputs/input-components/SelectInput.js +175 -0
- package/dist/agents/components/inputs/input-components/SliderInput.d.ts +20 -0
- package/dist/agents/components/inputs/input-components/SliderInput.js +54 -0
- package/dist/agents/components/inputs/input-components/TableVariableInput.d.ts +14 -0
- package/dist/agents/components/inputs/input-components/TableVariableInput.js +71 -0
- package/dist/agents/components/inputs/input-components/TextareaInput.d.ts +27 -0
- package/dist/agents/components/inputs/input-components/TextareaInput.js +55 -0
- package/dist/agents/components/inputs/input-components/ToggleInput.d.ts +17 -0
- package/dist/agents/components/inputs/input-components/ToggleInput.js +61 -0
- package/dist/agents/components/inputs/input-components/VariableInputComponent.d.ts +46 -0
- package/dist/agents/components/inputs/input-components/VariableInputComponent.js +388 -0
- package/dist/agents/components/inputs/input-components/VideoVariableInput.d.ts +4 -0
- package/dist/agents/components/inputs/input-components/VideoVariableInput.js +11 -0
- package/dist/agents/components/inputs/input-components/YoutubeVariableInput.d.ts +14 -0
- package/dist/agents/components/inputs/input-components/YoutubeVariableInput.js +91 -0
- package/dist/agents/components/inputs/input-components/focusWithoutScroll.d.ts +10 -0
- package/dist/agents/components/inputs/input-components/focusWithoutScroll.js +6 -0
- package/dist/agents/components/inputs/input-components/useContainerColumns.d.ts +17 -0
- package/dist/agents/components/inputs/input-components/useContainerColumns.js +22 -0
- package/dist/agents/components/inputs/input-components/variablePlaceholder.d.ts +27 -0
- package/dist/agents/components/inputs/input-components/variablePlaceholder.js +6 -0
- package/dist/agents/components/inputs/resources/AttachedDocumentChip.d.ts +21 -0
- package/dist/agents/components/inputs/resources/AttachedDocumentChip.js +178 -0
- package/dist/agents/components/inputs/resources/AttachedDocumentChips.d.ts +10 -0
- package/dist/agents/components/inputs/resources/AttachedDocumentChips.js +344 -0
- package/dist/agents/components/inputs/resources/ResourceFamilyPolicyEditor.d.ts +14 -0
- package/dist/agents/components/inputs/resources/ResourceFamilyPolicyEditor.js +277 -0
- package/dist/agents/components/inputs/resources/SmartAgentResourceChips.d.ts +12 -0
- package/dist/agents/components/inputs/resources/SmartAgentResourceChips.js +313 -0
- package/dist/agents/components/inputs/resources/SmartAgentResourcePickerButton.d.ts +18 -0
- package/dist/agents/components/inputs/resources/SmartAgentResourcePickerButton.js +66 -0
- package/dist/agents/components/inputs/resources/attach-resource.d.ts +34 -0
- package/dist/agents/components/inputs/resources/attach-resource.js +349 -0
- package/dist/agents/components/inputs/resources/attached-documents.d.ts +86 -0
- package/dist/agents/components/inputs/resources/attached-documents.js +104 -0
- package/dist/agents/components/inputs/resources/resource-family-policy.d.ts +9 -0
- package/dist/agents/components/inputs/resources/resource-family-policy.js +84 -0
- package/dist/agents/components/inputs/resources/resource-family-words.d.ts +29 -0
- package/dist/agents/components/inputs/resources/resource-family-words.js +71 -0
- package/dist/agents/components/inputs/resources/useAttachedFileIds.d.ts +4 -0
- package/dist/agents/components/inputs/resources/useAttachedFileIds.js +46 -0
- package/dist/agents/components/inputs/resources/usePasteImageResource.d.ts +17 -0
- package/dist/agents/components/inputs/resources/usePasteImageResource.js +162 -0
- package/dist/agents/components/inputs/smart-input/AgentMicrophoneButton.d.ts +52 -0
- package/dist/agents/components/inputs/smart-input/AgentMicrophoneButton.js +99 -0
- package/dist/agents/components/inputs/smart-input/AgentTextarea.d.ts +66 -0
- package/dist/agents/components/inputs/smart-input/AgentTextarea.js +364 -0
- package/dist/agents/components/inputs/smart-input/ChatConnectionsStrip.d.ts +24 -0
- package/dist/agents/components/inputs/smart-input/ChatConnectionsStrip.js +278 -0
- package/dist/agents/components/inputs/smart-input/ComposerChip.d.ts +63 -0
- package/dist/agents/components/inputs/smart-input/ComposerChip.js +184 -0
- package/dist/agents/components/inputs/smart-input/ComposerDraftNotice.d.ts +6 -0
- package/dist/agents/components/inputs/smart-input/ComposerDraftNotice.js +35 -0
- package/dist/agents/components/inputs/smart-input/ComposerToolsNotice.d.ts +6 -0
- package/dist/agents/components/inputs/smart-input/ComposerToolsNotice.js +52 -0
- package/dist/agents/components/inputs/smart-input/ComputeLensBar.d.ts +7 -0
- package/dist/agents/components/inputs/smart-input/ComputeLensBar.js +229 -0
- package/dist/agents/components/inputs/smart-input/ContextDocsMenu.d.ts +9 -0
- package/dist/agents/components/inputs/smart-input/ContextDocsMenu.js +247 -0
- package/dist/agents/components/inputs/smart-input/ConversationContextChip.d.ts +56 -0
- package/dist/agents/components/inputs/smart-input/ConversationContextChip.js +224 -0
- package/dist/agents/components/inputs/smart-input/ConversationContextRail.d.ts +44 -0
- package/dist/agents/components/inputs/smart-input/ConversationContextRail.js +461 -0
- package/dist/agents/components/inputs/smart-input/DesktopPresenceIndicator.d.ts +5 -0
- package/dist/agents/components/inputs/smart-input/DesktopPresenceIndicator.js +101 -0
- package/dist/agents/components/inputs/smart-input/InboxQueueStrip.d.ts +30 -0
- package/dist/agents/components/inputs/smart-input/InboxQueueStrip.js +296 -0
- package/dist/agents/components/inputs/smart-input/InputActionButtons.d.ts +81 -0
- package/dist/agents/components/inputs/smart-input/InputActionButtons.js +275 -0
- package/dist/agents/components/inputs/smart-input/PlusAttachMenu.d.ts +19 -0
- package/dist/agents/components/inputs/smart-input/PlusAttachMenu.js +304 -0
- package/dist/agents/components/inputs/smart-input/QuicksetPanel.d.ts +8 -0
- package/dist/agents/components/inputs/smart-input/QuicksetPanel.js +312 -0
- package/dist/agents/components/inputs/smart-input/RunControlsMenu.d.ts +31 -0
- package/dist/agents/components/inputs/smart-input/RunControlsMenu.js +264 -0
- package/dist/agents/components/inputs/smart-input/RunControlsTabPanel.d.ts +67 -0
- package/dist/agents/components/inputs/smart-input/RunControlsTabPanel.js +306 -0
- package/dist/agents/components/inputs/smart-input/RunPicksSurface.d.ts +90 -0
- package/dist/agents/components/inputs/smart-input/RunPicksSurface.js +274 -0
- package/dist/agents/components/inputs/smart-input/RunSkillPicker.d.ts +3 -0
- package/dist/agents/components/inputs/smart-input/RunSkillPicker.js +191 -0
- package/dist/agents/components/inputs/smart-input/RunToolPicker.d.ts +3 -0
- package/dist/agents/components/inputs/smart-input/RunToolPicker.js +267 -0
- package/dist/agents/components/inputs/smart-input/ShapeChipsRow.d.ts +23 -0
- package/dist/agents/components/inputs/smart-input/ShapeChipsRow.js +68 -0
- package/dist/agents/components/inputs/smart-input/SmartAgentInput.d.ts +48 -0
- package/dist/agents/components/inputs/smart-input/SmartAgentInput.js +80 -0
- package/dist/agents/components/inputs/smart-input/SmartAgentInputStacked.d.ts +44 -0
- package/dist/agents/components/inputs/smart-input/SmartAgentInputStacked.js +348 -0
- package/dist/agents/components/inputs/smart-input/SmartInputFileDropTarget.d.ts +8 -0
- package/dist/agents/components/inputs/smart-input/SmartInputFileDropTarget.js +62 -0
- package/dist/agents/components/inputs/smart-input/UninitializedShell.d.ts +2 -0
- package/dist/agents/components/inputs/smart-input/UninitializedShell.js +30 -0
- package/dist/agents/components/inputs/smart-input/ViewOnlyComposerBar.d.ts +1 -0
- package/dist/agents/components/inputs/smart-input/ViewOnlyComposerBar.js +21 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerAgentPill.d.ts +15 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerAgentPill.js +284 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerChipsRow.d.ts +9 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerChipsRow.js +91 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerConnectPromo.d.ts +5 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerConnectPromo.js +55 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerConnectorsPanel.d.ts +5 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerConnectorsPanel.js +168 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerEffortPill.d.ts +28 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerEffortPill.js +119 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerMenu.d.ts +131 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerMenu.js +362 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerMenuSheet.d.ts +21 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerMenuSheet.js +72 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerMetaRow.d.ts +35 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerMetaRow.js +103 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerModeSwitch.d.ts +9 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerModeSwitch.js +99 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerOutput.d.ts +10 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerOutput.js +368 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerPlusMenu.d.ts +64 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerPlusMenu.js +520 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerSplash.d.ts +28 -0
- package/dist/agents/components/inputs/smart-input/composer/ComposerSplash.js +151 -0
- package/dist/agents/components/inputs/smart-input/composer/agent-output-filter.d.ts +27 -0
- package/dist/agents/components/inputs/smart-input/composer/agent-output-filter.js +43 -0
- package/dist/agents/components/inputs/smart-input/composer/already-answering.d.ts +9 -0
- package/dist/agents/components/inputs/smart-input/composer/already-answering.js +10 -0
- package/dist/agents/components/inputs/smart-input/composer/composer-chip.d.ts +16 -0
- package/dist/agents/components/inputs/smart-input/composer/composer-chip.js +13 -0
- package/dist/agents/components/inputs/smart-input/composer/composer-mode-cookie.d.ts +57 -0
- package/dist/agents/components/inputs/smart-input/composer/composer-mode-cookie.js +43 -0
- package/dist/agents/components/inputs/smart-input/composer/composer-mode-visibility.d.ts +24 -0
- package/dist/agents/components/inputs/smart-input/composer/composer-mode-visibility.js +50 -0
- package/dist/agents/components/inputs/smart-input/composer/composer-types.d.ts +86 -0
- package/dist/agents/components/inputs/smart-input/composer/composer-types.js +14 -0
- package/dist/agents/components/inputs/smart-input/composer/output-selection.d.ts +107 -0
- package/dist/agents/components/inputs/smart-input/composer/output-selection.js +186 -0
- package/dist/agents/components/inputs/smart-input/composer/useCompactInputMaxHeight.d.ts +6 -0
- package/dist/agents/components/inputs/smart-input/composer/useCompactInputMaxHeight.js +25 -0
- package/dist/agents/components/inputs/smart-input/composer/useComposerAgent.d.ts +26 -0
- package/dist/agents/components/inputs/smart-input/composer/useComposerAgent.js +87 -0
- package/dist/agents/components/inputs/smart-input/composer/useComposerAgentFilter.d.ts +6 -0
- package/dist/agents/components/inputs/smart-input/composer/useComposerAgentFilter.js +20 -0
- package/dist/agents/components/inputs/smart-input/composer/useComposerFold.d.ts +14 -0
- package/dist/agents/components/inputs/smart-input/composer/useComposerFold.js +21 -0
- package/dist/agents/components/inputs/smart-input/composer/useComposerMode.d.ts +8 -0
- package/dist/agents/components/inputs/smart-input/composer/useComposerMode.js +55 -0
- package/dist/agents/components/inputs/smart-input/composer/useOutputShapeCatalog.d.ts +37 -0
- package/dist/agents/components/inputs/smart-input/composer/useOutputShapeCatalog.js +151 -0
- package/dist/agents/components/inputs/smart-input/prepend-template-to-draft.d.ts +5 -0
- package/dist/agents/components/inputs/smart-input/prepend-template-to-draft.js +9 -0
- package/dist/agents/components/inputs/smart-input/run-tool-catalog.d.ts +23 -0
- package/dist/agents/components/inputs/smart-input/run-tool-catalog.js +35 -0
- package/dist/agents/components/inputs/smart-input/shape-chips.d.ts +29 -0
- package/dist/agents/components/inputs/smart-input/shape-chips.js +10 -0
- package/dist/agents/components/inputs/smart-input/textarea-line-grid.d.ts +17 -0
- package/dist/agents/components/inputs/smart-input/textarea-line-grid.js +17 -0
- package/dist/agents/components/inputs/smart-input/use-compute-target-actions.d.ts +34 -0
- package/dist/agents/components/inputs/smart-input/use-compute-target-actions.js +130 -0
- package/dist/agents/components/inputs/smart-input/useCompanionValuesPreview.d.ts +3 -0
- package/dist/agents/components/inputs/smart-input/useCompanionValuesPreview.js +40 -0
- package/dist/agents/components/inputs/smart-input/useConversationDisplayRows.d.ts +12 -0
- package/dist/agents/components/inputs/smart-input/useConversationDisplayRows.js +65 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariableCards.d.ts +6 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariableCards.js +282 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariableForm.d.ts +5 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariableForm.js +439 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariablesGuided.d.ts +8 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariablesGuided.js +708 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariablesStacked.d.ts +5 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariablesStacked.js +83 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariablesWizard.d.ts +9 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariablesWizard.js +127 -0
- package/dist/agents/components/inputs/variable-input-variations/SmartAgentVariables.d.ts +12 -0
- package/dist/agents/components/inputs/variable-input-variations/SmartAgentVariables.js +67 -0
- package/dist/agents/components/inputs/variable-input-variations/variable-input-options.d.ts +29 -0
- package/dist/agents/components/inputs/variable-input-variations/variable-input-options.js +259 -0
- package/dist/agents/components/live-run/LiveRunDisplay.d.ts +39 -0
- package/dist/agents/components/live-run/LiveRunDisplay.js +138 -0
- package/dist/agents/components/live-run/LiveRunProgress.d.ts +33 -0
- package/dist/agents/components/live-run/LiveRunProgress.js +146 -0
- package/dist/agents/components/live-run/RunSetDisplay.d.ts +48 -0
- package/dist/agents/components/live-run/RunSetDisplay.js +87 -0
- package/dist/agents/components/live-run/useLiveRunStatus.d.ts +18 -0
- package/dist/agents/components/live-run/useLiveRunStatus.js +109 -0
- package/dist/agents/components/memory/components/AgentMemoryAllView.d.ts +6 -0
- package/dist/agents/components/memory/components/AgentMemoryAllView.js +78 -0
- package/dist/agents/components/memory/components/AgentMemoryBody.d.ts +6 -0
- package/dist/agents/components/memory/components/AgentMemoryBody.js +19 -0
- package/dist/agents/components/memory/components/AgentMemoryEditor.d.ts +8 -0
- package/dist/agents/components/memory/components/AgentMemoryEditor.js +82 -0
- package/dist/agents/components/memory/components/AgentMemoryFooter.d.ts +6 -0
- package/dist/agents/components/memory/components/AgentMemoryFooter.js +94 -0
- package/dist/agents/components/memory/components/AgentMemoryInlinePanel.d.ts +1 -0
- package/dist/agents/components/memory/components/AgentMemoryInlinePanel.js +34 -0
- package/dist/agents/components/memory/components/AgentMemorySidebar.d.ts +6 -0
- package/dist/agents/components/memory/components/AgentMemorySidebar.js +196 -0
- package/dist/agents/components/memory/hooks/useAgentMemories.d.ts +82 -0
- package/dist/agents/components/memory/hooks/useAgentMemories.js +221 -0
- package/dist/agents/components/memory/service/agent-memory.service.d.ts +19 -0
- package/dist/agents/components/memory/service/agent-memory.service.js +90 -0
- package/dist/agents/components/memory/types.d.ts +34 -0
- package/dist/agents/components/memory/types.js +21 -0
- package/dist/agents/components/messages-display/AgentConversationDisplay.d.ts +16 -0
- package/dist/agents/components/messages-display/AgentConversationDisplay.js +413 -0
- package/dist/agents/components/messages-display/MessageAttachmentStrip.d.ts +9 -0
- package/dist/agents/components/messages-display/MessageAttachmentStrip.js +59 -0
- package/dist/agents/components/messages-display/MessageTimestamp.d.ts +14 -0
- package/dist/agents/components/messages-display/MessageTimestamp.js +65 -0
- package/dist/agents/components/messages-display/TranscriptIntegrityCopyButton.d.ts +7 -0
- package/dist/agents/components/messages-display/TranscriptIntegrityCopyButton.js +81 -0
- package/dist/agents/components/messages-display/assistant/AgentAssistantMessage.d.ts +45 -0
- package/dist/agents/components/messages-display/assistant/AgentAssistantMessage.js +523 -0
- package/dist/agents/components/messages-display/assistant/AgentEmptyMessageDisplay.d.ts +3 -0
- package/dist/agents/components/messages-display/assistant/AgentEmptyMessageDisplay.js +70 -0
- package/dist/agents/components/messages-display/assistant/AssistantMessageFooter.d.ts +69 -0
- package/dist/agents/components/messages-display/assistant/AssistantMessageFooter.js +248 -0
- package/dist/agents/components/messages-display/assistant/AssistantNoAnswer.d.ts +24 -0
- package/dist/agents/components/messages-display/assistant/AssistantNoAnswer.js +42 -0
- package/dist/agents/components/messages-display/assistant/AssistantTurnGroup.d.ts +22 -0
- package/dist/agents/components/messages-display/assistant/AssistantTurnGroup.js +145 -0
- package/dist/agents/components/messages-display/assistant/BreathingOrb.d.ts +20 -0
- package/dist/agents/components/messages-display/assistant/BreathingOrb.js +83 -0
- package/dist/agents/components/messages-display/assistant/InPlaceAnswerEditor.d.ts +13 -0
- package/dist/agents/components/messages-display/assistant/InPlaceAnswerEditor.js +116 -0
- package/dist/agents/components/messages-display/assistant/ProviderRetryCard.d.ts +23 -0
- package/dist/agents/components/messages-display/assistant/ProviderRetryCard.js +162 -0
- package/dist/agents/components/messages-display/assistant/answerless-turn.d.ts +156 -0
- package/dist/agents/components/messages-display/assistant/answerless-turn.js +47 -0
- package/dist/agents/components/messages-display/assistant/collapse-by-request-id.d.ts +63 -0
- package/dist/agents/components/messages-display/assistant/collapse-by-request-id.js +49 -0
- package/dist/agents/components/messages-display/assistant/continue-in-chat.d.ts +9 -0
- package/dist/agents/components/messages-display/assistant/continue-in-chat.js +10 -0
- package/dist/agents/components/messages-display/assistant/empty-state-instruction.d.ts +24 -0
- package/dist/agents/components/messages-display/assistant/empty-state-instruction.js +15 -0
- package/dist/agents/components/messages-display/citations/MessageCitationsContext.d.ts +21 -0
- package/dist/agents/components/messages-display/citations/MessageCitationsContext.js +18 -0
- package/dist/agents/components/messages-display/citations/MessageSourcesRow.d.ts +7 -0
- package/dist/agents/components/messages-display/citations/MessageSourcesRow.js +46 -0
- package/dist/agents/components/messages-display/citations/citation-source.d.ts +10 -0
- package/dist/agents/components/messages-display/citations/citation-source.js +34 -0
- package/dist/agents/components/messages-display/conversation-tools/ConversationFindBar.d.ts +16 -0
- package/dist/agents/components/messages-display/conversation-tools/ConversationFindBar.js +142 -0
- package/dist/agents/components/messages-display/conversation-tools/FollowUpSuggestions.d.ts +22 -0
- package/dist/agents/components/messages-display/conversation-tools/FollowUpSuggestions.js +40 -0
- package/dist/agents/components/messages-display/conversation-tools/conversation-view-state.d.ts +11 -0
- package/dist/agents/components/messages-display/conversation-tools/conversation-view-state.js +47 -0
- package/dist/agents/components/messages-display/conversation-tools/find-in-conversation.d.ts +31 -0
- package/dist/agents/components/messages-display/conversation-tools/find-in-conversation.js +54 -0
- package/dist/agents/components/messages-display/conversation-tools/message-keyboard-nav.d.ts +1 -0
- package/dist/agents/components/messages-display/conversation-tools/message-keyboard-nav.js +20 -0
- package/dist/agents/components/messages-display/conversation-tools/pinned-filter.d.ts +17 -0
- package/dist/agents/components/messages-display/conversation-tools/pinned-filter.js +25 -0
- package/dist/agents/components/messages-display/conversation-tools/useMessageListInteractions.d.ts +4 -0
- package/dist/agents/components/messages-display/conversation-tools/useMessageListInteractions.js +136 -0
- package/dist/agents/components/messages-display/display-groups.d.ts +92 -0
- package/dist/agents/components/messages-display/display-groups.js +217 -0
- package/dist/agents/components/messages-display/hydrateConversationForReading.d.ts +16 -0
- package/dist/agents/components/messages-display/hydrateConversationForReading.js +26 -0
- package/dist/agents/components/messages-display/message-options/DeleteMessageDialog.d.ts +15 -0
- package/dist/agents/components/messages-display/message-options/DeleteMessageDialog.js +111 -0
- package/dist/agents/components/messages-display/message-options/EditHistoryDialog.d.ts +8 -0
- package/dist/agents/components/messages-display/message-options/EditHistoryDialog.js +252 -0
- package/dist/agents/components/messages-display/message-options/buildTaskSeedFromMessage.d.ts +34 -0
- package/dist/agents/components/messages-display/message-options/buildTaskSeedFromMessage.js +56 -0
- package/dist/agents/components/messages-display/message-options/convertibleContent.d.ts +17 -0
- package/dist/agents/components/messages-display/message-options/convertibleContent.js +26 -0
- package/dist/agents/components/messages-display/message-options/openAssistantMessageEditor.d.ts +25 -0
- package/dist/agents/components/messages-display/message-options/openAssistantMessageEditor.js +25 -0
- package/dist/agents/components/messages-display/message-options/pending-source.d.ts +12 -0
- package/dist/agents/components/messages-display/message-options/pending-source.js +0 -0
- package/dist/agents/components/messages-display/message-options/promptForkOutcome.d.ts +7 -0
- package/dist/agents/components/messages-display/message-options/promptForkOutcome.js +28 -0
- package/dist/agents/components/messages-display/message-options/resolveAssistantEditTarget.d.ts +23 -0
- package/dist/agents/components/messages-display/message-options/resolveAssistantEditTarget.js +24 -0
- package/dist/agents/components/messages-display/message-options/shareMessageAsWebpage.d.ts +27 -0
- package/dist/agents/components/messages-display/message-options/shareMessageAsWebpage.js +34 -0
- package/dist/agents/components/messages-display/message-options/userEditActions.d.ts +31 -0
- package/dist/agents/components/messages-display/message-options/userEditActions.js +50 -0
- package/dist/agents/components/messages-display/transcript-integrity-report.d.ts +83 -0
- package/dist/agents/components/messages-display/transcript-integrity-report.js +202 -0
- package/dist/agents/components/messages-display/user/AgentUserMessage.d.ts +32 -0
- package/dist/agents/components/messages-display/user/AgentUserMessage.js +408 -0
- package/dist/agents/components/messages-display/user/CollabNoteMessage.d.ts +23 -0
- package/dist/agents/components/messages-display/user/CollabNoteMessage.js +53 -0
- package/dist/agents/components/messages-display/user/FirstTurnVariables.d.ts +33 -0
- package/dist/agents/components/messages-display/user/FirstTurnVariables.js +109 -0
- package/dist/agents/components/messages-display/user/PendingSendMessage.d.ts +5 -0
- package/dist/agents/components/messages-display/user/PendingSendMessage.js +106 -0
- package/dist/agents/components/messages-display/user/RemarksTranscriptView.d.ts +13 -0
- package/dist/agents/components/messages-display/user/RemarksTranscriptView.js +85 -0
- package/dist/agents/components/messages-display/user/ResourceAttachmentTile.d.ts +36 -0
- package/dist/agents/components/messages-display/user/ResourceAttachmentTile.js +294 -0
- package/dist/agents/components/messages-display/user/ResourceEditableToggleSamples.d.ts +1 -0
- package/dist/agents/components/messages-display/user/ResourceEditableToggleSamples.js +67 -0
- package/dist/agents/components/messages-display/user/UserActionBar.d.ts +35 -0
- package/dist/agents/components/messages-display/user/UserActionBar.js +268 -0
- package/dist/agents/components/messages-display/user/UserMessageAttachmentStyleComparison.d.ts +7 -0
- package/dist/agents/components/messages-display/user/UserMessageAttachmentStyleComparison.js +146 -0
- package/dist/agents/components/messages-display/user/UserMessageChipsDemo.d.ts +1 -0
- package/dist/agents/components/messages-display/user/UserMessageChipsDemo.js +335 -0
- package/dist/agents/components/messages-display/user/UserMessageHybridTileSamples.d.ts +6 -0
- package/dist/agents/components/messages-display/user/UserMessageHybridTileSamples.js +575 -0
- package/dist/agents/components/messages-display/user/compact-chip-label.d.ts +14 -0
- package/dist/agents/components/messages-display/user/compact-chip-label.js +15 -0
- package/dist/agents/components/messages-display/user/literal-user-text.d.ts +17 -0
- package/dist/agents/components/messages-display/user/literal-user-text.js +31 -0
- package/dist/agents/components/messages-display/user/resourceAttachmentTile.theme.d.ts +12 -0
- package/dist/agents/components/messages-display/user/resourceAttachmentTile.theme.js +151 -0
- package/dist/agents/components/messages-display/user/useCollapsibleMessageText.d.ts +31 -0
- package/dist/agents/components/messages-display/user/useCollapsibleMessageText.js +51 -0
- package/dist/agents/components/messages-display/user/userMessageChipsDemoData.d.ts +53 -0
- package/dist/agents/components/messages-display/user/userMessageChipsDemoData.js +618 -0
- package/dist/agents/components/model/AgentModelPanel.d.ts +4 -0
- package/dist/agents/components/model/AgentModelPanel.js +9 -0
- package/dist/agents/components/model-tiers/ModelTierIdentityList.d.ts +15 -0
- package/dist/agents/components/model-tiers/ModelTierIdentityList.js +64 -0
- package/dist/agents/components/notifications/ImageArrivalPeek.d.ts +34 -0
- package/dist/agents/components/notifications/ImageArrivalPeek.js +113 -0
- package/dist/agents/components/notifications/ImageArrivalPeekHost.d.ts +27 -0
- package/dist/agents/components/notifications/ImageArrivalPeekHost.js +53 -0
- package/dist/agents/components/notifications/useImageArrivalPeeks.d.ts +33 -0
- package/dist/agents/components/notifications/useImageArrivalPeeks.js +50 -0
- package/dist/agents/components/observational-memory/ObservationalMemoryCore.d.ts +27 -0
- package/dist/agents/components/observational-memory/ObservationalMemoryCore.js +79 -0
- package/dist/agents/components/observational-memory/components/MemoryControls.d.ts +9 -0
- package/dist/agents/components/observational-memory/components/MemoryControls.js +149 -0
- package/dist/agents/components/observational-memory/components/MemoryCostCard.d.ts +23 -0
- package/dist/agents/components/observational-memory/components/MemoryCostCard.js +208 -0
- package/dist/agents/components/observational-memory/components/MemoryEventTimeline.d.ts +9 -0
- package/dist/agents/components/observational-memory/components/MemoryEventTimeline.js +216 -0
- package/dist/agents/components/observational-memory/components/MemoryOverviewCard.d.ts +7 -0
- package/dist/agents/components/observational-memory/components/MemoryOverviewCard.js +157 -0
- package/dist/agents/components/observational-memory/components/MemoryStateInspector.d.ts +21 -0
- package/dist/agents/components/observational-memory/components/MemoryStateInspector.js +538 -0
- package/dist/agents/components/observational-memory/components/format.d.ts +11 -0
- package/dist/agents/components/observational-memory/components/format.js +29 -0
- package/dist/agents/components/run/AgentRunHeader.d.ts +10 -0
- package/dist/agents/components/run/AgentRunHeader.js +64 -0
- package/dist/agents/components/run/AgentRunnerPage.d.ts +46 -0
- package/dist/agents/components/run/AgentRunnerPage.js +330 -0
- package/dist/agents/components/run/AgentStatusIndicator.d.ts +6 -0
- package/dist/agents/components/run/AgentStatusIndicator.js +19 -0
- package/dist/agents/components/run/AssistantError.d.ts +32 -0
- package/dist/agents/components/run/AssistantError.js +128 -0
- package/dist/agents/components/run/AssistantWarning.d.ts +7 -0
- package/dist/agents/components/run/AssistantWarning.js +32 -0
- package/dist/agents/components/run/GenerationJobCard.d.ts +22 -0
- package/dist/agents/components/run/GenerationJobCard.js +123 -0
- package/dist/agents/components/run/RunJobWorkingLine.d.ts +6 -0
- package/dist/agents/components/run/RunJobWorkingLine.js +55 -0
- package/dist/agents/components/run/agent-run-variable-write.d.ts +12 -0
- package/dist/agents/components/run/agent-run-variable-write.js +32 -0
- package/dist/agents/components/run/friendlyStreamError.d.ts +49 -0
- package/dist/agents/components/run/friendlyStreamError.js +60 -0
- package/dist/agents/components/run/run-sidebar/AgentRunsSidebar.d.ts +15 -0
- package/dist/agents/components/run/run-sidebar/AgentRunsSidebar.js +201 -0
- package/dist/agents/components/run/run-sidebar/SidebarHeader.d.ts +21 -0
- package/dist/agents/components/run/run-sidebar/SidebarHeader.js +50 -0
- package/dist/agents/components/run/useVideoSecondPoints.d.ts +5 -0
- package/dist/agents/components/run/useVideoSecondPoints.js +45 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/AdvancedRunSettings.d.ts +16 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/AdvancedRunSettings.js +140 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/ComplexityBadge.d.ts +11 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/ComplexityBadge.js +43 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/bands.d.ts +19 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/bands.js +16 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/engine.d.ts +16 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/engine.js +34 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/index.d.ts +8 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/index.js +7 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/artifact-skills.d.ts +10 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/artifact-skills.js +42 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/attributes.d.ts +18 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/attributes.js +57 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/constraints.d.ts +23 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/constraints.js +116 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/importance.d.ts +17 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/importance.js +87 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/input-modes.d.ts +12 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/input-modes.js +24 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/primary-output.d.ts +8 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/primary-output.js +20 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/thinking.d.ts +9 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/thinking.js +22 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/tools.d.ts +9 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/rules/tools.js +44 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/types.d.ts +55 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/algorithm/types.js +0 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/constants.d.ts +64 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/constants.js +129 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/index.d.ts +6 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/index.js +32 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/primitives.d.ts +61 -0
- package/dist/agents/components/run-controls/AdvancedRunSettings/primitives.js +200 -0
- package/dist/agents/components/run-controls/AgentExecutionTestModal.d.ts +36 -0
- package/dist/agents/components/run-controls/AgentExecutionTestModal.js +435 -0
- package/dist/agents/components/run-controls/AgentLauncherSidebarTester.d.ts +6 -0
- package/dist/agents/components/run-controls/AgentLauncherSidebarTester.js +127 -0
- package/dist/agents/components/run-controls/AgentWidgetInvokerTester.d.ts +6 -0
- package/dist/agents/components/run-controls/AgentWidgetInvokerTester.js +84 -0
- package/dist/agents/components/run-controls/ContextPoliciesTab.d.ts +7 -0
- package/dist/agents/components/run-controls/ContextPoliciesTab.js +499 -0
- package/dist/agents/components/run-controls/CreatorRunPanel.d.ts +22 -0
- package/dist/agents/components/run-controls/CreatorRunPanel.js +108 -0
- package/dist/agents/components/run-controls/CreatorRunTabContent.d.ts +30 -0
- package/dist/agents/components/run-controls/CreatorRunTabContent.js +319 -0
- package/dist/agents/components/run-controls/PayloadTab.d.ts +5 -0
- package/dist/agents/components/run-controls/PayloadTab.js +378 -0
- package/dist/agents/components/run-controls/RunConfigOverrides.d.ts +68 -0
- package/dist/agents/components/run-controls/RunConfigOverrides.js +502 -0
- package/dist/agents/components/run-controls/RunInputCapabilities.d.ts +6 -0
- package/dist/agents/components/run-controls/RunInputCapabilities.js +64 -0
- package/dist/agents/components/run-controls/RunModelPicker.d.ts +13 -0
- package/dist/agents/components/run-controls/RunModelPicker.js +121 -0
- package/dist/agents/components/run-controls/RunSettingsEditor.d.ts +9 -0
- package/dist/agents/components/run-controls/RunSettingsEditor.js +473 -0
- package/dist/agents/components/run-controls/RunSettingsModal.d.ts +5 -0
- package/dist/agents/components/run-controls/RunSettingsModal.js +22 -0
- package/dist/agents/components/run-controls/SimpleRunSettings/CapabilityGrid.d.ts +18 -0
- package/dist/agents/components/run-controls/SimpleRunSettings/CapabilityGrid.js +64 -0
- package/dist/agents/components/run-controls/SimpleRunSettings/ReasoningLevelSelector.d.ts +18 -0
- package/dist/agents/components/run-controls/SimpleRunSettings/ReasoningLevelSelector.js +31 -0
- package/dist/agents/components/run-controls/SimpleRunSettings/SimpleRunSettings.d.ts +28 -0
- package/dist/agents/components/run-controls/SimpleRunSettings/SimpleRunSettings.js +95 -0
- package/dist/agents/components/run-controls/SimpleRunSettings/SimpleRunSettingsButton.d.ts +19 -0
- package/dist/agents/components/run-controls/SimpleRunSettings/SimpleRunSettingsButton.js +89 -0
- package/dist/agents/components/run-controls/SimpleRunSettings/capabilities.d.ts +47 -0
- package/dist/agents/components/run-controls/SimpleRunSettings/capabilities.js +122 -0
- package/dist/agents/components/run-controls/StoredModelOverridesField.d.ts +26 -0
- package/dist/agents/components/run-controls/StoredModelOverridesField.js +125 -0
- package/dist/agents/components/run-controls/SurfaceSimulatorSelect.d.ts +10 -0
- package/dist/agents/components/run-controls/SurfaceSimulatorSelect.js +214 -0
- package/dist/agents/components/run-controls/TesterSettingsPanel.d.ts +71 -0
- package/dist/agents/components/run-controls/TesterSettingsPanel.js +470 -0
- package/dist/agents/components/run-controls/panels/BackendTargetPanel.d.ts +28 -0
- package/dist/agents/components/run-controls/panels/BackendTargetPanel.js +142 -0
- package/dist/agents/components/run-controls/panels/ClientMetricsPanel.d.ts +6 -0
- package/dist/agents/components/run-controls/panels/ClientMetricsPanel.js +101 -0
- package/dist/agents/components/run-controls/panels/ModelContextPanel.d.ts +4 -0
- package/dist/agents/components/run-controls/panels/ModelContextPanel.js +211 -0
- package/dist/agents/components/run-controls/panels/RequestStatsPanel.d.ts +6 -0
- package/dist/agents/components/run-controls/panels/RequestStatsPanel.js +126 -0
- package/dist/agents/components/run-controls/panels/SessionStatsPanel.d.ts +4 -0
- package/dist/agents/components/run-controls/panels/SessionStatsPanel.js +103 -0
- package/dist/agents/components/run-controls/panels/shared.d.ts +149 -0
- package/dist/agents/components/run-controls/panels/shared.js +110 -0
- package/dist/agents/components/send-to-agent/SendToAgentWindow.d.ts +9 -0
- package/dist/agents/components/send-to-agent/SendToAgentWindow.js +219 -0
- package/dist/agents/components/send-to-agent/send-to-agent-plan.d.ts +65 -0
- package/dist/agents/components/send-to-agent/send-to-agent-plan.js +128 -0
- package/dist/agents/components/shared/AgentConversationColumn.d.ts +119 -0
- package/dist/agents/components/shared/AgentConversationColumn.js +354 -0
- package/dist/agents/components/shared/AgentDuplicateOutcomeDialog.d.ts +33 -0
- package/dist/agents/components/shared/AgentDuplicateOutcomeDialog.js +142 -0
- package/dist/agents/components/shared/AgentHeader.d.ts +25 -0
- package/dist/agents/components/shared/AgentHeader.js +66 -0
- package/dist/agents/components/shared/AgentHeaderMobile.d.ts +13 -0
- package/dist/agents/components/shared/AgentHeaderMobile.js +265 -0
- package/dist/agents/components/shared/AgentModeController.d.ts +24 -0
- package/dist/agents/components/shared/AgentModeController.js +175 -0
- package/dist/agents/components/shared/AgentNewRunButton.d.ts +5 -0
- package/dist/agents/components/shared/AgentNewRunButton.js +32 -0
- package/dist/agents/components/shared/AgentOptionsMenu.d.ts +8 -0
- package/dist/agents/components/shared/AgentOptionsMenu.js +826 -0
- package/dist/agents/components/shared/AgentPlanningIndicator.d.ts +8 -0
- package/dist/agents/components/shared/AgentPlanningIndicator.js +18 -0
- package/dist/agents/components/shared/AgentReferenceCopyButton.d.ts +6 -0
- package/dist/agents/components/shared/AgentReferenceCopyButton.js +25 -0
- package/dist/agents/components/shared/AgentSaveStatus.d.ts +7 -0
- package/dist/agents/components/shared/AgentSaveStatus.js +107 -0
- package/dist/agents/components/shared/AgentSaveTapButton.d.ts +18 -0
- package/dist/agents/components/shared/AgentSaveTapButton.js +105 -0
- package/dist/agents/components/shared/AgentSelectorIsland.d.ts +17 -0
- package/dist/agents/components/shared/AgentSelectorIsland.js +67 -0
- package/dist/agents/components/shared/AutoInjectionSwitch.d.ts +46 -0
- package/dist/agents/components/shared/AutoInjectionSwitch.js +105 -0
- package/dist/agents/components/shared/DesktopFilterPanel.d.ts +41 -0
- package/dist/agents/components/shared/DesktopFilterPanel.js +295 -0
- package/dist/agents/components/shared/OlderMessagesSentinel.d.ts +43 -0
- package/dist/agents/components/shared/OlderMessagesSentinel.js +251 -0
- package/dist/agents/components/shared/StreamProfilerOverlay.d.ts +1 -0
- package/dist/agents/components/shared/StreamProfilerOverlay.js +88 -0
- package/dist/agents/components/shared/agent-route-context.d.ts +3 -0
- package/dist/agents/components/shared/agent-route-context.js +8 -0
- package/dist/agents/components/shared/assistant-message-layout.d.ts +8 -0
- package/dist/agents/components/shared/assistant-message-layout.js +6 -0
- package/dist/agents/components/shared/transcript-audience.d.ts +28 -0
- package/dist/agents/components/shared/transcript-audience.js +27 -0
- package/dist/agents/components/shared/useAgentSaveAction.d.ts +33 -0
- package/dist/agents/components/shared/useAgentSaveAction.js +179 -0
- package/dist/agents/components/shell/AgentBuildSidebarExtras.d.ts +6 -0
- package/dist/agents/components/shell/AgentBuildSidebarExtras.js +30 -0
- package/dist/agents/components/shell/AgentRunSidebarMenu.d.ts +5 -0
- package/dist/agents/components/shell/AgentRunSidebarMenu.js +250 -0
- package/dist/agents/components/shell/AgentsListHeader.d.ts +1 -0
- package/dist/agents/components/shell/AgentsListHeader.js +69 -0
- package/dist/agents/components/shell/agent-run-route.d.ts +10 -0
- package/dist/agents/components/shell/agent-run-route.js +33 -0
- package/dist/agents/components/smart/AgentRunWrapper.d.ts +13 -0
- package/dist/agents/components/smart/AgentRunWrapper.js +122 -0
- package/dist/agents/components/smart/AgentRunner.d.ts +12 -0
- package/dist/agents/components/smart/AgentRunner.js +176 -0
- package/dist/agents/components/smart/CreateWithAiTabs.d.ts +79 -0
- package/dist/agents/components/smart/CreateWithAiTabs.js +160 -0
- package/dist/agents/components/undo-history/AgentEditHistory.d.ts +9 -0
- package/dist/agents/components/undo-history/AgentEditHistory.js +244 -0
- package/dist/agents/components/unused/AgentSharedHeader.d.ts +3 -0
- package/dist/agents/components/unused/AgentSharedHeader.js +134 -0
- package/dist/agents/components/widgets/AgentWidgetsPage.d.ts +11 -0
- package/dist/agents/components/widgets/AgentWidgetsPage.js +571 -0
- package/dist/agents/components/widgets/WidgetVariableInputs.d.ts +8 -0
- package/dist/agents/components/widgets/WidgetVariableInputs.js +80 -0
- package/dist/agents/components/widgets/build-widget-launch.d.ts +70 -0
- package/dist/agents/components/widgets/build-widget-launch.js +90 -0
- package/dist/agents/components/working-document/DocumentLinkPicker.d.ts +20 -0
- package/dist/agents/components/working-document/DocumentLinkPicker.js +223 -0
- package/dist/agents/components/working-document/ScratchpadQuickPanel.d.ts +5 -0
- package/dist/agents/components/working-document/ScratchpadQuickPanel.js +56 -0
- package/dist/agents/components/working-document/ScratchpadSwitcherMenu.d.ts +11 -0
- package/dist/agents/components/working-document/ScratchpadSwitcherMenu.js +128 -0
- package/dist/agents/components/working-document/WorkingDocumentAgentDiff.d.ts +8 -0
- package/dist/agents/components/working-document/WorkingDocumentAgentDiff.js +32 -0
- package/dist/agents/components/working-document/WorkingDocumentEditor.d.ts +34 -0
- package/dist/agents/components/working-document/WorkingDocumentEditor.js +241 -0
- package/dist/agents/components/working-document/WorkingDocumentLatestVersionDiff.d.ts +7 -0
- package/dist/agents/components/working-document/WorkingDocumentLatestVersionDiff.js +62 -0
- package/dist/agents/components/working-document/WorkingDocumentPanel.d.ts +47 -0
- package/dist/agents/components/working-document/WorkingDocumentPanel.js +405 -0
- package/dist/agents/components/working-document/WorkingDocumentVersionHistory.d.ts +15 -0
- package/dist/agents/components/working-document/WorkingDocumentVersionHistory.js +213 -0
- package/dist/agents/components/working-document/WorkingDocumentViewControls.d.ts +41 -0
- package/dist/agents/components/working-document/WorkingDocumentViewControls.js +121 -0
- package/dist/agents/components/working-document/documents-workspace/DocumentsListRail.d.ts +28 -0
- package/dist/agents/components/working-document/documents-workspace/DocumentsListRail.js +215 -0
- package/dist/agents/components/working-document/documents-workspace/DocumentsWorkspace.d.ts +15 -0
- package/dist/agents/components/working-document/documents-workspace/DocumentsWorkspace.js +451 -0
- package/dist/agents/components/working-document/editor-mode.d.ts +1 -0
- package/dist/agents/components/working-document/editor-mode.js +0 -0
- package/dist/agents/components/working-document/markdown-headings.d.ts +31 -0
- package/dist/agents/components/working-document/markdown-headings.js +65 -0
- package/dist/agents/components/working-document/useWorkingDocumentSurfaceScope.d.ts +15 -0
- package/dist/agents/components/working-document/useWorkingDocumentSurfaceScope.js +89 -0
- package/dist/agents/components/working-document/useWorkingDocumentVersions.d.ts +13 -0
- package/dist/agents/components/working-document/useWorkingDocumentVersions.js +71 -0
- package/dist/agents/components/working-document/workingDocumentSurface.d.ts +78 -0
- package/dist/agents/components/working-document/workingDocumentSurface.js +106 -0
- package/dist/agents/components/working-document/workingDocumentViewStore.d.ts +22 -0
- package/dist/agents/components/working-document/workingDocumentViewStore.js +53 -0
- package/dist/agents/connectors/attachable-resources.d.ts +151 -0
- package/dist/agents/connectors/attachable-resources.js +63 -0
- package/dist/agents/connectors/attachments.slice.d.ts +121 -0
- package/dist/agents/connectors/attachments.slice.js +266 -0
- package/dist/agents/connectors/chat-connections.d.ts +76 -0
- package/dist/agents/connectors/chat-connections.js +53 -0
- package/dist/agents/connectors/connection-state.d.ts +79 -0
- package/dist/agents/connectors/connection-state.js +136 -0
- package/dist/agents/connectors/run-attachments.d.ts +68 -0
- package/dist/agents/connectors/run-attachments.js +85 -0
- package/dist/agents/constants/agent-identity-metadata.d.ts +88 -0
- package/dist/agents/constants/agent-identity-metadata.js +131 -0
- package/dist/agents/constants/agent-settings-surface.d.ts +29 -0
- package/dist/agents/constants/agent-settings-surface.js +6 -0
- package/dist/agents/constants/agent-system-competitors.d.ts +9 -0
- package/dist/agents/constants/agent-system-competitors.js +125 -0
- package/dist/agents/constants/blank-agent.d.ts +38 -0
- package/dist/agents/constants/blank-agent.js +28 -0
- package/dist/agents/constants/local-agent-templates.d.ts +11 -0
- package/dist/agents/constants/local-agent-templates.js +76 -0
- package/dist/agents/constants/system-agent-registry.d.ts +30 -0
- package/dist/agents/constants/system-agent-registry.js +27 -0
- package/dist/agents/constants/system-shortcuts.d.ts +93 -0
- package/dist/agents/constants/system-shortcuts.js +40 -0
- package/dist/agents/conversation-export/conversation-markdown.d.ts +14 -0
- package/dist/agents/conversation-export/conversation-markdown.js +34 -0
- package/dist/agents/conversation-export/conversation-transfer-rows.d.ts +27 -0
- package/dist/agents/conversation-export/conversation-transfer-rows.js +43 -0
- package/dist/agents/conversation-export/conversation-transfer.d.ts +71 -0
- package/dist/agents/conversation-export/conversation-transfer.js +268 -0
- package/dist/agents/conversation-export/document-markdown.d.ts +2 -0
- package/dist/agents/conversation-export/document-markdown.js +8 -0
- package/dist/agents/conversation-export/load-full-history.d.ts +5 -0
- package/dist/agents/conversation-export/load-full-history.js +26 -0
- package/dist/agents/conversation-export/turn-trust-strip.d.ts +9 -0
- package/dist/agents/conversation-export/turn-trust-strip.js +10 -0
- package/dist/agents/cost.d.ts +5 -0
- package/dist/agents/cost.js +6 -0
- package/dist/agents/decision-answers/DecisionAnswers.d.ts +16 -0
- package/dist/agents/decision-answers/DecisionAnswers.js +226 -0
- package/dist/agents/decision-questions/types.d.ts +79 -0
- package/dist/agents/decision-questions/types.js +40 -0
- package/dist/agents/format.d.ts +204 -0
- package/dist/agents/format.js +298 -0
- package/dist/agents/hooks/documentBridgeOwnership.d.ts +6 -0
- package/dist/agents/hooks/documentBridgeOwnership.js +18 -0
- package/dist/agents/hooks/mcp-connection-route.d.ts +12 -0
- package/dist/agents/hooks/mcp-connection-route.js +16 -0
- package/dist/agents/hooks/message-crud/useMessageActions.d.ts +29 -0
- package/dist/agents/hooks/message-crud/useMessageActions.js +119 -0
- package/dist/agents/hooks/useAgentAutoSave.d.ts +1 -0
- package/dist/agents/hooks/useAgentAutoSave.js +110 -0
- package/dist/agents/hooks/useAgentBuilderWriteHandlers.d.ts +9 -0
- package/dist/agents/hooks/useAgentBuilderWriteHandlers.js +102 -0
- package/dist/agents/hooks/useAgentDuplicateFlow.d.ts +15 -0
- package/dist/agents/hooks/useAgentDuplicateFlow.js +76 -0
- package/dist/agents/hooks/useAgentLauncher.d.ts +44 -0
- package/dist/agents/hooks/useAgentLauncher.js +345 -0
- package/dist/agents/hooks/useAgentLauncherTester.d.ts +74 -0
- package/dist/agents/hooks/useAgentLauncherTester.js +242 -0
- package/dist/agents/hooks/useAgentModelLabel.d.ts +13 -0
- package/dist/agents/hooks/useAgentModelLabel.js +27 -0
- package/dist/agents/hooks/useAgentRunSurfaceScope.d.ts +24 -0
- package/dist/agents/hooks/useAgentRunSurfaceScope.js +103 -0
- package/dist/agents/hooks/useAgentUndoRedo.d.ts +31 -0
- package/dist/agents/hooks/useAgentUndoRedo.js +134 -0
- package/dist/agents/hooks/useAgentUsages.d.ts +17 -0
- package/dist/agents/hooks/useAgentUsages.js +36 -0
- package/dist/agents/hooks/useBoundVariableScope.d.ts +30 -0
- package/dist/agents/hooks/useBoundVariableScope.js +122 -0
- package/dist/agents/hooks/useBuilderContextSeed.d.ts +25 -0
- package/dist/agents/hooks/useBuilderContextSeed.js +86 -0
- package/dist/agents/hooks/useConversationMaterialized.d.ts +5 -0
- package/dist/agents/hooks/useConversationMaterialized.js +54 -0
- package/dist/agents/hooks/useConversationPendingCalls.d.ts +30 -0
- package/dist/agents/hooks/useConversationPendingCalls.js +42 -0
- package/dist/agents/hooks/useConversationResume.d.ts +58 -0
- package/dist/agents/hooks/useConversationResume.js +136 -0
- package/dist/agents/hooks/useConversationRoutePromotion.d.ts +29 -0
- package/dist/agents/hooks/useConversationRoutePromotion.js +95 -0
- package/dist/agents/hooks/useConversationSandboxBindingSync.d.ts +1 -0
- package/dist/agents/hooks/useConversationSandboxBindingSync.js +29 -0
- package/dist/agents/hooks/useConversationTitle.d.ts +6 -0
- package/dist/agents/hooks/useConversationTitle.js +45 -0
- package/dist/agents/hooks/useCreatorOwnershipSync.d.ts +1 -0
- package/dist/agents/hooks/useCreatorOwnershipSync.js +27 -0
- package/dist/agents/hooks/useDesktopPresence.d.ts +2 -0
- package/dist/agents/hooks/useDesktopPresence.js +25 -0
- package/dist/agents/hooks/useDiffEnrichment.d.ts +2 -0
- package/dist/agents/hooks/useDiffEnrichment.js +39 -0
- package/dist/agents/hooks/useDriftAlerts.d.ts +11 -0
- package/dist/agents/hooks/useDriftAlerts.js +36 -0
- package/dist/agents/hooks/useDriftReport.d.ts +20 -0
- package/dist/agents/hooks/useDriftReport.js +34 -0
- package/dist/agents/hooks/useFloatingAgentRun.d.ts +77 -0
- package/dist/agents/hooks/useFloatingAgentRun.js +119 -0
- package/dist/agents/hooks/useHeadlessAgentJson.d.ts +41 -0
- package/dist/agents/hooks/useHeadlessAgentJson.js +70 -0
- package/dist/agents/hooks/useInstanceInputUndoRedo.d.ts +23 -0
- package/dist/agents/hooks/useInstanceInputUndoRedo.js +94 -0
- package/dist/agents/hooks/useLiveAgentRun.d.ts +26 -0
- package/dist/agents/hooks/useLiveAgentRun.js +71 -0
- package/dist/agents/hooks/useLiveRunHandle.d.ts +13 -0
- package/dist/agents/hooks/useLiveRunHandle.js +31 -0
- package/dist/agents/hooks/useMcpTools.d.ts +88 -0
- package/dist/agents/hooks/useMcpTools.js +231 -0
- package/dist/agents/hooks/useModelControls.d.ts +359 -0
- package/dist/agents/hooks/useModelControls.js +297 -0
- package/dist/agents/hooks/useShortcutTrigger.d.ts +89 -0
- package/dist/agents/hooks/useShortcutTrigger.js +51 -0
- package/dist/agents/hooks/useSurfaceExecution.d.ts +8 -0
- package/dist/agents/hooks/useSurfaceExecution.js +27 -0
- package/dist/agents/hooks/useWarmAgent.d.ts +8 -0
- package/dist/agents/hooks/useWarmAgent.js +25 -0
- package/dist/agents/hooks/useWidgetHandle.d.ts +41 -0
- package/dist/agents/hooks/useWidgetHandle.js +91 -0
- package/dist/agents/hooks/useWorkingDocument.d.ts +66 -0
- package/dist/agents/hooks/useWorkingDocument.js +682 -0
- package/dist/agents/image-roles/ImageRoleSelector.d.ts +18 -0
- package/dist/agents/image-roles/ImageRoleSelector.js +94 -0
- package/dist/agents/image-roles/ReferenceRoleCaption.d.ts +8 -0
- package/dist/agents/image-roles/ReferenceRoleCaption.js +21 -0
- package/dist/agents/image-roles/class-aware-rpc.d.ts +22 -0
- package/dist/agents/image-roles/class-aware-rpc.js +28 -0
- package/dist/agents/image-roles/useImageRoleLimits.d.ts +4 -0
- package/dist/agents/image-roles/useImageRoleLimits.js +70 -0
- package/dist/agents/lifecycle/useAgentLifecycleActions.d.ts +17 -0
- package/dist/agents/lifecycle/useAgentLifecycleActions.js +63 -0
- package/dist/agents/mcp-copy.d.ts +77 -0
- package/dist/agents/mcp-copy.js +96 -0
- package/dist/agents/menu/agent-actions.d.ts +15 -0
- package/dist/agents/menu/agent-actions.js +72 -0
- package/dist/agents/message-flags/ExampleTurnsGroup.d.ts +11 -0
- package/dist/agents/message-flags/ExampleTurnsGroup.js +22 -0
- package/dist/agents/message-flags/MessageFlagToggles.d.ts +16 -0
- package/dist/agents/message-flags/MessageFlagToggles.js +110 -0
- package/dist/agents/message-flags/MessageFlagsPreview.d.ts +5 -0
- package/dist/agents/message-flags/MessageFlagsPreview.js +54 -0
- package/dist/agents/message-flags/PrefillNote.d.ts +20 -0
- package/dist/agents/message-flags/PrefillNote.js +46 -0
- package/dist/agents/message-flags/StoppedNote.d.ts +5 -0
- package/dist/agents/message-flags/StoppedNote.js +31 -0
- package/dist/agents/message-flags/flags.d.ts +95 -0
- package/dist/agents/message-flags/flags.js +227 -0
- package/dist/agents/message-flags/useMessageFlagProfile.d.ts +4 -0
- package/dist/agents/message-flags/useMessageFlagProfile.js +90 -0
- package/dist/agents/message-flags/useMessageFlags.d.ts +8 -0
- package/dist/agents/message-flags/useMessageFlags.js +68 -0
- package/dist/agents/message-pins/pinned-messages-store.d.ts +22 -0
- package/dist/agents/message-pins/pinned-messages-store.js +133 -0
- package/dist/agents/model-registry/model-classes.d.ts +43 -0
- package/dist/agents/model-registry/model-classes.js +40 -0
- package/dist/agents/model-registry/modelRegistrySlice.d.ts +691 -0
- package/dist/agents/model-registry/modelRegistrySlice.js +574 -0
- package/dist/agents/model-registry/parse.d.ts +88 -0
- package/dist/agents/model-registry/parse.js +246 -0
- package/dist/agents/prompt-preview/PromptPreviewContent.d.ts +5 -0
- package/dist/agents/prompt-preview/PromptPreviewContent.js +131 -0
- package/dist/agents/prompt-preview/service.d.ts +13 -0
- package/dist/agents/prompt-preview/service.js +56 -0
- package/dist/agents/prompt-preview/types.d.ts +29 -0
- package/dist/agents/prompt-preview/types.js +0 -0
- package/dist/agents/redux/agent-assistant-markdown-draft.slice.d.ts +35 -0
- package/dist/agents/redux/agent-assistant-markdown-draft.slice.js +48 -0
- package/dist/agents/redux/agent-definition/agent-cache-bust-request.d.ts +19 -0
- package/dist/agents/redux/agent-definition/agent-cache-bust-request.js +63 -0
- package/dist/agents/redux/agent-definition/agent-not-readable.d.ts +6 -0
- package/dist/agents/redux/agent-definition/agent-not-readable.js +16 -0
- package/dist/agents/redux/agent-definition/agentNameTaken.d.ts +17 -0
- package/dist/agents/redux/agent-definition/agentNameTaken.js +18 -0
- package/dist/agents/redux/agent-definition/cache-bust-middleware.d.ts +46 -0
- package/dist/agents/redux/agent-definition/cache-bust-middleware.js +95 -0
- package/dist/agents/redux/agent-definition/converters.d.ts +66 -0
- package/dist/agents/redux/agent-definition/converters.js +440 -0
- package/dist/agents/redux/agent-definition/data-issue-recovery.d.ts +31 -0
- package/dist/agents/redux/agent-definition/data-issue-recovery.js +69 -0
- package/dist/agents/redux/agent-definition/invalidate-agent-cache.thunk.d.ts +33 -0
- package/dist/agents/redux/agent-definition/invalidate-agent-cache.thunk.js +29 -0
- package/dist/agents/redux/agent-definition/parse-custom-tools.d.ts +28 -0
- package/dist/agents/redux/agent-definition/parse-custom-tools.js +114 -0
- package/dist/agents/redux/agent-definition/parse-messages-variables.d.ts +10 -0
- package/dist/agents/redux/agent-definition/parse-messages-variables.js +476 -0
- package/dist/agents/redux/agent-definition/parse-output-snapshot.d.ts +50 -0
- package/dist/agents/redux/agent-definition/parse-output-snapshot.js +401 -0
- package/dist/agents/redux/agent-definition/parse-settings-context.d.ts +19 -0
- package/dist/agents/redux/agent-definition/parse-settings-context.js +133 -0
- package/dist/agents/redux/agent-definition/sanitize-tool-ids.d.ts +8 -0
- package/dist/agents/redux/agent-definition/sanitize-tool-ids.js +26 -0
- package/dist/agents/redux/agent-definition/selectors.d.ts +22660 -0
- package/dist/agents/redux/agent-definition/selectors.js +672 -0
- package/dist/agents/redux/agent-definition/slice.d.ts +254 -0
- package/dist/agents/redux/agent-definition/slice.js +689 -0
- package/dist/agents/redux/agent-definition/synthetic-id.d.ts +18 -0
- package/dist/agents/redux/agent-definition/synthetic-id.js +8 -0
- package/dist/agents/redux/agent-definition/thunks.d.ts +349 -0
- package/dist/agents/redux/agent-definition/thunks.js +469 -0
- package/dist/agents/redux/agent-filter/selectors.d.ts +421 -0
- package/dist/agents/redux/agent-filter/selectors.js +85 -0
- package/dist/agents/redux/agent-settings/agentSettingsSlice.d.ts +1016 -0
- package/dist/agents/redux/agent-settings/agentSettingsSlice.js +644 -0
- package/dist/agents/redux/agent-settings/internal-utils.d.ts +123 -0
- package/dist/agents/redux/agent-settings/internal-utils.js +315 -0
- package/dist/agents/redux/agent-settings/selectors.d.ts +10196 -0
- package/dist/agents/redux/agent-settings/selectors.js +273 -0
- package/dist/agents/redux/agent-settings/settings-catalogue.d.ts +78 -0
- package/dist/agents/redux/agent-settings/settings-catalogue.js +176 -0
- package/dist/agents/redux/agent-settings/types.d.ts +141 -0
- package/dist/agents/redux/agent-settings/types.js +0 -0
- package/dist/agents/redux/agent-settings/ui-gates.d.ts +54 -0
- package/dist/agents/redux/agent-settings/ui-gates.js +38 -0
- package/dist/agents/redux/agent-shortcut-categories/converters.d.ts +3 -0
- package/dist/agents/redux/agent-shortcut-categories/converters.js +49 -0
- package/dist/agents/redux/agent-shortcut-categories/selectors.d.ts +3232 -0
- package/dist/agents/redux/agent-shortcut-categories/selectors.js +166 -0
- package/dist/agents/redux/agent-shortcut-categories/slice.d.ts +85 -0
- package/dist/agents/redux/agent-shortcut-categories/slice.js +284 -0
- package/dist/agents/redux/agent-shortcut-categories/thunks.d.ts +94 -0
- package/dist/agents/redux/agent-shortcut-categories/thunks.js +215 -0
- package/dist/agents/redux/agent-shortcut-categories/types.d.ts +68 -0
- package/dist/agents/redux/agent-shortcut-categories/types.js +0 -0
- package/dist/agents/redux/agent-shortcuts/converters.d.ts +112 -0
- package/dist/agents/redux/agent-shortcuts/converters.js +373 -0
- package/dist/agents/redux/agent-shortcuts/selectors.d.ts +10555 -0
- package/dist/agents/redux/agent-shortcuts/selectors.js +394 -0
- package/dist/agents/redux/agent-shortcuts/skl-types.d.ts +79 -0
- package/dist/agents/redux/agent-shortcuts/skl-types.js +20 -0
- package/dist/agents/redux/agent-shortcuts/slice.d.ts +142 -0
- package/dist/agents/redux/agent-shortcuts/slice.js +336 -0
- package/dist/agents/redux/agent-shortcuts/thunks/bulkWriteShortcuts.thunk.d.ts +38 -0
- package/dist/agents/redux/agent-shortcuts/thunks/bulkWriteShortcuts.thunk.js +83 -0
- package/dist/agents/redux/agent-shortcuts/thunks/createShortcutFromAgentSurface.thunk.d.ts +67 -0
- package/dist/agents/redux/agent-shortcuts/thunks/createShortcutFromAgentSurface.thunk.js +40 -0
- package/dist/agents/redux/agent-shortcuts/thunks.d.ts +390 -0
- package/dist/agents/redux/agent-shortcuts/thunks.js +900 -0
- package/dist/agents/redux/agent-shortcuts/types.d.ts +415 -0
- package/dist/agents/redux/agent-shortcuts/types.js +5 -0
- package/dist/agents/redux/chat/chat-incognito.slice.d.ts +8 -0
- package/dist/agents/redux/chat/chat-incognito.slice.js +25 -0
- package/dist/agents/redux/chat/chat-route.slice.d.ts +43 -0
- package/dist/agents/redux/chat/chat-route.slice.js +58 -0
- package/dist/agents/redux/conversation-history/conversation-search.d.ts +33 -0
- package/dist/agents/redux/conversation-history/conversation-search.js +108 -0
- package/dist/agents/redux/conversation-history/history-filters.d.ts +49 -0
- package/dist/agents/redux/conversation-history/history-filters.js +49 -0
- package/dist/agents/redux/conversation-history/index.d.ts +18 -0
- package/dist/agents/redux/conversation-history/index.js +4 -0
- package/dist/agents/redux/conversation-history/lanes.d.ts +54 -0
- package/dist/agents/redux/conversation-history/lanes.js +79 -0
- package/dist/agents/redux/conversation-history/selectors.d.ts +1034 -0
- package/dist/agents/redux/conversation-history/selectors.js +155 -0
- package/dist/agents/redux/conversation-history/slice.d.ts +82 -0
- package/dist/agents/redux/conversation-history/slice.js +346 -0
- package/dist/agents/redux/conversation-history/source-registry.d.ts +134 -0
- package/dist/agents/redux/conversation-history/source-registry.js +371 -0
- package/dist/agents/redux/conversation-history/thunks.d.ts +95 -0
- package/dist/agents/redux/conversation-history/thunks.js +238 -0
- package/dist/agents/redux/conversation-history/types.d.ts +152 -0
- package/dist/agents/redux/conversation-history/types.js +32 -0
- package/dist/agents/redux/conversation-history/useSurfaceSourceFilter.d.ts +2 -0
- package/dist/agents/redux/conversation-history/useSurfaceSourceFilter.js +24 -0
- package/dist/agents/redux/conversation-list/conversation-list.selectors.d.ts +197 -0
- package/dist/agents/redux/conversation-list/conversation-list.selectors.js +98 -0
- package/dist/agents/redux/conversation-list/conversation-list.slice.d.ts +176 -0
- package/dist/agents/redux/conversation-list/conversation-list.slice.js +317 -0
- package/dist/agents/redux/conversation-list/conversation-list.thunks.d.ts +96 -0
- package/dist/agents/redux/conversation-list/conversation-list.thunks.js +189 -0
- package/dist/agents/redux/conversation-list/conversation-list.types.d.ts +95 -0
- package/dist/agents/redux/conversation-list/conversation-list.types.js +15 -0
- package/dist/agents/redux/conversation-list/conversation-row-actions.thunks.d.ts +195 -0
- package/dist/agents/redux/conversation-list/conversation-row-actions.thunks.js +252 -0
- package/dist/agents/redux/conversation-list/conversation-trash.thunks.d.ts +64 -0
- package/dist/agents/redux/conversation-list/conversation-trash.thunks.js +115 -0
- package/dist/agents/redux/conversation-list/merge-live-list-row.d.ts +20 -0
- package/dist/agents/redux/conversation-list/merge-live-list-row.js +30 -0
- package/dist/agents/redux/conversation-list/record-conversation-from-execution.d.ts +33 -0
- package/dist/agents/redux/conversation-list/record-conversation-from-execution.js +66 -0
- package/dist/agents/redux/execution-system/active-requests/active-requests.selectors.d.ts +4149 -0
- package/dist/agents/redux/execution-system/active-requests/active-requests.selectors.js +1281 -0
- package/dist/agents/redux/execution-system/active-requests/active-requests.slice.d.ts +234 -0
- package/dist/agents/redux/execution-system/active-requests/active-requests.slice.js +1046 -0
- package/dist/agents/redux/execution-system/active-requests/useRetainRequestForViewer.d.ts +9 -0
- package/dist/agents/redux/execution-system/active-requests/useRetainRequestForViewer.js +31 -0
- package/dist/agents/redux/execution-system/active-tools/active-tools.slice.d.ts +44 -0
- package/dist/agents/redux/execution-system/active-tools/active-tools.slice.js +35 -0
- package/dist/agents/redux/execution-system/client-capabilities/agent-fs.provider.d.ts +17 -0
- package/dist/agents/redux/execution-system/client-capabilities/agent-fs.provider.js +10 -0
- package/dist/agents/redux/execution-system/client-capabilities/desktop-native.provider.d.ts +22 -0
- package/dist/agents/redux/execution-system/client-capabilities/desktop-native.provider.js +25 -0
- package/dist/agents/redux/execution-system/client-capabilities/desktop-presence.d.ts +46 -0
- package/dist/agents/redux/execution-system/client-capabilities/desktop-presence.js +86 -0
- package/dist/agents/redux/execution-system/client-capabilities/editor-state.provider.d.ts +11 -0
- package/dist/agents/redux/execution-system/client-capabilities/editor-state.provider.js +6 -0
- package/dist/agents/redux/execution-system/client-capabilities/register-all.d.ts +13 -0
- package/dist/agents/redux/execution-system/client-capabilities/register-all.js +5 -0
- package/dist/agents/redux/execution-system/client-capabilities/registry.d.ts +37 -0
- package/dist/agents/redux/execution-system/client-capabilities/registry.js +14 -0
- package/dist/agents/redux/execution-system/client-capabilities/sandbox-fs.provider.d.ts +11 -0
- package/dist/agents/redux/execution-system/client-capabilities/sandbox-fs.provider.js +6 -0
- package/dist/agents/redux/execution-system/client-capabilities/widget-handle.provider.d.ts +17 -0
- package/dist/agents/redux/execution-system/client-capabilities/widget-handle.provider.js +22 -0
- package/dist/agents/redux/execution-system/context-rules/context-hierarchy.d.ts +49 -0
- package/dist/agents/redux/execution-system/context-rules/context-hierarchy.js +57 -0
- package/dist/agents/redux/execution-system/context-rules/context-rules.thunks.d.ts +71 -0
- package/dist/agents/redux/execution-system/context-rules/context-rules.thunks.js +164 -0
- package/dist/agents/redux/execution-system/context-rules/context-viewer.d.ts +33 -0
- package/dist/agents/redux/execution-system/context-rules/context-viewer.js +73 -0
- package/dist/agents/redux/execution-system/context-rules/mandate-kill-switch.d.ts +18 -0
- package/dist/agents/redux/execution-system/context-rules/mandate-kill-switch.js +34 -0
- package/dist/agents/redux/execution-system/context-rules/receipt-check.d.ts +44 -0
- package/dist/agents/redux/execution-system/context-rules/receipt-check.js +120 -0
- package/dist/agents/redux/execution-system/context-rules/request-context.d.ts +202 -0
- package/dist/agents/redux/execution-system/context-rules/request-context.js +423 -0
- package/dist/agents/redux/execution-system/context-rules/surface-context-rows.d.ts +26 -0
- package/dist/agents/redux/execution-system/context-rules/surface-context-rows.js +73 -0
- package/dist/agents/redux/execution-system/context-state/context-state.selectors.d.ts +927 -0
- package/dist/agents/redux/execution-system/context-state/context-state.selectors.js +55 -0
- package/dist/agents/redux/execution-system/context-state/context-state.slice.d.ts +85 -0
- package/dist/agents/redux/execution-system/context-state/context-state.slice.js +109 -0
- package/dist/agents/redux/execution-system/conversation-focus/conversation-focus.selectors.d.ts +31 -0
- package/dist/agents/redux/execution-system/conversation-focus/conversation-focus.selectors.js +30 -0
- package/dist/agents/redux/execution-system/conversation-focus/conversation-focus.slice.d.ts +48 -0
- package/dist/agents/redux/execution-system/conversation-focus/conversation-focus.slice.js +102 -0
- package/dist/agents/redux/execution-system/conversations/conversation-persistence.d.ts +38 -0
- package/dist/agents/redux/execution-system/conversations/conversation-persistence.js +30 -0
- package/dist/agents/redux/execution-system/conversations/conversations.selectors.d.ts +393 -0
- package/dist/agents/redux/execution-system/conversations/conversations.selectors.js +87 -0
- package/dist/agents/redux/execution-system/conversations/conversations.slice.d.ts +83 -0
- package/dist/agents/redux/execution-system/conversations/conversations.slice.js +281 -0
- package/dist/agents/redux/execution-system/conversations/conversations.thunks.d.ts +30 -0
- package/dist/agents/redux/execution-system/conversations/conversations.thunks.js +39 -0
- package/dist/agents/redux/execution-system/conversations/surface-owns-output.persistence.d.ts +42 -0
- package/dist/agents/redux/execution-system/conversations/surface-owns-output.persistence.js +50 -0
- package/dist/agents/redux/execution-system/create-instance-full.d.ts +94 -0
- package/dist/agents/redux/execution-system/create-instance-full.js +7 -0
- package/dist/agents/redux/execution-system/display-mode-overlay.d.ts +28 -0
- package/dist/agents/redux/execution-system/display-mode-overlay.js +18 -0
- package/dist/agents/redux/execution-system/durable-runs/reattach-on-transport-loss.d.ts +64 -0
- package/dist/agents/redux/execution-system/durable-runs/reattach-on-transport-loss.js +79 -0
- package/dist/agents/redux/execution-system/inbox/deliver-stranded-queue.thunk.d.ts +36 -0
- package/dist/agents/redux/execution-system/inbox/deliver-stranded-queue.thunk.js +66 -0
- package/dist/agents/redux/execution-system/inbox/inbox-error.d.ts +14 -0
- package/dist/agents/redux/execution-system/inbox/inbox-error.js +17 -0
- package/dist/agents/redux/execution-system/inbox/inbox-turn-end.middleware.d.ts +3 -0
- package/dist/agents/redux/execution-system/inbox/inbox-turn-end.middleware.js +30 -0
- package/dist/agents/redux/execution-system/inbox/inbox.selectors.d.ts +24 -0
- package/dist/agents/redux/execution-system/inbox/inbox.selectors.js +23 -0
- package/dist/agents/redux/execution-system/inbox/inbox.slice.d.ts +76 -0
- package/dist/agents/redux/execution-system/inbox/inbox.slice.js +103 -0
- package/dist/agents/redux/execution-system/inbox/inbox.thunks.d.ts +147 -0
- package/dist/agents/redux/execution-system/inbox/inbox.thunks.js +229 -0
- package/dist/agents/redux/execution-system/instance-client-tools/instance-client-tools.selectors.d.ts +2 -0
- package/dist/agents/redux/execution-system/instance-client-tools/instance-client-tools.selectors.js +5 -0
- package/dist/agents/redux/execution-system/instance-client-tools/instance-client-tools.slice.d.ts +36 -0
- package/dist/agents/redux/execution-system/instance-client-tools/instance-client-tools.slice.js +65 -0
- package/dist/agents/redux/execution-system/instance-context/instance-context.selectors.d.ts +210 -0
- package/dist/agents/redux/execution-system/instance-context/instance-context.selectors.js +36 -0
- package/dist/agents/redux/execution-system/instance-context/instance-context.slice.d.ts +103 -0
- package/dist/agents/redux/execution-system/instance-context/instance-context.slice.js +243 -0
- package/dist/agents/redux/execution-system/instance-context/sync-canvas-item-context.thunk.d.ts +39 -0
- package/dist/agents/redux/execution-system/instance-context/sync-canvas-item-context.thunk.js +111 -0
- package/dist/agents/redux/execution-system/instance-input-capabilities/input-capabilities-snapshot.d.ts +11 -0
- package/dist/agents/redux/execution-system/instance-input-capabilities/input-capabilities-snapshot.js +25 -0
- package/dist/agents/redux/execution-system/instance-input-capabilities/instance-input-capabilities.persistence.d.ts +19 -0
- package/dist/agents/redux/execution-system/instance-input-capabilities/instance-input-capabilities.persistence.js +83 -0
- package/dist/agents/redux/execution-system/instance-input-capabilities/instance-input-capabilities.selectors.d.ts +12 -0
- package/dist/agents/redux/execution-system/instance-input-capabilities/instance-input-capabilities.selectors.js +37 -0
- package/dist/agents/redux/execution-system/instance-input-capabilities/instance-input-capabilities.slice.d.ts +39 -0
- package/dist/agents/redux/execution-system/instance-input-capabilities/instance-input-capabilities.slice.js +91 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/auto-means-unset.d.ts +23 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/auto-means-unset.js +14 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/base-settings.d.ts +23 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/base-settings.js +9 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/instance-model-overrides.selectors.d.ts +63 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/instance-model-overrides.selectors.js +78 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/instance-model-overrides.slice.d.ts +47 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/instance-model-overrides.slice.js +182 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/launch-model-overrides.d.ts +18 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/launch-model-overrides.js +23 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/offering-pin.d.ts +44 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/offering-pin.js +55 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/useEffectiveClassPin.d.ts +17 -0
- package/dist/agents/redux/execution-system/instance-model-overrides/useEffectiveClassPin.js +36 -0
- package/dist/agents/redux/execution-system/instance-resources/answer-edit-remark.d.ts +15 -0
- package/dist/agents/redux/execution-system/instance-resources/answer-edit-remark.js +81 -0
- package/dist/agents/redux/execution-system/instance-resources/editable-resource-types.d.ts +15 -0
- package/dist/agents/redux/execution-system/instance-resources/editable-resource-types.js +20 -0
- package/dist/agents/redux/execution-system/instance-resources/instance-resources.selectors.d.ts +2035 -0
- package/dist/agents/redux/execution-system/instance-resources/instance-resources.selectors.js +572 -0
- package/dist/agents/redux/execution-system/instance-resources/instance-resources.slice.d.ts +81 -0
- package/dist/agents/redux/execution-system/instance-resources/instance-resources.slice.js +262 -0
- package/dist/agents/redux/execution-system/instance-resources/message-part-resources.d.ts +32 -0
- package/dist/agents/redux/execution-system/instance-resources/message-part-resources.js +139 -0
- package/dist/agents/redux/execution-system/instance-resources/remark-diff.d.ts +9 -0
- package/dist/agents/redux/execution-system/instance-resources/remark-diff.js +60 -0
- package/dist/agents/redux/execution-system/instance-resources/remark-handles.d.ts +73 -0
- package/dist/agents/redux/execution-system/instance-resources/remark-handles.js +123 -0
- package/dist/agents/redux/execution-system/instance-resources/remark-knob.d.ts +8 -0
- package/dist/agents/redux/execution-system/instance-resources/remark-knob.js +29 -0
- package/dist/agents/redux/execution-system/instance-resources/remark-sink.d.ts +13 -0
- package/dist/agents/redux/execution-system/instance-resources/remark-sink.js +40 -0
- package/dist/agents/redux/execution-system/instance-resources/remarks-wire.d.ts +20 -0
- package/dist/agents/redux/execution-system/instance-resources/remarks-wire.js +104 -0
- package/dist/agents/redux/execution-system/instance-resources/remarks.d.ts +201 -0
- package/dist/agents/redux/execution-system/instance-resources/remarks.js +219 -0
- package/dist/agents/redux/execution-system/instance-resources/resource-source.d.ts +36 -0
- package/dist/agents/redux/execution-system/instance-resources/resource-source.js +59 -0
- package/dist/agents/redux/execution-system/instance-resources/task-toggle-projection.d.ts +7 -0
- package/dist/agents/redux/execution-system/instance-resources/task-toggle-projection.js +55 -0
- package/dist/agents/redux/execution-system/instance-ui-state/components/InstanceUIStateCore.d.ts +7 -0
- package/dist/agents/redux/execution-system/instance-ui-state/components/InstanceUIStateCore.js +479 -0
- package/dist/agents/redux/execution-system/instance-ui-state/components/InstanceUIStateList.d.ts +11 -0
- package/dist/agents/redux/execution-system/instance-ui-state/components/InstanceUIStateList.js +188 -0
- package/dist/agents/redux/execution-system/instance-ui-state/instance-ui-state.selectors.d.ts +482 -0
- package/dist/agents/redux/execution-system/instance-ui-state/instance-ui-state.selectors.js +284 -0
- package/dist/agents/redux/execution-system/instance-ui-state/instance-ui-state.slice.d.ts +253 -0
- package/dist/agents/redux/execution-system/instance-ui-state/instance-ui-state.slice.js +695 -0
- package/dist/agents/redux/execution-system/instance-ui-state/launch-handle-release.middleware.d.ts +3 -0
- package/dist/agents/redux/execution-system/instance-ui-state/launch-handle-release.middleware.js +49 -0
- package/dist/agents/redux/execution-system/instance-ui-state/run-configuration-persist.d.ts +38 -0
- package/dist/agents/redux/execution-system/instance-ui-state/run-configuration-persist.js +172 -0
- package/dist/agents/redux/execution-system/instance-user-input/clear-composer.thunk.d.ts +11 -0
- package/dist/agents/redux/execution-system/instance-user-input/clear-composer.thunk.js +20 -0
- package/dist/agents/redux/execution-system/instance-user-input/composer-draft-store.d.ts +75 -0
- package/dist/agents/redux/execution-system/instance-user-input/composer-draft-store.js +231 -0
- package/dist/agents/redux/execution-system/instance-user-input/composer-draft.middleware.d.ts +15 -0
- package/dist/agents/redux/execution-system/instance-user-input/composer-draft.middleware.js +118 -0
- package/dist/agents/redux/execution-system/instance-user-input/input-draft-protection.d.ts +34 -0
- package/dist/agents/redux/execution-system/instance-user-input/input-draft-protection.js +44 -0
- package/dist/agents/redux/execution-system/instance-user-input/instance-user-input.selectors.d.ts +61 -0
- package/dist/agents/redux/execution-system/instance-user-input/instance-user-input.selectors.js +34 -0
- package/dist/agents/redux/execution-system/instance-user-input/instance-user-input.slice.d.ts +73 -0
- package/dist/agents/redux/execution-system/instance-user-input/instance-user-input.slice.js +329 -0
- package/dist/agents/redux/execution-system/instance-user-input/restore-composer-draft.thunk.d.ts +18 -0
- package/dist/agents/redux/execution-system/instance-user-input/restore-composer-draft.thunk.js +26 -0
- package/dist/agents/redux/execution-system/instance-user-input/restore-unsent-launch.thunk.d.ts +3 -0
- package/dist/agents/redux/execution-system/instance-user-input/restore-unsent-launch.thunk.js +44 -0
- package/dist/agents/redux/execution-system/instance-user-input/unsent-draft.selectors.d.ts +7 -0
- package/dist/agents/redux/execution-system/instance-user-input/unsent-draft.selectors.js +11 -0
- package/dist/agents/redux/execution-system/instance-user-input/unsent-launch-store.d.ts +24 -0
- package/dist/agents/redux/execution-system/instance-user-input/unsent-launch-store.js +51 -0
- package/dist/agents/redux/execution-system/instance-user-input/unsent-launch.middleware.d.ts +18 -0
- package/dist/agents/redux/execution-system/instance-user-input/unsent-launch.middleware.js +130 -0
- package/dist/agents/redux/execution-system/instance-user-input/useComposerDraftRestore.d.ts +21 -0
- package/dist/agents/redux/execution-system/instance-user-input/useComposerDraftRestore.js +72 -0
- package/dist/agents/redux/execution-system/instance-variable-values/bound-variable.selectors.d.ts +21 -0
- package/dist/agents/redux/execution-system/instance-variable-values/bound-variable.selectors.js +73 -0
- package/dist/agents/redux/execution-system/instance-variable-values/instance-variable-values.persistence.d.ts +63 -0
- package/dist/agents/redux/execution-system/instance-variable-values/instance-variable-values.persistence.js +36 -0
- package/dist/agents/redux/execution-system/instance-variable-values/instance-variable-values.selectors.d.ts +540 -0
- package/dist/agents/redux/execution-system/instance-variable-values/instance-variable-values.selectors.js +138 -0
- package/dist/agents/redux/execution-system/instance-variable-values/instance-variable-values.slice.d.ts +125 -0
- package/dist/agents/redux/execution-system/instance-variable-values/instance-variable-values.slice.js +296 -0
- package/dist/agents/redux/execution-system/instance-variable-values/instance-variable-values.thunks.d.ts +38 -0
- package/dist/agents/redux/execution-system/instance-variable-values/instance-variable-values.thunks.js +42 -0
- package/dist/agents/redux/execution-system/instance-variable-values/resolve-variables-for-request.d.ts +15 -0
- package/dist/agents/redux/execution-system/instance-variable-values/resolve-variables-for-request.js +37 -0
- package/dist/agents/redux/execution-system/instance-working-document/contextDelta.d.ts +27 -0
- package/dist/agents/redux/execution-system/instance-working-document/contextDelta.js +17 -0
- package/dist/agents/redux/execution-system/instance-working-document/cx-working-document.service.d.ts +223 -0
- package/dist/agents/redux/execution-system/instance-working-document/cx-working-document.service.js +313 -0
- package/dist/agents/redux/execution-system/instance-working-document/instance-working-document.selectors.d.ts +35 -0
- package/dist/agents/redux/execution-system/instance-working-document/instance-working-document.selectors.js +46 -0
- package/dist/agents/redux/execution-system/instance-working-document/instance-working-document.slice.d.ts +176 -0
- package/dist/agents/redux/execution-system/instance-working-document/instance-working-document.slice.js +293 -0
- package/dist/agents/redux/execution-system/instance-working-document/instance-working-document.thunks.d.ts +329 -0
- package/dist/agents/redux/execution-system/instance-working-document/instance-working-document.thunks.js +1058 -0
- package/dist/agents/redux/execution-system/instance-working-document/scratchpad.thunks.d.ts +151 -0
- package/dist/agents/redux/execution-system/instance-working-document/scratchpad.thunks.js +284 -0
- package/dist/agents/redux/execution-system/instance-working-document/useLiveWorkingDocPatch.d.ts +10 -0
- package/dist/agents/redux/execution-system/instance-working-document/useLiveWorkingDocPatch.js +93 -0
- package/dist/agents/redux/execution-system/instance-working-document/workingDocPatchDiff.d.ts +63 -0
- package/dist/agents/redux/execution-system/instance-working-document/workingDocPatchDiff.js +30 -0
- package/dist/agents/redux/execution-system/message-crud/answer-text-splice.d.ts +124 -0
- package/dist/agents/redux/execution-system/message-crud/answer-text-splice.js +379 -0
- package/dist/agents/redux/execution-system/message-crud/cache-bypass.slice.d.ts +47 -0
- package/dist/agents/redux/execution-system/message-crud/cache-bypass.slice.js +69 -0
- package/dist/agents/redux/execution-system/message-crud/commit-inline-edit.thunk.d.ts +84 -0
- package/dist/agents/redux/execution-system/message-crud/commit-inline-edit.thunk.js +108 -0
- package/dist/agents/redux/execution-system/message-crud/content-blocks.util.d.ts +27 -0
- package/dist/agents/redux/execution-system/message-crud/content-blocks.util.js +14 -0
- package/dist/agents/redux/execution-system/message-crud/delete-message.thunk.d.ts +50 -0
- package/dist/agents/redux/execution-system/message-crud/delete-message.thunk.js +106 -0
- package/dist/agents/redux/execution-system/message-crud/edit-message-text.thunk.d.ts +27 -0
- package/dist/agents/redux/execution-system/message-crud/edit-message-text.thunk.js +19 -0
- package/dist/agents/redux/execution-system/message-crud/edit-message.thunk.d.ts +48 -0
- package/dist/agents/redux/execution-system/message-crud/edit-message.thunk.js +198 -0
- package/dist/agents/redux/execution-system/message-crud/fork-and-resubmit-from-message.thunk.d.ts +57 -0
- package/dist/agents/redux/execution-system/message-crud/fork-and-resubmit-from-message.thunk.js +65 -0
- package/dist/agents/redux/execution-system/message-crud/fork-conversation.thunk.d.ts +51 -0
- package/dist/agents/redux/execution-system/message-crud/fork-conversation.thunk.js +140 -0
- package/dist/agents/redux/execution-system/message-crud/invalidate-conversation-cache.thunk.d.ts +35 -0
- package/dist/agents/redux/execution-system/message-crud/invalidate-conversation-cache.thunk.js +40 -0
- package/dist/agents/redux/execution-system/message-crud/overwrite-and-resend.thunk.d.ts +63 -0
- package/dist/agents/redux/execution-system/message-crud/overwrite-and-resend.thunk.js +74 -0
- package/dist/agents/redux/execution-system/message-crud/refetch-single-message.thunk.d.ts +57 -0
- package/dist/agents/redux/execution-system/message-crud/refetch-single-message.thunk.js +111 -0
- package/dist/agents/redux/execution-system/message-crud/regenerate-anchor.d.ts +26 -0
- package/dist/agents/redux/execution-system/message-crud/regenerate-anchor.js +25 -0
- package/dist/agents/redux/execution-system/message-crud/regenerate-answer.d.ts +35 -0
- package/dist/agents/redux/execution-system/message-crud/regenerate-answer.js +49 -0
- package/dist/agents/redux/execution-system/message-crud/retry-turn.thunk.d.ts +56 -0
- package/dist/agents/redux/execution-system/message-crud/retry-turn.thunk.js +85 -0
- package/dist/agents/redux/execution-system/message-crud/save-answer-edit.thunk.d.ts +102 -0
- package/dist/agents/redux/execution-system/message-crud/save-answer-edit.thunk.js +98 -0
- package/dist/agents/redux/execution-system/message-crud/server/batch-delete-messages.thunk.d.ts +43 -0
- package/dist/agents/redux/execution-system/message-crud/server/batch-delete-messages.thunk.js +42 -0
- package/dist/agents/redux/execution-system/message-crud/server/compact-turns.thunk.d.ts +58 -0
- package/dist/agents/redux/execution-system/message-crud/server/compact-turns.thunk.js +50 -0
- package/dist/agents/redux/execution-system/message-crud/server/fork-and-run-server.thunk.d.ts +76 -0
- package/dist/agents/redux/execution-system/message-crud/server/fork-and-run-server.thunk.js +101 -0
- package/dist/agents/redux/execution-system/message-crud/server/fork-conversation-server.thunk.d.ts +59 -0
- package/dist/agents/redux/execution-system/message-crud/server/fork-conversation-server.thunk.js +83 -0
- package/dist/agents/redux/execution-system/message-crud/server/hide-messages.thunk.d.ts +45 -0
- package/dist/agents/redux/execution-system/message-crud/server/hide-messages.thunk.js +38 -0
- package/dist/agents/redux/execution-system/message-crud/server/replace-messages.thunk.d.ts +58 -0
- package/dist/agents/redux/execution-system/message-crud/server/replace-messages.thunk.js +46 -0
- package/dist/agents/redux/execution-system/message-crud/server/restore-compaction.thunk.d.ts +39 -0
- package/dist/agents/redux/execution-system/message-crud/server/restore-compaction.thunk.js +44 -0
- package/dist/agents/redux/execution-system/message-crud/soft-delete-conversation.thunk.d.ts +35 -0
- package/dist/agents/redux/execution-system/message-crud/soft-delete-conversation.thunk.js +45 -0
- package/dist/agents/redux/execution-system/message-crud/stamp-remark-handles.thunk.d.ts +23 -0
- package/dist/agents/redux/execution-system/message-crud/stamp-remark-handles.thunk.js +46 -0
- package/dist/agents/redux/execution-system/messages/message-citations.d.ts +177 -0
- package/dist/agents/redux/execution-system/messages/message-citations.js +247 -0
- package/dist/agents/redux/execution-system/messages/message-context-receipt.d.ts +48 -0
- package/dist/agents/redux/execution-system/messages/message-context-receipt.js +67 -0
- package/dist/agents/redux/execution-system/messages/messages.selectors.d.ts +291 -0
- package/dist/agents/redux/execution-system/messages/messages.selectors.js +589 -0
- package/dist/agents/redux/execution-system/messages/messages.slice.d.ts +364 -0
- package/dist/agents/redux/execution-system/messages/messages.slice.js +565 -0
- package/dist/agents/redux/execution-system/messages/persisted-content-boundary.d.ts +36 -0
- package/dist/agents/redux/execution-system/messages/persisted-content-boundary.js +167 -0
- package/dist/agents/redux/execution-system/messages/transcript-journal.d.ts +35 -0
- package/dist/agents/redux/execution-system/messages/transcript-journal.js +35 -0
- package/dist/agents/redux/execution-system/observability/observability.selectors.d.ts +491 -0
- package/dist/agents/redux/execution-system/observability/observability.selectors.js +112 -0
- package/dist/agents/redux/execution-system/observability/observability.slice.d.ts +183 -0
- package/dist/agents/redux/execution-system/observability/observability.slice.js +205 -0
- package/dist/agents/redux/execution-system/observational-memory/fetch-memory-cost.thunk.d.ts +35 -0
- package/dist/agents/redux/execution-system/observational-memory/fetch-memory-cost.thunk.js +33 -0
- package/dist/agents/redux/execution-system/observational-memory/observational-memory.selectors.d.ts +92 -0
- package/dist/agents/redux/execution-system/observational-memory/observational-memory.selectors.js +73 -0
- package/dist/agents/redux/execution-system/observational-memory/observational-memory.slice.d.ts +142 -0
- package/dist/agents/redux/execution-system/observational-memory/observational-memory.slice.js +243 -0
- package/dist/agents/redux/execution-system/run-sets/run-sets.slice.d.ts +77 -0
- package/dist/agents/redux/execution-system/run-sets/run-sets.slice.js +49 -0
- package/dist/agents/redux/execution-system/run-sets/run-sets.thunks.d.ts +43 -0
- package/dist/agents/redux/execution-system/run-sets/run-sets.thunks.js +106 -0
- package/dist/agents/redux/execution-system/selectors/aggregate.selectors.d.ts +1378 -0
- package/dist/agents/redux/execution-system/selectors/aggregate.selectors.js +516 -0
- package/dist/agents/redux/execution-system/thunks/abort-registry.d.ts +29 -0
- package/dist/agents/redux/execution-system/thunks/abort-registry.js +55 -0
- package/dist/agents/redux/execution-system/thunks/adopt-foreign-stream.d.ts +120 -0
- package/dist/agents/redux/execution-system/thunks/adopt-foreign-stream.js +88 -0
- package/dist/agents/redux/execution-system/thunks/attach-workflow-run.d.ts +38 -0
- package/dist/agents/redux/execution-system/thunks/attach-workflow-run.js +25 -0
- package/dist/agents/redux/execution-system/thunks/conversation-bundle.d.ts +99 -0
- package/dist/agents/redux/execution-system/thunks/conversation-bundle.js +302 -0
- package/dist/agents/redux/execution-system/thunks/copy-instance-request-draft.thunk.d.ts +35 -0
- package/dist/agents/redux/execution-system/thunks/copy-instance-request-draft.thunk.js +384 -0
- package/dist/agents/redux/execution-system/thunks/create-instance.thunk.d.ts +305 -0
- package/dist/agents/redux/execution-system/thunks/create-instance.thunk.js +933 -0
- package/dist/agents/redux/execution-system/thunks/dispatch-matrx-extend-tool.thunk.d.ts +25 -0
- package/dist/agents/redux/execution-system/thunks/dispatch-matrx-extend-tool.thunk.js +139 -0
- package/dist/agents/redux/execution-system/thunks/dispatch-surface-client-tool.thunk.d.ts +43 -0
- package/dist/agents/redux/execution-system/thunks/dispatch-surface-client-tool.thunk.js +75 -0
- package/dist/agents/redux/execution-system/thunks/dispatch-surface-write.thunk.d.ts +63 -0
- package/dist/agents/redux/execution-system/thunks/dispatch-surface-write.thunk.js +95 -0
- package/dist/agents/redux/execution-system/thunks/dispatch-widget-action.thunk.d.ts +44 -0
- package/dist/agents/redux/execution-system/thunks/dispatch-widget-action.thunk.js +195 -0
- package/dist/agents/redux/execution-system/thunks/execute-builtin-with-extraction.thunks.d.ts +57 -0
- package/dist/agents/redux/execution-system/thunks/execute-builtin-with-extraction.thunks.js +175 -0
- package/dist/agents/redux/execution-system/thunks/execute-instance.thunk.d.ts +148 -0
- package/dist/agents/redux/execution-system/thunks/execute-instance.thunk.js +663 -0
- package/dist/agents/redux/execution-system/thunks/execute-manual-instance.thunk.d.ts +50 -0
- package/dist/agents/redux/execution-system/thunks/execute-manual-instance.thunk.js +737 -0
- package/dist/agents/redux/execution-system/thunks/execution-rejection-meta.d.ts +49 -0
- package/dist/agents/redux/execution-system/thunks/execution-rejection-meta.js +37 -0
- package/dist/agents/redux/execution-system/thunks/follow-workflow-run-stream.d.ts +115 -0
- package/dist/agents/redux/execution-system/thunks/follow-workflow-run-stream.js +196 -0
- package/dist/agents/redux/execution-system/thunks/frozen-submission.d.ts +47 -0
- package/dist/agents/redux/execution-system/thunks/frozen-submission.js +62 -0
- package/dist/agents/redux/execution-system/thunks/launch-agent-execution.thunk.d.ts +37 -0
- package/dist/agents/redux/execution-system/thunks/launch-agent-execution.thunk.js +753 -0
- package/dist/agents/redux/execution-system/thunks/launch-conversation.thunk.d.ts +65 -0
- package/dist/agents/redux/execution-system/thunks/launch-conversation.thunk.js +85 -0
- package/dist/agents/redux/execution-system/thunks/load-agent-call-child.thunk.d.ts +25 -0
- package/dist/agents/redux/execution-system/thunks/load-agent-call-child.thunk.js +57 -0
- package/dist/agents/redux/execution-system/thunks/load-conversation.thunk.d.ts +100 -0
- package/dist/agents/redux/execution-system/thunks/load-conversation.thunk.js +453 -0
- package/dist/agents/redux/execution-system/thunks/load-older-messages.thunk.d.ts +63 -0
- package/dist/agents/redux/execution-system/thunks/load-older-messages.thunk.js +69 -0
- package/dist/agents/redux/execution-system/thunks/matrx-transport-for-conversation.d.ts +34 -0
- package/dist/agents/redux/execution-system/thunks/matrx-transport-for-conversation.js +26 -0
- package/dist/agents/redux/execution-system/thunks/page-context.thunk.d.ts +14 -0
- package/dist/agents/redux/execution-system/thunks/page-context.thunk.js +25 -0
- package/dist/agents/redux/execution-system/thunks/process-stream.d.ts +112 -0
- package/dist/agents/redux/execution-system/thunks/process-stream.js +2582 -0
- package/dist/agents/redux/execution-system/thunks/provider-retry-control.thunk.d.ts +21 -0
- package/dist/agents/redux/execution-system/thunks/provider-retry-control.thunk.js +49 -0
- package/dist/agents/redux/execution-system/thunks/recover-dropped-stream.thunk.d.ts +50 -0
- package/dist/agents/redux/execution-system/thunks/recover-dropped-stream.thunk.js +60 -0
- package/dist/agents/redux/execution-system/thunks/refresh-conversation-binding.thunk.d.ts +34 -0
- package/dist/agents/redux/execution-system/thunks/refresh-conversation-binding.thunk.js +50 -0
- package/dist/agents/redux/execution-system/thunks/refresh-surface-scope.thunk.d.ts +43 -0
- package/dist/agents/redux/execution-system/thunks/refresh-surface-scope.thunk.js +298 -0
- package/dist/agents/redux/execution-system/thunks/request-draft-snapshot.d.ts +71 -0
- package/dist/agents/redux/execution-system/thunks/request-draft-snapshot.js +255 -0
- package/dist/agents/redux/execution-system/thunks/resolve-base-url.d.ts +64 -0
- package/dist/agents/redux/execution-system/thunks/resolve-base-url.js +113 -0
- package/dist/agents/redux/execution-system/thunks/resume-claims.d.ts +81 -0
- package/dist/agents/redux/execution-system/thunks/resume-claims.js +52 -0
- package/dist/agents/redux/execution-system/thunks/resume-conversation.thunk.d.ts +37 -0
- package/dist/agents/redux/execution-system/thunks/resume-conversation.thunk.js +66 -0
- package/dist/agents/redux/execution-system/thunks/resume-instance.thunk.d.ts +26 -0
- package/dist/agents/redux/execution-system/thunks/resume-instance.thunk.js +311 -0
- package/dist/agents/redux/execution-system/thunks/run-ai-stream.d.ts +211 -0
- package/dist/agents/redux/execution-system/thunks/run-ai-stream.js +594 -0
- package/dist/agents/redux/execution-system/thunks/run-headless-agent-json.d.ts +324 -0
- package/dist/agents/redux/execution-system/thunks/run-headless-agent-json.js +535 -0
- package/dist/agents/redux/execution-system/thunks/sandbox-gate.thunk.d.ts +103 -0
- package/dist/agents/redux/execution-system/thunks/sandbox-gate.thunk.js +134 -0
- package/dist/agents/redux/execution-system/thunks/settle-after-stop.thunk.d.ts +69 -0
- package/dist/agents/redux/execution-system/thunks/settle-after-stop.thunk.js +130 -0
- package/dist/agents/redux/execution-system/thunks/smart-execute.thunk.d.ts +83 -0
- package/dist/agents/redux/execution-system/thunks/smart-execute.thunk.js +530 -0
- package/dist/agents/redux/execution-system/thunks/stream-flush-scheduler.d.ts +18 -0
- package/dist/agents/redux/execution-system/thunks/stream-flush-scheduler.js +54 -0
- package/dist/agents/redux/execution-system/thunks/structured-output-flattening.d.ts +83 -0
- package/dist/agents/redux/execution-system/thunks/structured-output-flattening.js +60 -0
- package/dist/agents/redux/execution-system/thunks/submit-claims.d.ts +36 -0
- package/dist/agents/redux/execution-system/thunks/submit-claims.js +39 -0
- package/dist/agents/redux/execution-system/thunks/surface-cold-pending-calls.thunk.d.ts +23 -0
- package/dist/agents/redux/execution-system/thunks/surface-cold-pending-calls.thunk.js +44 -0
- package/dist/agents/redux/execution-system/thunks/surface-delegated-tool-call.thunk.d.ts +66 -0
- package/dist/agents/redux/execution-system/thunks/surface-delegated-tool-call.thunk.js +275 -0
- package/dist/agents/redux/execution-system/thunks/surface-scope-mapping.d.ts +62 -0
- package/dist/agents/redux/execution-system/thunks/surface-scope-mapping.js +181 -0
- package/dist/agents/redux/execution-system/thunks/surface-tool-call.d.ts +25 -0
- package/dist/agents/redux/execution-system/thunks/surface-tool-call.js +50 -0
- package/dist/agents/redux/execution-system/thunks/surface-write-approval-change.d.ts +57 -0
- package/dist/agents/redux/execution-system/thunks/surface-write-approval-change.js +64 -0
- package/dist/agents/redux/execution-system/thunks/watch-desktop-delegation.thunk.d.ts +26 -0
- package/dist/agents/redux/execution-system/thunks/watch-desktop-delegation.thunk.js +287 -0
- package/dist/agents/redux/execution-system/thunks/widget-action-approval-change.d.ts +16 -0
- package/dist/agents/redux/execution-system/thunks/widget-action-approval-change.js +69 -0
- package/dist/agents/redux/execution-system/utils/agent-call-trace.d.ts +64 -0
- package/dist/agents/redux/execution-system/utils/agent-call-trace.js +90 -0
- package/dist/agents/redux/execution-system/utils/assemble-cx-content-blocks.d.ts +66 -0
- package/dist/agents/redux/execution-system/utils/assemble-cx-content-blocks.js +464 -0
- package/dist/agents/redux/execution-system/utils/assert-conversation-id.d.ts +14 -0
- package/dist/agents/redux/execution-system/utils/assert-conversation-id.js +12 -0
- package/dist/agents/redux/execution-system/utils/block-media-identity.d.ts +11 -0
- package/dist/agents/redux/execution-system/utils/block-media-identity.js +31 -0
- package/dist/agents/redux/execution-system/utils/build-skill-config-for-request.d.ts +38 -0
- package/dist/agents/redux/execution-system/utils/build-skill-config-for-request.js +56 -0
- package/dist/agents/redux/execution-system/utils/build-tool-injection.d.ts +56 -0
- package/dist/agents/redux/execution-system/utils/build-tool-injection.js +269 -0
- package/dist/agents/redux/execution-system/utils/child-owned-ranges.d.ts +34 -0
- package/dist/agents/redux/execution-system/utils/child-owned-ranges.js +48 -0
- package/dist/agents/redux/execution-system/utils/content-prefilter.d.ts +50 -0
- package/dist/agents/redux/execution-system/utils/content-prefilter.js +243 -0
- package/dist/agents/redux/execution-system/utils/continuation-body.d.ts +65 -0
- package/dist/agents/redux/execution-system/utils/continuation-body.js +76 -0
- package/dist/agents/redux/execution-system/utils/handoff-stream-state.d.ts +121 -0
- package/dist/agents/redux/execution-system/utils/handoff-stream-state.js +47 -0
- package/dist/agents/redux/execution-system/utils/ids.d.ts +13 -0
- package/dist/agents/redux/execution-system/utils/ids.js +12 -0
- package/dist/agents/redux/execution-system/utils/inbound-render-block.d.ts +42 -0
- package/dist/agents/redux/execution-system/utils/inbound-render-block.js +35 -0
- package/dist/agents/redux/execution-system/utils/launch-failure-message.d.ts +22 -0
- package/dist/agents/redux/execution-system/utils/launch-failure-message.js +12 -0
- package/dist/agents/redux/execution-system/utils/loaded-skill-sources.d.ts +8 -0
- package/dist/agents/redux/execution-system/utils/loaded-skill-sources.js +13 -0
- package/dist/agents/redux/execution-system/utils/normalize-content-blocks.d.ts +22 -0
- package/dist/agents/redux/execution-system/utils/normalize-content-blocks.js +430 -0
- package/dist/agents/redux/execution-system/utils/output-contract-guard.d.ts +60 -0
- package/dist/agents/redux/execution-system/utils/output-contract-guard.js +67 -0
- package/dist/agents/redux/execution-system/utils/page-leaving.d.ts +3 -0
- package/dist/agents/redux/execution-system/utils/page-leaving.js +27 -0
- package/dist/agents/redux/execution-system/utils/page-tool-binding.d.ts +64 -0
- package/dist/agents/redux/execution-system/utils/page-tool-binding.js +63 -0
- package/dist/agents/redux/execution-system/utils/request-overrides.d.ts +25 -0
- package/dist/agents/redux/execution-system/utils/request-overrides.js +29 -0
- package/dist/agents/redux/execution-system/utils/request-user-overrides.d.ts +16 -0
- package/dist/agents/redux/execution-system/utils/request-user-overrides.js +13 -0
- package/dist/agents/redux/execution-system/utils/required-organization.d.ts +59 -0
- package/dist/agents/redux/execution-system/utils/required-organization.js +53 -0
- package/dist/agents/redux/execution-system/utils/resolve-start-path.d.ts +43 -0
- package/dist/agents/redux/execution-system/utils/resolve-start-path.js +36 -0
- package/dist/agents/redux/execution-system/utils/shortcut-tool-block.d.ts +21 -0
- package/dist/agents/redux/execution-system/utils/shortcut-tool-block.js +14 -0
- package/dist/agents/redux/execution-system/utils/source-slice-helpers.d.ts +45 -0
- package/dist/agents/redux/execution-system/utils/source-slice-helpers.js +50 -0
- package/dist/agents/redux/execution-system/utils/stream-block-accumulator.d.ts +343 -0
- package/dist/agents/redux/execution-system/utils/stream-block-accumulator.js +1945 -0
- package/dist/agents/redux/execution-system/utils/streamHandoffSignal.d.ts +22 -0
- package/dist/agents/redux/execution-system/utils/streamHandoffSignal.js +20 -0
- package/dist/agents/redux/execution-system/utils/surface-writes-note.d.ts +51 -0
- package/dist/agents/redux/execution-system/utils/surface-writes-note.js +71 -0
- package/dist/agents/redux/execution-system/utils/warn-request-context-drift.d.ts +46 -0
- package/dist/agents/redux/execution-system/utils/warn-request-context-drift.js +87 -0
- package/dist/agents/redux/execution-system/utils/wire-transcript.d.ts +40 -0
- package/dist/agents/redux/execution-system/utils/wire-transcript.js +30 -0
- package/dist/agents/redux/mcp/mcp.slice.d.ts +121 -0
- package/dist/agents/redux/mcp/mcp.slice.js +253 -0
- package/dist/agents/redux/model-registry.d.ts +6 -0
- package/dist/agents/redux/model-registry.js +10 -0
- package/dist/agents/redux/proposed-directives/proposedDirectivesSlice.d.ts +134 -0
- package/dist/agents/redux/proposed-directives/proposedDirectivesSlice.js +56 -0
- package/dist/agents/redux/shared/scope.d.ts +16 -0
- package/dist/agents/redux/shared/scope.js +61 -0
- package/dist/agents/redux/surfaces/request-surface-navigation.thunk.d.ts +42 -0
- package/dist/agents/redux/surfaces/request-surface-navigation.thunk.js +25 -0
- package/dist/agents/redux/surfaces/surfaces.slice.d.ts +76 -0
- package/dist/agents/redux/surfaces/surfaces.slice.js +46 -0
- package/dist/agents/redux/tools/database-tool.d.ts +3 -0
- package/dist/agents/redux/tools/database-tool.js +0 -0
- package/dist/agents/redux/tools/tools.selectors.d.ts +529 -0
- package/dist/agents/redux/tools/tools.selectors.js +24 -0
- package/dist/agents/redux/tools/tools.slice.d.ts +12 -0
- package/dist/agents/redux/tools/tools.slice.js +37 -0
- package/dist/agents/redux/tools/tools.thunks.d.ts +125 -0
- package/dist/agents/redux/tools/tools.thunks.js +42 -0
- package/dist/agents/resources/ResourceChips.d.ts +16 -0
- package/dist/agents/resources/ResourceChips.js +147 -0
- package/dist/agents/resources/ResourceDisplay.d.ts +20 -0
- package/dist/agents/resources/ResourceDisplay.js +132 -0
- package/dist/agents/resources/picker-view-id.d.ts +2 -0
- package/dist/agents/resources/picker-view-id.js +0 -0
- package/dist/agents/resources/types.d.ts +378 -0
- package/dist/agents/resources/types.js +0 -0
- package/dist/agents/resources/utils.d.ts +190 -0
- package/dist/agents/resources/utils.js +573 -0
- package/dist/agents/resources/webpage-snapshot.d.ts +10 -0
- package/dist/agents/resources/webpage-snapshot.js +35 -0
- package/dist/agents/route/AgentHydrator.d.ts +4 -0
- package/dist/agents/route/AgentHydrator.js +14 -0
- package/dist/agents/route/AgentHydratorServer.d.ts +8 -0
- package/dist/agents/route/AgentHydratorServer.js +11 -0
- package/dist/agents/route/AgentListHydrator.d.ts +4 -0
- package/dist/agents/route/AgentListHydrator.js +49 -0
- package/dist/agents/route/buildSystemAgentAiPayload.d.ts +14 -0
- package/dist/agents/route/buildSystemAgentAiPayload.js +79 -0
- package/dist/agents/run/useRunAgent.d.ts +69 -0
- package/dist/agents/run/useRunAgent.js +135 -0
- package/dist/agents/runtime/generation-job.d.ts +17 -0
- package/dist/agents/runtime/generation-job.js +58 -0
- package/dist/agents/runtime/get-model-capabilities.d.ts +6 -0
- package/dist/agents/runtime/get-model-capabilities.js +28 -0
- package/dist/agents/runtime/pickRuntime.d.ts +22 -0
- package/dist/agents/runtime/pickRuntime.js +69 -0
- package/dist/agents/runtime/portable-request-parity.d.ts +30 -0
- package/dist/agents/runtime/portable-request-parity.fixtures.d.ts +234 -0
- package/dist/agents/runtime/portable-request-parity.fixtures.js +127 -0
- package/dist/agents/runtime/portable-request-parity.js +117 -0
- package/dist/agents/runtime/realtime/launchRealtimeSession.thunk.d.ts +25 -0
- package/dist/agents/runtime/realtime/launchRealtimeSession.thunk.js +15 -0
- package/dist/agents/runtime/validation.d.ts +28 -0
- package/dist/agents/runtime/validation.js +38 -0
- package/dist/agents/runtime-reconnect/ServerOperationBanner.d.ts +3 -0
- package/dist/agents/runtime-reconnect/ServerOperationBanner.js +108 -0
- package/dist/agents/runtime-reconnect/api.d.ts +55 -0
- package/dist/agents/runtime-reconnect/api.js +39 -0
- package/dist/agents/runtime-reconnect/follow-what-is-still-in-flight.d.ts +19 -0
- package/dist/agents/runtime-reconnect/follow-what-is-still-in-flight.js +11 -0
- package/dist/agents/runtime-reconnect/mark-answer-following.d.ts +12 -0
- package/dist/agents/runtime-reconnect/mark-answer-following.js +20 -0
- package/dist/agents/runtime-reconnect/parked-on-person.d.ts +2 -0
- package/dist/agents/runtime-reconnect/parked-on-person.js +8 -0
- package/dist/agents/runtime-reconnect/reconnect-server-operation.thunk.d.ts +26 -0
- package/dist/agents/runtime-reconnect/reconnect-server-operation.thunk.js +393 -0
- package/dist/agents/runtime-reconnect/reread-and-follow.d.ts +20 -0
- package/dist/agents/runtime-reconnect/reread-and-follow.js +18 -0
- package/dist/agents/runtime-reconnect/retry-reconnect.d.ts +4 -0
- package/dist/agents/runtime-reconnect/retry-reconnect.js +78 -0
- package/dist/agents/runtime-reconnect/show-parked-ask.d.ts +2 -0
- package/dist/agents/runtime-reconnect/show-parked-ask.js +12 -0
- package/dist/agents/runtime-reconnect/types.d.ts +74 -0
- package/dist/agents/runtime-reconnect/types.js +4 -0
- package/dist/agents/runtime-reconnect/waiting-input-recovery.d.ts +34 -0
- package/dist/agents/runtime-reconnect/waiting-input-recovery.js +16 -0
- package/dist/agents/scribe-tools/dispatcher/dispatch-scribe-tool.thunk.d.ts +31 -0
- package/dist/agents/scribe-tools/dispatcher/dispatch-scribe-tool.thunk.js +106 -0
- package/dist/agents/scribe-tools/handlers/play-audio.handler.d.ts +21 -0
- package/dist/agents/scribe-tools/handlers/play-audio.handler.js +48 -0
- package/dist/agents/scribe-tools/handlers/types.d.ts +26 -0
- package/dist/agents/scribe-tools/handlers/types.js +0 -0
- package/dist/agents/scribe-tools/tools/names.d.ts +22 -0
- package/dist/agents/scribe-tools/tools/names.js +8 -0
- package/dist/agents/scribe-tools/tools/registry.d.ts +13 -0
- package/dist/agents/scribe-tools/tools/registry.js +18 -0
- package/dist/agents/scribe-tools/tools/schemas.d.ts +11 -0
- package/dist/agents/scribe-tools/tools/schemas.js +10 -0
- package/dist/agents/scribe-tools/tools/tool-defs.d.ts +19 -0
- package/dist/agents/scribe-tools/tools/tool-defs.js +32 -0
- package/dist/agents/services/agent-definition-snapshot.service.d.ts +15 -0
- package/dist/agents/services/agent-definition-snapshot.service.js +20 -0
- package/dist/agents/services/agentService.d.ts +12 -0
- package/dist/agents/services/agentService.js +92 -0
- package/dist/agents/services/agentService.types.d.ts +23 -0
- package/dist/agents/services/agentService.types.js +0 -0
- package/dist/agents/services/mcp-client/tool-discovery.d.ts +15 -0
- package/dist/agents/services/mcp-client/tool-discovery.js +0 -0
- package/dist/agents/services/mcp-connections.service.d.ts +63 -0
- package/dist/agents/services/mcp-connections.service.js +106 -0
- package/dist/agents/services/mcp-oauth/backend-failure.d.ts +12 -0
- package/dist/agents/services/mcp-oauth/backend-failure.js +62 -0
- package/dist/agents/services/mcp-oauth/client-registration.d.ts +6 -0
- package/dist/agents/services/mcp-oauth/client-registration.js +9 -0
- package/dist/agents/services/mcp-oauth/discovery.d.ts +81 -0
- package/dist/agents/services/mcp-oauth/discovery.js +264 -0
- package/dist/agents/services/mcp-oauth/endpoint.d.ts +12 -0
- package/dist/agents/services/mcp-oauth/endpoint.js +50 -0
- package/dist/agents/services/mcp-oauth/pkce.d.ts +3 -0
- package/dist/agents/services/mcp-oauth/pkce.js +26 -0
- package/dist/agents/services/mcp-oauth/popup.d.ts +38 -0
- package/dist/agents/services/mcp-oauth/popup.js +33 -0
- package/dist/agents/services/mcp-oauth/state.d.ts +7 -0
- package/dist/agents/services/mcp-oauth/state.js +6 -0
- package/dist/agents/services/mcp.service.d.ts +11 -0
- package/dist/agents/services/mcp.service.js +43 -0
- package/dist/agents/services/variable-binding-preview.service.d.ts +52 -0
- package/dist/agents/services/variable-binding-preview.service.js +55 -0
- package/dist/agents/shortcuts/constants.d.ts +194 -0
- package/dist/agents/shortcuts/constants.js +265 -0
- package/dist/agents/shortcuts/draft-seed.d.ts +17 -0
- package/dist/agents/shortcuts/draft-seed.js +26 -0
- package/dist/agents/shortcuts/resolveShortcutMappings.d.ts +38 -0
- package/dist/agents/shortcuts/resolveShortcutMappings.js +28 -0
- package/dist/agents/shortcuts/resolveShortcutWriteScope.d.ts +20 -0
- package/dist/agents/shortcuts/resolveShortcutWriteScope.js +43 -0
- package/dist/agents/speech-script/SpeechScriptTranscriptView.d.ts +8 -0
- package/dist/agents/speech-script/SpeechScriptTranscriptView.js +30 -0
- package/dist/agents/speech-script/types.d.ts +72 -0
- package/dist/agents/speech-script/types.js +129 -0
- package/dist/agents/surface-catalog-profile.d.ts +96 -0
- package/dist/agents/surface-catalog-profile.js +79 -0
- package/dist/agents/types/agent-api-types.d.ts +252 -0
- package/dist/agents/types/agent-api-types.js +0 -0
- package/dist/agents/types/agent-definition.types.d.ts +746 -0
- package/dist/agents/types/agent-definition.types.js +97 -0
- package/dist/agents/types/agent-execution-config.types.d.ts +204 -0
- package/dist/agents/types/agent-execution-config.types.js +47 -0
- package/dist/agents/types/agent-message-types.d.ts +328 -0
- package/dist/agents/types/agent-message-types.js +0 -0
- package/dist/agents/types/common.types.d.ts +50 -0
- package/dist/agents/types/common.types.js +0 -0
- package/dist/agents/types/conversation-invocation.types.d.ts +281 -0
- package/dist/agents/types/conversation-invocation.types.js +0 -0
- package/dist/agents/types/conversation-stream-events.d.ts +38 -0
- package/dist/agents/types/conversation-stream-events.js +8 -0
- package/dist/agents/types/instance.types.d.ts +1227 -0
- package/dist/agents/types/instance.types.js +187 -0
- package/dist/agents/types/json-schema.d.ts +36 -0
- package/dist/agents/types/json-schema.js +0 -0
- package/dist/agents/types/matrx-directives.types.d.ts +37 -0
- package/dist/agents/types/matrx-directives.types.js +4 -0
- package/dist/agents/types/mcp.types.d.ts +67 -0
- package/dist/agents/types/mcp.types.js +67 -0
- package/dist/agents/types/request.types.d.ts +679 -0
- package/dist/agents/types/request.types.js +18 -0
- package/dist/agents/types/scope.types.d.ts +14 -0
- package/dist/agents/types/scope.types.js +0 -0
- package/dist/agents/types/tool-injection.types.d.ts +156 -0
- package/dist/agents/types/tool-injection.types.js +0 -0
- package/dist/agents/types/widget-handle.types.d.ts +185 -0
- package/dist/agents/types/widget-handle.types.js +44 -0
- package/dist/agents/ui-first-tools/demo/recent-interaction-samples.d.ts +16 -0
- package/dist/agents/ui-first-tools/demo/recent-interaction-samples.js +158 -0
- package/dist/agents/ui-first-tools/dispatcher/dispatch-ui-first-tool.thunk.d.ts +39 -0
- package/dist/agents/ui-first-tools/dispatcher/dispatch-ui-first-tool.thunk.js +150 -0
- package/dist/agents/ui-first-tools/handlers/google-email-send.handler.d.ts +17 -0
- package/dist/agents/ui-first-tools/handlers/google-email-send.handler.js +67 -0
- package/dist/agents/ui-first-tools/handlers/request-takeover.handler.d.ts +11 -0
- package/dist/agents/ui-first-tools/handlers/request-takeover.handler.js +54 -0
- package/dist/agents/ui-first-tools/handlers/types.d.ts +23 -0
- package/dist/agents/ui-first-tools/handlers/types.js +0 -0
- package/dist/agents/ui-first-tools/handlers/update-plan.handler.d.ts +10 -0
- package/dist/agents/ui-first-tools/handlers/update-plan.handler.js +139 -0
- package/dist/agents/ui-first-tools/handlers/user-todos.handler.d.ts +13 -0
- package/dist/agents/ui-first-tools/handlers/user-todos.handler.js +147 -0
- package/dist/agents/ui-first-tools/redux/agent-lists.selectors.d.ts +186 -0
- package/dist/agents/ui-first-tools/redux/agent-lists.selectors.js +62 -0
- package/dist/agents/ui-first-tools/redux/agent-lists.slice.d.ts +53 -0
- package/dist/agents/ui-first-tools/redux/agent-lists.slice.js +115 -0
- package/dist/agents/ui-first-tools/redux/agent-lists.thunks.d.ts +41 -0
- package/dist/agents/ui-first-tools/redux/agent-lists.thunks.js +159 -0
- package/dist/agents/ui-first-tools/redux/ask-draft-registry.d.ts +24 -0
- package/dist/agents/ui-first-tools/redux/ask-draft-registry.js +20 -0
- package/dist/agents/ui-first-tools/redux/ask-resolver-registry.d.ts +27 -0
- package/dist/agents/ui-first-tools/redux/ask-resolver-registry.js +46 -0
- package/dist/agents/ui-first-tools/redux/build-ambient-context.d.ts +36 -0
- package/dist/agents/ui-first-tools/redux/build-ambient-context.js +86 -0
- package/dist/agents/ui-first-tools/redux/pending-asks.slice.d.ts +117 -0
- package/dist/agents/ui-first-tools/redux/pending-asks.slice.js +114 -0
- package/dist/agents/ui-first-tools/redux/request-approval.d.ts +35 -0
- package/dist/agents/ui-first-tools/redux/request-approval.js +42 -0
- package/dist/agents/ui-first-tools/redux/resolve-asks-with-input.thunk.d.ts +53 -0
- package/dist/agents/ui-first-tools/redux/resolve-asks-with-input.thunk.js +71 -0
- package/dist/agents/ui-first-tools/service/agent-plan.service.d.ts +23 -0
- package/dist/agents/ui-first-tools/service/agent-plan.service.js +49 -0
- package/dist/agents/ui-first-tools/service/agent-task.service.d.ts +31 -0
- package/dist/agents/ui-first-tools/service/agent-task.service.js +69 -0
- package/dist/agents/ui-first-tools/service/supabase-typed.d.ts +10 -0
- package/dist/agents/ui-first-tools/service/supabase-typed.js +5 -0
- package/dist/agents/ui-first-tools/service/user-todo.service.d.ts +22 -0
- package/dist/agents/ui-first-tools/service/user-todo.service.js +45 -0
- package/dist/agents/ui-first-tools/tools/names.d.ts +16 -0
- package/dist/agents/ui-first-tools/tools/names.js +23 -0
- package/dist/agents/ui-first-tools/tools/registry.d.ts +17 -0
- package/dist/agents/ui-first-tools/tools/registry.js +35 -0
- package/dist/agents/ui-first-tools/tools/schemas.d.ts +259 -0
- package/dist/agents/ui-first-tools/tools/schemas.js +183 -0
- package/dist/agents/ui-first-tools/tools/types.d.ts +108 -0
- package/dist/agents/ui-first-tools/tools/types.js +0 -0
- package/dist/agents/ui-first-tools/ui/AgentCardShell.d.ts +66 -0
- package/dist/agents/ui-first-tools/ui/AgentCardShell.js +144 -0
- package/dist/agents/ui-first-tools/ui/ApprovalCard.d.ts +70 -0
- package/dist/agents/ui-first-tools/ui/ApprovalCard.js +269 -0
- package/dist/agents/ui-first-tools/ui/AskCard.d.ts +95 -0
- package/dist/agents/ui-first-tools/ui/AskCard.js +735 -0
- package/dist/agents/ui-first-tools/ui/AskCardCountdown.d.ts +11 -0
- package/dist/agents/ui-first-tools/ui/AskCardCountdown.js +46 -0
- package/dist/agents/ui-first-tools/ui/AskWizard.d.ts +34 -0
- package/dist/agents/ui-first-tools/ui/AskWizard.js +211 -0
- package/dist/agents/ui-first-tools/ui/BatchAskCard.d.ts +7 -0
- package/dist/agents/ui-first-tools/ui/BatchAskCard.js +33 -0
- package/dist/agents/ui-first-tools/ui/PendingAsksZone.d.ts +6 -0
- package/dist/agents/ui-first-tools/ui/PendingAsksZone.js +137 -0
- package/dist/agents/ui-first-tools/ui/QuestionsAskForm.d.ts +42 -0
- package/dist/agents/ui-first-tools/ui/QuestionsAskForm.js +63 -0
- package/dist/agents/ui-first-tools/ui/approval-types.d.ts +76 -0
- package/dist/agents/ui-first-tools/ui/approval-types.js +4 -0
- package/dist/agents/ui-first-tools/ui/lists/ListsHubView.d.ts +1 -0
- package/dist/agents/ui-first-tools/ui/lists/ListsHubView.js +205 -0
- package/dist/agents/ui-first-tools/ui/lists/TaskPanel.d.ts +11 -0
- package/dist/agents/ui-first-tools/ui/lists/TaskPanel.js +369 -0
- package/dist/agents/ui-first-tools/ui/lists/TaskPanelChip.d.ts +6 -0
- package/dist/agents/ui-first-tools/ui/lists/TaskPanelChip.js +51 -0
- package/dist/agents/utils/add-editor-resources.d.ts +32 -0
- package/dist/agents/utils/add-editor-resources.js +58 -0
- package/dist/agents/utils/agent-edit-access.d.ts +68 -0
- package/dist/agents/utils/agent-edit-access.js +59 -0
- package/dist/agents/utils/agent-system-instruction.d.ts +38 -0
- package/dist/agents/utils/agent-system-instruction.js +19 -0
- package/dist/agents/utils/artifactId.d.ts +34 -0
- package/dist/agents/utils/artifactId.js +15 -0
- package/dist/agents/utils/auto-assignment.d.ts +5 -0
- package/dist/agents/utils/auto-assignment.js +24 -0
- package/dist/agents/utils/canvas-item-event.d.ts +2 -0
- package/dist/agents/utils/canvas-item-event.js +4 -0
- package/dist/agents/utils/canvasItemContext.d.ts +42 -0
- package/dist/agents/utils/canvasItemContext.js +41 -0
- package/dist/agents/utils/choice-rule.d.ts +21 -0
- package/dist/agents/utils/choice-rule.js +24 -0
- package/dist/agents/utils/context-item-policy-mapping.d.ts +33 -0
- package/dist/agents/utils/context-item-policy-mapping.js +71 -0
- package/dist/agents/utils/control-variables.d.ts +78 -0
- package/dist/agents/utils/control-variables.js +199 -0
- package/dist/agents/utils/conversation-message-title.d.ts +16 -0
- package/dist/agents/utils/conversation-message-title.js +11 -0
- package/dist/agents/utils/editor-resource-xml.d.ts +78 -0
- package/dist/agents/utils/editor-resource-xml.js +79 -0
- package/dist/agents/utils/escape-code-fences.d.ts +15 -0
- package/dist/agents/utils/escape-code-fences.js +9 -0
- package/dist/agents/utils/human-authored-text.d.ts +43 -0
- package/dist/agents/utils/human-authored-text.js +33 -0
- package/dist/agents/utils/json-extraction.d.ts +29 -0
- package/dist/agents/utils/json-extraction.js +49 -0
- package/dist/agents/utils/launch-widget-handles.d.ts +13 -0
- package/dist/agents/utils/launch-widget-handles.js +56 -0
- package/dist/agents/utils/media-variable-value.d.ts +19 -0
- package/dist/agents/utils/media-variable-value.js +20 -0
- package/dist/agents/utils/normalize-managed-options.d.ts +30 -0
- package/dist/agents/utils/normalize-managed-options.js +29 -0
- package/dist/agents/utils/processedDocumentContext.d.ts +51 -0
- package/dist/agents/utils/processedDocumentContext.js +51 -0
- package/dist/agents/utils/run-ui-utils.d.ts +111 -0
- package/dist/agents/utils/run-ui-utils.js +221 -0
- package/dist/agents/utils/scope-mapping.d.ts +75 -0
- package/dist/agents/utils/scope-mapping.js +174 -0
- package/dist/agents/utils/shortcut-context-utils.d.ts +148 -0
- package/dist/agents/utils/shortcut-context-utils.js +92 -0
- package/dist/agents/utils/source-feature-from-surface.d.ts +11 -0
- package/dist/agents/utils/source-feature-from-surface.js +101 -0
- package/dist/agents/utils/surface-key.d.ts +40 -0
- package/dist/agents/utils/surface-key.js +31 -0
- package/dist/agents/utils/table-variable.d.ts +26 -0
- package/dist/agents/utils/table-variable.js +47 -0
- package/dist/agents/utils/text-input-variable.d.ts +14 -0
- package/dist/agents/utils/text-input-variable.js +22 -0
- package/dist/agents/utils/trigger-shortcut.d.ts +49 -0
- package/dist/agents/utils/trigger-shortcut.js +35 -0
- package/dist/agents/utils/variable-binding.d.ts +32 -0
- package/dist/agents/utils/variable-binding.js +58 -0
- package/dist/agents/utils/variable-customcomponent.d.ts +65 -0
- package/dist/agents/utils/variable-customcomponent.js +133 -0
- package/dist/agents/utils/variable-display-lines.d.ts +32 -0
- package/dist/agents/utils/variable-display-lines.js +94 -0
- package/dist/agents/utils/variable-utils.d.ts +60 -0
- package/dist/agents/utils/variable-utils.js +68 -0
- package/dist/agents/utils/variable-validation.d.ts +28 -0
- package/dist/agents/utils/variable-validation.js +54 -0
- package/dist/agents/utils/workingDocumentContext.d.ts +112 -0
- package/dist/agents/utils/workingDocumentContext.js +95 -0
- package/dist/agents/war-room-master-tools/names.d.ts +45 -0
- package/dist/agents/war-room-master-tools/names.js +14 -0
- package/dist/agents/war-room-master-tools/tool-defs.d.ts +25 -0
- package/dist/agents/war-room-master-tools/tool-defs.js +129 -0
- package/dist/agents/war-room-tools/names.d.ts +25 -0
- package/dist/agents/war-room-tools/names.js +14 -0
- package/dist/agents/war-room-tools/tool-defs.d.ts +24 -0
- package/dist/agents/war-room-tools/tool-defs.js +113 -0
- package/dist/canvas/workspace/CanvasChatColumn.d.ts +25 -0
- package/dist/canvas/workspace/CanvasChatColumn.js +108 -0
- package/dist/canvas/workspace/CanvasPropertiesPanel.d.ts +27 -0
- package/dist/canvas/workspace/CanvasPropertiesPanel.js +76 -0
- package/dist/canvas/workspace/ChatCanvasWorkspace.d.ts +75 -0
- package/dist/canvas/workspace/ChatCanvasWorkspace.js +182 -0
- package/dist/canvas/workspace/ChatPanelTitleMenu.d.ts +6 -0
- package/dist/canvas/workspace/ChatPanelTitleMenu.js +66 -0
- package/dist/canvas/workspace/ShellChatDock.d.ts +16 -0
- package/dist/canvas/workspace/ShellChatDock.js +313 -0
- package/dist/canvas/workspace/describe-launch-error.d.ts +9 -0
- package/dist/canvas/workspace/describe-launch-error.js +25 -0
- package/dist/canvas/workspace/shell-chat-dock-owners.d.ts +26 -0
- package/dist/canvas/workspace/shell-chat-dock-owners.js +71 -0
- package/dist/canvas/workspace/shell-chat-page-context.d.ts +20 -0
- package/dist/canvas/workspace/shell-chat-page-context.js +58 -0
- package/dist/canvas/workspace/shell-chat-route.d.ts +73 -0
- package/dist/canvas/workspace/shell-chat-route.js +56 -0
- package/dist/canvas/workspace/useCanvasWorkspaceConversation.d.ts +84 -0
- package/dist/canvas/workspace/useCanvasWorkspaceConversation.js +199 -0
- package/dist/canvas/workspace/workspace-cookies.d.ts +39 -0
- package/dist/canvas/workspace/workspace-cookies.js +46 -0
- package/dist/compute/targets.d.ts +223 -0
- package/dist/compute/targets.js +95 -0
- package/dist/context/sources/scopes.d.ts +404 -0
- package/dist/context/sources/scopes.js +206 -0
- package/dist/context-menu/model/requirement-gate.d.ts +147 -0
- package/dist/context-menu/model/requirement-gate.js +79 -0
- package/dist/context-menu/types.d.ts +468 -0
- package/dist/context-menu/types.js +12 -0
- package/dist/context-menu/utils/availability.d.ts +31 -0
- package/dist/context-menu/utils/availability.js +43 -0
- package/dist/context-menu/utils/build-application-scope.d.ts +7 -0
- package/dist/context-menu/utils/build-application-scope.js +42 -0
- package/dist/context-menu/utils/menu-deadline.d.ts +5 -0
- package/dist/context-menu/utils/menu-deadline.js +20 -0
- package/dist/context-menu/utils/resolveMarkdownContext.d.ts +35 -0
- package/dist/context-menu/utils/resolveMarkdownContext.js +59 -0
- package/dist/context-menu/utils/selection-tracking.d.ts +66 -0
- package/dist/context-menu/utils/selection-tracking.js +105 -0
- package/dist/conversation/_legacy-stubs.d.ts +1 -0
- package/dist/conversation/_legacy-stubs.js +1 -0
- package/dist/conversation/hooks/useAuthenticatedChatProps.d.ts +35 -0
- package/dist/conversation/hooks/useAuthenticatedChatProps.js +84 -0
- package/dist/conversation/hooks/useDomCapturePrint.d.ts +13 -0
- package/dist/conversation/hooks/useDomCapturePrint.js +44 -0
- package/dist/conversation/hooks/usePublicChatProps.d.ts +25 -0
- package/dist/conversation/hooks/usePublicChatProps.js +58 -0
- package/dist/conversation/utils/markdown-print.d.ts +16 -0
- package/dist/conversation/utils/markdown-print.js +46 -0
- package/dist/conversation/utils/resource-parsing.d.ts +20 -0
- package/dist/conversation/utils/resource-parsing.js +54 -0
- package/dist/cx-chat/_legacy-stubs.d.ts +191 -0
- package/dist/cx-chat/_legacy-stubs.js +122 -0
- package/dist/cx-chat/components/ChatConversationSkeleton.d.ts +9 -0
- package/dist/cx-chat/components/ChatConversationSkeleton.js +45 -0
- package/dist/cx-chat/components/ChatHeaderControls.d.ts +1 -0
- package/dist/cx-chat/components/ChatHeaderControls.js +75 -0
- package/dist/cx-chat/components/ChatInstanceManager.d.ts +14 -0
- package/dist/cx-chat/components/ChatInstanceManager.js +82 -0
- package/dist/cx-chat/components/ChatMobileAdminToggles.d.ts +1 -0
- package/dist/cx-chat/components/ChatMobileAdminToggles.js +58 -0
- package/dist/cx-chat/components/ChatMobileAgentName.d.ts +1 -0
- package/dist/cx-chat/components/ChatMobileAgentName.js +46 -0
- package/dist/cx-chat/components/ChatMobileHeaderBar.d.ts +1 -0
- package/dist/cx-chat/components/ChatMobileHeaderBar.js +41 -0
- package/dist/cx-chat/components/ChatPanelBackButton.d.ts +1 -0
- package/dist/cx-chat/components/ChatPanelBackButton.js +26 -0
- package/dist/cx-chat/components/ChatSidebarClient.d.ts +6 -0
- package/dist/cx-chat/components/ChatSidebarClient.js +307 -0
- package/dist/cx-chat/components/ChatWelcomeClient.d.ts +8 -0
- package/dist/cx-chat/components/ChatWelcomeClient.js +81 -0
- package/dist/cx-chat/components/ChatWelcomeServer.d.ts +13 -0
- package/dist/cx-chat/components/ChatWelcomeServer.js +16 -0
- package/dist/cx-chat/components/ContextGaugeWidget.d.ts +7 -0
- package/dist/cx-chat/components/ContextGaugeWidget.js +96 -0
- package/dist/cx-chat/components/SsrSidebarAgents.d.ts +13 -0
- package/dist/cx-chat/components/SsrSidebarAgents.js +25 -0
- package/dist/cx-chat/components/SsrSidebarChats.d.ts +9 -0
- package/dist/cx-chat/components/SsrSidebarChats.js +379 -0
- package/dist/cx-chat/components/agent/AgentPickerSheet.d.ts +14 -0
- package/dist/cx-chat/components/agent/AgentPickerSheet.js +78 -0
- package/dist/cx-chat/components/agent/agents.d.ts +28 -0
- package/dist/cx-chat/components/agent/agents.js +136 -0
- package/dist/cx-chat/components/agent/local-agents.d.ts +32 -0
- package/dist/cx-chat/components/agent/local-agents.js +139 -0
- package/dist/cx-chat/components/agent/useResponseModeAgents.d.ts +17 -0
- package/dist/cx-chat/components/agent/useResponseModeAgents.js +44 -0
- package/dist/cx-chat/components/conversation/UnsavedChangesIndicator.d.ts +6 -0
- package/dist/cx-chat/components/conversation/UnsavedChangesIndicator.js +58 -0
- package/dist/cx-chat/components/core/ChatConversationClient.d.ts +6 -0
- package/dist/cx-chat/components/core/ChatConversationClient.js +171 -0
- package/dist/cx-chat/components/messages/AssistantMessage.d.ts +13 -0
- package/dist/cx-chat/components/messages/AssistantMessage.js +250 -0
- package/dist/cx-chat/components/messages/MessageErrorBoundary.d.ts +20 -0
- package/dist/cx-chat/components/messages/MessageErrorBoundary.js +40 -0
- package/dist/cx-chat/components/messages/UserMessage.d.ts +9 -0
- package/dist/cx-chat/components/messages/UserMessage.js +308 -0
- package/dist/cx-chat/components/sidebar/SidebarActions.d.ts +8 -0
- package/dist/cx-chat/components/sidebar/SidebarActions.js +57 -0
- package/dist/cx-chat/components/sidebar/SidebarUserFooter.d.ts +2 -0
- package/dist/cx-chat/components/sidebar/SidebarUserFooter.js +74 -0
- package/dist/cx-chat/components/user-input/ConversationInput.d.ts +56 -0
- package/dist/cx-chat/components/user-input/ConversationInput.js +443 -0
- package/dist/cx-chat/components/user-input/GuidedVariableInputs.d.ts +4 -0
- package/dist/cx-chat/components/user-input/GuidedVariableInputs.js +7 -0
- package/dist/cx-chat/components/user-input/InpuControlButtons.d.ts +12 -0
- package/dist/cx-chat/components/user-input/InpuControlButtons.js +49 -0
- package/dist/cx-chat/components/user-input/InputActionButtons.d.ts +15 -0
- package/dist/cx-chat/components/user-input/InputActionButtons.js +56 -0
- package/dist/cx-chat/components/user-input/StackedVariableInputs.d.ts +13 -0
- package/dist/cx-chat/components/user-input/StackedVariableInputs.js +173 -0
- package/dist/cx-chat/components/variable-inputs/CheckboxGroupInput.d.ts +14 -0
- package/dist/cx-chat/components/variable-inputs/CheckboxGroupInput.js +160 -0
- package/dist/cx-chat/components/variable-inputs/NumberInput.d.ts +15 -0
- package/dist/cx-chat/components/variable-inputs/NumberInput.js +79 -0
- package/dist/cx-chat/components/variable-inputs/RadioGroupInput.d.ts +14 -0
- package/dist/cx-chat/components/variable-inputs/RadioGroupInput.js +125 -0
- package/dist/cx-chat/components/variable-inputs/SelectInput.d.ts +14 -0
- package/dist/cx-chat/components/variable-inputs/SelectInput.js +92 -0
- package/dist/cx-chat/components/variable-inputs/TextareaInput.d.ts +14 -0
- package/dist/cx-chat/components/variable-inputs/TextareaInput.js +46 -0
- package/dist/cx-chat/components/variable-inputs/ToggleInput.d.ts +14 -0
- package/dist/cx-chat/components/variable-inputs/ToggleInput.js +46 -0
- package/dist/cx-chat/hooks/useAgentBootstrap.d.ts +1 -0
- package/dist/cx-chat/hooks/useAgentBootstrap.js +110 -0
- package/dist/cx-chat/hooks/useChatCatalogueInit.d.ts +1 -0
- package/dist/cx-chat/hooks/useChatCatalogueInit.js +25 -0
- package/dist/cx-chat/hooks/useChatPersistence.d.ts +28 -0
- package/dist/cx-chat/hooks/useChatPersistence.js +180 -0
- package/dist/cx-chat/hooks/useInstanceBootstrap.d.ts +1 -0
- package/dist/cx-chat/hooks/useInstanceBootstrap.js +114 -0
- package/dist/cx-chat/hooks/useUnsavedChangesGuard.d.ts +7 -0
- package/dist/cx-chat/hooks/useUnsavedChangesGuard.js +19 -0
- package/dist/cx-chat/types/agents.d.ts +27 -0
- package/dist/cx-chat/types/agents.js +0 -0
- package/dist/cx-chat/types/content.d.ts +184 -0
- package/dist/cx-chat/types/content.js +91 -0
- package/dist/cx-chat/types/conversation.d.ts +257 -0
- package/dist/cx-chat/types/conversation.js +0 -0
- package/dist/cx-chat/types/cx-tables.d.ts +176 -0
- package/dist/cx-chat/types/cx-tables.js +0 -0
- package/dist/cx-chat/utils/buildContentBlocksForSave.d.ts +10 -0
- package/dist/cx-chat/utils/buildContentBlocksForSave.js +47 -0
- package/dist/cx-chat/utils/cx-content-converter.d.ts +69 -0
- package/dist/cx-chat/utils/cx-content-converter.js +133 -0
- package/dist/cx-chat/utils/settings-diff.d.ts +13 -0
- package/dist/cx-chat/utils/settings-diff.js +45 -0
- package/dist/cx-conversation/AssistantMessage.d.ts +13 -0
- package/dist/cx-conversation/AssistantMessage.js +250 -0
- package/dist/cx-conversation/ChatDebugModal.d.ts +17 -0
- package/dist/cx-conversation/ChatDebugModal.js +263 -0
- package/dist/cx-conversation/ConversationInput.d.ts +56 -0
- package/dist/cx-conversation/ConversationInput.js +635 -0
- package/dist/cx-conversation/ConversationShell.d.ts +21 -0
- package/dist/cx-conversation/ConversationShell.js +67 -0
- package/dist/cx-conversation/MessageErrorBoundary.d.ts +20 -0
- package/dist/cx-conversation/MessageErrorBoundary.js +40 -0
- package/dist/cx-conversation/MessageList.d.ts +8 -0
- package/dist/cx-conversation/MessageList.js +142 -0
- package/dist/cx-conversation/UnifiedChatWrapper.d.ts +108 -0
- package/dist/cx-conversation/UnifiedChatWrapper.js +129 -0
- package/dist/cx-conversation/UnsavedChangesIndicator.d.ts +6 -0
- package/dist/cx-conversation/UnsavedChangesIndicator.js +58 -0
- package/dist/cx-conversation/UserMessage.d.ts +9 -0
- package/dist/cx-conversation/UserMessage.js +308 -0
- package/dist/cx-conversation/_legacy-stubs.d.ts +1 -0
- package/dist/cx-conversation/_legacy-stubs.js +1 -0
- package/dist/cx-conversation/components/HtmlPreviewBridge.d.ts +21 -0
- package/dist/cx-conversation/components/HtmlPreviewBridge.js +177 -0
- package/dist/cx-conversation/hooks/useConversationSession.d.ts +72 -0
- package/dist/cx-conversation/hooks/useConversationSession.js +187 -0
- package/dist/cx-conversation/hooks/useUnsavedChangesGuard.d.ts +7 -0
- package/dist/cx-conversation/hooks/useUnsavedChangesGuard.js +19 -0
- package/dist/cx-conversation/utils/buildContentBlocksForSave.d.ts +10 -0
- package/dist/cx-conversation/utils/buildContentBlocksForSave.js +32 -0
- package/dist/cx-conversation/utils/html-pages-actions.d.ts +10 -0
- package/dist/cx-conversation/utils/html-pages-actions.js +7 -0
- package/dist/external-store/index.cjs +3 -3
- package/dist/external-store/index.cjs.map +1 -1
- package/dist/external-store/index.js +2 -2
- package/dist/external-store/index.js.map +1 -1
- package/dist/host/builder-door.d.ts +50 -0
- package/dist/host/builder-door.js +25 -0
- package/dist/host/canvas-tabs.d.ts +61 -0
- package/dist/host/canvas-tabs.js +39 -0
- package/dist/host/canvas.d.ts +17 -0
- package/dist/host/canvas.js +16 -0
- package/dist/host/chrome.d.ts +35 -0
- package/dist/host/chrome.js +75 -0
- package/dist/host/configure.d.ts +28 -0
- package/dist/host/configure.js +148 -0
- package/dist/host/content-ir-slots.d.ts +231 -0
- package/dist/host/content-ir-slots.js +131 -0
- package/dist/host/contract.d.ts +785 -0
- package/dist/host/contract.js +9 -0
- package/dist/host/db-types.d.ts +50676 -0
- package/dist/host/db-types.js +0 -0
- package/dist/host/db.d.ts +68 -0
- package/dist/host/db.js +58 -0
- package/dist/host/defaults/canvas.d.ts +13 -0
- package/dist/host/defaults/canvas.js +50 -0
- package/dist/host/defaults/catalog.d.ts +7 -0
- package/dist/host/defaults/catalog.js +27 -0
- package/dist/host/defaults/chrome.d.ts +13 -0
- package/dist/host/defaults/chrome.js +121 -0
- package/dist/host/defaults/diagnostics.d.ts +32 -0
- package/dist/host/defaults/diagnostics.js +135 -0
- package/dist/host/defaults/feedback.d.ts +9 -0
- package/dist/host/defaults/feedback.js +35 -0
- package/dist/host/defaults/identity.d.ts +8 -0
- package/dist/host/defaults/identity.js +119 -0
- package/dist/host/defaults/navigation-hooks.d.ts +3 -0
- package/dist/host/defaults/navigation-hooks.js +37 -0
- package/dist/host/defaults/navigation.d.ts +8 -0
- package/dist/host/defaults/navigation.js +45 -0
- package/dist/host/defaults/notify.d.ts +10 -0
- package/dist/host/defaults/notify.js +117 -0
- package/dist/host/defaults/org.d.ts +8 -0
- package/dist/host/defaults/org.js +23 -0
- package/dist/host/defaults/prefs.d.ts +25 -0
- package/dist/host/defaults/prefs.js +178 -0
- package/dist/host/defaults/server-api.d.ts +331 -0
- package/dist/host/defaults/server-api.js +288 -0
- package/dist/host/defaults/server.d.ts +7 -0
- package/dist/host/defaults/server.js +18 -0
- package/dist/host/defaults/typed-paths.d.ts +62 -0
- package/dist/host/defaults/typed-paths.js +0 -0
- package/dist/host/defaults/webpage-snapshot-view.d.ts +13 -0
- package/dist/host/defaults/webpage-snapshot-view.js +36 -0
- package/dist/host/defaults/window-panel.d.ts +43 -0
- package/dist/host/defaults/window-panel.js +100 -0
- package/dist/host/defaults/windows.d.ts +8 -0
- package/dist/host/defaults/windows.js +23 -0
- package/dist/host/diagnostics.d.ts +88 -0
- package/dist/host/diagnostics.js +174 -0
- package/dist/host/errors.d.ts +20 -0
- package/dist/host/errors.js +47 -0
- package/dist/host/identity.d.ts +64 -0
- package/dist/host/identity.js +86 -0
- package/dist/host/index.d.ts +23 -0
- package/dist/host/index.js +87 -0
- package/dist/host/markdown-slots.d.ts +53 -0
- package/dist/host/markdown-slots.js +32 -0
- package/dist/host/model-class.d.ts +33 -0
- package/dist/host/model-class.js +21 -0
- package/dist/host/navigation.d.ts +19 -0
- package/dist/host/navigation.js +37 -0
- package/dist/host/notify.d.ts +37 -0
- package/dist/host/notify.js +38 -0
- package/dist/host/org.d.ts +100 -0
- package/dist/host/org.js +116 -0
- package/dist/host/prefs-react.d.ts +18 -0
- package/dist/host/prefs-react.js +66 -0
- package/dist/host/prefs.d.ts +104 -0
- package/dist/host/prefs.js +85 -0
- package/dist/host/react.d.ts +32 -0
- package/dist/host/react.js +38 -0
- package/dist/host/registered-source.d.ts +34 -0
- package/dist/host/registered-source.js +64 -0
- package/dist/host/rich-document-slots.d.ts +123 -0
- package/dist/host/rich-document-slots.js +36 -0
- package/dist/host/server/admin-door.d.ts +6 -0
- package/dist/host/server/admin-door.js +5 -0
- package/dist/host/server/admin-lane.d.ts +7 -0
- package/dist/host/server/admin-lane.js +7 -0
- package/dist/host/server/api-config.d.ts +31 -0
- package/dist/host/server/api-config.js +29 -0
- package/dist/host/server/broker.d.ts +12 -0
- package/dist/host/server/broker.js +5 -0
- package/dist/host/server/call-api.d.ts +134 -0
- package/dist/host/server/call-api.js +27 -0
- package/dist/host/server/context-api.d.ts +11 -0
- package/dist/host/server/context-api.js +5 -0
- package/dist/host/server/endpoints.d.ts +6 -0
- package/dist/host/server/endpoints.js +5 -0
- package/dist/host/server/extension-bridge.d.ts +6 -0
- package/dist/host/server/extension-bridge.js +5 -0
- package/dist/host/server/local-engine.d.ts +8 -0
- package/dist/host/server/local-engine.js +9 -0
- package/dist/host/server/matrx-transport.d.ts +21 -0
- package/dist/host/server/matrx-transport.js +9 -0
- package/dist/host/server/organization-admission.d.ts +9 -0
- package/dist/host/server/organization-admission.js +7 -0
- package/dist/host/server/organization-context.d.ts +6 -0
- package/dist/host/server/organization-context.js +5 -0
- package/dist/host/server/provider-session-failure.d.ts +6 -0
- package/dist/host/server/provider-session-failure.js +5 -0
- package/dist/host/server/python-client.d.ts +20 -0
- package/dist/host/server/python-client.js +11 -0
- package/dist/host/server/run-wait.d.ts +11 -0
- package/dist/host/server/run-wait.js +31 -0
- package/dist/host/server/stream-parser.d.ts +10 -0
- package/dist/host/server/stream-parser.js +5 -0
- package/dist/host/server/typed-client.d.ts +29 -0
- package/dist/host/server/typed-client.js +11 -0
- package/dist/host/server/types.d.ts +7 -0
- package/dist/host/server/types.js +0 -0
- package/dist/host/server-deps.d.ts +17 -0
- package/dist/host/server-deps.js +18 -0
- package/dist/host/server.d.ts +29 -0
- package/dist/host/server.js +15 -0
- package/dist/host/session-retry.d.ts +13 -0
- package/dist/host/session-retry.js +14 -0
- package/dist/host/ui-slots.d.ts +838 -0
- package/dist/host/ui-slots.js +802 -0
- package/dist/host/usage-gate.d.ts +25 -0
- package/dist/host/usage-gate.js +34 -0
- package/dist/host/window-openers.d.ts +363 -0
- package/dist/host/window-openers.js +279 -0
- package/dist/host/windows-react.d.ts +13 -0
- package/dist/host/windows-react.js +44 -0
- package/dist/host/windows.d.ts +77 -0
- package/dist/host/windows.js +72 -0
- package/dist/host/write-failure.d.ts +4 -0
- package/dist/host/write-failure.js +11 -0
- package/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/mandates/FastPathMandateGuard.d.ts +6 -0
- package/dist/mandates/FastPathMandateGuard.js +16 -0
- package/dist/mandates/RunFailureCard.d.ts +5 -0
- package/dist/mandates/RunFailureCard.js +48 -0
- package/dist/mandates/fast-path-guard.d.ts +57 -0
- package/dist/mandates/fast-path-guard.js +60 -0
- package/dist/mandates/invoke/served-input.d.ts +203 -0
- package/dist/mandates/invoke/served-input.js +186 -0
- package/dist/mandates/invoke/supplied-values.d.ts +41 -0
- package/dist/mandates/invoke/supplied-values.js +46 -0
- package/dist/mandates/llm-params.d.ts +10 -0
- package/dist/mandates/llm-params.js +48 -0
- package/dist/mandates/output-contract.d.ts +47 -0
- package/dist/mandates/output-contract.js +102 -0
- package/dist/mandates/resolve-asking.d.ts +20 -0
- package/dist/mandates/resolve-asking.js +17 -0
- package/dist/mandates/service.d.ts +299 -0
- package/dist/mandates/service.js +488 -0
- package/dist/mandates/test-run-core.d.ts +104 -0
- package/dist/mandates/test-run-core.js +145 -0
- package/dist/mandates/useMandate.d.ts +62 -0
- package/dist/mandates/useMandate.js +120 -0
- package/dist/mandates/useMandateChain.d.ts +9 -0
- package/dist/mandates/useMandateChain.js +19 -0
- package/dist/mandates/useMandateHolder.d.ts +9 -0
- package/dist/mandates/useMandateHolder.js +82 -0
- package/dist/mandates/useMandateSet.d.ts +33 -0
- package/dist/mandates/useMandateSet.js +98 -0
- package/dist/mandates/useStartMandateWorkflow.d.ts +21 -0
- package/dist/mandates/useStartMandateWorkflow.js +66 -0
- package/dist/matrx/index.cjs +11 -11
- package/dist/matrx/index.cjs.map +1 -1
- package/dist/matrx/index.js +10 -10
- package/dist/matrx/index.js.map +1 -1
- package/dist/next/lazy/AgentAssistantMessage.d.ts +1 -0
- package/dist/next/lazy/AgentAssistantMessage.js +13 -0
- package/dist/next/lazy/AgentPickerSheet.d.ts +1 -0
- package/dist/next/lazy/AgentPickerSheet.js +11 -0
- package/dist/next/lazy/ChatVariableInputs.d.ts +2 -0
- package/dist/next/lazy/ChatVariableInputs.js +18 -0
- package/dist/next/lazy/ConversationRenameDialogHostImpl.d.ts +1 -0
- package/dist/next/lazy/ConversationRenameDialogHostImpl.js +9 -0
- package/dist/next/lazy/CreatorRunPanel.d.ts +1 -0
- package/dist/next/lazy/CreatorRunPanel.js +11 -0
- package/dist/next/lazy/CxAssistantMessage.d.ts +1 -0
- package/dist/next/lazy/CxAssistantMessage.js +11 -0
- package/dist/next/lazy/DbToolRendererImpl.d.ts +1 -0
- package/dist/next/lazy/DbToolRendererImpl.js +11 -0
- package/dist/next/lazy/IconResolver.d.ts +1 -0
- package/dist/next/lazy/IconResolver.js +10 -0
- package/dist/next/lazy/PublicChatVariableInputs.d.ts +2 -0
- package/dist/next/lazy/PublicChatVariableInputs.js +18 -0
- package/dist/next/lazy/ScrollAssistantLaunchers.d.ts +3 -0
- package/dist/next/lazy/ScrollAssistantLaunchers.js +22 -0
- package/dist/next/lazy/SurfaceAgentsPanelImpl.d.ts +1 -0
- package/dist/next/lazy/SurfaceAgentsPanelImpl.js +17 -0
- package/dist/next/navigation.d.ts +2 -0
- package/dist/next/navigation.js +18 -0
- package/dist/next/server/composer-mode.server.d.ts +3 -0
- package/dist/next/server/composer-mode.server.js +10 -0
- package/dist/next/server/workspace-cookies.server.d.ts +7 -0
- package/dist/next/server/workspace-cookies.server.js +24 -0
- package/dist/public-chat/components/AgentSelector.d.ts +22 -0
- package/dist/public-chat/components/AgentSelector.js +80 -0
- package/dist/public-chat/components/GuidedVariableInputs.d.ts +25 -0
- package/dist/public-chat/components/GuidedVariableInputs.js +623 -0
- package/dist/public-chat/components/PublicMessageOptionsMenu.d.ts +26 -0
- package/dist/public-chat/components/PublicMessageOptionsMenu.js +539 -0
- package/dist/public-chat/components/PublicVariableInputs.d.ts +29 -0
- package/dist/public-chat/components/PublicVariableInputs.js +172 -0
- package/dist/public-chat/services/cx-chat.d.ts +30 -0
- package/dist/public-chat/services/cx-chat.js +127 -0
- package/dist/public-chat/types/content.d.ts +184 -0
- package/dist/public-chat/types/content.js +91 -0
- package/dist/public-chat/types/cx-tables.d.ts +194 -0
- package/dist/public-chat/types/cx-tables.js +0 -0
- package/dist/quick-actions/components/QuickChatSheet.d.ts +69 -0
- package/dist/quick-actions/components/QuickChatSheet.js +302 -0
- package/dist/react.cjs +51 -51
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +50 -50
- package/dist/react.js.map +1 -1
- package/dist/store/chat-host-sync.d.ts +17 -0
- package/dist/store/chat-host-sync.js +80 -0
- package/dist/store/chat-host.slice.d.ts +44 -0
- package/dist/store/chat-host.slice.js +90 -0
- package/dist/store/context.d.ts +2 -0
- package/dist/store/context.js +7 -0
- package/dist/store/create-chat-store.d.ts +93 -0
- package/dist/store/create-chat-store.js +28 -0
- package/dist/store/hooks.d.ts +143 -0
- package/dist/store/hooks.js +61 -0
- package/dist/store/middlewares.d.ts +222 -0
- package/dist/store/middlewares.js +19 -0
- package/dist/store/root-state.d.ts +73 -0
- package/dist/store/root-state.js +0 -0
- package/dist/store/sagas.d.ts +2 -0
- package/dist/store/sagas.js +6 -0
- package/dist/store/slices.d.ts +47 -0
- package/dist/store/slices.js +98 -0
- package/dist/store/state.d.ts +3 -0
- package/dist/store/state.js +0 -0
- package/dist/store/store-singleton.d.ts +4 -0
- package/dist/store/store-singleton.js +11 -0
- package/dist/surfaces/components/chrome/PageIntelligenceSection.d.ts +10 -0
- package/dist/surfaces/components/chrome/PageIntelligenceSection.js +109 -0
- package/dist/surfaces/components/chrome/SurfaceAgentsHeaderButton.d.ts +10 -0
- package/dist/surfaces/components/chrome/SurfaceAgentsHeaderButton.js +94 -0
- package/dist/surfaces/components/chrome/SurfaceAgentsPanelImpl.d.ts +5 -0
- package/dist/surfaces/components/chrome/SurfaceAgentsPanelImpl.js +183 -0
- package/dist/surfaces/components/chrome/SurfaceConversationsSection.d.ts +8 -0
- package/dist/surfaces/components/chrome/SurfaceConversationsSection.js +251 -0
- package/dist/surfaces/components/chrome/SurfaceMandatesSection.d.ts +9 -0
- package/dist/surfaces/components/chrome/SurfaceMandatesSection.js +206 -0
- package/dist/surfaces/components/chrome/SurfaceRoleAgentButton.d.ts +10 -0
- package/dist/surfaces/components/chrome/SurfaceRoleAgentButton.js +76 -0
- package/dist/surfaces/config/namespace-registry.d.ts +59 -0
- package/dist/surfaces/config/namespace-registry.js +101 -0
- package/dist/surfaces/declare/surface-declare.d.ts +62 -0
- package/dist/surfaces/declare/surface-declare.js +284 -0
- package/dist/surfaces/executor.d.ts +25 -0
- package/dist/surfaces/executor.js +13 -0
- package/dist/surfaces/hooks/useAgentNames.d.ts +12 -0
- package/dist/surfaces/hooks/useAgentNames.js +72 -0
- package/dist/surfaces/hooks/useSurfaceBoundAgents.d.ts +30 -0
- package/dist/surfaces/hooks/useSurfaceBoundAgents.js +52 -0
- package/dist/surfaces/hooks/useSurfaceConfig.d.ts +38 -0
- package/dist/surfaces/hooks/useSurfaceConfig.js +100 -0
- package/dist/surfaces/host-surface-types.d.ts +53 -0
- package/dist/surfaces/host-surface-types.js +0 -0
- package/dist/surfaces/manifests/_baseline.manifest.d.ts +206 -0
- package/dist/surfaces/manifests/_baseline.manifest.js +156 -0
- package/dist/surfaces/manifests/_conversation-document.manifest.d.ts +131 -0
- package/dist/surfaces/manifests/_conversation-document.manifest.js +317 -0
- package/dist/surfaces/manifests/admin-ui-surfaces.manifest.d.ts +105 -0
- package/dist/surfaces/manifests/admin-ui-surfaces.manifest.js +197 -0
- package/dist/surfaces/manifests/agent-builder.manifest.d.ts +83 -0
- package/dist/surfaces/manifests/agent-builder.manifest.js +611 -0
- package/dist/surfaces/manifests/agent-gate.manifest.d.ts +25 -0
- package/dist/surfaces/manifests/agent-gate.manifest.js +69 -0
- package/dist/surfaces/manifests/agent-run-history.manifest.d.ts +113 -0
- package/dist/surfaces/manifests/agent-run-history.manifest.js +236 -0
- package/dist/surfaces/manifests/agent-run.manifest.d.ts +63 -0
- package/dist/surfaces/manifests/agent-run.manifest.js +396 -0
- package/dist/surfaces/manifests/ai-results.manifest.d.ts +39 -0
- package/dist/surfaces/manifests/ai-results.manifest.js +122 -0
- package/dist/surfaces/manifests/chat-voice.manifest.d.ts +139 -0
- package/dist/surfaces/manifests/chat-voice.manifest.js +306 -0
- package/dist/surfaces/manifests/chat.manifest.d.ts +135 -0
- package/dist/surfaces/manifests/chat.manifest.js +462 -0
- package/dist/surfaces/manifests/context-preview.manifest.d.ts +71 -0
- package/dist/surfaces/manifests/context-preview.manifest.js +247 -0
- package/dist/surfaces/manifests/documents-workspace.manifest.d.ts +61 -0
- package/dist/surfaces/manifests/documents-workspace.manifest.js +159 -0
- package/dist/surfaces/manifests/observational-memory.manifest.d.ts +27 -0
- package/dist/surfaces/manifests/observational-memory.manifest.js +104 -0
- package/dist/surfaces/redux/agentSurfaceBindingsSlice.d.ts +33 -0
- package/dist/surfaces/redux/agentSurfaceBindingsSlice.js +77 -0
- package/dist/surfaces/redux/selectors.d.ts +148 -0
- package/dist/surfaces/redux/selectors.js +46 -0
- package/dist/surfaces/redux/surfaceConfigSlice.d.ts +30 -0
- package/dist/surfaces/redux/surfaceConfigSlice.js +70 -0
- package/dist/surfaces/redux/surfacesCatalogSlice.d.ts +42 -0
- package/dist/surfaces/redux/surfacesCatalogSlice.js +75 -0
- package/dist/surfaces/redux/thunks.d.ts +103 -0
- package/dist/surfaces/redux/thunks.js +116 -0
- package/dist/surfaces/redux/userStateSlice.d.ts +35 -0
- package/dist/surfaces/redux/userStateSlice.js +83 -0
- package/dist/surfaces/runtime/StaticSurfaceRuntimeProvider.d.ts +7 -0
- package/dist/surfaces/runtime/StaticSurfaceRuntimeProvider.js +13 -0
- package/dist/surfaces/runtime/SurfaceRuntimeContext.d.ts +431 -0
- package/dist/surfaces/runtime/SurfaceRuntimeContext.js +535 -0
- package/dist/surfaces/runtime/agent-offer.d.ts +21 -0
- package/dist/surfaces/runtime/agent-offer.js +53 -0
- package/dist/surfaces/runtime/agent-write-sources.d.ts +42 -0
- package/dist/surfaces/runtime/agent-write-sources.js +23 -0
- package/dist/surfaces/runtime/available-here.d.ts +65 -0
- package/dist/surfaces/runtime/available-here.js +95 -0
- package/dist/surfaces/runtime/collection-write-targets.d.ts +139 -0
- package/dist/surfaces/runtime/collection-write-targets.js +186 -0
- package/dist/surfaces/runtime/context-bundle.d.ts +48 -0
- package/dist/surfaces/runtime/context-bundle.js +54 -0
- package/dist/surfaces/runtime/custom-field-targets.d.ts +139 -0
- package/dist/surfaces/runtime/custom-field-targets.js +219 -0
- package/dist/surfaces/runtime/fetchRelatedSurfaces.d.ts +21 -0
- package/dist/surfaces/runtime/fetchRelatedSurfaces.js +35 -0
- package/dist/surfaces/runtime/intelligence-types.d.ts +93 -0
- package/dist/surfaces/runtime/intelligence-types.js +0 -0
- package/dist/surfaces/runtime/intelligence.d.ts +48 -0
- package/dist/surfaces/runtime/intelligence.js +72 -0
- package/dist/surfaces/runtime/loaded-value-check.d.ts +17 -0
- package/dist/surfaces/runtime/loaded-value-check.js +36 -0
- package/dist/surfaces/runtime/registry.d.ts +70 -0
- package/dist/surfaces/runtime/registry.js +97 -0
- package/dist/surfaces/runtime/surface-brief.d.ts +34 -0
- package/dist/surfaces/runtime/surface-brief.js +63 -0
- package/dist/surfaces/runtime/surface-chain.d.ts +72 -0
- package/dist/surfaces/runtime/surface-chain.js +144 -0
- package/dist/surfaces/runtime/surface-client-tools.d.ts +53 -0
- package/dist/surfaces/runtime/surface-client-tools.js +90 -0
- package/dist/surfaces/runtime/surface-feedback.d.ts +59 -0
- package/dist/surfaces/runtime/surface-feedback.js +114 -0
- package/dist/surfaces/runtime/surface-mandates.d.ts +31 -0
- package/dist/surfaces/runtime/surface-mandates.js +62 -0
- package/dist/surfaces/runtime/surface-ui-state.d.ts +45 -0
- package/dist/surfaces/runtime/surface-ui-state.js +94 -0
- package/dist/surfaces/runtime/surface-write-patch.d.ts +127 -0
- package/dist/surfaces/runtime/surface-write-patch.js +144 -0
- package/dist/surfaces/runtime/surface-write-tool-output.d.ts +46 -0
- package/dist/surfaces/runtime/surface-write-tool-output.js +85 -0
- package/dist/surfaces/runtime/surface-writeback.d.ts +294 -0
- package/dist/surfaces/runtime/surface-writeback.js +1241 -0
- package/dist/surfaces/runtime/useActivePageSurface.d.ts +10 -0
- package/dist/surfaces/runtime/useActivePageSurface.js +31 -0
- package/dist/surfaces/runtime/useConversationFollowsPage.d.ts +7 -0
- package/dist/surfaces/runtime/useConversationFollowsPage.js +65 -0
- package/dist/surfaces/runtime/useLiveSurfaceScope.d.ts +21 -0
- package/dist/surfaces/runtime/useLiveSurfaceScope.js +85 -0
- package/dist/surfaces/runtime/window-forms.d.ts +69 -0
- package/dist/surfaces/runtime/window-forms.js +373 -0
- package/dist/surfaces/services/bind-agent-to-surface.service.d.ts +173 -0
- package/dist/surfaces/services/bind-agent-to-surface.service.js +420 -0
- package/dist/surfaces/services/bundleMemberEdge.d.ts +53 -0
- package/dist/surfaces/services/bundleMemberEdge.js +26 -0
- package/dist/surfaces/services/mirror-recency.d.ts +34 -0
- package/dist/surfaces/services/mirror-recency.js +6 -0
- package/dist/surfaces/services/surface-bound-agents.service.d.ts +91 -0
- package/dist/surfaces/services/surface-bound-agents.service.js +246 -0
- package/dist/surfaces/services/surface-config.service.d.ts +132 -0
- package/dist/surfaces/services/surface-config.service.js +392 -0
- package/dist/surfaces/services/surface-registration-error.d.ts +22 -0
- package/dist/surfaces/services/surface-registration-error.js +52 -0
- package/dist/surfaces/services/surfaces.service.d.ts +262 -0
- package/dist/surfaces/services/surfaces.service.js +480 -0
- package/dist/surfaces/types.d.ts +961 -0
- package/dist/surfaces/types.js +40 -0
- package/dist/surfaces/user-state/service.d.ts +29 -0
- package/dist/surfaces/user-state/service.js +110 -0
- package/dist/surfaces/user-state/useSurfaceUserState.d.ts +3 -0
- package/dist/surfaces/user-state/useSurfaceUserState.js +45 -0
- package/dist/surfaces/utils/always-on-context.d.ts +12 -0
- package/dist/surfaces/utils/always-on-context.js +25 -0
- package/dist/surfaces/utils/baseline-scope.d.ts +41 -0
- package/dist/surfaces/utils/baseline-scope.js +14 -0
- package/dist/surfaces/utils/binding-auto-run.d.ts +89 -0
- package/dist/surfaces/utils/binding-auto-run.js +29 -0
- package/dist/surfaces/utils/binding-suggestions.d.ts +121 -0
- package/dist/surfaces/utils/binding-suggestions.js +201 -0
- package/dist/surfaces/utils/buildBindingTargets.d.ts +8 -0
- package/dist/surfaces/utils/buildBindingTargets.js +27 -0
- package/dist/surfaces/utils/context-value-contract.d.ts +9 -0
- package/dist/surfaces/utils/context-value-contract.js +20 -0
- package/dist/surfaces/utils/document-evidence.d.ts +17 -0
- package/dist/surfaces/utils/document-evidence.js +51 -0
- package/dist/surfaces/utils/drift-report-count.d.ts +30 -0
- package/dist/surfaces/utils/drift-report-count.js +21 -0
- package/dist/surfaces/utils/locate-on-page.d.ts +16 -0
- package/dist/surfaces/utils/locate-on-page.js +29 -0
- package/dist/surfaces/utils/merge-value-mappings.d.ts +59 -0
- package/dist/surfaces/utils/merge-value-mappings.js +42 -0
- package/dist/surfaces/utils/route-to-surface.d.ts +39 -0
- package/dist/surfaces/utils/route-to-surface.js +648 -0
- package/dist/surfaces/utils/surface-check-ledger.d.ts +44 -0
- package/dist/surfaces/utils/surface-check-ledger.js +32 -0
- package/dist/surfaces/utils/surface-delete-consequence.d.ts +17 -0
- package/dist/surfaces/utils/surface-delete-consequence.js +16 -0
- package/dist/surfaces/utils/surface-display.d.ts +43 -0
- package/dist/surfaces/utils/surface-display.js +63 -0
- package/dist/surfaces/utils/surface-guide.d.ts +36 -0
- package/dist/surfaces/utils/surface-guide.js +46 -0
- package/dist/surfaces/utils/surface-hierarchy.d.ts +13 -0
- package/dist/surfaces/utils/surface-hierarchy.js +39 -0
- package/dist/surfaces/utils/surface-url-pattern.d.ts +20 -0
- package/dist/surfaces/utils/surface-url-pattern.js +51 -0
- package/dist/surfaces/utils/value-mapping-resolver.d.ts +87 -0
- package/dist/surfaces/utils/value-mapping-resolver.js +192 -0
- package/dist/testing/captured/awaiting-approval.d.ts +132 -0
- package/dist/testing/captured/awaiting-approval.js +135 -0
- package/dist/testing/captured/gemini-live-media-block-event.d.ts +61 -0
- package/dist/testing/captured/gemini-live-media-block-event.js +73 -0
- package/dist/testing/captured/gemini-persisted-audio-part.d.ts +42 -0
- package/dist/testing/captured/gemini-persisted-audio-part.js +5 -0
- package/dist/testing/captured/masterwork-run-cef6ae07-deliver.d.ts +29 -0
- package/dist/testing/captured/masterwork-run-cef6ae07-deliver.js +76 -0
- package/dist/testing/chat-host-test-provider.d.ts +13 -0
- package/dist/testing/chat-host-test-provider.js +16 -0
- package/dist/testing/chat-test-reducer.d.ts +13 -0
- package/dist/testing/chat-test-reducer.js +6 -0
- package/dist/testing/fake-db.d.ts +21 -0
- package/dist/testing/fake-db.js +39 -0
- package/dist/testing/recording-windows.d.ts +18 -0
- package/dist/testing/recording-windows.js +17 -0
- package/dist/testing/render-hook.d.ts +28 -0
- package/dist/testing/render-hook.js +48 -0
- package/dist/testing/server-test-host.d.ts +9 -0
- package/dist/testing/server-test-host.js +14 -0
- package/dist/tool-call-visualization/components/AgentWorkGroup.d.ts +52 -0
- package/dist/tool-call-visualization/components/AgentWorkGroup.js +68 -0
- package/dist/tool-call-visualization/components/ArtifactResultBar.d.ts +16 -0
- package/dist/tool-call-visualization/components/ArtifactResultBar.js +175 -0
- package/dist/tool-call-visualization/components/ChatResultColumn.d.ts +20 -0
- package/dist/tool-call-visualization/components/ChatResultColumn.js +11 -0
- package/dist/tool-call-visualization/components/LiveToolCallCard.d.ts +16 -0
- package/dist/tool-call-visualization/components/LiveToolCallCard.js +28 -0
- package/dist/tool-call-visualization/components/ToolCallBatch.d.ts +47 -0
- package/dist/tool-call-visualization/components/ToolCallBatch.js +155 -0
- package/dist/tool-call-visualization/components/ToolCallVisualization.d.ts +42 -0
- package/dist/tool-call-visualization/components/ToolCallVisualization.js +475 -0
- package/dist/tool-call-visualization/components/ToolConversationContext.d.ts +16 -0
- package/dist/tool-call-visualization/components/ToolConversationContext.js +12 -0
- package/dist/tool-call-visualization/components/ToolTabBodies.d.ts +28 -0
- package/dist/tool-call-visualization/components/ToolTabBodies.js +235 -0
- package/dist/tool-call-visualization/components/ToolUpdatesOverlay.d.ts +45 -0
- package/dist/tool-call-visualization/components/ToolUpdatesOverlay.js +210 -0
- package/dist/tool-call-visualization/components/agentWorkTurn.d.ts +92 -0
- package/dist/tool-call-visualization/components/agentWorkTurn.js +174 -0
- package/dist/tool-call-visualization/components/correctedFailures.d.ts +15 -0
- package/dist/tool-call-visualization/components/correctedFailures.js +9 -0
- package/dist/tool-call-visualization/components/holdsADecision.d.ts +14 -0
- package/dist/tool-call-visualization/components/holdsADecision.js +14 -0
- package/dist/tool-call-visualization/components/resolveToolShellDisplayMode.d.ts +8 -0
- package/dist/tool-call-visualization/components/resolveToolShellDisplayMode.js +9 -0
- package/dist/tool-call-visualization/components/toolCardUiSession.d.ts +29 -0
- package/dist/tool-call-visualization/components/toolCardUiSession.js +24 -0
- package/dist/tool-call-visualization/db-renderer/DbToolRenderer.d.ts +5 -0
- package/dist/tool-call-visualization/db-renderer/DbToolRenderer.js +11 -0
- package/dist/tool-call-visualization/db-renderer/DbToolRendererImpl.d.ts +22 -0
- package/dist/tool-call-visualization/db-renderer/DbToolRendererImpl.js +50 -0
- package/dist/tool-call-visualization/db-renderer/ToolRendererErrorBoundary.d.ts +24 -0
- package/dist/tool-call-visualization/db-renderer/ToolRendererErrorBoundary.js +31 -0
- package/dist/tool-call-visualization/db-renderer/fetchToolRendererRow.d.ts +13 -0
- package/dist/tool-call-visualization/db-renderer/fetchToolRendererRow.js +29 -0
- package/dist/tool-call-visualization/db-renderer/surface.d.ts +11 -0
- package/dist/tool-call-visualization/db-renderer/surface.js +4 -0
- package/dist/tool-call-visualization/db-renderer/toolRendererCache.d.ts +70 -0
- package/dist/tool-call-visualization/db-renderer/toolRendererCache.js +155 -0
- package/dist/tool-call-visualization/db-renderer/useDbToolMeta.d.ts +14 -0
- package/dist/tool-call-visualization/db-renderer/useDbToolMeta.js +45 -0
- package/dist/tool-call-visualization/db-renderer/useToolRendererVersion.d.ts +1 -0
- package/dist/tool-call-visualization/db-renderer/useToolRendererVersion.js +16 -0
- package/dist/tool-call-visualization/effects/toolStateEffects.d.ts +51 -0
- package/dist/tool-call-visualization/effects/toolStateEffects.js +139 -0
- package/dist/tool-call-visualization/grouping/foldAgentWork.d.ts +36 -0
- package/dist/tool-call-visualization/grouping/foldAgentWork.js +59 -0
- package/dist/tool-call-visualization/grouping/groupCloudBrowserRuns.d.ts +29 -0
- package/dist/tool-call-visualization/grouping/groupCloudBrowserRuns.js +48 -0
- package/dist/tool-call-visualization/intelligence-places.d.ts +2 -0
- package/dist/tool-call-visualization/intelligence-places.js +23 -0
- package/dist/tool-call-visualization/record-change/recordChangeApproval.d.ts +175 -0
- package/dist/tool-call-visualization/record-change/recordChangeApproval.js +338 -0
- package/dist/tool-call-visualization/redux/hooks.d.ts +20 -0
- package/dist/tool-call-visualization/redux/hooks.js +20 -0
- package/dist/tool-call-visualization/redux/selectors.d.ts +89 -0
- package/dist/tool-call-visualization/redux/selectors.js +41 -0
- package/dist/tool-call-visualization/registry/GenericRenderer.d.ts +3 -0
- package/dist/tool-call-visualization/registry/GenericRenderer.js +164 -0
- package/dist/tool-call-visualization/registry/registry.d.ts +77 -0
- package/dist/tool-call-visualization/registry/registry.js +1411 -0
- package/dist/tool-call-visualization/registry/toolArtifact.d.ts +31 -0
- package/dist/tool-call-visualization/registry/toolArtifact.js +53 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/EmptyResultCard.d.ts +39 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/EmptyResultCard.js +36 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/EntityCard.d.ts +40 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/EntityCard.js +162 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/EntityOpenActions.d.ts +15 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/EntityOpenActions.js +31 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/PartPeekPopover.d.ts +20 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/PartPeekPopover.js +45 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/ToolGlyph.d.ts +14 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/ToolGlyph.js +38 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/ToolResultCard.d.ts +48 -0
- package/dist/tool-call-visualization/renderers/_shared-entity/ToolResultCard.js +134 -0
- package/dist/tool-call-visualization/renderers/_shared.d.ts +29 -0
- package/dist/tool-call-visualization/renderers/_shared.js +66 -0
- package/dist/tool-call-visualization/renderers/agent-call/AgentCallInline.d.ts +10 -0
- package/dist/tool-call-visualization/renderers/agent-call/AgentCallInline.js +140 -0
- package/dist/tool-call-visualization/renderers/agent-call/CollabCallCard.d.ts +3 -0
- package/dist/tool-call-visualization/renderers/agent-call/CollabCallCard.js +136 -0
- package/dist/tool-call-visualization/renderers/agent-call/ImageGenerationResult.d.ts +16 -0
- package/dist/tool-call-visualization/renderers/agent-call/ImageGenerationResult.js +55 -0
- package/dist/tool-call-visualization/renderers/agent-call/agentCallKind.d.ts +10 -0
- package/dist/tool-call-visualization/renderers/agent-call/agentCallKind.js +11 -0
- package/dist/tool-call-visualization/renderers/agent-call/collab-subtitle.d.ts +2 -0
- package/dist/tool-call-visualization/renderers/agent-call/collab-subtitle.js +26 -0
- package/dist/tool-call-visualization/renderers/agent-call/collab.d.ts +52 -0
- package/dist/tool-call-visualization/renderers/agent-call/collab.js +73 -0
- package/dist/tool-call-visualization/renderers/agent-call/findResultMedia.d.ts +15 -0
- package/dist/tool-call-visualization/renderers/agent-call/findResultMedia.js +39 -0
- package/dist/tool-call-visualization/renderers/ask/AskInline.d.ts +24 -0
- package/dist/tool-call-visualization/renderers/ask/AskInline.js +136 -0
- package/dist/tool-call-visualization/renderers/ask-person/AskPersonInline.d.ts +23 -0
- package/dist/tool-call-visualization/renderers/ask-person/AskPersonInline.js +84 -0
- package/dist/tool-call-visualization/renderers/cloud-browser/CloudBrowserRunCard.d.ts +22 -0
- package/dist/tool-call-visualization/renderers/cloud-browser/CloudBrowserRunCard.js +202 -0
- package/dist/tool-call-visualization/renderers/cloud-browser/cloudBrowserRun.d.ts +27 -0
- package/dist/tool-call-visualization/renderers/cloud-browser/cloudBrowserRun.js +361 -0
- package/dist/tool-call-visualization/renderers/ctx/ContextActionInline.d.ts +22 -0
- package/dist/tool-call-visualization/renderers/ctx/ContextActionInline.js +15 -0
- package/dist/tool-call-visualization/renderers/ctx/CtxBatchInline.d.ts +31 -0
- package/dist/tool-call-visualization/renderers/ctx/CtxBatchInline.js +133 -0
- package/dist/tool-call-visualization/renderers/ctx/CtxGetInline.d.ts +27 -0
- package/dist/tool-call-visualization/renderers/ctx/CtxGetInline.js +68 -0
- package/dist/tool-call-visualization/renderers/ctx/CtxItemCard.d.ts +33 -0
- package/dist/tool-call-visualization/renderers/ctx/CtxItemCard.js +84 -0
- package/dist/tool-call-visualization/renderers/ctx/CtxPatchInline.d.ts +32 -0
- package/dist/tool-call-visualization/renderers/ctx/CtxPatchInline.js +89 -0
- package/dist/tool-call-visualization/renderers/dictionary/DictEntryList.d.ts +4 -0
- package/dist/tool-call-visualization/renderers/dictionary/DictEntryList.js +49 -0
- package/dist/tool-call-visualization/renderers/dictionary/DictionaryInline.d.ts +2 -0
- package/dist/tool-call-visualization/renderers/dictionary/DictionaryInline.js +38 -0
- package/dist/tool-call-visualization/renderers/dictionary/DictionaryOverlay.d.ts +6 -0
- package/dist/tool-call-visualization/renderers/dictionary/DictionaryOverlay.js +31 -0
- package/dist/tool-call-visualization/renderers/dictionary/parseDictionary.d.ts +19 -0
- package/dist/tool-call-visualization/renderers/dictionary/parseDictionary.js +24 -0
- package/dist/tool-call-visualization/renderers/fs/FsInline.d.ts +47 -0
- package/dist/tool-call-visualization/renderers/fs/FsInline.js +222 -0
- package/dist/tool-call-visualization/renderers/news-api/NewsInline.d.ts +3 -0
- package/dist/tool-call-visualization/renderers/news-api/NewsInline.js +148 -0
- package/dist/tool-call-visualization/renderers/news-api/NewsOverlay.d.ts +3 -0
- package/dist/tool-call-visualization/renderers/news-api/NewsOverlay.js +206 -0
- package/dist/tool-call-visualization/renderers/random-wheel/RandomWheelInline.d.ts +18 -0
- package/dist/tool-call-visualization/renderers/random-wheel/RandomWheelInline.js +696 -0
- package/dist/tool-call-visualization/renderers/random-wheel/types.d.ts +73 -0
- package/dist/tool-call-visualization/renderers/random-wheel/types.js +0 -0
- package/dist/tool-call-visualization/renderers/records/RecordsInline.d.ts +2 -0
- package/dist/tool-call-visualization/renderers/records/RecordsInline.js +41 -0
- package/dist/tool-call-visualization/renderers/research/ResearchInline.d.ts +32 -0
- package/dist/tool-call-visualization/renderers/research/ResearchInline.js +180 -0
- package/dist/tool-call-visualization/renderers/research/ResearchOverlay.d.ts +21 -0
- package/dist/tool-call-visualization/renderers/research/ResearchOverlay.js +247 -0
- package/dist/tool-call-visualization/renderers/research/SubagentReportBlock.d.ts +10 -0
- package/dist/tool-call-visualization/renderers/research/SubagentReportBlock.js +127 -0
- package/dist/tool-call-visualization/renderers/scrape/ScrapeInline.d.ts +33 -0
- package/dist/tool-call-visualization/renderers/scrape/ScrapeInline.js +283 -0
- package/dist/tool-call-visualization/renderers/scrape/ScrapeOverlay.d.ts +14 -0
- package/dist/tool-call-visualization/renderers/scrape/ScrapeOverlay.js +152 -0
- package/dist/tool-call-visualization/renderers/scrape/parseScrape.d.ts +83 -0
- package/dist/tool-call-visualization/renderers/scrape/parseScrape.js +111 -0
- package/dist/tool-call-visualization/renderers/search/SearchInline.d.ts +47 -0
- package/dist/tool-call-visualization/renderers/search/SearchInline.js +521 -0
- package/dist/tool-call-visualization/renderers/search/SearchOverlay.d.ts +3 -0
- package/dist/tool-call-visualization/renderers/search/SearchOverlay.js +334 -0
- package/dist/tool-call-visualization/renderers/search/parseSearch.d.ts +167 -0
- package/dist/tool-call-visualization/renderers/search/parseSearch.js +271 -0
- package/dist/tool-call-visualization/renderers/search/useGraduatedReveal.d.ts +26 -0
- package/dist/tool-call-visualization/renderers/search/useGraduatedReveal.js +34 -0
- package/dist/tool-call-visualization/renderers/shell/ShellInline.d.ts +60 -0
- package/dist/tool-call-visualization/renderers/shell/ShellInline.js +158 -0
- package/dist/tool-call-visualization/renderers/skill/SkillInline.d.ts +22 -0
- package/dist/tool-call-visualization/renderers/skill/SkillInline.js +113 -0
- package/dist/tool-call-visualization/renderers/sql/DbSchemaInline.d.ts +16 -0
- package/dist/tool-call-visualization/renderers/sql/DbSchemaInline.js +59 -0
- package/dist/tool-call-visualization/renderers/sql/SqlInline.d.ts +23 -0
- package/dist/tool-call-visualization/renderers/sql/SqlInline.js +125 -0
- package/dist/tool-call-visualization/renderers/sql/summarizeSql.d.ts +32 -0
- package/dist/tool-call-visualization/renderers/sql/summarizeSql.js +104 -0
- package/dist/tool-call-visualization/renderers/useAutoScrollOnStream.d.ts +5 -0
- package/dist/tool-call-visualization/renderers/useAutoScrollOnStream.js +30 -0
- package/dist/tool-call-visualization/renderers/web/WebInline.d.ts +23 -0
- package/dist/tool-call-visualization/renderers/web/WebInline.js +16 -0
- package/dist/tool-call-visualization/renderers/web/WebOverlay.d.ts +16 -0
- package/dist/tool-call-visualization/renderers/web/WebOverlay.js +16 -0
- package/dist/tool-call-visualization/renderers/web/webAction.d.ts +30 -0
- package/dist/tool-call-visualization/renderers/web/webAction.js +14 -0
- package/dist/tool-call-visualization/renderers/workbook/WorkbookGrid.d.ts +11 -0
- package/dist/tool-call-visualization/renderers/workbook/WorkbookGrid.js +47 -0
- package/dist/tool-call-visualization/renderers/workbook/WorkbookInline.d.ts +7 -0
- package/dist/tool-call-visualization/renderers/workbook/WorkbookInline.js +86 -0
- package/dist/tool-call-visualization/renderers/workbook/WorkbookOverlay.d.ts +7 -0
- package/dist/tool-call-visualization/renderers/workbook/WorkbookOverlay.js +37 -0
- package/dist/tool-call-visualization/renderers/workbook/parseWorkbook.d.ts +19 -0
- package/dist/tool-call-visualization/renderers/workbook/parseWorkbook.js +23 -0
- package/dist/tool-call-visualization/renderers/working-document/PatchDiffInline.d.ts +32 -0
- package/dist/tool-call-visualization/renderers/working-document/PatchDiffInline.js +110 -0
- package/dist/tool-call-visualization/renderers/working-document/applyWorkingDocPatch.d.ts +44 -0
- package/dist/tool-call-visualization/renderers/working-document/applyWorkingDocPatch.js +74 -0
- package/dist/tool-call-visualization/result-fields/EmptyResult.d.ts +13 -0
- package/dist/tool-call-visualization/result-fields/EmptyResult.js +28 -0
- package/dist/tool-call-visualization/result-fields/KeyValueGrid.d.ts +69 -0
- package/dist/tool-call-visualization/result-fields/KeyValueGrid.js +291 -0
- package/dist/tool-call-visualization/result-fields/KindValueNode.d.ts +21 -0
- package/dist/tool-call-visualization/result-fields/KindValueNode.js +41 -0
- package/dist/tool-call-visualization/result-fields/ResultFile.d.ts +26 -0
- package/dist/tool-call-visualization/result-fields/ResultFile.js +118 -0
- package/dist/tool-call-visualization/result-fields/ResultJson.d.ts +22 -0
- package/dist/tool-call-visualization/result-fields/ResultJson.js +9 -0
- package/dist/tool-call-visualization/result-fields/ResultMarkdown.d.ts +16 -0
- package/dist/tool-call-visualization/result-fields/ResultMarkdown.js +51 -0
- package/dist/tool-call-visualization/result-fields/ResultMedia.d.ts +17 -0
- package/dist/tool-call-visualization/result-fields/ResultMedia.js +60 -0
- package/dist/tool-call-visualization/result-fields/ResultRecordRef.d.ts +20 -0
- package/dist/tool-call-visualization/result-fields/ResultRecordRef.js +42 -0
- package/dist/tool-call-visualization/result-fields/ResultScalar.d.ts +19 -0
- package/dist/tool-call-visualization/result-fields/ResultScalar.js +16 -0
- package/dist/tool-call-visualization/result-fields/ResultTable.d.ts +28 -0
- package/dist/tool-call-visualization/result-fields/ResultTable.js +343 -0
- package/dist/tool-call-visualization/result-fields/ResultValue.d.ts +35 -0
- package/dist/tool-call-visualization/result-fields/ResultValue.js +202 -0
- package/dist/tool-call-visualization/result-fields/ShortId.d.ts +28 -0
- package/dist/tool-call-visualization/result-fields/ShortId.js +114 -0
- package/dist/tool-call-visualization/result-fields/ToolErrorCard.d.ts +33 -0
- package/dist/tool-call-visualization/result-fields/ToolErrorCard.js +80 -0
- package/dist/tool-call-visualization/result-fields/ToolResultValue.d.ts +22 -0
- package/dist/tool-call-visualization/result-fields/ToolResultValue.js +19 -0
- package/dist/tool-call-visualization/result-fields/UrlChips.d.ts +34 -0
- package/dist/tool-call-visualization/result-fields/UrlChips.js +72 -0
- package/dist/tool-call-visualization/result-fields/demo-fixtures.d.ts +6 -0
- package/dist/tool-call-visualization/result-fields/demo-fixtures.js +8 -0
- package/dist/tool-call-visualization/result-fields/document-presentation.d.ts +101 -0
- package/dist/tool-call-visualization/result-fields/document-presentation.js +61 -0
- package/dist/tool-call-visualization/result-fields/guard-routing.d.ts +31 -0
- package/dist/tool-call-visualization/result-fields/guard-routing.js +32 -0
- package/dist/tool-call-visualization/result-fields/schema-labels.d.ts +27 -0
- package/dist/tool-call-visualization/result-fields/schema-labels.js +51 -0
- package/dist/tool-call-visualization/result-fields/shape.d.ts +263 -0
- package/dist/tool-call-visualization/result-fields/shape.js +384 -0
- package/dist/tool-call-visualization/service/fetchConversationToolCalls.d.ts +39 -0
- package/dist/tool-call-visualization/service/fetchConversationToolCalls.js +55 -0
- package/dist/tool-call-visualization/surface-write/SurfaceWriteDiff.d.ts +9 -0
- package/dist/tool-call-visualization/surface-write/SurfaceWriteDiff.js +129 -0
- package/dist/tool-call-visualization/surface-write/SurfaceWriteStress.d.ts +17 -0
- package/dist/tool-call-visualization/surface-write/SurfaceWriteStress.js +169 -0
- package/dist/tool-call-visualization/surface-write/readSurfaceWrite.d.ts +43 -0
- package/dist/tool-call-visualization/surface-write/readSurfaceWrite.js +64 -0
- package/dist/tool-call-visualization/surface-write/withSurfaceWriteDiff.d.ts +17 -0
- package/dist/tool-call-visualization/surface-write/withSurfaceWriteDiff.js +20 -0
- package/dist/tool-call-visualization/types.d.ts +226 -0
- package/dist/tool-call-visualization/types.js +0 -0
- package/dist/tool-call-visualization/utils/cxToolCallToLifecycleEntry.d.ts +51 -0
- package/dist/tool-call-visualization/utils/cxToolCallToLifecycleEntry.js +109 -0
- package/dist/tool-call-visualization/utils/human-copy.d.ts +16 -0
- package/dist/tool-call-visualization/utils/human-copy.js +44 -0
- package/dist/tool-call-visualization/utils/toolCallBlockToLifecycleEntry.d.ts +24 -0
- package/dist/tool-call-visualization/utils/toolCallBlockToLifecycleEntry.js +26 -0
- package/dist/tool-call-visualization/utils/toolDisplayName.d.ts +13 -0
- package/dist/tool-call-visualization/utils/toolDisplayName.js +17 -0
- package/dist/tool-call-visualization/utils/toolEntryBundle.d.ts +38 -0
- package/dist/tool-call-visualization/utils/toolEntryBundle.js +62 -0
- package/dist/tool-call-visualization/window-panel/ToolCallWindowPanel.d.ts +39 -0
- package/dist/tool-call-visualization/window-panel/ToolCallWindowPanel.js +521 -0
- package/dist/tools.cjs +84 -44
- package/dist/tools.cjs.map +1 -1
- package/dist/tools.js +83 -43
- package/dist/tools.js.map +1 -1
- package/dist/ui/ShimmerText.d.ts +5 -0
- package/dist/ui/ShimmerText.js +21 -0
- package/dist/ui/access-core.d.ts +50 -0
- package/dist/ui/access-core.js +65 -0
- package/dist/ui/addressWithoutNavigating.d.ts +68 -0
- package/dist/ui/addressWithoutNavigating.js +60 -0
- package/dist/ui/after-current-layer-closes.d.ts +79 -0
- package/dist/ui/after-current-layer-closes.js +69 -0
- package/dist/ui/agentDeleteConfirm.d.ts +41 -0
- package/dist/ui/agentDeleteConfirm.js +14 -0
- package/dist/ui/aspect-ratio-options.d.ts +28 -0
- package/dist/ui/aspect-ratio-options.js +82 -0
- package/dist/ui/audio-session-types.d.ts +122 -0
- package/dist/ui/audio-session-types.js +0 -0
- package/dist/ui/body-pointer-events-guard.d.ts +100 -0
- package/dist/ui/body-pointer-events-guard.js +140 -0
- package/dist/ui/canActOn.d.ts +2 -0
- package/dist/ui/canActOn.js +13 -0
- package/dist/ui/chat-default-model-knob.d.ts +3 -0
- package/dist/ui/chat-default-model-knob.js +12 -0
- package/dist/ui/chat-protocol-types.d.ts +154 -0
- package/dist/ui/chat-protocol-types.js +14 -0
- package/dist/ui/checkbox.d.ts +6 -0
- package/dist/ui/checkbox.js +11 -0
- package/dist/ui/componentSaver.d.ts +22 -0
- package/dist/ui/componentSaver.js +7 -0
- package/dist/ui/composer/composerSubmit.d.ts +50 -0
- package/dist/ui/composer/composerSubmit.js +32 -0
- package/dist/ui/composer/useTouchOnlyDevice.d.ts +6 -0
- package/dist/ui/composer/useTouchOnlyDevice.js +9 -0
- package/dist/ui/database-tool.d.ts +3 -0
- package/dist/ui/database-tool.js +0 -0
- package/dist/ui/expectedRefusal.d.ts +15 -0
- package/dist/ui/expectedRefusal.js +33 -0
- package/dist/ui/file-source.d.ts +19 -0
- package/dist/ui/file-source.js +0 -0
- package/dist/ui/grid-companion.d.ts +13 -0
- package/dist/ui/grid-companion.js +4 -0
- package/dist/ui/item-types.d.ts +284 -0
- package/dist/ui/item-types.js +22 -0
- package/dist/ui/mandate-words.d.ts +11 -0
- package/dist/ui/mandate-words.js +10 -0
- package/dist/ui/mandates-storage/mandateStorage.d.ts +10609 -0
- package/dist/ui/mandates-storage/mandateStorage.js +142 -0
- package/dist/ui/mandates-storage/provision-shapes.d.ts +398 -0
- package/dist/ui/mandates-storage/provision-shapes.js +369 -0
- package/dist/ui/mandates-storage/shortcutStorage.d.ts +6270 -0
- package/dist/ui/mandates-storage/shortcutStorage.js +71 -0
- package/dist/ui/mobileTable.d.ts +91 -0
- package/dist/ui/mobileTable.js +28 -0
- package/dist/ui/oauth-popup.d.ts +22 -0
- package/dist/ui/oauth-popup.js +63 -0
- package/dist/ui/payload.d.ts +38 -0
- package/dist/ui/payload.js +13 -0
- package/dist/ui/permission-levels.d.ts +88 -0
- package/dist/ui/permission-levels.js +66 -0
- package/dist/ui/projectCreateAiDebug.d.ts +27 -0
- package/dist/ui/projectCreateAiDebug.js +53 -0
- package/dist/ui/renameIntentFallback.d.ts +8 -0
- package/dist/ui/renameIntentFallback.js +11 -0
- package/dist/ui/scroll-fade.d.ts +40 -0
- package/dist/ui/scroll-fade.js +87 -0
- package/dist/ui/side-panel-width.d.ts +20 -0
- package/dist/ui/side-panel-width.js +30 -0
- package/dist/ui/skills-types.d.ts +275 -0
- package/dist/ui/skills-types.js +0 -0
- package/dist/ui/stream-profiler.d.ts +48 -0
- package/dist/ui/stream-profiler.js +96 -0
- package/dist/ui/supabase-rpc.d.ts +57 -0
- package/dist/ui/supabase-rpc.js +0 -0
- package/dist/ui/switch.d.ts +2 -0
- package/dist/ui/switch.js +4 -0
- package/dist/ui/tabs.d.ts +11 -0
- package/dist/ui/tabs.js +25 -0
- package/dist/ui/treatment-shape.d.ts +65 -0
- package/dist/ui/treatment-shape.js +159 -0
- package/dist/ui/usable-server-notes.d.ts +2 -0
- package/dist/ui/usable-server-notes.js +8 -0
- package/dist/ui/usages/DriftSeverityBadge.d.ts +18 -0
- package/dist/ui/usages/DriftSeverityBadge.js +34 -0
- package/dist/ui/usages/severity.d.ts +34 -0
- package/dist/ui/usages/severity.js +82 -0
- package/dist/ui/usages/usages.slice.d.ts +91 -0
- package/dist/ui/usages/usages.slice.js +210 -0
- package/dist/ui/usages/usages.types.d.ts +196 -0
- package/dist/ui/usages/usages.types.js +0 -0
- package/dist/ui/valuePromptsOpener.d.ts +46 -0
- package/dist/ui/valuePromptsOpener.js +11 -0
- package/dist/utils/callbackManager.d.ts +114 -0
- package/dist/utils/callbackManager.js +260 -0
- package/dist/utils/connectors/marks.d.ts +35 -0
- package/dist/utils/connectors/marks.js +233 -0
- package/dist/utils/connectors/types.d.ts +77 -0
- package/dist/utils/connectors/types.js +0 -0
- package/dist/utils/content-ir/decision-answers-ids.d.ts +3 -0
- package/dist/utils/content-ir/decision-answers-ids.js +6 -0
- package/dist/utils/content-ir/envelope-parity.d.ts +12 -0
- package/dist/utils/content-ir/envelope-parity.js +32 -0
- package/dist/utils/content-ir/instance-title.d.ts +26 -0
- package/dist/utils/content-ir/instance-title.js +39 -0
- package/dist/utils/content-ir/kinds/kind-markdown-utils.d.ts +84 -0
- package/dist/utils/content-ir/kinds/kind-markdown-utils.js +233 -0
- package/dist/utils/content-ir/kinds/kind-value-markdown.d.ts +5 -0
- package/dist/utils/content-ir/kinds/kind-value-markdown.js +17 -0
- package/dist/utils/content-ir/legacy-quiz-envelope.d.ts +3 -0
- package/dist/utils/content-ir/legacy-quiz-envelope.js +45 -0
- package/dist/utils/content-ir/report-kind-at-raw-renderer.d.ts +19 -0
- package/dist/utils/content-ir/report-kind-at-raw-renderer.js +32 -0
- package/dist/utils/content-ir/surfaces/embedded-kind-json.d.ts +140 -0
- package/dist/utils/content-ir/surfaces/embedded-kind-json.js +527 -0
- package/dist/utils/content-ir/surfaces/json-kind-signal.d.ts +307 -0
- package/dist/utils/content-ir/surfaces/json-kind-signal.js +945 -0
- package/dist/utils/content-ir/surfaces/kind-image-alt.d.ts +27 -0
- package/dist/utils/content-ir/surfaces/kind-image-alt.js +117 -0
- package/dist/utils/content-ir/surfaces/kind-one-line.d.ts +67 -0
- package/dist/utils/content-ir/surfaces/kind-one-line.js +209 -0
- package/dist/utils/content-ir/surfaces/kind-text-label.d.ts +20 -0
- package/dist/utils/content-ir/surfaces/kind-text-label.js +50 -0
- package/dist/utils/content-ir/surfaces/kind-text-to-markdown.d.ts +47 -0
- package/dist/utils/content-ir/surfaces/kind-text-to-markdown.js +399 -0
- package/dist/utils/content-ir/surfaces/markdown-escaped-kind.d.ts +54 -0
- package/dist/utils/content-ir/surfaces/markdown-escaped-kind.js +128 -0
- package/dist/utils/content-ir/surfaces/quoted-kind-lift.d.ts +61 -0
- package/dist/utils/content-ir/surfaces/quoted-kind-lift.js +215 -0
- package/dist/utils/dom/focus-guard.d.ts +29 -0
- package/dist/utils/dom/focus-guard.js +40 -0
- package/dist/utils/dom/useAutoFocus.d.ts +11 -0
- package/dist/utils/dom/useAutoFocus.js +11 -0
- package/dist/utils/inline-decision/decision-options.d.ts +21 -0
- package/dist/utils/inline-decision/decision-options.js +32 -0
- package/dist/utils/json.d.ts +63 -0
- package/dist/utils/json.js +22 -0
- package/dist/utils/markdown/plain-title.d.ts +25 -0
- package/dist/utils/markdown/plain-title.js +51 -0
- package/dist/utils/rendered-find.d.ts +9 -0
- package/dist/utils/rendered-find.js +68 -0
- package/dist/utils/resource-picker/ResourcePickerSubViewHeader.d.ts +102 -0
- package/dist/utils/resource-picker/ResourcePickerSubViewHeader.js +150 -0
- package/dist/utils/rich-editor/core/caret-context.d.ts +24 -0
- package/dist/utils/rich-editor/core/caret-context.js +73 -0
- package/dist/utils/rich-editor/in-place/caret-handoff.d.ts +3 -0
- package/dist/utils/rich-editor/in-place/caret-handoff.js +14 -0
- package/dist/utils/shell/canvas-chrome-routes.d.ts +38 -0
- package/dist/utils/shell/canvas-chrome-routes.js +32 -0
- package/dist/utils/shell/sidebar-cookie.d.ts +21 -0
- package/dist/utils/shell/sidebar-cookie.js +12 -0
- package/dist/utils/xml/readXmlTag.d.ts +12 -0
- package/dist/utils/xml/readXmlTag.js +66 -0
- package/dist/voice-agent/agent-context/voiceTranscriptScope.d.ts +56 -0
- package/dist/voice-agent/agent-context/voiceTranscriptScope.js +45 -0
- package/dist/voice-agent/agentInstructions.d.ts +18 -0
- package/dist/voice-agent/agentInstructions.js +25 -0
- package/dist/voice-agent/audio/amplitudeBus.d.ts +5 -0
- package/dist/voice-agent/audio/amplitudeBus.js +19 -0
- package/dist/voice-agent/audio/audioCapture.d.ts +48 -0
- package/dist/voice-agent/audio/audioCapture.js +277 -0
- package/dist/voice-agent/audio/audioPlayback.d.ts +19 -0
- package/dist/voice-agent/audio/audioPlayback.js +194 -0
- package/dist/voice-agent/audio/pcmEncoding.d.ts +10 -0
- package/dist/voice-agent/audio/pcmEncoding.js +26 -0
- package/dist/voice-agent/components/GoogleLiveSurface.d.ts +1 -0
- package/dist/voice-agent/components/GoogleLiveSurface.js +151 -0
- package/dist/voice-agent/components/LiveVoiceDoor.d.ts +4 -0
- package/dist/voice-agent/components/LiveVoiceDoor.js +49 -0
- package/dist/voice-agent/components/VoiceAgentSurface.d.ts +22 -0
- package/dist/voice-agent/components/VoiceAgentSurface.js +308 -0
- package/dist/voice-agent/components/VoiceControlCluster.d.ts +10 -0
- package/dist/voice-agent/components/VoiceControlCluster.js +24 -0
- package/dist/voice-agent/components/VoiceDebugPanel.d.ts +7 -0
- package/dist/voice-agent/components/VoiceDebugPanel.js +276 -0
- package/dist/voice-agent/components/VoiceEdgeRibbon.d.ts +7 -0
- package/dist/voice-agent/components/VoiceEdgeRibbon.js +99 -0
- package/dist/voice-agent/components/VoiceErrorBanner.d.ts +8 -0
- package/dist/voice-agent/components/VoiceErrorBanner.js +36 -0
- package/dist/voice-agent/components/VoiceMicButton.d.ts +8 -0
- package/dist/voice-agent/components/VoiceMicButton.js +47 -0
- package/dist/voice-agent/components/VoiceMuteButton.d.ts +8 -0
- package/dist/voice-agent/components/VoiceMuteButton.js +37 -0
- package/dist/voice-agent/components/VoiceOrb.d.ts +9 -0
- package/dist/voice-agent/components/VoiceOrb.js +169 -0
- package/dist/voice-agent/components/VoiceStatusPill.d.ts +9 -0
- package/dist/voice-agent/components/VoiceStatusPill.js +43 -0
- package/dist/voice-agent/components/VoiceTranscriptStream.d.ts +7 -0
- package/dist/voice-agent/components/VoiceTranscriptStream.js +32 -0
- package/dist/voice-agent/components/VoiceTranscriptTurn.d.ts +6 -0
- package/dist/voice-agent/components/VoiceTranscriptTurn.js +45 -0
- package/dist/voice-agent/components/playground/InstructionsEditor.d.ts +6 -0
- package/dist/voice-agent/components/playground/InstructionsEditor.js +61 -0
- package/dist/voice-agent/components/playground/PlaygroundSettingsSheet.d.ts +16 -0
- package/dist/voice-agent/components/playground/PlaygroundSettingsSheet.js +74 -0
- package/dist/voice-agent/components/playground/ToolToggleList.d.ts +6 -0
- package/dist/voice-agent/components/playground/ToolToggleList.js +64 -0
- package/dist/voice-agent/components/playground/VoicePicker.d.ts +6 -0
- package/dist/voice-agent/components/playground/VoicePicker.js +37 -0
- package/dist/voice-agent/constants.d.ts +120 -0
- package/dist/voice-agent/constants.js +52 -0
- package/dist/voice-agent/debug/voiceDebugBus.d.ts +57 -0
- package/dist/voice-agent/debug/voiceDebugBus.js +91 -0
- package/dist/voice-agent/hooks/useAudioAmplitude.d.ts +3 -0
- package/dist/voice-agent/hooks/useAudioAmplitude.js +32 -0
- package/dist/voice-agent/hooks/useGoogleLiveSession.d.ts +21 -0
- package/dist/voice-agent/hooks/useGoogleLiveSession.js +185 -0
- package/dist/voice-agent/hooks/usePersistVoiceTranscript.d.ts +7 -0
- package/dist/voice-agent/hooks/usePersistVoiceTranscript.js +120 -0
- package/dist/voice-agent/hooks/useRealtimeAgentConfig.d.ts +63 -0
- package/dist/voice-agent/hooks/useRealtimeAgentConfig.js +67 -0
- package/dist/voice-agent/hooks/useVoiceAgentInstance.d.ts +62 -0
- package/dist/voice-agent/hooks/useVoiceAgentInstance.js +109 -0
- package/dist/voice-agent/hooks/useVoicePlaygroundWriteHandlers.d.ts +2 -0
- package/dist/voice-agent/hooks/useVoicePlaygroundWriteHandlers.js +89 -0
- package/dist/voice-agent/hooks/useXaiVoiceSession.d.ts +53 -0
- package/dist/voice-agent/hooks/useXaiVoiceSession.js +1030 -0
- package/dist/voice-agent/intelligence-places.d.ts +2 -0
- package/dist/voice-agent/intelligence-places.js +55 -0
- package/dist/voice-agent/persistence/voiceTranscriptWriter.d.ts +47 -0
- package/dist/voice-agent/persistence/voiceTranscriptWriter.js +204 -0
- package/dist/voice-agent/realtimeModel.d.ts +18 -0
- package/dist/voice-agent/realtimeModel.js +47 -0
- package/dist/voice-agent/realtimeSession.d.ts +27 -0
- package/dist/voice-agent/realtimeSession.js +67 -0
- package/dist/voice-agent/relay/VoiceChatClient.d.ts +8 -0
- package/dist/voice-agent/relay/VoiceChatClient.js +36 -0
- package/dist/voice-agent/relay/VoiceRelayBar.d.ts +22 -0
- package/dist/voice-agent/relay/VoiceRelayBar.js +85 -0
- package/dist/voice-agent/relay/VoiceRelayDock.d.ts +13 -0
- package/dist/voice-agent/relay/VoiceRelayDock.js +80 -0
- package/dist/voice-agent/relay/VoiceRelayPanel.d.ts +14 -0
- package/dist/voice-agent/relay/VoiceRelayPanel.js +45 -0
- package/dist/voice-agent/relay/questionLedger.d.ts +22 -0
- package/dist/voice-agent/relay/questionLedger.js +123 -0
- package/dist/voice-agent/relay/relayController.d.ts +52 -0
- package/dist/voice-agent/relay/relayController.js +165 -0
- package/dist/voice-agent/relay/relayProtocol.d.ts +25 -0
- package/dist/voice-agent/relay/relayProtocol.js +33 -0
- package/dist/voice-agent/relay/sideChannel.d.ts +38 -0
- package/dist/voice-agent/relay/sideChannel.js +69 -0
- package/dist/voice-agent/relay/types.d.ts +41 -0
- package/dist/voice-agent/relay/types.js +0 -0
- package/dist/voice-agent/relay/useVoiceRelaySession.d.ts +47 -0
- package/dist/voice-agent/relay/useVoiceRelaySession.js +261 -0
- package/dist/voice-agent/relay/utteranceQueue.d.ts +27 -0
- package/dist/voice-agent/relay/utteranceQueue.js +39 -0
- package/dist/voice-agent/runtime/client-tool-registry.d.ts +45 -0
- package/dist/voice-agent/runtime/client-tool-registry.js +49 -0
- package/dist/voice-agent/runtime/realtime-tool-loop.d.ts +87 -0
- package/dist/voice-agent/runtime/realtime-tool-loop.js +90 -0
- package/dist/voice-agent/services/realtimeToolService.d.ts +57 -0
- package/dist/voice-agent/services/realtimeToolService.js +28 -0
- package/dist/voice-agent/state/selectors.d.ts +36 -0
- package/dist/voice-agent/state/selectors.js +119 -0
- package/dist/voice-agent/state/voiceAgentSlice.d.ts +78 -0
- package/dist/voice-agent/state/voiceAgentSlice.js +285 -0
- package/dist/voice-agent/transport/clientEvents.d.ts +40 -0
- package/dist/voice-agent/transport/clientEvents.js +88 -0
- package/dist/voice-agent/transport/googleRealtimeClient.d.ts +24 -0
- package/dist/voice-agent/transport/googleRealtimeClient.js +161 -0
- package/dist/voice-agent/transport/serverEvents.d.ts +180 -0
- package/dist/voice-agent/transport/serverEvents.js +42 -0
- package/dist/voice-agent/transport/tokenManager.d.ts +40 -0
- package/dist/voice-agent/transport/tokenManager.js +197 -0
- package/dist/voice-agent/transport/xaiClient.d.ts +43 -0
- package/dist/voice-agent/transport/xaiClient.js +230 -0
- package/dist/voice-agent/types.d.ts +119 -0
- package/dist/voice-agent/types.js +0 -0
- package/dist/window-panels/windows/agents/AgentAssistantMarkdownDebugWindow.d.ts +7 -0
- package/dist/window-panels/windows/agents/AgentAssistantMarkdownDebugWindow.js +138 -0
- package/dist/window-panels/windows/agents/AgentMemoryWindow.d.ts +6 -0
- package/dist/window-panels/windows/agents/AgentMemoryWindow.js +105 -0
- package/dist/window-panels/windows/agents/AgentPickerFrame.d.ts +30 -0
- package/dist/window-panels/windows/agents/AgentPickerFrame.js +49 -0
- package/dist/window-panels/windows/agents/AgentRunHistoryWindow.d.ts +18 -0
- package/dist/window-panels/windows/agents/AgentRunHistoryWindow.js +483 -0
- package/dist/window-panels/windows/agents/AgentRunWindow.d.ts +70 -0
- package/dist/window-panels/windows/agents/AgentRunWindow.js +674 -0
- package/dist/window-panels/windows/agents/ChatHistoryWindow.d.ts +41 -0
- package/dist/window-panels/windows/agents/ChatHistoryWindow.js +248 -0
- package/dist/window-panels/windows/agents/LiveRunWindow.d.ts +52 -0
- package/dist/window-panels/windows/agents/LiveRunWindow.js +97 -0
- package/dist/window-panels/windows/agents/MessageAnalysisWindow.d.ts +22 -0
- package/dist/window-panels/windows/agents/MessageAnalysisWindow.js +116 -0
- package/dist/window-panels/windows/agents/ObservationalMemoryWindow.d.ts +25 -0
- package/dist/window-panels/windows/agents/ObservationalMemoryWindow.js +382 -0
- package/dist/window-panels/windows/agents/RunControlsWindow.d.ts +9 -0
- package/dist/window-panels/windows/agents/RunControlsWindow.js +158 -0
- package/dist/window-panels/windows/agents/agent-run-history-scope.d.ts +90 -0
- package/dist/window-panels/windows/agents/agent-run-history-scope.js +86 -0
- package/dist/window-panels/windows/agents/agentPanelSurfaceAddress.d.ts +28 -0
- package/dist/window-panels/windows/agents/agentPanelSurfaceAddress.js +27 -0
- package/dist/window-panels/windows/agents/agentRunWindowAddress.d.ts +35 -0
- package/dist/window-panels/windows/agents/agentRunWindowAddress.js +13 -0
- package/package.json +161 -12
|
@@ -0,0 +1,1587 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Chip, Button, DisclosureHeader } from "@ai-matrx/design-system/controls";
|
|
4
|
+
import { formatDurationMs } from "@ai-matrx/kit/format";
|
|
5
|
+
import React, { useState, useRef, useEffect, useMemo } from "react";
|
|
6
|
+
import { shallowEqual } from "react-redux";
|
|
7
|
+
import { useAppSelector, useAppDispatch } from "../../../store/hooks.js";
|
|
8
|
+
import { setDebugSession } from "../../redux/execution-system/conversations/conversations.slice.js";
|
|
9
|
+
import {
|
|
10
|
+
selectConversationRequestCount,
|
|
11
|
+
selectConversationRequestIds
|
|
12
|
+
} from "../../redux/execution-system/active-requests/active-requests.selectors.js";
|
|
13
|
+
import { cn } from "@ai-matrx/design-system";
|
|
14
|
+
import { EntityRef } from "../../../host/ui-slots.js";
|
|
15
|
+
import { ScrollArea } from "@ai-matrx/design-system";
|
|
16
|
+
import { Badge } from "@ai-matrx/design-system";
|
|
17
|
+
import {
|
|
18
|
+
Copy,
|
|
19
|
+
Check,
|
|
20
|
+
Filter,
|
|
21
|
+
ChevronDown,
|
|
22
|
+
ChevronRight,
|
|
23
|
+
Clock,
|
|
24
|
+
Zap,
|
|
25
|
+
AlertTriangle,
|
|
26
|
+
CircleDot,
|
|
27
|
+
FileText,
|
|
28
|
+
Wrench,
|
|
29
|
+
Database,
|
|
30
|
+
Radio,
|
|
31
|
+
Heart,
|
|
32
|
+
Square,
|
|
33
|
+
Layers,
|
|
34
|
+
Activity,
|
|
35
|
+
BarChart3,
|
|
36
|
+
Brain,
|
|
37
|
+
Info,
|
|
38
|
+
ShieldAlert,
|
|
39
|
+
BookmarkPlus,
|
|
40
|
+
RefreshCw,
|
|
41
|
+
FilePlus2,
|
|
42
|
+
ListChecks,
|
|
43
|
+
ScanSearch
|
|
44
|
+
} from "lucide-react";
|
|
45
|
+
import { ErrorAlchemyMenu } from "../../../host/ui-slots.js";
|
|
46
|
+
import { humanizeIdentifier } from "@ai-matrx/kit/text-case";
|
|
47
|
+
const DEBUG_PANEL_SHELL = "flex flex-col flex-1 min-h-0 h-full w-full bg-background text-foreground";
|
|
48
|
+
function DebugTabScroll({ children }) {
|
|
49
|
+
return /* @__PURE__ */ jsx("div", { className: "flex flex-col flex-1 min-h-0 h-full", children: /* @__PURE__ */ jsx(ScrollArea, { className: "flex-1 min-h-0", children }) });
|
|
50
|
+
}
|
|
51
|
+
function useCopy() {
|
|
52
|
+
const [copied, setCopied] = useState(null);
|
|
53
|
+
const copy = (text, id) => {
|
|
54
|
+
navigator.clipboard.writeText(text);
|
|
55
|
+
setCopied(id);
|
|
56
|
+
setTimeout(() => setCopied(null), 1500);
|
|
57
|
+
};
|
|
58
|
+
return { copied, copy };
|
|
59
|
+
}
|
|
60
|
+
function CopyBtn({
|
|
61
|
+
text,
|
|
62
|
+
id,
|
|
63
|
+
className
|
|
64
|
+
}) {
|
|
65
|
+
const { copied, copy } = useCopy();
|
|
66
|
+
return /* @__PURE__ */ jsx(Button, { variant: "quiet", icon: copied === id ? /* @__PURE__ */ jsx(Check, {}) : /* @__PURE__ */ jsx(Copy, {}), glyphTone: copied === id ? "success" : void 0, "aria-label": "Copy", onClick: (e) => {
|
|
67
|
+
e.stopPropagation();
|
|
68
|
+
copy(text, id);
|
|
69
|
+
}, className });
|
|
70
|
+
}
|
|
71
|
+
function TimelineCopyChip({
|
|
72
|
+
id,
|
|
73
|
+
text,
|
|
74
|
+
label,
|
|
75
|
+
tooltip,
|
|
76
|
+
tone,
|
|
77
|
+
LeadingIcon
|
|
78
|
+
}) {
|
|
79
|
+
const { copied, copy } = useCopy();
|
|
80
|
+
const done = copied === id;
|
|
81
|
+
const Leading = LeadingIcon ?? Copy;
|
|
82
|
+
return /* @__PURE__ */ jsx(
|
|
83
|
+
Chip,
|
|
84
|
+
{
|
|
85
|
+
asChild: true,
|
|
86
|
+
className: "shrink-0",
|
|
87
|
+
tone: done ? "success" : tone,
|
|
88
|
+
icon: done ? /* @__PURE__ */ jsx(Check, {}) : /* @__PURE__ */ jsx(Leading, {}),
|
|
89
|
+
label,
|
|
90
|
+
title: tooltip,
|
|
91
|
+
children: /* @__PURE__ */ jsx(
|
|
92
|
+
"button",
|
|
93
|
+
{
|
|
94
|
+
type: "button",
|
|
95
|
+
onClick: (e) => {
|
|
96
|
+
e.stopPropagation();
|
|
97
|
+
copy(text, id);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
function JsonView({
|
|
105
|
+
data,
|
|
106
|
+
label,
|
|
107
|
+
id,
|
|
108
|
+
defaultExpanded = true
|
|
109
|
+
}) {
|
|
110
|
+
const [open, setOpen] = useState(defaultExpanded);
|
|
111
|
+
const json = JSON.stringify(data, null, 2);
|
|
112
|
+
if (data === null || data === void 0) return null;
|
|
113
|
+
const isSimple = typeof data === "string" || typeof data === "number" || typeof data === "boolean";
|
|
114
|
+
if (isSimple) {
|
|
115
|
+
return /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center gap-1 text-[10px]", children: [
|
|
116
|
+
label && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
117
|
+
label,
|
|
118
|
+
":"
|
|
119
|
+
] }),
|
|
120
|
+
/* @__PURE__ */ jsx("code", { className: "text-foreground/80 bg-muted/50 px-1 rounded max-w-[300px] truncate inline-block", children: String(data) }),
|
|
121
|
+
/* @__PURE__ */ jsx(CopyBtn, { text: String(data), id })
|
|
122
|
+
] });
|
|
123
|
+
}
|
|
124
|
+
return /* @__PURE__ */ jsxs("div", { className: "text-[10px]", children: [
|
|
125
|
+
/* @__PURE__ */ jsx(
|
|
126
|
+
DisclosureHeader,
|
|
127
|
+
{
|
|
128
|
+
className: "w-full",
|
|
129
|
+
open,
|
|
130
|
+
onClick: () => setOpen(!open),
|
|
131
|
+
title: label ?? "Value",
|
|
132
|
+
meta: !open ? json.length > 100 ? `${json.length} chars` : json.slice(0, 60) : void 0
|
|
133
|
+
}
|
|
134
|
+
),
|
|
135
|
+
open && /* @__PURE__ */ jsxs("div", { className: "relative mt-0.5 ml-2", children: [
|
|
136
|
+
/* @__PURE__ */ jsx(CopyBtn, { text: json, id, className: "absolute top-0 right-0" }),
|
|
137
|
+
/* @__PURE__ */ jsx("pre", { className: "bg-muted/30 border border-border/50 rounded p-1 text-[9px] overflow-x-auto whitespace-pre-wrap break-all max-h-[300px] overflow-y-auto font-mono", children: json })
|
|
138
|
+
] })
|
|
139
|
+
] });
|
|
140
|
+
}
|
|
141
|
+
const EVENT_COLORS = {
|
|
142
|
+
chunk: "bg-blue-500/20 text-blue-400 border-blue-500/30",
|
|
143
|
+
reasoning_chunk: "bg-violet-500/20 text-violet-400 border-violet-500/30",
|
|
144
|
+
phase: "bg-yellow-500/20 text-yellow-400 border-yellow-500/30",
|
|
145
|
+
init: "bg-sky-500/20 text-sky-400 border-sky-500/30",
|
|
146
|
+
warning: "bg-amber-500/20 text-amber-400 border-amber-500/30",
|
|
147
|
+
info: "bg-sky-500/20 text-sky-400 border-sky-500/30",
|
|
148
|
+
data: "bg-purple-500/20 text-purple-400 border-purple-500/30",
|
|
149
|
+
completion: "bg-green-500/20 text-green-400 border-green-500/30",
|
|
150
|
+
error: "bg-red-500/20 text-red-400 border-red-500/30",
|
|
151
|
+
tool_event: "bg-orange-500/20 text-orange-400 border-orange-500/30",
|
|
152
|
+
heartbeat: "bg-gray-500/20 text-gray-400 border-gray-500/30",
|
|
153
|
+
end: "bg-emerald-500/20 text-emerald-400 border-emerald-500/30",
|
|
154
|
+
render_block: "bg-pink-500/20 text-pink-400 border-pink-500/30",
|
|
155
|
+
record_reserved: "bg-teal-500/20 text-teal-400 border-teal-500/30",
|
|
156
|
+
record_update: "bg-teal-500/20 text-teal-400 border-teal-500/30",
|
|
157
|
+
resource_changed: "bg-fuchsia-500/20 text-fuchsia-400 border-fuchsia-500/30",
|
|
158
|
+
structured_output: "bg-lime-500/20 text-lime-400 border-lime-500/30",
|
|
159
|
+
context_analysis: "bg-slate-500/20 text-slate-400 border-slate-500/30"
|
|
160
|
+
};
|
|
161
|
+
const EVENT_ICONS = {
|
|
162
|
+
chunk: /* @__PURE__ */ jsx(FileText, { className: "h-2.5 w-2.5" }),
|
|
163
|
+
reasoning_chunk: /* @__PURE__ */ jsx(Brain, { className: "h-2.5 w-2.5" }),
|
|
164
|
+
phase: /* @__PURE__ */ jsx(Activity, { className: "h-2.5 w-2.5" }),
|
|
165
|
+
init: /* @__PURE__ */ jsx(Zap, { className: "h-2.5 w-2.5" }),
|
|
166
|
+
warning: /* @__PURE__ */ jsx(ShieldAlert, { className: "h-2.5 w-2.5" }),
|
|
167
|
+
info: /* @__PURE__ */ jsx(Info, { className: "h-2.5 w-2.5" }),
|
|
168
|
+
data: /* @__PURE__ */ jsx(Database, { className: "h-2.5 w-2.5" }),
|
|
169
|
+
completion: /* @__PURE__ */ jsx(BarChart3, { className: "h-2.5 w-2.5" }),
|
|
170
|
+
error: /* @__PURE__ */ jsx(AlertTriangle, { className: "h-2.5 w-2.5" }),
|
|
171
|
+
tool_event: /* @__PURE__ */ jsx(Wrench, { className: "h-2.5 w-2.5" }),
|
|
172
|
+
heartbeat: /* @__PURE__ */ jsx(Heart, { className: "h-2.5 w-2.5" }),
|
|
173
|
+
end: /* @__PURE__ */ jsx(Square, { className: "h-2.5 w-2.5" }),
|
|
174
|
+
render_block: /* @__PURE__ */ jsx(Layers, { className: "h-2.5 w-2.5" }),
|
|
175
|
+
record_reserved: /* @__PURE__ */ jsx(BookmarkPlus, { className: "h-2.5 w-2.5" }),
|
|
176
|
+
record_update: /* @__PURE__ */ jsx(RefreshCw, { className: "h-2.5 w-2.5" }),
|
|
177
|
+
resource_changed: /* @__PURE__ */ jsx(FilePlus2, { className: "h-2.5 w-2.5" }),
|
|
178
|
+
structured_output: /* @__PURE__ */ jsx(ListChecks, { className: "h-2.5 w-2.5" }),
|
|
179
|
+
context_analysis: /* @__PURE__ */ jsx(ScanSearch, { className: "h-2.5 w-2.5" })
|
|
180
|
+
};
|
|
181
|
+
const STATUS_COLORS = {
|
|
182
|
+
pending: "bg-gray-500/20 text-gray-400",
|
|
183
|
+
connecting: "bg-yellow-500/20 text-yellow-400",
|
|
184
|
+
streaming: "bg-blue-500/20 text-blue-400",
|
|
185
|
+
"awaiting-tools": "bg-orange-500/20 text-orange-400",
|
|
186
|
+
complete: "bg-green-500/20 text-green-400",
|
|
187
|
+
error: "bg-red-500/20 text-red-400",
|
|
188
|
+
timeout: "bg-red-500/20 text-red-400"
|
|
189
|
+
};
|
|
190
|
+
const INSTANCE_STATUS_COLORS = {
|
|
191
|
+
draft: "bg-gray-500/20 text-gray-400",
|
|
192
|
+
ready: "bg-cyan-500/20 text-cyan-400",
|
|
193
|
+
running: "bg-yellow-500/20 text-yellow-400",
|
|
194
|
+
streaming: "bg-blue-500/20 text-blue-400",
|
|
195
|
+
paused: "bg-orange-500/20 text-orange-400",
|
|
196
|
+
complete: "bg-green-500/20 text-green-400",
|
|
197
|
+
error: "bg-red-500/20 text-red-400"
|
|
198
|
+
};
|
|
199
|
+
function StatusBar({
|
|
200
|
+
request,
|
|
201
|
+
instanceStatus
|
|
202
|
+
}) {
|
|
203
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 flex-wrap px-2 py-1.5 border-b border-border/50 bg-muted/20", children: [
|
|
204
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-muted-foreground font-mono", children: "REQ" }),
|
|
205
|
+
/* @__PURE__ */ jsx(
|
|
206
|
+
Badge,
|
|
207
|
+
{
|
|
208
|
+
variant: "outline",
|
|
209
|
+
className: cn(
|
|
210
|
+
"text-[10px] px-1.5 py-0 h-5 font-mono",
|
|
211
|
+
STATUS_COLORS[request.status] ?? ""
|
|
212
|
+
),
|
|
213
|
+
children: request.status
|
|
214
|
+
}
|
|
215
|
+
),
|
|
216
|
+
instanceStatus && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
217
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-muted-foreground font-mono", children: "INST" }),
|
|
218
|
+
/* @__PURE__ */ jsx(
|
|
219
|
+
Badge,
|
|
220
|
+
{
|
|
221
|
+
variant: "outline",
|
|
222
|
+
className: cn(
|
|
223
|
+
"text-[10px] px-1.5 py-0 h-5 font-mono",
|
|
224
|
+
INSTANCE_STATUS_COLORS[instanceStatus] ?? ""
|
|
225
|
+
),
|
|
226
|
+
children: instanceStatus
|
|
227
|
+
}
|
|
228
|
+
)
|
|
229
|
+
] }),
|
|
230
|
+
request.currentPhase && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
231
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-muted-foreground", children: "|" }),
|
|
232
|
+
/* @__PURE__ */ jsx(
|
|
233
|
+
Badge,
|
|
234
|
+
{
|
|
235
|
+
variant: "outline",
|
|
236
|
+
className: "text-[10px] px-1.5 py-0 h-5 bg-yellow-500/10 text-yellow-400",
|
|
237
|
+
children: request.currentPhase
|
|
238
|
+
}
|
|
239
|
+
)
|
|
240
|
+
] }),
|
|
241
|
+
request.error && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
242
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-muted-foreground", children: "|" }),
|
|
243
|
+
/* @__PURE__ */ jsx(
|
|
244
|
+
Badge,
|
|
245
|
+
{
|
|
246
|
+
variant: "destructive",
|
|
247
|
+
className: "text-[10px] px-1.5 py-0 h-5 max-w-[60ch] truncate",
|
|
248
|
+
title: [
|
|
249
|
+
`error_type: ${request.error.error_type}`,
|
|
250
|
+
request.error.code ? `code: ${request.error.code}` : null,
|
|
251
|
+
`message: ${request.error.message}`,
|
|
252
|
+
request.error.user_message ? `user_message: ${request.error.user_message}` : null
|
|
253
|
+
].filter(Boolean).join("\n"),
|
|
254
|
+
children: `ERR [${request.error.error_type}${request.error.code ? `:${request.error.code}` : ""}]: ${request.error.message}`.slice(0, 80)
|
|
255
|
+
}
|
|
256
|
+
)
|
|
257
|
+
] }),
|
|
258
|
+
request.conversationId && /* @__PURE__ */ jsxs("span", { className: "text-[10px] text-muted-foreground font-mono ml-auto flex items-center gap-0.5", children: [
|
|
259
|
+
"conv:",
|
|
260
|
+
/* @__PURE__ */ jsxs(
|
|
261
|
+
EntityRef,
|
|
262
|
+
{
|
|
263
|
+
token: "conversation",
|
|
264
|
+
id: request.conversationId,
|
|
265
|
+
name: request.conversationId,
|
|
266
|
+
showIcon: false,
|
|
267
|
+
children: [
|
|
268
|
+
request.conversationId.slice(0, 8),
|
|
269
|
+
"..."
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
),
|
|
273
|
+
/* @__PURE__ */ jsx(CopyBtn, { text: request.conversationId, id: "conv-id" })
|
|
274
|
+
] })
|
|
275
|
+
] });
|
|
276
|
+
}
|
|
277
|
+
function MetricsBar({ metrics }) {
|
|
278
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 flex-wrap px-2 py-1 border-b border-border/50 bg-muted/10 text-[10px]", children: [
|
|
279
|
+
/* @__PURE__ */ jsxs("span", { className: "flex items-center gap-0.5 text-muted-foreground", children: [
|
|
280
|
+
/* @__PURE__ */ jsx(Clock, { className: "h-3 w-3" }),
|
|
281
|
+
" TTFT:"
|
|
282
|
+
] }),
|
|
283
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono text-foreground/80", children: formatDurationMs(metrics.ttftMs, { style: "compact" }) }),
|
|
284
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground/40", children: "|" }),
|
|
285
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Stream:" }),
|
|
286
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono text-foreground/80", children: formatDurationMs(metrics.streamDurationMs, { style: "compact" }) }),
|
|
287
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground/40", children: "|" }),
|
|
288
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Total:" }),
|
|
289
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono text-foreground/80", children: formatDurationMs(metrics.totalClientDurationMs, {
|
|
290
|
+
style: "compact"
|
|
291
|
+
}) }),
|
|
292
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground/40", children: "|" }),
|
|
293
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Events:" }),
|
|
294
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono text-foreground/80", children: metrics.totalEvents }),
|
|
295
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[9px] text-muted-foreground/60", children: [
|
|
296
|
+
"(chunk:",
|
|
297
|
+
metrics.chunkEvents,
|
|
298
|
+
metrics.reasoningChunkEvents > 0 && ` reason:${metrics.reasoningChunkEvents}`,
|
|
299
|
+
" ",
|
|
300
|
+
"phase:",
|
|
301
|
+
metrics.phaseEvents,
|
|
302
|
+
metrics.initEvents > 0 && ` init:${metrics.initEvents}`,
|
|
303
|
+
metrics.completionEvents > 0 && ` comp:${metrics.completionEvents}`,
|
|
304
|
+
metrics.warningEvents > 0 && ` warn:${metrics.warningEvents}`,
|
|
305
|
+
metrics.infoEvents > 0 && ` info:${metrics.infoEvents}`,
|
|
306
|
+
" tool:",
|
|
307
|
+
metrics.toolEvents,
|
|
308
|
+
" data:",
|
|
309
|
+
metrics.dataEvents,
|
|
310
|
+
" block:",
|
|
311
|
+
metrics.renderBlockEvents,
|
|
312
|
+
metrics.recordReservedEvents > 0 && ` reserved:${metrics.recordReservedEvents}`,
|
|
313
|
+
metrics.recordUpdateEvents > 0 && ` updated:${metrics.recordUpdateEvents}`,
|
|
314
|
+
metrics.resourceChangedEvents > 0 && ` fs:${metrics.resourceChangedEvents}`,
|
|
315
|
+
" ",
|
|
316
|
+
"other:",
|
|
317
|
+
metrics.otherEvents,
|
|
318
|
+
")"
|
|
319
|
+
] })
|
|
320
|
+
] });
|
|
321
|
+
}
|
|
322
|
+
function getTimelineColor(kind) {
|
|
323
|
+
const map = {
|
|
324
|
+
text_start: EVENT_COLORS.chunk,
|
|
325
|
+
text_end: EVENT_COLORS.chunk,
|
|
326
|
+
reasoning_start: EVENT_COLORS.reasoning_chunk,
|
|
327
|
+
reasoning_end: EVENT_COLORS.reasoning_chunk,
|
|
328
|
+
phase: EVENT_COLORS.phase,
|
|
329
|
+
init: EVENT_COLORS.init,
|
|
330
|
+
warning: EVENT_COLORS.warning,
|
|
331
|
+
info: EVENT_COLORS.info,
|
|
332
|
+
tool_event: EVENT_COLORS.tool_event,
|
|
333
|
+
render_block: EVENT_COLORS.render_block,
|
|
334
|
+
data: EVENT_COLORS.data,
|
|
335
|
+
completion: EVENT_COLORS.completion,
|
|
336
|
+
error: EVENT_COLORS.error,
|
|
337
|
+
end: EVENT_COLORS.end,
|
|
338
|
+
heartbeat: EVENT_COLORS.heartbeat,
|
|
339
|
+
record_reserved: EVENT_COLORS.record_reserved,
|
|
340
|
+
record_update: EVENT_COLORS.record_update,
|
|
341
|
+
resource_changed: EVENT_COLORS.resource_changed,
|
|
342
|
+
structured_output: EVENT_COLORS.structured_output,
|
|
343
|
+
unknown: "bg-red-600/30 text-red-300 border-red-500/50 font-semibold"
|
|
344
|
+
};
|
|
345
|
+
return map[kind] ?? "bg-gray-500/20 text-gray-400 border-gray-500/30";
|
|
346
|
+
}
|
|
347
|
+
function getTimelineIcon(kind) {
|
|
348
|
+
const map = {
|
|
349
|
+
text_start: EVENT_ICONS.chunk,
|
|
350
|
+
text_end: EVENT_ICONS.chunk,
|
|
351
|
+
reasoning_start: EVENT_ICONS.reasoning_chunk,
|
|
352
|
+
reasoning_end: EVENT_ICONS.reasoning_chunk,
|
|
353
|
+
phase: EVENT_ICONS.phase,
|
|
354
|
+
init: EVENT_ICONS.init,
|
|
355
|
+
warning: EVENT_ICONS.warning,
|
|
356
|
+
info: EVENT_ICONS.info,
|
|
357
|
+
tool_event: EVENT_ICONS.tool_event,
|
|
358
|
+
render_block: EVENT_ICONS.render_block,
|
|
359
|
+
data: EVENT_ICONS.data,
|
|
360
|
+
completion: EVENT_ICONS.completion,
|
|
361
|
+
error: EVENT_ICONS.error,
|
|
362
|
+
end: EVENT_ICONS.end,
|
|
363
|
+
heartbeat: EVENT_ICONS.heartbeat,
|
|
364
|
+
record_reserved: EVENT_ICONS.record_reserved,
|
|
365
|
+
record_update: EVENT_ICONS.record_update,
|
|
366
|
+
resource_changed: EVENT_ICONS.resource_changed,
|
|
367
|
+
structured_output: EVENT_ICONS.structured_output,
|
|
368
|
+
unknown: /* @__PURE__ */ jsx(AlertTriangle, { className: "h-2.5 w-2.5" })
|
|
369
|
+
};
|
|
370
|
+
return map[kind] ?? /* @__PURE__ */ jsx(CircleDot, { className: "h-2.5 w-2.5" });
|
|
371
|
+
}
|
|
372
|
+
function timelineSummary(entry, renderBlocks, renderBlockOrder, reasoningChunks) {
|
|
373
|
+
switch (entry.kind) {
|
|
374
|
+
case "text_start":
|
|
375
|
+
return `text streaming started (block idx ${entry.blockStartIndex})`;
|
|
376
|
+
case "text_end": {
|
|
377
|
+
const blockSlice = renderBlockOrder.slice(entry.blockStartIndex, entry.blockEndIndex).map((id) => renderBlocks[id]?.content ?? "").join("");
|
|
378
|
+
const preview = blockSlice.length > 80 ? blockSlice.slice(0, 80) + "..." : blockSlice;
|
|
379
|
+
return `${entry.blockCount} blocks: "${preview}"`;
|
|
380
|
+
}
|
|
381
|
+
case "reasoning_start":
|
|
382
|
+
return `reasoning started (chunk idx ${entry.chunkStartIndex})`;
|
|
383
|
+
case "reasoning_end": {
|
|
384
|
+
const rSlice = (reasoningChunks ?? []).slice(entry.chunkStartIndex, entry.chunkEndIndex).join("");
|
|
385
|
+
const rPreview = rSlice.length > 80 ? rSlice.slice(0, 80) + "..." : rSlice;
|
|
386
|
+
return `${entry.chunkCount} reasoning chunks: "${rPreview}"`;
|
|
387
|
+
}
|
|
388
|
+
case "phase":
|
|
389
|
+
return `Phase \u2192 ${entry.data.phase}`;
|
|
390
|
+
case "init":
|
|
391
|
+
return `Init: ${entry.data.operation} (${entry.data.operation_id.slice(0, 8)}\u2026)`;
|
|
392
|
+
case "warning": {
|
|
393
|
+
const w = entry.data;
|
|
394
|
+
const recoverableTag = w.recoverable === false ? " UNRECOVERABLE" : "";
|
|
395
|
+
const level = w.level ?? "medium";
|
|
396
|
+
const messages = [];
|
|
397
|
+
messages.push(w.system_message);
|
|
398
|
+
if (w.user_message) messages.push(`(user: ${w.user_message})`);
|
|
399
|
+
return `[${w.code}] ${level}${recoverableTag}: ${messages.join(" ")}`;
|
|
400
|
+
}
|
|
401
|
+
case "info": {
|
|
402
|
+
const i = entry.data;
|
|
403
|
+
const messages = [];
|
|
404
|
+
messages.push(i.system_message);
|
|
405
|
+
if (i.user_message) messages.push(`(user: ${i.user_message})`);
|
|
406
|
+
const base = `[${i.code}] ${messages.join(" ")}`;
|
|
407
|
+
if (i.metadata && Object.keys(i.metadata).length > 0) {
|
|
408
|
+
return `${base} \xB7 ${JSON.stringify(i.metadata).slice(0, 60)}`;
|
|
409
|
+
}
|
|
410
|
+
return base;
|
|
411
|
+
}
|
|
412
|
+
case "tool_event":
|
|
413
|
+
return `${entry.data.event} \u2014 ${entry.data.tool_name} (${entry.data.call_id.slice(0, 8)})`;
|
|
414
|
+
case "render_block":
|
|
415
|
+
return `${entry.data.type} [${entry.data.status}] ${entry.data.blockId.slice(0, 8)}`;
|
|
416
|
+
case "data":
|
|
417
|
+
return JSON.stringify(entry.data).slice(0, 80);
|
|
418
|
+
case "completion":
|
|
419
|
+
return `Completion: ${entry.data.operation} \u2192 ${entry.data.status} (${entry.data.operation_id.slice(0, 8)}\u2026)`;
|
|
420
|
+
case "error": {
|
|
421
|
+
const e = entry.data;
|
|
422
|
+
const codePart = e.code ? ` [${e.code}]` : "";
|
|
423
|
+
const sys = e.message;
|
|
424
|
+
const usr = e.user_message ? ` \xB7 user: ${e.user_message}` : "";
|
|
425
|
+
return `ERR [${e.error_type}]${codePart}: ${sys.slice(0, 80)}${usr.slice(0, 80)}`;
|
|
426
|
+
}
|
|
427
|
+
case "end":
|
|
428
|
+
return entry.data.reason ?? "stream ended";
|
|
429
|
+
case "heartbeat":
|
|
430
|
+
return entry.data.timestamp != null ? `heartbeat @ ${entry.data.timestamp}` : "heartbeat";
|
|
431
|
+
case "record_reserved": {
|
|
432
|
+
const r = entry.data;
|
|
433
|
+
const short = `${r.record_id.slice(0, 8)}\u2026`;
|
|
434
|
+
if (r.table === "message") {
|
|
435
|
+
const role = r.metadata?.role ?? "?";
|
|
436
|
+
const pos = r.metadata?.position ?? "?";
|
|
437
|
+
return `message reserved [${role} #${pos}]: ${short}`;
|
|
438
|
+
}
|
|
439
|
+
if (r.table === "request") {
|
|
440
|
+
const iter = r.metadata?.iteration ?? "?";
|
|
441
|
+
return `request reserved [iter ${iter}]: ${short}`;
|
|
442
|
+
}
|
|
443
|
+
if (r.table === "tool_call") {
|
|
444
|
+
const tool = r.metadata?.tool_name ?? "?";
|
|
445
|
+
const iter = r.metadata?.iteration ?? "?";
|
|
446
|
+
return `tool_call reserved [${tool}, iter ${iter}]: ${short}`;
|
|
447
|
+
}
|
|
448
|
+
return `${r.table} reserved: ${short} [${r.db_project}]`;
|
|
449
|
+
}
|
|
450
|
+
case "record_update":
|
|
451
|
+
return `${entry.data.table} \u2192 ${entry.data.status}: ${entry.data.record_id.slice(0, 8)}\u2026`;
|
|
452
|
+
case "resource_changed": {
|
|
453
|
+
const r = entry.data;
|
|
454
|
+
const short = r.resource_id.length > 48 ? `\u2026${r.resource_id.slice(-44)}` : r.resource_id;
|
|
455
|
+
const tag = r.sandbox_id ? `sandbox ${r.sandbox_id.slice(0, 6)}\u2026` : "global";
|
|
456
|
+
return `${r.kind} ${r.action} [${tag}]: ${short}`;
|
|
457
|
+
}
|
|
458
|
+
case "structured_output": {
|
|
459
|
+
const so = entry.data;
|
|
460
|
+
const status = so.success ? "success" : `failed: ${so.reason ?? "unknown reason"}`;
|
|
461
|
+
const schema = so.schema_name ? ` [${so.schema_name}]` : "";
|
|
462
|
+
const count = so.match_count != null ? ` \xB7 ${so.match_count} match(es)` : "";
|
|
463
|
+
return `${status}${schema}${count}`;
|
|
464
|
+
}
|
|
465
|
+
case "unknown":
|
|
466
|
+
return `UNRECOGNIZED (${entry.originalEvent}): ${JSON.stringify(entry.rawData).slice(0, 100)}`;
|
|
467
|
+
default:
|
|
468
|
+
return "";
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
function TimelineRow({
|
|
472
|
+
entry,
|
|
473
|
+
baseTime,
|
|
474
|
+
renderBlocks,
|
|
475
|
+
renderBlockOrder,
|
|
476
|
+
reasoningChunks,
|
|
477
|
+
forceExpanded = false,
|
|
478
|
+
rawEvent
|
|
479
|
+
}) {
|
|
480
|
+
const [localExpanded, setLocalExpanded] = useState(false);
|
|
481
|
+
const expanded = forceExpanded || localExpanded;
|
|
482
|
+
const relativeMs = entry.timestamp - baseTime;
|
|
483
|
+
const colorClass = getTimelineColor(entry.kind);
|
|
484
|
+
const icon = getTimelineIcon(entry.kind);
|
|
485
|
+
const copyPayload = rawEvent ? { timeline: entry, raw: rawEvent } : entry;
|
|
486
|
+
const json = JSON.stringify(copyPayload, null, 2);
|
|
487
|
+
const summary = timelineSummary(
|
|
488
|
+
entry,
|
|
489
|
+
renderBlocks,
|
|
490
|
+
renderBlockOrder,
|
|
491
|
+
reasoningChunks
|
|
492
|
+
);
|
|
493
|
+
return /* @__PURE__ */ jsxs(
|
|
494
|
+
"div",
|
|
495
|
+
{
|
|
496
|
+
className: cn(
|
|
497
|
+
"border-b border-border/20 hover:bg-muted/20 transition-colors",
|
|
498
|
+
expanded && "bg-muted/10"
|
|
499
|
+
),
|
|
500
|
+
children: [
|
|
501
|
+
/* @__PURE__ */ jsxs(
|
|
502
|
+
"div",
|
|
503
|
+
{
|
|
504
|
+
role: "button",
|
|
505
|
+
tabIndex: 0,
|
|
506
|
+
onClick: () => setLocalExpanded(!localExpanded),
|
|
507
|
+
onKeyDown: (e) => e.key === "Enter" || e.key === " " ? setLocalExpanded(!localExpanded) : void 0,
|
|
508
|
+
className: "w-full flex items-center gap-1.5 px-2 py-1 text-left cursor-pointer",
|
|
509
|
+
children: [
|
|
510
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] font-mono text-muted-foreground/60 w-7 shrink-0 text-right", children: entry.seq }),
|
|
511
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[10px] font-mono text-muted-foreground/80 w-16 shrink-0 text-right", children: [
|
|
512
|
+
relativeMs.toFixed(0),
|
|
513
|
+
"ms"
|
|
514
|
+
] }),
|
|
515
|
+
/* @__PURE__ */ jsxs(
|
|
516
|
+
Badge,
|
|
517
|
+
{
|
|
518
|
+
variant: "outline",
|
|
519
|
+
className: cn(
|
|
520
|
+
"text-[10px] px-1.5 py-0 h-5 gap-0.5 shrink-0 border",
|
|
521
|
+
colorClass
|
|
522
|
+
),
|
|
523
|
+
children: [
|
|
524
|
+
icon,
|
|
525
|
+
humanizeIdentifier(entry.kind)
|
|
526
|
+
]
|
|
527
|
+
}
|
|
528
|
+
),
|
|
529
|
+
entry.kind === "tool_event" && /* @__PURE__ */ jsx(
|
|
530
|
+
Badge,
|
|
531
|
+
{
|
|
532
|
+
variant: "outline",
|
|
533
|
+
className: cn(
|
|
534
|
+
"text-[10px] px-1.5 py-0 h-5 shrink-0 border",
|
|
535
|
+
colorClass
|
|
536
|
+
),
|
|
537
|
+
children: entry.data.event
|
|
538
|
+
}
|
|
539
|
+
),
|
|
540
|
+
/* @__PURE__ */ jsx("span", { className: "flex-1 text-[10px] text-muted-foreground/60 truncate font-mono", children: summary }),
|
|
541
|
+
/* @__PURE__ */ jsx(CopyBtn, { text: json, id: `tl-${entry.seq}` }),
|
|
542
|
+
expanded ? /* @__PURE__ */ jsx(ChevronDown, { className: "h-3 w-3 text-muted-foreground shrink-0" }) : /* @__PURE__ */ jsx(ChevronRight, { className: "h-3 w-3 text-muted-foreground shrink-0" })
|
|
543
|
+
]
|
|
544
|
+
}
|
|
545
|
+
),
|
|
546
|
+
expanded && /* @__PURE__ */ jsxs("div", { className: "px-1.5 pb-1 ml-[90px]", children: [
|
|
547
|
+
entry.kind === "text_end" && /* @__PURE__ */ jsxs("div", { className: "mb-1", children: [
|
|
548
|
+
/* @__PURE__ */ jsx("pre", { className: "text-[9px] font-mono bg-muted/30 border border-border/50 rounded p-1 whitespace-pre-wrap break-all max-h-[200px] overflow-y-auto", children: renderBlockOrder.slice(entry.blockStartIndex, entry.blockEndIndex).map((id) => renderBlocks[id]?.content ?? "").join("") }),
|
|
549
|
+
/* @__PURE__ */ jsx(
|
|
550
|
+
CopyBtn,
|
|
551
|
+
{
|
|
552
|
+
text: renderBlockOrder.slice(entry.blockStartIndex, entry.blockEndIndex).map((id) => renderBlocks[id]?.content ?? "").join(""),
|
|
553
|
+
id: `tl-text-${entry.seq}`
|
|
554
|
+
}
|
|
555
|
+
)
|
|
556
|
+
] }),
|
|
557
|
+
/* @__PURE__ */ jsx(JsonView, { data: entry, id: `tl-data-${entry.seq}` })
|
|
558
|
+
] })
|
|
559
|
+
]
|
|
560
|
+
}
|
|
561
|
+
);
|
|
562
|
+
}
|
|
563
|
+
function ToolLifecycleRow({ tool }) {
|
|
564
|
+
const statusColor = {
|
|
565
|
+
started: "bg-yellow-500/20 text-yellow-400",
|
|
566
|
+
progress: "bg-blue-500/20 text-blue-400",
|
|
567
|
+
step: "bg-cyan-500/20 text-cyan-400",
|
|
568
|
+
result_preview: "bg-purple-500/20 text-purple-400",
|
|
569
|
+
completed: "bg-green-500/20 text-green-400",
|
|
570
|
+
error: "bg-red-500/20 text-red-400"
|
|
571
|
+
};
|
|
572
|
+
return /* @__PURE__ */ jsxs("div", { className: "border-b border-border/20 px-1.5 py-0.5", children: [
|
|
573
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 flex-wrap", children: [
|
|
574
|
+
/* @__PURE__ */ jsx(
|
|
575
|
+
Badge,
|
|
576
|
+
{
|
|
577
|
+
variant: "outline",
|
|
578
|
+
className: cn(
|
|
579
|
+
"text-[9px] px-1 py-0 h-4",
|
|
580
|
+
statusColor[tool.status] ?? ""
|
|
581
|
+
),
|
|
582
|
+
children: tool.status
|
|
583
|
+
}
|
|
584
|
+
),
|
|
585
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] font-medium text-foreground/80", children: humanizeIdentifier(tool.toolName) }),
|
|
586
|
+
/* @__PURE__ */ jsx("span", { className: "text-[8px] font-mono text-muted-foreground/60", children: tool.callId.slice(0, 12) }),
|
|
587
|
+
tool.isDelegated && /* @__PURE__ */ jsx(
|
|
588
|
+
Badge,
|
|
589
|
+
{
|
|
590
|
+
variant: "outline",
|
|
591
|
+
className: "text-[8px] px-0.5 py-0 h-3 bg-orange-500/10 text-orange-400",
|
|
592
|
+
children: "delegated"
|
|
593
|
+
}
|
|
594
|
+
),
|
|
595
|
+
/* @__PURE__ */ jsx(
|
|
596
|
+
CopyBtn,
|
|
597
|
+
{
|
|
598
|
+
text: JSON.stringify(tool, null, 2),
|
|
599
|
+
id: `tool-${tool.callId}`,
|
|
600
|
+
className: "ml-auto"
|
|
601
|
+
}
|
|
602
|
+
)
|
|
603
|
+
] }),
|
|
604
|
+
tool.latestMessage && /* @__PURE__ */ jsx("p", { className: "text-[9px] text-muted-foreground ml-2 mt-0.5", children: tool.latestMessage }),
|
|
605
|
+
tool.arguments && Object.keys(tool.arguments).length > 0 && /* @__PURE__ */ jsx(
|
|
606
|
+
JsonView,
|
|
607
|
+
{
|
|
608
|
+
data: tool.arguments,
|
|
609
|
+
label: "args",
|
|
610
|
+
id: `tool-args-${tool.callId}`
|
|
611
|
+
}
|
|
612
|
+
),
|
|
613
|
+
tool.result !== null && /* @__PURE__ */ jsx(
|
|
614
|
+
JsonView,
|
|
615
|
+
{
|
|
616
|
+
data: tool.result,
|
|
617
|
+
label: "result",
|
|
618
|
+
id: `tool-result-${tool.callId}`
|
|
619
|
+
}
|
|
620
|
+
),
|
|
621
|
+
tool.resultPreview && /* @__PURE__ */ jsxs("div", { className: "text-[9px] text-muted-foreground ml-2", children: [
|
|
622
|
+
"Preview: ",
|
|
623
|
+
tool.resultPreview
|
|
624
|
+
] }),
|
|
625
|
+
tool.errorMessage && /* @__PURE__ */ jsxs("div", { className: "text-[9px] text-red-400 ml-2", children: [
|
|
626
|
+
tool.errorType,
|
|
627
|
+
": ",
|
|
628
|
+
tool.errorMessage,
|
|
629
|
+
/* @__PURE__ */ jsx(ErrorAlchemyMenu, { error: tool.errorType })
|
|
630
|
+
] })
|
|
631
|
+
] });
|
|
632
|
+
}
|
|
633
|
+
function ContentBlockRow({ block }) {
|
|
634
|
+
const statusColor = {
|
|
635
|
+
streaming: "bg-blue-500/20 text-blue-400",
|
|
636
|
+
complete: "bg-green-500/20 text-green-400",
|
|
637
|
+
error: "bg-red-500/20 text-red-400"
|
|
638
|
+
};
|
|
639
|
+
return /* @__PURE__ */ jsxs("div", { className: "border-b border-border/20 px-1.5 py-0.5", children: [
|
|
640
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
641
|
+
/* @__PURE__ */ jsx(
|
|
642
|
+
Badge,
|
|
643
|
+
{
|
|
644
|
+
variant: "outline",
|
|
645
|
+
className: cn(
|
|
646
|
+
"text-[9px] px-1 py-0 h-4",
|
|
647
|
+
statusColor[block.status] ?? ""
|
|
648
|
+
),
|
|
649
|
+
children: block.status
|
|
650
|
+
}
|
|
651
|
+
),
|
|
652
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] font-medium text-foreground/80", children: block.type }),
|
|
653
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[8px] font-mono text-muted-foreground/60", children: [
|
|
654
|
+
"#",
|
|
655
|
+
block.blockIndex,
|
|
656
|
+
" ",
|
|
657
|
+
block.blockId.slice(0, 12)
|
|
658
|
+
] }),
|
|
659
|
+
/* @__PURE__ */ jsx(
|
|
660
|
+
CopyBtn,
|
|
661
|
+
{
|
|
662
|
+
text: JSON.stringify(block, null, 2),
|
|
663
|
+
id: `block-${block.blockId}`,
|
|
664
|
+
className: "ml-auto"
|
|
665
|
+
}
|
|
666
|
+
)
|
|
667
|
+
] }),
|
|
668
|
+
block.content && /* @__PURE__ */ jsx("pre", { className: "text-[9px] text-muted-foreground ml-2 mt-0.5 whitespace-pre-wrap break-all max-h-[100px] overflow-y-auto font-mono", children: block.content }),
|
|
669
|
+
block.data && /* @__PURE__ */ jsx(
|
|
670
|
+
JsonView,
|
|
671
|
+
{
|
|
672
|
+
data: block.data,
|
|
673
|
+
label: "data",
|
|
674
|
+
id: `block-data-${block.blockId}`
|
|
675
|
+
}
|
|
676
|
+
),
|
|
677
|
+
block.metadata && /* @__PURE__ */ jsx(
|
|
678
|
+
JsonView,
|
|
679
|
+
{
|
|
680
|
+
data: block.metadata,
|
|
681
|
+
label: "meta",
|
|
682
|
+
id: `block-meta-${block.blockId}`
|
|
683
|
+
}
|
|
684
|
+
)
|
|
685
|
+
] });
|
|
686
|
+
}
|
|
687
|
+
function PhaseHistoryRow({ phase, idx }) {
|
|
688
|
+
return /* @__PURE__ */ jsxs("div", { className: "border-b border-border/20 px-1.5 py-0.5 flex items-center gap-1", children: [
|
|
689
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] font-mono text-muted-foreground/60 w-4 text-right", children: idx + 1 }),
|
|
690
|
+
/* @__PURE__ */ jsx(
|
|
691
|
+
Badge,
|
|
692
|
+
{
|
|
693
|
+
variant: "outline",
|
|
694
|
+
className: "text-[9px] px-1 py-0 h-4 bg-yellow-500/10 text-yellow-400",
|
|
695
|
+
children: phase
|
|
696
|
+
}
|
|
697
|
+
),
|
|
698
|
+
/* @__PURE__ */ jsx(CopyBtn, { text: phase, id: `phase-${idx}`, className: "ml-auto" })
|
|
699
|
+
] });
|
|
700
|
+
}
|
|
701
|
+
const ALL_TIMELINE_KINDS = [
|
|
702
|
+
"text_start",
|
|
703
|
+
"text_end",
|
|
704
|
+
"reasoning_start",
|
|
705
|
+
"reasoning_end",
|
|
706
|
+
"phase",
|
|
707
|
+
"init",
|
|
708
|
+
"warning",
|
|
709
|
+
"info",
|
|
710
|
+
"tool_event",
|
|
711
|
+
"render_block",
|
|
712
|
+
"data",
|
|
713
|
+
"completion",
|
|
714
|
+
"error",
|
|
715
|
+
"end",
|
|
716
|
+
"heartbeat",
|
|
717
|
+
"record_reserved",
|
|
718
|
+
"record_update",
|
|
719
|
+
"resource_changed",
|
|
720
|
+
"unknown"
|
|
721
|
+
];
|
|
722
|
+
function TimelineFilterBar({
|
|
723
|
+
activeFilters,
|
|
724
|
+
onToggle,
|
|
725
|
+
counts
|
|
726
|
+
}) {
|
|
727
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 flex-wrap px-2 py-1 border-b border-border/50 shrink-0", children: [
|
|
728
|
+
/* @__PURE__ */ jsx(Filter, { className: "h-3.5 w-3.5 text-muted-foreground mr-0.5" }),
|
|
729
|
+
ALL_TIMELINE_KINDS.map((kind) => {
|
|
730
|
+
const active = activeFilters.has(kind);
|
|
731
|
+
const count = counts[kind] ?? 0;
|
|
732
|
+
return /* @__PURE__ */ jsxs(
|
|
733
|
+
"button",
|
|
734
|
+
{
|
|
735
|
+
type: "button",
|
|
736
|
+
onClick: () => onToggle(kind),
|
|
737
|
+
className: cn(
|
|
738
|
+
"inline-flex items-center gap-0.5 text-[10px] px-1.5 py-0 h-5 rounded border transition-colors",
|
|
739
|
+
active ? getTimelineColor(kind) : "bg-muted/20 text-muted-foreground/40 border-transparent hover:border-border/50"
|
|
740
|
+
),
|
|
741
|
+
children: [
|
|
742
|
+
getTimelineIcon(kind),
|
|
743
|
+
kind.replace("_", " "),
|
|
744
|
+
count > 0 && /* @__PURE__ */ jsx("span", { className: "font-mono ml-0.5", children: count })
|
|
745
|
+
]
|
|
746
|
+
},
|
|
747
|
+
kind
|
|
748
|
+
);
|
|
749
|
+
})
|
|
750
|
+
] });
|
|
751
|
+
}
|
|
752
|
+
function TimelineTab({ request }) {
|
|
753
|
+
const [filters, setFilters] = useState(
|
|
754
|
+
new Set(ALL_TIMELINE_KINDS)
|
|
755
|
+
);
|
|
756
|
+
const scrollRef = useRef(null);
|
|
757
|
+
const [autoScroll, setAutoScroll] = useState(true);
|
|
758
|
+
const [allExpanded, setAllExpanded] = useState(false);
|
|
759
|
+
const prevLengthRef = useRef(0);
|
|
760
|
+
const counts = {};
|
|
761
|
+
for (const entry of request.timeline) {
|
|
762
|
+
counts[entry.kind] = (counts[entry.kind] ?? 0) + 1;
|
|
763
|
+
}
|
|
764
|
+
const rawByTimestamp = useMemo(() => {
|
|
765
|
+
const map = /* @__PURE__ */ new Map();
|
|
766
|
+
for (const raw of request.rawEvents) {
|
|
767
|
+
map.set(raw.timestamp, raw);
|
|
768
|
+
}
|
|
769
|
+
return map;
|
|
770
|
+
}, [request.rawEvents]);
|
|
771
|
+
const filtered = request.timeline.filter((e) => filters.has(e.kind));
|
|
772
|
+
const baseTime = request.timeline.length > 0 ? request.timeline[0].timestamp : 0;
|
|
773
|
+
const timelineWithRawPairs = (entries) => entries.map((entry) => {
|
|
774
|
+
const raw = rawByTimestamp.get(entry.timestamp);
|
|
775
|
+
return raw ? { timeline: entry, raw } : entry;
|
|
776
|
+
});
|
|
777
|
+
const toggleFilter = (kind) => {
|
|
778
|
+
setFilters((prev) => {
|
|
779
|
+
const next = new Set(prev);
|
|
780
|
+
if (next.has(kind)) next.delete(kind);
|
|
781
|
+
else next.add(kind);
|
|
782
|
+
return next;
|
|
783
|
+
});
|
|
784
|
+
};
|
|
785
|
+
useEffect(() => {
|
|
786
|
+
if (autoScroll && filtered.length > prevLengthRef.current && scrollRef.current) {
|
|
787
|
+
scrollRef.current.scrollTop = scrollRef.current.scrollHeight;
|
|
788
|
+
}
|
|
789
|
+
prevLengthRef.current = filtered.length;
|
|
790
|
+
}, [filtered.length, autoScroll]);
|
|
791
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col flex-1 min-h-0 h-full", children: [
|
|
792
|
+
/* @__PURE__ */ jsx(
|
|
793
|
+
TimelineFilterBar,
|
|
794
|
+
{
|
|
795
|
+
activeFilters: filters,
|
|
796
|
+
onToggle: toggleFilter,
|
|
797
|
+
counts
|
|
798
|
+
}
|
|
799
|
+
),
|
|
800
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-1.5 px-2 py-1 border-b border-border/30 text-[10px] text-muted-foreground flex-wrap", children: [
|
|
801
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
802
|
+
filtered.length,
|
|
803
|
+
" of ",
|
|
804
|
+
request.timeline.length,
|
|
805
|
+
" entries"
|
|
806
|
+
] }),
|
|
807
|
+
request.isTextStreaming && /* @__PURE__ */ jsx(
|
|
808
|
+
Badge,
|
|
809
|
+
{
|
|
810
|
+
variant: "outline",
|
|
811
|
+
className: "text-[9px] px-1.5 py-0 h-4 bg-blue-500/10 text-blue-400 animate-pulse",
|
|
812
|
+
children: "STREAMING TEXT"
|
|
813
|
+
}
|
|
814
|
+
),
|
|
815
|
+
/* @__PURE__ */ jsx(
|
|
816
|
+
Chip,
|
|
817
|
+
{
|
|
818
|
+
asChild: true,
|
|
819
|
+
className: "ml-auto",
|
|
820
|
+
pressed: allExpanded,
|
|
821
|
+
tone: "violet",
|
|
822
|
+
label: allExpanded ? "collapse all" : "expand all",
|
|
823
|
+
children: /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setAllExpanded(!allExpanded) })
|
|
824
|
+
}
|
|
825
|
+
),
|
|
826
|
+
/* @__PURE__ */ jsx(
|
|
827
|
+
Chip,
|
|
828
|
+
{
|
|
829
|
+
asChild: true,
|
|
830
|
+
pressed: autoScroll,
|
|
831
|
+
tone: "blue",
|
|
832
|
+
label: `auto-scroll ${autoScroll ? "ON" : "OFF"}`,
|
|
833
|
+
children: /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setAutoScroll(!autoScroll) })
|
|
834
|
+
}
|
|
835
|
+
),
|
|
836
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 shrink-0 flex-wrap border-l border-border/40 pl-1.5 ml-1", children: [
|
|
837
|
+
/* @__PURE__ */ jsx(
|
|
838
|
+
TimelineCopyChip,
|
|
839
|
+
{
|
|
840
|
+
id: "full-timeline-proj",
|
|
841
|
+
label: "all \xB7 tl",
|
|
842
|
+
tooltip: "Copy full timeline (projection only \u2014 TimelineEntry[])",
|
|
843
|
+
LeadingIcon: FileText,
|
|
844
|
+
tone: "sky",
|
|
845
|
+
text: JSON.stringify(request.timeline, null, 2)
|
|
846
|
+
}
|
|
847
|
+
),
|
|
848
|
+
/* @__PURE__ */ jsx(
|
|
849
|
+
TimelineCopyChip,
|
|
850
|
+
{
|
|
851
|
+
id: "full-timeline-paired",
|
|
852
|
+
label: "all \xB7 +raw",
|
|
853
|
+
tooltip: "Copy full timeline with paired raw stream rows per timestamp (where available)",
|
|
854
|
+
LeadingIcon: Layers,
|
|
855
|
+
tone: "sky",
|
|
856
|
+
text: JSON.stringify(
|
|
857
|
+
timelineWithRawPairs(request.timeline),
|
|
858
|
+
null,
|
|
859
|
+
2
|
|
860
|
+
)
|
|
861
|
+
}
|
|
862
|
+
),
|
|
863
|
+
/* @__PURE__ */ jsx(
|
|
864
|
+
"span",
|
|
865
|
+
{
|
|
866
|
+
"aria-hidden": true,
|
|
867
|
+
className: "w-px h-4 shrink-0 bg-border/45 self-center"
|
|
868
|
+
}
|
|
869
|
+
),
|
|
870
|
+
/* @__PURE__ */ jsx(
|
|
871
|
+
TimelineCopyChip,
|
|
872
|
+
{
|
|
873
|
+
id: "filtered-timeline-proj",
|
|
874
|
+
label: "view \xB7 tl",
|
|
875
|
+
tooltip: "Copy filtered/visible timeline projection only (TimelineEntry[])",
|
|
876
|
+
LeadingIcon: FileText,
|
|
877
|
+
tone: "violet",
|
|
878
|
+
text: JSON.stringify(filtered, null, 2)
|
|
879
|
+
}
|
|
880
|
+
),
|
|
881
|
+
/* @__PURE__ */ jsx(
|
|
882
|
+
TimelineCopyChip,
|
|
883
|
+
{
|
|
884
|
+
id: "filtered-timeline-paired",
|
|
885
|
+
label: "view \xB7 +raw",
|
|
886
|
+
tooltip: "Copy filtered timeline rows paired with matching raw stream events",
|
|
887
|
+
LeadingIcon: Layers,
|
|
888
|
+
tone: "violet",
|
|
889
|
+
text: JSON.stringify(timelineWithRawPairs(filtered), null, 2)
|
|
890
|
+
}
|
|
891
|
+
),
|
|
892
|
+
/* @__PURE__ */ jsx(
|
|
893
|
+
"span",
|
|
894
|
+
{
|
|
895
|
+
"aria-hidden": true,
|
|
896
|
+
className: "w-px h-4 shrink-0 bg-border/45 self-center"
|
|
897
|
+
}
|
|
898
|
+
),
|
|
899
|
+
/* @__PURE__ */ jsx(
|
|
900
|
+
TimelineCopyChip,
|
|
901
|
+
{
|
|
902
|
+
id: "all-raw-events",
|
|
903
|
+
label: "raw \xB7 dump",
|
|
904
|
+
tooltip: "Copy full rawEvents array (unedited stream capture)",
|
|
905
|
+
LeadingIcon: Radio,
|
|
906
|
+
tone: "cyan",
|
|
907
|
+
text: JSON.stringify(request.rawEvents, null, 2)
|
|
908
|
+
}
|
|
909
|
+
)
|
|
910
|
+
] })
|
|
911
|
+
] }),
|
|
912
|
+
/* @__PURE__ */ jsxs(
|
|
913
|
+
"div",
|
|
914
|
+
{
|
|
915
|
+
ref: scrollRef,
|
|
916
|
+
className: "flex-1 overflow-y-auto overflow-x-hidden min-h-0 pb-2",
|
|
917
|
+
children: [
|
|
918
|
+
filtered.map((entry, idx) => /* @__PURE__ */ jsx(
|
|
919
|
+
TimelineRow,
|
|
920
|
+
{
|
|
921
|
+
entry,
|
|
922
|
+
baseTime,
|
|
923
|
+
renderBlocks: request.renderBlocks,
|
|
924
|
+
renderBlockOrder: request.renderBlockOrder,
|
|
925
|
+
reasoningChunks: request.reasoningChunks,
|
|
926
|
+
forceExpanded: allExpanded,
|
|
927
|
+
rawEvent: rawByTimestamp.get(entry.timestamp)
|
|
928
|
+
},
|
|
929
|
+
`${entry.seq}-${idx}`
|
|
930
|
+
)),
|
|
931
|
+
filtered.length === 0 && /* @__PURE__ */ jsx("div", { className: "text-[11px] text-muted-foreground/60 text-center py-4", children: request.timeline.length === 0 ? "No events yet \u2014 waiting for stream..." : "No entries match current filters" })
|
|
932
|
+
]
|
|
933
|
+
}
|
|
934
|
+
)
|
|
935
|
+
] });
|
|
936
|
+
}
|
|
937
|
+
function ToolsTab({ request }) {
|
|
938
|
+
const tools = Object.values(request.toolLifecycle);
|
|
939
|
+
return /* @__PURE__ */ jsxs(DebugTabScroll, { children: [
|
|
940
|
+
tools.length === 0 && /* @__PURE__ */ jsx("div", { className: "text-[10px] text-muted-foreground/60 text-center py-4", children: "No tool events" }),
|
|
941
|
+
tools.map((tool) => /* @__PURE__ */ jsx(ToolLifecycleRow, { tool }, tool.callId)),
|
|
942
|
+
request.pendingToolCalls.length > 0 && /* @__PURE__ */ jsxs("div", { className: "px-1.5 py-1 border-t border-border/30", children: [
|
|
943
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[9px] text-muted-foreground font-medium", children: [
|
|
944
|
+
"Pending Tool Calls (",
|
|
945
|
+
request.pendingToolCalls.length,
|
|
946
|
+
")"
|
|
947
|
+
] }),
|
|
948
|
+
request.pendingToolCalls.map((tc) => /* @__PURE__ */ jsxs(
|
|
949
|
+
"div",
|
|
950
|
+
{
|
|
951
|
+
className: "flex items-center gap-1 ml-2 text-[9px]",
|
|
952
|
+
children: [
|
|
953
|
+
/* @__PURE__ */ jsx(
|
|
954
|
+
Badge,
|
|
955
|
+
{
|
|
956
|
+
variant: "outline",
|
|
957
|
+
className: cn(
|
|
958
|
+
"text-[8px] px-0.5 py-0 h-3",
|
|
959
|
+
tc.resolved ? "bg-green-500/10 text-green-400" : "bg-orange-500/10 text-orange-400"
|
|
960
|
+
),
|
|
961
|
+
children: tc.resolved ? "resolved" : "pending"
|
|
962
|
+
}
|
|
963
|
+
),
|
|
964
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono text-muted-foreground/60", children: tc.callId.slice(0, 12) }),
|
|
965
|
+
/* @__PURE__ */ jsx("span", { className: "text-foreground/80", children: humanizeIdentifier(tc.toolName) }),
|
|
966
|
+
/* @__PURE__ */ jsx(
|
|
967
|
+
CopyBtn,
|
|
968
|
+
{
|
|
969
|
+
text: JSON.stringify(tc, null, 2),
|
|
970
|
+
id: `ptc-${tc.callId}`
|
|
971
|
+
}
|
|
972
|
+
)
|
|
973
|
+
]
|
|
974
|
+
},
|
|
975
|
+
tc.callId
|
|
976
|
+
))
|
|
977
|
+
] })
|
|
978
|
+
] });
|
|
979
|
+
}
|
|
980
|
+
function StatusTab({ request }) {
|
|
981
|
+
return /* @__PURE__ */ jsxs(DebugTabScroll, { children: [
|
|
982
|
+
/* @__PURE__ */ jsxs("div", { className: "px-1.5 py-1 border-b border-border/30", children: [
|
|
983
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground font-medium", children: "Current Phase" }),
|
|
984
|
+
request.currentPhase ? /* @__PURE__ */ jsx("div", { className: "ml-2", children: /* @__PURE__ */ jsx(
|
|
985
|
+
Badge,
|
|
986
|
+
{
|
|
987
|
+
variant: "outline",
|
|
988
|
+
className: "text-[9px] px-1 py-0 h-4 bg-yellow-500/10 text-yellow-400",
|
|
989
|
+
children: request.currentPhase
|
|
990
|
+
}
|
|
991
|
+
) }) : /* @__PURE__ */ jsx("div", { className: "text-[9px] text-muted-foreground/50 ml-2", children: "No phase updates received" })
|
|
992
|
+
] }),
|
|
993
|
+
/* @__PURE__ */ jsx("div", { className: "px-1.5 py-0.5", children: /* @__PURE__ */ jsxs("span", { className: "text-[9px] text-muted-foreground font-medium", children: [
|
|
994
|
+
"History (",
|
|
995
|
+
request.phaseHistory.length,
|
|
996
|
+
")"
|
|
997
|
+
] }) }),
|
|
998
|
+
request.phaseHistory.length === 0 && /* @__PURE__ */ jsx("div", { className: "text-[10px] text-muted-foreground/60 text-center py-4", children: "No phase updates" }),
|
|
999
|
+
request.phaseHistory.map((phase, idx) => /* @__PURE__ */ jsx(PhaseHistoryRow, { phase, idx }, idx))
|
|
1000
|
+
] });
|
|
1001
|
+
}
|
|
1002
|
+
function BlocksTab({ request }) {
|
|
1003
|
+
const blocks = request.renderBlockOrder.map((id) => request.renderBlocks[id]).filter(Boolean);
|
|
1004
|
+
return /* @__PURE__ */ jsxs(DebugTabScroll, { children: [
|
|
1005
|
+
blocks.length === 0 && /* @__PURE__ */ jsx("div", { className: "text-[10px] text-muted-foreground/60 text-center py-4", children: "No content blocks" }),
|
|
1006
|
+
blocks.map((block) => /* @__PURE__ */ jsx(ContentBlockRow, { block }, block.blockId))
|
|
1007
|
+
] });
|
|
1008
|
+
}
|
|
1009
|
+
function TextTab({ request }) {
|
|
1010
|
+
const text = request.renderBlockOrder.map((id) => request.renderBlocks[id]?.content ?? "").join("\n");
|
|
1011
|
+
const reasoning = request.reasoningChunks.length > 0 ? request.reasoningChunks.join("") : request.accumulatedReasoning;
|
|
1012
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col flex-1 min-h-0 h-full", children: [
|
|
1013
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-1 px-1.5 py-0.5 border-b border-border/30 text-[9px] text-muted-foreground", children: [
|
|
1014
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
1015
|
+
request.chunkCount,
|
|
1016
|
+
" chunks"
|
|
1017
|
+
] }),
|
|
1018
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground/40", children: "|" }),
|
|
1019
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
1020
|
+
new TextEncoder().encode(text).length,
|
|
1021
|
+
" bytes"
|
|
1022
|
+
] }),
|
|
1023
|
+
request.reasoningChunks.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1024
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground/40", children: "|" }),
|
|
1025
|
+
/* @__PURE__ */ jsxs("span", { className: "text-violet-400", children: [
|
|
1026
|
+
request.reasoningChunks.length,
|
|
1027
|
+
" reasoning chunks"
|
|
1028
|
+
] })
|
|
1029
|
+
] }),
|
|
1030
|
+
/* @__PURE__ */ jsx(CopyBtn, { text, id: "full-text", className: "ml-auto" })
|
|
1031
|
+
] }),
|
|
1032
|
+
reasoning && /* @__PURE__ */ jsxs("div", { className: "border-b border-border/30", children: [
|
|
1033
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 px-1.5 py-0.5 text-[9px] text-violet-400/80 bg-violet-500/5", children: [
|
|
1034
|
+
/* @__PURE__ */ jsx(Brain, { className: "h-2.5 w-2.5" }),
|
|
1035
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
1036
|
+
"Reasoning (",
|
|
1037
|
+
request.reasoningChunks.length,
|
|
1038
|
+
" chunks)"
|
|
1039
|
+
] }),
|
|
1040
|
+
/* @__PURE__ */ jsx(CopyBtn, { text: reasoning, id: "full-reasoning", className: "ml-auto" })
|
|
1041
|
+
] }),
|
|
1042
|
+
/* @__PURE__ */ jsx("pre", { className: "text-[10px] font-mono whitespace-pre-wrap break-all p-1.5 text-violet-400/70 max-h-40 overflow-y-auto", children: reasoning })
|
|
1043
|
+
] }),
|
|
1044
|
+
/* @__PURE__ */ jsx(ScrollArea, { className: "flex-1 min-h-0", children: /* @__PURE__ */ jsx("pre", { className: "text-[10px] font-mono whitespace-pre-wrap break-all p-1.5 text-foreground/80", children: text || /* @__PURE__ */ jsx("span", { className: "text-muted-foreground/40 italic", children: "No text yet..." }) }) })
|
|
1045
|
+
] });
|
|
1046
|
+
}
|
|
1047
|
+
function DataTab({ request }) {
|
|
1048
|
+
return /* @__PURE__ */ jsxs(DebugTabScroll, { children: [
|
|
1049
|
+
/* @__PURE__ */ jsxs("div", { className: "px-1.5 py-0.5 border-b border-border/30 text-[9px] text-muted-foreground", children: [
|
|
1050
|
+
request.dataPayloads.length,
|
|
1051
|
+
" data payloads",
|
|
1052
|
+
/* @__PURE__ */ jsx(
|
|
1053
|
+
CopyBtn,
|
|
1054
|
+
{
|
|
1055
|
+
text: JSON.stringify(request.dataPayloads, null, 2),
|
|
1056
|
+
id: "all-data",
|
|
1057
|
+
className: "ml-1"
|
|
1058
|
+
}
|
|
1059
|
+
)
|
|
1060
|
+
] }),
|
|
1061
|
+
request.dataPayloads.length === 0 && /* @__PURE__ */ jsx("div", { className: "text-[10px] text-muted-foreground/60 text-center py-4", children: "No data events" }),
|
|
1062
|
+
request.dataPayloads.map((payload, idx) => /* @__PURE__ */ jsxs("div", { className: "border-b border-border/20 px-1.5 py-0.5", children: [
|
|
1063
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
1064
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] font-mono text-muted-foreground/60", children: idx + 1 }),
|
|
1065
|
+
/* @__PURE__ */ jsx(
|
|
1066
|
+
CopyBtn,
|
|
1067
|
+
{
|
|
1068
|
+
text: JSON.stringify(payload, null, 2),
|
|
1069
|
+
id: `data-${idx}`
|
|
1070
|
+
}
|
|
1071
|
+
)
|
|
1072
|
+
] }),
|
|
1073
|
+
/* @__PURE__ */ jsx(JsonView, { data: payload, id: `data-body-${idx}` })
|
|
1074
|
+
] }, idx))
|
|
1075
|
+
] });
|
|
1076
|
+
}
|
|
1077
|
+
function CompletionTab({ request }) {
|
|
1078
|
+
return /* @__PURE__ */ jsxs(DebugTabScroll, { children: [
|
|
1079
|
+
request.completion ? /* @__PURE__ */ jsx("div", { className: "p-1.5", children: /* @__PURE__ */ jsx(
|
|
1080
|
+
JsonView,
|
|
1081
|
+
{
|
|
1082
|
+
data: request.completion,
|
|
1083
|
+
label: "Completion",
|
|
1084
|
+
id: "completion"
|
|
1085
|
+
}
|
|
1086
|
+
) }) : /* @__PURE__ */ jsx("div", { className: "text-[10px] text-muted-foreground/60 text-center py-4", children: "No completion event received" }),
|
|
1087
|
+
request.clientMetrics && /* @__PURE__ */ jsxs("div", { className: "p-1.5 border-t border-border/30", children: [
|
|
1088
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground font-medium", children: "Client Metrics" }),
|
|
1089
|
+
/* @__PURE__ */ jsx(JsonView, { data: request.clientMetrics, id: "client-metrics" })
|
|
1090
|
+
] }),
|
|
1091
|
+
request.warnings.length > 0 && /* @__PURE__ */ jsxs("div", { className: "p-1.5 border-t border-border/30", children: [
|
|
1092
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[9px] text-muted-foreground font-medium", children: [
|
|
1093
|
+
"Warnings (",
|
|
1094
|
+
request.warnings.length,
|
|
1095
|
+
")"
|
|
1096
|
+
] }),
|
|
1097
|
+
/* @__PURE__ */ jsx(JsonView, { data: request.warnings, id: "warnings" })
|
|
1098
|
+
] }),
|
|
1099
|
+
request.infoEvents.length > 0 && /* @__PURE__ */ jsxs("div", { className: "p-1.5 border-t border-border/30", children: [
|
|
1100
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[9px] text-muted-foreground font-medium", children: [
|
|
1101
|
+
"Info Events (",
|
|
1102
|
+
request.infoEvents.length,
|
|
1103
|
+
")"
|
|
1104
|
+
] }),
|
|
1105
|
+
/* @__PURE__ */ jsx(JsonView, { data: request.infoEvents, id: "info-events" })
|
|
1106
|
+
] }),
|
|
1107
|
+
Object.keys(request.reservations).length > 0 && /* @__PURE__ */ jsxs("div", { className: "p-1.5 border-t border-border/30", children: [
|
|
1108
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[9px] text-muted-foreground font-medium", children: [
|
|
1109
|
+
"Record Reservations (",
|
|
1110
|
+
Object.keys(request.reservations).length,
|
|
1111
|
+
")"
|
|
1112
|
+
] }),
|
|
1113
|
+
/* @__PURE__ */ jsx(JsonView, { data: request.reservations, id: "reservations" })
|
|
1114
|
+
] }),
|
|
1115
|
+
Object.keys(request.completedOperations).length > 0 && /* @__PURE__ */ jsxs("div", { className: "p-1.5 border-t border-border/30", children: [
|
|
1116
|
+
/* @__PURE__ */ jsxs("div", { className: "text-[10px] text-sky-400 font-medium flex items-center gap-1", children: [
|
|
1117
|
+
/* @__PURE__ */ jsx(Zap, { className: "h-2.5 w-2.5" }),
|
|
1118
|
+
" Completed Operations (",
|
|
1119
|
+
Object.keys(request.completedOperations).length,
|
|
1120
|
+
")"
|
|
1121
|
+
] }),
|
|
1122
|
+
/* @__PURE__ */ jsx(JsonView, { data: request.completedOperations, id: "completed-ops" })
|
|
1123
|
+
] })
|
|
1124
|
+
] });
|
|
1125
|
+
}
|
|
1126
|
+
function StateSnapshotTab({
|
|
1127
|
+
request,
|
|
1128
|
+
instanceStatus
|
|
1129
|
+
}) {
|
|
1130
|
+
return /* @__PURE__ */ jsx(DebugTabScroll, { children: /* @__PURE__ */ jsxs("div", { className: "p-1.5 space-y-1", children: [
|
|
1131
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-[9px]", children: [
|
|
1132
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium w-24 shrink-0", children: "requestId:" }),
|
|
1133
|
+
/* @__PURE__ */ jsx("code", { className: "font-mono text-foreground/80", children: request.requestId }),
|
|
1134
|
+
/* @__PURE__ */ jsx(CopyBtn, { text: request.requestId, id: "req-id" })
|
|
1135
|
+
] }),
|
|
1136
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-[9px]", children: [
|
|
1137
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium w-24 shrink-0", children: "conversationId:" }),
|
|
1138
|
+
/* @__PURE__ */ jsx(
|
|
1139
|
+
EntityRef,
|
|
1140
|
+
{
|
|
1141
|
+
token: "conversation",
|
|
1142
|
+
id: request.conversationId,
|
|
1143
|
+
name: request.conversationId,
|
|
1144
|
+
showIcon: false,
|
|
1145
|
+
wrap: true,
|
|
1146
|
+
className: "min-w-0 font-mono text-foreground/80"
|
|
1147
|
+
}
|
|
1148
|
+
),
|
|
1149
|
+
/* @__PURE__ */ jsx(CopyBtn, { text: request.conversationId, id: "conv-id-state" })
|
|
1150
|
+
] }),
|
|
1151
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-[9px]", children: [
|
|
1152
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium w-24 shrink-0", children: "request.status:" }),
|
|
1153
|
+
/* @__PURE__ */ jsx(
|
|
1154
|
+
Badge,
|
|
1155
|
+
{
|
|
1156
|
+
variant: "outline",
|
|
1157
|
+
className: cn(
|
|
1158
|
+
"text-[9px] px-1 py-0 h-4",
|
|
1159
|
+
STATUS_COLORS[request.status] ?? ""
|
|
1160
|
+
),
|
|
1161
|
+
children: request.status
|
|
1162
|
+
}
|
|
1163
|
+
)
|
|
1164
|
+
] }),
|
|
1165
|
+
instanceStatus && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-[9px]", children: [
|
|
1166
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium w-24 shrink-0", children: "instance.status:" }),
|
|
1167
|
+
/* @__PURE__ */ jsx(
|
|
1168
|
+
Badge,
|
|
1169
|
+
{
|
|
1170
|
+
variant: "outline",
|
|
1171
|
+
className: cn(
|
|
1172
|
+
"text-[9px] px-1 py-0 h-4",
|
|
1173
|
+
INSTANCE_STATUS_COLORS[instanceStatus] ?? ""
|
|
1174
|
+
),
|
|
1175
|
+
children: instanceStatus
|
|
1176
|
+
}
|
|
1177
|
+
)
|
|
1178
|
+
] }),
|
|
1179
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-1 text-[9px]", children: [
|
|
1180
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium w-24 shrink-0", children: "error:" }),
|
|
1181
|
+
request.error ? /* @__PURE__ */ jsx("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ jsx(
|
|
1182
|
+
JsonView,
|
|
1183
|
+
{
|
|
1184
|
+
data: request.error,
|
|
1185
|
+
id: "request-error-payload",
|
|
1186
|
+
defaultExpanded: true
|
|
1187
|
+
}
|
|
1188
|
+
) }) : /* @__PURE__ */ jsx("code", { className: "font-mono text-foreground/80", children: "null" })
|
|
1189
|
+
] }),
|
|
1190
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-[9px]", children: [
|
|
1191
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium w-24 shrink-0", children: "startedAt:" }),
|
|
1192
|
+
/* @__PURE__ */ jsx("code", { className: "font-mono text-foreground/80", children: request.startedAt })
|
|
1193
|
+
] }),
|
|
1194
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-[9px]", children: [
|
|
1195
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium w-24 shrink-0", children: "firstChunkAt:" }),
|
|
1196
|
+
/* @__PURE__ */ jsx("code", { className: "font-mono text-foreground/80", children: request.firstChunkAt ?? "null" })
|
|
1197
|
+
] }),
|
|
1198
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-[9px]", children: [
|
|
1199
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium w-24 shrink-0", children: "completedAt:" }),
|
|
1200
|
+
/* @__PURE__ */ jsx("code", { className: "font-mono text-foreground/80", children: request.completedAt ?? "null" })
|
|
1201
|
+
] }),
|
|
1202
|
+
/* @__PURE__ */ jsxs("div", { className: "border-t border-border/30 pt-1 mt-1", children: [
|
|
1203
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground font-medium", children: "Counts" }),
|
|
1204
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-x-3 gap-y-0.5 ml-2 text-[9px] mt-0.5", children: [
|
|
1205
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "chunkCount:" }),
|
|
1206
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: request.chunkCount }),
|
|
1207
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "reasoningChunks:" }),
|
|
1208
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: request.reasoningChunks.length }),
|
|
1209
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "phaseHistory:" }),
|
|
1210
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: request.phaseHistory.length }),
|
|
1211
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "activeOperations:" }),
|
|
1212
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: Object.keys(request.activeOperations).length }),
|
|
1213
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "completedOperations:" }),
|
|
1214
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: Object.keys(request.completedOperations).length }),
|
|
1215
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "renderBlocks:" }),
|
|
1216
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: request.renderBlockOrder.length }),
|
|
1217
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "toolLifecycle:" }),
|
|
1218
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: Object.keys(request.toolLifecycle).length }),
|
|
1219
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "pendingToolCalls:" }),
|
|
1220
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: request.pendingToolCalls.length }),
|
|
1221
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "dataPayloads:" }),
|
|
1222
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: request.dataPayloads.length }),
|
|
1223
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "timeline:" }),
|
|
1224
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: request.timeline.length }),
|
|
1225
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "warnings:" }),
|
|
1226
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: request.warnings.length }),
|
|
1227
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "infoEvents:" }),
|
|
1228
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: request.infoEvents.length }),
|
|
1229
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "reservations:" }),
|
|
1230
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono", children: Object.keys(request.reservations).length })
|
|
1231
|
+
] })
|
|
1232
|
+
] }),
|
|
1233
|
+
/* @__PURE__ */ jsxs("div", { className: "border-t border-border/30 pt-1 mt-1", children: [
|
|
1234
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground font-medium", children: "Full State Dump" }),
|
|
1235
|
+
/* @__PURE__ */ jsx(
|
|
1236
|
+
CopyBtn,
|
|
1237
|
+
{
|
|
1238
|
+
text: JSON.stringify(request, null, 2),
|
|
1239
|
+
id: "full-dump",
|
|
1240
|
+
className: "ml-1"
|
|
1241
|
+
}
|
|
1242
|
+
),
|
|
1243
|
+
/* @__PURE__ */ jsx(
|
|
1244
|
+
JsonView,
|
|
1245
|
+
{
|
|
1246
|
+
data: request,
|
|
1247
|
+
label: "ActiveRequest",
|
|
1248
|
+
id: "full-state",
|
|
1249
|
+
defaultExpanded: false
|
|
1250
|
+
}
|
|
1251
|
+
)
|
|
1252
|
+
] })
|
|
1253
|
+
] }) });
|
|
1254
|
+
}
|
|
1255
|
+
function RawEventsTab({ request }) {
|
|
1256
|
+
const rawEvents = request.rawEvents ?? [];
|
|
1257
|
+
const [expandedIdx, setExpandedIdx] = useState(/* @__PURE__ */ new Set());
|
|
1258
|
+
const [filterType, setFilterType] = useState(null);
|
|
1259
|
+
const scrollRef = useRef(null);
|
|
1260
|
+
const eventTypes = React.useMemo(() => {
|
|
1261
|
+
const types = /* @__PURE__ */ new Set();
|
|
1262
|
+
for (const e of rawEvents) types.add(e.eventType);
|
|
1263
|
+
return Array.from(types).sort();
|
|
1264
|
+
}, [rawEvents]);
|
|
1265
|
+
const filtered = filterType ? rawEvents.filter((e) => e.eventType === filterType) : rawEvents;
|
|
1266
|
+
const toggleExpanded = (idx) => {
|
|
1267
|
+
setExpandedIdx((prev) => {
|
|
1268
|
+
const next = new Set(prev);
|
|
1269
|
+
if (next.has(idx)) next.delete(idx);
|
|
1270
|
+
else next.add(idx);
|
|
1271
|
+
return next;
|
|
1272
|
+
});
|
|
1273
|
+
};
|
|
1274
|
+
if (rawEvents.length === 0) {
|
|
1275
|
+
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center h-full text-muted-foreground text-xs", children: "No raw events captured yet" });
|
|
1276
|
+
}
|
|
1277
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col flex-1 min-h-0 h-full", children: [
|
|
1278
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-1 px-2 py-1 border-b border-border/30 bg-muted/10 flex-wrap", children: [
|
|
1279
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[9px] text-muted-foreground font-medium mr-1", children: [
|
|
1280
|
+
rawEvents.length,
|
|
1281
|
+
" events"
|
|
1282
|
+
] }),
|
|
1283
|
+
/* @__PURE__ */ jsx(Chip, { asChild: true, pressed: !filterType, label: "All", children: /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setFilterType(null) }) }),
|
|
1284
|
+
eventTypes.map((type) => /* @__PURE__ */ jsx(
|
|
1285
|
+
Chip,
|
|
1286
|
+
{
|
|
1287
|
+
asChild: true,
|
|
1288
|
+
pressed: filterType === type,
|
|
1289
|
+
label: `${type} (${rawEvents.filter((e) => e.eventType === type).length})`,
|
|
1290
|
+
children: /* @__PURE__ */ jsx(
|
|
1291
|
+
"button",
|
|
1292
|
+
{
|
|
1293
|
+
type: "button",
|
|
1294
|
+
onClick: () => setFilterType(filterType === type ? null : type)
|
|
1295
|
+
}
|
|
1296
|
+
)
|
|
1297
|
+
},
|
|
1298
|
+
type
|
|
1299
|
+
)),
|
|
1300
|
+
/* @__PURE__ */ jsx(
|
|
1301
|
+
CopyBtn,
|
|
1302
|
+
{
|
|
1303
|
+
text: JSON.stringify(rawEvents, null, 2),
|
|
1304
|
+
id: "raw-all",
|
|
1305
|
+
className: "ml-auto"
|
|
1306
|
+
}
|
|
1307
|
+
)
|
|
1308
|
+
] }),
|
|
1309
|
+
/* @__PURE__ */ jsx(ScrollArea, { className: "flex-1 min-h-0", ref: scrollRef, children: /* @__PURE__ */ jsx("div", { className: "divide-y divide-border/20", children: filtered.map((evt) => {
|
|
1310
|
+
const isExpanded = expandedIdx.has(evt.idx);
|
|
1311
|
+
const colorClass = EVENT_COLORS[evt.eventType] ?? "bg-gray-500/20 text-gray-400 border-gray-500/30";
|
|
1312
|
+
const icon = EVENT_ICONS[evt.eventType] ?? /* @__PURE__ */ jsx(AlertTriangle, { className: "h-2.5 w-2.5" });
|
|
1313
|
+
const dataPreview = (() => {
|
|
1314
|
+
if (evt.data === null || evt.data === void 0) return "null";
|
|
1315
|
+
if (typeof evt.data === "object") {
|
|
1316
|
+
const d = evt.data;
|
|
1317
|
+
if (evt.eventType === "structured_output") {
|
|
1318
|
+
const schema = d.schema_name ? `schema: ${d.schema_name}` : "";
|
|
1319
|
+
const items = Array.isArray(
|
|
1320
|
+
d.data?.items
|
|
1321
|
+
) ? `${d.data.items.length} item(s)` : "";
|
|
1322
|
+
const ok = d.success ? "success" : "failed";
|
|
1323
|
+
return [ok, schema, items].filter(Boolean).join(" \xB7 ");
|
|
1324
|
+
}
|
|
1325
|
+
if (d.event) return `event: ${d.event}`;
|
|
1326
|
+
if (d.text !== void 0)
|
|
1327
|
+
return `text: "${String(d.text).slice(0, 40)}..."`;
|
|
1328
|
+
if (d.status) return `status: ${d.status}`;
|
|
1329
|
+
if (d.tool_name) return `tool: ${d.tool_name}`;
|
|
1330
|
+
const keys = Object.keys(d);
|
|
1331
|
+
return keys.length <= 4 ? keys.join(", ") : `${keys.slice(0, 3).join(", ")} +${keys.length - 3}`;
|
|
1332
|
+
}
|
|
1333
|
+
return String(evt.data).slice(0, 60);
|
|
1334
|
+
})();
|
|
1335
|
+
return /* @__PURE__ */ jsxs(
|
|
1336
|
+
"div",
|
|
1337
|
+
{
|
|
1338
|
+
className: cn(
|
|
1339
|
+
"px-2 py-0.5 cursor-pointer hover:bg-muted/20 transition-colors",
|
|
1340
|
+
isExpanded && "bg-muted/10"
|
|
1341
|
+
),
|
|
1342
|
+
onClick: () => toggleExpanded(evt.idx),
|
|
1343
|
+
children: [
|
|
1344
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 min-h-[18px]", children: [
|
|
1345
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground/60 font-mono w-4 text-right flex-shrink-0", children: evt.idx }),
|
|
1346
|
+
/* @__PURE__ */ jsxs(
|
|
1347
|
+
Badge,
|
|
1348
|
+
{
|
|
1349
|
+
variant: "outline",
|
|
1350
|
+
className: cn(
|
|
1351
|
+
"px-1 py-0 text-[8px] leading-[14px] h-[14px] inline-flex items-center gap-0.5 font-mono border rounded-sm flex-shrink-0",
|
|
1352
|
+
colorClass
|
|
1353
|
+
),
|
|
1354
|
+
children: [
|
|
1355
|
+
icon,
|
|
1356
|
+
evt.eventType
|
|
1357
|
+
]
|
|
1358
|
+
}
|
|
1359
|
+
),
|
|
1360
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[9px] text-muted-foreground/60 font-mono flex-shrink-0", children: [
|
|
1361
|
+
evt.timestamp.toFixed(0),
|
|
1362
|
+
"ms"
|
|
1363
|
+
] }),
|
|
1364
|
+
!isExpanded && /* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground truncate", children: dataPreview }),
|
|
1365
|
+
/* @__PURE__ */ jsx(
|
|
1366
|
+
CopyBtn,
|
|
1367
|
+
{
|
|
1368
|
+
text: JSON.stringify(evt, null, 2),
|
|
1369
|
+
id: `raw-${evt.idx}`,
|
|
1370
|
+
className: "ml-auto flex-shrink-0"
|
|
1371
|
+
}
|
|
1372
|
+
)
|
|
1373
|
+
] }),
|
|
1374
|
+
isExpanded && /* @__PURE__ */ jsx("div", { className: "ml-5 mt-0.5 mb-1", children: /* @__PURE__ */ jsx(
|
|
1375
|
+
JsonView,
|
|
1376
|
+
{
|
|
1377
|
+
data: evt.data,
|
|
1378
|
+
label: "data",
|
|
1379
|
+
id: `raw-data-${evt.idx}`
|
|
1380
|
+
}
|
|
1381
|
+
) })
|
|
1382
|
+
]
|
|
1383
|
+
},
|
|
1384
|
+
evt.idx
|
|
1385
|
+
);
|
|
1386
|
+
}) }) })
|
|
1387
|
+
] });
|
|
1388
|
+
}
|
|
1389
|
+
const TAB_DEFS = [
|
|
1390
|
+
{ id: "events", label: "Timeline", icon: /* @__PURE__ */ jsx(Zap, { className: "h-3 w-3" }) },
|
|
1391
|
+
{ id: "raw", label: "Raw", icon: /* @__PURE__ */ jsx(Radio, { className: "h-3 w-3" }) },
|
|
1392
|
+
{ id: "text", label: "Text", icon: /* @__PURE__ */ jsx(FileText, { className: "h-3 w-3" }) },
|
|
1393
|
+
{ id: "tools", label: "Tools", icon: /* @__PURE__ */ jsx(Wrench, { className: "h-3 w-3" }) },
|
|
1394
|
+
{ id: "status", label: "Status", icon: /* @__PURE__ */ jsx(Activity, { className: "h-3 w-3" }) },
|
|
1395
|
+
{ id: "blocks", label: "Blocks", icon: /* @__PURE__ */ jsx(Layers, { className: "h-3 w-3" }) },
|
|
1396
|
+
{ id: "data", label: "Data", icon: /* @__PURE__ */ jsx(Database, { className: "h-3 w-3" }) },
|
|
1397
|
+
{ id: "completion", label: "Stats", icon: /* @__PURE__ */ jsx(BarChart3, { className: "h-3 w-3" }) },
|
|
1398
|
+
{ id: "state", label: "State", icon: /* @__PURE__ */ jsx(CircleDot, { className: "h-3 w-3" }) }
|
|
1399
|
+
];
|
|
1400
|
+
function InstanceDebugView({
|
|
1401
|
+
conversationId,
|
|
1402
|
+
hideChrome,
|
|
1403
|
+
requestIdOverride
|
|
1404
|
+
}) {
|
|
1405
|
+
const [activeTab, setActiveTab] = useState("events");
|
|
1406
|
+
const instanceStatus = useAppSelector(
|
|
1407
|
+
(state) => state.conversations.byConversationId[conversationId]?.status
|
|
1408
|
+
);
|
|
1409
|
+
const requestIds = useAppSelector(
|
|
1410
|
+
selectConversationRequestIds(conversationId)
|
|
1411
|
+
);
|
|
1412
|
+
const [selectedRequestIdx, setSelectedRequestIdx] = useState(-1);
|
|
1413
|
+
const effectiveIdx = selectedRequestIdx === -1 ? requestIds.length - 1 : selectedRequestIdx;
|
|
1414
|
+
const derivedRequestId = requestIds[effectiveIdx];
|
|
1415
|
+
const selectedRequestId = requestIdOverride ?? derivedRequestId;
|
|
1416
|
+
const request = useAppSelector(
|
|
1417
|
+
(state) => selectedRequestId ? state.activeRequests.byRequestId[selectedRequestId] : void 0
|
|
1418
|
+
);
|
|
1419
|
+
if (!request) {
|
|
1420
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center h-full text-[11px] text-muted-foreground/60 p-4 gap-1", children: [
|
|
1421
|
+
/* @__PURE__ */ jsx("span", { children: "No active request for this instance. Run the agent to begin debugging." }),
|
|
1422
|
+
requestIds.length === 0 && /* @__PURE__ */ jsx("span", { className: "text-[10px]", children: "(0 requests found)" })
|
|
1423
|
+
] });
|
|
1424
|
+
}
|
|
1425
|
+
if (hideChrome) {
|
|
1426
|
+
return /* @__PURE__ */ jsx(TimelineTab, { request });
|
|
1427
|
+
}
|
|
1428
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col flex-1 min-h-0 h-full", children: [
|
|
1429
|
+
/* @__PURE__ */ jsxs("div", { className: "shrink-0", children: [
|
|
1430
|
+
/* @__PURE__ */ jsx(StatusBar, { request, instanceStatus }),
|
|
1431
|
+
request.clientMetrics && /* @__PURE__ */ jsx(MetricsBar, { metrics: request.clientMetrics })
|
|
1432
|
+
] }),
|
|
1433
|
+
requestIds.length > 1 && /* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-1.5 px-2 py-1 border-b border-border/30 text-[10px]", children: [
|
|
1434
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium", children: "Request:" }),
|
|
1435
|
+
requestIds.map((id, idx) => /* @__PURE__ */ jsx(Chip, { asChild: true, pressed: idx === effectiveIdx, label: `#${idx + 1}`, children: /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setSelectedRequestIdx(idx) }) }, id)),
|
|
1436
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground/60 text-[9px] ml-auto", children: [
|
|
1437
|
+
requestIds.length,
|
|
1438
|
+
" total"
|
|
1439
|
+
] })
|
|
1440
|
+
] }),
|
|
1441
|
+
/* @__PURE__ */ jsx("div", { className: "flex shrink-0 border-b border-border/50 bg-muted/10 overflow-x-auto scrollbar-none", children: TAB_DEFS.map((tab) => /* @__PURE__ */ jsxs(Button, { variant: "quiet", pressed: !!(activeTab === tab.id), onClick: () => setActiveTab(tab.id), children: [
|
|
1442
|
+
tab.icon,
|
|
1443
|
+
tab.label
|
|
1444
|
+
] }, tab.id)) }),
|
|
1445
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 min-h-0 flex-col overflow-hidden", children: [
|
|
1446
|
+
activeTab === "events" && /* @__PURE__ */ jsx(TimelineTab, { request }),
|
|
1447
|
+
activeTab === "raw" && /* @__PURE__ */ jsx(RawEventsTab, { request }),
|
|
1448
|
+
activeTab === "text" && /* @__PURE__ */ jsx(TextTab, { request }),
|
|
1449
|
+
activeTab === "tools" && /* @__PURE__ */ jsx(ToolsTab, { request }),
|
|
1450
|
+
activeTab === "status" && /* @__PURE__ */ jsx(StatusTab, { request }),
|
|
1451
|
+
activeTab === "blocks" && /* @__PURE__ */ jsx(BlocksTab, { request }),
|
|
1452
|
+
activeTab === "data" && /* @__PURE__ */ jsx(DataTab, { request }),
|
|
1453
|
+
activeTab === "completion" && /* @__PURE__ */ jsx(CompletionTab, { request }),
|
|
1454
|
+
activeTab === "state" && /* @__PURE__ */ jsx(StateSnapshotTab, { request, instanceStatus })
|
|
1455
|
+
] })
|
|
1456
|
+
] });
|
|
1457
|
+
}
|
|
1458
|
+
function StreamDebugPanel({
|
|
1459
|
+
conversationId,
|
|
1460
|
+
className,
|
|
1461
|
+
hideChrome = false,
|
|
1462
|
+
requestIdOverride
|
|
1463
|
+
}) {
|
|
1464
|
+
const dispatch = useAppDispatch();
|
|
1465
|
+
const debugSessionActive = useAppSelector(
|
|
1466
|
+
(state) => state.conversations.debugSessionActive
|
|
1467
|
+
);
|
|
1468
|
+
useEffect(() => {
|
|
1469
|
+
if (!debugSessionActive) {
|
|
1470
|
+
dispatch(setDebugSession(true));
|
|
1471
|
+
}
|
|
1472
|
+
}, [dispatch, debugSessionActive]);
|
|
1473
|
+
const allInstanceIds = useAppSelector(
|
|
1474
|
+
(state) => state.conversations.allConversationIds,
|
|
1475
|
+
shallowEqual
|
|
1476
|
+
);
|
|
1477
|
+
if (hideChrome) {
|
|
1478
|
+
return /* @__PURE__ */ jsx("div", { className: cn(DEBUG_PANEL_SHELL, className), children: /* @__PURE__ */ jsx(
|
|
1479
|
+
InstanceDebugView,
|
|
1480
|
+
{
|
|
1481
|
+
conversationId,
|
|
1482
|
+
hideChrome: true,
|
|
1483
|
+
requestIdOverride
|
|
1484
|
+
}
|
|
1485
|
+
) });
|
|
1486
|
+
}
|
|
1487
|
+
if (allInstanceIds.length <= 1) {
|
|
1488
|
+
return /* @__PURE__ */ jsx("div", { className: cn(DEBUG_PANEL_SHELL, className), children: /* @__PURE__ */ jsx(
|
|
1489
|
+
InstanceDebugView,
|
|
1490
|
+
{
|
|
1491
|
+
conversationId,
|
|
1492
|
+
hideChrome: false,
|
|
1493
|
+
requestIdOverride
|
|
1494
|
+
}
|
|
1495
|
+
) });
|
|
1496
|
+
}
|
|
1497
|
+
return /* @__PURE__ */ jsx(
|
|
1498
|
+
MultiInstanceDebugPanel,
|
|
1499
|
+
{
|
|
1500
|
+
activeInstanceId: conversationId,
|
|
1501
|
+
allInstanceIds,
|
|
1502
|
+
className,
|
|
1503
|
+
requestIdOverride
|
|
1504
|
+
}
|
|
1505
|
+
);
|
|
1506
|
+
}
|
|
1507
|
+
function MultiInstanceDebugPanel({
|
|
1508
|
+
activeInstanceId,
|
|
1509
|
+
allInstanceIds,
|
|
1510
|
+
className,
|
|
1511
|
+
requestIdOverride
|
|
1512
|
+
}) {
|
|
1513
|
+
const [selectedInstanceId, setSelectedInstanceId] = useState(activeInstanceId);
|
|
1514
|
+
const effectiveInstanceId = allInstanceIds.includes(selectedInstanceId) ? selectedInstanceId : allInstanceIds[allInstanceIds.length - 1] ?? activeInstanceId;
|
|
1515
|
+
return /* @__PURE__ */ jsxs("div", { className: cn(DEBUG_PANEL_SHELL, className), children: [
|
|
1516
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-0 border-b border-border bg-muted/20 overflow-x-auto scrollbar-none shrink-0", children: [
|
|
1517
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground font-medium px-2 py-1.5 whitespace-nowrap border-r border-border/50 shrink-0", children: "INSTANCE" }),
|
|
1518
|
+
allInstanceIds.map((id, idx) => /* @__PURE__ */ jsx(
|
|
1519
|
+
InstanceTab,
|
|
1520
|
+
{
|
|
1521
|
+
conversationId: id,
|
|
1522
|
+
idx,
|
|
1523
|
+
isActive: id === effectiveInstanceId,
|
|
1524
|
+
onSelect: () => setSelectedInstanceId(id)
|
|
1525
|
+
},
|
|
1526
|
+
id
|
|
1527
|
+
))
|
|
1528
|
+
] }),
|
|
1529
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-1 min-h-0 flex-col overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
1530
|
+
InstanceDebugView,
|
|
1531
|
+
{
|
|
1532
|
+
conversationId: effectiveInstanceId,
|
|
1533
|
+
hideChrome: false,
|
|
1534
|
+
requestIdOverride: effectiveInstanceId === activeInstanceId ? requestIdOverride : void 0
|
|
1535
|
+
}
|
|
1536
|
+
) })
|
|
1537
|
+
] });
|
|
1538
|
+
}
|
|
1539
|
+
function InstanceTab({
|
|
1540
|
+
conversationId,
|
|
1541
|
+
idx,
|
|
1542
|
+
isActive,
|
|
1543
|
+
onSelect
|
|
1544
|
+
}) {
|
|
1545
|
+
const status = useAppSelector(
|
|
1546
|
+
(state) => state.conversations.byConversationId[conversationId]?.status
|
|
1547
|
+
);
|
|
1548
|
+
const requestCount = useAppSelector(
|
|
1549
|
+
selectConversationRequestCount(conversationId)
|
|
1550
|
+
);
|
|
1551
|
+
const statusDot = status ? INSTANCE_STATUS_COLORS[status] ?? "bg-gray-500/20 text-gray-400" : "";
|
|
1552
|
+
return /* @__PURE__ */ jsxs(
|
|
1553
|
+
"button",
|
|
1554
|
+
{
|
|
1555
|
+
type: "button",
|
|
1556
|
+
onClick: onSelect,
|
|
1557
|
+
className: cn(
|
|
1558
|
+
"inline-flex items-center gap-1 px-2.5 py-1.5 text-[10px] whitespace-nowrap border-b-2 border-r border-border/30 transition-colors cursor-pointer font-mono",
|
|
1559
|
+
isActive ? "border-b-primary text-primary-ink bg-primary/5" : "border-b-transparent text-muted-foreground hover:text-foreground hover:bg-muted/20"
|
|
1560
|
+
),
|
|
1561
|
+
children: [
|
|
1562
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground/60", children: [
|
|
1563
|
+
"#",
|
|
1564
|
+
idx + 1
|
|
1565
|
+
] }),
|
|
1566
|
+
/* @__PURE__ */ jsx("span", { className: "max-w-[80px] truncate", children: conversationId.slice(0, 8) }),
|
|
1567
|
+
status && /* @__PURE__ */ jsx(
|
|
1568
|
+
Badge,
|
|
1569
|
+
{
|
|
1570
|
+
variant: "outline",
|
|
1571
|
+
className: cn("text-[8px] px-1 py-0 h-3.5 border-0", statusDot),
|
|
1572
|
+
children: status
|
|
1573
|
+
}
|
|
1574
|
+
),
|
|
1575
|
+
requestCount > 0 && /* @__PURE__ */ jsxs("span", { className: "text-[9px] text-muted-foreground/60", children: [
|
|
1576
|
+
requestCount,
|
|
1577
|
+
"req"
|
|
1578
|
+
] })
|
|
1579
|
+
]
|
|
1580
|
+
}
|
|
1581
|
+
);
|
|
1582
|
+
}
|
|
1583
|
+
var StreamDebugPanel_default = StreamDebugPanel;
|
|
1584
|
+
export {
|
|
1585
|
+
StreamDebugPanel,
|
|
1586
|
+
StreamDebugPanel_default as default
|
|
1587
|
+
};
|