@burdenoff/fluidgrids-fe-sdk 2026.1109.2 → 2026.1109.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/{ExecutionDetailPage-NOHVD3GW.js → ExecutionDetailPage-IGDA3C36.js} +12 -12
  2. package/dist/{ExecutionsListPage-BZ7MBERP.js → ExecutionsListPage-BY7HA64B.js} +9 -9
  3. package/dist/{WorkflowBuilder-6VJMPSMM.js → WorkflowBuilder-VKOPUT3O.js} +11 -11
  4. package/dist/{WorkflowsList-LXQT3O6D.js → WorkflowsList-HB5FN5YQ.js} +8 -8
  5. package/dist/{agentTools-4YHOYCIG.js → agentTools-GRPT3OXR.js} +3 -3
  6. package/dist/{chunk-62AXA6DK.js → chunk-3CAYQ57D.js} +1 -1
  7. package/dist/{chunk-Y6HULMZS.js → chunk-5YLS3WH5.js} +1 -1
  8. package/dist/{chunk-LWEOPSWO.js → chunk-6CIPJJTP.js} +4 -4
  9. package/dist/{chunk-BRJDII74.js → chunk-6YEJN4S2.js} +4 -4
  10. package/dist/{chunk-6QXEVFKO.js → chunk-C5C7ONWO.js} +3 -3
  11. package/dist/{chunk-SUXYCC3X.js → chunk-DFFQYK2X.js} +1 -1
  12. package/dist/{chunk-VD4WCZJX.js → chunk-EGCUHKON.js} +4 -4
  13. package/dist/{chunk-UKQXYQPG.js → chunk-FHMMAGOG.js} +6 -6
  14. package/dist/{chunk-X4HCPG2E.js → chunk-IU52TFZA.js} +1 -1
  15. package/dist/{chunk-3BY5BCHM.js → chunk-IZSWG5G3.js} +1 -1
  16. package/dist/{chunk-6ZB7AYSA.js → chunk-JFUQH6HV.js} +2 -2
  17. package/dist/{chunk-S4A646OO.js → chunk-M2ELYF52.js} +1 -1
  18. package/dist/{chunk-NUQA7J3T.js → chunk-MUIVZFIU.js} +2 -2
  19. package/dist/{chunk-H7WYQSBK.js → chunk-MYE6CMGK.js} +3 -3
  20. package/dist/{chunk-3APMDE3W.js → chunk-ODXI4P3V.js} +10 -10
  21. package/dist/{chunk-XOP5EU72.js → chunk-OJPRKEP4.js} +2 -2
  22. package/dist/{chunk-W5UXYPBV.js → chunk-POCNG3PM.js} +476 -1
  23. package/dist/{chunk-3CJVRCFN.js → chunk-Q526TUOC.js} +1 -1
  24. package/dist/{chunk-5N7OLQBQ.js → chunk-U6VWCHYM.js} +10 -10
  25. package/dist/{chunk-BA6WBJIB.js → chunk-UKOXHS4T.js} +2 -2
  26. package/dist/{chunk-7CIXQOB6.js → chunk-URLZGUSW.js} +5 -5
  27. package/dist/{chunk-WDZDVYWB.js → chunk-V3R4HTLC.js} +2 -2
  28. package/dist/{chunk-ZPPF65KT.js → chunk-VAWYR6P4.js} +2 -2
  29. package/dist/{chunk-ZCLVWKVA.js → chunk-VNXGRNDK.js} +2 -2
  30. package/dist/{chunk-I5T7RD3R.js → chunk-VPFEBZOB.js} +1 -1
  31. package/dist/{chunk-SUQVJ2Y7.js → chunk-XO5ND2HT.js} +84 -44
  32. package/dist/{chunk-62DQJ7V7.js → chunk-XSUFTJCE.js} +1 -1
  33. package/dist/{chunk-RFGO4NL3.js → chunk-ZE7AHJWF.js} +4 -4
  34. package/dist/{chunk-CST6ZGPS.js → chunk-ZMEBM2GZ.js} +6 -6
  35. package/dist/executions.js +13 -13
  36. package/dist/history.js +5 -5
  37. package/dist/index.d.ts +3240 -4
  38. package/dist/index.js +41 -41
  39. package/dist/{node-detail-view-54IIQK6V.js → node-detail-view-EQVKHAIS.js} +8 -8
  40. package/dist/nodes.js +2 -2
  41. package/dist/observability.js +6 -6
  42. package/dist/{quick-config-panel-6QFTEM75.js → quick-config-panel-N354ZISU.js} +6 -6
  43. package/dist/settings.js +7 -7
  44. package/dist/templates.js +10 -10
  45. package/dist/workflow-builder.js +12 -12
  46. package/dist/workflows-list.js +8 -8
  47. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { RunFailureClustersDocument, DismissRunFailureClusterDocument, RunFailureTriageSettingsDocument, SetRunFailureTriageEnabledDocument, FgTriageFailedRunsDocument } from './chunk-ZPPF65KT.js';
1
+ import { RunFailureClustersDocument, DismissRunFailureClusterDocument, RunFailureTriageSettingsDocument, SetRunFailureTriageEnabledDocument, FgTriageFailedRunsDocument } from './chunk-VAWYR6P4.js';
2
2
  import { useTr } from './chunk-UULVIT25.js';
3
3
  import { getFluidGridsClient } from './chunk-PDODDDHY.js';
4
4
  import { throwIfResultError } from './chunk-JKLZ6YZ3.js';
@@ -5,23 +5,23 @@ import { Input } from './chunk-IEVSFCFS.js';
5
5
  import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter as DialogFooter$1 } from './chunk-YXMFRQYV.js';
6
6
  import { Badge as Badge$1 } from './chunk-TFCIZFDM.js';
7
7
  import { LogsPanel } from './chunk-IPJV2IOH.js';
8
- import { QuotaExhaustedDialog, WorkflowShareDialog, useWorkflowCodeExport, orderedExportFiles, fileBaseName, downloadWorkflowCodeExport, isLosslessReport, sortFidelityItems, isLossyFidelityItem, lineOfNode } from './chunk-BA6WBJIB.js';
9
- import { emptyTestCaseDraft, EntityTagPicker, useWorkflowProposal, WorkflowProposalCard, useWorkflowTests, pinnedOutputsFromCanvas, enabledCaseIds, isTestRunOpen, MAX_TEST_CASES, draftFromTestCase, testRunSummaryText, testStatusLabel, TEST_STATUS_TONE_CLASS, testStatusTone, MAX_CASE_NAME, nextSortOrder, draftToInput } from './chunk-H7WYQSBK.js';
10
- import { buildNodeDisplayMap } from './chunk-SUXYCC3X.js';
8
+ import { QuotaExhaustedDialog, WorkflowShareDialog, useWorkflowCodeExport, orderedExportFiles, fileBaseName, downloadWorkflowCodeExport, isLosslessReport, sortFidelityItems, isLossyFidelityItem, lineOfNode } from './chunk-UKOXHS4T.js';
9
+ import { emptyTestCaseDraft, EntityTagPicker, useWorkflowProposal, WorkflowProposalCard, useWorkflowTests, pinnedOutputsFromCanvas, enabledCaseIds, isTestRunOpen, MAX_TEST_CASES, draftFromTestCase, testRunSummaryText, testStatusLabel, TEST_STATUS_TONE_CLASS, testStatusTone, MAX_CASE_NAME, nextSortOrder, draftToInput } from './chunk-MYE6CMGK.js';
10
+ import { buildNodeDisplayMap } from './chunk-DFFQYK2X.js';
11
11
  import { AiCreditBalanceSlot } from './chunk-Y53CVZVV.js';
