@burdenoff/fluidgrids-fe-sdk 2026.1030.3 → 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.
- package/dist/{ExecutionDetailPage-UJXTRVYM.js → ExecutionDetailPage-WOOORXXU.js} +10 -10
- package/dist/{ExecutionsListPage-ZSMTA5QN.js → ExecutionsListPage-AYDGFU6W.js} +7 -7
- package/dist/{WorkflowBuilder-NSBAOTQB.js → WorkflowBuilder-LJ7OX2WF.js} +9 -9
- package/dist/{WorkflowsList-VH7ZKQJE.js → WorkflowsList-BZXBTGNL.js} +8 -8
- package/dist/{chunk-QJ4P5Y47.js → chunk-475XP5J7.js} +6 -6
- package/dist/{chunk-5CRJD5YU.js → chunk-5R2JKC3S.js} +3 -3
- package/dist/{chunk-Z6THCS3L.js → chunk-6PGLJWIC.js} +119 -10
- package/dist/{chunk-NHQXWTOK.js → chunk-ADTEMSJI.js} +1 -1
- package/dist/{chunk-HWPPD2WE.js → chunk-BHD4CDLL.js} +1 -1
- package/dist/{chunk-HO7CZM3V.js → chunk-CIR7WF4W.js} +1 -1
- package/dist/{chunk-SU5W4OOE.js → chunk-DHR2YURL.js} +7 -7
- package/dist/{chunk-D3UWK7GY.js → chunk-FNZZ5JJL.js} +22 -16
- package/dist/{chunk-JUUYPCFY.js → chunk-G77IGC3Y.js} +4 -1
- package/dist/{chunk-C4LNSLQX.js → chunk-IGROOI7E.js} +1 -1
- package/dist/{chunk-TGGTM5RW.js → chunk-JFQGODKK.js} +1 -1
- package/dist/{chunk-6DNT5QP5.js → chunk-M6GUEJBJ.js} +163 -52
- package/dist/{chunk-IQFPFSFN.js → chunk-P2VAHDGO.js} +1 -1
- package/dist/{chunk-KK5VQ322.js → chunk-P3TGCUXP.js} +3 -3
- package/dist/{chunk-OTO46JVO.js → chunk-PKG6BCHB.js} +1 -1
- package/dist/{chunk-5EHMEGSO.js → chunk-PTROESUB.js} +4 -4
- package/dist/{chunk-FQBRK4R5.js → chunk-Q3HKE627.js} +3 -3
- package/dist/{chunk-WNC3UP2A.js → chunk-QKQOTEAB.js} +2 -2
- package/dist/{chunk-63H4FFY7.js → chunk-VJWJGSRS.js} +1 -1
- package/dist/{chunk-7RVPPQOG.js → chunk-VM73YKAA.js} +5 -5
- package/dist/{chunk-WMI2OSWG.js → chunk-WHPQRYZD.js} +4 -4
- package/dist/{chunk-VKM2BI46.js → chunk-XX6D7IND.js} +1 -1
- package/dist/{chunk-P4WCNDP7.js → chunk-YU7H4QO2.js} +776 -53
- package/dist/executions.js +11 -11
- package/dist/global-operations-RAFTISSY.js +2 -0
- package/dist/history.js +5 -5
- package/dist/index.d.ts +96 -4
- package/dist/index.js +34 -34
- package/dist/observability.js +5 -5
- package/dist/settings.js +6 -6
- package/dist/templates.js +9 -9
- package/dist/workflow-builder.js +10 -10
- package/dist/workflows-list.js +8 -8
- package/package.json +1 -1
- package/dist/global-operations-D2USVOPM.js +0 -2
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { ExecutionDetailPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
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-
|
|
7
|
+
import './chunk-ADTEMSJI.js';
|
|
8
8
|
import './chunk-INMYNHJL.js';
|
|
9
9
|
import './chunk-Y53CVZVV.js';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import './chunk-FNZZ5JJL.js';
|
|
11
|
+
import './chunk-PKG6BCHB.js';
|
|
12
12
|
import './chunk-PJAWNFJV.js';
|
|
13
13
|
import './chunk-Z3FYBDE3.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-6PGLJWIC.js';
|
|
15
15
|
import './chunk-JL7CASN5.js';
|
|
16
16
|
import './chunk-PXIFUMLA.js';
|
|
17
17
|
import './chunk-6AMNEX2Y.js';
|
|
18
|
-
import './chunk-
|
|
18
|
+
import './chunk-G77IGC3Y.js';
|
|
19
19
|
import './chunk-AW3UXMNI.js';
|
|
20
20
|
import './chunk-UULVIT25.js';
|
|
21
21
|
import './chunk-NTWG3CJX.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { ExecutionsListPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
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
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-FNZZ5JJL.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-
|
|
11
|
+
import './chunk-6PGLJWIC.js';
|
|
12
12
|
import './chunk-JL7CASN5.js';
|
|
13
13
|
import './chunk-PXIFUMLA.js';
|
|
14
14
|
import './chunk-6AMNEX2Y.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-G77IGC3Y.js';
|
|
16
16
|
import './chunk-AW3UXMNI.js';
|
|
17
17
|
import './chunk-UULVIT25.js';
|
|
18
18
|
import './chunk-NTWG3CJX.js';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export { WorkflowBuilder } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { WorkflowBuilder } from './chunk-VM73YKAA.js';
|
|
2
|
+
import './chunk-BHD4CDLL.js';
|
|
3
3
|
import './chunk-PIKYQE7P.js';
|
|
4
|
-
import './chunk-
|
|
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-
|
|
10
|
-
import './chunk-
|
|
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-
|
|
13
|
+
import './chunk-PKG6BCHB.js';
|
|
14
14
|
import './chunk-Z3FYBDE3.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-JFQGODKK.js';
|
|
16
16
|
import './chunk-4VJ3MDOV.js';
|
|
17
|
-
import './chunk-
|
|
17
|
+
import './chunk-6PGLJWIC.js';
|
|
18
18
|
import './chunk-JL7CASN5.js';
|
|
19
19
|
import './chunk-PXIFUMLA.js';
|
|
20
20
|
import './chunk-6AMNEX2Y.js';
|
|
21
|
-
import './chunk-
|
|
21
|
+
import './chunk-G77IGC3Y.js';
|
|
22
22
|
import './chunk-AW3UXMNI.js';
|
|
23
23
|
import './chunk-UULVIT25.js';
|
|
24
24
|
import './chunk-NTWG3CJX.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { WorkflowsList } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
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-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
5
|
+
import './chunk-IGROOI7E.js';
|
|
6
|
+
import './chunk-FNZZ5JJL.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-
|
|
11
|
+
import './chunk-6PGLJWIC.js';
|
|
12
12
|
import './chunk-JL7CASN5.js';
|
|
13
13
|
import './chunk-PXIFUMLA.js';
|
|
14
14
|
import './chunk-6AMNEX2Y.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-G77IGC3Y.js';
|
|
16
16
|
import './chunk-AW3UXMNI.js';
|
|
17
17
|
import './chunk-UULVIT25.js';
|
|
18
18
|
import './chunk-NTWG3CJX.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CreateWorkflowRefusalDialog, firstWorkflowProgress, GUIDED_TOUR_STATE, builderPathFor } from './chunk-
|
|
2
|
-
import { useExecutions } from './chunk-
|
|
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-
|
|
4
|
-
import { workflowsListControls } from './chunk-
|
|
5
|
-
import { useCreateWorkflow, useWorkflowDefinitions, useLazyWorkflowDefinition, useImportWorkflow, useDuplicateWorkflow, useDeleteWorkflow } from './chunk-
|
|
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
|
+
import { workflowsListControls } from './chunk-FNZZ5JJL.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-
|
|
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-
|
|
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-
|
|
5
|
-
import { FluidGridsProvider, useFlowStore } from './chunk-
|
|
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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn as cn$1 } from './chunk-JL7CASN5.js';
|
|
2
2
|
import { getGlobalStoreClient, createGlobalStoreClient, setGlobalStoreClient, resetGlobalStoreClient } from './chunk-PXIFUMLA.js';
|
|
3
3
|
import { getFluidGridsConfig, validateTrustedOrigin, resetFluidGridsExecutionState, setFluidGridsConfig, resetFluidGridsConfig } from './chunk-6AMNEX2Y.js';
|
|
4
|
-
import { GetMyNodeInstallationsDocument } from './chunk-
|
|
4
|
+
import { GetMyNodeInstallationsDocument } from './chunk-G77IGC3Y.js';
|
|
5
5
|
import { fetchAllNodeEndpointConfigs, NodeManifestDocument, UpdateWorkflowDefinitionDocument, CreateWorkflowDefinitionDocument, CreateWorkflowVersionDocument, ExecuteStepDocument, TriggerWorkflowDocument, RunFromNodeDocument, ExecutionDetailDocument, WorkflowDefinitionDocument, WorkflowRunDocument } from './chunk-AW3UXMNI.js';
|
|
6
6
|
import { useTr, ENGLISH_FALLBACK_TRANSLATOR, FluidGridsTranslationProvider } from './chunk-UULVIT25.js';
|
|
7
7
|
import { waitForFluidGridsClient, getFluidGridsClient, getFluidGridsClientSafe, createFluidGridsClient, setFluidGridsClient, resetFluidGridsClient } from './chunk-NTWG3CJX.js';
|
|
@@ -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,
|
|
46
|
-
return
|
|
72
|
+
function isNodeTypeHiddenFromPalette(nodeType, gates = false) {
|
|
73
|
+
return !!nodeType && hiddenBy(nodeType, paletteGatesOf(gates));
|
|
47
74
|
}
|
|
48
|
-
function filterPaletteNodes(nodes,
|
|
49
|
-
|
|
50
|
-
if (!nodes.some((node) =>
|
|
51
|
-
return nodes.filter((node) => !
|
|
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-
|
|
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,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-
|
|
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-
|
|
2
|
-
import { useExecution, useExecutionActions, useAutoRefresh, runChainLinks, shortRunId, callbackTone, parseMetadataDefinition, overrideRequestOf } from './chunk-
|
|
3
|
-
import { fetchRunFailureClusters, OPEN_STATUSES, dismissRunFailureCluster, BUCKET_LABELS } from './chunk-
|
|
4
|
-
import { useRunPolicyDecisions, RunPolicyDecisions } from './chunk-
|
|
5
|
-
import { useDurableRunFields, useRunHistory, useDeterminismStatus, useRunStackTrace, EntityTagPicker, RunHistoryView, SignalRunDialog, terminateDurableRun, useWorkflowProposal, WorkflowProposalCard } from './chunk-
|
|
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-
|
|
8
|
-
import { throwIfResultError, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, useDurableFunctionNodesEnabled, useDurableParityEnabled, runSignalTargets, canSignalRun, describeOperationError } from './chunk-
|
|
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';
|
|
@@ -55,33 +55,39 @@ function executionsControls(input) {
|
|
|
55
55
|
}
|
|
56
56
|
return { page: input.page, filters, search: input.search };
|
|
57
57
|
}
|
|
58
|
+
var TEMPLATE_SOURCES = [
|
|
59
|
+
"store",
|
|
60
|
+
"workspace",
|
|
61
|
+
"submissions"
|
|
62
|
+
];
|
|
63
|
+
function categoryFilter(filter) {
|
|
64
|
+
return {
|
|
65
|
+
id: "category",
|
|
66
|
+
label: filter.label,
|
|
67
|
+
neutral: filter.neutral,
|
|
68
|
+
value: filter.value,
|
|
69
|
+
options: filter.options,
|
|
70
|
+
set: filter.set
|
|
71
|
+
};
|
|
72
|
+
}
|
|
58
73
|
function templatesControls(input) {
|
|
59
|
-
const { source, category } = input;
|
|
74
|
+
const { source, category, storeCategory } = input;
|
|
75
|
+
const filter = source.value === "workspace" ? category : source.value === "store" ? storeCategory : void 0;
|
|
60
76
|
return {
|
|
61
77
|
page: input.page,
|
|
62
78
|
tabs: {
|
|
63
79
|
items: [
|
|
64
80
|
{ id: "store", label: source.storeLabel },
|
|
65
|
-
{ id: "workspace", label: source.workspaceLabel }
|
|
81
|
+
{ id: "workspace", label: source.workspaceLabel },
|
|
82
|
+
{ id: "submissions", label: source.submissionsLabel }
|
|
66
83
|
],
|
|
67
84
|
value: source.value,
|
|
68
85
|
set: (id) => {
|
|
69
|
-
|
|
86
|
+
const match = TEMPLATE_SOURCES.find((candidate) => candidate === id);
|
|
87
|
+
if (match) source.set(match);
|
|
70
88
|
}
|
|
71
89
|
},
|
|
72
|
-
|
|
73
|
-
...source.value === "workspace" ? {
|
|
74
|
-
filters: [
|
|
75
|
-
{
|
|
76
|
-
id: "category",
|
|
77
|
-
label: category.label,
|
|
78
|
-
neutral: category.neutral,
|
|
79
|
-
value: category.value,
|
|
80
|
-
options: category.options,
|
|
81
|
-
set: category.set
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
} : {},
|
|
90
|
+
...filter ? { filters: [categoryFilter(filter)] } : {},
|
|
85
91
|
search: input.search
|
|
86
92
|
};
|
|
87
93
|
}
|