@burdenoff/fluidgrids-fe-sdk 2026.1031.1 → 2026.1031.2

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 (35) hide show
  1. package/dist/{ExecutionDetailPage-3OBQI7US.js → ExecutionDetailPage-WOOORXXU.js} +8 -8
  2. package/dist/{ExecutionsListPage-IWCFZN3M.js → ExecutionsListPage-AYDGFU6W.js} +5 -5
  3. package/dist/{WorkflowBuilder-QUFOAGGI.js → WorkflowBuilder-LJ7OX2WF.js} +8 -8
  4. package/dist/{WorkflowsList-FUPJBOZF.js → WorkflowsList-BZXBTGNL.js} +6 -6
  5. package/dist/{chunk-WYRMFOAE.js → chunk-475XP5J7.js} +5 -5
  6. package/dist/{chunk-BYTREFEU.js → chunk-5R2JKC3S.js} +3 -3
  7. package/dist/{chunk-G5UND5NE.js → chunk-6PGLJWIC.js} +118 -9
  8. package/dist/{chunk-KWI3VUDC.js → chunk-ADTEMSJI.js} +1 -1
  9. package/dist/{chunk-MKHVPALQ.js → chunk-BHD4CDLL.js} +1 -1
  10. package/dist/{chunk-WXZYFZAQ.js → chunk-CIR7WF4W.js} +1 -1
  11. package/dist/{chunk-GORW52XL.js → chunk-DHR2YURL.js} +7 -7
  12. package/dist/{chunk-EPPDUVRT.js → chunk-IGROOI7E.js} +1 -1
  13. package/dist/{chunk-HQZR7PRN.js → chunk-JFQGODKK.js} +1 -1
  14. package/dist/{chunk-V5YQDSOR.js → chunk-M6GUEJBJ.js} +26 -30
  15. package/dist/{chunk-RCC6MWJ7.js → chunk-P2VAHDGO.js} +1 -1
  16. package/dist/{chunk-ASNNQIBJ.js → chunk-P3TGCUXP.js} +2 -2
  17. package/dist/{chunk-37GZQV4P.js → chunk-PKG6BCHB.js} +1 -1
  18. package/dist/{chunk-6PLOOE6D.js → chunk-PTROESUB.js} +4 -4
  19. package/dist/{chunk-YHYBZCC5.js → chunk-Q3HKE627.js} +3 -3
  20. package/dist/{chunk-56VJFVOR.js → chunk-QKQOTEAB.js} +1 -1
  21. package/dist/{chunk-XZPZE4S7.js → chunk-VJWJGSRS.js} +1 -1
  22. package/dist/{chunk-DNXI4MRX.js → chunk-VM73YKAA.js} +4 -4
  23. package/dist/{chunk-TKMGUAQZ.js → chunk-WHPQRYZD.js} +4 -4
  24. package/dist/{chunk-ZWXX6NA3.js → chunk-XX6D7IND.js} +1 -1
  25. package/dist/{chunk-35XBZMUY.js → chunk-YU7H4QO2.js} +4 -4
  26. package/dist/executions.js +9 -9
  27. package/dist/history.js +3 -3
  28. package/dist/index.d.ts +96 -4
  29. package/dist/index.js +32 -32
  30. package/dist/observability.js +4 -4
  31. package/dist/settings.js +5 -5
  32. package/dist/templates.js +7 -7
  33. package/dist/workflow-builder.js +9 -9
  34. package/dist/workflows-list.js +6 -6
  35. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
- export { ExecutionDetailPage } from './chunk-GORW52XL.js';
2
- import './chunk-ASNNQIBJ.js';
3
- import './chunk-ZWXX6NA3.js';
4
- import './chunk-RCC6MWJ7.js';
5
- import './chunk-XZPZE4S7.js';
1
+ export { ExecutionDetailPage } from './chunk-DHR2YURL.js';
2
+ import './chunk-P3TGCUXP.js';
3
+ import './chunk-XX6D7IND.js';
4
+ import './chunk-P2VAHDGO.js';
5
+ import './chunk-VJWJGSRS.js';
6
6
  import './chunk-5ERAJC2I.js';
7
- import './chunk-KWI3VUDC.js';
7
+ import './chunk-ADTEMSJI.js';
8
8
  import './chunk-INMYNHJL.js';
9
9
  import './chunk-Y53CVZVV.js';
10
10
  import './chunk-FNZZ5JJL.js';
11
- import './chunk-37GZQV4P.js';
11
+ import './chunk-PKG6BCHB.js';
12
12
  import './chunk-PJAWNFJV.js';
13
13
  import './chunk-Z3FYBDE3.js';
14
- import './chunk-G5UND5NE.js';
14
+ import './chunk-6PGLJWIC.js';
15
15
  import './chunk-JL7CASN5.js';
16
16
  import './chunk-PXIFUMLA.js';
17
17
  import './chunk-6AMNEX2Y.js';
@@ -1,14 +1,14 @@
1
- export { ExecutionsListPage } from './chunk-6PLOOE6D.js';
2
- import './chunk-ASNNQIBJ.js';
3
- import './chunk-ZWXX6NA3.js';
1
+ export { ExecutionsListPage } from './chunk-PTROESUB.js';
2
+ import './chunk-P3TGCUXP.js';
3
+ import './chunk-XX6D7IND.js';
4
4
  import './chunk-5ERAJC2I.js';
5
5
  import './chunk-INMYNHJL.js';
6
6
  import './chunk-FNZZ5JJL.js';
7
- import './chunk-37GZQV4P.js';
7
+ import './chunk-PKG6BCHB.js';
8
8
  import './chunk-PJAWNFJV.js';
9
9
  import './chunk-Z3FYBDE3.js';
10
10
  import './chunk-4VJ3MDOV.js';
11
- import './chunk-G5UND5NE.js';
11
+ import './chunk-6PGLJWIC.js';
12
12
  import './chunk-JL7CASN5.js';
13
13
  import './chunk-PXIFUMLA.js';
14
14
  import './chunk-6AMNEX2Y.js';
@@ -1,20 +1,20 @@
1
- export { WorkflowBuilder } from './chunk-DNXI4MRX.js';
2
- import './chunk-MKHVPALQ.js';
1
+ export { WorkflowBuilder } from './chunk-VM73YKAA.js';
2
+ import './chunk-BHD4CDLL.js';
3
3
  import './chunk-PIKYQE7P.js';
4
- import './chunk-V5YQDSOR.js';
4
+ import './chunk-M6GUEJBJ.js';
5
5
  import './chunk-GEMNVFPK.js';
6
6
  import './chunk-IEVSFCFS.js';
7
7
  import './chunk-YXMFRQYV.js';
8
8
  import './chunk-BQXVT32O.js';
9
- import './chunk-EPPDUVRT.js';
10
- import './chunk-KWI3VUDC.js';
9
+ import './chunk-IGROOI7E.js';
10
+ import './chunk-ADTEMSJI.js';
11
11
  import './chunk-INMYNHJL.js';
12
12
  import './chunk-Y53CVZVV.js';
13
- import './chunk-37GZQV4P.js';
13
+ import './chunk-PKG6BCHB.js';
14
14
  import './chunk-Z3FYBDE3.js';
15
- import './chunk-HQZR7PRN.js';
15
+ import './chunk-JFQGODKK.js';
16
16
  import './chunk-4VJ3MDOV.js';
17
- import './chunk-G5UND5NE.js';
17
+ import './chunk-6PGLJWIC.js';
18
18
  import './chunk-JL7CASN5.js';
19
19
  import './chunk-PXIFUMLA.js';
20
20
  import './chunk-6AMNEX2Y.js';
@@ -1,14 +1,14 @@
1
- export { WorkflowsList } from './chunk-WYRMFOAE.js';
2
- import './chunk-MKHVPALQ.js';
3
- import './chunk-ZWXX6NA3.js';
1
+ export { WorkflowsList } from './chunk-475XP5J7.js';
2
+ import './chunk-BHD4CDLL.js';
3
+ import './chunk-XX6D7IND.js';
4
4
  import './chunk-5ERAJC2I.js';
