@stigmer/react 3.1.0 → 3.1.2
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 +30 -7
- package/composer/SessionComposer.d.ts.map +1 -1
- package/composer/SessionComposer.js +42 -31
- 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.js +9 -9
- package/execution/ApprovalCard.js.map +1 -1
- package/execution/ArtifactCard.js +5 -5
- package/execution/ArtifactCard.js.map +1 -1
- package/execution/ArtifactContentRenderer.d.ts +11 -1
- package/execution/ArtifactContentRenderer.d.ts.map +1 -1
- package/execution/ArtifactContentRenderer.js +41 -17
- 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 +7 -7
- 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/ExecutionProgress.js +2 -2
- package/execution/ExecutionProgress.js.map +1 -1
- package/execution/FileChangesView.js +9 -9
- package/execution/FileChangesView.js.map +1 -1
- package/execution/FilePathContext.d.ts +9 -2
- package/execution/FilePathContext.d.ts.map +1 -1
- package/execution/FilePathContext.js.map +1 -1
- package/execution/FilePathLink.d.ts.map +1 -1
- package/execution/FilePathLink.js +23 -8
- package/execution/FilePathLink.js.map +1 -1
- package/execution/FileReviewCard.d.ts +1 -1
- package/execution/FileReviewCard.d.ts.map +1 -1
- package/execution/FileReviewCard.js +7 -7
- package/execution/FileReviewCard.js.map +1 -1
- package/execution/FileReviewContext.d.ts +1 -1
- package/execution/FileReviewContext.d.ts.map +1 -1
- package/execution/FileReviewContext.js +1 -1
- package/execution/FileReviewContext.js.map +1 -1
- package/execution/FileReviewDock.d.ts +1 -1
- package/execution/FileReviewDock.d.ts.map +1 -1
- package/execution/FileReviewDock.js +1 -1
- package/execution/FileReviewDock.js.map +1 -1
- package/execution/FollowUpInput.js +1 -1
- package/execution/FollowUpInput.js.map +1 -1
- package/execution/McpToolDetail.js +7 -7
- package/execution/McpToolDetail.js.map +1 -1
- package/execution/MessageEntry.d.ts +29 -0
- package/execution/MessageEntry.d.ts.map +1 -1
- package/execution/MessageEntry.js +31 -7
- package/execution/MessageEntry.js.map +1 -1
- package/execution/MessageThread.d.ts +78 -15
- package/execution/MessageThread.d.ts.map +1 -1
- package/execution/MessageThread.js +202 -48
- package/execution/MessageThread.js.map +1 -1
- package/execution/PlanArtifactCard.d.ts +27 -18
- package/execution/PlanArtifactCard.d.ts.map +1 -1
- package/execution/PlanArtifactCard.js +17 -27
- package/execution/PlanArtifactCard.js.map +1 -1
- package/execution/PlanCompletionCard.js +1 -1
- package/execution/PlanCompletionCard.js.map +1 -1
- package/execution/PlanDocumentMessage.d.ts +32 -0
- package/execution/PlanDocumentMessage.d.ts.map +1 -0
- package/execution/PlanDocumentMessage.js +37 -0
- package/execution/PlanDocumentMessage.js.map +1 -0
- package/execution/PlanStreamingCard.d.ts +45 -0
- package/execution/PlanStreamingCard.d.ts.map +1 -0
- package/execution/PlanStreamingCard.js +35 -0
- package/execution/PlanStreamingCard.js.map +1 -0
- package/execution/ResultView.js +11 -11
- 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.js +10 -10
- 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.js +2 -2
- package/execution/TerminalSession.js.map +1 -1
- package/execution/ThreadSelectionContext.d.ts +1 -1
- package/execution/ThreadSelectionContext.d.ts.map +1 -1
- package/execution/TodoCard.js +3 -3
- package/execution/TodoCard.js.map +1 -1
- package/execution/ToolArgsView.js +5 -5
- package/execution/ToolArgsView.js.map +1 -1
- package/execution/ToolCallDetail.js +7 -7
- package/execution/ToolCallDetail.js.map +1 -1
- package/execution/ToolCallGroup.js +5 -5
- package/execution/ToolCallGroup.js.map +1 -1
- package/execution/ToolCallItem.d.ts +1 -1
- package/execution/ToolCallItem.d.ts.map +1 -1
- package/execution/ToolCallItem.js +12 -12
- package/execution/ToolCallItem.js.map +1 -1
- package/execution/ToolRunGroup.d.ts +1 -1
- package/execution/ToolRunGroup.d.ts.map +1 -1
- package/execution/ToolRunGroup.js +4 -4
- package/execution/ToolRunGroup.js.map +1 -1
- 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/index.d.ts +133 -129
- package/execution/index.d.ts.map +1 -1
- package/execution/index.js +68 -66
- package/execution/index.js.map +1 -1
- package/execution/segment-tool-calls.d.ts +1 -1
- package/execution/segment-tool-calls.d.ts.map +1 -1
- package/execution/segment-tool-calls.js +2 -2
- package/execution/segment-tool-calls.js.map +1 -1
- package/execution/tool-presenter.d.ts +1 -1
- package/execution/tool-presenter.d.ts.map +1 -1
- package/execution/tool-presenter.js +2 -2
- package/execution/tool-presenter.js.map +1 -1
- package/execution/tool-rendering-primitives.js +1 -1
- 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.js +2 -2
- package/execution/useArtifactDownload.js.map +1 -1
- package/execution/useArtifactDownloadUrl.js +2 -2
- package/execution/useArtifactDownloadUrl.js.map +1 -1
- package/execution/useCreateAgentExecution.d.ts +10 -0
- package/execution/useCreateAgentExecution.d.ts.map +1 -1
- package/execution/useCreateAgentExecution.js +8 -4
- 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.js +2 -2
- package/execution/useFileChangeContent.js.map +1 -1
- package/execution/useFileReview.js +2 -2
- package/execution/useFileReview.js.map +1 -1
- package/execution/useSubmitApproval.js +3 -3
- 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.js +2 -2
- package/execution/useToolOutputContent.js.map +1 -1
- 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/decodeGitHubContent.d.ts +29 -0
- package/github/decodeGitHubContent.d.ts.map +1 -0
- package/github/decodeGitHubContent.js +72 -0
- package/github/decodeGitHubContent.js.map +1 -0
- package/github/index.d.ts +7 -6
- package/github/index.d.ts.map +1 -1
- package/github/index.js +7 -6
- package/github/index.js.map +1 -1
- package/github/useGitHubConnection.js +2 -2
- package/github/useGitHubConnection.js.map +1 -1
- package/github/useGitHubFileReader.d.ts +26 -0
- package/github/useGitHubFileReader.d.ts.map +1 -0
- package/github/useGitHubFileReader.js +106 -0
- package/github/useGitHubFileReader.js.map +1 -0
- 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 +7 -3
- 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 +60 -60
- 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/BoundedContent.js +2 -2
- package/internal/BoundedContent.js.map +1 -1
- 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/ResizableSplit.d.ts +72 -22
- package/internal/ResizableSplit.d.ts.map +1 -1
- package/internal/ResizableSplit.js +96 -38
- package/internal/ResizableSplit.js.map +1 -1
- 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 +9 -7
- package/internal/VirtualizedThread.d.ts.map +1 -1
- package/internal/VirtualizedThread.js +14 -12
- 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-icons/index.d.ts +17 -0
- package/internal/file-icons/index.d.ts.map +1 -0
- package/internal/file-icons/index.js +60 -0
- package/internal/file-icons/index.js.map +1 -0
- package/internal/file-tree/FileTreeNode.d.ts +19 -2
- package/internal/file-tree/FileTreeNode.d.ts.map +1 -1
- package/internal/file-tree/FileTreeNode.js +11 -2
- package/internal/file-tree/FileTreeNode.js.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.d.ts +38 -1
- package/internal/markdown-components.d.ts.map +1 -1
- package/internal/markdown-components.js +87 -12
- package/internal/markdown-components.js.map +1 -1
- package/internal/menu.js +1 -1
- package/internal/menu.js.map +1 -1
- package/{workflow → internal}/motion-preference.d.ts +7 -4
- package/internal/motion-preference.d.ts.map +1 -0
- package/{workflow → internal}/motion-preference.js +7 -4
- package/internal/motion-preference.js.map +1 -0
- package/internal/store/conversation-store.js +1 -1
- package/internal/store/conversation-store.js.map +1 -1
- package/internal/store/index.d.ts +39 -6
- package/internal/store/index.d.ts.map +1 -1
- package/internal/store/index.js +64 -5
- package/internal/store/index.js.map +1 -1
- package/internal/store/workspace-editors-store.d.ts +145 -0
- package/internal/store/workspace-editors-store.d.ts.map +1 -0
- package/internal/store/workspace-editors-store.js +208 -0
- package/internal/store/workspace-editors-store.js.map +1 -0
- package/internal/store/workspace-file-selection-store.d.ts +38 -0
- package/internal/store/workspace-file-selection-store.d.ts.map +1 -0
- package/internal/store/workspace-file-selection-store.js +62 -0
- package/internal/store/workspace-file-selection-store.js.map +1 -0
- 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/useFetch.js +2 -2
- package/internal/useFetch.js.map +1 -1
- package/internal/useKeyedSubmission.js +1 -1
- package/internal/useKeyedSubmission.js.map +1 -1
- package/internal/useRevealLine.d.ts +49 -0
- package/internal/useRevealLine.d.ts.map +1 -0
- package/internal/useRevealLine.js +43 -0
- package/internal/useRevealLine.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/detect-plan-artifact.d.ts +21 -0
- package/library/detect-plan-artifact.d.ts.map +1 -1
- package/library/detect-plan-artifact.js +20 -0
- package/library/detect-plan-artifact.js.map +1 -1
- package/library/detect-streaming-plan.d.ts +45 -0
- package/library/detect-streaming-plan.d.ts.map +1 -0
- package/library/detect-streaming-plan.js +83 -0
- package/library/detect-streaming-plan.js.map +1 -0
- package/library/index.d.ts +38 -35
- package/library/index.d.ts.map +1 -1
- package/library/index.js +21 -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 +24 -9
- package/session/NewSessionViewer.d.ts.map +1 -1
- package/session/NewSessionViewer.js +55 -28
- package/session/NewSessionViewer.js.map +1 -1
- package/session/PlanEditor.d.ts +55 -0
- package/session/PlanEditor.d.ts.map +1 -0
- package/session/PlanEditor.js +88 -0
- package/session/PlanEditor.js.map +1 -0
- package/session/PlanStreamingDocument.d.ts +30 -0
- package/session/PlanStreamingDocument.d.ts.map +1 -0
- package/session/PlanStreamingDocument.js +37 -0
- package/session/PlanStreamingDocument.js.map +1 -0
- package/session/SessionPanelChip.d.ts +26 -0
- package/session/SessionPanelChip.d.ts.map +1 -0
- package/session/SessionPanelChip.js +40 -0
- package/session/SessionPanelChip.js.map +1 -0
- package/session/SessionViewer.d.ts +39 -12
- package/session/SessionViewer.d.ts.map +1 -1
- package/session/SessionViewer.js +325 -43
- package/session/SessionViewer.js.map +1 -1
- package/session/{inspector → facets}/ArtifactsTab.d.ts +11 -3
- package/session/facets/ArtifactsTab.d.ts.map +1 -0
- package/session/{inspector → facets}/ArtifactsTab.js +12 -7
- package/session/facets/ArtifactsTab.js.map +1 -0
- package/session/{inspector → facets}/ChangesTab.d.ts +3 -3
- package/session/facets/ChangesTab.d.ts.map +1 -0
- package/session/{inspector → facets}/ChangesTab.js +5 -5
- package/session/facets/ChangesTab.js.map +1 -0
- package/session/{inspector → facets}/InspectTab.d.ts +1 -1
- package/session/facets/InspectTab.d.ts.map +1 -0
- package/session/facets/InspectTab.js.map +1 -0
- package/session/{inspector → facets}/SetupTab.d.ts +14 -5
- package/session/facets/SetupTab.d.ts.map +1 -0
- package/session/{inspector → facets}/SetupTab.js +5 -4
- package/session/facets/SetupTab.js.map +1 -0
- package/session/{inspector → facets}/UsageTab.d.ts +1 -1
- package/session/facets/UsageTab.d.ts.map +1 -0
- package/session/{inspector → facets}/UsageTab.js +3 -3
- package/session/facets/UsageTab.js.map +1 -0
- package/session/facets/index.d.ts +11 -0
- package/session/facets/index.d.ts.map +1 -0
- package/session/facets/index.js +6 -0
- package/session/facets/index.js.map +1 -0
- package/session/index.d.ts +56 -47
- package/session/index.d.ts.map +1 -1
- package/session/index.js +36 -23
- package/session/index.js.map +1 -1
- package/session/plan-document.d.ts +9 -0
- package/session/plan-document.d.ts.map +1 -0
- package/session/plan-document.js +17 -0
- package/session/plan-document.js.map +1 -0
- 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/useOpenFileChange.d.ts +20 -0
- package/session/useOpenFileChange.d.ts.map +1 -0
- package/session/useOpenFileChange.js +31 -0
- package/session/useOpenFileChange.js.map +1 -0
- 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/usePlanDraft.d.ts +52 -0
- package/session/usePlanDraft.d.ts.map +1 -0
- package/session/usePlanDraft.js +63 -0
- package/session/usePlanDraft.js.map +1 -0
- 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 +7 -1
- package/session/useSessionConversation.d.ts.map +1 -1
- package/session/useSessionConversation.js +15 -14
- package/session/useSessionConversation.js.map +1 -1
- package/session/useSessionExecutions.js +2 -2
- package/session/useSessionExecutions.js.map +1 -1
- 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 +13 -12
- package/session/useSessionPageFlow.js.map +1 -1
- package/session/useSessionPanel.d.ts +120 -0
- package/session/useSessionPanel.d.ts.map +1 -0
- package/session/useSessionPanel.js +130 -0
- package/session/useSessionPanel.js.map +1 -0
- package/session/useSessionRailViews.d.ts +45 -0
- package/session/useSessionRailViews.d.ts.map +1 -0
- package/session/useSessionRailViews.js +105 -0
- package/session/useSessionRailViews.js.map +1 -0
- 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/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 +81 -39
- package/src/composer/__tests__/SessionComposer-contract.test.tsx +58 -4
- 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 +9 -9
- package/src/execution/ArtifactCard.tsx +5 -5
- package/src/execution/ArtifactContentRenderer.tsx +103 -26
- package/src/execution/ArtifactPreviewModal.tsx +8 -8
- package/src/execution/ArtifactsWidget.tsx +4 -4
- package/src/execution/ContextGauge.tsx +2 -2
- package/src/execution/ExecutionProgress.tsx +2 -2
- package/src/execution/FileChangesView.tsx +10 -10
- package/src/execution/FilePathContext.tsx +9 -2
- package/src/execution/FilePathLink.tsx +24 -8
- package/src/execution/FileReviewCard.tsx +7 -7
- package/src/execution/FileReviewContext.ts +1 -1
- package/src/execution/FileReviewDock.tsx +2 -2
- package/src/execution/FollowUpInput.tsx +1 -1
- package/src/execution/McpToolDetail.tsx +7 -7
- package/src/execution/MessageEntry.tsx +113 -3
- package/src/execution/MessageThread.tsx +317 -62
- package/src/execution/PlanArtifactCard.tsx +67 -35
- package/src/execution/PlanCompletionCard.tsx +1 -1
- package/src/execution/PlanDocumentMessage.tsx +96 -0
- package/src/execution/PlanStreamingCard.tsx +137 -0
- package/src/execution/ResultView.tsx +12 -12
- package/src/execution/SandboxContext.ts +1 -1
- package/src/execution/SessionVariablesInput.tsx +3 -3
- package/src/execution/SubAgentSection.tsx +10 -10
- package/src/execution/SummarizationBadge.tsx +2 -2
- package/src/execution/SummarizationCard.tsx +2 -2
- package/src/execution/TerminalSession.tsx +2 -2
- package/src/execution/ThreadSelectionContext.tsx +1 -1
- package/src/execution/TodoCard.tsx +3 -3
- package/src/execution/ToolArgsView.tsx +6 -6
- package/src/execution/ToolCallDetail.tsx +8 -8
- package/src/execution/ToolCallGroup.tsx +5 -5
- package/src/execution/ToolCallItem.tsx +13 -13
- package/src/execution/ToolRunGroup.tsx +5 -5
- package/src/execution/UsageWidget.tsx +1 -1
- package/src/execution/WriteBacksWidget.tsx +2 -2
- package/src/execution/__tests__/ArtifactContentRenderer.test.tsx +80 -1
- package/src/execution/__tests__/FilePathLink.test.tsx +87 -0
- package/src/execution/__tests__/MessageThread.test.tsx +101 -0
- package/src/execution/__tests__/PlanArtifactCard.test.tsx +66 -12
- package/src/execution/__tests__/PlanDocumentMessage.test.tsx +55 -0
- package/src/execution/__tests__/PlanStreamingCard.test.tsx +49 -0
- package/src/execution/__tests__/buildThreadItems-plan-completion.test.ts +504 -22
- package/src/execution/__tests__/message-entry.test.tsx +48 -0
- package/src/execution/__tests__/useCreateAgentExecution.test.tsx +85 -0
- package/src/execution/index.ts +135 -129
- package/src/execution/segment-tool-calls.ts +3 -3
- package/src/execution/tool-presenter.ts +3 -3
- package/src/execution/tool-rendering-primitives.tsx +1 -1
- package/src/execution/useAgentExecutionActions.ts +2 -2
- package/src/execution/useArtifactContent.ts +2 -2
- package/src/execution/useArtifactDownload.ts +2 -2
- package/src/execution/useArtifactDownloadUrl.ts +2 -2
- package/src/execution/useCreateAgentExecution.ts +19 -4
- package/src/execution/useExecutionStream.ts +7 -7
- package/src/execution/useFileChangeContent.ts +2 -2
- package/src/execution/useFileReview.ts +2 -2
- package/src/execution/useSubmitApproval.ts +3 -3
- package/src/execution/useThreadSelection.ts +2 -2
- package/src/execution/useToolOutputContent.ts +2 -2
- 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/__tests__/decodeGitHubContent.test.ts +102 -0
- package/src/github/__tests__/useGitHubFileReader.test.ts +183 -0
- package/src/github/decodeGitHubContent.ts +83 -0
- package/src/github/index.ts +7 -6
- package/src/github/useGitHubConnection.ts +2 -2
- package/src/github/useGitHubFileReader.ts +152 -0
- package/src/github/useGitHubSearch.ts +1 -1
- package/src/github/useGitHubTreeLister.ts +9 -5
- 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 +167 -113
- 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/BoundedContent.tsx +2 -2
- package/src/internal/FetchCacheProvider.tsx +1 -1
- package/src/internal/ResizableSplit.tsx +184 -51
- package/src/internal/Tabs.tsx +2 -2
- package/src/internal/VirtualizedThread.tsx +21 -13
- package/src/internal/__tests__/ResizableSplit.test.tsx +125 -3
- package/src/internal/__tests__/markdown-components.test.tsx +68 -0
- package/src/internal/__tests__/useRevealLine.test.tsx +97 -0
- package/src/internal/dev/index.ts +5 -5
- package/src/internal/file-icons/__tests__/file-icons.test.tsx +35 -0
- package/src/internal/file-icons/index.tsx +137 -0
- package/src/internal/file-tree/FileTreeNode.tsx +44 -4
- package/src/internal/file-tree/__tests__/FileTreeNode-explorer.test.tsx +86 -0
- package/src/internal/file-tree/filterFileTree.ts +1 -1
- package/src/internal/file-tree/index.ts +5 -5
- package/src/internal/markdown-components.tsx +117 -12
- package/src/internal/menu.tsx +1 -1
- package/src/{workflow → internal}/motion-preference.ts +7 -4
- package/src/internal/store/__tests__/workspace-editors-store.test.ts +216 -0
- package/src/internal/store/__tests__/workspace-file-selection-store.test.ts +118 -0
- package/src/internal/store/conversation-store.ts +1 -1
- package/src/internal/store/index.ts +100 -6
- package/src/internal/store/workspace-editors-store.ts +315 -0
- package/src/internal/store/workspace-file-selection-store.ts +88 -0
- package/src/internal/stream-controller.ts +2 -2
- package/src/internal/useFetch.ts +2 -2
- package/src/internal/useKeyedSubmission.ts +1 -1
- package/src/internal/useRevealLine.ts +81 -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/__tests__/detect-plan-artifact.test.ts +48 -0
- package/src/library/__tests__/detect-streaming-plan.test.ts +234 -0
- package/src/library/detect-plan-artifact.ts +35 -0
- package/src/library/detect-streaming-plan.ts +108 -0
- package/src/library/index.ts +40 -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 +132 -64
- package/src/session/PlanEditor.tsx +361 -0
- package/src/session/PlanStreamingDocument.tsx +97 -0
- package/src/session/SessionPanelChip.tsx +103 -0
- package/src/session/SessionViewer.tsx +633 -106
- package/src/session/__tests__/NewSessionViewer.test.tsx +148 -0
- package/src/session/__tests__/PlanEditor.test.tsx +217 -0
- package/src/session/__tests__/PlanStreamingDocument.test.tsx +50 -0
- package/src/session/__tests__/SessionPanelChip.test.tsx +42 -0
- package/src/session/__tests__/SessionViewer-fileReviewDock.test.tsx +9 -4
- package/src/session/__tests__/SessionViewer-transcriptFileOpen.test.tsx +205 -0
- package/src/session/__tests__/audienceWiring.test.tsx +55 -19
- package/src/session/__tests__/useOpenFileChange.test.tsx +82 -0
- package/src/session/__tests__/usePlanDraft.test.ts +102 -0
- package/src/session/__tests__/useSessionPanel.test.ts +298 -0
- package/src/session/__tests__/useSessionRailViews.test.tsx +124 -0
- package/src/session/{inspector → facets}/ArtifactsTab.tsx +32 -10
- package/src/session/{inspector → facets}/ChangesTab.tsx +5 -5
- package/src/session/{inspector → facets}/InspectTab.tsx +1 -1
- package/src/session/{inspector → facets}/SetupTab.tsx +17 -5
- package/src/session/{inspector → facets}/UsageTab.tsx +3 -3
- package/src/session/{inspector → facets}/__tests__/ArtifactsTab.test.tsx +35 -1
- package/src/session/facets/__tests__/SetupTab.test.tsx +44 -0
- package/src/session/facets/index.ts +17 -0
- package/src/session/index.ts +75 -58
- package/src/session/plan-document.ts +19 -0
- 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/useOpenFileChange.ts +53 -0
- package/src/session/usePersistedModel.ts +3 -3
- package/src/session/usePlanDraft.ts +109 -0
- package/src/session/useSession.ts +2 -2
- package/src/session/useSessionArtifacts.ts +1 -1
- package/src/session/useSessionConversation.ts +21 -14
- package/src/session/useSessionExecutions.ts +2 -2
- package/src/session/useSessionList.ts +2 -2
- package/src/session/useSessionPageFlow.ts +15 -14
- package/src/session/useSessionPanel.ts +288 -0
- package/src/session/useSessionRailViews.tsx +200 -0
- 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/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 +1 -1
- package/src/version-history/MultiFileDiffView.tsx +4 -4
- package/src/version-history/UnifiedDiffView.tsx +2 -2
- package/src/version-history/VersionTimeline.tsx +2 -2
- package/src/version-history/VersionTimelineEntry.tsx +1 -1
- package/src/version-history/computeDiff.ts +2 -2
- package/src/version-history/computeMultiFileDiff.ts +2 -2
- package/src/version-history/diff-hunks.ts +1 -1
- package/src/version-history/index.ts +14 -14
- package/src/version-history/parseUnifiedDiff.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- package/src/workflow/WorkflowExecutionTimelineEvent.tsx +3 -3
- package/src/workflow/WorkflowExecutionViewer.tsx +18 -18
- package/src/workflow/WorkflowExplainDialog.tsx +2 -2
- package/src/workflow/WorkflowFileReviewList.tsx +3 -3
- 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 +3 -3
- 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/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 +13 -13
- 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 +119 -119
- 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 +4 -4
- 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/EditorTabs.tsx +145 -0
- package/src/workspace/ExplorerTree.tsx +247 -0
- package/src/workspace/FileViewer.tsx +516 -0
- package/src/workspace/WorkspaceContentSearch.tsx +478 -0
- package/src/workspace/WorkspaceContentSearcher.ts +70 -0
- package/src/workspace/WorkspaceEditor.tsx +5 -5
- package/src/workspace/WorkspaceFileLister.ts +12 -1
- package/src/workspace/WorkspaceFileReader.ts +57 -0
- package/src/workspace/WorkspaceFileSearch.tsx +429 -0
- package/src/workspace/WorkspaceSurface.tsx +781 -0
- package/src/workspace/__tests__/EditorTabs.test.tsx +100 -0
- package/src/workspace/__tests__/ExplorerTree.test.tsx +152 -0
- package/src/workspace/__tests__/FileViewer.test.tsx +421 -0
- package/src/workspace/__tests__/WorkspaceContentSearch.test.tsx +196 -0
- package/src/workspace/__tests__/WorkspaceFileSearch.test.tsx +206 -0
- package/src/workspace/__tests__/WorkspaceSurface.test.tsx +348 -0
- package/src/workspace/__tests__/findChangeForSelection.test.ts +132 -0
- package/src/workspace/__tests__/matchContentPreview.test.ts +55 -0
- package/src/workspace/__tests__/matchWorkspaceFiles.test.ts +104 -0
- package/src/workspace/__tests__/resolveWorkspaceFileSelection.test.ts +135 -0
- package/src/workspace/__tests__/useWorkspaceContentSearch.test.tsx +196 -0
- package/src/workspace/__tests__/useWorkspaceFileContent.test.tsx +190 -0
- package/src/workspace/__tests__/useWorkspaceFileSearch.test.tsx +162 -0
- package/src/workspace/findChangeForSelection.ts +61 -0
- package/src/workspace/index.ts +69 -15
- package/src/workspace/matchContentPreview.ts +51 -0
- package/src/workspace/matchWorkspaceFiles.ts +86 -0
- package/src/workspace/resolveWorkspaceFileSelection.ts +119 -0
- package/src/workspace/useWorkspaceContentSearch.ts +228 -0
- package/src/workspace/useWorkspaceFileContent.ts +129 -0
- package/src/workspace/useWorkspaceFileSearch.ts +184 -0
- package/src/workspace/useWorkspaceFiles.ts +29 -29
- package/src/workspace/useWorkspaceSources.ts +2 -2
- package/src/workspace/workspaceListingCache.ts +93 -0
- 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/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.js +2 -2
- package/version-history/UnifiedDiffView.js.map +1 -1
- 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 +1 -1
- package/version-history/computeDiff.d.ts.map +1 -1
- package/version-history/computeDiff.js +1 -1
- 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 +1 -1
- package/version-history/diff-hunks.d.ts.map +1 -1
- package/version-history/index.d.ts +14 -14
- package/version-history/index.d.ts.map +1 -1
- package/version-history/index.js +9 -9
- package/version-history/index.js.map +1 -1
- package/version-history/parseUnifiedDiff.d.ts +1 -1
- package/version-history/parseUnifiedDiff.d.ts.map +1 -1
- package/version-history/parseUnifiedDiff.js +1 -1
- package/version-history/parseUnifiedDiff.js.map +1 -1
- 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.js +2 -2
- 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 +1 -1
- package/workflow/WorkflowExecutionTimeline.d.ts.map +1 -1
- package/workflow/WorkflowExecutionTimeline.js +1 -1
- package/workflow/WorkflowExecutionTimeline.js.map +1 -1
- package/workflow/WorkflowExecutionTimelineEvent.d.ts +1 -1
- package/workflow/WorkflowExecutionTimelineEvent.d.ts.map +1 -1
- package/workflow/WorkflowExecutionTimelineEvent.js +2 -2
- package/workflow/WorkflowExecutionTimelineEvent.js.map +1 -1
- package/workflow/WorkflowExecutionViewer.js +17 -17
- 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 +1 -1
- package/workflow/WorkflowFileReviewList.d.ts.map +1 -1
- package/workflow/WorkflowFileReviewList.js +2 -2
- package/workflow/WorkflowFileReviewList.js.map +1 -1
- 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.js +3 -3
- 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 +1 -1
- package/workflow/execution-inspector/ExecutionInspector.d.ts.map +1 -1
- package/workflow/execution-inspector/ExecutionInspector.js +12 -12
- 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 -119
- package/workflow/index.d.ts.map +1 -1
- package/workflow/index.js +114 -114
- 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 +1 -1
- package/workflow/useWorkflowExecutionActions.d.ts.map +1 -1
- package/workflow/useWorkflowExecutionActions.js +4 -4
- 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/EditorTabs.d.ts +29 -0
- package/workspace/EditorTabs.d.ts.map +1 -0
- package/workspace/EditorTabs.js +66 -0
- package/workspace/EditorTabs.js.map +1 -0
- package/workspace/ExplorerTree.d.ts +32 -0
- package/workspace/ExplorerTree.d.ts.map +1 -0
- package/workspace/ExplorerTree.js +45 -0
- package/workspace/ExplorerTree.js.map +1 -0
- package/workspace/FileViewer.d.ts +93 -0
- package/workspace/FileViewer.d.ts.map +1 -0
- package/workspace/FileViewer.js +182 -0
- package/workspace/FileViewer.js.map +1 -0
- package/workspace/WorkspaceContentSearch.d.ts +41 -0
- package/workspace/WorkspaceContentSearch.d.ts.map +1 -0
- package/workspace/WorkspaceContentSearch.js +195 -0
- package/workspace/WorkspaceContentSearch.js.map +1 -0
- package/workspace/WorkspaceContentSearcher.d.ts +59 -0
- package/workspace/WorkspaceContentSearcher.d.ts.map +1 -0
- package/workspace/WorkspaceContentSearcher.js +7 -0
- package/workspace/WorkspaceContentSearcher.js.map +1 -0
- 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/WorkspaceFileLister.d.ts +12 -1
- package/workspace/WorkspaceFileLister.d.ts.map +1 -1
- package/workspace/WorkspaceFileReader.d.ts +48 -0
- package/workspace/WorkspaceFileReader.d.ts.map +1 -0
- package/workspace/WorkspaceFileReader.js +11 -0
- package/workspace/WorkspaceFileReader.js.map +1 -0
- package/workspace/WorkspaceFileSearch.d.ts +32 -0
- package/workspace/WorkspaceFileSearch.d.ts.map +1 -0
- package/workspace/WorkspaceFileSearch.js +155 -0
- package/workspace/WorkspaceFileSearch.js.map +1 -0
- package/workspace/WorkspaceSurface.d.ts +151 -0
- package/workspace/WorkspaceSurface.d.ts.map +1 -0
- package/workspace/WorkspaceSurface.js +184 -0
- package/workspace/WorkspaceSurface.js.map +1 -0
- package/workspace/findChangeForSelection.d.ts +19 -0
- package/workspace/findChangeForSelection.d.ts.map +1 -0
- package/workspace/findChangeForSelection.js +46 -0
- package/workspace/findChangeForSelection.js.map +1 -0
- package/workspace/index.d.ts +37 -15
- package/workspace/index.d.ts.map +1 -1
- package/workspace/index.js +19 -7
- package/workspace/index.js.map +1 -1
- package/workspace/matchContentPreview.d.ts +21 -0
- package/workspace/matchContentPreview.d.ts.map +1 -0
- package/workspace/matchContentPreview.js +36 -0
- package/workspace/matchContentPreview.js.map +1 -0
- package/workspace/matchWorkspaceFiles.d.ts +30 -0
- package/workspace/matchWorkspaceFiles.d.ts.map +1 -0
- package/workspace/matchWorkspaceFiles.js +58 -0
- package/workspace/matchWorkspaceFiles.js.map +1 -0
- package/workspace/resolveWorkspaceFileSelection.d.ts +19 -0
- package/workspace/resolveWorkspaceFileSelection.d.ts.map +1 -0
- package/workspace/resolveWorkspaceFileSelection.js +115 -0
- package/workspace/resolveWorkspaceFileSelection.js.map +1 -0
- package/workspace/useWorkspaceContentSearch.d.ts +69 -0
- package/workspace/useWorkspaceContentSearch.d.ts.map +1 -0
- package/workspace/useWorkspaceContentSearch.js +154 -0
- package/workspace/useWorkspaceContentSearch.js.map +1 -0
- package/workspace/useWorkspaceFileContent.d.ts +73 -0
- package/workspace/useWorkspaceFileContent.d.ts.map +1 -0
- package/workspace/useWorkspaceFileContent.js +57 -0
- package/workspace/useWorkspaceFileContent.js.map +1 -0
- package/workspace/useWorkspaceFileSearch.d.ts +61 -0
- package/workspace/useWorkspaceFileSearch.d.ts.map +1 -0
- package/workspace/useWorkspaceFileSearch.js +119 -0
- package/workspace/useWorkspaceFileSearch.js.map +1 -0
- package/workspace/useWorkspaceFiles.d.ts +15 -7
- package/workspace/useWorkspaceFiles.d.ts.map +1 -1
- package/workspace/useWorkspaceFiles.js +19 -20
- package/workspace/useWorkspaceFiles.js.map +1 -1
- package/workspace/useWorkspaceSources.js +2 -2
- package/workspace/useWorkspaceSources.js.map +1 -1
- package/workspace/workspaceListingCache.d.ts +47 -0
- package/workspace/workspaceListingCache.d.ts.map +1 -0
- package/workspace/workspaceListingCache.js +55 -0
- package/workspace/workspaceListingCache.js.map +1 -0
- package/session/inspector/ArtifactsTab.d.ts.map +0 -1
- package/session/inspector/ArtifactsTab.js.map +0 -1
- package/session/inspector/ChangesTab.d.ts.map +0 -1
- package/session/inspector/ChangesTab.js.map +0 -1
- package/session/inspector/InspectTab.d.ts.map +0 -1
- package/session/inspector/InspectTab.js.map +0 -1
- package/session/inspector/SessionInspector.d.ts +0 -64
- package/session/inspector/SessionInspector.d.ts.map +0 -1
- package/session/inspector/SessionInspector.js +0 -53
- package/session/inspector/SessionInspector.js.map +0 -1
- package/session/inspector/SetupTab.d.ts.map +0 -1
- package/session/inspector/SetupTab.js.map +0 -1
- package/session/inspector/UsageTab.d.ts.map +0 -1
- package/session/inspector/UsageTab.js.map +0 -1
- package/session/inspector/WorkspaceTab.d.ts +0 -35
- package/session/inspector/WorkspaceTab.d.ts.map +0 -1
- package/session/inspector/WorkspaceTab.js +0 -75
- package/session/inspector/WorkspaceTab.js.map +0 -1
- package/session/inspector/index.d.ts +0 -17
- package/session/inspector/index.d.ts.map +0 -1
- package/session/inspector/index.js +0 -9
- package/session/inspector/index.js.map +0 -1
- package/session/inspector/useSessionInspector.d.ts +0 -49
- package/session/inspector/useSessionInspector.d.ts.map +0 -1
- package/session/inspector/useSessionInspector.js +0 -122
- package/session/inspector/useSessionInspector.js.map +0 -1
- package/src/session/inspector/SessionInspector.tsx +0 -162
- package/src/session/inspector/WorkspaceTab.tsx +0 -245
- package/src/session/inspector/__tests__/useSessionInspector.test.ts +0 -251
- package/src/session/inspector/index.ts +0 -33
- package/src/session/inspector/useSessionInspector.ts +0 -178
- package/src/workspace/WorkspaceEntryFiles.tsx +0 -196
- package/workflow/motion-preference.d.ts.map +0 -1
- package/workflow/motion-preference.js.map +0 -1
- package/workspace/WorkspaceEntryFiles.d.ts +0 -22
- package/workspace/WorkspaceEntryFiles.d.ts.map +0 -1
- package/workspace/WorkspaceEntryFiles.js +0 -58
- package/workspace/WorkspaceEntryFiles.js.map +0 -1
- /package/session/{inspector → facets}/InspectTab.js +0 -0
- /package/src/{workflow → internal}/__tests__/motion-preference.test.ts +0 -0
- /package/src/session/{inspector → facets}/__tests__/ChangesTab.test.tsx +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-graph-model.d.ts","sourceRoot":"","sources":["../../src/workflow/workflow-graph-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wDAAwD,CAAC;AAC/F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"workflow-graph-model.d.ts","sourceRoot":"","sources":["../../src/workflow/work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
|
+
export interface EditorTabsProps {
|
|
4
|
+
/** Open editors in tab order. */
|
|
5
|
+
readonly editors: readonly OpenEditor[];
|
|
6
|
+
/** Key of the active editor (`editorKey(entryId, path)`), or `null`. */
|
|
7
|
+
readonly activeKey: string | null;
|
|
8
|
+
/** Focus an open editor (single click). */
|
|
9
|
+
readonly onActivate: (entryId: string, path: string) => void;
|
|
10
|
+
/** Pin an editor (double-click) so it stops being the reusable preview tab. */
|
|
11
|
+
readonly onPin: (entryId: string, path: string) => void;
|
|
12
|
+
/** Close an editor (close button or middle click). */
|
|
13
|
+
readonly onClose: (entryId: string, path: string) => void;
|
|
14
|
+
/** Additional CSS classes for the root element. */
|
|
15
|
+
readonly className?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The editor group's tab strip, following VS Code preview-tab semantics:
|
|
19
|
+
* a single-click preview tab renders in italics and is reused as the user
|
|
20
|
+
* browses; double-clicking a tab pins it (persistent). Each tab has a close
|
|
21
|
+
* control, also reachable by middle-click.
|
|
22
|
+
*
|
|
23
|
+
* A `role="tablist"` of `role="tab"` items; the matching `tabpanel` is the
|
|
24
|
+
* editor body rendered by the surface. Arrow keys move focus between tabs and
|
|
25
|
+
* activate; the per-tab close button is a nested control. All visual properties
|
|
26
|
+
* flow through `--stgm-*` tokens (DD-005).
|
|
27
|
+
*/
|
|
28
|
+
export declare function EditorTabs({ editors, activeKey, onActivate, onPin, onClose, className, }: EditorTabsProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=EditorTabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorTabs.d.ts","sourceRoot":"","sources":["../../src/workspace/EditorTabs.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExE,oCAAoC;AACpC,MAAM,WAAW,eAAe;IAC9B,iCAAiC;IACjC,QAAQ,CAAC,OAAO,EAAE,SAAS,UAAU,EAAE,CAAC;IACxC,wEAAwE;IACxE,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,2CAA2C;IAC3C,QAAQ,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,+EAA+E;IAC/E,QAAQ,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,sDAAsD;IACtD,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,mDAAmD;IACnD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,SAAS,EACT,UAAU,EACV,KAAK,EACL,OAAO,EACP,SAAS,GACV,EAAE,eAAe,2CA+FjB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useCallback } from "react";
|
|
4
|
+
import { cn } from "@stigmer/theme";
|
|
5
|
+
import { editorKey } from "../internal/store/index.js";
|
|
6
|
+
/**
|
|
7
|
+
* The editor group's tab strip, following VS Code preview-tab semantics:
|
|
8
|
+
* a single-click preview tab renders in italics and is reused as the user
|
|
9
|
+
* browses; double-clicking a tab pins it (persistent). Each tab has a close
|
|
10
|
+
* control, also reachable by middle-click.
|
|
11
|
+
*
|
|
12
|
+
* A `role="tablist"` of `role="tab"` items; the matching `tabpanel` is the
|
|
13
|
+
* editor body rendered by the surface. Arrow keys move focus between tabs and
|
|
14
|
+
* activate; the per-tab close button is a nested control. All visual properties
|
|
15
|
+
* flow through `--stgm-*` tokens (DD-005).
|
|
16
|
+
*/
|
|
17
|
+
export function EditorTabs({ editors, activeKey, onActivate, onPin, onClose, className, }) {
|
|
18
|
+
const move = useCallback((from, delta) => {
|
|
19
|
+
const next = from + delta;
|
|
20
|
+
if (next < 0 || next >= editors.length)
|
|
21
|
+
return;
|
|
22
|
+
const editor = editors[next];
|
|
23
|
+
onActivate(editor.entryId, editor.path);
|
|
24
|
+
}, [editors, onActivate]);
|
|
25
|
+
return (_jsx("div", { role: "tablist", "aria-label": "Open editors", "aria-orientation": "horizontal", className: cn("flex shrink-0 items-stretch overflow-x-auto border-b border-border", className), children: editors.map((editor, index) => {
|
|
26
|
+
const key = editorKey(editor.entryId, editor.path);
|
|
27
|
+
const isActive = key === activeKey;
|
|
28
|
+
const lastSlash = editor.path.lastIndexOf("/");
|
|
29
|
+
const basename = lastSlash >= 0 ? editor.path.slice(lastSlash + 1) : editor.path;
|
|
30
|
+
const handleKeyDown = (e) => {
|
|
31
|
+
if (e.key === "ArrowRight") {
|
|
32
|
+
e.preventDefault();
|
|
33
|
+
move(index, 1);
|
|
34
|
+
}
|
|
35
|
+
else if (e.key === "ArrowLeft") {
|
|
36
|
+
e.preventDefault();
|
|
37
|
+
move(index, -1);
|
|
38
|
+
}
|
|
39
|
+
else if (e.key === "Enter" || e.key === " ") {
|
|
40
|
+
e.preventDefault();
|
|
41
|
+
onActivate(editor.entryId, editor.path);
|
|
42
|
+
}
|
|
43
|
+
else if (e.key === "Delete" || e.key === "Backspace") {
|
|
44
|
+
e.preventDefault();
|
|
45
|
+
onClose(editor.entryId, editor.path);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const handleAuxClick = (e) => {
|
|
49
|
+
// Middle click closes, matching browser/editor tab conventions.
|
|
50
|
+
if (e.button === 1) {
|
|
51
|
+
e.preventDefault();
|
|
52
|
+
onClose(editor.entryId, editor.path);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
return (_jsxs("div", { role: "tab", "aria-selected": isActive, tabIndex: isActive ? 0 : -1, title: editor.path, onClick: () => onActivate(editor.entryId, editor.path), onDoubleClick: () => onPin(editor.entryId, editor.path), onAuxClick: handleAuxClick, onKeyDown: handleKeyDown, className: cn("group flex max-w-[12rem] shrink-0 cursor-pointer items-center gap-1.5 border-r border-border px-3 py-1.5 text-xs transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring", isActive
|
|
56
|
+
? "bg-background text-foreground"
|
|
57
|
+
: "bg-muted-faint text-muted-foreground hover:bg-muted hover:text-foreground"), children: [_jsx("span", { className: cn("truncate", editor.preview && "italic"), children: basename }), _jsx("button", { type: "button", onClick: (e) => {
|
|
58
|
+
e.stopPropagation();
|
|
59
|
+
onClose(editor.entryId, editor.path);
|
|
60
|
+
}, "aria-label": `Close ${basename}`, tabIndex: -1, className: cn("shrink-0 rounded p-0.5 text-muted-foreground transition-opacity hover:bg-accent-hover hover:text-foreground", "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", isActive ? "opacity-100" : "opacity-0 group-hover:opacity-100"), children: _jsx(CloseIcon, {}) })] }, key));
|
|
61
|
+
}) }));
|
|
62
|
+
}
|
|
63
|
+
function CloseIcon() {
|
|
64
|
+
return (_jsxs("svg", { width: "12", height: "12", viewBox: "0 0 14 14", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [_jsx("path", { d: "M3.5 3.5L10.5 10.5" }), _jsx("path", { d: "M10.5 3.5L3.5 10.5" })] }));
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=EditorTabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorTabs.js","sourceRoot":"","sources":["../../src/workspace/EditorTabs.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,WAAW,EAAuC,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,SAAS,EAAmB,MAAM,4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ectedWorkspaceFile } from "../internal/store/index.js";
|
|
2
|
+
import type { WorkspaceEntry } from "./useWorkspaceEntries.js";
|
|
3
|
+
import type { WorkspaceFileLister } from "./WorkspaceFileLister.js";
|
|
4
|
+
/** Props for {@link ExplorerTree}. */
|
|
5
|
+
export interface ExplorerTreeProps {
|
|
6
|
+
/** Workspace entries, each rendered as a collapsible root (multi-root). */
|
|
7
|
+
readonly entries: readonly WorkspaceEntry[];
|
|
8
|
+
/** Platform-injected file lister. */
|
|
9
|
+
readonly lister: WorkspaceFileLister;
|
|
10
|
+
/** The active file, highlighted in the tree. */
|
|
11
|
+
readonly selectedFile: SelectedWorkspaceFile | null;
|
|
12
|
+
/** Single click: open as a preview tab. */
|
|
13
|
+
readonly onOpenFile: (entryId: string, path: string) => void;
|
|
14
|
+
/** Double click: pin the file (persistent tab). */
|
|
15
|
+
readonly onActivateFile: (entryId: string, path: string) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Detach a workspace entry. When provided, each root header carries a remove
|
|
18
|
+
* control (VS Code's "Remove Folder from Workspace"); when absent the
|
|
19
|
+
* explorer is browse-only.
|
|
20
|
+
*/
|
|
21
|
+
readonly onRemoveEntry?: (entryId: string) => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The workspace surface's multi-root file explorer — the bare, VS Code-style
|
|
25
|
+
* tree: file-type icons, indent guides, single-click preview / double-click
|
|
26
|
+
* pin, optional per-root remove controls. Search lives in the surface's rail,
|
|
27
|
+
* not per root; listings come from the shared `useWorkspaceFiles` cache.
|
|
28
|
+
*
|
|
29
|
+
* All visual properties flow through `--stgm-*` tokens (DD-005).
|
|
30
|
+
*/
|
|
31
|
+
export declare function ExplorerTree({ entries, lister, selectedFile, onOpenFile, onActivateFile, onRemoveEntry, }: ExplorerTreeProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
//# sourceMappingURL=ExplorerTree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExplorerTree.d.ts","sourceRoot":"","sources":["../../src/workspace/ExplorerTree.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,sCAAsC;AACtC,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,QAAQ,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,CAAC;IAC5C,qCAAqC;IACrC,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IACrC,gDAAgD;IAChD,QAAQ,CAAC,YAAY,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACpD,2CAA2C;IAC3C,QAAQ,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,mDAAmD;IACnD,QAAQ,CAAC,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjE;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACpD;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,MAAM,EACN,YAAY,EACZ,UAAU,EACV,cAAc,EACd,aAAa,GACd,EAAE,iBAAiB,2CAmBnB"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
import { cn } from "@stigmer/theme";
|
|
5
|
+
import { FileTreeNode } from "../internal/file-tree/index.js";
|
|
6
|
+
import { useWorkspaceFiles } from "./useWorkspaceFiles.js";
|
|
7
|
+
/**
|
|
8
|
+
* The workspace surface's multi-root file explorer — the bare, VS Code-style
|
|
9
|
+
* tree: file-type icons, indent guides, single-click preview / double-click
|
|
10
|
+
* pin, optional per-root remove controls. Search lives in the surface's rail,
|
|
11
|
+
* not per root; listings come from the shared `useWorkspaceFiles` cache.
|
|
12
|
+
*
|
|
13
|
+
* All visual properties flow through `--stgm-*` tokens (DD-005).
|
|
14
|
+
*/
|
|
15
|
+
export function ExplorerTree({ entries, lister, selectedFile, onOpenFile, onActivateFile, onRemoveEntry, }) {
|
|
16
|
+
return (_jsx("div", { className: "flex flex-col", children: entries.map((entry, index) => (_jsx(ExplorerRoot, { entry: entry, lister: lister, defaultExpanded: index === 0, selectedPath: selectedFile?.entryId === entry.id ? selectedFile.path : undefined, onOpenFile: onOpenFile, onActivateFile: onActivateFile, onRemove: onRemoveEntry }, entry.id))) }));
|
|
17
|
+
}
|
|
18
|
+
/** One workspace root: a collapsible header over its file tree. */
|
|
19
|
+
function ExplorerRoot({ entry, lister, defaultExpanded, selectedPath, onOpenFile, onActivateFile, onRemove, }) {
|
|
20
|
+
const [expanded, setExpanded] = useState(defaultExpanded);
|
|
21
|
+
const { tree, isLoading, error, truncated, refresh } = useWorkspaceFiles({
|
|
22
|
+
entry: expanded ? entry : null,
|
|
23
|
+
lister,
|
|
24
|
+
});
|
|
25
|
+
return (_jsxs("div", { className: "flex flex-col", children: [_jsxs("div", { className: "group/root flex items-stretch", children: [_jsxs("button", { type: "button", onClick: () => setExpanded((prev) => !prev), "aria-expanded": expanded, className: cn("flex min-w-0 flex-1 items-center gap-1.5 px-1.5 py-1 text-left text-[0.7rem] font-semibold uppercase tracking-wide text-foreground transition-colors hover:bg-accent-hover", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"), title: entry.type === "local" ? entry.localPath : entry.gitUrl, children: [_jsx("span", { className: "text-[10px] text-muted-foreground-subtle", children: expanded ? "▼" : "▶" }), _jsx("span", { className: "truncate", children: entry.name })] }), onRemove && (_jsx("button", { type: "button", onClick: () => onRemove(entry.id), "aria-label": `Remove ${entry.name} from workspace`, title: `Remove ${entry.name} from workspace`, className: cn("shrink-0 px-1.5 text-muted-foreground opacity-0 transition-opacity", "group-hover/root:opacity-100 focus-visible:opacity-100", "hover:text-destructive focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"), children: _jsx(RemoveIcon, {}) }))] }), expanded && (_jsx(ExplorerRootBody, { entryName: entry.name, entryId: entry.id, tree: tree, isLoading: isLoading, error: error, truncated: truncated, selectedPath: selectedPath, onOpenFile: onOpenFile, onActivateFile: onActivateFile, onRetry: refresh }))] }));
|
|
26
|
+
}
|
|
27
|
+
function ExplorerRootBody({ entryName, entryId, tree, isLoading, error, truncated, selectedPath, onOpenFile, onActivateFile, onRetry, }) {
|
|
28
|
+
if (isLoading) {
|
|
29
|
+
return (_jsx("div", { className: "space-y-1.5 px-2 py-2", "aria-busy": "true", "aria-label": `Loading files for ${entryName}`, children: [1, 2, 3, 4].map((i) => (_jsx("div", { className: "h-3.5 animate-pulse rounded bg-muted", style: { width: `${50 + i * 10}%` }, "aria-hidden": "true" }, i))) }));
|
|
30
|
+
}
|
|
31
|
+
if (error) {
|
|
32
|
+
return (_jsxs("div", { className: "px-2 py-2 text-xs text-destructive", children: ["Failed to list files: ", error.message, _jsx("button", { type: "button", onClick: onRetry, className: "ml-2 underline transition-colors hover:text-destructive", children: "Retry" })] }));
|
|
33
|
+
}
|
|
34
|
+
if (tree.length === 0) {
|
|
35
|
+
return (_jsx("p", { className: "px-3 py-2 text-xs text-muted-foreground", children: "No files found." }));
|
|
36
|
+
}
|
|
37
|
+
return (_jsxs(_Fragment, { children: [_jsx("nav", { "aria-label": `File tree for ${entryName}`, children: _jsx("ul", { className: "py-0.5 pl-1.5", role: "tree", children: tree.map((node) => (_jsx(FileTreeNode, { node: node, selectedPath: selectedPath ?? "", onSelect: (path) => onOpenFile(entryId, path), onActivate: (path) => onActivateFile(entryId, path), depth: 0, enableDrag: true, showIcons: true, indentGuides: true, maxInitialDepth: 0 }, node.path))) }) }), truncated && (_jsx("p", { className: "px-3 py-1.5 text-[0.65rem] text-muted-foreground", children: "Showing a partial listing \u2014 this repository has too many files to load in full." }))] }));
|
|
38
|
+
}
|
|
39
|
+
// ---------------------------------------------------------------------------
|
|
40
|
+
// Inline SVG icons (SDK independence — no lucide dependency)
|
|
41
|
+
// ---------------------------------------------------------------------------
|
|
42
|
+
function RemoveIcon() {
|
|
43
|
+
return (_jsx("svg", { width: "12", height: "12", viewBox: "0 0 14 14", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: _jsx("path", { d: "M4 4L10 10M10 4L4 10" }) }));
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=ExplorerTree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExplorerTree.js","sourceRoot":"","sources":["../../src/workspace/ExplorerTree.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAwB3D;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAC,EAC3B,OAAO,EACP,MAAM,EACN,YAAY,EACZ,UAAU,EACV,cAAc,EACd,aAAa,GACK;IAClB,OAAO,CACL,cAAK,SAAS,EAAC,eAAe,YAC3B,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC7B,KAAC,YAAY,IAEX,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,KAAK,KAAK,CAAC,EAC5B,YAAY,EACV,YAAY,EAAE,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C,EAAC,sBAAsB,GAAG,GAC7B,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { FileChange } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/message_pb";
|
|
2
|
+
import type { RevealTarget } from "../internal/useRevealLine.js";
|
|
3
|
+
import type { SelectedWorkspaceFile } from "../internal/store/workspace-file-selection-store.js";
|
|
4
|
+
import type { WorkspaceEntry } from "./useWorkspaceEntries.js";
|
|
5
|
+
import type { WorkspaceFileReader } from "./WorkspaceFileReader.js";
|
|
6
|
+
/** Props for {@link FileViewer}. */
|
|
7
|
+
export interface FileViewerProps {
|
|
8
|
+
/** The file to display, keyed by owning entry id + path. */
|
|
9
|
+
readonly selectedFile: SelectedWorkspaceFile;
|
|
10
|
+
/**
|
|
11
|
+
* Live workspace entries. The viewer resolves `selectedFile.entryId` against
|
|
12
|
+
* this list, so a removed entry deselects into a gentle empty state rather
|
|
13
|
+
* than reading a stale value.
|
|
14
|
+
*/
|
|
15
|
+
readonly entries: readonly WorkspaceEntry[];
|
|
16
|
+
/**
|
|
17
|
+
* Platform-injected content reader. `undefined` means the host injects no
|
|
18
|
+
* reader — the viewer shows an honest "not available here" state.
|
|
19
|
+
*/
|
|
20
|
+
readonly reader: WorkspaceFileReader | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The session {@link FileChange} that touched this file, when it was changed
|
|
23
|
+
* this session. When present the viewer defaults to the authoritative
|
|
24
|
+
* `baseline→candidate` diff (DD-06) and — for a non-DELETE change with a
|
|
25
|
+
* `reader` — offers a labeled toggle to the live "File" view. `undefined`
|
|
26
|
+
* (the default) keeps the viewer a pure read-only browser (backward
|
|
27
|
+
* compatible). Callers correlate the open file to its change with
|
|
28
|
+
* `findChangeForSelection`; a platform builder can pass any `FileChange`.
|
|
29
|
+
*/
|
|
30
|
+
readonly change?: FileChange;
|
|
31
|
+
/**
|
|
32
|
+
* Optional jump-to-line request (e.g. a content-search hit). When present the
|
|
33
|
+
* viewer opens in the live **File** view — a line number refers to current
|
|
34
|
+
* source, not the diff (DR-1) — with the `Diff | File` toggle still available,
|
|
35
|
+
* and the matched line is scrolled into view and highlighted. A new `nonce`
|
|
36
|
+
* re-forces File view and re-scrolls even on an already-open file. No-op when
|
|
37
|
+
* the file is not live-browsable (a DELETE, or no `reader`).
|
|
38
|
+
*/
|
|
39
|
+
readonly reveal?: RevealTarget;
|
|
40
|
+
/** Called when the user closes the viewer (close button or Escape). */
|
|
41
|
+
readonly onClose?: () => void;
|
|
42
|
+
/**
|
|
43
|
+
* Whether to render the built-in header (file name, refresh, close). Defaults
|
|
44
|
+
* to `true` for standalone use. Set `false` when an outer chrome owns the file
|
|
45
|
+
* identity and controls — e.g. the workspace surface, whose editor toolbar
|
|
46
|
+
* (and, from Slice B, its tabs) show the name and collapse control, and where
|
|
47
|
+
* a duplicate header would also collide with the floating `headerActions`
|
|
48
|
+
* overlay. `onClose` still drives Escape-to-close even when the header (and
|
|
49
|
+
* its close button) is hidden.
|
|
50
|
+
*/
|
|
51
|
+
readonly showHeader?: boolean;
|
|
52
|
+
/** Additional CSS classes for the root element. */
|
|
53
|
+
readonly className?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Imperative handle for {@link FileViewer}. Lets an outer chrome (e.g. the
|
|
57
|
+
* workspace surface's toolbar, which hides the built-in header) trigger a
|
|
58
|
+
* re-fetch of the live file content without lifting the viewer's fetch state.
|
|
59
|
+
*/
|
|
60
|
+
export interface FileViewerHandle {
|
|
61
|
+
/** Re-fetch the current file's live content. */
|
|
62
|
+
readonly refresh: () => void;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Read-only viewer for a single workspace file.
|
|
66
|
+
*
|
|
67
|
+
* A thin shell (no new rendering): it resolves the open file, drives
|
|
68
|
+
* {@link useWorkspaceFileContent}, and — for displayable text — delegates to
|
|
69
|
+
* the shared {@link ArtifactContentRenderer} (markdown / YAML / JSON /
|
|
70
|
+
* line-numbered text). Its state body deliberately mirrors
|
|
71
|
+
* `FileContentStateView` in `ArtifactPreviewModal` (same skeleton, error, and
|
|
72
|
+
* delegation), extended with the three states an execution artifact never
|
|
73
|
+
* has — binary, too-large, and unsupported-substrate. The two are **not**
|
|
74
|
+
* merged into one shared component: their surrounding chrome (an artifact's
|
|
75
|
+
* copy/download/apply bar vs. this viewer's header) differs enough that a
|
|
76
|
+
* shared shell would need context-flag props. Keep them as sibling shells that
|
|
77
|
+
* share the one renderer.
|
|
78
|
+
*
|
|
79
|
+
* Framework-agnostic and themed via `--stgm-*` tokens (DD-004/DD-005): a
|
|
80
|
+
* platform builder can mount it directly given a `reader` and a selection.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* ```tsx
|
|
84
|
+
* <FileViewer
|
|
85
|
+
* selectedFile={{ entryId: entry.id, path: "src/index.ts" }}
|
|
86
|
+
* entries={workspace.entries}
|
|
87
|
+
* reader={workspaceFileReader}
|
|
88
|
+
* onClose={() => setSelected(null)}
|
|
89
|
+
* />
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
export declare const FileViewer: import("react").ForwardRefExoticComponent<FileViewerProps & import("react").RefAttributes<FileViewerHandle>>;
|
|
93
|
+
//# sourceMappingURL=FileViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileViewer.d.ts","sourceRoot":"","sources":["../../src/workspace/FileViewer.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iEAAiE,CAAC;AAIlG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAEjG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAKpE,oCAAoC;AACpC,MAAM,WAAW,eAAe;IAC9B,4DAA4D;IAC5D,QAAQ,CAAC,YAAY,EAAE,qBAAqB,CAAC;IAC7C;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,CAAC;IAC5C;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACjD;;;;;;;;OAQG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC;IAC7B;;;;;;;OAOG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;IAC/B,uEAAuE;IACvE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B;;;;;;;;OAQG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,mDAAmD;IACnD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,UAAU,8GA6HtB,CAAC"}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef, useCallback, useEffect, useImperativeHandle, useState, } from "react";
|
|
4
|
+
import { cn } from "@stigmer/theme";
|
|
5
|
+
import { FileChangeType } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/enum_pb";
|
|
6
|
+
import { ArtifactContentRenderer } from "../execution/ArtifactContentRenderer.js";
|
|
7
|
+
import { FileChangeDiff } from "../execution/FileChangesView.js";
|
|
8
|
+
import { useWorkspaceFileContent } from "./useWorkspaceFileContent.js";
|
|
9
|
+
/** Line-skeleton widths, mirroring `FileContentStateView` in `ArtifactPreviewModal`. */
|
|
10
|
+
const SKELETON_LINE_WIDTHS = [85, 72, 90, 65, 78, 88, 70, 82];
|
|
11
|
+
/**
|
|
12
|
+
* Read-only viewer for a single workspace file.
|
|
13
|
+
*
|
|
14
|
+
* A thin shell (no new rendering): it resolves the open file, drives
|
|
15
|
+
* {@link useWorkspaceFileContent}, and — for displayable text — delegates to
|
|
16
|
+
* the shared {@link ArtifactContentRenderer} (markdown / YAML / JSON /
|
|
17
|
+
* line-numbered text). Its state body deliberately mirrors
|
|
18
|
+
* `FileContentStateView` in `ArtifactPreviewModal` (same skeleton, error, and
|
|
19
|
+
* delegation), extended with the three states an execution artifact never
|
|
20
|
+
* has — binary, too-large, and unsupported-substrate. The two are **not**
|
|
21
|
+
* merged into one shared component: their surrounding chrome (an artifact's
|
|
22
|
+
* copy/download/apply bar vs. this viewer's header) differs enough that a
|
|
23
|
+
* shared shell would need context-flag props. Keep them as sibling shells that
|
|
24
|
+
* share the one renderer.
|
|
25
|
+
*
|
|
26
|
+
* Framework-agnostic and themed via `--stgm-*` tokens (DD-004/DD-005): a
|
|
27
|
+
* platform builder can mount it directly given a `reader` and a selection.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* <FileViewer
|
|
32
|
+
* selectedFile={{ entryId: entry.id, path: "src/index.ts" }}
|
|
33
|
+
* entries={workspace.entries}
|
|
34
|
+
* reader={workspaceFileReader}
|
|
35
|
+
* onClose={() => setSelected(null)}
|
|
36
|
+
* />
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export const FileViewer = forwardRef(function FileViewer({ selectedFile, entries, reader, change, reveal, onClose, showHeader = true, className }, ref) {
|
|
40
|
+
const entry = entries.find((e) => e.id === selectedFile.entryId) ?? null;
|
|
41
|
+
const path = selectedFile.path;
|
|
42
|
+
// The hook is called unconditionally — a missing entry passes `null` and the
|
|
43
|
+
// hook stays idle, so hook order is stable across the not-found branch.
|
|
44
|
+
const { content, isLoading, error, isUnsupported, refetch } = useWorkspaceFileContent({ entry, path, reader });
|
|
45
|
+
useImperativeHandle(ref, () => ({ refresh: refetch }), [refetch]);
|
|
46
|
+
// View mode is meaningful only for a changed file. A deleted file has no live
|
|
47
|
+
// bytes to browse, and browsing needs a reader, so the live "File" view is
|
|
48
|
+
// gated on both; otherwise a changed file shows the diff alone (no lone
|
|
49
|
+
// control). The default is the authoritative diff (DD-06). The mount site
|
|
50
|
+
// remounts the viewer per file (`key`), so this initializes correctly for
|
|
51
|
+
// each opened file without deriving during render.
|
|
52
|
+
const canBrowseLive = reader !== undefined && change?.changeType !== FileChangeType.DELETE;
|
|
53
|
+
const showViewToggle = change !== undefined && canBrowseLive;
|
|
54
|
+
// A reveal (jump-to-line) opens in File view even for a changed file — the
|
|
55
|
+
// line number refers to current source, not the diff (DR-1). Absent a reveal,
|
|
56
|
+
// a changed file still defaults to the authoritative diff (DD-06).
|
|
57
|
+
const [viewMode, setViewMode] = useState(reveal ? "file" : change !== undefined ? "diff" : "file");
|
|
58
|
+
// A new reveal on an already-mounted viewer (a second search hit in the same
|
|
59
|
+
// file, so no remount) must return to File view to honor the line.
|
|
60
|
+
useEffect(() => {
|
|
61
|
+
if (reveal)
|
|
62
|
+
setViewMode("file");
|
|
63
|
+
// Keyed on the reveal nonce: only a fresh jump-to-line request re-forces
|
|
64
|
+
// File view, so a manual switch to Diff afterward sticks.
|
|
65
|
+
}, [reveal?.nonce]);
|
|
66
|
+
const effectiveView = change
|
|
67
|
+
? canBrowseLive
|
|
68
|
+
? viewMode
|
|
69
|
+
: "diff"
|
|
70
|
+
: "file";
|
|
71
|
+
const handleKeyDown = useCallback((e) => {
|
|
72
|
+
if (e.key === "Escape" && onClose) {
|
|
73
|
+
e.stopPropagation();
|
|
74
|
+
onClose();
|
|
75
|
+
}
|
|
76
|
+
}, [onClose]);
|
|
77
|
+
const lastSlash = path.lastIndexOf("/");
|
|
78
|
+
const basename = lastSlash >= 0 ? path.slice(lastSlash + 1) : path;
|
|
79
|
+
const dir = lastSlash >= 0 ? path.slice(0, lastSlash) : "";
|
|
80
|
+
// The owning entry is gone (removed while its file was open).
|
|
81
|
+
if (!entry) {
|
|
82
|
+
return (_jsxs("div", { role: "region", "aria-label": "File viewer", className: cn("flex h-full flex-col", className), onKeyDown: handleKeyDown, children: [showHeader && (_jsx(ViewerHeader, { basename: basename, dir: dir, onRefresh: undefined, onClose: onClose })), _jsx("div", { className: "flex flex-1 items-center justify-center p-8 text-center text-xs text-muted-foreground", children: "This file is no longer in the workspace." })] }));
|
|
83
|
+
}
|
|
84
|
+
return (_jsxs("div", { role: "region", "aria-label": "File viewer", className: cn("flex h-full flex-col", className), onKeyDown: handleKeyDown, children: [showHeader && (_jsx(ViewerHeader, { basename: basename, dir: dir, onRefresh: effectiveView === "file" && !isUnsupported ? refetch : undefined, onClose: onClose })), showViewToggle && (_jsx(ViewerModeToggle, { value: viewMode, onChange: setViewMode })), _jsx("div", { className: "min-h-0 flex-1 overflow-y-auto", children: effectiveView === "diff" && change ? (_jsx("div", { className: "p-3", children: _jsx(FileChangeDiff, { change: change, showFileName: false, showStats: true }) })) : (_jsxs(_Fragment, { children: [change && (_jsx("p", { className: "border-b border-border-muted px-4 py-1.5 text-[0.65rem] text-muted-foreground", children: "Live \u2014 may differ from the reviewed change." })), _jsx(FileViewerBody, { basename: basename, content: content, isLoading: isLoading, isUnsupported: isUnsupported, error: error, onRetry: refetch, reveal: reveal })] })) })] }));
|
|
85
|
+
});
|
|
86
|
+
// ---------------------------------------------------------------------------
|
|
87
|
+
// View toggle — Diff vs live File
|
|
88
|
+
// ---------------------------------------------------------------------------
|
|
89
|
+
/**
|
|
90
|
+
* Segmented control for a changed file's two views: the authoritative reviewed
|
|
91
|
+
* **Diff** and the live **File**. A mutually-exclusive choice, so it follows
|
|
92
|
+
* the platform's radiogroup segmented-control pattern (see `library/ScopeToggle`)
|
|
93
|
+
* rather than a tablist — it must not nest a second tablist inside the
|
|
94
|
+
* inspector's own tabs.
|
|
95
|
+
*/
|
|
96
|
+
function ViewerModeToggle({ value, onChange, }) {
|
|
97
|
+
const options = [
|
|
98
|
+
{ value: "diff", label: "Diff" },
|
|
99
|
+
{ value: "file", label: "File" },
|
|
100
|
+
];
|
|
101
|
+
const handleKeyDown = useCallback((e) => {
|
|
102
|
+
if (e.key === "ArrowRight" || e.key === "ArrowDown") {
|
|
103
|
+
e.preventDefault();
|
|
104
|
+
onChange("file");
|
|
105
|
+
}
|
|
106
|
+
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") {
|
|
107
|
+
e.preventDefault();
|
|
108
|
+
onChange("diff");
|
|
109
|
+
}
|
|
110
|
+
}, [onChange]);
|
|
111
|
+
return (_jsx("div", { className: "border-b border-border px-3 py-1.5", children: _jsx("div", { role: "radiogroup", "aria-label": "File view", className: "inline-flex rounded-md bg-muted p-0.5", children: options.map((option) => {
|
|
112
|
+
const isSelected = value === option.value;
|
|
113
|
+
return (_jsx("button", { type: "button", role: "radio", "aria-checked": isSelected, tabIndex: isSelected ? 0 : -1, onClick: () => onChange(option.value), onKeyDown: handleKeyDown, className: cn("inline-flex cursor-pointer items-center rounded-sm px-2 py-0.5 text-xs font-medium transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", isSelected
|
|
114
|
+
? "bg-background text-foreground shadow-sm"
|
|
115
|
+
: "text-muted-foreground hover:text-foreground"), children: option.label }, option.value));
|
|
116
|
+
}) }) }));
|
|
117
|
+
}
|
|
118
|
+
// ---------------------------------------------------------------------------
|
|
119
|
+
// Body — exactly one state, mirroring FileContentStateView + workspace extras
|
|
120
|
+
// ---------------------------------------------------------------------------
|
|
121
|
+
function FileViewerBody({ basename, content, isLoading, isUnsupported, error, onRetry, reveal, }) {
|
|
122
|
+
// Unsupported comes first: a missing reader means there is nothing to load.
|
|
123
|
+
if (isUnsupported) {
|
|
124
|
+
return (_jsx(MessageState, { children: "Preview isn\u2019t available for this file here." }));
|
|
125
|
+
}
|
|
126
|
+
if (isLoading) {
|
|
127
|
+
return (_jsx("div", { className: "space-y-2 p-4", "aria-busy": "true", "aria-label": "Loading file", children: SKELETON_LINE_WIDTHS.map((width, i) => (_jsx("div", { className: "h-4 animate-pulse rounded bg-muted", style: { width: `${width}%` }, "aria-hidden": "true" }, i))) }));
|
|
128
|
+
}
|
|
129
|
+
if (error) {
|
|
130
|
+
return (_jsxs("div", { className: "flex flex-col items-center justify-center gap-2 p-8 text-center", children: [_jsx(ErrorAlertIcon, {}), _jsx("p", { className: "text-sm text-destructive", children: error.message }), _jsx("button", { type: "button", onClick: onRetry, className: "text-xs font-medium text-foreground underline underline-offset-2 hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:rounded-sm", children: "Retry" })] }));
|
|
131
|
+
}
|
|
132
|
+
if (!content) {
|
|
133
|
+
// Not loading, not unsupported, no error, yet no content — defensive.
|
|
134
|
+
return _jsx(MessageState, { children: "Content not available for preview." });
|
|
135
|
+
}
|
|
136
|
+
if (content.isBinary) {
|
|
137
|
+
return (_jsxs(MessageState, { children: ["Binary file \u2014 not shown", content.size ? ` (${formatBytes(content.size)})` : "", "."] }));
|
|
138
|
+
}
|
|
139
|
+
if (content.text === null && content.truncated) {
|
|
140
|
+
return (_jsxs(MessageState, { children: ["This file is too large to preview", content.size ? ` (${formatBytes(content.size)})` : "", "."] }));
|
|
141
|
+
}
|
|
142
|
+
if (content.text === null) {
|
|
143
|
+
return _jsx(MessageState, { children: "This file can\u2019t be displayed as text." });
|
|
144
|
+
}
|
|
145
|
+
return (_jsx(ArtifactContentRenderer, { content: content.text, fileName: basename, isTruncated: content.truncated, reveal: reveal }));
|
|
146
|
+
}
|
|
147
|
+
// ---------------------------------------------------------------------------
|
|
148
|
+
// Header
|
|
149
|
+
// ---------------------------------------------------------------------------
|
|
150
|
+
function ViewerHeader({ basename, dir, onRefresh, onClose, }) {
|
|
151
|
+
return (_jsxs("div", { className: "flex items-center gap-2 border-b border-border px-3 py-2", children: [_jsx(FileIcon, {}), _jsxs("div", { className: "flex min-w-0 flex-1 items-baseline gap-1.5", children: [_jsx("span", { className: "truncate text-xs font-semibold text-foreground", title: dir ? `${dir}/${basename}` : basename, children: basename }), dir && (_jsx("span", { className: "truncate text-[0.65rem] text-muted-foreground", children: dir }))] }), onRefresh && (_jsx("button", { type: "button", onClick: onRefresh, "aria-label": `Reload ${basename}`, className: "shrink-0 rounded p-0.5 text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", children: _jsx(RefreshIcon, {}) })), onClose && (_jsx("button", { type: "button", onClick: onClose, "aria-label": "Close file viewer", className: "shrink-0 rounded p-0.5 text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", children: _jsx(CloseIcon, {}) }))] }));
|
|
152
|
+
}
|
|
153
|
+
function MessageState({ children }) {
|
|
154
|
+
return (_jsx("div", { className: "flex h-full items-center justify-center p-8 text-center text-xs text-muted-foreground", children: children }));
|
|
155
|
+
}
|
|
156
|
+
// ---------------------------------------------------------------------------
|
|
157
|
+
// Helpers
|
|
158
|
+
// ---------------------------------------------------------------------------
|
|
159
|
+
/** Human-readable byte size for the too-large / binary states. */
|
|
160
|
+
function formatBytes(n) {
|
|
161
|
+
if (n < 1024)
|
|
162
|
+
return `${n} B`;
|
|
163
|
+
if (n < 1024 * 1024)
|
|
164
|
+
return `${(n / 1024).toFixed(1)} KB`;
|
|
165
|
+
return `${(n / (1024 * 1024)).toFixed(1)} MB`;
|
|
166
|
+
}
|
|
167
|
+
// ---------------------------------------------------------------------------
|
|
168
|
+
// Inline SVG icons (SDK independence — no lucide dependency)
|
|
169
|
+
// ---------------------------------------------------------------------------
|
|
170
|
+
function FileIcon() {
|
|
171
|
+
return (_jsxs("svg", { width: "14", height: "14", viewBox: "0 0 16 16", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", className: "shrink-0 text-muted-foreground", "aria-hidden": "true", children: [_jsx("path", { d: "M9.5 1.5H5C4.17 1.5 3.5 2.17 3.5 3V13C3.5 13.83 4.17 14.5 5 14.5H11C11.83 14.5 12.5 13.83 12.5 13V4.5L9.5 1.5Z" }), _jsx("path", { d: "M9.5 1.5V4.5H12.5" })] }));
|
|
172
|
+
}
|
|
173
|
+
function CloseIcon() {
|
|
174
|
+
return (_jsxs("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [_jsx("path", { d: "M3 3L11 11" }), _jsx("path", { d: "M11 3L3 11" })] }));
|
|
175
|
+
}
|
|
176
|
+
function RefreshIcon() {
|
|
177
|
+
return (_jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [_jsx("path", { d: "M1.5 6a4.5 4.5 0 017.794-3.073M10.5 6a4.5 4.5 0 01-7.794 3.073" }), _jsx("path", { d: "M9.5 1v2.5H7M2.5 11V8.5H5" })] }));
|
|
178
|
+
}
|
|
179
|
+
function ErrorAlertIcon() {
|
|
180
|
+
return (_jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", className: "text-destructive", "aria-hidden": "true", children: [_jsx("circle", { cx: "8", cy: "8", r: "6.5" }), _jsx("path", { d: "M8 5.5V8.5" }), _jsx("circle", { cx: "8", cy: "11", r: "0.5", fill: "currentColor", stroke: "none" })] }));
|
|
181
|
+
}
|
|
182
|
+
//# sourceMappingURL=FileViewer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileViewer.js","sourceRoot":"","sources":["../../src/workspace/FileViewer.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EACL,UAAU,EACV,WAAW,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EAAC,SAAS,EAAC,kBAAkB,iBAAa,MAAM,aAC9L,iBAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,KAAK,GAAG,EAChC,eAAM,CAAC,EAAC,YAAY,GAAG,EACvB,iBAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,EAAC,IAAI,EAAC,cAAc,EAAC,MAAM,EAAC,MAAM,GAAG,IAC/D,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { WorkspaceEntry } from "./useWorkspaceEntries.js";
|
|
2
|
+
import type { WorkspaceContentSearcher } from "./WorkspaceContentSearcher.js";
|
|
3
|
+
import type { OpenFileOptions } from "../internal/store/index.js";
|
|
4
|
+
import type { SelectedWorkspaceFile } from "../internal/store/workspace-file-selection-store.js";
|
|
5
|
+
/** Props for {@link WorkspaceContentSearch}. */
|
|
6
|
+
export interface WorkspaceContentSearchProps {
|
|
7
|
+
/** All workspace entries to search across. */
|
|
8
|
+
readonly entries: readonly WorkspaceEntry[];
|
|
9
|
+
/** Platform-injected content searcher. `undefined` → content search is unavailable. */
|
|
10
|
+
readonly searcher: WorkspaceContentSearcher | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Opens a result's file in the viewer, jumping to the matched line. The
|
|
13
|
+
* `options.line` carries the hit's 1-based line so the viewer scrolls to and
|
|
14
|
+
* highlights it (DR-1/DR-2).
|
|
15
|
+
*/
|
|
16
|
+
readonly onOpenFile: (entryId: string, path: string, options?: OpenFileOptions) => void;
|
|
17
|
+
/** The file currently open in the viewer, highlighted in the results. */
|
|
18
|
+
readonly selectedFile?: SelectedWorkspaceFile | null;
|
|
19
|
+
/** Additional CSS classes for the root element. */
|
|
20
|
+
readonly className?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Workspace-wide content (text) search surface.
|
|
24
|
+
*
|
|
25
|
+
* Greps file contents across every workspace entry (via
|
|
26
|
+
* {@link useWorkspaceContentSearch}) and opens a hit's file in the viewer
|
|
27
|
+
* through `onOpenFile` — the same seam a file-tree click and filename search
|
|
28
|
+
* use. Results are a VS Code-style `file → line` layout: each matched file is a
|
|
29
|
+
* header, each hit a line row with a line-number gutter and a highlighted
|
|
30
|
+
* preview. Filename search lives in the sibling {@link WorkspaceFileSearch}; a
|
|
31
|
+
* `Name | Text` toggle in the surface switches between them (DD-09).
|
|
32
|
+
*
|
|
33
|
+
* Keyboard/a11y mirrors the filename sibling (and `McpServerPicker`): the input
|
|
34
|
+
* is a `role="combobox"` driving `aria-activedescendant`; results are a
|
|
35
|
+
* `role="listbox"` of `role="option"` line rows; ArrowUp/Down move a virtual
|
|
36
|
+
* focus over the flat line-hit index (across files and entries) with Enter to
|
|
37
|
+
* open — focus stays in the input. All visual properties flow through `--stgm-*`
|
|
38
|
+
* tokens (DD-005).
|
|
39
|
+
*/
|
|
40
|
+
export declare function WorkspaceContentSearch({ entries, searcher, onOpenFile, selectedFile, className, }: WorkspaceContentSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
//# sourceMappingURL=WorkspaceContentSearch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceContentSearch.d.ts","sourceRoot":"","sources":["../../src/workspace/WorkspaceContentSearch.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAgBjG,gDAAgD;AAChD,MAAM,WAAW,2BAA2B;IAC1C,8CAA8C;IAC9C,QAAQ,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,CAAC;IAC5C,uFAAuF;IACvF,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACxD;;;;OAIG;IACH,QAAQ,CAAC,UAAU,EAAE,CACnB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,eAAe,KACtB,IAAI,CAAC;IACV,yEAAyE;IACzE,QAAQ,CAAC,YAAY,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACrD,mDAAmD;IACnD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAQD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,OAAO,EACP,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,SAAS,GACV,EAAE,2BAA2B,2CAwJ7B"}
|