12
- import { countLifecycle, VersionLifecycleBar, VersionDiffDialog } from './chunk-I5T7RD3R.js';
13
- import { useRestoreWorkflowVersion, useWorkflowVersions, useActivateWorkflow, useDeleteWorkflow, useDeactivateWorkflow } from './chunk-6ZB7AYSA.js';
12
+ import { countLifecycle, VersionLifecycleBar, VersionDiffDialog } from './chunk-VPFEBZOB.js';
13
+ import { useRestoreWorkflowVersion, useWorkflowVersions, useActivateWorkflow, useDeleteWorkflow, useDeactivateWorkflow } from './chunk-JFUQH6HV.js';
14
14
  import { PublishCustomNodeAction } from './chunk-XRGAH6IQ.js';
15
15
  import { Button } from './chunk-QJAZXCFQ.js';
16
16
  import { useRequestedProposal } from './chunk-GLYINMOR.js';
17
17
  import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
18
- import { leaseCallQueue, RUNS_QUOTA_NAME, BILLING_PLANS_PATH, emitUpgradeClicked, FluidGridsContext, emitWorkflowCreated, emitTemplateUsed, ensureNodeConfigsLoaded, NODE_CONFIGS, useEditLeaseStore, useEditLeaseLocked, registerWorkflowNodeTypes, emitNodeInstalled, useNodeExecution, usePaletteGates, onNodeTypesUpdate, NODE_TYPES, getNodeMetadata, refetchStoreNodes, AVAILABLE_NODES, EDIT_SESSION_ID, useInsertNode, useSaveStatusStore, useManualSave, useDurableFunctionNodesEnabled, bannerOf, editStateFor, useSaveWorkflow, filterPaletteNodes, useFluidGridsAnalytics, useGuardedNavigate, sessionBeforeReload, forgetSessionForReload, releasesOnClose, touchesSavedFields, isLocked, watchLeavingLosesChanges, workflowFingerprint, savedEverythingBeforeLeaving, buildStickyNode, NODES_METADATA, shouldReleaseForIdle, tickAction, rememberSessionForReload, leavingLosesChanges, buildOperationSeed, useDurableParityEnabled, useConnections, ConnectionFormDialog, useWorkflowTestsEnabled, useFluidGridsFlag, FLUIDGRIDS_FLAGS, useFlowValidator, saveIndicatorOf, departingSave, inAppLeaveTarget, isNodeConfigsInitialized, phaseAfterAcquire, rememberOwnStatusChange, useRunGuard, getNodeDetail, NODES, NodePropertyPanel, loadDefinitionJson, canAutosave, isNodeTypeHiddenFromPalette, ConnectionSelector, AUTOSAVE_RETRY_DELAYS_MS, AUTOSAVE_DEBOUNCE_MS, editingLeaseLocked, autosaveAllowedFor, isFlowComplete, rememberRevision, phaseAfterTakeOver } from './chunk-62DQJ7V7.js';
18
+ import { leaseCallQueue, RUNS_QUOTA_NAME, BILLING_PLANS_PATH, emitUpgradeClicked, FluidGridsContext, emitWorkflowCreated, emitTemplateUsed, ensureNodeConfigsLoaded, NODE_CONFIGS, useEditLeaseStore, useEditLeaseLocked, registerWorkflowNodeTypes, emitNodeInstalled, useNodeExecution, usePaletteGates, onNodeTypesUpdate, NODE_TYPES, getNodeMetadata, refetchStoreNodes, AVAILABLE_NODES, EDIT_SESSION_ID, useInsertNode, useSaveStatusStore, useManualSave, useDurableFunctionNodesEnabled, bannerOf, editStateFor, useSaveWorkflow, filterPaletteNodes, useFluidGridsAnalytics, useGuardedNavigate, sessionBeforeReload, forgetSessionForReload, releasesOnClose, touchesSavedFields, isLocked, watchLeavingLosesChanges, workflowFingerprint, savedEverythingBeforeLeaving, buildStickyNode, NODES_METADATA, shouldReleaseForIdle, tickAction, rememberSessionForReload, leavingLosesChanges, buildOperationSeed, useDurableParityEnabled, useConnections, ConnectionFormDialog, useWorkflowTestsEnabled, useFluidGridsFlag, FLUIDGRIDS_FLAGS, useFlowValidator, saveIndicatorOf, departingSave, inAppLeaveTarget, isNodeConfigsInitialized, phaseAfterAcquire, rememberOwnStatusChange, useRunGuard, getNodeDetail, NODES, NodePropertyPanel, loadDefinitionJson, canAutosave, isNodeTypeHiddenFromPalette, ConnectionSelector, AUTOSAVE_RETRY_DELAYS_MS, AUTOSAVE_DEBOUNCE_MS, editingLeaseLocked, autosaveAllowedFor, isFlowComplete, rememberRevision, phaseAfterTakeOver } from './chunk-XSUFTJCE.js';
19
19
  import { SdkPermissionButton, FLUIDGRIDS_PERMISSIONS, useFluidGridsPermission, SdkPermissionGate } from './chunk-ERT444RG.js';
20
20
  import { BuilderReadOnlyProvider, useBuilderReadOnly } from './chunk-SDZEAIIE.js';
21
21
  import { useFlowStore, useIsValidConnection, NODE_TYPE_DRAG_DATA_FORMAT, NODE_OPERATION_DRAG_DATA_FORMAT, CODE_WORKFLOW_NODE_TYPE, STICKY_NOTE_TYPE, NodeTypeIcon, isImageIcon, synchronizeOperationUpdate, isTriggerOperation, canRenderOperationPanel, resolveOperationName } from './chunk-X3F5IQBP.js';
22
22
  import { getGlobalStoreClient } from './chunk-TYI2XOSI.js';