5
- import './chunk-EPPDUVRT.js';
5
+ import './chunk-IGROOI7E.js';
6
6
  import './chunk-FNZZ5JJL.js';
7
- import './chunk-37GZQV4P.js';
7
+ import './chunk-PKG6BCHB.js';
8
8
  import './chunk-PJAWNFJV.js';
9
9
  import './chunk-Z3FYBDE3.js';
10
10
  import './chunk-4VJ3MDOV.js';
11
- import './chunk-G5UND5NE.js';
11
+ import './chunk-6PGLJWIC.js';
12
12
  import './chunk-JL7CASN5.js';
13
13
  import './chunk-PXIFUMLA.js';
14
14
  import './chunk-6AMNEX2Y.js';
@@ -1,11 +1,11 @@
1
- import { CreateWorkflowRefusalDialog, firstWorkflowProgress, GUIDED_TOUR_STATE, builderPathFor } from './chunk-MKHVPALQ.js';
2
- import { useExecutions } from './chunk-ZWXX6NA3.js';
3
- import { useExportWorkflowAs, downloadWorkflowExport, importAcceptAttribute, QuotaExhaustedDialog, importFileKind, parseWorkflowImport, CODE_EXPORT_FORMATS, ImportSourceError, assertImportByteSize, MAX_IMPORT_ARCHIVE_BYTES, readProjectArchive, checkTypeScriptImport, MAX_IMPORT_SOURCE_BYTES, typeScriptModuleFile, typeScriptImportSource, workflowNameFromFile, primaryImportModule } from './chunk-EPPDUVRT.js';
1
+ import { CreateWorkflowRefusalDialog, firstWorkflowProgress, GUIDED_TOUR_STATE, builderPathFor } from './chunk-BHD4CDLL.js';
2
+ import { useExecutions } from './chunk-XX6D7IND.js';
3
+ import { useExportWorkflowAs, downloadWorkflowExport, importAcceptAttribute, QuotaExhaustedDialog, importFileKind, parseWorkflowImport, CODE_EXPORT_FORMATS, ImportSourceError, assertImportByteSize, MAX_IMPORT_ARCHIVE_BYTES, readProjectArchive, checkTypeScriptImport, MAX_IMPORT_SOURCE_BYTES, typeScriptModuleFile, typeScriptImportSource, workflowNameFromFile, primaryImportModule } from './chunk-IGROOI7E.js';
4
4
  import { workflowsListControls } from './chunk-FNZZ5JJL.js';
5
- import { useCreateWorkflow, useWorkflowDefinitions, useLazyWorkflowDefinition, useImportWorkflow, useDuplicateWorkflow, useDeleteWorkflow } from './chunk-37GZQV4P.js';
5
+ import { useCreateWorkflow, useWorkflowDefinitions, useLazyWorkflowDefinition, useImportWorkflow, useDuplicateWorkflow, useDeleteWorkflow } from './chunk-PKG6BCHB.js';
6
6
  import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
7
7
  import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
8
- import { createThenOpen, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, useFluidGridsFlag, FLUIDGRIDS_FLAGS, SdkPermissionButton, BILLING_PLANS_PATH, describeOperationError, useFlowStore, SdkPermissionGate, isQuotaExhaustedFailure } from './chunk-G5UND5NE.js';
8
+ import { createThenOpen, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, useFluidGridsFlag, FLUIDGRIDS_FLAGS, SdkPermissionButton, BILLING_PLANS_PATH, describeOperationError, useFlowStore, SdkPermissionGate, isQuotaExhaustedFailure } from './chunk-6PGLJWIC.js';
9
9
  import { useTr } from './chunk-UULVIT25.js';
10
10
  import { useState, useRef, useCallback, useMemo } from 'react';
11
11
  import { useNavigate } from 'react-router';
@@ -1,8 +1,8 @@
1
- import { Card, FluidGridsMark } from './chunk-V5YQDSOR.js';
1
+ import { Card, FluidGridsMark } from './chunk-M6GUEJBJ.js';
2
2
  import { Input } from './chunk-IEVSFCFS.js';
3
3
  import { Button } from './chunk-BQXVT32O.js';
4
- import { useWorkflowDefinition } from './chunk-37GZQV4P.js';
5
- import { FluidGridsProvider, useFlowStore } from './chunk-G5UND5NE.js';
4
+ import { useWorkflowDefinition } from './chunk-PKG6BCHB.js';
5
+ import { FluidGridsProvider, useFlowStore } from './chunk-6PGLJWIC.js';
6
6
  import { cn } from './chunk-JL7CASN5.js';
7
7
  import { useTr } from './chunk-UULVIT25.js';
8
8
  import { useState, useRef, useEffect, useCallback } from 'react';
@@ -39,16 +39,43 @@ var DURABLE_FUNCTION_NODE_TYPES = /* @__PURE__ */ new Set([
39
39
  "internal:code-workflow",
40
40
  "internal:wait-for-signal"
41
41
  ]);
42
+ var RUN_CONTROL_NODE_TYPES = /* @__PURE__ */ new Set([
43
+ "internal:signal-run",
44
+ "internal:set-search-attributes"
45
+ ]);
46
+ function isRunControlNodeType(nodeType) {
47
+ return !!nodeType && RUN_CONTROL_NODE_TYPES.has(nodeType);
48
+ }
49
+ function paletteGatesOf(gates) {
50
+ if (typeof gates === "boolean")
51
+ return {
52
+ durableFunctions: gates,
53
+ runControl: false,
54
+ searchAttributes: false
55
+ };
56
+ return {
57
+ durableFunctions: gates?.durableFunctions === true,
58
+ runControl: gates?.runControl === true,
59
+ searchAttributes: gates?.searchAttributes === true
60
+ };
61
+ }
62
+ function hiddenBy(nodeType, gates) {
63
+ if (DURABLE_FUNCTION_NODE_TYPES.has(nodeType)) return !gates.durableFunctions;
64
+ if (nodeType === "internal:signal-run") return !gates.runControl;
65
+ if (nodeType === "internal:set-search-attributes")
66
+ return !gates.searchAttributes;
67
+ return false;
68
+ }
42
69
  function isDurableFunctionNodeType(nodeType) {
43
70
  return !!nodeType && DURABLE_FUNCTION_NODE_TYPES.has(nodeType);
44
71
  }
