@stigmer/react 3.9.0 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/access/ManageAccessButton.js +1 -1
- package/access/ManageAccessButton.js.map +1 -1
- package/access/ManageAccessDialog.js +3 -3
- package/access/ManageAccessDialog.js.map +1 -1
- package/action-menu/ActionMenu.js +3 -3
- package/action-menu/ActionMenu.js.map +1 -1
- package/activity/useRecentActivity.d.ts +6 -1
- package/activity/useRecentActivity.d.ts.map +1 -1
- package/activity/useRecentActivity.js +6 -1
- package/activity/useRecentActivity.js.map +1 -1
- package/agent/AgentDetailView.js +21 -21
- package/agent/AgentDetailView.js.map +1 -1
- package/agent/AgentPicker.js +8 -8
- package/agent/AgentPicker.js.map +1 -1
- package/agent/steps/CapabilitiesStep.js +3 -3
- package/agent/steps/CapabilitiesStep.js.map +1 -1
- package/agent/steps/IdentityStep.js +6 -6
- package/agent/steps/IdentityStep.js.map +1 -1
- package/agent/steps/ReviewStep.js +3 -3
- package/agent/steps/ReviewStep.js.map +1 -1
- package/agent-instance/AgentInstanceDetailPanel.js +2 -2
- package/agent-instance/AgentInstanceDetailPanel.js.map +1 -1
- package/agent-instance/AgentInstanceList.js +4 -4
- package/agent-instance/AgentInstanceList.js.map +1 -1
- package/agent-instance/CreateAgentInstanceDialog.js +1 -1
- package/agent-instance/CreateAgentInstanceDialog.js.map +1 -1
- package/api-key/ApiKeyCreatedAlert.js +1 -1
- package/api-key/ApiKeyCreatedAlert.js.map +1 -1
- package/api-key/ApiKeyListPanel.js +9 -9
- package/api-key/ApiKeyListPanel.js.map +1 -1
- package/api-key/CreateApiKeyForm.js +5 -5
- package/api-key/CreateApiKeyForm.js.map +1 -1
- package/attachment/AttachmentChipList.d.ts +16 -4
- package/attachment/AttachmentChipList.d.ts.map +1 -1
- package/attachment/AttachmentChipList.js +103 -37
- package/attachment/AttachmentChipList.js.map +1 -1
- package/attachment/AttachmentImageLightbox.d.ts +39 -0
- package/attachment/AttachmentImageLightbox.d.ts.map +1 -0
- package/attachment/AttachmentImageLightbox.js +57 -0
- package/attachment/AttachmentImageLightbox.js.map +1 -0
- package/attachment/attachment-utils.d.ts +8 -5
- package/attachment/attachment-utils.d.ts.map +1 -1
- package/attachment/attachment-utils.js +8 -5
- package/attachment/attachment-utils.js.map +1 -1
- package/attachment/useObjectUrl.d.ts +15 -0
- package/attachment/useObjectUrl.d.ts.map +1 -0
- package/attachment/useObjectUrl.js +25 -0
- package/attachment/useObjectUrl.js.map +1 -0
- package/billing/AutoRechargeCard.js +2 -2
- package/billing/AutoRechargeCard.js.map +1 -1
- package/billing/BillingSection.js +6 -6
- package/billing/BillingSection.js.map +1 -1
- package/billing/CreditBalanceCard.js +4 -4
- package/billing/CreditBalanceCard.js.map +1 -1
- package/billing/CreditLedgerTable.js +13 -13
- package/billing/CreditLedgerTable.js.map +1 -1
- package/billing/CreditPackGrid.js +2 -2
- package/billing/CreditPackGrid.js.map +1 -1
- package/billing/LowBalanceBanner.js +4 -4
- package/billing/LowBalanceBanner.js.map +1 -1
- package/billing/PaymentMethodCard.js +2 -2
- package/billing/PaymentMethodCard.js.map +1 -1
- package/button/Button.js +7 -7
- package/button/Button.js.map +1 -1
- package/channel/AgentChannelsPanel.js +12 -12
- package/channel/AgentChannelsPanel.js.map +1 -1
- package/channel/ChannelConversationsDialog.js +6 -6
- package/channel/ChannelConversationsDialog.js.map +1 -1
- package/channel/ChannelCredentialsDialog.js +2 -2
- package/channel/ChannelCredentialsDialog.js.map +1 -1
- package/channel/ChannelTemplatesDialog.js +13 -13
- package/channel/ChannelTemplatesDialog.js.map +1 -1
- package/channel/ChannelToolCredentials.js +3 -3
- package/channel/ChannelToolCredentials.js.map +1 -1
- package/channel/ConnectSlackDialog.js +13 -13
- package/channel/ConnectSlackDialog.js.map +1 -1
- package/channel/ConnectWhatsAppDialog.js +8 -8
- package/channel/ConnectWhatsAppDialog.js.map +1 -1
- package/channel/connect/ServingAppSection.js +5 -5
- package/channel/connect/ServingAppSection.js.map +1 -1
- package/channel/connect/ToolCredentialsSection.js +1 -1
- package/channel/connect/ToolCredentialsSection.js.map +1 -1
- package/channel/connect/VerbatimRefusal.js +1 -1
- package/channel/connect/VerbatimRefusal.js.map +1 -1
- package/channel/connect/icons.js +1 -1
- package/channel/connect/icons.js.map +1 -1
- package/channel-app/ChannelAppDetailPanel.js +3 -3
- package/channel-app/ChannelAppDetailPanel.js.map +1 -1
- package/channel-app/ChannelAppListPanel.js +5 -5
- package/channel-app/ChannelAppListPanel.js.map +1 -1
- package/channel-app/CreateChannelAppForm.js +6 -6
- package/channel-app/CreateChannelAppForm.js.map +1 -1
- package/channel-app/internal.js +7 -7
- package/channel-app/internal.js.map +1 -1
- package/composer/ComposerToolbar.js +4 -4
- package/composer/ComposerToolbar.js.map +1 -1
- package/composer/ConfigureMenu.js +4 -4
- package/composer/ConfigureMenu.js.map +1 -1
- package/composer/ContextChip.js +4 -4
- package/composer/ContextChip.js.map +1 -1
- package/composer/ContextPopover.js +4 -4
- package/composer/ContextPopover.js.map +1 -1
- package/composer/InteractionModePicker.js +5 -5
- package/composer/InteractionModePicker.js.map +1 -1
- package/composer/SessionComposer.js +8 -8
- package/composer/SessionComposer.js.map +1 -1
- package/composer/icons.js +3 -3
- package/composer/icons.js.map +1 -1
- package/conversation/ConversationAttentionBanner.js +2 -2
- package/conversation/ConversationAttentionBanner.js.map +1 -1
- package/conversation/ConversationComposer.js +2 -2
- package/conversation/ConversationComposer.js.map +1 -1
- package/conversation/ConversationControlBanner.js +5 -5
- package/conversation/ConversationControlBanner.js.map +1 -1
- package/conversation/ConversationListPane.js +12 -12
- package/conversation/ConversationListPane.js.map +1 -1
- package/conversation/ConversationMediaAttachment.d.ts +45 -0
- package/conversation/ConversationMediaAttachment.d.ts.map +1 -0
- package/conversation/ConversationMediaAttachment.js +153 -0
- package/conversation/ConversationMediaAttachment.js.map +1 -0
- package/conversation/ConversationTimelineView.d.ts +18 -1
- package/conversation/ConversationTimelineView.d.ts.map +1 -1
- package/conversation/ConversationTimelineView.js +24 -15
- package/conversation/ConversationTimelineView.js.map +1 -1
- package/conversation/ConversationsWorkbench.d.ts.map +1 -1
- package/conversation/ConversationsWorkbench.js +3 -3
- package/conversation/ConversationsWorkbench.js.map +1 -1
- package/conversation/conversationPresentation.d.ts +10 -3
- package/conversation/conversationPresentation.d.ts.map +1 -1
- package/conversation/conversationPresentation.js +10 -3
- package/conversation/conversationPresentation.js.map +1 -1
- package/conversation/index.d.ts +2 -0
- package/conversation/index.d.ts.map +1 -1
- package/conversation/index.js +1 -0
- package/conversation/index.js.map +1 -1
- package/conversation/useConversationMediaUrl.d.ts +65 -0
- package/conversation/useConversationMediaUrl.d.ts.map +1 -0
- package/conversation/useConversationMediaUrl.js +61 -0
- package/conversation/useConversationMediaUrl.js.map +1 -0
- package/cursor-accounts/CursorAccountEditor.js +1 -1
- package/cursor-accounts/CursorAccountEditor.js.map +1 -1
- package/cursor-accounts/CursorAccountsAccessNotice.js +1 -1
- package/cursor-accounts/CursorAccountsAccessNotice.js.map +1 -1
- package/cursor-accounts/CursorAccountsConsole.js +9 -9
- package/cursor-accounts/CursorAccountsConsole.js.map +1 -1
- package/cursor-accounts/MemberCoverageTable.js +7 -7
- package/cursor-accounts/MemberCoverageTable.js.map +1 -1
- package/cursor-accounts/MemberKeysPanel.js +3 -3
- package/cursor-accounts/MemberKeysPanel.js.map +1 -1
- package/cursor-accounts/badges.js +1 -1
- package/cursor-accounts/badges.js.map +1 -1
- package/dashboard/DashboardFailedRuns.js +4 -4
- package/dashboard/DashboardFailedRuns.js.map +1 -1
- package/dashboard/DashboardKPICards.js +7 -7
- package/dashboard/DashboardKPICards.js.map +1 -1
- package/dashboard/OperationalDashboard.js +1 -1
- package/dashboard/OperationalDashboard.js.map +1 -1
- package/datastore/CollectionRecordsBrowser.js +10 -10
- package/datastore/CollectionRecordsBrowser.js.map +1 -1
- package/datastore/CollectionSchemaView.js +4 -4
- package/datastore/CollectionSchemaView.js.map +1 -1
- package/datastore/DatastoreDetailView.js +4 -4
- package/datastore/DatastoreDetailView.js.map +1 -1
- package/datastore/DatastoreSyncReport.js +1 -1
- package/datastore/DatastoreSyncReport.js.map +1 -1
- package/datastore/DeleteDatastoreDialog.js +1 -1
- package/datastore/DeleteDatastoreDialog.js.map +1 -1
- package/datastore/FieldValueControl.js +2 -2
- package/datastore/FieldValueControl.js.map +1 -1
- package/datastore/RecordFilterBuilder.js +4 -4
- package/datastore/RecordFilterBuilder.js.map +1 -1
- package/datastore/RecordFormPanel.js +5 -5
- package/datastore/RecordFormPanel.js.map +1 -1
- package/dependency-graph/DependencyGraph.js +1 -1
- package/dependency-graph/DependencyGraph.js.map +1 -1
- package/dependency-graph/DependencyTreeNode.js +8 -8
- package/dependency-graph/DependencyTreeNode.js.map +1 -1
- package/empty-state/EmptyState.js +3 -3
- package/empty-state/EmptyState.js.map +1 -1
- package/empty-state/useEmptyState.js +1 -1
- package/empty-state/useEmptyState.js.map +1 -1
- package/environment/CreateEnvironmentForm.js +2 -2
- package/environment/CreateEnvironmentForm.js.map +1 -1
- package/environment/EnvVarForm.js +4 -4
- package/environment/EnvVarForm.js.map +1 -1
- package/environment/EnvironmentListPanel.js +9 -9
- package/environment/EnvironmentListPanel.js.map +1 -1
- package/environment/EnvironmentPicker.js +4 -4
- package/environment/EnvironmentPicker.js.map +1 -1
- package/environment/EnvironmentVariableEditor.js +17 -17
- package/environment/EnvironmentVariableEditor.js.map +1 -1
- package/error/ErrorMessage.js +1 -1
- package/error/ErrorMessage.js.map +1 -1
- package/error/SecretFlowErrorGuide.js +1 -1
- package/error/SecretFlowErrorGuide.js.map +1 -1
- package/execution/ApprovalCard.js +8 -8
- package/execution/ApprovalCard.js.map +1 -1
- package/execution/ArtifactApplyButton.js +4 -4
- package/execution/ArtifactApplyButton.js.map +1 -1
- package/execution/ArtifactContentBody.js +3 -3
- package/execution/ArtifactContentBody.js.map +1 -1
- package/execution/ArtifactContentRenderer.js +19 -19
- package/execution/ArtifactContentRenderer.js.map +1 -1
- package/execution/ArtifactDocument.js +10 -10
- package/execution/ArtifactDocument.js.map +1 -1
- package/execution/ArtifactFileContent.js +4 -4
- package/execution/ArtifactFileContent.js.map +1 -1
- package/execution/ArtifactPreviewModal.js +11 -11
- package/execution/ArtifactPreviewModal.js.map +1 -1
- package/execution/ArtifactRowView.js +2 -2
- package/execution/ArtifactRowView.js.map +1 -1
- package/execution/ArtifactsWidget.js +1 -1
- package/execution/ArtifactsWidget.js.map +1 -1
- package/execution/ContextGauge.js +9 -9
- package/execution/ContextGauge.js.map +1 -1
- package/execution/EmptyChangeNotice.js +1 -1
- package/execution/EmptyChangeNotice.js.map +1 -1
- package/execution/ExecutionPhaseBadge.js +10 -10
- package/execution/ExecutionPhaseBadge.js.map +1 -1
- package/execution/ExecutionProgress.js +1 -1
- package/execution/ExecutionProgress.js.map +1 -1
- package/execution/FileChangeProgressBar.js +3 -3
- package/execution/FileChangeProgressBar.js.map +1 -1
- package/execution/FileChangesView.js +5 -5
- package/execution/FileChangesView.js.map +1 -1
- package/execution/FilePathLink.js +6 -6
- package/execution/FilePathLink.js.map +1 -1
- package/execution/FileReviewAtoms.js +7 -7
- package/execution/FileReviewAtoms.js.map +1 -1
- package/execution/FileReviewCard.js +18 -18
- package/execution/FileReviewCard.js.map +1 -1
- package/execution/FileReviewDock.js +1 -1
- package/execution/FileReviewDock.js.map +1 -1
- package/execution/FollowUpInput.js +3 -3
- package/execution/FollowUpInput.js.map +1 -1
- package/execution/InteractionModeBadge.js +1 -1
- package/execution/InteractionModeBadge.js.map +1 -1
- package/execution/McpToolDetail.js +12 -12
- package/execution/McpToolDetail.js.map +1 -1
- package/execution/MessageAttachments.d.ts +52 -0
- package/execution/MessageAttachments.d.ts.map +1 -0
- package/execution/MessageAttachments.js +142 -0
- package/execution/MessageAttachments.js.map +1 -0
- package/execution/MessageEntry.d.ts +18 -0
- package/execution/MessageEntry.d.ts.map +1 -1
- package/execution/MessageEntry.js +12 -11
- package/execution/MessageEntry.js.map +1 -1
- package/execution/MessageThread.d.ts +15 -2
- package/execution/MessageThread.d.ts.map +1 -1
- package/execution/MessageThread.js +34 -17
- package/execution/MessageThread.js.map +1 -1
- package/execution/PlanArtifactCard.js +8 -8
- package/execution/PlanArtifactCard.js.map +1 -1
- package/execution/PlanCompletionCard.js +2 -2
- package/execution/PlanCompletionCard.js.map +1 -1
- package/execution/PlanDocumentMessage.js +2 -2
- package/execution/PlanDocumentMessage.js.map +1 -1
- package/execution/PlanStreamingCard.js +3 -3
- package/execution/PlanStreamingCard.js.map +1 -1
- package/execution/ResultView.js +17 -17
- package/execution/ResultView.js.map +1 -1
- package/execution/SessionVariablesInput.js +6 -6
- package/execution/SessionVariablesInput.js.map +1 -1
- package/execution/SetupProgress.js +2 -2
- package/execution/SetupProgress.js.map +1 -1
- package/execution/SubAgentSection.js +19 -19
- package/execution/SubAgentSection.js.map +1 -1
- package/execution/SummarizationBadge.js +3 -3
- package/execution/SummarizationBadge.js.map +1 -1
- package/execution/SummarizationCard.js +2 -2
- package/execution/SummarizationCard.js.map +1 -1
- package/execution/TerminalSession.js +2 -2
- package/execution/TerminalSession.js.map +1 -1
- package/execution/ThreadSkeleton.js +1 -1
- package/execution/ThreadSkeleton.js.map +1 -1
- package/execution/TodoCard.js +3 -3
- package/execution/TodoCard.js.map +1 -1
- package/execution/TodoList.js +8 -8
- package/execution/TodoList.js.map +1 -1
- package/execution/ToolArgsView.js +4 -4
- package/execution/ToolArgsView.js.map +1 -1
- package/execution/ToolCallDetail.js +4 -4
- package/execution/ToolCallDetail.js.map +1 -1
- package/execution/ToolCallGroup.js +1 -1
- package/execution/ToolCallGroup.js.map +1 -1
- package/execution/ToolCallItem.js +16 -16
- package/execution/ToolCallItem.js.map +1 -1
- package/execution/ToolRunGroup.js +9 -9
- package/execution/ToolRunGroup.js.map +1 -1
- package/execution/UsageWidget.js +3 -3
- package/execution/UsageWidget.js.map +1 -1
- package/execution/WriteBackCard.js +16 -16
- package/execution/WriteBackCard.js.map +1 -1
- package/execution/WriteBacksWidget.js +1 -1
- package/execution/WriteBacksWidget.js.map +1 -1
- package/execution/index.d.ts +2 -0
- package/execution/index.d.ts.map +1 -1
- package/execution/index.js +1 -0
- package/execution/index.js.map +1 -1
- package/execution/tool-rendering-primitives.js +5 -5
- package/execution/tool-rendering-primitives.js.map +1 -1
- package/feedback/StigmerToaster.d.ts.map +1 -1
- package/feedback/StigmerToaster.js +9 -5
- package/feedback/StigmerToaster.js.map +1 -1
- package/file-reference/FileReferenceChipList.js +3 -3
- package/file-reference/FileReferenceChipList.js.map +1 -1
- package/github/GitHubRepoPicker.js +26 -26
- package/github/GitHubRepoPicker.js.map +1 -1
- package/github/decodeGitHubContent.d.ts +10 -5
- package/github/decodeGitHubContent.d.ts.map +1 -1
- package/github/decodeGitHubContent.js +21 -7
- package/github/decodeGitHubContent.js.map +1 -1
- package/github/useGitHubFileReader.d.ts.map +1 -1
- package/github/useGitHubFileReader.js +5 -5
- package/github/useGitHubFileReader.js.map +1 -1
- package/iam-policy/GrantAccessForm.js +2 -2
- package/iam-policy/GrantAccessForm.js.map +1 -1
- package/iam-policy/OrgMembersPanel.js +11 -11
- package/iam-policy/OrgMembersPanel.js.map +1 -1
- package/iam-policy/PeopleWithAccess.js +4 -4
- package/iam-policy/PeopleWithAccess.js.map +1 -1
- package/iam-policy/PrincipalPicker.js +6 -6
- package/iam-policy/PrincipalPicker.js.map +1 -1
- package/iam-policy/ProviderBadge.js +1 -1
- package/iam-policy/ProviderBadge.js.map +1 -1
- package/iam-policy/RoleSelector.js +4 -4
- package/iam-policy/RoleSelector.js.map +1 -1
- package/iam-policy/SharePanel.js +1 -1
- package/iam-policy/SharePanel.js.map +1 -1
- package/identity-provider/CreateIdentityProviderForm.js +6 -6
- package/identity-provider/CreateIdentityProviderForm.js.map +1 -1
- package/identity-provider/IdentityProviderDetailPanel.js +11 -11
- package/identity-provider/IdentityProviderDetailPanel.js.map +1 -1
- package/identity-provider/IdentityProviderListPanel.js +8 -8
- package/identity-provider/IdentityProviderListPanel.js.map +1 -1
- package/identity-provider/IdentityProviderWizard.js +16 -16
- package/identity-provider/IdentityProviderWizard.js.map +1 -1
- package/identity-provider/ProviderPicker.js +11 -11
- package/identity-provider/ProviderPicker.js.map +1 -1
- package/identity-provider/SsoLoginPrompt.js +7 -7
- package/identity-provider/SsoLoginPrompt.js.map +1 -1
- package/index.d.ts +4 -4
- package/index.d.ts.map +1 -1
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/inline-edit/InlineEditImage.js +5 -5
- package/inline-edit/InlineEditImage.js.map +1 -1
- package/inline-edit/InlineEditKeyValue.js +3 -3
- package/inline-edit/InlineEditKeyValue.js.map +1 -1
- package/inline-edit/InlineEditResourceList.js +8 -8
- package/inline-edit/InlineEditResourceList.js.map +1 -1
- package/inline-edit/InlineEditSelect.js +8 -8
- package/inline-edit/InlineEditSelect.js.map +1 -1
- package/inline-edit/InlineEditText.js +6 -6
- package/inline-edit/InlineEditText.js.map +1 -1
- package/inline-edit/InlineEditTextarea.js +4 -4
- package/inline-edit/InlineEditTextarea.js.map +1 -1
- package/internal/ApprovalPeekBar.js +3 -3
- package/internal/ApprovalPeekBar.js.map +1 -1
- package/internal/BoundedContent.d.ts +1 -1
- package/internal/BoundedContent.d.ts.map +1 -1
- package/internal/BoundedContent.js +2 -2
- package/internal/BoundedContent.js.map +1 -1
- package/internal/CloudFeatureNotice.js +1 -1
- package/internal/CloudFeatureNotice.js.map +1 -1
- package/internal/DecisionButton.js +6 -6
- package/internal/DecisionButton.js.map +1 -1
- package/internal/InCardDecisionError.js +1 -1
- package/internal/InCardDecisionError.js.map +1 -1
- package/internal/JumpToLatestButton.js +3 -3
- package/internal/JumpToLatestButton.js.map +1 -1
- package/internal/MermaidDiagram.js +2 -2
- package/internal/MermaidDiagram.js.map +1 -1
- package/internal/Pagination.js +2 -2
- package/internal/Pagination.js.map +1 -1
- package/internal/ResizableSplit.d.ts +28 -6
- package/internal/ResizableSplit.d.ts.map +1 -1
- package/internal/ResizableSplit.js +18 -4
- package/internal/ResizableSplit.js.map +1 -1
- package/internal/RevealToggle.js +2 -2
- package/internal/RevealToggle.js.map +1 -1
- package/internal/ScrollFade.js +2 -2
- package/internal/ScrollFade.js.map +1 -1
- package/internal/VirtualizedThread.js +2 -2
- package/internal/VirtualizedThread.js.map +1 -1
- package/internal/file-icons/index.js +2 -2
- package/internal/file-icons/index.js.map +1 -1
- package/internal/file-tree/FileTreeNode.js +3 -3
- package/internal/file-tree/FileTreeNode.js.map +1 -1
- package/internal/form-primitives.d.ts +15 -0
- package/internal/form-primitives.d.ts.map +1 -1
- package/internal/form-primitives.js +17 -2
- package/internal/form-primitives.js.map +1 -1
- package/internal/markdown-components.js +23 -23
- package/internal/markdown-components.js.map +1 -1
- package/internal/menu.js +5 -5
- package/internal/menu.js.map +1 -1
- package/internal/scroll-area.js +1 -1
- package/internal/scroll-area.js.map +1 -1
- package/internal/thread-card/ThreadCardShell.js +7 -7
- package/internal/thread-card/ThreadCardShell.js.map +1 -1
- package/internal/thread-card/glyphs.js +2 -2
- package/internal/thread-card/glyphs.js.map +1 -1
- package/internal/tooltip.d.ts.map +1 -1
- package/internal/tooltip.js +4 -6
- package/internal/tooltip.js.map +1 -1
- package/invitation/InvitationCreatedAlert.js +1 -1
- package/invitation/InvitationCreatedAlert.js.map +1 -1
- package/invitation/InvitationManager.js +23 -23
- package/invitation/InvitationManager.js.map +1 -1
- package/invitation/InvitationRedemption.js +12 -12
- package/invitation/InvitationRedemption.js.map +1 -1
- package/library/ResourceCountCard.js +4 -4
- package/library/ResourceCountCard.js.map +1 -1
- package/library/ScopeToggle.js +4 -4
- package/library/ScopeToggle.js.map +1 -1
- package/library/VisibilityOptionRow.d.ts +1 -1
- package/library/VisibilityOptionRow.d.ts.map +1 -1
- package/library/VisibilityOptionRow.js +22 -22
- package/library/VisibilityOptionRow.js.map +1 -1
- package/library/VisibilitySelector.js +5 -5
- package/library/VisibilitySelector.js.map +1 -1
- package/manifest/ApplyManifestDialog.js +6 -6
- package/manifest/ApplyManifestDialog.js.map +1 -1
- package/manifest/EditResourceYamlDialog.js +2 -2
- package/manifest/EditResourceYamlDialog.js.map +1 -1
- package/manifest/RedactedSecretsNotice.js +1 -1
- package/manifest/RedactedSecretsNotice.js.map +1 -1
- package/manifest/YamlEditor.js +1 -1
- package/manifest/YamlEditor.js.map +1 -1
- package/mcp-server/McpServerConfigPanel.js +22 -22
- package/mcp-server/McpServerConfigPanel.js.map +1 -1
- package/mcp-server/McpServerConnectDialog.js +43 -17
- package/mcp-server/McpServerConnectDialog.js.map +1 -1
- package/mcp-server/McpServerDetailView.d.ts.map +1 -1
- package/mcp-server/McpServerDetailView.js +112 -63
- package/mcp-server/McpServerDetailView.js.map +1 -1
- package/mcp-server/McpServerPicker.js +16 -16
- package/mcp-server/McpServerPicker.js.map +1 -1
- package/mcp-server/McpToolSelector.js +4 -4
- package/mcp-server/McpToolSelector.js.map +1 -1
- package/mcp-server/OAuthAppForm.js +2 -2
- package/mcp-server/OAuthAppForm.js.map +1 -1
- package/mcp-server/OAuthCallbackHandler.js +4 -4
- package/mcp-server/OAuthCallbackHandler.js.map +1 -1
- package/mcp-server/OAuthRequiredNotice.js +1 -1
- package/mcp-server/OAuthRequiredNotice.js.map +1 -1
- package/mcp-server/StdioSandboxNotice.js +1 -1
- package/mcp-server/StdioSandboxNotice.js.map +1 -1
- package/mcp-server/index.d.ts +1 -1
- package/mcp-server/index.d.ts.map +1 -1
- package/mcp-server/index.js +1 -1
- package/mcp-server/index.js.map +1 -1
- package/mcp-server/steps/EnvironmentAuthStep.js +4 -4
- package/mcp-server/steps/EnvironmentAuthStep.js.map +1 -1
- package/mcp-server/steps/IdentityTransportStep.js +8 -8
- package/mcp-server/steps/IdentityTransportStep.js.map +1 -1
- package/mcp-server/steps/ReviewStep.js +3 -3
- package/mcp-server/steps/ReviewStep.js.map +1 -1
- package/mcp-server/useMcpServerOAuthConnect.d.ts +29 -0
- package/mcp-server/useMcpServerOAuthConnect.d.ts.map +1 -1
- package/mcp-server/useMcpServerOAuthConnect.js +49 -10
- package/mcp-server/useMcpServerOAuthConnect.js.map +1 -1
- package/models/HarnessSelector.js +8 -8
- package/models/HarnessSelector.js.map +1 -1
- package/models/ModelSelector.js +11 -11
- package/models/ModelSelector.js.map +1 -1
- package/oauth-app/CreateOAuthAppForm.js +4 -4
- package/oauth-app/CreateOAuthAppForm.js.map +1 -1
- package/oauth-app/OAuthAppDetailPanel.js +8 -8
- package/oauth-app/OAuthAppDetailPanel.js.map +1 -1
- package/oauth-app/OAuthAppListPanel.js +6 -6
- package/oauth-app/OAuthAppListPanel.js.map +1 -1
- package/organization/CreateOrganizationForm.js +4 -4
- package/organization/CreateOrganizationForm.js.map +1 -1
- package/organization/OrgProfilePanel.js +10 -10
- package/organization/OrgProfilePanel.js.map +1 -1
- package/organization/OrgSwitcher.js +5 -5
- package/organization/OrgSwitcher.js.map +1 -1
- package/package.json +4 -4
- package/platform-client/CreatePlatformClientForm.js +5 -5
- package/platform-client/CreatePlatformClientForm.js.map +1 -1
- package/platform-client/PlatformClientDetailPanel.js +8 -8
- package/platform-client/PlatformClientDetailPanel.js.map +1 -1
- package/platform-client/PlatformClientListPanel.js +10 -10
- package/platform-client/PlatformClientListPanel.js.map +1 -1
- package/platform-client/PlatformClientSecretAlert.js +2 -2
- package/platform-client/PlatformClientSecretAlert.js.map +1 -1
- package/portal-container.d.ts +34 -9
- package/portal-container.d.ts.map +1 -1
- package/portal-container.js +33 -8
- package/portal-container.js.map +1 -1
- package/pricing-governance/BaselineEditor.js +5 -5
- package/pricing-governance/BaselineEditor.js.map +1 -1
- package/pricing-governance/ModelCatalogPanel.js +5 -5
- package/pricing-governance/ModelCatalogPanel.js.map +1 -1
- package/pricing-governance/ModelGovernanceDetail.js +7 -7
- package/pricing-governance/ModelGovernanceDetail.js.map +1 -1
- package/pricing-governance/OperatorAccessNotice.js +1 -1
- package/pricing-governance/OperatorAccessNotice.js.map +1 -1
- package/pricing-governance/PricingGovernanceConsole.js +8 -8
- package/pricing-governance/PricingGovernanceConsole.js.map +1 -1
- package/pricing-governance/PricingGovernancePanel.js +4 -4
- package/pricing-governance/PricingGovernancePanel.js.map +1 -1
- package/pricing-governance/RetireConfirm.js +1 -1
- package/pricing-governance/RetireConfirm.js.map +1 -1
- package/pricing-governance/governance-primitives.js +6 -6
- package/pricing-governance/governance-primitives.js.map +1 -1
- package/resource-creation/CreationPicker.js +7 -7
- package/resource-creation/CreationPicker.js.map +1 -1
- package/resource-creation/StepIndicator.js +4 -4
- package/resource-creation/StepIndicator.js.map +1 -1
- package/resource-creation/TemplateCard.js +15 -15
- package/resource-creation/TemplateCard.js.map +1 -1
- package/resource-creation/TemplateGallery.js +5 -5
- package/resource-creation/TemplateGallery.js.map +1 -1
- package/resource-creation/WizardNav.js +2 -2
- package/resource-creation/WizardNav.js.map +1 -1
- package/resource-creation/WizardShell.js +2 -2
- package/resource-creation/WizardShell.js.map +1 -1
- package/resource-detail/ConfirmDialog.js +3 -3
- package/resource-detail/ConfirmDialog.js.map +1 -1
- package/resource-detail/ResourceActionBar.js +2 -2
- package/resource-detail/ResourceActionBar.js.map +1 -1
- package/resource-detail/ResourceDetailShell.js +3 -3
- package/resource-detail/ResourceDetailShell.js.map +1 -1
- package/resource-detail/Section.js +1 -1
- package/resource-detail/Section.js.map +1 -1
- package/resource-workbench/components/BulkActionBar.js +4 -4
- package/resource-workbench/components/BulkActionBar.js.map +1 -1
- package/resource-workbench/components/ColumnHeader.js +3 -3
- package/resource-workbench/components/ColumnHeader.js.map +1 -1
- package/resource-workbench/components/FilterBar.js +3 -3
- package/resource-workbench/components/FilterBar.js.map +1 -1
- package/resource-workbench/components/ResourceAvatar.js +18 -18
- package/resource-workbench/components/ResourceAvatar.js.map +1 -1
- package/resource-workbench/components/ResourceCards.js +2 -2
- package/resource-workbench/components/ResourceCards.js.map +1 -1
- package/resource-workbench/components/ResourceInspector.js +1 -1
- package/resource-workbench/components/ResourceInspector.js.map +1 -1
- package/resource-workbench/components/ResourceList.js +2 -2
- package/resource-workbench/components/ResourceList.js.map +1 -1
- package/resource-workbench/components/ResourceTable.js +5 -5
- package/resource-workbench/components/ResourceTable.js.map +1 -1
- package/resource-workbench/components/ResourceWorkbench.js +11 -11
- package/resource-workbench/components/ResourceWorkbench.js.map +1 -1
- package/resource-workbench/components/SelectionCheckbox.js +1 -1
- package/resource-workbench/components/SelectionCheckbox.js.map +1 -1
- package/resource-workbench/components/StatusBadge.js +16 -16
- package/resource-workbench/components/StatusBadge.js.map +1 -1
- package/resource-workbench/components/ViewSwitcher.js +4 -4
- package/resource-workbench/components/ViewSwitcher.js.map +1 -1
- package/schedule/CadenceField.js +14 -14
- package/schedule/CadenceField.js.map +1 -1
- package/schedule/ScheduleDetailView.js +39 -39
- package/schedule/ScheduleDetailView.js.map +1 -1
- package/schedule/ScheduleForm.js +9 -9
- package/schedule/ScheduleForm.js.map +1 -1
- package/schedule/ScheduleRowActions.js +1 -1
- package/schedule/ScheduleRowActions.js.map +1 -1
- package/schedule/ScheduleRunsTable.js +17 -17
- package/schedule/ScheduleRunsTable.js.map +1 -1
- package/schedule/TimeZoneField.js +5 -5
- package/schedule/TimeZoneField.js.map +1 -1
- package/schedule/scheduleColumns.js +5 -5
- package/schedule/scheduleColumns.js.map +1 -1
- package/session/NewSessionViewer.js +3 -3
- package/session/NewSessionViewer.js.map +1 -1
- package/session/PlanEditor.js +9 -9
- package/session/PlanEditor.js.map +1 -1
- package/session/PlanStreamingDocument.js +2 -2
- package/session/PlanStreamingDocument.js.map +1 -1
- package/session/SessionViewer.js +21 -21
- package/session/SessionViewer.js.map +1 -1
- package/session/SessionViewerLayout.d.ts +11 -8
- package/session/SessionViewerLayout.d.ts.map +1 -1
- package/session/SessionViewerLayout.js +1 -1
- package/session/SessionViewerLayout.js.map +1 -1
- package/session/facets/ArtifactsTab.js +2 -2
- package/session/facets/ArtifactsTab.js.map +1 -1
- package/session/facets/ChangesTab.js +3 -3
- package/session/facets/ChangesTab.js.map +1 -1
- package/session/facets/SetupTab.js +11 -11
- package/session/facets/SetupTab.js.map +1 -1
- package/session/facets/UsageTab.js +1 -1
- package/session/facets/UsageTab.js.map +1 -1
- package/session/useSessionConversation.d.ts +8 -0
- package/session/useSessionConversation.d.ts.map +1 -1
- package/session/useSessionConversation.js +12 -2
- package/session/useSessionConversation.js.map +1 -1
- package/settings/ApiKeysSection.js +1 -1
- package/settings/ApiKeysSection.js.map +1 -1
- package/settings/ChannelAppsSection.js +1 -1
- package/settings/ChannelAppsSection.js.map +1 -1
- package/settings/EnvironmentsSection.js +4 -4
- package/settings/EnvironmentsSection.js.map +1 -1
- package/settings/IdentityProvidersSection.js +1 -1
- package/settings/IdentityProvidersSection.js.map +1 -1
- package/settings/InvitationsSection.js +1 -1
- package/settings/InvitationsSection.js.map +1 -1
- package/settings/MembersSection.js +1 -1
- package/settings/MembersSection.js.map +1 -1
- package/settings/OAuthAppsSection.js +1 -1
- package/settings/OAuthAppsSection.js.map +1 -1
- package/settings/OrgProfileSection.js +1 -1
- package/settings/OrgProfileSection.js.map +1 -1
- package/settings/PlatformClientsSection.js +1 -1
- package/settings/PlatformClientsSection.js.map +1 -1
- package/settings/UsageSection.js +1 -1
- package/settings/UsageSection.js.map +1 -1
- package/sharing/AgentShareList.js +5 -5
- package/sharing/AgentShareList.js.map +1 -1
- package/sharing/ShareAgentDialog.js +30 -30
- package/sharing/ShareAgentDialog.js.map +1 -1
- package/sharing/SharedAgentChat.js +6 -6
- package/sharing/SharedAgentChat.js.map +1 -1
- package/sidebar/SettingsSidebar.js +5 -5
- package/sidebar/SettingsSidebar.js.map +1 -1
- package/sidebar/WorkspaceSidebar.js +13 -13
- package/sidebar/WorkspaceSidebar.js.map +1 -1
- package/sidebar/chrome.js +5 -5
- package/sidebar/chrome.js.map +1 -1
- package/skill/SkillDetailView.js +13 -13
- package/skill/SkillDetailView.js.map +1 -1
- package/skill/SkillDiffDialog.js +2 -2
- package/skill/SkillDiffDialog.js.map +1 -1
- package/skill/SkillFileBrowser.js +4 -4
- package/skill/SkillFileBrowser.js.map +1 -1
- package/skill/SkillPicker.js +10 -10
- package/skill/SkillPicker.js.map +1 -1
- package/skill/SkillUploader.js +8 -8
- package/skill/SkillUploader.js.map +1 -1
- package/src/__tests__/helpers/compile-sdk-styles.ts +33 -0
- package/src/__tests__/portal-container.test.tsx +97 -0
- package/src/__tests__/preflight-parity.layout.test.tsx +156 -0
- package/src/__tests__/scope-unprefixed.test.ts +86 -0
- package/src/__tests__/styles-border-layer-invariant.test.ts +86 -58
- package/src/__tests__/styles-dist-isolation.test.ts +195 -0
- package/src/__tests__/styles-host-isolation.layout.test.tsx +204 -0
- package/src/access/ManageAccessButton.tsx +3 -3
- package/src/access/ManageAccessDialog.tsx +19 -19
- package/src/action-menu/ActionMenu.tsx +8 -8
- package/src/activity/useRecentActivity.ts +6 -1
- package/src/agent/AgentDetailView.tsx +112 -112
- package/src/agent/AgentPicker.tsx +26 -26
- package/src/agent/steps/CapabilitiesStep.tsx +36 -36
- package/src/agent/steps/IdentityStep.tsx +45 -45
- package/src/agent/steps/ReviewStep.tsx +18 -18
- package/src/agent-instance/AgentInstanceDetailPanel.tsx +45 -45
- package/src/agent-instance/AgentInstanceList.tsx +36 -36
- package/src/agent-instance/CreateAgentInstanceDialog.tsx +35 -35
- package/src/agent-instance/__tests__/AgentInstanceList.test.tsx +0 -6
- package/src/api-key/ApiKeyCreatedAlert.tsx +15 -15
- package/src/api-key/ApiKeyListPanel.tsx +28 -28
- package/src/api-key/CreateApiKeyForm.tsx +25 -25
- package/src/attachment/AttachmentChipList.tsx +321 -75
- package/src/attachment/AttachmentImageLightbox.tsx +154 -0
- package/src/attachment/__tests__/AttachmentChipList.test.tsx +240 -17
- package/src/attachment/attachment-utils.ts +8 -5
- package/src/attachment/useObjectUrl.ts +28 -0
- package/src/billing/AutoRechargeCard.tsx +26 -26
- package/src/billing/BillingSection.tsx +14 -14
- package/src/billing/CreditBalanceCard.tsx +7 -7
- package/src/billing/CreditLedgerTable.tsx +27 -27
- package/src/billing/CreditPackGrid.tsx +13 -13
- package/src/billing/LowBalanceBanner.tsx +6 -6
- package/src/billing/PaymentMethodCard.tsx +13 -13
- package/src/button/Button.tsx +10 -10
- package/src/button/__tests__/Button.test.tsx +9 -9
- package/src/channel/AgentChannelsPanel.tsx +33 -33
- package/src/channel/ChannelConversationsDialog.tsx +21 -21
- package/src/channel/ChannelCredentialsDialog.tsx +13 -13
- package/src/channel/ChannelTemplatesDialog.tsx +34 -34
- package/src/channel/ChannelToolCredentials.tsx +5 -5
- package/src/channel/ConnectSlackDialog.tsx +48 -48
- package/src/channel/ConnectWhatsAppDialog.tsx +42 -42
- package/src/channel/__tests__/AgentChannelsPanel.test.tsx +4 -9
- package/src/channel/connect/ServingAppSection.tsx +14 -14
- package/src/channel/connect/ToolCredentialsSection.tsx +5 -5
- package/src/channel/connect/VerbatimRefusal.tsx +1 -1
- package/src/channel/connect/icons.tsx +1 -1
- package/src/channel-app/ChannelAppDetailPanel.tsx +44 -44
- package/src/channel-app/ChannelAppListPanel.tsx +15 -15
- package/src/channel-app/CreateChannelAppForm.tsx +37 -37
- package/src/channel-app/internal.tsx +21 -21
- package/src/composer/ComposerToolbar.tsx +15 -15
- package/src/composer/ConfigureMenu.tsx +22 -22
- package/src/composer/ContextChip.tsx +12 -12
- package/src/composer/ContextPopover.tsx +8 -8
- package/src/composer/InteractionModePicker.tsx +14 -14
- package/src/composer/SessionComposer.tsx +24 -24
- package/src/composer/__tests__/SessionComposer-lockAgent.test.tsx +16 -15
- package/src/composer/__tests__/SessionComposer-serviceTier.test.tsx +2 -7
- package/src/composer/icons.tsx +5 -5
- package/src/conversation/ConversationAttentionBanner.tsx +6 -6
- package/src/conversation/ConversationComposer.tsx +13 -13
- package/src/conversation/ConversationControlBanner.tsx +11 -11
- package/src/conversation/ConversationListPane.tsx +38 -38
- package/src/conversation/ConversationMediaAttachment.tsx +308 -0
- package/src/conversation/ConversationTimelineView.tsx +102 -52
- package/src/conversation/ConversationsWorkbench.tsx +12 -10
- package/src/conversation/__tests__/ConversationComposer.test.tsx +1 -1
- package/src/conversation/__tests__/ConversationTimelineView.test.tsx +233 -6
- package/src/conversation/__tests__/a11y/conversation-surfaces.a11y.test.tsx +67 -1
- package/src/conversation/__tests__/useConversationMediaUrl.test.tsx +66 -0
- package/src/conversation/conversationPresentation.ts +10 -3
- package/src/conversation/index.ts +6 -0
- package/src/conversation/useConversationMediaUrl.ts +121 -0
- package/src/cursor-accounts/CursorAccountEditor.tsx +13 -13
- package/src/cursor-accounts/CursorAccountsAccessNotice.tsx +3 -3
- package/src/cursor-accounts/CursorAccountsConsole.tsx +35 -35
- package/src/cursor-accounts/MemberCoverageTable.tsx +29 -29
- package/src/cursor-accounts/MemberKeysPanel.tsx +17 -17
- package/src/cursor-accounts/badges.tsx +4 -4
- package/src/dashboard/DashboardFailedRuns.tsx +17 -17
- package/src/dashboard/DashboardKPICards.tsx +12 -12
- package/src/dashboard/OperationalDashboard.tsx +2 -2
- package/src/datastore/CollectionRecordsBrowser.tsx +35 -35
- package/src/datastore/CollectionSchemaView.tsx +43 -43
- package/src/datastore/DatastoreDetailView.tsx +18 -18
- package/src/datastore/DatastoreSyncReport.tsx +13 -13
- package/src/datastore/DeleteDatastoreDialog.tsx +21 -21
- package/src/datastore/FieldValueControl.tsx +7 -7
- package/src/datastore/RecordFilterBuilder.tsx +35 -35
- package/src/datastore/RecordFormPanel.tsx +35 -35
- package/src/dependency-graph/DependencyGraph.tsx +6 -6
- package/src/dependency-graph/DependencyTreeNode.tsx +21 -21
- package/src/empty-state/EmptyState.tsx +7 -7
- package/src/empty-state/useEmptyState.ts +1 -1
- package/src/environment/CreateEnvironmentForm.tsx +24 -24
- package/src/environment/EnvVarForm.tsx +40 -40
- package/src/environment/EnvironmentListPanel.tsx +19 -19
- package/src/environment/EnvironmentPicker.tsx +22 -22
- package/src/environment/EnvironmentVariableEditor.tsx +53 -53
- package/src/error/ErrorMessage.tsx +22 -22
- package/src/error/SecretFlowErrorGuide.tsx +19 -19
- package/src/execution/ApprovalCard.tsx +19 -19
- package/src/execution/ArtifactApplyButton.tsx +7 -7
- package/src/execution/ArtifactContentBody.tsx +11 -11
- package/src/execution/ArtifactContentRenderer.tsx +29 -29
- package/src/execution/ArtifactDocument.tsx +22 -22
- package/src/execution/ArtifactFileContent.tsx +6 -6
- package/src/execution/ArtifactPreviewModal.tsx +33 -33
- package/src/execution/ArtifactRowView.tsx +13 -13
- package/src/execution/ArtifactsWidget.tsx +4 -4
- package/src/execution/ContextGauge.tsx +24 -24
- package/src/execution/EmptyChangeNotice.tsx +1 -1
- package/src/execution/ExecutionPhaseBadge.tsx +12 -12
- package/src/execution/ExecutionProgress.tsx +2 -2
- package/src/execution/FileChangeProgressBar.tsx +9 -9
- package/src/execution/FileChangesView.tsx +12 -12
- package/src/execution/FilePathLink.tsx +10 -10
- package/src/execution/FileReviewAtoms.tsx +9 -9
- package/src/execution/FileReviewCard.tsx +37 -37
- package/src/execution/FileReviewDock.tsx +2 -2
- package/src/execution/FollowUpInput.tsx +9 -9
- package/src/execution/InteractionModeBadge.tsx +2 -2
- package/src/execution/McpToolDetail.tsx +28 -28
- package/src/execution/MessageAttachments.tsx +364 -0
- package/src/execution/MessageEntry.tsx +60 -22
- package/src/execution/MessageThread.tsx +72 -32
- package/src/execution/PlanArtifactCard.tsx +22 -22
- package/src/execution/PlanCompletionCard.tsx +10 -10
- package/src/execution/PlanDocumentMessage.tsx +6 -6
- package/src/execution/PlanStreamingCard.tsx +11 -11
- package/src/execution/ResultView.tsx +44 -44
- package/src/execution/SessionVariablesInput.tsx +38 -38
- package/src/execution/SetupProgress.tsx +5 -5
- package/src/execution/SubAgentSection.tsx +42 -42
- package/src/execution/SummarizationBadge.tsx +15 -15
- package/src/execution/SummarizationCard.tsx +11 -11
- package/src/execution/TerminalSession.tsx +7 -7
- package/src/execution/ThreadSkeleton.tsx +10 -10
- package/src/execution/TodoCard.tsx +11 -11
- package/src/execution/TodoList.tsx +13 -13
- package/src/execution/ToolArgsView.tsx +8 -8
- package/src/execution/ToolCallDetail.tsx +7 -7
- package/src/execution/ToolCallGroup.tsx +1 -1
- package/src/execution/ToolCallItem.tsx +28 -28
- package/src/execution/ToolRunGroup.tsx +16 -16
- package/src/execution/UsageWidget.tsx +12 -12
- package/src/execution/WriteBackCard.tsx +30 -30
- package/src/execution/WriteBacksWidget.tsx +4 -4
- package/src/execution/__tests__/ApprovalCard.test.tsx +12 -12
- package/src/execution/__tests__/ArtifactContentRenderer.test.tsx +3 -3
- package/src/execution/__tests__/FileChangesView.test.tsx +2 -2
- package/src/execution/__tests__/FilePathLink.test.tsx +1 -1
- package/src/execution/__tests__/FileReviewDock.test.tsx +1 -1
- package/src/execution/__tests__/MessageEntry-attachments.test.tsx +228 -0
- package/src/execution/__tests__/MessageThread.test.tsx +1 -1
- package/src/execution/__tests__/TerminalSession.test.tsx +1 -1
- package/src/execution/__tests__/ToolCallDetail.test.tsx +1 -1
- package/src/execution/__tests__/ToolCallGroup.test.tsx +4 -4
- package/src/execution/__tests__/ToolCallItem.test.tsx +9 -9
- package/src/execution/__tests__/ToolRunGroup.test.tsx +6 -6
- package/src/execution/__tests__/WriteBackCard.test.tsx +4 -4
- package/src/execution/__tests__/buildThreadItems-attachments.test.ts +174 -0
- package/src/execution/__tests__/message-entry.test.tsx +8 -8
- package/src/execution/__tests__/thread-memoization.test.ts +2 -2
- package/src/execution/__tests__/thread-skeleton.test.tsx +1 -1
- package/src/execution/__tests__/virtualized-thread.test.tsx +1 -1
- package/src/execution/index.ts +6 -0
- package/src/execution/tool-rendering-primitives.tsx +12 -12
- package/src/feedback/StigmerToaster.tsx +8 -5
- package/src/file-reference/FileReferenceChipList.tsx +5 -5
- package/src/github/GitHubRepoPicker.tsx +60 -60
- package/src/github/__tests__/decodeGitHubContent.test.ts +42 -1
- package/src/github/decodeGitHubContent.ts +22 -5
- package/src/github/useGitHubFileReader.ts +13 -3
- package/src/iam-policy/GrantAccessForm.tsx +11 -11
- package/src/iam-policy/OrgMembersPanel.tsx +48 -48
- package/src/iam-policy/PeopleWithAccess.tsx +23 -23
- package/src/iam-policy/PrincipalPicker.tsx +34 -34
- package/src/iam-policy/ProviderBadge.tsx +2 -2
- package/src/iam-policy/RoleSelector.tsx +9 -9
- package/src/iam-policy/SharePanel.tsx +5 -5
- package/src/identity-provider/CreateIdentityProviderForm.tsx +47 -47
- package/src/identity-provider/IdentityProviderDetailPanel.tsx +73 -73
- package/src/identity-provider/IdentityProviderListPanel.tsx +33 -33
- package/src/identity-provider/IdentityProviderWizard.tsx +72 -72
- package/src/identity-provider/ProviderPicker.tsx +17 -17
- package/src/identity-provider/SsoLoginPrompt.tsx +39 -39
- package/src/index.ts +6 -0
- package/src/inline-edit/InlineEditImage.tsx +26 -26
- package/src/inline-edit/InlineEditKeyValue.tsx +44 -44
- package/src/inline-edit/InlineEditResourceList.tsx +48 -48
- package/src/inline-edit/InlineEditSelect.tsx +22 -22
- package/src/inline-edit/InlineEditText.tsx +29 -29
- package/src/inline-edit/InlineEditTextarea.tsx +27 -27
- package/src/internal/ApprovalPeekBar.tsx +9 -9
- package/src/internal/BoundedContent.tsx +3 -3
- package/src/internal/CloudFeatureNotice.tsx +3 -3
- package/src/internal/DecisionButton.tsx +10 -10
- package/src/internal/InCardDecisionError.tsx +1 -1
- package/src/internal/JumpToLatestButton.tsx +9 -9
- package/src/internal/MermaidDiagram.tsx +5 -5
- package/src/internal/Pagination.tsx +5 -5
- package/src/internal/ResizableSplit.tsx +61 -20
- package/src/internal/RevealToggle.tsx +5 -5
- package/src/internal/ScrollFade.tsx +2 -2
- package/src/internal/VirtualizedThread.tsx +6 -6
- package/src/internal/__tests__/BoundedContent.test.tsx +1 -1
- package/src/internal/__tests__/DecisionButton.test.tsx +14 -14
- package/src/internal/__tests__/ResizableSplit.layout.test.tsx +136 -0
- package/src/internal/__tests__/ResizableSplit.test.tsx +49 -2
- package/src/internal/__tests__/ThreadCardShell.test.tsx +4 -4
- package/src/internal/__tests__/markdown-components.test.tsx +2 -2
- package/src/internal/__tests__/thread-animation.test.tsx +6 -6
- package/src/internal/file-icons/index.tsx +2 -2
- package/src/internal/file-tree/FileTreeNode.tsx +9 -9
- package/src/internal/file-tree/__tests__/FileTreeNode-explorer.test.tsx +1 -1
- package/src/internal/form-primitives.tsx +22 -6
- package/src/internal/markdown-components.tsx +24 -24
- package/src/internal/menu.tsx +18 -18
- package/src/internal/scroll-area.tsx +6 -6
- package/src/internal/thread-card/ThreadCardShell.tsx +10 -10
- package/src/internal/thread-card/glyphs.tsx +3 -3
- package/src/internal/tooltip.tsx +9 -11
- package/src/invitation/InvitationCreatedAlert.tsx +15 -15
- package/src/invitation/InvitationManager.tsx +79 -79
- package/src/invitation/InvitationRedemption.tsx +49 -49
- package/src/library/ResourceCountCard.tsx +7 -7
- package/src/library/ScopeToggle.tsx +7 -7
- package/src/library/VisibilityOptionRow.tsx +30 -30
- package/src/library/VisibilitySelector.tsx +19 -19
- package/src/library/__tests__/VisibilitySelector.test.tsx +0 -6
- package/src/manifest/ApplyManifestDialog.tsx +36 -36
- package/src/manifest/EditResourceYamlDialog.tsx +32 -32
- package/src/manifest/RedactedSecretsNotice.tsx +2 -2
- package/src/manifest/YamlEditor.tsx +1 -1
- package/src/mcp-server/McpServerConfigPanel.tsx +70 -70
- package/src/mcp-server/McpServerConnectDialog.tsx +80 -53
- package/src/mcp-server/McpServerDetailView.tsx +325 -224
- package/src/mcp-server/McpServerPicker.tsx +50 -50
- package/src/mcp-server/McpToolSelector.tsx +26 -26
- package/src/mcp-server/OAuthAppForm.tsx +32 -32
- package/src/mcp-server/OAuthCallbackHandler.tsx +11 -11
- package/src/mcp-server/OAuthRequiredNotice.tsx +3 -3
- package/src/mcp-server/StdioSandboxNotice.tsx +3 -3
- package/src/mcp-server/__tests__/McpServerDetailView.test.tsx +162 -7
- package/src/mcp-server/__tests__/useMcpServerOAuthConnect.test.tsx +159 -0
- package/src/mcp-server/index.ts +4 -1
- package/src/mcp-server/steps/EnvironmentAuthStep.tsx +71 -71
- package/src/mcp-server/steps/IdentityTransportStep.tsx +94 -94
- package/src/mcp-server/steps/ReviewStep.tsx +17 -17
- package/src/mcp-server/useMcpServerOAuthConnect.ts +65 -10
- package/src/models/HarnessSelector.tsx +8 -8
- package/src/models/ModelSelector.tsx +58 -58
- package/src/models/__tests__/ModelSelector-serviceTier.test.tsx +2 -7
- package/src/oauth-app/CreateOAuthAppForm.tsx +28 -28
- package/src/oauth-app/OAuthAppDetailPanel.tsx +51 -51
- package/src/oauth-app/OAuthAppListPanel.tsx +14 -14
- package/src/organization/CreateOrganizationForm.tsx +37 -37
- package/src/organization/OrgProfilePanel.tsx +65 -65
- package/src/organization/OrgSwitcher.tsx +33 -33
- package/src/platform-client/CreatePlatformClientForm.tsx +59 -59
- package/src/platform-client/PlatformClientDetailPanel.tsx +107 -107
- package/src/platform-client/PlatformClientListPanel.tsx +38 -38
- package/src/platform-client/PlatformClientSecretAlert.tsx +18 -18
- package/src/portal-container.ts +36 -9
- package/src/pricing-governance/BaselineEditor.tsx +29 -29
- package/src/pricing-governance/ModelCatalogPanel.tsx +28 -28
- package/src/pricing-governance/ModelGovernanceDetail.tsx +35 -35
- package/src/pricing-governance/OperatorAccessNotice.tsx +3 -3
- package/src/pricing-governance/PricingGovernanceConsole.tsx +31 -31
- package/src/pricing-governance/PricingGovernancePanel.tsx +19 -19
- package/src/pricing-governance/RetireConfirm.tsx +7 -7
- package/src/pricing-governance/governance-primitives.tsx +12 -12
- package/src/resource-creation/CreationPicker.tsx +23 -23
- package/src/resource-creation/StepIndicator.tsx +17 -17
- package/src/resource-creation/TemplateCard.tsx +23 -23
- package/src/resource-creation/TemplateGallery.tsx +13 -13
- package/src/resource-creation/WizardNav.tsx +19 -19
- package/src/resource-creation/WizardShell.tsx +7 -7
- package/src/resource-detail/ConfirmDialog.tsx +16 -16
- package/src/resource-detail/ResourceActionBar.tsx +6 -6
- package/src/resource-detail/ResourceDetailShell.tsx +14 -14
- package/src/resource-detail/Section.tsx +10 -10
- package/src/resource-workbench/components/BulkActionBar.tsx +13 -13
- package/src/resource-workbench/components/ColumnHeader.tsx +9 -9
- package/src/resource-workbench/components/FilterBar.tsx +9 -9
- package/src/resource-workbench/components/ResourceAvatar.tsx +19 -19
- package/src/resource-workbench/components/ResourceCards.tsx +8 -8
- package/src/resource-workbench/components/ResourceInspector.tsx +8 -8
- package/src/resource-workbench/components/ResourceList.tsx +7 -7
- package/src/resource-workbench/components/ResourceTable.tsx +12 -12
- package/src/resource-workbench/components/ResourceWorkbench.tsx +42 -42
- package/src/resource-workbench/components/SelectionCheckbox.tsx +2 -2
- package/src/resource-workbench/components/StatusBadge.tsx +17 -17
- package/src/resource-workbench/components/ViewSwitcher.tsx +7 -7
- package/src/schedule/CadenceField.tsx +36 -36
- package/src/schedule/ScheduleDetailView.tsx +105 -105
- package/src/schedule/ScheduleForm.tsx +49 -49
- package/src/schedule/ScheduleRowActions.tsx +4 -4
- package/src/schedule/ScheduleRunsTable.tsx +43 -43
- package/src/schedule/TimeZoneField.tsx +12 -12
- package/src/schedule/__tests__/scheduleCreation.test.tsx +0 -7
- package/src/schedule/scheduleColumns.tsx +7 -7
- package/src/session/NewSessionViewer.tsx +5 -5
- package/src/session/PlanEditor.tsx +37 -37
- package/src/session/PlanStreamingDocument.tsx +8 -8
- package/src/session/SessionViewer.tsx +49 -48
- package/src/session/SessionViewerLayout.tsx +14 -11
- package/src/session/__tests__/NewSessionViewer.test.tsx +4 -4
- package/src/session/__tests__/PlanEditor.test.tsx +2 -2
- package/src/session/__tests__/SessionViewerLayout.test.tsx +20 -8
- package/src/session/__tests__/useSessionConversation.test.tsx +62 -0
- package/src/session/facets/ArtifactsTab.tsx +3 -3
- package/src/session/facets/ChangesTab.tsx +5 -5
- package/src/session/facets/SetupTab.tsx +26 -26
- package/src/session/facets/UsageTab.tsx +2 -2
- package/src/session/useSessionConversation.ts +21 -2
- package/src/settings/ApiKeysSection.tsx +6 -6
- package/src/settings/ChannelAppsSection.tsx +6 -6
- package/src/settings/EnvironmentsSection.tsx +15 -15
- package/src/settings/IdentityProvidersSection.tsx +7 -7
- 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 +3 -3
- package/src/settings/PlatformClientsSection.tsx +7 -7
- package/src/settings/UsageSection.tsx +3 -3
- package/src/sharing/AgentShareList.tsx +39 -39
- package/src/sharing/ShareAgentDialog.tsx +149 -149
- package/src/sharing/SharedAgentChat.tsx +24 -24
- package/src/sharing/__tests__/AgentShareList.test.tsx +0 -7
- package/src/sidebar/SettingsSidebar.tsx +7 -7
- package/src/sidebar/WorkspaceSidebar.tsx +25 -25
- package/src/sidebar/__tests__/SettingsSidebar.test.tsx +3 -7
- package/src/sidebar/__tests__/WorkspaceSidebar.test.tsx +4 -11
- package/src/sidebar/chrome.tsx +16 -16
- package/src/skill/SkillDetailView.tsx +54 -54
- package/src/skill/SkillDiffDialog.tsx +25 -25
- package/src/skill/SkillFileBrowser.tsx +22 -22
- package/src/skill/SkillPicker.tsx +28 -28
- package/src/skill/SkillUploader.tsx +67 -67
- package/src/styles.css +136 -15
- package/src/switch/Switch.tsx +9 -9
- package/src/switch/__tests__/Switch.test.tsx +3 -3
- package/src/tabs/Tabs.tsx +11 -11
- package/src/usage/AgentBreakdownList.tsx +18 -18
- package/src/usage/CreditRunwayIndicator.tsx +4 -4
- package/src/usage/ExportButton.tsx +8 -8
- package/src/usage/HarnessSplitCard.tsx +14 -14
- package/src/usage/OrgUsagePanel.tsx +71 -71
- package/src/user/UserMenu.tsx +13 -13
- package/src/version-history/DiffFileList.tsx +13 -13
- package/src/version-history/DiffSummary.tsx +3 -3
- package/src/version-history/DiffViewer.tsx +14 -14
- package/src/version-history/MultiFileDiffView.tsx +6 -6
- package/src/version-history/UnifiedDiffView.tsx +4 -4
- package/src/version-history/VersionTimeline.tsx +21 -21
- package/src/version-history/VersionTimelineEntry.tsx +28 -28
- package/src/version-history/__tests__/UnifiedDiffView.test.tsx +2 -2
- package/src/workflow/ApprovalFormBuilder.tsx +48 -48
- package/src/workflow/BranchConditionBuilder.tsx +21 -21
- package/src/workflow/CanvasContextMenu.tsx +10 -10
- package/src/workflow/CanvasTransitionEdge.tsx +16 -16
- package/src/workflow/CostByWorkflowChart.tsx +18 -18
- package/src/workflow/ExecutionActiveTaskIndicator.tsx +13 -13
- package/src/workflow/ExecutionSummaryWidget.tsx +29 -29
- package/src/workflow/ExecutionTrendChart.tsx +25 -25
- package/src/workflow/FailedRunsWidget.tsx +14 -14
- package/src/workflow/PendingApprovalsWidget.tsx +19 -19
- package/src/workflow/TaskConfigForm.tsx +32 -32
- package/src/workflow/TaskPickerPopover.tsx +22 -22
- package/src/workflow/ViewYamlDialog.tsx +12 -12
- package/src/workflow/WorkflowAgentCallTranscript.tsx +15 -15
- package/src/workflow/WorkflowApprovalList.tsx +3 -3
- package/src/workflow/WorkflowArchitectDialog.tsx +80 -80
- package/src/workflow/WorkflowArtifactDocument.tsx +17 -17
- package/src/workflow/WorkflowCanvasEditor.tsx +22 -22
- package/src/workflow/WorkflowCanvasInner.tsx +3 -3
- package/src/workflow/WorkflowCodePreviewGraph.tsx +2 -2
- package/src/workflow/WorkflowDashboard.tsx +2 -2
- package/src/workflow/WorkflowDetailView.tsx +50 -50
- package/src/workflow/WorkflowDiffGraph.tsx +5 -5
- package/src/workflow/WorkflowEditorView.tsx +58 -58
- package/src/workflow/WorkflowExecutionGraph.tsx +15 -15
- package/src/workflow/WorkflowExecutionHeader.tsx +14 -14
- package/src/workflow/WorkflowExecutionPhaseBadge.tsx +11 -11
- package/src/workflow/WorkflowExecutionViewer.tsx +39 -39
- package/src/workflow/WorkflowExplainDialog.tsx +30 -30
- package/src/workflow/WorkflowFileReviewList.tsx +3 -3
- package/src/workflow/WorkflowGraphFullscreenDialog.tsx +11 -11
- package/src/workflow/WorkflowNode.tsx +2 -2
- package/src/workflow/WorkflowNodePopover.tsx +15 -15
- package/src/workflow/WorkflowOverviewGraph.tsx +9 -9
- package/src/workflow/WorkflowOverviewSummary.tsx +12 -12
- package/src/workflow/WorkflowRefinePanel.tsx +49 -49
- package/src/workflow/WorkflowRepairCard.tsx +53 -53
- package/src/workflow/WorkflowRunDialog.tsx +20 -20
- package/src/workflow/WorkflowRunForm.tsx +19 -19
- package/src/workflow/WorkflowTaskApprovalCard.tsx +19 -19
- package/src/workflow/WorkflowTaskApprovalSummary.tsx +23 -23
- package/src/workflow/WorkflowTaskList.tsx +11 -11
- package/src/workflow/WorkflowTaskPalette.tsx +23 -23
- package/src/workflow/WorkflowTaskReviewGate.tsx +10 -10
- package/src/workflow/WorkflowVersionBadge.tsx +7 -7
- package/src/workflow/WorkflowVersionDiffViewer.tsx +24 -24
- package/src/workflow/WorkflowVersionTimeline.tsx +32 -32
- package/src/workflow/WorkflowVersionsTab.tsx +7 -7
- package/src/workflow/__tests__/WorkflowAgentCallTranscript.test.tsx +2 -2
- package/src/workflow/__tests__/WorkflowExecutionViewer.reconciliation.test.tsx +6 -6
- package/src/workflow/__tests__/WorkflowTaskApprovalCard.test.tsx +15 -15
- package/src/workflow/__tests__/WorkflowTaskApprovalSummary.test.tsx +1 -1
- package/src/workflow/__tests__/node-shell.test.ts +2 -0
- package/src/workflow/__tests__/task-type-visual-registry.test.ts +2 -0
- package/src/workflow/diff/DiffSummaryBar.tsx +5 -5
- package/src/workflow/execution-comparison/ComparisonSummaryCards.tsx +11 -11
- package/src/workflow/execution-comparison/ExecutionComparisonPicker.tsx +20 -20
- package/src/workflow/execution-comparison/ExecutionComparisonView.tsx +16 -16
- package/src/workflow/execution-comparison/TaskComparisonTable.tsx +44 -44
- package/src/workflow/execution-history/ExecutionFilterBar.tsx +12 -12
- package/src/workflow/execution-history/ExecutionHistoryTable.tsx +25 -25
- package/src/workflow/execution-history/FailureAnalysisPanel.tsx +18 -18
- package/src/workflow/execution-history/HealthMetricsStrip.tsx +16 -16
- package/src/workflow/execution-history/WorkflowExecutionHistory.tsx +1 -1
- package/src/workflow/facets/WorkflowArtifactsTab.tsx +3 -3
- package/src/workflow/facets/WorkflowChangesTab.tsx +8 -8
- package/src/workflow/facets/WorkflowUsageTab.tsx +24 -24
- package/src/workflow/inspector/EdgeInspector.tsx +14 -14
- package/src/workflow/inspector/InspectorHeader.tsx +18 -18
- package/src/workflow/inspector/InspectorShell.tsx +6 -6
- package/src/workflow/inspector/NestedTaskList.tsx +11 -11
- package/src/workflow/inspector/SentinelInspector.tsx +3 -3
- package/src/workflow/inspector/WorkflowSummaryPanel.tsx +33 -33
- package/src/workflow/inspector/forms/AgentCallForm.tsx +48 -48
- package/src/workflow/inspector/forms/HttpCallForm.tsx +22 -22
- package/src/workflow/inspector/tabs/AdvancedTab.tsx +12 -12
- package/src/workflow/inspector/tabs/BranchesTab.tsx +36 -36
- package/src/workflow/inspector/tabs/CatchTab.tsx +23 -23
- package/src/workflow/inspector/tabs/ConfigureTab.tsx +3 -3
- package/src/workflow/inspector/tabs/DataTab.tsx +6 -6
- package/src/workflow/inspector/tabs/DocsTab.tsx +11 -11
- package/src/workflow/inspector/tabs/IterationTab.tsx +25 -25
- package/src/workflow/inspector/tabs/RuntimeTab.tsx +16 -16
- package/src/workflow/instance/CreateWorkflowInstanceDialog.tsx +35 -35
- package/src/workflow/instance/RunVisibilityControl.tsx +10 -10
- package/src/workflow/instance/WorkflowInstanceDetailPanel.tsx +45 -45
- package/src/workflow/instance/WorkflowInstanceList.tsx +32 -32
- package/src/workflow/instance/__tests__/WorkflowInstanceList.test.tsx +0 -6
- package/src/workflow/node-shell/BranchBadge.tsx +9 -9
- package/src/workflow/node-shell/DiffBadge.tsx +4 -4
- package/src/workflow/node-shell/ExecutionBadge.tsx +17 -17
- package/src/workflow/node-shell/NodeActions.tsx +15 -15
- package/src/workflow/node-shell/NodeContent.tsx +9 -9
- package/src/workflow/node-shell/NodeHandles.tsx +5 -5
- package/src/workflow/node-shell/NodeShell.tsx +27 -27
- package/src/workflow/picker/BranchAddPopover.tsx +16 -16
- package/src/workflow/task-detail/StructuredDataViewer.tsx +34 -34
- package/src/workflow/templates/WorkflowTemplateCard.tsx +32 -32
- package/src/workflow/templates/WorkflowTemplateGallery.tsx +13 -13
- package/src/workflow/templates/WorkflowTemplatePreview.tsx +29 -29
- package/src/workflow/thread/WorkflowTaskThread.tsx +36 -36
- package/src/workspace/EditorTabs.tsx +8 -8
- package/src/workspace/ExplorerTree.tsx +17 -17
- package/src/workspace/FileViewer.tsx +139 -30
- package/src/workspace/PanelChip.tsx +4 -4
- package/src/workspace/WorkspaceContentSearch.tsx +26 -26
- package/src/workspace/WorkspaceEditor.tsx +44 -44
- package/src/workspace/WorkspaceFileReader.ts +55 -1
- package/src/workspace/WorkspaceFileSearch.tsx +22 -22
- package/src/workspace/WorkspaceSummary.tsx +6 -6
- package/src/workspace/WorkspaceSurface.tsx +42 -42
- package/src/workspace/__tests__/FileViewer.test.tsx +99 -1
- package/src/workspace/__tests__/WorkspaceContentSearch.test.tsx +5 -5
- package/src/workspace/__tests__/WorkspaceFileSearch.test.tsx +3 -3
- package/src/workspace/__tests__/WorkspaceSurface.test.tsx +6 -6
- package/src/workspace/index.ts +2 -0
- package/styles.css +1 -1
- package/switch/Switch.js +2 -2
- package/switch/Switch.js.map +1 -1
- package/tabs/Tabs.js +7 -7
- package/tabs/Tabs.js.map +1 -1
- package/usage/AgentBreakdownList.js +4 -4
- package/usage/AgentBreakdownList.js.map +1 -1
- package/usage/CreditRunwayIndicator.js +1 -1
- package/usage/CreditRunwayIndicator.js.map +1 -1
- package/usage/ExportButton.js +2 -2
- package/usage/ExportButton.js.map +1 -1
- package/usage/HarnessSplitCard.js +6 -6
- package/usage/HarnessSplitCard.js.map +1 -1
- package/usage/OrgUsagePanel.js +15 -15
- package/usage/OrgUsagePanel.js.map +1 -1
- package/user/UserMenu.js +3 -3
- package/user/UserMenu.js.map +1 -1
- package/version-history/DiffFileList.js +8 -8
- package/version-history/DiffFileList.js.map +1 -1
- package/version-history/DiffSummary.js +1 -1
- package/version-history/DiffSummary.js.map +1 -1
- package/version-history/DiffViewer.js +11 -11
- package/version-history/DiffViewer.js.map +1 -1
- package/version-history/MultiFileDiffView.js +2 -2
- package/version-history/MultiFileDiffView.js.map +1 -1
- package/version-history/UnifiedDiffView.js +1 -1
- package/version-history/UnifiedDiffView.js.map +1 -1
- package/version-history/VersionTimeline.js +4 -4
- package/version-history/VersionTimeline.js.map +1 -1
- package/version-history/VersionTimelineEntry.js +9 -9
- package/version-history/VersionTimelineEntry.js.map +1 -1
- package/workflow/ApprovalFormBuilder.js +15 -15
- package/workflow/ApprovalFormBuilder.js.map +1 -1
- package/workflow/BranchConditionBuilder.js +8 -8
- package/workflow/BranchConditionBuilder.js.map +1 -1
- package/workflow/CanvasContextMenu.js +6 -6
- package/workflow/CanvasContextMenu.js.map +1 -1
- package/workflow/CanvasTransitionEdge.js +11 -11
- package/workflow/CanvasTransitionEdge.js.map +1 -1
- package/workflow/CostByWorkflowChart.js +4 -4
- package/workflow/CostByWorkflowChart.js.map +1 -1
- package/workflow/ExecutionActiveTaskIndicator.js +8 -8
- package/workflow/ExecutionActiveTaskIndicator.js.map +1 -1
- package/workflow/ExecutionSummaryWidget.js +15 -15
- package/workflow/ExecutionSummaryWidget.js.map +1 -1
- package/workflow/ExecutionTrendChart.js +10 -10
- package/workflow/ExecutionTrendChart.js.map +1 -1
- package/workflow/FailedRunsWidget.js +3 -3
- package/workflow/FailedRunsWidget.js.map +1 -1
- package/workflow/PendingApprovalsWidget.js +3 -3
- package/workflow/PendingApprovalsWidget.js.map +1 -1
- package/workflow/TaskConfigForm.js +12 -12
- package/workflow/TaskConfigForm.js.map +1 -1
- package/workflow/TaskPickerPopover.js +5 -5
- package/workflow/TaskPickerPopover.js.map +1 -1
- package/workflow/ViewYamlDialog.js +2 -2
- package/workflow/ViewYamlDialog.js.map +1 -1
- package/workflow/WorkflowAgentCallTranscript.js +2 -2
- package/workflow/WorkflowAgentCallTranscript.js.map +1 -1
- package/workflow/WorkflowApprovalList.js +2 -2
- package/workflow/WorkflowApprovalList.js.map +1 -1
- package/workflow/WorkflowArchitectDialog.js +9 -9
- package/workflow/WorkflowArchitectDialog.js.map +1 -1
- package/workflow/WorkflowArtifactDocument.js +7 -7
- package/workflow/WorkflowArtifactDocument.js.map +1 -1
- package/workflow/WorkflowCanvasEditor.js +6 -6
- package/workflow/WorkflowCanvasEditor.js.map +1 -1
- package/workflow/WorkflowCanvasInner.js +1 -1
- package/workflow/WorkflowCanvasInner.js.map +1 -1
- package/workflow/WorkflowCodePreviewGraph.js +2 -2
- package/workflow/WorkflowCodePreviewGraph.js.map +1 -1
- package/workflow/WorkflowDashboard.js +1 -1
- package/workflow/WorkflowDashboard.js.map +1 -1
- package/workflow/WorkflowDetailView.js +15 -15
- package/workflow/WorkflowDetailView.js.map +1 -1
- package/workflow/WorkflowDiffGraph.js +3 -3
- package/workflow/WorkflowDiffGraph.js.map +1 -1
- package/workflow/WorkflowEditorView.js +13 -13
- package/workflow/WorkflowEditorView.js.map +1 -1
- package/workflow/WorkflowExecutionGraph.js +6 -6
- package/workflow/WorkflowExecutionGraph.js.map +1 -1
- package/workflow/WorkflowExecutionHeader.js +4 -4
- package/workflow/WorkflowExecutionHeader.js.map +1 -1
- package/workflow/WorkflowExecutionPhaseBadge.js +9 -9
- package/workflow/WorkflowExecutionPhaseBadge.js.map +1 -1
- package/workflow/WorkflowExecutionViewer.js +16 -16
- package/workflow/WorkflowExecutionViewer.js.map +1 -1
- package/workflow/WorkflowExplainDialog.js +2 -2
- package/workflow/WorkflowExplainDialog.js.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/WorkflowNode.js +1 -1
- package/workflow/WorkflowNode.js.map +1 -1
- package/workflow/WorkflowNodePopover.js +2 -2
- package/workflow/WorkflowNodePopover.js.map +1 -1
- package/workflow/WorkflowOverviewGraph.js +4 -4
- package/workflow/WorkflowOverviewGraph.js.map +1 -1
- package/workflow/WorkflowOverviewSummary.js +8 -8
- package/workflow/WorkflowOverviewSummary.js.map +1 -1
- package/workflow/WorkflowRefinePanel.js +5 -5
- package/workflow/WorkflowRefinePanel.js.map +1 -1
- package/workflow/WorkflowRepairCard.js +5 -5
- package/workflow/WorkflowRepairCard.js.map +1 -1
- package/workflow/WorkflowRunDialog.js +2 -2
- package/workflow/WorkflowRunDialog.js.map +1 -1
- package/workflow/WorkflowRunForm.js +10 -10
- package/workflow/WorkflowRunForm.js.map +1 -1
- package/workflow/WorkflowTaskApprovalCard.js +1 -1
- package/workflow/WorkflowTaskApprovalCard.js.map +1 -1
- package/workflow/WorkflowTaskApprovalSummary.js +8 -8
- package/workflow/WorkflowTaskApprovalSummary.js.map +1 -1
- package/workflow/WorkflowTaskList.js +4 -4
- package/workflow/WorkflowTaskList.js.map +1 -1
- package/workflow/WorkflowTaskPalette.js +5 -5
- package/workflow/WorkflowTaskPalette.js.map +1 -1
- package/workflow/WorkflowTaskReviewGate.js +3 -3
- package/workflow/WorkflowTaskReviewGate.js.map +1 -1
- package/workflow/WorkflowVersionBadge.js +1 -1
- package/workflow/WorkflowVersionBadge.js.map +1 -1
- package/workflow/WorkflowVersionDiffViewer.js +12 -12
- package/workflow/WorkflowVersionDiffViewer.js.map +1 -1
- package/workflow/WorkflowVersionTimeline.js +7 -7
- package/workflow/WorkflowVersionTimeline.js.map +1 -1
- package/workflow/WorkflowVersionsTab.js +1 -1
- package/workflow/WorkflowVersionsTab.js.map +1 -1
- package/workflow/diff/DiffSummaryBar.js +2 -2
- package/workflow/diff/DiffSummaryBar.js.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 +7 -7
- 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.js +22 -22
- package/workflow/execution-comparison/TaskComparisonTable.js.map +1 -1
- package/workflow/execution-history/ExecutionFilterBar.js +5 -5
- package/workflow/execution-history/ExecutionFilterBar.js.map +1 -1
- package/workflow/execution-history/ExecutionHistoryTable.js +11 -11
- package/workflow/execution-history/ExecutionHistoryTable.js.map +1 -1
- package/workflow/execution-history/FailureAnalysisPanel.js +4 -4
- package/workflow/execution-history/FailureAnalysisPanel.js.map +1 -1
- package/workflow/execution-history/HealthMetricsStrip.js +8 -8
- package/workflow/execution-history/HealthMetricsStrip.js.map +1 -1
- package/workflow/execution-history/WorkflowExecutionHistory.js +1 -1
- package/workflow/execution-history/WorkflowExecutionHistory.js.map +1 -1
- package/workflow/facets/WorkflowArtifactsTab.js +2 -2
- package/workflow/facets/WorkflowArtifactsTab.js.map +1 -1
- package/workflow/facets/WorkflowChangesTab.js +5 -5
- package/workflow/facets/WorkflowChangesTab.js.map +1 -1
- package/workflow/facets/WorkflowUsageTab.js +6 -6
- package/workflow/facets/WorkflowUsageTab.js.map +1 -1
- package/workflow/inspector/EdgeInspector.js +1 -1
- package/workflow/inspector/EdgeInspector.js.map +1 -1
- package/workflow/inspector/InspectorHeader.js +7 -7
- package/workflow/inspector/InspectorHeader.js.map +1 -1
- package/workflow/inspector/InspectorShell.js +2 -2
- package/workflow/inspector/InspectorShell.js.map +1 -1
- package/workflow/inspector/NestedTaskList.js +2 -2
- package/workflow/inspector/NestedTaskList.js.map +1 -1
- package/workflow/inspector/SentinelInspector.js +1 -1
- package/workflow/inspector/SentinelInspector.js.map +1 -1
- package/workflow/inspector/WorkflowSummaryPanel.js +5 -5
- package/workflow/inspector/WorkflowSummaryPanel.js.map +1 -1
- package/workflow/inspector/forms/AgentCallForm.js +9 -9
- package/workflow/inspector/forms/AgentCallForm.js.map +1 -1
- package/workflow/inspector/forms/HttpCallForm.js +4 -4
- package/workflow/inspector/forms/HttpCallForm.js.map +1 -1
- package/workflow/inspector/tabs/AdvancedTab.js +2 -2
- package/workflow/inspector/tabs/AdvancedTab.js.map +1 -1
- package/workflow/inspector/tabs/BranchesTab.js +6 -6
- package/workflow/inspector/tabs/BranchesTab.js.map +1 -1
- package/workflow/inspector/tabs/CatchTab.js +2 -2
- package/workflow/inspector/tabs/CatchTab.js.map +1 -1
- package/workflow/inspector/tabs/ConfigureTab.js +3 -3
- package/workflow/inspector/tabs/ConfigureTab.js.map +1 -1
- package/workflow/inspector/tabs/DataTab.js +1 -1
- package/workflow/inspector/tabs/DataTab.js.map +1 -1
- package/workflow/inspector/tabs/DocsTab.js +1 -1
- package/workflow/inspector/tabs/DocsTab.js.map +1 -1
- package/workflow/inspector/tabs/IterationTab.js +3 -3
- package/workflow/inspector/tabs/IterationTab.js.map +1 -1
- package/workflow/inspector/tabs/RuntimeTab.js +9 -9
- package/workflow/inspector/tabs/RuntimeTab.js.map +1 -1
- package/workflow/instance/CreateWorkflowInstanceDialog.js +1 -1
- package/workflow/instance/CreateWorkflowInstanceDialog.js.map +1 -1
- package/workflow/instance/RunVisibilityControl.js +5 -5
- package/workflow/instance/RunVisibilityControl.js.map +1 -1
- package/workflow/instance/WorkflowInstanceDetailPanel.js +2 -2
- package/workflow/instance/WorkflowInstanceDetailPanel.js.map +1 -1
- package/workflow/instance/WorkflowInstanceList.js +4 -4
- package/workflow/instance/WorkflowInstanceList.js.map +1 -1
- package/workflow/node-shell/BranchBadge.js +3 -3
- package/workflow/node-shell/BranchBadge.js.map +1 -1
- package/workflow/node-shell/DiffBadge.js +4 -4
- package/workflow/node-shell/DiffBadge.js.map +1 -1
- package/workflow/node-shell/ExecutionBadge.js +10 -10
- package/workflow/node-shell/ExecutionBadge.js.map +1 -1
- package/workflow/node-shell/NodeActions.js +3 -3
- package/workflow/node-shell/NodeActions.js.map +1 -1
- package/workflow/node-shell/NodeContent.js +5 -5
- package/workflow/node-shell/NodeContent.js.map +1 -1
- package/workflow/node-shell/NodeHandles.js +5 -5
- package/workflow/node-shell/NodeHandles.js.map +1 -1
- package/workflow/node-shell/NodeShell.js +14 -14
- package/workflow/node-shell/NodeShell.js.map +1 -1
- package/workflow/picker/BranchAddPopover.js +2 -2
- package/workflow/picker/BranchAddPopover.js.map +1 -1
- package/workflow/task-detail/StructuredDataViewer.js +12 -12
- package/workflow/task-detail/StructuredDataViewer.js.map +1 -1
- package/workflow/templates/WorkflowTemplateCard.js +17 -17
- package/workflow/templates/WorkflowTemplateCard.js.map +1 -1
- package/workflow/templates/WorkflowTemplateGallery.js +5 -5
- package/workflow/templates/WorkflowTemplateGallery.js.map +1 -1
- package/workflow/templates/WorkflowTemplatePreview.js +5 -5
- package/workflow/templates/WorkflowTemplatePreview.js.map +1 -1
- package/workflow/thread/WorkflowTaskThread.js +16 -16
- package/workflow/thread/WorkflowTaskThread.js.map +1 -1
- package/workspace/EditorTabs.js +5 -5
- package/workspace/EditorTabs.js.map +1 -1
- package/workspace/ExplorerTree.js +6 -6
- package/workspace/ExplorerTree.js.map +1 -1
- package/workspace/FileViewer.d.ts.map +1 -1
- package/workspace/FileViewer.js +55 -17
- package/workspace/FileViewer.js.map +1 -1
- package/workspace/PanelChip.js +1 -1
- package/workspace/PanelChip.js.map +1 -1
- package/workspace/WorkspaceContentSearch.js +11 -11
- package/workspace/WorkspaceContentSearch.js.map +1 -1
- package/workspace/WorkspaceEditor.js +10 -10
- package/workspace/WorkspaceEditor.js.map +1 -1
- package/workspace/WorkspaceFileReader.d.ts +29 -1
- package/workspace/WorkspaceFileReader.d.ts.map +1 -1
- package/workspace/WorkspaceFileReader.js +42 -0
- package/workspace/WorkspaceFileReader.js.map +1 -1
- package/workspace/WorkspaceFileSearch.js +9 -9
- package/workspace/WorkspaceFileSearch.js.map +1 -1
- package/workspace/WorkspaceSummary.js +3 -3
- package/workspace/WorkspaceSummary.js.map +1 -1
- package/workspace/WorkspaceSurface.js +22 -22
- package/workspace/WorkspaceSurface.js.map +1 -1
- package/workspace/index.d.ts +1 -1
- package/workspace/index.d.ts.map +1 -1
- package/workspace/index.js +1 -1
- package/workspace/index.js.map +1 -1
|
@@ -13,11 +13,17 @@ import { cn } from "@stigmer/theme";
|
|
|
13
13
|
export type ResizablePane = "primary" | "secondary";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Which pane (if any) collapses
|
|
17
|
-
* full-width. Use this to hide the pixel-sized
|
|
18
|
-
*
|
|
19
|
-
*
|
|
16
|
+
* Which pane (if any) collapses when the split's own box is narrower than
|
|
17
|
+
* 48rem, leaving its sibling full-width. Use this to hide the pixel-sized
|
|
18
|
+
* pane in tight quarters — always pair it with
|
|
19
|
+
* {@link ResizableSplitProps.resizablePane} (hide the fixed pane so the
|
|
20
|
+
* visible sibling is the flexing one and fills the row). `"none"` keeps both
|
|
20
21
|
* panes at every width.
|
|
22
|
+
*
|
|
23
|
+
* The narrowness check is a CSS container query against the split root —
|
|
24
|
+
* never a viewport media query — so an embedded dock inside a wide window
|
|
25
|
+
* collapses exactly like a narrow window does (stigmer/stigmer#301). See
|
|
26
|
+
* {@link ResizableSplitProps.responsiveCollapse} for the threshold rationale.
|
|
21
27
|
*/
|
|
22
28
|
export type ResizableCollapse = "primary" | "secondary" | "none";
|
|
23
29
|
|
|
@@ -52,7 +58,22 @@ export interface ResizableSplitProps {
|
|
|
52
58
|
* a distinct persisted width per mode.
|
|
53
59
|
*/
|
|
54
60
|
readonly storageKey?: string;
|
|
55
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Which pane collapses when the split's own box is narrower than 48rem
|
|
63
|
+
* (768px, Tailwind's `--container-3xl`).
|
|
64
|
+
*
|
|
65
|
+
* The threshold is fixed and keys on the split root via a CSS container
|
|
66
|
+
* query. 48rem clears the session layout's content minimums (320px min
|
|
67
|
+
* chat + drag handle + a usable workspace panel) and approximately
|
|
68
|
+
* preserves the console's previous viewport-`lg` trigger point, where the
|
|
69
|
+
* viewer's box is the ~1024px window minus the ~280px sidebar. It is
|
|
70
|
+
* deliberately not a prop: container-query conditions cannot read CSS
|
|
71
|
+
* custom properties, so a runtime threshold would need an inline-`<style>`
|
|
72
|
+
* or ResizeObserver mechanism — heavier than the static utility this is,
|
|
73
|
+
* with no consumer needing it.
|
|
74
|
+
*
|
|
75
|
+
* @default "none"
|
|
76
|
+
*/
|
|
56
77
|
readonly responsiveCollapse?: ResizableCollapse;
|
|
57
78
|
/**
|
|
58
79
|
* Which pane (if any) is collapsed at every width, hiding the drag handle and
|
|
@@ -126,7 +147,8 @@ function readInitialWidth(
|
|
|
126
147
|
* so the pane always grows toward its own side
|
|
127
148
|
* - Optional `localStorage` persistence via `storageKey`, re-initialized when
|
|
128
149
|
* the key or resizable side changes (no remount required)
|
|
129
|
-
* - Optional responsive collapse of the pixel pane
|
|
150
|
+
* - Optional responsive collapse of the pixel pane when the split's own box
|
|
151
|
+
* is narrow (container query, not viewport — see `responsiveCollapse`)
|
|
130
152
|
* - Styled with `--stgm-*` tokens; no hardcoded colors
|
|
131
153
|
*
|
|
132
154
|
* @example
|
|
@@ -273,8 +295,8 @@ export function ResizableSplit({
|
|
|
273
295
|
// Cleanup rAF on unmount
|
|
274
296
|
useEffect(() => () => cancelAnimationFrame(rafRef.current), []);
|
|
275
297
|
|
|
276
|
-
const fixedPaneClass = "shrink-0 overflow-hidden";
|
|
277
|
-
const flexPaneClass = "min-w-0 flex-1";
|
|
298
|
+
const fixedPaneClass = "stg:shrink-0 stg:overflow-hidden";
|
|
299
|
+
const flexPaneClass = "stg:min-w-0 stg:flex-1";
|
|
278
300
|
|
|
279
301
|
// A collapsed pane hides entirely and its sibling flexes to fill the row,
|
|
280
302
|
// overriding the fixed/flex split. Width state is untouched, so expanding
|
|
@@ -293,12 +315,30 @@ export function ResizableSplit({
|
|
|
293
315
|
: fixedPaneClass;
|
|
294
316
|
|
|
295
317
|
return (
|
|
296
|
-
<div
|
|
318
|
+
<div
|
|
319
|
+
ref={containerRef}
|
|
320
|
+
className={cn(
|
|
321
|
+
"stg:flex stg:min-h-0 stg:flex-1",
|
|
322
|
+
// The responsive collapse queries the split's OWN width, so the root
|
|
323
|
+
// must be a CSS container (stigmer/stigmer#301). Applied ONLY while a
|
|
324
|
+
// collapse is requested: `container-type: inline-size` imposes layout
|
|
325
|
+
// containment, which re-parents `position: fixed` descendants and
|
|
326
|
+
// creates a stacking context — the workflow inspector's in-tree
|
|
327
|
+
// viewport-covering backdrop (InspectorHeader) lives inside a split
|
|
328
|
+
// pane and must not be captured. The one `responsiveCollapse`
|
|
329
|
+
// consumer (the session layout) has no in-tree fixed descendants:
|
|
330
|
+
// its dialogs are native <dialog> (top layer) and its floating UI
|
|
331
|
+
// portals out.
|
|
332
|
+
responsiveCollapse !== "none" && "stg:@container/resizable-split",
|
|
333
|
+
className,
|
|
334
|
+
)}
|
|
335
|
+
>
|
|
297
336
|
{/* Primary region (first child, order-stable across flips/collapses) */}
|
|
298
337
|
<div
|
|
299
338
|
className={cn(
|
|
300
339
|
primaryPaneClass,
|
|
301
|
-
responsiveCollapse === "primary" &&
|
|
340
|
+
responsiveCollapse === "primary" &&
|
|
341
|
+
"stg:@max-3xl/resizable-split:hidden",
|
|
302
342
|
)}
|
|
303
343
|
style={
|
|
304
344
|
isPrimaryResizable && !isCollapsed ? { width: panelWidth } : undefined
|
|
@@ -323,25 +363,26 @@ export function ResizableSplit({
|
|
|
323
363
|
onPointerUp={handlePointerUp}
|
|
324
364
|
onKeyDown={handleKeyDown}
|
|
325
365
|
className={cn(
|
|
326
|
-
"group relative z-10 w-1 shrink-0 cursor-col-resize touch-none select-none",
|
|
327
|
-
"bg-[var(--stgm-border,#e5e5e5)]",
|
|
328
|
-
"hover:bg-[var(--stgm-primary,#6366f1)]",
|
|
329
|
-
"focus-visible:bg-[var(--stgm-primary,#6366f1)] focus-visible:outline-none",
|
|
330
|
-
"active:bg-[var(--stgm-primary,#6366f1)]",
|
|
331
|
-
"transition-colors duration-100",
|
|
332
|
-
responsiveCollapse !== "none" && "max-
|
|
333
|
-
isCollapsed && "hidden",
|
|
366
|
+
"stg:group stg:relative stg:z-10 stg:w-1 stg:shrink-0 stg:cursor-col-resize stg:touch-none stg:select-none",
|
|
367
|
+
"stg:bg-[var(--stgm-border,#e5e5e5)]",
|
|
368
|
+
"stg:hover:bg-[var(--stgm-primary,#6366f1)]",
|
|
369
|
+
"stg:focus-visible:bg-[var(--stgm-primary,#6366f1)] stg:focus-visible:outline-none",
|
|
370
|
+
"stg:active:bg-[var(--stgm-primary,#6366f1)]",
|
|
371
|
+
"stg:transition-colors stg:duration-100",
|
|
372
|
+
responsiveCollapse !== "none" && "stg:@max-3xl/resizable-split:hidden",
|
|
373
|
+
isCollapsed && "stg:hidden",
|
|
334
374
|
)}
|
|
335
375
|
>
|
|
336
376
|
{/* Wider invisible hit target (12px) for easier grabbing */}
|
|
337
|
-
<div className="absolute inset-y-0
|
|
377
|
+
<div className="stg:absolute stg:inset-y-0 stg:-left-1.5 stg:-right-1.5" />
|
|
338
378
|
</div>
|
|
339
379
|
|
|
340
380
|
{/* Secondary region (second child, order-stable across flips/collapses) */}
|
|
341
381
|
<div
|
|
342
382
|
className={cn(
|
|
343
383
|
secondaryPaneClass,
|
|
344
|
-
responsiveCollapse === "secondary" &&
|
|
384
|
+
responsiveCollapse === "secondary" &&
|
|
385
|
+
"stg:@max-3xl/resizable-split:hidden",
|
|
345
386
|
)}
|
|
346
387
|
style={
|
|
347
388
|
!isPrimaryResizable && !isCollapsed ? { width: panelWidth } : undefined
|
|
@@ -52,9 +52,9 @@ export function RevealToggle({
|
|
|
52
52
|
aria-expanded={expanded}
|
|
53
53
|
data-cursor-target={cursorTarget}
|
|
54
54
|
className={cn(
|
|
55
|
-
"mt-1 flex w-full items-center justify-center gap-1 rounded py-0.5",
|
|
56
|
-
"text-xs font-medium text-muted-foreground transition-colors hover:text-foreground",
|
|
57
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
55
|
+
"stg:mt-1 stg:flex stg:w-full stg:items-center stg:justify-center stg:gap-1 stg:rounded stg:py-0.5",
|
|
56
|
+
"stg:text-xs stg:font-medium stg:text-muted-foreground stg:transition-colors stg:hover:text-foreground",
|
|
57
|
+
"stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring",
|
|
58
58
|
className,
|
|
59
59
|
)}
|
|
60
60
|
>
|
|
@@ -80,8 +80,8 @@ function ChevronIcon({ expanded }: { expanded: boolean }) {
|
|
|
80
80
|
strokeLinecap="round"
|
|
81
81
|
strokeLinejoin="round"
|
|
82
82
|
className={cn(
|
|
83
|
-
"shrink-0 transition-transform duration-150",
|
|
84
|
-
expanded && "rotate-180",
|
|
83
|
+
"stg:shrink-0 stg:transition-transform stg:duration-150",
|
|
84
|
+
expanded && "stg:rotate-180",
|
|
85
85
|
)}
|
|
86
86
|
aria-hidden="true"
|
|
87
87
|
>
|
|
@@ -15,8 +15,8 @@ export function ScrollFade({ position }: { readonly position: "top" | "bottom" }
|
|
|
15
15
|
return (
|
|
16
16
|
<div
|
|
17
17
|
className={[
|
|
18
|
-
"pointer-events-none absolute inset-x-0 z-10 h-3",
|
|
19
|
-
isTop ? "top-0" : "bottom-0",
|
|
18
|
+
"stg:pointer-events-none stg:absolute stg:inset-x-0 stg:z-10 stg:h-3",
|
|
19
|
+
isTop ? "stg:top-0" : "stg:bottom-0",
|
|
20
20
|
].join(" ")}
|
|
21
21
|
style={{
|
|
22
22
|
background: isTop
|
|
@@ -64,10 +64,10 @@ export interface VirtualizedThreadProps {
|
|
|
64
64
|
// ---------------------------------------------------------------------------
|
|
65
65
|
|
|
66
66
|
const SCROLLBAR_CLASSES = cn(
|
|
67
|
-
"[scrollbar-width:thin] [scrollbar-color:var(--color-border)_transparent]",
|
|
68
|
-
"[&::-webkit-scrollbar]:w-1.5",
|
|
69
|
-
"[&::-webkit-scrollbar-track]:bg-transparent",
|
|
70
|
-
"[&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border/40",
|
|
67
|
+
"stg:[scrollbar-width:thin] stg:[scrollbar-color:var(--color-border)_transparent]",
|
|
68
|
+
"stg:[&::-webkit-scrollbar]:w-1.5",
|
|
69
|
+
"stg:[&::-webkit-scrollbar-track]:bg-transparent",
|
|
70
|
+
"stg:[&::-webkit-scrollbar-thumb]:rounded-full stg:[&::-webkit-scrollbar-thumb]:bg-border/40",
|
|
71
71
|
);
|
|
72
72
|
|
|
73
73
|
// ---------------------------------------------------------------------------
|
|
@@ -186,10 +186,10 @@ export function VirtualizedThread({
|
|
|
186
186
|
computeItemKey={(_index, item) => item.key}
|
|
187
187
|
increaseViewportBy={{ top: 200, bottom: 200 }}
|
|
188
188
|
scrollerRef={handleScrollerRef}
|
|
189
|
-
className="h-full"
|
|
189
|
+
className="stg:h-full"
|
|
190
190
|
components={{ Scroller: ScrollerWithA11y }}
|
|
191
191
|
itemContent={(index, item) => (
|
|
192
|
-
<div className={cn("pb-4 pt-0 first:pt-6", threadContentColumnClass(contentColumn))}>
|
|
192
|
+
<div className={cn("stg:pb-4 stg:pt-0 stg:first:pt-6", threadContentColumnClass(contentColumn))}>
|
|
193
193
|
<ThreadItemWrapper animate={index >= items.length - 2}>
|
|
194
194
|
<ThreadItemRenderer
|
|
195
195
|
item={item}
|
|
@@ -20,7 +20,7 @@ afterEach(cleanup);
|
|
|
20
20
|
|
|
21
21
|
/** The collapsed clamp element: `overflow-hidden` + the shared budget. */
|
|
22
22
|
function clampEl(container: HTMLElement): Element | null {
|
|
23
|
-
return container.querySelector(`.overflow-hidden.${PREVIEW_MAX_HEIGHT}`);
|
|
23
|
+
return container.querySelector(`.stg\\:overflow-hidden.${PREVIEW_MAX_HEIGHT.replace(":", "\\:")}`);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
describe("BoundedContent", () => {
|
|
@@ -20,30 +20,30 @@ describe("DecisionButton", () => {
|
|
|
20
20
|
render(<DecisionButton label="Approve" variant="primary" onClick={() => {}} />);
|
|
21
21
|
const cls = screen.getByRole("button").className;
|
|
22
22
|
expect(cls).toContain("border");
|
|
23
|
-
expect(cls).toContain("bg-accent");
|
|
24
|
-
expect(cls).toContain("text-accent-foreground");
|
|
25
|
-
expect(cls).not.toContain("bg-success");
|
|
23
|
+
expect(cls).toContain("stg:bg-accent");
|
|
24
|
+
expect(cls).toContain("stg:text-accent-foreground");
|
|
25
|
+
expect(cls).not.toContain("stg:bg-success");
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
it("ghost carries no fill at rest (lowest weight)", () => {
|
|
29
29
|
render(<DecisionButton label="Skip" variant="ghost" onClick={() => {}} />);
|
|
30
30
|
const cls = screen.getByRole("button").className;
|
|
31
|
-
expect(cls).toContain("text-muted-foreground");
|
|
31
|
+
expect(cls).toContain("stg:text-muted-foreground");
|
|
32
32
|
// No resting background — only a neutral hover wash.
|
|
33
33
|
expect(cls).not.toMatch(/(?:^|\s)bg-/);
|
|
34
|
-
expect(cls).toContain("hover:bg-accent-hover");
|
|
34
|
+
expect(cls).toContain("stg:hover:bg-accent-hover");
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
it("danger is a quiet ghost that reveals the destructive cue on hover AND focus, never the loud red fill", () => {
|
|
38
38
|
render(<DecisionButton label="Reject" variant="danger" onClick={() => {}} />);
|
|
39
39
|
const cls = screen.getByRole("button").className;
|
|
40
|
-
expect(cls).toContain("text-muted-foreground");
|
|
40
|
+
expect(cls).toContain("stg:text-muted-foreground");
|
|
41
41
|
expect(cls).not.toMatch(/(?:^|\s)bg-/); // transparent at rest
|
|
42
|
-
expect(cls).toContain("hover:text-destructive");
|
|
43
|
-
expect(cls).toContain("hover:bg-destructive-subtle");
|
|
42
|
+
expect(cls).toContain("stg:hover:text-destructive");
|
|
43
|
+
expect(cls).toContain("stg:hover:bg-destructive-subtle");
|
|
44
44
|
// Keyboard parity: the cue is not hover-only.
|
|
45
|
-
expect(cls).toContain("focus-visible:text-destructive");
|
|
46
|
-
expect(cls).not.toContain("bg-destructive text-destructive-foreground");
|
|
45
|
+
expect(cls).toContain("stg:focus-visible:text-destructive");
|
|
46
|
+
expect(cls).not.toContain("stg:bg-destructive stg:text-destructive-foreground");
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
it("uses NO `bg-token/NN` opacity modifiers in any variant", () => {
|
|
@@ -75,7 +75,7 @@ describe("DecisionButton", () => {
|
|
|
75
75
|
isActive
|
|
76
76
|
/>,
|
|
77
77
|
);
|
|
78
|
-
expect(screen.getByRole("button").querySelector("svg.animate-spin")).toBeTruthy();
|
|
78
|
+
expect(screen.getByRole("button").querySelector("svg.stg\\:animate-spin")).toBeTruthy();
|
|
79
79
|
|
|
80
80
|
// In-flight, but a DIFFERENT button is the active one — no spinner here.
|
|
81
81
|
rerender(
|
|
@@ -87,7 +87,7 @@ describe("DecisionButton", () => {
|
|
|
87
87
|
isActive={false}
|
|
88
88
|
/>,
|
|
89
89
|
);
|
|
90
|
-
expect(screen.getByRole("button").querySelector("svg.animate-spin")).toBeNull();
|
|
90
|
+
expect(screen.getByRole("button").querySelector("svg.stg\\:animate-spin")).toBeNull();
|
|
91
91
|
});
|
|
92
92
|
|
|
93
93
|
it("forwards className and the data-cursor-target hook", () => {
|
|
@@ -96,12 +96,12 @@ describe("DecisionButton", () => {
|
|
|
96
96
|
label="Approve all"
|
|
97
97
|
variant="ghost"
|
|
98
98
|
onClick={() => {}}
|
|
99
|
-
className="ml-auto"
|
|
99
|
+
className="stg:ml-auto"
|
|
100
100
|
cursorTarget="approve-all-button"
|
|
101
101
|
/>,
|
|
102
102
|
);
|
|
103
103
|
const btn = screen.getByRole("button");
|
|
104
|
-
expect(btn.className).toContain("ml-auto");
|
|
104
|
+
expect(btn.className).toContain("stg:ml-auto");
|
|
105
105
|
expect(btn.getAttribute("data-cursor-target")).toBe("approve-all-button");
|
|
106
106
|
});
|
|
107
107
|
});
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
// Layout-contract regression suite for ResizableSplit's responsive collapse
|
|
2
|
+
// (stigmer/stigmer#301). Runs in a real Chromium via `vitest.a11y.config.ts` —
|
|
3
|
+
// evaluating a CSS container query requires a real layout engine, which
|
|
4
|
+
// happy-dom does not have.
|
|
5
|
+
//
|
|
6
|
+
// The contract under test: `responsiveCollapse` keys on the split's OWN box
|
|
7
|
+
// (a container query), never the browser viewport. The defining scenario is
|
|
8
|
+
// the one the issue reports — a narrow dock inside a WIDE window. A viewport
|
|
9
|
+
// media query can never fire there (the window is wide), so every assertion
|
|
10
|
+
// below that expects a collapse is meaningless under the old `max-lg`
|
|
11
|
+
// implementation and fails against it.
|
|
12
|
+
//
|
|
13
|
+
// Like the provider container suite (#260/DD-019), this renders against the
|
|
14
|
+
// SHIPPED stylesheet (`dist/styles.css`, built by `npm run build:libs`), so
|
|
15
|
+
// the contract is verified on the artifact consumers actually load.
|
|
16
|
+
|
|
17
|
+
import "../../../dist/styles.css";
|
|
18
|
+
|
|
19
|
+
import { describe, it, expect, afterEach, beforeAll } from "vitest";
|
|
20
|
+
import { render, cleanup, screen } from "@testing-library/react";
|
|
21
|
+
import { page } from "@vitest/browser/context";
|
|
22
|
+
import { ResizableSplit } from "../ResizableSplit";
|
|
23
|
+
|
|
24
|
+
// The harness default viewport (414×896) is narrower than Tailwind's `lg`,
|
|
25
|
+
// where a viewport-keyed collapse would fire too — hiding the very defect
|
|
26
|
+
// this suite exists to catch. Pin a desktop-wide window so the narrow-dock
|
|
27
|
+
// cases can only pass with a container-keyed implementation.
|
|
28
|
+
beforeAll(async () => {
|
|
29
|
+
await page.viewport(1280, 800);
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
afterEach(cleanup);
|
|
33
|
+
|
|
34
|
+
/** The collapse threshold the component documents: 48rem = 768px. */
|
|
35
|
+
const THRESHOLD_PX = 768;
|
|
36
|
+
|
|
37
|
+
/** Comfortably inside the collapse band — the issue's 360–640px dock class. */
|
|
38
|
+
const NARROW_PX = 500;
|
|
39
|
+
|
|
40
|
+
/** Comfortably above the threshold, yet far below the Chromium viewport. */
|
|
41
|
+
const WIDE_PX = THRESHOLD_PX + 132;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Render the split docked in a fixed-width wrapper, the embedded-host
|
|
45
|
+
* arrangement from stigmer/stigmer#301: the wrapper is narrower than the
|
|
46
|
+
* viewport, so any viewport-keyed rule sees a wide window while the
|
|
47
|
+
* component's own box is tight.
|
|
48
|
+
*/
|
|
49
|
+
function renderDocked(
|
|
50
|
+
wrapperWidthPx: number,
|
|
51
|
+
overrides: Partial<React.ComponentProps<typeof ResizableSplit>> = {},
|
|
52
|
+
) {
|
|
53
|
+
return render(
|
|
54
|
+
<div style={{ width: wrapperWidthPx, height: 400, display: "flex" }}>
|
|
55
|
+
<ResizableSplit
|
|
56
|
+
resizablePane="primary"
|
|
57
|
+
responsiveCollapse="primary"
|
|
58
|
+
primary={<div data-testid="primary">chat</div>}
|
|
59
|
+
secondary={<div data-testid="secondary">panel</div>}
|
|
60
|
+
{...overrides}
|
|
61
|
+
/>
|
|
62
|
+
</div>,
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function paneOf(testId: string): HTMLElement {
|
|
67
|
+
return screen.getByTestId(testId).parentElement!;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
describe("ResizableSplit responsive collapse keys on its container (#301)", () => {
|
|
71
|
+
it("sanity: the test viewport is wide enough that a viewport-lg query could never fire", () => {
|
|
72
|
+
// Guards the premise of every case below. If the runner's viewport ever
|
|
73
|
+
// shrinks below Tailwind's `lg` (1024px), the narrow-dock cases stop
|
|
74
|
+
// discriminating between container- and viewport-keyed implementations.
|
|
75
|
+
expect(window.innerWidth).toBeGreaterThanOrEqual(1024);
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
it("collapses the primary pane in a narrow dock inside a wide window", () => {
|
|
79
|
+
renderDocked(NARROW_PX);
|
|
80
|
+
|
|
81
|
+
expect(getComputedStyle(paneOf("primary")).display).toBe("none");
|
|
82
|
+
// The drag handle hides with the pane...
|
|
83
|
+
const separator = screen.getByRole("separator", { hidden: true });
|
|
84
|
+
expect(getComputedStyle(separator).display).toBe("none");
|
|
85
|
+
// ...so the secondary pane owns the full dock width.
|
|
86
|
+
expect(paneOf("secondary").getBoundingClientRect().width).toBe(NARROW_PX);
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
it("keeps both panes side-by-side once the dock is wider than the threshold", () => {
|
|
90
|
+
renderDocked(WIDE_PX);
|
|
91
|
+
|
|
92
|
+
const primary = paneOf("primary");
|
|
93
|
+
const secondary = paneOf("secondary");
|
|
94
|
+
expect(getComputedStyle(primary).display).not.toBe("none");
|
|
95
|
+
expect(getComputedStyle(secondary).display).not.toBe("none");
|
|
96
|
+
// The fixed pane holds its pixel width; the sibling flexes into the rest.
|
|
97
|
+
expect(primary.getBoundingClientRect().width).toBe(384);
|
|
98
|
+
expect(secondary.getBoundingClientRect().width).toBeGreaterThan(0);
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
it("collapses the secondary pane when it is the responsive side", () => {
|
|
102
|
+
renderDocked(NARROW_PX, {
|
|
103
|
+
resizablePane: "secondary",
|
|
104
|
+
responsiveCollapse: "secondary",
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
expect(getComputedStyle(paneOf("secondary")).display).toBe("none");
|
|
108
|
+
expect(paneOf("primary").getBoundingClientRect().width).toBe(NARROW_PX);
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
it('responsiveCollapse="none": never collapses and creates no containment context', () => {
|
|
112
|
+
const { container } = renderDocked(NARROW_PX, {
|
|
113
|
+
responsiveCollapse: "none",
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
expect(getComputedStyle(paneOf("primary")).display).not.toBe("none");
|
|
117
|
+
expect(getComputedStyle(paneOf("secondary")).display).not.toBe("none");
|
|
118
|
+
|
|
119
|
+
// The containment invariant: without a collapse to decide, the root must
|
|
120
|
+
// NOT be a CSS container — `container-type: inline-size` would re-parent
|
|
121
|
+
// `position: fixed` descendants (the workflow inspector's click-away
|
|
122
|
+
// backdrop renders in-tree inside a split pane) and add a stacking
|
|
123
|
+
// context. See the conditional in ResizableSplit.
|
|
124
|
+
const root = paneOf("primary").parentElement!;
|
|
125
|
+
expect(getComputedStyle(root).containerType).toBe("normal");
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
it("the collapse-enabled root is an inline-size container named for its query", () => {
|
|
129
|
+
renderDocked(NARROW_PX);
|
|
130
|
+
|
|
131
|
+
const root = screen.getByRole("separator", { hidden: true }).parentElement!;
|
|
132
|
+
const style = getComputedStyle(root);
|
|
133
|
+
expect(style.containerType).toBe("inline-size");
|
|
134
|
+
expect(style.containerName).toBe("resizable-split");
|
|
135
|
+
});
|
|
136
|
+
});
|
|
@@ -72,6 +72,53 @@ describe("ResizableSplit", () => {
|
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
+
// Class-name pins only; the collapse behavior itself is a container query
|
|
76
|
+
// that needs a real layout engine, proven by ResizableSplit.layout.test.tsx
|
|
77
|
+
// (stigmer/stigmer#301).
|
|
78
|
+
describe("responsiveCollapse", () => {
|
|
79
|
+
it("marks the root as a named CSS container only while a collapse is requested", () => {
|
|
80
|
+
const { container, rerender } = render(
|
|
81
|
+
<ResizableSplit
|
|
82
|
+
responsiveCollapse="primary"
|
|
83
|
+
primary={<div data-testid="primary">Primary</div>}
|
|
84
|
+
secondary={<div data-testid="secondary">Secondary</div>}
|
|
85
|
+
/>,
|
|
86
|
+
);
|
|
87
|
+
const root = container.firstElementChild as HTMLElement;
|
|
88
|
+
expect(root.className).toContain("stg:@container/resizable-split");
|
|
89
|
+
|
|
90
|
+
// Without a collapse to decide, the container marker must be absent —
|
|
91
|
+
// `container-type` imposes layout containment (re-parents fixed
|
|
92
|
+
// descendants, adds a stacking context), which the workflow splits'
|
|
93
|
+
// pane content must never inherit.
|
|
94
|
+
rerender(
|
|
95
|
+
<ResizableSplit
|
|
96
|
+
responsiveCollapse="none"
|
|
97
|
+
primary={<div data-testid="primary">Primary</div>}
|
|
98
|
+
secondary={<div data-testid="secondary">Secondary</div>}
|
|
99
|
+
/>,
|
|
100
|
+
);
|
|
101
|
+
expect(root.className).not.toContain("@container");
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
it("tags the collapsing pane and the separator with the container-query variant", () => {
|
|
105
|
+
render(
|
|
106
|
+
<ResizableSplit
|
|
107
|
+
responsiveCollapse="primary"
|
|
108
|
+
primary={<div data-testid="primary">Primary</div>}
|
|
109
|
+
secondary={<div data-testid="secondary">Secondary</div>}
|
|
110
|
+
/>,
|
|
111
|
+
);
|
|
112
|
+
const pane = screen.getByTestId("primary").parentElement as HTMLElement;
|
|
113
|
+
const separator = screen.getByRole("separator");
|
|
114
|
+
expect(pane.className).toContain("stg:@max-3xl/resizable-split:hidden");
|
|
115
|
+
expect(separator.className).toContain("stg:@max-3xl/resizable-split:hidden");
|
|
116
|
+
const sibling = screen.getByTestId("secondary")
|
|
117
|
+
.parentElement as HTMLElement;
|
|
118
|
+
expect(sibling.className).not.toContain("@max-3xl");
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
|
|
75
122
|
describe("collapsedPane", () => {
|
|
76
123
|
/** The pane wrapper div for a rendered probe. */
|
|
77
124
|
function paneOf(testId: string): HTMLElement {
|
|
@@ -81,7 +128,7 @@ describe("ResizableSplit", () => {
|
|
|
81
128
|
it("hides the collapsed pane and the separator; the sibling flexes", () => {
|
|
82
129
|
renderSplit({ collapsedPane: "secondary" });
|
|
83
130
|
expect(paneOf("secondary").className).toContain("hidden");
|
|
84
|
-
expect(paneOf("primary").className).toContain("flex-1");
|
|
131
|
+
expect(paneOf("primary").className).toContain("stg:flex-1");
|
|
85
132
|
const separator = screen.getByRole("separator", { hidden: true });
|
|
86
133
|
expect(separator.className).toContain("hidden");
|
|
87
134
|
expect(separator.getAttribute("tabindex")).toBe("-1");
|
|
@@ -91,7 +138,7 @@ describe("ResizableSplit", () => {
|
|
|
91
138
|
renderSplit({ resizablePane: "primary", collapsedPane: "secondary" });
|
|
92
139
|
// Primary is normally pixel-sized; with its sibling collapsed it flexes.
|
|
93
140
|
expect(paneOf("primary").style.width).toBe("");
|
|
94
|
-
expect(paneOf("primary").className).toContain("flex-1");
|
|
141
|
+
expect(paneOf("primary").className).toContain("stg:flex-1");
|
|
95
142
|
});
|
|
96
143
|
|
|
97
144
|
it("keeps both children mounted (same DOM nodes) across a collapse toggle", () => {
|
|
@@ -24,15 +24,15 @@ describe("ThreadCardShell chrome", () => {
|
|
|
24
24
|
);
|
|
25
25
|
const root = () =>
|
|
26
26
|
container.querySelector('[data-cursor-target="row"]') as HTMLElement;
|
|
27
|
-
expect(root().className).toContain("border-border-prominent");
|
|
27
|
+
expect(root().className).toContain("stg:border-border-prominent");
|
|
28
28
|
|
|
29
29
|
rerender(
|
|
30
30
|
<ThreadCardShell cursorTarget="row" bordered={false}>
|
|
31
31
|
<ThreadCardHeader>content</ThreadCardHeader>
|
|
32
32
|
</ThreadCardShell>,
|
|
33
33
|
);
|
|
34
|
-
expect(root().className).toContain("border-b");
|
|
35
|
-
expect(root().className).not.toContain("border-border-prominent");
|
|
34
|
+
expect(root().className).toContain("stg:border-b");
|
|
35
|
+
expect(root().className).not.toContain("stg:border-border-prominent");
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
it("carries the gate accent", () => {
|
|
@@ -42,7 +42,7 @@ describe("ThreadCardShell chrome", () => {
|
|
|
42
42
|
</ThreadCardShell>,
|
|
43
43
|
);
|
|
44
44
|
const root = container.querySelector('[data-cursor-target="row"]') as HTMLElement;
|
|
45
|
-
expect(root.className).toContain("border-l-warning");
|
|
45
|
+
expect(root.className).toContain("stg:border-l-warning");
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
@@ -197,7 +197,7 @@ describe("MARKDOWN_COMPONENTS.code (shared highlight seam)", () => {
|
|
|
197
197
|
const code = container.querySelector("code");
|
|
198
198
|
expect(code).not.toBeNull();
|
|
199
199
|
expect(code!.className).not.toContain("hljs");
|
|
200
|
-
expect(code!.className).toContain("bg-muted");
|
|
200
|
+
expect(code!.className).toContain("stg:bg-muted");
|
|
201
201
|
expect(code!.textContent).toBe("inlineToken");
|
|
202
202
|
});
|
|
203
203
|
});
|
|
@@ -255,7 +255,7 @@ describe("MARKDOWN_COMPONENTS.pre (mermaid dispatch seam)", () => {
|
|
|
255
255
|
expect(container.querySelector('[data-testid="mermaid-diagram"]')).toBeNull();
|
|
256
256
|
const pre = container.querySelector("pre");
|
|
257
257
|
expect(pre).not.toBeNull();
|
|
258
|
-
expect(pre!.className).toContain("bg-muted");
|
|
258
|
+
expect(pre!.className).toContain("stg:bg-muted");
|
|
259
259
|
});
|
|
260
260
|
|
|
261
261
|
it("dispatches through real react-markdown (the artifact/skill surface path)", () => {
|
|
@@ -87,8 +87,8 @@ describe("JumpToLatestButton", () => {
|
|
|
87
87
|
const button = screen.getByRole("button", { name: "Jump to latest" });
|
|
88
88
|
expect(button.getAttribute("aria-hidden")).toBe("false");
|
|
89
89
|
expect(button.getAttribute("tabindex")).toBe("0");
|
|
90
|
-
expect(button.className).toContain("opacity-100");
|
|
91
|
-
expect(button.className).toContain("pointer-events-auto");
|
|
90
|
+
expect(button.className).toContain("stg:opacity-100");
|
|
91
|
+
expect(button.className).toContain("stg:pointer-events-auto");
|
|
92
92
|
});
|
|
93
93
|
|
|
94
94
|
it("renders hidden state with correct attributes", () => {
|
|
@@ -98,9 +98,9 @@ describe("JumpToLatestButton", () => {
|
|
|
98
98
|
const button = screen.getByLabelText("Jump to latest");
|
|
99
99
|
expect(button.getAttribute("aria-hidden")).toBe("true");
|
|
100
100
|
expect(button.getAttribute("tabindex")).toBe("-1");
|
|
101
|
-
expect(button.className).toContain("opacity-0");
|
|
102
|
-
expect(button.className).toContain("pointer-events-none");
|
|
103
|
-
expect(button.className).toContain("translate-y-2");
|
|
101
|
+
expect(button.className).toContain("stg:opacity-0");
|
|
102
|
+
expect(button.className).toContain("stg:pointer-events-none");
|
|
103
|
+
expect(button.className).toContain("stg:translate-y-2");
|
|
104
104
|
});
|
|
105
105
|
|
|
106
106
|
it("calls onClick when clicked in visible state", () => {
|
|
@@ -116,6 +116,6 @@ describe("JumpToLatestButton", () => {
|
|
|
116
116
|
render(<JumpToLatestButton onClick={onClick} visible />);
|
|
117
117
|
|
|
118
118
|
const button = screen.getByRole("button", { name: "Jump to latest" });
|
|
119
|
-
expect(button.className).toContain("transition-[opacity,transform]");
|
|
119
|
+
expect(button.className).toContain("stg:transition-[opacity,transform]");
|
|
120
120
|
});
|
|
121
121
|
});
|
|
@@ -70,7 +70,7 @@ export function FileTypeIcon({ fileName }: { readonly fileName: string }): React
|
|
|
70
70
|
strokeWidth="1.3"
|
|
71
71
|
strokeLinecap="round"
|
|
72
72
|
strokeLinejoin="round"
|
|
73
|
-
className="shrink-0"
|
|
73
|
+
className="stg:shrink-0"
|
|
74
74
|
aria-hidden="true"
|
|
75
75
|
>
|
|
76
76
|
{/* Every category shares a document outline for a consistent silhouette. */}
|
|
@@ -124,7 +124,7 @@ export function FolderTypeIcon({ open = false }: { readonly open?: boolean }): R
|
|
|
124
124
|
strokeWidth="1.3"
|
|
125
125
|
strokeLinecap="round"
|
|
126
126
|
strokeLinejoin="round"
|
|
127
|
-
className="shrink-0"
|
|
127
|
+
className="stg:shrink-0"
|
|
128
128
|
aria-hidden="true"
|
|
129
129
|
>
|
|
130
130
|
{open ? (
|
|
@@ -118,12 +118,12 @@ export function FileTreeNode({
|
|
|
118
118
|
draggable={isDraggable}
|
|
119
119
|
onDragStart={isDraggable ? handleDragStart : undefined}
|
|
120
120
|
className={cn(
|
|
121
|
-
"flex w-full items-center gap-1.5 py-1 text-left text-xs transition-colors",
|
|
122
|
-
"hover:bg-muted",
|
|
123
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
|
|
124
|
-
isSelected && !isFolder && "bg-muted text-foreground font-medium",
|
|
125
|
-
!isSelected && "text-muted-foreground",
|
|
126
|
-
isDraggable && "cursor-grab active:cursor-grabbing",
|
|
121
|
+
"stg:flex stg:w-full stg:items-center stg:gap-1.5 stg:py-1 stg:text-left stg:text-xs stg:transition-colors",
|
|
122
|
+
"stg:hover:bg-muted",
|
|
123
|
+
"stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-inset stg:focus-visible:ring-ring",
|
|
124
|
+
isSelected && !isFolder && "stg:bg-muted stg:text-foreground stg:font-medium",
|
|
125
|
+
!isSelected && "stg:text-muted-foreground",
|
|
126
|
+
isDraggable && "stg:cursor-grab stg:active:cursor-grabbing",
|
|
127
127
|
)}
|
|
128
128
|
// Indent-guide mode indents via the nested group's margin, so rows need
|
|
129
129
|
// only a small constant inset; padding mode keeps the per-depth inset.
|
|
@@ -133,7 +133,7 @@ export function FileTreeNode({
|
|
|
133
133
|
{isFolder && (
|
|
134
134
|
<span
|
|
135
135
|
aria-hidden="true"
|
|
136
|
-
className="text-[10px] text-muted-foreground-subtle"
|
|
136
|
+
className="stg:text-[10px] stg:text-muted-foreground-subtle"
|
|
137
137
|
>
|
|
138
138
|
{expanded ? "▼" : "▶"}
|
|
139
139
|
</span>
|
|
@@ -144,14 +144,14 @@ export function FileTreeNode({
|
|
|
144
144
|
) : (
|
|
145
145
|
<FileTypeIcon fileName={node.name} />
|
|
146
146
|
))}
|
|
147
|
-
<span className={cn("truncate", isFolder && "font-medium text-foreground")}>
|
|
147
|
+
<span className={cn("stg:truncate", isFolder && "stg:font-medium stg:text-foreground")}>
|
|
148
148
|
{node.name}
|
|
149
149
|
</span>
|
|
150
150
|
</button>
|
|
151
151
|
{isFolder && expanded && node.children && (
|
|
152
152
|
<ul
|
|
153
153
|
role="group"
|
|
154
|
-
className={cn(indentGuides && "ml-3 border-l border-border")}
|
|
154
|
+
className={cn(indentGuides && "stg:ml-3 stg:border-l stg:border-border")}
|
|
155
155
|
>
|
|
156
156
|
{node.children.map((child) => (
|
|
157
157
|
<FileTreeNode
|
|
@@ -81,6 +81,6 @@ describe("FileTreeNode — explorer props", () => {
|
|
|
81
81
|
);
|
|
82
82
|
// The nested group carries the guide border class.
|
|
83
83
|
const group = container.querySelector('ul[role="group"]');
|
|
84
|
-
expect(group?.className).toContain("border-l");
|
|
84
|
+
expect(group?.className).toContain("stg:border-l");
|
|
85
85
|
});
|
|
86
86
|
});
|