23
23
  import { GetMyNodeInstallationsDocument, BrowseWorkflowTemplatesDocument, InstallWorkflowNodeDocument, SubmitWorkflowTemplateDocument, MyWorkflowTemplateSubmissionsDocument, WithdrawWorkflowTemplateSubmissionDocument, InstallPurchasedNodeDocument, BrowseWorkflowNodesDocument, UninstallWorkflowNodeDocument, CreateStoreOrderDocument, GetNodeInstallableVersionsDocument, OrganizationPrivateNodesDocument, InstallOrganizationPrivateNodeDocument, UninstallOrganizationPrivateNodeDocument } from './chunk-G77IGC3Y.js';
24
- import { WorkspaceRunsQuotaDocument, WorkflowGenerationTemplatesDocument, ReleaseWorkflowEditLeaseDocument, NodeSchemaIntrospectionDocument, AcquireWorkflowEditLeaseDocument, WorkflowEnvironmentsDocument, WorkflowPromotionRequestsDocument, DeployWorkflowVersionToDevDocument, RequestWorkflowPromotionDocument, ApproveWorkflowPromotionDocument, RejectWorkflowPromotionDocument, CancelWorkflowPromotionDocument, UpdateWorkflowEnvironmentPolicyDocument, WorkflowGitRepositoryDocument, WorkflowGitPushesDocument, WorkflowGitCommitsDocument, LinkWorkflowGitRepositoryDocument, UnlinkWorkflowGitRepositoryDocument, PushWorkflowToGitDocument, WorkflowGitDiffDocument, RestoreWorkflowFromGitDocument, WorkflowAuthoringDocument, WorkflowEditLeaseDocument, WorkflowVersioningDocument, WorkflowVersionDrainageDocument, ActivateWorkflowVersionCheckedDocument, WorkflowDefinitionDocument, NodeUsageStatusDocument, RemoveNodeFromWorkflowsDocument, SetWorkflowRolloutDocument, DeleteWorkflowRolloutDocument, TakeOverWorkflowEditLeaseDocument } from './chunk-ZPPF65KT.js';
24
+ import { WorkspaceRunsQuotaDocument, WorkflowGenerationTemplatesDocument, ReleaseWorkflowEditLeaseDocument, NodeSchemaIntrospectionDocument, AcquireWorkflowEditLeaseDocument, WorkflowEnvironmentsDocument, WorkflowPromotionRequestsDocument, DeployWorkflowVersionToDevDocument, RequestWorkflowPromotionDocument, ApproveWorkflowPromotionDocument, RejectWorkflowPromotionDocument, CancelWorkflowPromotionDocument, UpdateWorkflowEnvironmentPolicyDocument, WorkflowGitRepositoryDocument, WorkflowGitPushesDocument, WorkflowGitCommitsDocument, LinkWorkflowGitRepositoryDocument, UnlinkWorkflowGitRepositoryDocument, PushWorkflowToGitDocument, WorkflowGitDiffDocument, RestoreWorkflowFromGitDocument, WorkflowAuthoringDocument, WorkflowEditLeaseDocument, WorkflowVersioningDocument, WorkflowVersionDrainageDocument, ActivateWorkflowVersionCheckedDocument, WorkflowDefinitionDocument, NodeUsageStatusDocument, RemoveNodeFromWorkflowsDocument, SetWorkflowRolloutDocument, DeleteWorkflowRolloutDocument, TakeOverWorkflowEditLeaseDocument } from './chunk-VAWYR6P4.js';
25
25
  import { cn } from './chunk-JL7CASN5.js';
26
26
  import { useTr } from './chunk-UULVIT25.js';
27
27
  import { waitForFluidGridsClient, getFluidGridsClient } from './chunk-PDODDDHY.js';
@@ -21244,12 +21244,12 @@ function EditLeaseBanner() {
21244
21244
  );
21245
21245
  }
