@stigmer/react 3.1.17 → 3.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/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/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/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__/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/useSessionFileChanges.ts +12 -153
- 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
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { memo, useCallback, useState } from "react";
|
|
4
|
-
import { cn } from "@stigmer/theme";
|
|
5
|
-
import { useStigmer } from "../hooks.js";
|
|
6
|
-
import { formatBytes } from "./format-utils.js";
|
|
7
|
-
/**
|
|
8
|
-
* Sidebar panel listing artifacts produced by the workflow execution.
|
|
9
|
-
* Each artifact shows its display name, content type, size, and a
|
|
10
|
-
* download button that fetches a pre-signed URL via `getDownloadUrl`.
|
|
11
|
-
*/
|
|
12
|
-
export const WorkflowExecutionArtifactPanel = memo(function WorkflowExecutionArtifactPanel({ artifacts, className, }) {
|
|
13
|
-
if (artifacts.length === 0)
|
|
14
|
-
return null;
|
|
15
|
-
return (_jsxs("div", { className: cn("flex flex-col", className), children: [_jsx("div", { className: "px-3 py-2", children: _jsx("h3", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Artifacts" }) }), _jsx("div", { className: "flex flex-col", children: artifacts.map((artifact) => (_jsx(ArtifactRow, { artifact: artifact }, artifact.metadata?.id ?? artifact.metadata?.name))) })] }));
|
|
16
|
-
});
|
|
17
|
-
function ArtifactRow({ artifact }) {
|
|
18
|
-
const stigmer = useStigmer();
|
|
19
|
-
const [isDownloading, setIsDownloading] = useState(false);
|
|
20
|
-
const id = artifact.metadata?.id ?? "";
|
|
21
|
-
const displayName = artifact.spec?.displayName ?? artifact.metadata?.name ?? "Unnamed";
|
|
22
|
-
const contentType = artifact.spec?.contentType ?? "";
|
|
23
|
-
const sizeBytes = artifact.status?.sizeBytes ?? BigInt(0);
|
|
24
|
-
const handleDownload = useCallback(async () => {
|
|
25
|
-
if (!id || isDownloading)
|
|
26
|
-
return;
|
|
27
|
-
setIsDownloading(true);
|
|
28
|
-
try {
|
|
29
|
-
const downloadUrl = await stigmer.artifact.getDownloadUrl(id);
|
|
30
|
-
if (downloadUrl.url) {
|
|
31
|
-
window.open(downloadUrl.url, "_blank", "noopener,noreferrer");
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
catch {
|
|
35
|
-
// Graceful degradation — download not available
|
|
36
|
-
}
|
|
37
|
-
finally {
|
|
38
|
-
setIsDownloading(false);
|
|
39
|
-
}
|
|
40
|
-
}, [id, stigmer, isDownloading]);
|
|
41
|
-
return (_jsxs("div", { className: "flex items-center gap-2 px-3 py-1.5", children: [_jsx("span", { className: "shrink-0 text-xs text-muted-foreground", "aria-hidden": "true", children: _jsx(FileIcon, {}) }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("p", { className: "truncate text-xs text-foreground", children: displayName }), _jsxs("p", { className: "text-[10px] text-muted-foreground", children: [contentType, sizeBytes > BigInt(0) && _jsxs(_Fragment, { children: [" \u00B7 ", formatBytes(sizeBytes)] })] })] }), _jsx("button", { type: "button", onClick: handleDownload, disabled: isDownloading || !id, className: cn("shrink-0 rounded px-1.5 py-0.5 text-[10px] font-medium", "border border-border text-muted-foreground", "hover:bg-muted hover:text-foreground", "disabled:pointer-events-none disabled:opacity-50"), "aria-label": `Download ${displayName}`, children: isDownloading ? "…" : "↓" })] }));
|
|
42
|
-
}
|
|
43
|
-
function FileIcon() {
|
|
44
|
-
return (_jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: [_jsx("path", { d: "M7 1H3a1 1 0 00-1 1v8a1 1 0 001 1h6a1 1 0 001-1V4L7 1z" }), _jsx("path", { d: "M7 1v3h3" })] }));
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=WorkflowExecutionArtifactPanel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionArtifactPanel.js","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionArtifactPanel.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,M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AAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,EAAC,OAAO,aACvH,eAAM,CAAC,EAAC,wDAAwD,GAAG,EACnE,eAAM,CAAC,EAAC,UAAU,GAAG,IACjB,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { DerivedCostSummary } from "../internal/store/workflow-execution-event-store.js";
|
|
2
|
-
/** Props for {@link WorkflowExecutionCostPanel}. */
|
|
3
|
-
export interface WorkflowExecutionCostPanelProps {
|
|
4
|
-
/** Derived cost summary from the event store. */
|
|
5
|
-
readonly costSummary: DerivedCostSummary;
|
|
6
|
-
/** Maximum cost budget in micro-USD from the workflow spec. -1 if no limit. */
|
|
7
|
-
readonly maxCostMicros?: bigint;
|
|
8
|
-
/** Maximum token budget from the workflow spec. -1 if no limit. */
|
|
9
|
-
readonly maxTokens?: bigint;
|
|
10
|
-
/** Additional CSS class names. */
|
|
11
|
-
readonly className?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Sidebar panel showing budget consumption with progress bars
|
|
15
|
-
* for cost and tokens.
|
|
16
|
-
*/
|
|
17
|
-
export declare const WorkflowExecutionCostPanel: import("react").NamedExoticComponent<WorkflowExecutionCostPanelProps>;
|
|
18
|
-
//# sourceMappingURL=WorkflowExecutionCostPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionCostPanel.d.ts","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionCostPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAG9F,oDAAoD;AACpD,MAAM,WAAW,+BAA+B;IAC9C,iDAAiD;IACjD,QAAQ,CAAC,WAAW,EAAE,kBAAkB,CAAC;IACzC,+EAA+E;IAC/E,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,mEAAmE;IACnE,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,kCAAkC;IAClC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B,uEAmDrC,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { memo } from "react";
|
|
4
|
-
import { cn } from "@stigmer/theme";
|
|
5
|
-
import { formatMicroUsd, formatTokenCount } from "./format-utils.js";
|
|
6
|
-
/**
|
|
7
|
-
* Sidebar panel showing budget consumption with progress bars
|
|
8
|
-
* for cost and tokens.
|
|
9
|
-
*/
|
|
10
|
-
export const WorkflowExecutionCostPanel = memo(function WorkflowExecutionCostPanel({ costSummary, maxCostMicros, maxTokens, className, }) {
|
|
11
|
-
const BZ = BigInt(0);
|
|
12
|
-
const hasCost = costSummary.costConsumedMicros > BZ;
|
|
13
|
-
const hasTokens = costSummary.tokensConsumed > BZ;
|
|
14
|
-
const costLimit = maxCostMicros ?? (costSummary.costRemainingMicros >= BZ
|
|
15
|
-
? costSummary.costConsumedMicros + costSummary.costRemainingMicros
|
|
16
|
-
: undefined);
|
|
17
|
-
const tokenLimit = maxTokens ?? (costSummary.tokensRemaining >= BZ
|
|
18
|
-
? costSummary.tokensConsumed + costSummary.tokensRemaining
|
|
19
|
-
: undefined);
|
|
20
|
-
if (!hasCost && !hasTokens)
|
|
21
|
-
return null;
|
|
22
|
-
return (_jsxs("div", { className: cn("flex flex-col gap-3 px-3 py-2", className), children: [_jsx("h3", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Budget" }), hasCost && (_jsx(BudgetGauge, { label: "Cost", consumed: formatMicroUsd(costSummary.costConsumedMicros), limit: costLimit ? formatMicroUsd(costLimit) : undefined, percentage: costLimit && costLimit > BZ
|
|
23
|
-
? Number((costSummary.costConsumedMicros * BigInt(100)) / costLimit)
|
|
24
|
-
: undefined, breached: costSummary.thresholdBreached })), hasTokens && (_jsx(BudgetGauge, { label: "Tokens", consumed: formatTokenCount(costSummary.tokensConsumed), limit: tokenLimit ? formatTokenCount(tokenLimit) : undefined, percentage: tokenLimit && tokenLimit > BZ
|
|
25
|
-
? Number((costSummary.tokensConsumed * BigInt(100)) / tokenLimit)
|
|
26
|
-
: undefined, breached: costSummary.thresholdBreached }))] }));
|
|
27
|
-
});
|
|
28
|
-
function BudgetGauge({ label, consumed, limit, percentage, breached, }) {
|
|
29
|
-
return (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("div", { className: "flex items-center justify-between text-xs", children: [_jsx("span", { className: "text-muted-foreground", children: label }), _jsxs("span", { className: cn("tabular-nums", breached ? "text-warning" : "text-foreground"), children: [consumed, limit && _jsxs("span", { className: "text-muted-foreground", children: [" / ", limit] })] })] }), percentage !== undefined && (_jsx("div", { className: "h-1.5 w-full overflow-hidden rounded-full bg-muted", children: _jsx("div", { className: cn("h-full rounded-full transition-all", breached ? "bg-warning" : percentage > 80 ? "bg-warning" : "bg-primary"), style: { width: `${Math.min(percentage, 100)}%` } }) })), percentage !== undefined && (_jsxs("span", { className: "text-[10px] tabular-nums text-muted-foreground", children: [percentage.toFixed(0), "%"] }))] }));
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=WorkflowExecutionCostPanel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionCostPanel.js","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionCostPanel.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,IAAI,EAAW,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAEpC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAc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,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,GAAG,EAAE,GACjD,GACE,CACP,EAEA,UAAU,KAAK,SAAS,IAAI,CAC3B,gBAAM,SAAS,EAAC,gDAAgD,aAC7D,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,SACjB,CACR,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { DerivedTaskState } from "../internal/store/workflow-execution-event-store.js";
|
|
2
|
-
/** Props for {@link WorkflowExecutionTaskPanel}. */
|
|
3
|
-
export interface WorkflowExecutionTaskPanelProps {
|
|
4
|
-
/** Derived task states from the event store. */
|
|
5
|
-
readonly taskStates: ReadonlyMap<string, DerivedTaskState>;
|
|
6
|
-
/** Total number of tasks declared in the workflow. */
|
|
7
|
-
readonly totalTasks: number;
|
|
8
|
-
/** Currently selected task name (for highlighting). */
|
|
9
|
-
readonly selectedTaskName?: string | null;
|
|
10
|
-
/** Callback when a task row is clicked. */
|
|
11
|
-
readonly onSelectTask?: (taskName: string) => void;
|
|
12
|
-
/** Additional CSS class names. */
|
|
13
|
-
readonly className?: string;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Sidebar panel showing the status of each task in the workflow
|
|
17
|
-
* execution. Tasks are ordered by their first appearance in the
|
|
18
|
-
* event stream.
|
|
19
|
-
*
|
|
20
|
-
* Clicking a task row invokes `onSelectTask` which can be used
|
|
21
|
-
* to scroll the timeline to events for that task.
|
|
22
|
-
*/
|
|
23
|
-
export declare const WorkflowExecutionTaskPanel: import("react").NamedExoticComponent<WorkflowExecutionTaskPanelProps>;
|
|
24
|
-
//# sourceMappingURL=WorkflowExecutionTaskPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionTaskPanel.d.ts","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionTaskPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAG5F,oDAAoD;AACpD,MAAM,WAAW,+BAA+B;IAC9C,gDAAgD;IAChD,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAC3D,sDAAsD;IACtD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,uDAAuD;IACvD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,2CAA2C;IAC3C,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,kCAAkC;IAClC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AA8BD;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,uEAqErC,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { memo } from "react";
|
|
4
|
-
import { cn } from "@stigmer/theme";
|
|
5
|
-
import { WorkflowTaskKind } from "@stigmer/protos/ai/stigmer/agentic/workflow/v1/enum_pb";
|
|
6
|
-
import { formatDuration } from "./format-utils.js";
|
|
7
|
-
const STATUS_CONFIG = {
|
|
8
|
-
pending: { icon: "○", colorClass: "text-muted-foreground" },
|
|
9
|
-
running: { icon: "●", colorClass: "text-foreground" },
|
|
10
|
-
completed: { icon: "✓", colorClass: "text-success" },
|
|
11
|
-
failed: { icon: "✕", colorClass: "text-destructive" },
|
|
12
|
-
skipped: { icon: "⊘", colorClass: "text-muted-foreground" },
|
|
13
|
-
retrying: { icon: "↻", colorClass: "text-muted-foreground" },
|
|
14
|
-
waiting_approval: { icon: "◉", colorClass: "text-warning" },
|
|
15
|
-
};
|
|
16
|
-
const TASK_KIND_SHORT_LABEL = new Map([
|
|
17
|
-
[WorkflowTaskKind.agent_call, "agent"],
|
|
18
|
-
[WorkflowTaskKind.llm_call, "llm"],
|
|
19
|
-
[WorkflowTaskKind.http_call, "http"],
|
|
20
|
-
[WorkflowTaskKind.grpc_call, "grpc"],
|
|
21
|
-
[WorkflowTaskKind.transform, "transform"],
|
|
22
|
-
[WorkflowTaskKind.human_input, "approval"],
|
|
23
|
-
[WorkflowTaskKind.validate, "validate"],
|
|
24
|
-
[WorkflowTaskKind.emit_event, "event"],
|
|
25
|
-
[WorkflowTaskKind.notification, "notify"],
|
|
26
|
-
[WorkflowTaskKind.eval, "eval"],
|
|
27
|
-
[WorkflowTaskKind.switch_case, "switch"],
|
|
28
|
-
[WorkflowTaskKind.for_each, "loop"],
|
|
29
|
-
[WorkflowTaskKind.fork, "fork"],
|
|
30
|
-
[WorkflowTaskKind.listen, "listen"],
|
|
31
|
-
[WorkflowTaskKind.wait, "wait"],
|
|
32
|
-
]);
|
|
33
|
-
/**
|
|
34
|
-
* Sidebar panel showing the status of each task in the workflow
|
|
35
|
-
* execution. Tasks are ordered by their first appearance in the
|
|
36
|
-
* event stream.
|
|
37
|
-
*
|
|
38
|
-
* Clicking a task row invokes `onSelectTask` which can be used
|
|
39
|
-
* to scroll the timeline to events for that task.
|
|
40
|
-
*/
|
|
41
|
-
export const WorkflowExecutionTaskPanel = memo(function WorkflowExecutionTaskPanel({ taskStates, totalTasks, selectedTaskName, onSelectTask, className, }) {
|
|
42
|
-
const tasks = Array.from(taskStates.values());
|
|
43
|
-
const completedCount = tasks.filter((t) => t.status === "completed" || t.status === "skipped").length;
|
|
44
|
-
return (_jsxs("div", { className: cn("flex flex-col", className), children: [_jsxs("div", { className: "flex items-center justify-between px-3 py-2", children: [_jsx("h3", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Tasks" }), totalTasks > 0 && (_jsxs("span", { className: "text-xs tabular-nums text-muted-foreground", children: [completedCount, "/", totalTasks] }))] }), tasks.length === 0 ? (_jsx("p", { className: "px-3 py-4 text-xs text-muted-foreground", children: "No tasks started" })) : (_jsx("div", { className: "flex flex-col", children: tasks.map((task) => {
|
|
45
|
-
const config = STATUS_CONFIG[task.status];
|
|
46
|
-
const kindLabel = TASK_KIND_SHORT_LABEL.get(task.taskKind) ?? "";
|
|
47
|
-
const isSelected = selectedTaskName === task.taskName;
|
|
48
|
-
return (_jsxs("button", { type: "button", onClick: () => onSelectTask?.(task.taskName), className: cn("flex items-center gap-2 px-3 py-1.5 text-left text-xs transition-colors", "hover:bg-muted/50", isSelected && "bg-muted"), children: [_jsx("span", { className: cn("shrink-0 text-xs", config.colorClass), "aria-hidden": "true", children: config.icon }), _jsx("span", { className: "min-w-0 flex-1 truncate text-foreground", children: task.taskName }), kindLabel && (_jsx("span", { className: "shrink-0 text-[10px] text-muted-foreground", children: kindLabel })), task.durationMs > 0 && (_jsx("span", { className: "shrink-0 tabular-nums text-[10px] text-muted-foreground", children: formatDuration(task.durationMs) }))] }, task.taskName));
|
|
49
|
-
}) }))] }));
|
|
50
|
-
});
|
|
51
|
-
//# sourceMappingURL=WorkflowExecutionTaskPanel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionTaskPanel.js","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionTaskPanel.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wDAAwD,CAAC;AAE1F,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAgBnD,MAAM,aAAa,GAA6E;IAC9F,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,uBAAuB,EAAE;IAC3D,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,iBAAiB,EAAE;IACrD,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,UAA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ACzB,aAED,eAAM,SAAS,EAAE,EAAE,CAAC,kBAAkB,EAAE,MAAM,CAAC,UAAU,CAAC,iBAAc,MAAM,YAC3E,MAAM,CAAC,IAAI,GACP,EACP,eAAM,SAAS,EAAC,yCAAyC,YACtD,IAAI,CAAC,QAAQ,GACT,EACN,SAAS,IAAI,CACZ,eAAM,SAAS,EAAC,4CAA4C,YACzD,SAAS,GACL,CACR,EACA,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CACtB,eAAM,SAAS,EAAC,yDAAyD,YACtE,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,GAC3B,CACR,KAxBI,IAAI,CAAC,QAAQ,CAyBX,CACV,CAAC;gBACJ,CAAC,CAAC,GACE,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { WorkflowExecutionEvent } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/event_pb";
|
|
2
|
-
import type { WorkflowEventStreamState, DerivedTaskState } from "../internal/store/workflow-execution-event-store.js";
|
|
3
|
-
/** Props for {@link WorkflowExecutionTimeline}. */
|
|
4
|
-
export interface WorkflowExecutionTimelineProps {
|
|
5
|
-
/** Events ordered by sequence_number ascending. */
|
|
6
|
-
readonly events: readonly WorkflowExecutionEvent[];
|
|
7
|
-
/** Current stream lifecycle state. */
|
|
8
|
-
readonly streamState: WorkflowEventStreamState;
|
|
9
|
-
/** Callback when user clicks an agent execution link. */
|
|
10
|
-
readonly onNavigateToAgentExecution?: (executionId: string) => void;
|
|
11
|
-
/** Derived task states for rendering interactive approval cards. */
|
|
12
|
-
readonly taskStates?: ReadonlyMap<string, DerivedTaskState>;
|
|
13
|
-
/** Callback to submit a human_input task approval decision. */
|
|
14
|
-
readonly onSubmitTaskApproval?: (taskName: string, outcome: string, formData?: Record<string, unknown>, comment?: string) => Promise<unknown>;
|
|
15
|
-
/**
|
|
16
|
-
* Task names whose human_input approval is currently in flight, keyed by
|
|
17
|
-
* `taskName` so deciding one gate never spins another. Supply
|
|
18
|
-
* {@link useWorkflowExecutionActions}'s `taskApprovalSubmittingTaskNames`.
|
|
19
|
-
*/
|
|
20
|
-
readonly taskApprovalSubmittingTaskNames?: ReadonlySet<string>;
|
|
21
|
-
/**
|
|
22
|
-
* Per-gate human_input approval failures, keyed by `taskName`. Supply
|
|
23
|
-
* {@link useWorkflowExecutionActions}'s `taskApprovalErrorsByTaskName`.
|
|
24
|
-
*/
|
|
25
|
-
readonly taskApprovalErrorsByTaskName?: ReadonlyMap<string, Error>;
|
|
26
|
-
/** Additional CSS class names. */
|
|
27
|
-
readonly className?: string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Scrollable event timeline for a workflow execution.
|
|
31
|
-
*
|
|
32
|
-
* Renders each event through `WorkflowExecutionTimelineEvent` and
|
|
33
|
-
* auto-scrolls to the bottom when new events arrive during live
|
|
34
|
-
* streaming, using a bottom sentinel + IntersectionObserver pattern
|
|
35
|
-
* consistent with DD-009.
|
|
36
|
-
*
|
|
37
|
-
* Auto-scroll activates only when the sentinel is visible (user is
|
|
38
|
-
* near the bottom). When the user scrolls up, auto-scroll pauses
|
|
39
|
-
* to allow reading history.
|
|
40
|
-
*/
|
|
41
|
-
export declare const WorkflowExecutionTimeline: import("react").NamedExoticComponent<WorkflowExecutionTimelineProps>;
|
|
42
|
-
//# sourceMappingURL=WorkflowExecutionTimeline.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionTimeline.d.ts","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionTimeline.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kEAAkE,CAAC;AAG/G,OAAO,KAAK,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAEtH,mDAAmD;AACnD,MAAM,WAAW,8BAA8B;IAC7C,mDAAmD;IACnD,QAAQ,CAAC,MAAM,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACnD,sCAAsC;IACtC,QAAQ,CAAC,WAAW,EAAE,wBAAwB,CAAC;IAC/C,yDAAyD;IACzD,QAAQ,CAAC,0BAA0B,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACpE,oEAAoE;IACpE,QAAQ,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAC5D,+DAA+D;IAC/D,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAC9B,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;;;;OAIG;IACH,QAAQ,CAAC,+BAA+B,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/D;;;OAGG;IACH,QAAQ,CAAC,4BAA4B,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACnE,kCAAkC;IAClC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB,sEAkGpC,CAAC"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { memo, useEffect, useRef } from "react";
|
|
4
|
-
import { cn } from "@stigmer/theme";
|
|
5
|
-
import { WorkflowExecutionTimelineEvent } from "./WorkflowExecutionTimelineEvent.js";
|
|
6
|
-
/**
|
|
7
|
-
* Scrollable event timeline for a workflow execution.
|
|
8
|
-
*
|
|
9
|
-
* Renders each event through `WorkflowExecutionTimelineEvent` and
|
|
10
|
-
* auto-scrolls to the bottom when new events arrive during live
|
|
11
|
-
* streaming, using a bottom sentinel + IntersectionObserver pattern
|
|
12
|
-
* consistent with DD-009.
|
|
13
|
-
*
|
|
14
|
-
* Auto-scroll activates only when the sentinel is visible (user is
|
|
15
|
-
* near the bottom). When the user scrolls up, auto-scroll pauses
|
|
16
|
-
* to allow reading history.
|
|
17
|
-
*/
|
|
18
|
-
export const WorkflowExecutionTimeline = memo(function WorkflowExecutionTimeline({ events, streamState, onNavigateToAgentExecution, taskStates, onSubmitTaskApproval, taskApprovalSubmittingTaskNames, taskApprovalErrorsByTaskName, className, }) {
|
|
19
|
-
const scrollRef = useRef(null);
|
|
20
|
-
const sentinelRef = useRef(null);
|
|
21
|
-
const isNearBottomRef = useRef(true);
|
|
22
|
-
// IntersectionObserver tracks whether the sentinel is in view
|
|
23
|
-
useEffect(() => {
|
|
24
|
-
const sentinel = sentinelRef.current;
|
|
25
|
-
if (!sentinel)
|
|
26
|
-
return;
|
|
27
|
-
const observer = new IntersectionObserver(([entry]) => {
|
|
28
|
-
isNearBottomRef.current = entry.isIntersecting;
|
|
29
|
-
}, { threshold: 0.1 });
|
|
30
|
-
observer.observe(sentinel);
|
|
31
|
-
return () => observer.disconnect();
|
|
32
|
-
}, []);
|
|
33
|
-
// Auto-scroll when new events arrive and user is near bottom
|
|
34
|
-
useEffect(() => {
|
|
35
|
-
if (isNearBottomRef.current && sentinelRef.current) {
|
|
36
|
-
sentinelRef.current.scrollIntoView({ behavior: "smooth", block: "end" });
|
|
37
|
-
}
|
|
38
|
-
}, [events.length]);
|
|
39
|
-
const isLive = streamState.stage === "streaming" || streamState.stage === "reconnecting";
|
|
40
|
-
const isConnecting = streamState.stage === "connecting";
|
|
41
|
-
const isComplete = streamState.stage === "complete";
|
|
42
|
-
const isError = streamState.stage === "error";
|
|
43
|
-
if (events.length === 0 && isConnecting) {
|
|
44
|
-
return (_jsx("div", { className: cn("flex flex-1 items-center justify-center text-sm text-muted-foreground", className), children: "Loading events\u2026" }));
|
|
45
|
-
}
|
|
46
|
-
if (events.length === 0 && isComplete) {
|
|
47
|
-
const hasTaskFallback = taskStates && taskStates.size > 0;
|
|
48
|
-
return (_jsxs("div", { className: cn("flex flex-1 flex-col items-center justify-center gap-1 text-sm text-muted-foreground", className), children: [_jsx("span", { children: "No events recorded" }), hasTaskFallback && (_jsx("span", { className: "text-xs", children: "Task status available in the panel" }))] }));
|
|
49
|
-
}
|
|
50
|
-
return (_jsxs("div", { ref: scrollRef, className: cn("flex-1 overflow-y-auto", className), role: "list", "aria-label": "Execution timeline", children: [events.map((event) => (_jsx(WorkflowExecutionTimelineEvent, { event: event, onNavigateToAgentExecution: onNavigateToAgentExecution, taskStates: taskStates, onSubmitTaskApproval: onSubmitTaskApproval, taskApprovalSubmittingTaskNames: taskApprovalSubmittingTaskNames, taskApprovalErrorsByTaskName: taskApprovalErrorsByTaskName }, event.eventId))), isLive && (_jsxs("div", { className: "flex items-center gap-2 px-4 py-2 text-xs text-muted-foreground", children: [_jsxs("span", { className: "relative flex h-1.5 w-1.5", children: [_jsx("span", { className: "absolute inline-flex h-full w-full animate-ping rounded-full bg-success opacity-75" }), _jsx("span", { className: "relative inline-flex h-1.5 w-1.5 rounded-full bg-success" })] }), "Streaming events\u2026"] })), isError && (_jsx("div", { className: "px-4 py-2 text-xs text-destructive", children: "Stream disconnected. Events may be incomplete." })), _jsx("div", { ref: sentinelRef, className: "h-px", "aria-hidden": "true" })] }));
|
|
51
|
-
});
|
|
52
|
-
//# sourceMappingURL=WorkflowExecutionTimeline.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionTimeline.js","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionTimeline.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,IAAI,EAAe,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,8BAA8B,EAAE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AC,oFAAoF,GAAG,EACvG,eAAM,SAAS,EAAC,0DAA0D,GAAG,IACxE,8BAEH,CACP,EAEA,OAAO,IAAI,CACV,cAAK,SAAS,EAAC,oCAAoC,+DAE7C,CACP,EAGD,cAAK,GAAG,EAAE,WAAW,EAAE,SAAS,EAAC,MAAM,iBAAa,MAAM,GAAG,IACzD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { WorkflowExecutionEvent } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/event_pb";
|
|
2
|
-
import type { DerivedTaskState } from "../internal/store/workflow-execution-event-store.js";
|
|
3
|
-
interface TimelineEventProps {
|
|
4
|
-
readonly event: WorkflowExecutionEvent;
|
|
5
|
-
readonly onNavigateToAgentExecution?: (id: string) => void;
|
|
6
|
-
readonly taskStates?: ReadonlyMap<string, DerivedTaskState>;
|
|
7
|
-
readonly onSubmitTaskApproval?: (taskName: string, outcome: string, formData?: Record<string, unknown>, comment?: string) => Promise<unknown>;
|
|
8
|
-
/** Task names whose human_input approval is in flight, keyed by `taskName`. */
|
|
9
|
-
readonly taskApprovalSubmittingTaskNames?: ReadonlySet<string>;
|
|
10
|
-
/** Per-gate human_input approval failures, keyed by `taskName`. */
|
|
11
|
-
readonly taskApprovalErrorsByTaskName?: ReadonlyMap<string, Error>;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Renders a single event in the workflow execution timeline.
|
|
15
|
-
*
|
|
16
|
-
* Dispatches on `event_type` to a type-specific renderer. Each event
|
|
17
|
-
* is immutable after receipt, so this component is wrapped in
|
|
18
|
-
* `React.memo` for efficient re-render skipping.
|
|
19
|
-
*
|
|
20
|
-
* @internal Not exported from the public SDK barrel — used only by
|
|
21
|
-
* `WorkflowExecutionTimeline`.
|
|
22
|
-
*/
|
|
23
|
-
export declare const WorkflowExecutionTimelineEvent: import("react").NamedExoticComponent<TimelineEventProps>;
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=WorkflowExecutionTimelineEvent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionTimelineEvent.d.ts","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionTimelineEvent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kEAAkE,CAAC;AAM/G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAI5F,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC;IACvC,QAAQ,CAAC,0BAA0B,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3D,QAAQ,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAC5D,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAC9B,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,+EAA+E;IAC/E,QAAQ,CAAC,+BAA+B,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/D,mEAAmE;IACnE,QAAQ,CAAC,4BAA4B,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CACpE;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,8BAA8B,0DAmUzC,CAAC"}
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { memo } from "react";
|
|
4
|
-
import { WorkflowTaskKind } from "@stigmer/protos/ai/stigmer/agentic/workflow/v1/enum_pb";
|
|
5
|
-
import { cn } from "@stigmer/theme";
|
|
6
|
-
import { toJson } from "@bufbuild/protobuf";
|
|
7
|
-
import { ValueSchema } from "@bufbuild/protobuf/wkt";
|
|
8
|
-
import { WorkflowTaskReviewGate } from "./WorkflowTaskReviewGate.js";
|
|
9
|
-
import { formatDuration, formatMicroUsd, formatBytes, formatTimestamp, formatMetaChips } from "./format-utils.js";
|
|
10
|
-
/**
|
|
11
|
-
* Renders a single event in the workflow execution timeline.
|
|
12
|
-
*
|
|
13
|
-
* Dispatches on `event_type` to a type-specific renderer. Each event
|
|
14
|
-
* is immutable after receipt, so this component is wrapped in
|
|
15
|
-
* `React.memo` for efficient re-render skipping.
|
|
16
|
-
*
|
|
17
|
-
* @internal Not exported from the public SDK barrel — used only by
|
|
18
|
-
* `WorkflowExecutionTimeline`.
|
|
19
|
-
*/
|
|
20
|
-
export const WorkflowExecutionTimelineEvent = memo(function WorkflowExecutionTimelineEvent({ event, onNavigateToAgentExecution, taskStates, onSubmitTaskApproval, taskApprovalSubmittingTaskNames, taskApprovalErrorsByTaskName, }) {
|
|
21
|
-
const timestamp = formatTimestamp(event.occurredAt);
|
|
22
|
-
const p = event.payload;
|
|
23
|
-
switch (p.case) {
|
|
24
|
-
// ── Execution lifecycle ──────────────────────────────────────────
|
|
25
|
-
case "executionStarted":
|
|
26
|
-
return (_jsxs(EventRow, { icon: _jsx(PlayIcon, {}), iconColor: "text-foreground", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-foreground", children: "Execution started" }), _jsxs("span", { className: "text-muted-foreground", children: [" · ", p.value.totalTasks, " tasks"] })] }));
|
|
27
|
-
case "executionCompleted":
|
|
28
|
-
return (_jsxs(EventRow, { icon: _jsx(CheckCircleIcon, {}), iconColor: "text-success", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-success", children: "Execution completed" }), _jsx(MetaChips, { duration: Number(p.value.durationMs), cost: p.value.totalCostMicros, tokens: p.value.totalTokens })] }));
|
|
29
|
-
case "executionFailed":
|
|
30
|
-
return (_jsxs(EventRow, { icon: _jsx(XCircleIcon, {}), iconColor: "text-destructive", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-destructive", children: "Execution failed" }), p.value.failedTaskName && (_jsxs("span", { className: "text-muted-foreground", children: [" · ", "task: ", p.value.failedTaskName] })), p.value.error && (_jsx("p", { className: "mt-1 text-xs text-destructive/80", children: p.value.error }))] }));
|
|
31
|
-
case "executionPaused":
|
|
32
|
-
return (_jsxs(EventRow, { icon: _jsx(PauseCircleIcon, {}), iconColor: "text-muted-foreground", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-muted-foreground", children: "Execution paused" }), p.value.reason && _jsxs("span", { className: "text-muted-foreground", children: [" · ", p.value.reason] })] }));
|
|
33
|
-
case "executionResumed":
|
|
34
|
-
return (_jsxs(EventRow, { icon: _jsx(PlayIcon, {}), iconColor: "text-foreground", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-foreground", children: "Execution resumed" }), p.value.resumedBy && _jsxs("span", { className: "text-muted-foreground", children: [" · ", "by ", p.value.resumedBy] })] }));
|
|
35
|
-
case "executionCancelled":
|
|
36
|
-
return (_jsxs(EventRow, { icon: _jsx(XCircleIcon, {}), iconColor: "text-muted-foreground", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-muted-foreground", children: "Execution cancelled" }), p.value.reason && _jsxs("span", { className: "text-muted-foreground", children: [" · ", p.value.reason] })] }));
|
|
37
|
-
case "executionTerminated":
|
|
38
|
-
return (_jsxs(EventRow, { icon: _jsx(StopCircleIcon, {}), iconColor: "text-destructive", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-destructive", children: "Execution terminated" }), p.value.reason && _jsxs("span", { className: "text-muted-foreground", children: [" · ", p.value.reason] })] }));
|
|
39
|
-
// ── Task lifecycle ───────────────────────────────────────────────
|
|
40
|
-
case "taskStarted":
|
|
41
|
-
return (_jsxs(EventRow, { icon: _jsx(ArrowRightIcon, {}), iconColor: "text-foreground", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-foreground", children: event.taskName }), _jsx(KindBadge, { kind: p.value.taskKind }), p.value.attemptNumber > 1 && (_jsxs("span", { className: "text-xs text-muted-foreground", children: ["(attempt ", p.value.attemptNumber, ")"] }))] }));
|
|
42
|
-
case "taskCompleted":
|
|
43
|
-
return (_jsxs(EventRow, { icon: _jsx(CheckIcon, {}), iconColor: "text-success", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-foreground", children: event.taskName }), _jsx("span", { className: "text-xs text-success", children: "completed" }), _jsx(MetaChips, { duration: Number(p.value.durationMs), cost: p.value.costMicros, tokens: p.value.tokensUsed })] }));
|
|
44
|
-
case "taskFailed":
|
|
45
|
-
return (_jsxs(EventRow, { icon: _jsx(XIcon, {}), iconColor: "text-destructive", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-foreground", children: event.taskName }), _jsx("span", { className: "text-xs text-destructive", children: "failed" }), p.value.willRetry && (_jsx("span", { className: "text-xs text-muted-foreground", children: "(will retry)" })), p.value.error && (_jsx("p", { className: "mt-1 text-xs text-destructive/80", children: p.value.error }))] }));
|
|
46
|
-
case "taskSkipped":
|
|
47
|
-
return (_jsxs(EventRow, { icon: _jsx(SkipIcon, {}), iconColor: "text-muted-foreground", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-muted-foreground", children: event.taskName }), _jsx("span", { className: "text-xs text-muted-foreground", children: "skipped" }), p.value.reason && (_jsxs("span", { className: "text-xs text-muted-foreground", children: [" · ", p.value.reason] }))] }));
|
|
48
|
-
case "taskRetrying":
|
|
49
|
-
return (_jsxs(EventRow, { icon: _jsx(RetryIcon, {}), iconColor: "text-muted-foreground", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-foreground", children: event.taskName }), _jsxs("span", { className: "text-xs text-muted-foreground", children: ["retrying (attempt ", p.value.nextAttempt, ")"] }), p.value.delayMs > BigInt(0) && (_jsxs("span", { className: "text-xs text-muted-foreground", children: ["after ", formatDuration(Number(p.value.delayMs))] }))] }));
|
|
50
|
-
// ── Agent call ───────────────────────────────────────────────────
|
|
51
|
-
case "agentCallStarted":
|
|
52
|
-
return (_jsxs(EventRow, { icon: _jsx(AgentIcon, {}), iconColor: "text-foreground", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-foreground", children: event.taskName }), _jsxs("span", { className: "text-xs text-muted-foreground", children: ["agent: ", p.value.agentSlug] }), onNavigateToAgentExecution && p.value.childExecutionId && (_jsx("button", { type: "button", onClick: () => onNavigateToAgentExecution(p.value.childExecutionId), className: "text-xs text-primary hover:underline", children: "View execution" }))] }));
|
|
53
|
-
case "agentCallProgress":
|
|
54
|
-
return (_jsxs(EventRow, { icon: _jsx(AgentIcon, {}), iconColor: "text-muted-foreground", timestamp: timestamp, children: [_jsx("span", { className: "text-foreground", children: event.taskName }), _jsxs("span", { className: "text-xs text-muted-foreground", children: [p.value.messagesCount, " msgs \u00B7 ", p.value.toolCallsCount, " tools", p.value.currentToolName ? ` · ${p.value.currentToolName}` : ""] })] }));
|
|
55
|
-
case "agentCallCompleted":
|
|
56
|
-
return (_jsxs(EventRow, { icon: p.value.error ? _jsx(XIcon, {}) : _jsx(CheckIcon, {}), iconColor: p.value.error ? "text-destructive" : "text-success", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-foreground", children: event.taskName }), _jsxs("span", { className: cn("text-xs", p.value.error ? "text-destructive" : "text-success"), children: ["agent ", p.value.error ? "failed" : "completed"] }), _jsx(MetaChips, { duration: Number(p.value.durationMs), cost: p.value.costMicros, tokens: p.value.tokensConsumed }), p.value.error && (_jsx("p", { className: "mt-1 text-xs text-destructive/80", children: p.value.error }))] }));
|
|
57
|
-
// ── Approval ─────────────────────────────────────────────────────
|
|
58
|
-
case "approvalRequested": {
|
|
59
|
-
const isHumanInput = !p.value.toolCallId;
|
|
60
|
-
const isWaiting = taskStates?.get(event.taskName)?.status === "waiting_approval";
|
|
61
|
-
const showCard = isWaiting && isHumanInput && onSubmitTaskApproval;
|
|
62
|
-
return (_jsxs(EventRow, { icon: _jsx(ShieldIcon, {}), iconColor: "text-warning", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-warning", children: "Approval requested" }), !showCard && p.value.prompt && (_jsx("p", { className: "mt-1 text-xs text-foreground", children: p.value.prompt })), p.value.approvers.length > 0 && (_jsxs("p", { className: "text-xs text-muted-foreground", children: ["Approvers: ", p.value.approvers.join(", ")] })), p.value.timeoutSeconds > 0 && (_jsxs("p", { className: "text-xs text-muted-foreground", children: ["Timeout: ", formatDuration(p.value.timeoutSeconds * 1000)] })), showCard && (_jsx(WorkflowTaskReviewGate, { taskName: event.taskName, prompt: p.value.prompt, outcomes: (p.value.outcomes ?? []).map((o) => ({
|
|
63
|
-
name: o.name,
|
|
64
|
-
label: o.label,
|
|
65
|
-
})), formSchema: p.value.formSchema
|
|
66
|
-
? p.value.formSchema
|
|
67
|
-
: undefined, payload: p.value.payload
|
|
68
|
-
? toJson(ValueSchema, p.value.payload)
|
|
69
|
-
: null, uiHint: p.value.uiHint, payloadArtifactId: p.value.payloadArtifactId || null, onSubmit: onSubmitTaskApproval, isSubmitting: taskApprovalSubmittingTaskNames?.has(event.taskName) ?? false, error: taskApprovalErrorsByTaskName?.get(event.taskName) ?? null }))] }));
|
|
70
|
-
}
|
|
71
|
-
case "approvalResolved":
|
|
72
|
-
return (_jsxs(EventRow, { icon: _jsx(ShieldIcon, {}), iconColor: "text-success", timestamp: timestamp, children: [_jsx("span", { className: "font-medium text-foreground", children: "Approval resolved" }), _jsxs("span", { className: "text-xs text-muted-foreground", children: ["by ", p.value.resolvedBy] }), p.value.comment && (_jsxs("p", { className: "mt-1 text-xs text-muted-foreground italic", children: ["\"", p.value.comment, "\""] }))] }));
|
|
73
|
-
// ── Budget ───────────────────────────────────────────────────────
|
|
74
|
-
case "budgetCheckpoint":
|
|
75
|
-
return (_jsxs(EventRow, { icon: _jsx(CoinIcon, {}), iconColor: p.value.thresholdBreached ? "text-warning" : "text-muted-foreground", timestamp: timestamp, children: [_jsx("span", { className: "text-foreground", children: "Budget checkpoint" }), _jsxs("span", { className: "text-xs text-muted-foreground", children: [formatMicroUsd(p.value.costConsumedMicros), " consumed", p.value.costRemainingMicros >= BigInt(0) && (_jsxs(_Fragment, { children: [" \u00B7 ", formatMicroUsd(p.value.costRemainingMicros), " remaining"] }))] }), p.value.thresholdBreached && (_jsx("span", { className: "text-xs font-medium text-warning", children: "threshold breached" }))] }));
|
|
76
|
-
// ── Signals / events ─────────────────────────────────────────────
|
|
77
|
-
case "signalReceived":
|
|
78
|
-
return (_jsxs(EventRow, { icon: _jsx(SignalIcon, {}), iconColor: "text-muted-foreground", timestamp: timestamp, children: [_jsx("span", { className: "text-foreground", children: "Signal received" }), _jsx("span", { className: "text-xs text-muted-foreground", children: p.value.signalName })] }));
|
|
79
|
-
case "eventEmitted":
|
|
80
|
-
return (_jsxs(EventRow, { icon: _jsx(EmitIcon, {}), iconColor: "text-muted-foreground", timestamp: timestamp, children: [_jsx("span", { className: "text-foreground", children: "Event emitted" }), _jsx("span", { className: "text-xs text-muted-foreground", children: p.value.eventType })] }));
|
|
81
|
-
// ── Artifacts ────────────────────────────────────────────────────
|
|
82
|
-
case "artifactCreated":
|
|
83
|
-
return (_jsxs(EventRow, { icon: _jsx(FileIcon, {}), iconColor: "text-muted-foreground", timestamp: timestamp, children: [_jsx("span", { className: "text-foreground", children: "Artifact created" }), _jsxs("span", { className: "text-xs text-muted-foreground", children: [p.value.displayName, " \u00B7 ", p.value.contentType, " \u00B7 ", formatBytes(p.value.sizeBytes)] })] }));
|
|
84
|
-
default:
|
|
85
|
-
return null;
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
// ---------------------------------------------------------------------------
|
|
89
|
-
// Shared layout
|
|
90
|
-
// ---------------------------------------------------------------------------
|
|
91
|
-
function EventRow({ icon, iconColor, timestamp, children, }) {
|
|
92
|
-
return (_jsxs("div", { className: "flex items-start gap-3 px-4 py-2 hover:bg-muted/30", role: "listitem", children: [_jsx("span", { className: cn("mt-0.5 flex size-4 shrink-0 items-center justify-center", iconColor), "aria-hidden": "true", children: icon }), _jsx("div", { className: "flex min-w-0 flex-1 flex-wrap items-baseline gap-x-2 gap-y-0.5 text-xs", children: children }), _jsx("span", { className: "shrink-0 text-[10px] tabular-nums text-muted-foreground", children: timestamp })] }));
|
|
93
|
-
}
|
|
94
|
-
function KindBadge({ kind }) {
|
|
95
|
-
const label = TASK_KIND_SHORT.get(kind) ?? kindToString(kind);
|
|
96
|
-
return (_jsx("span", { className: "shrink-0 rounded bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground", children: label }));
|
|
97
|
-
}
|
|
98
|
-
function MetaChips({ duration, cost, tokens, }) {
|
|
99
|
-
const text = formatMetaChips({ durationMs: duration, costMicros: cost, tokens });
|
|
100
|
-
if (!text)
|
|
101
|
-
return null;
|
|
102
|
-
return _jsx("span", { className: "text-xs text-muted-foreground", children: text });
|
|
103
|
-
}
|
|
104
|
-
// ---------------------------------------------------------------------------
|
|
105
|
-
// Icons (minimal inline SVGs — no external deps per DD-004)
|
|
106
|
-
// ---------------------------------------------------------------------------
|
|
107
|
-
function PlayIcon() {
|
|
108
|
-
return _jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "currentColor", children: _jsx("path", { d: "M3 2l7 4-7 4V2z" }) });
|
|
109
|
-
}
|
|
110
|
-
function CheckCircleIcon() {
|
|
111
|
-
return _jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: [_jsx("circle", { cx: "6", cy: "6", r: "4.5" }), _jsx("path", { d: "M4 6l1.5 1.5L8 5" })] });
|
|
112
|
-
}
|
|
113
|
-
function XCircleIcon() {
|
|
114
|
-
return _jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: [_jsx("circle", { cx: "6", cy: "6", r: "4.5" }), _jsx("path", { d: "M4.5 4.5l3 3M7.5 4.5l-3 3" })] });
|
|
115
|
-
}
|
|
116
|
-
function PauseCircleIcon() {
|
|
117
|
-
return _jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: [_jsx("circle", { cx: "6", cy: "6", r: "4.5" }), _jsx("path", { d: "M5 4.5v3M7 4.5v3" })] });
|
|
118
|
-
}
|
|
119
|
-
function StopCircleIcon() {
|
|
120
|
-
return _jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: [_jsx("circle", { cx: "6", cy: "6", r: "4.5" }), _jsx("rect", { x: "4", y: "4", width: "4", height: "4", rx: "0.5", fill: "currentColor" })] });
|
|
121
|
-
}
|
|
122
|
-
function ArrowRightIcon() {
|
|
123
|
-
return _jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: _jsx("path", { d: "M2 6h8M7 3l3 3-3 3" }) });
|
|
124
|
-
}
|
|
125
|
-
function CheckIcon() {
|
|
126
|
-
return _jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: _jsx("path", { d: "M2.5 6L5 8.5L9.5 3.5" }) });
|
|
127
|
-
}
|
|
128
|
-
function XIcon() {
|
|
129
|
-
return _jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: _jsx("path", { d: "M3 3l6 6M9 3l-6 6" }) });
|
|
130
|
-
}
|
|
131
|
-
function SkipIcon() {
|
|
132
|
-
return _jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: _jsx("path", { d: "M2 3l4 3-4 3V3zM7 3l4 3-4 3V3z" }) });
|
|
133
|
-
}
|
|
134
|
-
function RetryIcon() {
|
|
135
|
-
return _jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: [_jsx("path", { d: "M2 6a4 4 0 117 2.5" }), _jsx("path", { d: "M2 2v4h4" })] });
|
|
136
|
-
}
|
|
137
|
-
function AgentIcon() {
|
|
138
|
-
return _jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: [_jsx("circle", { cx: "6", cy: "4", r: "2" }), _jsx("path", { d: "M2 10a4 4 0 018 0" })] });
|
|
139
|
-
}
|
|
140
|
-
function ShieldIcon() {
|
|
141
|
-
return _jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: _jsx("path", { d: "M6 1L2 3v3c0 2.5 1.5 4 4 5 2.5-1 4-2.5 4-5V3L6 1z" }) });
|
|
142
|
-
}
|
|
143
|
-
function CoinIcon() {
|
|
144
|
-
return _jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: [_jsx("circle", { cx: "6", cy: "6", r: "4.5" }), _jsx("path", { d: "M6 3v6M4.5 4.5h2a1 1 0 010 2H5a1 1 0 000 2h2" })] });
|
|
145
|
-
}
|
|
146
|
-
function SignalIcon() {
|
|
147
|
-
return _jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: _jsx("path", { d: "M6 8v2M4 6l2 2 2-2M2 4l4 4 4-4" }) });
|
|
148
|
-
}
|
|
149
|
-
function EmitIcon() {
|
|
150
|
-
return _jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: _jsx("path", { d: "M6 2v6M3 5l3 3 3-3M3 10h6" }) });
|
|
151
|
-
}
|
|
152
|
-
function FileIcon() {
|
|
153
|
-
return _jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: [_jsx("path", { d: "M7 1H3a1 1 0 00-1 1v8a1 1 0 001 1h6a1 1 0 001-1V4L7 1z" }), _jsx("path", { d: "M7 1v3h3" })] });
|
|
154
|
-
}
|
|
155
|
-
// ---------------------------------------------------------------------------
|
|
156
|
-
// Formatting helpers
|
|
157
|
-
// ---------------------------------------------------------------------------
|
|
158
|
-
const TASK_KIND_SHORT = new Map([
|
|
159
|
-
[WorkflowTaskKind.agent_call, "agent_call"],
|
|
160
|
-
[WorkflowTaskKind.llm_call, "llm_call"],
|
|
161
|
-
[WorkflowTaskKind.http_call, "http_call"],
|
|
162
|
-
[WorkflowTaskKind.grpc_call, "grpc_call"],
|
|
163
|
-
[WorkflowTaskKind.transform, "transform"],
|
|
164
|
-
[WorkflowTaskKind.human_input, "human_input"],
|
|
165
|
-
[WorkflowTaskKind.validate, "validate"],
|
|
166
|
-
[WorkflowTaskKind.emit_event, "emit_event"],
|
|
167
|
-
[WorkflowTaskKind.notification, "notification"],
|
|
168
|
-
[WorkflowTaskKind.eval, "eval"],
|
|
169
|
-
[WorkflowTaskKind.switch_case, "switch"],
|
|
170
|
-
[WorkflowTaskKind.for_each, "for_each"],
|
|
171
|
-
[WorkflowTaskKind.fork, "fork"],
|
|
172
|
-
[WorkflowTaskKind.listen, "listen"],
|
|
173
|
-
[WorkflowTaskKind.wait, "wait"],
|
|
174
|
-
]);
|
|
175
|
-
function kindToString(kind) {
|
|
176
|
-
const entry = Object.entries(WorkflowTaskKind).find(([, v]) => v === kind && typeof v === "number");
|
|
177
|
-
return entry?.[0] ?? "unknown";
|
|
178
|
-
}
|
|
179
|
-
//# sourceMappingURL=WorkflowExecutionTimelineEvent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionTimelineEvent.js","sourceRoot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