@burdenoff/fluidgrids-fe-sdk 2026.1030.2 → 2026.1030.3
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/{ExecutionDetailPage-OT2UGYHN.js → ExecutionDetailPage-UJXTRVYM.js} +10 -10
- package/dist/{ExecutionsListPage-3D3KRCW5.js → ExecutionsListPage-ZSMTA5QN.js} +7 -7
- package/dist/{WorkflowBuilder-OLXEXR43.js → WorkflowBuilder-NSBAOTQB.js} +10 -10
- package/dist/{WorkflowsList-7F4QXM53.js → WorkflowsList-VH7ZKQJE.js} +7 -7
- package/dist/{chunk-UFFNYST3.js → chunk-5CRJD5YU.js} +3 -3
- package/dist/{chunk-BBOCA2T4.js → chunk-5EHMEGSO.js} +4 -4
- package/dist/{chunk-IIFSIBZ3.js → chunk-63H4FFY7.js} +1 -1
- package/dist/{chunk-OTAFPF7U.js → chunk-6DNT5QP5.js} +136 -136
- package/dist/{chunk-FPG2RZMC.js → chunk-7RVPPQOG.js} +5 -5
- package/dist/{chunk-GQTEHWWY.js → chunk-AW3UXMNI.js} +3 -2
- package/dist/{chunk-2VYFYHPE.js → chunk-C4LNSLQX.js} +2 -2
- package/dist/{chunk-EQEV4WZL.js → chunk-FQBRK4R5.js} +3 -3
- package/dist/{chunk-YFK2FZ4C.js → chunk-HO7CZM3V.js} +1 -1
- package/dist/{chunk-YJ64DOKQ.js → chunk-HWPPD2WE.js} +1 -1
- package/dist/{chunk-Z6I6A47T.js → chunk-INMYNHJL.js} +1 -1
- package/dist/{chunk-ECIDNCDI.js → chunk-IQFPFSFN.js} +2 -2
- package/dist/{chunk-AFUEJNWC.js → chunk-KK5VQ322.js} +4 -4
- package/dist/{chunk-ZWTINPHQ.js → chunk-NHQXWTOK.js} +3 -3
- package/dist/{chunk-H4AZBUWM.js → chunk-OGYAC7QW.js} +1 -1
- package/dist/{chunk-F6Q3PMHH.js → chunk-OTO46JVO.js} +2 -2
- package/dist/{chunk-FRIV5FEI.js → chunk-P4WCNDP7.js} +4 -4
- package/dist/{chunk-DDEJOL6N.js → chunk-QJ4P5Y47.js} +5 -5
- package/dist/{chunk-AZ3HUGV5.js → chunk-SU5W4OOE.js} +8 -8
- package/dist/{chunk-2YPXXNMV.js → chunk-TGGTM5RW.js} +1 -1
- package/dist/{chunk-O3VLDA34.js → chunk-VKM2BI46.js} +2 -2
- package/dist/{chunk-WCSPODUI.js → chunk-WMI2OSWG.js} +5 -5
- package/dist/{chunk-RXVZCP3C.js → chunk-WNC3UP2A.js} +1 -1
- package/dist/{chunk-HDAST445.js → chunk-Z6THCS3L.js} +2 -2
- package/dist/executions.js +11 -11
- package/dist/history.js +4 -4
- package/dist/index.d.ts +17 -1
- package/dist/index.js +906 -94
- package/dist/nodes.js +2 -2
- package/dist/observability.js +5 -5
- package/dist/settings.js +6 -6
- package/dist/templates.js +9 -9
- package/dist/workflow-builder.js +11 -11
- package/dist/workflows-list.js +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,69 +1,73 @@
|
|
|
1
1
|
export { Label } from './chunk-VTQVPNUQ.js';
|
|
2
|
-
export { WorkflowBuilder, WorkflowBuilderCore, WorkflowSearchRedirect } from './chunk-
|
|
3
|
-
export { GuidedTourStarter, WorkflowBuilder as WorkflowBuilderPage } from './chunk-
|
|
4
|
-
export { FirstWorkflowChecklist, FirstWorkflowChecklistView, WorkflowsList, useCreateWorkflowFirst } from './chunk-
|
|
5
|
-
|
|
2
|
+
export { WorkflowBuilder, WorkflowBuilderCore, WorkflowSearchRedirect } from './chunk-5CRJD5YU.js';
|
|
3
|
+
export { GuidedTourStarter, WorkflowBuilder as WorkflowBuilderPage } from './chunk-7RVPPQOG.js';
|
|
4
|
+
export { FirstWorkflowChecklist, FirstWorkflowChecklistView, WorkflowsList, useCreateWorkflowFirst } from './chunk-QJ4P5Y47.js';
|
|
5
|
+
import { CreateWorkflowRefusalDialog } from './chunk-HWPPD2WE.js';
|
|
6
|
+
export { CreateWorkflowRefusalDialog, GUIDED_FIRST_WORKFLOW_NAV, GUIDED_FIRST_WORKFLOW_STATE, GUIDED_TOUR_STATE, firstWorkflowProgress, isGuidedTourIntent, pickGuidedTour } from './chunk-HWPPD2WE.js';
|
|
6
7
|
import './chunk-PIKYQE7P.js';
|
|
7
8
|
import './chunk-AD3BXTJS.js';
|
|
8
|
-
export { ExecutionsListPage } from './chunk-
|
|
9
|
-
import { usePendingHumanRequests, HumanRequestCard } from './chunk-
|
|
10
|
-
export { ExecutionDetailPage, HumanRequestCard, RunHumanRequests, usePendingHumanRequests, useRespondToHumanRequest, useRunHumanRequests } from './chunk-
|
|
11
|
-
import { TagFilterSelect } from './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
export { HistoryPage } from './chunk-
|
|
14
|
-
export { NodesPage, fetchAllNodesWithManifests, useLazyNodeManifest, useNodeEndpoint, useNodeEndpoints, useNodeManifest } from './chunk-
|
|
15
|
-
export { DataSinkDashboardPage, ErrorAnalyticsPage, InsightsPage } from './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
export { SettingsPage } from './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
export { useDataSinkData, useDataSinks, useInsightsData, useLogStreamDestinationActions, useLogStreamDestinations, useRunReplayActions } from './chunk-
|
|
9
|
+
export { ExecutionsListPage } from './chunk-5EHMEGSO.js';
|
|
10
|
+
import { usePendingHumanRequests, HumanRequestCard } from './chunk-SU5W4OOE.js';
|
|
11
|
+
export { ExecutionDetailPage, HumanRequestCard, RunHumanRequests, usePendingHumanRequests, useRespondToHumanRequest, useRunHumanRequests } from './chunk-SU5W4OOE.js';
|
|
12
|
+
import { TagFilterSelect } from './chunk-KK5VQ322.js';
|
|
13
|
+
import './chunk-VKM2BI46.js';
|
|
14
|
+
export { HistoryPage } from './chunk-WNC3UP2A.js';
|
|
15
|
+
export { NodesPage, fetchAllNodesWithManifests, useLazyNodeManifest, useNodeEndpoint, useNodeEndpoints, useNodeManifest } from './chunk-OGYAC7QW.js';
|
|
16
|
+
export { DataSinkDashboardPage, ErrorAnalyticsPage, InsightsPage } from './chunk-FQBRK4R5.js';
|
|
17
|
+
import './chunk-IQFPFSFN.js';
|
|
18
|
+
export { SettingsPage } from './chunk-WMI2OSWG.js';
|
|
19
|
+
import './chunk-63H4FFY7.js';
|
|
20
|
+
export { useDataSinkData, useDataSinks, useInsightsData, useLogStreamDestinationActions, useLogStreamDestinations, useRunReplayActions } from './chunk-HO7CZM3V.js';
|
|
20
21
|
import './chunk-5ERAJC2I.js';
|
|
21
|
-
import { ThemeProvider, extractTemplateGraph } from './chunk-
|
|
22
|
-
export { TemplatePreview, TemplatesPage } from './chunk-
|
|
23
|
-
import { external_exports, FlowBuilderPage, FluidGridsMark, useRunners, useRunnerActions, RunnerStatusPill, runnerInstallCommand } from './chunk-
|
|
24
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Popover, PopoverContent, PopoverTrigger, RUNNER_INSTALL_SCRIPT_URL, RunOnSection, RunnerStatusPill, RunsUsageMeter, RunsUsageMeterView, readRunsQuota, runnerInstallCommand, runsQuotaLevel, summarizeRunsQuota, useRunnerActions, useRunners, useRunsQuota } from './chunk-
|
|
22
|
+
import { ThemeProvider, extractTemplateGraph } from './chunk-P4WCNDP7.js';
|
|
23
|
+
export { TemplatePreview, TemplatesPage } from './chunk-P4WCNDP7.js';
|
|
24
|
+
import { external_exports, useAiWorkflowTemplates, AI_DRAFT_MAX_PROMPT_LENGTH, FlowBuilderPage, FluidGridsMark, useRunners, useRunnerActions, RunnerStatusPill, runnerInstallCommand, draftToCanvas, enrichDraftNodes } from './chunk-6DNT5QP5.js';
|
|
25
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Popover, PopoverContent, PopoverTrigger, RUNNER_INSTALL_SCRIPT_URL, RunOnSection, RunnerStatusPill, RunsUsageMeter, RunsUsageMeterView, readRunsQuota, runnerInstallCommand, runsQuotaLevel, summarizeRunsQuota, useRunnerActions, useRunners, useRunsQuota } from './chunk-6DNT5QP5.js';
|
|
25
26
|
import './chunk-GEMNVFPK.js';
|
|
26
27
|
export { Input } from './chunk-IEVSFCFS.js';
|
|
27
28
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './chunk-YXMFRQYV.js';
|
|
28
29
|
export { Badge, Button, badgeVariants, buttonVariants } from './chunk-BQXVT32O.js';
|
|
29
|
-
import './chunk-
|
|
30
|
-
import { EntityTagPicker } from './chunk-
|
|
31
|
-
export { EntityTagPicker } from './chunk-
|
|
32
|
-
import { useDataTableTagOverlay, tagLabel } from './chunk-
|
|
33
|
-
export { FLUIDGRIDS_ENTITY_TYPES, tagLabel, useAvailableTags, useCreateTag, useDraftEntityTags, useEntityTags, useReplaceEntityTags, useSearchTags, useTagEntity, useUntagEntity } from './chunk-
|
|
34
|
-
import './chunk-Y53CVZVV.js';
|
|
30
|
+
import './chunk-C4LNSLQX.js';
|
|
31
|
+
import { EntityTagPicker } from './chunk-NHQXWTOK.js';
|
|
32
|
+
export { EntityTagPicker } from './chunk-NHQXWTOK.js';
|
|
33
|
+
import { useDataTableTagOverlay, tagLabel } from './chunk-INMYNHJL.js';
|
|
34
|
+
export { FLUIDGRIDS_ENTITY_TYPES, tagLabel, useAvailableTags, useCreateTag, useDraftEntityTags, useEntityTags, useReplaceEntityTags, useSearchTags, useTagEntity, useUntagEntity } from './chunk-INMYNHJL.js';
|
|
35
|
+
import { AiCreditBalanceSlot, notifyFluidGridsAiCreditsUpdated } from './chunk-Y53CVZVV.js';
|
|
35
36
|
import './chunk-D3UWK7GY.js';
|
|
36
|
-
|
|
37
|
+
import { useCreateWorkflow } from './chunk-OTO46JVO.js';
|
|
38
|
+
export { useActivateWorkflow, useCreateWorkflow, useCreateWorkflowVersion, useDashboardSummary, useDeactivateWorkflow, useDeleteWorkflow, useDuplicateWorkflow, useImportWorkflow, useLazyWorkflowDefinition, useRestoreWorkflowVersion, useTriggerWorkflow, useUpdateWorkflow, useWorkflowDefinition, useWorkflowDefinitions, useWorkflowRun, useWorkflowRuns, useWorkflowVersions } from './chunk-OTO46JVO.js';
|
|
37
39
|
export { FluidGridsAssistantBridge, useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
|
|
38
40
|
export { A2AMessagePriority, A2AMessageStatus, A2ATrustLevel, ActionExecutionStatus, ActionPolicyEffect, ActionSourceType, ActionStatus, ActionStyle, ActionTriggerType, ActionType, ActivityCategory, ActivityType, ActorType, AdaAdapterKind, AdaAdapterStatus, AdaAuthMethod, AdaConnectionStatus, AdaDataSubjectRequestStatus, AdaDataSubjectRequestType, AdaDataSubjectRetentionRule, AdaDriftStatus, AdaEdgeKind, AdaLegalCheckpointType, AdaPolicyEnforcement, AdaPolicyKind, AdaResourceState, AdaSeverity, AdaSyncKind, AdaSyncStatus, AdaViolationStatus, AgentCapabilityScope, AgentDefinitionStatus, AgentVisibility, AiContextStatus, AiContextType, AiPredictionStatus, AiPromptCategory, AiPromptStatus, AlertSeverity, AnalyticsEntityType, AnalyticsEventSeverity, AnalyticsGranularity, AnalyticsInsightSeverity, AnomalyDetectionMethod, AnomalyDirection, AppCategory, AppInstallationState, AppPermission, AppStatus, AppType, AppVisibility, ApprovalStatus, ArtAnchorType, ArtApprovalDecision, ArtAssetKind, ArtFeedbackStatus, ArtLicenseModel, ArtLicenseStatus, ArtMedium, ArtProductionRole, ArtProductionStatus, ArtReleaseStatus, ArtReviewStatus, ArtVisibility, ArtWorkStatus, ArtifactType, AssetAssignmentStatus, AssetBudgetStatus, AssetCondition, AssetDeadlineAlertKind, AssetDeadlineAlertStatus, AssetDepreciationMethod, AssetMeterUnit, AssetStatus, AssetTransactionStatus, AssetTransactionType, AssignmentSource, AssistantHistoryArchivedFilter, AssistantHistoryChannel, AssistantHistoryChannelFilter, AssistantHistoryDeleteOutcome, AssistantHistoryEntryKind, AssistantHistoryRole, AssistantHistorySaveOutcome, AssistantHistoryUpdateOutcome, AssistantMessageRole, AssistantRelayGateway, AthAgentRunStatus, AthAgentRunTrigger, AthAiAssessment, AthAvailabilityResponse, AthFixtureStatus, AthFixtureType, AthMemberRole, AthMemberStatus, AthMetricType, AthProgramLevel, AthProgramStatus, AthSessionStatus, AthSessionType, AthSport, AthTeamStatus, AthWorkoutStatus, AttendeeRole, AuthMethodFlow, AuthType, AuthorType, BackoffStrategy, BatchDownloadStatus, BigConsoleConflictResolution, BillingPlan, BillingType, BoardColumnType, BoardType, BookingFormFieldType, BookingPageType, BookingStatus, BotAppStatus, BotAppType, BotAppVisibility, BotlitAgentCapability, BotlitAgentStatus, BotlitAgentType, BotlitHealthStatus, BotlitLlmProviderType, BotmanorAgentApprovalStatus, BotmanorAgentCapability, BotmanorAgentStatus, BotmanorAgentType, BotmanorHealthStatus, BotmanorLlmProviderType, BraAccountStatus, BraAccountType, BraAdvisorRole, BraAdvisorStatus, BraAggregationLinkStatus, BraAggregationProvider, BraAssetClass, BraGoalProjection, BraGoalStatus, BraGoalType, BraHouseholdStatus, BraInsightSeverity, BraInsightStatus, BraInsightType, BraPortfolioStatus, BraRebalanceStatus, BraRecurringCategory, BraRecurringFrequency, BraReportFrequency, BraReportRunStatus, BraRiskProfile, BraRiskSignalKind, BraScheduledReportStatus, BraTradeInstructionAction, BraTradeInstructionSource, BraTradeInstructionStatus, BraTransactionType, BudgetStatus, BuiAccessibilityContentKind, BuiAccessibilityRule, BuiAccessibilitySeverity, BuiAccessibilityTargetType, BuiAdminCopilotActionKind, BuiAdminCopilotActionStatus, BuiAdminCopilotRole, BuiAiSuggestionOutcome, BuiAssessmentStatus, BuiAssessmentType, BuiAutomationRunStatus, BuiAutomationTemplate, BuiAutomationTriggerKind, BuiAutomationTriggerSource, BuiCertificateStatus, BuiCertificationBody, BuiCohortStatus, BuiCourseLevel, BuiCourseStatus, BuiEnrollmentStatus, BuiLessonType, BuiLtiGradeSyncStatus, BuiLtiMessageType, BuiLtiRosterMemberStatus, BuiPacingHint, BuiProctoringDecision, BuiProctoringSignalType, BuiProctoringStatus, BuiProgressStatus, BuiQuestionType, BuiSkillCategory, BuiSkillStandardSource, BuiSubmissionStatus, BuiTutorAdaptiveLevel, BuiTutorMessageRole, BuiTutorReviewAction, BuiTutorReviewStatus, BulkConversationAction, CalendarEventStatus, CalendarExecutionStatus, CalendarExportFormat, CalendarPromptStatus, CalendarResourceType, CalendarType, CallParticipantChangeType, CallState, CallType, CatalogVisibility, ChangeRisk, ChangeStatus, ChannelMessageStatus, ChannelPlatform, ChannelType, ChatRole, CheckInStatus, ChunkingMethod, CircuitState, CodeReplaceKind, CodeReplaceStatus, CohortType, ColAssistantSuggestionKind, ColAssistantSuggestionStatus, ColCertainty, ColEventType, ColGender, ColGuardianRequestDecision, ColGuardianRequestStatus, ColGuardianRequestTargetKind, ColGuardianRequestType, ColKeepsakeBookStatus, ColLifeStatus, ColMemberRole, ColMembershipStatus, ColMemoryKind, ColPromptCategory, ColPromptRelationshipType, ColRelationshipType, ColStoryFormat, ColTreeStatus, ColVisibility, CollaboratorRole, CollectionActivityType, CollectionItemSortField, CollectionSortField, CollectionType, CollectionVisibility, ComBillingInterval, ComChannelType, ComChannelVisibility, ComCircleStatus, ComCircleVisibility, ComDevicePlatform, ComDigitalProductType, ComEventMode, ComEventStatus, ComExportFormat, ComFollowTargetType, ComLiveStreamRecordingStatus, ComLiveStreamStatus, ComMediaMode, ComMemberRole, ComMembershipStatus, ComModerationCategory, ComModerationReviewDecision, ComModerationTargetType, ComModerationVerdictType, ComMonetizationStatus, ComPaidEventStatus, ComPollStatus, ComPostStatus, ComPresence, ComReactionTargetType, ComReactionType, ComReportStatus, ComReportTargetType, ComRsvpStatus, ComTipIntentStatus, ComVoiceSessionStatus, ComVoiceSignalType, CommentExportFormat, CommentScheduleType, CommentStatus, CommentVisibility, ComparisonOperator, ComponentLifecycle, ComponentType, ConfigScope, ConflictResolution, ConnectionAccess, ConnectionAccessFilter, ConnectionCredentialSource, ConnectionExpiryReason, ConnectionQuality, ConnectionSharePrincipalType, ConnectionShareRole, ConnectionStatus, ConnectionVisibility, ConsultationConsultantType, ConsultationStatus, ContentSearchEngine, ContentSearchStatus, ContentType, ConversationPermission, ConversationSortField, ConversationState, ConversationType, ConversationVisibility, ConversationsExportFormat, CooAdminDecision, CooBrandStatus, CooCollaborationPayoutStatus, CooCollaborationStatus, CooCollaboratorRole, CooCollectionStatus, CooCommissionReversalStatus, CooEarningSyncStatus, CooFulfilmentStatus, CooLegalCheckpointType, CooLookOccasion, CooOrderStatus, CooRefundStatus, CooRestockStatus, CooReturnRequestStatus, CooSeason, CooStoreListingStatus, CooStoreSyncStatus, CooStyleCategory, CooStyleItemStatus, CooVisibility, CooWardrobeSource, CosAccessLevel, CosAnalysisStatus, CosDatasetStatus, CosDoiState, CosExternalRegistryMode, CosFieldType, CosGrantStatus, CosNotebookStatus, CosPipelineStatus, CosPipelineTrigger, CosReleaseStatus, CosRunStatus, CosSourceStatus, CosSourceType, CosStepKind, CosZenodoMirrorStatus, CrewPayrollCountry, CrewPayrollRunStatus, CrewfoundryExportFormat, CustomFieldType, CustomNodeLanguage, DashboardCategory, DashboardEmbedAccessMode, DashboardEmbedPolicyStatus, DashboardEmbedTheme, DashboardLayout, DashboardSortField, DashboardStatus, DashboardStyleType, DashboardVisibility, DataClassification, DataSinkAlertChannel, DataSinkAlertConditionType, DataSinkAlertExecutionStatus, DataSinkRefreshType, DataSinkSetupState, DataSinkSourceType, DataSinkStatus, DataSinkUpdateEventType, DataSourceTestStatus, DataSourceType, DataTableColumnType, DataTableFilterOp, DayOfWeek, DeliveryChannelType, DeliveryJobStatus, DeliveryPriority, DemandForecastScope, DependencyStatus, DependencyType, DeploymentEnvironment, DeploymentStatus, DiscoveryJobStatus, DlqStatus, DocStatus, DocumentStatus, DrainageStatus, DriverStatus, EcoCarbonEntryStatus, EcoConservationStatus, EcoDataSourceType, EcoEmissionScope, EcoHabitatProjectStatus, EcoIngestionJobStatus, EcoIngestionRecordType, EcoMeasurementSource, EcoObservationMethod, EcoReductionTargetStatus, EcoReportFramework, EcoReportStatus, EcoRestorationActivityType, EcoSensorKind, EcoSensorStatus, EcoSiteStatus, EcoSiteType, EcoTaxonGroup, EcoThresholdDirection, EcoThresholdSeverity, EmbedContentReviewState, EncryptionAlgorithm, EnergyLevel, EntityStatus, ErrorType, EventStatus, EventType, EventValidationStatus, EventVisibility, EventfullyManagedIntegrationConnectorStatus, EventfullyManagedIntegrationProvider, EventfullyManagedIntegrationSyncRunStatus, EventfullyManagedVirtualParticipantRole, EventfullyManagedVirtualSessionMode, EventfullyManagedVirtualSessionStatus, EventfullyManagedVirtualSignalType, ExecutionKind, ExecutionStatus, ExecutionType, ExecutorType, ExpenseOrderByField, ExpenseStatus, ExportArchiveFormat, ExportFormat, ExportJobStatus, ExportScope, ExportSortField, ExternalCalendarSyncDirection, ExternalCalendarSyncStatus, ExternalProviderType, FeatureRequestStatus, FidelityLevel, FieldMaskStrategy, FileEventType, FileMetadataSortField, FileSha256Provenance, FileShareAccessLevel, FileShareType, FileSortField, FileStatus, FileVisibility, FilterDataType, FilterOperator, FilterType, FluidGridsEventType, FluidGridsWorkflowStatus, FolderSortField, FolderStatus, FuelType, FunnelStepOrder, GeneratedLayoutType, GeofenceEventType, GeofenceTrigger, GgnomadAccessibilityFeature, GgnomadApprovalStatus, GgnomadBookingStatus, GgnomadBookingType, GgnomadCartStatus, GgnomadChannelSyncDirection, GgnomadChannelSyncStatus, GgnomadClaimStatus, GgnomadExportFormat, GgnomadGroupTripSplitMethod, GgnomadGroupTripVoteChoice, GgnomadListingStatus, GgnomadListingType, GgnomadLoyaltyTransactionType, GgnomadPrivateRequestAction, GgnomadPrivateRequestStatus, GgnomadProviderType, GgnomadPushPlatform, GgnomadSustainabilityPractice, GgnomadTicketStatus, GgnomadTripPlanItemType, GovAgentRunStatus, GovAgentRunTrigger, GovApplicationStatus, GovAssetCategory, GovAssetOperator, GovAssetStatus, GovBenchmarkScope, GovBudgetCategory, GovBudgetLineKind, GovBudgetStatus, GovCaseEscalationKind, GovCaseEscalationStatus, GovCaseNoteType, GovCasePriority, GovCommitmentStatus, GovConsultationStatus, GovConsultationType, GovDataLicense, GovDatasetFormat, GovDatasetStatus, GovDocumentStatus, GovElectionStatus, GovElectionType, GovEventCategory, GovEventImpact, GovFeeType, GovFundingSource, GovGrievanceStatus, GovIndicatorDirection, GovIndicatorDomain, GovIndicatorPeriodicity, GovIndicatorValueType, GovInsightKind, GovInsightSeverity, GovIntelEntityType, GovJurisdictionStatus, GovMilestoneStatus, GovOfficeType, GovPaymentStatus, GovPermitStatus, GovProjectStatus, GovProposalStatus, GovSentiment, GovServiceCategory, GovServiceStatus, GovTrendDirection, GovVerificationStatus, GraphMetadataOperator, GraphSearchMode, GraphSearchSortBy, GroupCompositionMode, GroupExportFormat, GroupScope, GroupSortField, GroupStatus, GroupType, GroupVisibility, GroupsExportFormat, GrowLocationType, HeadshotmarketingAdCampaignStatus, HeadshotmarketingAdConnectionMode, HeadshotmarketingAdConnectionStatus, HeadshotmarketingAdCreativeStatus, HeadshotmarketingAdCreativeType, HeadshotmarketingAdPlatform, HeadshotmarketingAdSyncStatus, HeadshotmarketingAgentActionStatus, HeadshotmarketingAgentMessageRole, HeadshotmarketingAiToolCategory, HeadshotmarketingAiToolExecutionStatus, HeadshotmarketingAssetType, HeadshotmarketingAttributionConversionType, HeadshotmarketingAttributionModel, HeadshotmarketingAutomationRunStatus, HeadshotmarketingAutomationStepLogStatus, HeadshotmarketingAutomationSubjectType, HeadshotmarketingAutomationTriggerType, HeadshotmarketingAutomationWorkflowStatus, HeadshotmarketingCampaignStatus, HeadshotmarketingCampaignType, HeadshotmarketingContactStatus, HeadshotmarketingContentItemStatus, HeadshotmarketingContentItemType, HeadshotmarketingCulturalCategory, HeadshotmarketingCulturalRegion, HeadshotmarketingDealStatus, HeadshotmarketingEventRegistrationStatus, HeadshotmarketingEventStatus, HeadshotmarketingEventType, HeadshotmarketingExportFormat, HeadshotmarketingInfluencerCampaignStatus, HeadshotmarketingInfluencerRelationshipStatus, HeadshotmarketingInfluencerTier, HeadshotmarketingIntegrationCategory, HeadshotmarketingIntegrationConnectionType, HeadshotmarketingIntegrationListingStatus, HeadshotmarketingLandingPageSectionType, HeadshotmarketingLandingPageStatus, HeadshotmarketingLeadSource, HeadshotmarketingLeadStatus, HeadshotmarketingSeoAuditSeverity, HeadshotmarketingSeoAuditStatus, HeadshotmarketingSeoKeywordStatus, HeadshotmarketingSocialAccountDeliveryMode, HeadshotmarketingSocialAccountStatus, HeadshotmarketingSocialMentionSentiment, HeadshotmarketingSocialMentionStatus, HeadshotmarketingSocialMentionType, HeadshotmarketingSocialPlatform, HeadshotmarketingSocialPostStatus, HeadshotmarketingTouchpointType, HeadshotmarketingTranslationStatus, HeadshotmarketingWorkspaceIntegrationStatus, HealthyBowlAdvisoryTaskStatus, HealthyBowlConsultantAssignmentScope, HealthyBowlFarmRecommendationPriority, HealthyBowlFarmRecommendationStatus, HealthyBowlFinancierGrantScope, HealthyBowlGeneratableReportType, HealthyBowlGrowthGranularity, HealthyBowlPaddockState, HealthyBowlTaggableType, HokApplicationStatus, HokAuditionStatus, HokCallbackFormat, HokCallbackStatus, HokCastingSide, HokChannelStatus, HokClipStatus, HokCreditRole, HokDisputeCategory, HokDisputeOutcome, HokDisputeStatus, HokEntitlementSource, HokEntitlementStatus, HokGuardianLinkStatus, HokLegalCheckpointType, HokListKind, HokListVisibility, HokLocalizationKind, HokLocalizationStatus, HokModerationSeverity, HokModerationStatus, HokMonetizationMode, HokOfferPaymentStatus, HokOfferSignerRole, HokOfferStatus, HokPlaybackEventType, HokProductionStatus, HokRatingSubjectType, HokReviewStatus, HokRightsWindowStatus, HokRoyaltyComputationMethod, HokRoyaltyLedgerStatus, HokRoyaltyPayeeType, HokTitleStatus, HokTitleType, HokVerificationStatus, HokVerificationSubjectType, HokWatchPartyStatus, HousingVistaAnalyticsPeriod, HousingVistaMaintenancePriority, HousingVistaMaintenanceStatus, HousingVistaNlSearchMethod, HousingVistaOfferResponseAction, HousingVistaOfferStatus, HousingVistaPropertyStatus, HousingVistaPropertyType, HousingVistaRentalApplicationStatus, HousingVistaReraVerificationStatus, HousingVistaViewingStatus, HousingVistaViewingType, HttpMethod, IncidentStatus, IndexStatus, InstallMode, InstructionFilename, InstructionScope, IntAlertSeverity, IntAlertStatus, IntCaseStatus, IntClassification, IntConfidence, IntEntityType, IntFeedStatus, IntIndicatorType, IntMissionStatus, IntPriority, IntRelationshipType, IntReportStatus, IntReportType, IntRequirementStatus, IntSourceDiscipline, IntSourceStatus, IntTaskStatus, IntegrationEventStatus, IntegrationStatus, InventoryTransactionType, InvitationEmailStatus, InvitationStatus, InviteStatus, InvoiceStatus, IssueTokenErrorCode, JobStatus, JoinGroupStatus, KadaikodiAddressType, KadaikodiClockAction, KadaikodiInvestmentStatus, KadaikodiLoyaltyTxnType, KadaikodiMembershipInterval, KadaikodiOfferingKind, KadaikodiOrderStatus, KadaikodiPaymentMethodType, KadaikodiPaymentStatus, KadaikodiProviderStatus, KadaikodiRiskLevel, KadaikodiServiceCategory, KadaikodiSubscriptionStatus, KadaikodiWorkerTaskStatus, KadaikodiWorkerTaskType, KeyResultMetricType, KeyResultProgressSource, KeyResultStatus, KeyStatus, KeyType, KnowledgeArticleStatus, KnowledgeCleanupKind, LabAgentRunStatus, LabAgentRunTrigger, LabBookingStatus, LabDatasetKind, LabDatasetStatus, LabExperimentStatus, LabInstrumentStatus, LabInventoryCategory, LabInventoryStatus, LabNotebookEntryStatus, LabPipelineRunStatus, LabProjectStatus, LabProjectVisibility, LabProtocolStatus, LabProvenanceEntityType, LabRunRecommendation, LabRunStatus, LabStepKind, LegalHoldStatus, LicenseMetricType, LicensePositionType, LocationType, LockType, LogAction, LogLevel, LogStreamEventType, LogStreamProvider, ManAssetStatus, ManCapaVerificationResult, ManChecklistItemResult, ManControlChartType, ManDowntimeReason, ManErpEntityType, ManErpProvider, ManErpSyncDirection, ManErpSyncStatus, ManInspectionResult, ManInspectionStage, ManItemType, ManLegalCheckpointType, ManMaintenanceStatus, ManMaintenanceType, ManMaintenanceWorkOrderEventType, ManMaterialLinkRole, ManMaterialLotEventType, ManMaterialLotReleaseDecision, ManMaterialLotStatus, ManMaterialSerialEventType, ManNonConformanceDisposition, ManNonConformanceEventType, ManNonConformanceLinkType, ManNonConformanceStatus, ManOperationStatus, ManPmState, ManProductionOrderStatus, ManProductionPriority, ManRoutingEventType, ManSeverity, ManTagSource, ManTrackingMode, ManWorkCenterType, McpConnectionStatus, McpResourceType, McpToolRiskLevel, McpToolStatus, MeetingActionItemStatus, MeetingOrderByField, MeetingParticipantRole, MeetingParticipantStatus, MeetingProvider, MeetingType, MemberPresenceStatus, MembershipRole, MembershipSource, MembershipStatus, MembershipType, MentionType, MeshSessionKind, MessageContentType, MessageReportResolutionAction, MessageReportStatus, MessageStatus, MessageType, MetadataValueType, MetricAggregationField, MetricType, MilestoneStatus, MisfirePolicy, Mood, MtwCarrierProvider, MtwCarrierServiceMode, MtwConsolidationQuantityBasis, MtwConsolidationReportKind, MtwConsumedFuelBasis, MtwConsumedFuelQualification, MtwConsumedFuelReason, MtwContainerCargoCategory, MtwContainerCycleStatus, MtwContainerDefectSeverity, MtwContainerEventKind, MtwContainerEventType, MtwContainerExaminationScheme, MtwContainerHoldStatus, MtwContainerQualificationScope, MtwContainerQualificationStatus, MtwContainerSuitability, MtwEquipmentType, MtwExportFormat, MtwFleetAlertSeverity, MtwFleetAlertSubjectType, MtwFleetAlertType, MtwFreeTimeApplicability, MtwFreeTimeCalculationPolicy, MtwFreeTimeChargeKind, MtwFreeTimeDecisionKind, MtwFreeTimePartialDayPolicy, MtwFreeTimeTierBasis, MtwFreightAmountBasis, MtwFreightCategory, MtwFreightCommercialStatus, MtwFreightDisposition, MtwFreightInvoiceAcceptance, MtwFreightInvoiceBlocker, MtwFreightInvoiceFlag, MtwFreightInvoiceReason, MtwFreightKind, MtwFreightLocationKind, MtwFreightRequirementStatus, MtwFreightRounding, MtwFreightVolumeUnit, MtwFreightWeightUnit, MtwIntegrationProvider, MtwPalletBoundStatus, MtwPalletClassification, MtwPalletLayoutStatus, MtwPalletMethod, MtwPalletMode, MtwPalletUnits, MtwPalletUnsupportedStatus, MtwPickReviewAction, MtwPickReviewKind, MtwPickReviewState, MtwPickTaskStatus, MtwPickTaskWorkflow, MtwProcedureApplicabilityStatus, MtwProcedureDeviationAuthority, MtwProcedureDeviationKind, MtwProcedureDeviationReviewKind, MtwProcedureRecordingBoundary, MtwProcedureStep, MtwProcedureStepKind, MtwProcedureVersionKind, MtwReuseApprovalKind, MtwReuseBlockerCertainty, MtwReuseReadinessStatus, MtwReuseReservationStatus, MtwReuseReservationTerminalStatus, MtwReuseSourcePurpose, MtwStockBindingCompletenessStatus, MtwStockBindingCountUnitKind, MtwStockBindingExpiryPolicy, MtwStockBindingIncompleteReason, MtwStockBindingLotDisposition, MtwStockBindingLotPolicy, MtwStockBindingProvenance, MtwStockBindingScope, MtwStockObservationCountScope, MtwStockObservationEvidenceStatus, MtwStockObservationKind, MtwStockObservationStatus, MtwTripUtilizationBasis, MtwTripUtilizationCoverage, MtwUtilizationCapacityBasis, MtwUtilizationDistanceBasis, MtwUtilizationLoadBasis, MtwUtilizationLoadedState, MtwUtilizationMetricReason, MtwUtilizationMetricStatus, MtwUtilizationWarning, MybAiOperationStatus, MybAiOperationType, MybAiProvider, MybBodyMetricType, MybCoachingStatus, MybDeviceConnectionStatus, MybDeviceProvider, MybExportFormat, MybFitnessLevel, MybGoalStatus, MybGoalType, MybGuidanceAction, MybGuidanceSignal, MybLegalCheckpointType, MybLogSource, MybMealType, MybMuscleGroup, MybProgramPhase, MybProgramStatus, MybRecoveryMetric, MybSessionStatus, MybWearableMetricType, MybWorkoutType, NatsFilterType, NavigationMode, NodeConfigStatus, NodeStatus, NoteVisibility, NotificationLevel, ObjectiveStatus, OceanContainerType, OrderDirection, OverrideType, PackageKind, PageLayout, ParentClosePolicy, ParserStatus, ParserType, ParticipantChangeType, ParticipantRole, PhysicalAuditItemOutcome, PhysicalAuditStatus, PipelineExecutionStatus, PipelineStatus, PlanmagnetActivityEventType, PlanmagnetAgentRunStatus, PlanmagnetAgentRunTrigger, PlanmagnetAnalyticsWindowPreset, PlanmagnetAutomationExecutionStatus, PlanmagnetAutomationStatus, PlanmagnetAutomationTriggerType, PlanmagnetBoardCardField, PlanmagnetBoardCardSortField, PlanmagnetBoardGroupBy, PlanmagnetBoardViewVisibility, PlanmagnetBusinessIntelligenceReason, PlanmagnetCommentStatus, PlanmagnetCommentTargetType, PlanmagnetDocDiffHunkKind, PlanmagnetDocEventKind, PlanmagnetDocSuggestionStatus, PlanmagnetDueGroup, PlanmagnetFeatureOrder, PlanmagnetForecastMethod, PlanmagnetImportFormat, PlanmagnetImportOutcome, PlanmagnetKano, PlanmagnetMeetingKind, PlanmagnetMilestoneOrder, PlanmagnetMoscow, PlanmagnetOutlookMethod, PlanmagnetPresenceEventKind, PlanmagnetPresenceTargetType, PlanmagnetPrioritizationMethod, PlanmagnetPrioritizationSource, PlanmagnetProductFeatureStatus, PlanmagnetProductLaunchChecklistCategory, PlanmagnetProductLaunchStatus, PlanmagnetProductLaunchTemplateKey, PlanmagnetProductLifecycleStage, PlanmagnetProductMarketSizingMethod, PlanmagnetProductPersonaStatus, PlanmagnetProjectEventKind, PlanmagnetProjectStatus, PlanmagnetQualityTrendDirection, PlanmagnetReleaseScope, PlanmagnetReportDeliveryStatus, PlanmagnetReportExportFormat, PlanmagnetReportRunTrigger, PlanmagnetReportScheduleCadence, PlanmagnetReportSource, PlanmagnetReportVisibility, PlanmagnetResourceForecastScopeType, PlanmagnetRiskFlagKind, PlanmagnetRiskFlagSeverity, PlanmagnetRoadmapEventKind, PlanmagnetRoadmapHorizon, PlanmagnetRoadmapReviewDecisionKind, PlanmagnetRoadmapReviewStatus, PlanmagnetRoadmapRiskLevel, PlanmagnetSatisfactionMetricType, PlanmagnetSatisfactionResponseSource, PlanmagnetSatisfactionWindowPreset, PlanmagnetSkillCoverageStatus, PlanmagnetSortDirection, PlanmagnetSprintEventKind, PlanmagnetSprintOpenItemsAction, PlanmagnetSprintScope, PlanmagnetStatusCategory, PlanmagnetStatusTransitionSource, PlanmagnetSuccessLikelihood, PlanmagnetSyncConflictResolution, PlanmagnetSyncConflictStatus, PlanmagnetSyncDirection, PlanmagnetSyncProvider, PlanmagnetSyncRunStatus, PlanmagnetSyncStatus, PlanmagnetThroughputBucket, PlanmagnetValueEffortQuadrant, PlanmagnetWebhookDeliveryStatus, PlanmagnetWebhookSubscriptionDeliveryStatus, PlanmagnetWebhookSubscriptionStatus, PlanmagnetWidgetRunStatus, PlanmagnetWidgetType, PlanmagnetWorkItemCodeLinkKind, PlanmagnetWorkItemCodeLinkState, PlanmagnetWorkItemEventKind, PluginStatus, PolicyType, PomodoroGoalPeriod, PomodoroGoalType, PomodoroSessionOrderByField, PomodoroSessionType, PortfolioStatus, PresenceStatus, Priority, ProblemStatus, ProductType, ProjectMethodology, ProjectOrderField, ProjectStatus, PromptAiCredentialSource, PromptGenerationStatus, PromptPriority, PromptStatus, PromptUsageDimensionV2, ProviderCategory, PswClientPortalUserStatus, PswClientStatus, PswClientType, PswComplianceStatus, PswComplianceType, PswConflictCheckStatus, PswCredentialRequestStatus, PswCredentialWriteOperation, PswDataSubjectRequestStatus, PswDataSubjectRequestType, PswDeliverableStatus, PswDocumentClassification, PswDocumentStatus, PswEducationUnit, PswEngagementStatus, PswErasureRequestStatus, PswExportFormat, PswFeeArrangement, PswInvoiceStatus, PswLegalCheckpointType, PswMatterPriority, PswMatterStatus, PswMilestoneStatus, PswObligationKind, PswRecordedValidity, PswRetainerCadence, PswSignatureAuditEventType, PswSignatureRequestStatus, PswSignatureSignerStatus, PswSignatureType, PswSourceObservation, PswTeamRole, PswTimeEntryStatus, PswTrustAccountStatus, PswTrustTransactionType, PswTrustTransferStatus, PublishType, QualityGateStatus, RbacChangeType, ReactionChangeType, RecordingMode, ReleaseStatus, ReminderChannel, ReminderType, ReportFormat, ReportScheduleStatus, ResourceBookingStatus, RetrievalMode, RiskSeverity, RiskStatus, RoadmapItemStatus, RoadmapPlanningFocus, RoadmapType, RoleAssignmentRequesterActorType, RoleLevel, RouteStatus, RoutingStrategy, RsvpStatus, RuleActionType, RuleConditionOperator, RuleMaterializationStrategy, RuleRunMode, RunFailureBucket, RunFailureClusterStatus, RunGroupBy, RunLogLevel, RunLogStream, RunMode, RunStatus, RunTriggerType, SandboxAgentJobStatus, SandboxAgentKind, SandboxAssistantMode, SandboxAssistantWriteApproval, SandboxChangeType, SandboxExportFormat, SandboxExportJobStatus, SandboxKind, SandboxMode, SandboxRunnerStatus, SandboxSource, SandboxStatus, SandboxTemplate, SchedulePriority, ScheduleType, ScorecardMetricDirection, ScorecardMetricStatus, ScorecardMetricType, ScorecardOwnerType, ScorecardTier, SecretProviderType, SecretShareKind, SecretShareScope, SecretShareStatus, SecretStatus, SecretType, SecurityComplianceStatus, SecurityEvidenceStatus, SecurityEvidenceType, SecurityEvidenceUploadType, SecurityExportFormat, SecurityFindingCategory, SecurityFindingStatus, SecurityGovernancePolicyStatus, SecurityMemberEventAction, SecurityPolicyLevel, SecurityScanConclusion, SecurityScanStatus, SecuritySecretEventAction, SecuritySeverity, SecurityStage, SecuritySubscriptionEvent, SecurityVaultEventAction, SegmentVisibility, SemAggregation, SemConnectionHealth, SemConnectorKind, SemDataSourceStatus, SemDataType, SemEntityKind, SemModelStatus, SemPolicyEffect, SemPolicyScope, SemQueryRunStatus, SemQueryStatus, SemRelationshipKind, SessionExportFormat, SessionRecordingStatus, SessionRecordingStreamType, SessionSharePermission, SetActorRolesMode, SettingsCategory, ShareGrantStatus, ShareGrantVisibility, SharePermission, ShareRecipientType, ShareRole, ShareSortField, ShareStatus, ShareTokenType, ShipmentLegStatus, ShipmentStatus, ShipmentStatusAuthority, ShipmentStatusDecisionOrigin, ShipmentStatusDecisionOutcome, ShipmentStatusHeldReason, SiemExportFormat, SignatureType, SmartCollectionConditionField, SmartCollectionConditionOperator, SmartCollectionOperator, SortDirection, SortOrder, SprintStatus, StageErrorHandling, StageExecutionStatus, StaticDataScope, StorageMode, StrategicAlignment, StressLevel, SubAgentKind, SubAgentStatus, SubAssetType, SubBenchmarkSourceKind, SubBillingInterval, SubChannelStatus, SubChannelType, SubDiscoverySource, SubEntitlementType, SubInvoiceStatus, SubMessageCategory, SubModerationAction, SubPaymentInstrumentStatus, SubPaymentInstrumentType, SubPolicyAction, SubProviderCategory, SubProviderStatus, SubRelationshipKind, SubRelationshipStatus, SubReportStatus, SubSubmissionStatus, SubWorkflowStatus, SuggestedDataSourceType, SyncDirection, SyncFromGlobalOperation, SyncProvider, SystemEventType, TagCardinality, TagDataType, TagFilterOperator, TagRelationType, TagScope, TagsExportFormat, TargetType, TaskOrderField, TaskPriority, TaskStatus, TcpAccessLevel, TcpAgentRunStatus, TcpAgentRunTrigger, TcpAiGroundingKind, TcpAiReviewStatus, TcpAiUncertainty, TcpAiUseCase, TcpArchiveItemKind, TcpModerationStatus, TcpSourceType, TcpStoryFormat, TcpStoryStatus, TcpTopicCategory, TcpVerificationStatus, TecCertificateStatus, TecCourseLevel, TecCourseStatus, TecEnrollmentStatus, TecHackathonStatus, TecInterviewFrequency, TecLegalAcceptanceType, TecLessonKind, TecMentorStatus, TecPayoutStatus, TecPortfolioItemKind, TecProblemDifficulty, TecProblemStatus, TecSessionStatus, TecStudyPlanStatus, TecStudyPlanStepKind, TecStudyPlanStepStatus, TecSubmissionVerdict, TecTeamSubmissionStatus, TecTestCaseStatus, TecTestCaseVisibility, TemplateAuthorType, TemplateCategory, TemplateComplexity, TemplateStatus, TemplateVisibility, TheAssetKind, TheAssetStatus, TheCommodityType, TheComplianceCategory, TheComplianceStatus, TheContractSide, TheContractStatus, TheCorrectiveActionStatus, TheEmissionScope, TheEsgDisclosureStatus, TheEsgFramework, TheInventoryStatus, TheLegalCheckpointType, ThePricingBasis, TheReserveCategory, TheSafetyIncidentCategory, TheSafetyIncidentSeverity, TheSafetyIncidentStatus, TheShipmentStatus, TheTransportMode, TheUnit, TimeBucket, TimeCampusDataErasureStatus, TimeCampusExportFormat, TimeCampusFocusBlockReason, TimeCampusFocusBlockResponse, TimeCampusFocusBlockSource, TimeCampusFocusBlockStatus, TimeCampusFocusCalendarHoldStatus, TimeCampusFocusInterruptionSource, TimeCampusFocusProtectionLevel, TimeCampusFocusSessionStatus, TimeCampusInvoiceStatus, TimeCampusLifeDomain, TimeCampusOwnershipContext, TimeCampusProjectStatus, TimeCampusSortDirection, TimeCampusTimelineCategory, TimeCampusTimelineSource, TimeEntryOrderField, TimeEntryStatus, TimeGrain, TimeRange, TlsMode, ToolApprovalDecisionValue, ToolApprovalStatus, ToolApprovalTimeoutAction, ToolRiskLevel, TrackingEventType, TrackingSourceTimeProvenance, TransportMode, TraversalDirection, TunnelDomainType, TunnelDomainVerificationStatus, TunnelEnvironment, TunnelProtocol, TunnelProviderKey, TunnelSessionStatus, TunnelShardStatus, TunnelStatus, UpdateScope, UploadStatus, UploadType, UsageStatus, ValidationMethod, VariableScope, VaultIncidentSeverity, VaultIncidentStatus, VaultMemberRole, VaultRotationStatus, VaultScope, VaultSecurityEventSeverity, VaultSecurityEventType, VaultStatus, VaultSyncStatus, VehicleStatus, VehicleType, VersionStatus, VersioningBehavior, VibeAuditAction, VibeAuditExportFormat, VibeAuditResourceType, VibeAuditStatus, VibeCalendarExecutionStatus, VibeCalendarTaskStatus, VibeDeckButtonActionType, VibeDeckSharePermission, VibeDeckShareStatus, VibeDeckShareVisibility, VibeEntityType, VibeLlmContextTokenStatus, VibeStatus, VibeType, VibeVisibility, VibecontrolsActionType, VibecontrolsAgentVisibility, VibecontrolsDocsBuildImagePullPolicy, VibecontrolsDocsBuildImageScanStatus, VibecontrolsDocsBuildImageStatus, VibecontrolsDocsBuildRuntime, VibecontrolsDocsPageStatus, VibecontrolsDocsProvider, VibecontrolsDocsRevisionStatus, VibecontrolsDocsSiteOwnerType, VibecontrolsDocsSiteVisibility, VibecontrolsGitHubRepoScope, VibecontrolsGitHubRepoVisibility, VibecontrolsSessionStatus, VibecontrolsSessionType, VibecontrolsTemplateCategory, VibecontrolsTemplateStatus, Visibility, VisibilityType, VocabularyKind, VocabularyScope, WarehouseType, WebhookAuthType, WebhookTestListenerStatus, WidgetConfidence, WidgetRenderer, WidgetType, WorkItemLinkRelation, WorkItemPriority, WorkItemStatus, WorkItemType, WorkOrderStatus, WorkOrderType, WorkPatternInsightType, WorkflowAuthoringChannel, WorkflowDiffKind, WorkflowEnvironment, WorkflowExportFormat, WorkflowGenerationStatus, WorkflowGitProvider, WorkflowGitPushStatus, WorkflowGitPushTrigger, WorkflowHumanRequestStatus, WorkflowHumanResponseType, WorkflowIdConflictPolicy, WorkflowIdReusePolicy, WorkflowPromotionStatus, WorkflowProposalKind, WorkflowProposalStatus, WorkflowRunEventType, WorkflowStatus, WorkflowTaskFailureCause, WorkspaceCompositionPricingMode, WorkspaceCompositionSource, WorkspaceInviteStatus, WorkspaceLegalCheckpointType, WorkspaceModuleKind, WorkspaceModuleOpenMode, WorkspaceQuotaMode, WorkspaceResourceStatus, WorkspaceResourceType, WorkspaceStatus, WorkspaceType, WorkspacesExportFormat } from './chunk-Z3FYBDE3.js';
|
|
39
|
-
import './chunk-
|
|
41
|
+
import './chunk-TGGTM5RW.js';
|
|
40
42
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
41
|
-
import { FluidGridsProvider,
|
|
42
|
-
export { ALLOW_ALL_PERMISSIONS, BILLING_PLANS_PATH, ConnectionFormDialog, ConnectionSelector, DURABLE_FUNCTION_NODE_TYPES, FLUIDGRIDS_FLAGS, FLUIDGRIDS_FLAG_DEFAULTS, FLUIDGRIDS_PERMISSIONS, FluidGridsPermissionsProvider, FluidGridsProvider, RUNS_QUOTA_NAME, SdkPermissionButton, SdkPermissionGate, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WORKFLOWS_QUOTA_NAME, blankWorkflowCreateInput, classifyCreateRefusal, createThenOpen, describeOperationError, emitNodeInstalled, emitRunFailed, emitRunLimitHit, emitRunStarted, emitTemplateUsed, emitUpgradeClicked, emitWorkflowCreated, emitWorkflowLimitHit, emitWorkflowPublished, evaluatePermissionCheck, filterPaletteNodes, findQuotaRefusal, isDurableFunctionNodeType, isForbiddenError, isNodeTypeHiddenFromPalette, isQuotaExhaustedFailure, listCustomBlocks, openRunQuotaUpgradePrompt, refetchStoreNodes, registerCustomBlock, resolveUiSpec, stripSubmitActions, throwIfResultError, useConnection, useConnections, useConnectionsByProvider, useCreateConnection, useDurableFunctionNodesEnabled, useDurableParityEnabled, useFlowStore, useFluidGridsAnalytics, useFluidGridsContext, useFluidGridsFlag, useFluidGridsPermission, useInitiateOAuth, useNodeExecution, useProviders } from './chunk-
|
|
43
|
+
import { FluidGridsProvider, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, classifyCreateRefusal, builderPathOf, BILLING_PLANS_PATH, throwIfResultError, SdkPermissionButton, isForbiddenError, describeOperationError, nodesOf, ensureNodeConfigsLoaded, buildOperationSeed } from './chunk-Z6THCS3L.js';
|
|
44
|
+
export { ALLOW_ALL_PERMISSIONS, BILLING_PLANS_PATH, ConnectionFormDialog, ConnectionSelector, DURABLE_FUNCTION_NODE_TYPES, FLUIDGRIDS_FLAGS, FLUIDGRIDS_FLAG_DEFAULTS, FLUIDGRIDS_PERMISSIONS, FluidGridsPermissionsProvider, FluidGridsProvider, RUNS_QUOTA_NAME, SdkPermissionButton, SdkPermissionGate, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WORKFLOWS_QUOTA_NAME, blankWorkflowCreateInput, classifyCreateRefusal, createThenOpen, describeOperationError, emitNodeInstalled, emitRunFailed, emitRunLimitHit, emitRunStarted, emitTemplateUsed, emitUpgradeClicked, emitWorkflowCreated, emitWorkflowLimitHit, emitWorkflowPublished, evaluatePermissionCheck, filterPaletteNodes, findQuotaRefusal, isDurableFunctionNodeType, isForbiddenError, isNodeTypeHiddenFromPalette, isQuotaExhaustedFailure, listCustomBlocks, openRunQuotaUpgradePrompt, refetchStoreNodes, registerCustomBlock, resolveUiSpec, stripSubmitActions, throwIfResultError, useConnection, useConnections, useConnectionsByProvider, useCreateConnection, useDurableFunctionNodesEnabled, useDurableParityEnabled, useFlowStore, useFluidGridsAnalytics, useFluidGridsContext, useFluidGridsFlag, useFluidGridsPermission, useInitiateOAuth, useNodeExecution, useProviders } from './chunk-Z6THCS3L.js';
|
|
43
45
|
import { cn } from './chunk-JL7CASN5.js';
|
|
44
46
|
export { cn } from './chunk-JL7CASN5.js';
|
|
45
47
|
import { createGlobalStoreClient } from './chunk-PXIFUMLA.js';
|
|
46
48
|
export { createGlobalStoreClient, getGlobalStoreClient, resetGlobalStoreClient, setGlobalStoreClient } from './chunk-PXIFUMLA.js';
|
|
47
49
|
export { config, getFluidGridsConfig, getGraphQLEndpoint, resetFluidGridsConfig, resetFluidGridsExecutionState, setFluidGridsConfig } from './chunk-6AMNEX2Y.js';
|
|
48
50
|
import './chunk-JUUYPCFY.js';
|
|
49
|
-
|
|
51
|
+
import { WorkflowGenerationDocument, GenerateWorkflowFromPromptDocument, CancelWorkflowGenerationDocument } from './chunk-AW3UXMNI.js';
|
|
52
|
+
export { AcquireWorkflowEditLeaseDocument, ActivateWorkflowDefinitionDocument, ActivateWorkflowVersionCheckedDocument, ActiveExecutionsDocument, ApplyWorkflowProposalDocument, ApproveWorkflowPromotionDocument, AvailableFluidgridsTagsDocument, BuildWorkflowCodeDocument, CancelExecutionDocument, CancelWorkflowGenerationDocument, CancelWorkflowPromotionDocument, CancelWorkflowProposalDocument, CreateFluidgridsTagDocument, CreateWorkflowDefinitionDocument, CreateWorkflowVersionDocument, DashboardSummaryDocument, DataTablesTagsDocument, DeactivateWorkflowDefinitionDocument, DeleteWorkflowDefinitionDocument, DeleteWorkflowRolloutDocument, DeployWorkflowVersionToDevDocument, DismissRunFailureClusterDocument, DuplicateWorkflowDocument, DurableHistoryCapsDocument, DurableParityRunFieldsDocument, DurableRunFieldsDocument, EventRegistrationsDocument, ExecuteStepDocument, ExecutionDetailDocument, ExecutionLogsDocument, ExecutionStatsDocument, ExecutionsListDocument, ExplainRunDocument, ExportWorkflowCodeDocument, FgTriageFailedRunsDocument, FluidgridsAvailableTagFieldsFragmentDoc, FluidgridsEntityTagsDocument, FluidgridsTagAssignmentFieldsFragmentDoc, GenerateWorkflowFromPromptDocument, ImportWorkflowDocument, ImportWorkflowTemplateDocument, LinkWorkflowGitRepositoryDocument, ListenForWebhookTestEventDocument, NodeEndpointConfigDocument, NodeEndpointConfigsDocument, NodeManifestDocument, NodeSchemaIntrospectionDocument, NodeStatesDocument, NodeUsageStatusDocument, PauseExecutionDocument, PinNodeDataDocument, PreviewScheduleDocument, ProposeRunFixDocument, ProposeWorkflowChangeDocument, PushWorkflowToGitDocument, RegisterNodeDocument, RejectWorkflowPromotionDocument, RejectWorkflowProposalDocument, ReleaseWorkflowEditLeaseDocument, RemoveNodeFromWorkflowsDocument, ReplaceFluidgridsEntityTagsDocument, RequestWorkflowPromotionDocument, RestoreWorkflowFromGitDocument, RestoreWorkflowVersionDocument, ResumeExecutionDocument, RetryNodeDocument, RunCodeReplaceFieldsFragmentDoc, RunEventAppendedDocument, RunFailureClustersDocument, RunFailureTriageSettingsDocument, RunFromNodeDocument, RunFromNodeEligibilityDocument, RunLogAppendedDocument, RunLogLineFieldsFragmentDoc, RunLogsDocument, SearchFluidgridsTagsDocument, SetRunFailureTriageEnabledDocument, SetWorkflowRolloutDocument, SetWorkflowRunVersioningOverrideDocument, SignalWorkflowRunDocument, StopWebhookTestListenerDocument, TagFluidgridsEntityDocument, TakeOverWorkflowEditLeaseDocument, TerminateExecutionDocument, TerminateWorkflowRunDocument, TriggerWorkflowDocument, UnlinkWorkflowGitRepositoryDocument, UnpinNodeDataDocument, UntagFluidgridsEntityDocument, UpdateDurableHistoryCapsDocument, UpdateWorkflowDefinitionDocument, UpdateWorkflowEnvironmentPolicyDocument, UsageTimeSeriesDocument, WebhookTestListenerDocument, WorkflowAuthoringDocument, WorkflowCodeSourceDocument, WorkflowDefinitionDocument, WorkflowDefinitionsDocument, WorkflowDefinitionsTagsDocument, WorkflowEditLeaseDocument, WorkflowEditLeaseStatusDocument, WorkflowEnvironmentsDocument, WorkflowGenerationDocument, WorkflowGenerationTemplatesDocument, WorkflowGitCommitsDocument, WorkflowGitDiffDocument, WorkflowGitPushesDocument, WorkflowGitRepositoryDocument, WorkflowPinnedDataDocument, WorkflowPromotionRequestsDocument, WorkflowProposalDocument, WorkflowRolloutFieldsFragmentDoc, WorkflowRunDeterminismStatusDocument, WorkflowRunDocument, WorkflowRunEventFieldsFragmentDoc, WorkflowRunHistoryDocument, WorkflowRunMetadataDocument, WorkflowRunPendingDocument, WorkflowRunStackTraceDocument, WorkflowRunsCountDocument, WorkflowRunsDocument, WorkflowVersionDrainageDocument, WorkflowVersioningDocument, WorkflowVersionsDocument, WorkspaceRunsQuotaDocument, useActivateWorkflowDefinitionMutation, useActiveExecutionsLazyQuery, useActiveExecutionsQuery, useActiveExecutionsSuspenseQuery, useAvailableFluidgridsTagsLazyQuery, useAvailableFluidgridsTagsQuery, useAvailableFluidgridsTagsSuspenseQuery, useCancelExecutionMutation, useCreateFluidgridsTagMutation, useCreateWorkflowDefinitionMutation, useCreateWorkflowVersionMutation, useDashboardSummaryLazyQuery, useDashboardSummaryQuery, useDashboardSummarySuspenseQuery, useDeactivateWorkflowDefinitionMutation, useDeleteWorkflowDefinitionMutation, useDuplicateWorkflowMutation, useEventRegistrationsLazyQuery, useEventRegistrationsQuery, useEventRegistrationsSuspenseQuery, useExecuteStepMutation, useExecutionDetailLazyQuery, useExecutionDetailQuery, useExecutionDetailSuspenseQuery, useExecutionLogsLazyQuery, useExecutionLogsQuery, useExecutionLogsSuspenseQuery, useExecutionStatsLazyQuery, useExecutionStatsQuery, useExecutionStatsSuspenseQuery, useExecutionsListLazyQuery, useExecutionsListQuery, useExecutionsListSuspenseQuery, useFluidgridsEntityTagsLazyQuery, useFluidgridsEntityTagsQuery, useFluidgridsEntityTagsSuspenseQuery, useImportWorkflowMutation, useImportWorkflowTemplateMutation, useNodeEndpointConfigLazyQuery, useNodeEndpointConfigQuery, useNodeEndpointConfigSuspenseQuery, useNodeEndpointConfigsLazyQuery, useNodeEndpointConfigsQuery, useNodeEndpointConfigsSuspenseQuery, useNodeManifestLazyQuery, useNodeManifestQuery, useNodeManifestSuspenseQuery, useNodeSchemaIntrospectionLazyQuery, useNodeSchemaIntrospectionQuery, useNodeSchemaIntrospectionSuspenseQuery, useNodeStatesLazyQuery, useNodeStatesQuery, useNodeStatesSuspenseQuery, useNodeUsageStatusLazyQuery, useNodeUsageStatusQuery, useNodeUsageStatusSuspenseQuery, usePauseExecutionMutation, usePinNodeDataMutation, usePreviewScheduleLazyQuery, usePreviewScheduleQuery, usePreviewScheduleSuspenseQuery, useRegisterNodeMutation, useRemoveNodeFromWorkflowsMutation, useReplaceFluidgridsEntityTagsMutation, useRestoreWorkflowVersionMutation, useResumeExecutionMutation, useRetryNodeMutation, useRunFromNodeEligibilityLazyQuery, useRunFromNodeEligibilityQuery, useRunFromNodeEligibilitySuspenseQuery, useRunFromNodeMutation, useRunLogAppendedSubscription, useRunLogsLazyQuery, useRunLogsQuery, useRunLogsSuspenseQuery, useSearchFluidgridsTagsLazyQuery, useSearchFluidgridsTagsQuery, useSearchFluidgridsTagsSuspenseQuery, useTagFluidgridsEntityMutation, useTerminateExecutionMutation, useTriggerWorkflowMutation, useUnpinNodeDataMutation, useUntagFluidgridsEntityMutation, useUpdateWorkflowDefinitionMutation, useUsageTimeSeriesLazyQuery, useUsageTimeSeriesQuery, useUsageTimeSeriesSuspenseQuery, useWorkflowDefinitionLazyQuery, useWorkflowDefinitionQuery, useWorkflowDefinitionSuspenseQuery, useWorkflowDefinitionsLazyQuery, useWorkflowDefinitionsQuery, useWorkflowDefinitionsSuspenseQuery, useWorkflowDefinitionsTagsLazyQuery, useWorkflowDefinitionsTagsQuery, useWorkflowDefinitionsTagsSuspenseQuery, useWorkflowPinnedDataLazyQuery, useWorkflowPinnedDataQuery, useWorkflowPinnedDataSuspenseQuery, useWorkflowRunLazyQuery, useWorkflowRunQuery, useWorkflowRunSuspenseQuery, useWorkflowRunsLazyQuery, useWorkflowRunsQuery, useWorkflowRunsSuspenseQuery, useWorkflowVersionsLazyQuery, useWorkflowVersionsQuery, useWorkflowVersionsSuspenseQuery } from './chunk-AW3UXMNI.js';
|
|
50
53
|
import { useTr } from './chunk-UULVIT25.js';
|
|
51
54
|
export { ENGLISH_FALLBACK_TRANSLATOR, FluidGridsTranslationProvider, useTr } from './chunk-UULVIT25.js';
|
|
52
55
|
import { getFluidGridsClient, createFluidGridsClient } from './chunk-NTWG3CJX.js';
|
|
53
56
|
export { createFluidGridsClient, getFluidGridsClient, getFluidGridsClientSafe, isFluidGridsClientReady, resetFluidGridsClient, setFluidGridsClient, waitForFluidGridsClient } from './chunk-NTWG3CJX.js';
|
|
54
57
|
import './chunk-62GWEYJ5.js';
|
|
55
58
|
import * as React3 from 'react';
|
|
56
|
-
import { lazy, Suspense,
|
|
59
|
+
import { lazy, Suspense, useState, useRef, useMemo, useCallback, useEffect } from 'react';
|
|
57
60
|
import { Routes, Route, Navigate, useNavigate } from 'react-router';
|
|
58
61
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
59
|
-
import {
|
|
62
|
+
import { v4 } from 'uuid';
|
|
63
|
+
import { toast } from 'sonner';
|
|
64
|
+
import { ChevronRight, Check, Circle, Sparkles, Loader2, Square, Lightbulb, MessageCircleQuestion, RefreshCw, TriangleAlert, CheckCircle2, Pencil, Database, ArrowLeft, Plus, Table2, Search, ChevronDown, ChevronUp, Trash2, ArrowUpFromLine, ArrowDownToLine, ChevronLeft } from 'lucide-react';
|
|
65
|
+
import { Badge, Card, CardHeader, CardContent, Label, Textarea, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, Button, Input, Tabs, TabsList, TabsTrigger, TabsContent, Table, TableHeader, TableRow, TableHead, TableBody, TableCell, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, PagePurpose, NextSteps, CardTitle, IllustratedEmptyState, Switch, CardDescription } from '@burdenoff/fe-libs/ui';
|
|
60
66
|
import { ErrorBoundary } from '@burdenoff/fe-libs/shared/components';
|
|
61
67
|
import '@xyflow/react/dist/style.css';
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import { toast } from 'sonner';
|
|
68
|
+
import { Icon } from '@iconify/react';
|
|
69
|
+
import { Button as Button$1 } from '@burdenoff/fe-libs/button';
|
|
65
70
|
import { gql } from '@apollo/client';
|
|
66
|
-
import { ChevronRight, Check, Circle, Database, ArrowLeft, Plus, Table2, RefreshCw, Search, ChevronDown, ChevronUp, Pencil, Trash2, ArrowUpFromLine, ArrowDownToLine, ChevronLeft } from 'lucide-react';
|
|
67
71
|
import { TagBadge } from '@burdenoff/fe-libs/tag';
|
|
68
72
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
69
73
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
@@ -75,20 +79,20 @@ import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
|
75
79
|
import { AgentToolError, defineAgentTool, assertNoUnsavedChanges } from '@burdenoff/fe-libs/shared/agent-tools';
|
|
76
80
|
|
|
77
81
|
var WorkflowsList2 = lazy(
|
|
78
|
-
() => import('./WorkflowsList-
|
|
82
|
+
() => import('./WorkflowsList-VH7ZKQJE.js').then((m) => ({ default: m.WorkflowsList }))
|
|
79
83
|
);
|
|
80
84
|
var WorkflowBuilder3 = lazy(
|
|
81
|
-
() => import('./WorkflowBuilder-
|
|
85
|
+
() => import('./WorkflowBuilder-NSBAOTQB.js').then((m) => ({
|
|
82
86
|
default: m.WorkflowBuilder
|
|
83
87
|
}))
|
|
84
88
|
);
|
|
85
89
|
var ExecutionsListPage2 = lazy(
|
|
86
|
-
() => import('./ExecutionsListPage-
|
|
90
|
+
() => import('./ExecutionsListPage-ZSMTA5QN.js').then((m) => ({
|
|
87
91
|
default: m.ExecutionsListPage
|
|
88
92
|
}))
|
|
89
93
|
);
|
|
90
94
|
var ExecutionDetailPage2 = lazy(
|
|
91
|
-
() => import('./ExecutionDetailPage-
|
|
95
|
+
() => import('./ExecutionDetailPage-UJXTRVYM.js').then((m) => ({
|
|
92
96
|
default: m.ExecutionDetailPage
|
|
93
97
|
}))
|
|
94
98
|
);
|
|
@@ -134,6 +138,814 @@ function FluidGridsRoot({
|
|
|
134
138
|
}
|
|
135
139
|
);
|
|
136
140
|
}
|
|
141
|
+
var GENERATION_POLL_INTERVAL_MS = 3e3;
|
|
142
|
+
var GENERATION_MAX_WAIT_MS = 6 * 60 * 1e3;
|
|
143
|
+
function messageOf(error) {
|
|
144
|
+
return error instanceof Error ? error.message : String(error);
|
|
145
|
+
}
|
|
146
|
+
function useWorkflowGeneration() {
|
|
147
|
+
const [generation, setGeneration] = useState(null);
|
|
148
|
+
const [isWorking, setIsWorking] = useState(false);
|
|
149
|
+
const [error, setError] = useState(null);
|
|
150
|
+
const [timedOut, setTimedOut] = useState(false);
|
|
151
|
+
const runRef = useRef(0);
|
|
152
|
+
const timerRef = useRef(null);
|
|
153
|
+
const idRef = useRef(null);
|
|
154
|
+
const clearTimer = useCallback(() => {
|
|
155
|
+
if (timerRef.current) clearTimeout(timerRef.current);
|
|
156
|
+
timerRef.current = null;
|
|
157
|
+
}, []);
|
|
158
|
+
useEffect(
|
|
159
|
+
() => () => {
|
|
160
|
+
runRef.current++;
|
|
161
|
+
clearTimer();
|
|
162
|
+
},
|
|
163
|
+
[clearTimer]
|
|
164
|
+
);
|
|
165
|
+
const reset = useCallback(() => {
|
|
166
|
+
runRef.current++;
|
|
167
|
+
clearTimer();
|
|
168
|
+
idRef.current = null;
|
|
169
|
+
setGeneration(null);
|
|
170
|
+
setIsWorking(false);
|
|
171
|
+
setError(null);
|
|
172
|
+
setTimedOut(false);
|
|
173
|
+
}, [clearTimer]);
|
|
174
|
+
const poll = useCallback(
|
|
175
|
+
async (run, id, startedAt) => {
|
|
176
|
+
if (run !== runRef.current) return;
|
|
177
|
+
try {
|
|
178
|
+
const result = throwIfResultError(
|
|
179
|
+
await getFluidGridsClient().query({
|
|
180
|
+
query: WorkflowGenerationDocument,
|
|
181
|
+
variables: { id },
|
|
182
|
+
fetchPolicy: "network-only"
|
|
183
|
+
})
|
|
184
|
+
);
|
|
185
|
+
if (run !== runRef.current) return;
|
|
186
|
+
const next = result.data?.workflowGeneration ?? null;
|
|
187
|
+
if (next) setGeneration(next);
|
|
188
|
+
if (next && String(next.status) === "PROCESSING") {
|
|
189
|
+
if (Date.now() - startedAt < GENERATION_MAX_WAIT_MS) {
|
|
190
|
+
timerRef.current = setTimeout(
|
|
191
|
+
() => void poll(run, id, startedAt),
|
|
192
|
+
GENERATION_POLL_INTERVAL_MS
|
|
193
|
+
);
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
setTimedOut(true);
|
|
197
|
+
} else {
|
|
198
|
+
notifyFluidGridsAiCreditsUpdated();
|
|
199
|
+
}
|
|
200
|
+
setIsWorking(false);
|
|
201
|
+
} catch (pollError) {
|
|
202
|
+
if (run !== runRef.current) return;
|
|
203
|
+
setError(messageOf(pollError));
|
|
204
|
+
setIsWorking(false);
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
[]
|
|
208
|
+
);
|
|
209
|
+
const start = useCallback(
|
|
210
|
+
async (input) => {
|
|
211
|
+
const run = ++runRef.current;
|
|
212
|
+
clearTimer();
|
|
213
|
+
setGeneration(null);
|
|
214
|
+
setError(null);
|
|
215
|
+
setTimedOut(false);
|
|
216
|
+
setIsWorking(true);
|
|
217
|
+
try {
|
|
218
|
+
const result = throwIfResultError(
|
|
219
|
+
await getFluidGridsClient().mutate({
|
|
220
|
+
mutation: GenerateWorkflowFromPromptDocument,
|
|
221
|
+
variables: {
|
|
222
|
+
input: {
|
|
223
|
+
prompt: input.prompt,
|
|
224
|
+
...input.template ? { template: input.template } : {},
|
|
225
|
+
...input.baseDefinitionJson ? { baseDefinitionJson: input.baseDefinitionJson } : {}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
})
|
|
229
|
+
);
|
|
230
|
+
if (run !== runRef.current) return;
|
|
231
|
+
const id = result.data?.generateWorkflowFromPrompt.id;
|
|
232
|
+
if (!id) throw new Error("The generation did not start");
|
|
233
|
+
idRef.current = id;
|
|
234
|
+
await poll(run, id, Date.now());
|
|
235
|
+
} catch (startError) {
|
|
236
|
+
if (run !== runRef.current) return;
|
|
237
|
+
setError(messageOf(startError));
|
|
238
|
+
setIsWorking(false);
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
[clearTimer, poll]
|
|
242
|
+
);
|
|
243
|
+
const cancel = useCallback(async () => {
|
|
244
|
+
const id = idRef.current;
|
|
245
|
+
const run = ++runRef.current;
|
|
246
|
+
clearTimer();
|
|
247
|
+
if (!id) {
|
|
248
|
+
setIsWorking(false);
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
try {
|
|
252
|
+
const result = throwIfResultError(
|
|
253
|
+
await getFluidGridsClient().mutate({
|
|
254
|
+
mutation: CancelWorkflowGenerationDocument,
|
|
255
|
+
variables: { id }
|
|
256
|
+
})
|
|
257
|
+
);
|
|
258
|
+
if (run !== runRef.current) return;
|
|
259
|
+
const cancelled = result.data?.cancelWorkflowGeneration;
|
|
260
|
+
if (cancelled) {
|
|
261
|
+
setGeneration(
|
|
262
|
+
(current) => current ? {
|
|
263
|
+
...current,
|
|
264
|
+
status: cancelled.status,
|
|
265
|
+
message: cancelled.message
|
|
266
|
+
} : current
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
} catch (cancelError) {
|
|
270
|
+
if (run !== runRef.current) return;
|
|
271
|
+
setError(messageOf(cancelError));
|
|
272
|
+
} finally {
|
|
273
|
+
if (run === runRef.current) setIsWorking(false);
|
|
274
|
+
}
|
|
275
|
+
}, [clearTimer]);
|
|
276
|
+
return { generation, isWorking, error, timedOut, start, cancel, reset };
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
// src/modules/ai-studio/lib/ai-studio.ts
|
|
280
|
+
var AI_STUDIO_DRAFT_VERSION = "v1";
|
|
281
|
+
var AI_STUDIO_EXAMPLES = [
|
|
282
|
+
{
|
|
283
|
+
id: "payment-to-crm",
|
|
284
|
+
labelKey: "fluidgrids.aiStudio.examples.paymentToCrm.label",
|
|
285
|
+
label: "Payment to CRM and chat",
|
|
286
|
+
promptKey: "fluidgrids.aiStudio.examples.paymentToCrm.prompt",
|
|
287
|
+
prompt: "When a new Stripe payment succeeds, add the customer to HubSpot and post a summary to Slack #sales."
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
id: "daily-digest",
|
|
291
|
+
labelKey: "fluidgrids.aiStudio.examples.dailyDigest.label",
|
|
292
|
+
label: "Daily order digest",
|
|
293
|
+
promptKey: "fluidgrids.aiStudio.examples.dailyDigest.prompt",
|
|
294
|
+
prompt: "Every weekday at 9am, fetch new orders from our API, keep the ones over 500 and post a summary to a webhook. Log the rest."
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
id: "webhook-triage",
|
|
298
|
+
labelKey: "fluidgrids.aiStudio.examples.webhookTriage.label",
|
|
299
|
+
label: "Triage incoming requests",
|
|
300
|
+
promptKey: "fluidgrids.aiStudio.examples.webhookTriage.prompt",
|
|
301
|
+
prompt: "When a webhook receives a support request, check the priority field. Send urgent requests to our escalation API and log everything else."
|
|
302
|
+
}
|
|
303
|
+
];
|
|
304
|
+
var AI_STUDIO_REFINEMENTS = [
|
|
305
|
+
{
|
|
306
|
+
id: "error-handling",
|
|
307
|
+
labelKey: "fluidgrids.aiStudio.refinements.errorHandling",
|
|
308
|
+
label: "Add error handling",
|
|
309
|
+
instruction: "Add error handling: when a step that calls an external service fails, route the failure to a separate branch that logs the error instead of stopping silently."
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
id: "notify-on-failure",
|
|
313
|
+
labelKey: "fluidgrids.aiStudio.refinements.notifyOnFailure",
|
|
314
|
+
label: "Notify on failure",
|
|
315
|
+
instruction: "Notify someone when the workflow fails: add a step that sends the error details to a notification webhook."
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
id: "log-result",
|
|
319
|
+
labelKey: "fluidgrids.aiStudio.refinements.logResult",
|
|
320
|
+
label: "Log the result",
|
|
321
|
+
instruction: "Add a final step that logs a short summary of what the workflow did."
|
|
322
|
+
}
|
|
323
|
+
];
|
|
324
|
+
function clamp(text) {
|
|
325
|
+
return text.length > AI_DRAFT_MAX_PROMPT_LENGTH ? text.slice(0, AI_DRAFT_MAX_PROMPT_LENGTH) : text;
|
|
326
|
+
}
|
|
327
|
+
function buildRefinementPrompt(originalPrompt, instruction) {
|
|
328
|
+
return clamp(`${originalPrompt.trim()}
|
|
329
|
+
|
|
330
|
+
Change: ${instruction.trim()}`);
|
|
331
|
+
}
|
|
332
|
+
function buildAnsweredPrompt(originalPrompt, questions, answers) {
|
|
333
|
+
const lines = questions.flatMap((question, index) => {
|
|
334
|
+
const answer = (answers[index] ?? "").trim();
|
|
335
|
+
return answer === "" ? [] : [`- ${question} ${answer}`];
|
|
336
|
+
});
|
|
337
|
+
if (lines.length === 0) return null;
|
|
338
|
+
return clamp(
|
|
339
|
+
`${originalPrompt.trim()}
|
|
340
|
+
|
|
341
|
+
Answers to your questions:
|
|
342
|
+
${lines.join("\n")}`
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
function isRecord(value) {
|
|
346
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
347
|
+
}
|
|
348
|
+
function draftSteps(definitionJson) {
|
|
349
|
+
const data = isRecord(definitionJson) && isRecord(definitionJson.data) ? definitionJson.data : {};
|
|
350
|
+
const nodes = Array.isArray(data.nodes) ? data.nodes : [];
|
|
351
|
+
return nodes.filter(isRecord).flatMap((node) => {
|
|
352
|
+
if (typeof node.id !== "string" || typeof node.type !== "string") return [];
|
|
353
|
+
const nodeData = isRecord(node.data) ? node.data : {};
|
|
354
|
+
let label = node.id;
|
|
355
|
+
if (typeof nodeData.label === "string" && nodeData.label.trim() !== "") {
|
|
356
|
+
label = nodeData.label;
|
|
357
|
+
} else if (typeof node.label === "string" && node.label.trim() !== "") {
|
|
358
|
+
label = node.label;
|
|
359
|
+
}
|
|
360
|
+
return [{ id: node.id, label, type: node.type }];
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
function draftCreateInput(draft, key) {
|
|
364
|
+
const name = draft.name.trim() || "Generated workflow";
|
|
365
|
+
const description = draft.description.trim() || name;
|
|
366
|
+
return {
|
|
367
|
+
workflowKey: key,
|
|
368
|
+
version: AI_STUDIO_DRAFT_VERSION,
|
|
369
|
+
name,
|
|
370
|
+
description,
|
|
371
|
+
definitionJson: { ...draft.definitionJson, key, name, description }
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
function phaseOf(status, working) {
|
|
375
|
+
if (working || status === "PROCESSING") return "generating";
|
|
376
|
+
if (status === "COMPLETED") return "ready";
|
|
377
|
+
if (status === "FAILED") return "failed";
|
|
378
|
+
if (status === "CANCELLED") return "cancelled";
|
|
379
|
+
return "idle";
|
|
380
|
+
}
|
|
381
|
+
var NO_TEMPLATE = "__none__";
|
|
382
|
+
function DraftCanvas({
|
|
383
|
+
generationId,
|
|
384
|
+
name,
|
|
385
|
+
definitionJson
|
|
386
|
+
}) {
|
|
387
|
+
const tr = useTr();
|
|
388
|
+
const [workflow, setWorkflow] = useState(null);
|
|
389
|
+
useEffect(() => {
|
|
390
|
+
let active = true;
|
|
391
|
+
const build = (seeded) => {
|
|
392
|
+
const canvas = draftToCanvas(definitionJson);
|
|
393
|
+
const nodes = seeded ? enrichDraftNodes(canvas.nodes, buildOperationSeed) : canvas.nodes;
|
|
394
|
+
return {
|
|
395
|
+
id: generationId,
|
|
396
|
+
workflowKey: generationId,
|
|
397
|
+
version: "preview",
|
|
398
|
+
name,
|
|
399
|
+
nodes,
|
|
400
|
+
edges: canvas.edges,
|
|
401
|
+
sidebar: {
|
|
402
|
+
active: "none",
|
|
403
|
+
panels: { nodeProperties: { selectedNode: null } }
|
|
404
|
+
}
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
ensureNodeConfigsLoaded().then(() => {
|
|
408
|
+
if (active) setWorkflow(build(true));
|
|
409
|
+
}).catch(() => {
|
|
410
|
+
if (active) setWorkflow(build(false));
|
|
411
|
+
});
|
|
412
|
+
return () => {
|
|
413
|
+
active = false;
|
|
414
|
+
};
|
|
415
|
+
}, [definitionJson, generationId, name]);
|
|
416
|
+
if (!workflow) {
|
|
417
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex h-full items-center justify-center gap-2 text-sm text-muted-foreground", children: [
|
|
418
|
+
/* @__PURE__ */ jsx(Loader2, { className: "size-4 animate-spin" }),
|
|
419
|
+
tr("fluidgrids.aiStudio.preview.loading", "Loading preview\u2026")
|
|
420
|
+
] });
|
|
421
|
+
}
|
|
422
|
+
return /* @__PURE__ */ jsx(ThemeProvider, { children: /* @__PURE__ */ jsx(
|
|
423
|
+
ErrorBoundary,
|
|
424
|
+
{
|
|
425
|
+
fallback: () => /* @__PURE__ */ jsx("div", { className: "flex h-full items-center justify-center p-6 text-center text-sm text-muted-foreground", children: tr(
|
|
426
|
+
"fluidgrids.aiStudio.preview.renderError",
|
|
427
|
+
"The preview could not be drawn. The draft can still be opened in the builder."
|
|
428
|
+
) }),
|
|
429
|
+
children: /* @__PURE__ */ jsx(FlowBuilderPage, { workflow, readOnly: true })
|
|
430
|
+
}
|
|
431
|
+
) });
|
|
432
|
+
}
|
|
433
|
+
function AiStudioPage() {
|
|
434
|
+
const tr = useTr();
|
|
435
|
+
const navigate = useNavigate();
|
|
436
|
+
const generation = useWorkflowGeneration();
|
|
437
|
+
const templates = useAiWorkflowTemplates(true);
|
|
438
|
+
const { createWorkflow } = useCreateWorkflow();
|
|
439
|
+
const { allowed: canGenerate } = useFluidGridsPermission(
|
|
440
|
+
FLUIDGRIDS_PERMISSIONS.AI_WORKFLOW_CREATE
|
|
441
|
+
);
|
|
442
|
+
const { allowed: canCreate } = useFluidGridsPermission(
|
|
443
|
+
FLUIDGRIDS_PERMISSIONS.WORKFLOW_CREATE
|
|
444
|
+
);
|
|
445
|
+
const [prompt, setPrompt] = useState("");
|
|
446
|
+
const [template, setTemplate] = useState(NO_TEMPLATE);
|
|
447
|
+
const [answers, setAnswers] = useState({});
|
|
448
|
+
const [saving, setSaving] = useState(false);
|
|
449
|
+
const [refusal, setRefusal] = useState(null);
|
|
450
|
+
const requestRef = useRef(null);
|
|
451
|
+
const current = generation.generation;
|
|
452
|
+
const status = current ? String(current.status) : void 0;
|
|
453
|
+
const phase = phaseOf(status, generation.isWorking);
|
|
454
|
+
const draft = phase === "ready" ? current?.draft ?? null : null;
|
|
455
|
+
const questions = draft?.questions ?? [];
|
|
456
|
+
const warnings = current?.validation?.warnings ?? [];
|
|
457
|
+
const errors = current?.validation?.errors ?? [];
|
|
458
|
+
const steps = useMemo(
|
|
459
|
+
() => draft ? draftSteps(draft.definitionJson) : [],
|
|
460
|
+
[draft]
|
|
461
|
+
);
|
|
462
|
+
const trimmed = prompt.trim();
|
|
463
|
+
const working = phase === "generating";
|
|
464
|
+
const answeredPrompt = requestRef.current ? buildAnsweredPrompt(requestRef.current.prompt, questions, answers) : null;
|
|
465
|
+
const run = useCallback(
|
|
466
|
+
(input) => {
|
|
467
|
+
setAnswers({});
|
|
468
|
+
void generation.start(input);
|
|
469
|
+
},
|
|
470
|
+
[generation]
|
|
471
|
+
);
|
|
472
|
+
const handleGenerate = useCallback(() => {
|
|
473
|
+
if (!trimmed) return;
|
|
474
|
+
const request = {
|
|
475
|
+
prompt: trimmed,
|
|
476
|
+
...template !== NO_TEMPLATE ? { template } : {}
|
|
477
|
+
};
|
|
478
|
+
requestRef.current = request;
|
|
479
|
+
run(request);
|
|
480
|
+
}, [run, template, trimmed]);
|
|
481
|
+
const handleRegenerate = useCallback(() => {
|
|
482
|
+
if (!requestRef.current) return;
|
|
483
|
+
run(requestRef.current);
|
|
484
|
+
}, [run]);
|
|
485
|
+
const handleRefine = useCallback(
|
|
486
|
+
(instruction) => {
|
|
487
|
+
if (!draft || !requestRef.current) return;
|
|
488
|
+
const refined = buildRefinementPrompt(
|
|
489
|
+
requestRef.current.prompt,
|
|
490
|
+
instruction
|
|
491
|
+
);
|
|
492
|
+
requestRef.current = { ...requestRef.current, prompt: refined };
|
|
493
|
+
setPrompt(refined);
|
|
494
|
+
run({
|
|
495
|
+
prompt: refined,
|
|
496
|
+
baseDefinitionJson: draft.definitionJson
|
|
497
|
+
});
|
|
498
|
+
},
|
|
499
|
+
[draft, run]
|
|
500
|
+
);
|
|
501
|
+
const handleAnswer = useCallback(() => {
|
|
502
|
+
if (!draft || !requestRef.current || !answeredPrompt) return;
|
|
503
|
+
requestRef.current = { ...requestRef.current, prompt: answeredPrompt };
|
|
504
|
+
setPrompt(answeredPrompt);
|
|
505
|
+
run({
|
|
506
|
+
prompt: answeredPrompt,
|
|
507
|
+
baseDefinitionJson: draft.definitionJson
|
|
508
|
+
});
|
|
509
|
+
}, [answeredPrompt, draft, run]);
|
|
510
|
+
const handleEditInBuilder = useCallback(async () => {
|
|
511
|
+
if (!draft) return;
|
|
512
|
+
setSaving(true);
|
|
513
|
+
let reported = null;
|
|
514
|
+
try {
|
|
515
|
+
const created = await createWorkflow(
|
|
516
|
+
draftCreateInput(
|
|
517
|
+
{
|
|
518
|
+
name: draft.name,
|
|
519
|
+
description: draft.description,
|
|
520
|
+
definitionJson: draft.definitionJson
|
|
521
|
+
},
|
|
522
|
+
v4()
|
|
523
|
+
),
|
|
524
|
+
{
|
|
525
|
+
onError: (error) => {
|
|
526
|
+
reported = error;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
);
|
|
530
|
+
if (!created?.workflowKey || !created.version) {
|
|
531
|
+
setRefusal(classifyCreateRefusal(reported));
|
|
532
|
+
return;
|
|
533
|
+
}
|
|
534
|
+
toast.success(
|
|
535
|
+
tr("fluidgrids.aiStudio.savedToast", "Draft saved as a new workflow"),
|
|
536
|
+
{
|
|
537
|
+
description: tr(
|
|
538
|
+
"fluidgrids.aiStudio.savedToastDescription",
|
|
539
|
+
"Nothing is live yet. Fill in the settings, run a test, then activate it."
|
|
540
|
+
)
|
|
541
|
+
}
|
|
542
|
+
);
|
|
543
|
+
navigate(builderPathOf(created, ".."));
|
|
544
|
+
} finally {
|
|
545
|
+
setSaving(false);
|
|
546
|
+
}
|
|
547
|
+
}, [createWorkflow, draft, navigate, tr]);
|
|
548
|
+
const showExamples = phase === "idle" && !requestRef.current;
|
|
549
|
+
return /* @__PURE__ */ jsxs(
|
|
550
|
+
"div",
|
|
551
|
+
{
|
|
552
|
+
className: "min-h-full bg-background-primary p-4 sm:p-6",
|
|
553
|
+
"data-testid": "ai-studio-page",
|
|
554
|
+
children: [
|
|
555
|
+
/* @__PURE__ */ jsxs("header", { className: "mb-6 flex flex-col gap-1", children: [
|
|
556
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
557
|
+
/* @__PURE__ */ jsx(Sparkles, { className: "size-6 text-action-primary-bg", "aria-hidden": true }),
|
|
558
|
+
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-semibold text-text-primary sm:text-3xl", children: tr("fluidgrids.aiStudio.title", "AI Studio") }),
|
|
559
|
+
/* @__PURE__ */ jsx(Badge, { variant: "outline", children: tr("fluidgrids.aiStudio.beta", "Beta") })
|
|
560
|
+
] }),
|
|
561
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-text-secondary", children: tr(
|
|
562
|
+
"fluidgrids.aiStudio.subtitle",
|
|
563
|
+
"Describe your automation in plain English. AI builds a draft workflow you review before anything is saved."
|
|
564
|
+
) })
|
|
565
|
+
] }),
|
|
566
|
+
/* @__PURE__ */ jsxs("div", { className: "grid gap-6 lg:grid-cols-[minmax(0,2fr)_minmax(0,3fr)]", children: [
|
|
567
|
+
/* @__PURE__ */ jsxs(Card, { className: "h-fit", children: [
|
|
568
|
+
/* @__PURE__ */ jsx(CardHeader, { className: "pb-2", children: /* @__PURE__ */ jsx("h2", { className: "text-base font-semibold text-text-primary", children: tr(
|
|
569
|
+
"fluidgrids.aiStudio.describeTitle",
|
|
570
|
+
"Describe your automation"
|
|
571
|
+
) }) }),
|
|
572
|
+
/* @__PURE__ */ jsxs(CardContent, { className: "flex flex-col gap-4", children: [
|
|
573
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
574
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "ai-studio-prompt", className: "sr-only", children: tr(
|
|
575
|
+
"fluidgrids.aiStudio.promptLabel",
|
|
576
|
+
"What should the workflow do?"
|
|
577
|
+
) }),
|
|
578
|
+
/* @__PURE__ */ jsx(
|
|
579
|
+
Textarea,
|
|
580
|
+
{
|
|
581
|
+
id: "ai-studio-prompt",
|
|
582
|
+
"data-testid": "ai-studio-prompt",
|
|
583
|
+
rows: 6,
|
|
584
|
+
maxLength: AI_DRAFT_MAX_PROMPT_LENGTH,
|
|
585
|
+
value: prompt,
|
|
586
|
+
disabled: working,
|
|
587
|
+
placeholder: tr(
|
|
588
|
+
"fluidgrids.aiStudio.promptPlaceholder",
|
|
589
|
+
"When a new Stripe payment succeeds, add the customer to HubSpot and post a summary to Slack #sales."
|
|
590
|
+
),
|
|
591
|
+
onChange: (event) => setPrompt(event.target.value)
|
|
592
|
+
}
|
|
593
|
+
),
|
|
594
|
+
/* @__PURE__ */ jsxs("span", { className: "self-end text-xs text-text-secondary", children: [
|
|
595
|
+
prompt.length,
|
|
596
|
+
"/",
|
|
597
|
+
AI_DRAFT_MAX_PROMPT_LENGTH
|
|
598
|
+
] })
|
|
599
|
+
] }),
|
|
600
|
+
templates.length > 0 && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
601
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "ai-studio-template", children: tr(
|
|
602
|
+
"fluidgrids.aiStudio.templateLabel",
|
|
603
|
+
"Starting pattern (optional)"
|
|
604
|
+
) }),
|
|
605
|
+
/* @__PURE__ */ jsxs(
|
|
606
|
+
Select,
|
|
607
|
+
{
|
|
608
|
+
value: template,
|
|
609
|
+
onValueChange: setTemplate,
|
|
610
|
+
disabled: working,
|
|
611
|
+
children: [
|
|
612
|
+
/* @__PURE__ */ jsx(
|
|
613
|
+
SelectTrigger,
|
|
614
|
+
{
|
|
615
|
+
id: "ai-studio-template",
|
|
616
|
+
"data-testid": "ai-studio-template",
|
|
617
|
+
children: /* @__PURE__ */ jsx(SelectValue, {})
|
|
618
|
+
}
|
|
619
|
+
),
|
|
620
|
+
/* @__PURE__ */ jsxs(SelectContent, { children: [
|
|
621
|
+
/* @__PURE__ */ jsx(SelectItem, { value: NO_TEMPLATE, children: tr("fluidgrids.aiStudio.noTemplate", "No pattern") }),
|
|
622
|
+
templates.map((option) => /* @__PURE__ */ jsx(SelectItem, { value: option.id, children: option.name }, option.id))
|
|
623
|
+
] })
|
|
624
|
+
]
|
|
625
|
+
}
|
|
626
|
+
)
|
|
627
|
+
] }),
|
|
628
|
+
/* @__PURE__ */ jsx(AiCreditBalanceSlot, { testId: "ai-studio-credit-balance" }),
|
|
629
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-2", children: [
|
|
630
|
+
/* @__PURE__ */ jsxs(
|
|
631
|
+
Button,
|
|
632
|
+
{
|
|
633
|
+
"data-testid": "ai-studio-generate",
|
|
634
|
+
onClick: handleGenerate,
|
|
635
|
+
disabled: !trimmed || working || !canGenerate,
|
|
636
|
+
title: canGenerate ? void 0 : tr(
|
|
637
|
+
"fluidgrids.aiStudio.noPermission",
|
|
638
|
+
"Your role cannot generate workflows with AI"
|
|
639
|
+
),
|
|
640
|
+
className: "flex grow gap-2",
|
|
641
|
+
children: [
|
|
642
|
+
working ? /* @__PURE__ */ jsx(Loader2, { className: "size-4 animate-spin" }) : /* @__PURE__ */ jsx(Sparkles, { className: "size-4" }),
|
|
643
|
+
working ? tr("fluidgrids.aiStudio.generating", "Generating\u2026") : tr("fluidgrids.aiStudio.generate", "Generate workflow")
|
|
644
|
+
]
|
|
645
|
+
}
|
|
646
|
+
),
|
|
647
|
+
working && /* @__PURE__ */ jsxs(
|
|
648
|
+
Button,
|
|
649
|
+
{
|
|
650
|
+
variant: "outline",
|
|
651
|
+
"data-testid": "ai-studio-cancel",
|
|
652
|
+
onClick: () => void generation.cancel(),
|
|
653
|
+
className: "flex gap-2",
|
|
654
|
+
children: [
|
|
655
|
+
/* @__PURE__ */ jsx(Square, { className: "size-4" }),
|
|
656
|
+
tr("fluidgrids.aiStudio.stop", "Stop")
|
|
657
|
+
]
|
|
658
|
+
}
|
|
659
|
+
)
|
|
660
|
+
] }),
|
|
661
|
+
showExamples && /* @__PURE__ */ jsxs(
|
|
662
|
+
"section",
|
|
663
|
+
{
|
|
664
|
+
className: "flex flex-col gap-2",
|
|
665
|
+
"data-testid": "ai-studio-examples",
|
|
666
|
+
children: [
|
|
667
|
+
/* @__PURE__ */ jsxs("h3", { className: "flex items-center gap-2 text-sm font-medium text-text-primary", children: [
|
|
668
|
+
/* @__PURE__ */ jsx(Lightbulb, { className: "size-4", "aria-hidden": true }),
|
|
669
|
+
tr("fluidgrids.aiStudio.examplesTitle", "Try an example")
|
|
670
|
+
] }),
|
|
671
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: AI_STUDIO_EXAMPLES.map((example) => /* @__PURE__ */ jsx(
|
|
672
|
+
Button,
|
|
673
|
+
{
|
|
674
|
+
variant: "outline",
|
|
675
|
+
size: "sm",
|
|
676
|
+
"data-testid": `ai-studio-example-${example.id}`,
|
|
677
|
+
onClick: () => setPrompt(tr(example.promptKey, example.prompt)),
|
|
678
|
+
children: tr(example.labelKey, example.label)
|
|
679
|
+
},
|
|
680
|
+
example.id
|
|
681
|
+
)) })
|
|
682
|
+
]
|
|
683
|
+
}
|
|
684
|
+
),
|
|
685
|
+
draft && /* @__PURE__ */ jsxs(
|
|
686
|
+
"section",
|
|
687
|
+
{
|
|
688
|
+
className: "flex flex-col gap-2",
|
|
689
|
+
"data-testid": "ai-studio-suggestions",
|
|
690
|
+
children: [
|
|
691
|
+
/* @__PURE__ */ jsxs("h3", { className: "flex items-center gap-2 text-sm font-medium text-text-primary", children: [
|
|
692
|
+
/* @__PURE__ */ jsx(Lightbulb, { className: "size-4", "aria-hidden": true }),
|
|
693
|
+
tr("fluidgrids.aiStudio.suggestionsTitle", "Suggestions")
|
|
694
|
+
] }),
|
|
695
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: AI_STUDIO_REFINEMENTS.map((refinement) => /* @__PURE__ */ jsx(
|
|
696
|
+
Button,
|
|
697
|
+
{
|
|
698
|
+
variant: "outline",
|
|
699
|
+
size: "sm",
|
|
700
|
+
disabled: !canGenerate,
|
|
701
|
+
"data-testid": `ai-studio-refine-${refinement.id}`,
|
|
702
|
+
onClick: () => handleRefine(refinement.instruction),
|
|
703
|
+
children: tr(refinement.labelKey, refinement.label)
|
|
704
|
+
},
|
|
705
|
+
refinement.id
|
|
706
|
+
)) })
|
|
707
|
+
]
|
|
708
|
+
}
|
|
709
|
+
),
|
|
710
|
+
questions.length > 0 && /* @__PURE__ */ jsxs(
|
|
711
|
+
"section",
|
|
712
|
+
{
|
|
713
|
+
className: "flex flex-col gap-3",
|
|
714
|
+
"data-testid": "ai-studio-questions",
|
|
715
|
+
children: [
|
|
716
|
+
/* @__PURE__ */ jsxs("h3", { className: "flex items-center gap-2 text-sm font-medium text-text-primary", children: [
|
|
717
|
+
/* @__PURE__ */ jsx(MessageCircleQuestion, { className: "size-4", "aria-hidden": true }),
|
|
718
|
+
tr(
|
|
719
|
+
"fluidgrids.aiStudio.questionsTitle",
|
|
720
|
+
"AI clarifying questions"
|
|
721
|
+
)
|
|
722
|
+
] }),
|
|
723
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-text-secondary", children: tr(
|
|
724
|
+
"fluidgrids.aiStudio.questionsHint",
|
|
725
|
+
"The draft uses sensible defaults. Answer any of these to refine it."
|
|
726
|
+
) }),
|
|
727
|
+
/* @__PURE__ */ jsx("ol", { className: "flex flex-col gap-3", children: questions.map((question, index) => /* @__PURE__ */ jsxs("li", { className: "flex flex-col gap-1.5", children: [
|
|
728
|
+
/* @__PURE__ */ jsxs(
|
|
729
|
+
Label,
|
|
730
|
+
{
|
|
731
|
+
htmlFor: `ai-studio-answer-${index}`,
|
|
732
|
+
className: "flex gap-2 font-normal text-text-primary",
|
|
733
|
+
children: [
|
|
734
|
+
/* @__PURE__ */ jsx("span", { className: "flex size-5 shrink-0 items-center justify-center rounded-full bg-action-primary-bg text-xs text-action-primary-text", children: index + 1 }),
|
|
735
|
+
/* @__PURE__ */ jsx("span", { children: question })
|
|
736
|
+
]
|
|
737
|
+
}
|
|
738
|
+
),
|
|
739
|
+
/* @__PURE__ */ jsx(
|
|
740
|
+
Input,
|
|
741
|
+
{
|
|
742
|
+
id: `ai-studio-answer-${index}`,
|
|
743
|
+
"data-testid": `ai-studio-answer-${index}`,
|
|
744
|
+
value: answers[index] ?? "",
|
|
745
|
+
placeholder: tr(
|
|
746
|
+
"fluidgrids.aiStudio.answerPlaceholder",
|
|
747
|
+
"Your answer (optional)"
|
|
748
|
+
),
|
|
749
|
+
onChange: (event) => setAnswers((previous) => ({
|
|
750
|
+
...previous,
|
|
751
|
+
[index]: event.target.value
|
|
752
|
+
}))
|
|
753
|
+
}
|
|
754
|
+
)
|
|
755
|
+
] }, question)) }),
|
|
756
|
+
/* @__PURE__ */ jsxs(
|
|
757
|
+
Button,
|
|
758
|
+
{
|
|
759
|
+
variant: "secondary",
|
|
760
|
+
"data-testid": "ai-studio-answer-submit",
|
|
761
|
+
disabled: !answeredPrompt || !canGenerate,
|
|
762
|
+
onClick: handleAnswer,
|
|
763
|
+
className: "flex gap-2 self-start",
|
|
764
|
+
children: [
|
|
765
|
+
/* @__PURE__ */ jsx(RefreshCw, { className: "size-4" }),
|
|
766
|
+
tr(
|
|
767
|
+
"fluidgrids.aiStudio.answerSubmit",
|
|
768
|
+
"Update the draft with my answers"
|
|
769
|
+
)
|
|
770
|
+
]
|
|
771
|
+
}
|
|
772
|
+
)
|
|
773
|
+
]
|
|
774
|
+
}
|
|
775
|
+
)
|
|
776
|
+
] })
|
|
777
|
+
] }),
|
|
778
|
+
/* @__PURE__ */ jsxs(Card, { className: "flex min-w-0 flex-col", "data-testid": "ai-studio-draft", children: [
|
|
779
|
+
/* @__PURE__ */ jsxs(CardHeader, { className: "flex flex-row flex-wrap items-center justify-between gap-2 pb-2", children: [
|
|
780
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
781
|
+
/* @__PURE__ */ jsx(Badge, { variant: "secondary", children: tr("fluidgrids.aiStudio.draftBadge", "Draft") }),
|
|
782
|
+
/* @__PURE__ */ jsx(
|
|
783
|
+
"h2",
|
|
784
|
+
{
|
|
785
|
+
className: "truncate text-base font-semibold text-text-primary",
|
|
786
|
+
"data-testid": "ai-studio-draft-name",
|
|
787
|
+
children: draft?.name ?? (working ? tr(
|
|
788
|
+
"fluidgrids.aiStudio.draftGenerating",
|
|
789
|
+
"Your workflow is being generated"
|
|
790
|
+
) : tr("fluidgrids.aiStudio.draftEmpty", "No draft yet"))
|
|
791
|
+
}
|
|
792
|
+
)
|
|
793
|
+
] }),
|
|
794
|
+
draft && /* @__PURE__ */ jsx(Badge, { variant: "outline", "data-testid": "ai-studio-step-count", children: tr("fluidgrids.aiStudio.stepCount", "{{count}} steps", {
|
|
795
|
+
count: draft.nodeCount
|
|
796
|
+
}) })
|
|
797
|
+
] }),
|
|
798
|
+
/* @__PURE__ */ jsxs(CardContent, { className: "flex flex-col gap-4", children: [
|
|
799
|
+
/* @__PURE__ */ jsx("div", { className: "relative h-[360px] w-full overflow-hidden rounded-lg border border-border-secondary sm:h-[440px]", children: draft && current ? /* @__PURE__ */ jsx(
|
|
800
|
+
DraftCanvas,
|
|
801
|
+
{
|
|
802
|
+
generationId: current.id,
|
|
803
|
+
name: draft.name,
|
|
804
|
+
definitionJson: draft.definitionJson
|
|
805
|
+
}
|
|
806
|
+
) : /* @__PURE__ */ jsx(
|
|
807
|
+
"div",
|
|
808
|
+
{
|
|
809
|
+
className: "flex h-full flex-col items-center justify-center gap-3 p-6 text-center text-sm text-text-secondary",
|
|
810
|
+
"data-testid": `ai-studio-state-${phase}`,
|
|
811
|
+
children: working ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
812
|
+
/* @__PURE__ */ jsx(Loader2, { className: "size-6 animate-spin" }),
|
|
813
|
+
/* @__PURE__ */ jsx("p", { children: tr(
|
|
814
|
+
"fluidgrids.aiStudio.generatingHint",
|
|
815
|
+
"Picking nodes, connecting them and checking the result. This usually takes under a minute."
|
|
816
|
+
) })
|
|
817
|
+
] }) : phase === "failed" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
818
|
+
/* @__PURE__ */ jsx(TriangleAlert, { className: "size-6 text-status-error-text" }),
|
|
819
|
+
/* @__PURE__ */ jsx("p", { role: "alert", className: "text-status-error-text", children: current?.message ?? tr(
|
|
820
|
+
"fluidgrids.aiStudio.failed",
|
|
821
|
+
"The draft could not be generated."
|
|
822
|
+
) }),
|
|
823
|
+
errors.length > 0 && /* @__PURE__ */ jsx("ul", { className: "max-w-md list-disc text-left text-xs", children: errors.slice(0, 5).map((entry) => /* @__PURE__ */ jsx("li", { children: entry }, entry)) })
|
|
824
|
+
] }) : phase === "cancelled" ? /* @__PURE__ */ jsx("p", { children: tr(
|
|
825
|
+
"fluidgrids.aiStudio.cancelled",
|
|
826
|
+
"Generation stopped. Change the request or generate again."
|
|
827
|
+
) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
828
|
+
/* @__PURE__ */ jsx(Sparkles, { className: "size-6", "aria-hidden": true }),
|
|
829
|
+
/* @__PURE__ */ jsx("p", { children: tr(
|
|
830
|
+
"fluidgrids.aiStudio.emptyHint",
|
|
831
|
+
"Your draft appears here: a trigger and the steps that follow, ready to review."
|
|
832
|
+
) })
|
|
833
|
+
] })
|
|
834
|
+
}
|
|
835
|
+
) }),
|
|
836
|
+
(generation.error || generation.timedOut) && /* @__PURE__ */ jsx(
|
|
837
|
+
"div",
|
|
838
|
+
{
|
|
839
|
+
role: "alert",
|
|
840
|
+
className: "rounded-md border border-status-error-border bg-status-error-bg-subtle p-3 text-sm text-status-error-text",
|
|
841
|
+
"data-testid": "ai-studio-error",
|
|
842
|
+
children: generation.timedOut ? tr(
|
|
843
|
+
"fluidgrids.aiStudio.timedOut",
|
|
844
|
+
"The draft is taking longer than expected. Try again in a moment."
|
|
845
|
+
) : generation.error
|
|
846
|
+
}
|
|
847
|
+
),
|
|
848
|
+
draft && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
849
|
+
draft.explanation && /* @__PURE__ */ jsx(
|
|
850
|
+
"p",
|
|
851
|
+
{
|
|
852
|
+
className: "text-sm text-text-secondary",
|
|
853
|
+
"data-testid": "ai-studio-explanation",
|
|
854
|
+
children: draft.explanation
|
|
855
|
+
}
|
|
856
|
+
),
|
|
857
|
+
steps.length > 0 && /* @__PURE__ */ jsx(
|
|
858
|
+
"ol",
|
|
859
|
+
{
|
|
860
|
+
className: "flex flex-col gap-1 text-sm",
|
|
861
|
+
"data-testid": "ai-studio-steps",
|
|
862
|
+
children: steps.map((step, index) => /* @__PURE__ */ jsxs(
|
|
863
|
+
"li",
|
|
864
|
+
{
|
|
865
|
+
className: "flex items-center gap-2 text-text-primary",
|
|
866
|
+
children: [
|
|
867
|
+
/* @__PURE__ */ jsx(
|
|
868
|
+
CheckCircle2,
|
|
869
|
+
{
|
|
870
|
+
className: "size-4 shrink-0 text-status-success-text",
|
|
871
|
+
"aria-hidden": true
|
|
872
|
+
}
|
|
873
|
+
),
|
|
874
|
+
/* @__PURE__ */ jsxs("span", { className: "text-text-secondary", children: [
|
|
875
|
+
index + 1,
|
|
876
|
+
"."
|
|
877
|
+
] }),
|
|
878
|
+
/* @__PURE__ */ jsx("span", { className: "truncate", children: step.label })
|
|
879
|
+
]
|
|
880
|
+
},
|
|
881
|
+
step.id
|
|
882
|
+
))
|
|
883
|
+
}
|
|
884
|
+
),
|
|
885
|
+
warnings.length > 0 && /* @__PURE__ */ jsxs(
|
|
886
|
+
"div",
|
|
887
|
+
{
|
|
888
|
+
className: "rounded-md border border-status-warning-border bg-status-warning-bg-subtle p-3 text-sm text-status-warning-text",
|
|
889
|
+
"data-testid": "ai-studio-warnings",
|
|
890
|
+
children: [
|
|
891
|
+
/* @__PURE__ */ jsx("p", { className: "font-medium", children: tr(
|
|
892
|
+
"fluidgrids.aiStudio.warningsTitle",
|
|
893
|
+
"Fill in before activating"
|
|
894
|
+
) }),
|
|
895
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-1 list-disc pl-5 text-xs", children: warnings.map((warning) => /* @__PURE__ */ jsx("li", { children: warning }, warning)) })
|
|
896
|
+
]
|
|
897
|
+
}
|
|
898
|
+
)
|
|
899
|
+
] }),
|
|
900
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
901
|
+
/* @__PURE__ */ jsxs(
|
|
902
|
+
Button,
|
|
903
|
+
{
|
|
904
|
+
"data-testid": "ai-studio-edit-in-builder",
|
|
905
|
+
disabled: !draft || saving || working || !canCreate,
|
|
906
|
+
onClick: () => void handleEditInBuilder(),
|
|
907
|
+
className: "flex gap-2",
|
|
908
|
+
children: [
|
|
909
|
+
saving ? /* @__PURE__ */ jsx(Loader2, { className: "size-4 animate-spin" }) : /* @__PURE__ */ jsx(Pencil, { className: "size-4" }),
|
|
910
|
+
tr("fluidgrids.aiStudio.editInBuilder", "Edit in builder")
|
|
911
|
+
]
|
|
912
|
+
}
|
|
913
|
+
),
|
|
914
|
+
/* @__PURE__ */ jsxs(
|
|
915
|
+
Button,
|
|
916
|
+
{
|
|
917
|
+
variant: "outline",
|
|
918
|
+
"data-testid": "ai-studio-regenerate",
|
|
919
|
+
disabled: !requestRef.current || working || !canGenerate,
|
|
920
|
+
onClick: handleRegenerate,
|
|
921
|
+
className: "flex gap-2",
|
|
922
|
+
children: [
|
|
923
|
+
/* @__PURE__ */ jsx(RefreshCw, { className: "size-4" }),
|
|
924
|
+
tr("fluidgrids.aiStudio.regenerate", "Regenerate")
|
|
925
|
+
]
|
|
926
|
+
}
|
|
927
|
+
),
|
|
928
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs text-text-secondary sm:ml-auto", children: tr(
|
|
929
|
+
"fluidgrids.aiStudio.betaNote",
|
|
930
|
+
"AI Studio is in beta. Outputs may vary."
|
|
931
|
+
) })
|
|
932
|
+
] })
|
|
933
|
+
] })
|
|
934
|
+
] })
|
|
935
|
+
] }),
|
|
936
|
+
/* @__PURE__ */ jsx(
|
|
937
|
+
CreateWorkflowRefusalDialog,
|
|
938
|
+
{
|
|
939
|
+
surface: "builder-create",
|
|
940
|
+
refusal,
|
|
941
|
+
onClose: () => setRefusal(null),
|
|
942
|
+
onUpgrade: () => navigate(BILLING_PLANS_PATH)
|
|
943
|
+
}
|
|
944
|
+
)
|
|
945
|
+
]
|
|
946
|
+
}
|
|
947
|
+
);
|
|
948
|
+
}
|
|
137
949
|
|
|
138
950
|
// src/pages/embed-params.ts
|
|
139
951
|
function parseEmbedParams(search) {
|
|
@@ -902,9 +1714,9 @@ function VariableFormDialog({
|
|
|
902
1714
|
] })
|
|
903
1715
|
] }),
|
|
904
1716
|
/* @__PURE__ */ jsxs(DialogFooter, { children: [
|
|
905
|
-
/* @__PURE__ */ jsx(Button, { variant: "outline", onClick: () => onOpenChange(false), children: tr("fluidgrids.variables.cancel", "Cancel") }),
|
|
1717
|
+
/* @__PURE__ */ jsx(Button$1, { variant: "outline", onClick: () => onOpenChange(false), children: tr("fluidgrids.variables.cancel", "Cancel") }),
|
|
906
1718
|
/* @__PURE__ */ jsx(
|
|
907
|
-
Button,
|
|
1719
|
+
Button$1,
|
|
908
1720
|
{
|
|
909
1721
|
"data-agent": "confirm",
|
|
910
1722
|
onClick: handleSubmit,
|
|
@@ -970,7 +1782,7 @@ function VariablesTab() {
|
|
|
970
1782
|
"You don't have permission to create variables"
|
|
971
1783
|
),
|
|
972
1784
|
children: /* @__PURE__ */ jsxs(
|
|
973
|
-
Button,
|
|
1785
|
+
Button$1,
|
|
974
1786
|
{
|
|
975
1787
|
onClick: handleCreate,
|
|
976
1788
|
size: "sm",
|
|
@@ -1203,7 +2015,7 @@ function ExternalProvidersTab() {
|
|
|
1203
2015
|
),
|
|
1204
2016
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 pt-1", children: [
|
|
1205
2017
|
/* @__PURE__ */ jsx(
|
|
1206
|
-
Button,
|
|
2018
|
+
Button$1,
|
|
1207
2019
|
{
|
|
1208
2020
|
"data-agent": "confirm",
|
|
1209
2021
|
onClick: handleSave,
|
|
@@ -1213,7 +2025,7 @@ function ExternalProvidersTab() {
|
|
|
1213
2025
|
}
|
|
1214
2026
|
),
|
|
1215
2027
|
/* @__PURE__ */ jsx(
|
|
1216
|
-
Button,
|
|
2028
|
+
Button$1,
|
|
1217
2029
|
{
|
|
1218
2030
|
onClick: handleTest,
|
|
1219
2031
|
disabled: testing,
|
|
@@ -1248,7 +2060,7 @@ function VariablesPage() {
|
|
|
1248
2060
|
"Reusable values workflows can reference as $vars"
|
|
1249
2061
|
) })
|
|
1250
2062
|
] }),
|
|
1251
|
-
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: () => navigate("../list"), children: [
|
|
2063
|
+
/* @__PURE__ */ jsxs(Button$1, { variant: "outline", onClick: () => navigate("../list"), children: [
|
|
1252
2064
|
/* @__PURE__ */ jsx(Icon, { icon: "mdi:arrow-left", className: "mr-2", width: 16 }),
|
|
1253
2065
|
tr("fluidgrids.variables.backToWorkflows", "Back to Workflows")
|
|
1254
2066
|
] })
|
|
@@ -1309,7 +2121,7 @@ function PrivateNetworkCell({ rules }) {
|
|
|
1309
2121
|
/* @__PURE__ */ jsx("span", { className: "ml-1 text-xs", children: rule.nodes.length > 0 ? rule.nodes.join(", ") : everyNode })
|
|
1310
2122
|
] }, `${rule.target}-${index}`)) }),
|
|
1311
2123
|
hidden > 0 && /* @__PURE__ */ jsx(
|
|
1312
|
-
Button,
|
|
2124
|
+
Button$1,
|
|
1313
2125
|
{
|
|
1314
2126
|
variant: "link",
|
|
1315
2127
|
size: "sm",
|
|
@@ -1354,7 +2166,7 @@ function CopyableValue({
|
|
|
1354
2166
|
}
|
|
1355
2167
|
),
|
|
1356
2168
|
/* @__PURE__ */ jsxs(
|
|
1357
|
-
Button,
|
|
2169
|
+
Button$1,
|
|
1358
2170
|
{
|
|
1359
2171
|
variant: "outline",
|
|
1360
2172
|
size: "sm",
|
|
@@ -1496,7 +2308,7 @@ function AddRunnerDialog({
|
|
|
1496
2308
|
)
|
|
1497
2309
|
] }),
|
|
1498
2310
|
/* @__PURE__ */ jsx(DialogFooter, { children: !issued ? /* @__PURE__ */ jsx(
|
|
1499
|
-
Button,
|
|
2311
|
+
Button$1,
|
|
1500
2312
|
{
|
|
1501
2313
|
onClick: submit,
|
|
1502
2314
|
disabled: busy || !name.trim(),
|
|
@@ -1504,7 +2316,7 @@ function AddRunnerDialog({
|
|
|
1504
2316
|
children: tr("fluidgrids.runners.create", "Create runner")
|
|
1505
2317
|
}
|
|
1506
2318
|
) : /* @__PURE__ */ jsx(
|
|
1507
|
-
Button,
|
|
2319
|
+
Button$1,
|
|
1508
2320
|
{
|
|
1509
2321
|
variant: "outline",
|
|
1510
2322
|
onClick: () => onOpenChange(false),
|
|
@@ -1592,7 +2404,7 @@ function RunnersPage() {
|
|
|
1592
2404
|
"You don't have permission to add runners"
|
|
1593
2405
|
),
|
|
1594
2406
|
children: /* @__PURE__ */ jsxs(
|
|
1595
|
-
Button,
|
|
2407
|
+
Button$1,
|
|
1596
2408
|
{
|
|
1597
2409
|
onClick: () => setAdding(true),
|
|
1598
2410
|
"data-testid": "runner-add",
|
|
@@ -1649,7 +2461,7 @@ function RunnersPage() {
|
|
|
1649
2461
|
"You don't have permission to rotate runner tokens"
|
|
1650
2462
|
),
|
|
1651
2463
|
children: /* @__PURE__ */ jsx(
|
|
1652
|
-
Button,
|
|
2464
|
+
Button$1,
|
|
1653
2465
|
{
|
|
1654
2466
|
"data-agent": "confirm",
|
|
1655
2467
|
variant: "ghost",
|
|
@@ -1672,7 +2484,7 @@ function RunnersPage() {
|
|
|
1672
2484
|
"You don't have permission to remove runners"
|
|
1673
2485
|
),
|
|
1674
2486
|
children: /* @__PURE__ */ jsx(
|
|
1675
|
-
Button,
|
|
2487
|
+
Button$1,
|
|
1676
2488
|
{
|
|
1677
2489
|
variant: "ghost",
|
|
1678
2490
|
size: "sm",
|
|
@@ -1727,7 +2539,7 @@ function RunnersPage() {
|
|
|
1727
2539
|
"The old token no longer works and the runner was disconnected. Re-run the command below on that machine and paste the new token when it asks."
|
|
1728
2540
|
) }),
|
|
1729
2541
|
rotated && /* @__PURE__ */ jsx(InstallCommand, { issued: rotated }),
|
|
1730
|
-
/* @__PURE__ */ jsx(DialogFooter, { children: /* @__PURE__ */ jsx(Button, { variant: "outline", onClick: () => setRotated(null), children: tr("fluidgrids.runners.done", "Done") }) })
|
|
2542
|
+
/* @__PURE__ */ jsx(DialogFooter, { children: /* @__PURE__ */ jsx(Button$1, { variant: "outline", onClick: () => setRotated(null), children: tr("fluidgrids.runners.done", "Done") }) })
|
|
1731
2543
|
] })
|
|
1732
2544
|
}
|
|
1733
2545
|
),
|
|
@@ -1743,9 +2555,9 @@ function RunnersPage() {
|
|
|
1743
2555
|
"It is disconnected and its token stops working. Nodes set to run on it will fail until you pick another runner or FluidGrids Cloud."
|
|
1744
2556
|
) }),
|
|
1745
2557
|
/* @__PURE__ */ jsxs(DialogFooter, { children: [
|
|
1746
|
-
/* @__PURE__ */ jsx(Button, { variant: "outline", onClick: () => setRemoving(null), children: tr("fluidgrids.runners.cancel", "Cancel") }),
|
|
2558
|
+
/* @__PURE__ */ jsx(Button$1, { variant: "outline", onClick: () => setRemoving(null), children: tr("fluidgrids.runners.cancel", "Cancel") }),
|
|
1747
2559
|
/* @__PURE__ */ jsx(
|
|
1748
|
-
Button,
|
|
2560
|
+
Button$1,
|
|
1749
2561
|
{
|
|
1750
2562
|
variant: "destructive",
|
|
1751
2563
|
onClick: handleRemove,
|
|
@@ -1983,7 +2795,7 @@ function RejectDialog({
|
|
|
1983
2795
|
] }),
|
|
1984
2796
|
/* @__PURE__ */ jsxs(DialogFooter, { children: [
|
|
1985
2797
|
/* @__PURE__ */ jsx(
|
|
1986
|
-
Button,
|
|
2798
|
+
Button$1,
|
|
1987
2799
|
{
|
|
1988
2800
|
variant: "outline",
|
|
1989
2801
|
onClick: () => onOpenChange(false),
|
|
@@ -1992,7 +2804,7 @@ function RejectDialog({
|
|
|
1992
2804
|
}
|
|
1993
2805
|
),
|
|
1994
2806
|
/* @__PURE__ */ jsx(
|
|
1995
|
-
Button,
|
|
2807
|
+
Button$1,
|
|
1996
2808
|
{
|
|
1997
2809
|
variant: "destructive",
|
|
1998
2810
|
onClick: () => onConfirm(reason),
|
|
@@ -2113,7 +2925,7 @@ function RequestCard({ request, onDecided }) {
|
|
|
2113
2925
|
"You don't have permission to decide tool approvals"
|
|
2114
2926
|
),
|
|
2115
2927
|
children: /* @__PURE__ */ jsxs(
|
|
2116
|
-
Button,
|
|
2928
|
+
Button$1,
|
|
2117
2929
|
{
|
|
2118
2930
|
"data-agent": "confirm",
|
|
2119
2931
|
size: "sm",
|
|
@@ -2137,7 +2949,7 @@ function RequestCard({ request, onDecided }) {
|
|
|
2137
2949
|
"You don't have permission to decide tool approvals"
|
|
2138
2950
|
),
|
|
2139
2951
|
children: /* @__PURE__ */ jsxs(
|
|
2140
|
-
Button,
|
|
2952
|
+
Button$1,
|
|
2141
2953
|
{
|
|
2142
2954
|
size: "sm",
|
|
2143
2955
|
variant: "destructive",
|
|
@@ -2202,7 +3014,7 @@ function ApprovalInboxPage() {
|
|
|
2202
3014
|
) }),
|
|
2203
3015
|
/* @__PURE__ */ jsx(FluidGridsDocsLink, { topic: "approvals", className: "mt-1" })
|
|
2204
3016
|
] }),
|
|
2205
|
-
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: () => navigate("../runs"), children: [
|
|
3017
|
+
/* @__PURE__ */ jsxs(Button$1, { variant: "outline", onClick: () => navigate("../runs"), children: [
|
|
2206
3018
|
/* @__PURE__ */ jsx(Icon, { icon: "mdi:arrow-left", className: "mr-2", width: 16 }),
|
|
2207
3019
|
tr("fluidgrids.toolApproval.backToRuns", "Back to Runs")
|
|
2208
3020
|
] })
|
|
@@ -2251,7 +3063,7 @@ function ApprovalInboxPage() {
|
|
|
2251
3063
|
}
|
|
2252
3064
|
) }),
|
|
2253
3065
|
/* @__PURE__ */ jsx(
|
|
2254
|
-
Button,
|
|
3066
|
+
Button$1,
|
|
2255
3067
|
{
|
|
2256
3068
|
variant: "outline",
|
|
2257
3069
|
size: "sm",
|
|
@@ -2263,7 +3075,7 @@ function ApprovalInboxPage() {
|
|
|
2263
3075
|
}
|
|
2264
3076
|
),
|
|
2265
3077
|
/* @__PURE__ */ jsx(
|
|
2266
|
-
Button,
|
|
3078
|
+
Button$1,
|
|
2267
3079
|
{
|
|
2268
3080
|
variant: "outline",
|
|
2269
3081
|
size: "sm",
|
|
@@ -3074,7 +3886,7 @@ function TableFormDialog({
|
|
|
3074
3886
|
) })
|
|
3075
3887
|
] }),
|
|
3076
3888
|
/* @__PURE__ */ jsxs(
|
|
3077
|
-
Button,
|
|
3889
|
+
Button$1,
|
|
3078
3890
|
{
|
|
3079
3891
|
type: "button",
|
|
3080
3892
|
variant: "outline",
|
|
@@ -3176,8 +3988,8 @@ function TableFormDialog({
|
|
|
3176
3988
|
] })
|
|
3177
3989
|
] }),
|
|
3178
3990
|
/* @__PURE__ */ jsxs(DialogFooter, { children: [
|
|
3179
|
-
/* @__PURE__ */ jsx(Button, { variant: "outline", onClick: () => onOpenChange(false), children: tr("fluidgrids.dataTables.cancel", "Cancel") }),
|
|
3180
|
-
/* @__PURE__ */ jsx(Button, { onClick: handleSubmit, disabled: saving, children: saving ? tr("fluidgrids.dataTables.saving", "Saving\u2026") : tr("fluidgrids.dataTables.save", "Save table") })
|
|
3991
|
+
/* @__PURE__ */ jsx(Button$1, { variant: "outline", onClick: () => onOpenChange(false), children: tr("fluidgrids.dataTables.cancel", "Cancel") }),
|
|
3992
|
+
/* @__PURE__ */ jsx(Button$1, { onClick: handleSubmit, disabled: saving, children: saving ? tr("fluidgrids.dataTables.saving", "Saving\u2026") : tr("fluidgrids.dataTables.save", "Save table") })
|
|
3181
3993
|
] })
|
|
3182
3994
|
] }) });
|
|
3183
3995
|
}
|
|
@@ -3282,8 +4094,8 @@ function RowFormDialog({
|
|
|
3282
4094
|
)
|
|
3283
4095
|
] }, column.key)) }),
|
|
3284
4096
|
/* @__PURE__ */ jsxs(DialogFooter, { children: [
|
|
3285
|
-
/* @__PURE__ */ jsx(Button, { variant: "outline", onClick: () => onOpenChange(false), children: tr("fluidgrids.dataTables.cancel", "Cancel") }),
|
|
3286
|
-
/* @__PURE__ */ jsx(Button, { onClick: handleSubmit, disabled: saving || !table, children: saving ? tr("fluidgrids.dataTables.saving", "Saving\u2026") : tr("fluidgrids.dataTables.saveRow", "Save row") })
|
|
4097
|
+
/* @__PURE__ */ jsx(Button$1, { variant: "outline", onClick: () => onOpenChange(false), children: tr("fluidgrids.dataTables.cancel", "Cancel") }),
|
|
4098
|
+
/* @__PURE__ */ jsx(Button$1, { onClick: handleSubmit, disabled: saving || !table, children: saving ? tr("fluidgrids.dataTables.saving", "Saving\u2026") : tr("fluidgrids.dataTables.saveRow", "Save row") })
|
|
3287
4099
|
] })
|
|
3288
4100
|
] }) });
|
|
3289
4101
|
}
|
|
@@ -3468,7 +4280,7 @@ function TableRowsPanel({
|
|
|
3468
4280
|
"You don't have permission to edit data tables"
|
|
3469
4281
|
),
|
|
3470
4282
|
children: /* @__PURE__ */ jsxs(
|
|
3471
|
-
Button,
|
|
4283
|
+
Button$1,
|
|
3472
4284
|
{
|
|
3473
4285
|
variant: "outline",
|
|
3474
4286
|
size: "sm",
|
|
@@ -3491,7 +4303,7 @@ function TableRowsPanel({
|
|
|
3491
4303
|
"You don't have permission to delete data tables"
|
|
3492
4304
|
),
|
|
3493
4305
|
children: /* @__PURE__ */ jsxs(
|
|
3494
|
-
Button,
|
|
4306
|
+
Button$1,
|
|
3495
4307
|
{
|
|
3496
4308
|
variant: "outline",
|
|
3497
4309
|
size: "sm",
|
|
@@ -3530,7 +4342,7 @@ function TableRowsPanel({
|
|
|
3530
4342
|
"You don't have permission to delete rows"
|
|
3531
4343
|
),
|
|
3532
4344
|
children: /* @__PURE__ */ jsxs(
|
|
3533
|
-
Button,
|
|
4345
|
+
Button$1,
|
|
3534
4346
|
{
|
|
3535
4347
|
variant: "outline",
|
|
3536
4348
|
size: "sm",
|
|
@@ -3559,7 +4371,7 @@ function TableRowsPanel({
|
|
|
3559
4371
|
"You don't have permission to add rows"
|
|
3560
4372
|
),
|
|
3561
4373
|
children: /* @__PURE__ */ jsxs(
|
|
3562
|
-
Button,
|
|
4374
|
+
Button$1,
|
|
3563
4375
|
{
|
|
3564
4376
|
size: "sm",
|
|
3565
4377
|
className: "whitespace-nowrap",
|
|
@@ -3582,7 +4394,7 @@ function TableRowsPanel({
|
|
|
3582
4394
|
"You don't have permission to import rows"
|
|
3583
4395
|
),
|
|
3584
4396
|
children: /* @__PURE__ */ jsxs(
|
|
3585
|
-
Button,
|
|
4397
|
+
Button$1,
|
|
3586
4398
|
{
|
|
3587
4399
|
variant: "outline",
|
|
3588
4400
|
size: "sm",
|
|
@@ -3611,7 +4423,7 @@ function TableRowsPanel({
|
|
|
3611
4423
|
}
|
|
3612
4424
|
),
|
|
3613
4425
|
/* @__PURE__ */ jsxs(
|
|
3614
|
-
Button,
|
|
4426
|
+
Button$1,
|
|
3615
4427
|
{
|
|
3616
4428
|
variant: "outline",
|
|
3617
4429
|
size: "sm",
|
|
@@ -3704,7 +4516,7 @@ function TableRowsPanel({
|
|
|
3704
4516
|
"You don't have permission to edit rows"
|
|
3705
4517
|
),
|
|
3706
4518
|
children: /* @__PURE__ */ jsx(
|
|
3707
|
-
Button,
|
|
4519
|
+
Button$1,
|
|
3708
4520
|
{
|
|
3709
4521
|
variant: "ghost",
|
|
3710
4522
|
size: "icon",
|
|
@@ -3752,7 +4564,7 @@ function TableRowsPanel({
|
|
|
3752
4564
|
) }),
|
|
3753
4565
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
3754
4566
|
/* @__PURE__ */ jsx(
|
|
3755
|
-
Button,
|
|
4567
|
+
Button$1,
|
|
3756
4568
|
{
|
|
3757
4569
|
variant: "outline",
|
|
3758
4570
|
size: "icon",
|
|
@@ -3768,7 +4580,7 @@ function TableRowsPanel({
|
|
|
3768
4580
|
}
|
|
3769
4581
|
),
|
|
3770
4582
|
/* @__PURE__ */ jsx(
|
|
3771
|
-
Button,
|
|
4583
|
+
Button$1,
|
|
3772
4584
|
{
|
|
3773
4585
|
variant: "outline",
|
|
3774
4586
|
size: "icon",
|
|
@@ -3905,7 +4717,7 @@ function DataTablesPage() {
|
|
|
3905
4717
|
/* @__PURE__ */ jsx(FluidGridsDocsLink, { topic: "dataTables", className: "mt-1" })
|
|
3906
4718
|
] }),
|
|
3907
4719
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-2", children: [
|
|
3908
|
-
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: () => navigate("../list"), children: [
|
|
4720
|
+
/* @__PURE__ */ jsxs(Button$1, { variant: "outline", onClick: () => navigate("../list"), children: [
|
|
3909
4721
|
/* @__PURE__ */ jsx(ArrowLeft, { className: "mr-2 size-4", "aria-hidden": "true" }),
|
|
3910
4722
|
tr("fluidgrids.dataTables.backToWorkflows", "Back to Workflows")
|
|
3911
4723
|
] }),
|
|
@@ -3918,7 +4730,7 @@ function DataTablesPage() {
|
|
|
3918
4730
|
"You don't have permission to create data tables"
|
|
3919
4731
|
),
|
|
3920
4732
|
children: /* @__PURE__ */ jsxs(
|
|
3921
|
-
Button,
|
|
4733
|
+
Button$1,
|
|
3922
4734
|
{
|
|
3923
4735
|
onClick: () => {
|
|
3924
4736
|
setEditingTable(null);
|
|
@@ -4028,7 +4840,7 @@ function DataTablesPage() {
|
|
|
4028
4840
|
}
|
|
4029
4841
|
)
|
|
4030
4842
|
] }),
|
|
4031
|
-
/* @__PURE__ */ jsx(Button, { type: "submit", variant: "outline", size: "sm", children: tr("fluidgrids.dataTables.searchAction", "Search") })
|
|
4843
|
+
/* @__PURE__ */ jsx(Button$1, { type: "submit", variant: "outline", size: "sm", children: tr("fluidgrids.dataTables.searchAction", "Search") })
|
|
4032
4844
|
] }),
|
|
4033
4845
|
/* @__PURE__ */ jsx(
|
|
4034
4846
|
TagFilterSelect,
|
|
@@ -4067,7 +4879,7 @@ function DataTablesPage() {
|
|
|
4067
4879
|
"You don't have permission to create data tables"
|
|
4068
4880
|
),
|
|
4069
4881
|
children: /* @__PURE__ */ jsxs(
|
|
4070
|
-
Button,
|
|
4882
|
+
Button$1,
|
|
4071
4883
|
{
|
|
4072
4884
|
size: "sm",
|
|
4073
4885
|
onClick: () => {
|
|
@@ -4135,7 +4947,7 @@ function DataTablesPage() {
|
|
|
4135
4947
|
error && !selectedTable && /* @__PURE__ */ jsx(Card, { className: "border-border-secondary", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-6 text-sm text-text-secondary", children: [
|
|
4136
4948
|
/* @__PURE__ */ jsx("p", { children: error.message }),
|
|
4137
4949
|
/* @__PURE__ */ jsxs(
|
|
4138
|
-
Button,
|
|
4950
|
+
Button$1,
|
|
4139
4951
|
{
|
|
4140
4952
|
className: "mt-4",
|
|
4141
4953
|
variant: "outline",
|
|
@@ -4276,7 +5088,7 @@ var NODE_STATUS_CONFIG = {
|
|
|
4276
5088
|
bgColor: "bg-bg-sunken"
|
|
4277
5089
|
}
|
|
4278
5090
|
};
|
|
4279
|
-
var
|
|
5091
|
+
var Textarea4 = React3.forwardRef(
|
|
4280
5092
|
({ className, ...props }, ref) => {
|
|
4281
5093
|
return /* @__PURE__ */ jsx(
|
|
4282
5094
|
"textarea",
|
|
@@ -4291,7 +5103,7 @@ var Textarea3 = React3.forwardRef(
|
|
|
4291
5103
|
);
|
|
4292
5104
|
}
|
|
4293
5105
|
);
|
|
4294
|
-
|
|
5106
|
+
Textarea4.displayName = "Textarea";
|
|
4295
5107
|
function Tabs2({
|
|
4296
5108
|
className,
|
|
4297
5109
|
...props
|
|
@@ -4420,10 +5232,10 @@ var Separator = React3.forwardRef(
|
|
|
4420
5232
|
)
|
|
4421
5233
|
);
|
|
4422
5234
|
Separator.displayName = SeparatorPrimitive.Root.displayName;
|
|
4423
|
-
var
|
|
5235
|
+
var Select3 = SelectPrimitive.Root;
|
|
4424
5236
|
var SelectGroup = SelectPrimitive.Group;
|
|
4425
|
-
var
|
|
4426
|
-
function
|
|
5237
|
+
var SelectValue3 = SelectPrimitive.Value;
|
|
5238
|
+
function SelectTrigger3({
|
|
4427
5239
|
className,
|
|
4428
5240
|
children,
|
|
4429
5241
|
...props
|
|
@@ -4444,7 +5256,7 @@ function SelectTrigger2({
|
|
|
4444
5256
|
}
|
|
4445
5257
|
);
|
|
4446
5258
|
}
|
|
4447
|
-
|
|
5259
|
+
SelectTrigger3.displayName = SelectPrimitive.Trigger.displayName;
|
|
4448
5260
|
function SelectScrollUpButton({
|
|
4449
5261
|
className,
|
|
4450
5262
|
...props
|
|
@@ -4479,7 +5291,7 @@ function SelectScrollDownButton({
|
|
|
4479
5291
|
);
|
|
4480
5292
|
}
|
|
4481
5293
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
4482
|
-
function
|
|
5294
|
+
function SelectContent3({
|
|
4483
5295
|
className,
|
|
4484
5296
|
children,
|
|
4485
5297
|
position = "popper",
|
|
@@ -4513,7 +5325,7 @@ function SelectContent2({
|
|
|
4513
5325
|
}
|
|
4514
5326
|
) });
|
|
4515
5327
|
}
|
|
4516
|
-
|
|
5328
|
+
SelectContent3.displayName = SelectPrimitive.Content.displayName;
|
|
4517
5329
|
function SelectLabel({
|
|
4518
5330
|
className,
|
|
4519
5331
|
...props
|
|
@@ -4530,7 +5342,7 @@ function SelectLabel({
|
|
|
4530
5342
|
);
|
|
4531
5343
|
}
|
|
4532
5344
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
4533
|
-
function
|
|
5345
|
+
function SelectItem3({
|
|
4534
5346
|
className,
|
|
4535
5347
|
children,
|
|
4536
5348
|
...props
|
|
@@ -4550,7 +5362,7 @@ function SelectItem2({
|
|
|
4550
5362
|
}
|
|
4551
5363
|
);
|
|
4552
5364
|
}
|
|
4553
|
-
|
|
5365
|
+
SelectItem3.displayName = SelectPrimitive.Item.displayName;
|
|
4554
5366
|
function SelectSeparator({
|
|
4555
5367
|
className,
|
|
4556
5368
|
...props
|
|
@@ -5297,4 +6109,4 @@ function createFluidGridsAgentTools(deps) {
|
|
|
5297
6109
|
];
|
|
5298
6110
|
}
|
|
5299
6111
|
|
|
5300
|
-
export { ApprovalInboxPage, Checkbox, DataTablesPage, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FluidGridsRoot, NODE_STATUS_CONFIG, RUN_STATUS_CONFIG, RunnersPage, ScrollArea, ScrollBar,
|
|
6112
|
+
export { AiStudioPage, ApprovalInboxPage, Checkbox, DataTablesPage, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FluidGridsRoot, NODE_STATUS_CONFIG, RUN_STATUS_CONFIG, RunnersPage, ScrollArea, ScrollBar, Select3 as Select, SelectContent3 as SelectContent, SelectGroup, SelectItem3 as SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger3 as SelectTrigger, SelectValue3 as SelectValue, Separator, Switch2 as Switch, Tabs2 as Tabs, TabsContent2 as TabsContent, TabsList2 as TabsList, TabsTrigger2 as TabsTrigger, Textarea4 as Textarea, VariablesPage, WorkflowEmbedPage, createFluidGridsAgentTools, createFluidGridsClients, csvToRows, parseCsv, pickTriggerNode, rowsToCsv, triggerNodesOf, useCreateDataTable, useCreateVariable, useDataTableRows, useDataTables, useDecideToolApproval, useDeleteDataTable, useDeleteDataTableRows, useDeleteVariable, useInsertDataTableRow, usePendingToolApprovals, useRevealVariableValue, useSaveSecretsProviderConfig, useSecretsProviderConfigs, useTestSecretsProviderConnection, useUpdateDataTable, useUpdateDataTableRow, useUpdateVariable, useVariables };
|