21246
21246
  var LazyNodeDetailView = lazy(
21247
- () => import('./node-detail-view-54IIQK6V.js').then((m) => ({
21247
+ () => import('./node-detail-view-EQVKHAIS.js').then((m) => ({
21248
21248
  default: m.NodeDetailView
21249
21249
  }))
21250
21250
  );
21251
21251
  var LazyQuickConfigPanel = lazy(
21252
- () => import('./quick-config-panel-6QFTEM75.js').then((m) => ({
21252
+ () => import('./quick-config-panel-N354ZISU.js').then((m) => ({
21253
21253
  default: m.QuickConfigPanel
21254
21254
  }))
21255
21255
  );
@@ -21311,7 +21311,7 @@ var FlowBuilder = ({ readOnly = false }) => {
21311
21311
  );
21312
21312
  useEffect(() => {
21313
21313
  let cancelled = false;
21314
- void import('./agentTools-4YHOYCIG.js').then(({ createBuilderAgentTools }) => {
21314
+ void import('./agentTools-GRPT3OXR.js').then(({ createBuilderAgentTools }) => {
21315
21315
  if (cancelled) return;
21316
21316
  setAgentTools(
21317
21317
  createBuilderAgentTools({
@@ -1,5 +1,5 @@
1
- import { useFluidGridsAnalytics, emitWorkflowLimitHit, emitUpgradeClicked, WORKFLOWS_QUOTA_NAME } from './chunk-62DQJ7V7.js';
2
- import { ExportWorkflowCodeDocument, ShareWorkflowDocument, WorkflowSharingDocument } from './chunk-ZPPF65KT.js';
1
+ import { useFluidGridsAnalytics, emitWorkflowLimitHit, emitUpgradeClicked, WORKFLOWS_QUOTA_NAME } from './chunk-XSUFTJCE.js';
2
+ import { ExportWorkflowCodeDocument, ShareWorkflowDocument, WorkflowSharingDocument } from './chunk-VAWYR6P4.js';
3
3
  import { useTr } from './chunk-UULVIT25.js';
4
4
  import { getFluidGridsClient } from './chunk-PDODDDHY.js';
5
5
  import { describeOperationError, throwIfResultError } from './chunk-JKLZ6YZ3.js';
@@ -1,11 +1,11 @@
1
- import { isGuidedTourIntent, pickGuidedTour, withoutGuidedTourIntent, isCreateIntent, CreateWorkflowRefusalDialog, decideMissingWorkflow } from './chunk-X4HCPG2E.js';
1
+ import { isGuidedTourIntent, pickGuidedTour, withoutGuidedTourIntent, isCreateIntent, CreateWorkflowRefusalDialog, decideMissingWorkflow } from './chunk-IU52TFZA.js';
2
2
  import { registerLiveCanvasHandler } from './chunk-PIKYQE7P.js';
3
- import { useWorkflowReloadStore, releaseLeaseKeptForReload, useInstalledNodes, buildNodeCheck, FlowBuilderPage, buildRequiredNodeTypes } from './chunk-5N7OLQBQ.js';
3
+ import { useWorkflowReloadStore, releaseLeaseKeptForReload, useInstalledNodes, buildNodeCheck, FlowBuilderPage, buildRequiredNodeTypes } from './chunk-U6VWCHYM.js';
4
4
  import { canvasFromDefinition } from './chunk-2CXUTQUH.js';
5
- import { useLazyWorkflowDefinition, useCreateWorkflow } from './chunk-6ZB7AYSA.js';
6
- import { refetchStoreNodes, BILLING_PLANS_PATH, codeBuildIdOf, rememberRevision, blankWorkflowCreateInput, classifyCreateRefusal, useSaveStatusStore, workflowFingerprint, registerWorkflowNodeTypes } from './chunk-62DQJ7V7.js';
5
+ import { useLazyWorkflowDefinition, useCreateWorkflow } from './chunk-JFUQH6HV.js';
6
+ import { refetchStoreNodes, BILLING_PLANS_PATH, codeBuildIdOf, rememberRevision, blankWorkflowCreateInput, classifyCreateRefusal, useSaveStatusStore, workflowFingerprint, registerWorkflowNodeTypes } from './chunk-XSUFTJCE.js';
7
7
  import { useFlowStore, mergeStickyNotes } from './chunk-X3F5IQBP.js';
8
- import { WorkflowDefinitionDocument } from './chunk-ZPPF65KT.js';
8
+ import { WorkflowDefinitionDocument } from './chunk-VAWYR6P4.js';
9
9
  import { useTr } from './chunk-UULVIT25.js';
10
10
  import { getFluidGridsClient } from './chunk-PDODDDHY.js';
11
11
  import { throwIfResultError } from './chunk-JKLZ6YZ3.js';
@@ -1,7 +1,7 @@
1
- import { structuredParameterType, parseParameterValue, liveInternalOperations, resolveNodeOperation, readDisplayOptions, getNodeDetail, useNodeRegistryRevision, fieldsFromIO, pathToExpression, NODE_CONFIGS, resolveUiSpec, fieldsFromValue, declaredOutputFields, subscribeWorkflowSaved } from './chunk-62DQJ7V7.js';
1
+ import { structuredParameterType, parseParameterValue, liveInternalOperations, resolveNodeOperation, readDisplayOptions, getNodeDetail, useNodeRegistryRevision, fieldsFromIO, pathToExpression, NODE_CONFIGS, resolveUiSpec, fieldsFromValue, declaredOutputFields, subscribeWorkflowSaved } from './chunk-XSUFTJCE.js';
2
2
  import { useBuilderReadOnly } from './chunk-SDZEAIIE.js';
3
3
  import { useFlowStore } from './chunk-X3F5IQBP.js';
4
- import { EventRegistrationsDocument } from './chunk-ZPPF65KT.js';
4
+ import { EventRegistrationsDocument } from './chunk-VAWYR6P4.js';
5
5
  import { useTr } from './chunk-UULVIT25.js';
6
6
  import { getFluidGridsClientSafe } from './chunk-PDODDDHY.js';
7
7
  import { useMemo, useState, useEffect, useRef, useCallback } from 'react';
@@ -150,7 +150,7 @@ var TriggerWorkflowDocument = { "kind": "Document", "definitions": [{ "kind": "O
150
150
  var UnlinkWorkflowGitRepositoryDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UnlinkWorkflowGitRepository" }, "variableDefinitions": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "unlinkWorkflowGitRepository" }, "arguments": [], "directives": [] }] } }], "loc": { "start": 0, "end": 80 } };
151
151
  var UnpinNodeDataDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UnpinNodeData" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "nodeId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "unpinNodeData" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "nodeId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "nodeId" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "pinnedNodeData" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 138 } };
152
152
  var UpdateDurableHistoryCapsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateDurableHistoryCaps" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "maxHistoryEvents" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "maxHistoryBytes" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Float" } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateWorkflowExecutionSettings" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "ObjectValue", "fields": [{ "kind": "ObjectField", "name": { "kind": "Name", "value": "maxHistoryEvents" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "maxHistoryEvents" } } }, { "kind": "ObjectField", "name": { "kind": "Name", "value": "maxHistoryBytes" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "maxHistoryBytes" } } }] } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "maxHistoryEvents" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "maxHistoryBytes" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 266 } };
153
- var UpdateManagedAiWorkspacePolicyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateManagedAiWorkspacePolicy" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateWorkflowWorkspaceAiPolicyInput" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateWorkflowWorkspaceAiPolicy" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "enforcementActive" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "customized" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "requiredConsentVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 258 } };
153
+ var UpdateManagedAiWorkspacePolicyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateManagedAiWorkspacePolicy" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateWorkflowWorkspaceAiPolicyInput" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateWorkflowWorkspaceAiPolicy" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "enforcementActive" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "enrollmentAvailable" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "customized" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "requiredConsentVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 282 } };
154
154
  var UpdateWorkflowDefinitionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateWorkflowDefinition" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateWorkflowDefinitionInput" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateWorkflowDefinition" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowKey" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "version" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "name" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "description" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "definitionJson" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 281 } };
155
155
  var UpdateWorkflowEnvironmentPolicyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateWorkflowEnvironmentPolicy" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateWorkflowEnvironmentPolicyInput" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateWorkflowEnvironmentPolicy" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "requireStagingApproval" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "requireProdApproval" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "allowSelfApproval" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "lockDirectActivation" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "customized" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 283 } };
156
156
  var CreateWorkflowTestCaseDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateWorkflowTestCase" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "workflowKey" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WorkflowTestCaseInput" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createWorkflowTestCase" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "workflowKey" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "workflowKey" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WorkflowTestCaseFields" }, "directives": [] }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WorkflowTestCaseFields" }, "variableDefinitions": [], "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WorkflowTestCase" } }, "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowKey" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "name" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "description" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerNodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerData" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "pinnedOutputs" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "connectionMocks" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "operation" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "response" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "error" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorType" }, "arguments": [], "directives": [] }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "expectedStatus" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "expectations" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "rules" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "path" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "expected" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "min" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "max" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "message" }, "arguments": [], "directives": [] }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "sortOrder" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "createdBy" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedBy" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "lastResult" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WorkflowTestCaseResultFields" }, "directives": [] }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WorkflowTestCaseResultFields" }, "variableDefinitions": [], "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WorkflowTestCaseResult" } }, "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "caseId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "caseName" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runStatus" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "failures" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "code" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "message" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" }, "arguments": [], "directives": [] }] } }], "loc": { "start": 0, "end": 901 } };
