@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,1227 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Execution Instance Types
|
|
3
|
+
*
|
|
4
|
+
* Each execution context is keyed by a conversationId — a plain UUID that
|
|
5
|
+
* doubles as the server-side conversation thread identifier. The client
|
|
6
|
+
* generates the ID upfront and sends it to the server on the first request.
|
|
7
|
+
*
|
|
8
|
+
* Key principle: instances NEVER write back to agent source slices.
|
|
9
|
+
* They read from them (for defaults) and maintain their own override layers.
|
|
10
|
+
* Multiple conversations for the same agent coexist with zero shared mutable state.
|
|
11
|
+
*/
|
|
12
|
+
import type { AgentType, VariableResourceContextConfig } from "./agent-definition.types.js";
|
|
13
|
+
import type { ContextObjectType, LLMParams, SystemInstruction } from "./agent-api-types.js";
|
|
14
|
+
import type { ValueMappingMap } from "../../surfaces/types.js";
|
|
15
|
+
import type { AnyMandateKey } from "@ai-matrx/agents/mandates";
|
|
16
|
+
import type { UserInputPart } from "./request.types.js";
|
|
17
|
+
import type { MessagePart } from "@ai-matrx/agents/generated/stream-events";
|
|
18
|
+
import type { components } from "@ai-matrx/agents/generated/api-types";
|
|
19
|
+
import type { ResultDisplayMode } from "../utils/run-ui-utils.js";
|
|
20
|
+
import type { VariablesPanelStyle } from "../components/inputs/variable-input-variations/variable-input-options.js";
|
|
21
|
+
import type { ServerOperationState } from "../runtime-reconnect/types.js";
|
|
22
|
+
import { SOURCE_APPS, SOURCE_FEATURES, SOURCE_FEATURE_PATTERNS, isSourceApp, isSourceFeature, type SourceApp, type SourceFeature } from "@ai-matrx/agents/generated/source-attribution";
|
|
23
|
+
export type { UserRequestResult as CompletionStats } from "@ai-matrx/agents/generated/stream-events";
|
|
24
|
+
export type { AggregatedUsageResult, ModelUsageSummary, UsageTotals, TimingStatsResult, ToolCallStatsResult, ToolCallByTool, } from "@ai-matrx/agents/generated/stream-events";
|
|
25
|
+
/**
|
|
26
|
+
* Durable resource identity carried on a run — the generated API contract's
|
|
27
|
+
* shape, never a hand-mirrored copy. The server reloads the named row and
|
|
28
|
+
* derives authoritative org/project/task from it.
|
|
29
|
+
*/
|
|
30
|
+
export type ContextAnchor = components["schemas"]["ContextAnchor"];
|
|
31
|
+
export type InstanceStatus = "draft" | "ready" | "running" | "streaming" | "paused" | "complete" | "error" | "cancelled";
|
|
32
|
+
export type InstanceOrigin = "manual" | "shortcut" | "test" | "sub-agent";
|
|
33
|
+
/**
|
|
34
|
+
* Conversation provenance — `cx_conversation.source_app` / `source_feature`.
|
|
35
|
+
*
|
|
36
|
+
* **Single source of truth:** `@ai-matrx/agents/generated/source-attribution`,
|
|
37
|
+
* generated from aidream `source_attribution.py` via `pnpm sync-types`.
|
|
38
|
+
* Do not hand-add feature slugs here. Stamp the product feature that hosts the
|
|
39
|
+
* run (not chrome like context menus / ProTextarea). FE always stamps
|
|
40
|
+
* `SOURCE_APP` (`matrx-frontend`).
|
|
41
|
+
*
|
|
42
|
+
* UI labels/icons/filters: `features/agents/redux/conversation-history/source-registry.ts`
|
|
43
|
+
*/
|
|
44
|
+
export { SOURCE_APPS, SOURCE_FEATURES, SOURCE_FEATURE_PATTERNS, isSourceApp, isSourceFeature, type SourceApp, type SourceFeature, };
|
|
45
|
+
/** Every matrx-frontend producer stamps this — never invent another app slug. */
|
|
46
|
+
export declare const SOURCE_APP: "matrx-frontend";
|
|
47
|
+
declare const UNREGISTERED_SOURCE_FEATURE: unique symbol;
|
|
48
|
+
export type UnregisteredSourceFeature = string & {
|
|
49
|
+
readonly [UNREGISTERED_SOURCE_FEATURE]: true;
|
|
50
|
+
};
|
|
51
|
+
export type SourceFeatureValue = SourceFeature | UnregisteredSourceFeature;
|
|
52
|
+
/** Preserve DB fidelity while preventing new producer call sites from inventing strings. */
|
|
53
|
+
export declare function sourceFeatureFromStorage(value: string): SourceFeatureValue;
|
|
54
|
+
declare const UNREGISTERED_SOURCE_APP: unique symbol;
|
|
55
|
+
export type UnregisteredSourceApp = string & {
|
|
56
|
+
readonly [UNREGISTERED_SOURCE_APP]: true;
|
|
57
|
+
};
|
|
58
|
+
export type SourceAppValue = SourceApp | UnregisteredSourceApp;
|
|
59
|
+
/** Preserve DB fidelity while preventing new producer call sites from inventing strings. */
|
|
60
|
+
export declare function sourceAppFromStorage(value: string): SourceAppValue;
|
|
61
|
+
export type ApiEndpointMode = "agent" | "manual";
|
|
62
|
+
/**
|
|
63
|
+
* Client attestation of HOW an AI request was triggered — the only provenance
|
|
64
|
+
* input the client may send. The server DERIVES `origin_class` from witnessed
|
|
65
|
+
* facts; a body can never carry `origin_class` itself.
|
|
66
|
+
*
|
|
67
|
+
* "user" — a person directly triggered this request (clicked send, submitted
|
|
68
|
+
* a form, pressed a button). Server classes it `human`.
|
|
69
|
+
* "auto" — client code triggered it automatically (page-load effect, timer,
|
|
70
|
+
* auto-refresh, background prefetch, an agent tool driving sends).
|
|
71
|
+
* Server classes it `client_auto`.
|
|
72
|
+
*
|
|
73
|
+
* Omitting the field makes the server class the request `api` (unattested) —
|
|
74
|
+
* NOT what we want for real UI traffic, so every execution path stamps one.
|
|
75
|
+
* Be honest: only paths that genuinely start from a user gesture send "user".
|
|
76
|
+
*/
|
|
77
|
+
export type RequestInitiation = "user" | "auto";
|
|
78
|
+
/**
|
|
79
|
+
* Conversation lifecycle intent — declared ONCE at creation, never mutated.
|
|
80
|
+
*
|
|
81
|
+
* "continuous" — a durable thread the user keeps adding turns to (chat,
|
|
82
|
+
* scribe, runner, agent-apps, notes…). Must NEVER be split /
|
|
83
|
+
* orphaned. This is the safe default (undefined ⇒ continuous).
|
|
84
|
+
* "iterate" — a disposable "run the same prompt again against a fresh
|
|
85
|
+
* call" surface (builder/tester, Conductor generator,
|
|
86
|
+
* programmatic extraction). Here the auto-clear SPLIT is the
|
|
87
|
+
* whole point: each send mints a fresh historyless id.
|
|
88
|
+
*
|
|
89
|
+
* The split gate in `smartExecute` fires only for `"iterate"`; an `autoClear +
|
|
90
|
+
* surfaceKey` submit on any non-iterate conversation is refused loudly (it
|
|
91
|
+
* would orphan a durable thread). Derived at creation from
|
|
92
|
+
* `deriveConversationLifecycle(autoClearConversation, showAutoClearToggle)` —
|
|
93
|
+
* a surface that enables auto-clear OR merely SHOWS the auto-clear toggle
|
|
94
|
+
* (letting the user flip it on at runtime) is iterate-capable.
|
|
95
|
+
*/
|
|
96
|
+
export type ConversationLifecycle = "continuous" | "iterate";
|
|
97
|
+
/**
|
|
98
|
+
* The ONE place the iterate/continuous decision is made. A conversation is
|
|
99
|
+
* `"iterate"` iff it was created with auto-clear on OR it exposes the auto-clear
|
|
100
|
+
* toggle (the only runtime path that can turn auto-clear on — see
|
|
101
|
+
* `InputActionButtons` → `setAutoClearMode`, gated on `showAutoClearToggle`).
|
|
102
|
+
* Everything else is `"continuous"` — the safe, un-splittable default.
|
|
103
|
+
*/
|
|
104
|
+
export declare function deriveConversationLifecycle(autoClearConversation?: boolean, showAutoClearToggle?: boolean): ConversationLifecycle;
|
|
105
|
+
/**
|
|
106
|
+
* Conversation record shape.
|
|
107
|
+
*
|
|
108
|
+
* Fields above the first block break mirror the existing legacy surface.
|
|
109
|
+
* Fields below mirror the DB `cx_conversation.Row` + ConversationInvocation
|
|
110
|
+
* semantics and are populated by Phase 2 of the unification (rehydration +
|
|
111
|
+
* `launchConversation`). They are typed optional so existing call sites that
|
|
112
|
+
* only set the original field set continue to compile and behave identically.
|
|
113
|
+
*
|
|
114
|
+
* `ConversationRecord` is the forward name for this shape, re-exported by
|
|
115
|
+
* `features/agents/redux/execution-system/conversations/conversations.slice.ts`.
|
|
116
|
+
*/
|
|
117
|
+
export interface ExecutionInstance {
|
|
118
|
+
conversationId: string;
|
|
119
|
+
agentId: string;
|
|
120
|
+
agentType: AgentType;
|
|
121
|
+
origin: InstanceOrigin;
|
|
122
|
+
shortcutId: string | null;
|
|
123
|
+
/**
|
|
124
|
+
* The launch declared its inputs (a shortcut, binding or per-launch value
|
|
125
|
+
* mapping): every turn sends only what it mapped plus always-on values,
|
|
126
|
+
* never the page (`mapScopeToInstanceWithSurface`, W-31). Stamped by
|
|
127
|
+
* `launchAgentExecution`; absent = an unmapped run that follows the page.
|
|
128
|
+
*/
|
|
129
|
+
engineeredInputs?: boolean;
|
|
130
|
+
status: InstanceStatus;
|
|
131
|
+
sourceApp: SourceAppValue;
|
|
132
|
+
sourceFeature: SourceFeatureValue;
|
|
133
|
+
/**
|
|
134
|
+
* How this conversation's runs get triggered by default — stamped at
|
|
135
|
+
* creation (launch option / creation args). Per-send overrides win (a user
|
|
136
|
+
* typing into an auto-launched conversation is a "user" send). Absent ⇒
|
|
137
|
+
* the assemblers default to "user" for the interactive send paths.
|
|
138
|
+
*/
|
|
139
|
+
initiation?: RequestInitiation;
|
|
140
|
+
/**
|
|
141
|
+
* The launching SURFACE writes this conversation's result itself (a deck, a
|
|
142
|
+
* mind map, one merged artifact of a segmented run), so the stream's commit
|
|
143
|
+
* step and the on-load reconcile must never materialize its assistant turns
|
|
144
|
+
* into canvas items / feature records — doing so minted one twin deck per
|
|
145
|
+
* section (live 2026-09-28). Stamped at launch (`surfaceOwnsOutput` launch
|
|
146
|
+
* option), persisted as `chat.conversation.metadata.surface_owns_output`,
|
|
147
|
+
* and restored by `loadConversation`, so a reload or resume keeps it. Read
|
|
148
|
+
* only through `selectConversationSurfaceOwnsOutput`.
|
|
149
|
+
*/
|
|
150
|
+
surfaceOwnsOutput?: boolean;
|
|
151
|
+
/** True until the server confirms this conversation ID via X-Conversation-ID header */
|
|
152
|
+
cacheOnly: boolean;
|
|
153
|
+
createdAt: string;
|
|
154
|
+
updatedAt: string;
|
|
155
|
+
/**
|
|
156
|
+
* Canonical owner — `cx_conversation.created_by` (trigger-stamped). This is
|
|
157
|
+
* the field ownership/edit decisions must read. (The old `user_id` column was
|
|
158
|
+
* dropped from `cx_conversation` in favor of `created_by`.)
|
|
159
|
+
*/
|
|
160
|
+
createdBy?: string | null;
|
|
161
|
+
/**
|
|
162
|
+
* May the signed-in viewer ADD a turn here? The access kernel's answer
|
|
163
|
+
* (`iam.has_access('conversation', id, 'editor')`), asked by
|
|
164
|
+
* `loadConversation` when the viewer is not the owner. `undefined` means
|
|
165
|
+
* the conversation is the viewer's own (or brand new) — a reply is allowed.
|
|
166
|
+
* `false` = a view-level share: the composer is replaced by an honest
|
|
167
|
+
* view-only bar (W-65). Read only through `selectViewerCanReply`.
|
|
168
|
+
*/
|
|
169
|
+
viewerCanReply?: boolean;
|
|
170
|
+
/** Canonical DB column name for the agent that started this conversation. */
|
|
171
|
+
initialAgentId?: string | null;
|
|
172
|
+
/** Agent version that started this conversation (pinned for shortcuts/apps). */
|
|
173
|
+
initialAgentVersionId?: string | null;
|
|
174
|
+
/**
|
|
175
|
+
* THE MANDATE DOOR. When set, this conversation's FIRST turn is POSTed to
|
|
176
|
+
* `/ai/mandates/{mandateKey}` instead of `/ai/agents/{agentId}` — the server
|
|
177
|
+
* resolves the principal's binding and decides which agent actually answers.
|
|
178
|
+
*
|
|
179
|
+
* `agentId` on a mandate-driven conversation is DISPLAY IDENTITY ONLY (the
|
|
180
|
+
* name/avatar the surface paints before the stream starts). It is never the
|
|
181
|
+
* run target, which is why an org/user rebind changes who answers with no
|
|
182
|
+
* client deploy. Turn 2+ continues on `/ai/conversations/{id}` exactly as
|
|
183
|
+
* before — the conversation is already bound to the agent the server chose.
|
|
184
|
+
*/
|
|
185
|
+
mandateKey?: AnyMandateKey | null;
|
|
186
|
+
/** Model id used on the most recent assistant turn. */
|
|
187
|
+
lastModelId?: string | null;
|
|
188
|
+
parentConversationId?: string | null;
|
|
189
|
+
forkedFromId?: string | null;
|
|
190
|
+
forkedAtPosition?: number | null;
|
|
191
|
+
organizationId?: string | null;
|
|
192
|
+
projectId?: string | null;
|
|
193
|
+
taskId?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Durable-entity identity this conversation belongs to. When present it goes
|
|
196
|
+
* out as `context_anchor` on every turn and the SERVER reloads that row to
|
|
197
|
+
* derive authoritative organization/project/task — ambient picker values are
|
|
198
|
+
* recorded as drift, never allowed to redefine an established entity
|
|
199
|
+
* (aidream `services/conversation_context/scope.py#bind_request_scope`).
|
|
200
|
+
*/
|
|
201
|
+
contextAnchor?: ContextAnchor | null;
|
|
202
|
+
/** Stable UI-surface key (e.g. "agent-runner:<agentId>", "code-editor"). */
|
|
203
|
+
surfaceKey?: string;
|
|
204
|
+
/**
|
|
205
|
+
* The DB-registered `ui_surface.name` this conversation was LAUNCHED from
|
|
206
|
+
* (e.g. `matrx-user/quick-note-save`). Distinct from `surfaceKey`, which is
|
|
207
|
+
* a UI rendering-context string, not a surface the server knows.
|
|
208
|
+
*
|
|
209
|
+
* Stamped by `launchAgentExecution` whenever the launch resolved a surface.
|
|
210
|
+
* `buildToolInjection` prefers it over the route-derived guess so the
|
|
211
|
+
* server resolves against the surface the run actually belongs to.
|
|
212
|
+
*
|
|
213
|
+
* This is the ONLY way an OVERLAY surface can be attributed correctly: its
|
|
214
|
+
* window renders on top of a mapped route, so `detectActiveSurface()` (which
|
|
215
|
+
* reads `window.location.pathname`) always reports the ROUTE — on
|
|
216
|
+
* `/chat/[id]` that is `matrx-user/chat`, never the open window's surface.
|
|
217
|
+
*
|
|
218
|
+
* Absent on conversations that never launched from a surface (a plain chat
|
|
219
|
+
* send), which is what keeps those runs on the route-derived behavior.
|
|
220
|
+
*/
|
|
221
|
+
surfaceName?: string | null;
|
|
222
|
+
/**
|
|
223
|
+
* The mapping a person chose for this run (Custom Agent's "Map Inputs"),
|
|
224
|
+
* and the page it was captured on. Lets an answer offer "Save as shortcut"
|
|
225
|
+
* and "Bind to this page" with that exact mapping. Tab lifetime only.
|
|
226
|
+
*/
|
|
227
|
+
launchMapping?: {
|
|
228
|
+
valueMappings: ValueMappingMap;
|
|
229
|
+
surfaceName: string | null;
|
|
230
|
+
} | null;
|
|
231
|
+
/**
|
|
232
|
+
* When true, the server persists NOTHING for this conversation. Redux
|
|
233
|
+
* (specifically the messages slice) is the sole source of truth.
|
|
234
|
+
*
|
|
235
|
+
* Routing implication handled by `launchConversation`:
|
|
236
|
+
* Turn 1 — POST /ai/agents/{id} with the client's id, is_new:true,
|
|
237
|
+
* store:false. `store` is what makes it ephemeral.
|
|
238
|
+
* Turn 2+ — POST /ai/chat (NOT /conversations/{id}; it 404s with no row).
|
|
239
|
+
* Client sends the full accumulated history from `messages/`.
|
|
240
|
+
*/
|
|
241
|
+
isEphemeral?: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* Whether this conversation may be split (auto-clear "iterate") or must stay
|
|
244
|
+
* a single durable thread. Stamped once at creation from
|
|
245
|
+
* `deriveConversationLifecycle`; the `smartExecute` split gate reads it so a
|
|
246
|
+
* durable ("continuous"/undefined) conversation can never be orphaned. See
|
|
247
|
+
* `ConversationLifecycle`.
|
|
248
|
+
*/
|
|
249
|
+
conversationLifecycle?: ConversationLifecycle;
|
|
250
|
+
title?: string | null;
|
|
251
|
+
description?: string | null;
|
|
252
|
+
keywords?: string[] | null;
|
|
253
|
+
/** System instruction snapshot — persisted on cx_conversation. */
|
|
254
|
+
systemInstruction?: string | null;
|
|
255
|
+
/** Lifecycle status on the cx_conversation row — "active" | "archived". */
|
|
256
|
+
persistedStatus?: "active" | "archived";
|
|
257
|
+
messageCount?: number;
|
|
258
|
+
/**
|
|
259
|
+
* Selects the API path family when dispatching through `launchConversation`.
|
|
260
|
+
* "agent" — full harness API (`agents/{id}` → `conversations/{id}`).
|
|
261
|
+
* "manual" — raw prompt-style API (`prompts`). Builder only.
|
|
262
|
+
*
|
|
263
|
+
* NOTE: Legacy surface uses "chat" as the second value. "manual" is the
|
|
264
|
+
* canonical name from the invocation reference. Until Phase 3 retires the
|
|
265
|
+
* legacy callers the field is typed as the union of both.
|
|
266
|
+
*/
|
|
267
|
+
apiEndpointMode?: ApiEndpointMode;
|
|
268
|
+
/** Only meaningful when `apiEndpointMode === "manual"`. Builder mechanism. */
|
|
269
|
+
reuseConversationId?: boolean;
|
|
270
|
+
builderAdvancedSettings?: BuilderAdvancedSettings | null;
|
|
271
|
+
metadata?: Record<string, unknown>;
|
|
272
|
+
/**
|
|
273
|
+
* A known non-terminal server-side operation for this conversation, stamped
|
|
274
|
+
* from aidream's `/runtime` reconnect surface (SERVER truth — survives page
|
|
275
|
+
* refresh). Drives the "still working on the server" banner; `null`/absent
|
|
276
|
+
* means no such operation. Written only by `reconnectServerOperation`.
|
|
277
|
+
*/
|
|
278
|
+
serverOperation?: ServerOperationState | null;
|
|
279
|
+
/**
|
|
280
|
+
* THE sandbox this conversation is bound to — the single source of truth,
|
|
281
|
+
* identical in shape whether the conversation was just created locally or
|
|
282
|
+
* fetched from the DB. The agent's fs/shell/git tools route into this box.
|
|
283
|
+
*
|
|
284
|
+
* Persisted on `cx_conversation.sandbox_instance_id` (+ proxyUrl / tier /
|
|
285
|
+
* kind / name mirrored into `cx_conversation.metadata`) and rehydrated by the
|
|
286
|
+
* conversation bundle — so the SERVER, which checks the same column, can
|
|
287
|
+
* never disagree with us about which box is bound. Ephemeral conversations
|
|
288
|
+
* (no cx_* row) keep it in memory only, by design.
|
|
289
|
+
*
|
|
290
|
+
* `null`/absent means genuinely NOT BOUND — and the pre-send hard-gate reads
|
|
291
|
+
* exactly this. The per-surface `activeAgentSandboxBySurface` preference is a
|
|
292
|
+
* SEED for new conversations, not a binding: it arms an unbound conversation
|
|
293
|
+
* at turn time and is then promoted here (see `active-binding.ts`).
|
|
294
|
+
*/
|
|
295
|
+
sandboxBinding?: {
|
|
296
|
+
rowId: string;
|
|
297
|
+
proxyUrl: string;
|
|
298
|
+
tier?: "ec2" | "hosted";
|
|
299
|
+
/**
|
|
300
|
+
* Compute-target kind. Absent / "ec2" / "hosted" → orchestrator sandbox.
|
|
301
|
+
* "local-pc" → user's matrx-local PC over Cloudflare tunnel; the
|
|
302
|
+
* binding payload is resolved server-side at chat-send time and
|
|
303
|
+
* `proxyUrl` is empty (the URL is built by `/api/compute-targets/resolve`).
|
|
304
|
+
*/
|
|
305
|
+
kind?: "ec2" | "hosted" | "local-pc";
|
|
306
|
+
/** Display label latched at selection — rendered without re-fetching. */
|
|
307
|
+
name?: string;
|
|
308
|
+
} | null;
|
|
309
|
+
/**
|
|
310
|
+
* True once `sandboxBinding` has been written to `cx_conversation`. A binding
|
|
311
|
+
* set on a conversation that has no DB row yet (`cacheOnly` — the row is
|
|
312
|
+
* created server-side by the first turn) can't be persisted at that moment;
|
|
313
|
+
* this flag is what makes the write get retried on the next send, so the
|
|
314
|
+
* column the SERVER reads never silently drifts from what the client thinks
|
|
315
|
+
* is bound. Always true for a binding rehydrated from the DB.
|
|
316
|
+
*/
|
|
317
|
+
sandboxBindingPersisted?: boolean;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* The override layer for an instance's model config.
|
|
321
|
+
*
|
|
322
|
+
* CRITICAL: baseSettings is a snapshot copied from the agent at creation time.
|
|
323
|
+
* No component or selector should ever look up agentId for model settings.
|
|
324
|
+
*
|
|
325
|
+
* Three states for any setting key:
|
|
326
|
+
* - NOT in overrides AND NOT in removals → untouched, falls through to baseSettings
|
|
327
|
+
* - IN overrides → changed to a new value
|
|
328
|
+
* - IN removals → explicitly removed (do not send, even if default exists)
|
|
329
|
+
*/
|
|
330
|
+
export interface InstanceModelOverrideState {
|
|
331
|
+
conversationId: string;
|
|
332
|
+
/** Snapshot of agent's LLM settings at instance creation. Never look up agentId again. */
|
|
333
|
+
baseSettings: Partial<LLMParams>;
|
|
334
|
+
overrides: Partial<LLMParams>;
|
|
335
|
+
removals: string[];
|
|
336
|
+
/**
|
|
337
|
+
* Override keys a LAUNCH wrote (the caller's config, a shortcut, the
|
|
338
|
+
* person's default-chat-model preference on the basic-chat door), not the
|
|
339
|
+
* person's own picker. They belong to THIS conversation's agent only: an
|
|
340
|
+
* agent switch never carries them (W-81). Absent = none.
|
|
341
|
+
*/
|
|
342
|
+
seededKeys?: string[];
|
|
343
|
+
}
|
|
344
|
+
export type ResourceStatus = "pending" | "resolving" | "ready" | "error";
|
|
345
|
+
/**
|
|
346
|
+
* All possible resource/content block types.
|
|
347
|
+
*
|
|
348
|
+
* The first group maps to the ContentBlock union from the AI API types —
|
|
349
|
+
* those resources serialize to structured `MessagePart`s in `user_input`.
|
|
350
|
+
*
|
|
351
|
+
* The `editor_*` group is different: those resources serialize to **XML in
|
|
352
|
+
* the user message text**, not to structured blocks. They're for pills the
|
|
353
|
+
* code editor surfaces (errors, code snippets) where the persisted user
|
|
354
|
+
* message must round-trip through the DB and re-render as chips on load.
|
|
355
|
+
*/
|
|
356
|
+
export type ResourceBlockType = "text" | "image" | "audio" | "video" | "youtube_video" | "document" | "input_webpage" | "input_notes" | "input_task" | "input_table" | "input_list" | "input_data" | "input_agent" | "input_project" | "input_agent_app" | "input_transcript" | "input_transcript_session" | "input_workbook" | "input_document" | "processed_document" | "source_ref" | "editor_error" | "editor_code_snippet" | "input_remarks";
|
|
357
|
+
/**
|
|
358
|
+
* Which representation of a processed document is the PRIMARY one placed in the
|
|
359
|
+
* agent's context. The agent reaches the other formats (raw text, per-page,
|
|
360
|
+
* knowledge assets, PDF page images) on demand via the `document_content` tool.
|
|
361
|
+
*/
|
|
362
|
+
export type DocumentRepresentation = "clean" | "raw" | "pdf";
|
|
363
|
+
export interface ResourceOptions {
|
|
364
|
+
keepFresh: boolean;
|
|
365
|
+
editable: boolean;
|
|
366
|
+
convertToText: boolean;
|
|
367
|
+
optionalContext: boolean;
|
|
368
|
+
template?: "full" | "compact" | "minimal";
|
|
369
|
+
/** For `processed_document` resources: the chosen primary representation. */
|
|
370
|
+
representation?: DocumentRepresentation;
|
|
371
|
+
/** Per-reference file-family promotion/suppression policy. */
|
|
372
|
+
resourcePolicy?: VariableResourceContextConfig;
|
|
373
|
+
}
|
|
374
|
+
export interface ManagedResource {
|
|
375
|
+
resourceId: string;
|
|
376
|
+
blockType: ResourceBlockType;
|
|
377
|
+
/** Raw input: URL string, file data, note IDs, bookmark objects, etc. */
|
|
378
|
+
source: unknown;
|
|
379
|
+
/** Client-resolved preview for the UI (scraped text, image thumbnail, etc.) */
|
|
380
|
+
preview: unknown | null;
|
|
381
|
+
/** Current lifecycle status */
|
|
382
|
+
status: ResourceStatus;
|
|
383
|
+
/** Error message if status is 'error' */
|
|
384
|
+
errorMessage: string | null;
|
|
385
|
+
/** Did the user modify the resolved content? */
|
|
386
|
+
userEdited: boolean;
|
|
387
|
+
/** The user's modified version (only when userEdited is true) */
|
|
388
|
+
editedContent: unknown | null;
|
|
389
|
+
/** Behavioral flags */
|
|
390
|
+
options: ResourceOptions;
|
|
391
|
+
/** The assembled ContentBlock payload ready for the API call */
|
|
392
|
+
finalPayload: UserInputPart | null;
|
|
393
|
+
/** Sort order for display and payload assembly */
|
|
394
|
+
sortOrder: number;
|
|
395
|
+
}
|
|
396
|
+
export interface InstanceContextEntry {
|
|
397
|
+
key: string;
|
|
398
|
+
value: unknown;
|
|
399
|
+
/** Whether this key matched an agent-defined context policy */
|
|
400
|
+
slotMatched: boolean;
|
|
401
|
+
/** If mandate-matched, the mandate's type. Otherwise inferred. */
|
|
402
|
+
type: ContextObjectType;
|
|
403
|
+
/** Display label (from mandate or auto-generated) */
|
|
404
|
+
label: string;
|
|
405
|
+
/**
|
|
406
|
+
* The surface whose live runtime PUBLISHED this value (a transcript open on
|
|
407
|
+
* the Knowledge page publishes `transcript_title` as `matrx-user/transcripts`).
|
|
408
|
+
* A value sits under the page that produced it — its row, its page layer and
|
|
409
|
+
* the person's rule for it are that surface's (`collectContextRowSources`).
|
|
410
|
+
* Absent for values no page published (attachments, host-written context).
|
|
411
|
+
*/
|
|
412
|
+
surfaceName?: string;
|
|
413
|
+
}
|
|
414
|
+
export type InputSubmissionPhase = "idle" | "pending" | "persisted";
|
|
415
|
+
/**
|
|
416
|
+
* THE PRE-SEND WINDOW, made visible. Between the person pressing Send and the
|
|
417
|
+
* request being admitted (`markInputSubmitted`), a surface may do real work —
|
|
418
|
+
* the tutor searches the learner's material for 10–25 s. That window used to
|
|
419
|
+
* show NOTHING, and a failure in it only reached the console (2026-09-28).
|
|
420
|
+
* `preparing` renders the outgoing message with what is happening to it;
|
|
421
|
+
* `failed` renders an honest in-place error with Retry. The composer `text`
|
|
422
|
+
* is never touched by either — the draft stays exactly as typed.
|
|
423
|
+
*/
|
|
424
|
+
export interface PreSendState {
|
|
425
|
+
status: "preparing" | "failed";
|
|
426
|
+
/** The text being sent, captured at press time (display only). */
|
|
427
|
+
text: string;
|
|
428
|
+
/** What is happening, e.g. "Searching your study material". */
|
|
429
|
+
label: string;
|
|
430
|
+
/** Present only when `status === "failed"`: what failed, in plain words. */
|
|
431
|
+
error?: string;
|
|
432
|
+
startedAt: number;
|
|
433
|
+
}
|
|
434
|
+
export interface InstanceUserInputState {
|
|
435
|
+
conversationId: string;
|
|
436
|
+
/** Plain text input from the user */
|
|
437
|
+
text: string;
|
|
438
|
+
/**
|
|
439
|
+
* If the user is composing mixed content (text + inline images, etc.),
|
|
440
|
+
* this holds the structured parts. When null, `text` is the only input.
|
|
441
|
+
*/
|
|
442
|
+
messageParts: MessagePart[] | null;
|
|
443
|
+
/**
|
|
444
|
+
* Phase of the most recent submission lifecycle.
|
|
445
|
+
* idle — not submitting (also: the user has typed a NEW draft — the
|
|
446
|
+
* instant they hit a key, setUserInputText resets phase to idle)
|
|
447
|
+
* pending — submit dispatched, server has not yet confirmed persistence
|
|
448
|
+
* persisted — server confirmed cx_user_request record reserved; text visually cleared
|
|
449
|
+
*
|
|
450
|
+
* SACRED: clearing `text` (markInputPersisted / clearUserInput) is gated on
|
|
451
|
+
* `isInputDraftProtected` — see instance-user-input/input-draft-protection.ts.
|
|
452
|
+
* The composer holds the user's NEXT message after a submit and must never be
|
|
453
|
+
* wiped by stream/conversation events. Phase=idle + text≠lastSubmittedText
|
|
454
|
+
* means a live draft is present and is untouchable.
|
|
455
|
+
*/
|
|
456
|
+
submissionPhase: InputSubmissionPhase;
|
|
457
|
+
/**
|
|
458
|
+
* Snapshot of the text/userValues captured at submit time. Preserved through
|
|
459
|
+
* the "persisted" phase so we can re-apply after a conversation reset.
|
|
460
|
+
* Cleared on full completion.
|
|
461
|
+
*/
|
|
462
|
+
lastSubmittedText: string;
|
|
463
|
+
lastSubmittedUserValues: Record<string, unknown>;
|
|
464
|
+
/**
|
|
465
|
+
* Snapshot of the text/userValues from the FIRST submit on this instance
|
|
466
|
+
* lineage — the state the engineer had when they first clicked submit (no
|
|
467
|
+
* history yet). Captured once, never overwritten, and carried forward across
|
|
468
|
+
* autoclear splits / resets. The builder's auto-clear toggle re-applies this
|
|
469
|
+
* so the engineer can return to the exact original test inputs at any time.
|
|
470
|
+
* `undefined` until the first submit.
|
|
471
|
+
*/
|
|
472
|
+
originalSubmittedText?: string;
|
|
473
|
+
originalSubmittedUserValues?: Record<string, unknown>;
|
|
474
|
+
/**
|
|
475
|
+
* The ATTACHMENTS of that same first submit — its structured message parts
|
|
476
|
+
* and its resource chips, exactly as they were — so the auto-clear restore
|
|
477
|
+
* brings back the identical request, files included. Captured and carried
|
|
478
|
+
* with `originalSubmittedText`; `undefined` until the first submit.
|
|
479
|
+
*/
|
|
480
|
+
originalSubmittedAttachments?: SubmittedAttachments;
|
|
481
|
+
/** The visible pre-send window — see `PreSendState`. Null/absent when idle. */
|
|
482
|
+
preSend?: PreSendState | null;
|
|
483
|
+
}
|
|
484
|
+
/** The attachments of one submitted message, as the composer held them. */
|
|
485
|
+
export interface SubmittedAttachments {
|
|
486
|
+
messageParts: MessagePart[] | null;
|
|
487
|
+
resources: ManagedResource[];
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* Transient builder/test settings sent to the chat endpoint on each call.
|
|
491
|
+
* NOT persisted with the agent definition — destroyed with the instance.
|
|
492
|
+
*/
|
|
493
|
+
export interface BuilderAdvancedSettings {
|
|
494
|
+
debug: boolean;
|
|
495
|
+
store: boolean;
|
|
496
|
+
maxIterations: number;
|
|
497
|
+
maxRetriesPerIteration: number;
|
|
498
|
+
/**
|
|
499
|
+
* When true, the system message from the agent's priming messages is extracted
|
|
500
|
+
* and sent as a structured `system_instruction` object instead of being included
|
|
501
|
+
* inline in the `messages` array.
|
|
502
|
+
*
|
|
503
|
+
* The structured form unlocks the server's SystemInstruction builder — intro,
|
|
504
|
+
* outro, content_blocks, tools_list, date injection, guidelines sections, etc.
|
|
505
|
+
*
|
|
506
|
+
* Default: false — the simple path (system message stays in messages[]).
|
|
507
|
+
*/
|
|
508
|
+
useStructuredSystemInstruction: boolean;
|
|
509
|
+
/**
|
|
510
|
+
* User-provided overrides for structured system instruction fields.
|
|
511
|
+
* Only applied when `useStructuredSystemInstruction` is true.
|
|
512
|
+
* The `content` / `base_instruction` field is auto-populated from the
|
|
513
|
+
* agent's system message — the rest are additive fields the user configures
|
|
514
|
+
* via the structured instruction modal.
|
|
515
|
+
*/
|
|
516
|
+
structuredInstruction: Partial<SystemInstruction>;
|
|
517
|
+
/**
|
|
518
|
+
* THE PERSON'S per-chat auto-tools switch (TOOL-SOURCES rule A), sent as
|
|
519
|
+
* `user.auto_tools` on every turn and saved with the conversation
|
|
520
|
+
* (`metadata.run_configuration.auto_tools`). `null`/absent = follow the
|
|
521
|
+
* agent's own `auto_tools_disabled`; `true`/`false` overrides it both ways.
|
|
522
|
+
* OFF ⇒ the server adds no transient tools and the client offers no page
|
|
523
|
+
* tools; the agent's own tools, picks (`addedTools`) and self-healing tools
|
|
524
|
+
* still ride.
|
|
525
|
+
*/
|
|
526
|
+
autoTools?: boolean | null;
|
|
527
|
+
/**
|
|
528
|
+
* Creator-only "Surface Simulator": when set, `buildToolInjection` sends
|
|
529
|
+
* this exact `ui_surface.name` as `client.surface` instead of the
|
|
530
|
+
* route-detected one — letting a creator mimic ANY surface (matrx-user/*,
|
|
531
|
+
* matrx-admin/*, chrome-extension/*, …). The server resolves it normally
|
|
532
|
+
* and cannot tell it is simulated. null/empty → use the detected surface.
|
|
533
|
+
*/
|
|
534
|
+
surfaceOverride?: string | null;
|
|
535
|
+
/**
|
|
536
|
+
* Tools the user added to THIS conversation from the Smart Input tools menu
|
|
537
|
+
* — registry tool UUIDs. Sent as `user.add` (TOOL-SOURCES P2): explicit
|
|
538
|
+
* picks survive the auto-tools switch and beat the agent's forbidden list.
|
|
539
|
+
* Never mixed into the anonymous request `tools[]`.
|
|
540
|
+
*/
|
|
541
|
+
addedTools?: string[];
|
|
542
|
+
/**
|
|
543
|
+
* Tools the person REMOVED from THIS conversation (registry tool names, or a
|
|
544
|
+
* custom tool's name). Sent as `user.remove` — absolute on the server.
|
|
545
|
+
*/
|
|
546
|
+
removedTools?: string[];
|
|
547
|
+
/**
|
|
548
|
+
* Connected MCP servers explicitly enabled for THIS conversation. These are
|
|
549
|
+
* server slugs (not registry-tool IDs) and are sent as `client.mcp`, so the
|
|
550
|
+
* server resolves the user's existing connection and its current tools.
|
|
551
|
+
*/
|
|
552
|
+
addedMcpServers?: string[];
|
|
553
|
+
/**
|
|
554
|
+
* Skills the user added to THIS conversation from the Smart Input skills menu
|
|
555
|
+
* — registry skill UUIDs, additive on top of the agent's saved `skill_config`.
|
|
556
|
+
* `buildSkillConfigForRequest` folds them into `included` for the request's
|
|
557
|
+
* `skill_config` field so aidream's `apply_unified_skills` bakes the bodies
|
|
558
|
+
* into the system preamble for this run.
|
|
559
|
+
*/
|
|
560
|
+
addedSkills?: string[];
|
|
561
|
+
/**
|
|
562
|
+
* The composer's Output → types the person asked for in THIS conversation
|
|
563
|
+
* (`text`, `image`, `audio`, `video`, `voice`, `music`, `document`, …; ids
|
|
564
|
+
* from `composer/output-selection.ts` OUTPUT_TYPES). Multi-select, Text on
|
|
565
|
+
* by default. NOT SENT: no request field carries requested output types
|
|
566
|
+
* today, so this is saved for the chat and shown — the panel says so.
|
|
567
|
+
*/
|
|
568
|
+
outputTypes?: string[];
|
|
569
|
+
/**
|
|
570
|
+
* The composer's Output → Shapes: every content_ir kind slug picked for
|
|
571
|
+
* THIS conversation. A kind whose render_block skill exists ALSO has that
|
|
572
|
+
* skill in `addedSkills` (that is what reaches the run, via
|
|
573
|
+
* `skill_config.included`); a kind without one is recorded here only and
|
|
574
|
+
* labelled as not sent.
|
|
575
|
+
*/
|
|
576
|
+
outputKinds?: string[];
|
|
577
|
+
/**
|
|
578
|
+
* Creator/admin-only, THIS conversation only: override the backend route the
|
|
579
|
+
* Builder's manual execution POSTs to. Normally the Builder always hits
|
|
580
|
+
* `/ai/manual` (the live-definition execution path). Set this to test the
|
|
581
|
+
* SAME request body against a different route — e.g. "/v2/ai/manual" — without
|
|
582
|
+
* editing code. The base URL / server selection (incl. localhost) is
|
|
583
|
+
* untouched; only the path changes. null/empty → use `ENDPOINTS.ai.manual`.
|
|
584
|
+
*
|
|
585
|
+
* Takes precedence over the global apiConfig version/path overrides for this
|
|
586
|
+
* one conversation. Value may be given with or without a leading slash.
|
|
587
|
+
*/
|
|
588
|
+
manualEndpointOverride?: string | null;
|
|
589
|
+
/**
|
|
590
|
+
* MANUAL, default-OFF, THIS conversation only: arm the `agent-fs` client
|
|
591
|
+
* capability. When true, `buildToolInjection` adds `"agent-fs"` to
|
|
592
|
+
* `client.capabilities` (stateless — no `state` entry), which tells the
|
|
593
|
+
* backend to bring `fs_*` + `shell_execute` online against the user's
|
|
594
|
+
* durable `code.code_files`-backed VFS even with NO sandbox attached. Files
|
|
595
|
+
* persist to the user's Code Snippets under `/home/agent/...`.
|
|
596
|
+
*
|
|
597
|
+
* Not rolled out — kept behind an explicit toggle in "Chat Options →
|
|
598
|
+
* Settings" until deliberately shipped. Default: false. NEVER auto-enable.
|
|
599
|
+
*/
|
|
600
|
+
agentFs?: boolean;
|
|
601
|
+
/**
|
|
602
|
+
* Creator/admin-only, THIS conversation only: a raw JSON object shallow-
|
|
603
|
+
* merged onto the outbound request body just before POST — the "add anything
|
|
604
|
+
* I want to the request for testing" escape hatch. Top-level keys override
|
|
605
|
+
* the assembled payload (e.g. `{"debug":true,"client":{...},"foo":1}`). The
|
|
606
|
+
* backend allows extra keys (`extra="allow"`) and warns on unrecognized ones.
|
|
607
|
+
*
|
|
608
|
+
* Stored as the raw text the user typed so an in-progress edit round-trips;
|
|
609
|
+
* parsed at send time. Invalid JSON is skipped loudly (toast) — the request
|
|
610
|
+
* still goes without the override. null/empty → no override.
|
|
611
|
+
*/
|
|
612
|
+
requestOverrides?: string | null;
|
|
613
|
+
}
|
|
614
|
+
export declare const DEFAULT_BUILDER_ADVANCED_SETTINGS: BuilderAdvancedSettings;
|
|
615
|
+
export interface JsonExtractionConfig {
|
|
616
|
+
enabled: boolean;
|
|
617
|
+
fuzzyOnFinalize?: boolean;
|
|
618
|
+
maxResults?: number;
|
|
619
|
+
}
|
|
620
|
+
export interface InstanceUIState {
|
|
621
|
+
conversationId: string;
|
|
622
|
+
displayMode: ResultDisplayMode;
|
|
623
|
+
/**
|
|
624
|
+
* When true, execution starts automatically as soon as the instance has
|
|
625
|
+
* sufficient input (variables filled, user input set, etc.).
|
|
626
|
+
* When false, the user must explicitly trigger execution.
|
|
627
|
+
*/
|
|
628
|
+
autoRun: boolean;
|
|
629
|
+
/** Whether the user can continue chatting after the first response. */
|
|
630
|
+
allowChat: boolean;
|
|
631
|
+
/**
|
|
632
|
+
* When true, an intermediate input overlay is shown before the main display.
|
|
633
|
+
* The user enters text, clicks "Continue", and then the main component renders.
|
|
634
|
+
* Primarily for inline/toast/compact modes where the main display has no input.
|
|
635
|
+
*/
|
|
636
|
+
showPreExecutionGate: boolean;
|
|
637
|
+
/**
|
|
638
|
+
* Flips to true after the user completes the pre-execution input step.
|
|
639
|
+
* Components check: if showPreExecutionGate && !preExecutionSatisfied → show gate.
|
|
640
|
+
*/
|
|
641
|
+
preExecutionSatisfied: boolean;
|
|
642
|
+
/** Whether the variable input panel is visible. Independent of message display. */
|
|
643
|
+
showVariablePanel: boolean;
|
|
644
|
+
/**
|
|
645
|
+
* Whether definition-sourced conversation turns (fabricated user messages from
|
|
646
|
+
* the agent's priming definition) are visible at all. When false, the first N
|
|
647
|
+
* turns (where N = hiddenMessageCount) are completely hidden.
|
|
648
|
+
*/
|
|
649
|
+
showDefinitionMessages: boolean;
|
|
650
|
+
/**
|
|
651
|
+
* When definition messages ARE shown, whether the "secret" template portion
|
|
652
|
+
* (system prompt instructions, variable placeholders in the raw form) is visible.
|
|
653
|
+
* When false, only user-entered values (variables, resources, attachments) render.
|
|
654
|
+
*/
|
|
655
|
+
showDefinitionMessageContent: boolean;
|
|
656
|
+
/**
|
|
657
|
+
* Whether sub-agent turns appear in the transcript. When false, consumer
|
|
658
|
+
* components filter them out when projecting the messages slice into the
|
|
659
|
+
* display list (data is still stored on the record — no loss). Default true.
|
|
660
|
+
*/
|
|
661
|
+
showSubAgents?: boolean;
|
|
662
|
+
/**
|
|
663
|
+
* Number of agent-definition messages to hide from the conversation display.
|
|
664
|
+
* Fetched from `agx_get_defined_data` RPC at instance creation time.
|
|
665
|
+
*
|
|
666
|
+
* ⚠️ TEMPORARY: This is a stopgap until the backend streams per-message
|
|
667
|
+
* shown-to flags (is_visible_to_user / is_visible_to_model).
|
|
668
|
+
*/
|
|
669
|
+
hiddenMessageCount: number;
|
|
670
|
+
/**
|
|
671
|
+
* CallbackManager id for this instance's WidgetHandle — a single object
|
|
672
|
+
* carrying capability methods (onTextReplace, onAttachMedia, ...) and
|
|
673
|
+
* lifecycle methods (onComplete, onCancel, onError). The submit-body
|
|
674
|
+
* assembler reads the handle per-turn via `callbackManager.get(id)` to
|
|
675
|
+
* derive `client_tools`; the tool_delegated dispatcher routes widget_*
|
|
676
|
+
* calls to the corresponding method.
|
|
677
|
+
*
|
|
678
|
+
* Stored as a string so Redux stays serializable. See
|
|
679
|
+
* `features/agents/types/widget-handle.types.ts` for the contract.
|
|
680
|
+
*/
|
|
681
|
+
widgetHandleId: string | null;
|
|
682
|
+
isExpanded: boolean;
|
|
683
|
+
/**
|
|
684
|
+
* The variable row currently expanded into an edit popover.
|
|
685
|
+
* null = no variable is expanded.
|
|
686
|
+
*/
|
|
687
|
+
expandedVariableId: string | null;
|
|
688
|
+
/**
|
|
689
|
+
* Is the current user the creator/owner of the source agent?
|
|
690
|
+
* Copied at instance creation — never look up agentId for this.
|
|
691
|
+
*/
|
|
692
|
+
isCreator: boolean;
|
|
693
|
+
/** Show creator-only debug panels (request preview, variable provenance, etc.) */
|
|
694
|
+
showCreatorDebug: boolean;
|
|
695
|
+
/**
|
|
696
|
+
* Submit on Enter (vs Shift+Enter for newline).
|
|
697
|
+
* Defaults to true; users can toggle per-instance.
|
|
698
|
+
*/
|
|
699
|
+
submitOnEnter: boolean;
|
|
700
|
+
/**
|
|
701
|
+
* When true, the conversation history is cleared after each submission so
|
|
702
|
+
* every send starts a fresh agent call with no prior turns. The server never
|
|
703
|
+
* receives a conversationId from a previous turn.
|
|
704
|
+
*
|
|
705
|
+
* DEFAULT: true in builder/test Mode (AgentBuilderRightPanel).
|
|
706
|
+
* DEFAULT: false in run Mode (AgentRunPage) where multi-turn is desired.
|
|
707
|
+
*/
|
|
708
|
+
autoClearConversation: boolean;
|
|
709
|
+
/**
|
|
710
|
+
* When true, the auto-clear toggle is shown in the input area.
|
|
711
|
+
* When false, the auto-clear toggle is not shown.
|
|
712
|
+
*/
|
|
713
|
+
showAutoClearToggle: boolean;
|
|
714
|
+
/**
|
|
715
|
+
* When true, subsequent chat calls reuse the conversation_id from the first
|
|
716
|
+
* response. When false (default), each call gets a fresh conversation.
|
|
717
|
+
* Only applies to chat-Mode instances (builder test runs).
|
|
718
|
+
*/
|
|
719
|
+
reuseConversationId: boolean;
|
|
720
|
+
/**
|
|
721
|
+
* Builder-only control knobs sent to the chat endpoint.
|
|
722
|
+
* Ephemeral — not saved with the agent definition.
|
|
723
|
+
*/
|
|
724
|
+
builderAdvancedSettings: BuilderAdvancedSettings;
|
|
725
|
+
/** When true, reasoning/thinking blocks are not shown in the message list. */
|
|
726
|
+
hideReasoning: boolean;
|
|
727
|
+
/** When true, tool-call result blocks are not shown in the message list. */
|
|
728
|
+
hideToolResults: boolean;
|
|
729
|
+
/**
|
|
730
|
+
* Density of the assistant transcript chrome (tool call cards, thinking
|
|
731
|
+
* blocks, action bar).
|
|
732
|
+
* - "comfortable" (default): full chrome, persistent action bar.
|
|
733
|
+
* - "compact": one-line tool/thinking strips, hover-revealed controls,
|
|
734
|
+
* action bar appears only on hover unless this message is the latest.
|
|
735
|
+
*
|
|
736
|
+
* Designed for highly agentic / coding-style runs where dozens of tool
|
|
737
|
+
* calls + reasoning blocks would otherwise drown the actual model output.
|
|
738
|
+
* Per-conversation so a single surface (e.g. the code-editor agent runner)
|
|
739
|
+
* can opt in without affecting other chat surfaces.
|
|
740
|
+
*/
|
|
741
|
+
responseDensity: "comfortable" | "compact";
|
|
742
|
+
/**
|
|
743
|
+
* Optional app-level identity overrides for the AgentEmptyMessageDisplay
|
|
744
|
+
* (the centered hero shown before the first message). When null, the
|
|
745
|
+
* empty display falls back to the agent's name/description. Surfaces
|
|
746
|
+
* that want their own identity (agent-apps' Live Builder, the public
|
|
747
|
+
* /p/<slug> runner, embedded iframes) set these to surface the app
|
|
748
|
+
* identity rather than the underlying agent's.
|
|
749
|
+
*/
|
|
750
|
+
displayNameOverride: string | null;
|
|
751
|
+
displayDescriptionOverride: string | null;
|
|
752
|
+
/**
|
|
753
|
+
* Lucide icon name (or Matrx svg path) for the centered hero. Falls
|
|
754
|
+
* back to a default Webhook icon when null.
|
|
755
|
+
*/
|
|
756
|
+
displayIconNameOverride: string | null;
|
|
757
|
+
/**
|
|
758
|
+
* Settings group: input chrome — read by SmartAgentInput / AgentTextarea
|
|
759
|
+
* and friends. Surfaces (e.g. agent-apps) tune these at instance-create
|
|
760
|
+
* time so the input renders with the right affordances WITHOUT passing
|
|
761
|
+
* props through six render levels.
|
|
762
|
+
*
|
|
763
|
+
* - inputPlaceholder : null → use built-in default. Any
|
|
764
|
+
* string overrides the textarea
|
|
765
|
+
* placeholder.
|
|
766
|
+
* - showFreeformInput : false → render variables panel only,
|
|
767
|
+
* no free-text input. Apps with only
|
|
768
|
+
* structured inputs use this.
|
|
769
|
+
* - showAttachments : false → hide the file/image
|
|
770
|
+
* attach button + resource chips.
|
|
771
|
+
* - showMicrophone : false → hide the mic button in
|
|
772
|
+
* the input toolbar.
|
|
773
|
+
* - showUserMessageOptions : false → hide the ⋯ menu on user
|
|
774
|
+
* messages in the transcript.
|
|
775
|
+
* - showAssistantMessageOptions: false → same, for assistant
|
|
776
|
+
* messages.
|
|
777
|
+
* - bufferStream : true → wait for the stream to
|
|
778
|
+
* finish before painting, so the
|
|
779
|
+
* user sees one full response
|
|
780
|
+
* instead of a live-typing effect.
|
|
781
|
+
*/
|
|
782
|
+
inputPlaceholder: string | null;
|
|
783
|
+
showFreeformInput: boolean;
|
|
784
|
+
showAttachments: boolean;
|
|
785
|
+
showMicrophone: boolean;
|
|
786
|
+
showUserMessageOptions: boolean;
|
|
787
|
+
showAssistantMessageOptions: boolean;
|
|
788
|
+
bufferStream: boolean;
|
|
789
|
+
/**
|
|
790
|
+
* Optional message shown in the pre-execution input gate.
|
|
791
|
+
* Used to give the user context about what the agent expects.
|
|
792
|
+
*/
|
|
793
|
+
preExecutionMessage: string | null;
|
|
794
|
+
/**
|
|
795
|
+
* Seconds before the pre-execution gate auto-submits (falls through).
|
|
796
|
+
* 0 = wait indefinitely for the user. Any positive number starts a visible
|
|
797
|
+
* countdown in AgentGateBody that auto-advances once it reaches zero.
|
|
798
|
+
*/
|
|
799
|
+
bypassGateSeconds: number;
|
|
800
|
+
/**
|
|
801
|
+
* Controls which variable input UI style is rendered.
|
|
802
|
+
* - "inline" — compact rows above the textarea (default)
|
|
803
|
+
* - "wizard" — one variable at a time, fixed-height card with Back/Skip/Skip All
|
|
804
|
+
*/
|
|
805
|
+
variablesPanelStyle: VariablesPanelStyle;
|
|
806
|
+
/**
|
|
807
|
+
* Arbitrary UI state specific to the display Mode.
|
|
808
|
+
* E.g., scroll position, active tab, selected card, etc.
|
|
809
|
+
*/
|
|
810
|
+
modeState: Record<string, unknown>;
|
|
811
|
+
/**
|
|
812
|
+
* When set, processStream will run a StreamingJsonTracker during execution
|
|
813
|
+
* and dispatch extractedJson updates into the active request slice.
|
|
814
|
+
* Read by executeInstance at stream time.
|
|
815
|
+
*/
|
|
816
|
+
jsonExtraction?: JsonExtractionConfig | null;
|
|
817
|
+
/**
|
|
818
|
+
* The text that was selected in the editor/notes surface when the launch
|
|
819
|
+
* was triggered. Passed through to onTextReplace / onTextInsertBefore /
|
|
820
|
+
* onTextInsertAfter callbacks once the AI response is ready.
|
|
821
|
+
*/
|
|
822
|
+
originalText: string | null;
|
|
823
|
+
/**
|
|
824
|
+
* Editor-context bridge (matrx /code workspace).
|
|
825
|
+
*
|
|
826
|
+
* Tab ids that the user has explicitly excluded from the editor → agent
|
|
827
|
+
* context bridge for this instance. The bridge mirrors every open tab into
|
|
828
|
+
* `editor.tab.<id>` context entries; ids in this set are skipped (and the
|
|
829
|
+
* matching context entry, if any, is removed). Persisted per-conversation
|
|
830
|
+
* so the user's preference rides along the conversation.
|
|
831
|
+
*
|
|
832
|
+
* Empty/undefined = include all tabs (default).
|
|
833
|
+
*/
|
|
834
|
+
editorContextDisabledTabs?: string[];
|
|
835
|
+
/**
|
|
836
|
+
* Per-conversation backend URL override.
|
|
837
|
+
*
|
|
838
|
+
* When set, the agent execute thunks (`executeInstance`, tool-result
|
|
839
|
+
* POSTs) prefer this URL over the global `selectResolvedBaseUrl(state)`.
|
|
840
|
+
* This is how Sandbox-mode
|
|
841
|
+
* conversations talk to the in-container Python server without
|
|
842
|
+
* disturbing every other backend call in the page.
|
|
843
|
+
*
|
|
844
|
+
* Set by `useBindAgentToSandbox(conversationId, instanceId)` when the
|
|
845
|
+
* editor surface mounts a sandbox adapter, cleared on unmount.
|
|
846
|
+
*
|
|
847
|
+
* Format: a fully-qualified base URL with no trailing slash, e.g.
|
|
848
|
+
* `https://orchestrator.dev.codematrx.com/sandboxes/<instanceId>/proxy`.
|
|
849
|
+
* The thunks will append `/ai/...` paths exactly as they do for the
|
|
850
|
+
* global base URL — the override is a drop-in replacement.
|
|
851
|
+
*
|
|
852
|
+
* Null/undefined = no override; thunks fall back to `selectResolvedBaseUrl`.
|
|
853
|
+
*/
|
|
854
|
+
serverOverrideUrl?: string | null;
|
|
855
|
+
/**
|
|
856
|
+
* Bearer token paired with `serverOverrideUrl` for direct sandbox-proxy
|
|
857
|
+
* calls. Minted by `POST /api/sandbox/[id]/access-tokens` (which
|
|
858
|
+
* forwards to the orchestrator), short-lived (orchestrator decides
|
|
859
|
+
* the TTL — typically 15 min), and refreshed lazily by
|
|
860
|
+
* `useSandboxAccessToken` before expiry.
|
|
861
|
+
*
|
|
862
|
+
* When set together with `serverOverrideUrl`, the agent execute thunks
|
|
863
|
+
* send `Authorization: Bearer <this token>` and DO NOT send the user's
|
|
864
|
+
* Supabase JWT (the orchestrator authenticates via this token alone).
|
|
865
|
+
*
|
|
866
|
+
* Null/undefined while the URL is set is technically valid — the
|
|
867
|
+
* proxy will then return 401 for the AI call. The hook is responsible
|
|
868
|
+
* for keeping URL + token in lockstep.
|
|
869
|
+
*/
|
|
870
|
+
serverOverrideAuthToken?: string | null;
|
|
871
|
+
/**
|
|
872
|
+
* Last error from the bearer-token mint flow for this conversation, if
|
|
873
|
+
* any. Surfaced by `useBindAgentToSandbox` so admin debug panels can
|
|
874
|
+
* show *why* a sandbox-mode call is unauthenticated instead of just
|
|
875
|
+
* "(none)".
|
|
876
|
+
*
|
|
877
|
+
* Cleared automatically when a token is successfully minted, when the
|
|
878
|
+
* URL override is cleared, or when the conversation entry is removed.
|
|
879
|
+
*/
|
|
880
|
+
serverOverrideAuthTokenError?: string | null;
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* ManagedAgentOptions — the full invocation envelope for launching an agent.
|
|
884
|
+
*
|
|
885
|
+
* Organized in four sections:
|
|
886
|
+
* 1. IDENTITY — who is being launched, from where
|
|
887
|
+
* 2. CONFIG — the AgentExecutionConfig bundle (customization knobs)
|
|
888
|
+
* 3. RUNTIME — per-call values (user input, scope, handles)
|
|
889
|
+
* 4. INVOCATION — flags that don't belong in any of the above
|
|
890
|
+
*
|
|
891
|
+
* All customization knobs live in the nested `config` bundle and all
|
|
892
|
+
* per-call values in `runtime`; there are no flat config fields on this
|
|
893
|
+
* type. The launchAgentExecution thunk reads both at entry.
|
|
894
|
+
*/
|
|
895
|
+
export interface ManagedAgentOptions {
|
|
896
|
+
/** Stable surface key for the focus registry (e.g. "agent-builder", "agent-runner:<id>") */
|
|
897
|
+
surfaceKey: string;
|
|
898
|
+
agentId?: string;
|
|
899
|
+
/**
|
|
900
|
+
* Agent-mandate key (`<domain>.<step>`, e.g. `plan_client.shape_planner`) —
|
|
901
|
+
* THE MANDATE DOOR. Turn 1 POSTs `/ai/mandates/{mandateKey}` and aidream
|
|
902
|
+
* resolves principal → system default → org binding → user binding, applies
|
|
903
|
+
* the binding's `config_overrides` and the provision/variable contract, then
|
|
904
|
+
* runs the identical downstream pipeline. A rebind therefore changes which
|
|
905
|
+
* agent answers with NO client deploy.
|
|
906
|
+
*
|
|
907
|
+
* `agentId` may be passed ALONGSIDE this key: it is then DISPLAY IDENTITY
|
|
908
|
+
* only (the agent row the surface paints before the stream starts, e.g.
|
|
909
|
+
* `/chat/new`'s SSR-resolved default) and this launch resolves nothing
|
|
910
|
+
* client-side. Omit `agentId` and the thunk reads one through
|
|
911
|
+
* `resolveMandate` purely to snapshot the instance — still a display read,
|
|
912
|
+
* never the run decision.
|
|
913
|
+
*
|
|
914
|
+
* Mutually exclusive with `shortcutId`.
|
|
915
|
+
*
|
|
916
|
+
* 🚨 TYPED, NEVER `string` (V-L6a, 2026-09-17). A wrong key here is a 404 at
|
|
917
|
+
* the mandate door that the user sees only as an agent that never answers,
|
|
918
|
+
* so it must fail `pnpm type-check` instead. `AnyMandateKey` because a
|
|
919
|
+
* user-built app's DB-authored `app.*` key launches through this same door.
|
|
920
|
+
*/
|
|
921
|
+
mandateKey?: AnyMandateKey;
|
|
922
|
+
shortcutId?: string;
|
|
923
|
+
manual?: {
|
|
924
|
+
label?: string;
|
|
925
|
+
baseSettings?: Partial<LLMParams>;
|
|
926
|
+
};
|
|
927
|
+
/**
|
|
928
|
+
* Client-assigned conversation id to use for this launch instead of minting a
|
|
929
|
+
* fresh one. `useAgentLauncher` resolves a STABLE id per surface (reuse the
|
|
930
|
+
* focused id, else mint once) and threads it here so the conversation exists
|
|
931
|
+
* under a known id from the first render — never null, never re-minted on
|
|
932
|
+
* remount. The server honors this id end-to-end (turn-1 body + X-Conversation-ID).
|
|
933
|
+
*/
|
|
934
|
+
conversationId?: string;
|
|
935
|
+
/** UI surface that triggered the launch. Required for telemetry and attribution. */
|
|
936
|
+
sourceFeature: SourceFeature;
|
|
937
|
+
/**
|
|
938
|
+
* Provenance attestation for this launch's requests — see
|
|
939
|
+
* {@link RequestInitiation}. Defaults to "user" (the interactive launch
|
|
940
|
+
* path). Programmatic schedulers / auto-triggers (mount effects, timers,
|
|
941
|
+
* agent-tool-driven sends) MUST pass "auto".
|
|
942
|
+
*/
|
|
943
|
+
initiation?: RequestInitiation;
|
|
944
|
+
/**
|
|
945
|
+
* The launching surface saves this run's result itself — never materialize
|
|
946
|
+
* its assistant turns (see `ExecutionInstance.surfaceOwnsOutput`). Stamped
|
|
947
|
+
* on the conversation record before the first stream commits.
|
|
948
|
+
*/
|
|
949
|
+
surfaceOwnsOutput?: boolean;
|
|
950
|
+
/**
|
|
951
|
+
* Canonical agent-customization bundle. When launching via a shortcut,
|
|
952
|
+
* the shortcut's persisted config is loaded here; callers can layer
|
|
953
|
+
* additional partial overrides on top.
|
|
954
|
+
*
|
|
955
|
+
* Preferred over the deprecated flat fields below — the launch thunk
|
|
956
|
+
* merges both but new code should only set `config`.
|
|
957
|
+
*/
|
|
958
|
+
config?: Partial<import("./agent-execution-config.types.js").AgentExecutionConfig>;
|
|
959
|
+
/**
|
|
960
|
+
* Per-call runtime data: applicationScope (UI-captured), live userInput,
|
|
961
|
+
* widget handle id, original text for widget handoff.
|
|
962
|
+
*/
|
|
963
|
+
runtime?: import("./agent-execution-config.types.js").AgentExecutionRuntime;
|
|
964
|
+
/** Delay conversation creation until the caller signals readiness. Default: true */
|
|
965
|
+
ready?: boolean;
|
|
966
|
+
/**
|
|
967
|
+
* "I will dispatch `executeInstance` myself." The ONLY legitimate reason to
|
|
968
|
+
* pair a HEADLESS display mode (one that paints no interface —
|
|
969
|
+
* `HEADLESS_DISPLAY_MODES`) with `autoRun: false`.
|
|
970
|
+
*
|
|
971
|
+
* WHY THIS EXISTS. `autoRun` is a user-interface control: it decides whether
|
|
972
|
+
* the interface pauses and lets the person act before the request goes out.
|
|
973
|
+
* A headless mode has no interface, so there is nothing to pause — which
|
|
974
|
+
* means `autoRun: false` there does not defer the send to a human, it just
|
|
975
|
+
* never sends. The launch therefore IGNORES autoRun on headless modes and
|
|
976
|
+
* runs anyway (loudly), because the overwhelmingly common cause is a call
|
|
977
|
+
* site that simply forgot the flag.
|
|
978
|
+
*
|
|
979
|
+
* But a caller can legitimately need the deferral: when it must seed
|
|
980
|
+
* something the launch itself cannot carry — multi-part message content, for
|
|
981
|
+
* example (`runtime.userInput` and `runtime.variables` ARE seeded before
|
|
982
|
+
* execution, so anything expressible there needs no deferral at all). Those
|
|
983
|
+
* callers set this, and it reads as the deliberate claim it is instead of
|
|
984
|
+
* looking identical to the bug.
|
|
985
|
+
*
|
|
986
|
+
* Setting this and then NOT executing produces a conversation that never
|
|
987
|
+
* runs and that nothing can ever start. That is on you.
|
|
988
|
+
*/
|
|
989
|
+
callerExecutes?: boolean;
|
|
990
|
+
/**
|
|
991
|
+
* When true, the server writes nothing to the DB and Redux becomes the sole
|
|
992
|
+
* source of truth for the transcript.
|
|
993
|
+
* Turn 1: POST /ai/agents/{id} with the client's id, `is_new:true`,
|
|
994
|
+
* `store:false`.
|
|
995
|
+
* Turn 2+: POST /ai/conversations/{id} with `store:false`. The server
|
|
996
|
+
* still streams the next iteration; nothing is persisted.
|
|
997
|
+
* Stamped onto the conversation record via `createInstance`; the execute
|
|
998
|
+
* thunk reads `instance.isEphemeral` to branch.
|
|
999
|
+
*/
|
|
1000
|
+
isEphemeral?: boolean;
|
|
1001
|
+
/**
|
|
1002
|
+
* Explicit organization for this run — the org of the ROW the launch is
|
|
1003
|
+
* generating from. Pass it whenever the caller knows it: without it the
|
|
1004
|
+
* request falls back to the user's ambient active org, which can file the
|
|
1005
|
+
* output under a different organization entirely.
|
|
1006
|
+
*/
|
|
1007
|
+
organizationId?: string | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* The durable entity this run is FOR (e.g. `{resource_type:"research_topic",
|
|
1010
|
+
* resource_id}`). Sent as `context_anchor`; the server reloads that row and
|
|
1011
|
+
* derives authoritative organization/project/task from it, recording any
|
|
1012
|
+
* conflicting ambient value as drift rather than obeying it. This is the
|
|
1013
|
+
* execution-system equivalent of `useRunAgent`'s `contextAnchor`, so a
|
|
1014
|
+
* surface migrating to the live posture keeps its scope instead of silently
|
|
1015
|
+
* dropping it.
|
|
1016
|
+
*/
|
|
1017
|
+
contextAnchor?: ContextAnchor | null;
|
|
1018
|
+
showAutoClearToggle?: boolean;
|
|
1019
|
+
/** When true, conversation history is wiped after each submit (builder/test). */
|
|
1020
|
+
autoClearConversation?: boolean;
|
|
1021
|
+
/**
|
|
1022
|
+
* Controls which execution path and history strategy is used.
|
|
1023
|
+
* Set once at invocation; never mutated.
|
|
1024
|
+
*
|
|
1025
|
+
* "agent" — Default. Turn 1 → POST /ai/agents/{id}. Turn 2+ → POST /ai/conversations/{id}.
|
|
1026
|
+
* Server owns history and the agent definition. Client only stores for display.
|
|
1027
|
+
*
|
|
1028
|
+
* "manual" — Always POST /ai/manual. Client owns history and sends full messages[]
|
|
1029
|
+
* on every turn. Used by Builder (LIVE unsaved agent definition) and
|
|
1030
|
+
* by ephemeral conversations (turn 2+, where no DB row exists).
|
|
1031
|
+
*
|
|
1032
|
+
*/
|
|
1033
|
+
apiEndpointMode?: ApiEndpointMode;
|
|
1034
|
+
/**
|
|
1035
|
+
* Opt-in JSON extraction during streaming. When provided with `enabled: true`,
|
|
1036
|
+
* processStream runs a StreamingJsonTracker and dispatches results into
|
|
1037
|
+
* the active request slice. Read via selectExtractedJson / selectFirstExtractedObject.
|
|
1038
|
+
*/
|
|
1039
|
+
jsonExtraction?: JsonExtractionConfig;
|
|
1040
|
+
/**
|
|
1041
|
+
* Fires as soon as the instance has been created but BEFORE the stream
|
|
1042
|
+
* starts. Lets streaming UIs mount their Redux selectors keyed to this
|
|
1043
|
+
* conversationId immediately instead of waiting for the awaited Promise
|
|
1044
|
+
* to resolve (which, for direct-mode runs, can be 30+ seconds).
|
|
1045
|
+
*
|
|
1046
|
+
* Purely a side-channel for the caller — the launch thunk still owns the
|
|
1047
|
+
* conversation lifecycle.
|
|
1048
|
+
*/
|
|
1049
|
+
onConversationCreated?: (conversationId: string) => void;
|
|
1050
|
+
/**
|
|
1051
|
+
* Fires the moment the request row exists — right after `executeInstance`
|
|
1052
|
+
* resolves, BEFORE the run is polled to completion.
|
|
1053
|
+
*
|
|
1054
|
+
* `onConversationCreated` is not enough for a streaming UI: every live
|
|
1055
|
+
* selector (`selectAccumulatedText`, `selectRequestStatus`, …) is keyed by
|
|
1056
|
+
* `requestId`, not `conversationId`. Without this hook a caller can only
|
|
1057
|
+
* learn the requestId from the awaited `LaunchResult`, which for
|
|
1058
|
+
* direct/background runs arrives AFTER `pollForCompletion` — so the panel
|
|
1059
|
+
* mounts already-finished and the whole response appears at once behind a
|
|
1060
|
+
* spinner. That was the auto-create "nothing, then everything" bug.
|
|
1061
|
+
*
|
|
1062
|
+
* Purely a side-channel for the caller — the launch thunk still owns the
|
|
1063
|
+
* request lifecycle.
|
|
1064
|
+
*/
|
|
1065
|
+
onRequestId?: (requestId: string) => void;
|
|
1066
|
+
/**
|
|
1067
|
+
* CLIENT-ONLY (read by `useAgentLauncher`, never forwarded to the thunk).
|
|
1068
|
+
*
|
|
1069
|
+
* Controls the managed-mode unmount cleanup:
|
|
1070
|
+
* - false (default): always destroy the launcher-created instance on
|
|
1071
|
+
* unmount. Right for surfaces whose URL is stable for a conversation's
|
|
1072
|
+
* whole life (agent runner, builder).
|
|
1073
|
+
* - true: on unmount, only destroy the instance if it's ABANDONED (no
|
|
1074
|
+
* messages). A conversation the user actually started is RETAINED.
|
|
1075
|
+
* Required by surfaces that change route mid-conversation — the chat
|
|
1076
|
+
* route promotes `/chat/new` → `/chat/[conversationId]` right after the
|
|
1077
|
+
* first submit, which unmounts the launcher; destroying the instance
|
|
1078
|
+
* there would wipe the in-flight stream. The destination route
|
|
1079
|
+
* re-attaches to the retained instance instead of re-fetching.
|
|
1080
|
+
*/
|
|
1081
|
+
retainOnUnmount?: boolean;
|
|
1082
|
+
/**
|
|
1083
|
+
* CLIENT-ONLY (read by `useAgentLauncher`, never forwarded to the thunk).
|
|
1084
|
+
*
|
|
1085
|
+
* When true, the hook mints a new conversation id instead of reusing the
|
|
1086
|
+
* surface's cached focus. Required on fresh chat routes (`/chat/new`,
|
|
1087
|
+
* `/chat/a/[agentId]`) so navigating from an existing conversation does
|
|
1088
|
+
* not revive its transcript on the first render (before `clearFocus` runs).
|
|
1089
|
+
*/
|
|
1090
|
+
preferFresh?: boolean;
|
|
1091
|
+
/**
|
|
1092
|
+
* CLIENT-ONLY. Bumped when the user explicitly starts a new chat (+). Forces
|
|
1093
|
+
* the managed launcher to remint even when the URL stays on `/chat/new`.
|
|
1094
|
+
*/
|
|
1095
|
+
freshSessionKey?: number;
|
|
1096
|
+
/**
|
|
1097
|
+
* CLIENT-ONLY. With `preferFresh`: the conversation id this fresh room must
|
|
1098
|
+
* use instead of a random one (a UUID reserved before the room opened — the
|
|
1099
|
+
* `?c=` of "New chat about this"). Content staged for that id (its chip) is
|
|
1100
|
+
* keyed to it, so it survives a reload and can never land in another chat.
|
|
1101
|
+
*/
|
|
1102
|
+
reservedConversationId?: string | null;
|
|
1103
|
+
}
|
|
1104
|
+
export declare const AGENT_EXECUTION_DEFAULTS: {
|
|
1105
|
+
/**
|
|
1106
|
+
* How the result is presented. "direct" means the caller manages the UI
|
|
1107
|
+
* (AgentRunPage, builder panel, etc.). All other modes open an overlay.
|
|
1108
|
+
*/
|
|
1109
|
+
readonly displayMode: ResultDisplayMode;
|
|
1110
|
+
/**
|
|
1111
|
+
* Which execution path and history strategy to use.
|
|
1112
|
+
* "agent" is the standard path for all non-builder surfaces.
|
|
1113
|
+
* Set once at invocation time; never mutated.
|
|
1114
|
+
*/
|
|
1115
|
+
readonly apiEndpointMode: ApiEndpointMode;
|
|
1116
|
+
/**
|
|
1117
|
+
* Delay conversation creation until the caller signals readiness.
|
|
1118
|
+
* When true, the instance is created but does not fetch/execute until
|
|
1119
|
+
* the caller flips it to ready. Default true for safety.
|
|
1120
|
+
*/
|
|
1121
|
+
readonly ready: true;
|
|
1122
|
+
/**
|
|
1123
|
+
* Should the instance execute immediately after creation without the user
|
|
1124
|
+
* clicking submit? false = wait for explicit user action.
|
|
1125
|
+
*
|
|
1126
|
+
* Set to true only for programmatic triggers where the full context is
|
|
1127
|
+
* already assembled (e.g. flashcard "I'm confused" button).
|
|
1128
|
+
*/
|
|
1129
|
+
readonly autoRun: false;
|
|
1130
|
+
/**
|
|
1131
|
+
* Can the user send follow-up messages after the first response?
|
|
1132
|
+
* true = multi-turn conversation; false = single-shot only.
|
|
1133
|
+
*/
|
|
1134
|
+
readonly allowChat: true;
|
|
1135
|
+
/**
|
|
1136
|
+
* Show a gate UI before executing where the user provides initial text.
|
|
1137
|
+
* Used for inline/toast/compact modes that have no built-in input.
|
|
1138
|
+
*/
|
|
1139
|
+
readonly showPreExecutionGate: false;
|
|
1140
|
+
/**
|
|
1141
|
+
* When true, submitting creates a fresh instance (no history) instead of
|
|
1142
|
+
* continuing the current conversation. Only meaningful in builder/test system.
|
|
1143
|
+
*/
|
|
1144
|
+
readonly autoClearConversation: false;
|
|
1145
|
+
/**
|
|
1146
|
+
* Whether to show the auto-clear toggle control in the UI. Independent of
|
|
1147
|
+
* autoClearConversation itself — this governs display of the toggle.
|
|
1148
|
+
*/
|
|
1149
|
+
readonly showAutoClearToggle: false;
|
|
1150
|
+
/**
|
|
1151
|
+
* Coarse toggle: when true → showVariablePanel + showDefinitionMessages on.
|
|
1152
|
+
* Overridden by the fine-grained fields below.
|
|
1153
|
+
* undefined = fine-grained fields take effect individually.
|
|
1154
|
+
*/
|
|
1155
|
+
readonly showVariables: boolean | undefined;
|
|
1156
|
+
/** Show the variable input panel above the input area. */
|
|
1157
|
+
readonly showVariablePanel: false;
|
|
1158
|
+
/**
|
|
1159
|
+
* Show agent-definition messages (fabricated priming turns) in the thread.
|
|
1160
|
+
* When false, the first N turns (hiddenMessageCount) are hidden from the user.
|
|
1161
|
+
*/
|
|
1162
|
+
readonly showDefinitionMessages: true;
|
|
1163
|
+
/**
|
|
1164
|
+
* When definition messages are shown, also show the raw template content
|
|
1165
|
+
* (system prompt, variable placeholders). When false, only filled values render.
|
|
1166
|
+
*/
|
|
1167
|
+
readonly showDefinitionMessageContent: false;
|
|
1168
|
+
/**
|
|
1169
|
+
* How variables are collected from the user before execution.
|
|
1170
|
+
* "inline" = compact rows above the textarea.
|
|
1171
|
+
* "wizard" = one-at-a-time card with Back/Skip/Skip All.
|
|
1172
|
+
*/
|
|
1173
|
+
readonly variablesPanelStyle: VariablesPanelStyle;
|
|
1174
|
+
/** Submit on Enter key; Shift+Enter = newline. */
|
|
1175
|
+
readonly submitOnEnter: true;
|
|
1176
|
+
/**
|
|
1177
|
+
* For chat-system instances: reuse the server's conversationId across calls
|
|
1178
|
+
* so the server can maintain its own history. When false, each call starts
|
|
1179
|
+
* fresh. Relevant only when apiEndpointMode is "manual".
|
|
1180
|
+
*/
|
|
1181
|
+
readonly reuseConversationId: false;
|
|
1182
|
+
/** Expose creator-only debug panels (request preview, variable provenance). */
|
|
1183
|
+
readonly showCreatorDebug: false;
|
|
1184
|
+
/** Hide reasoning/thinking blocks from the message list. */
|
|
1185
|
+
readonly hideReasoning: false;
|
|
1186
|
+
/** Hide tool-call result blocks from the message list. */
|
|
1187
|
+
readonly hideToolResults: false;
|
|
1188
|
+
/** Optional message shown in the pre-execution input gate. */
|
|
1189
|
+
readonly preExecutionMessage: null;
|
|
1190
|
+
/** How many definition messages to hide (fetched from agx_get_defined_data). */
|
|
1191
|
+
readonly hiddenMessageCount: 0;
|
|
1192
|
+
/**
|
|
1193
|
+
* CallbackManager id for a WidgetHandle. See widget-handle.types.ts.
|
|
1194
|
+
* Null by default; set by callers that use `useWidgetHandle`.
|
|
1195
|
+
*/
|
|
1196
|
+
readonly widgetHandleId: null;
|
|
1197
|
+
/**
|
|
1198
|
+
* The text that was selected in the editor when the launch was triggered.
|
|
1199
|
+
* Stored in instanceUIState.originalText. Forwarded to the widget handle's
|
|
1200
|
+
* text-manipulation methods alongside the agent's response.
|
|
1201
|
+
*/
|
|
1202
|
+
readonly originalText: null;
|
|
1203
|
+
/**
|
|
1204
|
+
* Opt-in JSON extraction during streaming. When provided with `enabled: true`,
|
|
1205
|
+
* processStream runs a StreamingJsonTracker and dispatches results into
|
|
1206
|
+
* the active request slice. Stored in instanceUIState.jsonExtraction.
|
|
1207
|
+
*/
|
|
1208
|
+
readonly jsonExtraction: null;
|
|
1209
|
+
/** Pre-filled user message text. Stored in instanceUserInput. */
|
|
1210
|
+
readonly userInput: null;
|
|
1211
|
+
/** Pre-filled variable values. Stored in instanceVariableValues. */
|
|
1212
|
+
readonly variables: null;
|
|
1213
|
+
/**
|
|
1214
|
+
* LLM parameter overrides (delta from agent base settings).
|
|
1215
|
+
* Stored in instanceModelOverrides. Applied in execute-instance thunk.
|
|
1216
|
+
* Not used in chat Mode (builder reads full live agent definition instead).
|
|
1217
|
+
*/
|
|
1218
|
+
readonly overrides: null;
|
|
1219
|
+
/**
|
|
1220
|
+
* UI surface that triggered the launch. Stored on ExecutionInstance.
|
|
1221
|
+
* Required on ManagedAgentOptions — this fallback is only used by internal
|
|
1222
|
+
* code paths that construct instances without a caller-facing options object.
|
|
1223
|
+
*/
|
|
1224
|
+
readonly sourceFeature: SourceFeature;
|
|
1225
|
+
};
|
|
1226
|
+
export type { VariablesPanelStyle } from "../components/inputs/variable-input-variations/variable-input-options.js";
|
|
1227
|
+
export type { ResultDisplayMode } from "../utils/run-ui-utils.js";
|