45
- function isNodeTypeHiddenFromPalette(nodeType, durableFunctionsEnabled = false) {
46
- return !durableFunctionsEnabled && isDurableFunctionNodeType(nodeType);
72
+ function isNodeTypeHiddenFromPalette(nodeType, gates = false) {
73
+ return !!nodeType && hiddenBy(nodeType, paletteGatesOf(gates));
47
74
  }
48
- function filterPaletteNodes(nodes, durableFunctionsEnabled = false) {
49
- if (durableFunctionsEnabled) return nodes;
50
- if (!nodes.some((node) => isDurableFunctionNodeType(node.type))) return nodes;
51
- return nodes.filter((node) => !isDurableFunctionNodeType(node.type));
75
+ function filterPaletteNodes(nodes, gates = false) {
76
+ const resolved = paletteGatesOf(gates);
77
+ if (!nodes.some((node) => hiddenBy(node.type, resolved))) return nodes;
78
+ return nodes.filter((node) => !hiddenBy(node.type, resolved));
52
79
  }
53
80
  var FLUIDGRIDS_FLAGS = {
54
81
  /**
@@ -80,13 +107,51 @@ var FLUIDGRIDS_FLAGS = {
80
107
  * defaults OFF and fails closed; the parity surfaces show only while this
81
108
  * flag, `durableFunctions` and `codeFirst` are all on.
82
109
  */
83
- durableParity: "fluidgrids.durable-parity"
110
+ durableParity: "fluidgrids.durable-parity",
111
+ /**
112
+ * Phase C (BOFF-9906, PLAN-C §2.1): self-hosted task queues, worker tokens,
113
+ * the task-queue pages and the codec settings. A rollout gate that also
114
+ * needs `codeFirst` and `durableFunctions`, so it defaults OFF and fails
115
+ * closed (see {@link resolvePhaseCFlags}).
116
+ */
117
+ selfHostedWorkers: "fluidgrids.self-hosted-workers",
118
+ /**
119
+ * Phase C run control: updates and queries, reset, activity pause and
120
+ * options, pause rules, signal tokens, batch operations and the Signal Run
121
+ * node. Needs `codeFirst`, plus `durableFunctions` for anything acting on a
122
+ * durable-function run. Defaults OFF, fails closed.
123
+ */
124
+ runControl: "fluidgrids.run-control",
125
+ /**
126
+ * Phase C search attributes: definitions, the runs-list filter, the Set
127
+ * Search Attributes node. Needs `codeFirst`. Defaults OFF, fails closed.
128
+ */
129
+ searchAttributes: "fluidgrids.search-attributes",
130
+ /** Phase C run archival: the archive destination settings. Needs `codeFirst`. */
131
+ runArchival: "fluidgrids.run-archival",
132
+ /**
133
+ * Phase C schedule policies: the schedule panel of a Schedule Trigger
134
+ * (overlap policy, trigger now, backfill, pause with a note). Needs
135
+ * `codeFirst`. Defaults OFF, fails closed.
136
+ */
137
+ schedulePolicies: "fluidgrids.schedule-policies",
138
+ /**
139
+ * Phase C Python durable functions: editing Python sources in the browser
140
+ * editor. Needs `codeFirst` and `durableFunctions`. Defaults OFF.
141
+ */
142
+ pythonDurableFunctions: "fluidgrids.python-durable-functions"
84
143
  };
85
144
  var FLUIDGRIDS_FLAG_DEFAULTS = {
86
145
  [FLUIDGRIDS_FLAGS.logStreams]: true,
87
146
  [FLUIDGRIDS_FLAGS.codeFirst]: false,
88
147
  [FLUIDGRIDS_FLAGS.durableFunctions]: false,
89
- [FLUIDGRIDS_FLAGS.durableParity]: false
148
+ [FLUIDGRIDS_FLAGS.durableParity]: false,
149
+ [FLUIDGRIDS_FLAGS.selfHostedWorkers]: false,
150
+ [FLUIDGRIDS_FLAGS.runControl]: false,
151
+ [FLUIDGRIDS_FLAGS.searchAttributes]: false,
152
+ [FLUIDGRIDS_FLAGS.runArchival]: false,
153
+ [FLUIDGRIDS_FLAGS.schedulePolicies]: false,
154
+ [FLUIDGRIDS_FLAGS.pythonDurableFunctions]: false
90
155
  };
91
156
  var settledEvaluations = /* @__PURE__ */ new WeakMap();
92
157
  function evaluationsUsable(context) {
@@ -132,6 +197,50 @@ function useDurableParityEnabled() {
132
197
  const context = useOptionalFeatureFlags();
133
198
  return useMemo(() => resolveDurableParity(context), [context]);
134
199
  }
200
+ var PHASE_C_FLAGS_OFF = Object.freeze({
201
+ runControl: false,
202
+ runControlDurable: false,
203
+ selfHostedWorkers: false,
204
+ searchAttributes: false,
205
+ runArchival: false,
206
+ schedulePolicies: false,
207
+ pythonDurableFunctions: false
208
+ });
209
+ function resolvePhaseCFlags(context) {
210
+ const flag = (key) => resolveFluidGridsFlag(context, key);
211
+ const codeFirst = flag(FLUIDGRIDS_FLAGS.codeFirst);
212
+ if (!codeFirst) return { ...PHASE_C_FLAGS_OFF };
213
+ const durable = flag(FLUIDGRIDS_FLAGS.durableFunctions);
214
+ const runControl = flag(FLUIDGRIDS_FLAGS.runControl);
215
+ return {
216
+ runControl,
217
+ runControlDurable: runControl && durable,
218
+ selfHostedWorkers: durable && flag(FLUIDGRIDS_FLAGS.selfHostedWorkers),
219
+ searchAttributes: flag(FLUIDGRIDS_FLAGS.searchAttributes),
220
+ runArchival: flag(FLUIDGRIDS_FLAGS.runArchival),
221
+ schedulePolicies: flag(FLUIDGRIDS_FLAGS.schedulePolicies),
222
+ pythonDurableFunctions: durable && flag(FLUIDGRIDS_FLAGS.pythonDurableFunctions)
223
+ };
224
+ }
225
+ function usePhaseCFlags() {
226
+ const context = useOptionalFeatureFlags();
227
+ return useMemo(() => resolvePhaseCFlags(context), [context]);
228
+ }
229
+ function useSelfHostedWorkersEnabled() {
230
+ return usePhaseCFlags().selfHostedWorkers;
231
+ }
232
+ function resolvePaletteGates(context) {
233
+ const phaseC = resolvePhaseCFlags(context);
234
+ return {
235
+ durableFunctions: resolveFluidGridsFlag(context, FLUIDGRIDS_FLAGS.codeFirst) && resolveFluidGridsFlag(context, FLUIDGRIDS_FLAGS.durableFunctions),
236
+ runControl: phaseC.runControl,
237
+ searchAttributes: phaseC.searchAttributes
238
+ };
239
+ }
240
+ function usePaletteGates() {
241
+ const context = useOptionalFeatureFlags();
242
+ return useMemo(() => resolvePaletteGates(context), [context]);
243
+ }
135
244
  function describeGraphQLError(error) {
136
245
  const code = typeof error.extensions?.code === "string" ? error.extensions.code : void 0;
137
246
  switch (code) {
@@ -9867,4 +9976,4 @@ function useNodeExecution() {
9867
9976
  };
9868
9977
  }
9869
9978
 
9870
- export { ALLOW_ALL_PERMISSIONS, AUTOSAVE_DEBOUNCE_MS, AUTOSAVE_RETRY_DELAYS_MS, AVAILABLE_NODES, BILLING_PLANS_PATH, BuilderReadOnlyProvider, CODE_WORKFLOW_NODE_TYPE, ConnectionFormDialog, ConnectionSelector, DURABLE_FUNCTION_NODE_TYPES, EDIT_SESSION_ID, ExpressionEditor, FLUIDGRIDS_FLAGS, FLUIDGRIDS_FLAG_DEFAULTS, FLUIDGRIDS_PERMISSIONS, FluidGridsContext, FluidGridsPermissionsProvider, FluidGridsProvider, NODES, NODES_METADATA, NODE_CONFIGS, NODE_OPERATION_DRAG_DATA_FORMAT, NODE_TYPES, NODE_TYPE_DRAG_DATA_FORMAT, NodePropertyPanel, NodeTypeIcon, RUNS_QUOTA_NAME, STICKY_NOTE_TYPE, SdkPermissionButton, SdkPermissionGate, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WORKFLOWS_QUOTA_NAME, bannerOf, blankWorkflowCreateInput, buildOperationSeed, buildStickyNode, builderPathOf, canAutosave, canRenderOperationPanel, canSignalRun, changedSourceFiles, childRunIdOf, classifyCreateRefusal, clearCodeWorkflowDefinitionCache, codeBuildIdOf, components_default, createConfiguredNode, createThenOpen, declaredOutputFields, declaredSignals, defaultSourcePath, describeOperationError, diagnosticsByPath, editStateOf, emitNodeInstalled, emitRunFailed, emitRunLimitHit, emitRunStarted, emitTemplateUsed, emitUpgradeClicked, emitWorkflowCreated, emitWorkflowLimitHit, emitWorkflowPublished, ensureNodeConfigsLoaded, evaluatePermissionCheck, fieldsFromIO, fieldsFromValue, filterPaletteNodes, findQuotaRefusal, findSaveConflict, forgetSessionForReload, formatParameterValue, getNodeDetail, getNodeMetadata, inAppLeaveTarget, interfaceFields, interfaceHandlers, isDurableFunctionNodeType, isEditableSourcePath, isForbiddenError, isImageIcon, isLocked, isNodeConfigsInitialized, isNodeTrigger, isNodeTypeHiddenFromPalette, isParamVisible, isQuotaExhaustedFailure, isTriggerOperation, leaseCallQueue, leaveNeedsConfirmation, listCustomBlocks, liveInternalOperations, loadDefinitionJson, mergeStickyNotes, nodeAccent, nodesOf, onNodeTypesUpdate, openRunQuotaUpgradePrompt, parseParameterValue, parseRawSignalPayload, pathToExpression, payloadFromCardValues, phaseAfterAcquire, phaseAfterTakeOver, projectLanguage, readCodeWorkflowState, readDisplayOptions, refetchStoreNodes, registerCustomBlock, registerWorkflowNodeTypes, releasesOnClose, rememberOwnStatusChange, rememberRevision, rememberSessionForReload, resolveInputHandles, resolveNodeOperation, resolveOperationName, resolveOutputHandles, resolveUiSpec, runPreparationOf, runSignalTargets, runTriggerFromMode, saveIndicatorOf, savesInPlace, sessionBeforeReload, shouldReleaseForIdle, signalPayloadCard, snapshotForSave, sourceLanguageOf, stripSubmitActions, structuredParameterType, subscribeWorkflowSaved, synchronizeOperationUpdate, throwIfResultError, tickAction, toCodeMirrorDiagnostics, useAgentDefinitionList, useAgentDefinitions, useBuilderReadOnly, useCodeWorkflowInterface, useConnection, useConnections, useConnectionsByProvider, useCreateConnection, useDurableFunctionNodesEnabled, useDurableParityEnabled, useEditLeaseLocked, useEditLeaseStore, useFlowStore, useFluidGridsAnalytics, useFluidGridsContext, useFluidGridsFlag, useFluidGridsPermission, useInitiateOAuth, useInsertNode, useIsValidConnection, useNodeExecution, useNodeRegistryRevision, useProviders, useSaveStatusStore, useSaveWorkflow, workflowFingerprint };
9979
+ export { ALLOW_ALL_PERMISSIONS, AUTOSAVE_DEBOUNCE_MS, AUTOSAVE_RETRY_DELAYS_MS, AVAILABLE_NODES, BILLING_PLANS_PATH, BuilderReadOnlyProvider, CODE_WORKFLOW_NODE_TYPE, ConnectionFormDialog, ConnectionSelector, DURABLE_FUNCTION_NODE_TYPES, EDIT_SESSION_ID, ExpressionEditor, FLUIDGRIDS_FLAGS, FLUIDGRIDS_FLAG_DEFAULTS, FLUIDGRIDS_PERMISSIONS, FluidGridsContext, FluidGridsPermissionsProvider, FluidGridsProvider, NODES, NODES_METADATA, NODE_CONFIGS, NODE_OPERATION_DRAG_DATA_FORMAT, NODE_TYPES, NODE_TYPE_DRAG_DATA_FORMAT, NodePropertyPanel, NodeTypeIcon, PHASE_C_FLAGS_OFF, RUNS_QUOTA_NAME, RUN_CONTROL_NODE_TYPES, STICKY_NOTE_TYPE, SdkPermissionButton, SdkPermissionGate, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WORKFLOWS_QUOTA_NAME, bannerOf, blankWorkflowCreateInput, buildOperationSeed, buildStickyNode, builderPathOf, canAutosave, canRenderOperationPanel, canSignalRun, changedSourceFiles, childRunIdOf, classifyCreateRefusal, clearCodeWorkflowDefinitionCache, codeBuildIdOf, components_default, createConfiguredNode, createThenOpen, declaredOutputFields, declaredSignals, defaultSourcePath, describeOperationError, diagnosticsByPath, editStateOf, emitNodeInstalled, emitRunFailed, emitRunLimitHit, emitRunStarted, emitTemplateUsed, emitUpgradeClicked, emitWorkflowCreated, emitWorkflowLimitHit, emitWorkflowPublished, ensureNodeConfigsLoaded, evaluatePermissionCheck, fieldsFromIO, fieldsFromValue, filterPaletteNodes, findQuotaRefusal, findSaveConflict, forgetSessionForReload, formatParameterValue, getNodeDetail, getNodeMetadata, inAppLeaveTarget, interfaceFields, interfaceHandlers, isDurableFunctionNodeType, isEditableSourcePath, isForbiddenError, isImageIcon, isLocked, isNodeConfigsInitialized, isNodeTrigger, isNodeTypeHiddenFromPalette, isParamVisible, isQuotaExhaustedFailure, isRunControlNodeType, isTriggerOperation, leaseCallQueue, leaveNeedsConfirmation, listCustomBlocks, liveInternalOperations, loadDefinitionJson, mergeStickyNotes, nodeAccent, nodesOf, onNodeTypesUpdate, openRunQuotaUpgradePrompt, parseParameterValue, parseRawSignalPayload, pathToExpression, payloadFromCardValues, phaseAfterAcquire, phaseAfterTakeOver, projectLanguage, readCodeWorkflowState, readDisplayOptions, refetchStoreNodes, registerCustomBlock, registerWorkflowNodeTypes, releasesOnClose, rememberOwnStatusChange, rememberRevision, rememberSessionForReload, resolveInputHandles, resolveNodeOperation, resolveOperationName, resolveOutputHandles, resolvePhaseCFlags, resolveUiSpec, runPreparationOf, runSignalTargets, runTriggerFromMode, saveIndicatorOf, savesInPlace, sessionBeforeReload, shouldReleaseForIdle, signalPayloadCard, snapshotForSave, sourceLanguageOf, stripSubmitActions, structuredParameterType, subscribeWorkflowSaved, synchronizeOperationUpdate, throwIfResultError, tickAction, toCodeMirrorDiagnostics, useAgentDefinitionList, useAgentDefinitions, useBuilderReadOnly, useCodeWorkflowInterface, useConnection, useConnections, useConnectionsByProvider, useCreateConnection, useDurableFunctionNodesEnabled, useDurableParityEnabled, useEditLeaseLocked, useEditLeaseStore, useFlowStore, useFluidGridsAnalytics, useFluidGridsContext, useFluidGridsFlag, useFluidGridsPermission, useInitiateOAuth, useInsertNode, useIsValidConnection, useNodeExecution, useNodeRegistryRevision, usePaletteGates, usePhaseCFlags, useProviders, useSaveStatusStore, useSaveWorkflow, useSelfHostedWorkersEnabled, workflowFingerprint };
@@ -1,6 +1,6 @@
1
1
  import { useEntityTags, useTagEntity, useUntagEntity } from './chunk-INMYNHJL.js';
2
2
  import { notifyFluidGridsAiCreditsUpdated } from './chunk-Y53CVZVV.js';
3
- import { throwIfResultError, describeOperationError, signalPayloadCard, components_default, payloadFromCardValues, parseRawSignalPayload } from './chunk-G5UND5NE.js';
3
+ import { throwIfResultError, describeOperationError, signalPayloadCard, components_default, payloadFromCardValues, parseRawSignalPayload } from './chunk-6PGLJWIC.js';
4
4
  import { getFluidGridsConfig } from './chunk-6AMNEX2Y.js';
5
5
  import { TerminateWorkflowRunDocument, WorkflowRunHistoryDocument, RunEventAppendedDocument, WorkflowProposalDocument, ProposeRunFixDocument, ProposeWorkflowChangeDocument, ApplyWorkflowProposalDocument, RejectWorkflowProposalDocument, CancelWorkflowProposalDocument, DurableRunFieldsDocument, WorkflowRunDeterminismStatusDocument, WorkflowRunStackTraceDocument, SignalWorkflowRunDocument } from './chunk-AW3UXMNI.js';
6
6
  import { useTr } from './chunk-UULVIT25.js';
@@ -1,4 +1,4 @@
1
- import { QuotaExhaustedDialog } from './chunk-EPPDUVRT.js';
1
+ import { QuotaExhaustedDialog } from './chunk-IGROOI7E.js';
2
2
  import { useTr } from './chunk-UULVIT25.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { LOG_STREAM_DESTINATIONS, CREATE_LOG_STREAM_DESTINATION, UPDATE_LOG_STREAM_DESTINATION, DELETE_LOG_STREAM_DESTINATION, TEST_LOG_STREAM_DESTINATION, REPLAY_WORKFLOW_RUN, RETRY_WORKFLOW_RUNS, OBSERVABILITY_DASHBOARD_SUMMARY, OBSERVABILITY_FAILED_RUNS, OBSERVABILITY_DATA_SINKS, OBSERVABILITY_DATA_SINK_DATA } from './chunk-5ERAJC2I.js';
2
- import { throwIfResultError, describeOperationError, useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt, useFluidGridsFlag, FLUIDGRIDS_FLAGS } from './chunk-G5UND5NE.js';
2
+ import { throwIfResultError, describeOperationError, useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt, useFluidGridsFlag, FLUIDGRIDS_FLAGS } from './chunk-6PGLJWIC.js';
3
3
  import { useTr } from './chunk-UULVIT25.js';
4
4
  import { getFluidGridsClient } from './chunk-NTWG3CJX.js';
5
5
  import { useCallback, useState, useMemo, useEffect } from 'react';
@@ -1,11 +1,11 @@
1
- import { useDurableParityRunFields, buildNodeDisplayMap, useRunMetadata, useRunPending, ExecutionStatusBadge, formatRunVersion, NodeTimeline, RunLogViewer, setRunVersioningOverride } from './chunk-ASNNQIBJ.js';
2
- import { useExecution, useExecutionActions, useAutoRefresh, runChainLinks, shortRunId, callbackTone, parseMetadataDefinition, overrideRequestOf } from './chunk-ZWXX6NA3.js';
3
- import { fetchRunFailureClusters, OPEN_STATUSES, dismissRunFailureCluster, BUCKET_LABELS } from './chunk-RCC6MWJ7.js';
4
- import { useRunPolicyDecisions, RunPolicyDecisions } from './chunk-XZPZE4S7.js';
5
- import { useDurableRunFields, useRunHistory, useDeterminismStatus, useRunStackTrace, EntityTagPicker, RunHistoryView, SignalRunDialog, terminateDurableRun, useWorkflowProposal, WorkflowProposalCard } from './chunk-KWI3VUDC.js';
1
+ import { useDurableParityRunFields, buildNodeDisplayMap, useRunMetadata, useRunPending, ExecutionStatusBadge, formatRunVersion, NodeTimeline, RunLogViewer, setRunVersioningOverride } from './chunk-P3TGCUXP.js';
2
+ import { useExecution, useExecutionActions, useAutoRefresh, runChainLinks, shortRunId, callbackTone, parseMetadataDefinition, overrideRequestOf } from './chunk-XX6D7IND.js';
3
+ import { fetchRunFailureClusters, OPEN_STATUSES, dismissRunFailureCluster, BUCKET_LABELS } from './chunk-P2VAHDGO.js';
4
+ import { useRunPolicyDecisions, RunPolicyDecisions } from './chunk-VJWJGSRS.js';
5
+ import { useDurableRunFields, useRunHistory, useDeterminismStatus, useRunStackTrace, EntityTagPicker, RunHistoryView, SignalRunDialog, terminateDurableRun, useWorkflowProposal, WorkflowProposalCard } from './chunk-ADTEMSJI.js';
6
6
  import { AiCreditBalanceSlot } from './chunk-Y53CVZVV.js';
7
- import { useWorkflowVersions } from './chunk-37GZQV4P.js';
8
- import { throwIfResultError, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, useDurableFunctionNodesEnabled, useDurableParityEnabled, runSignalTargets, canSignalRun, describeOperationError } from './chunk-G5UND5NE.js';
7
+ import { useWorkflowVersions } from './chunk-PKG6BCHB.js';
8
+ import { throwIfResultError, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, useDurableFunctionNodesEnabled, useDurableParityEnabled, runSignalTargets, canSignalRun, describeOperationError } from './chunk-6PGLJWIC.js';
9
9
  import { getFluidGridsConfig } from './chunk-6AMNEX2Y.js';
10
10
  import { RunLogsDocument, RunLogAppendedDocument, ExplainRunDocument } from './chunk-AW3UXMNI.js';
11
11
  import { useTr } from './chunk-UULVIT25.js';
@@ -1,4 +1,4 @@
1
- import { describeOperationError, useFluidGridsAnalytics, emitWorkflowLimitHit, emitUpgradeClicked, WORKFLOWS_QUOTA_NAME, throwIfResultError } from './chunk-G5UND5NE.js';
1
+ import { describeOperationError, useFluidGridsAnalytics, emitWorkflowLimitHit, emitUpgradeClicked, WORKFLOWS_QUOTA_NAME, throwIfResultError } from './chunk-6PGLJWIC.js';
2
2
  import { ExportWorkflowCodeDocument } from './chunk-AW3UXMNI.js';
3
3
  import { useTr } from './chunk-UULVIT25.js';
4
4
  import { getFluidGridsClient } from './chunk-NTWG3CJX.js';
@@ -1,4 +1,4 @@
1
- import { useAgentDefinitions, useAgentDefinitionList, useConnections, describeOperationError } from './chunk-G5UND5NE.js';
1
+ import { useAgentDefinitions, useAgentDefinitionList, useConnections, describeOperationError } from './chunk-6PGLJWIC.js';
2
2
  import { useTr } from './chunk-UULVIT25.js';
3
3
  import { useState, useCallback, useEffect } from 'react';
4
4
  import { Icon } from '@iconify/react';
@@ -2,13 +2,13 @@ import { deepClone, applyTemplateInputs } from './chunk-GEMNVFPK.js';
2
2
  import { Input } from './chunk-IEVSFCFS.js';
3
3
  import { Dialog as Dialog$1, DialogContent as DialogContent$1, DialogHeader as DialogHeader$1, DialogTitle as DialogTitle$1, DialogDescription as DialogDescription$1, DialogFooter } from './chunk-YXMFRQYV.js';
4
4
  import { Badge as Badge$1, Button } from './chunk-BQXVT32O.js';
5
- import { QuotaExhaustedDialog, useWorkflowCodeExport, orderedExportFiles, fileBaseName, downloadWorkflowCodeExport, isLosslessReport, sortFidelityItems, isLossyFidelityItem, lineOfNode } from './chunk-EPPDUVRT.js';
6
- import { EntityTagPicker, useWorkflowProposal, WorkflowProposalCard, useRunHistory, RunHistoryView, SignalRunDialog } from './chunk-KWI3VUDC.js';
5
+ import { QuotaExhaustedDialog, useWorkflowCodeExport, orderedExportFiles, fileBaseName, downloadWorkflowCodeExport, isLosslessReport, sortFidelityItems, isLossyFidelityItem, lineOfNode } from './chunk-IGROOI7E.js';
6
+ import { EntityTagPicker, useWorkflowProposal, WorkflowProposalCard, useRunHistory, RunHistoryView, SignalRunDialog } from './chunk-ADTEMSJI.js';
7
7
  import { AiCreditBalanceSlot } from './chunk-Y53CVZVV.js';
8
- import { useRestoreWorkflowVersion, useWorkflowVersions, useActivateWorkflow, useDeleteWorkflow, useLazyWorkflowDefinition, useDeactivateWorkflow } from './chunk-37GZQV4P.js';
9
- import { isAgentNodeType, AgentDefinitionSelectField } from './chunk-HQZR7PRN.js';
8
+ import { useRestoreWorkflowVersion, useWorkflowVersions, useActivateWorkflow, useDeleteWorkflow, useLazyWorkflowDefinition, useDeactivateWorkflow } from './chunk-PKG6BCHB.js';
9
+ import { isAgentNodeType, AgentDefinitionSelectField } from './chunk-JFQGODKK.js';
10
10
  import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
11
- import { leaseCallQueue, NODE_CONFIGS, createConfiguredNode, resolveOutputHandles, resolveInputHandles, isNodeConfigsInitialized, useFlowStore, getNodeDetail, useSaveStatusStore, isNodeTypeHiddenFromPalette, liveInternalOperations, resolveNodeOperation, readDisplayOptions, parseParameterValue, canAutosave, STICKY_NOTE_TYPE, isNodeTrigger, resolveUiSpec, RUNS_QUOTA_NAME, throwIfResultError, BILLING_PLANS_PATH, emitUpgradeClicked, FluidGridsContext, emitWorkflowCreated, emitTemplateUsed, describeOperationError, ensureNodeConfigsLoaded, useEditLeaseStore, useEditLeaseLocked, registerWorkflowNodeTypes, emitNodeInstalled, useNodeExecution, useDurableFunctionNodesEnabled, onNodeTypesUpdate, NODE_TYPES, getNodeMetadata, useIsValidConnection, BuilderReadOnlyProvider, refetchStoreNodes, AVAILABLE_NODES, EDIT_SESSION_ID, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, useInsertNode, NODE_TYPE_DRAG_DATA_FORMAT, NODE_OPERATION_DRAG_DATA_FORMAT, CODE_WORKFLOW_NODE_TYPE, SdkPermissionButton, bannerOf, useSaveWorkflow, useBuilderReadOnly, fieldsFromValue, filterPaletteNodes, useFluidGridsAnalytics, sessionBeforeReload, forgetSessionForReload, releasesOnClose, editStateOf, workflowFingerprint, isLocked, buildStickyNode, useNodeRegistryRevision, fieldsFromIO, readCodeWorkflowState, useCodeWorkflowInterface, clearCodeWorkflowDefinitionCache, isParamVisible, ConnectionSelector, structuredParameterType, nodeAccent, NodeTypeIcon, NODES_METADATA, shouldReleaseForIdle, tickAction, rememberSessionForReload, buildOperationSeed, useDurableParityEnabled, useConnections, ConnectionFormDialog, useFluidGridsFlag, FLUIDGRIDS_FLAGS, saveIndicatorOf, inAppLeaveTarget, declaredOutputFields, subscribeWorkflowSaved, pathToExpression, diagnosticsByPath, interfaceHandlers, declaredSignals, ExpressionEditor, toCodeMirrorDiagnostics, formatParameterValue, leaveNeedsConfirmation, phaseAfterAcquire, rememberOwnStatusChange, snapshotForSave, childRunIdOf, defaultSourcePath, projectLanguage, changedSourceFiles, isEditableSourcePath, sourceLanguageOf, interfaceFields, isImageIcon, NODES, synchronizeOperationUpdate, NodePropertyPanel, loadDefinitionJson, openRunQuotaUpgradePrompt, isTriggerOperation, canRenderOperationPanel, runPreparationOf, resolveOperationName, savesInPlace, AUTOSAVE_RETRY_DELAYS_MS, AUTOSAVE_DEBOUNCE_MS, rememberRevision, phaseAfterTakeOver } from './chunk-G5UND5NE.js';
11
+ import { leaseCallQueue, NODE_CONFIGS, createConfiguredNode, resolveOutputHandles, resolveInputHandles, isNodeConfigsInitialized, useFlowStore, getNodeDetail, useSaveStatusStore, isNodeTypeHiddenFromPalette, liveInternalOperations, resolveNodeOperation, readDisplayOptions, parseParameterValue, canAutosave, STICKY_NOTE_TYPE, isNodeTrigger, resolveUiSpec, RUNS_QUOTA_NAME, throwIfResultError, BILLING_PLANS_PATH, emitUpgradeClicked, FluidGridsContext, emitWorkflowCreated, emitTemplateUsed, describeOperationError, ensureNodeConfigsLoaded, useEditLeaseStore, useEditLeaseLocked, registerWorkflowNodeTypes, emitNodeInstalled, useNodeExecution, usePaletteGates, onNodeTypesUpdate, NODE_TYPES, getNodeMetadata, useIsValidConnection, BuilderReadOnlyProvider, refetchStoreNodes, AVAILABLE_NODES, EDIT_SESSION_ID, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, useInsertNode, NODE_TYPE_DRAG_DATA_FORMAT, NODE_OPERATION_DRAG_DATA_FORMAT, useDurableFunctionNodesEnabled, CODE_WORKFLOW_NODE_TYPE, SdkPermissionButton, bannerOf, useSaveWorkflow, useBuilderReadOnly, fieldsFromValue, filterPaletteNodes, useFluidGridsAnalytics, sessionBeforeReload, forgetSessionForReload, releasesOnClose, editStateOf, workflowFingerprint, isLocked, buildStickyNode, useNodeRegistryRevision, fieldsFromIO, readCodeWorkflowState, useCodeWorkflowInterface, clearCodeWorkflowDefinitionCache, isParamVisible, ConnectionSelector, structuredParameterType, nodeAccent, NodeTypeIcon, NODES_METADATA, shouldReleaseForIdle, tickAction, rememberSessionForReload, buildOperationSeed, useDurableParityEnabled, useConnections, ConnectionFormDialog, useFluidGridsFlag, FLUIDGRIDS_FLAGS, saveIndicatorOf, inAppLeaveTarget, declaredOutputFields, subscribeWorkflowSaved, pathToExpression, diagnosticsByPath, interfaceHandlers, declaredSignals, ExpressionEditor, toCodeMirrorDiagnostics, formatParameterValue, leaveNeedsConfirmation, phaseAfterAcquire, rememberOwnStatusChange, snapshotForSave, childRunIdOf, defaultSourcePath, projectLanguage, changedSourceFiles, isEditableSourcePath, sourceLanguageOf, interfaceFields, isImageIcon, NODES, synchronizeOperationUpdate, NodePropertyPanel, loadDefinitionJson, openRunQuotaUpgradePrompt, isTriggerOperation, canRenderOperationPanel, runPreparationOf, resolveOperationName, savesInPlace, AUTOSAVE_RETRY_DELAYS_MS, AUTOSAVE_DEBOUNCE_MS, rememberRevision, phaseAfterTakeOver } from './chunk-6PGLJWIC.js';
12
12
  import { cn } from './chunk-JL7CASN5.js';
13
13
  import { getGlobalStoreClient } from './chunk-PXIFUMLA.js';
14
14
  import { getFluidGridsConfig } from './chunk-6AMNEX2Y.js';
@@ -23577,9 +23577,9 @@ function isStoreNodeHiddenFromPalette(node2, durableFunctionsEnabled = false) {
23577
23577
  );
23578
23578
  }
23579
23579
  function filterStoreNodesForPalette(nodes, durableFunctionsEnabled = false) {
23580
- if (durableFunctionsEnabled) return nodes;
23581
- if (!nodes.some((node2) => isStoreNodeHiddenFromPalette(node2))) return nodes;
23582
- return nodes.filter((node2) => !isStoreNodeHiddenFromPalette(node2));
23580
+ const hidden = (node2) => isStoreNodeHiddenFromPalette(node2, durableFunctionsEnabled);
23581
+ if (!nodes.some(hidden)) return nodes;
23582
+ return nodes.filter((node2) => !hidden(node2));
23583
23583
  }
23584
23584
  function StoreNodeListItem({
23585
23585
  name,
@@ -23961,7 +23961,7 @@ function StoreCategoryList({
23961
23961
  useEffect(() => {
23962
23962
  if (autoFocusSearch) searchRef.current?.focus();
23963
23963
  }, [autoFocusSearch]);
23964
- const durableFunctionsEnabled = useDurableFunctionNodesEnabled();
23964
+ const paletteGates = usePaletteGates();
23965
23965
  const {
23966
23966
  products: storeProducts,
23967
23967
  loading,
@@ -23975,8 +23975,8 @@ function StoreCategoryList({
23975
23975
  }
23976
23976
  });
23977
23977
  const products = useMemo(
23978
- () => filterStoreNodesForPalette(storeProducts, durableFunctionsEnabled),
23979
- [storeProducts, durableFunctionsEnabled]
23978
+ () => filterStoreNodesForPalette(storeProducts, paletteGates),
23979
+ [storeProducts, paletteGates]
23980
23980
  );
23981
23981
  const { installedAppIds, installationsMap, deprecatedInstallations } = useInstalledNodes();
23982
23982
  const filteredDeprecated = isSearching ? deprecatedInstallations.filter(
@@ -24040,7 +24040,7 @@ function StoreCategoryList({
24040
24040
  const isInstalled = installedAppIds.has(node2.id);
24041
24041
  const hasUpdate = isInstalled && !!installation?.installedVersion && !!node2.manifestVersion && installation.installedVersion !== node2.manifestVersion;
24042
24042
  const { nodeType, isPrebuilt, isDraggable } = getStoreNodeAvailability(node2, isInstalled, {
24043
- durableFunctionsEnabled
24043
+ durableFunctionsEnabled: paletteGates
24044
24044
  });
24045
24045
  return /* @__PURE__ */ jsx(
24046
24046
  StoreNodeListItem,
@@ -24233,7 +24233,7 @@ function StoreCategoryNodes({
24233
24233
  onSelectNode
24234
24234
  }) {
24235
24235
  const [searchTerm, setSearchTerm] = useState("");
24236
- const durableFunctionsEnabled = useDurableFunctionNodesEnabled();
24236
+ const paletteGates = usePaletteGates();
24237
24237
  const {
24238
24238
  products: storeProducts,
24239
24239
  loading,
@@ -24248,8 +24248,8 @@ function StoreCategoryNodes({
24248
24248
  }
24249
24249
  });
24250
24250
  const products = useMemo(
24251
- () => filterStoreNodesForPalette(storeProducts, durableFunctionsEnabled),
24252
- [storeProducts, durableFunctionsEnabled]
24251
+ () => filterStoreNodesForPalette(storeProducts, paletteGates),
24252
+ [storeProducts, paletteGates]
24253
24253
  );
24254
24254
  const { installedAppIds, installationsMap } = useInstalledNodes();
24255
24255
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col h-full overflow-hidden", children: [
@@ -24317,7 +24317,7 @@ function StoreCategoryNodes({
24317
24317
  const isInstalled = installedAppIds.has(node2.id);
24318
24318
  const hasUpdate = isInstalled && !!installation?.installedVersion && !!node2.manifestVersion && installation.installedVersion !== node2.manifestVersion;
24319
24319
  const { nodeType, isPrebuilt, isDraggable } = getStoreNodeAvailability(node2, isInstalled, {
24320
- durableFunctionsEnabled
24320
+ durableFunctionsEnabled: paletteGates
24321
24321
  });
24322
24322
  return /* @__PURE__ */ jsx(
24323
24323
  StoreNodeListItem,
@@ -24732,9 +24732,9 @@ function StoreNodeDetail({ node: node2, onBack }) {
24732
24732
  const context = useContext(FluidGridsContext);
24733
24733
  const workspaceId = context?.workspaceId ?? getFluidGridsConfig().workspaceId;
24734
24734
  const isInstalled = installedAppIds.has(node2.id);
24735
- const durableFunctionsEnabled = useDurableFunctionNodesEnabled();
24735
+ const paletteGates = usePaletteGates();
24736
24736
  const { nodeType, isPrebuilt } = getStoreNodeAvailability(node2, isInstalled, {
24737
- durableFunctionsEnabled
24737
+ durableFunctionsEnabled: paletteGates
24738
24738
  });
24739
24739
  const installation = installationsMap.get(node2.id);
24740
24740
  const installedVersion = installation?.installedVersion;
@@ -33992,7 +33992,7 @@ function AddNodeFloatingMenu({
33992
33992
  },
33993
33993
  [onNodeAdd, setShowMenu]
33994
33994
  );
33995
- const durableFunctionsEnabled = useDurableFunctionNodesEnabled();
33995
+ const paletteGates = usePaletteGates();
33996
33996
  const incomingNodeMetadetails = useMemo(
33997
33997
  () => _incomingNodeMetadetails,
33998
33998
  [_incomingNodeMetadetails]
@@ -34017,7 +34017,7 @@ function AddNodeFloatingMenu({
34017
34017
  const fromHandleId = _incomingNodeMetadetails?.fromHandle?.id;
34018
34018
  const connectableNodes = filterPaletteNodes(
34019
34019
  AVAILABLE_NODES,
34020
- durableFunctionsEnabled
34020
+ paletteGates
34021
34021
  ).filter((node2) => node2.publishType !== "STORE");
34022
34022
  return {
34023
34023
  availableNodes: mapNodesWithMetadata(
@@ -34027,11 +34027,7 @@ function AddNodeFloatingMenu({
34027
34027
  ),
34028
34028
  additionalNodes: mapNodesWithMetadata(["end" /* END */])
34029
34029
  };
34030
- }, [
34031
- _incomingNodeMetadetails,
34032
- incomingNodeMetadetails,
34033
- durableFunctionsEnabled
34034
- ]);
34030
+ }, [_incomingNodeMetadetails, incomingNodeMetadetails, paletteGates]);
34035
34031
  return /* @__PURE__ */ jsxs(Popover$1, { open: showMenu, children: [
34036
34032
  /* @__PURE__ */ jsx(PopoverTrigger$1, { asChild: true, children: /* @__PURE__ */ jsx(
34037
34033
  "div",
@@ -48775,14 +48771,14 @@ var FlowBuilder = ({ readOnly = false }) => {
48775
48771
  const searchParams = new URLSearchParams(window.location.search);
48776
48772
  const isReadOnly = readOnly || searchParams.get("readonly") === "true";
48777
48773
  const { leaseLocked, editingBlocked } = useEditingBlocked(isReadOnly);
48778
- const durableFunctionsEnabled = useDurableFunctionNodesEnabled();
48779
- const durableFunctionsEnabledRef = useRef(durableFunctionsEnabled);
48774
+ const paletteGates = usePaletteGates();
48775
+ const paletteGatesRef = useRef(paletteGates);
48780
48776
  useEffect(() => {
48781
- durableFunctionsEnabledRef.current = durableFunctionsEnabled;
48782
- }, [durableFunctionsEnabled]);
48777
+ paletteGatesRef.current = paletteGates;
48778
+ }, [paletteGates]);
48783
48779
  const agentTools = useMemo(
48784
48780
  () => createBuilderAgentTools({
48785
- durableFunctionsEnabled: () => durableFunctionsEnabledRef.current
48781
+ durableFunctionsEnabled: () => paletteGatesRef.current
48786
48782
  }),
48787
48783
  []
48788
48784
  );
@@ -1,4 +1,4 @@
1
- import { throwIfResultError } from './chunk-G5UND5NE.js';
1
+ import { throwIfResultError } from './chunk-6PGLJWIC.js';
2
2
  import { RunFailureClustersDocument, DismissRunFailureClusterDocument, RunFailureTriageSettingsDocument, SetRunFailureTriageEnabledDocument, FgTriageFailedRunsDocument } from './chunk-AW3UXMNI.js';
3
3
  import { useTr } from './chunk-UULVIT25.js';
4
4
  import { getFluidGridsClient } from './chunk-NTWG3CJX.js';
@@ -1,8 +1,8 @@
1
- import { validateDateRange, statusCountFilter, STATUS_COUNT_GROUP_BY, statusCountsOf } from './chunk-ZWXX6NA3.js';
1
+ import { validateDateRange, statusCountFilter, STATUS_COUNT_GROUP_BY, statusCountsOf } from './chunk-XX6D7IND.js';
2
2
  import { useAvailableTags } from './chunk-INMYNHJL.js';
3
3
  import { executionsControls } from './chunk-FNZZ5JJL.js';
4
4
  import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
5
- import { useDurableParityEnabled, throwIfResultError, describeOperationError } from './chunk-G5UND5NE.js';
5
+ import { useDurableParityEnabled, throwIfResultError, describeOperationError } from './chunk-6PGLJWIC.js';
6
6
  import { useExecutionsStore } from './chunk-6AMNEX2Y.js';
7
7
  import { SetWorkflowRunVersioningOverrideDocument, WorkflowRunsCountDocument, DurableParityRunFieldsDocument, WorkflowRunPendingDocument, WorkflowRunMetadataDocument } from './chunk-AW3UXMNI.js';
8
8
  import { useTr } from './chunk-UULVIT25.js';
@@ -1,4 +1,4 @@
1
- import { useFluidGridsAnalytics, throwIfResultError, emitWorkflowCreated, emitRunStarted, runTriggerFromMode, openRunQuotaUpgradePrompt, emitWorkflowPublished } from './chunk-G5UND5NE.js';
1
+ import { useFluidGridsAnalytics, throwIfResultError, emitWorkflowCreated, emitRunStarted, runTriggerFromMode, openRunQuotaUpgradePrompt, emitWorkflowPublished } from './chunk-6PGLJWIC.js';
2
2
  import { getFluidGridsConfig } from './chunk-6AMNEX2Y.js';
3
3
  import { WorkflowDefinitionsDocument, WorkflowDefinitionDocument, WorkflowVersionsDocument, CreateWorkflowDefinitionDocument, ImportWorkflowDocument, UpdateWorkflowDefinitionDocument, CreateWorkflowVersionDocument, DeleteWorkflowDefinitionDocument, DuplicateWorkflowDocument, RestoreWorkflowVersionDocument, TriggerWorkflowDocument, WorkflowRunsDocument, WorkflowRunDocument, DashboardSummaryDocument, ActivateWorkflowDefinitionDocument, DeactivateWorkflowDefinitionDocument } from './chunk-AW3UXMNI.js';
4
4
  import { useTr } from './chunk-UULVIT25.js';
@@ -1,8 +1,8 @@
1
- import { useRunStatusCounts, ExecutionStats, ExecutionFilters, ExecutionTable, ExecutionCards, ExecutionTimeline, Pagination, runStatusLabels } from './chunk-ASNNQIBJ.js';
2
- import { useExecutionsWithStore, useExecutionStats, useExecutionActions, useAutoRefresh, WORKFLOW_ID_MAX_LENGTH } from './chunk-ZWXX6NA3.js';
3
- import { useWorkflowDefinitions } from './chunk-37GZQV4P.js';
1
+ import { useRunStatusCounts, ExecutionStats, ExecutionFilters, ExecutionTable, ExecutionCards, ExecutionTimeline, Pagination, runStatusLabels } from './chunk-P3TGCUXP.js';
2
+ import { useExecutionsWithStore, useExecutionStats, useExecutionActions, useAutoRefresh, WORKFLOW_ID_MAX_LENGTH } from './chunk-XX6D7IND.js';
3
+ import { useWorkflowDefinitions } from './chunk-PKG6BCHB.js';
4
4
  import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
5
- import { useDurableParityEnabled } from './chunk-G5UND5NE.js';
5
+ import { useDurableParityEnabled } from './chunk-6PGLJWIC.js';
6
6
  import { useExecutionsStore } from './chunk-6AMNEX2Y.js';
7
7
  import { useTr } from './chunk-UULVIT25.js';
8
8
  import { useRef, useCallback, useMemo, useState, useEffect } from 'react';
@@ -1,6 +1,6 @@
1
- import { FailureTriagePanel } from './chunk-RCC6MWJ7.js';
2
- import { useDataSinks, useDataSinkData, useInsightsData, useRunReplayActions } from './chunk-WXZYFZAQ.js';
3
- import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS } from './chunk-G5UND5NE.js';
1
+ import { FailureTriagePanel } from './chunk-P2VAHDGO.js';
2
+ import { useDataSinks, useDataSinkData, useInsightsData, useRunReplayActions } from './chunk-CIR7WF4W.js';
3
+ import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS } from './chunk-6PGLJWIC.js';
4
4
  import { useTr } from './chunk-UULVIT25.js';
5
5
  import { useState, useMemo, useEffect } from 'react';
6
6
  import { Icon } from '@iconify/react';
@@ -1,5 +1,5 @@
1
1
  import { historyControls } from './chunk-FNZZ5JJL.js';
2
- import { useWorkflowDefinitions } from './chunk-37GZQV4P.js';
2
+ import { useWorkflowDefinitions } from './chunk-PKG6BCHB.js';
3
3
  import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
4
4
  import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
5
5
  import { getFluidGridsConfig } from './chunk-6AMNEX2Y.js';
@@ -1,4 +1,4 @@
1
- import { throwIfResultError, describeOperationError } from './chunk-G5UND5NE.js';
1
+ import { throwIfResultError, describeOperationError } from './chunk-6PGLJWIC.js';
2
2
  import { useTr } from './chunk-UULVIT25.js';
3
3
  import { getFluidGridsClient } from './chunk-NTWG3CJX.js';
4
4
  import { useState, useCallback, useEffect, useMemo } from 'react';
@@ -1,8 +1,8 @@
1
- import { isGuidedTourIntent, pickGuidedTour, withoutGuidedTourIntent, isCreateIntent, CreateWorkflowRefusalDialog, decideMissingWorkflow } from './chunk-MKHVPALQ.js';
1
+ import { isGuidedTourIntent, pickGuidedTour, withoutGuidedTourIntent, isCreateIntent, CreateWorkflowRefusalDialog, decideMissingWorkflow } from './chunk-BHD4CDLL.js';
2
2
  import { registerLiveCanvasHandler } from './chunk-PIKYQE7P.js';
3
- import { useWorkflowReloadStore, releaseLeaseKeptForReload, useInstalledNodes, buildNodeCheck, FlowBuilderPage, buildRequiredNodeTypes } from './chunk-V5YQDSOR.js';
4
- import { useLazyWorkflowDefinition, useCreateWorkflow } from './chunk-37GZQV4P.js';
5
- import { useFlowStore, refetchStoreNodes, BILLING_PLANS_PATH, codeBuildIdOf, mergeStickyNotes, rememberRevision, blankWorkflowCreateInput, classifyCreateRefusal, useSaveStatusStore, workflowFingerprint, registerWorkflowNodeTypes, throwIfResultError } from './chunk-G5UND5NE.js';
3
+ import { useWorkflowReloadStore, releaseLeaseKeptForReload, useInstalledNodes, buildNodeCheck, FlowBuilderPage, buildRequiredNodeTypes } from './chunk-M6GUEJBJ.js';
4
+ import { useLazyWorkflowDefinition, useCreateWorkflow } from './chunk-PKG6BCHB.js';
5
+ import { useFlowStore, refetchStoreNodes, BILLING_PLANS_PATH, codeBuildIdOf, mergeStickyNotes, rememberRevision, blankWorkflowCreateInput, classifyCreateRefusal, useSaveStatusStore, workflowFingerprint, registerWorkflowNodeTypes, throwIfResultError } from './chunk-6PGLJWIC.js';
6
6
  import { getFluidGridsConfig } from './chunk-6AMNEX2Y.js';
7
7
  import { WorkflowDefinitionDocument } from './chunk-AW3UXMNI.js';
8
8
  import { useTr } from './chunk-UULVIT25.js';