@@ -164,7 +164,7 @@ var DurableHistoryCapsDocument = { "kind": "Document", "definitions": [{ "kind":
164
164
  var EventRegistrationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EventRegistrations" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "workflowKey" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "EventStatus" } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "eventRegistrations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "workflowKey" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "workflowKey" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "status" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerNodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "eventSource" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "eventType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "webhookToken" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "webhookUrl" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "formUrl" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 276 } };
165
165
  var ExplainRunDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ExplainRun" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "runId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "explainRun" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "runId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "runId" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "runId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowKey" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "version" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "failed" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "failingNodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "failingNodeType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "failingNodeLabel" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "cause" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "evidence" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "suggestions" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 264 } };
166
166
  var ExportWorkflowCodeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ExportWorkflowCode" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "workflowKey" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "version" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "format" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WorkflowExportFormat" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "exportWorkflow" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "workflowKey" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "workflowKey" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "version" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "version" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "format" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "format" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "workflowKey" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "version" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "exportFormat" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "irHash" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "files" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "path" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "contentType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "content" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "fidelity" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "level" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "items" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "path" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "kind" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "detail" }, "arguments": [], "directives": [] }] } }] } }] } }] } }], "loc": { "start": 0, "end": 425 } };
167
- var ManagedAiWorkspacePolicyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ManagedAiWorkspacePolicy" }, "variableDefinitions": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "workflowWorkspaceAiPolicy" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "enforcementActive" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "customized" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "requiredConsentVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 181 } };
167
+ var ManagedAiWorkspacePolicyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ManagedAiWorkspacePolicy" }, "variableDefinitions": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "workflowWorkspaceAiPolicy" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "enforcementActive" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "enrollmentAvailable" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "customized" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "requiredConsentVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 205 } };
168
168
  var NodeEndpointConfigDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "NodeEndpointConfig" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "nodeType" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "nodeVersion" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodeEndpointConfig" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "nodeType" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "nodeType" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "nodeVersion" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "nodeVersion" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "name" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "description" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "icon" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "category" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "kind" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "operations" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "endpointUrl" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "publishType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "isLatest" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "keywords" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "author" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "favicon" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "logo" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "healthCheckUrl" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 421 } };
169
169
  var NodeEndpointConfigsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "NodeEndpointConfigs" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "pagination" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WorkflowPaginationInput" } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "NodeConfigStatus" } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "publishType" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PublishType" } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodeEndpointConfigs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "pagination" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "pagination" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "status" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "publishType" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "publishType" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "configs" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "name" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "description" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "icon" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "category" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "kind" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "operations" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "endpointUrl" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "publishType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "isLatest" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "keywords" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "author" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "favicon" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "logo" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "healthCheckUrl" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pagination" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "total" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "limit" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "offset" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "hasMore" }, "arguments": [], "directives": [] }] } }] } }] } }], "loc": { "start": 0, "end": 643 } };
170
170
  var NodeManifestDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "NodeManifest" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "nodeType" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "version" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodeManifest" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "nodeType" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "nodeType" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "version" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "version" } } }], "directives": [] }] } }], "loc": { "start": 0, "end": 126 } };
@@ -1,6 +1,6 @@
1
- import { versionsOfWorkflow, VersionDiffDialog } from './chunk-I5T7RD3R.js';
1
+ import { versionsOfWorkflow, VersionDiffDialog } from './chunk-VPFEBZOB.js';
2
2
  import { historyControls } from './chunk-FNZZ5JJL.js';
3
- import { useWorkflowDefinitions, useRestoreWorkflowVersion } from './chunk-6ZB7AYSA.js';
3
+ import { useWorkflowDefinitions, useRestoreWorkflowVersion } from './chunk-JFUQH6HV.js';
4
4
  import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
5
5
  import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
6
6
  import { useTr } from './chunk-UULVIT25.js';
@@ -1,5 +1,5 @@
1
1
  import { canvasFromDefinition } from './chunk-2CXUTQUH.js';
2
- import { WorkflowDefinitionDocument, WorkflowVersionDiffDocument } from './chunk-ZPPF65KT.js';
2
+ import { WorkflowDefinitionDocument, WorkflowVersionDiffDocument } from './chunk-VAWYR6P4.js';
3
3
  import { useTr } from './chunk-UULVIT25.js';
4
4
  import { getFluidGridsClient } from './chunk-PDODDDHY.js';
5
5
  import { describeOperationError, throwIfResultError } from './chunk-JKLZ6YZ3.js';
@@ -1,13 +1,13 @@
1
- import { AgentsTab } from './chunk-S4A646OO.js';
1
+ import { AgentsTab } from './chunk-M2ELYF52.js';
2
2
  import { ActionPoliciesTab, checkCodecServerUrl } from './chunk-OJHBCOBA.js';
3
- import { useResource, fetchPauseRules, FieldError, fetchSearchAttributes, StatusPill, NativeSelect, fetchArchiveSettings, fetchCodecServerSettings, deletePauseRule, createPauseRule, deleteSearchAttribute, createSearchAttribute, saveArchiveSettings, clearArchiveSettings, saveCodecServerSettings } from './chunk-Y6HULMZS.js';
4
- import { LogStreamingTab } from './chunk-62AXA6DK.js';
3
+ import { useResource, fetchPauseRules, FieldError, fetchSearchAttributes, StatusPill, NativeSelect, fetchArchiveSettings, fetchCodecServerSettings, deletePauseRule, createPauseRule, deleteSearchAttribute, createSearchAttribute, saveArchiveSettings, clearArchiveSettings, saveCodecServerSettings } from './chunk-5YLS3WH5.js';
4
+ import { LogStreamingTab } from './chunk-3CAYQ57D.js';
5
5
  import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
6
- import { useFluidGridsFlag, FLUIDGRIDS_FLAGS, usePhaseCFlags, useSaveStatusStore, findSaveConflict, useDurableParityEnabled, useConnections } from './chunk-62DQJ7V7.js';
6
+ import { useFluidGridsFlag, FLUIDGRIDS_FLAGS, usePhaseCFlags, useSaveStatusStore, findSaveConflict, useDurableParityEnabled, useConnections } from './chunk-XSUFTJCE.js';
7
7
  import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS } from './chunk-ERT444RG.js';
8
8
  import { useFlowStore } from './chunk-X3F5IQBP.js';
9
9
  import { getGlobalStoreClient } from './chunk-TYI2XOSI.js';
10
- import { useWorkflowDefinitionQuery, useUpdateWorkflowDefinitionMutation, useWorkflowDefinitionsQuery, ManagedAiWorkspacePolicyDocument, UpdateManagedAiWorkspacePolicyDocument, DurableHistoryCapsDocument, UpdateDurableHistoryCapsDocument } from './chunk-ZPPF65KT.js';
10
+ import { useWorkflowDefinitionQuery, useUpdateWorkflowDefinitionMutation, useWorkflowDefinitionsQuery, ManagedAiWorkspacePolicyDocument, UpdateManagedAiWorkspacePolicyDocument, DurableHistoryCapsDocument, UpdateDurableHistoryCapsDocument } from './chunk-VAWYR6P4.js';
11
11
  import { useTr } from './chunk-UULVIT25.js';
