@stigmer/react 3.1.17 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent-instance/AgentInstanceList.d.ts.map +1 -1
- package/agent-instance/AgentInstanceList.js +11 -3
- package/agent-instance/AgentInstanceList.js.map +1 -1
- package/channel/AgentChannelsPanel.d.ts +60 -0
- package/channel/AgentChannelsPanel.d.ts.map +1 -0
- package/channel/AgentChannelsPanel.js +255 -0
- package/channel/AgentChannelsPanel.js.map +1 -0
- package/channel/ChannelConversationsDialog.d.ts +41 -0
- package/channel/ChannelConversationsDialog.d.ts.map +1 -0
- package/channel/ChannelConversationsDialog.js +94 -0
- package/channel/ChannelConversationsDialog.js.map +1 -0
- package/channel/ChannelCredentialsDialog.d.ts +37 -0
- package/channel/ChannelCredentialsDialog.d.ts.map +1 -0
- package/channel/ChannelCredentialsDialog.js +75 -0
- package/channel/ChannelCredentialsDialog.js.map +1 -0
- package/channel/ChannelToolCredentials.d.ts +31 -0
- package/channel/ChannelToolCredentials.d.ts.map +1 -0
- package/channel/ChannelToolCredentials.js +41 -0
- package/channel/ChannelToolCredentials.js.map +1 -0
- package/channel/ConnectSlackDialog.d.ts +61 -0
- package/channel/ConnectSlackDialog.d.ts.map +1 -0
- package/channel/ConnectSlackDialog.js +238 -0
- package/channel/ConnectSlackDialog.js.map +1 -0
- package/channel/ConnectWhatsAppDialog.d.ts +70 -0
- package/channel/ConnectWhatsAppDialog.d.ts.map +1 -0
- package/channel/ConnectWhatsAppDialog.js +256 -0
- package/channel/ConnectWhatsAppDialog.js.map +1 -0
- package/channel/SlackMarkIcon.d.ts +11 -0
- package/channel/SlackMarkIcon.d.ts.map +1 -0
- package/channel/SlackMarkIcon.js +13 -0
- package/channel/SlackMarkIcon.js.map +1 -0
- package/channel/WhatsAppMarkIcon.d.ts +12 -0
- package/channel/WhatsAppMarkIcon.d.ts.map +1 -0
- package/channel/WhatsAppMarkIcon.js +14 -0
- package/channel/WhatsAppMarkIcon.js.map +1 -0
- package/channel/connect/ServingAppSection.d.ts +57 -0
- package/channel/connect/ServingAppSection.d.ts.map +1 -0
- package/channel/connect/ServingAppSection.js +49 -0
- package/channel/connect/ServingAppSection.js.map +1 -0
- package/channel/connect/ToolCredentialsSection.d.ts +20 -0
- package/channel/connect/ToolCredentialsSection.d.ts.map +1 -0
- package/channel/connect/ToolCredentialsSection.js +22 -0
- package/channel/connect/ToolCredentialsSection.js.map +1 -0
- package/channel/connect/VerbatimRefusal.d.ts +16 -0
- package/channel/connect/VerbatimRefusal.d.ts.map +1 -0
- package/channel/connect/VerbatimRefusal.js +18 -0
- package/channel/connect/VerbatimRefusal.js.map +1 -0
- package/channel/connect/icons.d.ts +16 -0
- package/channel/connect/icons.d.ts.map +1 -0
- package/channel/connect/icons.js +21 -0
- package/channel/connect/icons.js.map +1 -0
- package/channel/index.d.ts +36 -0
- package/channel/index.d.ts.map +1 -0
- package/channel/index.js +19 -0
- package/channel/index.js.map +1 -0
- package/channel/providerPresentation.d.ts +44 -0
- package/channel/providerPresentation.d.ts.map +1 -0
- package/channel/providerPresentation.js +106 -0
- package/channel/providerPresentation.js.map +1 -0
- package/channel/providers.d.ts +62 -0
- package/channel/providers.d.ts.map +1 -0
- package/channel/providers.js +26 -0
- package/channel/providers.js.map +1 -0
- package/channel/useAgentChannel.d.ts +31 -0
- package/channel/useAgentChannel.d.ts.map +1 -0
- package/channel/useAgentChannel.js +34 -0
- package/channel/useAgentChannel.js.map +1 -0
- package/channel/useAgentChannelList.d.ts +43 -0
- package/channel/useAgentChannelList.d.ts.map +1 -0
- package/channel/useAgentChannelList.js +39 -0
- package/channel/useAgentChannelList.js.map +1 -0
- package/channel/useChannelSessions.d.ts +47 -0
- package/channel/useChannelSessions.d.ts.map +1 -0
- package/channel/useChannelSessions.js +38 -0
- package/channel/useChannelSessions.js.map +1 -0
- package/channel/useChannelToolReadiness.d.ts +23 -0
- package/channel/useChannelToolReadiness.d.ts.map +1 -0
- package/channel/useChannelToolReadiness.js +28 -0
- package/channel/useChannelToolReadiness.js.map +1 -0
- package/channel/useConnectSlackChannel.d.ts +75 -0
- package/channel/useConnectSlackChannel.d.ts.map +1 -0
- package/channel/useConnectSlackChannel.js +115 -0
- package/channel/useConnectSlackChannel.js.map +1 -0
- package/channel/useCreateAgentChannel.d.ts +42 -0
- package/channel/useCreateAgentChannel.d.ts.map +1 -0
- package/channel/useCreateAgentChannel.js +48 -0
- package/channel/useCreateAgentChannel.js.map +1 -0
- package/channel/useDeleteAgentChannel.d.ts +40 -0
- package/channel/useDeleteAgentChannel.d.ts.map +1 -0
- package/channel/useDeleteAgentChannel.js +44 -0
- package/channel/useDeleteAgentChannel.js.map +1 -0
- package/channel/useInstallChannel.d.ts +60 -0
- package/channel/useInstallChannel.d.ts.map +1 -0
- package/channel/useInstallChannel.js +63 -0
- package/channel/useInstallChannel.js.map +1 -0
- package/channel/useOrgAgentChannelList.d.ts +32 -0
- package/channel/useOrgAgentChannelList.d.ts.map +1 -0
- package/channel/useOrgAgentChannelList.js +29 -0
- package/channel/useOrgAgentChannelList.js.map +1 -0
- package/channel/useSaveAgentChannel.d.ts +63 -0
- package/channel/useSaveAgentChannel.d.ts.map +1 -0
- package/channel/useSaveAgentChannel.js +104 -0
- package/channel/useSaveAgentChannel.js.map +1 -0
- package/channel-app/ChannelAppDetailPanel.d.ts +46 -0
- package/channel-app/ChannelAppDetailPanel.d.ts.map +1 -0
- package/channel-app/ChannelAppDetailPanel.js +142 -0
- package/channel-app/ChannelAppDetailPanel.js.map +1 -0
- package/channel-app/ChannelAppListPanel.d.ts +36 -0
- package/channel-app/ChannelAppListPanel.d.ts.map +1 -0
- package/channel-app/ChannelAppListPanel.js +63 -0
- package/channel-app/ChannelAppListPanel.js.map +1 -0
- package/channel-app/CreateChannelAppForm.d.ts +54 -0
- package/channel-app/CreateChannelAppForm.d.ts.map +1 -0
- package/channel-app/CreateChannelAppForm.js +140 -0
- package/channel-app/CreateChannelAppForm.js.map +1 -0
- package/channel-app/index.d.ts +18 -0
- package/channel-app/index.d.ts.map +1 -0
- package/channel-app/index.js +10 -0
- package/channel-app/index.js.map +1 -0
- package/channel-app/internal.d.ts +33 -0
- package/channel-app/internal.d.ts.map +1 -0
- package/channel-app/internal.js +44 -0
- package/channel-app/internal.js.map +1 -0
- package/channel-app/slackAppSetup.d.ts +80 -0
- package/channel-app/slackAppSetup.d.ts.map +1 -0
- package/channel-app/slackAppSetup.js +123 -0
- package/channel-app/slackAppSetup.js.map +1 -0
- package/channel-app/useChannelAppList.d.ts +35 -0
- package/channel-app/useChannelAppList.d.ts.map +1 -0
- package/channel-app/useChannelAppList.js +34 -0
- package/channel-app/useChannelAppList.js.map +1 -0
- package/channel-app/useCreateChannelApp.d.ts +39 -0
- package/channel-app/useCreateChannelApp.d.ts.map +1 -0
- package/channel-app/useCreateChannelApp.js +50 -0
- package/channel-app/useCreateChannelApp.js.map +1 -0
- package/channel-app/useDeleteChannelApp.d.ts +31 -0
- package/channel-app/useDeleteChannelApp.d.ts.map +1 -0
- package/channel-app/useDeleteChannelApp.js +43 -0
- package/channel-app/useDeleteChannelApp.js.map +1 -0
- package/channel-app/useUpdateChannelApp.d.ts +39 -0
- package/channel-app/useUpdateChannelApp.d.ts.map +1 -0
- package/channel-app/useUpdateChannelApp.js +50 -0
- package/channel-app/useUpdateChannelApp.js.map +1 -0
- package/channel-app/whatsappAppSetup.d.ts +51 -0
- package/channel-app/whatsappAppSetup.d.ts.map +1 -0
- package/channel-app/whatsappAppSetup.js +57 -0
- package/channel-app/whatsappAppSetup.js.map +1 -0
- package/environment/index.d.ts +2 -0
- package/environment/index.d.ts.map +1 -1
- package/environment/index.js +1 -0
- package/environment/index.js.map +1 -1
- package/environment/useToolCredentialsReadiness.d.ts +52 -0
- package/environment/useToolCredentialsReadiness.d.ts.map +1 -0
- package/environment/useToolCredentialsReadiness.js +84 -0
- package/environment/useToolCredentialsReadiness.js.map +1 -0
- package/execution/ArtifactContentBody.d.ts.map +1 -1
- package/execution/ArtifactContentBody.js +5 -21
- package/execution/ArtifactContentBody.js.map +1 -1
- package/execution/ArtifactFileContent.d.ts +28 -0
- package/execution/ArtifactFileContent.d.ts.map +1 -0
- package/execution/ArtifactFileContent.js +36 -0
- package/execution/ArtifactFileContent.js.map +1 -0
- package/execution/ArtifactRow.d.ts +8 -20
- package/execution/ArtifactRow.d.ts.map +1 -1
- package/execution/ArtifactRow.js +12 -45
- package/execution/ArtifactRow.js.map +1 -1
- package/execution/ArtifactRowView.d.ts +43 -0
- package/execution/ArtifactRowView.d.ts.map +1 -0
- package/execution/ArtifactRowView.js +35 -0
- package/execution/ArtifactRowView.js.map +1 -0
- package/execution/FileChangesView.d.ts.map +1 -1
- package/execution/FileChangesView.js +1 -61
- package/execution/FileChangesView.js.map +1 -1
- package/execution/SubAgentSection.d.ts.map +1 -1
- package/execution/SubAgentSection.js +4 -15
- package/execution/SubAgentSection.js.map +1 -1
- package/execution/ToolCallItem.d.ts.map +1 -1
- package/execution/ToolCallItem.js +16 -61
- package/execution/ToolCallItem.js.map +1 -1
- package/execution/agent-execution-document.d.ts +31 -0
- package/execution/agent-execution-document.d.ts.map +1 -0
- package/execution/agent-execution-document.js +48 -0
- package/execution/agent-execution-document.js.map +1 -0
- package/{session → execution}/artifact-document.d.ts +2 -3
- package/execution/artifact-document.d.ts.map +1 -0
- package/execution/artifact-document.js +23 -0
- package/execution/artifact-document.js.map +1 -0
- package/execution/artifact-row-item.d.ts +56 -0
- package/execution/artifact-row-item.d.ts.map +1 -0
- package/execution/artifact-row-item.js +57 -0
- package/execution/artifact-row-item.js.map +1 -0
- package/execution/deriveExecutionFileChanges.d.ts +55 -0
- package/execution/deriveExecutionFileChanges.d.ts.map +1 -0
- package/execution/deriveExecutionFileChanges.js +216 -0
- package/execution/deriveExecutionFileChanges.js.map +1 -0
- package/execution/file-change-document.d.ts +22 -0
- package/execution/file-change-document.d.ts.map +1 -0
- package/execution/file-change-document.js +34 -0
- package/execution/file-change-document.js.map +1 -0
- package/execution/index.d.ts +14 -0
- package/execution/index.d.ts.map +1 -1
- package/execution/index.js +9 -0
- package/execution/index.js.map +1 -1
- package/execution/useArtifactContentById.d.ts +61 -0
- package/execution/useArtifactContentById.d.ts.map +1 -0
- package/execution/useArtifactContentById.js +63 -0
- package/execution/useArtifactContentById.js.map +1 -0
- package/execution/useArtifactDownload.d.ts +4 -3
- package/execution/useArtifactDownload.d.ts.map +1 -1
- package/execution/useArtifactDownload.js +4 -3
- package/execution/useArtifactDownload.js.map +1 -1
- package/execution/useCreateAgentExecution.d.ts +1 -1
- package/execution/useLiveAgentExecution.d.ts +59 -0
- package/execution/useLiveAgentExecution.d.ts.map +1 -0
- package/execution/useLiveAgentExecution.js +73 -0
- package/execution/useLiveAgentExecution.js.map +1 -0
- package/index.d.ts +15 -10
- package/index.d.ts.map +1 -1
- package/index.js +21 -6
- package/index.js.map +1 -1
- package/internal/DecisionButton.d.ts +4 -3
- package/internal/DecisionButton.d.ts.map +1 -1
- package/internal/DecisionButton.js +4 -3
- package/internal/DecisionButton.js.map +1 -1
- package/internal/oauthPopup.d.ts +101 -0
- package/internal/oauthPopup.d.ts.map +1 -0
- package/internal/oauthPopup.js +208 -0
- package/internal/oauthPopup.js.map +1 -0
- package/internal/store/index.d.ts +0 -2
- package/internal/store/index.d.ts.map +1 -1
- package/internal/store/index.js +0 -1
- package/internal/store/index.js.map +1 -1
- package/internal/store/workflow-execution-event-store.d.ts +34 -1
- package/internal/store/workflow-execution-event-store.d.ts.map +1 -1
- package/internal/store/workflow-execution-event-store.js +81 -3
- package/internal/store/workflow-execution-event-store.js.map +1 -1
- package/internal/store/workspace-file-selection-store.d.ts +1 -2
- package/internal/store/workspace-file-selection-store.d.ts.map +1 -1
- package/internal/store/workspace-file-selection-store.js +2 -5
- package/internal/store/workspace-file-selection-store.js.map +1 -1
- package/internal/thread-card/ThreadCardShell.d.ts +91 -0
- package/internal/thread-card/ThreadCardShell.d.ts.map +1 -0
- package/internal/thread-card/ThreadCardShell.js +41 -0
- package/internal/thread-card/ThreadCardShell.js.map +1 -0
- package/internal/thread-card/glyphs.d.ts +34 -0
- package/internal/thread-card/glyphs.d.ts.map +1 -0
- package/internal/thread-card/glyphs.js +50 -0
- package/internal/thread-card/glyphs.js.map +1 -0
- package/internal/thread-card/index.d.ts +3 -0
- package/internal/thread-card/index.d.ts.map +1 -0
- package/internal/thread-card/index.js +3 -0
- package/internal/thread-card/index.js.map +1 -0
- package/internal/useRevealLine.d.ts +2 -2
- package/internal/useRevealLine.js +2 -2
- package/mcp-server/OAuthCallbackHandler.js +1 -1
- package/mcp-server/OAuthCallbackHandler.js.map +1 -1
- package/mcp-server/useMcpServerOAuthConnect.d.ts +4 -23
- package/mcp-server/useMcpServerOAuthConnect.d.ts.map +1 -1
- package/mcp-server/useMcpServerOAuthConnect.js +12 -145
- package/mcp-server/useMcpServerOAuthConnect.js.map +1 -1
- package/package.json +4 -4
- package/session/NewSessionViewer.d.ts.map +1 -1
- package/session/NewSessionViewer.js +0 -1
- package/session/NewSessionViewer.js.map +1 -1
- package/session/SessionPanelChip.d.ts +7 -22
- package/session/SessionPanelChip.d.ts.map +1 -1
- package/session/SessionPanelChip.js +8 -36
- package/session/SessionPanelChip.js.map +1 -1
- package/session/SessionViewer.d.ts +7 -4
- package/session/SessionViewer.d.ts.map +1 -1
- package/session/SessionViewer.js +32 -30
- package/session/SessionViewer.js.map +1 -1
- package/session/audience.d.ts +15 -1
- package/session/audience.d.ts.map +1 -1
- package/session/channelOrigin.d.ts +33 -0
- package/session/channelOrigin.d.ts.map +1 -0
- package/session/channelOrigin.js +36 -0
- package/session/channelOrigin.js.map +1 -0
- package/session/facets/index.d.ts +0 -2
- package/session/facets/index.d.ts.map +1 -1
- package/session/facets/index.js +0 -1
- package/session/facets/index.js.map +1 -1
- package/session/index.d.ts +2 -2
- package/session/index.d.ts.map +1 -1
- package/session/index.js +5 -3
- package/session/index.js.map +1 -1
- package/session/useNewSessionFlow.d.ts +4 -0
- package/session/useNewSessionFlow.d.ts.map +1 -1
- package/session/useNewSessionFlow.js +33 -4
- package/session/useNewSessionFlow.js.map +1 -1
- package/session/usePersistedModel.d.ts +11 -0
- package/session/usePersistedModel.d.ts.map +1 -1
- package/session/usePersistedModel.js +14 -3
- package/session/usePersistedModel.js.map +1 -1
- package/session/useSessionFileChanges.d.ts +10 -34
- package/session/useSessionFileChanges.d.ts.map +1 -1
- package/session/useSessionFileChanges.js +9 -141
- package/session/useSessionFileChanges.js.map +1 -1
- package/session/useSessionPageFlow.d.ts.map +1 -1
- package/session/useSessionPageFlow.js +12 -1
- package/session/useSessionPageFlow.js.map +1 -1
- package/session/useSessionPanel.d.ts +5 -15
- package/session/useSessionPanel.d.ts.map +1 -1
- package/session/useSessionPanel.js +3 -35
- package/session/useSessionPanel.js.map +1 -1
- package/session/useSessionRailViews.d.ts +3 -6
- package/session/useSessionRailViews.d.ts.map +1 -1
- package/session/useSessionRailViews.js +3 -17
- package/session/useSessionRailViews.js.map +1 -1
- package/settings/ChannelAppsSection.d.ts +13 -0
- package/settings/ChannelAppsSection.d.ts.map +1 -0
- package/settings/ChannelAppsSection.js +48 -0
- package/settings/ChannelAppsSection.js.map +1 -0
- package/settings/index.d.ts +1 -0
- package/settings/index.d.ts.map +1 -1
- package/settings/index.js +1 -0
- package/settings/index.js.map +1 -1
- package/settings/settings-nav.d.ts.map +1 -1
- package/settings/settings-nav.js +6 -1
- package/settings/settings-nav.js.map +1 -1
- package/sharing/AgentShareList.d.ts.map +1 -1
- package/sharing/AgentShareList.js +11 -3
- package/sharing/AgentShareList.js.map +1 -1
- package/sharing/ShareAgentDialog.js +1 -1
- package/sharing/useShareToolReadiness.d.ts +9 -38
- package/sharing/useShareToolReadiness.d.ts.map +1 -1
- package/sharing/useShareToolReadiness.js +7 -72
- package/sharing/useShareToolReadiness.js.map +1 -1
- package/src/agent-instance/AgentInstanceList.tsx +60 -42
- package/src/agent-instance/__tests__/AgentInstanceList.test.tsx +161 -0
- package/src/channel/AgentChannelsPanel.tsx +688 -0
- package/src/channel/ChannelConversationsDialog.tsx +267 -0
- package/src/channel/ChannelCredentialsDialog.tsx +219 -0
- package/src/channel/ChannelToolCredentials.tsx +124 -0
- package/src/channel/ConnectSlackDialog.tsx +611 -0
- package/src/channel/ConnectWhatsAppDialog.tsx +624 -0
- package/src/channel/SlackMarkIcon.tsx +21 -0
- package/src/channel/WhatsAppMarkIcon.tsx +22 -0
- package/src/channel/__tests__/AgentChannelsPanel.test.tsx +638 -0
- package/src/channel/__tests__/ChannelConversationsDialog.test.tsx +114 -0
- package/src/channel/__tests__/ChannelCredentialsDialog.test.tsx +240 -0
- package/src/channel/__tests__/ConnectSlackDialog.test.tsx +659 -0
- package/src/channel/__tests__/ConnectWhatsAppDialog.test.tsx +564 -0
- package/src/channel/__tests__/providers.test.ts +118 -0
- package/src/channel/__tests__/useAgentChannel.test.tsx +116 -0
- package/src/channel/__tests__/useAgentChannelList.test.tsx +166 -0
- package/src/channel/__tests__/useChannelSessions.test.tsx +95 -0
- package/src/channel/__tests__/useChannelToolReadiness.test.tsx +158 -0
- package/src/channel/__tests__/useConnectSlackChannel.test.tsx +276 -0
- package/src/channel/__tests__/useDeleteAgentChannel.test.tsx +97 -0
- package/src/channel/__tests__/useInstallChannel.test.tsx +177 -0
- package/src/channel/__tests__/useSaveAgentChannel.test.tsx +294 -0
- package/src/channel/connect/ServingAppSection.tsx +185 -0
- package/src/channel/connect/ToolCredentialsSection.tsx +67 -0
- package/src/channel/connect/VerbatimRefusal.tsx +27 -0
- package/src/channel/connect/icons.tsx +42 -0
- package/src/channel/index.ts +65 -0
- package/src/channel/providerPresentation.ts +154 -0
- package/src/channel/providers.ts +73 -0
- package/src/channel/useAgentChannel.ts +58 -0
- package/src/channel/useAgentChannelList.ts +69 -0
- package/src/channel/useChannelSessions.ts +73 -0
- package/src/channel/useChannelToolReadiness.ts +39 -0
- package/src/channel/useConnectSlackChannel.ts +195 -0
- package/src/channel/useCreateAgentChannel.ts +73 -0
- package/src/channel/useDeleteAgentChannel.ts +71 -0
- package/src/channel/useInstallChannel.ts +117 -0
- package/src/channel/useOrgAgentChannelList.ts +60 -0
- package/src/channel/useSaveAgentChannel.ts +133 -0
- package/src/channel-app/ChannelAppDetailPanel.tsx +510 -0
- package/src/channel-app/ChannelAppListPanel.tsx +201 -0
- package/src/channel-app/CreateChannelAppForm.tsx +529 -0
- package/src/channel-app/__tests__/channelAppWhatsApp.test.tsx +270 -0
- package/src/channel-app/__tests__/slackAppSetup.test.ts +75 -0
- package/src/channel-app/__tests__/useChannelAppHooks.test.tsx +157 -0
- package/src/channel-app/__tests__/whatsappAppSetup.test.ts +39 -0
- package/src/channel-app/index.ts +30 -0
- package/src/channel-app/internal.tsx +180 -0
- package/src/channel-app/slackAppSetup.ts +153 -0
- package/src/channel-app/useChannelAppList.ts +59 -0
- package/src/channel-app/useCreateChannelApp.ts +70 -0
- package/src/channel-app/useDeleteChannelApp.ts +62 -0
- package/src/channel-app/useUpdateChannelApp.ts +70 -0
- package/src/channel-app/whatsappAppSetup.ts +62 -0
- package/src/environment/index.ts +2 -0
- package/src/environment/useToolCredentialsReadiness.ts +122 -0
- package/src/execution/ArtifactContentBody.tsx +6 -88
- package/src/execution/ArtifactFileContent.tsx +110 -0
- package/src/execution/ArtifactRow.tsx +28 -118
- package/src/execution/ArtifactRowView.tsx +137 -0
- package/src/execution/FileChangesView.tsx +4 -69
- package/src/execution/SubAgentSection.tsx +2 -36
- package/src/execution/ToolCallItem.tsx +48 -175
- package/src/execution/__tests__/ArtifactFileContent.test.tsx +60 -0
- package/src/execution/__tests__/ArtifactRowView.test.tsx +78 -0
- package/src/execution/__tests__/agent-execution-document.test.ts +45 -0
- package/src/execution/__tests__/artifact-row-item.test.ts +128 -0
- package/src/execution/__tests__/deriveExecutionFileChanges.test.ts +270 -0
- package/src/execution/__tests__/useArtifactContentById.test.tsx +85 -0
- package/src/execution/__tests__/useLiveAgentExecution.test.tsx +202 -0
- package/src/execution/agent-execution-document.ts +54 -0
- package/src/execution/artifact-document.ts +24 -0
- package/src/execution/artifact-row-item.ts +97 -0
- package/src/execution/deriveExecutionFileChanges.ts +237 -0
- package/src/execution/file-change-document.ts +37 -0
- package/src/execution/index.ts +36 -0
- package/src/execution/useArtifactContentById.ts +120 -0
- package/src/execution/useArtifactDownload.ts +4 -3
- package/src/execution/useCreateAgentExecution.ts +1 -1
- package/src/execution/useLiveAgentExecution.ts +127 -0
- package/src/index.ts +155 -11
- package/src/internal/DecisionButton.tsx +4 -3
- package/src/internal/__tests__/ThreadCardShell.test.tsx +105 -0
- package/src/internal/__tests__/oauthPopup.test.ts +245 -0
- package/src/internal/oauthPopup.ts +261 -0
- package/src/internal/store/__tests__/workflow-execution-event-store.test.ts +375 -5
- package/src/internal/store/index.ts +0 -3
- package/src/internal/store/workflow-execution-event-store.ts +123 -4
- package/src/internal/store/workspace-file-selection-store.ts +2 -5
- package/src/internal/thread-card/ThreadCardShell.tsx +189 -0
- package/src/internal/thread-card/glyphs.tsx +108 -0
- package/src/internal/thread-card/index.ts +19 -0
- package/src/internal/useRevealLine.ts +2 -2
- package/src/mcp-server/OAuthCallbackHandler.tsx +2 -2
- package/src/mcp-server/useMcpServerOAuthConnect.ts +22 -184
- package/src/session/NewSessionViewer.tsx +0 -1
- package/src/session/SessionPanelChip.tsx +10 -96
- package/src/session/SessionViewer.tsx +170 -144
- package/src/session/__tests__/SessionViewer-artifactTabs.test.tsx +1 -1
- package/src/session/__tests__/observerAudience.test.tsx +241 -0
- package/src/session/__tests__/useNewSessionFlow.test.tsx +64 -0
- package/src/session/__tests__/usePersistedModel.test.tsx +36 -0
- package/src/session/__tests__/useSessionPageFlow.guest.test.tsx +48 -1
- package/src/session/__tests__/useSessionPanel.test.ts +6 -61
- package/src/session/__tests__/useSessionRailViews.test.tsx +5 -27
- package/src/session/audience.ts +15 -1
- package/src/session/channelOrigin.ts +45 -0
- package/src/session/facets/index.ts +0 -3
- package/src/session/index.ts +9 -6
- package/src/session/useNewSessionFlow.ts +35 -4
- package/src/session/usePersistedModel.ts +25 -3
- package/src/session/useSessionFileChanges.ts +12 -153
- package/src/session/useSessionPageFlow.ts +13 -2
- package/src/session/useSessionPanel.ts +8 -51
- package/src/session/useSessionRailViews.tsx +2 -27
- package/src/settings/ChannelAppsSection.tsx +133 -0
- package/src/settings/index.ts +1 -0
- package/src/settings/settings-nav.ts +6 -0
- package/src/sharing/AgentShareList.tsx +85 -64
- package/src/sharing/ShareAgentDialog.tsx +1 -1
- package/src/sharing/__tests__/AgentShareList.test.tsx +92 -12
- package/src/sharing/useShareToolReadiness.ts +13 -101
- package/src/workflow/WorkflowAgentExecutionDocument.tsx +283 -0
- package/src/workflow/WorkflowApprovalList.tsx +158 -0
- package/src/workflow/WorkflowArtifactDocument.tsx +257 -0
- package/src/workflow/WorkflowExecutionGraph.tsx +40 -78
- package/src/workflow/WorkflowExecutionViewer.tsx +610 -287
- package/src/workflow/WorkflowFileReviewList.tsx +1 -1
- package/src/workflow/WorkflowTaskApprovalCard.tsx +5 -4
- package/src/workflow/WorkflowTaskApprovalSummary.tsx +6 -6
- package/src/workflow/__tests__/WorkflowAgentExecutionDocument.test.tsx +651 -0
- package/src/workflow/__tests__/WorkflowApprovalList.test.tsx +229 -0
- package/src/workflow/__tests__/WorkflowArtifactDocument.test.tsx +90 -0
- package/src/workflow/__tests__/WorkflowArtifactsTab.test.tsx +85 -0
- package/src/workflow/__tests__/WorkflowChangesTab.test.tsx +113 -0
- package/src/workflow/__tests__/WorkflowExecutionViewer.approvals.test.tsx +473 -0
- package/src/workflow/__tests__/WorkflowExecutionViewer.reconciliation.test.tsx +632 -0
- package/src/workflow/__tests__/WorkflowTaskApprovalSummary.test.tsx +1 -1
- package/src/workflow/__tests__/WorkflowTaskThread.test.tsx +947 -0
- package/src/workflow/__tests__/WorkflowUsageTab.test.tsx +163 -0
- package/src/workflow/__tests__/agent-call-live-experience.test.ts +6 -53
- package/src/workflow/__tests__/derive-execution-overlays.test.ts +4 -0
- package/src/workflow/__tests__/deriveWorkflowArtifactItems.test.ts +71 -0
- package/src/workflow/__tests__/deriveWorkflowUsageItems.test.ts +132 -0
- package/src/workflow/__tests__/execution-graph.test.ts +8 -0
- package/src/workflow/__tests__/project-thread-items.test.ts +428 -0
- package/src/workflow/__tests__/structured-data-viewer.test.tsx +1 -1
- package/src/workflow/__tests__/task-approval.test.ts +149 -0
- package/src/workflow/__tests__/task-detail-io.test.ts +40 -0
- package/src/workflow/__tests__/task-presentation.test.ts +479 -0
- package/src/workflow/__tests__/useActiveTaskName.test.ts +4 -0
- package/src/workflow/__tests__/useApprovalBoundary.test.ts +158 -0
- package/src/workflow/__tests__/useExecutionAnnouncements.test.ts +4 -0
- package/src/workflow/__tests__/useFollowExecution.test.ts +2 -89
- package/src/workflow/__tests__/useWorkflowExecutionFileChanges.test.tsx +412 -0
- package/src/workflow/__tests__/useWorkflowExecutionPanel.test.ts +297 -0
- package/src/workflow/__tests__/useWorkflowExecutionRailViews.test.tsx +115 -0
- package/src/workflow/deriveWorkflowArtifactItems.ts +59 -0
- package/src/workflow/deriveWorkflowUsageItems.ts +73 -0
- package/src/workflow/diagnosis-document.ts +31 -0
- package/src/workflow/execution/index.ts +0 -15
- package/src/workflow/facets/WorkflowArtifactsTab.tsx +99 -0
- package/src/workflow/facets/WorkflowChangesTab.tsx +129 -0
- package/src/workflow/facets/WorkflowUsageTab.tsx +258 -0
- package/src/workflow/format-utils.ts +2 -3
- package/src/workflow/index.ts +106 -62
- package/src/workflow/inspector/index.ts +0 -4
- package/src/workflow/instance/WorkflowInstanceList.tsx +59 -41
- package/src/workflow/instance/__tests__/WorkflowInstanceList.test.tsx +156 -0
- package/src/workflow/task-detail/index.ts +11 -0
- package/src/workflow/task-detail/task-approval.ts +158 -0
- package/src/workflow/task-detail/task-detail-io.ts +65 -0
- package/src/workflow/thread/WorkflowTaskThread.tsx +845 -0
- package/src/workflow/thread/project-thread-items.ts +235 -0
- package/src/workflow/thread/task-presentation.ts +427 -0
- package/src/workflow/thread/thread-presentation.ts +59 -0
- package/src/workflow/thread/useWorkflowThreadItems.ts +34 -0
- package/src/workflow/useApprovalBoundary.ts +72 -0
- package/src/workflow/useFollowExecution.ts +0 -26
- package/src/workflow/useWorkflowArtifactDownload.ts +68 -0
- package/src/workflow/useWorkflowExecutionActions.ts +3 -2
- package/src/workflow/useWorkflowExecutionFileChanges.ts +341 -0
- package/src/workflow/useWorkflowExecutionGraph.ts +3 -43
- package/src/workflow/useWorkflowExecutionPanel.ts +292 -0
- package/src/workflow/useWorkflowExecutionRailViews.tsx +173 -0
- package/src/workspace/FileViewer.tsx +3 -3
- package/src/workspace/PanelChip.tsx +103 -0
- package/src/workspace/WorkspaceSurface.tsx +50 -6
- package/src/workspace/__tests__/WorkspaceSurface.test.tsx +110 -0
- package/src/workspace/index.ts +3 -0
- package/styles.css +1 -1
- package/workflow/WorkflowAgentExecutionDocument.d.ts +79 -0
- package/workflow/WorkflowAgentExecutionDocument.d.ts.map +1 -0
- package/workflow/WorkflowAgentExecutionDocument.js +87 -0
- package/workflow/WorkflowAgentExecutionDocument.js.map +1 -0
- package/workflow/WorkflowApprovalList.d.ts +62 -0
- package/workflow/WorkflowApprovalList.d.ts.map +1 -0
- package/workflow/WorkflowApprovalList.js +52 -0
- package/workflow/WorkflowApprovalList.js.map +1 -0
- package/workflow/WorkflowArtifactDocument.d.ts +29 -0
- package/workflow/WorkflowArtifactDocument.d.ts.map +1 -0
- package/workflow/WorkflowArtifactDocument.js +89 -0
- package/workflow/WorkflowArtifactDocument.js.map +1 -0
- package/workflow/WorkflowExecutionGraph.d.ts +15 -13
- package/workflow/WorkflowExecutionGraph.d.ts.map +1 -1
- package/workflow/WorkflowExecutionGraph.js +18 -53
- package/workflow/WorkflowExecutionGraph.js.map +1 -1
- package/workflow/WorkflowExecutionViewer.d.ts +8 -5
- package/workflow/WorkflowExecutionViewer.d.ts.map +1 -1
- package/workflow/WorkflowExecutionViewer.js +329 -54
- package/workflow/WorkflowExecutionViewer.js.map +1 -1
- package/workflow/WorkflowFileReviewList.d.ts +1 -1
- package/workflow/WorkflowFileReviewList.js +1 -1
- package/workflow/WorkflowTaskApprovalCard.d.ts +4 -3
- package/workflow/WorkflowTaskApprovalCard.d.ts.map +1 -1
- package/workflow/WorkflowTaskApprovalCard.js +5 -4
- package/workflow/WorkflowTaskApprovalCard.js.map +1 -1
- package/workflow/WorkflowTaskApprovalSummary.d.ts +6 -6
- package/workflow/WorkflowTaskApprovalSummary.js +5 -5
- package/workflow/deriveWorkflowArtifactItems.d.ts +30 -0
- package/workflow/deriveWorkflowArtifactItems.d.ts.map +1 -0
- package/workflow/deriveWorkflowArtifactItems.js +38 -0
- package/workflow/deriveWorkflowArtifactItems.js.map +1 -0
- package/workflow/deriveWorkflowUsageItems.d.ts +36 -0
- package/workflow/deriveWorkflowUsageItems.d.ts.map +1 -0
- package/workflow/deriveWorkflowUsageItems.js +50 -0
- package/workflow/deriveWorkflowUsageItems.js.map +1 -0
- package/workflow/diagnosis-document.d.ts +17 -0
- package/workflow/diagnosis-document.d.ts.map +1 -0
- package/workflow/diagnosis-document.js +29 -0
- package/workflow/diagnosis-document.js.map +1 -0
- package/workflow/execution/index.d.ts +0 -2
- package/workflow/execution/index.d.ts.map +1 -1
- package/workflow/execution/index.js +0 -2
- package/workflow/execution/index.js.map +1 -1
- package/workflow/facets/WorkflowArtifactsTab.d.ts +26 -0
- package/workflow/facets/WorkflowArtifactsTab.d.ts.map +1 -0
- package/workflow/facets/WorkflowArtifactsTab.js +34 -0
- package/workflow/facets/WorkflowArtifactsTab.js.map +1 -0
- package/workflow/facets/WorkflowChangesTab.d.ts +37 -0
- package/workflow/facets/WorkflowChangesTab.d.ts.map +1 -0
- package/workflow/facets/WorkflowChangesTab.js +50 -0
- package/workflow/facets/WorkflowChangesTab.js.map +1 -0
- package/workflow/facets/WorkflowUsageTab.d.ts +27 -0
- package/workflow/facets/WorkflowUsageTab.d.ts.map +1 -0
- package/workflow/facets/WorkflowUsageTab.js +87 -0
- package/workflow/facets/WorkflowUsageTab.js.map +1 -0
- package/workflow/format-utils.d.ts +2 -3
- package/workflow/format-utils.d.ts.map +1 -1
- package/workflow/format-utils.js +2 -3
- package/workflow/format-utils.js.map +1 -1
- package/workflow/index.d.ts +21 -10
- package/workflow/index.d.ts.map +1 -1
- package/workflow/index.js +29 -14
- package/workflow/index.js.map +1 -1
- package/workflow/inspector/index.d.ts +0 -2
- package/workflow/inspector/index.d.ts.map +1 -1
- package/workflow/inspector/index.js +0 -2
- package/workflow/inspector/index.js.map +1 -1
- package/workflow/instance/WorkflowInstanceList.d.ts.map +1 -1
- package/workflow/instance/WorkflowInstanceList.js +11 -3
- package/workflow/instance/WorkflowInstanceList.js.map +1 -1
- package/workflow/task-detail/StructuredDataViewer.d.ts.map +1 -0
- package/workflow/task-detail/StructuredDataViewer.js.map +1 -0
- package/workflow/task-detail/index.d.ts +4 -0
- package/workflow/task-detail/index.d.ts.map +1 -0
- package/workflow/task-detail/index.js +4 -0
- package/workflow/task-detail/index.js.map +1 -0
- package/workflow/task-detail/task-approval.d.ts +89 -0
- package/workflow/task-detail/task-approval.d.ts.map +1 -0
- package/workflow/task-detail/task-approval.js +84 -0
- package/workflow/task-detail/task-approval.js.map +1 -0
- package/workflow/task-detail/task-detail-io.d.ts +39 -0
- package/workflow/task-detail/task-detail-io.d.ts.map +1 -0
- package/workflow/task-detail/task-detail-io.js +42 -0
- package/workflow/task-detail/task-detail-io.js.map +1 -0
- package/workflow/thread/WorkflowTaskThread.d.ts +91 -0
- package/workflow/thread/WorkflowTaskThread.d.ts.map +1 -0
- package/workflow/thread/WorkflowTaskThread.js +318 -0
- package/workflow/thread/WorkflowTaskThread.js.map +1 -0
- package/workflow/thread/project-thread-items.d.ts +108 -0
- package/workflow/thread/project-thread-items.d.ts.map +1 -0
- package/workflow/thread/project-thread-items.js +126 -0
- package/workflow/thread/project-thread-items.js.map +1 -0
- package/workflow/thread/task-presentation.d.ts +73 -0
- package/workflow/thread/task-presentation.d.ts.map +1 -0
- package/workflow/thread/task-presentation.js +331 -0
- package/workflow/thread/task-presentation.js.map +1 -0
- package/workflow/thread/thread-presentation.d.ts +28 -0
- package/workflow/thread/thread-presentation.d.ts.map +1 -0
- package/workflow/thread/thread-presentation.js +28 -0
- package/workflow/thread/thread-presentation.js.map +1 -0
- package/workflow/thread/useWorkflowThreadItems.d.ts +16 -0
- package/workflow/thread/useWorkflowThreadItems.d.ts.map +1 -0
- package/workflow/thread/useWorkflowThreadItems.js +22 -0
- package/workflow/thread/useWorkflowThreadItems.js.map +1 -0
- package/workflow/useApprovalBoundary.d.ts +38 -0
- package/workflow/useApprovalBoundary.d.ts.map +1 -0
- package/workflow/useApprovalBoundary.js +55 -0
- package/workflow/useApprovalBoundary.js.map +1 -0
- package/workflow/useFollowExecution.d.ts +0 -20
- package/workflow/useFollowExecution.d.ts.map +1 -1
- package/workflow/useFollowExecution.js +0 -17
- package/workflow/useFollowExecution.js.map +1 -1
- package/workflow/useWorkflowArtifactDownload.d.ts +28 -0
- package/workflow/useWorkflowArtifactDownload.d.ts.map +1 -0
- package/workflow/useWorkflowArtifactDownload.js +45 -0
- package/workflow/useWorkflowArtifactDownload.js.map +1 -0
- package/workflow/useWorkflowExecutionActions.d.ts +3 -2
- package/workflow/useWorkflowExecutionActions.d.ts.map +1 -1
- package/workflow/useWorkflowExecutionActions.js.map +1 -1
- package/workflow/useWorkflowExecutionFileChanges.d.ts +107 -0
- package/workflow/useWorkflowExecutionFileChanges.d.ts.map +1 -0
- package/workflow/useWorkflowExecutionFileChanges.js +244 -0
- package/workflow/useWorkflowExecutionFileChanges.js.map +1 -0
- package/workflow/useWorkflowExecutionGraph.d.ts +1 -14
- package/workflow/useWorkflowExecutionGraph.d.ts.map +1 -1
- package/workflow/useWorkflowExecutionGraph.js +2 -25
- package/workflow/useWorkflowExecutionGraph.js.map +1 -1
- package/workflow/useWorkflowExecutionPanel.d.ts +108 -0
- package/workflow/useWorkflowExecutionPanel.d.ts.map +1 -0
- package/workflow/useWorkflowExecutionPanel.js +103 -0
- package/workflow/useWorkflowExecutionPanel.js.map +1 -0
- package/workflow/useWorkflowExecutionRailViews.d.ts +46 -0
- package/workflow/useWorkflowExecutionRailViews.d.ts.map +1 -0
- package/workflow/useWorkflowExecutionRailViews.js +81 -0
- package/workflow/useWorkflowExecutionRailViews.js.map +1 -0
- package/workspace/FileViewer.d.ts +1 -1
- package/workspace/FileViewer.js +3 -3
- package/workspace/FileViewer.js.map +1 -1
- package/workspace/PanelChip.d.ts +27 -0
- package/workspace/PanelChip.d.ts.map +1 -0
- package/workspace/PanelChip.js +42 -0
- package/workspace/PanelChip.js.map +1 -0
- package/workspace/WorkspaceSurface.d.ts +25 -1
- package/workspace/WorkspaceSurface.d.ts.map +1 -1
- package/workspace/WorkspaceSurface.js +21 -9
- package/workspace/WorkspaceSurface.js.map +1 -1
- package/workspace/index.d.ts +3 -1
- package/workspace/index.d.ts.map +1 -1
- package/workspace/index.js +1 -0
- package/workspace/index.js.map +1 -1
- package/execution/ThreadSelectionContext.d.ts +0 -17
- package/execution/ThreadSelectionContext.d.ts.map +0 -1
- package/execution/ThreadSelectionContext.js +0 -18
- package/execution/ThreadSelectionContext.js.map +0 -1
- package/execution/useThreadSelection.d.ts +0 -35
- package/execution/useThreadSelection.d.ts.map +0 -1
- package/execution/useThreadSelection.js +0 -65
- package/execution/useThreadSelection.js.map +0 -1
- package/internal/store/selection-store.d.ts +0 -53
- package/internal/store/selection-store.d.ts.map +0 -1
- package/internal/store/selection-store.js +0 -88
- package/internal/store/selection-store.js.map +0 -1
- package/session/artifact-document.d.ts.map +0 -1
- package/session/artifact-document.js +0 -22
- package/session/artifact-document.js.map +0 -1
- package/session/facets/InspectTab.d.ts +0 -13
- package/session/facets/InspectTab.d.ts.map +0 -1
- package/session/facets/InspectTab.js +0 -19
- package/session/facets/InspectTab.js.map +0 -1
- package/src/execution/ThreadSelectionContext.tsx +0 -20
- package/src/execution/useThreadSelection.ts +0 -95
- package/src/internal/store/__tests__/selection-store.test.ts +0 -115
- package/src/internal/store/selection-store.ts +0 -112
- package/src/session/artifact-document.ts +0 -23
- package/src/session/facets/InspectTab.tsx +0 -57
- package/src/workflow/WorkflowExecutionApprovalCard.tsx +0 -154
- package/src/workflow/WorkflowExecutionArtifactPanel.tsx +0 -107
- package/src/workflow/WorkflowExecutionCostPanel.tsx +0 -120
- package/src/workflow/WorkflowExecutionTaskPanel.tsx +0 -129
- package/src/workflow/WorkflowExecutionTimeline.tsx +0 -151
- package/src/workflow/WorkflowExecutionTimelineEvent.tsx +0 -497
- package/src/workflow/__tests__/ExecutionInspector.test.tsx +0 -155
- package/src/workflow/__tests__/WorkflowExecutionApprovalCard.test.tsx +0 -129
- package/src/workflow/__tests__/derive-task-detail.test.ts +0 -1265
- package/src/workflow/__tests__/derive-waterfall-entries.test.ts +0 -521
- package/src/workflow/__tests__/execution-inspector.test.tsx +0 -332
- package/src/workflow/execution/derive-waterfall-entries.ts +0 -377
- package/src/workflow/execution/useWaterfallEntries.ts +0 -125
- package/src/workflow/execution-inspector/AgentCallTab.tsx +0 -169
- package/src/workflow/execution-inspector/ErrorTab.tsx +0 -110
- package/src/workflow/execution-inspector/EventLogTab.tsx +0 -79
- package/src/workflow/execution-inspector/ExecutionInspector.tsx +0 -341
- package/src/workflow/execution-inspector/InputOutputTab.tsx +0 -325
- package/src/workflow/execution-inspector/RetriesTab.tsx +0 -68
- package/src/workflow/execution-inspector/SummaryTab.tsx +0 -62
- package/src/workflow/execution-inspector/derive-task-detail.ts +0 -584
- package/src/workflow/execution-inspector/index.ts +0 -14
- package/src/workflow/execution-inspector/useExecutionTaskDetail.ts +0 -55
- package/src/workflow/inspector/ExecutionInspectorAdapter.tsx +0 -40
- package/src/workflow/waterfall/WaterfallBar.tsx +0 -167
- package/src/workflow/waterfall/WaterfallRow.tsx +0 -112
- package/src/workflow/waterfall/WaterfallScale.tsx +0 -52
- package/src/workflow/waterfall/WaterfallTimeline.tsx +0 -138
- package/src/workflow/waterfall/WaterfallTooltip.tsx +0 -74
- package/src/workflow/waterfall/index.ts +0 -5
- package/workflow/WorkflowExecutionApprovalCard.d.ts +0 -34
- package/workflow/WorkflowExecutionApprovalCard.d.ts.map +0 -1
- package/workflow/WorkflowExecutionApprovalCard.js +0 -46
- package/workflow/WorkflowExecutionApprovalCard.js.map +0 -1
- package/workflow/WorkflowExecutionArtifactPanel.d.ts +0 -15
- package/workflow/WorkflowExecutionArtifactPanel.d.ts.map +0 -1
- package/workflow/WorkflowExecutionArtifactPanel.js +0 -46
- package/workflow/WorkflowExecutionArtifactPanel.js.map +0 -1
- package/workflow/WorkflowExecutionCostPanel.d.ts +0 -18
- package/workflow/WorkflowExecutionCostPanel.d.ts.map +0 -1
- package/workflow/WorkflowExecutionCostPanel.js +0 -31
- package/workflow/WorkflowExecutionCostPanel.js.map +0 -1
- package/workflow/WorkflowExecutionTaskPanel.d.ts +0 -24
- package/workflow/WorkflowExecutionTaskPanel.d.ts.map +0 -1
- package/workflow/WorkflowExecutionTaskPanel.js +0 -51
- package/workflow/WorkflowExecutionTaskPanel.js.map +0 -1
- package/workflow/WorkflowExecutionTimeline.d.ts +0 -42
- package/workflow/WorkflowExecutionTimeline.d.ts.map +0 -1
- package/workflow/WorkflowExecutionTimeline.js +0 -52
- package/workflow/WorkflowExecutionTimeline.js.map +0 -1
- package/workflow/WorkflowExecutionTimelineEvent.d.ts +0 -25
- package/workflow/WorkflowExecutionTimelineEvent.d.ts.map +0 -1
- package/workflow/WorkflowExecutionTimelineEvent.js +0 -179
- package/workflow/WorkflowExecutionTimelineEvent.js.map +0 -1
- package/workflow/execution/derive-waterfall-entries.d.ts +0 -85
- package/workflow/execution/derive-waterfall-entries.d.ts.map +0 -1
- package/workflow/execution/derive-waterfall-entries.js +0 -268
- package/workflow/execution/derive-waterfall-entries.js.map +0 -1
- package/workflow/execution/useWaterfallEntries.d.ts +0 -25
- package/workflow/execution/useWaterfallEntries.d.ts.map +0 -1
- package/workflow/execution/useWaterfallEntries.js +0 -67
- package/workflow/execution/useWaterfallEntries.js.map +0 -1
- package/workflow/execution-inspector/AgentCallTab.d.ts +0 -21
- package/workflow/execution-inspector/AgentCallTab.d.ts.map +0 -1
- package/workflow/execution-inspector/AgentCallTab.js +0 -36
- package/workflow/execution-inspector/AgentCallTab.js.map +0 -1
- package/workflow/execution-inspector/ErrorTab.d.ts +0 -9
- package/workflow/execution-inspector/ErrorTab.d.ts.map +0 -1
- package/workflow/execution-inspector/ErrorTab.js +0 -29
- package/workflow/execution-inspector/ErrorTab.js.map +0 -1
- package/workflow/execution-inspector/EventLogTab.d.ts +0 -11
- package/workflow/execution-inspector/EventLogTab.d.ts.map +0 -1
- package/workflow/execution-inspector/EventLogTab.js +0 -47
- package/workflow/execution-inspector/EventLogTab.js.map +0 -1
- package/workflow/execution-inspector/ExecutionInspector.d.ts +0 -69
- package/workflow/execution-inspector/ExecutionInspector.d.ts.map +0 -1
- package/workflow/execution-inspector/ExecutionInspector.js +0 -145
- package/workflow/execution-inspector/ExecutionInspector.js.map +0 -1
- package/workflow/execution-inspector/InputOutputTab.d.ts +0 -20
- package/workflow/execution-inspector/InputOutputTab.d.ts.map +0 -1
- package/workflow/execution-inspector/InputOutputTab.js +0 -124
- package/workflow/execution-inspector/InputOutputTab.js.map +0 -1
- package/workflow/execution-inspector/RetriesTab.d.ts +0 -7
- package/workflow/execution-inspector/RetriesTab.d.ts.map +0 -1
- package/workflow/execution-inspector/RetriesTab.js +0 -11
- package/workflow/execution-inspector/RetriesTab.js.map +0 -1
- package/workflow/execution-inspector/StructuredDataViewer.d.ts.map +0 -1
- package/workflow/execution-inspector/StructuredDataViewer.js.map +0 -1
- package/workflow/execution-inspector/SummaryTab.d.ts +0 -7
- package/workflow/execution-inspector/SummaryTab.d.ts.map +0 -1
- package/workflow/execution-inspector/SummaryTab.js +0 -10
- package/workflow/execution-inspector/SummaryTab.js.map +0 -1
- package/workflow/execution-inspector/derive-task-detail.d.ts +0 -140
- package/workflow/execution-inspector/derive-task-detail.d.ts.map +0 -1
- package/workflow/execution-inspector/derive-task-detail.js +0 -366
- package/workflow/execution-inspector/derive-task-detail.js.map +0 -1
- package/workflow/execution-inspector/index.d.ts +0 -4
- package/workflow/execution-inspector/index.d.ts.map +0 -1
- package/workflow/execution-inspector/index.js +0 -4
- package/workflow/execution-inspector/index.js.map +0 -1
- package/workflow/execution-inspector/useExecutionTaskDetail.d.ts +0 -38
- package/workflow/execution-inspector/useExecutionTaskDetail.d.ts.map +0 -1
- package/workflow/execution-inspector/useExecutionTaskDetail.js +0 -37
- package/workflow/execution-inspector/useExecutionTaskDetail.js.map +0 -1
- package/workflow/inspector/ExecutionInspectorAdapter.d.ts +0 -26
- package/workflow/inspector/ExecutionInspectorAdapter.d.ts.map +0 -1
- package/workflow/inspector/ExecutionInspectorAdapter.js +0 -23
- package/workflow/inspector/ExecutionInspectorAdapter.js.map +0 -1
- package/workflow/waterfall/WaterfallBar.d.ts +0 -19
- package/workflow/waterfall/WaterfallBar.d.ts.map +0 -1
- package/workflow/waterfall/WaterfallBar.js +0 -70
- package/workflow/waterfall/WaterfallBar.js.map +0 -1
- package/workflow/waterfall/WaterfallRow.d.ts +0 -18
- package/workflow/waterfall/WaterfallRow.d.ts.map +0 -1
- package/workflow/waterfall/WaterfallRow.js +0 -45
- package/workflow/waterfall/WaterfallRow.js.map +0 -1
- package/workflow/waterfall/WaterfallScale.d.ts +0 -14
- package/workflow/waterfall/WaterfallScale.d.ts.map +0 -1
- package/workflow/waterfall/WaterfallScale.js +0 -22
- package/workflow/waterfall/WaterfallScale.js.map +0 -1
- package/workflow/waterfall/WaterfallTimeline.d.ts +0 -46
- package/workflow/waterfall/WaterfallTimeline.d.ts.map +0 -1
- package/workflow/waterfall/WaterfallTimeline.js +0 -60
- package/workflow/waterfall/WaterfallTimeline.js.map +0 -1
- package/workflow/waterfall/WaterfallTooltip.d.ts +0 -15
- package/workflow/waterfall/WaterfallTooltip.d.ts.map +0 -1
- package/workflow/waterfall/WaterfallTooltip.js +0 -20
- package/workflow/waterfall/WaterfallTooltip.js.map +0 -1
- package/workflow/waterfall/index.d.ts +0 -6
- package/workflow/waterfall/index.d.ts.map +0 -1
- package/workflow/waterfall/index.js +0 -6
- package/workflow/waterfall/index.js.map +0 -1
- /package/src/workflow/{execution-inspector → task-detail}/StructuredDataViewer.tsx +0 -0
- /package/workflow/{execution-inspector → task-detail}/StructuredDataViewer.d.ts +0 -0
- /package/workflow/{execution-inspector → task-detail}/StructuredDataViewer.js +0 -0
|
@@ -7,26 +7,64 @@ import { WorkflowTaskKind } from "@stigmer/protos/ai/stigmer/agentic/workflow/v1
|
|
|
7
7
|
import { useWorkflowExecution } from "./useWorkflowExecution.js";
|
|
8
8
|
import { useWorkflowExecutionEventStream } from "./useWorkflowExecutionEventStream.js";
|
|
9
9
|
import { useWorkflowExecutionArtifacts } from "./useWorkflowExecutionArtifacts.js";
|
|
10
|
+
import { useWorkflowExecutionFileChanges, } from "./useWorkflowExecutionFileChanges.js";
|
|
10
11
|
import { useWorkflowExecutionActions } from "./useWorkflowExecutionActions.js";
|
|
11
12
|
import { WorkflowExecutionHeader } from "./WorkflowExecutionHeader.js";
|
|
12
|
-
import { WorkflowExecutionTimeline } from "./WorkflowExecutionTimeline.js";
|
|
13
|
-
import { WaterfallTimeline } from "./waterfall/index.js";
|
|
14
|
-
import { WorkflowExecutionCostPanel } from "./WorkflowExecutionCostPanel.js";
|
|
15
|
-
import { WorkflowExecutionArtifactPanel } from "./WorkflowExecutionArtifactPanel.js";
|
|
16
13
|
import { WorkflowRepairCard } from "./WorkflowRepairCard.js";
|
|
17
14
|
import { WorkflowExecutionGraph } from "./WorkflowExecutionGraph.js";
|
|
18
|
-
import { ExecutionInspector } from "./execution-inspector/index.js";
|
|
19
15
|
import { ExecutionComparisonPicker } from "./execution-comparison/ExecutionComparisonPicker.js";
|
|
20
16
|
import { ExecutionComparisonView } from "./execution-comparison/ExecutionComparisonView.js";
|
|
21
|
-
import { WorkflowExecutionApprovalCard } from "./WorkflowExecutionApprovalCard.js";
|
|
22
|
-
import { WorkflowFileReviewList } from "./WorkflowFileReviewList.js";
|
|
23
17
|
import { ResizableSplit } from "../internal/ResizableSplit.js";
|
|
18
|
+
import { useWorkspaceEditors } from "../internal/store/index.js";
|
|
19
|
+
import { ARTIFACT_DOCUMENT_ENTRY_ID } from "../execution/artifact-document.js";
|
|
20
|
+
import { FILE_CHANGE_DOCUMENT_ENTRY_ID, fileChangeTabPath, } from "../execution/file-change-document.js";
|
|
21
|
+
import { AGENT_EXECUTION_DOCUMENT_ENTRY_ID, parseAgentExecutionTabPath, } from "../execution/agent-execution-document.js";
|
|
22
|
+
import { FileChangeDiff } from "../execution/FileChangesView.js";
|
|
23
|
+
import { WorkflowAgentExecutionDocument, } from "./WorkflowAgentExecutionDocument.js";
|
|
24
|
+
import { WorkspaceSurface, } from "../workspace/WorkspaceSurface.js";
|
|
25
|
+
import { PanelChip } from "../workspace/PanelChip.js";
|
|
26
|
+
import { useWorkflowExecutionPanel, workflowArtifactTabPath, } from "./useWorkflowExecutionPanel.js";
|
|
27
|
+
import { useWorkflowExecutionRailViews } from "./useWorkflowExecutionRailViews.js";
|
|
28
|
+
import { DIAGNOSIS_DOCUMENT_ENTRY_ID, DIAGNOSIS_DOCUMENT_PATH, } from "./diagnosis-document.js";
|
|
29
|
+
import { WorkflowArtifactDocument } from "./WorkflowArtifactDocument.js";
|
|
30
|
+
import { WorkflowTaskThread, } from "./thread/WorkflowTaskThread.js";
|
|
31
|
+
import { useExecutionAnnouncements } from "./useExecutionAnnouncements.js";
|
|
32
|
+
import { useApprovalBoundary, } from "./useApprovalBoundary.js";
|
|
33
|
+
// Versioned key (S9). The unversioned S8 key is deliberately ABANDONED, not
|
|
34
|
+
// migrated: S8 shipped the thread as an opt-in preview with Graph as the
|
|
35
|
+
// default, so a stored S8 value records exploration of that preview — not a
|
|
36
|
+
// deliberate preference against the thread-primary product direction. The
|
|
37
|
+
// version bump gives every user one fresh landing on the new default;
|
|
38
|
+
// choices made from there persist.
|
|
39
|
+
const CENTER_VIEW_STORAGE_KEY = "stgm-wf-exec-center-view.v2";
|
|
40
|
+
const LEGACY_CENTER_VIEW_STORAGE_KEY = "stgm-wf-exec-center-view";
|
|
41
|
+
/**
|
|
42
|
+
* Read the persisted center view, defaulting to the thread (the T02
|
|
43
|
+
* thread-primary pivot). Same lazy-`useState` + `localStorage` pattern as
|
|
44
|
+
* `ResizableSplit`'s persisted width.
|
|
45
|
+
*/
|
|
46
|
+
function readStoredCenterView() {
|
|
47
|
+
try {
|
|
48
|
+
const stored = localStorage.getItem(CENTER_VIEW_STORAGE_KEY);
|
|
49
|
+
if (stored === "thread" || stored === "graph")
|
|
50
|
+
return stored;
|
|
51
|
+
}
|
|
52
|
+
catch {
|
|
53
|
+
/* localStorage may be unavailable */
|
|
54
|
+
}
|
|
55
|
+
return "thread";
|
|
56
|
+
}
|
|
24
57
|
/**
|
|
25
58
|
* Top-level composed viewer for a single workflow execution.
|
|
26
59
|
*
|
|
27
|
-
* Wires together all execution hooks and sub-components into a
|
|
28
|
-
*
|
|
29
|
-
*
|
|
60
|
+
* Wires together all execution hooks and sub-components into a two-column
|
|
61
|
+
* layout: the center column (the session-style task thread by default, with
|
|
62
|
+
* the DAG graph behind a view toggle — a passive visualization) and a single
|
|
63
|
+
* collapsible `WorkspaceSurface` panel carrying the execution-level facets
|
|
64
|
+
* (Artifacts/Changes/Usage on the rail) and the rich documents (transcripts,
|
|
65
|
+
* diffs, artifacts, AI diagnosis in the editor area). A task's detail —
|
|
66
|
+
* preview, I/O, errors, and every HITL decision surface — lives on its
|
|
67
|
+
* thread card, the single home for task data (T06).
|
|
30
68
|
*
|
|
31
69
|
* This component is designed to work identically whether rendered
|
|
32
70
|
* in the Stigmer Console or embedded in a third-party dashboard.
|
|
@@ -40,7 +78,7 @@ import { ResizableSplit } from "../internal/ResizableSplit.js";
|
|
|
40
78
|
* />
|
|
41
79
|
* ```
|
|
42
80
|
*/
|
|
43
|
-
export const WorkflowExecutionViewer = memo(function WorkflowExecutionViewer({ executionId, org, onNavigateToAgentExecution, onNavigateToWorkflowEditor,
|
|
81
|
+
export const WorkflowExecutionViewer = memo(function WorkflowExecutionViewer({ executionId, org, onNavigateToAgentExecution, onNavigateToWorkflowEditor, headerActions, nodesDraggable, className, }) {
|
|
44
82
|
const { execution, isLoading: isLoadingExecution, error: executionError, refetch: refetchExecution, } = useWorkflowExecution(executionId);
|
|
45
83
|
const phase = execution?.status?.phase;
|
|
46
84
|
const isRunning = phase === ExecutionPhase.EXECUTION_PENDING || phase === ExecutionPhase.EXECUTION_IN_PROGRESS;
|
|
@@ -99,34 +137,152 @@ export const WorkflowExecutionViewer = memo(function WorkflowExecutionViewer({ e
|
|
|
99
137
|
currentToolName: "",
|
|
100
138
|
messagesCount: 0,
|
|
101
139
|
toolCallsCount: 0,
|
|
140
|
+
// No event log → no truncated summaries and no gate record. The
|
|
141
|
+
// card body still renders full I/O from this same snapshot
|
|
142
|
+
// (`status.tasks[]`), so the fallback path is never a blank card
|
|
143
|
+
// (T04); a decided human_input degrades to its raw output there.
|
|
144
|
+
inputSummary: null,
|
|
145
|
+
outputSummary: null,
|
|
146
|
+
approvalRequest: null,
|
|
147
|
+
approvalResolution: null,
|
|
102
148
|
});
|
|
103
149
|
}
|
|
104
150
|
return map;
|
|
105
151
|
}, [events.length, streamState.stage, execution?.status?.tasks]);
|
|
106
152
|
const effectiveTaskStates = fallbackTaskStates ?? taskStates;
|
|
107
153
|
const effectiveTotalTasks = fallbackTaskStates ? fallbackTaskStates.size : totalTasks;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
154
|
+
// Per-task snapshot lookup for the thread cards' I/O bodies (T04): an
|
|
155
|
+
// O(1) map, rebuilt only when the snapshot refetches — never on stream
|
|
156
|
+
// event appends — so memoized cards keep bailing during streaming.
|
|
157
|
+
const taskSnapshotsByName = useMemo(() => {
|
|
158
|
+
const tasks = execution?.status?.tasks;
|
|
159
|
+
if (!tasks || tasks.length === 0)
|
|
160
|
+
return undefined;
|
|
161
|
+
const map = new Map();
|
|
162
|
+
for (const t of tasks) {
|
|
163
|
+
if (t.taskName)
|
|
164
|
+
map.set(t.taskName, t);
|
|
113
165
|
}
|
|
114
|
-
return
|
|
115
|
-
}, [execution?.status?.
|
|
116
|
-
const { artifacts
|
|
166
|
+
return map;
|
|
167
|
+
}, [execution?.status?.tasks]);
|
|
168
|
+
const { artifacts } = useWorkflowExecutionArtifacts(executionId);
|
|
169
|
+
// File-change rollup across AGENT_CALL children (Changes facet). Owner-level
|
|
170
|
+
// like the artifacts hook — the fetched children must survive panel
|
|
171
|
+
// collapse/expand cycles (the panel's content unmounts while collapsed).
|
|
172
|
+
const fileChangesState = useWorkflowExecutionFileChanges({
|
|
173
|
+
executionId,
|
|
174
|
+
taskStates: effectiveTaskStates,
|
|
175
|
+
taskSnapshots: execution?.status?.tasks,
|
|
176
|
+
});
|
|
117
177
|
const actions = useWorkflowExecutionActions(executionId, {
|
|
118
178
|
onSuccess: refetchExecution,
|
|
119
179
|
});
|
|
120
|
-
|
|
121
|
-
|
|
180
|
+
// The child-gate HITL wiring — ONE bundle from the single actions
|
|
181
|
+
// instance, narrowed to the six child-gate fields, consumed by the
|
|
182
|
+
// in-place transcript documents (S5, as `WorkflowAgentExecutionHitl`), so
|
|
183
|
+
// a gate's spinner/error is pixel-identical on every surface. Deps are
|
|
184
|
+
// the individual fields (DD-010): the bundle's ref must survive unrelated
|
|
185
|
+
// churn on `actions` (a lifecycle action's isSubmitting flip), so
|
|
186
|
+
// consumers re-render only when a gate's own in-flight/error state moves.
|
|
187
|
+
const childGateHitl = useMemo(() => ({
|
|
188
|
+
submitApproval: actions.submitApproval,
|
|
189
|
+
approvalSubmittingToolCallIds: actions.approvalSubmittingToolCallIds,
|
|
190
|
+
approvalErrorsByToolCallId: actions.approvalErrorsByToolCallId,
|
|
191
|
+
submitFileDecision: actions.submitFileDecision,
|
|
192
|
+
fileDecisionSubmittingKeys: actions.fileDecisionSubmittingKeys,
|
|
193
|
+
fileDecisionErrorsByKey: actions.fileDecisionErrorsByKey,
|
|
194
|
+
}), [
|
|
195
|
+
actions.submitApproval,
|
|
196
|
+
actions.approvalSubmittingToolCallIds,
|
|
197
|
+
actions.approvalErrorsByToolCallId,
|
|
198
|
+
actions.submitFileDecision,
|
|
199
|
+
actions.fileDecisionSubmittingKeys,
|
|
200
|
+
actions.fileDecisionErrorsByKey,
|
|
201
|
+
]);
|
|
202
|
+
// The thread's HITL bundle (T06): the child-gate fields PLUS the
|
|
203
|
+
// task-level (human_input) approval wiring — since the gating card is
|
|
204
|
+
// the only decision surface, the thread carries all three gate kinds.
|
|
205
|
+
// A separate memo from `childGateHitl` so a human_input decision's
|
|
206
|
+
// in-flight flip re-renders the gating card, never the open transcript
|
|
207
|
+
// documents (DD-010).
|
|
208
|
+
const threadHitl = useMemo(() => ({
|
|
209
|
+
...childGateHitl,
|
|
210
|
+
submitTaskApproval: actions.submitTaskApproval,
|
|
211
|
+
taskApprovalSubmittingTaskNames: actions.taskApprovalSubmittingTaskNames,
|
|
212
|
+
taskApprovalErrorsByTaskName: actions.taskApprovalErrorsByTaskName,
|
|
213
|
+
}), [
|
|
214
|
+
childGateHitl,
|
|
215
|
+
actions.submitTaskApproval,
|
|
216
|
+
actions.taskApprovalSubmittingTaskNames,
|
|
217
|
+
actions.taskApprovalErrorsByTaskName,
|
|
218
|
+
]);
|
|
219
|
+
// The execution-level workspace panel (facets + virtual document
|
|
220
|
+
// tabs). The controller lives at the owner level — the editors-store
|
|
221
|
+
// SUBSCRIPTION stays inside ExecutionWorkspacePanel so tab churn re-renders
|
|
222
|
+
// only the panel subtree, never the streaming graph (DD-009/DD-010).
|
|
223
|
+
const panel = useWorkflowExecutionPanel();
|
|
122
224
|
const [showComparePicker, setShowComparePicker] = useState(false);
|
|
123
225
|
const [compareTargetId, setCompareTargetId] = useState(null);
|
|
124
|
-
|
|
125
|
-
|
|
226
|
+
// Center-column view (S8/S9). Both views stay mounted with the inactive
|
|
227
|
+
// one CSS-hidden — the `collapsedPane` discipline — so toggling never
|
|
228
|
+
// remounts React Flow or drops the event stream (DD-009).
|
|
229
|
+
const [centerView, setCenterView] = useState(readStoredCenterView);
|
|
230
|
+
const handleCenterViewChange = useCallback((view) => {
|
|
231
|
+
setCenterView(view);
|
|
232
|
+
try {
|
|
233
|
+
localStorage.setItem(CENTER_VIEW_STORAGE_KEY, view);
|
|
234
|
+
}
|
|
235
|
+
catch {
|
|
236
|
+
/* quota or security error */
|
|
237
|
+
}
|
|
126
238
|
}, []);
|
|
127
|
-
|
|
128
|
-
|
|
239
|
+
// One-time cleanup of the abandoned S8 key (an effect, not the read path —
|
|
240
|
+
// reads must stay side-effect-free).
|
|
241
|
+
useEffect(() => {
|
|
242
|
+
try {
|
|
243
|
+
localStorage.removeItem(LEGACY_CENTER_VIEW_STORAGE_KEY);
|
|
244
|
+
}
|
|
245
|
+
catch {
|
|
246
|
+
/* localStorage may be unavailable */
|
|
247
|
+
}
|
|
129
248
|
}, []);
|
|
249
|
+
// Screen reader announcements for task state changes. Owned by the viewer
|
|
250
|
+
// (not the graph): `display:none` removes content from the accessibility
|
|
251
|
+
// tree, so a live region inside the CSS-hidden graph would go silent in
|
|
252
|
+
// Thread view. One always-visible announcer serves both center views.
|
|
253
|
+
const announcement = useExecutionAnnouncements(effectiveTaskStates);
|
|
254
|
+
// Terminal-phase snapshot refetch (T04, DD-T04-4). While a run streams,
|
|
255
|
+
// the cards' collapsed lines and bodies work from the TRUNCATED event
|
|
256
|
+
// summaries; the full per-task output lands on `status.tasks[]` only when
|
|
257
|
+
// the runner persists the terminal snapshot. The stream store's stage is
|
|
258
|
+
// the live end-of-run signal (`"complete"` on the terminal event) — the
|
|
259
|
+
// snapshot's own `phase` cannot be the trigger, since it only moves on a
|
|
260
|
+
// refetch (the circularity behind the stale "Pending" header, R1-5).
|
|
261
|
+
// Scoped to the live→complete TRANSITION: a terminal-replay mount starts
|
|
262
|
+
// at "complete" without ever streaming and already fetched a settled
|
|
263
|
+
// snapshot, so it must not refetch again.
|
|
264
|
+
const prevStreamStageRef = useRef(streamState.stage);
|
|
265
|
+
useEffect(() => {
|
|
266
|
+
const prev = prevStreamStageRef.current;
|
|
267
|
+
prevStreamStageRef.current = streamState.stage;
|
|
268
|
+
if (streamState.stage === "complete" &&
|
|
269
|
+
(prev === "streaming" || prev === "reconnecting")) {
|
|
270
|
+
refetchExecution();
|
|
271
|
+
}
|
|
272
|
+
}, [streamState.stage, refetchExecution]);
|
|
273
|
+
// Snapshot freshness across HITL boundaries (S9, the drawer's
|
|
274
|
+
// replacement). A `waiting_approval` boundary crossing — in EITHER
|
|
275
|
+
// direction — means the mount snapshot's gate lists are stale → refetch
|
|
276
|
+
// (stale-while-revalidate; no skeleton): the thread's in-card gates read
|
|
277
|
+
// those lists. No auto-select accompanies it (T06 — selection is gone):
|
|
278
|
+
// the gating card is amber, carries its decision surface, and the aria
|
|
279
|
+
// announcer + auto-follow + jump-to-latest cover attention. Gated on
|
|
280
|
+
// `isRunning` so terminal-execution history replay (which crosses the
|
|
281
|
+
// boundary for long-decided gates) never refetches.
|
|
282
|
+
const handleApprovalBoundary = useCallback((_crossing) => {
|
|
283
|
+
refetchExecution();
|
|
284
|
+
}, [refetchExecution]);
|
|
285
|
+
useApprovalBoundary(effectiveTaskStates, isRunning, handleApprovalBoundary);
|
|
130
286
|
const handleOpenComparePicker = useCallback(() => {
|
|
131
287
|
setShowComparePicker(true);
|
|
132
288
|
}, []);
|
|
@@ -158,40 +314,159 @@ export const WorkflowExecutionViewer = memo(function WorkflowExecutionViewer({ e
|
|
|
158
314
|
if (!execution) {
|
|
159
315
|
return (_jsx("div", { className: cn("flex h-full items-center justify-center text-sm text-muted-foreground", className), children: "Execution not found" }));
|
|
160
316
|
}
|
|
161
|
-
return (_jsxs("div", { className: cn("flex h-full flex-col overflow-hidden", className), children: [_jsx(WorkflowExecutionHeader, { execution: execution, streamState: streamState, costSummary: costSummary, actions: actions,
|
|
317
|
+
return (_jsxs("div", { className: cn("flex h-full flex-col overflow-hidden", className), children: [_jsx(WorkflowExecutionHeader, { execution: execution, streamState: streamState, costSummary: costSummary, actions: actions,
|
|
318
|
+
// Diagnose opens (or focuses) the singleton diagnosis document tab —
|
|
319
|
+
// the tab itself is the "diagnosis is active" state, so there is no
|
|
320
|
+
// owner-level isDiagnosing boolean to keep in sync (SSOT).
|
|
321
|
+
onDiagnose: org ? panel.openDiagnosis : undefined, onCompare: handleOpenComparePicker, headerActions: _jsxs(_Fragment, { children: [headerActions, _jsx(PanelChip, { isOpen: panel.isOpen, onToggle: panel.isOpen ? panel.closePanel : panel.openPanel, badgeCount: artifacts.length })] }) }), _jsx(ExecutionComparisonPicker, { open: showComparePicker, workflowId: execution.spec?.workflowId ?? execution.spec?.workflowInstanceId ?? "", baseExecutionId: executionId, basePhase: phase ?? 0, onConfirm: handleCompareConfirm, onClose: handleCloseComparePicker }), actions.error && (_jsxs("div", { className: "flex items-center gap-2 border-b border-destructive/20 bg-destructive/5 px-4 py-2", children: [_jsx("p", { className: "flex-1 text-xs text-destructive", children: actions.error.message }), _jsx("button", { type: "button", onClick: actions.clearError, className: "shrink-0 rounded border border-destructive/30 px-2 py-1 text-xs text-destructive hover:bg-destructive/10", children: "Dismiss" })] })), compareTargetId ? (_jsx("div", { className: "min-h-0 flex-1 overflow-y-auto p-4", children: _jsx(ExecutionComparisonView, { baseExecutionId: executionId, compareExecutionId: compareTargetId, onBack: handleExitComparison }) })) : (_jsxs(_Fragment, { children: [streamError && (_jsxs("div", { className: "flex items-center gap-2 border-b border-destructive/20 bg-destructive/5 px-4 py-2", children: [_jsx("p", { className: "flex-1 text-xs text-destructive", children: streamError.message }), _jsx("button", { type: "button", onClick: reconnect, className: "shrink-0 rounded border border-destructive/30 px-2 py-1 text-xs text-destructive hover:bg-destructive/10", children: "Reconnect" })] })), _jsx(ResizableSplit, { resizablePane: "secondary", collapsedPane: panel.isOpen ? "none" : "secondary", defaultSize: 560, minSize: 360, maxSize: 960, storageKey: "stgm-wf-exec-panel-width", ariaLabel: "Resize execution panel", className: "min-h-0 flex-1", primary: _jsxs("div", { className: "flex h-full min-h-0 flex-1 flex-col", children: [_jsx(CenterViewSwitcher, { view: centerView, onChange: handleCenterViewChange }), _jsx("div", { role: "log", "aria-live": "polite", "aria-atomic": "false", className: "sr-only", children: announcement }), _jsx("div", { "data-center-view": "thread", className: cn("min-h-0 flex-1", centerView !== "thread" && "hidden"), children: _jsx(WorkflowTaskThread, { taskStates: effectiveTaskStates, totalTasks: effectiveTotalTasks, isRunning: isRunning, onOpenAgentExecution: panel.openAgentExecution,
|
|
322
|
+
// In-card HITL (S10/T06): all three gate kinds decide on the
|
|
323
|
+
// gating card, backed by the snapshot gate lists (kept fresh
|
|
324
|
+
// by the approval boundary's refetch above).
|
|
325
|
+
hitl: threadHitl, pendingApprovals: execution?.status?.pendingApprovals, pendingFileReviews: execution?.status?.pendingFileReviews,
|
|
326
|
+
// Full per-task I/O for the card bodies (T04) — an O(1)
|
|
327
|
+
// per-card snapshot lookup.
|
|
328
|
+
taskSnapshotsByName: taskSnapshotsByName, className: "h-full" }) }), _jsx("div", { "data-center-view": "graph", className: cn("min-h-0 flex-1", centerView !== "graph" && "hidden"), children: _jsx(WorkflowExecutionGraph, { executionId: executionId, execution: execution, taskStates: effectiveTaskStates,
|
|
329
|
+
// Gated on the graph being visible: camera moves against a
|
|
330
|
+
// display:none (zero-size) viewport are degenerate.
|
|
331
|
+
followExecution: isRunning && centerView === "graph",
|
|
332
|
+
// The viewer owns the one always-visible announcer above; the
|
|
333
|
+
// graph's own would go silent while CSS-hidden in Thread view.
|
|
334
|
+
announceTaskStates: false, nodesDraggable: nodesDraggable, className: "h-full" }) })] }), secondary:
|
|
335
|
+
// Content unmounts while collapsed (matching the session panel
|
|
336
|
+
// region); the editors store lives on the controller, so open tabs
|
|
337
|
+
// survive a collapse/expand cycle.
|
|
338
|
+
panel.isOpen ? (_jsx(ExecutionWorkspacePanel, { panel: panel, executionId: executionId, org: org, artifacts: artifacts, fileChangesState: fileChangesState, costSummary: costSummary, taskStates: effectiveTaskStates, onNavigateToAgentExecution: onNavigateToAgentExecution, onApplyFix: onNavigateToWorkflowEditor ? handleApplyFix : undefined, transcriptHitl: childGateHitl })) : null })] }))] }));
|
|
162
339
|
});
|
|
340
|
+
// ---------------------------------------------------------------------------
|
|
341
|
+
// Execution workspace panel — WorkspaceSurface + facets (Artifacts/Changes/Usage)
|
|
342
|
+
// ---------------------------------------------------------------------------
|
|
343
|
+
/**
|
|
344
|
+
* The workflow analog of the session viewer's panel region: subscribes to the
|
|
345
|
+
* open-editor group (keeping that subscription out of the streaming owner),
|
|
346
|
+
* assembles the rail facets, and resolves open virtual-document tabs back to
|
|
347
|
+
* their records (artifact tabs → `Artifact`, file-change tabs → the current
|
|
348
|
+
* net `FileChange`, transcript tabs → their child id, the diagnosis tab →
|
|
349
|
+
* `WorkflowRepairCard`).
|
|
350
|
+
*/
|
|
351
|
+
function ExecutionWorkspacePanel({ panel, executionId, org, artifacts, fileChangesState, costSummary, taskStates, onNavigateToAgentExecution, onApplyFix, transcriptHitl, }) {
|
|
352
|
+
const { editors, activeFile } = useWorkspaceEditors(panel.editorsStore);
|
|
353
|
+
// The Changes list highlights the row of the open diff tab — only a
|
|
354
|
+
// file-change document's path counts (an artifact tab must not highlight a
|
|
355
|
+
// coincidentally-named change).
|
|
356
|
+
const activeFileChangePath = activeFile?.entryId === FILE_CHANGE_DOCUMENT_ENTRY_ID
|
|
357
|
+
? activeFile.path
|
|
358
|
+
: null;
|
|
359
|
+
const railViews = useWorkflowExecutionRailViews({
|
|
360
|
+
artifacts,
|
|
361
|
+
onOpenArtifact: panel.openArtifact,
|
|
362
|
+
onActivateArtifact: panel.pinArtifact,
|
|
363
|
+
fileChanges: fileChangesState.fileChanges,
|
|
364
|
+
fileChangesLoading: fileChangesState.isLoading,
|
|
365
|
+
fileChangesRefetching: fileChangesState.isRefetching,
|
|
366
|
+
fileChangesError: fileChangesState.error,
|
|
367
|
+
activeFileChangePath,
|
|
368
|
+
onOpenFileChange: panel.openFileChange,
|
|
369
|
+
costSummary,
|
|
370
|
+
taskStates,
|
|
371
|
+
});
|
|
372
|
+
// Resolve open artifact tabs to their records by the same tab-path identity
|
|
373
|
+
// used to open them (single source of truth). A tab whose artifact vanished
|
|
374
|
+
// (e.g. expired and dropped from a refetch) degrades to an honest notice
|
|
375
|
+
// rather than vanishing.
|
|
376
|
+
const artifactByTabPath = useMemo(() => new Map(artifacts.map((a) => [workflowArtifactTabPath(a), a])), [artifacts]);
|
|
377
|
+
// File-change tabs resolve the same way: tab path → net FileChange. The
|
|
378
|
+
// rollup is re-derived at task boundaries, so an open tab always renders
|
|
379
|
+
// the CURRENT net diff for its path (never a stale copy captured at open
|
|
380
|
+
// time); a path that dropped out of the rollup degrades to a notice.
|
|
381
|
+
const fileChangeByTabPath = useMemo(() => new Map(fileChangesState.fileChanges.map((c) => [fileChangeTabPath(c), c])), [fileChangesState.fileChanges]);
|
|
382
|
+
const virtualDocuments = useMemo(() => editors
|
|
383
|
+
.filter((editor) => editor.entryId === ARTIFACT_DOCUMENT_ENTRY_ID ||
|
|
384
|
+
editor.entryId === FILE_CHANGE_DOCUMENT_ENTRY_ID ||
|
|
385
|
+
editor.entryId === AGENT_EXECUTION_DOCUMENT_ENTRY_ID ||
|
|
386
|
+
editor.entryId === DIAGNOSIS_DOCUMENT_ENTRY_ID)
|
|
387
|
+
.map((editor) => {
|
|
388
|
+
if (editor.entryId === DIAGNOSIS_DOCUMENT_ENTRY_ID) {
|
|
389
|
+
// The singleton AI-diagnosis conversation (opened by the header's
|
|
390
|
+
// Diagnose button via `panel.openDiagnosis`). Keyed by the fixed
|
|
391
|
+
// path so the streaming diagnosis flow survives unrelated editor
|
|
392
|
+
// churn; its close button closes the tab — the tab IS the
|
|
393
|
+
// "diagnosis is active" state.
|
|
394
|
+
return {
|
|
395
|
+
entryId: DIAGNOSIS_DOCUMENT_ENTRY_ID,
|
|
396
|
+
path: editor.path,
|
|
397
|
+
content: (_jsx(WorkflowRepairCard, { executionId: executionId, org: org ?? "", onApplyFix: onApplyFix, onClose: () => panel.closeEditor(DIAGNOSIS_DOCUMENT_ENTRY_ID, DIAGNOSIS_DOCUMENT_PATH) }, editor.path)),
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
if (editor.entryId === AGENT_EXECUTION_DOCUMENT_ENTRY_ID) {
|
|
401
|
+
// The tab path CARRIES the child id (no lookup map — unlike the
|
|
402
|
+
// artifact/change families, a transcript needs only its id to
|
|
403
|
+
// fetch/stream itself). The suffix is the AGENT_CALL task name;
|
|
404
|
+
// its live state provides the agent slug for the header.
|
|
405
|
+
const childExecutionId = parseAgentExecutionTabPath(editor.path);
|
|
406
|
+
const taskName = editor.path.slice(childExecutionId.length + 1);
|
|
407
|
+
return {
|
|
408
|
+
entryId: AGENT_EXECUTION_DOCUMENT_ENTRY_ID,
|
|
409
|
+
path: editor.path,
|
|
410
|
+
// Keyed by tab path so the mounted fetch/stream survives
|
|
411
|
+
// unrelated editors churn while this tab stays active.
|
|
412
|
+
content: (_jsx(WorkflowAgentExecutionDocument, { childExecutionId: childExecutionId, taskName: taskName, agentSlug: taskStates.get(taskName)?.agentSlug || undefined, onNavigateToAgentExecution: onNavigateToAgentExecution, hitl: transcriptHitl }, editor.path)),
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
if (editor.entryId === FILE_CHANGE_DOCUMENT_ENTRY_ID) {
|
|
416
|
+
const change = fileChangeByTabPath.get(editor.path);
|
|
417
|
+
return {
|
|
418
|
+
entryId: FILE_CHANGE_DOCUMENT_ENTRY_ID,
|
|
419
|
+
path: editor.path,
|
|
420
|
+
content: change ? (_jsx("div", { className: "mx-auto w-full max-w-5xl px-4 py-4", children: _jsx(FileChangeDiff, { change: change }, editor.path) })) : (_jsx(FileChangeUnavailableNotice, {})),
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
const artifact = artifactByTabPath.get(editor.path);
|
|
424
|
+
return {
|
|
425
|
+
entryId: ARTIFACT_DOCUMENT_ENTRY_ID,
|
|
426
|
+
path: editor.path,
|
|
427
|
+
content: artifact ? (_jsx(WorkflowArtifactDocument, { artifact: artifact }, editor.path)) : (_jsx(ArtifactUnavailableNotice, {})),
|
|
428
|
+
};
|
|
429
|
+
}), [
|
|
430
|
+
editors,
|
|
431
|
+
artifactByTabPath,
|
|
432
|
+
fileChangeByTabPath,
|
|
433
|
+
taskStates,
|
|
434
|
+
onNavigateToAgentExecution,
|
|
435
|
+
transcriptHitl,
|
|
436
|
+
executionId,
|
|
437
|
+
org,
|
|
438
|
+
onApplyFix,
|
|
439
|
+
panel.closeEditor,
|
|
440
|
+
]);
|
|
441
|
+
return (_jsx(WorkspaceSurface, { entries: [], lister: undefined, reader: undefined,
|
|
442
|
+
// Facet-only rail until a workspace-source slice wires a lister —
|
|
443
|
+
// inert Explorer/Search icons would be dishonest chrome here.
|
|
444
|
+
builtInViews: [], view: panel.view, onViewChange: panel.setView, extraViews: railViews, virtualDocuments: virtualDocuments, editors: editors, selectedFile: activeFile, onOpenFile: panel.openFile, onActivateEditor: panel.activateEditor, onPinEditor: panel.pinEditor, onCloseEditor: panel.closeEditor, onCollapse: panel.closePanel, className: "h-full" }));
|
|
445
|
+
}
|
|
446
|
+
function FileChangeUnavailableNotice() {
|
|
447
|
+
return (_jsxs("div", { role: "status", className: "mx-auto flex w-full max-w-3xl flex-col items-center gap-1 px-4 py-8 text-center", children: [_jsx("p", { className: "text-xs font-medium text-foreground", children: "This file change is no longer available." }), _jsx("p", { className: "text-xs text-muted-foreground", children: "The rollup was refreshed and this file no longer appears among the execution's changes." })] }));
|
|
448
|
+
}
|
|
449
|
+
function ArtifactUnavailableNotice() {
|
|
450
|
+
return (_jsxs("div", { role: "status", className: "mx-auto flex w-full max-w-3xl flex-col items-center gap-1 px-4 py-8 text-center", children: [_jsx("p", { className: "text-xs font-medium text-foreground", children: "This artifact is no longer available." }), _jsx("p", { className: "text-xs text-muted-foreground", children: "It may have expired or been removed from storage." })] }));
|
|
451
|
+
}
|
|
163
452
|
function LoadingSkeleton() {
|
|
164
453
|
return (_jsxs("div", { className: "flex w-full flex-col gap-3 p-6", children: [_jsx("div", { className: "h-4 w-48 animate-pulse rounded bg-muted" }), _jsx("div", { className: "h-3 w-32 animate-pulse rounded bg-muted" }), _jsx("div", { className: "mt-4 space-y-2", children: Array.from({ length: 5 }, (_, i) => (_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("div", { className: "size-3 animate-pulse rounded-full bg-muted" }), _jsx("div", { className: "h-3 flex-1 animate-pulse rounded bg-muted" })] }, i))) })] }));
|
|
165
454
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
useEffect(() => {
|
|
178
|
-
if (hitlCount > prevHitlCountRef.current && hitlCount > 0) {
|
|
179
|
-
setActiveTab("approvals");
|
|
180
|
-
setCollapsed(false);
|
|
181
|
-
}
|
|
182
|
-
if (hitlCount === 0 && activeTab === "approvals") {
|
|
183
|
-
setActiveTab("waterfall");
|
|
184
|
-
}
|
|
185
|
-
prevHitlCountRef.current = hitlCount;
|
|
186
|
-
}, [hitlCount, activeTab]);
|
|
187
|
-
return (_jsxs("div", { className: "border-t border-[var(--stgm-border,#e5e5e5)]", children: [_jsxs("div", { className: "flex items-center gap-0 border-b border-[var(--stgm-border,#e5e5e5)]", children: [_jsx("button", { type: "button", onClick: () => setCollapsed(!collapsed), className: "flex items-center gap-1.5 px-3 py-1.5 text-xs text-[var(--stgm-muted-foreground,#737373)] hover:bg-[var(--stgm-muted,#f5f5f5)]", "aria-label": collapsed ? "Expand bottom panel" : "Collapse bottom panel", children: _jsx("svg", { width: "10", height: "10", viewBox: "0 0 10 10", className: cn("transition-transform", !collapsed && "rotate-180"), "aria-hidden": "true", children: _jsx("path", { d: "M2 4L5 7L8 4", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) }), _jsx(TabButton, { label: "Waterfall", isActive: activeTab === "waterfall", onClick: () => { setActiveTab("waterfall"); setCollapsed(false); } }), _jsx(TabButton, { label: `Events (${events.length})`, isActive: activeTab === "events", onClick: () => { setActiveTab("events"); setCollapsed(false); } }), hasHitl && (_jsx(TabButton, { label: `Approvals (${hitlCount})`, isActive: activeTab === "approvals", onClick: () => { setActiveTab("approvals"); setCollapsed(false); } }))] }), !collapsed && (_jsxs("div", { className: "h-52", children: [activeTab === "waterfall" && (_jsx(WaterfallTimeline, { events: events, streamState: streamState, executionStartIso: executionStartIso, executionDurationMs: executionDurationMs, selectedTaskName: selectedTaskName, onTaskSelect: onTaskSelect, className: "h-full" })), activeTab === "events" && (_jsx(WorkflowExecutionTimeline, { events: events, streamState: streamState, onNavigateToAgentExecution: onNavigateToAgentExecution, taskStates: taskStates, onSubmitTaskApproval: onSubmitTaskApproval, taskApprovalSubmittingTaskNames: taskApprovalSubmittingTaskNames, taskApprovalErrorsByTaskName: taskApprovalErrorsByTaskName, className: "h-full" })), activeTab === "approvals" && (_jsx("div", { className: "h-full overflow-y-auto px-4 py-3", children: _jsxs("div", { className: "space-y-3", children: [pendingApprovals && onSubmitApproval && pendingApprovals.map((pa) => {
|
|
188
|
-
const toolCallId = pa.approval?.toolCallId ?? "";
|
|
189
|
-
return (_jsx(WorkflowExecutionApprovalCard, { prompt: pa.approval?.message || `Tool "${pa.approval?.toolName}" requires approval`, toolCallId: toolCallId, approvers: [], timeoutSeconds: 0, onSubmitApproval: onSubmitApproval, isSubmitting: approvalSubmittingToolCallIds.has(toolCallId), error: approvalErrorsByToolCallId.get(toolCallId) ?? null }, toolCallId || pa.childAgentExecutionId));
|
|
190
|
-
}), pendingFileReviews && pendingFileReviews.length > 0 && (_jsx(WorkflowFileReviewList, { pendingFileReviews: pendingFileReviews, onSubmitFileDecision: onSubmitFileDecision, submittingDecisionKeys: fileDecisionSubmittingKeys, decisionErrors: fileDecisionErrorsByKey, onNavigateToAgentExecution: onNavigateToAgentExecution }))] }) }))] }))] }));
|
|
455
|
+
// ---------------------------------------------------------------------------
|
|
456
|
+
// Center-column view switcher (S9: Thread | Graph — thread-primary order)
|
|
457
|
+
// ---------------------------------------------------------------------------
|
|
458
|
+
/**
|
|
459
|
+
* Slim segmented control above the center column. A radiogroup (the two
|
|
460
|
+
* views are mutually exclusive), matching the facet rail's radio semantics.
|
|
461
|
+
* Thread leads: it is the primary view (T02 pivot); the DAG is the
|
|
462
|
+
* secondary, topology-oriented lens.
|
|
463
|
+
*/
|
|
464
|
+
function CenterViewSwitcher({ view, onChange, }) {
|
|
465
|
+
return (_jsxs("div", { role: "radiogroup", "aria-label": "Center view", className: "flex items-center gap-0.5 border-b border-[var(--stgm-border,#e5e5e5)] px-2 py-1", children: [_jsx(CenterViewButton, { label: "Thread", isActive: view === "thread", onClick: () => onChange("thread") }), _jsx(CenterViewButton, { label: "Graph", isActive: view === "graph", onClick: () => onChange("graph") })] }));
|
|
191
466
|
}
|
|
192
|
-
function
|
|
193
|
-
return (_jsx("button", { type: "button", onClick: onClick, className: cn("px-
|
|
194
|
-
? "
|
|
467
|
+
function CenterViewButton({ label, isActive, onClick, }) {
|
|
468
|
+
return (_jsx("button", { type: "button", role: "radio", "aria-checked": isActive, onClick: onClick, className: cn("rounded px-2 py-0.5 text-xs font-medium transition-colors", isActive
|
|
469
|
+
? "bg-[var(--stgm-muted,#f5f5f5)] text-[var(--stgm-foreground,#171717)]"
|
|
195
470
|
: "text-[var(--stgm-muted-foreground,#737373)] hover:text-[var(--stgm-foreground,#171717)]"), children: label }));
|
|
196
471
|
}
|
|
197
472
|
//# sourceMappingURL=WorkflowExecutionViewer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionViewer.js","sourceRoot":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sBAAsB,IACrB,kBAAkB,EAAE,kBAAkB,EACtC,oBAAoB,EAAE,oBAAoB,EAC1C,sBAAsB,EAAE,0BAA0B,EAClD,cAAc,EAAE,uBAAuB,EACvC,0BAA0B,EAAE,0BAA0B,GACtD,CACH,IACG,GACF,CACP,IACG,CACP,IACG,CACP,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,EACjB,KAAK,EACL,QAAQ,EACR,OAAO,GAKR;IACC,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,EAAE,CACX,mDAAmD,EACnD,QAAQ;YACN,CAAC,CAAC,uFAAuF;YACzF,CAAC,CAAC,yFAAyF,CAC9F,YAEA,KAAK,GACC,CACV,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"WorkflowExecutionViewer.js","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionViewer.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AAChG,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,iEAAiE,CAAC;AAErH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EACL,+BAA+B,GAEhC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE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AAa,SAAS,EAAC,yBAAyB,aAC9C,cAAK,SAAS,EAAC,4CAA4C,GAAG,EAC9D,cAAK,SAAS,EAAC,2CAA2C,GAAG,KAFrD,CAAC,CAGL,CACP,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC;AAID,8EAA8E;AAC9E,0EAA0E;AAC1E,8EAA8E;AAE9E;;;;;GAKG;AACH,SAAS,kBAAkB,CAAC,EAC1B,IAAI,EACJ,QAAQ,GAIT;IACC,OAAO,CACL,eACE,IAAI,EAAC,YAAY,gBACN,aAAa,EACxB,SAAS,EAAC,kFAAkF,aAE5F,KAAC,gBAAgB,IACf,KAAK,EAAC,QAAQ,EACd,QAAQ,EAAE,IAAI,KAAK,QAAQ,EAC3B,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,GACjC,EACF,KAAC,gBAAgB,IACf,KAAK,EAAC,OAAO,EACb,QAAQ,EAAE,IAAI,KAAK,OAAO,EAC1B,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,GAChC,IACE,CACP,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,EACxB,KAAK,EACL,QAAQ,EACR,OAAO,GAKR;IACC,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,OAAO,kBACE,QAAQ,EACtB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,EAAE,CACX,2DAA2D,EAC3D,QAAQ;YACN,CAAC,CAAC,sEAAsE;YACxE,CAAC,CAAC,yFAAyF,CAC9F,YAEA,KAAK,GACC,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -40,7 +40,7 @@ export interface WorkflowFileReviewListProps {
|
|
|
40
40
|
* A decision is forwarded to the child via `WorkflowExecution.submitFileDecision`.
|
|
41
41
|
*
|
|
42
42
|
* This is the file-review sibling of the workflow tool-approval surface
|
|
43
|
-
* (`
|
|
43
|
+
* (`WorkflowApprovalList`). Empty `pendingFileReviews` renders nothing.
|
|
44
44
|
*/
|
|
45
45
|
export declare function WorkflowFileReviewList({ pendingFileReviews, onSubmitFileDecision, submittingDecisionKeys, decisionErrors, onNavigateToAgentExecution, className, }: WorkflowFileReviewListProps): React.ReactElement | null;
|
|
46
46
|
//# sourceMappingURL=WorkflowFileReviewList.d.ts.map
|
|
@@ -17,7 +17,7 @@ import { useExecutionStream } from "../execution/useExecutionStream.js";
|
|
|
17
17
|
* A decision is forwarded to the child via `WorkflowExecution.submitFileDecision`.
|
|
18
18
|
*
|
|
19
19
|
* This is the file-review sibling of the workflow tool-approval surface
|
|
20
|
-
* (`
|
|
20
|
+
* (`WorkflowApprovalList`). Empty `pendingFileReviews` renders nothing.
|
|
21
21
|
*/
|
|
22
22
|
export function WorkflowFileReviewList({ pendingFileReviews, onSubmitFileDecision, submittingDecisionKeys, decisionErrors, onNavigateToAgentExecution, className, }) {
|
|
23
23
|
if (pendingFileReviews.length === 0)
|
|
@@ -60,9 +60,10 @@ export interface WorkflowTaskApprovalCardProps {
|
|
|
60
60
|
* Designed for inline rendering in the execution timeline when a
|
|
61
61
|
* human_input task is in `waiting_approval` state.
|
|
62
62
|
*
|
|
63
|
-
* Distinct from `
|
|
64
|
-
*
|
|
65
|
-
* uses `taskName` + `outcome` string +
|
|
63
|
+
* Distinct from `WorkflowApprovalList` (which handles agent tool
|
|
64
|
+
* approvals with `toolCallId` + `ApprovalAction` via the shared
|
|
65
|
+
* `ApprovalCard`). This component uses `taskName` + `outcome` string +
|
|
66
|
+
* optional `formData`.
|
|
66
67
|
*
|
|
67
68
|
* Follows SDK component standards:
|
|
68
69
|
* - All colors via `--stgm-*` tokens (DD-005)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowTaskApprovalCard.d.ts","sourceRoot":"","sources":["../../src/workflow/WorkflowTaskApprovalCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAQhE,2CAA2C;AA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AC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,wDAAwD;IACxD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,WAAW,EAAE,CAAC;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9C;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClC,OAAO,CAAC,EAAE,MAAM,KACb,OAAO,CAAC,OAAO,CAAC,CAAC;IACtB,0DAA0D;IAC1D,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC9B,yDAAyD;IACzD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAOD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,wBAAwB,qEA+JnC,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { MARKDOWN_COMPONENTS, REMARK_PLUGINS } from "../internal/markdown-compon
|
|
|
7
7
|
import { DecisionButton } from "../internal/DecisionButton.js";
|
|
8
8
|
import { InCardDecisionError } from "../internal/InCardDecisionError.js";
|
|
9
9
|
import { formatJson } from "../execution/tool-rendering-primitives.js";
|
|
10
|
-
import { StructuredDataViewer } from "./
|
|
10
|
+
import { StructuredDataViewer } from "./task-detail/StructuredDataViewer.js";
|
|
11
11
|
const DEFAULT_OUTCOMES = [
|
|
12
12
|
{ name: "approve", label: "Approve" },
|
|
13
13
|
{ name: "reject", label: "Reject" },
|
|
@@ -20,9 +20,10 @@ const DEFAULT_OUTCOMES = [
|
|
|
20
20
|
* Designed for inline rendering in the execution timeline when a
|
|
21
21
|
* human_input task is in `waiting_approval` state.
|
|
22
22
|
*
|
|
23
|
-
* Distinct from `
|
|
24
|
-
*
|
|
25
|
-
* uses `taskName` + `outcome` string +
|
|
23
|
+
* Distinct from `WorkflowApprovalList` (which handles agent tool
|
|
24
|
+
* approvals with `toolCallId` + `ApprovalAction` via the shared
|
|
25
|
+
* `ApprovalCard`). This component uses `taskName` + `outcome` string +
|
|
26
|
+
* optional `formData`.
|
|
26
27
|
*
|
|
27
28
|
* Follows SDK component standards:
|
|
28
29
|
* - All colors via `--stgm-*` tokens (DD-005)
|