@burdenoff/microfe-vibecontrols 2026.1031.1 → 2026.1111.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VibeControlsRoot.d.ts +34 -0
- package/dist/VibeControlsRoot.js +7 -6
- package/dist/VibeControlsRoutes.d.ts +2 -0
- package/dist/VibeControlsRoutes.js +3 -3
- package/dist/_virtual/_rolldown/runtime.js +4 -5
- package/dist/components/actions/ActionCard.d.ts +36 -0
- package/dist/components/actions/ActionCard.js +17 -18
- package/dist/components/actions/ActionForm.d.ts +41 -0
- package/dist/components/actions/ActionForm.js +7 -8
- package/dist/components/actions/ActionSchedulesList.d.ts +8 -0
- package/dist/components/actions/ActionSchedulesList.js +1 -2
- package/dist/components/actions/ActionTypeBadge.d.ts +8 -0
- package/dist/components/actions/ActionTypeBadge.js +1 -2
- package/dist/components/actions/ActionWebhookEndpoint.d.ts +18 -0
- package/dist/components/actions/ActionWebhookEndpoint.js +8 -9
- package/dist/components/actions/ExecutionHistory.d.ts +22 -0
- package/dist/components/actions/ExecutionHistory.js +1 -2
- package/dist/components/actions/RemoteExecutionEnableNotice.d.ts +13 -0
- package/dist/components/actions/RemoteExecutionEnableNotice.js +1 -2
- package/dist/components/actions/index.d.ts +7 -0
- package/dist/components/actions/index.js +5 -4
- package/dist/components/agent-manager/AgentManagerAdminBar.d.ts +6 -0
- package/dist/components/agent-manager/AgentManagerAdminBar.js +22 -23
- package/dist/components/agent-manager/AgentManagerBookmarksDrawer.d.ts +11 -0
- package/dist/components/agent-manager/AgentManagerBookmarksDrawer.js +23 -24
- package/dist/components/agent-manager/AgentManagerBulkActions.d.ts +12 -0
- package/dist/components/agent-manager/AgentManagerBulkActions.js +6 -7
- package/dist/components/agent-manager/AgentManagerCenter.d.ts +7 -0
- package/dist/components/agent-manager/AgentManagerCenter.js +15 -24
- package/dist/components/agent-manager/AgentManagerChatPane.d.ts +7 -0
- package/dist/components/agent-manager/AgentManagerChatPane.js +92 -90
- package/dist/components/agent-manager/AgentManagerDetailPanel.d.ts +7 -0
- package/dist/components/agent-manager/AgentManagerDetailPanel.js +12 -13
- package/dist/components/agent-manager/AgentManagerInputArea.d.ts +11 -0
- package/dist/components/agent-manager/AgentManagerInputArea.js +205 -206
- package/dist/components/agent-manager/AgentManagerLayout.d.ts +8 -0
- package/dist/components/agent-manager/AgentManagerLayout.js +4 -5
- package/dist/components/agent-manager/AgentManagerMessageItem.d.ts +11 -0
- package/dist/components/agent-manager/AgentManagerMessageItem.js +8 -9
- package/dist/components/agent-manager/AgentManagerMessageList.d.ts +13 -0
- package/dist/components/agent-manager/AgentManagerMessageList.js +10 -11
- package/dist/components/agent-manager/AgentManagerSessionItem.d.ts +10 -0
- package/dist/components/agent-manager/AgentManagerSessionItem.js +14 -15
- package/dist/components/agent-manager/AgentManagerSessionList.d.ts +10 -0
- package/dist/components/agent-manager/AgentManagerSessionList.js +40 -36
- package/dist/components/agent-manager/AgentManagerSidebar.d.ts +8 -0
- package/dist/components/agent-manager/AgentManagerSidebar.js +12 -13
- package/dist/components/agent-manager/AgentManagerStreamingIndicator.d.ts +6 -0
- package/dist/components/agent-manager/AgentManagerStreamingIndicator.js +1 -2
- package/dist/components/agent-manager/AgentManagerTab.d.ts +13 -0
- package/dist/components/agent-manager/AgentManagerTab.js +1 -2
- package/dist/components/agent-manager/AgentManagerTabBar.d.ts +9 -0
- package/dist/components/agent-manager/AgentManagerTabBar.js +17 -16
- package/dist/components/agent-manager/BridleConfigPanel.d.ts +15 -0
- package/dist/components/agent-manager/BridleConfigPanel.js +1 -2
- package/dist/components/agent-manager/ChatInsertPicker.d.ts +6 -0
- package/dist/components/agent-manager/ChatInsertPicker.js +4 -4
- package/dist/components/agent-manager/FilePickerModal.d.ts +9 -0
- package/dist/components/agent-manager/FilePickerModal.js +8 -9
- package/dist/components/agent-manager/PluginInstallModal.d.ts +7 -0
- package/dist/components/agent-manager/PluginInstallModal.js +5 -6
- package/dist/components/agent-manager/ProfilesPanel.d.ts +18 -0
- package/dist/components/agent-manager/ProfilesPanel.js +15 -17
- package/dist/components/agent-manager/controls/AutonomySelector.d.ts +8 -0
- package/dist/components/agent-manager/controls/AutonomySelector.js +2 -7
- package/dist/components/agent-manager/controls/ContextLevelToggle.d.ts +22 -0
- package/dist/components/agent-manager/controls/ContextLevelToggle.js +3 -4
- package/dist/components/agent-manager/controls/FileAttachButton.d.ts +11 -0
- package/dist/components/agent-manager/controls/FileAttachButton.js +1 -2
- package/dist/components/agent-manager/controls/McpServerSelector.d.ts +8 -0
- package/dist/components/agent-manager/controls/McpServerSelector.js +1 -2
- package/dist/components/agent-manager/controls/ModelSelector.d.ts +11 -0
- package/dist/components/agent-manager/controls/ModelSelector.js +12 -11
- package/dist/components/agent-manager/controls/SdkSelector.d.ts +11 -0
- package/dist/components/agent-manager/controls/SdkSelector.js +1 -2
- package/dist/components/agent-manager/controls/VoiceToggle.d.ts +12 -0
- package/dist/components/agent-manager/controls/VoiceToggle.js +1 -2
- package/dist/components/agent-manager/controls/createDropHandlers.d.ts +6 -0
- package/dist/components/agent-manager/controls/createDropHandlers.js +1 -2
- package/dist/components/agent-manager/detail/SessionConfigPanel.d.ts +7 -0
- package/dist/components/agent-manager/detail/SessionConfigPanel.js +15 -15
- package/dist/components/agent-manager/detail/SessionLogsPanel.d.ts +7 -0
- package/dist/components/agent-manager/detail/SessionLogsPanel.js +11 -11
- package/dist/components/agent-manager/detail/SessionStatsPanel.d.ts +7 -0
- package/dist/components/agent-manager/detail/SessionStatsPanel.js +18 -18
- package/dist/components/agent-manager/detail/SessionToolsPanel.d.ts +6 -0
- package/dist/components/agent-manager/detail/SessionToolsPanel.js +9 -9
- package/dist/components/agent-manager/dialogs/ExportSessionDialog.d.ts +9 -0
- package/dist/components/agent-manager/dialogs/ExportSessionDialog.js +5 -6
- package/dist/components/agent-manager/dialogs/NewSessionDialog.d.ts +8 -0
- package/dist/components/agent-manager/dialogs/NewSessionDialog.js +17 -18
- package/dist/components/agent-manager/dialogs/RenameSessionDialog.d.ts +14 -0
- package/dist/components/agent-manager/dialogs/RenameSessionDialog.js +1 -2
- package/dist/components/agent-manager/dialogs/SessionSearchDialog.d.ts +8 -0
- package/dist/components/agent-manager/dialogs/SessionSearchDialog.js +9 -12
- package/dist/components/agent-manager/index.d.ts +16 -0
- package/dist/components/agent-manager/index.js +8 -8
- package/dist/components/agent-manager/modelDefaults.d.ts +4 -0
- package/dist/components/agent-manager/modelDefaults.js +1 -2
- package/dist/components/agents/AgentCard.d.ts +34 -0
- package/dist/components/agents/AgentCard.js +14 -15
- package/dist/components/agents/AgentConnectionRecovery.d.ts +18 -0
- package/dist/components/agents/AgentConnectionRecovery.js +6 -7
- package/dist/components/agents/AgentForm.d.ts +33 -0
- package/dist/components/agents/AgentForm.js +14 -14
- package/dist/components/agents/AgentList.d.ts +17 -0
- package/dist/components/agents/AgentList.js +18 -19
- package/dist/components/agents/AgentMaintenanceTab.d.ts +7 -0
- package/dist/components/agents/AgentMaintenanceTab.js +222 -220
- package/dist/components/agents/AgentStatusBadge.d.ts +44 -0
- package/dist/components/agents/AgentStatusBadge.js +59 -35
- package/dist/components/agents/AgentStorageConfig.d.ts +15 -0
- package/dist/components/agents/AgentStorageConfig.js +6 -10
- package/dist/components/agents/AgentVisibilityCard.d.ts +12 -0
- package/dist/components/agents/AgentVisibilityCard.js +6 -7
- package/dist/components/agents/CheckSessionHealthDialog.d.ts +18 -0
- package/dist/components/agents/CheckSessionHealthDialog.js +5 -6
- package/dist/components/agents/ConfigureAgentDialog.d.ts +23 -0
- package/dist/components/agents/ConfigureAgentDialog.js +1 -2
- package/dist/components/agents/ConnectionLogPanel.d.ts +10 -0
- package/dist/components/agents/ConnectionLogPanel.js +1 -2
- package/dist/components/agents/CreateSessionDialog.d.ts +19 -0
- package/dist/components/agents/CreateSessionDialog.js +31 -39
- package/dist/components/agents/GatewayAuthCard.d.ts +13 -0
- package/dist/components/agents/GatewayAuthCard.js +11 -12
- package/dist/components/agents/OneTimeSecretPanel.d.ts +19 -0
- package/dist/components/agents/OneTimeSecretPanel.js +5 -10
- package/dist/components/agents/OpenInBrowserEditorButton.d.ts +49 -0
- package/dist/components/agents/OpenInBrowserEditorButton.js +16 -17
- package/dist/components/agents/OpenInEditorMenu.d.ts +35 -0
- package/dist/components/agents/OpenInEditorMenu.js +60 -77
- package/dist/components/agents/PluginUIPanel.d.ts +44 -0
- package/dist/components/agents/PluginUIPanel.js +99 -94
- package/dist/components/agents/RemoteTaskPermissionsCard.d.ts +6 -0
- package/dist/components/agents/RemoteTaskPermissionsCard.js +5 -6
- package/dist/components/agents/RepairGatewayAuthDialog.d.ts +18 -0
- package/dist/components/agents/RepairGatewayAuthDialog.js +5 -6
- package/dist/components/agents/VibeOpenInEditorMenu.d.ts +4 -0
- package/dist/components/agents/VibeOpenInEditorMenu.js +1 -2
- package/dist/components/agents/agentStatus.d.ts +9 -0
- package/dist/components/agents/agentStatus.js +7 -10
- package/dist/components/agents/backup/AgentBackupTab.d.ts +17 -0
- package/dist/components/agents/backup/AgentBackupTab.js +10 -8
- package/dist/components/agents/idePresets.d.ts +51 -0
- package/dist/components/agents/idePresets.js +1 -2
- package/dist/components/agents/index.d.ts +18 -0
- package/dist/components/agents/index.js +17 -16
- package/dist/components/agents/types.d.ts +88 -0
- package/dist/components/ai/AIContextsTab.d.ts +6 -0
- package/dist/components/ai/AIContextsTab.js +23 -22
- package/dist/components/ai/AIKeysTab.d.ts +12 -0
- package/dist/components/ai/AIKeysTab.js +5 -6
- package/dist/components/ai/AIModeToggle.d.ts +26 -0
- package/dist/components/ai/AIModeToggle.js +1 -2
- package/dist/components/ai/AIOverviewTab.d.ts +7 -0
- package/dist/components/ai/AIOverviewTab.js +18 -19
- package/dist/components/ai/AIPlanPanel.d.ts +7 -0
- package/dist/components/ai/AIPlanPanel.js +70 -74
- package/dist/components/ai/AIPlaygroundTab.d.ts +6 -0
- package/dist/components/ai/AIPlaygroundTab.js +19 -20
- package/dist/components/ai/AIPromptsTab.d.ts +6 -0
- package/dist/components/ai/AIPromptsTab.js +95 -93
- package/dist/components/ai/AIProviderCredentialsCard.d.ts +34 -0
- package/dist/components/ai/AIProviderCredentialsCard.js +1 -2
- package/dist/components/ai/AIQueueTab.d.ts +14 -0
- package/dist/components/ai/AIQueueTab.js +18 -18
- package/dist/components/ai/AISessionsTab.d.ts +7 -0
- package/dist/components/ai/AISessionsTab.js +14 -14
- package/dist/components/ai/AIStatsTab.d.ts +6 -0
- package/dist/components/ai/AIStatsTab.js +16 -17
- package/dist/components/ai/AITasksTab.d.ts +4 -0
- package/dist/components/ai/AITasksTab.js +17 -17
- package/dist/components/ai/AITemplatesTab.d.ts +5 -0
- package/dist/components/ai/AITemplatesTab.js +209 -208
- package/dist/components/ai/AiSectionTabs.d.ts +5 -0
- package/dist/components/ai/AiSectionTabs.js +11 -12
- package/dist/components/ai/BridleTab.d.ts +6 -0
- package/dist/components/ai/BridleTab.js +5 -6
- package/dist/components/ai/ClaudeCredentialsCard.d.ts +6 -0
- package/dist/components/ai/ClaudeCredentialsCard.js +1 -2
- package/dist/components/ai/InsertIntoChatRail.d.ts +24 -0
- package/dist/components/ai/InstructionFilesManager.d.ts +6 -0
- package/dist/components/ai/InstructionFilesManager.js +15 -14
- package/dist/components/ai/PluginHarnessPicker.d.ts +21 -0
- package/dist/components/ai/PluginHarnessPicker.js +16 -17
- package/dist/components/ai/aiProviderCredentials.d.ts +25 -0
- package/dist/components/ai/aiProviderCredentials.js +1 -2
- package/dist/components/aliases/AliasManager.d.ts +21 -0
- package/dist/components/aliases/AliasManager.js +26 -31
- package/dist/components/aliases/aliasReservedNames.d.ts +7 -0
- package/dist/components/aliases/aliasReservedNames.js +3 -4
- package/dist/components/analytics/AnalyticsBreakdownChart.d.ts +11 -0
- package/dist/components/analytics/AnalyticsBreakdownChart.js +15 -16
- package/dist/components/analytics/AnalyticsBreakdownTable.d.ts +12 -0
- package/dist/components/analytics/AnalyticsBreakdownTable.js +1 -2
- package/dist/components/analytics/AnalyticsEntityTabs.d.ts +7 -0
- package/dist/components/analytics/AnalyticsEntityTabs.js +1 -2
- package/dist/components/analytics/AnalyticsFilterBar.d.ts +13 -0
- package/dist/components/analytics/AnalyticsFilterBar.js +6 -7
- package/dist/components/analytics/AnalyticsKpiGrid.d.ts +8 -0
- package/dist/components/analytics/AnalyticsKpiGrid.js +101 -100
- package/dist/components/analytics/AnalyticsTimeSeriesChart.d.ts +15 -0
- package/dist/components/analytics/AnalyticsTimeSeriesChart.js +17 -18
- package/dist/components/analytics/SandboxAnalyticsSection.d.ts +8 -0
- package/dist/components/analytics/SandboxAnalyticsSection.js +6 -7
- package/dist/components/analytics/index.d.ts +8 -0
- package/dist/components/analytics/index.js +8 -7
- package/dist/components/analytics/types.d.ts +26 -0
- package/dist/components/analytics/types.js +1 -2
- package/dist/components/assistant/AIAssistantPanel.d.ts +4 -0
- package/dist/components/assistant/AIAssistantPanel.js +1 -2
- package/dist/components/assistant/AiCreditsMeter.d.ts +8 -0
- package/dist/components/assistant/AiCreditsMeter.js +4 -5
- package/dist/components/assistant/ProductMarkdown.d.ts +5 -0
- package/dist/components/assistant/ProductMarkdown.js +6 -10
- package/dist/components/assistant/assistantProduct.d.ts +71 -0
- package/dist/components/assistant/assistantProduct.js +45 -45
- package/dist/components/assistant/index.d.ts +2 -0
- package/dist/components/assistant/index.js +1 -1
- package/dist/components/assistant/recordAdapters.d.ts +14 -0
- package/dist/components/assistant/recordAdapters.js +2 -3
- package/dist/components/audit/AuditExportButton.d.ts +6 -0
- package/dist/components/audit/AuditExportButton.js +1 -2
- package/dist/components/audit/AuditLogDetail.d.ts +10 -0
- package/dist/components/audit/AuditLogDetail.js +1 -2
- package/dist/components/audit/AuditLogFilters.d.ts +28 -0
- package/dist/components/audit/AuditLogFilters.js +1 -2
- package/dist/components/audit/AuditLogStats.d.ts +7 -0
- package/dist/components/audit/AuditLogStats.js +1 -2
- package/dist/components/audit/AuditLogTable.d.ts +13 -0
- package/dist/components/audit/AuditLogTable.js +1 -2
- package/dist/components/audit/index.d.ts +5 -0
- package/dist/components/audit/index.js +6 -5
- package/dist/components/catalog/CatalogCard.d.ts +20 -0
- package/dist/components/catalog/CatalogCard.js +1 -2
- package/dist/components/catalog/CatalogForm.d.ts +18 -0
- package/dist/components/catalog/CatalogForm.js +1 -2
- package/dist/components/catalog/index.d.ts +4 -0
- package/dist/components/catalog/index.js +3 -2
- package/dist/components/common/ActionAgentTargetNotice.d.ts +16 -0
- package/dist/components/common/ActionAgentTargetNotice.js +1 -2
- package/dist/components/common/CommandEditor.d.ts +28 -0
- package/dist/components/common/CommandEditor.js +1 -2
- package/dist/components/common/actionAgentTarget.d.ts +40 -0
- package/dist/components/common/actionAgentTarget.js +3 -4
- package/dist/components/common/commandHighlight.d.ts +31 -0
- package/dist/components/common/commandHighlight.js +1 -2
- package/dist/components/components/ComponentHealthCell.d.ts +12 -0
- package/dist/components/components/ComponentHealthCell.js +1 -2
- package/dist/components/components/ComponentTierBadge.d.ts +14 -0
- package/dist/components/components/ComponentTierBadge.js +10 -11
- package/dist/components/components/ComponentsTable.d.ts +30 -0
- package/dist/components/components/ComponentsTable.js +14 -19
- package/dist/components/components/index.d.ts +6 -0
- package/dist/components/components/index.js +2 -2
- package/dist/components/docs/DocsCompileStatus.d.ts +8 -0
- package/dist/components/docs/DocsCompileStatus.js +2 -3
- package/dist/components/docs/DocsEditPanel.d.ts +34 -0
- package/dist/components/docs/DocsEditPanel.js +14 -19
- package/dist/components/docs/DocsEmptyState.d.ts +7 -0
- package/dist/components/docs/DocsEmptyState.js +5 -6
- package/dist/components/docs/DocsFullScreenViewer.d.ts +9 -0
- package/dist/components/docs/DocsFullScreenViewer.js +27 -25
- package/dist/components/docs/DocsPageEditor.d.ts +11 -0
- package/dist/components/docs/DocsPageEditor.js +1 -2
- package/dist/components/docs/DocsPageTree.d.ts +12 -0
- package/dist/components/docs/DocsPageTree.js +1 -2
- package/dist/components/docs/DocsPreviewPanel.d.ts +23 -0
- package/dist/components/docs/DocsPreviewPanel.js +22 -20
- package/dist/components/docs/DocsRevisionHistory.d.ts +9 -0
- package/dist/components/docs/DocsRevisionHistory.js +1 -2
- package/dist/components/docs/DocsSettingsPanel.d.ts +14 -0
- package/dist/components/docs/DocsSettingsPanel.js +138 -137
- package/dist/components/docs/DocsTabPanel.d.ts +7 -0
- package/dist/components/docs/DocsTabPanel.js +60 -64
- package/dist/components/docs/index.d.ts +9 -0
- package/dist/components/docs/index.js +3 -3
- package/dist/components/docs/previewHtml.d.ts +1 -0
- package/dist/components/docs/previewHtml.js +91 -8
- package/dist/components/docs/types.d.ts +67 -0
- package/dist/components/docs/types.js +1 -2
- package/dist/components/gitops/CIDurationChart.d.ts +10 -0
- package/dist/components/gitops/CIDurationChart.js +14 -15
- package/dist/components/gitops/CIFailedRuns.d.ts +11 -0
- package/dist/components/gitops/CIFailedRuns.js +23 -24
- package/dist/components/gitops/CIPipelineRunsTable.d.ts +11 -0
- package/dist/components/gitops/CIPipelineRunsTable.js +28 -29
- package/dist/components/gitops/CISuccessRateChart.d.ts +11 -0
- package/dist/components/gitops/CISuccessRateChart.js +11 -12
- package/dist/components/gitops/CITab.d.ts +13 -0
- package/dist/components/gitops/CITab.js +1 -2
- package/dist/components/gitops/CIWorkflowList.d.ts +11 -0
- package/dist/components/gitops/CIWorkflowList.js +11 -9
- package/dist/components/gitops/GitOpsProviderCard.d.ts +12 -0
- package/dist/components/gitops/GitOpsProviderPicker.d.ts +9 -0
- package/dist/components/gitops/GitOpsProviderPicker.js +1 -2
- package/dist/components/gitops/GitOpsSetup.d.ts +9 -0
- package/dist/components/gitops/GitOpsSetup.js +1 -2
- package/dist/components/gitops/GitOpsSkeleton.d.ts +10 -0
- package/dist/components/gitops/GitOpsSkeleton.js +1 -2
- package/dist/components/gitops/GitOpsStatusBadge.d.ts +12 -0
- package/dist/components/gitops/GitOpsStatusBadge.js +1 -2
- package/dist/components/gitops/ProviderIcon.d.ts +12 -0
- package/dist/components/gitops/ProviderIcon.js +1 -2
- package/dist/components/gitops/RepoActivityCard.d.ts +10 -0
- package/dist/components/gitops/RepoActivityCard.js +5 -6
- package/dist/components/gitops/RepoIssuesCard.d.ts +10 -0
- package/dist/components/gitops/RepoIssuesCard.js +1 -2
- package/dist/components/gitops/RepoLanguagesCard.d.ts +11 -0
- package/dist/components/gitops/RepoLanguagesCard.js +1 -2
- package/dist/components/gitops/RepoOverviewCard.d.ts +11 -0
- package/dist/components/gitops/RepoOverviewCard.js +5 -6
- package/dist/components/gitops/RepoPullRequestsCard.d.ts +10 -0
- package/dist/components/gitops/RepoPullRequestsCard.js +14 -15
- package/dist/components/gitops/RepoSecurityCard.d.ts +10 -0
- package/dist/components/gitops/RepoSecurityCard.js +1 -2
- package/dist/components/gitops/RepoStatsTab.d.ts +13 -0
- package/dist/components/gitops/RepoStatsTab.js +1 -2
- package/dist/components/gitops/VibeGitOpsTab.d.ts +17 -0
- package/dist/components/gitops/VibeGitOpsTab.js +28 -32
- package/dist/components/gitops/index.d.ts +22 -0
- package/dist/components/gitops/types.d.ts +266 -0
- package/dist/components/gitops/types.js +1 -2
- package/dist/components/graph/AgentGraphView.d.ts +42 -0
- package/dist/components/graph/AgentNode.d.ts +4 -0
- package/dist/components/graph/ConnectionPermissionsDialog.d.ts +28 -0
- package/dist/components/graph/ConnectionPermissionsDialog.js +1 -2
- package/dist/components/graph/MeshAgentNode.d.ts +15 -0
- package/dist/components/graph/MeshAgentNode.js +1 -2
- package/dist/components/graph/MeshDeployWizard.d.ts +29 -0
- package/dist/components/graph/MeshDeployWizard.js +5 -6
- package/dist/components/graph/MeshGraphView.d.ts +14 -0
- package/dist/components/graph/MeshGraphView.js +16 -17
- package/dist/components/graph/MeshNodeActions.d.ts +13 -0
- package/dist/components/graph/MeshNodeActions.js +1 -2
- package/dist/components/graph/MeshRequestPanel.d.ts +12 -0
- package/dist/components/graph/MeshRequestPanel.js +4 -5
- package/dist/components/graph/TargetNode.d.ts +4 -0
- package/dist/components/graph/meshTypes.d.ts +62 -0
- package/dist/components/graph/meshTypes.js +1 -2
- package/dist/components/graph/nodeIcons.d.ts +10 -0
- package/dist/components/graph/nodeIcons.js +2 -3
- package/dist/components/health/AgentHealthCard.d.ts +7 -0
- package/dist/components/health/HealthDashboard.d.ts +8 -0
- package/dist/components/health/SystemStatus.d.ts +9 -0
- package/dist/components/health/index.d.ts +4 -0
- package/dist/components/health/types.d.ts +49 -0
- package/dist/components/idp-components/ComponentCard.d.ts +22 -0
- package/dist/components/idp-components/ComponentCard.js +1 -2
- package/dist/components/idp-components/ComponentForm.d.ts +30 -0
- package/dist/components/idp-components/ComponentForm.js +1 -2
- package/dist/components/idp-components/DependencyGraphTab.d.ts +10 -0
- package/dist/components/idp-components/DependencyGraphTab.js +1 -2
- package/dist/components/idp-components/index.d.ts +6 -0
- package/dist/components/idp-components/index.js +4 -3
- package/dist/components/logs/LogViewer.d.ts +13 -0
- package/dist/components/logs/LogViewer.js +1 -2
- package/dist/components/notes/NoteCard.d.ts +22 -0
- package/dist/components/notes/NoteCard.js +1 -2
- package/dist/components/notes/NoteEditor.d.ts +30 -0
- package/dist/components/notes/NoteEditor.js +25 -55
- package/dist/components/notes/NoteList.d.ts +15 -0
- package/dist/components/notes/NoteList.js +5 -6
- package/dist/components/notes/NotesTabPanel.d.ts +22 -0
- package/dist/components/notes/NotesTabPanel.js +215 -216
- package/dist/components/notes/index.d.ts +6 -0
- package/dist/components/notes/index.js +1 -1
- package/dist/components/notes/types.d.ts +60 -0
- package/dist/components/overview/FleetActivityAreaChart.d.ts +8 -0
- package/dist/components/overview/FleetActivityAreaChart.js +29 -30
- package/dist/components/overview/FleetActivityChart.d.ts +11 -0
- package/dist/components/overview/FleetActivityChart.js +12 -13
- package/dist/components/overview/FleetHealthCard.d.ts +20 -0
- package/dist/components/overview/FleetHealthCard.js +17 -18
- package/dist/components/overview/QuickActionsCard.d.ts +13 -0
- package/dist/components/overview/QuickActionsCard.js +11 -12
- package/dist/components/overview/index.d.ts +7 -0
- package/dist/components/overview/index.js +5 -4
- package/dist/components/overview/types.d.ts +34 -0
- package/dist/components/overview/useFleetAnalytics.d.ts +27 -0
- package/dist/components/overview/useFleetAnalytics.js +49 -50
- package/dist/components/plugins/AddTabDialog.d.ts +24 -0
- package/dist/components/plugins/AddTabDialog.js +1 -2
- package/dist/components/plugins/FleetRolloutDialog.d.ts +18 -0
- package/dist/components/plugins/FleetRolloutDialog.js +66 -66
- package/dist/components/plugins/PluginIframeMount.d.ts +45 -0
- package/dist/components/plugins/PluginIframeMount.js +3 -4
- package/dist/components/plugins/useFleetPluginMatrix.d.ts +79 -0
- package/dist/components/plugins/useFleetPluginMatrix.js +2 -3
- package/dist/components/scorecard/MetricTrend.d.ts +12 -0
- package/dist/components/scorecard/MetricTrend.js +1 -2
- package/dist/components/scorecard/ScorecardEmptyState.d.ts +16 -0
- package/dist/components/scorecard/ScorecardEmptyState.js +10 -11
- package/dist/components/scorecard/ScorecardPanel.d.ts +7 -0
- package/dist/components/scorecard/ScorecardPanel.js +333 -333
- package/dist/components/scorecard/ScorecardsOverviewPanel.d.ts +13 -0
- package/dist/components/scorecard/ScorecardsOverviewPanel.js +5 -6
- package/dist/components/scorecard/index.d.ts +2 -0
- package/dist/components/scorecard/index.js +1 -1
- package/dist/components/scorecard/scorecardConstants.d.ts +27 -0
- package/dist/components/scorecard/scorecardConstants.js +7 -8
- package/dist/components/security/SecurityEmptyState.d.ts +6 -0
- package/dist/components/security/SecurityEvidenceList.d.ts +7 -0
- package/dist/components/security/SecurityFindingsTable.d.ts +3 -0
- package/dist/components/security/SecurityHeaderStrip.d.ts +12 -0
- package/dist/components/security/SecurityLifecycleStepper.d.ts +9 -0
- package/dist/components/security/SecurityProviderDrawer.d.ts +8 -0
- package/dist/components/security/SecurityRunButton.d.ts +17 -0
- package/dist/components/security/SecurityRunButton.js +7 -7
- package/dist/components/security/SecurityScanList.d.ts +9 -0
- package/dist/components/security/SecurityScanList.js +11 -12
- package/dist/components/security/SecurityTabPanel.d.ts +24 -0
- package/dist/components/security/SecurityTabPanel.js +8 -9
- package/dist/components/security/agentClient.d.ts +137 -0
- package/dist/components/security/agentClient.js +1 -2
- package/dist/components/security/gql.d.ts +8 -0
- package/dist/components/security/hooks.d.ts +12 -0
- package/dist/components/security/hooks.js +1 -2
- package/dist/components/security/index.d.ts +7 -0
- package/dist/components/security/index.js +6 -5
- package/dist/components/security/types.d.ts +89 -0
- package/dist/components/security/types.js +1 -2
- package/dist/components/sessions/CollaboratorsList.d.ts +16 -0
- package/dist/components/sessions/CollaboratorsList.js +20 -21
- package/dist/components/sessions/ControlStatusBar.d.ts +29 -0
- package/dist/components/sessions/ControlStatusBar.js +8 -9
- package/dist/components/sessions/EntityInfoPopover.d.ts +18 -0
- package/dist/components/sessions/EntityInfoPopover.js +16 -17
- package/dist/components/sessions/SessionCard.d.ts +22 -0
- package/dist/components/sessions/SessionCard.js +7 -8
- package/dist/components/sessions/SessionForm.d.ts +18 -0
- package/dist/components/sessions/SessionGroup.d.ts +17 -0
- package/dist/components/sessions/SessionGroup.js +1 -2
- package/dist/components/sessions/SessionInfoPanel.d.ts +7 -0
- package/dist/components/sessions/SessionInfoPanel.js +5 -6
- package/dist/components/sessions/SessionList.d.ts +29 -0
- package/dist/components/sessions/SessionList.js +30 -31
- package/dist/components/sessions/SessionPublicLinkPanel.d.ts +16 -0
- package/dist/components/sessions/SessionPublicLinkPanel.js +20 -24
- package/dist/components/sessions/SessionShareDialog.d.ts +28 -0
- package/dist/components/sessions/SessionShareDialog.js +1 -2
- package/dist/components/sessions/SessionStatusBadge.d.ts +7 -0
- package/dist/components/sessions/SessionStatusBadge.js +1 -2
- package/dist/components/sessions/SessionWorkbenchDrawer.d.ts +16 -0
- package/dist/components/sessions/SessionWorkbenchDrawer.js +11 -12
- package/dist/components/sessions/SessionsCommandPalette.d.ts +17 -0
- package/dist/components/sessions/SessionsCommandPalette.js +1 -2
- package/dist/components/sessions/SharedTerminalPanel.d.ts +70 -0
- package/dist/components/sessions/SharedTerminalPanel.js +8 -9
- package/dist/components/sessions/ShortcutCheatsheet.d.ts +7 -0
- package/dist/components/sessions/ShortcutCheatsheet.js +1 -2
- package/dist/components/sessions/TerminalIframe.d.ts +31 -0
- package/dist/components/sessions/TerminalIframe.js +2 -3
- package/dist/components/sessions/TerminalPanel.d.ts +120 -0
- package/dist/components/sessions/TerminalPanel.js +32 -38
- package/dist/components/sessions/groupSessions.d.ts +9 -0
- package/dist/components/sessions/groupSessions.js +1 -2
- package/dist/components/sessions/index.d.ts +17 -0
- package/dist/components/sessions/index.js +12 -11
- package/dist/components/sessions/sessionShortcuts.d.ts +49 -0
- package/dist/components/sessions/sessionShortcuts.js +2 -3
- package/dist/components/sessions/types.d.ts +97 -0
- package/dist/components/settings/AdvancedSection.d.ts +21 -0
- package/dist/components/settings/AdvancedSection.js +12 -13
- package/dist/components/settings/ConfigEditor.d.ts +12 -0
- package/dist/components/settings/ConfigSection.d.ts +10 -0
- package/dist/components/settings/IdePreferencesSection.d.ts +10 -0
- package/dist/components/settings/IdePreferencesSection.js +10 -11
- package/dist/components/settings/NotificationsSection.d.ts +13 -0
- package/dist/components/settings/NotificationsSection.js +1 -2
- package/dist/components/settings/PreferencesSection.d.ts +13 -0
- package/dist/components/settings/ProfileSection.d.ts +13 -0
- package/dist/components/settings/SecuritySection.d.ts +10 -0
- package/dist/components/settings/SettingsForm.d.ts +62 -0
- package/dist/components/settings/SettingsForm.js +2 -3
- package/dist/components/settings/WorkspaceDefaultsSection.d.ts +26 -0
- package/dist/components/settings/WorkspaceDefaultsSection.js +1 -2
- package/dist/components/settings/index.d.ts +3 -0
- package/dist/components/settings/types.d.ts +54 -0
- package/dist/components/shared/ActionMenu.d.ts +34 -0
- package/dist/components/shared/ActionMenu.js +1 -2
- package/dist/components/shared/AgentEventsConnector.d.ts +5 -0
- package/dist/components/shared/AgentEventsConnector.js +6 -7
- package/dist/components/shared/AgentSelector.d.ts +24 -0
- package/dist/components/shared/AgentSelector.js +1 -2
- package/dist/components/shared/AgentSetupBanner.d.ts +20 -0
- package/dist/components/shared/AgentSetupBanner.js +4 -5
- package/dist/components/shared/Card.d.ts +27 -0
- package/dist/components/shared/Card.js +1 -2
- package/dist/components/shared/ConfirmDialog.d.ts +17 -0
- package/dist/components/shared/ConfirmDialog.js +1 -2
- package/dist/components/shared/DiffView.d.ts +82 -0
- package/dist/components/shared/DiffView.js +1 -1
- package/dist/components/shared/EmptyState.d.ts +25 -0
- package/dist/components/shared/EmptyState.js +1 -2
- package/dist/components/shared/EnableRemoteTaskDialog.d.ts +21 -0
- package/dist/components/shared/EnableRemoteTaskDialog.js +10 -9
- package/dist/components/shared/EntityTagPicker.d.ts +17 -0
- package/dist/components/shared/EntityTagPicker.js +16 -22
- package/dist/components/shared/EntityVibeLinkControl.d.ts +33 -0
- package/dist/components/shared/EntityVibeLinkControl.js +22 -26
- package/dist/components/shared/ErrorState.d.ts +9 -0
- package/dist/components/shared/ErrorState.js +1 -2
- package/dist/components/shared/FilterDropdown.d.ts +28 -0
- package/dist/components/shared/FilterDropdown.js +1 -2
- package/dist/components/shared/GetHelpButton.d.ts +26 -0
- package/dist/components/shared/GetHelpButton.js +4 -5
- package/dist/components/shared/InstallTabs.d.ts +17 -0
- package/dist/components/shared/InstallTabs.js +1 -2
- package/dist/components/shared/LinkToVibePanel.d.ts +51 -0
- package/dist/components/shared/LinkToVibePanel.js +12 -13
- package/dist/components/shared/LoadingState.d.ts +6 -0
- package/dist/components/shared/LoadingState.js +1 -2
- package/dist/components/shared/MotionTabPanel.d.ts +17 -0
- package/dist/components/shared/MotionTabPanel.js +2 -3
- package/dist/components/shared/NotificationToast.d.ts +38 -0
- package/dist/components/shared/NotificationToast.js +2 -3
- package/dist/components/shared/PageHeader.d.ts +19 -0
- package/dist/components/shared/PageHeader.js +1 -2
- package/dist/components/shared/PageSkeleton.d.ts +24 -0
- package/dist/components/shared/PageSkeleton.js +2 -3
- package/dist/components/shared/PlatformIcon.d.ts +18 -0
- package/dist/components/shared/PlatformIcon.js +1 -2
- package/dist/components/shared/PluginGate.d.ts +33 -0
- package/dist/components/shared/PluginGate.js +39 -40
- package/dist/components/shared/PromptDialog.d.ts +25 -0
- package/dist/components/shared/PromptDialog.js +2 -7
- package/dist/components/shared/QuotaExhaustedDialog.d.ts +21 -0
- package/dist/components/shared/QuotaExhaustedDialog.js +11 -12
- package/dist/components/shared/RequireAgentReachable.d.ts +12 -0
- package/dist/components/shared/RequireAgentReachable.js +5 -6
- package/dist/components/shared/SearchInput.d.ts +8 -0
- package/dist/components/shared/SearchInput.js +1 -2
- package/dist/components/shared/SearchableSelect.d.ts +56 -0
- package/dist/components/shared/SearchableSelect.js +2 -5
- package/dist/components/shared/SelectionCheckbox.d.ts +10 -0
- package/dist/components/shared/SelectionCheckbox.js +1 -2
- package/dist/components/shared/SessionNotificationBanner.d.ts +59 -0
- package/dist/components/shared/SessionNotificationBanner.js +15 -16
- package/dist/components/shared/StatCard.d.ts +15 -0
- package/dist/components/shared/StatCard.js +1 -2
- package/dist/components/shared/StatusBadge.d.ts +10 -0
- package/dist/components/shared/StatusBadge.js +1 -2
- package/dist/components/shared/TagFilter.d.ts +10 -0
- package/dist/components/shared/TagFilter.js +5 -6
- package/dist/components/shared/VibeControlsDocsLink.d.ts +52 -0
- package/dist/components/shared/VibeControlsDocsLink.js +1 -2
- package/dist/components/shared/cardMotion.d.ts +11 -0
- package/dist/components/shared/cardMotion.js +1 -2
- package/dist/components/shared/index.d.ts +47 -0
- package/dist/components/shared/index.js +30 -29
- package/dist/components/shared/platformIconPaths.d.ts +1 -0
- package/dist/components/shared/platformIconPaths.js +1 -2
- package/dist/components/sharing/EntityShareButton.d.ts +24 -0
- package/dist/components/sharing/EntityShareButton.js +1 -2
- package/dist/components/sharing/NoteShareDialog.d.ts +23 -0
- package/dist/components/sharing/NoteShareDialog.js +1 -2
- package/dist/components/sharing/SharedWithMePanel.d.ts +15 -0
- package/dist/components/sharing/SharedWithMePanel.js +0 -1
- package/dist/components/sharing/VibeShareButton.d.ts +21 -0
- package/dist/components/sharing/VibeShareButton.js +1 -2
- package/dist/components/sharing/entityShareOps.d.ts +44 -0
- package/dist/components/sharing/entityShareOps.js +0 -1
- package/dist/components/sharing/index.d.ts +15 -0
- package/dist/components/sharing/index.js +6 -5
- package/dist/components/sharing/shareControllerTypes.d.ts +28 -0
- package/dist/components/sharing/shareControllerTypes.js +2 -3
- package/dist/components/sharing/shareRegistry.d.ts +47 -0
- package/dist/components/sharing/shareRegistry.js +1 -2
- package/dist/components/sharing/useEntityShareController.d.ts +18 -0
- package/dist/components/sharing/useEntityShareController.js +1 -2
- package/dist/components/sharing/useNoteShareController.d.ts +10 -0
- package/dist/components/sharing/useNoteShareController.js +1 -2
- package/dist/components/sharing/useVibeShareController.d.ts +9 -0
- package/dist/components/sharing/useVibeShareController.js +1 -2
- package/dist/components/targets/TargetCard.d.ts +51 -0
- package/dist/components/targets/TargetCard.js +7 -8
- package/dist/components/targets/index.d.ts +2 -0
- package/dist/components/targets/index.js +1 -1
- package/dist/components/templates/PublishTemplateForm.d.ts +19 -0
- package/dist/components/templates/PublishTemplateForm.js +20 -25
- package/dist/components/templates/TemplateCard.d.ts +18 -0
- package/dist/components/templates/TemplateCard.js +1 -2
- package/dist/components/templates/TemplateVariableEditor.d.ts +16 -0
- package/dist/components/templates/TemplateVariableEditor.js +1 -2
- package/dist/components/templates/TemplateWizard.d.ts +40 -0
- package/dist/components/templates/TemplateWizard.js +2 -7
- package/dist/components/templates/index.d.ts +8 -0
- package/dist/components/templates/index.js +4 -3
- package/dist/components/tunnels/DomainVerificationBadge.d.ts +4 -0
- package/dist/components/tunnels/DomainVerificationBadge.js +3 -3
- package/dist/components/tunnels/ProviderBadge.d.ts +4 -0
- package/dist/components/tunnels/ProviderBadge.js +1 -2
- package/dist/components/tunnels/TunnelCard.d.ts +12 -0
- package/dist/components/tunnels/TunnelCard.js +7 -8
- package/dist/components/tunnels/TunnelConnectionCard.d.ts +17 -0
- package/dist/components/tunnels/TunnelConnectionCard.js +1 -2
- package/dist/components/tunnels/TunnelCopyButton.d.ts +15 -0
- package/dist/components/tunnels/TunnelCopyButton.js +6 -7
- package/dist/components/tunnels/TunnelCreateWizard.d.ts +1 -0
- package/dist/components/tunnels/TunnelCreateWizard.js +223 -224
- package/dist/components/tunnels/TunnelMetricTiles.d.ts +14 -0
- package/dist/components/tunnels/TunnelMetricTiles.js +8 -9
- package/dist/components/tunnels/TunnelPublicAccessPanel.d.ts +18 -0
- package/dist/components/tunnels/TunnelPublicAccessPanel.js +12 -13
- package/dist/components/tunnels/TunnelSparkline.d.ts +17 -0
- package/dist/components/tunnels/TunnelSparkline.js +1 -2
- package/dist/components/tunnels/TunnelStatusBadge.d.ts +4 -0
- package/dist/components/tunnels/TunnelStatusBadge.js +3 -3
- package/dist/components/tunnels/tunnelEndpoints.d.ts +35 -0
- package/dist/components/tunnels/tunnelEndpoints.js +2 -3
- package/dist/components/tunnels/tunnelMetrics.d.ts +39 -0
- package/dist/components/tunnels/tunnelMetrics.js +2 -3
- package/dist/components/vibe/VibeAgentEmptyState.d.ts +8 -0
- package/dist/components/vibe/VibeAgentEmptyState.js +10 -10
- package/dist/components/vibe/VibeAgentSwitcher.d.ts +17 -0
- package/dist/components/vibe/VibeAgentSwitcher.js +8 -9
- package/dist/components/vibe/VibeEnvVarsPanel.d.ts +12 -0
- package/dist/components/vibe/VibeEnvVarsPanel.js +19 -23
- package/dist/components/vibe/VibeLinkedEntitiesPanel.d.ts +14 -0
- package/dist/components/vibe/VibeLinkedEntitiesPanel.js +43 -44
- package/dist/components/vibe/VibeLlmContextAdminPanel.d.ts +6 -0
- package/dist/components/vibe/VibeLlmContextAdminPanel.js +2 -3
- package/dist/components/vibe/VibeLlmContextTabPanel.d.ts +11 -0
- package/dist/components/vibe/VibeLlmContextTabPanel.js +6 -7
- package/dist/components/vibecalendar/LogsDrawer.d.ts +10 -0
- package/dist/components/vibecalendar/LogsDrawer.js +1 -2
- package/dist/components/vibecalendar/ScheduleTaskModal.d.ts +32 -0
- package/dist/components/vibecalendar/ScheduleTaskModal.js +1 -2
- package/dist/components/vibecalendar/VibeCalAgendaView.d.ts +9 -0
- package/dist/components/vibecalendar/VibeCalAgendaView.js +10 -11
- package/dist/components/vibecalendar/VibeCalDayView.d.ts +10 -0
- package/dist/components/vibecalendar/VibeCalDayView.js +11 -12
- package/dist/components/vibecalendar/VibeCalMonthView.d.ts +10 -0
- package/dist/components/vibecalendar/VibeCalMonthView.js +13 -14
- package/dist/components/vibecalendar/VibeCalWeekView.d.ts +10 -0
- package/dist/components/vibecalendar/VibeCalWeekView.js +12 -13
- package/dist/components/vibecalendar/VibeCalendarHeader.d.ts +10 -0
- package/dist/components/vibecalendar/VibeCalendarHeader.js +2 -5
- package/dist/components/vibecalendar/VibeTaskBlock.d.ts +10 -0
- package/dist/components/vibecalendar/VibeTaskBlock.js +5 -6
- package/dist/components/vibecalendar/expandOccurrences.d.ts +35 -0
- package/dist/components/vibecalendar/expandOccurrences.js +7 -10
- package/dist/components/vibecalendar/index.d.ts +10 -0
- package/dist/components/vibecalendar/index.js +8 -7
- package/dist/components/vibecalendar/types.d.ts +60 -0
- package/dist/components/vibecalendar/types.js +1 -2
- package/dist/components/vibedeck/VibeDeckButtonForm.d.ts +52 -0
- package/dist/components/vibedeck/VibeDeckButtonForm.js +10 -11
- package/dist/components/vibedeck/VibeDeckButtonTile.d.ts +46 -0
- package/dist/components/vibedeck/VibeDeckButtonTile.js +1 -2
- package/dist/components/vibedeck/VibeDeckExecutionLog.d.ts +23 -0
- package/dist/components/vibedeck/VibeDeckExecutionLog.js +1 -2
- package/dist/components/vibedeck/VibeDeckForm.d.ts +21 -0
- package/dist/components/vibedeck/VibeDeckForm.js +14 -12
- package/dist/components/vibedeck/VibeDeckGrid.d.ts +56 -0
- package/dist/components/vibedeck/VibeDeckGrid.js +1 -2
- package/dist/components/vibedeck/VibeDeckPublicLinkPanel.d.ts +16 -0
- package/dist/components/vibedeck/VibeDeckPublicLinkPanel.js +20 -24
- package/dist/components/vibedeck/VibeDeckShareDialog.d.ts +24 -0
- package/dist/components/vibedeck/VibeDeckShareDialog.js +1 -2
- package/dist/components/vibedeck/VibeDeckSwitcher.d.ts +26 -0
- package/dist/components/vibedeck/VibeDeckSwitcher.js +18 -19
- package/dist/components/vibedeck/index.d.ts +9 -0
- package/dist/components/vibedeck/index.js +8 -7
- package/dist/components/vibes/DeleteVibeDialog.d.ts +30 -0
- package/dist/components/vibes/DeleteVibeDialog.js +1 -2
- package/dist/components/vibes/VibeAgentPicker.d.ts +32 -0
- package/dist/components/vibes/VibeAgentsTab.d.ts +34 -0
- package/dist/components/vibes/VibeCard.d.ts +18 -0
- package/dist/components/vibes/VibeCard.js +9 -10
- package/dist/components/vibes/VibeForm.d.ts +9 -0
- package/dist/components/vibes/VibeList.d.ts +19 -0
- package/dist/components/vibes/VibeList.js +58 -59
- package/dist/components/vibes/icons.d.ts +4 -0
- package/dist/components/vibes/icons.js +1 -2
- package/dist/components/vibes/index.d.ts +5 -0
- package/dist/components/vibes/index.js +4 -3
- package/dist/components/vibes/types.d.ts +83 -0
- package/dist/components/webhooks/WebhookCard.d.ts +10 -0
- package/dist/components/webhooks/WebhookForm.d.ts +9 -0
- package/dist/components/webhooks/WebhookList.d.ts +12 -0
- package/dist/components/webhooks/index.d.ts +4 -0
- package/dist/components/webhooks/types.d.ts +57 -0
- package/dist/components/webhooks/types.js +1 -2
- package/dist/config/assistantDisplayCopy.d.ts +10 -0
- package/dist/config/assistantUsecases.d.ts +91 -0
- package/dist/config/assistantUsecases.js +1 -2
- package/dist/config/index.d.ts +23 -0
- package/dist/config/index.js +1 -2
- package/dist/constants/aiTabs.d.ts +22 -0
- package/dist/constants/aiTabs.js +1 -2
- package/dist/constants/permissions.d.ts +177 -0
- package/dist/constants/permissions.js +1 -2
- package/dist/constants/pluginCatalog.d.ts +57 -0
- package/dist/constants/pluginCatalog.js +2 -3
- package/dist/dev/main.d.ts +1 -0
- package/dist/generated/global-operations.d.ts +1 -0
- package/dist/generated/global-types.d.ts +26469 -0
- package/dist/generated/wspace-operations.d.ts +20158 -0
- package/dist/generated/wspace-operations.js +1 -2
- package/dist/generated/wspace-types.d.ts +97177 -0
- package/dist/generated/wspace-types.js +1 -2
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/useActiveAgentProfile.d.ts +63 -0
- package/dist/hooks/useActiveAgentProfile.js +2 -3
- package/dist/hooks/useAgentConnectivity.d.ts +46 -0
- package/dist/hooks/useAgentConnectivity.js +2 -3
- package/dist/hooks/useAgentEvents.d.ts +43 -0
- package/dist/hooks/useAgentEvents.js +1 -2
- package/dist/hooks/useAgentManagerKeyboard.d.ts +16 -0
- package/dist/hooks/useAgentManagerKeyboard.js +9 -19
- package/dist/hooks/useAgentManagerStreaming.d.ts +12 -0
- package/dist/hooks/useAgentManagerStreaming.js +30 -31
- package/dist/hooks/useAiCreditsQuota.d.ts +61 -0
- package/dist/hooks/useAiCreditsQuota.js +2 -3
- package/dist/hooks/useCachedInitialData.d.ts +134 -0
- package/dist/hooks/useCachedInitialData.js +11 -12
- package/dist/hooks/useDraftEntityTags.d.ts +6 -0
- package/dist/hooks/useDraftEntityTags.js +2 -3
- package/dist/hooks/useEntityTags.d.ts +38 -0
- package/dist/hooks/useEntityTags.js +1 -2
- package/dist/hooks/useFileUpload.d.ts +13 -0
- package/dist/hooks/useGitops.d.ts +45 -0
- package/dist/hooks/useGitops.js +1 -2
- package/dist/hooks/useInitialDataLoader.d.ts +46 -0
- package/dist/hooks/useInitialDataLoader.js +3 -4
- package/dist/hooks/useMcpServers.d.ts +13 -0
- package/dist/hooks/useMountTabStrip.d.ts +84 -0
- package/dist/hooks/useOfferedAssistantMode.d.ts +1 -0
- package/dist/hooks/useOfferedAssistantMode.js +1 -2
- package/dist/hooks/useOpenAssistantHelp.d.ts +1 -0
- package/dist/hooks/useOpenAssistantHelp.js +1 -2
- package/dist/hooks/usePluginAvailability.d.ts +36 -0
- package/dist/hooks/usePluginAvailability.js +21 -23
- package/dist/hooks/useQueryBackedTab.d.ts +1 -0
- package/dist/hooks/useQueryBackedTab.js +1 -2
- package/dist/hooks/useRepairGatewayAuth.d.ts +45 -0
- package/dist/hooks/useRepairGatewayAuth.js +1 -2
- package/dist/hooks/useSessionSearch.d.ts +24 -0
- package/dist/hooks/useTenantContext.d.ts +26 -0
- package/dist/hooks/useTenantContext.js +1 -2
- package/dist/hooks/useTerminalCapabilityUrl.d.ts +11 -0
- package/dist/hooks/useTerminalCapabilityUrl.js +3 -7
- package/dist/hooks/useToggleAgentBookmark.d.ts +14 -0
- package/dist/hooks/useToggleAgentBookmark.js +1 -2
- package/dist/hooks/useVoiceMode.d.ts +16 -0
- package/dist/hooks/useVoiceMode.js +1 -2
- package/dist/hooks/useWorkspaceWriteAccess.d.ts +24 -0
- package/dist/hooks/useWorkspaceWriteAccess.js +2 -3
- package/dist/index.d.ts +16 -0
- package/dist/index.js +10 -10
- package/dist/lib/apolloCache.d.ts +2 -0
- package/dist/lib/apolloCache.js +1 -2
- package/dist/lib/toast.d.ts +20 -0
- package/dist/lib/toast.js +2 -3
- package/dist/lib/vibeFeatures.d.ts +28 -0
- package/dist/lib/vibeFeatures.js +3 -4
- package/dist/microfe-vibecontrols.css +1 -1
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +1 -2
- package/dist/node_modules/@apollo/client/errors/ServerError.js +1 -2
- package/dist/node_modules/@apollo/client/errors/ServerParseError.js +1 -2
- package/dist/node_modules/@apollo/client/errors/utils.js +1 -2
- package/dist/node_modules/@apollo/client/link/batch/batchLink.js +1 -2
- package/dist/node_modules/@apollo/client/link/batch/batching.js +1 -2
- package/dist/node_modules/@apollo/client/link/batch-http/BaseBatchHttpLink.js +41 -40
- package/dist/node_modules/@apollo/client/link/batch-http/batchHttpLink.js +1 -2
- package/dist/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js +12 -13
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +7 -8
- package/dist/node_modules/@apollo/client/link/http/checkFetcher.js +1 -2
- package/dist/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js +1 -2
- package/dist/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js +0 -1
- package/dist/node_modules/@apollo/client/link/http/selectURI.js +1 -2
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js +5 -6
- package/dist/node_modules/@apollo/client/link/utils/filterOperationVariables.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +0 -1
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js +4 -5
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/compact.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js +2 -3
- package/dist/node_modules/@apollo/client/version.js +1 -2
- package/dist/node_modules/@wry/caches/lib/weak.js +1 -2
- package/dist/node_modules/@wry/trie/lib/index.js +2 -3
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/d3-array/dist/d3-array.js +202 -0
- package/dist/node_modules/d3-color/dist/d3-color.js +386 -0
- package/dist/node_modules/d3-format/dist/d3-format.js +184 -0
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +183 -0
- package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +38 -13
- package/dist/node_modules/d3-scale/dist/d3-scale.js +620 -0
- package/dist/node_modules/d3-shape/dist/d3-shape.js +899 -0
- package/dist/node_modules/d3-time/dist/d3-time.js +239 -0
- package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +228 -173
- package/dist/node_modules/dagre/index.js +8 -9
- package/dist/node_modules/dagre/lib/acyclic.js +1 -2
- package/dist/node_modules/dagre/lib/add-border-segments.js +1 -2
- package/dist/node_modules/dagre/lib/coordinate-system.js +1 -2
- package/dist/node_modules/dagre/lib/data/list.js +1 -2
- package/dist/node_modules/dagre/lib/debug.js +5 -6
- package/dist/node_modules/dagre/lib/graphlib.js +1 -2
- package/dist/node_modules/dagre/lib/greedy-fas.js +4 -5
- package/dist/node_modules/dagre/lib/layout.js +15 -18
- package/dist/node_modules/dagre/lib/lodash.js +51 -52
- package/dist/node_modules/dagre/lib/nesting-graph.js +21 -23
- package/dist/node_modules/dagre/lib/normalize.js +3 -4
- package/dist/node_modules/dagre/lib/order/add-subgraph-constraints.js +1 -2
- package/dist/node_modules/dagre/lib/order/barycenter.js +3 -3
- package/dist/node_modules/dagre/lib/order/build-layer-graph.js +4 -5
- package/dist/node_modules/dagre/lib/order/cross-count.js +1 -2
- package/dist/node_modules/dagre/lib/order/index.js +10 -11
- package/dist/node_modules/dagre/lib/order/init-order.js +1 -2
- package/dist/node_modules/dagre/lib/order/resolve-conflicts.js +1 -2
- package/dist/node_modules/dagre/lib/order/sort-subgraph.js +1 -2
- package/dist/node_modules/dagre/lib/order/sort.js +1 -2
- package/dist/node_modules/dagre/lib/parent-dummy-chains.js +1 -2
- package/dist/node_modules/dagre/lib/position/bk.js +6 -11
- package/dist/node_modules/dagre/lib/position/index.js +1 -2
- package/dist/node_modules/dagre/lib/rank/feasible-tree.js +4 -5
- package/dist/node_modules/dagre/lib/rank/index.js +1 -2
- package/dist/node_modules/dagre/lib/rank/network-simplex.js +7 -8
- package/dist/node_modules/dagre/lib/rank/util.js +1 -2
- package/dist/node_modules/dagre/lib/util.js +5 -6
- package/dist/node_modules/dagre/lib/version.js +1 -2
- package/dist/node_modules/decimal.js-light/decimal.js +33 -30
- package/dist/node_modules/eventemitter3/index.js +2 -3
- package/dist/node_modules/fast-equals/dist/es/index.js +109 -79
- package/dist/node_modules/graphlib/index.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/components.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/dfs.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/dijkstra-all.js +4 -5
- package/dist/node_modules/graphlib/lib/alg/dijkstra.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/find-cycles.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/floyd-warshall.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/index.js +17 -18
- package/dist/node_modules/graphlib/lib/alg/is-acyclic.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/postorder.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/preorder.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/prim.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/tarjan.js +1 -2
- package/dist/node_modules/graphlib/lib/alg/topsort.js +1 -2
- package/dist/node_modules/graphlib/lib/data/priority-queue.js +1 -2
- package/dist/node_modules/graphlib/lib/graph.js +2 -3
- package/dist/node_modules/graphlib/lib/index.js +1 -2
- package/dist/node_modules/graphlib/lib/json.js +1 -2
- package/dist/node_modules/graphlib/lib/lodash.js +23 -24
- package/dist/node_modules/graphlib/lib/version.js +1 -2
- package/dist/node_modules/lodash/_DataView.js +4 -5
- package/dist/node_modules/lodash/_Hash.js +1 -2
- package/dist/node_modules/lodash/_ListCache.js +1 -2
- package/dist/node_modules/lodash/_Map.js +4 -5
- package/dist/node_modules/lodash/_MapCache.js +1 -2
- package/dist/node_modules/lodash/_Promise.js +4 -5
- package/dist/node_modules/lodash/_Set.js +4 -5
- package/dist/node_modules/lodash/_SetCache.js +1 -2
- package/dist/node_modules/lodash/_Stack.js +3 -3
- package/dist/node_modules/lodash/_Symbol.js +1 -2
- package/dist/node_modules/lodash/_Uint8Array.js +1 -2
- package/dist/node_modules/lodash/_WeakMap.js +4 -5
- package/dist/node_modules/lodash/_apply.js +1 -2
- package/dist/node_modules/lodash/_arrayEach.js +1 -2
- package/dist/node_modules/lodash/_arrayEvery.js +1 -2
- package/dist/node_modules/lodash/_arrayFilter.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
- package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
- package/dist/node_modules/lodash/_arrayMap.js +1 -2
- package/dist/node_modules/lodash/_arrayPush.js +1 -2
- package/dist/node_modules/lodash/_arrayReduce.js +1 -2
- package/dist/node_modules/lodash/_arraySome.js +1 -2
- package/dist/node_modules/lodash/_asciiSize.js +1 -2
- package/dist/node_modules/lodash/_asciiToArray.js +1 -2
- package/dist/node_modules/lodash/_assignMergeValue.js +4 -5
- package/dist/node_modules/lodash/_assignValue.js +4 -5
- package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseAssign.js +4 -5
- package/dist/node_modules/lodash/_baseAssignIn.js +1 -2
- package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
- package/dist/node_modules/lodash/_baseClone.js +24 -25
- package/dist/node_modules/lodash/_baseCreate.js +1 -2
- package/dist/node_modules/lodash/_baseEach.js +1 -2
- package/dist/node_modules/lodash/_baseEvery.js +1 -2
- package/dist/node_modules/lodash/_baseExtremum.js +1 -2
- package/dist/node_modules/lodash/_baseFilter.js +1 -2
- package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
- package/dist/node_modules/lodash/_baseFlatten.js +1 -2
- package/dist/node_modules/lodash/_baseFor.js +1 -2
- package/dist/node_modules/lodash/_baseForOwn.js +4 -5
- package/dist/node_modules/lodash/_baseGet.js +1 -2
- package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
- package/dist/node_modules/lodash/_baseGetTag.js +1 -2
- package/dist/node_modules/lodash/_baseGt.js +1 -2
- package/dist/node_modules/lodash/_baseHas.js +1 -2
- package/dist/node_modules/lodash/_baseHasIn.js +1 -2
- package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
- package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
- package/dist/node_modules/lodash/_baseIsMap.js +4 -5
- package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
- package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
- package/dist/node_modules/lodash/_baseIsNative.js +5 -6
- package/dist/node_modules/lodash/_baseIsSet.js +4 -5
- package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
- package/dist/node_modules/lodash/_baseIteratee.js +6 -7
- package/dist/node_modules/lodash/_baseKeys.js +1 -2
- package/dist/node_modules/lodash/_baseKeysIn.js +2 -3
- package/dist/node_modules/lodash/_baseLt.js +1 -2
- package/dist/node_modules/lodash/_baseMap.js +4 -5
- package/dist/node_modules/lodash/_baseMatches.js +1 -2
- package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
- package/dist/node_modules/lodash/_baseMerge.js +8 -9
- package/dist/node_modules/lodash/_baseMergeDeep.js +23 -25
- package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
- package/dist/node_modules/lodash/_basePick.js +4 -5
- package/dist/node_modules/lodash/_basePickBy.js +5 -6
- package/dist/node_modules/lodash/_baseProperty.js +1 -2
- package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
- package/dist/node_modules/lodash/_baseRange.js +1 -2
- package/dist/node_modules/lodash/_baseReduce.js +1 -2
- package/dist/node_modules/lodash/_baseRest.js +1 -2
- package/dist/node_modules/lodash/_baseSet.js +6 -7
- package/dist/node_modules/lodash/_baseSetToString.js +5 -6
- package/dist/node_modules/lodash/_baseSlice.js +1 -2
- package/dist/node_modules/lodash/_baseSome.js +1 -2
- package/dist/node_modules/lodash/_baseSortBy.js +1 -2
- package/dist/node_modules/lodash/_baseTimes.js +1 -2
- package/dist/node_modules/lodash/_baseToString.js +6 -7
- package/dist/node_modules/lodash/_baseTrim.js +1 -2
- package/dist/node_modules/lodash/_baseUnary.js +1 -2
- package/dist/node_modules/lodash/_baseUniq.js +7 -8
- package/dist/node_modules/lodash/_baseValues.js +1 -2
- package/dist/node_modules/lodash/_baseZipObject.js +1 -2
- package/dist/node_modules/lodash/_cacheHas.js +1 -2
- package/dist/node_modules/lodash/_castFunction.js +1 -2
- package/dist/node_modules/lodash/_castPath.js +1 -2
- package/dist/node_modules/lodash/_castSlice.js +1 -2
- package/dist/node_modules/lodash/_cloneArrayBuffer.js +1 -2
- package/dist/node_modules/lodash/_cloneBuffer.js +1 -2
- package/dist/node_modules/lodash/_cloneDataView.js +1 -2
- package/dist/node_modules/lodash/_cloneRegExp.js +1 -2
- package/dist/node_modules/lodash/_cloneSymbol.js +1 -2
- package/dist/node_modules/lodash/_cloneTypedArray.js +1 -2
- package/dist/node_modules/lodash/_compareAscending.js +1 -2
- package/dist/node_modules/lodash/_compareMultiple.js +1 -2
- package/dist/node_modules/lodash/_copyArray.js +1 -2
- package/dist/node_modules/lodash/_copyObject.js +4 -5
- package/dist/node_modules/lodash/_copySymbols.js +4 -5
- package/dist/node_modules/lodash/_copySymbolsIn.js +1 -2
- package/dist/node_modules/lodash/_coreJsData.js +1 -2
- package/dist/node_modules/lodash/_createAssigner.js +1 -2
- package/dist/node_modules/lodash/_createBaseEach.js +1 -2
- package/dist/node_modules/lodash/_createBaseFor.js +1 -2
- package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
- package/dist/node_modules/lodash/_createFind.js +5 -6
- package/dist/node_modules/lodash/_createRange.js +4 -5
- package/dist/node_modules/lodash/_createSet.js +6 -7
- package/dist/node_modules/lodash/_defineProperty.js +1 -2
- package/dist/node_modules/lodash/_equalArrays.js +1 -2
- package/dist/node_modules/lodash/_equalByTag.js +5 -6
- package/dist/node_modules/lodash/_equalObjects.js +1 -2
- package/dist/node_modules/lodash/_flatRest.js +5 -6
- package/dist/node_modules/lodash/_freeGlobal.js +1 -2
- package/dist/node_modules/lodash/_getAllKeys.js +1 -2
- package/dist/node_modules/lodash/_getAllKeysIn.js +4 -5
- package/dist/node_modules/lodash/_getMapData.js +1 -2
- package/dist/node_modules/lodash/_getMatchData.js +4 -5
- package/dist/node_modules/lodash/_getNative.js +1 -2
- package/dist/node_modules/lodash/_getPrototype.js +1 -2
- package/dist/node_modules/lodash/_getRawTag.js +1 -2
- package/dist/node_modules/lodash/_getSymbols.js +1 -2
- package/dist/node_modules/lodash/_getSymbolsIn.js +4 -5
- package/dist/node_modules/lodash/_getTag.js +9 -10
- package/dist/node_modules/lodash/_getValue.js +1 -2
- package/dist/node_modules/lodash/_hasPath.js +8 -9
- package/dist/node_modules/lodash/_hasUnicode.js +1 -2
- package/dist/node_modules/lodash/_hashClear.js +1 -2
- package/dist/node_modules/lodash/_hashDelete.js +1 -2
- package/dist/node_modules/lodash/_hashGet.js +1 -2
- package/dist/node_modules/lodash/_hashHas.js +1 -2
- package/dist/node_modules/lodash/_hashSet.js +1 -2
- package/dist/node_modules/lodash/_initCloneArray.js +1 -2
- package/dist/node_modules/lodash/_initCloneByTag.js +1 -2
- package/dist/node_modules/lodash/_initCloneObject.js +4 -5
- package/dist/node_modules/lodash/_isFlattenable.js +5 -6
- package/dist/node_modules/lodash/_isIndex.js +6 -7
- package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
- package/dist/node_modules/lodash/_isKey.js +1 -2
- package/dist/node_modules/lodash/_isKeyable.js +1 -2
- package/dist/node_modules/lodash/_isMasked.js +1 -2
- package/dist/node_modules/lodash/_isPrototype.js +1 -2
- package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
- package/dist/node_modules/lodash/_listCacheClear.js +1 -2
- package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_listCacheGet.js +1 -2
- package/dist/node_modules/lodash/_listCacheHas.js +1 -2
- package/dist/node_modules/lodash/_listCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
- package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
- package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapToArray.js +1 -2
- package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
- package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
- package/dist/node_modules/lodash/_nativeCreate.js +1 -2
- package/dist/node_modules/lodash/_nativeKeys.js +1 -2
- package/dist/node_modules/lodash/_nativeKeysIn.js +1 -2
- package/dist/node_modules/lodash/_nodeUtil.js +1 -2
- package/dist/node_modules/lodash/_objectToString.js +1 -2
- package/dist/node_modules/lodash/_overArg.js +1 -2
- package/dist/node_modules/lodash/_overRest.js +1 -2
- package/dist/node_modules/lodash/_root.js +1 -2
- package/dist/node_modules/lodash/_safeGet.js +2 -3
- package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
- package/dist/node_modules/lodash/_setCacheHas.js +1 -2
- package/dist/node_modules/lodash/_setToArray.js +1 -2
- package/dist/node_modules/lodash/_setToString.js +1 -2
- package/dist/node_modules/lodash/_shortOut.js +8 -9
- package/dist/node_modules/lodash/_stackClear.js +1 -2
- package/dist/node_modules/lodash/_stackDelete.js +1 -2
- package/dist/node_modules/lodash/_stackGet.js +1 -2
- package/dist/node_modules/lodash/_stackHas.js +1 -2
- package/dist/node_modules/lodash/_stackSet.js +1 -2
- package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
- package/dist/node_modules/lodash/_stringSize.js +4 -5
- package/dist/node_modules/lodash/_stringToArray.js +4 -5
- package/dist/node_modules/lodash/_stringToPath.js +1 -2
- package/dist/node_modules/lodash/_toKey.js +2 -3
- package/dist/node_modules/lodash/_toSource.js +1 -2
- package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
- package/dist/node_modules/lodash/_unicodeSize.js +1 -2
- package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
- package/dist/node_modules/lodash/clone.js +1 -2
- package/dist/node_modules/lodash/cloneDeep.js +1 -2
- package/dist/node_modules/lodash/constant.js +1 -2
- package/dist/node_modules/lodash/debounce.js +1 -2
- package/dist/node_modules/lodash/defaults.js +4 -5
- package/dist/node_modules/lodash/each.js +1 -2
- package/dist/node_modules/lodash/eq.js +1 -2
- package/dist/node_modules/lodash/every.js +7 -8
- package/dist/node_modules/lodash/filter.js +5 -6
- package/dist/node_modules/lodash/find.js +1 -2
- package/dist/node_modules/lodash/findIndex.js +4 -5
- package/dist/node_modules/lodash/flatMap.js +1 -2
- package/dist/node_modules/lodash/flatten.js +1 -2
- package/dist/node_modules/lodash/forEach.js +5 -6
- package/dist/node_modules/lodash/forIn.js +4 -5
- package/dist/node_modules/lodash/get.js +1 -2
- package/dist/node_modules/lodash/has.js +4 -5
- package/dist/node_modules/lodash/hasIn.js +1 -2
- package/dist/node_modules/lodash/identity.js +1 -2
- package/dist/node_modules/lodash/isArguments.js +4 -5
- package/dist/node_modules/lodash/isArray.js +1 -2
- package/dist/node_modules/lodash/isArrayLike.js +1 -2
- package/dist/node_modules/lodash/isArrayLikeObject.js +4 -5
- package/dist/node_modules/lodash/isBoolean.js +1 -2
- package/dist/node_modules/lodash/isBuffer.js +1 -2
- package/dist/node_modules/lodash/isEmpty.js +10 -11
- package/dist/node_modules/lodash/isEqual.js +1 -2
- package/dist/node_modules/lodash/isFunction.js +1 -2
- package/dist/node_modules/lodash/isLength.js +4 -6
- package/dist/node_modules/lodash/isMap.js +5 -6
- package/dist/node_modules/lodash/isNaN.js +1 -2
- package/dist/node_modules/lodash/isNil.js +1 -2
- package/dist/node_modules/lodash/isNumber.js +1 -2
- package/dist/node_modules/lodash/isObject.js +1 -2
- package/dist/node_modules/lodash/isObjectLike.js +1 -2
- package/dist/node_modules/lodash/isPlainObject.js +4 -5
- package/dist/node_modules/lodash/isSet.js +5 -6
- package/dist/node_modules/lodash/isString.js +4 -5
- package/dist/node_modules/lodash/isSymbol.js +1 -2
- package/dist/node_modules/lodash/isTypedArray.js +1 -2
- package/dist/node_modules/lodash/isUndefined.js +1 -2
- package/dist/node_modules/lodash/keys.js +1 -2
- package/dist/node_modules/lodash/keysIn.js +4 -5
- package/dist/node_modules/lodash/last.js +1 -2
- package/dist/node_modules/lodash/map.js +6 -7
- package/dist/node_modules/lodash/mapValues.js +4 -5
- package/dist/node_modules/lodash/max.js +5 -6
- package/dist/node_modules/lodash/maxBy.js +5 -6
- package/dist/node_modules/lodash/memoize.js +1 -2
- package/dist/node_modules/lodash/merge.js +1 -2
- package/dist/node_modules/lodash/min.js +5 -6
- package/dist/node_modules/lodash/minBy.js +4 -5
- package/dist/node_modules/lodash/noop.js +1 -2
- package/dist/node_modules/lodash/now.js +1 -2
- package/dist/node_modules/lodash/pick.js +5 -6
- package/dist/node_modules/lodash/property.js +6 -7
- package/dist/node_modules/lodash/range.js +1 -2
- package/dist/node_modules/lodash/reduce.js +7 -8
- package/dist/node_modules/lodash/size.js +5 -6
- package/dist/node_modules/lodash/some.js +7 -8
- package/dist/node_modules/lodash/sortBy.js +1 -2
- package/dist/node_modules/lodash/stubArray.js +1 -2
- package/dist/node_modules/lodash/stubFalse.js +1 -2
- package/dist/node_modules/lodash/throttle.js +4 -5
- package/dist/node_modules/lodash/toFinite.js +2 -3
- package/dist/node_modules/lodash/toInteger.js +1 -2
- package/dist/node_modules/lodash/toNumber.js +4 -5
- package/dist/node_modules/lodash/toPlainObject.js +1 -2
- package/dist/node_modules/lodash/toString.js +1 -2
- package/dist/node_modules/lodash/transform.js +12 -13
- package/dist/node_modules/lodash/union.js +5 -6
- package/dist/node_modules/lodash/uniqBy.js +1 -2
- package/dist/node_modules/lodash/uniqueId.js +1 -2
- package/dist/node_modules/lodash/upperFirst.js +1 -2
- package/dist/node_modules/lodash/values.js +4 -5
- package/dist/node_modules/lodash/zipObject.js +1 -2
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/dist/node_modules/prop-types/index.js +1 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/node_modules/prop-types/lib/has.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-is/cjs/react-is.development.js +31 -32
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-smooth/es6/Animate.js +33 -41
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
- package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
- package/dist/node_modules/react-smooth/es6/easing.js +1 -2
- package/dist/node_modules/react-smooth/es6/index.js +1 -2
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
- package/dist/node_modules/react-smooth/es6/util.js +17 -16
- package/dist/node_modules/recharts/es6/cartesian/Area.js +99 -100
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +103 -104
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +35 -36
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +60 -67
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +45 -46
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +20 -21
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +29 -30
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +23 -24
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +31 -32
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +10 -11
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +10 -11
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +2 -5
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/PieChart.js +11 -12
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
- package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
- package/dist/node_modules/recharts/es6/component/Cursor.js +17 -18
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +35 -36
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +16 -17
- package/dist/node_modules/recharts/es6/component/Label.js +85 -86
- package/dist/node_modules/recharts/es6/component/LabelList.js +20 -21
- package/dist/node_modules/recharts/es6/component/Legend.js +26 -23
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +16 -17
- package/dist/node_modules/recharts/es6/component/Text.js +18 -21
- package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +3 -4
- package/dist/node_modules/recharts/es6/container/Layer.js +5 -6
- package/dist/node_modules/recharts/es6/container/Surface.js +5 -6
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +21 -21
- package/dist/node_modules/recharts/es6/polar/Pie.js +103 -107
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +30 -31
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +38 -41
- package/dist/node_modules/recharts/es6/shape/Cross.js +4 -5
- package/dist/node_modules/recharts/es6/shape/Curve.js +38 -49
- package/dist/node_modules/recharts/es6/shape/Dot.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Polygon.js +7 -8
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Symbols.js +26 -34
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +24 -25
- package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +33 -34
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +231 -236
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
- package/dist/node_modules/recharts/es6/util/Events.js +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
- package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +6 -7
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +11 -12
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +5 -6
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
- package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
- package/dist/node_modules/recharts/es6/util/types.js +2 -3
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
- package/dist/node_modules/recharts-scale/es6/index.js +1 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
- package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +2 -3
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +41 -42
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +13 -14
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +20 -17
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/throwError.js +5 -6
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +1 -2
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js +1 -2
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
- package/dist/node_modules/victory-vendor/es/d3-scale.js +28 -45
- package/dist/pages/ActionsPage.d.ts +1 -0
- package/dist/pages/ActionsPage.js +312 -319
- package/dist/pages/AgentDetailsPage.d.ts +10 -0
- package/dist/pages/AgentDetailsPage.js +899 -905
- package/dist/pages/AgentGraphPage.d.ts +9 -0
- package/dist/pages/AgentGraphPage.js +104 -111
- package/dist/pages/AgentsLandingPage.d.ts +11 -0
- package/dist/pages/AgentsLandingPage.js +1 -2
- package/dist/pages/AgentsPage.d.ts +4 -0
- package/dist/pages/AgentsPage.js +165 -166
- package/dist/pages/AnalyticsPage.d.ts +1 -0
- package/dist/pages/AnalyticsPage.js +38 -37
- package/dist/pages/CatalogDetailPage.d.ts +1 -0
- package/dist/pages/CatalogDetailPage.js +186 -187
- package/dist/pages/CatalogDocsPage.d.ts +1 -0
- package/dist/pages/CatalogDocsPage.js +1 -2
- package/dist/pages/CatalogPage.d.ts +1 -0
- package/dist/pages/CatalogPage.js +126 -126
- package/dist/pages/ComponentDetailPage.d.ts +1 -0
- package/dist/pages/ComponentDetailPage.js +194 -195
- package/dist/pages/ComponentDocsPage.d.ts +1 -0
- package/dist/pages/ComponentDocsPage.js +1 -2
- package/dist/pages/ComponentsPage.d.ts +1 -0
- package/dist/pages/ComponentsPage.js +165 -166
- package/dist/pages/EnvTopologyPage.d.ts +8 -0
- package/dist/pages/EnvTopologyPage.js +25 -26
- package/dist/pages/GettingStartedPage.d.ts +17 -0
- package/dist/pages/GettingStartedPage.js +1 -2
- package/dist/pages/HealthPage.d.ts +1 -0
- package/dist/pages/HealthPage.js +146 -147
- package/dist/pages/LogsPage.d.ts +1 -0
- package/dist/pages/LogsPage.js +21 -22
- package/dist/pages/NoteDetailsPage.d.ts +1 -0
- package/dist/pages/NoteDetailsPage.js +17 -18
- package/dist/pages/OverviewPage.d.ts +1 -0
- package/dist/pages/OverviewPage.js +50 -48
- package/dist/pages/PluginDetailPage.d.ts +20 -0
- package/dist/pages/PluginDetailPage.js +160 -161
- package/dist/pages/PluginStandalonePage.d.ts +15 -0
- package/dist/pages/PluginsCatalogPage.d.ts +1 -0
- package/dist/pages/PluginsCatalogPage.js +59 -60
- package/dist/pages/ScheduledJobDetailPage.d.ts +1 -0
- package/dist/pages/ScheduledJobDetailPage.js +153 -158
- package/dist/pages/SessionDetailsPage.d.ts +5 -0
- package/dist/pages/SessionDetailsPage.js +240 -243
- package/dist/pages/SessionsPage.d.ts +5 -0
- package/dist/pages/SessionsPage.js +1005 -1043
- package/dist/pages/SettingsPage.d.ts +1 -0
- package/dist/pages/SettingsPage.js +74 -79
- package/dist/pages/SharedSessionPage.d.ts +12 -0
- package/dist/pages/SharedSessionPage.js +5 -6
- package/dist/pages/SharedVibeDeckPage.d.ts +7 -0
- package/dist/pages/SharedVibeDeckPage.js +9 -10
- package/dist/pages/TargetDetailsPage.d.ts +12 -0
- package/dist/pages/TargetDetailsPage.js +32 -33
- package/dist/pages/TargetsPage.d.ts +1 -0
- package/dist/pages/TargetsPage.js +343 -345
- package/dist/pages/TemplateDetailPage.d.ts +1 -0
- package/dist/pages/TemplateDetailPage.js +218 -215
- package/dist/pages/TemplatesPage.d.ts +1 -0
- package/dist/pages/TemplatesPage.js +118 -118
- package/dist/pages/TunnelsLandingPage.d.ts +7 -0
- package/dist/pages/TunnelsLandingPage.js +1 -2
- package/dist/pages/VibeAuditPage.d.ts +1 -0
- package/dist/pages/VibeAuditPage.js +27 -28
- package/dist/pages/VibeCalendarPage.d.ts +8 -0
- package/dist/pages/VibeCalendarPage.js +132 -137
- package/dist/pages/VibeDeckPage.d.ts +1 -0
- package/dist/pages/VibeDeckPage.js +187 -188
- package/dist/pages/VibeDetailsPage.d.ts +4 -0
- package/dist/pages/VibeDetailsPage.js +746 -751
- package/dist/pages/VibeDocsPage.d.ts +1 -0
- package/dist/pages/VibeDocsPage.js +1 -2
- package/dist/pages/VibeTaskDetailPage.d.ts +8 -0
- package/dist/pages/VibeTaskDetailPage.js +12 -13
- package/dist/pages/VibesPage.d.ts +4 -0
- package/dist/pages/VibesPage.js +123 -124
- package/dist/pages/WebhooksPage.d.ts +4 -0
- package/dist/pages/WebhooksPage.js +361 -367
- package/dist/pages/ai/AIBookmarksPage.d.ts +2 -0
- package/dist/pages/ai/AIBookmarksPage.js +29 -30
- package/dist/pages/ai/AIBuilderPage.d.ts +8 -0
- package/dist/pages/ai/AIBuilderPage.js +15 -20
- package/dist/pages/ai/AIPage.d.ts +13 -0
- package/dist/pages/ai/AIPage.js +59 -60
- package/dist/pages/ai/AISessionDetailPage.d.ts +4 -0
- package/dist/pages/ai/AISessionDetailPage.js +200 -197
- package/dist/pages/ai/AgentManagerPage.d.ts +8 -0
- package/dist/pages/ai/AgentManagerPage.js +70 -71
- package/dist/pages/index.d.ts +16 -0
- package/dist/pages/tunnels/AuditTab.d.ts +1 -0
- package/dist/pages/tunnels/AuditTab.js +12 -13
- package/dist/pages/tunnels/DomainsTab.d.ts +1 -0
- package/dist/pages/tunnels/DomainsTab.js +21 -22
- package/dist/pages/tunnels/ProvidersTab.d.ts +1 -0
- package/dist/pages/tunnels/ProvidersTab.js +12 -13
- package/dist/pages/tunnels/SessionsTab.d.ts +1 -0
- package/dist/pages/tunnels/SessionsTab.js +13 -14
- package/dist/pages/tunnels/TunnelDetailsPage.d.ts +1 -0
- package/dist/pages/tunnels/TunnelDetailsPage.js +61 -62
- package/dist/pages/tunnels/TunnelsTab.d.ts +1 -0
- package/dist/pages/tunnels/TunnelsTab.js +52 -53
- package/dist/pages/tunnels/UsageTab.d.ts +1 -0
- package/dist/pages/tunnels/UsageTab.js +12 -13
- package/dist/pages/tunnels/tabs/TunnelAuditTab.d.ts +3 -0
- package/dist/pages/tunnels/tabs/TunnelAuditTab.js +7 -8
- package/dist/pages/tunnels/tabs/TunnelCliTab.d.ts +6 -0
- package/dist/pages/tunnels/tabs/TunnelCliTab.js +6 -7
- package/dist/pages/tunnels/tabs/TunnelDomainsTab.d.ts +8 -0
- package/dist/pages/tunnels/tabs/TunnelDomainsTab.js +5 -6
- package/dist/pages/tunnels/tabs/TunnelEndpointsTab.d.ts +6 -0
- package/dist/pages/tunnels/tabs/TunnelEndpointsTab.js +14 -15
- package/dist/pages/tunnels/tabs/TunnelOverviewTab.d.ts +8 -0
- package/dist/pages/tunnels/tabs/TunnelOverviewTab.js +9 -10
- package/dist/pages/tunnels/tabs/TunnelSessionsTab.d.ts +4 -0
- package/dist/pages/tunnels/tabs/TunnelSessionsTab.js +7 -8
- package/dist/pages/tunnels/tabs/TunnelSettingsTab.d.ts +9 -0
- package/dist/pages/tunnels/tabs/TunnelSettingsTab.js +4 -5
- package/dist/pages/tunnels/tabs/TunnelUsageTab.d.ts +3 -0
- package/dist/pages/tunnels/tabs/TunnelUsageTab.js +12 -13
- package/dist/plugin.d.ts +2 -0
- package/dist/plugin.js +1 -2
- package/dist/providers/AgentEventsProvider.d.ts +77 -0
- package/dist/providers/AgentEventsProvider.js +2 -3
- package/dist/providers/QuotaExhaustedProvider.d.ts +4 -0
- package/dist/providers/QuotaExhaustedProvider.js +1 -2
- package/dist/providers/VibeControlsProvider.d.ts +40 -0
- package/dist/providers/VibeControlsProvider.js +63 -62
- package/dist/services/agentRemoteTaskGates.d.ts +29 -0
- package/dist/services/agentRemoteTaskGates.js +11 -12
- package/dist/services/aiApi.d.ts +370 -0
- package/dist/services/aiApi.js +1 -2
- package/dist/services/assistantApi.d.ts +35 -0
- package/dist/services/assistantApi.js +7 -12
- package/dist/services/gitopsApi.d.ts +55 -0
- package/dist/services/gitopsApi.js +1 -2
- package/dist/services/iframeToken.d.ts +97 -0
- package/dist/services/iframeToken.js +2 -3
- package/dist/services/planApi.d.ts +85 -0
- package/dist/services/planApi.js +1 -2
- package/dist/services/schedulerApi.d.ts +22 -0
- package/dist/services/schedulerApi.js +1 -2
- package/dist/services/speech/index.d.ts +21 -0
- package/dist/services/speech/index.js +1 -2
- package/dist/shared/hooks/useField.d.ts +26 -0
- package/dist/shared/hooks/useField.js +1 -2
- package/dist/shared/hooks/useTr.d.ts +16 -0
- package/dist/shared/hooks/useTr.js +1 -2
- package/dist/store/agentManagerStore.d.ts +101 -0
- package/dist/store/agentManagerStore.js +2 -3
- package/dist/store/vibeControlsStore.d.ts +175 -0
- package/dist/store/vibeControlsStore.js +1 -2
- package/dist/switchRedirectRules.d.ts +32 -0
- package/dist/switchRedirectRules.js +1 -2
- package/dist/test-support/happyDomEnv.d.ts +1 -0
- package/dist/translations/en.d.ts +3198 -0
- package/dist/translations/en.js +1 -2
- package/dist/types/agentManager.d.ts +96 -0
- package/dist/types/assistant.d.ts +16 -0
- package/dist/types/assistant.js +1 -2
- package/dist/types/index.d.ts +161 -0
- package/dist/utils/agentApiPath.d.ts +8 -0
- package/dist/utils/agentApiPath.js +1 -2
- package/dist/utils/agentGatewayRecovery.d.ts +64 -0
- package/dist/utils/agentGatewayRecovery.js +2 -3
- package/dist/utils/agentHealth.d.ts +22 -0
- package/dist/utils/agentHealth.js +1 -2
- package/dist/utils/agentStatus.d.ts +41 -0
- package/dist/utils/agentStatus.js +1 -2
- package/dist/utils/agentVisibility.d.ts +40 -0
- package/dist/utils/agentVisibility.js +1 -2
- package/dist/utils/aiCredits.d.ts +7 -0
- package/dist/utils/aiCredits.js +1 -2
- package/dist/utils/aiCreditsLedger.d.ts +64 -0
- package/dist/utils/aiCreditsLedger.js +2 -3
- package/dist/utils/aiSessionNotFound.d.ts +1 -0
- package/dist/utils/aiSessionNotFound.js +1 -2
- package/dist/utils/assistantPrompt.d.ts +43 -0
- package/dist/utils/assistantPrompt.js +3 -8
- package/dist/utils/nativeBridge.d.ts +2 -0
- package/dist/utils/nativeBridge.js +1 -2
- package/dist/utils/onboardingUtils.d.ts +29 -0
- package/dist/utils/onboardingUtils.js +11 -14
- package/dist/utils/pageContext.d.ts +69 -0
- package/dist/utils/pageContext.js +2 -3
- package/dist/utils/quotaUtils.d.ts +38 -0
- package/dist/utils/quotaUtils.js +2 -3
- package/dist/utils/randomSessionName.d.ts +2 -0
- package/dist/utils/randomSessionName.js +1 -2
- package/dist/utils/relativeTime.d.ts +2 -0
- package/dist/utils/relativeTime.js +1 -2
- package/dist/utils/shareUrl.d.ts +4 -0
- package/dist/utils/shareUrl.js +1 -2
- package/dist/utils/storeInstallSource.d.ts +18 -0
- package/dist/utils/storeInstallSource.js +1 -2
- package/package.json +87 -67
- package/dist/node_modules/d3-array/src/ascending.js +0 -6
- package/dist/node_modules/d3-array/src/bisect.js +0 -8
- package/dist/node_modules/d3-array/src/bisector.js +0 -41
- package/dist/node_modules/d3-array/src/descending.js +0 -6
- package/dist/node_modules/d3-array/src/max.js +0 -12
- package/dist/node_modules/d3-array/src/min.js +0 -12
- package/dist/node_modules/d3-array/src/number.js +0 -13
- package/dist/node_modules/d3-array/src/quantile.js +0 -23
- package/dist/node_modules/d3-array/src/quickselect.js +0 -24
- package/dist/node_modules/d3-array/src/range.js +0 -8
- package/dist/node_modules/d3-array/src/sort.js +0 -15
- package/dist/node_modules/d3-array/src/ticks.js +0 -32
- package/dist/node_modules/d3-color/src/color.js +0 -289
- package/dist/node_modules/d3-color/src/define.js +0 -11
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -13
- package/dist/node_modules/d3-format/src/exponent.js +0 -7
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -11
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -9
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -11
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -27
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -18
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
- package/dist/node_modules/d3-format/src/identity.js +0 -6
- package/dist/node_modules/d3-format/src/locale.js +0 -84
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
- package/dist/node_modules/d3-interpolate/src/array.js +0 -13
- package/dist/node_modules/d3-interpolate/src/basis.js +0 -14
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -11
- package/dist/node_modules/d3-interpolate/src/color.js +0 -23
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
- package/dist/node_modules/d3-interpolate/src/date.js +0 -9
- package/dist/node_modules/d3-interpolate/src/number.js +0 -8
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -14
- package/dist/node_modules/d3-interpolate/src/object.js +0 -12
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -17
- package/dist/node_modules/d3-interpolate/src/round.js +0 -8
- package/dist/node_modules/d3-interpolate/src/string.js +0 -26
- package/dist/node_modules/d3-interpolate/src/value.js +0 -16
- package/dist/node_modules/d3-scale/src/band.js +0 -50
- package/dist/node_modules/d3-scale/src/constant.js +0 -8
- package/dist/node_modules/d3-scale/src/continuous.js +0 -71
- package/dist/node_modules/d3-scale/src/diverging.js +0 -80
- package/dist/node_modules/d3-scale/src/identity.js +0 -18
- package/dist/node_modules/d3-scale/src/init.js +0 -27
- package/dist/node_modules/d3-scale/src/linear.js +0 -34
- package/dist/node_modules/d3-scale/src/log.js +0 -75
- package/dist/node_modules/d3-scale/src/nice.js +0 -8
- package/dist/node_modules/d3-scale/src/number.js +0 -6
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -29
- package/dist/node_modules/d3-scale/src/pow.js +0 -35
- package/dist/node_modules/d3-scale/src/quantile.js +0 -35
- package/dist/node_modules/d3-scale/src/quantize.js +0 -31
- package/dist/node_modules/d3-scale/src/radial.js +0 -37
- package/dist/node_modules/d3-scale/src/sequential.js +0 -65
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -28
- package/dist/node_modules/d3-scale/src/symlog.js +0 -28
- package/dist/node_modules/d3-scale/src/threshold.js +0 -23
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -29
- package/dist/node_modules/d3-scale/src/time.js +0 -45
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
- package/dist/node_modules/d3-shape/src/area.js +0 -53
- package/dist/node_modules/d3-shape/src/array.js +0 -6
- package/dist/node_modules/d3-shape/src/constant.js +0 -8
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -47
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -48
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -44
- package/dist/node_modules/d3-shape/src/curve/bump.js +0 -38
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -34
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -92
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -37
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -45
- package/dist/node_modules/d3-shape/src/line.js +0 -28
- package/dist/node_modules/d3-shape/src/math.js +0 -6
- package/dist/node_modules/d3-shape/src/noop.js +0 -4
- package/dist/node_modules/d3-shape/src/offset/expand.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/none.js +0 -6
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -19
- package/dist/node_modules/d3-shape/src/order/none.js +0 -7
- package/dist/node_modules/d3-shape/src/path.js +0 -17
- package/dist/node_modules/d3-shape/src/point.js +0 -9
- package/dist/node_modules/d3-shape/src/stack.js +0 -32
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -13
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol.js +0 -21
- package/dist/node_modules/d3-time/src/day.js +0 -19
- package/dist/node_modules/d3-time/src/duration.js +0 -4
- package/dist/node_modules/d3-time/src/hour.js +0 -17
- package/dist/node_modules/d3-time/src/interval.js +0 -26
- package/dist/node_modules/d3-time/src/millisecond.js +0 -12
- package/dist/node_modules/d3-time/src/minute.js +0 -17
- package/dist/node_modules/d3-time/src/month.js +0 -16
- package/dist/node_modules/d3-time/src/second.js +0 -11
- package/dist/node_modules/d3-time/src/ticks.js +0 -123
- package/dist/node_modules/d3-time/src/week.js +0 -23
- package/dist/node_modules/d3-time/src/year.js +0 -24
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -60
- package/dist/node_modules/internmap/src/index.js +0 -38
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useVibeControlsStore as
|
|
4
|
-
import { PageHeader as
|
|
5
|
-
import { ErrorState as
|
|
6
|
-
import { EntityTagPicker as re } from "../components/shared/EntityTagPicker.js";
|
|
7
|
-
import { EmptyState as h } from "../components/shared/EmptyState.js";
|
|
8
|
-
import { StatusBadge as g } from "../components/shared/StatusBadge.js";
|
|
9
|
-
import { Card as _ } from "../components/shared/Card.js";
|
|
10
|
-
import { SESSION_PROVIDER_PACKAGES as ie } from "../constants/pluginCatalog.js";
|
|
11
|
-
import { PluginGate as ae } from "../components/shared/PluginGate.js";
|
|
12
|
-
import { useActiveAgentProfile as oe } from "../hooks/useActiveAgentProfile.js";
|
|
1
|
+
import { EntityTagPicker as e } from "../components/shared/EntityTagPicker.js";
|
|
2
|
+
import { PageSkeleton as t } from "../components/shared/PageSkeleton.js";
|
|
3
|
+
import { useVibeControlsStore as n } from "../store/vibeControlsStore.js";
|
|
4
|
+
import { PageHeader as r } from "../components/shared/PageHeader.js";
|
|
5
|
+
import { ErrorState as i } from "../components/shared/ErrorState.js";
|
|
13
6
|
import "../components/shared/index.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import "../components/
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
7
|
+
import { EmptyState as a } from "../components/shared/EmptyState.js";
|
|
8
|
+
import { StatusBadge as o } from "../components/shared/StatusBadge.js";
|
|
9
|
+
import { Card as s } from "../components/shared/Card.js";
|
|
10
|
+
import { SESSION_PROVIDER_PACKAGES as c } from "../constants/pluginCatalog.js";
|
|
11
|
+
import { PluginGate as l } from "../components/shared/PluginGate.js";
|
|
19
12
|
import "../components/agents/index.js";
|
|
20
|
-
import {
|
|
13
|
+
import { useActiveAgentProfile as ee } from "../hooks/useActiveAgentProfile.js";
|
|
21
14
|
import "../components/notes/index.js";
|
|
22
|
-
import {
|
|
23
|
-
import { appendIframeTokenFragment as x, mintScopedIframeToken as ue, scheduleScopedIframeTokenRefresh as de } from "../services/iframeToken.js";
|
|
24
|
-
import { AddTabDialog as fe } from "../components/plugins/AddTabDialog.js";
|
|
25
|
-
import { PluginIframeMount as pe } from "../components/plugins/PluginIframeMount.js";
|
|
26
|
-
import { DocsTabPanel as me } from "../components/docs/DocsTabPanel.js";
|
|
15
|
+
import { VibeShareButton as te } from "../components/sharing/VibeShareButton.js";
|
|
27
16
|
import "../components/docs/index.js";
|
|
28
|
-
import { ScorecardPanel as he } from "../components/scorecard/ScorecardPanel.js";
|
|
29
17
|
import "../components/scorecard/index.js";
|
|
30
|
-
import {
|
|
18
|
+
import { VibeOpenInEditorMenu as ne } from "../components/agents/VibeOpenInEditorMenu.js";
|
|
19
|
+
import { VIBE_PERMISSIONS as u } from "../constants/permissions.js";
|
|
20
|
+
import { NotesTabPanel as re } from "../components/notes/NotesTabPanel.js";
|
|
21
|
+
import { useVibeControls as ie, useVibeNavigate as d } from "../providers/VibeControlsProvider.js";
|
|
22
|
+
import { useQueryBackedTab as f } from "../hooks/useQueryBackedTab.js";
|
|
23
|
+
import { useAddVibeToCatalogMutation as ae, useAgentPlaygroundConfigQuery as p, useArchiveVibeMutation as oe, useCreateSessionMutation as se, useDeleteVibeMutation as ce, useGetVibeCatalogsQuery as le, useGetVibeFeatureCatalogQuery as ue, useGetVibeFeatureFlagsQuery as de, useGetVibeQuery as fe, useRemoveVibeFromCatalogMutation as m, useSetAgentPlaygroundConfigMutation as h, useSetVibeFeatureFlagMutation as g, useUpdateVibeStatusMutation as pe } from "../generated/wspace-operations.js";
|
|
31
24
|
import "../components/vibes/index.js";
|
|
32
|
-
import { VibeGitOpsTab as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
25
|
+
import { VibeGitOpsTab as me } from "../components/gitops/VibeGitOpsTab.js";
|
|
26
|
+
import { DocsTabPanel as he } from "../components/docs/DocsTabPanel.js";
|
|
27
|
+
import { VibeAgentEmptyState as ge } from "../components/vibe/VibeAgentEmptyState.js";
|
|
28
|
+
import { ScorecardPanel as _e } from "../components/scorecard/ScorecardPanel.js";
|
|
29
|
+
import { VibeAgentSwitcher as ve } from "../components/vibe/VibeAgentSwitcher.js";
|
|
30
|
+
import { DeleteVibeDialog as ye } from "../components/vibes/DeleteVibeDialog.js";
|
|
35
31
|
import { DEFAULT_VIBE_FEATURE_CATALOG as be, isVibeFeatureEnabled as xe } from "../lib/vibeFeatures.js";
|
|
36
|
-
import {
|
|
32
|
+
import { appendIframeTokenFragment as _, mintScopedIframeToken as Se, scheduleScopedIframeTokenRefresh as Ce } from "../services/iframeToken.js";
|
|
33
|
+
import { AddTabDialog as we } from "../components/plugins/AddTabDialog.js";
|
|
34
|
+
import { PluginIframeMount as Te } from "../components/plugins/PluginIframeMount.js";
|
|
37
35
|
import "../components/security/index.js";
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
|
|
54
|
-
|
|
36
|
+
import { SecurityTabPanel as Ee } from "../components/security/SecurityTabPanel.js";
|
|
37
|
+
import { VibeLlmContextTabPanel as De } from "../components/vibe/VibeLlmContextTabPanel.js";
|
|
38
|
+
import { VibeEnvVarsPanel as Oe } from "../components/vibe/VibeEnvVarsPanel.js";
|
|
39
|
+
import { VibeLinkedEntitiesPanel as ke } from "../components/vibe/VibeLinkedEntitiesPanel.js";
|
|
40
|
+
import "../components/sharing/index.js";
|
|
41
|
+
import { useCallback as Ae, useEffect as v, useMemo as y, useRef as b, useState as x } from "react";
|
|
42
|
+
import { useI18n as je } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
43
|
+
import { Archive as Me, ArrowLeft as S, BarChart3 as Ne, BookOpen as Pe, Bot as C, Check as Fe, Clock as Ie, ExternalLink as Le, FileText as Re, Folder as ze, GitBranch as Be, GitMerge as Ve, Globe as He, Info as Ue, Library as We, Link2 as Ge, Loader2 as Ke, MoreVertical as qe, Network as Je, Pause as Ye, Play as Xe, Plus as w, RefreshCw as Ze, Server as Qe, Settings as $e, Shield as et, Tag as tt, Terminal as T, Trash2 as nt, X as E, Zap as D } from "lucide-react";
|
|
44
|
+
import { useParams as rt } from "react-router";
|
|
45
|
+
import { usePermissions as it } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
46
|
+
import { AnimatePresence as at, motion as O } from "framer-motion";
|
|
47
|
+
import { Fragment as ot, jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
48
|
+
import { NextSteps as st, PagePurpose as ct } from "@burdenoff/fe-libs/ui";
|
|
49
|
+
import { AccessDenied as lt, PermissionButton as ut } from "@burdenoff/fe-libs/shared/components";
|
|
50
|
+
import { useFeatureFlagDetails as j } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
51
|
+
import { MotionItem as M, MotionList as dt, MotionPage as N } from "@burdenoff/fe-libs/shared/motion";
|
|
52
|
+
import { usePluginContributions as ft } from "@burdenoff/fe-libs/shared/plugins";
|
|
53
|
+
// src/pages/VibeDetailsPage.tsx
|
|
54
|
+
var pt = [
|
|
55
55
|
"overview",
|
|
56
56
|
"config",
|
|
57
57
|
"git",
|
|
@@ -73,179 +73,175 @@ var lt = [
|
|
|
73
73
|
"aiContexts",
|
|
74
74
|
"instructionFiles",
|
|
75
75
|
"tunnels"
|
|
76
|
-
],
|
|
76
|
+
], mt = /* @__PURE__ */ new Set(["overview", "config"]), ht = /* @__PURE__ */ new Set(["apiPlayground"]), gt = /* @__PURE__ */ new Set([
|
|
77
77
|
"sessions",
|
|
78
78
|
"gitops",
|
|
79
79
|
"graphqlPlayground",
|
|
80
80
|
"git",
|
|
81
81
|
"security"
|
|
82
82
|
]);
|
|
83
|
-
function
|
|
84
|
-
let { t:
|
|
85
|
-
let
|
|
86
|
-
return
|
|
87
|
-
}, [
|
|
88
|
-
skip:
|
|
83
|
+
function P() {
|
|
84
|
+
let { t: ae } = je(), { id: p } = rt(), { basePath: le } = ie(), m = le || "", h = d(), _ = Ae((e, t) => {
|
|
85
|
+
let n = ae(e);
|
|
86
|
+
return n === e ? t : n;
|
|
87
|
+
}, [ae]), [Ce] = pe({ refetchQueries: ["GetVibe"] }), [Fe] = oe({ refetchQueries: ["GetVibe"] }), [Le, { loading: He }] = ce(), [Ke] = se({ refetchQueries: ["GetVibe", "ListSessions"] }), { hasPermission: E, isLoading: P } = it(), F = E(u.VIBE_READ), { data: yt } = ue({
|
|
88
|
+
skip: P || !F,
|
|
89
89
|
fetchPolicy: "cache-first",
|
|
90
90
|
errorPolicy: "ignore"
|
|
91
|
-
}),
|
|
91
|
+
}), bt = y(() => {
|
|
92
92
|
let e = new Map(be.map((e) => [e.id, e]));
|
|
93
|
-
for (let t of
|
|
93
|
+
for (let t of yt?.vibeFeatureCatalog ?? []) e.set(t.id, t);
|
|
94
94
|
return Array.from(e.values());
|
|
95
|
-
}, [
|
|
96
|
-
variables: { id:
|
|
97
|
-
skip: !
|
|
95
|
+
}, [yt?.vibeFeatureCatalog]), xt = y(() => bt.filter((e) => !ht.has(e.id)), [bt]), [St, { loading: Ct }] = g({ refetchQueries: ["GetVibe"] }), [wt, Tt] = x(!1), [Et, I] = x(null), [Dt, Ot] = x(!1), [kt, At] = x(null), jt = b(null), Mt = b(null), Nt = b(null), L = b(null), { data: Pt, loading: R, error: Ft, refetch: It } = fe({
|
|
96
|
+
variables: { id: p || "" },
|
|
97
|
+
skip: !p || P || !F,
|
|
98
98
|
fetchPolicy: "cache-and-network"
|
|
99
|
-
}),
|
|
100
|
-
variables: { id:
|
|
101
|
-
skip: !
|
|
99
|
+
}), z = Pt?.vibe, { data: Lt } = de({
|
|
100
|
+
variables: { id: p || "" },
|
|
101
|
+
skip: !p || P || !F,
|
|
102
102
|
fetchPolicy: "cache-first",
|
|
103
103
|
errorPolicy: "ignore"
|
|
104
|
-
}),
|
|
104
|
+
}), Rt = z, B = Lt?.vibe ?? Rt, V = Ae((e) => xe(B ?? null, e, xt), [B, xt]), zt = j("vibes.tabs.git"), Bt = j("vibes.tabs.scorecard"), Vt = j("vibes.tabs.graphql-playground"), Ht = j("vibes.tabs.git-iframe"), Ut = j("vibes.tabs.graphiql-iframe"), Wt = j("vibes.tabs.gitops-iframe"), Gt = Ae((e) => {
|
|
105
105
|
switch (e) {
|
|
106
|
-
case "git": return
|
|
107
|
-
case "scorecard": return
|
|
108
|
-
case "graphqlPlayground": return
|
|
106
|
+
case "git": return !zt || !!zt.value;
|
|
107
|
+
case "scorecard": return !Bt || !!Bt.value;
|
|
108
|
+
case "graphqlPlayground": return !Vt || !!Vt.value;
|
|
109
109
|
default: return !0;
|
|
110
110
|
}
|
|
111
111
|
}, [
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
]),
|
|
116
|
-
if (!
|
|
117
|
-
let e =
|
|
112
|
+
zt,
|
|
113
|
+
Bt,
|
|
114
|
+
Vt
|
|
115
|
+
]), H = z?.agents ?? [], U = z?.sessions || [], Kt = z?.children || [], qt = z?.parent || null, Jt = n((e) => p ? e.defaultAgentForVibe?.[p] : void 0), W = (Jt ? H.find((e) => e.id === Jt) : void 0) ?? (H.length === 1 ? H[0] : H.find((e) => !!e.tunnelUrl) ?? H[0] ?? null), G = W, Yt = W?.tunnelUrl ?? null, { active: K } = ee(W?.id ?? null), q = j("vibes.tabs.iframe-host")?.value === !0, Xt = y(() => {
|
|
116
|
+
if (!q || !W?.tunnelUrl) return [];
|
|
117
|
+
let e = W.id, t = K ?? "default";
|
|
118
118
|
return [{
|
|
119
|
-
tunnelUrl:
|
|
119
|
+
tunnelUrl: W.tunnelUrl,
|
|
120
120
|
profile: t,
|
|
121
|
-
label:
|
|
122
|
-
mintIframeToken: async ({ pathPrefixes: n }) =>
|
|
121
|
+
label: W.name ?? W.id,
|
|
122
|
+
mintIframeToken: async ({ pathPrefixes: n }) => Se(e, t, n)
|
|
123
123
|
}];
|
|
124
124
|
}, [
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
]),
|
|
125
|
+
q,
|
|
126
|
+
W,
|
|
127
|
+
K
|
|
128
|
+
]), J = ft(Xt, {
|
|
129
129
|
mountPoint: "vibe.detailTab",
|
|
130
|
-
enabled:
|
|
131
|
-
}),
|
|
132
|
-
let e =
|
|
133
|
-
return [...
|
|
134
|
-
}, [
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
activeAgentId:
|
|
138
|
-
selectedAgentId:
|
|
139
|
-
activeVibeId:
|
|
140
|
-
selectedVibeId:
|
|
130
|
+
enabled: q && Xt.length > 0
|
|
131
|
+
}), Zt = y(() => {
|
|
132
|
+
let e = J.data.filter((e) => e.contribution.mountPoint === "vibe.detailTab").map((e) => e.contribution.id);
|
|
133
|
+
return [...pt, ...e];
|
|
134
|
+
}, [J.data]), [Y, X] = f(Zt, "overview"), [Qt, $t] = x(!1);
|
|
135
|
+
v(() => {
|
|
136
|
+
z && n.setState({
|
|
137
|
+
activeAgentId: W?.id ?? null,
|
|
138
|
+
selectedAgentId: W?.id ?? null,
|
|
139
|
+
activeVibeId: z.id,
|
|
140
|
+
selectedVibeId: z.id,
|
|
141
141
|
activeSessionId: null,
|
|
142
142
|
selectedSessionId: null
|
|
143
143
|
});
|
|
144
|
-
}, [
|
|
145
|
-
let
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
Q("overview");
|
|
149
|
-
return;
|
|
150
|
-
}
|
|
144
|
+
}, [z?.id, W?.id]);
|
|
145
|
+
let en = H.length > 0;
|
|
146
|
+
v(() => {
|
|
147
|
+
R || mt.has(Y) || V(Y) && Gt(Y) || X("overview");
|
|
151
148
|
}, [
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
149
|
+
Y,
|
|
150
|
+
V,
|
|
151
|
+
Gt,
|
|
152
|
+
en,
|
|
153
|
+
X,
|
|
154
|
+
R
|
|
158
155
|
]);
|
|
159
|
-
let
|
|
160
|
-
|
|
161
|
-
},
|
|
162
|
-
if (
|
|
163
|
-
await
|
|
164
|
-
id:
|
|
156
|
+
let Z = () => {
|
|
157
|
+
h("/vibes");
|
|
158
|
+
}, tn = async () => {
|
|
159
|
+
if (z?.id) try {
|
|
160
|
+
await Ce({ variables: {
|
|
161
|
+
id: z.id,
|
|
165
162
|
status: "ACTIVE"
|
|
166
163
|
} });
|
|
167
164
|
} catch (e) {
|
|
168
165
|
console.error("Failed to activate vibe:", e);
|
|
169
166
|
}
|
|
170
|
-
},
|
|
171
|
-
if (
|
|
172
|
-
await
|
|
173
|
-
id:
|
|
167
|
+
}, nn = async () => {
|
|
168
|
+
if (z?.id) try {
|
|
169
|
+
await Ce({ variables: {
|
|
170
|
+
id: z.id,
|
|
174
171
|
status: "INACTIVE"
|
|
175
172
|
} });
|
|
176
173
|
} catch (e) {
|
|
177
174
|
console.error("Failed to deactivate vibe:", e);
|
|
178
175
|
}
|
|
179
|
-
}, [
|
|
180
|
-
|
|
181
|
-
if (!
|
|
176
|
+
}, [rn, Q] = x(!1), [an, on] = x(!1), [sn, $] = x(!1), cn = b(null);
|
|
177
|
+
v(() => {
|
|
178
|
+
if (!sn) return;
|
|
182
179
|
let e = (e) => {
|
|
183
|
-
|
|
180
|
+
cn.current?.contains(e.target) || $(!1);
|
|
184
181
|
};
|
|
185
182
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
186
|
-
}, [
|
|
187
|
-
let
|
|
188
|
-
if (
|
|
189
|
-
await
|
|
183
|
+
}, [sn]);
|
|
184
|
+
let ln = async () => {
|
|
185
|
+
if (z?.id) try {
|
|
186
|
+
await Fe({ variables: { id: z.id } }), Q(!1);
|
|
190
187
|
} catch (e) {
|
|
191
188
|
console.error("Failed to archive vibe:", e);
|
|
192
189
|
}
|
|
193
|
-
},
|
|
194
|
-
if (
|
|
195
|
-
await
|
|
190
|
+
}, un = async (e) => {
|
|
191
|
+
if (z?.id) try {
|
|
192
|
+
await Le({
|
|
196
193
|
variables: {
|
|
197
|
-
id:
|
|
194
|
+
id: z.id,
|
|
198
195
|
deleteRelatedEntities: e
|
|
199
196
|
},
|
|
200
197
|
update: (e) => {
|
|
201
198
|
e.evict({ id: e.identify({
|
|
202
199
|
__typename: "Vibe",
|
|
203
|
-
id:
|
|
200
|
+
id: z.id
|
|
204
201
|
}) }), e.gc();
|
|
205
202
|
}
|
|
206
|
-
}),
|
|
203
|
+
}), on(!1), h("/vibes");
|
|
207
204
|
} catch (e) {
|
|
208
205
|
console.error("Failed to delete vibe:", e);
|
|
209
206
|
}
|
|
210
|
-
},
|
|
211
|
-
|
|
212
|
-
},
|
|
213
|
-
let e =
|
|
207
|
+
}, dn = () => {
|
|
208
|
+
I(null), Tt(!0);
|
|
209
|
+
}, fn = async () => {
|
|
210
|
+
let e = jt.current?.value?.trim(), t = Mt.current?.value, n = Nt.current?.value?.trim() || void 0, r = L.current?.value?.trim() || void 0;
|
|
214
211
|
if (!e) {
|
|
215
|
-
|
|
216
|
-
return;
|
|
217
|
-
}
|
|
218
|
-
let i = K?.id;
|
|
219
|
-
if (!i) {
|
|
220
|
-
z(W.length === 0 ? x("vibeDetails.noAgentAttached", "This vibe has no agent attached. Connect an agent to this vibe before creating a session.") : x("vibeDetails.selectAgent", "Select an agent for this vibe before creating a session."));
|
|
212
|
+
I(_("vibeDetails.sessionNameRequired", "Session name is required"));
|
|
221
213
|
return;
|
|
222
214
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
215
|
+
let i = W?.id;
|
|
216
|
+
if (!i) I(H.length === 0 ? _("vibeDetails.noAgentAttached", "This vibe has no agent attached. Connect an agent to this vibe before creating a session.") : _("vibeDetails.selectAgent", "Select an agent for this vibe before creating a session."));
|
|
217
|
+
else {
|
|
218
|
+
Ot(!0), I(null);
|
|
219
|
+
try {
|
|
220
|
+
await Ke({ variables: { input: {
|
|
221
|
+
name: e,
|
|
222
|
+
type: t || "TERMINAL",
|
|
223
|
+
agentId: i,
|
|
224
|
+
vibeId: z?.id,
|
|
225
|
+
command: n,
|
|
226
|
+
workingDirectory: r || z?.path || void 0
|
|
227
|
+
} } }), Tt(!1), jt.current && (jt.current.value = ""), Mt.current && (Mt.current.selectedIndex = 0), Nt.current && (Nt.current.value = ""), L.current && (L.current.value = ""), At(_("sessions.createdSuccess", "Session created successfully")), setTimeout(() => At(null), 3e3);
|
|
228
|
+
} catch (e) {
|
|
229
|
+
I(e instanceof Error ? e.message : _("sessions.failedCreate", "Failed to create session"));
|
|
230
|
+
} finally {
|
|
231
|
+
Ot(!1);
|
|
232
|
+
}
|
|
237
233
|
}
|
|
238
|
-
},
|
|
239
|
-
|
|
240
|
-
}, pn = (e) => {
|
|
241
|
-
u(`/sessions/${e}`);
|
|
234
|
+
}, pn = () => {
|
|
235
|
+
G && h(`/agents/${G.id}`);
|
|
242
236
|
}, mn = (e) => {
|
|
243
|
-
|
|
237
|
+
h(`/sessions/${e}`);
|
|
244
238
|
}, hn = (e) => {
|
|
245
|
-
|
|
246
|
-
let t = Date.now() - new Date(e).getTime();
|
|
247
|
-
return t < 6e4 ? x("health.justNow", "Just now") : t < 36e5 ? `${Math.floor(t / 6e4)}m ago` : t < 864e5 ? `${Math.floor(t / 36e5)}h ago` : new Date(e).toLocaleDateString();
|
|
239
|
+
h(`/vibes/${e}`);
|
|
248
240
|
}, gn = (e) => {
|
|
241
|
+
if (!e) return _("health.never", "Never");
|
|
242
|
+
let t = Date.now() - new Date(e).getTime();
|
|
243
|
+
return t < 6e4 ? _("health.justNow", "Just now") : t < 36e5 ? `${Math.floor(t / 6e4)}m ago` : t < 864e5 ? `${Math.floor(t / 36e5)}h ago` : new Date(e).toLocaleDateString();
|
|
244
|
+
}, _n = (e) => {
|
|
249
245
|
switch (e) {
|
|
250
246
|
case "clean": return "text-status-success-text";
|
|
251
247
|
case "modified": return "text-status-warning-text";
|
|
@@ -253,168 +249,168 @@ function R() {
|
|
|
253
249
|
default: return "text-text-secondary";
|
|
254
250
|
}
|
|
255
251
|
};
|
|
256
|
-
if (
|
|
252
|
+
if (P) return /* @__PURE__ */ k(N, {
|
|
257
253
|
className: "space-y-6 p-4 sm:p-6 bg-bg-surface min-h-screen",
|
|
258
|
-
children: /* @__PURE__ */
|
|
254
|
+
children: /* @__PURE__ */ k(t, { variant: "detail" })
|
|
259
255
|
});
|
|
260
|
-
if (!
|
|
256
|
+
if (!F) return /* @__PURE__ */ k(N, {
|
|
261
257
|
className: "space-y-6 p-4 sm:p-6 bg-bg-surface min-h-screen",
|
|
262
|
-
children: /* @__PURE__ */
|
|
263
|
-
title:
|
|
264
|
-
description:
|
|
258
|
+
children: /* @__PURE__ */ k(lt, {
|
|
259
|
+
title: _("vibeDetails.denied.title", "Access Denied"),
|
|
260
|
+
description: _("vibeDetails.denied.description", "You do not have permission to view this vibe.")
|
|
265
261
|
})
|
|
266
262
|
});
|
|
267
|
-
if (
|
|
263
|
+
if (R && !z) return /* @__PURE__ */ A(N, {
|
|
268
264
|
className: "space-y-6 p-4 sm:p-6 bg-bg-surface min-h-screen",
|
|
269
|
-
children: [/* @__PURE__ */
|
|
265
|
+
children: [/* @__PURE__ */ A("button", {
|
|
270
266
|
type: "button",
|
|
271
|
-
onClick:
|
|
267
|
+
onClick: Z,
|
|
272
268
|
className: "flex items-center gap-2 text-text-secondary hover:text-text-primary transition-colors",
|
|
273
|
-
children: [/* @__PURE__ */
|
|
274
|
-
}), /* @__PURE__ */
|
|
269
|
+
children: [/* @__PURE__ */ k(S, { className: "size-4" }), _("vibeDetails.backToVibes", "Back to Vibes")]
|
|
270
|
+
}), /* @__PURE__ */ k(t, { variant: "detail" })]
|
|
275
271
|
});
|
|
276
|
-
if (
|
|
272
|
+
if (Ft && !z) return /* @__PURE__ */ A(N, {
|
|
277
273
|
className: "space-y-6 p-4 sm:p-6 bg-bg-surface min-h-screen",
|
|
278
|
-
children: [/* @__PURE__ */
|
|
274
|
+
children: [/* @__PURE__ */ A("button", {
|
|
279
275
|
type: "button",
|
|
280
|
-
onClick:
|
|
276
|
+
onClick: Z,
|
|
281
277
|
className: "flex items-center gap-2 text-text-secondary hover:text-text-primary transition-colors",
|
|
282
|
-
children: [/* @__PURE__ */
|
|
283
|
-
}), /* @__PURE__ */
|
|
284
|
-
title:
|
|
285
|
-
message:
|
|
286
|
-
onRetry: () =>
|
|
278
|
+
children: [/* @__PURE__ */ k(S, { className: "size-4" }), _("vibeDetails.backToVibes", "Back to Vibes")]
|
|
279
|
+
}), /* @__PURE__ */ k(i, {
|
|
280
|
+
title: _("vibeDetails.failedLoad", "Failed to load vibe"),
|
|
281
|
+
message: Ft.message,
|
|
282
|
+
onRetry: () => It()
|
|
287
283
|
})]
|
|
288
284
|
});
|
|
289
|
-
if (!
|
|
285
|
+
if (!z) return /* @__PURE__ */ A(N, {
|
|
290
286
|
className: "space-y-6 p-4 sm:p-6 bg-bg-surface min-h-screen",
|
|
291
|
-
children: [/* @__PURE__ */
|
|
287
|
+
children: [/* @__PURE__ */ A("button", {
|
|
292
288
|
type: "button",
|
|
293
|
-
onClick:
|
|
289
|
+
onClick: Z,
|
|
294
290
|
className: "flex items-center gap-2 text-text-secondary hover:text-text-primary transition-colors",
|
|
295
|
-
children: [/* @__PURE__ */
|
|
296
|
-
}), /* @__PURE__ */
|
|
297
|
-
icon: /* @__PURE__ */
|
|
298
|
-
title:
|
|
299
|
-
description: `${
|
|
300
|
-
action: /* @__PURE__ */
|
|
291
|
+
children: [/* @__PURE__ */ k(S, { className: "size-4" }), _("vibeDetails.backToVibes", "Back to Vibes")]
|
|
292
|
+
}), /* @__PURE__ */ k(a, {
|
|
293
|
+
icon: /* @__PURE__ */ k(D, { className: "size-8 text-text-secondary" }),
|
|
294
|
+
title: _("vibeDetails.notFound", "Vibe not found"),
|
|
295
|
+
description: `${_("vibeDetails.notFoundDescriptionPrefix", "No vibe with ID")} "${p}" ${_("vibeDetails.notFoundDescriptionSuffix", "exists")}`,
|
|
296
|
+
action: /* @__PURE__ */ k("button", {
|
|
301
297
|
type: "button",
|
|
302
|
-
onClick:
|
|
298
|
+
onClick: Z,
|
|
303
299
|
className: "px-4 py-2 bg-action-primary-bg text-action-primary-text rounded-button hover:bg-action-primary-bgHover transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-focus",
|
|
304
|
-
children:
|
|
300
|
+
children: _("vibeDetails.backToVibes", "Back to Vibes")
|
|
305
301
|
})
|
|
306
302
|
})]
|
|
307
303
|
});
|
|
308
|
-
let
|
|
304
|
+
let vn = z.status === "ACTIVE" || z.status === "RUNNING", yn = U.filter((e) => e.status === "RUNNING").length, bn = Kt.length + +!!qt + +!!G, xn = !!(z.gitBranch || z.gitRemote), Sn = [
|
|
309
305
|
{
|
|
310
306
|
id: "overview",
|
|
311
|
-
label:
|
|
312
|
-
icon:
|
|
307
|
+
label: _("nav.overview", "Overview"),
|
|
308
|
+
icon: Ue
|
|
313
309
|
},
|
|
314
310
|
{
|
|
315
311
|
id: "config",
|
|
316
|
-
label:
|
|
317
|
-
icon:
|
|
312
|
+
label: _("vibeDetails.config", "Config"),
|
|
313
|
+
icon: $e
|
|
318
314
|
},
|
|
319
315
|
{
|
|
320
316
|
id: "git",
|
|
321
|
-
label:
|
|
322
|
-
icon:
|
|
323
|
-
badge:
|
|
317
|
+
label: _("vibeDetails.git", "Git"),
|
|
318
|
+
icon: Be,
|
|
319
|
+
badge: xn && z.gitBranch || void 0
|
|
324
320
|
},
|
|
325
321
|
{
|
|
326
322
|
id: "sessions",
|
|
327
|
-
label:
|
|
328
|
-
icon:
|
|
329
|
-
badge: `${
|
|
323
|
+
label: _("nav.sessions", "Sessions"),
|
|
324
|
+
icon: T,
|
|
325
|
+
badge: `${U.length}`
|
|
330
326
|
},
|
|
331
327
|
{
|
|
332
328
|
id: "notes",
|
|
333
|
-
label:
|
|
334
|
-
icon:
|
|
329
|
+
label: _("vibeDetails.notes", "Notes"),
|
|
330
|
+
icon: Re
|
|
335
331
|
},
|
|
336
332
|
{
|
|
337
333
|
id: "docs",
|
|
338
|
-
label:
|
|
339
|
-
icon:
|
|
334
|
+
label: _("vibeDetails.docs", "Docs"),
|
|
335
|
+
icon: Pe
|
|
340
336
|
},
|
|
341
337
|
{
|
|
342
338
|
id: "scorecard",
|
|
343
|
-
label:
|
|
344
|
-
icon:
|
|
339
|
+
label: _("vibeDetails.scorecard", "Scorecard"),
|
|
340
|
+
icon: Ne
|
|
345
341
|
},
|
|
346
342
|
{
|
|
347
343
|
id: "catalogs",
|
|
348
|
-
label:
|
|
349
|
-
icon:
|
|
344
|
+
label: _("vibeDetails.catalogs", "Catalogs"),
|
|
345
|
+
icon: We
|
|
350
346
|
},
|
|
351
347
|
{
|
|
352
348
|
id: "graphqlPlayground",
|
|
353
|
-
label:
|
|
354
|
-
icon:
|
|
349
|
+
label: _("vibeDetails.graphqlPlayground", "GraphQL"),
|
|
350
|
+
icon: Je
|
|
355
351
|
},
|
|
356
352
|
{
|
|
357
353
|
id: "gitops",
|
|
358
|
-
label:
|
|
359
|
-
icon:
|
|
354
|
+
label: _("vibeDetails.gitops", "GitOps"),
|
|
355
|
+
icon: Ve
|
|
360
356
|
},
|
|
361
357
|
{
|
|
362
358
|
id: "security",
|
|
363
|
-
label:
|
|
364
|
-
icon:
|
|
359
|
+
label: _("vibeDetails.security", "Security"),
|
|
360
|
+
icon: et
|
|
365
361
|
},
|
|
366
362
|
{
|
|
367
363
|
id: "related",
|
|
368
|
-
label:
|
|
369
|
-
icon:
|
|
370
|
-
badge:
|
|
364
|
+
label: _("vibeDetails.related", "Related"),
|
|
365
|
+
icon: Ge,
|
|
366
|
+
badge: bn > 0 ? `${bn}` : void 0
|
|
371
367
|
},
|
|
372
368
|
{
|
|
373
369
|
id: "llmContext",
|
|
374
|
-
label:
|
|
375
|
-
icon:
|
|
370
|
+
label: _("vibeDetails.llmContext", "LLM Context"),
|
|
371
|
+
icon: C
|
|
376
372
|
},
|
|
377
373
|
{
|
|
378
374
|
id: "vibedecks",
|
|
379
|
-
label:
|
|
380
|
-
icon:
|
|
375
|
+
label: _("vibeDetails.vibedecks", "Vibe Decks"),
|
|
376
|
+
icon: D
|
|
381
377
|
},
|
|
382
378
|
{
|
|
383
379
|
id: "actions",
|
|
384
|
-
label:
|
|
385
|
-
icon:
|
|
380
|
+
label: _("vibeDetails.actions", "Actions"),
|
|
381
|
+
icon: D
|
|
386
382
|
},
|
|
387
383
|
{
|
|
388
384
|
id: "scheduledJobs",
|
|
389
|
-
label:
|
|
390
|
-
icon:
|
|
385
|
+
label: _("vibeDetails.scheduledJobs", "Scheduled"),
|
|
386
|
+
icon: D
|
|
391
387
|
},
|
|
392
388
|
{
|
|
393
389
|
id: "sandboxes",
|
|
394
|
-
label:
|
|
395
|
-
icon:
|
|
390
|
+
label: _("vibeDetails.sandboxes", "Sandboxes"),
|
|
391
|
+
icon: T
|
|
396
392
|
},
|
|
397
393
|
{
|
|
398
394
|
id: "aiPrompts",
|
|
399
|
-
label:
|
|
400
|
-
icon:
|
|
395
|
+
label: _("vibeDetails.aiPrompts", "AI Prompts"),
|
|
396
|
+
icon: C
|
|
401
397
|
},
|
|
402
398
|
{
|
|
403
399
|
id: "aiContexts",
|
|
404
|
-
label:
|
|
405
|
-
icon:
|
|
400
|
+
label: _("vibeDetails.aiContexts", "AI Contexts"),
|
|
401
|
+
icon: C
|
|
406
402
|
},
|
|
407
403
|
{
|
|
408
404
|
id: "instructionFiles",
|
|
409
|
-
label:
|
|
410
|
-
icon:
|
|
405
|
+
label: _("vibeDetails.instructionFiles", "Instructions"),
|
|
406
|
+
icon: C
|
|
411
407
|
},
|
|
412
408
|
{
|
|
413
409
|
id: "tunnels",
|
|
414
|
-
label:
|
|
415
|
-
icon:
|
|
410
|
+
label: _("vibeDetails.tunnels", "Tunnels"),
|
|
411
|
+
icon: Je
|
|
416
412
|
}
|
|
417
|
-
],
|
|
413
|
+
], Cn = /* @__PURE__ */ new Set([
|
|
418
414
|
"vibedecks",
|
|
419
415
|
"actions",
|
|
420
416
|
"scheduledJobs",
|
|
@@ -423,128 +419,128 @@ function R() {
|
|
|
423
419
|
"aiContexts",
|
|
424
420
|
"instructionFiles",
|
|
425
421
|
"tunnels"
|
|
426
|
-
]),
|
|
427
|
-
return /* @__PURE__ */
|
|
422
|
+
]), wn = Sn.filter((e) => mt.has(e.id) || Cn.has(e.id) ? !0 : !(!V(e.id) || !Gt(e.id) || !en && gt.has(e.id) || e.id === "git" && Ht?.value === !0 || e.id === "graphqlPlayground" && Ut?.value === !0 || e.id === "gitops" && Wt?.value === !0));
|
|
423
|
+
return /* @__PURE__ */ A(N, {
|
|
428
424
|
className: "space-y-6 p-4 sm:p-6 bg-bg-surface min-h-screen",
|
|
429
425
|
children: [
|
|
430
|
-
|
|
426
|
+
kt && /* @__PURE__ */ k("div", {
|
|
431
427
|
className: "fixed top-4 left-4 right-4 sm:left-auto z-50 bg-status-success-bg-subtle text-status-success-text border border-status-success-border px-4 py-3 rounded-card shadow-elevation-3",
|
|
432
|
-
children:
|
|
428
|
+
children: kt
|
|
433
429
|
}),
|
|
434
|
-
/* @__PURE__ */
|
|
430
|
+
/* @__PURE__ */ A("button", {
|
|
435
431
|
type: "button",
|
|
436
|
-
onClick:
|
|
432
|
+
onClick: Z,
|
|
437
433
|
className: "flex items-center gap-2 text-text-secondary hover:text-text-primary transition-colors",
|
|
438
|
-
children: [/* @__PURE__ */
|
|
434
|
+
children: [/* @__PURE__ */ k(S, { className: "size-4" }), _("vibeDetails.backToVibes", "Back to Vibes")]
|
|
439
435
|
}),
|
|
440
|
-
/* @__PURE__ */
|
|
441
|
-
title:
|
|
442
|
-
description:
|
|
436
|
+
/* @__PURE__ */ k(r, {
|
|
437
|
+
title: z.name,
|
|
438
|
+
description: z.description || _("vibeDetails.noDescription", "No description"),
|
|
443
439
|
breadcrumb: [{
|
|
444
|
-
label:
|
|
445
|
-
path:
|
|
446
|
-
}, { label:
|
|
447
|
-
actions: /* @__PURE__ */
|
|
440
|
+
label: _("nav.vibes", "Vibes"),
|
|
441
|
+
path: m ? `${m}/vibes` : "/vibes"
|
|
442
|
+
}, { label: z.name }],
|
|
443
|
+
actions: /* @__PURE__ */ A("div", {
|
|
448
444
|
className: "flex items-center gap-2 flex-wrap",
|
|
449
445
|
children: [
|
|
450
|
-
/* @__PURE__ */
|
|
446
|
+
/* @__PURE__ */ k("button", {
|
|
451
447
|
type: "button",
|
|
452
|
-
onClick: () =>
|
|
453
|
-
disabled:
|
|
448
|
+
onClick: () => It(),
|
|
449
|
+
disabled: R,
|
|
454
450
|
className: "flex items-center justify-center p-2 bg-bg-sunken text-text-primary rounded-md hover:bg-bg-sunken/80 transition-colors disabled:opacity-50",
|
|
455
|
-
title:
|
|
456
|
-
children: /* @__PURE__ */
|
|
451
|
+
title: _("common.refresh", "Refresh"),
|
|
452
|
+
children: /* @__PURE__ */ k(Ze, { className: `size-4 ${R ? "animate-spin" : ""}` })
|
|
457
453
|
}),
|
|
458
|
-
/* @__PURE__ */
|
|
454
|
+
/* @__PURE__ */ A("button", {
|
|
459
455
|
type: "button",
|
|
460
|
-
onClick: () =>
|
|
456
|
+
onClick: () => h(`/ai?vibeId=${z.id}&contextLevel=vibe`),
|
|
461
457
|
className: "flex items-center gap-1.5 px-2.5 py-1.5 sm:px-3 sm:py-2 text-xs sm:text-sm bg-bg-sunken text-text-primary rounded-md hover:bg-bg-sunken/80 transition-colors",
|
|
462
|
-
title:
|
|
458
|
+
title: _("vibeDetails.openAiChat", "Open AI chat in this vibe"),
|
|
463
459
|
"data-testid": "vibe-open-ai-chat",
|
|
464
|
-
children: [/* @__PURE__ */
|
|
460
|
+
children: [/* @__PURE__ */ k(C, { className: "size-3.5 sm:w-4 sm:h-4" }), /* @__PURE__ */ k("span", {
|
|
465
461
|
className: "hidden sm:inline",
|
|
466
|
-
children:
|
|
462
|
+
children: _("vibeDetails.aiChat", "AI Chat")
|
|
467
463
|
})]
|
|
468
464
|
}),
|
|
469
|
-
/* @__PURE__ */
|
|
465
|
+
/* @__PURE__ */ k(te, {
|
|
470
466
|
vibe: {
|
|
471
|
-
id:
|
|
472
|
-
name:
|
|
467
|
+
id: z.id,
|
|
468
|
+
name: z.name
|
|
473
469
|
},
|
|
474
|
-
label:
|
|
470
|
+
label: _("vibeDetails.share", "Share")
|
|
475
471
|
}),
|
|
476
|
-
/* @__PURE__ */
|
|
477
|
-
vibeId:
|
|
478
|
-
workspacePath:
|
|
479
|
-
agentId:
|
|
480
|
-
tunnelUrl:
|
|
481
|
-
profile:
|
|
482
|
-
browserEditorEnabled:
|
|
472
|
+
/* @__PURE__ */ k(ne, {
|
|
473
|
+
vibeId: z.id,
|
|
474
|
+
workspacePath: z.path,
|
|
475
|
+
agentId: W?.id ?? null,
|
|
476
|
+
tunnelUrl: Yt,
|
|
477
|
+
profile: K ?? "default",
|
|
478
|
+
browserEditorEnabled: V("browserEditor")
|
|
483
479
|
}),
|
|
484
|
-
/* @__PURE__ */
|
|
485
|
-
permission:
|
|
480
|
+
/* @__PURE__ */ k(ut, {
|
|
481
|
+
permission: u.SESSION_CREATE,
|
|
486
482
|
deniedBehavior: "disable",
|
|
487
483
|
deniedTooltip: "You don't have permission to create sessions",
|
|
488
|
-
children: /* @__PURE__ */
|
|
484
|
+
children: /* @__PURE__ */ A("button", {
|
|
489
485
|
type: "button",
|
|
490
|
-
onClick:
|
|
486
|
+
onClick: dn,
|
|
491
487
|
className: "flex items-center gap-1.5 px-2.5 py-1.5 sm:px-3 sm:py-2 text-xs sm:text-sm bg-action-primary-bg text-action-primary-text rounded-button hover:bg-action-primary-bgHover transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-focus",
|
|
492
488
|
children: [
|
|
493
|
-
/* @__PURE__ */
|
|
494
|
-
/* @__PURE__ */
|
|
489
|
+
/* @__PURE__ */ k(w, { className: "size-3.5 sm:w-4 sm:h-4" }),
|
|
490
|
+
/* @__PURE__ */ k("span", {
|
|
495
491
|
className: "hidden sm:inline",
|
|
496
|
-
children:
|
|
492
|
+
children: _("vibeDetails.new", "New")
|
|
497
493
|
}),
|
|
498
|
-
/* @__PURE__ */
|
|
494
|
+
/* @__PURE__ */ k("span", {
|
|
499
495
|
className: "hidden sm:inline",
|
|
500
|
-
children:
|
|
496
|
+
children: _("nav.sessions", "Session")
|
|
501
497
|
})
|
|
502
498
|
]
|
|
503
499
|
})
|
|
504
500
|
}),
|
|
505
|
-
(
|
|
501
|
+
(E(u.VIBE_UPDATE) || E(u.VIBE_DELETE)) && /* @__PURE__ */ A("div", {
|
|
506
502
|
className: "relative",
|
|
507
|
-
ref:
|
|
508
|
-
children: [/* @__PURE__ */
|
|
503
|
+
ref: cn,
|
|
504
|
+
children: [/* @__PURE__ */ k("button", {
|
|
509
505
|
type: "button",
|
|
510
|
-
onClick: () =>
|
|
506
|
+
onClick: () => $((e) => !e),
|
|
511
507
|
"aria-haspopup": "menu",
|
|
512
|
-
"aria-expanded":
|
|
513
|
-
"aria-label":
|
|
514
|
-
title:
|
|
508
|
+
"aria-expanded": sn,
|
|
509
|
+
"aria-label": _("common.moreActions", "More actions"),
|
|
510
|
+
title: _("common.moreActions", "More actions"),
|
|
515
511
|
className: "flex items-center justify-center p-2 bg-bg-sunken text-text-primary rounded-md hover:bg-bg-sunken/80 transition-colors",
|
|
516
|
-
children: /* @__PURE__ */
|
|
517
|
-
}),
|
|
512
|
+
children: /* @__PURE__ */ k(qe, { className: "size-4" })
|
|
513
|
+
}), sn && /* @__PURE__ */ A("div", {
|
|
518
514
|
role: "menu",
|
|
519
515
|
className: "absolute right-0 mt-2 min-w-[12rem] bg-bg-elevated border border-border-subtle rounded-card shadow-elevation-3 z-20 py-1",
|
|
520
516
|
children: [
|
|
521
|
-
|
|
517
|
+
E(u.VIBE_UPDATE) && /* @__PURE__ */ k("button", {
|
|
522
518
|
type: "button",
|
|
523
519
|
role: "menuitem",
|
|
524
520
|
onClick: () => {
|
|
525
|
-
|
|
521
|
+
$(!1), vn ? nn() : tn();
|
|
526
522
|
},
|
|
527
523
|
className: "w-full flex items-center gap-2 px-3 py-2 text-sm text-text-primary hover:bg-action-ghost-bg-hover text-left",
|
|
528
|
-
children:
|
|
524
|
+
children: vn ? /* @__PURE__ */ A(ot, { children: [/* @__PURE__ */ k(Ye, { className: "size-4 text-text-secondary" }), /* @__PURE__ */ k("span", { children: _("vibeDetails.pauseVibe", "Pause vibe (stop scheduled runs)") })] }) : /* @__PURE__ */ A(ot, { children: [/* @__PURE__ */ k(Xe, { className: "size-4 text-status-success-text" }), /* @__PURE__ */ k("span", { children: _("vibeDetails.resumeVibe", "Resume vibe (re-enable scheduled runs)") })] })
|
|
529
525
|
}),
|
|
530
|
-
|
|
526
|
+
E(u.VIBE_UPDATE) && /* @__PURE__ */ A("button", {
|
|
531
527
|
type: "button",
|
|
532
528
|
role: "menuitem",
|
|
533
529
|
onClick: () => {
|
|
534
|
-
|
|
530
|
+
$(!1), Q(!0);
|
|
535
531
|
},
|
|
536
532
|
className: "w-full flex items-center gap-2 px-3 py-2 text-sm text-status-warning-text hover:bg-action-ghost-bg-hover text-left",
|
|
537
|
-
children: [/* @__PURE__ */
|
|
533
|
+
children: [/* @__PURE__ */ k(Me, { className: "size-4" }), /* @__PURE__ */ k("span", { children: _("vibeDetails.archive", "Archive vibe…") })]
|
|
538
534
|
}),
|
|
539
|
-
|
|
540
|
-
|
|
535
|
+
E(u.VIBE_UPDATE) && E(u.VIBE_DELETE) && /* @__PURE__ */ k("div", { className: "border-t border-border-subtle my-1" }),
|
|
536
|
+
E(u.VIBE_DELETE) && /* @__PURE__ */ A("button", {
|
|
541
537
|
type: "button",
|
|
542
538
|
role: "menuitem",
|
|
543
539
|
onClick: () => {
|
|
544
|
-
|
|
540
|
+
$(!1), on(!0);
|
|
545
541
|
},
|
|
546
542
|
className: "w-full flex items-center gap-2 px-3 py-2 text-sm text-status-error-text hover:bg-action-ghost-bg-hover text-left",
|
|
547
|
-
children: [/* @__PURE__ */
|
|
543
|
+
children: [/* @__PURE__ */ k(nt, { className: "size-4" }), /* @__PURE__ */ k("span", { children: _("vibeDetails.delete", "Delete vibe…") })]
|
|
548
544
|
})
|
|
549
545
|
]
|
|
550
546
|
})]
|
|
@@ -552,147 +548,147 @@ function R() {
|
|
|
552
548
|
]
|
|
553
549
|
})
|
|
554
550
|
}),
|
|
555
|
-
/* @__PURE__ */
|
|
556
|
-
icon: /* @__PURE__ */
|
|
557
|
-
children:
|
|
551
|
+
/* @__PURE__ */ k(ct, {
|
|
552
|
+
icon: /* @__PURE__ */ k(C, { className: "size-4" }),
|
|
553
|
+
children: _("vibeDetails.purpose", "This is the home for a single vibe — everything for this piece of work in one place. From here you start sessions on its agent, chat with AI in the vibe’s context, keep notes and docs, schedule tasks and review what happened. Use the tabs below to move between sessions, notes, scheduling and audit history.")
|
|
558
554
|
}),
|
|
559
|
-
/* @__PURE__ */
|
|
555
|
+
/* @__PURE__ */ k(st, {
|
|
560
556
|
storageKey: "vibecontrols-vibe-details",
|
|
561
557
|
steps: [
|
|
562
558
|
{
|
|
563
559
|
id: "start-session",
|
|
564
|
-
label:
|
|
565
|
-
description:
|
|
566
|
-
icon: /* @__PURE__ */
|
|
567
|
-
onClick:
|
|
560
|
+
label: _("vibeDetails.next.startSession", "Start a session"),
|
|
561
|
+
description: _("vibeDetails.next.startSessionDesc", "Open a terminal or task running on this vibe’s agent."),
|
|
562
|
+
icon: /* @__PURE__ */ k(w, { className: "size-4" }),
|
|
563
|
+
onClick: dn
|
|
568
564
|
},
|
|
569
565
|
{
|
|
570
566
|
id: "ai-chat",
|
|
571
|
-
label:
|
|
572
|
-
description:
|
|
573
|
-
icon: /* @__PURE__ */
|
|
574
|
-
onClick: () =>
|
|
567
|
+
label: _("vibeDetails.next.aiChat", "Chat with AI in this vibe"),
|
|
568
|
+
description: _("vibeDetails.next.aiChatDesc", "Ask the assistant questions with this vibe’s context already loaded."),
|
|
569
|
+
icon: /* @__PURE__ */ k(C, { className: "size-4" }),
|
|
570
|
+
onClick: () => h(`/ai?vibeId=${z.id}&contextLevel=vibe`)
|
|
575
571
|
},
|
|
576
572
|
{
|
|
577
573
|
id: "add-notes",
|
|
578
|
-
label:
|
|
579
|
-
description:
|
|
580
|
-
icon: /* @__PURE__ */
|
|
581
|
-
onClick: () =>
|
|
574
|
+
label: _("vibeDetails.next.captureNotes", "Capture notes & docs"),
|
|
575
|
+
description: _("vibeDetails.next.captureNotesDesc", "Use the Notes and Docs tabs to keep context with the work."),
|
|
576
|
+
icon: /* @__PURE__ */ k(S, { className: "size-4 rotate-180" }),
|
|
577
|
+
onClick: () => X("notes")
|
|
582
578
|
}
|
|
583
579
|
]
|
|
584
580
|
}),
|
|
585
|
-
|
|
581
|
+
rn && /* @__PURE__ */ k("div", {
|
|
586
582
|
tabIndex: 0,
|
|
587
583
|
onKeyDown: (e) => {
|
|
588
|
-
e.key === "Escape" && (e.preventDefault(),
|
|
584
|
+
e.key === "Escape" && (e.preventDefault(), Q(!1));
|
|
589
585
|
},
|
|
590
586
|
role: "dialog",
|
|
591
587
|
"aria-modal": "true",
|
|
592
588
|
"aria-labelledby": "archive-vibe-title",
|
|
593
589
|
className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
|
|
594
590
|
onClick: (e) => {
|
|
595
|
-
e.target === e.currentTarget &&
|
|
591
|
+
e.target === e.currentTarget && Q(!1);
|
|
596
592
|
},
|
|
597
|
-
children: /* @__PURE__ */
|
|
593
|
+
children: /* @__PURE__ */ A("div", {
|
|
598
594
|
className: "w-full max-w-md rounded-card bg-bg-elevated border border-border-subtle shadow-[var(--shadow-elevation-4)] p-5",
|
|
599
595
|
children: [
|
|
600
|
-
/* @__PURE__ */
|
|
596
|
+
/* @__PURE__ */ k("h2", {
|
|
601
597
|
id: "archive-vibe-title",
|
|
602
598
|
className: "text-base font-semibold text-text-primary mb-2",
|
|
603
|
-
children:
|
|
599
|
+
children: _("vibeDetails.archiveConfirmTitle", "Archive this vibe?")
|
|
604
600
|
}),
|
|
605
|
-
/* @__PURE__ */
|
|
601
|
+
/* @__PURE__ */ k("p", {
|
|
606
602
|
className: "text-sm text-text-secondary mb-4",
|
|
607
|
-
children:
|
|
603
|
+
children: _("vibeDetails.archiveConfirmBody", "Archived vibes are hidden from the active list and their scheduled actions stop firing. You can restore the vibe later from the archived view. Existing sessions, tunnels, and audit history are preserved.")
|
|
608
604
|
}),
|
|
609
|
-
/* @__PURE__ */
|
|
605
|
+
/* @__PURE__ */ A("div", {
|
|
610
606
|
className: "flex justify-end gap-2",
|
|
611
|
-
children: [/* @__PURE__ */
|
|
607
|
+
children: [/* @__PURE__ */ k("button", {
|
|
612
608
|
type: "button",
|
|
613
|
-
onClick: () =>
|
|
609
|
+
onClick: () => Q(!1),
|
|
614
610
|
className: "text-sm px-3 py-1.5 rounded-button border border-border-subtle text-text-primary hover:bg-action-ghost-bg-hover hover:border-border-strong transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-focus",
|
|
615
|
-
children:
|
|
616
|
-
}), /* @__PURE__ */
|
|
611
|
+
children: _("common.cancel", "Cancel")
|
|
612
|
+
}), /* @__PURE__ */ k("button", {
|
|
617
613
|
type: "button",
|
|
618
|
-
onClick:
|
|
614
|
+
onClick: ln,
|
|
619
615
|
className: "text-sm px-3 py-1.5 rounded-button bg-status-warning-bg-subtle text-status-warning-text border border-status-warning-border hover:bg-status-warning-bg-subtle/80 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-focus",
|
|
620
|
-
children:
|
|
616
|
+
children: _("vibeDetails.archive", "Archive")
|
|
621
617
|
})]
|
|
622
618
|
})
|
|
623
619
|
]
|
|
624
620
|
})
|
|
625
621
|
}),
|
|
626
|
-
|
|
622
|
+
an && z && /* @__PURE__ */ k(ye, {
|
|
627
623
|
vibe: {
|
|
628
|
-
id:
|
|
629
|
-
name:
|
|
624
|
+
id: z.id,
|
|
625
|
+
name: z.name
|
|
630
626
|
},
|
|
631
|
-
deleting:
|
|
632
|
-
onConfirm:
|
|
633
|
-
onCancel: () =>
|
|
627
|
+
deleting: He,
|
|
628
|
+
onConfirm: un,
|
|
629
|
+
onCancel: () => on(!1)
|
|
634
630
|
}),
|
|
635
|
-
/* @__PURE__ */
|
|
631
|
+
/* @__PURE__ */ A(dt, {
|
|
636
632
|
stagger: .04,
|
|
637
633
|
className: "grid grid-cols-2 sm:grid-cols-4 gap-3 sm:gap-4",
|
|
638
634
|
children: [
|
|
639
|
-
/* @__PURE__ */
|
|
635
|
+
/* @__PURE__ */ k(M, { children: /* @__PURE__ */ k(s, {
|
|
640
636
|
className: "p-3 sm:p-4",
|
|
641
|
-
children: /* @__PURE__ */
|
|
637
|
+
children: /* @__PURE__ */ A("div", {
|
|
642
638
|
className: "flex items-center gap-2 sm:gap-3",
|
|
643
|
-
children: [/* @__PURE__ */
|
|
639
|
+
children: [/* @__PURE__ */ k("div", {
|
|
644
640
|
className: "size-8 sm:size-10 rounded-lg bg-[var(--color-accent-soft)] flex items-center justify-center flex-shrink-0",
|
|
645
|
-
children: /* @__PURE__ */
|
|
646
|
-
}), /* @__PURE__ */
|
|
641
|
+
children: /* @__PURE__ */ k(D, { className: "size-4 sm:size-5 text-action-primary-bg" })
|
|
642
|
+
}), /* @__PURE__ */ A("div", {
|
|
647
643
|
className: "min-w-0",
|
|
648
|
-
children: [/* @__PURE__ */
|
|
644
|
+
children: [/* @__PURE__ */ k("p", {
|
|
649
645
|
className: "text-xs sm:text-sm text-text-secondary",
|
|
650
|
-
title:
|
|
651
|
-
children:
|
|
652
|
-
}), /* @__PURE__ */
|
|
653
|
-
status:
|
|
646
|
+
title: _("vibeDetails.statusTooltip", "ACTIVE: vibe is in your default working set and can run sessions, tunnels and GitOps via its attached agent(s). INACTIVE: vibe is parked — still visible, no sessions auto-resume. RUNNING: at least one session is live. ARCHIVED: hidden from default lists; can be restored."),
|
|
647
|
+
children: _("sessions.filterStatus", "Status")
|
|
648
|
+
}), /* @__PURE__ */ k(o, {
|
|
649
|
+
status: z.status,
|
|
654
650
|
size: "md"
|
|
655
651
|
})]
|
|
656
652
|
})]
|
|
657
653
|
})
|
|
658
654
|
}) }),
|
|
659
|
-
/* @__PURE__ */
|
|
655
|
+
/* @__PURE__ */ k(M, { children: /* @__PURE__ */ k(s, {
|
|
660
656
|
className: "p-3 sm:p-4",
|
|
661
|
-
children: /* @__PURE__ */
|
|
657
|
+
children: /* @__PURE__ */ A("div", {
|
|
662
658
|
className: "flex items-center gap-2 sm:gap-3",
|
|
663
|
-
children: [/* @__PURE__ */
|
|
659
|
+
children: [/* @__PURE__ */ k("div", {
|
|
664
660
|
className: "size-8 sm:size-10 rounded-lg bg-[var(--color-accent-soft)] flex items-center justify-center flex-shrink-0",
|
|
665
|
-
children: /* @__PURE__ */
|
|
666
|
-
}), /* @__PURE__ */
|
|
661
|
+
children: /* @__PURE__ */ k(Qe, { className: "size-4 sm:size-5 text-action-primary-bg" })
|
|
662
|
+
}), /* @__PURE__ */ A("div", {
|
|
667
663
|
className: "min-w-0 flex-1",
|
|
668
|
-
children: [/* @__PURE__ */
|
|
664
|
+
children: [/* @__PURE__ */ k("p", {
|
|
669
665
|
className: "text-xs sm:text-sm text-text-secondary",
|
|
670
|
-
children:
|
|
671
|
-
}), /* @__PURE__ */
|
|
666
|
+
children: _("sessions.filterAgent", "Agent")
|
|
667
|
+
}), /* @__PURE__ */ k("p", {
|
|
672
668
|
className: "font-semibold text-text-primary text-sm sm:text-base truncate",
|
|
673
|
-
children:
|
|
669
|
+
children: G?.name || _("targets.unknown", "Unknown")
|
|
674
670
|
})]
|
|
675
671
|
})]
|
|
676
672
|
})
|
|
677
673
|
}) }),
|
|
678
|
-
/* @__PURE__ */
|
|
674
|
+
/* @__PURE__ */ k(M, { children: /* @__PURE__ */ k(s, {
|
|
679
675
|
className: "p-3 sm:p-4",
|
|
680
|
-
children: /* @__PURE__ */
|
|
676
|
+
children: /* @__PURE__ */ A("div", {
|
|
681
677
|
className: "flex items-center gap-2 sm:gap-3",
|
|
682
|
-
children: [/* @__PURE__ */
|
|
678
|
+
children: [/* @__PURE__ */ k("div", {
|
|
683
679
|
className: "size-8 sm:size-10 rounded-lg bg-[var(--color-accent-soft)] flex items-center justify-center flex-shrink-0",
|
|
684
|
-
children: /* @__PURE__ */
|
|
685
|
-
}), /* @__PURE__ */
|
|
680
|
+
children: /* @__PURE__ */ k(T, { className: "size-4 sm:size-5 text-action-primary-bg" })
|
|
681
|
+
}), /* @__PURE__ */ A("div", {
|
|
686
682
|
className: "min-w-0",
|
|
687
|
-
children: [/* @__PURE__ */
|
|
683
|
+
children: [/* @__PURE__ */ k("p", {
|
|
688
684
|
className: "text-xs sm:text-sm text-text-secondary",
|
|
689
|
-
children:
|
|
690
|
-
}), /* @__PURE__ */
|
|
685
|
+
children: _("nav.sessions", "Sessions")
|
|
686
|
+
}), /* @__PURE__ */ A("p", {
|
|
691
687
|
className: "font-semibold text-text-primary text-sm sm:text-base",
|
|
692
688
|
children: [
|
|
693
|
-
|
|
689
|
+
yn,
|
|
694
690
|
" ",
|
|
695
|
-
|
|
691
|
+
_("health.active", "active")
|
|
696
692
|
]
|
|
697
693
|
})]
|
|
698
694
|
})]
|
|
@@ -700,35 +696,35 @@ function R() {
|
|
|
700
696
|
}) })
|
|
701
697
|
]
|
|
702
698
|
}),
|
|
703
|
-
/* @__PURE__ */
|
|
699
|
+
/* @__PURE__ */ k("div", {
|
|
704
700
|
className: "border-b border-border-default",
|
|
705
|
-
children: /* @__PURE__ */
|
|
701
|
+
children: /* @__PURE__ */ A("nav", {
|
|
706
702
|
className: "flex gap-1 -mb-px overflow-x-auto pb-1",
|
|
707
|
-
"aria-label":
|
|
703
|
+
"aria-label": _("vibeDetails.tabsAriaLabel", "Vibe tabs"),
|
|
708
704
|
children: [
|
|
709
|
-
|
|
710
|
-
let t = e.icon, n =
|
|
711
|
-
return /* @__PURE__ */
|
|
705
|
+
wn.map((e) => {
|
|
706
|
+
let t = e.icon, n = Y === e.id;
|
|
707
|
+
return /* @__PURE__ */ A("button", {
|
|
712
708
|
type: "button",
|
|
713
|
-
onClick: () =>
|
|
709
|
+
onClick: () => X(e.id),
|
|
714
710
|
className: `flex shrink-0 items-center gap-1.5 px-3 py-2.5 text-xs sm:gap-2 sm:px-4 sm:text-sm font-medium border-b-2 transition-colors whitespace-nowrap ${n ? "border-action-primary-bg text-action-primary-bg" : "border-transparent text-text-secondary hover:text-text-primary hover:border-border-default"}`,
|
|
715
711
|
"aria-selected": n,
|
|
716
712
|
role: "tab",
|
|
717
713
|
children: [
|
|
718
|
-
/* @__PURE__ */
|
|
714
|
+
/* @__PURE__ */ k(t, { className: "size-4" }),
|
|
719
715
|
e.label,
|
|
720
|
-
e.badge && /* @__PURE__ */
|
|
716
|
+
e.badge && /* @__PURE__ */ k("span", {
|
|
721
717
|
className: `hidden rounded-full px-1.5 py-0.5 text-[10px] sm:inline-flex sm:text-xs ${n ? "bg-action-primary-bg/10 text-action-primary-bg" : "bg-bg-sunken text-text-muted"}`,
|
|
722
718
|
children: e.badge
|
|
723
719
|
})
|
|
724
720
|
]
|
|
725
721
|
}, e.id);
|
|
726
722
|
}),
|
|
727
|
-
|
|
728
|
-
let t =
|
|
729
|
-
return /* @__PURE__ */
|
|
723
|
+
q && J.data.map((e) => {
|
|
724
|
+
let t = Y === e.contribution.id;
|
|
725
|
+
return /* @__PURE__ */ k("button", {
|
|
730
726
|
type: "button",
|
|
731
|
-
onClick: () =>
|
|
727
|
+
onClick: () => X(e.contribution.id),
|
|
732
728
|
className: `flex shrink-0 items-center gap-1.5 px-3 py-2.5 text-xs sm:gap-2 sm:px-4 sm:text-sm font-medium border-b-2 transition-colors whitespace-nowrap ${t ? "border-action-primary-bg text-action-primary-bg" : "border-transparent text-text-secondary hover:text-text-primary hover:border-border-default"}`,
|
|
733
729
|
"aria-selected": t,
|
|
734
730
|
role: "tab",
|
|
@@ -736,16 +732,16 @@ function R() {
|
|
|
736
732
|
children: e.contribution.title
|
|
737
733
|
}, `plugin-${e.contribution.id}`);
|
|
738
734
|
}),
|
|
739
|
-
|
|
735
|
+
q && W && /* @__PURE__ */ A("button", {
|
|
740
736
|
type: "button",
|
|
741
|
-
onClick: () =>
|
|
737
|
+
onClick: () => $t(!0),
|
|
742
738
|
className: "flex shrink-0 items-center gap-1 p-2 text-xs sm:text-sm border-b-2 border-transparent text-text-secondary hover:text-text-primary hover:border-border-default",
|
|
743
739
|
title: "Install a UI plugin tab",
|
|
744
740
|
"aria-label": "Add tab",
|
|
745
|
-
children: [/* @__PURE__ */
|
|
741
|
+
children: [/* @__PURE__ */ k("span", {
|
|
746
742
|
"aria-hidden": !0,
|
|
747
743
|
children: "+"
|
|
748
|
-
}), /* @__PURE__ */
|
|
744
|
+
}), /* @__PURE__ */ k("span", {
|
|
749
745
|
className: "hidden sm:inline",
|
|
750
746
|
children: "Add tab"
|
|
751
747
|
})]
|
|
@@ -753,10 +749,10 @@ function R() {
|
|
|
753
749
|
]
|
|
754
750
|
})
|
|
755
751
|
}),
|
|
756
|
-
/* @__PURE__ */
|
|
752
|
+
/* @__PURE__ */ A(at, {
|
|
757
753
|
mode: "wait",
|
|
758
754
|
children: [
|
|
759
|
-
|
|
755
|
+
Y === "overview" && /* @__PURE__ */ A(O.div, {
|
|
760
756
|
initial: {
|
|
761
757
|
opacity: 0,
|
|
762
758
|
y: 8
|
|
@@ -772,64 +768,64 @@ function R() {
|
|
|
772
768
|
transition: { duration: .2 },
|
|
773
769
|
className: "space-y-6",
|
|
774
770
|
children: [
|
|
775
|
-
|
|
771
|
+
z.description && /* @__PURE__ */ k(s, { children: /* @__PURE__ */ k("div", {
|
|
776
772
|
className: "p-4",
|
|
777
|
-
children: /* @__PURE__ */
|
|
773
|
+
children: /* @__PURE__ */ k("p", {
|
|
778
774
|
className: "text-text-primary",
|
|
779
|
-
children:
|
|
775
|
+
children: z.description
|
|
780
776
|
})
|
|
781
777
|
}) }),
|
|
782
|
-
!
|
|
783
|
-
vibeId:
|
|
784
|
-
tr:
|
|
785
|
-
onAttached: () =>
|
|
778
|
+
!en && /* @__PURE__ */ k(ge, {
|
|
779
|
+
vibeId: z.id,
|
|
780
|
+
tr: _,
|
|
781
|
+
onAttached: () => It()
|
|
786
782
|
}),
|
|
787
|
-
|
|
788
|
-
vibeId:
|
|
789
|
-
attachedAgents:
|
|
790
|
-
effectiveAgentId:
|
|
783
|
+
en && /* @__PURE__ */ k(ve, {
|
|
784
|
+
vibeId: z.id,
|
|
785
|
+
attachedAgents: H,
|
|
786
|
+
effectiveAgentId: W?.id ?? null
|
|
791
787
|
}),
|
|
792
|
-
/* @__PURE__ */
|
|
788
|
+
/* @__PURE__ */ A(s, { children: [/* @__PURE__ */ k("div", {
|
|
793
789
|
className: "p-3 sm:p-4 border-b border-border-default",
|
|
794
|
-
children: /* @__PURE__ */
|
|
790
|
+
children: /* @__PURE__ */ A("h3", {
|
|
795
791
|
className: "font-semibold text-text-primary flex items-center gap-2 text-sm sm:text-base",
|
|
796
|
-
children: [/* @__PURE__ */
|
|
792
|
+
children: [/* @__PURE__ */ k(ze, { className: "size-4 sm:w-5 sm:h-5" }), _("vibeDetails.path", "Path")]
|
|
797
793
|
})
|
|
798
|
-
}), /* @__PURE__ */
|
|
794
|
+
}), /* @__PURE__ */ k("div", {
|
|
799
795
|
className: "p-3 sm:p-4",
|
|
800
|
-
children: /* @__PURE__ */
|
|
796
|
+
children: /* @__PURE__ */ k("div", {
|
|
801
797
|
className: "bg-bg-sunken rounded-md p-2 sm:p-3 font-mono text-xs sm:text-sm text-text-primary overflow-x-auto break-all",
|
|
802
|
-
children:
|
|
798
|
+
children: z.path
|
|
803
799
|
})
|
|
804
800
|
})] }),
|
|
805
|
-
/* @__PURE__ */
|
|
801
|
+
/* @__PURE__ */ A(s, { children: [/* @__PURE__ */ k("div", {
|
|
806
802
|
className: "p-4 border-b border-border-default",
|
|
807
|
-
children: /* @__PURE__ */
|
|
803
|
+
children: /* @__PURE__ */ A("h3", {
|
|
808
804
|
className: "font-semibold text-text-primary flex items-center gap-2",
|
|
809
|
-
children: [/* @__PURE__ */
|
|
805
|
+
children: [/* @__PURE__ */ k(Ie, { className: "size-5" }), _("vibeDetails.timeline", "Timeline")]
|
|
810
806
|
})
|
|
811
|
-
}), /* @__PURE__ */
|
|
807
|
+
}), /* @__PURE__ */ k("div", {
|
|
812
808
|
className: "p-4",
|
|
813
|
-
children: /* @__PURE__ */
|
|
809
|
+
children: /* @__PURE__ */ A("div", {
|
|
814
810
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-4 text-sm",
|
|
815
|
-
children: [/* @__PURE__ */
|
|
811
|
+
children: [/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("p", {
|
|
816
812
|
className: "text-text-secondary",
|
|
817
|
-
children:
|
|
818
|
-
}), /* @__PURE__ */
|
|
813
|
+
children: _("vibeDetails.created", "Created")
|
|
814
|
+
}), /* @__PURE__ */ k("p", {
|
|
819
815
|
className: "font-medium text-text-primary",
|
|
820
|
-
children:
|
|
821
|
-
})] }), /* @__PURE__ */
|
|
816
|
+
children: gn(z.createdAt)
|
|
817
|
+
})] }), /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("p", {
|
|
822
818
|
className: "text-text-secondary",
|
|
823
|
-
children:
|
|
824
|
-
}), /* @__PURE__ */
|
|
819
|
+
children: _("vibeDetails.updated", "Updated")
|
|
820
|
+
}), /* @__PURE__ */ k("p", {
|
|
825
821
|
className: "font-medium text-text-primary",
|
|
826
|
-
children:
|
|
822
|
+
children: gn(z.updatedAt)
|
|
827
823
|
})] })]
|
|
828
824
|
})
|
|
829
825
|
})] })
|
|
830
826
|
]
|
|
831
827
|
}, "overview"),
|
|
832
|
-
|
|
828
|
+
Y === "config" && /* @__PURE__ */ A(O.div, {
|
|
833
829
|
initial: {
|
|
834
830
|
opacity: 0,
|
|
835
831
|
y: 8
|
|
@@ -845,60 +841,60 @@ function R() {
|
|
|
845
841
|
transition: { duration: .2 },
|
|
846
842
|
className: "space-y-6",
|
|
847
843
|
children: [
|
|
848
|
-
/* @__PURE__ */
|
|
849
|
-
/* @__PURE__ */
|
|
844
|
+
/* @__PURE__ */ k(Oe, { vibeId: z.id }),
|
|
845
|
+
/* @__PURE__ */ A(s, { children: [/* @__PURE__ */ k("div", {
|
|
850
846
|
className: "p-4 border-b border-border-default",
|
|
851
|
-
children: /* @__PURE__ */
|
|
847
|
+
children: /* @__PURE__ */ A("h3", {
|
|
852
848
|
className: "font-semibold text-text-primary flex items-center gap-2",
|
|
853
|
-
children: [/* @__PURE__ */
|
|
849
|
+
children: [/* @__PURE__ */ k(tt, { className: "size-5" }), _("vibeDetails.tags", "Tags")]
|
|
854
850
|
})
|
|
855
|
-
}), /* @__PURE__ */
|
|
851
|
+
}), /* @__PURE__ */ k("div", {
|
|
856
852
|
className: "p-4",
|
|
857
|
-
children: /* @__PURE__ */
|
|
853
|
+
children: /* @__PURE__ */ k(e, {
|
|
858
854
|
entityType: "VIBECONTROLS_VIBE",
|
|
859
|
-
entityId:
|
|
855
|
+
entityId: z.id
|
|
860
856
|
})
|
|
861
857
|
})] }),
|
|
862
|
-
/* @__PURE__ */
|
|
858
|
+
/* @__PURE__ */ A(s, { children: [/* @__PURE__ */ A("div", {
|
|
863
859
|
className: "p-4 border-b border-border-default",
|
|
864
|
-
children: [/* @__PURE__ */
|
|
860
|
+
children: [/* @__PURE__ */ A("h3", {
|
|
865
861
|
className: "font-semibold text-text-primary flex items-center gap-2",
|
|
866
|
-
children: [/* @__PURE__ */
|
|
867
|
-
}), /* @__PURE__ */
|
|
862
|
+
children: [/* @__PURE__ */ k($e, { className: "size-5" }), _("vibeDetails.features", "Features")]
|
|
863
|
+
}), /* @__PURE__ */ k("p", {
|
|
868
864
|
className: "text-sm text-text-secondary mt-1",
|
|
869
|
-
children:
|
|
865
|
+
children: _("vibeDetails.featuresDescription", "Toggle which sections show up on this vibe. Changes apply to everyone viewing the vibe.")
|
|
870
866
|
})]
|
|
871
|
-
}), /* @__PURE__ */
|
|
867
|
+
}), /* @__PURE__ */ k("div", {
|
|
872
868
|
className: "divide-y divide-border-default",
|
|
873
|
-
children:
|
|
874
|
-
let t =
|
|
875
|
-
return /* @__PURE__ */
|
|
869
|
+
children: xt.map((e) => {
|
|
870
|
+
let t = V(e.id);
|
|
871
|
+
return /* @__PURE__ */ A("label", {
|
|
876
872
|
className: "flex items-center gap-3 px-4 py-3 cursor-pointer hover:bg-bg-sunken transition-colors",
|
|
877
|
-
children: [/* @__PURE__ */
|
|
873
|
+
children: [/* @__PURE__ */ k("input", {
|
|
878
874
|
type: "checkbox",
|
|
879
875
|
role: "switch",
|
|
880
876
|
"aria-label": e.label,
|
|
881
877
|
"aria-checked": t,
|
|
882
878
|
checked: t,
|
|
883
|
-
disabled:
|
|
879
|
+
disabled: Ct || !z.id,
|
|
884
880
|
onChange: async (t) => {
|
|
885
881
|
let n = t.target.checked;
|
|
886
882
|
try {
|
|
887
|
-
await
|
|
883
|
+
await St({
|
|
888
884
|
variables: {
|
|
889
|
-
id:
|
|
885
|
+
id: z.id,
|
|
890
886
|
featureId: e.id,
|
|
891
887
|
enabled: n
|
|
892
888
|
},
|
|
893
889
|
optimisticResponse: { setVibeFeatureFlag: {
|
|
894
890
|
__typename: "Vibe",
|
|
895
|
-
id:
|
|
891
|
+
id: z.id,
|
|
896
892
|
featureFlags: {
|
|
897
|
-
...
|
|
893
|
+
...B?.featureFlags ?? {},
|
|
898
894
|
[e.id]: n
|
|
899
895
|
},
|
|
900
896
|
effectiveFeatureFlags: {
|
|
901
|
-
...
|
|
897
|
+
...B?.effectiveFeatureFlags ?? {},
|
|
902
898
|
[e.id]: n
|
|
903
899
|
}
|
|
904
900
|
} }
|
|
@@ -908,7 +904,7 @@ function R() {
|
|
|
908
904
|
}
|
|
909
905
|
},
|
|
910
906
|
className: "size-4 shrink-0 accent-action-primary-bg disabled:opacity-50"
|
|
911
|
-
}), /* @__PURE__ */
|
|
907
|
+
}), /* @__PURE__ */ k("span", {
|
|
912
908
|
className: "text-sm font-medium text-text-primary",
|
|
913
909
|
children: e.label
|
|
914
910
|
})]
|
|
@@ -917,7 +913,7 @@ function R() {
|
|
|
917
913
|
})] })
|
|
918
914
|
]
|
|
919
915
|
}, "config"),
|
|
920
|
-
|
|
916
|
+
Y === "git" && V("git") && /* @__PURE__ */ k(O.div, {
|
|
921
917
|
initial: {
|
|
922
918
|
opacity: 0,
|
|
923
919
|
y: 8
|
|
@@ -932,57 +928,57 @@ function R() {
|
|
|
932
928
|
},
|
|
933
929
|
transition: { duration: .2 },
|
|
934
930
|
className: "space-y-6",
|
|
935
|
-
children: /* @__PURE__ */
|
|
936
|
-
agentId:
|
|
931
|
+
children: /* @__PURE__ */ k(l, {
|
|
932
|
+
agentId: W?.id ?? null,
|
|
937
933
|
required: ["@vibecontrols/vibe-plugin-tool-git"],
|
|
938
934
|
mode: "all",
|
|
939
|
-
eyebrow:
|
|
940
|
-
title:
|
|
941
|
-
description:
|
|
942
|
-
children:
|
|
935
|
+
eyebrow: _("vibeDetails.gitPluginEyebrow", "Git plugin required"),
|
|
936
|
+
title: _("vibeDetails.gitPluginTitle", "Install the git plugin"),
|
|
937
|
+
description: _("vibeDetails.gitPluginDescription", "Live git branch, status, and remote data for this vibe are served by the vibe-plugin-tool-git agent plugin."),
|
|
938
|
+
children: xn ? /* @__PURE__ */ A(s, { children: [/* @__PURE__ */ k("div", {
|
|
943
939
|
className: "p-4 border-b border-border-default",
|
|
944
|
-
children: /* @__PURE__ */
|
|
940
|
+
children: /* @__PURE__ */ A("h3", {
|
|
945
941
|
className: "font-semibold text-text-primary flex items-center gap-2",
|
|
946
|
-
children: [/* @__PURE__ */
|
|
942
|
+
children: [/* @__PURE__ */ k(Be, { className: "size-5" }), _("vibeDetails.gitInformation", "Git Information")]
|
|
947
943
|
})
|
|
948
|
-
}), /* @__PURE__ */
|
|
944
|
+
}), /* @__PURE__ */ A("div", {
|
|
949
945
|
className: "p-4 space-y-3",
|
|
950
|
-
children: [/* @__PURE__ */
|
|
946
|
+
children: [/* @__PURE__ */ A("div", {
|
|
951
947
|
className: "flex items-center gap-4 flex-wrap",
|
|
952
|
-
children: [
|
|
948
|
+
children: [z.gitBranch && /* @__PURE__ */ A("div", {
|
|
953
949
|
className: "flex items-center gap-2",
|
|
954
|
-
children: [/* @__PURE__ */
|
|
950
|
+
children: [/* @__PURE__ */ A("span", {
|
|
955
951
|
className: "text-sm text-text-secondary",
|
|
956
|
-
children: [
|
|
957
|
-
}), /* @__PURE__ */
|
|
952
|
+
children: [_("vibeDetails.branch", "Branch"), ":"]
|
|
953
|
+
}), /* @__PURE__ */ k("span", {
|
|
958
954
|
className: "px-2 py-1 bg-bg-sunken text-text-primary text-sm rounded font-mono",
|
|
959
|
-
children:
|
|
955
|
+
children: z.gitBranch
|
|
960
956
|
})]
|
|
961
|
-
}),
|
|
957
|
+
}), z.gitStatus && /* @__PURE__ */ A("div", {
|
|
962
958
|
className: "flex items-center gap-2",
|
|
963
|
-
children: [/* @__PURE__ */
|
|
959
|
+
children: [/* @__PURE__ */ A("span", {
|
|
964
960
|
className: "text-sm text-text-secondary",
|
|
965
|
-
children: [
|
|
966
|
-
}), /* @__PURE__ */
|
|
967
|
-
className: `font-medium ${
|
|
968
|
-
children:
|
|
961
|
+
children: [_("sessions.filterStatus", "Status"), ":"]
|
|
962
|
+
}), /* @__PURE__ */ k("span", {
|
|
963
|
+
className: `font-medium ${_n(z.gitStatus)}`,
|
|
964
|
+
children: z.gitStatus
|
|
969
965
|
})]
|
|
970
966
|
})]
|
|
971
|
-
}),
|
|
967
|
+
}), z.gitRemote && /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ A("span", {
|
|
972
968
|
className: "text-sm text-text-secondary",
|
|
973
|
-
children: [
|
|
974
|
-
}), /* @__PURE__ */
|
|
969
|
+
children: [_("vibeDetails.remote", "Remote"), ":"]
|
|
970
|
+
}), /* @__PURE__ */ k("p", {
|
|
975
971
|
className: "font-mono text-sm text-text-primary mt-1 break-all",
|
|
976
|
-
children:
|
|
972
|
+
children: z.gitRemote
|
|
977
973
|
})] })]
|
|
978
|
-
})] }) : /* @__PURE__ */
|
|
979
|
-
icon: /* @__PURE__ */
|
|
980
|
-
title:
|
|
981
|
-
description:
|
|
974
|
+
})] }) : /* @__PURE__ */ k(a, {
|
|
975
|
+
icon: /* @__PURE__ */ k(Be, { className: "size-8 text-text-secondary" }),
|
|
976
|
+
title: _("vibeDetails.noGitInformation", "No git information"),
|
|
977
|
+
description: _("vibeDetails.noGitInformationDescription", "This vibe does not have any git repository linked")
|
|
982
978
|
})
|
|
983
979
|
})
|
|
984
980
|
}, "git"),
|
|
985
|
-
|
|
981
|
+
Y === "sessions" && V("sessions") && /* @__PURE__ */ k(O.div, {
|
|
986
982
|
initial: {
|
|
987
983
|
opacity: 0,
|
|
988
984
|
y: 8
|
|
@@ -996,72 +992,72 @@ function R() {
|
|
|
996
992
|
y: -8
|
|
997
993
|
},
|
|
998
994
|
transition: { duration: .2 },
|
|
999
|
-
children: /* @__PURE__ */
|
|
1000
|
-
agentId:
|
|
995
|
+
children: /* @__PURE__ */ k(l, {
|
|
996
|
+
agentId: W?.id ?? null,
|
|
1001
997
|
requirements: [{
|
|
1002
998
|
packages: ["@vibecontrols/vibe-plugin-session-manager"],
|
|
1003
999
|
mode: "all",
|
|
1004
|
-
eyebrow:
|
|
1005
|
-
title:
|
|
1006
|
-
description:
|
|
1000
|
+
eyebrow: _("vibeDetails.sessionsManagerEyebrow", "Session manager required"),
|
|
1001
|
+
title: _("vibeDetails.sessionsManagerTitle", "Install the session manager"),
|
|
1002
|
+
description: _("vibeDetails.sessionsManagerDescription", "Sessions are orchestrated by the unified session manager plugin. Install it to continue.")
|
|
1007
1003
|
}, {
|
|
1008
|
-
packages:
|
|
1004
|
+
packages: c,
|
|
1009
1005
|
mode: "any",
|
|
1010
|
-
eyebrow:
|
|
1011
|
-
title:
|
|
1012
|
-
description:
|
|
1006
|
+
eyebrow: _("vibeDetails.sessionProviderEyebrow", "Session provider required"),
|
|
1007
|
+
title: _("vibeDetails.sessionProviderTitle", "Pick a session provider"),
|
|
1008
|
+
description: _("vibeDetails.sessionProviderDescription", "Choose the terminal multiplexer your sessions should run on. You can install more providers later.")
|
|
1013
1009
|
}],
|
|
1014
|
-
children: /* @__PURE__ */
|
|
1010
|
+
children: /* @__PURE__ */ A(s, { children: [/* @__PURE__ */ A("div", {
|
|
1015
1011
|
className: "p-4 border-b border-border-default flex items-center justify-between",
|
|
1016
|
-
children: [/* @__PURE__ */
|
|
1012
|
+
children: [/* @__PURE__ */ A("h3", {
|
|
1017
1013
|
className: "font-semibold text-text-primary flex items-center gap-2",
|
|
1018
1014
|
children: [
|
|
1019
|
-
/* @__PURE__ */
|
|
1020
|
-
|
|
1015
|
+
/* @__PURE__ */ k(T, { className: "size-5" }),
|
|
1016
|
+
_("nav.sessions", "Sessions"),
|
|
1021
1017
|
" (",
|
|
1022
|
-
|
|
1018
|
+
U.length,
|
|
1023
1019
|
")"
|
|
1024
1020
|
]
|
|
1025
|
-
}), /* @__PURE__ */
|
|
1021
|
+
}), /* @__PURE__ */ A("button", {
|
|
1026
1022
|
type: "button",
|
|
1027
|
-
onClick:
|
|
1023
|
+
onClick: dn,
|
|
1028
1024
|
className: "flex items-center gap-1 px-2 py-1 text-sm bg-bg-sunken text-text-primary rounded hover:bg-bg-sunken/80 transition-colors",
|
|
1029
|
-
children: [/* @__PURE__ */
|
|
1025
|
+
children: [/* @__PURE__ */ k(w, { className: "size-4" }), _("vibeDetails.new", "New")]
|
|
1030
1026
|
})]
|
|
1031
|
-
}),
|
|
1027
|
+
}), U.length > 0 ? /* @__PURE__ */ k(dt, {
|
|
1032
1028
|
className: "divide-y divide-border-primary",
|
|
1033
|
-
children:
|
|
1029
|
+
children: U.map((e) => /* @__PURE__ */ k(M, {
|
|
1034
1030
|
variant: "fadeRight",
|
|
1035
|
-
children: /* @__PURE__ */
|
|
1031
|
+
children: /* @__PURE__ */ A("div", {
|
|
1036
1032
|
role: "button",
|
|
1037
1033
|
tabIndex: 0,
|
|
1038
1034
|
onKeyDown: (t) => {
|
|
1039
|
-
(t.key === "Enter" || t.key === " ") && (t.preventDefault(),
|
|
1035
|
+
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), mn(e.id));
|
|
1040
1036
|
},
|
|
1041
|
-
onClick: () =>
|
|
1037
|
+
onClick: () => mn(e.id),
|
|
1042
1038
|
className: "p-4 flex items-center justify-between cursor-pointer hover:bg-bg-sunken/50 transition-colors",
|
|
1043
|
-
children: [/* @__PURE__ */
|
|
1039
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1044
1040
|
className: "flex items-center gap-3 min-w-0",
|
|
1045
|
-
children: [/* @__PURE__ */
|
|
1041
|
+
children: [/* @__PURE__ */ k(T, { className: "size-5 text-text-secondary flex-shrink-0" }), /* @__PURE__ */ A("div", {
|
|
1046
1042
|
className: "min-w-0",
|
|
1047
|
-
children: [/* @__PURE__ */
|
|
1043
|
+
children: [/* @__PURE__ */ k("p", {
|
|
1048
1044
|
className: "font-medium text-text-primary truncate",
|
|
1049
1045
|
children: e.name
|
|
1050
|
-
}), /* @__PURE__ */
|
|
1046
|
+
}), /* @__PURE__ */ k("p", {
|
|
1051
1047
|
className: "text-sm text-text-secondary truncate",
|
|
1052
1048
|
children: e.type
|
|
1053
1049
|
})]
|
|
1054
1050
|
})]
|
|
1055
|
-
}), /* @__PURE__ */
|
|
1051
|
+
}), /* @__PURE__ */ k(o, { status: e.status })]
|
|
1056
1052
|
})
|
|
1057
1053
|
}, e.id))
|
|
1058
|
-
}) : /* @__PURE__ */
|
|
1054
|
+
}) : /* @__PURE__ */ k("div", {
|
|
1059
1055
|
className: "p-6 text-center text-text-secondary",
|
|
1060
|
-
children:
|
|
1056
|
+
children: _("vibeDetails.noSessionsForVibe", "No sessions for this vibe")
|
|
1061
1057
|
})] })
|
|
1062
1058
|
})
|
|
1063
1059
|
}, "sessions"),
|
|
1064
|
-
|
|
1060
|
+
Y === "notes" && V("notes") && /* @__PURE__ */ k(O.div, {
|
|
1065
1061
|
initial: {
|
|
1066
1062
|
opacity: 0,
|
|
1067
1063
|
y: 8
|
|
@@ -1076,12 +1072,12 @@ function R() {
|
|
|
1076
1072
|
},
|
|
1077
1073
|
transition: { duration: .2 },
|
|
1078
1074
|
className: "space-y-6",
|
|
1079
|
-
children: /* @__PURE__ */
|
|
1075
|
+
children: /* @__PURE__ */ k(re, {
|
|
1080
1076
|
context: "vibe",
|
|
1081
|
-
vibeId:
|
|
1077
|
+
vibeId: z.id
|
|
1082
1078
|
})
|
|
1083
1079
|
}, "notes"),
|
|
1084
|
-
|
|
1080
|
+
Y === "docs" && V("docs") && /* @__PURE__ */ k(O.div, {
|
|
1085
1081
|
initial: {
|
|
1086
1082
|
opacity: 0,
|
|
1087
1083
|
y: 8
|
|
@@ -1096,9 +1092,9 @@ function R() {
|
|
|
1096
1092
|
},
|
|
1097
1093
|
transition: { duration: .2 },
|
|
1098
1094
|
className: "space-y-6",
|
|
1099
|
-
children: /* @__PURE__ */
|
|
1095
|
+
children: /* @__PURE__ */ k(he, { vibeId: z.id })
|
|
1100
1096
|
}, "docs"),
|
|
1101
|
-
|
|
1097
|
+
Y === "scorecard" && V("scorecard") && /* @__PURE__ */ k(O.div, {
|
|
1102
1098
|
initial: {
|
|
1103
1099
|
opacity: 0,
|
|
1104
1100
|
y: 8
|
|
@@ -1113,12 +1109,12 @@ function R() {
|
|
|
1113
1109
|
},
|
|
1114
1110
|
transition: { duration: .2 },
|
|
1115
1111
|
className: "space-y-6",
|
|
1116
|
-
children: /* @__PURE__ */
|
|
1112
|
+
children: /* @__PURE__ */ k(_e, {
|
|
1117
1113
|
ownerType: "VIBE",
|
|
1118
|
-
ownerId:
|
|
1114
|
+
ownerId: z.id
|
|
1119
1115
|
})
|
|
1120
1116
|
}, "scorecard"),
|
|
1121
|
-
|
|
1117
|
+
Y === "catalogs" && V("catalogs") && /* @__PURE__ */ k(O.div, {
|
|
1122
1118
|
initial: {
|
|
1123
1119
|
opacity: 0,
|
|
1124
1120
|
y: 8
|
|
@@ -1133,13 +1129,13 @@ function R() {
|
|
|
1133
1129
|
},
|
|
1134
1130
|
transition: { duration: .2 },
|
|
1135
1131
|
className: "space-y-6",
|
|
1136
|
-
children: /* @__PURE__ */
|
|
1137
|
-
vibeId:
|
|
1138
|
-
tr:
|
|
1139
|
-
navigate:
|
|
1132
|
+
children: /* @__PURE__ */ k(_t, {
|
|
1133
|
+
vibeId: z.id,
|
|
1134
|
+
tr: _,
|
|
1135
|
+
navigate: h
|
|
1140
1136
|
})
|
|
1141
1137
|
}, "catalogs"),
|
|
1142
|
-
|
|
1138
|
+
Y === "graphqlPlayground" && V("graphqlPlayground") && /* @__PURE__ */ k(O.div, {
|
|
1143
1139
|
initial: {
|
|
1144
1140
|
opacity: 0,
|
|
1145
1141
|
y: 8
|
|
@@ -1154,35 +1150,35 @@ function R() {
|
|
|
1154
1150
|
},
|
|
1155
1151
|
transition: { duration: .2 },
|
|
1156
1152
|
className: "space-y-6",
|
|
1157
|
-
children: /* @__PURE__ */
|
|
1158
|
-
agentId:
|
|
1153
|
+
children: /* @__PURE__ */ k(l, {
|
|
1154
|
+
agentId: W?.id ?? null,
|
|
1159
1155
|
required: ["@vibecontrols/vibe-plugin-tool-graphiql"],
|
|
1160
1156
|
mode: "all",
|
|
1161
|
-
eyebrow:
|
|
1162
|
-
title:
|
|
1163
|
-
description:
|
|
1164
|
-
children:
|
|
1165
|
-
vibeId:
|
|
1166
|
-
agentId:
|
|
1167
|
-
profile:
|
|
1168
|
-
tunnelUrl:
|
|
1157
|
+
eyebrow: _("vibeDetails.graphqlPluginEyebrow", "GraphQL playground plugin required"),
|
|
1158
|
+
title: _("vibeDetails.graphqlPluginTitle", "Install the GraphQL playground"),
|
|
1159
|
+
description: _("vibeDetails.graphqlPluginDescription", "The GraphQL Playground is served by the graphiql agent plugin. Install it to continue."),
|
|
1160
|
+
children: Yt ? /* @__PURE__ */ k(vt, {
|
|
1161
|
+
vibeId: z.id,
|
|
1162
|
+
agentId: W?.id ?? null,
|
|
1163
|
+
profile: K,
|
|
1164
|
+
tunnelUrl: Yt,
|
|
1169
1165
|
type: "graphql",
|
|
1170
|
-
tr:
|
|
1171
|
-
}) : /* @__PURE__ */
|
|
1172
|
-
icon: /* @__PURE__ */
|
|
1173
|
-
title:
|
|
1174
|
-
description:
|
|
1166
|
+
tr: _
|
|
1167
|
+
}) : /* @__PURE__ */ k(a, {
|
|
1168
|
+
icon: /* @__PURE__ */ k(Je, { className: "size-8 text-text-secondary" }),
|
|
1169
|
+
title: _("vibeDetails.noAgentTunnel", "No agent tunnel available"),
|
|
1170
|
+
description: _("vibeDetails.noAgentTunnelDesc2", "The GraphQL playground requires an active agent with a tunnel URL.")
|
|
1175
1171
|
})
|
|
1176
1172
|
})
|
|
1177
1173
|
}, "graphqlPlayground"),
|
|
1178
|
-
|
|
1179
|
-
vibeId:
|
|
1180
|
-
agentId:
|
|
1181
|
-
profile:
|
|
1182
|
-
tunnelUrl:
|
|
1183
|
-
tr:
|
|
1174
|
+
Y === "gitops" && V("gitops") && /* @__PURE__ */ k(me, {
|
|
1175
|
+
vibeId: p || "",
|
|
1176
|
+
agentId: W?.id ?? "",
|
|
1177
|
+
profile: K,
|
|
1178
|
+
tunnelUrl: Yt,
|
|
1179
|
+
tr: _
|
|
1184
1180
|
}),
|
|
1185
|
-
|
|
1181
|
+
Y === "security" && V("security") && /* @__PURE__ */ k(O.div, {
|
|
1186
1182
|
initial: {
|
|
1187
1183
|
opacity: 0,
|
|
1188
1184
|
y: 8
|
|
@@ -1197,13 +1193,13 @@ function R() {
|
|
|
1197
1193
|
},
|
|
1198
1194
|
transition: { duration: .2 },
|
|
1199
1195
|
className: "space-y-6",
|
|
1200
|
-
children: /* @__PURE__ */
|
|
1201
|
-
vibeId:
|
|
1202
|
-
agentId:
|
|
1203
|
-
profile:
|
|
1196
|
+
children: /* @__PURE__ */ k(Ee, {
|
|
1197
|
+
vibeId: p || "",
|
|
1198
|
+
agentId: W?.id ?? null,
|
|
1199
|
+
profile: K ?? "default"
|
|
1204
1200
|
})
|
|
1205
1201
|
}, "security"),
|
|
1206
|
-
|
|
1202
|
+
Y === "related" && V("related") && /* @__PURE__ */ k(O.div, {
|
|
1207
1203
|
initial: {
|
|
1208
1204
|
opacity: 0,
|
|
1209
1205
|
y: 8
|
|
@@ -1218,98 +1214,98 @@ function R() {
|
|
|
1218
1214
|
},
|
|
1219
1215
|
transition: { duration: .2 },
|
|
1220
1216
|
className: "space-y-6",
|
|
1221
|
-
children:
|
|
1222
|
-
|
|
1217
|
+
children: bn > 0 ? /* @__PURE__ */ A(ot, { children: [
|
|
1218
|
+
Kt.length > 0 && /* @__PURE__ */ A(s, { children: [/* @__PURE__ */ k("div", {
|
|
1223
1219
|
className: "p-4 border-b border-border-default",
|
|
1224
|
-
children: /* @__PURE__ */
|
|
1220
|
+
children: /* @__PURE__ */ A("h3", {
|
|
1225
1221
|
className: "font-semibold text-text-primary flex items-center gap-2",
|
|
1226
1222
|
children: [
|
|
1227
|
-
/* @__PURE__ */
|
|
1228
|
-
|
|
1223
|
+
/* @__PURE__ */ k(D, { className: "size-5" }),
|
|
1224
|
+
_("vibeDetails.childVibes", "Child Vibes"),
|
|
1229
1225
|
" (",
|
|
1230
|
-
|
|
1226
|
+
Kt.length,
|
|
1231
1227
|
")"
|
|
1232
1228
|
]
|
|
1233
1229
|
})
|
|
1234
|
-
}), /* @__PURE__ */
|
|
1230
|
+
}), /* @__PURE__ */ k(dt, {
|
|
1235
1231
|
className: "divide-y divide-border-primary",
|
|
1236
|
-
children:
|
|
1232
|
+
children: Kt.map((e) => /* @__PURE__ */ k(M, {
|
|
1237
1233
|
variant: "fadeRight",
|
|
1238
|
-
children: /* @__PURE__ */
|
|
1234
|
+
children: /* @__PURE__ */ A("div", {
|
|
1239
1235
|
role: "button",
|
|
1240
1236
|
tabIndex: 0,
|
|
1241
1237
|
onKeyDown: (t) => {
|
|
1242
|
-
(t.key === "Enter" || t.key === " ") && (t.preventDefault(),
|
|
1238
|
+
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), hn(e.id));
|
|
1243
1239
|
},
|
|
1244
|
-
onClick: () =>
|
|
1240
|
+
onClick: () => hn(e.id),
|
|
1245
1241
|
className: "p-4 flex items-center justify-between cursor-pointer hover:bg-bg-sunken/50 transition-colors",
|
|
1246
|
-
children: [/* @__PURE__ */
|
|
1242
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1247
1243
|
className: "flex items-center gap-3 min-w-0",
|
|
1248
|
-
children: [/* @__PURE__ */
|
|
1244
|
+
children: [/* @__PURE__ */ k(D, { className: "size-5 text-text-secondary flex-shrink-0" }), /* @__PURE__ */ A("div", {
|
|
1249
1245
|
className: "min-w-0",
|
|
1250
|
-
children: [/* @__PURE__ */
|
|
1246
|
+
children: [/* @__PURE__ */ k("p", {
|
|
1251
1247
|
className: "font-medium text-text-primary truncate",
|
|
1252
1248
|
children: e.name
|
|
1253
|
-
}), /* @__PURE__ */
|
|
1249
|
+
}), /* @__PURE__ */ k("p", {
|
|
1254
1250
|
className: "text-sm text-text-secondary truncate",
|
|
1255
1251
|
children: e.type
|
|
1256
1252
|
})]
|
|
1257
1253
|
})]
|
|
1258
|
-
}), /* @__PURE__ */
|
|
1254
|
+
}), /* @__PURE__ */ k(o, { status: e.status })]
|
|
1259
1255
|
})
|
|
1260
1256
|
}, e.id))
|
|
1261
1257
|
})] }),
|
|
1262
|
-
|
|
1263
|
-
onClick: () =>
|
|
1258
|
+
qt && /* @__PURE__ */ k(s, {
|
|
1259
|
+
onClick: () => hn(qt.id),
|
|
1264
1260
|
hoverable: !0,
|
|
1265
|
-
children: /* @__PURE__ */
|
|
1261
|
+
children: /* @__PURE__ */ A("div", {
|
|
1266
1262
|
className: "p-4 flex items-center gap-3",
|
|
1267
|
-
children: [/* @__PURE__ */
|
|
1263
|
+
children: [/* @__PURE__ */ k("div", {
|
|
1268
1264
|
className: "size-10 rounded-lg bg-bg-sunken flex items-center justify-center",
|
|
1269
|
-
children: /* @__PURE__ */
|
|
1270
|
-
}), /* @__PURE__ */
|
|
1265
|
+
children: /* @__PURE__ */ k(D, { className: "size-5 text-text-secondary" })
|
|
1266
|
+
}), /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("p", {
|
|
1271
1267
|
className: "text-sm text-text-secondary",
|
|
1272
|
-
children:
|
|
1273
|
-
}), /* @__PURE__ */
|
|
1268
|
+
children: _("vibeDetails.parentVibe", "Parent Vibe")
|
|
1269
|
+
}), /* @__PURE__ */ k("p", {
|
|
1274
1270
|
className: "font-medium text-text-primary",
|
|
1275
|
-
children:
|
|
1271
|
+
children: qt.name
|
|
1276
1272
|
})] })]
|
|
1277
1273
|
})
|
|
1278
1274
|
}),
|
|
1279
|
-
|
|
1280
|
-
onClick:
|
|
1275
|
+
G && /* @__PURE__ */ k(s, {
|
|
1276
|
+
onClick: pn,
|
|
1281
1277
|
hoverable: !0,
|
|
1282
|
-
children: /* @__PURE__ */
|
|
1278
|
+
children: /* @__PURE__ */ A("div", {
|
|
1283
1279
|
className: "p-4 flex items-center justify-between",
|
|
1284
|
-
children: [/* @__PURE__ */
|
|
1280
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1285
1281
|
className: "flex items-center gap-3",
|
|
1286
|
-
children: [/* @__PURE__ */
|
|
1282
|
+
children: [/* @__PURE__ */ k("div", {
|
|
1287
1283
|
className: "size-10 rounded-lg bg-bg-sunken flex items-center justify-center",
|
|
1288
|
-
children: /* @__PURE__ */
|
|
1289
|
-
}), /* @__PURE__ */
|
|
1290
|
-
/* @__PURE__ */
|
|
1284
|
+
children: /* @__PURE__ */ k(Qe, { className: "size-5 text-text-secondary" })
|
|
1285
|
+
}), /* @__PURE__ */ A("div", { children: [
|
|
1286
|
+
/* @__PURE__ */ k("p", {
|
|
1291
1287
|
className: "text-sm text-text-secondary",
|
|
1292
|
-
children:
|
|
1288
|
+
children: _("vibeDetails.runningOnAgent", "Running on Agent")
|
|
1293
1289
|
}),
|
|
1294
|
-
/* @__PURE__ */
|
|
1290
|
+
/* @__PURE__ */ k("p", {
|
|
1295
1291
|
className: "font-medium text-text-primary",
|
|
1296
|
-
children:
|
|
1292
|
+
children: G.name
|
|
1297
1293
|
}),
|
|
1298
|
-
/* @__PURE__ */
|
|
1294
|
+
/* @__PURE__ */ k("p", {
|
|
1299
1295
|
className: "text-sm text-text-secondary",
|
|
1300
|
-
children:
|
|
1296
|
+
children: G.hostname
|
|
1301
1297
|
})
|
|
1302
1298
|
] })]
|
|
1303
|
-
}), /* @__PURE__ */
|
|
1299
|
+
}), /* @__PURE__ */ k(o, { status: G.isActive ? "ACTIVE" : "OFFLINE" })]
|
|
1304
1300
|
})
|
|
1305
1301
|
})
|
|
1306
|
-
] }) : /* @__PURE__ */
|
|
1307
|
-
icon: /* @__PURE__ */
|
|
1308
|
-
title:
|
|
1309
|
-
description:
|
|
1302
|
+
] }) : /* @__PURE__ */ k(a, {
|
|
1303
|
+
icon: /* @__PURE__ */ k(Ge, { className: "size-8 text-text-secondary" }),
|
|
1304
|
+
title: _("vibeDetails.noRelatedEntities", "No related entities"),
|
|
1305
|
+
description: _("vibeDetails.noRelatedEntitiesDescription", "This vibe has no child vibes, parent vibe, or linked agent")
|
|
1310
1306
|
})
|
|
1311
1307
|
}, "related"),
|
|
1312
|
-
|
|
1308
|
+
Y === "llmContext" && /* @__PURE__ */ k(O.div, {
|
|
1313
1309
|
initial: {
|
|
1314
1310
|
opacity: 0,
|
|
1315
1311
|
y: 8
|
|
@@ -1324,15 +1320,15 @@ function R() {
|
|
|
1324
1320
|
},
|
|
1325
1321
|
transition: { duration: .2 },
|
|
1326
1322
|
className: "space-y-6",
|
|
1327
|
-
children: /* @__PURE__ */
|
|
1328
|
-
vibeId:
|
|
1329
|
-
attachedAgents:
|
|
1323
|
+
children: /* @__PURE__ */ k(De, {
|
|
1324
|
+
vibeId: z.id,
|
|
1325
|
+
attachedAgents: H.map((e) => ({
|
|
1330
1326
|
id: e.id,
|
|
1331
1327
|
name: e.name
|
|
1332
1328
|
}))
|
|
1333
1329
|
})
|
|
1334
1330
|
}, "llmContext"),
|
|
1335
|
-
(
|
|
1331
|
+
(Y === "vibedecks" || Y === "actions" || Y === "scheduledJobs" || Y === "sandboxes" || Y === "aiPrompts" || Y === "aiContexts" || Y === "instructionFiles" || Y === "tunnels") && /* @__PURE__ */ k(O.div, {
|
|
1336
1332
|
initial: {
|
|
1337
1333
|
opacity: 0,
|
|
1338
1334
|
y: 8
|
|
@@ -1347,16 +1343,16 @@ function R() {
|
|
|
1347
1343
|
},
|
|
1348
1344
|
transition: { duration: .2 },
|
|
1349
1345
|
className: "space-y-6",
|
|
1350
|
-
children: /* @__PURE__ */
|
|
1351
|
-
vibeId:
|
|
1352
|
-
kind:
|
|
1346
|
+
children: /* @__PURE__ */ k(ke, {
|
|
1347
|
+
vibeId: z.id,
|
|
1348
|
+
kind: Y
|
|
1353
1349
|
})
|
|
1354
|
-
}, `linked-${
|
|
1355
|
-
|
|
1356
|
-
let e =
|
|
1350
|
+
}, `linked-${Y}`),
|
|
1351
|
+
q && (() => {
|
|
1352
|
+
let e = J.data.find((e) => e.contribution.id === Y);
|
|
1357
1353
|
if (!e) return null;
|
|
1358
1354
|
let t = e.tunnel, n = e.capabilities.restPaths.length > 0 ? e.capabilities.restPaths : [`/ui/${e.pluginKey}`];
|
|
1359
|
-
return /* @__PURE__ */
|
|
1355
|
+
return /* @__PURE__ */ k(O.div, {
|
|
1360
1356
|
initial: {
|
|
1361
1357
|
opacity: 0,
|
|
1362
1358
|
y: 8
|
|
@@ -1371,21 +1367,21 @@ function R() {
|
|
|
1371
1367
|
},
|
|
1372
1368
|
transition: { duration: .2 },
|
|
1373
1369
|
className: "space-y-6",
|
|
1374
|
-
children: /* @__PURE__ */
|
|
1370
|
+
children: /* @__PURE__ */ k(s, { children: /* @__PURE__ */ k("div", {
|
|
1375
1371
|
className: "p-0 h-[600px]",
|
|
1376
|
-
children: /* @__PURE__ */
|
|
1372
|
+
children: /* @__PURE__ */ k(Te, {
|
|
1377
1373
|
contribution: e,
|
|
1378
1374
|
tunnel: t,
|
|
1379
1375
|
restPaths: n,
|
|
1380
|
-
context: { vibeId:
|
|
1381
|
-
agentId:
|
|
1376
|
+
context: { vibeId: z.id },
|
|
1377
|
+
agentId: W?.id ?? "",
|
|
1382
1378
|
profile: t.profile,
|
|
1383
1379
|
theme: {
|
|
1384
1380
|
colorMode: "light",
|
|
1385
1381
|
tokens: {}
|
|
1386
1382
|
},
|
|
1387
1383
|
locale: "en",
|
|
1388
|
-
featureFlags:
|
|
1384
|
+
featureFlags: B?.featureFlags ?? {},
|
|
1389
1385
|
hostVersion: "1.0.0"
|
|
1390
1386
|
})
|
|
1391
1387
|
}) })
|
|
@@ -1393,111 +1389,111 @@ function R() {
|
|
|
1393
1389
|
})()
|
|
1394
1390
|
]
|
|
1395
1391
|
}),
|
|
1396
|
-
|
|
1397
|
-
isOpen:
|
|
1398
|
-
onClose: () =>
|
|
1392
|
+
q && W && /* @__PURE__ */ k(we, {
|
|
1393
|
+
isOpen: Qt,
|
|
1394
|
+
onClose: () => $t(!1),
|
|
1399
1395
|
mountPoint: "vibe.detailTab",
|
|
1400
|
-
agentId:
|
|
1401
|
-
profile:
|
|
1396
|
+
agentId: W.id,
|
|
1397
|
+
profile: K ?? "default",
|
|
1402
1398
|
onInstalled: () => {
|
|
1403
|
-
|
|
1399
|
+
J.refetch();
|
|
1404
1400
|
}
|
|
1405
1401
|
}),
|
|
1406
|
-
|
|
1402
|
+
wt && /* @__PURE__ */ k("div", {
|
|
1407
1403
|
className: "fixed inset-0 bg-bg-overlay flex items-center justify-center z-50 p-4",
|
|
1408
|
-
children: /* @__PURE__ */
|
|
1404
|
+
children: /* @__PURE__ */ A("div", {
|
|
1409
1405
|
className: "bg-bg-surface rounded-card border border-border-subtle shadow-[var(--shadow-elevation-4)] p-6 w-full max-w-lg",
|
|
1410
1406
|
children: [
|
|
1411
|
-
/* @__PURE__ */
|
|
1407
|
+
/* @__PURE__ */ A("h2", {
|
|
1412
1408
|
className: "text-lg font-semibold text-text-primary mb-4",
|
|
1413
1409
|
children: [
|
|
1414
|
-
|
|
1410
|
+
_("vibeDetails.newSessionFor", "New Session for"),
|
|
1415
1411
|
" ",
|
|
1416
|
-
|
|
1412
|
+
z.name
|
|
1417
1413
|
]
|
|
1418
1414
|
}),
|
|
1419
|
-
|
|
1415
|
+
Et && /* @__PURE__ */ k("div", {
|
|
1420
1416
|
className: "mb-4 p-3 bg-status-error-bg-subtle text-status-error-text border border-status-error-border rounded-card text-sm",
|
|
1421
|
-
children:
|
|
1417
|
+
children: Et
|
|
1422
1418
|
}),
|
|
1423
|
-
/* @__PURE__ */
|
|
1419
|
+
/* @__PURE__ */ A("div", {
|
|
1424
1420
|
className: "space-y-4",
|
|
1425
1421
|
children: [
|
|
1426
|
-
/* @__PURE__ */
|
|
1422
|
+
/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("label", {
|
|
1427
1423
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
1428
|
-
children:
|
|
1429
|
-
}), /* @__PURE__ */
|
|
1424
|
+
children: _("vibeDetails.sessionName", "Session Name")
|
|
1425
|
+
}), /* @__PURE__ */ k("input", {
|
|
1430
1426
|
"aria-label": "control",
|
|
1431
|
-
ref:
|
|
1427
|
+
ref: jt,
|
|
1432
1428
|
type: "text",
|
|
1433
|
-
placeholder:
|
|
1429
|
+
placeholder: _("vibeDetails.sessionNamePlaceholder", "dev-terminal"),
|
|
1434
1430
|
className: "w-full px-3 py-2 bg-bg-sunken border border-border-default rounded-md text-text-primary placeholder:text-text-placeholder"
|
|
1435
1431
|
})] }),
|
|
1436
|
-
/* @__PURE__ */
|
|
1432
|
+
/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("label", {
|
|
1437
1433
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
1438
|
-
children:
|
|
1439
|
-
}), /* @__PURE__ */
|
|
1440
|
-
ref:
|
|
1434
|
+
children: _("sessions.filterType", "Type")
|
|
1435
|
+
}), /* @__PURE__ */ A("select", {
|
|
1436
|
+
ref: Mt,
|
|
1441
1437
|
className: "w-full px-3 py-2 bg-bg-sunken border border-border-default rounded-md text-text-primary",
|
|
1442
1438
|
children: [
|
|
1443
|
-
/* @__PURE__ */
|
|
1439
|
+
/* @__PURE__ */ k("option", {
|
|
1444
1440
|
value: "TERMINAL",
|
|
1445
|
-
children:
|
|
1441
|
+
children: _("sessions.typeTerminal", "Terminal")
|
|
1446
1442
|
}),
|
|
1447
|
-
/* @__PURE__ */
|
|
1443
|
+
/* @__PURE__ */ k("option", {
|
|
1448
1444
|
value: "TMUX",
|
|
1449
|
-
children:
|
|
1445
|
+
children: _("sessions.typeTmux", "TMUX")
|
|
1450
1446
|
}),
|
|
1451
|
-
/* @__PURE__ */
|
|
1447
|
+
/* @__PURE__ */ k("option", {
|
|
1452
1448
|
value: "SSH",
|
|
1453
|
-
children:
|
|
1449
|
+
children: _("sessions.typeSsh", "SSH")
|
|
1454
1450
|
}),
|
|
1455
|
-
/* @__PURE__ */
|
|
1451
|
+
/* @__PURE__ */ k("option", {
|
|
1456
1452
|
value: "SCRIPT",
|
|
1457
|
-
children:
|
|
1453
|
+
children: _("sessions.typeScript", "Script")
|
|
1458
1454
|
}),
|
|
1459
|
-
/* @__PURE__ */
|
|
1455
|
+
/* @__PURE__ */ k("option", {
|
|
1460
1456
|
value: "CUSTOM",
|
|
1461
|
-
children:
|
|
1457
|
+
children: _("sessions.typeCustom", "Custom")
|
|
1462
1458
|
})
|
|
1463
1459
|
]
|
|
1464
1460
|
})] }),
|
|
1465
|
-
/* @__PURE__ */
|
|
1461
|
+
/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("label", {
|
|
1466
1462
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
1467
|
-
children:
|
|
1468
|
-
}), /* @__PURE__ */
|
|
1463
|
+
children: _("sessions.command", "Command")
|
|
1464
|
+
}), /* @__PURE__ */ k("input", {
|
|
1469
1465
|
"aria-label": "control",
|
|
1470
|
-
ref:
|
|
1466
|
+
ref: Nt,
|
|
1471
1467
|
type: "text",
|
|
1472
|
-
placeholder:
|
|
1468
|
+
placeholder: _("vibeDetails.sessionCommandPlaceholder", "bash"),
|
|
1473
1469
|
className: "w-full px-3 py-2 bg-bg-sunken border border-border-default rounded-md text-text-primary placeholder:text-text-placeholder"
|
|
1474
1470
|
})] }),
|
|
1475
|
-
/* @__PURE__ */
|
|
1471
|
+
/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("label", {
|
|
1476
1472
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
1477
|
-
children:
|
|
1478
|
-
}), /* @__PURE__ */
|
|
1473
|
+
children: _("vibeDetails.workingDirectory", "Working Directory")
|
|
1474
|
+
}), /* @__PURE__ */ k("input", {
|
|
1479
1475
|
"aria-label": "control",
|
|
1480
|
-
ref:
|
|
1476
|
+
ref: L,
|
|
1481
1477
|
type: "text",
|
|
1482
|
-
defaultValue:
|
|
1478
|
+
defaultValue: z.path || "",
|
|
1483
1479
|
className: "w-full px-3 py-2 bg-bg-sunken border border-border-default rounded-md text-text-primary"
|
|
1484
1480
|
})] })
|
|
1485
1481
|
]
|
|
1486
1482
|
}),
|
|
1487
|
-
/* @__PURE__ */
|
|
1483
|
+
/* @__PURE__ */ A("div", {
|
|
1488
1484
|
className: "flex flex-col sm:flex-row justify-end gap-3 mt-6",
|
|
1489
|
-
children: [/* @__PURE__ */
|
|
1485
|
+
children: [/* @__PURE__ */ k("button", {
|
|
1490
1486
|
type: "button",
|
|
1491
|
-
onClick: () =>
|
|
1492
|
-
disabled:
|
|
1487
|
+
onClick: () => Tt(!1),
|
|
1488
|
+
disabled: Dt,
|
|
1493
1489
|
className: "px-4 py-2 text-text-primary hover:bg-bg-sunken rounded-md transition-colors disabled:opacity-50",
|
|
1494
|
-
children:
|
|
1495
|
-
}), /* @__PURE__ */
|
|
1490
|
+
children: _("common.cancel", "Cancel")
|
|
1491
|
+
}), /* @__PURE__ */ k("button", {
|
|
1496
1492
|
type: "button",
|
|
1497
|
-
onClick:
|
|
1498
|
-
disabled:
|
|
1493
|
+
onClick: fn,
|
|
1494
|
+
disabled: Dt,
|
|
1499
1495
|
className: "px-4 py-2 bg-action-primary-bg text-action-primary-text rounded-md hover:bg-action-primary-bg-hover transition-colors disabled:opacity-50",
|
|
1500
|
-
children:
|
|
1496
|
+
children: Dt ? _("sessions.creating", "Creating...") : _("sessions.createSession", "Create Session")
|
|
1501
1497
|
})]
|
|
1502
1498
|
})
|
|
1503
1499
|
]
|
|
@@ -1506,73 +1502,73 @@ function R() {
|
|
|
1506
1502
|
]
|
|
1507
1503
|
});
|
|
1508
1504
|
}
|
|
1509
|
-
function
|
|
1510
|
-
let [i, o] =
|
|
1511
|
-
await
|
|
1512
|
-
catalogId:
|
|
1513
|
-
vibeId:
|
|
1514
|
-
} }), await
|
|
1515
|
-
},
|
|
1516
|
-
await
|
|
1517
|
-
catalogId:
|
|
1518
|
-
vibeId:
|
|
1519
|
-
} }), await
|
|
1505
|
+
function _t({ vibeId: e, tr: n, navigate: r }) {
|
|
1506
|
+
let [i, o] = x(!1), { hasPermission: c } = it(), l = c(u.CATALOG_UPDATE), { data: ee, loading: te, refetch: ne } = le({ fetchPolicy: "cache-and-network" }), [re] = ae({ refetchQueries: ["GetVibeCatalogs"] }), [ie] = m({ refetchQueries: ["GetVibeCatalogs"] }), d = ee?.vibecontrolsCatalogs?.items ?? [], f = d.filter((t) => t.vibes?.some((t) => t.vibeId === e)), p = d.filter((t) => !t.vibes?.some((t) => t.vibeId === e)), oe = async (t) => {
|
|
1507
|
+
await re({ variables: {
|
|
1508
|
+
catalogId: t,
|
|
1509
|
+
vibeId: e
|
|
1510
|
+
} }), await ne(), o(!1);
|
|
1511
|
+
}, se = async (t) => {
|
|
1512
|
+
await ie({ variables: {
|
|
1513
|
+
catalogId: t,
|
|
1514
|
+
vibeId: e
|
|
1515
|
+
} }), await ne();
|
|
1520
1516
|
};
|
|
1521
|
-
return
|
|
1522
|
-
/* @__PURE__ */
|
|
1517
|
+
return te && d.length === 0 ? /* @__PURE__ */ k(t, { variant: "detail" }) : /* @__PURE__ */ A(ot, { children: [
|
|
1518
|
+
/* @__PURE__ */ A("div", {
|
|
1523
1519
|
className: "flex items-center justify-between",
|
|
1524
|
-
children: [/* @__PURE__ */
|
|
1520
|
+
children: [/* @__PURE__ */ A("h3", {
|
|
1525
1521
|
className: "font-semibold text-text-primary flex items-center gap-2",
|
|
1526
1522
|
children: [
|
|
1527
|
-
/* @__PURE__ */
|
|
1523
|
+
/* @__PURE__ */ k(We, { className: "size-5" }),
|
|
1528
1524
|
n("vibeDetails.catalogsTitle", "Catalogs"),
|
|
1529
|
-
/* @__PURE__ */
|
|
1525
|
+
/* @__PURE__ */ A("span", {
|
|
1530
1526
|
className: "text-sm font-normal text-text-secondary",
|
|
1531
1527
|
children: [
|
|
1532
1528
|
"(",
|
|
1533
|
-
|
|
1529
|
+
f.length,
|
|
1534
1530
|
")"
|
|
1535
1531
|
]
|
|
1536
1532
|
})
|
|
1537
1533
|
]
|
|
1538
|
-
}),
|
|
1534
|
+
}), l && /* @__PURE__ */ A("button", {
|
|
1539
1535
|
type: "button",
|
|
1540
1536
|
onClick: () => o(!0),
|
|
1541
1537
|
className: "flex items-center gap-2 px-3 py-2 text-sm bg-action-primary-bg text-action-primary-text rounded-md hover:bg-action-primary-bg-hover transition-colors",
|
|
1542
|
-
children: [/* @__PURE__ */
|
|
1538
|
+
children: [/* @__PURE__ */ k(w, { className: "size-4" }), n("vibeDetails.addToCatalog", "Add to Catalog")]
|
|
1543
1539
|
})]
|
|
1544
1540
|
}),
|
|
1545
|
-
|
|
1541
|
+
f.length > 0 ? /* @__PURE__ */ k("div", {
|
|
1546
1542
|
className: "space-y-2",
|
|
1547
|
-
children:
|
|
1543
|
+
children: f.map((e) => /* @__PURE__ */ k(s, { children: /* @__PURE__ */ A("div", {
|
|
1548
1544
|
className: "p-3 flex items-center justify-between",
|
|
1549
|
-
children: [/* @__PURE__ */
|
|
1545
|
+
children: [/* @__PURE__ */ A("button", {
|
|
1550
1546
|
type: "button",
|
|
1551
1547
|
onClick: () => r(`/catalogs/${e.id}`),
|
|
1552
1548
|
className: "flex items-center gap-3 text-left hover:opacity-80 transition-opacity",
|
|
1553
|
-
children: [/* @__PURE__ */
|
|
1549
|
+
children: [/* @__PURE__ */ k(We, { className: "size-5 text-action-primary-bg flex-shrink-0" }), /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("p", {
|
|
1554
1550
|
className: "font-medium text-text-primary text-sm",
|
|
1555
1551
|
children: e.name
|
|
1556
|
-
}), /* @__PURE__ */
|
|
1552
|
+
}), /* @__PURE__ */ k("p", {
|
|
1557
1553
|
className: "text-xs text-text-secondary",
|
|
1558
1554
|
children: e.visibility
|
|
1559
1555
|
})] })]
|
|
1560
|
-
}),
|
|
1556
|
+
}), l && /* @__PURE__ */ k("button", {
|
|
1561
1557
|
type: "button",
|
|
1562
|
-
onClick: () =>
|
|
1558
|
+
onClick: () => se(e.id),
|
|
1563
1559
|
className: "p-1.5 text-text-muted hover:text-status-error-text hover:bg-status-error-bg rounded-md transition-colors",
|
|
1564
1560
|
title: n("vibeDetails.removeFromCatalog", "Remove from catalog"),
|
|
1565
|
-
children: /* @__PURE__ */
|
|
1561
|
+
children: /* @__PURE__ */ k(E, { className: "size-4" })
|
|
1566
1562
|
})]
|
|
1567
1563
|
}) }, e.id))
|
|
1568
|
-
}) : /* @__PURE__ */
|
|
1569
|
-
icon: /* @__PURE__ */
|
|
1564
|
+
}) : /* @__PURE__ */ k(a, {
|
|
1565
|
+
icon: /* @__PURE__ */ k(We, { className: "size-8 text-text-secondary" }),
|
|
1570
1566
|
title: n("vibeDetails.noCatalogs", "Not in any catalogs"),
|
|
1571
1567
|
description: n("vibeDetails.noCatalogsDesc", "Add this vibe to catalogs to organize and track it alongside other components")
|
|
1572
1568
|
}),
|
|
1573
|
-
i && /* @__PURE__ */
|
|
1569
|
+
i && /* @__PURE__ */ k("div", {
|
|
1574
1570
|
className: "fixed inset-0 bg-bg-overlay flex items-center justify-center z-50 p-4",
|
|
1575
|
-
children: /* @__PURE__ */
|
|
1571
|
+
children: /* @__PURE__ */ A(O.div, {
|
|
1576
1572
|
initial: {
|
|
1577
1573
|
opacity: 0,
|
|
1578
1574
|
scale: .95
|
|
@@ -1583,34 +1579,34 @@ function pt({ vibeId: t, tr: n, navigate: r }) {
|
|
|
1583
1579
|
},
|
|
1584
1580
|
className: "bg-bg-surface rounded-lg w-full max-w-md max-h-[60vh] flex flex-col",
|
|
1585
1581
|
children: [
|
|
1586
|
-
/* @__PURE__ */
|
|
1582
|
+
/* @__PURE__ */ k("div", {
|
|
1587
1583
|
className: "p-4 border-b border-border-default",
|
|
1588
|
-
children: /* @__PURE__ */
|
|
1584
|
+
children: /* @__PURE__ */ k("h2", {
|
|
1589
1585
|
className: "text-lg font-semibold text-text-primary",
|
|
1590
1586
|
children: n("vibeDetails.addToCatalogTitle", "Add Vibe to Catalog")
|
|
1591
1587
|
})
|
|
1592
1588
|
}),
|
|
1593
|
-
/* @__PURE__ */
|
|
1589
|
+
/* @__PURE__ */ k("div", {
|
|
1594
1590
|
className: "flex-1 overflow-y-auto p-2",
|
|
1595
|
-
children:
|
|
1591
|
+
children: p.length === 0 ? /* @__PURE__ */ k("div", {
|
|
1596
1592
|
className: "p-4 text-center text-text-secondary text-sm",
|
|
1597
1593
|
children: n("vibeDetails.noAvailableCatalogs", "No available catalogs. This vibe is already in all catalogs.")
|
|
1598
|
-
}) :
|
|
1594
|
+
}) : p.map((e) => /* @__PURE__ */ A("button", {
|
|
1599
1595
|
type: "button",
|
|
1600
|
-
onClick: () =>
|
|
1596
|
+
onClick: () => oe(e.id),
|
|
1601
1597
|
className: "w-full flex items-center justify-between p-3 rounded-md hover:bg-bg-sunken transition-colors text-left",
|
|
1602
|
-
children: [/* @__PURE__ */
|
|
1598
|
+
children: [/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("p", {
|
|
1603
1599
|
className: "font-medium text-text-primary text-sm",
|
|
1604
1600
|
children: e.name
|
|
1605
|
-
}), /* @__PURE__ */
|
|
1601
|
+
}), /* @__PURE__ */ k("p", {
|
|
1606
1602
|
className: "text-xs text-text-secondary",
|
|
1607
1603
|
children: e.visibility
|
|
1608
|
-
})] }), /* @__PURE__ */
|
|
1604
|
+
})] }), /* @__PURE__ */ k(w, { className: "size-4 text-text-secondary" })]
|
|
1609
1605
|
}, e.id))
|
|
1610
1606
|
}),
|
|
1611
|
-
/* @__PURE__ */
|
|
1607
|
+
/* @__PURE__ */ k("div", {
|
|
1612
1608
|
className: "p-4 border-t border-border-default",
|
|
1613
|
-
children: /* @__PURE__ */
|
|
1609
|
+
children: /* @__PURE__ */ k("button", {
|
|
1614
1610
|
type: "button",
|
|
1615
1611
|
onClick: () => o(!1),
|
|
1616
1612
|
className: "w-full px-4 py-2 text-text-primary hover:bg-bg-sunken rounded-md transition-colors",
|
|
@@ -1622,109 +1618,108 @@ function pt({ vibeId: t, tr: n, navigate: r }) {
|
|
|
1622
1618
|
})
|
|
1623
1619
|
] });
|
|
1624
1620
|
}
|
|
1625
|
-
function
|
|
1626
|
-
let
|
|
1621
|
+
function vt({ vibeId: e, agentId: t, profile: n, tunnelUrl: r, type: i, tr: a }) {
|
|
1622
|
+
let o = i === "rest", c = "graphiql", [l, ee] = x(""), [te, ne] = x(!1), [u, re] = x(!1), [ie, d] = x(!1), [f, ae] = x(0), { data: oe, loading: se } = p({
|
|
1627
1623
|
variables: {
|
|
1628
|
-
agentId:
|
|
1629
|
-
profile:
|
|
1624
|
+
agentId: t ?? "",
|
|
1625
|
+
profile: n,
|
|
1630
1626
|
vibeId: e
|
|
1631
1627
|
},
|
|
1632
|
-
skip: !
|
|
1628
|
+
skip: !t,
|
|
1633
1629
|
fetchPolicy: "network-only"
|
|
1634
1630
|
});
|
|
1635
|
-
|
|
1636
|
-
if (
|
|
1637
|
-
let e =
|
|
1631
|
+
v(() => {
|
|
1632
|
+
if (se) return;
|
|
1633
|
+
let e = oe?.agentPlaygroundConfig;
|
|
1638
1634
|
if (e?.ok && e.data && typeof e.data == "object") {
|
|
1639
|
-
let t = e.data, n =
|
|
1635
|
+
let t = e.data, n = o ? t.openapiUrl ?? t.url : t.graphqlUrl ?? t.url;
|
|
1640
1636
|
typeof n == "string" && n && ee(n);
|
|
1641
1637
|
}
|
|
1642
1638
|
ne(!0);
|
|
1643
1639
|
}, [
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1640
|
+
oe,
|
|
1641
|
+
se,
|
|
1642
|
+
o
|
|
1647
1643
|
]);
|
|
1648
|
-
let [
|
|
1649
|
-
if (
|
|
1650
|
-
|
|
1644
|
+
let [ce] = h(), le = async () => {
|
|
1645
|
+
if (l.trim() && t) {
|
|
1646
|
+
re(!0), d(!1);
|
|
1651
1647
|
try {
|
|
1652
|
-
await
|
|
1653
|
-
agentId:
|
|
1654
|
-
profile:
|
|
1648
|
+
await ce({ variables: {
|
|
1649
|
+
agentId: t,
|
|
1650
|
+
profile: n,
|
|
1655
1651
|
vibeId: e,
|
|
1656
|
-
openapiUrl:
|
|
1657
|
-
graphqlUrl:
|
|
1658
|
-
} }),
|
|
1652
|
+
openapiUrl: o ? l.trim() : null,
|
|
1653
|
+
graphqlUrl: o ? null : l.trim()
|
|
1654
|
+
} }), d(!0), ae((e) => e + 1), setTimeout(() => d(!1), 3e3);
|
|
1659
1655
|
} catch {} finally {
|
|
1660
|
-
|
|
1656
|
+
re(!1);
|
|
1661
1657
|
}
|
|
1662
1658
|
}
|
|
1663
|
-
}, [
|
|
1664
|
-
|
|
1665
|
-
if (!
|
|
1666
|
-
let e = !1,
|
|
1667
|
-
e || (
|
|
1659
|
+
}, [ue, de] = x(null), [fe, m] = x(null), g = y(() => [`/ui/${c}`, `/api/plugins/${c}/ui`], [c]);
|
|
1660
|
+
v(() => {
|
|
1661
|
+
if (!t) return;
|
|
1662
|
+
let e = !1, r = null, i = (a) => {
|
|
1663
|
+
e || (de(a), r = Ce(t, n, g, a, i, (e) => m(e.message)));
|
|
1668
1664
|
};
|
|
1669
|
-
return
|
|
1670
|
-
e || (
|
|
1665
|
+
return Se(t, n, g).then((a) => {
|
|
1666
|
+
e || (de(a), r = Ce(t, n, g, a, i, (e) => m(e.message)));
|
|
1671
1667
|
}).catch((t) => {
|
|
1672
|
-
e ||
|
|
1668
|
+
e || m(t instanceof Error ? t.message : String(t));
|
|
1673
1669
|
}), () => {
|
|
1674
|
-
e = !0,
|
|
1670
|
+
e = !0, r?.cancel();
|
|
1675
1671
|
};
|
|
1676
1672
|
}, [
|
|
1673
|
+
t,
|
|
1677
1674
|
n,
|
|
1678
|
-
|
|
1679
|
-
b
|
|
1675
|
+
g
|
|
1680
1676
|
]);
|
|
1681
|
-
let
|
|
1682
|
-
return /* @__PURE__ */
|
|
1677
|
+
let pe = `${r}/ui/${c}?vibeId=${e}&profile=${encodeURIComponent(n)}`, me = ue ? _(pe, ue.token) : pe;
|
|
1678
|
+
return /* @__PURE__ */ A("div", {
|
|
1683
1679
|
className: "space-y-4",
|
|
1684
|
-
children: [/* @__PURE__ */
|
|
1680
|
+
children: [/* @__PURE__ */ k(s, { children: /* @__PURE__ */ A("div", {
|
|
1685
1681
|
className: "p-4",
|
|
1686
1682
|
children: [
|
|
1687
|
-
/* @__PURE__ */
|
|
1683
|
+
/* @__PURE__ */ A("div", {
|
|
1688
1684
|
className: "flex items-center gap-2 mb-2",
|
|
1689
|
-
children: [
|
|
1685
|
+
children: [k(o ? He : Je, { className: "size-5 text-text-secondary" }), /* @__PURE__ */ k("h3", {
|
|
1690
1686
|
className: "font-semibold text-text-primary",
|
|
1691
|
-
children:
|
|
1687
|
+
children: o ? a("vibeDetails.restPlaygroundTitle", "REST API Playground") : a("vibeDetails.graphqlPlaygroundTitle", "GraphQL Playground")
|
|
1692
1688
|
})]
|
|
1693
1689
|
}),
|
|
1694
|
-
/* @__PURE__ */
|
|
1690
|
+
/* @__PURE__ */ A("div", {
|
|
1695
1691
|
className: "flex items-center gap-2",
|
|
1696
|
-
children: [/* @__PURE__ */
|
|
1692
|
+
children: [/* @__PURE__ */ k("input", {
|
|
1697
1693
|
"aria-label": "control",
|
|
1698
1694
|
type: "url",
|
|
1699
1695
|
value: l,
|
|
1700
1696
|
onChange: (e) => ee(e.target.value),
|
|
1701
|
-
placeholder:
|
|
1697
|
+
placeholder: o ? a("vibeDetails.enterSwaggerUrl", "Enter OpenAPI/Swagger URL (e.g. https://petstore3.swagger.io/api/v3/openapi.json)") : a("vibeDetails.enterGraphqlUrl", "Enter GraphQL endpoint URL (e.g. https://countries.trevorblades.com/graphql)"),
|
|
1702
1698
|
className: "flex-1 px-3 py-2 bg-bg-sunken border border-border-default rounded-md text-text-primary placeholder:text-text-placeholder text-sm",
|
|
1703
|
-
onKeyDown: (e) => e.key === "Enter" &&
|
|
1704
|
-
}), /* @__PURE__ */
|
|
1699
|
+
onKeyDown: (e) => e.key === "Enter" && le()
|
|
1700
|
+
}), /* @__PURE__ */ A("button", {
|
|
1705
1701
|
type: "button",
|
|
1706
|
-
onClick:
|
|
1707
|
-
disabled:
|
|
1702
|
+
onClick: le,
|
|
1703
|
+
disabled: u || !l.trim(),
|
|
1708
1704
|
className: "flex items-center gap-2 px-4 py-2 bg-action-primary-bg text-action-primary-text rounded-md hover:bg-action-primary-bg-hover transition-colors disabled:opacity-50 text-sm whitespace-nowrap",
|
|
1709
|
-
children: [
|
|
1705
|
+
children: [u ? /* @__PURE__ */ k(Ke, { className: "size-4 animate-spin" }) : k(ie ? Fe : Le, { className: "size-4" }), u ? a("common.saving", "Saving...") : ie ? a("common.saved", "Saved!") : a("vibeDetails.loadApi", "Load API")]
|
|
1710
1706
|
})]
|
|
1711
1707
|
}),
|
|
1712
|
-
!te && /* @__PURE__ */
|
|
1708
|
+
!te && /* @__PURE__ */ k("p", {
|
|
1713
1709
|
className: "text-xs text-text-muted mt-1",
|
|
1714
|
-
children:
|
|
1710
|
+
children: a("vibeDetails.loadingConfig", "Loading saved configuration...")
|
|
1715
1711
|
})
|
|
1716
1712
|
]
|
|
1717
|
-
}) }),
|
|
1713
|
+
}) }), t && !ue ? /* @__PURE__ */ k("div", {
|
|
1718
1714
|
className: "p-8 text-center text-sm text-text-secondary rounded-md border border-border-default bg-bg-sunken",
|
|
1719
|
-
children:
|
|
1720
|
-
}) : /* @__PURE__ */
|
|
1721
|
-
src:
|
|
1722
|
-
title:
|
|
1715
|
+
children: fe ? a("vibeDetails.iframeTokenError", `Iframe token error: ${fe}`) : a("vibeDetails.mintingIframeToken", "Authorizing iframe…")
|
|
1716
|
+
}) : /* @__PURE__ */ k("iframe", {
|
|
1717
|
+
src: me,
|
|
1718
|
+
title: o ? "REST API Playground" : "GraphQL Playground",
|
|
1723
1719
|
className: "w-full rounded-md border border-border-default bg-bg-sunken",
|
|
1724
1720
|
style: { height: "700px" },
|
|
1725
1721
|
sandbox: "allow-scripts allow-same-origin allow-forms allow-popups"
|
|
1726
|
-
},
|
|
1722
|
+
}, f)]
|
|
1727
1723
|
});
|
|
1728
1724
|
}
|
|
1729
|
-
|
|
1730
|
-
export { R as VibeDetailsPage };
|
|
1725
|
+
export { P as VibeDetailsPage };
|