12
12
  import { getFluidGridsClient } from './chunk-PDODDDHY.js';
13
13
  import { throwIfResultError, describeOperationError } from './chunk-JKLZ6YZ3.js';
@@ -142,11 +142,12 @@ var EMPTY = {
142
142
  workspaceWideRequired: false
143
143
  };
144
144
  function policyView(value) {
145
- if (!value || typeof value.enforcementActive !== "boolean" || typeof value.enabled !== "boolean" || !Number.isSafeInteger(value.revision) || value.revision < 0 || typeof value.requiredConsentVersion !== "string" || !value.requiredConsentVersion || value.requiredConsentVersion.length > 128) {
145
+ if (!value || typeof value.enforcementActive !== "boolean" || typeof value.enrollmentAvailable !== "boolean" || typeof value.enabled !== "boolean" || !Number.isSafeInteger(value.revision) || value.revision < 0 || value.enforcementActive && value.revision < 1 || typeof value.requiredConsentVersion !== "string" || !value.requiredConsentVersion || value.requiredConsentVersion.length > 128) {
146
146
  throw new Error("Managed AI policy could not be confirmed.");
147
147
  }
148
148
  return {
149
149
  enforcementActive: value.enforcementActive,
150
+ enrollmentAvailable: value.enrollmentAvailable,
150
151
  enabled: value.enabled,
151
152
  revision: value.revision,
152
153
  requiredConsentVersion: value.requiredConsentVersion
@@ -225,7 +226,7 @@ function useManagedAiWorkspacePolicy(authority, enabled, requestFactory = create
225
226
  }, [reload]);
226
227
  const save = useCallback(
227
228
  async (change) => {
228
- if (writing.current !== null || !authority || !request || !enabled || current.current !== authority || state.authority !== authority || !state.policy?.enforcementActive || state.loading || state.error || change.enabled && change.consentVersion !== state.policy.requiredConsentVersion || change.expectedRevision !== state.policy.revision) {
229
+ if (writing.current !== null || !authority || !request || !enabled || current.current !== authority || state.authority !== authority || !state.policy?.enforcementActive && state.policy?.enrollmentAvailable !== true || state.loading || state.error || change.enabled && change.consentVersion !== state.policy.requiredConsentVersion || change.expectedRevision !== state.policy.revision) {
229
230
  throw new Error(
230
231
  "Reload the current managed AI setting before continuing."
231
232
  );
@@ -288,7 +289,8 @@ function ManagedAiPolicyCard(props) {
288
289
  props.policy?.revision,
289
290
  props.policy?.requiredConsentVersion,
290
291
  props.policy?.enabled,
291
- props.policy?.enforcementActive
292
+ props.policy?.enforcementActive,
293
+ props.policy?.enrollmentAvailable
292
294
  ]);
293
295
  return /* @__PURE__ */ jsx(ManagedAiPolicyForm, { ...props }, versionKey);
294
296
  }
@@ -305,8 +307,9 @@ function ManagedAiPolicyForm({
305
307
  const [acknowledged, setAcknowledged] = useState(false);
306
308
  const [saving, setSaving] = useState(false);
307
309
  const [saveFailed, setSaveFailed] = useState(false);
310
+ const activelyEnabled = policy?.enforcementActive === true && policy.enabled;
308
311
  const change = async (enabled) => {
309
- if (!policy?.enforcementActive || !canManage || saving || saveFailed)
312
+ if (!policy || !policy.enforcementActive && policy.enrollmentAvailable !== true || !canManage || saving || saveFailed)
310
313
  return;
311
314
  if (enabled && !acknowledged) return;
312
315
  setSaving(true);
@@ -352,40 +355,19 @@ function ManagedAiPolicyForm({
352
355
  loading,
353
356
  error,
354
357
  workspaceWideRequired,
355
- children: policy && /* @__PURE__ */ jsx(Fragment, { children: canManage ? /* @__PURE__ */ jsxs(Fragment, { children: [
356
- !policy.enabled && /* @__PURE__ */ jsxs("label", { className: "flex items-start gap-3 text-sm text-text-secondary", children: [
357
- /* @__PURE__ */ jsx(
358
- "input",
359
- {
360
- type: "checkbox",
361
- checked: acknowledged,
362
- onChange: (event) => setAcknowledged(event.target.checked),
363
- disabled: saving || saveFailed
364
- }
365
- ),
366
- tr(
367
- "fluidgrids.settings.managedAi.acknowledge",
368
- "I reviewed the current AI disclosure and approve managed AI requests for this workspace."
369
- )
370
- ] }),
371
- /* @__PURE__ */ jsx(
372
- Button,
373
- {
374
- onClick: () => void change(!policy.enabled),
375
- disabled: saving || saveFailed || !policy.enabled && !acknowledged,
376
- children: saving ? tr("fluidgrids.settings.managedAi.saving", "Saving\u2026") : policy.enabled ? tr(
377
- "fluidgrids.settings.managedAi.disable",
378
- "Turn off managed AI"
379
- ) : tr(
380
- "fluidgrids.settings.managedAi.enable",
381
- "Enable managed AI"
382
- )
383
- }
384
- )
385
- ] }) : /* @__PURE__ */ jsx("p", { className: "text-sm text-text-secondary", children: tr(
386
- "fluidgrids.settings.managedAi.ownerOnly",
387
- "A workspace administrator manages this setting."
388
- ) }) })
358
+ children: policy && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
359
+ ManagedAiPolicyControls,
360
+ {
361
+ policy,
362
+ canManage,
363
+ activelyEnabled,
364
+ acknowledged,
365
+ setAcknowledged,
366
+ saving,
367
+ saveFailed,
368
+ change
369
+ }
370
+ ) })
389
371
  }
390
372
  ),
391
373
  saveFailed && /* @__PURE__ */ jsx("p", { role: "alert", children: tr(
@@ -397,6 +379,55 @@ function ManagedAiPolicyForm({
397
379
  }
398
380
  );
399
381
  }
382
+ function ManagedAiPolicyControls({
383
+ policy,
384
+ canManage,
385
+ activelyEnabled,
386
+ acknowledged,
387
+ setAcknowledged,
388
+ saving,
389
+ saveFailed,
390
+ change
391
+ }) {
392
+ const tr = useTr();
393
+ return canManage ? /* @__PURE__ */ jsxs(Fragment, { children: [
394
+ !activelyEnabled && /* @__PURE__ */ jsxs("label", { className: "flex items-start gap-3 text-sm text-text-secondary", children: [
395
+ /* @__PURE__ */ jsx(
396
+ "input",
397
+ {
398
+ type: "checkbox",
399
+ checked: acknowledged,
400
+ onChange: (event) => setAcknowledged(event.target.checked),
401
+ disabled: saving || saveFailed
402
+ }
403
+ ),
404
+ tr(
405
+ "fluidgrids.settings.managedAi.acknowledge",
406
+ "I reviewed the current AI disclosure and approve managed AI requests for this workspace."
407
+ )
408
+ ] }),
409
+ /* @__PURE__ */ jsx(
410
+ Button,
411
+ {
412
+ onClick: () => void change(!activelyEnabled),
413
+ disabled: saving || saveFailed || !activelyEnabled && !acknowledged,
414
+ children: saving ? tr("fluidgrids.settings.managedAi.saving", "Saving\u2026") : activelyEnabled ? tr("fluidgrids.settings.managedAi.disable", "Turn off managed AI") : tr("fluidgrids.settings.managedAi.enable", "Enable managed AI")
415
+ }
416
+ ),
417
+ !policy.enforcementActive && policy.enrollmentAvailable === true && /* @__PURE__ */ jsx(
418
+ Button,
419
+ {
420
+ variant: "outline",
421
+ onClick: () => void change(false),
422
+ disabled: saving || saveFailed,
423
+ children: tr("fluidgrids.settings.managedAi.disable", "Turn off managed AI")
424
+ }
425
+ )
426
+ ] }) : /* @__PURE__ */ jsx("p", { className: "text-sm text-text-secondary", children: tr(
427
+ "fluidgrids.settings.managedAi.ownerOnly",
428
+ "A workspace administrator manages this setting."
429
+ ) });
430
+ }
400
431
  function ManagedAiPolicyStatus({
401
432
  policy,
402
433
  loading,
@@ -418,11 +449,20 @@ function ManagedAiPolicyStatus({
418
449
  "fluidgrids.settings.managedAi.loadFailed",
419
450
  "Workspace AI settings could not be loaded. Reload before changing approval."
420
451
  ) });
421
- if (!policy.enforcementActive)
452
+ if (!policy.enforcementActive && policy.enrollmentAvailable !== true)
422
453
  return /* @__PURE__ */ jsx("p", { role: "status", children: tr(
423
454
  "fluidgrids.settings.managedAi.pending",
424
455
  "Workspace AI controls are not active yet. Existing managed AI behavior is unchanged, and no approval change can be saved."
425
456
  ) });
457
+ if (!policy.enforcementActive) {
458
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
459
+ /* @__PURE__ */ jsx("p", { role: "status", className: "text-sm text-text-secondary", children: tr(
460
+ "fluidgrids.settings.managedAi.enrollmentAvailable",
461
+ "Workspace AI controls are available. Existing managed AI behavior continues until an administrator saves a choice. You can turn off new managed requests without approving provider use."
462
+ ) }),
463
+ children
464
+ ] });
465
+ }
426
466
  return /* @__PURE__ */ jsxs(Fragment, { children: [
427
467
  /* @__PURE__ */ jsx("p", { className: "font-medium text-text-primary", role: "status", children: policy.enabled ? tr(
428
468
  "fluidgrids.settings.managedAi.enabled",
@@ -3,7 +3,7 @@ import { useBuilderReadOnly } from './chunk-SDZEAIIE.js';
3
3
  import { STICKY_NOTE_TYPE, useFlowStore, resolveOperationName, synchronizeOperationUpdate, isNodeTrigger, resolveOutputHandles, resolveInputHandles, outputHandlesSpacerHeight, WAIT_FOR_SIGNAL_NODE_TYPE, CODE_WORKFLOW_NODE_TYPE, readSignalName, LogicNodeCard, NodeCard, NodeCardHeader, NodeCardBody, InputHandles, OutputHandles, NodeTypeIcon, nodeAccent, readCodeWorkflowState, partitionStickyNotes, interfaceFields, interfaceHandlers } from './chunk-X3F5IQBP.js';
4
4
  import { getGlobalStoreClient, createGlobalStoreClient, setGlobalStoreClient, resetGlobalStoreClient } from './chunk-TYI2XOSI.js';
5
5
  import { GetMyNodeInstallationsDocument } from './chunk-G77IGC3Y.js';
6
- import { fetchAllNodeEndpointConfigs, NodeManifestDocument, UpdateWorkflowDefinitionDocument, CreateWorkflowDefinitionDocument, CreateWorkflowVersionDocument, ExecuteStepDocument, TriggerWorkflowDocument, RunFromNodeDocument, ExecutionDetailDocument, WorkflowDefinitionDocument, WorkflowRunDocument } from './chunk-ZPPF65KT.js';
6
+ import { fetchAllNodeEndpointConfigs, NodeManifestDocument, UpdateWorkflowDefinitionDocument, CreateWorkflowDefinitionDocument, CreateWorkflowVersionDocument, ExecuteStepDocument, TriggerWorkflowDocument, RunFromNodeDocument, ExecutionDetailDocument, WorkflowDefinitionDocument, WorkflowRunDocument } from './chunk-VAWYR6P4.js';
7
7
  import { useTr, ENGLISH_FALLBACK_TRANSLATOR, FluidGridsTranslationProvider } from './chunk-UULVIT25.js';
8
8
  import { waitForFluidGridsClient, getFluidGridsClient, getFluidGridsClientSafe, createFluidGridsClient, setFluidGridsClient, resetFluidGridsClient } from './chunk-PDODDDHY.js';
9
9
  import { throwIfResultError, emitFluidGridsEvent, emitOperationErrorEvent, describeOperationError, emitRunCompletedOnce } from './chunk-JKLZ6YZ3.js';
@@ -1,10 +1,10 @@
1
- import { FailureTriagePanel } from './chunk-3CJVRCFN.js';
1
+ import { FailureTriagePanel } from './chunk-Q526TUOC.js';
2
2
  import { aiSpendPeriod, AI_SPEND_RANGE_DAYS, evidenceFacts, monthlySavingLabel, evidenceWindowDays, shortRunId, DISMISS_REASONS, MAX_DISMISS_NOTE_LENGTH, aiCost, formatTokens, runsOfWorkflowPath } from './chunk-NZAYYUQ4.js';
3
- import { useDataSinks, useDataSinkData, useInsightsData, useRunReplayActions } from './chunk-62AXA6DK.js';
3
+ import { useDataSinks, useDataSinkData, useInsightsData, useRunReplayActions } from './chunk-3CAYQ57D.js';
4
4
  import { proposalCanvasPath } from './chunk-GLYINMOR.js';
5
- import { useContinuousOptimisationEnabled } from './chunk-62DQJ7V7.js';
5
+ import { useContinuousOptimisationEnabled } from './chunk-XSUFTJCE.js';
6
6
  import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, SdkPermissionButton } from './chunk-ERT444RG.js';
7
- import { SetContinuousOptimisationEnabledDocument, FgRunOptimisationScanDocument, ProposeOptimisationDocument, WorkflowProposalDocument, DismissOptimisationSuggestionDocument, SnoozeOptimisationSuggestionDocument, WorkspaceAiUsageDocument, OptimisationSuggestionsDocument, ContinuousOptimisationSettingsDocument } from './chunk-ZPPF65KT.js';
7
+ import { SetContinuousOptimisationEnabledDocument, FgRunOptimisationScanDocument, ProposeOptimisationDocument, WorkflowProposalDocument, DismissOptimisationSuggestionDocument, SnoozeOptimisationSuggestionDocument, WorkspaceAiUsageDocument, OptimisationSuggestionsDocument, ContinuousOptimisationSettingsDocument } from './chunk-VAWYR6P4.js';
8
8
  import { useTr } from './chunk-UULVIT25.js';
9
9
  import { getFluidGridsClient } from './chunk-PDODDDHY.js';
10
10
  import { throwIfResultError } from './chunk-JKLZ6YZ3.js';
@@ -1,11 +1,11 @@
1
- import { useRunStatusCounts, ExecutionStats, ExecutionFilters, ExecutionTable, ExecutionCards, ExecutionTimeline, Pagination, runStatusLabels } from './chunk-VD4WCZJX.js';
2
- import { useExecutionsWithStore, useExecutionStats, useExecutionActions, useAutoRefresh, searchFilterConflicts, WORKFLOW_ID_MAX_LENGTH, EMPTY_SEARCH_FILTER, buildSearchAttributeFilter, MAX_SEARCH_CONDITIONS, OPERATORS_BY_TYPE } from './chunk-XOP5EU72.js';
3
- import { useResource, fetchSearchAttributes, NativeSelect, FieldError, RUN_CONTROL_DIALOG_STYLE, parseJsonInput, JsonField, fetchBatchOperations, StatusPill, fetchBatchOperation, cancelBatchOperation, startBatchTerminate, startBatchExport, startBatchOperation, jsonArg } from './chunk-Y6HULMZS.js';
4
- import { useWorkflowDefinitions } from './chunk-6ZB7AYSA.js';
1
+ import { useRunStatusCounts, ExecutionStats, ExecutionFilters, ExecutionTable, ExecutionCards, ExecutionTimeline, Pagination, runStatusLabels } from './chunk-EGCUHKON.js';
2
+ import { useExecutionsWithStore, useExecutionStats, useExecutionActions, useAutoRefresh, searchFilterConflicts, WORKFLOW_ID_MAX_LENGTH, EMPTY_SEARCH_FILTER, buildSearchAttributeFilter, MAX_SEARCH_CONDITIONS, OPERATORS_BY_TYPE } from './chunk-OJPRKEP4.js';
3
+ import { useResource, fetchSearchAttributes, NativeSelect, FieldError, RUN_CONTROL_DIALOG_STYLE, parseJsonInput, JsonField, fetchBatchOperations, StatusPill, fetchBatchOperation, cancelBatchOperation, startBatchTerminate, startBatchExport, startBatchOperation, jsonArg } from './chunk-5YLS3WH5.js';
4
+ import { useWorkflowDefinitions } from './chunk-JFUQH6HV.js';
5
5
  import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
6
- import { useDurableParityEnabled, usePhaseCFlags } from './chunk-62DQJ7V7.js';
6
+ import { useDurableParityEnabled, usePhaseCFlags } from './chunk-XSUFTJCE.js';
7
7
  import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS } from './chunk-ERT444RG.js';
8
- import { WorkflowBatchOperationUpdatedDocument } from './chunk-ZPPF65KT.js';
8
+ import { WorkflowBatchOperationUpdatedDocument } from './chunk-VAWYR6P4.js';
9
9
  import { useTr } from './chunk-UULVIT25.js';
10
10
  import { getFluidGridsClient } from './chunk-PDODDDHY.js';
11
11
  import { describeOperationError } from './chunk-JKLZ6YZ3.js';
@@ -1,32 +1,32 @@
1
1
  import './chunk-AD3BXTJS.js';
2
- export { ExecutionDetailPage } from './chunk-3APMDE3W.js';
3
- import './chunk-NUQA7J3T.js';
4
- export { ExecutionsListPage } from './chunk-CST6ZGPS.js';
5
- import './chunk-VD4WCZJX.js';
6
- import './chunk-XOP5EU72.js';
7
- import './chunk-3CJVRCFN.js';
2
+ export { ExecutionDetailPage } from './chunk-ODXI4P3V.js';
3
+ import './chunk-MUIVZFIU.js';
4
+ export { ExecutionsListPage } from './chunk-ZMEBM2GZ.js';
5
+ import './chunk-EGCUHKON.js';
6
+ import './chunk-OJPRKEP4.js';
7
+ import './chunk-Q526TUOC.js';
8
8
  import './chunk-NZAYYUQ4.js';
9
9
  import './chunk-OJHBCOBA.js';
10
- import './chunk-Y6HULMZS.js';
10
+ import './chunk-5YLS3WH5.js';
11
11
  import './chunk-WZ3EJVS6.js';
12
12
  import './chunk-5ERAJC2I.js';
13
- import './chunk-H7WYQSBK.js';
13
+ import './chunk-MYE6CMGK.js';
14
14
  import './chunk-JDLQ6QIB.js';
15
- import './chunk-SUXYCC3X.js';
15
+ import './chunk-DFFQYK2X.js';
16
16
  import './chunk-Y53CVZVV.js';
17
17
  import './chunk-FNZZ5JJL.js';
18
- import './chunk-6ZB7AYSA.js';
18
+ import './chunk-JFUQH6HV.js';
19
19
  import './chunk-PJAWNFJV.js';
20
20
  import './chunk-4VJ3MDOV.js';
21
- import './chunk-W5UXYPBV.js';
22
- import './chunk-62DQJ7V7.js';
21
+ import './chunk-POCNG3PM.js';
22
+ import './chunk-XSUFTJCE.js';
23
23
  import './chunk-ERT444RG.js';
24
24
  import './chunk-SDZEAIIE.js';
25
25
  import './chunk-X3F5IQBP.js';
26
26
  import './chunk-Y7FKJJMF.js';
27
27
  import './chunk-TYI2XOSI.js';
28
28
  import './chunk-G77IGC3Y.js';
29
- import './chunk-ZPPF65KT.js';
29
+ import './chunk-VAWYR6P4.js';
30
30
  import './chunk-JL7CASN5.js';
31
31
  import './chunk-UULVIT25.js';
32
32
  import './chunk-PDODDDHY.js';