@stigmer/react 3.0.9-dev.20260616060535 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/access/ManageAccessButton.d.ts +1 -1
- package/access/ManageAccessButton.d.ts.map +1 -1
- package/access/ManageAccessButton.js +2 -2
- package/access/ManageAccessButton.js.map +1 -1
- package/access/ManageAccessDialog.d.ts +1 -1
- package/access/ManageAccessDialog.d.ts.map +1 -1
- package/access/ManageAccessDialog.js +2 -2
- package/access/ManageAccessDialog.js.map +1 -1
- package/access/index.d.ts +4 -4
- package/access/index.d.ts.map +1 -1
- package/access/index.js +3 -3
- package/access/index.js.map +1 -1
- package/access/types.d.ts +1 -1
- package/access/types.d.ts.map +1 -1
- package/access/useManageAccess.d.ts +2 -2
- package/access/useManageAccess.d.ts.map +1 -1
- package/access/useManageAccess.js +2 -2
- package/access/useManageAccess.js.map +1 -1
- package/action-menu/ActionMenu.d.ts +1 -1
- package/action-menu/ActionMenu.d.ts.map +1 -1
- package/action-menu/ActionMenu.js +1 -1
- package/action-menu/ActionMenu.js.map +1 -1
- package/action-menu/index.d.ts +2 -2
- package/action-menu/index.d.ts.map +1 -1
- package/action-menu/index.js +1 -1
- package/action-menu/index.js.map +1 -1
- package/activity/group-activity.d.ts +1 -1
- package/activity/group-activity.d.ts.map +1 -1
- package/activity/index.d.ts +3 -3
- package/activity/index.d.ts.map +1 -1
- package/activity/index.js +2 -2
- package/activity/index.js.map +1 -1
- package/activity/useRecentActivity.d.ts +1 -1
- package/activity/useRecentActivity.d.ts.map +1 -1
- package/activity/useRecentActivity.js +3 -3
- package/activity/useRecentActivity.js.map +1 -1
- package/agent/AgentCreationWizard.d.ts +1 -1
- package/agent/AgentCreationWizard.d.ts.map +1 -1
- package/agent/AgentCreationWizard.js +7 -7
- package/agent/AgentCreationWizard.js.map +1 -1
- package/agent/AgentDetailView.d.ts +1 -1
- package/agent/AgentDetailView.d.ts.map +1 -1
- package/agent/AgentDetailView.js +16 -16
- package/agent/AgentDetailView.js.map +1 -1
- package/agent/AgentEnvForm.d.ts +1 -1
- package/agent/AgentEnvForm.d.ts.map +1 -1
- package/agent/AgentEnvForm.js +1 -1
- package/agent/AgentEnvForm.js.map +1 -1
- package/agent/AgentPicker.js +4 -4
- package/agent/AgentPicker.js.map +1 -1
- package/agent/agentSetupReducer.d.ts +1 -1
- package/agent/agentSetupReducer.d.ts.map +1 -1
- package/agent/index.d.ts +27 -27
- package/agent/index.d.ts.map +1 -1
- package/agent/index.js +14 -14
- package/agent/index.js.map +1 -1
- package/agent/steps/CapabilitiesStep.d.ts +1 -1
- package/agent/steps/CapabilitiesStep.d.ts.map +1 -1
- package/agent/steps/CapabilitiesStep.js +2 -2
- package/agent/steps/CapabilitiesStep.js.map +1 -1
- package/agent/steps/IdentityStep.d.ts +1 -1
- package/agent/steps/IdentityStep.d.ts.map +1 -1
- package/agent/steps/IdentityStep.js +1 -1
- package/agent/steps/IdentityStep.js.map +1 -1
- package/agent/steps/ReviewStep.d.ts +1 -1
- package/agent/steps/ReviewStep.d.ts.map +1 -1
- package/agent/steps/ReviewStep.js +1 -1
- package/agent/steps/ReviewStep.js.map +1 -1
- package/agent/steps/types.d.ts +2 -2
- package/agent/steps/types.d.ts.map +1 -1
- package/agent/useAgent.js +2 -2
- package/agent/useAgent.js.map +1 -1
- package/agent/useAgentCount.d.ts +1 -1
- package/agent/useAgentCount.d.ts.map +1 -1
- package/agent/useAgentCount.js +2 -2
- package/agent/useAgentCount.js.map +1 -1
- package/agent/useAgentList.d.ts +1 -1
- package/agent/useAgentList.d.ts.map +1 -1
- package/agent/useAgentList.js +2 -2
- package/agent/useAgentList.js.map +1 -1
- package/agent/useAgentSearch.d.ts +1 -1
- package/agent/useAgentSearch.d.ts.map +1 -1
- package/agent/useAgentSearch.js +2 -2
- package/agent/useAgentSearch.js.map +1 -1
- package/agent/useAgentSetup.d.ts +2 -2
- package/agent/useAgentSetup.d.ts.map +1 -1
- package/agent/useAgentSetup.js +6 -6
- package/agent/useAgentSetup.js.map +1 -1
- package/agent/useCreateAgent.js +2 -2
- package/agent/useCreateAgent.js.map +1 -1
- package/agent/useDefaultAgent.js +2 -2
- package/agent/useDefaultAgent.js.map +1 -1
- package/agent/useUpdateAgent.js +2 -2
- package/agent/useUpdateAgent.js.map +1 -1
- package/agent-instance/AgentInstanceDetailPanel.js +7 -7
- package/agent-instance/AgentInstanceDetailPanel.js.map +1 -1
- package/agent-instance/AgentInstanceList.js +5 -5
- package/agent-instance/AgentInstanceList.js.map +1 -1
- package/agent-instance/CreateAgentInstanceDialog.js +3 -3
- package/agent-instance/CreateAgentInstanceDialog.js.map +1 -1
- package/agent-instance/buildPersonalInstanceInput.js +1 -1
- package/agent-instance/buildPersonalInstanceInput.js.map +1 -1
- package/agent-instance/index.d.ts +22 -22
- package/agent-instance/index.d.ts.map +1 -1
- package/agent-instance/index.js +11 -11
- package/agent-instance/index.js.map +1 -1
- package/agent-instance/useAgentInstance.js +2 -2
- package/agent-instance/useAgentInstance.js.map +1 -1
- package/agent-instance/useAgentInstanceList.js +2 -2
- package/agent-instance/useAgentInstanceList.js.map +1 -1
- package/agent-instance/useAgentInstances.js +2 -2
- package/agent-instance/useAgentInstances.js.map +1 -1
- package/agent-instance/useCreateAgentInstance.js +2 -2
- package/agent-instance/useCreateAgentInstance.js.map +1 -1
- package/agent-instance/useDeleteAgentInstance.js +2 -2
- package/agent-instance/useDeleteAgentInstance.js.map +1 -1
- package/agent-instance/usePersonalAgentInstance.js +4 -4
- package/agent-instance/usePersonalAgentInstance.js.map +1 -1
- package/agent-instance/useUpdateAgentInstance.js +2 -2
- package/agent-instance/useUpdateAgentInstance.js.map +1 -1
- package/api-key/ApiKeyListPanel.js +2 -2
- package/api-key/ApiKeyListPanel.js.map +1 -1
- package/api-key/CreateApiKeyForm.js +1 -1
- package/api-key/CreateApiKeyForm.js.map +1 -1
- package/api-key/index.d.ts +12 -12
- package/api-key/index.d.ts.map +1 -1
- package/api-key/index.js +6 -6
- package/api-key/index.js.map +1 -1
- package/api-key/useApiKeyList.js +2 -2
- package/api-key/useApiKeyList.js.map +1 -1
- package/api-key/useCreateApiKey.js +2 -2
- package/api-key/useCreateApiKey.js.map +1 -1
- package/api-key/useDeleteApiKey.js +2 -2
- package/api-key/useDeleteApiKey.js.map +1 -1
- package/attachment/AttachmentChipList.d.ts +1 -1
- package/attachment/AttachmentChipList.d.ts.map +1 -1
- package/attachment/AttachmentChipList.js +1 -1
- package/attachment/AttachmentChipList.js.map +1 -1
- package/attachment/index.d.ts +5 -5
- package/attachment/index.d.ts.map +1 -1
- package/attachment/index.js +3 -3
- package/attachment/index.js.map +1 -1
- package/attachment/useAttachments.js +3 -3
- package/attachment/useAttachments.js.map +1 -1
- package/billing/AutoRechargeCard.js +1 -1
- package/billing/AutoRechargeCard.js.map +1 -1
- package/billing/BillingSection.js +12 -12
- package/billing/BillingSection.js.map +1 -1
- package/billing/CreditBalanceCard.js +1 -1
- package/billing/CreditBalanceCard.js.map +1 -1
- package/billing/CreditLedgerTable.js +2 -2
- package/billing/CreditLedgerTable.js.map +1 -1
- package/billing/CreditPackGrid.js +1 -1
- package/billing/CreditPackGrid.js.map +1 -1
- package/billing/LowBalanceBanner.js +1 -1
- package/billing/LowBalanceBanner.js.map +1 -1
- package/billing/index.d.ts +31 -31
- package/billing/index.d.ts.map +1 -1
- package/billing/index.js +16 -16
- package/billing/index.js.map +1 -1
- package/billing/useBillingAccount.js +2 -2
- package/billing/useBillingAccount.js.map +1 -1
- package/billing/useBillingUsageReport.js +2 -2
- package/billing/useBillingUsageReport.js.map +1 -1
- package/billing/useCreateBillingPortalSession.js +2 -2
- package/billing/useCreateBillingPortalSession.js.map +1 -1
- package/billing/useCreateCheckoutSession.js +2 -2
- package/billing/useCreateCheckoutSession.js.map +1 -1
- package/billing/useCreditLedger.js +2 -2
- package/billing/useCreditLedger.js.map +1 -1
- package/billing/useCustomerModelPricing.js +2 -2
- package/billing/useCustomerModelPricing.js.map +1 -1
- package/billing/useSetAutoRechargeConfig.js +2 -2
- package/billing/useSetAutoRechargeConfig.js.map +1 -1
- package/composer/ComposerToolbar.d.ts +3 -3
- package/composer/ComposerToolbar.d.ts.map +1 -1
- package/composer/ComposerToolbar.js +6 -6
- package/composer/ComposerToolbar.js.map +1 -1
- package/composer/ConfigureMenu.js +2 -2
- package/composer/ConfigureMenu.js.map +1 -1
- package/composer/ContextChip.js +1 -1
- package/composer/ContextChip.js.map +1 -1
- package/composer/ContextPopover.js +1 -1
- package/composer/ContextPopover.js.map +1 -1
- package/composer/InteractionModePicker.js +1 -1
- package/composer/InteractionModePicker.js.map +1 -1
- package/composer/SessionComposer.d.ts +6 -6
- package/composer/SessionComposer.d.ts.map +1 -1
- package/composer/SessionComposer.js +23 -23
- package/composer/SessionComposer.js.map +1 -1
- package/composer/index.d.ts +7 -7
- package/composer/index.d.ts.map +1 -1
- package/composer/index.js +4 -4
- package/composer/index.js.map +1 -1
- package/composer/interaction-mode.d.ts +1 -1
- package/composer/interaction-mode.d.ts.map +1 -1
- package/dashboard/DashboardFailedRuns.d.ts +1 -1
- package/dashboard/DashboardFailedRuns.d.ts.map +1 -1
- package/dashboard/DashboardKPICards.d.ts +1 -1
- package/dashboard/DashboardKPICards.d.ts.map +1 -1
- package/dashboard/OperationalDashboard.d.ts +1 -1
- package/dashboard/OperationalDashboard.d.ts.map +1 -1
- package/dashboard/OperationalDashboard.js +6 -6
- package/dashboard/OperationalDashboard.js.map +1 -1
- package/dashboard/index.d.ts +7 -7
- package/dashboard/index.d.ts.map +1 -1
- package/dashboard/index.js +6 -6
- package/dashboard/index.js.map +1 -1
- package/dashboard/useAgentExecutionSummary.js +2 -2
- package/dashboard/useAgentExecutionSummary.js.map +1 -1
- package/dashboard/useDashboardFailedRuns.d.ts +1 -1
- package/dashboard/useDashboardFailedRuns.d.ts.map +1 -1
- package/dashboard/useDashboardFailedRuns.js +2 -2
- package/dashboard/useDashboardFailedRuns.js.map +1 -1
- package/dashboard/useDashboardSummary.d.ts +1 -1
- package/dashboard/useDashboardSummary.d.ts.map +1 -1
- package/dashboard/useDashboardSummary.js +4 -4
- package/dashboard/useDashboardSummary.js.map +1 -1
- package/dependency-graph/DependencyGraph.d.ts +1 -1
- package/dependency-graph/DependencyGraph.d.ts.map +1 -1
- package/dependency-graph/DependencyGraph.js +1 -1
- package/dependency-graph/DependencyGraph.js.map +1 -1
- package/dependency-graph/DependencyTreeNode.d.ts +1 -1
- package/dependency-graph/DependencyTreeNode.d.ts.map +1 -1
- package/dependency-graph/index.d.ts +3 -3
- package/dependency-graph/index.d.ts.map +1 -1
- package/dependency-graph/index.js +2 -2
- package/dependency-graph/index.js.map +1 -1
- package/dependency-graph/useDependencyGraph.d.ts +1 -1
- package/dependency-graph/useDependencyGraph.d.ts.map +1 -1
- package/empty-state/EmptyState.d.ts +1 -1
- package/empty-state/EmptyState.d.ts.map +1 -1
- package/empty-state/EmptyState.js +1 -1
- package/empty-state/EmptyState.js.map +1 -1
- package/empty-state/index.d.ts +3 -3
- package/empty-state/index.d.ts.map +1 -1
- package/empty-state/index.js +2 -2
- package/empty-state/index.js.map +1 -1
- package/empty-state/useEmptyState.d.ts +1 -1
- package/empty-state/useEmptyState.d.ts.map +1 -1
- package/environment/CreateEnvironmentForm.js +1 -1
- package/environment/CreateEnvironmentForm.js.map +1 -1
- package/environment/EnvVarForm.js +2 -2
- package/environment/EnvVarForm.js.map +1 -1
- package/environment/EnvironmentListPanel.js +2 -2
- package/environment/EnvironmentListPanel.js.map +1 -1
- package/environment/EnvironmentPicker.js +1 -1
- package/environment/EnvironmentPicker.js.map +1 -1
- package/environment/EnvironmentVariableEditor.js +5 -5
- package/environment/EnvironmentVariableEditor.js.map +1 -1
- package/environment/diffEnv.d.ts +1 -1
- package/environment/diffEnv.d.ts.map +1 -1
- package/environment/index.d.ts +30 -30
- package/environment/index.d.ts.map +1 -1
- package/environment/index.js +16 -16
- package/environment/index.js.map +1 -1
- package/environment/useCreateEnvironment.js +2 -2
- package/environment/useCreateEnvironment.js.map +1 -1
- package/environment/useEnvironment.js +2 -2
- package/environment/useEnvironment.js.map +1 -1
- package/environment/useEnvironmentList.js +2 -2
- package/environment/useEnvironmentList.js.map +1 -1
- package/environment/usePersonalEnvironment.js +4 -4
- package/environment/usePersonalEnvironment.js.map +1 -1
- package/environment/useRemoveEnvironmentVariables.js +2 -2
- package/environment/useRemoveEnvironmentVariables.js.map +1 -1
- package/environment/useRevealSecretValue.js +2 -2
- package/environment/useRevealSecretValue.js.map +1 -1
- package/environment/useSessionEnvPool.d.ts +1 -1
- package/environment/useSessionEnvPool.d.ts.map +1 -1
- package/environment/useUpdateEnvironment.js +2 -2
- package/environment/useUpdateEnvironment.js.map +1 -1
- package/environment/useUpdateEnvironmentVariables.js +2 -2
- package/environment/useUpdateEnvironmentVariables.js.map +1 -1
- package/error/index.d.ts +4 -4
- package/error/index.d.ts.map +1 -1
- package/error/index.js +2 -2
- package/error/index.js.map +1 -1
- package/execution/ApprovalCard.d.ts +47 -3
- package/execution/ApprovalCard.d.ts.map +1 -1
- package/execution/ApprovalCard.js +140 -72
- package/execution/ApprovalCard.js.map +1 -1
- package/execution/ApprovalContext.d.ts +72 -0
- package/execution/ApprovalContext.d.ts.map +1 -0
- package/execution/ApprovalContext.js +41 -0
- package/execution/ApprovalContext.js.map +1 -0
- package/execution/ArtifactCard.d.ts.map +1 -1
- package/execution/ArtifactCard.js +7 -5
- package/execution/ArtifactCard.js.map +1 -1
- package/execution/ArtifactContentRenderer.js +2 -2
- package/execution/ArtifactContentRenderer.js.map +1 -1
- package/execution/ArtifactPreviewModal.d.ts +1 -1
- package/execution/ArtifactPreviewModal.d.ts.map +1 -1
- package/execution/ArtifactPreviewModal.js +11 -9
- package/execution/ArtifactPreviewModal.js.map +1 -1
- package/execution/ArtifactsWidget.d.ts +1 -1
- package/execution/ArtifactsWidget.d.ts.map +1 -1
- package/execution/ArtifactsWidget.js +3 -3
- package/execution/ArtifactsWidget.js.map +1 -1
- package/execution/ContextGauge.js +2 -2
- package/execution/ContextGauge.js.map +1 -1
- package/execution/EmptyChangeNotice.d.ts +38 -0
- package/execution/EmptyChangeNotice.d.ts.map +1 -0
- package/execution/EmptyChangeNotice.js +27 -0
- package/execution/EmptyChangeNotice.js.map +1 -0
- package/execution/ExecutionProgress.js +2 -2
- package/execution/ExecutionProgress.js.map +1 -1
- package/execution/FileChangesView.d.ts +81 -0
- package/execution/FileChangesView.d.ts.map +1 -0
- package/execution/FileChangesView.js +164 -0
- package/execution/FileChangesView.js.map +1 -0
- package/execution/FilePathContext.d.ts +1 -1
- package/execution/FilePathContext.d.ts.map +1 -1
- package/execution/FilePathLink.d.ts +24 -4
- package/execution/FilePathLink.d.ts.map +1 -1
- package/execution/FilePathLink.js +32 -10
- package/execution/FilePathLink.js.map +1 -1
- package/execution/FileReviewCard.d.ts +111 -0
- package/execution/FileReviewCard.d.ts.map +1 -0
- package/execution/FileReviewCard.js +558 -0
- package/execution/FileReviewCard.js.map +1 -0
- package/execution/FileReviewContext.d.ts +35 -0
- package/execution/FileReviewContext.d.ts.map +1 -0
- package/execution/FileReviewContext.js +23 -0
- package/execution/FileReviewContext.js.map +1 -0
- package/execution/FileReviewDock.d.ts +73 -0
- package/execution/FileReviewDock.d.ts.map +1 -0
- package/execution/FileReviewDock.js +65 -0
- package/execution/FileReviewDock.js.map +1 -0
- package/execution/FollowUpInput.js +1 -1
- package/execution/FollowUpInput.js.map +1 -1
- package/execution/McpToolDetail.d.ts.map +1 -1
- package/execution/McpToolDetail.js +41 -8
- package/execution/McpToolDetail.js.map +1 -1
- package/execution/MessageEntry.js +2 -2
- package/execution/MessageEntry.js.map +1 -1
- package/execution/MessageThread.d.ts +44 -5
- package/execution/MessageThread.d.ts.map +1 -1
- package/execution/MessageThread.js +281 -36
- package/execution/MessageThread.js.map +1 -1
- package/execution/PlanArtifactCard.d.ts.map +1 -1
- package/execution/PlanArtifactCard.js +6 -4
- package/execution/PlanArtifactCard.js.map +1 -1
- package/execution/PlanCompletionCard.d.ts +1 -1
- package/execution/PlanCompletionCard.js +2 -2
- package/execution/PlanCompletionCard.js.map +1 -1
- package/execution/ResultView.d.ts +19 -1
- package/execution/ResultView.d.ts.map +1 -1
- package/execution/ResultView.js +144 -43
- package/execution/ResultView.js.map +1 -1
- package/execution/SandboxContext.js +1 -1
- package/execution/SandboxContext.js.map +1 -1
- package/execution/SessionVariablesInput.d.ts +1 -1
- package/execution/SessionVariablesInput.d.ts.map +1 -1
- package/execution/SessionVariablesInput.js +2 -2
- package/execution/SessionVariablesInput.js.map +1 -1
- package/execution/SubAgentSection.d.ts.map +1 -1
- package/execution/SubAgentSection.js +52 -13
- package/execution/SubAgentSection.js.map +1 -1
- package/execution/SummarizationBadge.d.ts +1 -1
- package/execution/SummarizationBadge.d.ts.map +1 -1
- package/execution/SummarizationBadge.js +1 -1
- package/execution/SummarizationBadge.js.map +1 -1
- package/execution/SummarizationCard.d.ts +1 -1
- package/execution/SummarizationCard.d.ts.map +1 -1
- package/execution/SummarizationCard.js +1 -1
- package/execution/SummarizationCard.js.map +1 -1
- package/execution/TerminalSession.d.ts +34 -0
- package/execution/TerminalSession.d.ts.map +1 -0
- package/execution/TerminalSession.js +34 -0
- package/execution/TerminalSession.js.map +1 -0
- package/execution/ThreadSelectionContext.d.ts +1 -1
- package/execution/ThreadSelectionContext.d.ts.map +1 -1
- package/execution/TodoCard.d.ts +53 -0
- package/execution/TodoCard.d.ts.map +1 -0
- package/execution/TodoCard.js +77 -0
- package/execution/TodoCard.js.map +1 -0
- package/execution/ToolArgsView.d.ts +7 -1
- package/execution/ToolArgsView.d.ts.map +1 -1
- package/execution/ToolArgsView.js +14 -13
- package/execution/ToolArgsView.js.map +1 -1
- package/execution/ToolCallDetail.d.ts +10 -1
- package/execution/ToolCallDetail.d.ts.map +1 -1
- package/execution/ToolCallDetail.js +71 -24
- package/execution/ToolCallDetail.js.map +1 -1
- package/execution/ToolCallGroup.d.ts +28 -18
- package/execution/ToolCallGroup.d.ts.map +1 -1
- package/execution/ToolCallGroup.js +41 -150
- package/execution/ToolCallGroup.js.map +1 -1
- package/execution/ToolCallItem.d.ts +37 -9
- package/execution/ToolCallItem.d.ts.map +1 -1
- package/execution/ToolCallItem.js +145 -26
- package/execution/ToolCallItem.js.map +1 -1
- package/execution/ToolRunGroup.d.ts +48 -0
- package/execution/ToolRunGroup.d.ts.map +1 -0
- package/execution/ToolRunGroup.js +168 -0
- package/execution/ToolRunGroup.js.map +1 -0
- package/execution/UsageWidget.js +1 -1
- package/execution/UsageWidget.js.map +1 -1
- package/execution/WriteBacksWidget.js +2 -2
- package/execution/WriteBacksWidget.js.map +1 -1
- package/execution/approval-provenance.d.ts +2 -0
- package/execution/approval-provenance.d.ts.map +1 -0
- package/execution/approval-provenance.js +6 -0
- package/execution/approval-provenance.js.map +1 -0
- package/execution/artifact-utils.d.ts +0 -10
- package/execution/artifact-utils.d.ts.map +1 -1
- package/execution/artifact-utils.js +0 -17
- package/execution/artifact-utils.js.map +1 -1
- package/execution/execution-phases.d.ts +1 -6
- package/execution/execution-phases.d.ts.map +1 -1
- package/execution/execution-phases.js +4 -14
- package/execution/execution-phases.js.map +1 -1
- package/execution/file-path-resolver.d.ts +28 -0
- package/execution/file-path-resolver.d.ts.map +1 -1
- package/execution/file-path-resolver.js +24 -0
- package/execution/file-path-resolver.js.map +1 -1
- package/execution/file-review-status.d.ts +127 -0
- package/execution/file-review-status.d.ts.map +1 -0
- package/execution/file-review-status.js +135 -0
- package/execution/file-review-status.js.map +1 -0
- package/execution/index.d.ts +130 -96
- package/execution/index.d.ts.map +1 -1
- package/execution/index.js +69 -49
- package/execution/index.js.map +1 -1
- package/execution/segment-tool-calls.d.ts +46 -0
- package/execution/segment-tool-calls.d.ts.map +1 -0
- package/execution/segment-tool-calls.js +71 -0
- package/execution/segment-tool-calls.js.map +1 -0
- package/execution/tool-categories.d.ts +62 -1
- package/execution/tool-categories.d.ts.map +1 -1
- package/execution/tool-categories.js +96 -2
- package/execution/tool-categories.js.map +1 -1
- package/execution/tool-presenter.d.ts +38 -2
- package/execution/tool-presenter.d.ts.map +1 -1
- package/execution/tool-presenter.js +24 -2
- package/execution/tool-presenter.js.map +1 -1
- package/execution/tool-rendering-primitives.d.ts.map +1 -1
- package/execution/tool-rendering-primitives.js +3 -2
- package/execution/tool-rendering-primitives.js.map +1 -1
- package/execution/useAgentExecutionActions.js +2 -2
- package/execution/useAgentExecutionActions.js.map +1 -1
- package/execution/useArtifactContent.js +2 -2
- package/execution/useArtifactContent.js.map +1 -1
- package/execution/useArtifactDownload.d.ts +44 -0
- package/execution/useArtifactDownload.d.ts.map +1 -0
- package/execution/useArtifactDownload.js +80 -0
- package/execution/useArtifactDownload.js.map +1 -0
- package/execution/useArtifactDownloadUrl.d.ts +67 -0
- package/execution/useArtifactDownloadUrl.d.ts.map +1 -0
- package/execution/useArtifactDownloadUrl.js +59 -0
- package/execution/useArtifactDownloadUrl.js.map +1 -0
- package/execution/useCreateAgentExecution.js +3 -3
- package/execution/useCreateAgentExecution.js.map +1 -1
- package/execution/useExecutionStream.d.ts +2 -2
- package/execution/useExecutionStream.d.ts.map +1 -1
- package/execution/useExecutionStream.js +7 -7
- package/execution/useExecutionStream.js.map +1 -1
- package/execution/useFileChangeContent.d.ts +61 -0
- package/execution/useFileChangeContent.d.ts.map +1 -0
- package/execution/useFileChangeContent.js +89 -0
- package/execution/useFileChangeContent.js.map +1 -0
- package/execution/useFileReview.d.ts +89 -0
- package/execution/useFileReview.d.ts.map +1 -0
- package/execution/useFileReview.js +106 -0
- package/execution/useFileReview.js.map +1 -0
- package/execution/useSubmitApproval.d.ts +17 -2
- package/execution/useSubmitApproval.d.ts.map +1 -1
- package/execution/useSubmitApproval.js +29 -25
- package/execution/useSubmitApproval.js.map +1 -1
- package/execution/useThreadSelection.d.ts +1 -1
- package/execution/useThreadSelection.d.ts.map +1 -1
- package/execution/useThreadSelection.js +1 -1
- package/execution/useThreadSelection.js.map +1 -1
- package/execution/useToolOutputContent.d.ts +44 -0
- package/execution/useToolOutputContent.d.ts.map +1 -0
- package/execution/useToolOutputContent.js +31 -0
- package/execution/useToolOutputContent.js.map +1 -0
- package/execution-target-context.d.ts +1 -1
- package/execution-target-context.d.ts.map +1 -1
- package/feedback/StigmerToaster.d.ts +1 -1
- package/feedback/StigmerToaster.d.ts.map +1 -1
- package/feedback/StigmerToaster.js +1 -1
- package/feedback/StigmerToaster.js.map +1 -1
- package/feedback/index.d.ts +3 -3
- package/feedback/index.d.ts.map +1 -1
- package/feedback/index.js +2 -2
- package/feedback/index.js.map +1 -1
- package/file-reference/index.d.ts +2 -2
- package/file-reference/index.d.ts.map +1 -1
- package/file-reference/index.js +2 -2
- package/file-reference/index.js.map +1 -1
- package/github/GitHubRepoPicker.js +2 -2
- package/github/GitHubRepoPicker.js.map +1 -1
- package/github/index.d.ts +6 -6
- package/github/index.d.ts.map +1 -1
- package/github/index.js +6 -6
- package/github/index.js.map +1 -1
- package/github/useGitHubConnection.js +2 -2
- package/github/useGitHubConnection.js.map +1 -1
- package/github/useGitHubSearch.d.ts +1 -1
- package/github/useGitHubSearch.d.ts.map +1 -1
- package/github/useGitHubTreeLister.d.ts +1 -1
- package/github/useGitHubTreeLister.d.ts.map +1 -1
- package/github/useGitHubTreeLister.js +1 -1
- package/github/useGitHubTreeLister.js.map +1 -1
- package/hooks.js +1 -1
- package/hooks.js.map +1 -1
- package/iam-policy/GrantAccessForm.js +3 -3
- package/iam-policy/GrantAccessForm.js.map +1 -1
- package/iam-policy/OrgMembersPanel.js +8 -8
- package/iam-policy/OrgMembersPanel.js.map +1 -1
- package/iam-policy/PeopleWithAccess.d.ts +1 -1
- package/iam-policy/PeopleWithAccess.d.ts.map +1 -1
- package/iam-policy/PeopleWithAccess.js +3 -3
- package/iam-policy/PeopleWithAccess.js.map +1 -1
- package/iam-policy/PermissionGate.d.ts +1 -1
- package/iam-policy/PermissionGate.d.ts.map +1 -1
- package/iam-policy/PermissionGate.js +1 -1
- package/iam-policy/PermissionGate.js.map +1 -1
- package/iam-policy/PrincipalPicker.js +2 -2
- package/iam-policy/PrincipalPicker.js.map +1 -1
- package/iam-policy/RoleSelector.js +1 -1
- package/iam-policy/RoleSelector.js.map +1 -1
- package/iam-policy/SharePanel.d.ts +1 -1
- package/iam-policy/SharePanel.d.ts.map +1 -1
- package/iam-policy/SharePanel.js +1 -1
- package/iam-policy/SharePanel.js.map +1 -1
- package/iam-policy/index.d.ts +18 -18
- package/iam-policy/index.d.ts.map +1 -1
- package/iam-policy/index.js +18 -18
- package/iam-policy/index.js.map +1 -1
- package/iam-policy/useCheckPermission.js +1 -1
- package/iam-policy/useCheckPermission.js.map +1 -1
- package/iam-policy/useCreateIamPolicy.js +2 -2
- package/iam-policy/useCreateIamPolicy.js.map +1 -1
- package/iam-policy/useDeleteIamPolicy.js +2 -2
- package/iam-policy/useDeleteIamPolicy.js.map +1 -1
- package/iam-policy/usePrincipalsCount.js +2 -2
- package/iam-policy/usePrincipalsCount.js.map +1 -1
- package/iam-policy/useResourceAccess.js +2 -2
- package/iam-policy/useResourceAccess.js.map +1 -1
- package/iam-policy/useRevokeOrgAccess.js +2 -2
- package/iam-policy/useRevokeOrgAccess.js.map +1 -1
- package/iam-policy/useShareFlow.js +4 -4
- package/iam-policy/useShareFlow.js.map +1 -1
- package/iam-policy/useWhoAmI.js +2 -2
- package/iam-policy/useWhoAmI.js.map +1 -1
- package/identity-account/index.d.ts +1 -1
- package/identity-account/index.d.ts.map +1 -1
- package/identity-account/index.js +1 -1
- package/identity-account/index.js.map +1 -1
- package/identity-account/useIdentityAccountGate.js +2 -2
- package/identity-account/useIdentityAccountGate.js.map +1 -1
- package/identity-provider/CreateIdentityProviderForm.js +1 -1
- package/identity-provider/CreateIdentityProviderForm.js.map +1 -1
- package/identity-provider/IdentityProviderDetailPanel.js +1 -1
- package/identity-provider/IdentityProviderDetailPanel.js.map +1 -1
- package/identity-provider/IdentityProviderListPanel.js +2 -2
- package/identity-provider/IdentityProviderListPanel.js.map +1 -1
- package/identity-provider/IdentityProviderWizard.js +3 -3
- package/identity-provider/IdentityProviderWizard.js.map +1 -1
- package/identity-provider/ProviderPicker.d.ts +1 -1
- package/identity-provider/ProviderPicker.d.ts.map +1 -1
- package/identity-provider/ProviderPicker.js +1 -1
- package/identity-provider/ProviderPicker.js.map +1 -1
- package/identity-provider/SsoLoginPrompt.js +1 -1
- package/identity-provider/SsoLoginPrompt.js.map +1 -1
- package/identity-provider/index.d.ts +13 -13
- package/identity-provider/index.d.ts.map +1 -1
- package/identity-provider/index.js +13 -13
- package/identity-provider/index.js.map +1 -1
- package/identity-provider/useCreateIdentityProvider.js +2 -2
- package/identity-provider/useCreateIdentityProvider.js.map +1 -1
- package/identity-provider/useDeleteIdentityProvider.js +2 -2
- package/identity-provider/useDeleteIdentityProvider.js.map +1 -1
- package/identity-provider/useIdentityProvider.js +2 -2
- package/identity-provider/useIdentityProvider.js.map +1 -1
- package/identity-provider/useIdentityProviderList.js +2 -2
- package/identity-provider/useIdentityProviderList.js.map +1 -1
- package/identity-provider/useSsoProvider.js +2 -2
- package/identity-provider/useSsoProvider.js.map +1 -1
- package/identity-provider/useUpdateIdentityProvider.js +2 -2
- package/identity-provider/useUpdateIdentityProvider.js.map +1 -1
- package/index.d.ts +104 -104
- package/index.d.ts.map +1 -1
- package/index.js +61 -61
- package/index.js.map +1 -1
- package/inline-edit/InlineEditImage.d.ts +1 -1
- package/inline-edit/InlineEditImage.d.ts.map +1 -1
- package/inline-edit/InlineEditKeyValue.d.ts +1 -1
- package/inline-edit/InlineEditKeyValue.d.ts.map +1 -1
- package/inline-edit/InlineEditResourceList.d.ts +1 -1
- package/inline-edit/InlineEditResourceList.d.ts.map +1 -1
- package/inline-edit/InlineEditSelect.d.ts +1 -1
- package/inline-edit/InlineEditSelect.d.ts.map +1 -1
- package/inline-edit/InlineEditText.d.ts +1 -1
- package/inline-edit/InlineEditText.d.ts.map +1 -1
- package/inline-edit/InlineEditTextarea.d.ts +1 -1
- package/inline-edit/InlineEditTextarea.d.ts.map +1 -1
- package/inline-edit/index.d.ts +15 -15
- package/inline-edit/index.d.ts.map +1 -1
- package/inline-edit/index.js +7 -7
- package/inline-edit/index.js.map +1 -1
- package/inline-edit/useInlineFieldSave.js +1 -1
- package/inline-edit/useInlineFieldSave.js.map +1 -1
- package/internal/ApprovalPeekBar.d.ts +23 -0
- package/internal/ApprovalPeekBar.d.ts.map +1 -0
- package/internal/ApprovalPeekBar.js +25 -0
- package/internal/ApprovalPeekBar.js.map +1 -0
- package/internal/BoundedContent.d.ts +49 -0
- package/internal/BoundedContent.d.ts.map +1 -0
- package/internal/BoundedContent.js +50 -0
- package/internal/BoundedContent.js.map +1 -0
- package/internal/DecisionButton.d.ts +47 -0
- package/internal/DecisionButton.d.ts.map +1 -0
- package/internal/DecisionButton.js +42 -0
- package/internal/DecisionButton.js.map +1 -0
- package/internal/FetchCacheProvider.d.ts +1 -1
- package/internal/FetchCacheProvider.d.ts.map +1 -1
- package/internal/FetchCacheProvider.js +1 -1
- package/internal/FetchCacheProvider.js.map +1 -1
- package/internal/InCardDecisionError.d.ts +31 -0
- package/internal/InCardDecisionError.d.ts.map +1 -0
- package/internal/InCardDecisionError.js +23 -0
- package/internal/InCardDecisionError.js.map +1 -0
- package/internal/RevealToggle.d.ts +36 -0
- package/internal/RevealToggle.d.ts.map +1 -0
- package/internal/RevealToggle.js +32 -0
- package/internal/RevealToggle.js.map +1 -0
- package/internal/Tabs.d.ts +2 -2
- package/internal/Tabs.d.ts.map +1 -1
- package/internal/Tabs.js +1 -1
- package/internal/Tabs.js.map +1 -1
- package/internal/VirtualizedThread.d.ts +10 -4
- package/internal/VirtualizedThread.d.ts.map +1 -1
- package/internal/VirtualizedThread.js +13 -9
- package/internal/VirtualizedThread.js.map +1 -1
- package/internal/dev/index.d.ts +5 -5
- package/internal/dev/index.d.ts.map +1 -1
- package/internal/dev/index.js +5 -5
- package/internal/dev/index.js.map +1 -1
- package/internal/file-tree/FileTreeNode.d.ts +1 -1
- package/internal/file-tree/FileTreeNode.d.ts.map +1 -1
- package/internal/file-tree/filterFileTree.d.ts +1 -1
- package/internal/file-tree/filterFileTree.d.ts.map +1 -1
- package/internal/file-tree/index.d.ts +5 -5
- package/internal/file-tree/index.d.ts.map +1 -1
- package/internal/file-tree/index.js +3 -3
- package/internal/file-tree/index.js.map +1 -1
- package/internal/markdown-components.js +1 -1
- package/internal/markdown-components.js.map +1 -1
- package/internal/menu.js +1 -1
- package/internal/menu.js.map +1 -1
- package/internal/store/conversation-store.js +1 -1
- package/internal/store/conversation-store.js.map +1 -1
- package/internal/store/index.d.ts +6 -6
- package/internal/store/index.d.ts.map +1 -1
- package/internal/store/index.js +5 -5
- package/internal/store/index.js.map +1 -1
- package/internal/stream-controller.d.ts +1 -1
- package/internal/stream-controller.d.ts.map +1 -1
- package/internal/stream-controller.js +1 -1
- package/internal/stream-controller.js.map +1 -1
- package/internal/useAutoDisclosure.d.ts +34 -0
- package/internal/useAutoDisclosure.d.ts.map +1 -0
- package/internal/useAutoDisclosure.js +53 -0
- package/internal/useAutoDisclosure.js.map +1 -0
- package/internal/useElapsedSince.d.ts +30 -0
- package/internal/useElapsedSince.d.ts.map +1 -0
- package/internal/useElapsedSince.js +70 -0
- package/internal/useElapsedSince.js.map +1 -0
- package/internal/useFetch.js +2 -2
- package/internal/useFetch.js.map +1 -1
- package/internal/useIsOverflowing.d.ts +30 -0
- package/internal/useIsOverflowing.d.ts.map +1 -0
- package/internal/useIsOverflowing.js +47 -0
- package/internal/useIsOverflowing.js.map +1 -0
- package/internal/useIsTextTruncated.d.ts +24 -0
- package/internal/useIsTextTruncated.d.ts.map +1 -0
- package/internal/useIsTextTruncated.js +41 -0
- package/internal/useIsTextTruncated.js.map +1 -0
- package/internal/useKeyedSubmission.d.ts +49 -0
- package/internal/useKeyedSubmission.d.ts.map +1 -0
- package/internal/useKeyedSubmission.js +67 -0
- package/internal/useKeyedSubmission.js.map +1 -0
- package/invitation/InvitationManager.js +5 -5
- package/invitation/InvitationManager.js.map +1 -1
- package/invitation/InvitationRedemption.js +2 -2
- package/invitation/InvitationRedemption.js.map +1 -1
- package/invitation/index.d.ts +16 -16
- package/invitation/index.d.ts.map +1 -1
- package/invitation/index.js +8 -8
- package/invitation/index.js.map +1 -1
- package/invitation/useCreateInvitation.js +2 -2
- package/invitation/useCreateInvitation.js.map +1 -1
- package/invitation/useInvitationPreview.js +2 -2
- package/invitation/useInvitationPreview.js.map +1 -1
- package/invitation/useOrgInvitations.js +2 -2
- package/invitation/useOrgInvitations.js.map +1 -1
- package/invitation/useRedeemInvitation.js +2 -2
- package/invitation/useRedeemInvitation.js.map +1 -1
- package/invitation/useRevokeInvitation.js +2 -2
- package/invitation/useRevokeInvitation.js.map +1 -1
- package/library/ImportResourceDialog.d.ts +1 -1
- package/library/ImportResourceDialog.d.ts.map +1 -1
- package/library/ImportResourceDialog.js +2 -2
- package/library/ImportResourceDialog.js.map +1 -1
- package/library/InstanceVisibilitySelector.d.ts +1 -1
- package/library/InstanceVisibilitySelector.d.ts.map +1 -1
- package/library/InstanceVisibilitySelector.js +2 -2
- package/library/InstanceVisibilitySelector.js.map +1 -1
- package/library/ResourceVisibilityControl.d.ts +1 -1
- package/library/ResourceVisibilityControl.d.ts.map +1 -1
- package/library/ResourceVisibilityControl.js +6 -6
- package/library/ResourceVisibilityControl.js.map +1 -1
- package/library/ScopeToggle.d.ts +1 -1
- package/library/ScopeToggle.d.ts.map +1 -1
- package/library/VisibilityOptionRow.d.ts +1 -1
- package/library/VisibilityOptionRow.d.ts.map +1 -1
- package/library/VisibilitySelector.d.ts +1 -1
- package/library/VisibilitySelector.d.ts.map +1 -1
- package/library/VisibilitySelector.js +5 -5
- package/library/VisibilitySelector.js.map +1 -1
- package/library/index.d.ts +35 -35
- package/library/index.d.ts.map +1 -1
- package/library/index.js +20 -20
- package/library/index.js.map +1 -1
- package/library/useApplyResource.js +3 -3
- package/library/useApplyResource.js.map +1 -1
- package/library/useDetectSkillPackage.d.ts +1 -1
- package/library/useDetectSkillPackage.d.ts.map +1 -1
- package/library/useDetectSkillPackage.js +2 -2
- package/library/useDetectSkillPackage.js.map +1 -1
- package/library/useDetectStigmerResource.d.ts +1 -1
- package/library/useDetectStigmerResource.d.ts.map +1 -1
- package/library/useDetectStigmerResource.js +1 -1
- package/library/useDetectStigmerResource.js.map +1 -1
- package/library/useExportResource.js +3 -3
- package/library/useExportResource.js.map +1 -1
- package/library/useImportResource.d.ts +1 -1
- package/library/useImportResource.d.ts.map +1 -1
- package/library/useImportResource.js +3 -3
- package/library/useImportResource.js.map +1 -1
- package/library/useUpdateVisibility.js +2 -2
- package/library/useUpdateVisibility.js.map +1 -1
- package/mcp-server/McpServerConfigPanel.d.ts +2 -2
- package/mcp-server/McpServerConfigPanel.d.ts.map +1 -1
- package/mcp-server/McpServerConfigPanel.js +2 -2
- package/mcp-server/McpServerConfigPanel.js.map +1 -1
- package/mcp-server/McpServerConnectDialog.js +7 -7
- package/mcp-server/McpServerConnectDialog.js.map +1 -1
- package/mcp-server/McpServerCreationWizard.d.ts +1 -1
- package/mcp-server/McpServerCreationWizard.d.ts.map +1 -1
- package/mcp-server/McpServerCreationWizard.js +7 -7
- package/mcp-server/McpServerCreationWizard.js.map +1 -1
- package/mcp-server/McpServerDetailView.d.ts +1 -1
- package/mcp-server/McpServerDetailView.d.ts.map +1 -1
- package/mcp-server/McpServerDetailView.js +21 -21
- package/mcp-server/McpServerDetailView.js.map +1 -1
- package/mcp-server/McpServerPicker.d.ts +2 -2
- package/mcp-server/McpServerPicker.d.ts.map +1 -1
- package/mcp-server/McpServerPicker.js +6 -6
- package/mcp-server/McpServerPicker.js.map +1 -1
- package/mcp-server/McpToolSelector.js +2 -2
- package/mcp-server/McpToolSelector.js.map +1 -1
- package/mcp-server/OAuthCallbackHandler.js +1 -1
- package/mcp-server/OAuthCallbackHandler.js.map +1 -1
- package/mcp-server/index.d.ts +44 -44
- package/mcp-server/index.d.ts.map +1 -1
- package/mcp-server/index.js +22 -22
- package/mcp-server/index.js.map +1 -1
- package/mcp-server/mcpServerSetupReducer.d.ts +1 -1
- package/mcp-server/mcpServerSetupReducer.d.ts.map +1 -1
- package/mcp-server/steps/EnvironmentAuthStep.d.ts +1 -1
- package/mcp-server/steps/EnvironmentAuthStep.d.ts.map +1 -1
- package/mcp-server/steps/IdentityTransportStep.d.ts +1 -1
- package/mcp-server/steps/IdentityTransportStep.d.ts.map +1 -1
- package/mcp-server/steps/IdentityTransportStep.js +1 -1
- package/mcp-server/steps/IdentityTransportStep.js.map +1 -1
- package/mcp-server/steps/ReviewStep.d.ts +1 -1
- package/mcp-server/steps/ReviewStep.d.ts.map +1 -1
- package/mcp-server/steps/ReviewStep.js +1 -1
- package/mcp-server/steps/ReviewStep.js.map +1 -1
- package/mcp-server/steps/types.d.ts +2 -2
- package/mcp-server/steps/types.d.ts.map +1 -1
- package/mcp-server/useCreateMcpServer.js +2 -2
- package/mcp-server/useCreateMcpServer.js.map +1 -1
- package/mcp-server/useDisconnectOAuth.js +2 -2
- package/mcp-server/useDisconnectOAuth.js.map +1 -1
- package/mcp-server/useMcpServer.js +2 -2
- package/mcp-server/useMcpServer.js.map +1 -1
- package/mcp-server/useMcpServerConnect.js +3 -3
- package/mcp-server/useMcpServerConnect.js.map +1 -1
- package/mcp-server/useMcpServerCount.d.ts +1 -1
- package/mcp-server/useMcpServerCount.d.ts.map +1 -1
- package/mcp-server/useMcpServerCount.js +2 -2
- package/mcp-server/useMcpServerCount.js.map +1 -1
- package/mcp-server/useMcpServerCredentials.d.ts +1 -1
- package/mcp-server/useMcpServerCredentials.d.ts.map +1 -1
- package/mcp-server/useMcpServerCredentials.js +4 -4
- package/mcp-server/useMcpServerCredentials.js.map +1 -1
- package/mcp-server/useMcpServerList.d.ts +1 -1
- package/mcp-server/useMcpServerList.d.ts.map +1 -1
- package/mcp-server/useMcpServerList.js +2 -2
- package/mcp-server/useMcpServerList.js.map +1 -1
- package/mcp-server/useMcpServerOAuthConnect.js +3 -3
- package/mcp-server/useMcpServerOAuthConnect.js.map +1 -1
- package/mcp-server/useMcpServerSearch.d.ts +1 -1
- package/mcp-server/useMcpServerSearch.d.ts.map +1 -1
- package/mcp-server/useMcpServerSearch.js +2 -2
- package/mcp-server/useMcpServerSearch.js.map +1 -1
- package/mcp-server/useMcpServerSetup.d.ts +2 -2
- package/mcp-server/useMcpServerSetup.d.ts.map +1 -1
- package/mcp-server/useMcpServerSetup.js +6 -6
- package/mcp-server/useMcpServerSetup.js.map +1 -1
- package/mcp-server/useOAuthGrantStatus.js +2 -2
- package/mcp-server/useOAuthGrantStatus.js.map +1 -1
- package/mcp-server/useOrgOAuthApp.js +3 -3
- package/mcp-server/useOrgOAuthApp.js.map +1 -1
- package/mcp-server/useUpdateMcpServer.js +2 -2
- package/mcp-server/useUpdateMcpServer.js.map +1 -1
- package/models/HarnessSelector.d.ts +1 -1
- package/models/HarnessSelector.d.ts.map +1 -1
- package/models/HarnessSelector.js +1 -1
- package/models/HarnessSelector.js.map +1 -1
- package/models/ModelRegistryContext.d.ts +1 -1
- package/models/ModelRegistryContext.d.ts.map +1 -1
- package/models/ModelSelector.d.ts +1 -1
- package/models/ModelSelector.d.ts.map +1 -1
- package/models/ModelSelector.js +3 -3
- package/models/ModelSelector.js.map +1 -1
- package/models/index.d.ts +13 -13
- package/models/index.d.ts.map +1 -1
- package/models/index.js +6 -6
- package/models/index.js.map +1 -1
- package/models/registry.d.ts +1 -1
- package/models/registry.d.ts.map +1 -1
- package/models/useModelRegistry.d.ts +2 -2
- package/models/useModelRegistry.d.ts.map +1 -1
- package/models/useModelRegistry.js +2 -2
- package/models/useModelRegistry.js.map +1 -1
- package/oauth-app/CreateOAuthAppForm.js +1 -1
- package/oauth-app/CreateOAuthAppForm.js.map +1 -1
- package/oauth-app/OAuthAppDetailPanel.js +2 -2
- package/oauth-app/OAuthAppDetailPanel.js.map +1 -1
- package/oauth-app/OAuthAppListPanel.js +1 -1
- package/oauth-app/OAuthAppListPanel.js.map +1 -1
- package/oauth-app/index.d.ts +14 -14
- package/oauth-app/index.d.ts.map +1 -1
- package/oauth-app/index.js +7 -7
- package/oauth-app/index.js.map +1 -1
- package/oauth-app/useCreateOAuthApp.js +2 -2
- package/oauth-app/useCreateOAuthApp.js.map +1 -1
- package/oauth-app/useDeleteOAuthApp.js +2 -2
- package/oauth-app/useDeleteOAuthApp.js.map +1 -1
- package/oauth-app/useOAuthAppList.js +2 -2
- package/oauth-app/useOAuthAppList.js.map +1 -1
- package/oauth-app/useUpdateOAuthApp.js +2 -2
- package/oauth-app/useUpdateOAuthApp.js.map +1 -1
- package/organization/CreateOrganizationForm.js +3 -3
- package/organization/CreateOrganizationForm.js.map +1 -1
- package/organization/OrgProfilePanel.js +4 -4
- package/organization/OrgProfilePanel.js.map +1 -1
- package/organization/OrgProvider.js +1 -1
- package/organization/OrgProvider.js.map +1 -1
- package/organization/OrgSwitcher.js +4 -4
- package/organization/OrgSwitcher.js.map +1 -1
- package/organization/index.d.ts +16 -16
- package/organization/index.d.ts.map +1 -1
- package/organization/index.js +8 -8
- package/organization/index.js.map +1 -1
- package/organization/useCreateOrganization.js +2 -2
- package/organization/useCreateOrganization.js.map +1 -1
- package/organization/useOrgGate.js +1 -1
- package/organization/useOrgGate.js.map +1 -1
- package/organization/useOrganization.js +2 -2
- package/organization/useOrganization.js.map +1 -1
- package/organization/useUpdateOrganization.js +2 -2
- package/organization/useUpdateOrganization.js.map +1 -1
- package/package.json +4 -4
- package/platform-client/CreatePlatformClientForm.js +1 -1
- package/platform-client/CreatePlatformClientForm.js.map +1 -1
- package/platform-client/PlatformClientDetailPanel.js +3 -3
- package/platform-client/PlatformClientDetailPanel.js.map +1 -1
- package/platform-client/PlatformClientListPanel.js +2 -2
- package/platform-client/PlatformClientListPanel.js.map +1 -1
- package/platform-client/index.d.ts +10 -10
- package/platform-client/index.d.ts.map +1 -1
- package/platform-client/index.js +10 -10
- package/platform-client/index.js.map +1 -1
- package/platform-client/useCreatePlatformClient.js +2 -2
- package/platform-client/useCreatePlatformClient.js.map +1 -1
- package/platform-client/useDeletePlatformClient.js +2 -2
- package/platform-client/useDeletePlatformClient.js.map +1 -1
- package/platform-client/usePlatformClient.js +2 -2
- package/platform-client/usePlatformClient.js.map +1 -1
- package/platform-client/usePlatformClientList.js +2 -2
- package/platform-client/usePlatformClientList.js.map +1 -1
- package/platform-client/useRotatePlatformClientSecret.js +2 -2
- package/platform-client/useRotatePlatformClientSecret.js.map +1 -1
- package/platform-client/useUpdatePlatformClient.js +2 -2
- package/platform-client/useUpdatePlatformClient.js.map +1 -1
- package/provider.d.ts +3 -3
- package/provider.d.ts.map +1 -1
- package/provider.js +9 -9
- package/provider.js.map +1 -1
- package/resource-creation/CreationPicker.d.ts +1 -1
- package/resource-creation/CreationPicker.d.ts.map +1 -1
- package/resource-creation/CreationPicker.js +1 -1
- package/resource-creation/CreationPicker.js.map +1 -1
- package/resource-creation/TemplateCard.d.ts +1 -1
- package/resource-creation/TemplateCard.d.ts.map +1 -1
- package/resource-creation/TemplateCard.js +1 -1
- package/resource-creation/TemplateCard.js.map +1 -1
- package/resource-creation/TemplateGallery.d.ts +1 -1
- package/resource-creation/TemplateGallery.d.ts.map +1 -1
- package/resource-creation/TemplateGallery.js +3 -3
- package/resource-creation/TemplateGallery.js.map +1 -1
- package/resource-creation/WizardShell.d.ts +1 -1
- package/resource-creation/WizardShell.d.ts.map +1 -1
- package/resource-creation/WizardShell.js +2 -2
- package/resource-creation/WizardShell.js.map +1 -1
- package/resource-creation/index.d.ts +22 -22
- package/resource-creation/index.d.ts.map +1 -1
- package/resource-creation/index.js +12 -12
- package/resource-creation/index.js.map +1 -1
- package/resource-creation/templates/agent-templates.d.ts +2 -2
- package/resource-creation/templates/agent-templates.d.ts.map +1 -1
- package/resource-creation/templates/index.d.ts +6 -6
- package/resource-creation/templates/index.d.ts.map +1 -1
- package/resource-creation/templates/index.js +4 -4
- package/resource-creation/templates/index.js.map +1 -1
- package/resource-creation/templates/mcp-server-templates.d.ts +2 -2
- package/resource-creation/templates/mcp-server-templates.d.ts.map +1 -1
- package/resource-creation/templates/workflow-templates.d.ts +1 -1
- package/resource-creation/templates/workflow-templates.d.ts.map +1 -1
- package/resource-creation/useTemplateFilter.d.ts +1 -1
- package/resource-creation/useTemplateFilter.d.ts.map +1 -1
- package/resource-creation/useWizardState.d.ts +1 -1
- package/resource-creation/useWizardState.d.ts.map +1 -1
- package/resource-detail/ConfirmDialog.d.ts +1 -1
- package/resource-detail/ConfirmDialog.d.ts.map +1 -1
- package/resource-detail/ResourceActionBar.d.ts +1 -1
- package/resource-detail/ResourceActionBar.d.ts.map +1 -1
- package/resource-detail/ResourceActionBar.js +1 -1
- package/resource-detail/ResourceActionBar.js.map +1 -1
- package/resource-detail/ResourceDetailShell.d.ts +1 -1
- package/resource-detail/ResourceDetailShell.d.ts.map +1 -1
- package/resource-detail/ResourceDetailShell.js +3 -3
- package/resource-detail/ResourceDetailShell.js.map +1 -1
- package/resource-detail/index.d.ts +14 -14
- package/resource-detail/index.d.ts.map +1 -1
- package/resource-detail/index.js +7 -7
- package/resource-detail/index.js.map +1 -1
- package/resource-detail/types.d.ts +2 -2
- package/resource-detail/types.d.ts.map +1 -1
- package/resource-detail/useConfirmAction.d.ts +1 -1
- package/resource-detail/useConfirmAction.d.ts.map +1 -1
- package/resource-detail/useCopyResource.js +1 -1
- package/resource-detail/useCopyResource.js.map +1 -1
- package/resource-detail/useDeleteResource.js +3 -3
- package/resource-detail/useDeleteResource.js.map +1 -1
- package/resource-detail/useDetailTabs.d.ts +2 -2
- package/resource-detail/useDetailTabs.d.ts.map +1 -1
- package/resource-workbench/components/BulkActionBar.d.ts +1 -1
- package/resource-workbench/components/BulkActionBar.d.ts.map +1 -1
- package/resource-workbench/components/ColumnHeader.d.ts +1 -1
- package/resource-workbench/components/ColumnHeader.d.ts.map +1 -1
- package/resource-workbench/components/FilterBar.d.ts +1 -1
- package/resource-workbench/components/FilterBar.d.ts.map +1 -1
- package/resource-workbench/components/ResourceCards.js +1 -1
- package/resource-workbench/components/ResourceCards.js.map +1 -1
- package/resource-workbench/components/ResourceList.js +1 -1
- package/resource-workbench/components/ResourceList.js.map +1 -1
- package/resource-workbench/components/ResourceTable.js +2 -2
- package/resource-workbench/components/ResourceTable.js.map +1 -1
- package/resource-workbench/components/ResourceWorkbench.d.ts +1 -1
- package/resource-workbench/components/ResourceWorkbench.d.ts.map +1 -1
- package/resource-workbench/components/ResourceWorkbench.js +14 -14
- package/resource-workbench/components/ResourceWorkbench.js.map +1 -1
- package/resource-workbench/components/StatusBadge.d.ts +1 -1
- package/resource-workbench/components/StatusBadge.d.ts.map +1 -1
- package/resource-workbench/components/ViewSwitcher.d.ts +1 -1
- package/resource-workbench/components/ViewSwitcher.d.ts.map +1 -1
- package/resource-workbench/hooks/useResourceCollection.d.ts +1 -1
- package/resource-workbench/hooks/useResourceCollection.d.ts.map +1 -1
- package/resource-workbench/hooks/useResourceCollection.js +1 -1
- package/resource-workbench/hooks/useResourceCollection.js.map +1 -1
- package/resource-workbench/hooks/useResourceFilters.d.ts +1 -1
- package/resource-workbench/hooks/useResourceFilters.d.ts.map +1 -1
- package/resource-workbench/hooks/useViewPreference.d.ts +1 -1
- package/resource-workbench/hooks/useViewPreference.d.ts.map +1 -1
- package/resource-workbench/index.d.ts +33 -33
- package/resource-workbench/index.d.ts.map +1 -1
- package/resource-workbench/index.js +16 -16
- package/resource-workbench/index.js.map +1 -1
- package/search/index.d.ts +6 -6
- package/search/index.d.ts.map +1 -1
- package/search/index.js +3 -3
- package/search/index.js.map +1 -1
- package/search/useResourceCount.d.ts +1 -1
- package/search/useResourceCount.d.ts.map +1 -1
- package/search/useResourceCount.js +1 -1
- package/search/useResourceCount.js.map +1 -1
- package/search/useResourceList.js +1 -1
- package/search/useResourceList.js.map +1 -1
- package/search/useResourceSearch.js +1 -1
- package/search/useResourceSearch.js.map +1 -1
- package/session/NewSessionViewer.d.ts +5 -5
- package/session/NewSessionViewer.d.ts.map +1 -1
- package/session/NewSessionViewer.js +4 -4
- package/session/NewSessionViewer.js.map +1 -1
- package/session/SessionViewer.d.ts +7 -7
- package/session/SessionViewer.d.ts.map +1 -1
- package/session/SessionViewer.js +20 -14
- package/session/SessionViewer.js.map +1 -1
- package/session/index.d.ts +47 -45
- package/session/index.d.ts.map +1 -1
- package/session/index.js +22 -21
- package/session/index.js.map +1 -1
- package/session/inspector/ArtifactsTab.d.ts +1 -1
- package/session/inspector/ArtifactsTab.d.ts.map +1 -1
- package/session/inspector/ArtifactsTab.js +4 -4
- package/session/inspector/ArtifactsTab.js.map +1 -1
- package/session/inspector/ChangesTab.d.ts +8 -5
- package/session/inspector/ChangesTab.d.ts.map +1 -1
- package/session/inspector/ChangesTab.js +13 -10
- package/session/inspector/ChangesTab.js.map +1 -1
- package/session/inspector/InspectTab.d.ts +1 -1
- package/session/inspector/InspectTab.d.ts.map +1 -1
- package/session/inspector/SessionInspector.d.ts +8 -8
- package/session/inspector/SessionInspector.d.ts.map +1 -1
- package/session/inspector/SessionInspector.js +16 -16
- package/session/inspector/SessionInspector.js.map +1 -1
- package/session/inspector/SetupTab.d.ts +3 -3
- package/session/inspector/SetupTab.d.ts.map +1 -1
- package/session/inspector/SetupTab.js +1 -1
- package/session/inspector/SetupTab.js.map +1 -1
- package/session/inspector/UsageTab.js +2 -2
- package/session/inspector/UsageTab.js.map +1 -1
- package/session/inspector/WorkspaceTab.d.ts +3 -3
- package/session/inspector/WorkspaceTab.d.ts.map +1 -1
- package/session/inspector/WorkspaceTab.js +1 -1
- package/session/inspector/WorkspaceTab.js.map +1 -1
- package/session/inspector/index.d.ts +16 -18
- package/session/inspector/index.d.ts.map +1 -1
- package/session/inspector/index.js +8 -9
- package/session/inspector/index.js.map +1 -1
- package/session/inspector/useSessionInspector.d.ts +10 -6
- package/session/inspector/useSessionInspector.d.ts.map +1 -1
- package/session/inspector/useSessionInspector.js +28 -21
- package/session/inspector/useSessionInspector.js.map +1 -1
- package/session/useAgentRefFromSession.js +2 -2
- package/session/useAgentRefFromSession.js.map +1 -1
- package/session/useCreateSession.d.ts +2 -2
- package/session/useCreateSession.d.ts.map +1 -1
- package/session/useCreateSession.js +5 -5
- package/session/useCreateSession.js.map +1 -1
- package/session/useEditSessionPrep.d.ts +1 -1
- package/session/useEditSessionPrep.d.ts.map +1 -1
- package/session/useEditSessionPrep.js +5 -5
- package/session/useEditSessionPrep.js.map +1 -1
- package/session/useLocalSessionWorker.js +3 -3
- package/session/useLocalSessionWorker.js.map +1 -1
- package/session/useNewSessionFlow.d.ts +7 -7
- package/session/useNewSessionFlow.d.ts.map +1 -1
- package/session/useNewSessionFlow.js +12 -12
- package/session/useNewSessionFlow.js.map +1 -1
- package/session/usePersistedModel.d.ts +1 -1
- package/session/usePersistedModel.d.ts.map +1 -1
- package/session/usePersistedModel.js +2 -2
- package/session/usePersistedModel.js.map +1 -1
- package/session/useSession.js +2 -2
- package/session/useSession.js.map +1 -1
- package/session/useSessionArtifacts.js +1 -1
- package/session/useSessionArtifacts.js.map +1 -1
- package/session/useSessionConversation.d.ts +37 -3
- package/session/useSessionConversation.d.ts.map +1 -1
- package/session/useSessionConversation.js +31 -15
- package/session/useSessionConversation.js.map +1 -1
- package/session/useSessionExecutions.js +2 -2
- package/session/useSessionExecutions.js.map +1 -1
- package/session/useSessionFileChanges.d.ts +74 -0
- package/session/useSessionFileChanges.d.ts.map +1 -0
- package/session/useSessionFileChanges.js +178 -0
- package/session/useSessionFileChanges.js.map +1 -0
- package/session/useSessionList.js +2 -2
- package/session/useSessionList.js.map +1 -1
- package/session/useSessionPageFlow.d.ts +9 -9
- package/session/useSessionPageFlow.d.ts.map +1 -1
- package/session/useSessionPageFlow.js +12 -12
- package/session/useSessionPageFlow.js.map +1 -1
- package/session/useSessionSearch.js +3 -3
- package/session/useSessionSearch.js.map +1 -1
- package/session/useSessionUsage.js +3 -3
- package/session/useSessionUsage.js.map +1 -1
- package/session/useUpdateSession.js +1 -1
- package/session/useUpdateSession.js.map +1 -1
- package/settings/ApiKeysSection.js +6 -6
- package/settings/ApiKeysSection.js.map +1 -1
- package/settings/BillingSection.d.ts +2 -2
- package/settings/BillingSection.d.ts.map +1 -1
- package/settings/BillingSection.js +1 -1
- package/settings/BillingSection.js.map +1 -1
- package/settings/EnvironmentsSection.js +5 -5
- package/settings/EnvironmentsSection.js.map +1 -1
- package/settings/IdentityProvidersSection.js +6 -6
- package/settings/IdentityProvidersSection.js.map +1 -1
- package/settings/InvitationsSection.js +4 -4
- package/settings/InvitationsSection.js.map +1 -1
- package/settings/MembersSection.js +5 -5
- package/settings/MembersSection.js.map +1 -1
- package/settings/OAuthAppsSection.js +6 -6
- package/settings/OAuthAppsSection.js.map +1 -1
- package/settings/OrgProfileSection.js +2 -2
- package/settings/OrgProfileSection.js.map +1 -1
- package/settings/PlatformClientsSection.js +7 -7
- package/settings/PlatformClientsSection.js.map +1 -1
- package/settings/UsageSection.js +2 -2
- package/settings/UsageSection.js.map +1 -1
- package/settings/index.d.ts +14 -14
- package/settings/index.d.ts.map +1 -1
- package/settings/index.js +11 -11
- package/settings/index.js.map +1 -1
- package/skill/SkillDetailView.d.ts +1 -1
- package/skill/SkillDetailView.d.ts.map +1 -1
- package/skill/SkillDetailView.js +14 -14
- package/skill/SkillDetailView.js.map +1 -1
- package/skill/SkillDiffDialog.js +3 -3
- package/skill/SkillDiffDialog.js.map +1 -1
- package/skill/SkillFileBrowser.js +3 -3
- package/skill/SkillFileBrowser.js.map +1 -1
- package/skill/SkillPicker.js +4 -4
- package/skill/SkillPicker.js.map +1 -1
- package/skill/SkillUploader.js +4 -4
- package/skill/SkillUploader.js.map +1 -1
- package/skill/index.d.ts +30 -30
- package/skill/index.d.ts.map +1 -1
- package/skill/index.js +15 -15
- package/skill/index.js.map +1 -1
- package/skill/internal/fetchAndUnpackArtifact.d.ts +1 -1
- package/skill/internal/fetchAndUnpackArtifact.d.ts.map +1 -1
- package/skill/usePushSkill.js +2 -2
- package/skill/usePushSkill.js.map +1 -1
- package/skill/useSkill.js +2 -2
- package/skill/useSkill.js.map +1 -1
- package/skill/useSkillArtifact.d.ts +1 -1
- package/skill/useSkillArtifact.d.ts.map +1 -1
- package/skill/useSkillArtifact.js +3 -3
- package/skill/useSkillArtifact.js.map +1 -1
- package/skill/useSkillCount.d.ts +1 -1
- package/skill/useSkillCount.d.ts.map +1 -1
- package/skill/useSkillCount.js +2 -2
- package/skill/useSkillCount.js.map +1 -1
- package/skill/useSkillDiff.d.ts +1 -1
- package/skill/useSkillDiff.d.ts.map +1 -1
- package/skill/useSkillDiff.js +4 -4
- package/skill/useSkillDiff.js.map +1 -1
- package/skill/useSkillDuplicateCheck.js +2 -2
- package/skill/useSkillDuplicateCheck.js.map +1 -1
- package/skill/useSkillList.d.ts +1 -1
- package/skill/useSkillList.d.ts.map +1 -1
- package/skill/useSkillList.js +2 -2
- package/skill/useSkillList.js.map +1 -1
- package/skill/useSkillSearch.d.ts +1 -1
- package/skill/useSkillSearch.d.ts.map +1 -1
- package/skill/useSkillSearch.js +2 -2
- package/skill/useSkillSearch.js.map +1 -1
- package/skill/useSkillVersions.d.ts +1 -1
- package/skill/useSkillVersions.d.ts.map +1 -1
- package/skill/useSkillVersions.js +2 -2
- package/skill/useSkillVersions.js.map +1 -1
- package/src/__tests__/styles-border-layer-invariant.test.ts +105 -0
- package/src/access/ManageAccessButton.tsx +3 -3
- package/src/access/ManageAccessDialog.tsx +3 -3
- package/src/access/index.ts +4 -4
- package/src/access/types.ts +1 -1
- package/src/access/useManageAccess.tsx +4 -4
- package/src/action-menu/ActionMenu.tsx +2 -2
- package/src/action-menu/index.ts +2 -2
- package/src/activity/group-activity.ts +1 -1
- package/src/activity/index.ts +3 -3
- package/src/activity/useRecentActivity.ts +4 -4
- package/src/agent/AgentCreationWizard.tsx +9 -9
- package/src/agent/AgentDetailView.tsx +20 -20
- package/src/agent/AgentEnvForm.tsx +1 -1
- package/src/agent/AgentPicker.tsx +5 -5
- package/src/agent/agentSetupReducer.ts +1 -1
- package/src/agent/index.ts +27 -27
- package/src/agent/steps/CapabilitiesStep.tsx +3 -3
- package/src/agent/steps/IdentityStep.tsx +2 -2
- package/src/agent/steps/ReviewStep.tsx +2 -2
- package/src/agent/steps/types.ts +2 -2
- package/src/agent/useAgent.ts +2 -2
- package/src/agent/useAgentCount.ts +2 -2
- package/src/agent/useAgentList.ts +2 -2
- package/src/agent/useAgentSearch.ts +2 -2
- package/src/agent/useAgentSetup.ts +7 -7
- package/src/agent/useCreateAgent.ts +2 -2
- package/src/agent/useDefaultAgent.ts +2 -2
- package/src/agent/useUpdateAgent.ts +2 -2
- package/src/agent-instance/AgentInstanceDetailPanel.tsx +7 -7
- package/src/agent-instance/AgentInstanceList.tsx +5 -5
- package/src/agent-instance/CreateAgentInstanceDialog.tsx +3 -3
- package/src/agent-instance/buildPersonalInstanceInput.ts +1 -1
- package/src/agent-instance/index.ts +22 -22
- package/src/agent-instance/useAgentInstance.ts +2 -2
- package/src/agent-instance/useAgentInstanceList.ts +2 -2
- package/src/agent-instance/useAgentInstances.ts +2 -2
- package/src/agent-instance/useCreateAgentInstance.ts +2 -2
- package/src/agent-instance/useDeleteAgentInstance.ts +2 -2
- package/src/agent-instance/usePersonalAgentInstance.ts +4 -4
- package/src/agent-instance/useUpdateAgentInstance.ts +2 -2
- package/src/api-key/ApiKeyListPanel.tsx +2 -2
- package/src/api-key/CreateApiKeyForm.tsx +1 -1
- package/src/api-key/index.ts +12 -12
- package/src/api-key/useApiKeyList.ts +2 -2
- package/src/api-key/useCreateApiKey.ts +2 -2
- package/src/api-key/useDeleteApiKey.ts +2 -2
- package/src/attachment/AttachmentChipList.tsx +2 -2
- package/src/attachment/index.ts +5 -5
- package/src/attachment/useAttachments.ts +3 -3
- package/src/billing/AutoRechargeCard.tsx +1 -1
- package/src/billing/BillingSection.tsx +12 -12
- package/src/billing/CreditBalanceCard.tsx +1 -1
- package/src/billing/CreditLedgerTable.tsx +2 -2
- package/src/billing/CreditPackGrid.tsx +1 -1
- package/src/billing/LowBalanceBanner.tsx +1 -1
- package/src/billing/index.ts +31 -31
- package/src/billing/useBillingAccount.ts +2 -2
- package/src/billing/useBillingUsageReport.ts +2 -2
- package/src/billing/useCreateBillingPortalSession.ts +2 -2
- package/src/billing/useCreateCheckoutSession.ts +2 -2
- package/src/billing/useCreditLedger.ts +2 -2
- package/src/billing/useCustomerModelPricing.ts +2 -2
- package/src/billing/useSetAutoRechargeConfig.ts +2 -2
- package/src/composer/ComposerToolbar.tsx +7 -7
- package/src/composer/ConfigureMenu.tsx +2 -2
- package/src/composer/ContextChip.tsx +1 -1
- package/src/composer/ContextPopover.tsx +1 -1
- package/src/composer/InteractionModePicker.tsx +1 -1
- package/src/composer/SessionComposer.tsx +29 -29
- package/src/composer/index.ts +7 -7
- package/src/composer/interaction-mode.ts +1 -1
- package/src/dashboard/DashboardFailedRuns.tsx +1 -1
- package/src/dashboard/DashboardKPICards.tsx +1 -1
- package/src/dashboard/OperationalDashboard.tsx +7 -7
- package/src/dashboard/index.ts +7 -7
- package/src/dashboard/useAgentExecutionSummary.ts +2 -2
- package/src/dashboard/useDashboardFailedRuns.ts +3 -3
- package/src/dashboard/useDashboardSummary.ts +5 -5
- package/src/dependency-graph/DependencyGraph.tsx +2 -2
- package/src/dependency-graph/DependencyTreeNode.tsx +1 -1
- package/src/dependency-graph/index.ts +3 -3
- package/src/dependency-graph/useDependencyGraph.ts +1 -1
- package/src/empty-state/EmptyState.tsx +2 -2
- package/src/empty-state/index.ts +3 -3
- package/src/empty-state/useEmptyState.ts +1 -1
- package/src/environment/CreateEnvironmentForm.tsx +1 -1
- package/src/environment/EnvVarForm.tsx +2 -2
- package/src/environment/EnvironmentListPanel.tsx +2 -2
- package/src/environment/EnvironmentPicker.tsx +1 -1
- package/src/environment/EnvironmentVariableEditor.tsx +5 -5
- package/src/environment/diffEnv.ts +1 -1
- package/src/environment/index.ts +30 -30
- package/src/environment/useCreateEnvironment.ts +2 -2
- package/src/environment/useEnvironment.ts +2 -2
- package/src/environment/useEnvironmentList.ts +2 -2
- package/src/environment/usePersonalEnvironment.ts +4 -4
- package/src/environment/useRemoveEnvironmentVariables.ts +2 -2
- package/src/environment/useRevealSecretValue.ts +2 -2
- package/src/environment/useSessionEnvPool.ts +1 -1
- package/src/environment/useUpdateEnvironment.ts +2 -2
- package/src/environment/useUpdateEnvironmentVariables.ts +2 -2
- package/src/error/index.ts +4 -4
- package/src/execution/ApprovalCard.tsx +371 -233
- package/src/execution/ApprovalContext.ts +109 -0
- package/src/execution/ArtifactCard.tsx +14 -10
- package/src/execution/ArtifactContentRenderer.tsx +2 -2
- package/src/execution/ArtifactPreviewModal.tsx +19 -13
- package/src/execution/ArtifactsWidget.tsx +4 -4
- package/src/execution/ContextGauge.tsx +2 -2
- package/src/execution/EmptyChangeNotice.tsx +62 -0
- package/src/execution/ExecutionProgress.tsx +2 -2
- package/src/execution/FileChangesView.tsx +383 -0
- package/src/execution/FilePathContext.tsx +1 -1
- package/src/execution/FilePathLink.tsx +66 -13
- package/src/execution/FileReviewCard.tsx +1118 -0
- package/src/execution/FileReviewContext.ts +53 -0
- package/src/execution/FileReviewDock.tsx +157 -0
- package/src/execution/FollowUpInput.tsx +1 -1
- package/src/execution/McpToolDetail.tsx +101 -35
- package/src/execution/MessageEntry.tsx +2 -2
- package/src/execution/MessageThread.tsx +394 -29
- package/src/execution/PlanArtifactCard.tsx +12 -9
- package/src/execution/PlanCompletionCard.tsx +2 -2
- package/src/execution/ResultView.tsx +337 -166
- package/src/execution/SandboxContext.ts +1 -1
- package/src/execution/SessionVariablesInput.tsx +3 -3
- package/src/execution/SubAgentSection.tsx +65 -18
- package/src/execution/SummarizationBadge.tsx +2 -2
- package/src/execution/SummarizationCard.tsx +2 -2
- package/src/execution/TerminalSession.tsx +91 -0
- package/src/execution/ThreadSelectionContext.tsx +1 -1
- package/src/execution/TodoCard.tsx +186 -0
- package/src/execution/ToolArgsView.tsx +33 -22
- package/src/execution/ToolCallDetail.tsx +143 -32
- package/src/execution/ToolCallGroup.tsx +70 -298
- package/src/execution/ToolCallItem.tsx +270 -72
- package/src/execution/ToolRunGroup.tsx +302 -0
- package/src/execution/UsageWidget.tsx +1 -1
- package/src/execution/WriteBacksWidget.tsx +2 -2
- package/src/execution/__tests__/ApprovalCard.test.tsx +395 -5
- package/src/execution/__tests__/ArtifactPreviewModal.test.tsx +0 -1
- package/src/execution/__tests__/EmptyChangeNotice.test.tsx +24 -0
- package/src/execution/__tests__/FileChangesView.test.tsx +296 -0
- package/src/execution/__tests__/FilePathLink.test.tsx +92 -0
- package/src/execution/__tests__/FileReviewCard.test.tsx +1044 -0
- package/src/execution/__tests__/FileReviewDock.test.tsx +134 -0
- package/src/execution/__tests__/McpToolDetail.test.tsx +79 -0
- package/src/execution/__tests__/MessageThread.test.tsx +324 -0
- package/src/execution/__tests__/PlanArtifactCard.test.tsx +37 -16
- package/src/execution/__tests__/ResultView.test.tsx +280 -2
- package/src/execution/__tests__/SubAgentSection.test.tsx +180 -0
- package/src/execution/__tests__/TerminalSession.test.tsx +72 -0
- package/src/execution/__tests__/TodoCard.test.tsx +102 -0
- package/src/execution/__tests__/ToolArgsView.test.tsx +48 -0
- package/src/execution/__tests__/ToolCallDetail.test.tsx +195 -0
- package/src/execution/__tests__/ToolCallGroup.test.tsx +132 -0
- package/src/execution/__tests__/ToolCallItem.test.tsx +521 -0
- package/src/execution/__tests__/ToolRunGroup.test.tsx +137 -0
- package/src/execution/__tests__/blanked-narration.test.tsx +149 -0
- package/src/execution/__tests__/buildThreadItems-approvals.test.ts +304 -0
- package/src/execution/__tests__/buildThreadItems-file-review.test.ts +331 -0
- package/src/execution/__tests__/file-path-resolver.test.ts +44 -0
- package/src/execution/__tests__/file-review-status.test.ts +343 -0
- package/src/execution/__tests__/segment-tool-calls.test.ts +124 -0
- package/src/execution/__tests__/subagent-file-review-badge.test.tsx +273 -0
- package/src/execution/__tests__/thread-keys.test.ts +195 -0
- package/src/execution/__tests__/tool-presenter.test.tsx +95 -0
- package/src/execution/__tests__/useArtifactDownload.test.tsx +67 -0
- package/src/execution/__tests__/useArtifactDownloadUrl.test.tsx +51 -0
- package/src/execution/__tests__/useFileChangeContent.test.tsx +240 -0
- package/src/execution/__tests__/useFileReview.test.tsx +236 -0
- package/src/execution/__tests__/useSubmitApproval.test.tsx +165 -0
- package/src/execution/__tests__/useToolOutputContent.test.tsx +82 -0
- package/src/execution/approval-provenance.ts +8 -0
- package/src/execution/artifact-utils.ts +0 -18
- package/src/execution/execution-phases.ts +4 -16
- package/src/execution/file-path-resolver.ts +38 -0
- package/src/execution/file-review-status.ts +219 -0
- package/src/execution/index.ts +177 -97
- package/src/execution/segment-tool-calls.ts +101 -0
- package/src/execution/tool-categories.ts +128 -1
- package/src/execution/tool-presenter.ts +59 -4
- package/src/execution/tool-rendering-primitives.tsx +11 -14
- package/src/execution/useAgentExecutionActions.ts +2 -2
- package/src/execution/useArtifactContent.ts +2 -2
- package/src/execution/useArtifactDownload.ts +109 -0
- package/src/execution/useArtifactDownloadUrl.ts +116 -0
- package/src/execution/useCreateAgentExecution.ts +3 -3
- package/src/execution/useExecutionStream.ts +7 -7
- package/src/execution/useFileChangeContent.ts +149 -0
- package/src/execution/useFileReview.ts +197 -0
- package/src/execution/useSubmitApproval.ts +51 -29
- package/src/execution/useThreadSelection.ts +2 -2
- package/src/execution/useToolOutputContent.ts +70 -0
- package/src/execution-target-context.ts +1 -1
- package/src/feedback/StigmerToaster.tsx +2 -2
- package/src/feedback/index.ts +3 -3
- package/src/file-reference/index.ts +2 -2
- package/src/github/GitHubRepoPicker.tsx +2 -2
- package/src/github/index.ts +6 -6
- package/src/github/useGitHubConnection.ts +2 -2
- package/src/github/useGitHubSearch.ts +1 -1
- package/src/github/useGitHubTreeLister.ts +3 -3
- package/src/hooks.ts +1 -1
- package/src/iam-policy/GrantAccessForm.tsx +3 -3
- package/src/iam-policy/OrgMembersPanel.tsx +8 -8
- package/src/iam-policy/PeopleWithAccess.tsx +3 -3
- package/src/iam-policy/PermissionGate.ts +1 -1
- package/src/iam-policy/PrincipalPicker.tsx +2 -2
- package/src/iam-policy/RoleSelector.tsx +1 -1
- package/src/iam-policy/SharePanel.tsx +2 -2
- package/src/iam-policy/index.ts +18 -18
- package/src/iam-policy/useCheckPermission.ts +1 -1
- package/src/iam-policy/useCreateIamPolicy.ts +2 -2
- package/src/iam-policy/useDeleteIamPolicy.ts +2 -2
- package/src/iam-policy/usePrincipalsCount.ts +2 -2
- package/src/iam-policy/useResourceAccess.ts +2 -2
- package/src/iam-policy/useRevokeOrgAccess.ts +2 -2
- package/src/iam-policy/useShareFlow.ts +4 -4
- package/src/iam-policy/useWhoAmI.ts +2 -2
- package/src/identity-account/index.ts +1 -1
- package/src/identity-account/useIdentityAccountGate.ts +2 -2
- package/src/identity-provider/CreateIdentityProviderForm.tsx +1 -1
- package/src/identity-provider/IdentityProviderDetailPanel.tsx +1 -1
- package/src/identity-provider/IdentityProviderListPanel.tsx +2 -2
- package/src/identity-provider/IdentityProviderWizard.tsx +4 -4
- package/src/identity-provider/ProviderPicker.tsx +1 -1
- package/src/identity-provider/SsoLoginPrompt.tsx +1 -1
- package/src/identity-provider/index.ts +13 -13
- package/src/identity-provider/useCreateIdentityProvider.ts +2 -2
- package/src/identity-provider/useDeleteIdentityProvider.ts +2 -2
- package/src/identity-provider/useIdentityProvider.ts +2 -2
- package/src/identity-provider/useIdentityProviderList.ts +2 -2
- package/src/identity-provider/useSsoProvider.ts +2 -2
- package/src/identity-provider/useUpdateIdentityProvider.ts +2 -2
- package/src/index.ts +164 -105
- package/src/inline-edit/InlineEditImage.tsx +1 -1
- package/src/inline-edit/InlineEditKeyValue.tsx +1 -1
- package/src/inline-edit/InlineEditResourceList.tsx +1 -1
- package/src/inline-edit/InlineEditSelect.tsx +1 -1
- package/src/inline-edit/InlineEditText.tsx +1 -1
- package/src/inline-edit/InlineEditTextarea.tsx +1 -1
- package/src/inline-edit/index.ts +15 -15
- package/src/inline-edit/useInlineFieldSave.ts +1 -1
- package/src/internal/ApprovalPeekBar.tsx +73 -0
- package/src/internal/BoundedContent.tsx +97 -0
- package/src/internal/DecisionButton.tsx +127 -0
- package/src/internal/FetchCacheProvider.tsx +1 -1
- package/src/internal/InCardDecisionError.tsx +47 -0
- package/src/internal/RevealToggle.tsx +91 -0
- package/src/internal/Tabs.tsx +2 -2
- package/src/internal/VirtualizedThread.tsx +34 -8
- package/src/internal/__tests__/ApprovalPeekBar.test.tsx +34 -0
- package/src/internal/__tests__/BoundedContent.test.tsx +92 -0
- package/src/internal/__tests__/DecisionButton.test.tsx +107 -0
- package/src/internal/__tests__/RevealToggle.test.tsx +61 -0
- package/src/internal/__tests__/useAutoDisclosure.test.ts +74 -0
- package/src/internal/__tests__/useElapsedSince.test.tsx +68 -0
- package/src/internal/__tests__/useIsOverflowing.test.ts +36 -0
- package/src/internal/__tests__/useKeyedSubmission.test.tsx +126 -0
- package/src/internal/dev/index.ts +5 -5
- package/src/internal/file-tree/FileTreeNode.tsx +1 -1
- package/src/internal/file-tree/filterFileTree.ts +1 -1
- package/src/internal/file-tree/index.ts +5 -5
- package/src/internal/markdown-components.tsx +1 -1
- package/src/internal/menu.tsx +1 -1
- package/src/internal/store/conversation-store.ts +1 -1
- package/src/internal/store/index.ts +6 -6
- package/src/internal/stream-controller.ts +2 -2
- package/src/internal/useAutoDisclosure.ts +58 -0
- package/src/internal/useElapsedSince.ts +72 -0
- package/src/internal/useFetch.ts +2 -2
- package/src/internal/useIsOverflowing.ts +61 -0
- package/src/internal/useIsTextTruncated.ts +55 -0
- package/src/internal/useKeyedSubmission.ts +101 -0
- package/src/invitation/InvitationManager.tsx +5 -5
- package/src/invitation/InvitationRedemption.tsx +2 -2
- package/src/invitation/index.ts +16 -16
- package/src/invitation/useCreateInvitation.ts +2 -2
- package/src/invitation/useInvitationPreview.ts +2 -2
- package/src/invitation/useOrgInvitations.ts +2 -2
- package/src/invitation/useRedeemInvitation.ts +2 -2
- package/src/invitation/useRevokeInvitation.ts +2 -2
- package/src/library/ImportResourceDialog.tsx +3 -3
- package/src/library/InstanceVisibilitySelector.tsx +2 -2
- package/src/library/ResourceVisibilityControl.tsx +6 -6
- package/src/library/ScopeToggle.tsx +1 -1
- package/src/library/VisibilityOptionRow.tsx +1 -1
- package/src/library/VisibilitySelector.tsx +5 -5
- package/src/library/index.ts +35 -35
- package/src/library/parse-resource-yaml.ts +1 -1
- package/src/library/useApplyResource.ts +3 -3
- package/src/library/useDetectSkillPackage.ts +2 -2
- package/src/library/useDetectStigmerResource.ts +1 -1
- package/src/library/useExportResource.ts +3 -3
- package/src/library/useImportResource.ts +4 -4
- package/src/library/useUpdateVisibility.ts +2 -2
- package/src/mcp-server/McpServerConfigPanel.tsx +3 -3
- package/src/mcp-server/McpServerConnectDialog.tsx +8 -8
- package/src/mcp-server/McpServerCreationWizard.tsx +9 -9
- package/src/mcp-server/McpServerDetailView.tsx +25 -25
- package/src/mcp-server/McpServerPicker.tsx +9 -9
- package/src/mcp-server/McpToolSelector.tsx +2 -2
- package/src/mcp-server/OAuthCallbackHandler.tsx +2 -2
- package/src/mcp-server/index.ts +44 -44
- package/src/mcp-server/mcpServerSetupReducer.ts +1 -1
- package/src/mcp-server/steps/EnvironmentAuthStep.tsx +1 -1
- package/src/mcp-server/steps/IdentityTransportStep.tsx +2 -2
- package/src/mcp-server/steps/ReviewStep.tsx +2 -2
- package/src/mcp-server/steps/types.ts +2 -2
- package/src/mcp-server/useCreateMcpServer.ts +2 -2
- package/src/mcp-server/useDisconnectOAuth.ts +2 -2
- package/src/mcp-server/useMcpServer.ts +2 -2
- package/src/mcp-server/useMcpServerConnect.ts +3 -3
- package/src/mcp-server/useMcpServerCount.ts +2 -2
- package/src/mcp-server/useMcpServerCredentials.ts +5 -5
- package/src/mcp-server/useMcpServerList.ts +2 -2
- package/src/mcp-server/useMcpServerOAuthConnect.ts +3 -3
- package/src/mcp-server/useMcpServerSearch.ts +2 -2
- package/src/mcp-server/useMcpServerSetup.ts +7 -7
- package/src/mcp-server/useOAuthGrantStatus.ts +2 -2
- package/src/mcp-server/useOrgOAuthApp.ts +3 -3
- package/src/mcp-server/useUpdateMcpServer.ts +2 -2
- package/src/models/HarnessSelector.tsx +1 -1
- package/src/models/ModelRegistryContext.ts +1 -1
- package/src/models/ModelSelector.tsx +4 -4
- package/src/models/index.ts +13 -13
- package/src/models/registry.ts +1 -1
- package/src/models/useModelRegistry.ts +3 -3
- package/src/oauth-app/CreateOAuthAppForm.tsx +1 -1
- package/src/oauth-app/OAuthAppDetailPanel.tsx +2 -2
- package/src/oauth-app/OAuthAppListPanel.tsx +1 -1
- package/src/oauth-app/index.ts +14 -14
- package/src/oauth-app/useCreateOAuthApp.ts +2 -2
- package/src/oauth-app/useDeleteOAuthApp.ts +2 -2
- package/src/oauth-app/useOAuthAppList.ts +2 -2
- package/src/oauth-app/useUpdateOAuthApp.ts +2 -2
- package/src/organization/CreateOrganizationForm.tsx +3 -3
- package/src/organization/OrgProfilePanel.tsx +4 -4
- package/src/organization/OrgProvider.tsx +1 -1
- package/src/organization/OrgSwitcher.tsx +4 -4
- package/src/organization/index.ts +16 -16
- package/src/organization/useCreateOrganization.ts +2 -2
- package/src/organization/useOrgGate.ts +1 -1
- package/src/organization/useOrganization.ts +2 -2
- package/src/organization/useUpdateOrganization.ts +2 -2
- package/src/platform-client/CreatePlatformClientForm.tsx +1 -1
- package/src/platform-client/PlatformClientDetailPanel.tsx +3 -3
- package/src/platform-client/PlatformClientListPanel.tsx +2 -2
- package/src/platform-client/index.ts +10 -10
- package/src/platform-client/useCreatePlatformClient.ts +2 -2
- package/src/platform-client/useDeletePlatformClient.ts +2 -2
- package/src/platform-client/usePlatformClient.ts +2 -2
- package/src/platform-client/usePlatformClientList.ts +2 -2
- package/src/platform-client/useRotatePlatformClientSecret.ts +2 -2
- package/src/platform-client/useUpdatePlatformClient.ts +2 -2
- package/src/provider.tsx +15 -15
- package/src/resource-creation/CreationPicker.tsx +2 -2
- package/src/resource-creation/TemplateCard.tsx +2 -2
- package/src/resource-creation/TemplateGallery.tsx +4 -4
- package/src/resource-creation/WizardShell.tsx +3 -3
- package/src/resource-creation/index.ts +22 -22
- package/src/resource-creation/templates/agent-templates.ts +2 -2
- package/src/resource-creation/templates/index.ts +6 -6
- package/src/resource-creation/templates/mcp-server-templates.ts +2 -2
- package/src/resource-creation/templates/workflow-templates.ts +1 -1
- package/src/resource-creation/useTemplateFilter.ts +1 -1
- package/src/resource-creation/useWizardState.ts +1 -1
- package/src/resource-detail/ConfirmDialog.tsx +1 -1
- package/src/resource-detail/ResourceActionBar.tsx +2 -2
- package/src/resource-detail/ResourceDetailShell.tsx +4 -4
- package/src/resource-detail/index.ts +14 -14
- package/src/resource-detail/types.ts +2 -2
- package/src/resource-detail/useConfirmAction.ts +1 -1
- package/src/resource-detail/useCopyResource.ts +1 -1
- package/src/resource-detail/useDeleteResource.ts +3 -3
- package/src/resource-detail/useDetailTabs.ts +2 -2
- package/src/resource-workbench/components/BulkActionBar.tsx +1 -1
- package/src/resource-workbench/components/ColumnHeader.tsx +1 -1
- package/src/resource-workbench/components/FilterBar.tsx +1 -1
- package/src/resource-workbench/components/ResourceCards.tsx +1 -1
- package/src/resource-workbench/components/ResourceList.tsx +1 -1
- package/src/resource-workbench/components/ResourceTable.tsx +3 -3
- package/src/resource-workbench/components/ResourceWorkbench.tsx +15 -15
- package/src/resource-workbench/components/StatusBadge.tsx +1 -1
- package/src/resource-workbench/components/ViewSwitcher.tsx +1 -1
- package/src/resource-workbench/hooks/useResourceCollection.ts +2 -2
- package/src/resource-workbench/hooks/useResourceFilters.ts +1 -1
- package/src/resource-workbench/hooks/useViewPreference.ts +1 -1
- package/src/resource-workbench/index.ts +33 -33
- package/src/search/index.ts +6 -6
- package/src/search/useResourceCount.ts +2 -2
- package/src/search/useResourceList.ts +1 -1
- package/src/search/useResourceSearch.ts +1 -1
- package/src/session/NewSessionViewer.tsx +11 -11
- package/src/session/SessionViewer.tsx +37 -20
- package/src/session/__tests__/SessionViewer-fileReviewDock.test.tsx +198 -0
- package/src/session/__tests__/audienceWiring.test.tsx +4 -0
- package/src/session/__tests__/useSessionFileChanges.test.ts +303 -0
- package/src/session/index.ts +48 -45
- package/src/session/inspector/ArtifactsTab.tsx +5 -5
- package/src/session/inspector/ChangesTab.tsx +22 -19
- package/src/session/inspector/InspectTab.tsx +1 -1
- package/src/session/inspector/SessionInspector.tsx +26 -24
- package/src/session/inspector/SetupTab.tsx +4 -4
- package/src/session/inspector/UsageTab.tsx +2 -2
- package/src/session/inspector/WorkspaceTab.tsx +4 -4
- package/src/session/inspector/__tests__/ArtifactsTab.test.tsx +0 -1
- package/src/session/inspector/__tests__/ChangesTab.test.tsx +38 -0
- package/src/session/inspector/__tests__/useSessionInspector.test.ts +46 -61
- package/src/session/inspector/index.ts +16 -19
- package/src/session/inspector/useSessionInspector.ts +30 -23
- package/src/session/useAgentRefFromSession.ts +2 -2
- package/src/session/useCreateSession.ts +5 -5
- package/src/session/useEditSessionPrep.ts +6 -6
- package/src/session/useLocalSessionWorker.ts +3 -3
- package/src/session/useNewSessionFlow.ts +15 -15
- package/src/session/usePersistedModel.ts +3 -3
- package/src/session/useSession.ts +2 -2
- package/src/session/useSessionArtifacts.ts +1 -1
- package/src/session/useSessionConversation.ts +93 -16
- package/src/session/useSessionExecutions.ts +2 -2
- package/src/session/useSessionFileChanges.ts +207 -0
- package/src/session/useSessionList.ts +2 -2
- package/src/session/useSessionPageFlow.ts +14 -14
- package/src/session/useSessionSearch.ts +3 -3
- package/src/session/useSessionUsage.ts +3 -3
- package/src/session/useUpdateSession.ts +1 -1
- package/src/settings/ApiKeysSection.tsx +6 -6
- package/src/settings/BillingSection.tsx +2 -2
- package/src/settings/EnvironmentsSection.tsx +5 -5
- package/src/settings/IdentityProvidersSection.tsx +6 -6
- package/src/settings/InvitationsSection.tsx +4 -4
- package/src/settings/MembersSection.tsx +5 -5
- package/src/settings/OAuthAppsSection.tsx +6 -6
- package/src/settings/OrgProfileSection.tsx +2 -2
- package/src/settings/PlatformClientsSection.tsx +7 -7
- package/src/settings/UsageSection.tsx +2 -2
- package/src/settings/index.ts +14 -14
- package/src/skill/SkillDetailView.tsx +17 -17
- package/src/skill/SkillDiffDialog.tsx +3 -3
- package/src/skill/SkillFileBrowser.tsx +3 -3
- package/src/skill/SkillPicker.tsx +5 -5
- package/src/skill/SkillUploader.tsx +4 -4
- package/src/skill/index.ts +30 -30
- package/src/skill/internal/fetchAndUnpackArtifact.ts +1 -1
- package/src/skill/usePushSkill.ts +2 -2
- package/src/skill/useSkill.ts +2 -2
- package/src/skill/useSkillArtifact.ts +4 -4
- package/src/skill/useSkillCount.ts +2 -2
- package/src/skill/useSkillDiff.ts +5 -5
- package/src/skill/useSkillDuplicateCheck.ts +2 -2
- package/src/skill/useSkillList.ts +2 -2
- package/src/skill/useSkillSearch.ts +2 -2
- package/src/skill/useSkillVersions.ts +3 -3
- package/src/styles.css +35 -10
- package/src/tabs/index.ts +2 -2
- package/src/test/index.ts +1 -1
- package/src/usage/AgentBreakdownList.tsx +1 -1
- package/src/usage/CreditRunwayIndicator.tsx +3 -3
- package/src/usage/ExportButton.tsx +1 -1
- package/src/usage/HarnessSplitCard.tsx +1 -1
- package/src/usage/OrgUsagePanel.tsx +8 -8
- package/src/usage/index.ts +16 -16
- package/src/usage/useOrgUsageReport.ts +3 -3
- package/src/user/UserMenu.tsx +2 -2
- package/src/user/index.ts +2 -2
- package/src/version-history/DiffFileList.tsx +1 -1
- package/src/version-history/DiffViewer.tsx +11 -8
- package/src/version-history/MultiFileDiffView.tsx +4 -4
- package/src/version-history/UnifiedDiffView.tsx +66 -0
- package/src/version-history/VersionTimeline.tsx +2 -2
- package/src/version-history/VersionTimelineEntry.tsx +1 -1
- package/src/version-history/__tests__/DiffViewer.test.tsx +57 -0
- package/src/version-history/__tests__/UnifiedDiffView.test.tsx +50 -0
- package/src/version-history/__tests__/computeDiff.test.ts +35 -0
- package/src/version-history/__tests__/parseUnifiedDiff.test.ts +82 -0
- package/src/version-history/computeDiff.ts +6 -37
- package/src/version-history/computeMultiFileDiff.ts +2 -2
- package/src/version-history/diff-hunks.ts +63 -0
- package/src/version-history/index.ts +14 -13
- package/src/version-history/parseUnifiedDiff.ts +34 -0
- package/src/workflow/ApprovalFormBuilder.tsx +2 -2
- package/src/workflow/BranchConditionBuilder.tsx +2 -2
- package/src/workflow/CanvasActionsContext.ts +1 -1
- package/src/workflow/CanvasContextMenu.tsx +3 -3
- package/src/workflow/CanvasTransitionEdge.tsx +6 -6
- package/src/workflow/ExecutionActiveTaskIndicator.tsx +2 -2
- package/src/workflow/ExecutionSummaryWidget.tsx +1 -1
- package/src/workflow/TaskConfigForm.tsx +1 -1
- package/src/workflow/TaskKindRegistryContext.ts +1 -1
- package/src/workflow/TaskPickerPopover.tsx +8 -8
- package/src/workflow/ViewYamlDialog.tsx +2 -2
- package/src/workflow/WorkflowArchitectDialog.tsx +3 -3
- package/src/workflow/WorkflowCanvasEditor.tsx +13 -13
- package/src/workflow/WorkflowCanvasInner.tsx +5 -5
- package/src/workflow/WorkflowCodePreviewGraph.tsx +5 -5
- package/src/workflow/WorkflowDashboard.tsx +7 -7
- package/src/workflow/WorkflowDetailView.tsx +26 -26
- package/src/workflow/WorkflowDiffGraph.tsx +8 -8
- package/src/workflow/WorkflowEditorView.tsx +8 -8
- package/src/workflow/WorkflowExecutionApprovalCard.tsx +49 -24
- package/src/workflow/WorkflowExecutionArtifactPanel.tsx +2 -2
- package/src/workflow/WorkflowExecutionCostPanel.tsx +2 -2
- package/src/workflow/WorkflowExecutionGraph.tsx +13 -13
- package/src/workflow/WorkflowExecutionHeader.tsx +4 -4
- package/src/workflow/WorkflowExecutionTaskPanel.tsx +2 -2
- package/src/workflow/WorkflowExecutionTimeline.tsx +17 -6
- package/src/workflow/WorkflowExecutionTimelineEvent.tsx +11 -6
- package/src/workflow/WorkflowExecutionViewer.tsx +89 -45
- package/src/workflow/WorkflowExplainDialog.tsx +2 -2
- package/src/workflow/WorkflowFileReviewList.tsx +152 -0
- package/src/workflow/WorkflowGraphFullscreenDialog.tsx +1 -1
- package/src/workflow/WorkflowInspectorPanel.tsx +5 -5
- package/src/workflow/WorkflowNode.tsx +5 -5
- package/src/workflow/WorkflowNodePopover.tsx +3 -3
- package/src/workflow/WorkflowOverviewGraph.tsx +8 -8
- package/src/workflow/WorkflowRefinePanel.tsx +4 -4
- package/src/workflow/WorkflowRepairCard.tsx +4 -4
- package/src/workflow/WorkflowRunDialog.tsx +2 -2
- package/src/workflow/WorkflowRunForm.tsx +1 -1
- package/src/workflow/WorkflowTaskApprovalCard.tsx +38 -86
- package/src/workflow/WorkflowTaskApprovalSummary.tsx +4 -4
- package/src/workflow/WorkflowTaskList.tsx +1 -1
- package/src/workflow/WorkflowTaskPalette.tsx +3 -3
- package/src/workflow/WorkflowVersionDiffViewer.tsx +2 -2
- package/src/workflow/WorkflowVersionTimeline.tsx +3 -3
- package/src/workflow/WorkflowVersionsTab.tsx +3 -3
- package/src/workflow/__tests__/ExecutionInspector.test.tsx +30 -2
- package/src/workflow/__tests__/WorkflowExecutionApprovalCard.test.tsx +129 -0
- package/src/workflow/__tests__/WorkflowFileReviewList.test.tsx +129 -0
- package/src/workflow/__tests__/WorkflowTaskApprovalCard.test.tsx +43 -11
- package/src/workflow/__tests__/useWorkflowExecutionActions.test.tsx +276 -0
- package/src/workflow/canvas-constants.ts +2 -2
- package/src/workflow/clipboard.ts +4 -4
- package/src/workflow/cncf-yaml-to-graph.ts +4 -4
- package/src/workflow/diff/DiffSummaryBar.tsx +1 -1
- package/src/workflow/diff/build-diff-graph.ts +3 -3
- package/src/workflow/diff/graph-diff.ts +3 -3
- package/src/workflow/diff/index.ts +4 -4
- package/src/workflow/diff/types.ts +1 -1
- package/src/workflow/execution/derive-execution-overlays.ts +3 -3
- package/src/workflow/execution/derive-waterfall-entries.ts +1 -1
- package/src/workflow/execution/index.ts +3 -3
- package/src/workflow/execution/useWaterfallEntries.ts +2 -2
- package/src/workflow/execution-comparison/ComparisonSummaryCards.tsx +2 -2
- package/src/workflow/execution-comparison/ExecutionComparisonPicker.tsx +3 -3
- package/src/workflow/execution-comparison/ExecutionComparisonView.tsx +4 -4
- package/src/workflow/execution-comparison/TaskComparisonTable.tsx +2 -2
- package/src/workflow/execution-comparison/derive-execution-comparison.ts +2 -2
- package/src/workflow/execution-comparison/index.ts +7 -7
- package/src/workflow/execution-comparison/types.ts +1 -1
- package/src/workflow/execution-comparison/useExecutionComparison.ts +3 -3
- package/src/workflow/execution-history/ExecutionFilterBar.tsx +1 -1
- package/src/workflow/execution-history/ExecutionHistoryTable.tsx +3 -3
- package/src/workflow/execution-history/FailureAnalysisPanel.tsx +1 -1
- package/src/workflow/execution-history/HealthMetricsStrip.tsx +1 -1
- package/src/workflow/execution-history/WorkflowExecutionHistory.tsx +7 -7
- package/src/workflow/execution-history/index.ts +8 -8
- package/src/workflow/execution-history/useExecutionHistoryData.ts +2 -2
- package/src/workflow/execution-inspector/AgentCallTab.tsx +6 -6
- package/src/workflow/execution-inspector/ErrorTab.tsx +2 -2
- package/src/workflow/execution-inspector/EventLogTab.tsx +1 -1
- package/src/workflow/execution-inspector/ExecutionInspector.tsx +55 -31
- package/src/workflow/execution-inspector/InputOutputTab.tsx +3 -3
- package/src/workflow/execution-inspector/RetriesTab.tsx +2 -2
- package/src/workflow/execution-inspector/StructuredDataViewer.tsx +1 -1
- package/src/workflow/execution-inspector/SummaryTab.tsx +2 -2
- package/src/workflow/execution-inspector/derive-task-detail.ts +3 -3
- package/src/workflow/execution-inspector/index.ts +3 -3
- package/src/workflow/execution-inspector/useExecutionTaskDetail.ts +2 -2
- package/src/workflow/graph-commands.ts +3 -3
- package/src/workflow/index.ts +123 -118
- package/src/workflow/inspector/EdgeInspector.tsx +1 -1
- package/src/workflow/inspector/ExecutionInspectorAdapter.tsx +2 -2
- package/src/workflow/inspector/InspectorHeader.tsx +3 -3
- package/src/workflow/inspector/InspectorShell.tsx +20 -20
- package/src/workflow/inspector/SentinelInspector.tsx +2 -2
- package/src/workflow/inspector/WorkflowSummaryPanel.tsx +4 -4
- package/src/workflow/inspector/forms/AgentCallForm.tsx +1 -1
- package/src/workflow/inspector/forms/HttpCallForm.tsx +1 -1
- package/src/workflow/inspector/index.ts +30 -30
- package/src/workflow/inspector/tabs/AdvancedTab.tsx +1 -1
- package/src/workflow/inspector/tabs/BranchesTab.tsx +2 -2
- package/src/workflow/inspector/tabs/CatchTab.tsx +2 -2
- package/src/workflow/inspector/tabs/ConfigureTab.tsx +8 -8
- package/src/workflow/inspector/tabs/DataTab.tsx +1 -1
- package/src/workflow/inspector/tabs/DocsTab.tsx +1 -1
- package/src/workflow/inspector/tabs/IterationTab.tsx +2 -2
- package/src/workflow/inspector/tabs/RuntimeTab.tsx +2 -2
- package/src/workflow/inspector/task-to-yaml.ts +2 -2
- package/src/workflow/inspector/types.ts +3 -3
- package/src/workflow/inspector/useInspectorTabs.ts +2 -2
- package/src/workflow/inspector/useNestedTaskEditor.ts +3 -3
- package/src/workflow/instance/CreateWorkflowInstanceDialog.tsx +3 -3
- package/src/workflow/instance/RunVisibilityControl.tsx +1 -1
- package/src/workflow/instance/WorkflowInstanceDetailPanel.tsx +9 -9
- package/src/workflow/instance/WorkflowInstanceList.tsx +5 -5
- package/src/workflow/instance/index.ts +10 -10
- package/src/workflow/instance/useCreateWorkflowInstance.ts +2 -2
- package/src/workflow/instance/useDeleteWorkflowInstance.ts +2 -2
- package/src/workflow/instance/useUpdateWorkflowInstance.ts +2 -2
- package/src/workflow/instance/useUpdateWorkflowInstanceExecutionVisibility.ts +2 -2
- package/src/workflow/instance/useWorkflowInstance.ts +2 -2
- package/src/workflow/kind-metadata.ts +1 -1
- package/src/workflow/layout/apply-dagre-layout.ts +4 -4
- package/src/workflow/layout/dagre-layout-engine.ts +4 -4
- package/src/workflow/layout/elk-layout-engine.ts +3 -3
- package/src/workflow/layout/index.ts +14 -14
- package/src/workflow/layout/layout-postprocessor.ts +2 -2
- package/src/workflow/layout/port-assignment.ts +3 -3
- package/src/workflow/layout/registry-dimensions.ts +5 -5
- package/src/workflow/layout/types.ts +1 -1
- package/src/workflow/layout/use-workflow-layout.ts +3 -3
- package/src/workflow/layout/useElkLayoutEngine.ts +3 -3
- package/src/workflow/layout/workflow-preprocessor.ts +5 -5
- package/src/workflow/node-shell/DiffBadge.tsx +1 -1
- package/src/workflow/node-shell/ExecutionBadge.tsx +1 -1
- package/src/workflow/node-shell/NodeActions.tsx +6 -6
- package/src/workflow/node-shell/NodeContent.tsx +2 -2
- package/src/workflow/node-shell/NodeHandles.tsx +2 -2
- package/src/workflow/node-shell/NodeShell.tsx +4 -4
- package/src/workflow/node-shell/index.ts +8 -8
- package/src/workflow/node-shell/shape-paths.ts +1 -1
- package/src/workflow/picker/BranchAddPopover.tsx +1 -1
- package/src/workflow/picker/compatibility.ts +3 -3
- package/src/workflow/picker/index.ts +10 -10
- package/src/workflow/picker/suggestions.ts +1 -1
- package/src/workflow/picker/usePickerData.ts +8 -8
- package/src/workflow/task-type-visual-registry.ts +1 -1
- package/src/workflow/templates/WorkflowTemplateCard.tsx +4 -4
- package/src/workflow/templates/WorkflowTemplateGallery.tsx +6 -6
- package/src/workflow/templates/WorkflowTemplatePreview.tsx +4 -4
- package/src/workflow/templates/derive-template-metadata.ts +1 -1
- package/src/workflow/templates/index.ts +9 -9
- package/src/workflow/templates/types.ts +1 -1
- package/src/workflow/topologyFromTasks.ts +2 -2
- package/src/workflow/useActiveTaskName.ts +1 -1
- package/src/workflow/useCanvasKeyboardShortcuts.ts +1 -1
- package/src/workflow/useDiagnoseExecutionFlow.ts +7 -7
- package/src/workflow/useExecutionAnnouncements.ts +1 -1
- package/src/workflow/useExplainWorkflowFlow.ts +6 -6
- package/src/workflow/useFollowExecution.ts +2 -2
- package/src/workflow/useGraphHistory.ts +3 -3
- package/src/workflow/useInstanceEnvKeys.ts +1 -1
- package/src/workflow/usePendingApprovals.ts +2 -2
- package/src/workflow/useRefineWorkflowFlow.ts +7 -7
- package/src/workflow/useResolveAgentExecutionSession.ts +2 -2
- package/src/workflow/useRunWorkflowFlow.ts +6 -6
- package/src/workflow/useTaskKindRegistry.ts +2 -2
- package/src/workflow/useUpdateWorkflow.ts +2 -2
- package/src/workflow/useWorkflow.ts +2 -2
- package/src/workflow/useWorkflowArchitectFlow.ts +9 -9
- package/src/workflow/useWorkflowCanvas.ts +15 -15
- package/src/workflow/useWorkflowCount.ts +2 -2
- package/src/workflow/useWorkflowDashboardSummary.ts +2 -2
- package/src/workflow/useWorkflowDiffGraph.ts +5 -5
- package/src/workflow/useWorkflowEditor.ts +5 -5
- package/src/workflow/useWorkflowExecution.ts +4 -4
- package/src/workflow/useWorkflowExecutionActions.ts +179 -31
- package/src/workflow/useWorkflowExecutionArtifacts.ts +2 -2
- package/src/workflow/useWorkflowExecutionEventLog.ts +2 -2
- package/src/workflow/useWorkflowExecutionEventStream.ts +4 -4
- package/src/workflow/useWorkflowExecutionGraph.ts +13 -13
- package/src/workflow/useWorkflowExecutionList.ts +2 -2
- package/src/workflow/useWorkflowInstances.ts +2 -2
- package/src/workflow/useWorkflowList.ts +2 -2
- package/src/workflow/useWorkflowOverviewGraph.ts +5 -5
- package/src/workflow/useWorkflowSave.ts +2 -2
- package/src/workflow/useWorkflowTopology.ts +1 -1
- package/src/workflow/useWorkflowValidation.ts +2 -2
- package/src/workflow/useWorkflowVersion.ts +2 -2
- package/src/workflow/useWorkflowVersionDiff.ts +3 -3
- package/src/workflow/useWorkflowVersions.ts +3 -3
- package/src/workflow/useWorkflowYaml.ts +2 -2
- package/src/workflow/waterfall/WaterfallBar.tsx +2 -2
- package/src/workflow/waterfall/WaterfallRow.tsx +3 -3
- package/src/workflow/waterfall/WaterfallScale.tsx +2 -2
- package/src/workflow/waterfall/WaterfallTimeline.tsx +4 -4
- package/src/workflow/waterfall/WaterfallTooltip.tsx +2 -2
- package/src/workflow/waterfall/index.ts +5 -5
- package/src/workflow/workflow-graph-conversions.ts +6 -6
- package/src/workflow/workflow-graph-model.ts +1 -1
- package/src/workspace/WorkspaceEditor.tsx +5 -5
- package/src/workspace/WorkspaceEntryFiles.tsx +4 -4
- package/src/workspace/WorkspaceFileLister.ts +1 -1
- package/src/workspace/index.ts +15 -15
- package/src/workspace/useWorkspaceFiles.ts +4 -4
- package/src/workspace/useWorkspaceSources.ts +2 -2
- package/styles.css +1 -1
- package/tabs/index.d.ts +2 -2
- package/tabs/index.d.ts.map +1 -1
- package/tabs/index.js +1 -1
- package/tabs/index.js.map +1 -1
- package/test/index.d.ts +1 -1
- package/test/index.d.ts.map +1 -1
- package/test/index.js +1 -1
- package/test/index.js.map +1 -1
- package/usage/AgentBreakdownList.js +1 -1
- package/usage/AgentBreakdownList.js.map +1 -1
- package/usage/CreditRunwayIndicator.js +3 -3
- package/usage/CreditRunwayIndicator.js.map +1 -1
- package/usage/ExportButton.d.ts +1 -1
- package/usage/ExportButton.d.ts.map +1 -1
- package/usage/HarnessSplitCard.js +1 -1
- package/usage/HarnessSplitCard.js.map +1 -1
- package/usage/OrgUsagePanel.js +8 -8
- package/usage/OrgUsagePanel.js.map +1 -1
- package/usage/index.d.ts +16 -16
- package/usage/index.d.ts.map +1 -1
- package/usage/index.js +8 -8
- package/usage/index.js.map +1 -1
- package/usage/useOrgUsageReport.d.ts +1 -1
- package/usage/useOrgUsageReport.d.ts.map +1 -1
- package/usage/useOrgUsageReport.js +2 -2
- package/usage/useOrgUsageReport.js.map +1 -1
- package/user/UserMenu.d.ts +1 -1
- package/user/UserMenu.d.ts.map +1 -1
- package/user/UserMenu.js +1 -1
- package/user/UserMenu.js.map +1 -1
- package/user/index.d.ts +2 -2
- package/user/index.d.ts.map +1 -1
- package/user/index.js +1 -1
- package/user/index.js.map +1 -1
- package/version-history/DiffFileList.d.ts +1 -1
- package/version-history/DiffFileList.d.ts.map +1 -1
- package/version-history/DiffViewer.d.ts +1 -1
- package/version-history/DiffViewer.d.ts.map +1 -1
- package/version-history/DiffViewer.js +9 -3
- package/version-history/DiffViewer.js.map +1 -1
- package/version-history/MultiFileDiffView.d.ts +1 -1
- package/version-history/MultiFileDiffView.d.ts.map +1 -1
- package/version-history/MultiFileDiffView.js +3 -3
- package/version-history/MultiFileDiffView.js.map +1 -1
- package/version-history/UnifiedDiffView.d.ts +29 -0
- package/version-history/UnifiedDiffView.d.ts.map +1 -0
- package/version-history/UnifiedDiffView.js +36 -0
- package/version-history/UnifiedDiffView.js.map +1 -0
- package/version-history/VersionTimeline.d.ts +1 -1
- package/version-history/VersionTimeline.d.ts.map +1 -1
- package/version-history/VersionTimeline.js +1 -1
- package/version-history/VersionTimeline.js.map +1 -1
- package/version-history/VersionTimelineEntry.d.ts +1 -1
- package/version-history/VersionTimelineEntry.d.ts.map +1 -1
- package/version-history/computeDiff.d.ts +4 -2
- package/version-history/computeDiff.d.ts.map +1 -1
- package/version-history/computeDiff.js +5 -35
- package/version-history/computeDiff.js.map +1 -1
- package/version-history/computeMultiFileDiff.d.ts +1 -1
- package/version-history/computeMultiFileDiff.d.ts.map +1 -1
- package/version-history/computeMultiFileDiff.js +1 -1
- package/version-history/computeMultiFileDiff.js.map +1 -1
- package/version-history/diff-hunks.d.ts +21 -0
- package/version-history/diff-hunks.d.ts.map +1 -0
- package/version-history/diff-hunks.js +58 -0
- package/version-history/diff-hunks.js.map +1 -0
- package/version-history/index.d.ts +14 -13
- package/version-history/index.d.ts.map +1 -1
- package/version-history/index.js +9 -8
- package/version-history/index.js.map +1 -1
- package/version-history/parseUnifiedDiff.d.ts +22 -0
- package/version-history/parseUnifiedDiff.d.ts.map +1 -0
- package/version-history/parseUnifiedDiff.js +34 -0
- package/version-history/parseUnifiedDiff.js.map +1 -0
- package/workflow/ApprovalFormBuilder.d.ts +1 -1
- package/workflow/ApprovalFormBuilder.d.ts.map +1 -1
- package/workflow/ApprovalFormBuilder.js +1 -1
- package/workflow/ApprovalFormBuilder.js.map +1 -1
- package/workflow/BranchConditionBuilder.d.ts +1 -1
- package/workflow/BranchConditionBuilder.d.ts.map +1 -1
- package/workflow/BranchConditionBuilder.js +1 -1
- package/workflow/BranchConditionBuilder.js.map +1 -1
- package/workflow/CanvasActionsContext.d.ts +1 -1
- package/workflow/CanvasActionsContext.d.ts.map +1 -1
- package/workflow/CanvasContextMenu.js +3 -3
- package/workflow/CanvasContextMenu.js.map +1 -1
- package/workflow/CanvasTransitionEdge.d.ts +1 -1
- package/workflow/CanvasTransitionEdge.d.ts.map +1 -1
- package/workflow/CanvasTransitionEdge.js +3 -3
- package/workflow/CanvasTransitionEdge.js.map +1 -1
- package/workflow/ExecutionActiveTaskIndicator.d.ts +1 -1
- package/workflow/ExecutionActiveTaskIndicator.d.ts.map +1 -1
- package/workflow/ExecutionActiveTaskIndicator.js +1 -1
- package/workflow/ExecutionActiveTaskIndicator.js.map +1 -1
- package/workflow/ExecutionSummaryWidget.js +1 -1
- package/workflow/ExecutionSummaryWidget.js.map +1 -1
- package/workflow/TaskConfigForm.d.ts +1 -1
- package/workflow/TaskConfigForm.d.ts.map +1 -1
- package/workflow/TaskKindRegistryContext.d.ts +1 -1
- package/workflow/TaskKindRegistryContext.d.ts.map +1 -1
- package/workflow/TaskPickerPopover.d.ts +2 -2
- package/workflow/TaskPickerPopover.d.ts.map +1 -1
- package/workflow/TaskPickerPopover.js +5 -5
- package/workflow/TaskPickerPopover.js.map +1 -1
- package/workflow/ViewYamlDialog.d.ts +1 -1
- package/workflow/ViewYamlDialog.d.ts.map +1 -1
- package/workflow/ViewYamlDialog.js +1 -1
- package/workflow/ViewYamlDialog.js.map +1 -1
- package/workflow/WorkflowArchitectDialog.js +3 -3
- package/workflow/WorkflowArchitectDialog.js.map +1 -1
- package/workflow/WorkflowCanvasEditor.d.ts +1 -1
- package/workflow/WorkflowCanvasEditor.d.ts.map +1 -1
- package/workflow/WorkflowCanvasEditor.js +10 -10
- package/workflow/WorkflowCanvasEditor.js.map +1 -1
- package/workflow/WorkflowCanvasInner.js +4 -4
- package/workflow/WorkflowCanvasInner.js.map +1 -1
- package/workflow/WorkflowCodePreviewGraph.js +5 -5
- package/workflow/WorkflowCodePreviewGraph.js.map +1 -1
- package/workflow/WorkflowDashboard.d.ts +1 -1
- package/workflow/WorkflowDashboard.d.ts.map +1 -1
- package/workflow/WorkflowDashboard.js +7 -7
- package/workflow/WorkflowDashboard.js.map +1 -1
- package/workflow/WorkflowDetailView.d.ts +1 -1
- package/workflow/WorkflowDetailView.d.ts.map +1 -1
- package/workflow/WorkflowDetailView.js +23 -23
- package/workflow/WorkflowDetailView.js.map +1 -1
- package/workflow/WorkflowDiffGraph.d.ts +1 -1
- package/workflow/WorkflowDiffGraph.d.ts.map +1 -1
- package/workflow/WorkflowDiffGraph.js +6 -6
- package/workflow/WorkflowDiffGraph.js.map +1 -1
- package/workflow/WorkflowEditorView.d.ts +1 -1
- package/workflow/WorkflowEditorView.d.ts.map +1 -1
- package/workflow/WorkflowEditorView.js +7 -7
- package/workflow/WorkflowEditorView.js.map +1 -1
- package/workflow/WorkflowExecutionApprovalCard.d.ts +8 -1
- package/workflow/WorkflowExecutionApprovalCard.d.ts.map +1 -1
- package/workflow/WorkflowExecutionApprovalCard.js +17 -3
- package/workflow/WorkflowExecutionApprovalCard.js.map +1 -1
- package/workflow/WorkflowExecutionArtifactPanel.js +2 -2
- package/workflow/WorkflowExecutionArtifactPanel.js.map +1 -1
- package/workflow/WorkflowExecutionCostPanel.d.ts +1 -1
- package/workflow/WorkflowExecutionCostPanel.d.ts.map +1 -1
- package/workflow/WorkflowExecutionCostPanel.js +1 -1
- package/workflow/WorkflowExecutionCostPanel.js.map +1 -1
- package/workflow/WorkflowExecutionGraph.d.ts +2 -2
- package/workflow/WorkflowExecutionGraph.d.ts.map +1 -1
- package/workflow/WorkflowExecutionGraph.js +10 -10
- package/workflow/WorkflowExecutionGraph.js.map +1 -1
- package/workflow/WorkflowExecutionHeader.d.ts +2 -2
- package/workflow/WorkflowExecutionHeader.d.ts.map +1 -1
- package/workflow/WorkflowExecutionHeader.js +2 -2
- package/workflow/WorkflowExecutionHeader.js.map +1 -1
- package/workflow/WorkflowExecutionTaskPanel.d.ts +1 -1
- package/workflow/WorkflowExecutionTaskPanel.d.ts.map +1 -1
- package/workflow/WorkflowExecutionTaskPanel.js +1 -1
- package/workflow/WorkflowExecutionTaskPanel.js.map +1 -1
- package/workflow/WorkflowExecutionTimeline.d.ts +12 -3
- package/workflow/WorkflowExecutionTimeline.d.ts.map +1 -1
- package/workflow/WorkflowExecutionTimeline.js +3 -3
- package/workflow/WorkflowExecutionTimeline.js.map +1 -1
- package/workflow/WorkflowExecutionTimelineEvent.d.ts +5 -2
- package/workflow/WorkflowExecutionTimelineEvent.d.ts.map +1 -1
- package/workflow/WorkflowExecutionTimelineEvent.js +4 -4
- package/workflow/WorkflowExecutionTimelineEvent.js.map +1 -1
- package/workflow/WorkflowExecutionViewer.d.ts.map +1 -1
- package/workflow/WorkflowExecutionViewer.js +34 -26
- package/workflow/WorkflowExecutionViewer.js.map +1 -1
- package/workflow/WorkflowExplainDialog.js +2 -2
- package/workflow/WorkflowExplainDialog.js.map +1 -1
- package/workflow/WorkflowFileReviewList.d.ts +46 -0
- package/workflow/WorkflowFileReviewList.d.ts.map +1 -0
- package/workflow/WorkflowFileReviewList.js +48 -0
- package/workflow/WorkflowFileReviewList.js.map +1 -0
- package/workflow/WorkflowGraphFullscreenDialog.js +1 -1
- package/workflow/WorkflowGraphFullscreenDialog.js.map +1 -1
- package/workflow/WorkflowInspectorPanel.d.ts +3 -3
- package/workflow/WorkflowInspectorPanel.d.ts.map +1 -1
- package/workflow/WorkflowInspectorPanel.js +1 -1
- package/workflow/WorkflowInspectorPanel.js.map +1 -1
- package/workflow/WorkflowNode.d.ts +1 -1
- package/workflow/WorkflowNode.d.ts.map +1 -1
- package/workflow/WorkflowNode.js +4 -4
- package/workflow/WorkflowNode.js.map +1 -1
- package/workflow/WorkflowNodePopover.d.ts +1 -1
- package/workflow/WorkflowNodePopover.d.ts.map +1 -1
- package/workflow/WorkflowNodePopover.js +2 -2
- package/workflow/WorkflowNodePopover.js.map +1 -1
- package/workflow/WorkflowOverviewGraph.js +6 -6
- package/workflow/WorkflowOverviewGraph.js.map +1 -1
- package/workflow/WorkflowRefinePanel.js +4 -4
- package/workflow/WorkflowRefinePanel.js.map +1 -1
- package/workflow/WorkflowRepairCard.js +4 -4
- package/workflow/WorkflowRepairCard.js.map +1 -1
- package/workflow/WorkflowRunDialog.js +2 -2
- package/workflow/WorkflowRunDialog.js.map +1 -1
- package/workflow/WorkflowRunForm.d.ts +1 -1
- package/workflow/WorkflowRunForm.d.ts.map +1 -1
- package/workflow/WorkflowTaskApprovalCard.d.ts +8 -1
- package/workflow/WorkflowTaskApprovalCard.d.ts.map +1 -1
- package/workflow/WorkflowTaskApprovalCard.js +13 -20
- package/workflow/WorkflowTaskApprovalCard.js.map +1 -1
- package/workflow/WorkflowTaskApprovalSummary.d.ts +2 -2
- package/workflow/WorkflowTaskApprovalSummary.d.ts.map +1 -1
- package/workflow/WorkflowTaskApprovalSummary.js +2 -2
- package/workflow/WorkflowTaskApprovalSummary.js.map +1 -1
- package/workflow/WorkflowTaskList.js +1 -1
- package/workflow/WorkflowTaskList.js.map +1 -1
- package/workflow/WorkflowTaskPalette.js +2 -2
- package/workflow/WorkflowTaskPalette.js.map +1 -1
- package/workflow/WorkflowVersionDiffViewer.js +1 -1
- package/workflow/WorkflowVersionDiffViewer.js.map +1 -1
- package/workflow/WorkflowVersionTimeline.js +2 -2
- package/workflow/WorkflowVersionTimeline.js.map +1 -1
- package/workflow/WorkflowVersionsTab.js +3 -3
- package/workflow/WorkflowVersionsTab.js.map +1 -1
- package/workflow/canvas-constants.d.ts +2 -2
- package/workflow/canvas-constants.d.ts.map +1 -1
- package/workflow/clipboard.d.ts +2 -2
- package/workflow/clipboard.d.ts.map +1 -1
- package/workflow/clipboard.js +2 -2
- package/workflow/clipboard.js.map +1 -1
- package/workflow/cncf-yaml-to-graph.d.ts +1 -1
- package/workflow/cncf-yaml-to-graph.d.ts.map +1 -1
- package/workflow/cncf-yaml-to-graph.js +3 -3
- package/workflow/cncf-yaml-to-graph.js.map +1 -1
- package/workflow/diff/DiffSummaryBar.d.ts +1 -1
- package/workflow/diff/DiffSummaryBar.d.ts.map +1 -1
- package/workflow/diff/build-diff-graph.d.ts +2 -2
- package/workflow/diff/build-diff-graph.d.ts.map +1 -1
- package/workflow/diff/graph-diff.d.ts +2 -2
- package/workflow/diff/graph-diff.d.ts.map +1 -1
- package/workflow/diff/graph-diff.js +1 -1
- package/workflow/diff/graph-diff.js.map +1 -1
- package/workflow/diff/index.d.ts +4 -4
- package/workflow/diff/index.d.ts.map +1 -1
- package/workflow/diff/index.js +3 -3
- package/workflow/diff/index.js.map +1 -1
- package/workflow/diff/types.d.ts +1 -1
- package/workflow/diff/types.d.ts.map +1 -1
- package/workflow/execution/derive-execution-overlays.d.ts +2 -2
- package/workflow/execution/derive-execution-overlays.d.ts.map +1 -1
- package/workflow/execution/derive-execution-overlays.js +1 -1
- package/workflow/execution/derive-execution-overlays.js.map +1 -1
- package/workflow/execution/derive-waterfall-entries.d.ts +1 -1
- package/workflow/execution/derive-waterfall-entries.d.ts.map +1 -1
- package/workflow/execution/index.d.ts +3 -3
- package/workflow/execution/index.d.ts.map +1 -1
- package/workflow/execution/index.js +3 -3
- package/workflow/execution/index.js.map +1 -1
- package/workflow/execution/useWaterfallEntries.d.ts +2 -2
- package/workflow/execution/useWaterfallEntries.d.ts.map +1 -1
- package/workflow/execution/useWaterfallEntries.js +1 -1
- package/workflow/execution/useWaterfallEntries.js.map +1 -1
- package/workflow/execution-comparison/ComparisonSummaryCards.d.ts +1 -1
- package/workflow/execution-comparison/ComparisonSummaryCards.d.ts.map +1 -1
- package/workflow/execution-comparison/ComparisonSummaryCards.js +1 -1
- package/workflow/execution-comparison/ComparisonSummaryCards.js.map +1 -1
- package/workflow/execution-comparison/ExecutionComparisonPicker.js +3 -3
- package/workflow/execution-comparison/ExecutionComparisonPicker.js.map +1 -1
- package/workflow/execution-comparison/ExecutionComparisonView.js +4 -4
- package/workflow/execution-comparison/ExecutionComparisonView.js.map +1 -1
- package/workflow/execution-comparison/TaskComparisonTable.d.ts +1 -1
- package/workflow/execution-comparison/TaskComparisonTable.d.ts.map +1 -1
- package/workflow/execution-comparison/TaskComparisonTable.js +1 -1
- package/workflow/execution-comparison/TaskComparisonTable.js.map +1 -1
- package/workflow/execution-comparison/derive-execution-comparison.d.ts +1 -1
- package/workflow/execution-comparison/derive-execution-comparison.d.ts.map +1 -1
- package/workflow/execution-comparison/derive-execution-comparison.js +1 -1
- package/workflow/execution-comparison/derive-execution-comparison.js.map +1 -1
- package/workflow/execution-comparison/index.d.ts +7 -7
- package/workflow/execution-comparison/index.d.ts.map +1 -1
- package/workflow/execution-comparison/index.js +6 -6
- package/workflow/execution-comparison/index.js.map +1 -1
- package/workflow/execution-comparison/types.d.ts +1 -1
- package/workflow/execution-comparison/types.d.ts.map +1 -1
- package/workflow/execution-comparison/useExecutionComparison.d.ts +1 -1
- package/workflow/execution-comparison/useExecutionComparison.d.ts.map +1 -1
- package/workflow/execution-comparison/useExecutionComparison.js +2 -2
- package/workflow/execution-comparison/useExecutionComparison.js.map +1 -1
- package/workflow/execution-history/ExecutionFilterBar.d.ts +1 -1
- package/workflow/execution-history/ExecutionFilterBar.d.ts.map +1 -1
- package/workflow/execution-history/ExecutionHistoryTable.d.ts +1 -1
- package/workflow/execution-history/ExecutionHistoryTable.d.ts.map +1 -1
- package/workflow/execution-history/ExecutionHistoryTable.js +3 -3
- package/workflow/execution-history/ExecutionHistoryTable.js.map +1 -1
- package/workflow/execution-history/FailureAnalysisPanel.js +1 -1
- package/workflow/execution-history/FailureAnalysisPanel.js.map +1 -1
- package/workflow/execution-history/HealthMetricsStrip.js +1 -1
- package/workflow/execution-history/HealthMetricsStrip.js.map +1 -1
- package/workflow/execution-history/WorkflowExecutionHistory.js +7 -7
- package/workflow/execution-history/WorkflowExecutionHistory.js.map +1 -1
- package/workflow/execution-history/index.d.ts +8 -8
- package/workflow/execution-history/index.d.ts.map +1 -1
- package/workflow/execution-history/index.js +8 -8
- package/workflow/execution-history/index.js.map +1 -1
- package/workflow/execution-history/useExecutionHistoryData.d.ts +1 -1
- package/workflow/execution-history/useExecutionHistoryData.d.ts.map +1 -1
- package/workflow/execution-history/useExecutionHistoryData.js +2 -2
- package/workflow/execution-history/useExecutionHistoryData.js.map +1 -1
- package/workflow/execution-inspector/AgentCallTab.d.ts +2 -2
- package/workflow/execution-inspector/AgentCallTab.d.ts.map +1 -1
- package/workflow/execution-inspector/AgentCallTab.js +4 -4
- package/workflow/execution-inspector/AgentCallTab.js.map +1 -1
- package/workflow/execution-inspector/ErrorTab.d.ts +1 -1
- package/workflow/execution-inspector/ErrorTab.d.ts.map +1 -1
- package/workflow/execution-inspector/ErrorTab.js +1 -1
- package/workflow/execution-inspector/ErrorTab.js.map +1 -1
- package/workflow/execution-inspector/EventLogTab.js +1 -1
- package/workflow/execution-inspector/EventLogTab.js.map +1 -1
- package/workflow/execution-inspector/ExecutionInspector.d.ts +22 -5
- package/workflow/execution-inspector/ExecutionInspector.d.ts.map +1 -1
- package/workflow/execution-inspector/ExecutionInspector.js +18 -15
- package/workflow/execution-inspector/ExecutionInspector.js.map +1 -1
- package/workflow/execution-inspector/InputOutputTab.d.ts +1 -1
- package/workflow/execution-inspector/InputOutputTab.d.ts.map +1 -1
- package/workflow/execution-inspector/InputOutputTab.js +2 -2
- package/workflow/execution-inspector/InputOutputTab.js.map +1 -1
- package/workflow/execution-inspector/RetriesTab.d.ts +1 -1
- package/workflow/execution-inspector/RetriesTab.d.ts.map +1 -1
- package/workflow/execution-inspector/RetriesTab.js +1 -1
- package/workflow/execution-inspector/RetriesTab.js.map +1 -1
- package/workflow/execution-inspector/StructuredDataViewer.js +1 -1
- package/workflow/execution-inspector/StructuredDataViewer.js.map +1 -1
- package/workflow/execution-inspector/SummaryTab.d.ts +1 -1
- package/workflow/execution-inspector/SummaryTab.d.ts.map +1 -1
- package/workflow/execution-inspector/SummaryTab.js +1 -1
- package/workflow/execution-inspector/SummaryTab.js.map +1 -1
- package/workflow/execution-inspector/derive-task-detail.d.ts +1 -1
- package/workflow/execution-inspector/derive-task-detail.d.ts.map +1 -1
- package/workflow/execution-inspector/derive-task-detail.js +2 -2
- package/workflow/execution-inspector/derive-task-detail.js.map +1 -1
- package/workflow/execution-inspector/index.d.ts +3 -3
- package/workflow/execution-inspector/index.d.ts.map +1 -1
- package/workflow/execution-inspector/index.js +3 -3
- package/workflow/execution-inspector/index.js.map +1 -1
- package/workflow/execution-inspector/useExecutionTaskDetail.d.ts +2 -2
- package/workflow/execution-inspector/useExecutionTaskDetail.d.ts.map +1 -1
- package/workflow/execution-inspector/useExecutionTaskDetail.js +1 -1
- package/workflow/execution-inspector/useExecutionTaskDetail.js.map +1 -1
- package/workflow/graph-commands.d.ts +2 -2
- package/workflow/graph-commands.d.ts.map +1 -1
- package/workflow/graph-commands.js +1 -1
- package/workflow/graph-commands.js.map +1 -1
- package/workflow/index.d.ts +119 -118
- package/workflow/index.d.ts.map +1 -1
- package/workflow/index.js +114 -113
- package/workflow/index.js.map +1 -1
- package/workflow/inspector/EdgeInspector.d.ts +1 -1
- package/workflow/inspector/EdgeInspector.d.ts.map +1 -1
- package/workflow/inspector/ExecutionInspectorAdapter.d.ts +1 -1
- package/workflow/inspector/ExecutionInspectorAdapter.d.ts.map +1 -1
- package/workflow/inspector/ExecutionInspectorAdapter.js +1 -1
- package/workflow/inspector/ExecutionInspectorAdapter.js.map +1 -1
- package/workflow/inspector/InspectorHeader.d.ts +2 -2
- package/workflow/inspector/InspectorHeader.d.ts.map +1 -1
- package/workflow/inspector/InspectorHeader.js +1 -1
- package/workflow/inspector/InspectorHeader.js.map +1 -1
- package/workflow/inspector/InspectorShell.d.ts +4 -4
- package/workflow/inspector/InspectorShell.d.ts.map +1 -1
- package/workflow/inspector/InspectorShell.js +16 -16
- package/workflow/inspector/InspectorShell.js.map +1 -1
- package/workflow/inspector/SentinelInspector.d.ts +1 -1
- package/workflow/inspector/SentinelInspector.d.ts.map +1 -1
- package/workflow/inspector/SentinelInspector.js +1 -1
- package/workflow/inspector/SentinelInspector.js.map +1 -1
- package/workflow/inspector/WorkflowSummaryPanel.d.ts +1 -1
- package/workflow/inspector/WorkflowSummaryPanel.d.ts.map +1 -1
- package/workflow/inspector/WorkflowSummaryPanel.js +2 -2
- package/workflow/inspector/WorkflowSummaryPanel.js.map +1 -1
- package/workflow/inspector/forms/AgentCallForm.d.ts +1 -1
- package/workflow/inspector/forms/AgentCallForm.d.ts.map +1 -1
- package/workflow/inspector/forms/HttpCallForm.d.ts +1 -1
- package/workflow/inspector/forms/HttpCallForm.d.ts.map +1 -1
- package/workflow/inspector/index.d.ts +30 -30
- package/workflow/inspector/index.d.ts.map +1 -1
- package/workflow/inspector/index.js +15 -15
- package/workflow/inspector/index.js.map +1 -1
- package/workflow/inspector/tabs/AdvancedTab.d.ts +1 -1
- package/workflow/inspector/tabs/AdvancedTab.d.ts.map +1 -1
- package/workflow/inspector/tabs/BranchesTab.d.ts +2 -2
- package/workflow/inspector/tabs/BranchesTab.d.ts.map +1 -1
- package/workflow/inspector/tabs/CatchTab.d.ts +2 -2
- package/workflow/inspector/tabs/CatchTab.d.ts.map +1 -1
- package/workflow/inspector/tabs/ConfigureTab.d.ts +3 -3
- package/workflow/inspector/tabs/ConfigureTab.d.ts.map +1 -1
- package/workflow/inspector/tabs/ConfigureTab.js +5 -5
- package/workflow/inspector/tabs/ConfigureTab.js.map +1 -1
- package/workflow/inspector/tabs/DataTab.d.ts +1 -1
- package/workflow/inspector/tabs/DataTab.d.ts.map +1 -1
- package/workflow/inspector/tabs/DocsTab.d.ts +1 -1
- package/workflow/inspector/tabs/DocsTab.d.ts.map +1 -1
- package/workflow/inspector/tabs/IterationTab.d.ts +2 -2
- package/workflow/inspector/tabs/IterationTab.d.ts.map +1 -1
- package/workflow/inspector/tabs/RuntimeTab.d.ts +2 -2
- package/workflow/inspector/tabs/RuntimeTab.d.ts.map +1 -1
- package/workflow/inspector/task-to-yaml.d.ts +1 -1
- package/workflow/inspector/task-to-yaml.d.ts.map +1 -1
- package/workflow/inspector/task-to-yaml.js +1 -1
- package/workflow/inspector/task-to-yaml.js.map +1 -1
- package/workflow/inspector/types.d.ts +1 -1
- package/workflow/inspector/types.d.ts.map +1 -1
- package/workflow/inspector/useInspectorTabs.d.ts +2 -2
- package/workflow/inspector/useInspectorTabs.d.ts.map +1 -1
- package/workflow/inspector/useNestedTaskEditor.d.ts +2 -2
- package/workflow/inspector/useNestedTaskEditor.d.ts.map +1 -1
- package/workflow/inspector/useNestedTaskEditor.js +1 -1
- package/workflow/inspector/useNestedTaskEditor.js.map +1 -1
- package/workflow/instance/CreateWorkflowInstanceDialog.js +3 -3
- package/workflow/instance/CreateWorkflowInstanceDialog.js.map +1 -1
- package/workflow/instance/RunVisibilityControl.js +1 -1
- package/workflow/instance/RunVisibilityControl.js.map +1 -1
- package/workflow/instance/WorkflowInstanceDetailPanel.js +9 -9
- package/workflow/instance/WorkflowInstanceDetailPanel.js.map +1 -1
- package/workflow/instance/WorkflowInstanceList.js +5 -5
- package/workflow/instance/WorkflowInstanceList.js.map +1 -1
- package/workflow/instance/index.d.ts +10 -10
- package/workflow/instance/index.d.ts.map +1 -1
- package/workflow/instance/index.js +10 -10
- package/workflow/instance/index.js.map +1 -1
- package/workflow/instance/useCreateWorkflowInstance.js +2 -2
- package/workflow/instance/useCreateWorkflowInstance.js.map +1 -1
- package/workflow/instance/useDeleteWorkflowInstance.js +2 -2
- package/workflow/instance/useDeleteWorkflowInstance.js.map +1 -1
- package/workflow/instance/useUpdateWorkflowInstance.js +2 -2
- package/workflow/instance/useUpdateWorkflowInstance.js.map +1 -1
- package/workflow/instance/useUpdateWorkflowInstanceExecutionVisibility.js +2 -2
- package/workflow/instance/useUpdateWorkflowInstanceExecutionVisibility.js.map +1 -1
- package/workflow/instance/useWorkflowInstance.js +2 -2
- package/workflow/instance/useWorkflowInstance.js.map +1 -1
- package/workflow/kind-metadata.d.ts +1 -1
- package/workflow/kind-metadata.d.ts.map +1 -1
- package/workflow/layout/apply-dagre-layout.d.ts +2 -2
- package/workflow/layout/apply-dagre-layout.d.ts.map +1 -1
- package/workflow/layout/apply-dagre-layout.js +2 -2
- package/workflow/layout/apply-dagre-layout.js.map +1 -1
- package/workflow/layout/dagre-layout-engine.d.ts +1 -1
- package/workflow/layout/dagre-layout-engine.d.ts.map +1 -1
- package/workflow/layout/dagre-layout-engine.js +2 -2
- package/workflow/layout/dagre-layout-engine.js.map +1 -1
- package/workflow/layout/elk-layout-engine.d.ts +1 -1
- package/workflow/layout/elk-layout-engine.d.ts.map +1 -1
- package/workflow/layout/elk-layout-engine.js +2 -2
- package/workflow/layout/elk-layout-engine.js.map +1 -1
- package/workflow/layout/index.d.ts +14 -14
- package/workflow/layout/index.d.ts.map +1 -1
- package/workflow/layout/index.js +9 -9
- package/workflow/layout/index.js.map +1 -1
- package/workflow/layout/layout-postprocessor.d.ts +2 -2
- package/workflow/layout/layout-postprocessor.d.ts.map +1 -1
- package/workflow/layout/port-assignment.d.ts +2 -2
- package/workflow/layout/port-assignment.d.ts.map +1 -1
- package/workflow/layout/port-assignment.js +1 -1
- package/workflow/layout/port-assignment.js.map +1 -1
- package/workflow/layout/registry-dimensions.d.ts +2 -2
- package/workflow/layout/registry-dimensions.d.ts.map +1 -1
- package/workflow/layout/registry-dimensions.js +3 -3
- package/workflow/layout/registry-dimensions.js.map +1 -1
- package/workflow/layout/types.d.ts +1 -1
- package/workflow/layout/types.d.ts.map +1 -1
- package/workflow/layout/use-workflow-layout.d.ts +2 -2
- package/workflow/layout/use-workflow-layout.d.ts.map +1 -1
- package/workflow/layout/use-workflow-layout.js +1 -1
- package/workflow/layout/use-workflow-layout.js.map +1 -1
- package/workflow/layout/useElkLayoutEngine.d.ts +1 -1
- package/workflow/layout/useElkLayoutEngine.d.ts.map +1 -1
- package/workflow/layout/useElkLayoutEngine.js +1 -1
- package/workflow/layout/useElkLayoutEngine.js.map +1 -1
- package/workflow/layout/workflow-preprocessor.d.ts +1 -1
- package/workflow/layout/workflow-preprocessor.d.ts.map +1 -1
- package/workflow/layout/workflow-preprocessor.js +3 -3
- package/workflow/layout/workflow-preprocessor.js.map +1 -1
- package/workflow/node-shell/DiffBadge.d.ts +1 -1
- package/workflow/node-shell/DiffBadge.d.ts.map +1 -1
- package/workflow/node-shell/ExecutionBadge.d.ts +1 -1
- package/workflow/node-shell/ExecutionBadge.d.ts.map +1 -1
- package/workflow/node-shell/NodeActions.js +4 -4
- package/workflow/node-shell/NodeActions.js.map +1 -1
- package/workflow/node-shell/NodeContent.d.ts +1 -1
- package/workflow/node-shell/NodeContent.d.ts.map +1 -1
- package/workflow/node-shell/NodeContent.js +1 -1
- package/workflow/node-shell/NodeContent.js.map +1 -1
- package/workflow/node-shell/NodeHandles.d.ts +2 -2
- package/workflow/node-shell/NodeHandles.d.ts.map +1 -1
- package/workflow/node-shell/NodeShell.d.ts +3 -3
- package/workflow/node-shell/NodeShell.d.ts.map +1 -1
- package/workflow/node-shell/NodeShell.js +1 -1
- package/workflow/node-shell/NodeShell.js.map +1 -1
- package/workflow/node-shell/index.d.ts +8 -8
- package/workflow/node-shell/index.d.ts.map +1 -1
- package/workflow/node-shell/index.js +8 -8
- package/workflow/node-shell/index.js.map +1 -1
- package/workflow/node-shell/shape-paths.d.ts +1 -1
- package/workflow/node-shell/shape-paths.d.ts.map +1 -1
- package/workflow/picker/BranchAddPopover.js +1 -1
- package/workflow/picker/BranchAddPopover.js.map +1 -1
- package/workflow/picker/compatibility.d.ts +2 -2
- package/workflow/picker/compatibility.d.ts.map +1 -1
- package/workflow/picker/compatibility.js +1 -1
- package/workflow/picker/compatibility.js.map +1 -1
- package/workflow/picker/index.d.ts +10 -10
- package/workflow/picker/index.d.ts.map +1 -1
- package/workflow/picker/index.js +5 -5
- package/workflow/picker/index.js.map +1 -1
- package/workflow/picker/suggestions.d.ts +1 -1
- package/workflow/picker/suggestions.d.ts.map +1 -1
- package/workflow/picker/usePickerData.d.ts +3 -3
- package/workflow/picker/usePickerData.d.ts.map +1 -1
- package/workflow/picker/usePickerData.js +5 -5
- package/workflow/picker/usePickerData.js.map +1 -1
- package/workflow/task-type-visual-registry.js +1 -1
- package/workflow/task-type-visual-registry.js.map +1 -1
- package/workflow/templates/WorkflowTemplateCard.d.ts +1 -1
- package/workflow/templates/WorkflowTemplateCard.d.ts.map +1 -1
- package/workflow/templates/WorkflowTemplateCard.js +3 -3
- package/workflow/templates/WorkflowTemplateCard.js.map +1 -1
- package/workflow/templates/WorkflowTemplateGallery.d.ts +1 -1
- package/workflow/templates/WorkflowTemplateGallery.d.ts.map +1 -1
- package/workflow/templates/WorkflowTemplateGallery.js +4 -4
- package/workflow/templates/WorkflowTemplateGallery.js.map +1 -1
- package/workflow/templates/WorkflowTemplatePreview.d.ts +1 -1
- package/workflow/templates/WorkflowTemplatePreview.d.ts.map +1 -1
- package/workflow/templates/WorkflowTemplatePreview.js +3 -3
- package/workflow/templates/WorkflowTemplatePreview.js.map +1 -1
- package/workflow/templates/derive-template-metadata.d.ts +1 -1
- package/workflow/templates/derive-template-metadata.d.ts.map +1 -1
- package/workflow/templates/index.d.ts +9 -9
- package/workflow/templates/index.d.ts.map +1 -1
- package/workflow/templates/index.js +5 -5
- package/workflow/templates/index.js.map +1 -1
- package/workflow/templates/types.d.ts +1 -1
- package/workflow/templates/types.d.ts.map +1 -1
- package/workflow/topologyFromTasks.d.ts +1 -1
- package/workflow/topologyFromTasks.d.ts.map +1 -1
- package/workflow/topologyFromTasks.js +1 -1
- package/workflow/topologyFromTasks.js.map +1 -1
- package/workflow/useActiveTaskName.d.ts +1 -1
- package/workflow/useActiveTaskName.d.ts.map +1 -1
- package/workflow/useCanvasKeyboardShortcuts.d.ts +1 -1
- package/workflow/useCanvasKeyboardShortcuts.d.ts.map +1 -1
- package/workflow/useDiagnoseExecutionFlow.js +7 -7
- package/workflow/useDiagnoseExecutionFlow.js.map +1 -1
- package/workflow/useExecutionAnnouncements.d.ts +1 -1
- package/workflow/useExecutionAnnouncements.d.ts.map +1 -1
- package/workflow/useExplainWorkflowFlow.js +6 -6
- package/workflow/useExplainWorkflowFlow.js.map +1 -1
- package/workflow/useFollowExecution.js +1 -1
- package/workflow/useFollowExecution.js.map +1 -1
- package/workflow/useGraphHistory.d.ts +2 -2
- package/workflow/useGraphHistory.d.ts.map +1 -1
- package/workflow/useGraphHistory.js +1 -1
- package/workflow/useGraphHistory.js.map +1 -1
- package/workflow/useInstanceEnvKeys.js +1 -1
- package/workflow/useInstanceEnvKeys.js.map +1 -1
- package/workflow/usePendingApprovals.js +2 -2
- package/workflow/usePendingApprovals.js.map +1 -1
- package/workflow/useRefineWorkflowFlow.js +7 -7
- package/workflow/useRefineWorkflowFlow.js.map +1 -1
- package/workflow/useResolveAgentExecutionSession.js +2 -2
- package/workflow/useResolveAgentExecutionSession.js.map +1 -1
- package/workflow/useRunWorkflowFlow.js +6 -6
- package/workflow/useRunWorkflowFlow.js.map +1 -1
- package/workflow/useTaskKindRegistry.d.ts +1 -1
- package/workflow/useTaskKindRegistry.d.ts.map +1 -1
- package/workflow/useTaskKindRegistry.js +1 -1
- package/workflow/useTaskKindRegistry.js.map +1 -1
- package/workflow/useUpdateWorkflow.js +2 -2
- package/workflow/useUpdateWorkflow.js.map +1 -1
- package/workflow/useWorkflow.js +2 -2
- package/workflow/useWorkflow.js.map +1 -1
- package/workflow/useWorkflowArchitectFlow.js +9 -9
- package/workflow/useWorkflowArchitectFlow.js.map +1 -1
- package/workflow/useWorkflowCanvas.d.ts +3 -3
- package/workflow/useWorkflowCanvas.d.ts.map +1 -1
- package/workflow/useWorkflowCanvas.js +10 -10
- package/workflow/useWorkflowCanvas.js.map +1 -1
- package/workflow/useWorkflowCount.d.ts +1 -1
- package/workflow/useWorkflowCount.d.ts.map +1 -1
- package/workflow/useWorkflowCount.js +2 -2
- package/workflow/useWorkflowCount.js.map +1 -1
- package/workflow/useWorkflowDashboardSummary.js +2 -2
- package/workflow/useWorkflowDashboardSummary.js.map +1 -1
- package/workflow/useWorkflowDiffGraph.d.ts +1 -1
- package/workflow/useWorkflowDiffGraph.d.ts.map +1 -1
- package/workflow/useWorkflowDiffGraph.js +3 -3
- package/workflow/useWorkflowDiffGraph.js.map +1 -1
- package/workflow/useWorkflowEditor.d.ts +1 -1
- package/workflow/useWorkflowEditor.d.ts.map +1 -1
- package/workflow/useWorkflowEditor.js +4 -4
- package/workflow/useWorkflowEditor.js.map +1 -1
- package/workflow/useWorkflowExecution.js +4 -4
- package/workflow/useWorkflowExecution.js.map +1 -1
- package/workflow/useWorkflowExecutionActions.d.ts +62 -4
- package/workflow/useWorkflowExecutionActions.d.ts.map +1 -1
- package/workflow/useWorkflowExecutionActions.js +96 -20
- package/workflow/useWorkflowExecutionActions.js.map +1 -1
- package/workflow/useWorkflowExecutionArtifacts.js +2 -2
- package/workflow/useWorkflowExecutionArtifacts.js.map +1 -1
- package/workflow/useWorkflowExecutionEventLog.js +2 -2
- package/workflow/useWorkflowExecutionEventLog.js.map +1 -1
- package/workflow/useWorkflowExecutionEventStream.d.ts +2 -2
- package/workflow/useWorkflowExecutionEventStream.d.ts.map +1 -1
- package/workflow/useWorkflowExecutionEventStream.js +4 -4
- package/workflow/useWorkflowExecutionEventStream.js.map +1 -1
- package/workflow/useWorkflowExecutionGraph.d.ts +1 -1
- package/workflow/useWorkflowExecutionGraph.d.ts.map +1 -1
- package/workflow/useWorkflowExecutionGraph.js +10 -10
- package/workflow/useWorkflowExecutionGraph.js.map +1 -1
- package/workflow/useWorkflowExecutionList.js +2 -2
- package/workflow/useWorkflowExecutionList.js.map +1 -1
- package/workflow/useWorkflowInstances.js +2 -2
- package/workflow/useWorkflowInstances.js.map +1 -1
- package/workflow/useWorkflowList.d.ts +1 -1
- package/workflow/useWorkflowList.d.ts.map +1 -1
- package/workflow/useWorkflowList.js +2 -2
- package/workflow/useWorkflowList.js.map +1 -1
- package/workflow/useWorkflowOverviewGraph.js +4 -4
- package/workflow/useWorkflowOverviewGraph.js.map +1 -1
- package/workflow/useWorkflowSave.js +2 -2
- package/workflow/useWorkflowSave.js.map +1 -1
- package/workflow/useWorkflowTopology.js +1 -1
- package/workflow/useWorkflowTopology.js.map +1 -1
- package/workflow/useWorkflowValidation.d.ts +1 -1
- package/workflow/useWorkflowValidation.d.ts.map +1 -1
- package/workflow/useWorkflowValidation.js +1 -1
- package/workflow/useWorkflowValidation.js.map +1 -1
- package/workflow/useWorkflowVersion.js +2 -2
- package/workflow/useWorkflowVersion.js.map +1 -1
- package/workflow/useWorkflowVersionDiff.d.ts +1 -1
- package/workflow/useWorkflowVersionDiff.d.ts.map +1 -1
- package/workflow/useWorkflowVersionDiff.js +3 -3
- package/workflow/useWorkflowVersionDiff.js.map +1 -1
- package/workflow/useWorkflowVersions.d.ts +1 -1
- package/workflow/useWorkflowVersions.d.ts.map +1 -1
- package/workflow/useWorkflowVersions.js +2 -2
- package/workflow/useWorkflowVersions.js.map +1 -1
- package/workflow/useWorkflowYaml.js +2 -2
- package/workflow/useWorkflowYaml.js.map +1 -1
- package/workflow/waterfall/WaterfallBar.d.ts +1 -1
- package/workflow/waterfall/WaterfallBar.d.ts.map +1 -1
- package/workflow/waterfall/WaterfallRow.d.ts +1 -1
- package/workflow/waterfall/WaterfallRow.d.ts.map +1 -1
- package/workflow/waterfall/WaterfallRow.js +2 -2
- package/workflow/waterfall/WaterfallRow.js.map +1 -1
- package/workflow/waterfall/WaterfallScale.d.ts +1 -1
- package/workflow/waterfall/WaterfallScale.d.ts.map +1 -1
- package/workflow/waterfall/WaterfallScale.js +1 -1
- package/workflow/waterfall/WaterfallScale.js.map +1 -1
- package/workflow/waterfall/WaterfallTimeline.d.ts +1 -1
- package/workflow/waterfall/WaterfallTimeline.d.ts.map +1 -1
- package/workflow/waterfall/WaterfallTimeline.js +3 -3
- package/workflow/waterfall/WaterfallTimeline.js.map +1 -1
- package/workflow/waterfall/WaterfallTooltip.d.ts +1 -1
- package/workflow/waterfall/WaterfallTooltip.d.ts.map +1 -1
- package/workflow/waterfall/WaterfallTooltip.js +1 -1
- package/workflow/waterfall/WaterfallTooltip.js.map +1 -1
- package/workflow/waterfall/index.d.ts +5 -5
- package/workflow/waterfall/index.d.ts.map +1 -1
- package/workflow/waterfall/index.js +5 -5
- package/workflow/waterfall/index.js.map +1 -1
- package/workflow/workflow-graph-conversions.d.ts +4 -4
- package/workflow/workflow-graph-conversions.d.ts.map +1 -1
- package/workflow/workflow-graph-conversions.js +4 -4
- package/workflow/workflow-graph-conversions.js.map +1 -1
- package/workflow/workflow-graph-model.d.ts +1 -1
- package/workflow/workflow-graph-model.d.ts.map +1 -1
- package/workspace/WorkspaceEditor.d.ts +2 -2
- package/workspace/WorkspaceEditor.d.ts.map +1 -1
- package/workspace/WorkspaceEditor.js +3 -3
- package/workspace/WorkspaceEditor.js.map +1 -1
- package/workspace/WorkspaceEntryFiles.d.ts +2 -2
- package/workspace/WorkspaceEntryFiles.d.ts.map +1 -1
- package/workspace/WorkspaceEntryFiles.js +2 -2
- package/workspace/WorkspaceEntryFiles.js.map +1 -1
- package/workspace/WorkspaceFileLister.d.ts +1 -1
- package/workspace/WorkspaceFileLister.d.ts.map +1 -1
- package/workspace/index.d.ts +15 -15
- package/workspace/index.d.ts.map +1 -1
- package/workspace/index.js +7 -7
- package/workspace/index.js.map +1 -1
- package/workspace/useWorkspaceFiles.d.ts +3 -3
- package/workspace/useWorkspaceFiles.d.ts.map +1 -1
- package/workspace/useWorkspaceFiles.js +2 -2
- package/workspace/useWorkspaceFiles.js.map +1 -1
- package/workspace/useWorkspaceSources.js +2 -2
- package/workspace/useWorkspaceSources.js.map +1 -1
- package/session/inspector/PlanTab.d.ts +0 -15
- package/session/inspector/PlanTab.d.ts.map +0 -1
- package/session/inspector/PlanTab.js +0 -19
- package/session/inspector/PlanTab.js.map +0 -1
- package/src/session/inspector/PlanTab.tsx +0 -31
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sub-agent file-review badges (DD-24/T05_0 follow-up).
|
|
3
|
+
*
|
|
4
|
+
* A sub-agent's flowed file-edit row is stamped by the runner with the PARENT
|
|
5
|
+
* turn's change set id (sub-agent writes fold into the parent set). These tests
|
|
6
|
+
* lock the React side: a stamped row rendered inside a `SubAgentSection`
|
|
7
|
+
* resolves its review-state badge against the session-wide `FileReviewContext`
|
|
8
|
+
* map, and — end to end through `MessageThread` — that map is built from the
|
|
9
|
+
* parent execution's `status.fileChangeSets` and reaches the nested row.
|
|
10
|
+
*
|
|
11
|
+
* The per-row badge resolution itself (pending/kept/discarded/none) is covered
|
|
12
|
+
* exhaustively in `ToolCallItem.test.tsx`; here the emphasis is the SUB-AGENT
|
|
13
|
+
* wiring — the novel path this change enables.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
|
17
|
+
import { render, screen, cleanup } from "@testing-library/react";
|
|
18
|
+
import { create } from "@bufbuild/protobuf";
|
|
19
|
+
import {
|
|
20
|
+
AgentExecutionSchema,
|
|
21
|
+
AgentExecutionStatusSchema,
|
|
22
|
+
type AgentExecution,
|
|
23
|
+
} from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/api_pb";
|
|
24
|
+
import { AgentExecutionSpecSchema } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/spec_pb";
|
|
25
|
+
import { ApiResourceMetadataSchema } from "@stigmer/protos/ai/stigmer/commons/apiresource/metadata_pb";
|
|
26
|
+
import {
|
|
27
|
+
AgentMessageSchema,
|
|
28
|
+
ToolCallSchema,
|
|
29
|
+
FileContentSchema,
|
|
30
|
+
type AgentMessage,
|
|
31
|
+
} from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/message_pb";
|
|
32
|
+
import {
|
|
33
|
+
SubAgentExecutionSchema,
|
|
34
|
+
type SubAgentExecution,
|
|
35
|
+
} from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/subagent_pb";
|
|
36
|
+
import {
|
|
37
|
+
CapturedFileChangeSchema,
|
|
38
|
+
FileChangeSetSchema,
|
|
39
|
+
FileDecisionSchema,
|
|
40
|
+
type FileChangeSet,
|
|
41
|
+
} from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/filereview_pb";
|
|
42
|
+
import {
|
|
43
|
+
DiffCompleteness,
|
|
44
|
+
ExecutionPhase,
|
|
45
|
+
FileChangeKind,
|
|
46
|
+
FileChangeSetStatus,
|
|
47
|
+
FileDecisionAction,
|
|
48
|
+
FileDecisionScope,
|
|
49
|
+
MessageType,
|
|
50
|
+
SubAgentStatus,
|
|
51
|
+
ToolCallStatus,
|
|
52
|
+
} from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/enum_pb";
|
|
53
|
+
import { SubAgentSection } from "../SubAgentSection";
|
|
54
|
+
import { ApprovalContext, type ApprovalContextValue } from "../ApprovalContext";
|
|
55
|
+
import { FileReviewContext } from "../FileReviewContext";
|
|
56
|
+
import { MessageThread } from "../MessageThread";
|
|
57
|
+
|
|
58
|
+
const SET_ID = "exec-1:0";
|
|
59
|
+
const ROW_PATH = "src/a.ts";
|
|
60
|
+
|
|
61
|
+
const emptyApprovalCtx: ApprovalContextValue = {
|
|
62
|
+
approvalsByToolCallId: new Map(),
|
|
63
|
+
submittingIds: new Set(),
|
|
64
|
+
errorsByToolCallId: new Map(),
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
afterEach(cleanup);
|
|
68
|
+
|
|
69
|
+
/** A sub-agent whose message carries one stamped, flowed file-edit row. */
|
|
70
|
+
function subAgentWithStampedEdit(
|
|
71
|
+
status: SubAgentStatus,
|
|
72
|
+
fileChangeSetId: string,
|
|
73
|
+
rowPath = ROW_PATH,
|
|
74
|
+
): SubAgentExecution {
|
|
75
|
+
return create(SubAgentExecutionSchema, {
|
|
76
|
+
id: "sa-1",
|
|
77
|
+
name: "code_editor",
|
|
78
|
+
status,
|
|
79
|
+
messages: [
|
|
80
|
+
create(AgentMessageSchema, {
|
|
81
|
+
type: MessageType.MESSAGE_AI,
|
|
82
|
+
toolCalls: [
|
|
83
|
+
create(ToolCallSchema, {
|
|
84
|
+
id: "sa-tc-edit",
|
|
85
|
+
name: "edit",
|
|
86
|
+
status: ToolCallStatus.TOOL_CALL_COMPLETED,
|
|
87
|
+
args: { path: rowPath, old_string: "a", new_string: "b" },
|
|
88
|
+
fileChangeSetId,
|
|
89
|
+
}),
|
|
90
|
+
],
|
|
91
|
+
}),
|
|
92
|
+
],
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/** A change set carrying one change for {@link ROW_PATH}, with optional verdict. */
|
|
97
|
+
function reviewSet(
|
|
98
|
+
status: FileChangeSetStatus,
|
|
99
|
+
decisions: FileDecisionAction[] = [],
|
|
100
|
+
): FileChangeSet {
|
|
101
|
+
return create(FileChangeSetSchema, {
|
|
102
|
+
id: SET_ID,
|
|
103
|
+
status,
|
|
104
|
+
aggregateDigest: "agg-1",
|
|
105
|
+
diffCompleteness: DiffCompleteness.COMPLETE,
|
|
106
|
+
changes: [
|
|
107
|
+
create(CapturedFileChangeSchema, {
|
|
108
|
+
id: `${SET_ID}:${ROW_PATH}`,
|
|
109
|
+
pathBefore: ROW_PATH,
|
|
110
|
+
pathAfter: ROW_PATH,
|
|
111
|
+
kind: FileChangeKind.MODIFY,
|
|
112
|
+
before: create(FileContentSchema, { body: { case: "inline", value: "old\n" } }),
|
|
113
|
+
after: create(FileContentSchema, { body: { case: "inline", value: "new\n" } }),
|
|
114
|
+
fileDigest: "d-a",
|
|
115
|
+
diffComplete: true,
|
|
116
|
+
}),
|
|
117
|
+
],
|
|
118
|
+
decisions: decisions.map((action) =>
|
|
119
|
+
create(FileDecisionSchema, {
|
|
120
|
+
changeSetId: SET_ID,
|
|
121
|
+
scope: FileDecisionScope.CHANGE_SET,
|
|
122
|
+
action,
|
|
123
|
+
}),
|
|
124
|
+
),
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
function renderSubAgentRow(sub: SubAgentExecution, set: FileChangeSet | null) {
|
|
129
|
+
const map = set ? new Map([[set.id, set]]) : new Map<string, FileChangeSet>();
|
|
130
|
+
return render(
|
|
131
|
+
<ApprovalContext.Provider value={emptyApprovalCtx}>
|
|
132
|
+
<FileReviewContext.Provider value={{ changeSetsById: map }}>
|
|
133
|
+
{/* collapsible=false renders the nested rows flat — deterministic, no
|
|
134
|
+
dependence on the card's auto-disclosure state. */}
|
|
135
|
+
<SubAgentSection subAgentExecution={sub} collapsible={false} />
|
|
136
|
+
</FileReviewContext.Provider>
|
|
137
|
+
</ApprovalContext.Provider>,
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
function badge(container: HTMLElement): Element | null {
|
|
142
|
+
return container.querySelector('[data-cursor-target="file-review-row-badge"]');
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
describe("sub-agent row badges (SubAgentSection)", () => {
|
|
146
|
+
it("badges a stamped sub-agent edit row 'Pending review' while its set awaits review", () => {
|
|
147
|
+
const { container } = renderSubAgentRow(
|
|
148
|
+
subAgentWithStampedEdit(SubAgentStatus.SUB_AGENT_COMPLETED, SET_ID),
|
|
149
|
+
reviewSet(FileChangeSetStatus.AWAITING_REVIEW),
|
|
150
|
+
);
|
|
151
|
+
expect(badge(container)?.textContent).toBe("Pending review");
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
it("flips a sub-agent row to the file's verdict once the set is decided", () => {
|
|
155
|
+
const kept = renderSubAgentRow(
|
|
156
|
+
subAgentWithStampedEdit(SubAgentStatus.SUB_AGENT_COMPLETED, SET_ID),
|
|
157
|
+
reviewSet(FileChangeSetStatus.RECONCILED, [FileDecisionAction.APPROVE]),
|
|
158
|
+
);
|
|
159
|
+
expect(badge(kept.container)?.textContent).toBe("Kept");
|
|
160
|
+
cleanup();
|
|
161
|
+
|
|
162
|
+
const discarded = renderSubAgentRow(
|
|
163
|
+
subAgentWithStampedEdit(SubAgentStatus.SUB_AGENT_COMPLETED, SET_ID),
|
|
164
|
+
reviewSet(FileChangeSetStatus.RECONCILED, [FileDecisionAction.REJECT]),
|
|
165
|
+
);
|
|
166
|
+
expect(badge(discarded.container)?.textContent).toBe("Discarded");
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
it("shows no badge when the stamped set cannot be resolved (graceful degrade, DD-24 D3)", () => {
|
|
170
|
+
// Row stamped with a set id absent from the session map.
|
|
171
|
+
const orphan = renderSubAgentRow(
|
|
172
|
+
subAgentWithStampedEdit(SubAgentStatus.SUB_AGENT_COMPLETED, "exec-1:missing"),
|
|
173
|
+
reviewSet(FileChangeSetStatus.AWAITING_REVIEW),
|
|
174
|
+
);
|
|
175
|
+
expect(badge(orphan.container)).toBeNull();
|
|
176
|
+
cleanup();
|
|
177
|
+
|
|
178
|
+
// Row stamped with the right (settled) set, but its path is not in the set's
|
|
179
|
+
// changes: the per-file verdict cannot be resolved, so no badge. (An
|
|
180
|
+
// AWAITING_REVIEW set badges every stamped row 'pending' regardless of path —
|
|
181
|
+
// path resolution only decides the verdict of a SETTLED set.)
|
|
182
|
+
const pathMiss = renderSubAgentRow(
|
|
183
|
+
subAgentWithStampedEdit(SubAgentStatus.SUB_AGENT_COMPLETED, SET_ID, "src/other.ts"),
|
|
184
|
+
reviewSet(FileChangeSetStatus.RECONCILED, [FileDecisionAction.APPROVE]),
|
|
185
|
+
);
|
|
186
|
+
expect(badge(pathMiss.container)).toBeNull();
|
|
187
|
+
});
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
// ---------------------------------------------------------------------------
|
|
191
|
+
// End-to-end through MessageThread: proves the session-wide FileReviewContext
|
|
192
|
+
// map is built from the PARENT execution's status.fileChangeSets and reaches a
|
|
193
|
+
// stamped row nested inside a sub-agent (the map + provider + nested-render path).
|
|
194
|
+
// ---------------------------------------------------------------------------
|
|
195
|
+
|
|
196
|
+
describe("sub-agent row badges (MessageThread integration)", () => {
|
|
197
|
+
beforeEach(() => {
|
|
198
|
+
// useAutoScroll depends on browser APIs absent in happy-dom.
|
|
199
|
+
vi.stubGlobal(
|
|
200
|
+
"IntersectionObserver",
|
|
201
|
+
vi.fn(() => ({
|
|
202
|
+
observe: vi.fn(),
|
|
203
|
+
unobserve: vi.fn(),
|
|
204
|
+
disconnect: vi.fn(),
|
|
205
|
+
takeRecords: vi.fn(() => []),
|
|
206
|
+
root: null,
|
|
207
|
+
rootMargin: "",
|
|
208
|
+
thresholds: [0],
|
|
209
|
+
})),
|
|
210
|
+
);
|
|
211
|
+
vi.stubGlobal(
|
|
212
|
+
"ResizeObserver",
|
|
213
|
+
vi.fn(() => ({ observe: vi.fn(), unobserve: vi.fn(), disconnect: vi.fn() })),
|
|
214
|
+
);
|
|
215
|
+
vi.stubGlobal(
|
|
216
|
+
"requestAnimationFrame",
|
|
217
|
+
vi.fn((cb: FrameRequestCallback) => {
|
|
218
|
+
cb(performance.now());
|
|
219
|
+
return 1;
|
|
220
|
+
}),
|
|
221
|
+
);
|
|
222
|
+
vi.stubGlobal("cancelAnimationFrame", vi.fn());
|
|
223
|
+
});
|
|
224
|
+
|
|
225
|
+
afterEach(() => {
|
|
226
|
+
vi.restoreAllMocks();
|
|
227
|
+
});
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* A live execution that delegated to a sub-agent which edited a file this
|
|
231
|
+
* turn. The parent carries the `task` tool call (matched to the sub-agent by
|
|
232
|
+
* id) and the change set on `status.fileChangeSets`; the sub-agent (running,
|
|
233
|
+
* so its card auto-opens) carries the stamped edit row.
|
|
234
|
+
*/
|
|
235
|
+
function makeExecWithSubAgentEdit(): AgentExecution {
|
|
236
|
+
const exec = create(AgentExecutionSchema);
|
|
237
|
+
exec.metadata = create(ApiResourceMetadataSchema, { id: "exec-1" });
|
|
238
|
+
exec.spec = create(AgentExecutionSpecSchema, { message: "Delegate an edit" });
|
|
239
|
+
|
|
240
|
+
const status = create(AgentExecutionStatusSchema);
|
|
241
|
+
status.phase = ExecutionPhase.EXECUTION_IN_PROGRESS;
|
|
242
|
+
const aiMsg: AgentMessage = create(AgentMessageSchema, {
|
|
243
|
+
type: MessageType.MESSAGE_AI,
|
|
244
|
+
content: "Delegating.",
|
|
245
|
+
toolCalls: [
|
|
246
|
+
create(ToolCallSchema, {
|
|
247
|
+
id: "sa-1", // matches the SubAgentExecution id
|
|
248
|
+
name: "task",
|
|
249
|
+
status: ToolCallStatus.TOOL_CALL_COMPLETED,
|
|
250
|
+
}),
|
|
251
|
+
],
|
|
252
|
+
});
|
|
253
|
+
status.messages = [aiMsg];
|
|
254
|
+
status.subAgentExecutions = [
|
|
255
|
+
subAgentWithStampedEdit(SubAgentStatus.SUB_AGENT_IN_PROGRESS, SET_ID),
|
|
256
|
+
];
|
|
257
|
+
status.fileChangeSets = [reviewSet(FileChangeSetStatus.AWAITING_REVIEW)];
|
|
258
|
+
exec.status = status;
|
|
259
|
+
return exec;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
it("badges a stamped sub-agent row from a set on the parent execution's fileChangeSets", () => {
|
|
263
|
+
render(
|
|
264
|
+
<MessageThread
|
|
265
|
+
executions={[]}
|
|
266
|
+
activeStreamExecution={makeExecWithSubAgentEdit()}
|
|
267
|
+
showFileReviewRecords
|
|
268
|
+
/>,
|
|
269
|
+
);
|
|
270
|
+
const el = document.querySelector('[data-cursor-target="file-review-row-badge"]');
|
|
271
|
+
expect(el?.textContent).toBe("Pending review");
|
|
272
|
+
});
|
|
273
|
+
});
|
|
@@ -12,9 +12,14 @@ import {
|
|
|
12
12
|
ToolCallSchema,
|
|
13
13
|
} from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/message_pb";
|
|
14
14
|
import { SubAgentExecutionSchema } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/subagent_pb";
|
|
15
|
+
import {
|
|
16
|
+
TodoItemSchema,
|
|
17
|
+
type TodoItem,
|
|
18
|
+
} from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/todo_pb";
|
|
15
19
|
import {
|
|
16
20
|
ExecutionPhase,
|
|
17
21
|
MessageType,
|
|
22
|
+
TodoStatus,
|
|
18
23
|
ToolCallStatus,
|
|
19
24
|
} from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/enum_pb";
|
|
20
25
|
import { buildThreadItems } from "../MessageThread";
|
|
@@ -55,12 +60,24 @@ function makeSubAgent(id: string) {
|
|
|
55
60
|
return sa;
|
|
56
61
|
}
|
|
57
62
|
|
|
63
|
+
function makeTodo(id: string, content: string, status: TodoStatus): TodoItem {
|
|
64
|
+
return create(TodoItemSchema, { id, content, status });
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** Build the `status.todos` proto map from a list of items, keyed by id. */
|
|
68
|
+
function todoMap(items: TodoItem[]): { [id: string]: TodoItem } {
|
|
69
|
+
const map: { [id: string]: TodoItem } = {};
|
|
70
|
+
for (const t of items) map[t.id] = t;
|
|
71
|
+
return map;
|
|
72
|
+
}
|
|
73
|
+
|
|
58
74
|
function makeExecution(opts: {
|
|
59
75
|
id: string;
|
|
60
76
|
specMessage?: string;
|
|
61
77
|
phase?: ExecutionPhase;
|
|
62
78
|
messages?: ReturnType<typeof makeMessage>[];
|
|
63
79
|
subAgents?: ReturnType<typeof makeSubAgent>[];
|
|
80
|
+
todos?: { [id: string]: TodoItem };
|
|
64
81
|
}): AgentExecution {
|
|
65
82
|
const exec = create(AgentExecutionSchema);
|
|
66
83
|
|
|
@@ -82,6 +99,9 @@ function makeExecution(opts: {
|
|
|
82
99
|
if (opts.subAgents) {
|
|
83
100
|
status.subAgentExecutions = opts.subAgents;
|
|
84
101
|
}
|
|
102
|
+
if (opts.todos) {
|
|
103
|
+
status.todos = opts.todos;
|
|
104
|
+
}
|
|
85
105
|
exec.status = status;
|
|
86
106
|
|
|
87
107
|
return exec;
|
|
@@ -612,3 +632,178 @@ describe("buildThreadItems key generation", () => {
|
|
|
612
632
|
});
|
|
613
633
|
});
|
|
614
634
|
});
|
|
635
|
+
|
|
636
|
+
// ---------------------------------------------------------------------------
|
|
637
|
+
// Inline todos card
|
|
638
|
+
// ---------------------------------------------------------------------------
|
|
639
|
+
|
|
640
|
+
describe("buildThreadItems todos card", () => {
|
|
641
|
+
it("emits no todos card when status.todos is empty", () => {
|
|
642
|
+
const exec = makeExecution({
|
|
643
|
+
id: "exec-no-todos",
|
|
644
|
+
messages: [makeMessage(MessageType.MESSAGE_AI, "Done")],
|
|
645
|
+
});
|
|
646
|
+
|
|
647
|
+
const items = buildThreadItems([exec], null, null, false, undefined);
|
|
648
|
+
expect(items.filter((i) => i.kind === "todos")).toHaveLength(0);
|
|
649
|
+
});
|
|
650
|
+
|
|
651
|
+
it("anchors the card immediately after the opening AI message (anchor 1)", () => {
|
|
652
|
+
const exec = makeExecution({
|
|
653
|
+
id: "exec-a1",
|
|
654
|
+
messages: [
|
|
655
|
+
makeMessage(MessageType.MESSAGE_AI, "Here is my plan"),
|
|
656
|
+
makeMessage(MessageType.MESSAGE_AI, "Working on it"),
|
|
657
|
+
],
|
|
658
|
+
todos: todoMap([makeTodo("t1", "Step 1", TodoStatus.TODO_IN_PROGRESS)]),
|
|
659
|
+
});
|
|
660
|
+
|
|
661
|
+
const items = buildThreadItems([exec], null, null, false, undefined);
|
|
662
|
+
const keys = extractKeys(items);
|
|
663
|
+
// ...-m0 (opening AI) -> todos -> ...-m1
|
|
664
|
+
expect(keys).toEqual(["exec-a1-m0", "exec-a1-todos", "exec-a1-m1"]);
|
|
665
|
+
});
|
|
666
|
+
|
|
667
|
+
it("anchors the card after the opening thinking message", () => {
|
|
668
|
+
const exec = makeExecution({
|
|
669
|
+
id: "exec-think",
|
|
670
|
+
messages: [
|
|
671
|
+
makeMessage(MessageType.MESSAGE_THINKING, "Let me think"),
|
|
672
|
+
makeMessage(MessageType.MESSAGE_AI, "Answer"),
|
|
673
|
+
],
|
|
674
|
+
todos: todoMap([makeTodo("t1", "Step 1", TodoStatus.TODO_PENDING)]),
|
|
675
|
+
});
|
|
676
|
+
|
|
677
|
+
const items = buildThreadItems([exec], null, null, false, undefined);
|
|
678
|
+
const keys = extractKeys(items);
|
|
679
|
+
expect(keys).toEqual(["exec-think-m0", "exec-think-todos", "exec-think-m1"]);
|
|
680
|
+
});
|
|
681
|
+
|
|
682
|
+
it("anchors before the first tool-group when work precedes any narration (anchor 2)", () => {
|
|
683
|
+
// An empty-content AI message that only carries a Shell tool call: no
|
|
684
|
+
// rendered narration, so the plan must lead the work.
|
|
685
|
+
const shellTc = makeToolCall("Shell", "tc-shell");
|
|
686
|
+
const exec = makeExecution({
|
|
687
|
+
id: "exec-a2",
|
|
688
|
+
messages: [
|
|
689
|
+
makeMessage(MessageType.MESSAGE_AI, " ", { toolCalls: [shellTc] }),
|
|
690
|
+
],
|
|
691
|
+
todos: todoMap([makeTodo("t1", "Step 1", TodoStatus.TODO_IN_PROGRESS)]),
|
|
692
|
+
});
|
|
693
|
+
|
|
694
|
+
const items = buildThreadItems([exec], null, null, false, undefined);
|
|
695
|
+
const keys = extractKeys(items);
|
|
696
|
+
expect(keys).toEqual(["exec-a2-todos", "exec-a2-m0-tc"]);
|
|
697
|
+
});
|
|
698
|
+
|
|
699
|
+
it("falls back to the turn tail when there is no narration or work (anchor 3)", () => {
|
|
700
|
+
// Only a suppressed/internal todo tool call, empty content: nothing renders
|
|
701
|
+
// except the plan itself, which must still surface.
|
|
702
|
+
const todoTc = makeToolCall("updateTodos", "tc-todo");
|
|
703
|
+
const exec = makeExecution({
|
|
704
|
+
id: "exec-a3",
|
|
705
|
+
messages: [
|
|
706
|
+
makeMessage(MessageType.MESSAGE_AI, " ", { toolCalls: [todoTc] }),
|
|
707
|
+
],
|
|
708
|
+
todos: todoMap([makeTodo("t1", "Step 1", TodoStatus.TODO_COMPLETED)]),
|
|
709
|
+
});
|
|
710
|
+
|
|
711
|
+
const items = buildThreadItems([exec], null, null, false, undefined);
|
|
712
|
+
const todoItems = items.filter((i) => i.kind === "todos");
|
|
713
|
+
expect(todoItems).toHaveLength(1);
|
|
714
|
+
expect(todoItems[0].key).toBe("exec-a3-todos");
|
|
715
|
+
});
|
|
716
|
+
|
|
717
|
+
it("emits exactly one card per execution even with multiple AI messages", () => {
|
|
718
|
+
const exec = makeExecution({
|
|
719
|
+
id: "exec-one",
|
|
720
|
+
messages: [
|
|
721
|
+
makeMessage(MessageType.MESSAGE_AI, "First"),
|
|
722
|
+
makeMessage(MessageType.MESSAGE_AI, "Second"),
|
|
723
|
+
makeMessage(MessageType.MESSAGE_AI, "Third"),
|
|
724
|
+
],
|
|
725
|
+
todos: todoMap([makeTodo("t1", "Step 1", TodoStatus.TODO_PENDING)]),
|
|
726
|
+
});
|
|
727
|
+
|
|
728
|
+
const items = buildThreadItems([exec], null, null, false, undefined);
|
|
729
|
+
expect(items.filter((i) => i.kind === "todos")).toHaveLength(1);
|
|
730
|
+
});
|
|
731
|
+
|
|
732
|
+
it("emits one card per turn across a multi-turn session", () => {
|
|
733
|
+
const turn1 = makeExecution({
|
|
734
|
+
id: "exec-1",
|
|
735
|
+
messages: [makeMessage(MessageType.MESSAGE_AI, "Plan A")],
|
|
736
|
+
todos: todoMap([makeTodo("t1", "A", TodoStatus.TODO_COMPLETED)]),
|
|
737
|
+
});
|
|
738
|
+
// A follow-up turn that did not write todos shows no card.
|
|
739
|
+
const turn2 = makeExecution({
|
|
740
|
+
id: "exec-2",
|
|
741
|
+
messages: [makeMessage(MessageType.MESSAGE_AI, "No plan here")],
|
|
742
|
+
});
|
|
743
|
+
const turn3 = makeExecution({
|
|
744
|
+
id: "exec-3",
|
|
745
|
+
messages: [makeMessage(MessageType.MESSAGE_AI, "Plan C")],
|
|
746
|
+
todos: todoMap([makeTodo("t1", "C", TodoStatus.TODO_IN_PROGRESS)]),
|
|
747
|
+
});
|
|
748
|
+
|
|
749
|
+
const items = buildThreadItems([turn1, turn2, turn3], null, null, false, undefined);
|
|
750
|
+
const todoKeys = items.filter((i) => i.kind === "todos").map((i) => i.key);
|
|
751
|
+
expect(todoKeys).toEqual(["exec-1-todos", "exec-3-todos"]);
|
|
752
|
+
});
|
|
753
|
+
|
|
754
|
+
it("carries the live status.todos reference (no clone) for memoization", () => {
|
|
755
|
+
const todos = todoMap([makeTodo("t1", "Step 1", TodoStatus.TODO_PENDING)]);
|
|
756
|
+
const exec = makeExecution({
|
|
757
|
+
id: "exec-ref",
|
|
758
|
+
messages: [makeMessage(MessageType.MESSAGE_AI, "Plan")],
|
|
759
|
+
todos,
|
|
760
|
+
});
|
|
761
|
+
|
|
762
|
+
const items = buildThreadItems([exec], null, null, false, undefined);
|
|
763
|
+
const todoItem = items.find((i) => i.kind === "todos");
|
|
764
|
+
expect(todoItem?.kind === "todos" && todoItem.todos).toBe(exec.status!.todos);
|
|
765
|
+
});
|
|
766
|
+
|
|
767
|
+
it("native-harness shape: filters the write_todos tool call but still shows the card", () => {
|
|
768
|
+
// Native keeps write_todos as a (filtered) tool call AND populates status.todos.
|
|
769
|
+
const writeTodosTc = makeToolCall("write_todos", "tc-wt");
|
|
770
|
+
const exec = makeExecution({
|
|
771
|
+
id: "exec-native",
|
|
772
|
+
messages: [
|
|
773
|
+
makeMessage(MessageType.MESSAGE_AI, "Planning", {
|
|
774
|
+
toolCalls: [writeTodosTc],
|
|
775
|
+
}),
|
|
776
|
+
],
|
|
777
|
+
todos: todoMap([makeTodo("t1", "Step 1", TodoStatus.TODO_IN_PROGRESS)]),
|
|
778
|
+
});
|
|
779
|
+
|
|
780
|
+
const items = buildThreadItems([exec], null, null, false, undefined);
|
|
781
|
+
expect(items.filter((i) => i.kind === "tool-group")).toHaveLength(0);
|
|
782
|
+
expect(items.filter((i) => i.kind === "todos")).toHaveLength(1);
|
|
783
|
+
});
|
|
784
|
+
|
|
785
|
+
it("keeps a stable key as todos update (no remount)", () => {
|
|
786
|
+
const before = makeExecution({
|
|
787
|
+
id: "exec-stable",
|
|
788
|
+
messages: [makeMessage(MessageType.MESSAGE_AI, "Plan")],
|
|
789
|
+
todos: todoMap([makeTodo("t1", "Step 1", TodoStatus.TODO_PENDING)]),
|
|
790
|
+
});
|
|
791
|
+
const after = makeExecution({
|
|
792
|
+
id: "exec-stable",
|
|
793
|
+
messages: [makeMessage(MessageType.MESSAGE_AI, "Plan")],
|
|
794
|
+
todos: todoMap([
|
|
795
|
+
makeTodo("t1", "Step 1", TodoStatus.TODO_COMPLETED),
|
|
796
|
+
makeTodo("t2", "Step 2", TodoStatus.TODO_IN_PROGRESS),
|
|
797
|
+
]),
|
|
798
|
+
});
|
|
799
|
+
|
|
800
|
+
const k1 = buildThreadItems([before], null, null, false, undefined).find(
|
|
801
|
+
(i) => i.kind === "todos",
|
|
802
|
+
)?.key;
|
|
803
|
+
const k2 = buildThreadItems([after], null, null, false, undefined).find(
|
|
804
|
+
(i) => i.kind === "todos",
|
|
805
|
+
)?.key;
|
|
806
|
+
expect(k1).toBe("exec-stable-todos");
|
|
807
|
+
expect(k2).toBe("exec-stable-todos");
|
|
808
|
+
});
|
|
809
|
+
});
|
|
@@ -75,4 +75,99 @@ describe("useToolPresentation", () => {
|
|
|
75
75
|
const { result } = renderHook(() => useToolPresentation(tc));
|
|
76
76
|
expect(result.current.label).toBe("Shell");
|
|
77
77
|
});
|
|
78
|
+
|
|
79
|
+
describe("disclosure", () => {
|
|
80
|
+
it("keeps known compact tools as summary", () => {
|
|
81
|
+
// Shell/edit/write are intentionally excluded — they are `preview`
|
|
82
|
+
// categories (output / diff is the information), asserted separately below.
|
|
83
|
+
for (const name of ["Read", "Grep", "Glob"]) {
|
|
84
|
+
const tc = makeToolCall({ name, args: { path: "/x", command: "ls", pattern: "p" } });
|
|
85
|
+
const { result } = renderHook(() => useToolPresentation(tc));
|
|
86
|
+
expect(result.current.disclosure).toBe("summary");
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
it("previews file edits and writes (the diff is the information)", () => {
|
|
91
|
+
for (const name of ["StrReplace", "Write"]) {
|
|
92
|
+
const tc = makeToolCall({
|
|
93
|
+
name,
|
|
94
|
+
args: { path: "/x.ts", contents: "x", old_string: "a", new_string: "b" },
|
|
95
|
+
});
|
|
96
|
+
const { result } = renderHook(() => useToolPresentation(tc));
|
|
97
|
+
expect(result.current.disclosure).toBe("preview");
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
it("keeps a shell tool's output as a persistent preview", () => {
|
|
102
|
+
const tc = makeToolCall({ name: "Shell", args: { command: "ls" }, result: "files" });
|
|
103
|
+
const { result } = renderHook(() => useToolPresentation(tc));
|
|
104
|
+
expect(result.current.category).toBe("shell");
|
|
105
|
+
expect(result.current.disclosure).toBe("preview");
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
it("foregrounds MCP tools as preview", () => {
|
|
109
|
+
const tc = makeToolCall({
|
|
110
|
+
name: "send_message",
|
|
111
|
+
mcpServerSlug: "acme/slack",
|
|
112
|
+
args: { channel: "general" },
|
|
113
|
+
});
|
|
114
|
+
const { result } = renderHook(() => useToolPresentation(tc));
|
|
115
|
+
expect(result.current.category).toBe("mcp");
|
|
116
|
+
expect(result.current.disclosure).toBe("preview");
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
it("foregrounds an unrecognized tool as preview", () => {
|
|
120
|
+
const tc = makeToolCall({ name: "frobnicate_widget", args: { x: "1" } });
|
|
121
|
+
const { result } = renderHook(() => useToolPresentation(tc));
|
|
122
|
+
expect(result.current.category).toBe("unknown");
|
|
123
|
+
expect(result.current.disclosure).toBe("preview");
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
it("lets a registered presenter override the disclosure", () => {
|
|
127
|
+
const dispose = registerToolPresenter(ToolKind.MCP, {
|
|
128
|
+
disclosure: () => "summary",
|
|
129
|
+
});
|
|
130
|
+
try {
|
|
131
|
+
const tc = makeToolCall({
|
|
132
|
+
name: "noisy_tool",
|
|
133
|
+
mcpServerSlug: "acme/noisy",
|
|
134
|
+
});
|
|
135
|
+
const { result } = renderHook(() => useToolPresentation(tc));
|
|
136
|
+
expect(result.current.disclosure).toBe("summary");
|
|
137
|
+
} finally {
|
|
138
|
+
dispose();
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
describe("runGroupable", () => {
|
|
144
|
+
it("folds read-only repetitive categories", () => {
|
|
145
|
+
for (const name of ["Read", "Grep", "Glob"]) {
|
|
146
|
+
const tc = makeToolCall({ name, args: { path: "/x", pattern: "p" } });
|
|
147
|
+
const { result } = renderHook(() => useToolPresentation(tc));
|
|
148
|
+
expect(result.current.runGroupable).toBe(true);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
it("never folds high-signal categories", () => {
|
|
153
|
+
for (const name of ["Shell", "StrReplace"]) {
|
|
154
|
+
const tc = makeToolCall({ name, args: { command: "ls", path: "/x" } });
|
|
155
|
+
const { result } = renderHook(() => useToolPresentation(tc));
|
|
156
|
+
expect(result.current.runGroupable).toBe(false);
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
it("lets a registered presenter override run-grouping", () => {
|
|
161
|
+
const dispose = registerToolPresenter(ToolKind.SHELL, {
|
|
162
|
+
runGroupable: () => true,
|
|
163
|
+
});
|
|
164
|
+
try {
|
|
165
|
+
const tc = makeToolCall({ name: "Shell", args: { command: "ls" } });
|
|
166
|
+
const { result } = renderHook(() => useToolPresentation(tc));
|
|
167
|
+
expect(result.current.runGroupable).toBe(true);
|
|
168
|
+
} finally {
|
|
169
|
+
dispose();
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
});
|
|
78
173
|
});
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { describe, it, expect, vi, beforeEach } from "vitest";
|
|
2
|
+
import { renderHook, act } from "@testing-library/react";
|
|
3
|
+
import type { ReactNode } from "react";
|
|
4
|
+
import type { Stigmer } from "@stigmer/sdk";
|
|
5
|
+
import { StigmerContext } from "../../context";
|
|
6
|
+
import { useArtifactDownload } from "../useArtifactDownload";
|
|
7
|
+
|
|
8
|
+
function wrapperFor(stigmer: Stigmer) {
|
|
9
|
+
return ({ children }: { children: ReactNode }) => (
|
|
10
|
+
<StigmerContext.Provider value={stigmer}>{children}</StigmerContext.Provider>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function makeStigmer(getArtifactDownloadUrl = vi.fn()) {
|
|
15
|
+
return { agentExecution: { getArtifactDownloadUrl } } as unknown as Stigmer;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// Browser download is triggered via a transient anchor; stub the click so the
|
|
19
|
+
// jsdom navigation no-op doesn't add noise and we can keep the test focused on
|
|
20
|
+
// the URL-minting behavior.
|
|
21
|
+
beforeEach(() => {
|
|
22
|
+
vi.spyOn(HTMLAnchorElement.prototype, "click").mockImplementation(() => {});
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
describe("useArtifactDownload", () => {
|
|
26
|
+
it("mints a fresh URL at click time and toggles isDownloading", async () => {
|
|
27
|
+
const fn = vi.fn().mockResolvedValue({ downloadUrl: "https://fresh/dl" });
|
|
28
|
+
const { result } = renderHook(() => useArtifactDownload("aex_1"), {
|
|
29
|
+
wrapper: wrapperFor(makeStigmer(fn)),
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
expect(result.current.isDownloading).toBe(false);
|
|
33
|
+
await act(async () => {
|
|
34
|
+
await result.current.download("artifacts/aex_1/file.bin", "file.bin");
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
expect(fn).toHaveBeenCalledTimes(1);
|
|
38
|
+
const req = fn.mock.calls[0][0];
|
|
39
|
+
expect(req.executionId).toBe("aex_1");
|
|
40
|
+
expect(req.storageKey).toBe("artifacts/aex_1/file.bin");
|
|
41
|
+
expect(result.current.isDownloading).toBe(false);
|
|
42
|
+
expect(result.current.error).toBeNull();
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
it("is a no-op when the execution id is unknown", async () => {
|
|
46
|
+
const fn = vi.fn();
|
|
47
|
+
const { result } = renderHook(() => useArtifactDownload(null), {
|
|
48
|
+
wrapper: wrapperFor(makeStigmer(fn)),
|
|
49
|
+
});
|
|
50
|
+
await act(async () => {
|
|
51
|
+
await result.current.download("artifacts/x/file.bin");
|
|
52
|
+
});
|
|
53
|
+
expect(fn).not.toHaveBeenCalled();
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
it("surfaces an error when the refresh RPC fails", async () => {
|
|
57
|
+
const fn = vi.fn().mockRejectedValue(new Error("boom"));
|
|
58
|
+
const { result } = renderHook(() => useArtifactDownload("aex_1"), {
|
|
59
|
+
wrapper: wrapperFor(makeStigmer(fn)),
|
|
60
|
+
});
|
|
61
|
+
await act(async () => {
|
|
62
|
+
await result.current.download("artifacts/aex_1/file.bin");
|
|
63
|
+
});
|
|
64
|
+
expect(result.current.error?.message).toBe("boom");
|
|
65
|
+
expect(result.current.isDownloading).toBe(false);
|
|
66
|
+
});
|
|
67
|
+
});
|