@stigmer/react 3.12.2 → 3.12.4
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/ManageAccessDialog.d.ts.map +1 -1
- package/access/ManageAccessDialog.js +3 -19
- package/access/ManageAccessDialog.js.map +1 -1
- package/agent/steps/IdentityStep.d.ts.map +1 -1
- package/agent/steps/IdentityStep.js +2 -1
- package/agent/steps/IdentityStep.js.map +1 -1
- package/agent-instance/AgentInstanceDetailPanel.d.ts.map +1 -1
- package/agent-instance/AgentInstanceDetailPanel.js +2 -1
- package/agent-instance/AgentInstanceDetailPanel.js.map +1 -1
- package/agent-instance/CreateAgentInstanceDialog.d.ts.map +1 -1
- package/agent-instance/CreateAgentInstanceDialog.js +7 -20
- package/agent-instance/CreateAgentInstanceDialog.js.map +1 -1
- package/api-key/CreateApiKeyForm.d.ts.map +1 -1
- package/api-key/CreateApiKeyForm.js +2 -1
- package/api-key/CreateApiKeyForm.js.map +1 -1
- package/attachment/AttachmentImageLightbox.d.ts.map +1 -1
- package/attachment/AttachmentImageLightbox.js +8 -23
- package/attachment/AttachmentImageLightbox.js.map +1 -1
- package/channel/ChannelConversationsDialog.d.ts.map +1 -1
- package/channel/ChannelConversationsDialog.js +5 -20
- package/channel/ChannelConversationsDialog.js.map +1 -1
- package/channel/ChannelCredentialsDialog.d.ts.map +1 -1
- package/channel/ChannelCredentialsDialog.js +3 -19
- package/channel/ChannelCredentialsDialog.js.map +1 -1
- package/channel/ChannelTemplatesDialog.d.ts.map +1 -1
- package/channel/ChannelTemplatesDialog.js +6 -21
- package/channel/ChannelTemplatesDialog.js.map +1 -1
- package/channel/ConnectSlackDialog.d.ts.map +1 -1
- package/channel/ConnectSlackDialog.js +5 -22
- package/channel/ConnectSlackDialog.js.map +1 -1
- package/channel/ConnectWhatsAppDialog.d.ts.map +1 -1
- package/channel/ConnectWhatsAppDialog.js +3 -21
- package/channel/ConnectWhatsAppDialog.js.map +1 -1
- package/channel/connect/ServingAppSection.d.ts.map +1 -1
- package/channel/connect/ServingAppSection.js +2 -1
- package/channel/connect/ServingAppSection.js.map +1 -1
- package/channel-app/CreateChannelAppForm.d.ts.map +1 -1
- package/channel-app/CreateChannelAppForm.js +2 -1
- package/channel-app/CreateChannelAppForm.js.map +1 -1
- package/conversation/ConversationAttentionBanner.d.ts +23 -6
- package/conversation/ConversationAttentionBanner.d.ts.map +1 -1
- package/conversation/ConversationAttentionBanner.js +25 -10
- package/conversation/ConversationAttentionBanner.js.map +1 -1
- package/conversation/ConversationListPane.d.ts.map +1 -1
- package/conversation/ConversationListPane.js +26 -6
- package/conversation/ConversationListPane.js.map +1 -1
- package/conversation/ConversationTimelineView.d.ts.map +1 -1
- package/conversation/ConversationTimelineView.js +2 -1
- package/conversation/ConversationTimelineView.js.map +1 -1
- package/conversation/ConversationsWorkbench.d.ts.map +1 -1
- package/conversation/ConversationsWorkbench.js +1 -1
- package/conversation/ConversationsWorkbench.js.map +1 -1
- package/cursor-accounts/CursorAccountsConsole.d.ts.map +1 -1
- package/cursor-accounts/CursorAccountsConsole.js +2 -1
- package/cursor-accounts/CursorAccountsConsole.js.map +1 -1
- package/cursor-accounts/MemberKeysPanel.d.ts.map +1 -1
- package/cursor-accounts/MemberKeysPanel.js +2 -1
- package/cursor-accounts/MemberKeysPanel.js.map +1 -1
- package/dashboard/DashboardFailedRuns.d.ts.map +1 -1
- package/dashboard/DashboardFailedRuns.js +2 -1
- package/dashboard/DashboardFailedRuns.js.map +1 -1
- package/dependency-graph/DependencyGraph.d.ts.map +1 -1
- package/dependency-graph/DependencyGraph.js +2 -1
- package/dependency-graph/DependencyGraph.js.map +1 -1
- package/dependency-graph/DependencyTreeNode.d.ts.map +1 -1
- package/dependency-graph/DependencyTreeNode.js +2 -1
- package/dependency-graph/DependencyTreeNode.js.map +1 -1
- package/environment/EnvironmentPicker.d.ts.map +1 -1
- package/environment/EnvironmentPicker.js +2 -1
- package/environment/EnvironmentPicker.js.map +1 -1
- package/error/SecretFlowErrorGuide.d.ts.map +1 -1
- package/error/SecretFlowErrorGuide.js +2 -1
- package/error/SecretFlowErrorGuide.js.map +1 -1
- package/execution/ApprovalCard.d.ts.map +1 -1
- package/execution/ApprovalCard.js +13 -3
- package/execution/ApprovalCard.js.map +1 -1
- package/execution/ArtifactContentBody.d.ts.map +1 -1
- package/execution/ArtifactContentBody.js +2 -1
- package/execution/ArtifactContentBody.js.map +1 -1
- package/execution/ArtifactPreviewModal.d.ts.map +1 -1
- package/execution/ArtifactPreviewModal.js +11 -17
- package/execution/ArtifactPreviewModal.js.map +1 -1
- package/execution/ArtifactsWidget.d.ts.map +1 -1
- package/execution/ArtifactsWidget.js +2 -1
- package/execution/ArtifactsWidget.js.map +1 -1
- package/execution/FileChangeProgressBar.d.ts.map +1 -1
- package/execution/FileChangeProgressBar.js +2 -1
- package/execution/FileChangeProgressBar.js.map +1 -1
- package/execution/TodoList.d.ts.map +1 -1
- package/execution/TodoList.js +2 -1
- package/execution/TodoList.js.map +1 -1
- package/execution/ToolCallItem.d.ts +3 -1
- package/execution/ToolCallItem.d.ts.map +1 -1
- package/execution/ToolCallItem.js +19 -7
- package/execution/ToolCallItem.js.map +1 -1
- package/execution/WriteBacksWidget.d.ts.map +1 -1
- package/execution/WriteBacksWidget.js +2 -1
- package/execution/WriteBacksWidget.js.map +1 -1
- package/execution/index.d.ts +1 -1
- package/execution/index.d.ts.map +1 -1
- package/execution/index.js +1 -1
- package/execution/index.js.map +1 -1
- package/execution/tool-categories.d.ts +37 -3
- package/execution/tool-categories.d.ts.map +1 -1
- package/execution/tool-categories.js +74 -2
- package/execution/tool-categories.js.map +1 -1
- package/execution/tool-presenter.d.ts +15 -0
- package/execution/tool-presenter.d.ts.map +1 -1
- package/execution/tool-presenter.js +7 -2
- package/execution/tool-presenter.js.map +1 -1
- package/iam-policy/PeopleWithAccess.d.ts.map +1 -1
- package/iam-policy/PeopleWithAccess.js +2 -1
- package/iam-policy/PeopleWithAccess.js.map +1 -1
- package/iam-policy/PrincipalPicker.d.ts.map +1 -1
- package/iam-policy/PrincipalPicker.js +2 -1
- package/iam-policy/PrincipalPicker.js.map +1 -1
- package/iam-policy/RoleSelector.d.ts.map +1 -1
- package/iam-policy/RoleSelector.js +2 -1
- package/iam-policy/RoleSelector.js.map +1 -1
- package/identity-provider/CreateIdentityProviderForm.d.ts.map +1 -1
- package/identity-provider/CreateIdentityProviderForm.js +2 -1
- package/identity-provider/CreateIdentityProviderForm.js.map +1 -1
- package/identity-provider/IdentityProviderDetailPanel.d.ts.map +1 -1
- package/identity-provider/IdentityProviderDetailPanel.js +2 -1
- package/identity-provider/IdentityProviderDetailPanel.js.map +1 -1
- package/identity-provider/IdentityProviderWizard.d.ts.map +1 -1
- package/identity-provider/IdentityProviderWizard.js +2 -1
- package/identity-provider/IdentityProviderWizard.js.map +1 -1
- package/index.d.ts +4 -2
- package/index.d.ts.map +1 -1
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/internal/DialogShell.d.ts +77 -0
- package/internal/DialogShell.d.ts.map +1 -0
- package/internal/DialogShell.js +77 -0
- package/internal/DialogShell.js.map +1 -0
- package/internal/element-resets.d.ts +17 -0
- package/internal/element-resets.d.ts.map +1 -0
- package/internal/element-resets.js +32 -0
- package/internal/element-resets.js.map +1 -0
- package/internal/file-tree/FileTreeNode.d.ts.map +1 -1
- package/internal/file-tree/FileTreeNode.js +2 -1
- package/internal/file-tree/FileTreeNode.js.map +1 -1
- package/internal/markdown-components.d.ts +7 -0
- package/internal/markdown-components.d.ts.map +1 -1
- package/internal/markdown-components.js +15 -5
- package/internal/markdown-components.js.map +1 -1
- package/invitation/InvitationManager.d.ts.map +1 -1
- package/invitation/InvitationManager.js +2 -1
- package/invitation/InvitationManager.js.map +1 -1
- package/manifest/ApplyManifestDialog.d.ts.map +1 -1
- package/manifest/ApplyManifestDialog.js +8 -17
- package/manifest/ApplyManifestDialog.js.map +1 -1
- package/manifest/EditResourceYamlDialog.d.ts.map +1 -1
- package/manifest/EditResourceYamlDialog.js +3 -19
- package/manifest/EditResourceYamlDialog.js.map +1 -1
- package/mcp-server/McpServerConnectDialog.d.ts.map +1 -1
- package/mcp-server/McpServerConnectDialog.js +8 -20
- package/mcp-server/McpServerConnectDialog.js.map +1 -1
- package/mcp-server/McpServerDetailView.d.ts.map +1 -1
- package/mcp-server/McpServerDetailView.js +4 -15
- package/mcp-server/McpServerDetailView.js.map +1 -1
- package/mcp-server/steps/IdentityTransportStep.d.ts.map +1 -1
- package/mcp-server/steps/IdentityTransportStep.js +2 -1
- package/mcp-server/steps/IdentityTransportStep.js.map +1 -1
- package/package.json +4 -4
- package/platform-client/CreatePlatformClientForm.d.ts.map +1 -1
- package/platform-client/CreatePlatformClientForm.js +2 -1
- package/platform-client/CreatePlatformClientForm.js.map +1 -1
- package/platform-client/PlatformClientDetailPanel.d.ts.map +1 -1
- package/platform-client/PlatformClientDetailPanel.js +2 -1
- package/platform-client/PlatformClientDetailPanel.js.map +1 -1
- package/pricing-governance/BaselineEditor.d.ts.map +1 -1
- package/pricing-governance/BaselineEditor.js +2 -1
- package/pricing-governance/BaselineEditor.js.map +1 -1
- package/pricing-governance/PricingGovernanceConsole.d.ts.map +1 -1
- package/pricing-governance/PricingGovernanceConsole.js +2 -1
- package/pricing-governance/PricingGovernanceConsole.js.map +1 -1
- package/provider-standing/ProviderStandingAccessNotice.d.ts +11 -0
- package/provider-standing/ProviderStandingAccessNotice.d.ts.map +1 -0
- package/provider-standing/ProviderStandingAccessNotice.js +14 -0
- package/provider-standing/ProviderStandingAccessNotice.js.map +1 -0
- package/provider-standing/ProviderStandingConsole.d.ts +24 -0
- package/provider-standing/ProviderStandingConsole.d.ts.map +1 -0
- package/provider-standing/ProviderStandingConsole.js +98 -0
- package/provider-standing/ProviderStandingConsole.js.map +1 -0
- package/provider-standing/index.d.ts +6 -0
- package/provider-standing/index.d.ts.map +1 -0
- package/provider-standing/index.js +6 -0
- package/provider-standing/index.js.map +1 -0
- package/provider-standing/useProviderStanding.d.ts +34 -0
- package/provider-standing/useProviderStanding.d.ts.map +1 -0
- package/provider-standing/useProviderStanding.js +26 -0
- package/provider-standing/useProviderStanding.js.map +1 -0
- package/provider.d.ts +12 -0
- package/provider.d.ts.map +1 -1
- package/provider.js +12 -0
- package/provider.js.map +1 -1
- package/resource-creation/StepIndicator.d.ts.map +1 -1
- package/resource-creation/StepIndicator.js +2 -1
- package/resource-creation/StepIndicator.js.map +1 -1
- package/resource-detail/ConfirmDialog.d.ts +2 -3
- package/resource-detail/ConfirmDialog.d.ts.map +1 -1
- package/resource-detail/ConfirmDialog.js +8 -20
- package/resource-detail/ConfirmDialog.js.map +1 -1
- package/schedule/ScheduleDetailView.d.ts.map +1 -1
- package/schedule/ScheduleDetailView.js +3 -2
- package/schedule/ScheduleDetailView.js.map +1 -1
- package/schedule/ScheduleRunsTable.d.ts.map +1 -1
- package/schedule/ScheduleRunsTable.js +2 -1
- package/schedule/ScheduleRunsTable.js.map +1 -1
- package/session/facets/ArtifactsTab.d.ts.map +1 -1
- package/session/facets/ArtifactsTab.js +2 -1
- package/session/facets/ArtifactsTab.js.map +1 -1
- package/session/facets/ChangesTab.d.ts.map +1 -1
- package/session/facets/ChangesTab.js +2 -1
- package/session/facets/ChangesTab.js.map +1 -1
- package/session/facets/UsageTab.d.ts +10 -3
- package/session/facets/UsageTab.d.ts.map +1 -1
- package/session/facets/UsageTab.js +42 -6
- package/session/facets/UsageTab.js.map +1 -1
- package/session/index.d.ts +1 -1
- package/session/index.d.ts.map +1 -1
- package/session/index.js.map +1 -1
- package/session/useSessionUsage.d.ts +25 -0
- package/session/useSessionUsage.d.ts.map +1 -1
- package/session/useSessionUsage.js +11 -0
- package/session/useSessionUsage.js.map +1 -1
- package/settings/settings-nav.d.ts.map +1 -1
- package/settings/settings-nav.js +7 -1
- package/settings/settings-nav.js.map +1 -1
- package/settings/useSettingsNavGroups.d.ts.map +1 -1
- package/settings/useSettingsNavGroups.js +4 -1
- package/settings/useSettingsNavGroups.js.map +1 -1
- package/sharing/ShareAgentDialog.d.ts.map +1 -1
- package/sharing/ShareAgentDialog.js +4 -21
- package/sharing/ShareAgentDialog.js.map +1 -1
- package/sidebar/WorkspaceSidebar.d.ts.map +1 -1
- package/sidebar/WorkspaceSidebar.js +2 -1
- package/sidebar/WorkspaceSidebar.js.map +1 -1
- package/skill/SkillDiffDialog.d.ts.map +1 -1
- package/skill/SkillDiffDialog.js +5 -21
- package/skill/SkillDiffDialog.js.map +1 -1
- package/skill/SkillFileBrowser.d.ts.map +1 -1
- package/skill/SkillFileBrowser.js +2 -1
- package/skill/SkillFileBrowser.js.map +1 -1
- package/skill/internal/fetchAndUnpackArtifact.d.ts +1 -1
- package/skill/internal/fetchAndUnpackArtifact.d.ts.map +1 -1
- package/skill/internal/fetchAndUnpackArtifact.js +47 -3
- package/skill/internal/fetchAndUnpackArtifact.js.map +1 -1
- package/skill/useSkillDiff.d.ts.map +1 -1
- package/skill/useSkillDiff.js +7 -1
- package/skill/useSkillDiff.js.map +1 -1
- package/skill/useSkillUpload.d.ts.map +1 -1
- package/skill/useSkillUpload.js +22 -4
- package/skill/useSkillUpload.js.map +1 -1
- package/src/__tests__/bare-host-resets.layout.test.tsx +184 -0
- package/src/access/ManageAccessDialog.tsx +7 -27
- package/src/agent/steps/IdentityStep.tsx +2 -1
- package/src/agent-instance/AgentInstanceDetailPanel.tsx +2 -1
- package/src/agent-instance/CreateAgentInstanceDialog.tsx +14 -27
- package/src/api-key/CreateApiKeyForm.tsx +2 -1
- package/src/attachment/AttachmentImageLightbox.tsx +13 -36
- package/src/channel/ChannelConversationsDialog.tsx +10 -28
- package/src/channel/ChannelCredentialsDialog.tsx +8 -28
- package/src/channel/ChannelTemplatesDialog.tsx +12 -30
- package/src/channel/ConnectSlackDialog.tsx +10 -31
- package/src/channel/ConnectWhatsAppDialog.tsx +8 -30
- package/src/channel/connect/ServingAppSection.tsx +2 -1
- package/src/channel-app/CreateChannelAppForm.tsx +2 -1
- package/src/conversation/ConversationAttentionBanner.tsx +64 -19
- package/src/conversation/ConversationListPane.tsx +39 -17
- package/src/conversation/ConversationTimelineView.tsx +2 -1
- package/src/conversation/ConversationsWorkbench.tsx +1 -0
- package/src/conversation/__tests__/ConversationAttentionBanner.test.tsx +76 -2
- package/src/conversation/__tests__/ConversationListPane.test.tsx +15 -4
- package/src/cursor-accounts/CursorAccountsConsole.tsx +2 -1
- package/src/cursor-accounts/MemberKeysPanel.tsx +2 -1
- package/src/dashboard/DashboardFailedRuns.tsx +2 -1
- package/src/dependency-graph/DependencyGraph.tsx +2 -1
- package/src/dependency-graph/DependencyTreeNode.tsx +2 -1
- package/src/environment/EnvironmentPicker.tsx +2 -1
- package/src/error/SecretFlowErrorGuide.tsx +3 -2
- package/src/execution/ApprovalCard.tsx +23 -2
- package/src/execution/ArtifactContentBody.tsx +2 -1
- package/src/execution/ArtifactPreviewModal.tsx +15 -27
- package/src/execution/ArtifactsWidget.tsx +2 -1
- package/src/execution/FileChangeProgressBar.tsx +2 -1
- package/src/execution/TodoList.tsx +2 -1
- package/src/execution/ToolCallItem.tsx +19 -8
- package/src/execution/WriteBacksWidget.tsx +2 -1
- package/src/execution/__tests__/intent-title.test.tsx +221 -0
- package/src/execution/index.ts +3 -0
- package/src/execution/tool-categories.ts +103 -5
- package/src/execution/tool-presenter.ts +22 -1
- package/src/iam-policy/PeopleWithAccess.tsx +2 -1
- package/src/iam-policy/PrincipalPicker.tsx +2 -0
- package/src/iam-policy/RoleSelector.tsx +2 -1
- package/src/identity-provider/CreateIdentityProviderForm.tsx +2 -1
- package/src/identity-provider/IdentityProviderDetailPanel.tsx +2 -1
- package/src/identity-provider/IdentityProviderWizard.tsx +2 -1
- package/src/index.ts +16 -0
- package/src/internal/DialogShell.tsx +169 -0
- package/src/internal/__tests__/DialogShell.test.tsx +223 -0
- package/src/internal/element-resets.ts +33 -0
- package/src/internal/file-tree/FileTreeNode.tsx +2 -1
- package/src/internal/markdown-components.tsx +15 -5
- package/src/invitation/InvitationManager.tsx +3 -2
- package/src/manifest/ApplyManifestDialog.tsx +10 -27
- package/src/manifest/EditResourceYamlDialog.tsx +4 -31
- package/src/mcp-server/McpServerConnectDialog.tsx +15 -29
- package/src/mcp-server/McpServerDetailView.tsx +12 -24
- package/src/mcp-server/steps/IdentityTransportStep.tsx +3 -2
- package/src/platform-client/CreatePlatformClientForm.tsx +4 -3
- package/src/platform-client/PlatformClientDetailPanel.tsx +4 -3
- package/src/pricing-governance/BaselineEditor.tsx +3 -2
- package/src/pricing-governance/PricingGovernanceConsole.tsx +2 -1
- package/src/provider-standing/ProviderStandingAccessNotice.tsx +36 -0
- package/src/provider-standing/ProviderStandingConsole.tsx +216 -0
- package/src/provider-standing/__tests__/ProviderStandingConsole.test.tsx +143 -0
- package/src/provider-standing/index.ts +8 -0
- package/src/provider-standing/useProviderStanding.ts +50 -0
- package/src/provider.tsx +12 -0
- package/src/resource-creation/StepIndicator.tsx +2 -1
- package/src/resource-detail/ConfirmDialog.tsx +9 -30
- package/src/schedule/ScheduleDetailView.tsx +3 -2
- package/src/schedule/ScheduleRunsTable.tsx +2 -1
- package/src/session/__tests__/UsageTab.test.tsx +136 -0
- package/src/session/__tests__/useSessionUsage.test.ts +19 -0
- package/src/session/facets/ArtifactsTab.tsx +2 -1
- package/src/session/facets/ChangesTab.tsx +2 -1
- package/src/session/facets/UsageTab.tsx +98 -6
- package/src/session/index.ts +1 -0
- package/src/session/useSessionUsage.ts +37 -0
- package/src/settings/__tests__/useSettingsNavGroups.test.tsx +11 -1
- package/src/settings/settings-nav.ts +7 -0
- package/src/settings/useSettingsNavGroups.ts +8 -1
- package/src/sharing/ShareAgentDialog.tsx +9 -30
- package/src/sidebar/WorkspaceSidebar.tsx +2 -1
- package/src/skill/SkillDiffDialog.tsx +13 -36
- package/src/skill/SkillFileBrowser.tsx +2 -1
- package/src/skill/__tests__/SkillFileBrowser.test.tsx +10 -2
- package/src/skill/__tests__/fetchAndUnpackArtifact.test.ts +90 -0
- package/src/skill/__tests__/useSkillUpload.test.ts +69 -0
- package/src/skill/internal/fetchAndUnpackArtifact.ts +54 -4
- package/src/skill/useSkillDiff.ts +7 -1
- package/src/skill/useSkillUpload.ts +25 -6
- package/src/workflow/FailedRunsWidget.tsx +2 -1
- package/src/workflow/PendingApprovalsWidget.tsx +2 -1
- package/src/workflow/ViewYamlDialog.tsx +18 -37
- package/src/workflow/WorkflowArchitectDialog.tsx +11 -43
- package/src/workflow/WorkflowExplainDialog.tsx +11 -37
- package/src/workflow/WorkflowGraphFullscreenDialog.tsx +14 -26
- package/src/workflow/WorkflowRunDialog.tsx +21 -48
- package/src/workflow/execution-comparison/ExecutionComparisonPicker.tsx +14 -31
- package/src/workflow/facets/WorkflowArtifactsTab.tsx +2 -1
- package/src/workflow/facets/WorkflowUsageTab.tsx +2 -1
- package/src/workflow/inspector/WorkflowSummaryPanel.tsx +2 -1
- package/src/workflow/inspector/tabs/BranchesTab.tsx +2 -1
- package/src/workflow/inspector/tabs/IterationTab.tsx +2 -1
- package/src/workflow/instance/CreateWorkflowInstanceDialog.tsx +14 -27
- package/src/workflow/instance/WorkflowInstanceDetailPanel.tsx +2 -1
- package/src/workflow/templates/WorkflowTemplatePreview.tsx +18 -28
- package/src/workspace/ExplorerTree.tsx +2 -1
- package/src/workspace/WorkspaceContentSearch.tsx +2 -1
- package/src/workspace/WorkspaceFileSearch.tsx +2 -1
- package/src/workspace/WorkspaceSummary.tsx +2 -1
- package/styles.css +1 -1
- package/workflow/FailedRunsWidget.d.ts.map +1 -1
- package/workflow/FailedRunsWidget.js +2 -1
- package/workflow/FailedRunsWidget.js.map +1 -1
- package/workflow/PendingApprovalsWidget.d.ts.map +1 -1
- package/workflow/PendingApprovalsWidget.js +2 -1
- package/workflow/PendingApprovalsWidget.js.map +1 -1
- package/workflow/ViewYamlDialog.d.ts.map +1 -1
- package/workflow/ViewYamlDialog.js +10 -29
- package/workflow/ViewYamlDialog.js.map +1 -1
- package/workflow/WorkflowArchitectDialog.d.ts.map +1 -1
- package/workflow/WorkflowArchitectDialog.js +5 -24
- package/workflow/WorkflowArchitectDialog.js.map +1 -1
- package/workflow/WorkflowExplainDialog.d.ts.map +1 -1
- package/workflow/WorkflowExplainDialog.js +5 -21
- package/workflow/WorkflowExplainDialog.js.map +1 -1
- package/workflow/WorkflowGraphFullscreenDialog.d.ts.map +1 -1
- package/workflow/WorkflowGraphFullscreenDialog.js +11 -17
- package/workflow/WorkflowGraphFullscreenDialog.js.map +1 -1
- package/workflow/WorkflowRunDialog.d.ts.map +1 -1
- package/workflow/WorkflowRunDialog.js +13 -29
- package/workflow/WorkflowRunDialog.js.map +1 -1
- package/workflow/execution-comparison/ExecutionComparisonPicker.d.ts.map +1 -1
- package/workflow/execution-comparison/ExecutionComparisonPicker.js +8 -26
- package/workflow/execution-comparison/ExecutionComparisonPicker.js.map +1 -1
- package/workflow/facets/WorkflowArtifactsTab.d.ts.map +1 -1
- package/workflow/facets/WorkflowArtifactsTab.js +2 -1
- package/workflow/facets/WorkflowArtifactsTab.js.map +1 -1
- package/workflow/facets/WorkflowUsageTab.d.ts.map +1 -1
- package/workflow/facets/WorkflowUsageTab.js +2 -1
- package/workflow/facets/WorkflowUsageTab.js.map +1 -1
- package/workflow/inspector/WorkflowSummaryPanel.d.ts.map +1 -1
- package/workflow/inspector/WorkflowSummaryPanel.js +2 -1
- package/workflow/inspector/WorkflowSummaryPanel.js.map +1 -1
- package/workflow/inspector/tabs/BranchesTab.d.ts.map +1 -1
- package/workflow/inspector/tabs/BranchesTab.js +2 -1
- package/workflow/inspector/tabs/BranchesTab.js.map +1 -1
- package/workflow/inspector/tabs/IterationTab.d.ts.map +1 -1
- package/workflow/inspector/tabs/IterationTab.js +2 -1
- package/workflow/inspector/tabs/IterationTab.js.map +1 -1
- package/workflow/instance/CreateWorkflowInstanceDialog.d.ts.map +1 -1
- package/workflow/instance/CreateWorkflowInstanceDialog.js +7 -20
- package/workflow/instance/CreateWorkflowInstanceDialog.js.map +1 -1
- package/workflow/instance/WorkflowInstanceDetailPanel.d.ts.map +1 -1
- package/workflow/instance/WorkflowInstanceDetailPanel.js +2 -1
- package/workflow/instance/WorkflowInstanceDetailPanel.js.map +1 -1
- package/workflow/templates/WorkflowTemplatePreview.d.ts +1 -1
- package/workflow/templates/WorkflowTemplatePreview.d.ts.map +1 -1
- package/workflow/templates/WorkflowTemplatePreview.js +10 -22
- package/workflow/templates/WorkflowTemplatePreview.js.map +1 -1
- package/workspace/ExplorerTree.d.ts.map +1 -1
- package/workspace/ExplorerTree.js +2 -1
- package/workspace/ExplorerTree.js.map +1 -1
- package/workspace/WorkspaceContentSearch.d.ts.map +1 -1
- package/workspace/WorkspaceContentSearch.js +2 -1
- package/workspace/WorkspaceContentSearch.js.map +1 -1
- package/workspace/WorkspaceFileSearch.d.ts.map +1 -1
- package/workspace/WorkspaceFileSearch.js +2 -1
- package/workspace/WorkspaceFileSearch.js.map +1 -1
- package/workspace/WorkspaceSummary.d.ts.map +1 -1
- package/workspace/WorkspaceSummary.js +2 -1
- package/workspace/WorkspaceSummary.js.map +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { memo, useCallback, useEffect, useMemo,
|
|
3
|
+
import { memo, useCallback, useEffect, useMemo, useState } from "react";
|
|
4
4
|
import { cn } from "@stigmer/theme";
|
|
5
|
+
import { DialogShell } from "../../internal/DialogShell.js";
|
|
5
6
|
import { ExecutionPhase } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/enum_pb";
|
|
6
7
|
import { useWorkflowExecutionList } from "../useWorkflowExecutionList.js";
|
|
7
8
|
import { WorkflowExecutionPhaseBadge } from "../WorkflowExecutionPhaseBadge.js";
|
|
@@ -48,7 +49,6 @@ export const ExecutionComparisonPicker = memo(function ExecutionComparisonPicker
|
|
|
48
49
|
onConfirm,
|
|
49
50
|
onClose,
|
|
50
51
|
}: ExecutionComparisonPickerProps) {
|
|
51
|
-
const dialogRef = useRef<HTMLDialogElement>(null);
|
|
52
52
|
const [selectedId, setSelectedId] = useState<string | null>(null);
|
|
53
53
|
|
|
54
54
|
const { executions, isLoading } = useWorkflowExecutionList({
|
|
@@ -82,24 +82,6 @@ export const ExecutionComparisonPicker = memo(function ExecutionComparisonPicker
|
|
|
82
82
|
setSelectedId((preferred ?? fallback)?.metadata?.id ?? null);
|
|
83
83
|
}, [open, candidates, selectedId, basePhase]);
|
|
84
84
|
|
|
85
|
-
useEffect(() => {
|
|
86
|
-
const dialog = dialogRef.current;
|
|
87
|
-
if (!dialog) return;
|
|
88
|
-
if (open) {
|
|
89
|
-
if (!dialog.open) dialog.showModal();
|
|
90
|
-
} else {
|
|
91
|
-
if (dialog.open) dialog.close();
|
|
92
|
-
}
|
|
93
|
-
}, [open]);
|
|
94
|
-
|
|
95
|
-
useEffect(() => {
|
|
96
|
-
const dialog = dialogRef.current;
|
|
97
|
-
if (!dialog) return;
|
|
98
|
-
const handleClose = () => onClose();
|
|
99
|
-
dialog.addEventListener("close", handleClose);
|
|
100
|
-
return () => dialog.removeEventListener("close", handleClose);
|
|
101
|
-
}, [onClose]);
|
|
102
|
-
|
|
103
85
|
useEffect(() => {
|
|
104
86
|
if (!open) setSelectedId(null);
|
|
105
87
|
}, [open]);
|
|
@@ -108,21 +90,22 @@ export const ExecutionComparisonPicker = memo(function ExecutionComparisonPicker
|
|
|
108
90
|
if (selectedId) onConfirm(selectedId);
|
|
109
91
|
}, [selectedId, onConfirm]);
|
|
110
92
|
|
|
111
|
-
const
|
|
112
|
-
(
|
|
113
|
-
if (
|
|
93
|
+
const handleOpenChange = useCallback(
|
|
94
|
+
(nextOpen: boolean) => {
|
|
95
|
+
if (!nextOpen) onClose();
|
|
114
96
|
},
|
|
115
97
|
[onClose],
|
|
116
98
|
);
|
|
117
99
|
|
|
118
100
|
return (
|
|
119
|
-
<
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
101
|
+
<DialogShell
|
|
102
|
+
open={open}
|
|
103
|
+
onOpenChange={handleOpenChange}
|
|
104
|
+
width="md"
|
|
105
|
+
dismissOnBackdrop
|
|
106
|
+
// `stgm` re-establishes the theme scope (rendered from the workflow
|
|
107
|
+
// canvas); the var-fallback styling predates the token utilities.
|
|
108
|
+
className="stgm stg:max-h-[70vh] stg:bg-[var(--stgm-background,#fff)] stg:border-[var(--stgm-border,#e5e5e5)]"
|
|
126
109
|
aria-label="Select execution to compare"
|
|
127
110
|
>
|
|
128
111
|
<div className="stg:flex stg:flex-col">
|
|
@@ -217,7 +200,7 @@ export const ExecutionComparisonPicker = memo(function ExecutionComparisonPicker
|
|
|
217
200
|
</button>
|
|
218
201
|
</div>
|
|
219
202
|
</div>
|
|
220
|
-
</
|
|
203
|
+
</DialogShell>
|
|
221
204
|
);
|
|
222
205
|
});
|
|
223
206
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { Artifact } from "@stigmer/protos/ai/stigmer/agentic/artifact/v1/api_pb";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
|
+
import { UNSTYLED_LIST } from "../../internal/element-resets.js";
|
|
8
9
|
import { ArtifactRowView } from "../../execution/ArtifactRowView.js";
|
|
9
10
|
import type { ArtifactRowItem } from "../../execution/artifact-row-item.js";
|
|
10
11
|
import { deriveWorkflowArtifactItems } from "../deriveWorkflowArtifactItems.js";
|
|
@@ -55,7 +56,7 @@ export function WorkflowArtifactsTab({
|
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
return (
|
|
58
|
-
<ul role="list" className=
|
|
59
|
+
<ul role="list" className={`${UNSTYLED_LIST} stg:flex stg:flex-col`}>
|
|
59
60
|
{entries.map(({ artifact, item }) => (
|
|
60
61
|
<WorkflowArtifactRow
|
|
61
62
|
key={artifact.metadata?.id ?? item.name}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { useMemo } from "react";
|
|
7
7
|
import { cn } from "@stigmer/theme";
|
|
8
|
+
import { UNSTYLED_LIST } from "../../internal/element-resets.js";
|
|
8
9
|
import type {
|
|
9
10
|
DerivedCostSummary,
|
|
10
11
|
DerivedTaskState,
|
|
@@ -72,7 +73,7 @@ export function WorkflowUsageTab({
|
|
|
72
73
|
<h3 className="stg:px-2 stg:text-xs stg:font-semibold stg:uppercase stg:tracking-wider stg:text-muted-foreground">
|
|
73
74
|
By task
|
|
74
75
|
</h3>
|
|
75
|
-
<ul role="list" className="stg:flex stg:flex-col">
|
|
76
|
+
<ul role="list" className={cn(UNSTYLED_LIST, "stg:flex stg:flex-col")}>
|
|
76
77
|
{items.map((item) => (
|
|
77
78
|
<UsageRow key={item.taskName} item={item} />
|
|
78
79
|
))}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { memo, useMemo, useState, useCallback } from "react";
|
|
4
4
|
import { cn } from "@stigmer/theme";
|
|
5
|
+
import { UNSTYLED_LIST } from "../../internal/element-resets.js";
|
|
5
6
|
import type { WorkflowGraphModel, WorkflowGraphBudget, WorkflowGraphEnvVar } from "../workflow-graph-model.js";
|
|
6
7
|
import { START_NODE_ID, END_NODE_ID } from "../workflow-graph-model.js";
|
|
7
8
|
import { CATEGORY_DISPLAY_NAMES } from "../canvas-constants.js";
|
|
@@ -155,7 +156,7 @@ function ValidationSection({
|
|
|
155
156
|
</button>
|
|
156
157
|
|
|
157
158
|
{expanded && (
|
|
158
|
-
<ul className="stg:flex stg:flex-col stg:gap-1" role="list">
|
|
159
|
+
<ul className={cn(UNSTYLED_LIST, "stg:flex stg:flex-col stg:gap-1")} role="list">
|
|
159
160
|
{Array.from(errors.entries()).map(([nodeId, nodeErrors]) =>
|
|
160
161
|
nodeErrors.map((error, i) => (
|
|
161
162
|
<li
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { memo, useCallback, useMemo, useState } from "react";
|
|
4
4
|
import { cn } from "@stigmer/theme";
|
|
5
|
+
import { UNSTYLED_FIELDSET } from "../../../internal/element-resets.js";
|
|
5
6
|
import {
|
|
6
7
|
Tooltip,
|
|
7
8
|
TooltipContent,
|
|
@@ -283,7 +284,7 @@ function ForkBranches({
|
|
|
283
284
|
return (
|
|
284
285
|
<div className="stg:flex stg:flex-col stg:gap-3 stg:px-3 stg:py-3">
|
|
285
286
|
{/* Join policy */}
|
|
286
|
-
<fieldset>
|
|
287
|
+
<fieldset className={UNSTYLED_FIELDSET}>
|
|
287
288
|
<legend className="stg:text-xs stg:font-semibold stg:text-[var(--stgm-foreground,#1a1a2e)] stg:mb-1.5">
|
|
288
289
|
Join policy
|
|
289
290
|
</legend>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import { memo, useCallback, useState, useMemo } from "react";
|
|
4
|
+
import { UNSTYLED_FIELDSET } from "../../../internal/element-resets.js";
|
|
4
5
|
import type { WorkflowGraphNode } from "../../workflow-graph-model.js";
|
|
5
6
|
import type { InspectorMutations } from "../types.js";
|
|
6
7
|
|
|
@@ -177,7 +178,7 @@ export const IterationTab = memo(function IterationTab({
|
|
|
177
178
|
|
|
178
179
|
{/* Error policy */}
|
|
179
180
|
{parallelism > 0 && (
|
|
180
|
-
<fieldset>
|
|
181
|
+
<fieldset className={UNSTYLED_FIELDSET}>
|
|
181
182
|
<legend className="stg:text-[10px] stg:font-medium stg:text-[var(--stgm-muted-foreground,#737373)] stg:mb-1.5">
|
|
182
183
|
Error policy
|
|
183
184
|
</legend>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { useCallback, useId,
|
|
3
|
+
import { useCallback, useId, useState } from "react";
|
|
4
4
|
import { cn } from "@stigmer/theme";
|
|
5
|
+
import { DialogShell } from "../../internal/DialogShell.js";
|
|
5
6
|
import { ApiResourceVisibility } from "@stigmer/protos/ai/stigmer/commons/apiresource/enum_pb";
|
|
6
7
|
import type { WorkflowInstance } from "@stigmer/protos/ai/stigmer/agentic/workflowinstance/v1/api_pb";
|
|
7
8
|
import type { ResourceRef } from "@stigmer/sdk";
|
|
@@ -39,7 +40,6 @@ export function CreateWorkflowInstanceDialog({
|
|
|
39
40
|
workflowId,
|
|
40
41
|
onCreated,
|
|
41
42
|
}: CreateWorkflowInstanceDialogProps) {
|
|
42
|
-
const dialogRef = useRef<HTMLDialogElement>(null);
|
|
43
43
|
const { create, isCreating, error, clearError } = useCreateWorkflowInstance();
|
|
44
44
|
|
|
45
45
|
// Instance-scoped element ids (oss#571): a reusable component must not
|
|
@@ -65,11 +65,17 @@ export function CreateWorkflowInstanceDialog({
|
|
|
65
65
|
}, [clearError]);
|
|
66
66
|
|
|
67
67
|
const handleClose = useCallback(() => {
|
|
68
|
-
dialogRef.current?.close();
|
|
69
68
|
onOpenChange(false);
|
|
70
69
|
resetForm();
|
|
71
70
|
}, [onOpenChange, resetForm]);
|
|
72
71
|
|
|
72
|
+
const handleShellOpenChange = useCallback(
|
|
73
|
+
(nextOpen: boolean) => {
|
|
74
|
+
if (!nextOpen) handleClose();
|
|
75
|
+
},
|
|
76
|
+
[handleClose],
|
|
77
|
+
);
|
|
78
|
+
|
|
73
79
|
const handleSubmit = useCallback(
|
|
74
80
|
async (e: React.FormEvent) => {
|
|
75
81
|
e.preventDefault();
|
|
@@ -93,30 +99,11 @@ export function CreateWorkflowInstanceDialog({
|
|
|
93
99
|
[name, org, workflowId, description, environmentRefs, visibility, create, onCreated, handleClose],
|
|
94
100
|
);
|
|
95
101
|
|
|
96
|
-
// Sync native dialog open state
|
|
97
|
-
const prevOpenRef = useRef(false);
|
|
98
|
-
if (open !== prevOpenRef.current) {
|
|
99
|
-
prevOpenRef.current = open;
|
|
100
|
-
if (open) {
|
|
101
|
-
// Must defer showModal to after render
|
|
102
|
-
requestAnimationFrame(() => {
|
|
103
|
-
if (dialogRef.current && !dialogRef.current.open) {
|
|
104
|
-
dialogRef.current.showModal();
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
} else if (dialogRef.current?.open) {
|
|
108
|
-
dialogRef.current.close();
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
102
|
return (
|
|
113
|
-
<
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"stg:fixed stg:inset-0 stg:m-auto stg:w-full stg:max-w-lg stg:rounded-xl stg:border stg:border-border stg:bg-popover stg:p-0 stg:shadow-xl",
|
|
118
|
-
"stg:backdrop:bg-backdrop",
|
|
119
|
-
)}
|
|
103
|
+
<DialogShell
|
|
104
|
+
open={open}
|
|
105
|
+
onOpenChange={handleShellOpenChange}
|
|
106
|
+
width="lg"
|
|
120
107
|
aria-labelledby={titleId}
|
|
121
108
|
>
|
|
122
109
|
<form onSubmit={handleSubmit} className="stg:flex stg:flex-col">
|
|
@@ -255,7 +242,7 @@ export function CreateWorkflowInstanceDialog({
|
|
|
255
242
|
</button>
|
|
256
243
|
</div>
|
|
257
244
|
</form>
|
|
258
|
-
</
|
|
245
|
+
</DialogShell>
|
|
259
246
|
);
|
|
260
247
|
}
|
|
261
248
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { useCallback, useState } from "react";
|
|
4
4
|
import { cn } from "@stigmer/theme";
|
|
5
|
+
import { UNSTYLED_LIST } from "../../internal/element-resets.js";
|
|
5
6
|
import { timestampDate } from "@bufbuild/protobuf/wkt";
|
|
6
7
|
import type { WorkflowInstance } from "@stigmer/protos/ai/stigmer/agentic/workflowinstance/v1/api_pb";
|
|
7
8
|
import { ApiResourceVisibility } from "@stigmer/protos/ai/stigmer/commons/apiresource/enum_pb";
|
|
@@ -263,7 +264,7 @@ export function WorkflowInstanceDetailPanel({
|
|
|
263
264
|
{(spec?.environmentRefs?.length ?? 0) === 0 ? (
|
|
264
265
|
<p className="stg:text-xs stg:text-muted-foreground">No environments bound.</p>
|
|
265
266
|
) : (
|
|
266
|
-
<ol className="stg:space-y-1">
|
|
267
|
+
<ol className={cn(UNSTYLED_LIST, "stg:space-y-1")}>
|
|
267
268
|
{spec!.environmentRefs.map((ref, idx) => (
|
|
268
269
|
<li key={`${ref.slug}-${idx}`} className="stg:flex stg:items-center stg:gap-2 stg:text-sm">
|
|
269
270
|
<span className="stg:text-xs stg:text-muted-foreground stg:w-4 stg:text-right">{idx + 1}.</span>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { useCallback, useEffect, useMemo,
|
|
3
|
+
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
4
4
|
import { cn } from "@stigmer/theme";
|
|
5
|
+
import { DialogShell } from "../../internal/DialogShell.js";
|
|
5
6
|
import { parse as parseYaml } from "yaml";
|
|
6
7
|
import {
|
|
7
8
|
ReactFlowProvider,
|
|
@@ -42,25 +43,12 @@ export function WorkflowTemplatePreview({
|
|
|
42
43
|
onClose,
|
|
43
44
|
onSelect,
|
|
44
45
|
}: WorkflowTemplatePreviewProps) {
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
dialog.showModal();
|
|
52
|
-
} else if (!open && dialog.open) {
|
|
53
|
-
dialog.close();
|
|
54
|
-
}
|
|
55
|
-
}, [open]);
|
|
56
|
-
|
|
57
|
-
useEffect(() => {
|
|
58
|
-
const dialog = dialogRef.current;
|
|
59
|
-
if (!dialog) return;
|
|
60
|
-
const handleClose = () => onClose();
|
|
61
|
-
dialog.addEventListener("close", handleClose);
|
|
62
|
-
return () => dialog.removeEventListener("close", handleClose);
|
|
63
|
-
}, [onClose]);
|
|
46
|
+
const handleOpenChange = useCallback(
|
|
47
|
+
(nextOpen: boolean) => {
|
|
48
|
+
if (!nextOpen) onClose();
|
|
49
|
+
},
|
|
50
|
+
[onClose],
|
|
51
|
+
);
|
|
64
52
|
|
|
65
53
|
const handleSelect = useCallback(() => {
|
|
66
54
|
if (template) onSelect(template);
|
|
@@ -72,19 +60,21 @@ export function WorkflowTemplatePreview({
|
|
|
72
60
|
);
|
|
73
61
|
|
|
74
62
|
if (!template || !meta) {
|
|
75
|
-
return
|
|
63
|
+
return null;
|
|
76
64
|
}
|
|
77
65
|
|
|
78
66
|
const categoryLabel =
|
|
79
67
|
TEMPLATE_CATEGORY_LABELS[template.category] ?? template.category;
|
|
80
68
|
|
|
81
69
|
return (
|
|
82
|
-
<
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
)
|
|
70
|
+
<DialogShell
|
|
71
|
+
open={open}
|
|
72
|
+
onOpenChange={handleOpenChange}
|
|
73
|
+
width="3xl"
|
|
74
|
+
// `stgm` re-establishes the theme scope (rendered from the template
|
|
75
|
+
// browser canvas); background surface is deliberate for the graph.
|
|
76
|
+
className="stgm stg:max-h-[85vh] stg:bg-background"
|
|
77
|
+
aria-label={`Preview ${template.name}`}
|
|
88
78
|
>
|
|
89
79
|
<div className="stg:flex stg:flex-col">
|
|
90
80
|
{/* Header */}
|
|
@@ -193,7 +183,7 @@ export function WorkflowTemplatePreview({
|
|
|
193
183
|
</button>
|
|
194
184
|
</div>
|
|
195
185
|
</div>
|
|
196
|
-
</
|
|
186
|
+
</DialogShell>
|
|
197
187
|
);
|
|
198
188
|
}
|
|
199
189
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { cn } from "@stigmer/theme";
|
|
5
|
+
import { UNSTYLED_LIST } from "../internal/element-resets.js";
|
|
5
6
|
import { FileTreeNode } from "../internal/file-tree/index.js";
|
|
6
7
|
import type { SelectedWorkspaceFile } from "../internal/store/index.js";
|
|
7
8
|
import { Tooltip, TooltipContent, TooltipTrigger } from "../internal/tooltip.js";
|
|
@@ -231,7 +232,7 @@ function ExplorerRootBody({
|
|
|
231
232
|
return (
|
|
232
233
|
<>
|
|
233
234
|
<nav aria-label={`File tree for ${entryName}`}>
|
|
234
|
-
<ul className="stg:py-0.5 stg:pl-1.5" role="tree">
|
|
235
|
+
<ul className={cn(UNSTYLED_LIST, "stg:py-0.5 stg:pl-1.5")} role="tree">
|
|
235
236
|
{tree.map((node) => (
|
|
236
237
|
<FileTreeNode
|
|
237
238
|
key={node.path}
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
type ReactNode,
|
|
12
12
|
} from "react";
|
|
13
13
|
import { cn } from "@stigmer/theme";
|
|
14
|
+
import { UNSTYLED_LIST } from "../internal/element-resets.js";
|
|
14
15
|
import type { WorkspaceEntry } from "./useWorkspaceEntries.js";
|
|
15
16
|
import type {
|
|
16
17
|
WorkspaceContentMatch,
|
|
@@ -235,7 +236,7 @@ export function WorkspaceContentSearch({
|
|
|
235
236
|
<MessageState>No files containing “{trimmed}”.</MessageState>
|
|
236
237
|
) : (
|
|
237
238
|
<>
|
|
238
|
-
<ul id={listboxId} role="listbox" aria-label="Search results" className="stg:py-0.5">
|
|
239
|
+
<ul id={listboxId} role="listbox" aria-label="Search results" className={cn(UNSTYLED_LIST, "stg:py-0.5")}>
|
|
239
240
|
{renderRows({
|
|
240
241
|
groups,
|
|
241
242
|
query: trimmed,
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
type KeyboardEvent,
|
|
11
11
|
} from "react";
|
|
12
12
|
import { cn } from "@stigmer/theme";
|
|
13
|
+
import { UNSTYLED_LIST } from "../internal/element-resets.js";
|
|
13
14
|
import type { WorkspaceEntry } from "./useWorkspaceEntries.js";
|
|
14
15
|
import type { WorkspaceFileLister } from "./WorkspaceFileLister.js";
|
|
15
16
|
import type { SelectedWorkspaceFile } from "../internal/store/workspace-file-selection-store.js";
|
|
@@ -210,7 +211,7 @@ export function WorkspaceFileSearch({
|
|
|
210
211
|
id={listboxId}
|
|
211
212
|
role="listbox"
|
|
212
213
|
aria-label="Search results"
|
|
213
|
-
className="stg:py-0.5"
|
|
214
|
+
className={cn(UNSTYLED_LIST, "stg:py-0.5")}
|
|
214
215
|
>
|
|
215
216
|
{renderRows({
|
|
216
217
|
groups,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import type { WorkspaceEntry } from "@stigmer/protos/ai/stigmer/agentic/session/v1/workspace_pb";
|
|
4
4
|
import type { WorkspaceSource } from "@stigmer/protos/ai/stigmer/agentic/session/v1/workspace_pb";
|
|
5
5
|
import { cn } from "@stigmer/theme";
|
|
6
|
+
import { UNSTYLED_LIST } from "../internal/element-resets.js";
|
|
6
7
|
import { Tooltip, TooltipContent, TooltipTrigger } from "../internal/tooltip.js";
|
|
7
8
|
import { TruncatedText } from "../internal/truncated-text.js";
|
|
8
9
|
|
|
@@ -43,7 +44,7 @@ export function WorkspaceSummary({
|
|
|
43
44
|
if (entries.length === 0) return null;
|
|
44
45
|
|
|
45
46
|
return (
|
|
46
|
-
<ul className={cn("stg:space-y-1.5", className)} aria-label="Workspace entries">
|
|
47
|
+
<ul className={cn(UNSTYLED_LIST, "stg:space-y-1.5", className)} aria-label="Workspace entries">
|
|
47
48
|
{entries.map((entry) => (
|
|
48
49
|
<li key={entry.name} className="stg:text-xs">
|
|
49
50
|
<div className="stg:flex stg:items-center stg:gap-1.5 stg:font-medium">
|