@burdenoff/fluidgrids-fe-sdk 2026.1111.8 → 2026.1111.9
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/{MissingNodesInstallModal-BFv9-cc9.js → MissingNodesInstallModal-DUTpT0Bx.js} +1 -1
- package/dist/{TemplateConfigurationModal-Ho9dSHbX.js → TemplateConfigurationModal-Bp6yWmDU.js} +1 -1
- package/dist/{TemplateDetailPanel-CzkeesaA.js → TemplateDetailPanel-DvoZhgGU.js} +1 -1
- package/dist/{TemplatesPage-BzLhlV88.js → TemplatesPage-B29rhriw.js} +1 -1
- package/dist/{WorkflowSearchRedirect-DgQSfDvn.js → WorkflowSearchRedirect-_DGtocE_.js} +2 -2
- package/dist/{agentTools-DwvW-jXU.js → agentTools-BkeiRiqS.js} +1 -1
- package/dist/{flow-builder-C5R5Bopw.js → flow-builder-khQcrBqv.js} +58 -25
- package/dist/index.js +4 -4
- package/dist/{node-detail-view-BeCa5NkB.js → node-detail-view-JNWAYrZS.js} +1 -1
- package/dist/{quick-config-panel-A8_WcO2r.js → quick-config-panel-Ciz0hFx7.js} +1 -1
- package/dist/templates.js +1 -1
- package/dist/workflow-builder.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as DialogTitle, D as DialogHeader, E as DialogFooter, S as Dialog, T as DialogDescription, b as Badge, w as DialogContent } from "./flow-builder-
|
|
2
|
+
import { A as DialogTitle, D as DialogHeader, E as DialogFooter, S as Dialog, T as DialogDescription, b as Badge, w as DialogContent } from "./flow-builder-khQcrBqv.js";
|
|
3
3
|
import { i as Button } from "./PublishCustomNodeAction-Bdgdkxf_.js";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { AlertTriangle, CheckCircle2, Download, ExternalLink, Loader2, Puzzle, ShoppingCart } from "lucide-react";
|
package/dist/{TemplateConfigurationModal-Ho9dSHbX.js → TemplateConfigurationModal-Bp6yWmDU.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as DialogTitle, D as DialogHeader, E as DialogFooter, S as Dialog, T as DialogDescription, b as Badge, ht as Input, w as DialogContent } from "./flow-builder-
|
|
2
|
+
import { A as DialogTitle, D as DialogHeader, E as DialogFooter, S as Dialog, T as DialogDescription, b as Badge, ht as Input, w as DialogContent } from "./flow-builder-khQcrBqv.js";
|
|
3
3
|
import { i as Button } from "./PublishCustomNodeAction-Bdgdkxf_.js";
|
|
4
4
|
import { t as Label } from "./label-CDy86rIZ.js";
|
|
5
5
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as Button } from "./PublishCustomNodeAction-Bdgdkxf_.js";
|
|
3
|
-
import { b as Badge, y as templatePreview } from "./flow-builder-
|
|
3
|
+
import { b as Badge, y as templatePreview } from "./flow-builder-khQcrBqv.js";
|
|
4
4
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
5
5
|
import { hI as FLUIDGRIDS_PERMISSIONS, vI as SdkPermissionButton } from "./graphql-types-XcDLtFwU.js";
|
|
6
6
|
import { Icon } from "@iconify/react";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Ji as getFluidGridsConfig, Vi as describeOperationError, Wi as throwIfResultError, ki as getFluidGridsClient } from "./node-endpoint-configs-n4xr62e4.js";
|
|
3
3
|
import { Dn as isQuotaExhaustedFailure, E as MyWorkflowTemplateSubmissionsDocument, O as SubmitWorkflowTemplateDocument, Sn as BILLING_PLANS_PATH, T as InstallWorkflowNodeDocument, _n as emitWorkflowCreated, hn as emitTemplateUsed, j as WithdrawWorkflowTemplateSubmissionDocument, ln as useFluidGridsAnalytics, t as FluidGridsContext } from "./FluidGridsProvider-CGu1DfIa.js";
|
|
4
4
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
5
|
-
import { K as useGlobalStoreClient, N as useWorkflowTemplates, P as useInstallNode, t as FlowBuilderPage, v as TemplateCard } from "./flow-builder-
|
|
5
|
+
import { K as useGlobalStoreClient, N as useWorkflowTemplates, P as useInstallNode, t as FlowBuilderPage, v as TemplateCard } from "./flow-builder-khQcrBqv.js";
|
|
6
6
|
import { h as useWorkflowDefinitions, l as useLazyWorkflowDefinition, s as useDuplicateWorkflow } from "./useWorkflows-DTJbPdQM.js";
|
|
7
7
|
import { k as QuotaExhaustedDialog } from "./WorkflowShareDialog-CPUkd7CL.js";
|
|
8
8
|
import { YF as WorkflowStatus, hI as FLUIDGRIDS_PERMISSIONS, vI as SdkPermissionButton } from "./graphql-types-XcDLtFwU.js";
|
|
@@ -4,7 +4,7 @@ import { Dr as WorkflowDefinitionDocument, Ji as getFluidGridsConfig, Wi as thro
|
|
|
4
4
|
import { Ct as classifyCreateRefusal, Dt as useSaveStatusStore, G as paramsFromOperation, Jt as codeBuildIdOf, On as useCanvasEdges, P as createConfiguredNode, Qt as workflowFingerprint, Sn as BILLING_PLANS_PATH, Wt as rememberRevision, f as refetchStoreNodes, l as ensureNodeTypesLoaded, m as registerWorkflowNodeTypes, n as FluidGridsProvider, o as NODE_CONFIGS, p as registerNodeManifests, sn as resolveNodeOperation, xt as blankWorkflowCreateInput } from "./FluidGridsProvider-CGu1DfIa.js";
|
|
5
5
|
import { F as mergeStickyNotes, H as useFlowStore } from "./node-operation-selection--oy-yEq_.js";
|
|
6
6
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
7
|
-
import { F as useInstalledNodes, _ as buildRequiredNodeTypes, ct as FluidGridsMark, f as releaseLeaseKeptForReload, g as buildNodeCheck, ht as Input, lt as Card, p as useWorkflowReloadStore, st as useNodeSelectedEvent, t as FlowBuilderPage } from "./flow-builder-
|
|
7
|
+
import { F as useInstalledNodes, _ as buildRequiredNodeTypes, ct as FluidGridsMark, f as releaseLeaseKeptForReload, g as buildNodeCheck, ht as Input, lt as Card, p as useWorkflowReloadStore, st as useNodeSelectedEvent, t as FlowBuilderPage } from "./flow-builder-khQcrBqv.js";
|
|
8
8
|
import { t as cn } from "./cn-QqidFIgr.js";
|
|
9
9
|
import { i as Button } from "./PublishCustomNodeAction-Bdgdkxf_.js";
|
|
10
10
|
import { l as useLazyWorkflowDefinition, m as useWorkflowDefinition, n as useCreateWorkflow } from "./useWorkflows-DTJbPdQM.js";
|
|
@@ -1627,7 +1627,7 @@ function GuidedTourStarter({ ready }) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
|
|
1629
1629
|
// src/builder/app/workflow/work/page.tsx
|
|
1630
|
-
const LazyMissingNodesInstallModal = lazy(() => import("./MissingNodesInstallModal-
|
|
1630
|
+
const LazyMissingNodesInstallModal = lazy(() => import("./MissingNodesInstallModal-DUTpT0Bx.js").then((m) => ({ default: m.MissingNodesInstallModal })));
|
|
1631
1631
|
function WorkflowItem({ readonly = false }) {
|
|
1632
1632
|
if (readonly) {
|
|
1633
1633
|
const queryParams = new URLSearchParams(window.location.search);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Dt as useSaveStatusStore, G as paramsFromOperation, K as selectedOperationOf, P as createConfiguredNode, U as nodeTitle, V as fixedParameterState, h as registryNodeData, o as NODE_CONFIGS, u as isNodeConfigsInitialized, ut as autosaveAllowedFor, vt as isFlowComplete } from "./FluidGridsProvider-CGu1DfIa.js";
|
|
3
3
|
import { E as resolveOutputHandles, H as useFlowStore, T as resolveInputHandles } from "./node-operation-selection--oy-yEq_.js";
|
|
4
|
-
import { M as computeAttachPosition, xt as isNodeTypeHiddenFromPalette } from "./flow-builder-
|
|
4
|
+
import { M as computeAttachPosition, xt as isNodeTypeHiddenFromPalette } from "./flow-builder-khQcrBqv.js";
|
|
5
5
|
import { AgentToolError, defineAgentTool } from "@burdenoff/fe-libs/shared/agent-tools";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
@@ -9224,6 +9224,33 @@ function storeContextHeaders(input) {
|
|
|
9224
9224
|
return headers;
|
|
9225
9225
|
}
|
|
9226
9226
|
|
|
9227
|
+
// src/hooks/store/store-pagination.ts
|
|
9228
|
+
/**
|
|
9229
|
+
* Paging rules for the builder's store node lists (BOFF-11753).
|
|
9230
|
+
*
|
|
9231
|
+
* `browseStore` pages by offset. Two "Load more" clicks in quick succession
|
|
9232
|
+
* used to fetch the same page twice and append both copies, and the next
|
|
9233
|
+
* offset was then taken from the row count including the copies, so the
|
|
9234
|
+
* nodes in between were skipped. These helpers keep every page merge
|
|
9235
|
+
* duplicate-free, which also keeps the offset (the number of distinct nodes
|
|
9236
|
+
* already shown) correct.
|
|
9237
|
+
*/
|
|
9238
|
+
/** Appends `next` to `prev`, dropping any item whose id is already present. */
|
|
9239
|
+
function appendUniqueById(prev, next) {
|
|
9240
|
+
const seen = new Set(prev.map((item) => item.id));
|
|
9241
|
+
const merged = [...prev];
|
|
9242
|
+
for (const item of next) {
|
|
9243
|
+
if (seen.has(item.id)) continue;
|
|
9244
|
+
seen.add(item.id);
|
|
9245
|
+
merged.push(item);
|
|
9246
|
+
}
|
|
9247
|
+
return merged;
|
|
9248
|
+
}
|
|
9249
|
+
/** The offset of the next page: how many distinct nodes are already listed. */
|
|
9250
|
+
function nextStoreOffset(products) {
|
|
9251
|
+
return new Set(products.map((product) => product.id)).size;
|
|
9252
|
+
}
|
|
9253
|
+
|
|
9227
9254
|
// src/hooks/store/useStoreNodes.ts
|
|
9228
9255
|
/**
|
|
9229
9256
|
* Hook to browse and search workflow nodes from the global store
|
|
@@ -9258,24 +9285,18 @@ function useStoreNodes(options = {}) {
|
|
|
9258
9285
|
fetchPolicy: "cache-and-network",
|
|
9259
9286
|
context: Object.keys(contextHeaders).length > 0 ? { headers: contextHeaders } : void 0
|
|
9260
9287
|
});
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
data,
|
|
9264
|
-
loading,
|
|
9265
|
-
error,
|
|
9266
|
-
hasData: !!data,
|
|
9267
|
-
hasBrowseStore: !!data?.browseStore,
|
|
9268
|
-
hasProducts: !!data?.browseStore?.products,
|
|
9269
|
-
productsLength: data?.browseStore?.products?.length
|
|
9270
|
-
});
|
|
9288
|
+
const loadingMoreRef = useRef(false);
|
|
9289
|
+
const [loadingMore, setLoadingMore] = useState(false);
|
|
9271
9290
|
const handleFetchMore = () => {
|
|
9272
|
-
if (!data?.browseStore?.hasMore) return;
|
|
9291
|
+
if (!data?.browseStore?.hasMore || loadingMoreRef.current) return;
|
|
9292
|
+
loadingMoreRef.current = true;
|
|
9293
|
+
setLoadingMore(true);
|
|
9273
9294
|
fetchMore({
|
|
9274
9295
|
variables: { input: {
|
|
9275
9296
|
...input,
|
|
9276
9297
|
pagination: {
|
|
9277
9298
|
...input.pagination,
|
|
9278
|
-
offset: data.browseStore.products
|
|
9299
|
+
offset: nextStoreOffset(data.browseStore.products)
|
|
9279
9300
|
}
|
|
9280
9301
|
} },
|
|
9281
9302
|
context: Object.keys(contextHeaders).length > 0 ? { headers: contextHeaders } : void 0,
|
|
@@ -9285,10 +9306,13 @@ function useStoreNodes(options = {}) {
|
|
|
9285
9306
|
...fetchMoreResult,
|
|
9286
9307
|
browseStore: {
|
|
9287
9308
|
...fetchMoreResult.browseStore,
|
|
9288
|
-
products:
|
|
9309
|
+
products: appendUniqueById(prev.browseStore?.products || [], fetchMoreResult.browseStore?.products || [])
|
|
9289
9310
|
}
|
|
9290
9311
|
};
|
|
9291
9312
|
}
|
|
9313
|
+
}).finally(() => {
|
|
9314
|
+
loadingMoreRef.current = false;
|
|
9315
|
+
setLoadingMore(false);
|
|
9292
9316
|
});
|
|
9293
9317
|
};
|
|
9294
9318
|
return {
|
|
@@ -9296,6 +9320,8 @@ function useStoreNodes(options = {}) {
|
|
|
9296
9320
|
totalCount: data?.browseStore?.totalCount || 0,
|
|
9297
9321
|
hasMore: data?.browseStore?.hasMore || false,
|
|
9298
9322
|
loading,
|
|
9323
|
+
/** True while a "Load more" page is being fetched. */
|
|
9324
|
+
loadingMore,
|
|
9299
9325
|
error,
|
|
9300
9326
|
fetchMore: handleFetchMore,
|
|
9301
9327
|
refetch
|
|
@@ -10274,7 +10300,7 @@ function StoreCategoryList({ searchTerm, onSearchChange, onSelectCategory, onSel
|
|
|
10274
10300
|
if (autoFocusSearch) searchRef.current?.focus();
|
|
10275
10301
|
}, [autoFocusSearch]);
|
|
10276
10302
|
const paletteGates = usePaletteGates();
|
|
10277
|
-
const { products: storeProducts, loading, hasMore, fetchMore } = useStoreNodes({ filter: {
|
|
10303
|
+
const { products: storeProducts, loading, loadingMore, hasMore, fetchMore } = useStoreNodes({ filter: {
|
|
10278
10304
|
type: "NODE",
|
|
10279
10305
|
compatibleWith: "fluidgrids",
|
|
10280
10306
|
search: isSearching ? searchTerm.trim() : void 0
|
|
@@ -10369,9 +10395,12 @@ function StoreCategoryList({ searchTerm, onSearchChange, onSelectCategory, onSel
|
|
|
10369
10395
|
}, item.productId))]
|
|
10370
10396
|
}),
|
|
10371
10397
|
hasMore && /* @__PURE__ */ jsx("button", {
|
|
10398
|
+
type: "button",
|
|
10372
10399
|
onClick: fetchMore,
|
|
10373
|
-
|
|
10374
|
-
|
|
10400
|
+
disabled: loadingMore,
|
|
10401
|
+
"aria-busy": loadingMore,
|
|
10402
|
+
className: "w-full mt-2 py-2 text-xs text-primary hover:text-primary/80 font-medium transition-colors disabled:cursor-wait disabled:opacity-60",
|
|
10403
|
+
children: loadingMore ? tr("fluidgrids.builder.storeNodesGrid.loadingMore", "Loading...") : tr("fluidgrids.builder.storeCategoryList.loadMoreButton", "Load more")
|
|
10375
10404
|
})
|
|
10376
10405
|
] })
|
|
10377
10406
|
}) : showDeprecated ? /* @__PURE__ */ jsxs("div", {
|
|
@@ -10487,9 +10516,10 @@ function StoreCategoryList({ searchTerm, onSearchChange, onSelectCategory, onSel
|
|
|
10487
10516
|
|
|
10488
10517
|
// src/builder/components/flow-builder/components/blocks/sidebar/panels/store-browse/components/store-category-nodes.tsx
|
|
10489
10518
|
function StoreCategoryNodes({ category, onBack, onSelectNode }) {
|
|
10519
|
+
const tr = useTr();
|
|
10490
10520
|
const [searchTerm, setSearchTerm] = useState("");
|
|
10491
10521
|
const paletteGates = usePaletteGates();
|
|
10492
|
-
const { products: storeProducts, loading, hasMore, fetchMore } = useStoreNodes({ filter: {
|
|
10522
|
+
const { products: storeProducts, loading, loadingMore, hasMore, fetchMore } = useStoreNodes({ filter: {
|
|
10493
10523
|
type: "NODE",
|
|
10494
10524
|
compatibleWith: "fluidgrids",
|
|
10495
10525
|
category: category.key || void 0,
|
|
@@ -10508,7 +10538,7 @@ function StoreCategoryNodes({ category, onBack, onSelectNode }) {
|
|
|
10508
10538
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
10509
10539
|
icon: "mynaui:chevron-left",
|
|
10510
10540
|
className: "size-3.5"
|
|
10511
|
-
}), "Back"]
|
|
10541
|
+
}), tr("fluidgrids.builder.storeCategoryList.backButton", "Back")]
|
|
10512
10542
|
}),
|
|
10513
10543
|
/* @__PURE__ */ jsxs("div", {
|
|
10514
10544
|
className: "flex items-center gap-2.5 mb-3",
|
|
@@ -10597,9 +10627,12 @@ function StoreCategoryNodes({ category, onBack, onSelectNode }) {
|
|
|
10597
10627
|
}, node.id);
|
|
10598
10628
|
}),
|
|
10599
10629
|
hasMore && /* @__PURE__ */ jsx("button", {
|
|
10630
|
+
type: "button",
|
|
10600
10631
|
onClick: fetchMore,
|
|
10601
|
-
|
|
10602
|
-
|
|
10632
|
+
disabled: loadingMore,
|
|
10633
|
+
"aria-busy": loadingMore,
|
|
10634
|
+
className: "w-full mt-2 py-2 text-xs text-primary hover:text-primary/80 font-medium transition-colors disabled:cursor-wait disabled:opacity-60",
|
|
10635
|
+
children: loadingMore ? tr("fluidgrids.builder.storeNodesGrid.loadingMore", "Loading...") : tr("fluidgrids.builder.storeCategoryList.loadMoreButton", "Load more")
|
|
10603
10636
|
})
|
|
10604
10637
|
]
|
|
10605
10638
|
})
|
|
@@ -11908,7 +11941,7 @@ function TemplatesGrid({ templates, loading, hasMore, onLoadMore, onTemplateClic
|
|
|
11908
11941
|
}
|
|
11909
11942
|
|
|
11910
11943
|
// src/builder/components/flow-builder/components/templates/TemplatesModal.tsx
|
|
11911
|
-
const LazyTemplateDetailPanel = lazy(() => import("./TemplateDetailPanel-
|
|
11944
|
+
const LazyTemplateDetailPanel = lazy(() => import("./TemplateDetailPanel-DvoZhgGU.js").then((m) => ({ default: m.TemplateDetailPanel })));
|
|
11912
11945
|
/**
|
|
11913
11946
|
* Modal for browsing and selecting workflow templates
|
|
11914
11947
|
* Features:
|
|
@@ -12218,7 +12251,7 @@ function buildNodeCheck(requiredNodeTypes, installedAppIds) {
|
|
|
12218
12251
|
}
|
|
12219
12252
|
|
|
12220
12253
|
// src/builder/components/flow-builder/components/blocks/sidebar/fragments/desktop-sidebar-fragment.tsx
|
|
12221
|
-
const LazyTemplateConfigurationModal = lazy(() => import("./TemplateConfigurationModal-
|
|
12254
|
+
const LazyTemplateConfigurationModal = lazy(() => import("./TemplateConfigurationModal-Bp6yWmDU.js").then((m) => ({ default: m.TemplateConfigurationModal })));
|
|
12222
12255
|
function DesktopSidebarFragment({ activePanel, setActivePanel }) {
|
|
12223
12256
|
const tr = useTr();
|
|
12224
12257
|
const { bus, workspaceId } = useFluidGridsAnalytics();
|
|
@@ -26600,8 +26633,8 @@ function EditLeaseBanner() {
|
|
|
26600
26633
|
}
|
|
26601
26634
|
|
|
26602
26635
|
// src/builder/components/flow-builder/flow-builder.tsx
|
|
26603
|
-
const LazyNodeDetailView = lazy(() => import("./node-detail-view-
|
|
26604
|
-
const LazyQuickConfigPanel = lazy(() => import("./quick-config-panel-
|
|
26636
|
+
const LazyNodeDetailView = lazy(() => import("./node-detail-view-JNWAYrZS.js").then((m) => ({ default: m.NodeDetailView })));
|
|
26637
|
+
const LazyQuickConfigPanel = lazy(() => import("./quick-config-panel-Ciz0hFx7.js").then((m) => ({ default: m.QuickConfigPanel })));
|
|
26605
26638
|
const edgeTypes = { deletable: CustomDeletableEdge };
|
|
26606
26639
|
const edgeOptions = {
|
|
26607
26640
|
type: "deletable",
|
|
@@ -26661,7 +26694,7 @@ const FlowBuilder = ({ readOnly = false }) => {
|
|
|
26661
26694
|
const [agentTools, setAgentTools] = useState([]);
|
|
26662
26695
|
useEffect(() => {
|
|
26663
26696
|
let cancelled = false;
|
|
26664
|
-
import("./agentTools-
|
|
26697
|
+
import("./agentTools-BkeiRiqS.js").then(({ createBuilderAgentTools }) => {
|
|
26665
26698
|
if (cancelled) return;
|
|
26666
26699
|
setAgentTools(createBuilderAgentTools({ durableFunctionsEnabled: () => paletteGatesRef.current }));
|
|
26667
26700
|
}).catch((error) => {
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { $n as useWorkflowTestsEnabled, $t as useNodeExecution, Bn as FLUIDGRIDS_FLAGS, Cn as RUNS_QUOTA_NAME, Ct as classifyCreateRefusal, Dn as isQuotaExhaustedFailure, En as findQuotaRefusal, Gn as useContinuousOptimisationEnabled, Hn as PHASE_C_FLAGS_OFF, J as resolveUiSpec, Jn as useFluidGridsFlag, Kn as useDurableFunctionNodesEnabled, N as buildOperationSeed, Qn as useSelfHostedWorkersEnabled, Sn as BILLING_PLANS_PATH, St as builderPathOf, Un as resolveFluidGridsFlagsSettled, Vn as FLUIDGRIDS_FLAG_DEFAULTS, Wn as resolvePhaseCFlags, Xn as usePaletteGates, Y as stripSubmitActions, Yn as useFluidGridsFlagsSettled, Zn as usePhaseCFlags, _n as emitWorkflowCreated, bn as nodesOf, dn as emitNodeInstalled, f as refetchStoreNodes, fn as emitRunFailed, fr as resetGlobalStoreClient, gn as emitUpgradeClicked, hn as emitTemplateUsed, l as ensureNodeTypesLoaded, ln as useFluidGridsAnalytics, lr as createGlobalStoreClient, mn as emitRunStarted, n as FluidGridsProvider, pn as emitRunLimitHit, pr as setGlobalStoreClient, qn as useDurableParityEnabled, r as useFluidGridsContext, un as openRunQuotaUpgradePrompt, ur as getGlobalStoreClient, vn as emitWorkflowLimitHit, wn as WORKFLOWS_QUOTA_NAME, wt as createThenOpen, xt as blankWorkflowCreateInput, yn as emitWorkflowPublished } from "./FluidGridsProvider-CGu1DfIa.js";
|
|
3
|
-
import { a as START_FIELD_PREFIX, c as START_OPERATION_PARAM, d as WorkflowBuilder, f as WorkflowBuilderCore, i as GuidedTourStarter, l as readStartNodeRequest, n as WorkflowBuilder$1, o as START_NAME_PARAM, p as EnsureThemeProvider, s as START_NODE_PARAM, t as WorkflowSearchRedirect, u as startNodeLink } from "./WorkflowSearchRedirect-
|
|
3
|
+
import { a as START_FIELD_PREFIX, c as START_OPERATION_PARAM, d as WorkflowBuilder, f as WorkflowBuilderCore, i as GuidedTourStarter, l as readStartNodeRequest, n as WorkflowBuilder$1, o as START_NAME_PARAM, p as EnsureThemeProvider, s as START_NODE_PARAM, t as WorkflowSearchRedirect, u as startNodeLink } from "./WorkflowSearchRedirect-_DGtocE_.js";
|
|
4
4
|
import { a as useCreateWorkflowFirst, i as FirstWorkflowChecklistView, r as FirstWorkflowChecklist, t as WorkflowsList } from "./WorkflowsList-C5NllPOu.js";
|
|
5
|
-
import { i as ThemeProvider, n as TemplatePreview, r as extractTemplateGraph, t as TemplatesPage } from "./TemplatesPage-
|
|
6
|
-
import { $ as ConnectionFormDialog, A as DialogTitle, B as RunnerStatusPill, C as DialogClose, D as DialogHeader, E as DialogFooter, H as runnerInstallCommand, J as Popover, O as DialogOverlay, Q as ConnectionSelector, S as Dialog, St as isRunControlNodeType, T as DialogDescription, U as useRunnerActions, V as RUNNER_INSTALL_SCRIPT_URL, W as useRunners, X as PopoverTrigger, Y as PopoverContent, _t as RUN_CONTROL_NODE_TYPES, a as useAiWorkflowTemplates, b as Badge, bt as isDurableFunctionNodeType, c as useRunsQuota, ct as FluidGridsMark, d as summarizeRunsQuota, dt as CardDescription, ft as CardFooter, gt as DURABLE_FUNCTION_NODE_TYPES, ht as Input, i as enrichDraftNodes, j as DialogTrigger, k as DialogPortal, l as readRunsQuota, lt as Card, mt as CardTitle, n as AI_DRAFT_MAX_PROMPT_LENGTH, o as RunsUsageMeter, pt as CardHeader, r as draftToCanvas, s as RunsUsageMeterView, t as FlowBuilderPage, u as runsQuotaLevel, ut as CardContent, vt as WORKFLOW_TEST_NODE_TYPES, w as DialogContent, x as badgeVariants, xt as isNodeTypeHiddenFromPalette, yt as filterPaletteNodes, z as RunOnSection } from "./flow-builder-
|
|
5
|
+
import { i as ThemeProvider, n as TemplatePreview, r as extractTemplateGraph, t as TemplatesPage } from "./TemplatesPage-B29rhriw.js";
|
|
6
|
+
import { $ as ConnectionFormDialog, A as DialogTitle, B as RunnerStatusPill, C as DialogClose, D as DialogHeader, E as DialogFooter, H as runnerInstallCommand, J as Popover, O as DialogOverlay, Q as ConnectionSelector, S as Dialog, St as isRunControlNodeType, T as DialogDescription, U as useRunnerActions, V as RUNNER_INSTALL_SCRIPT_URL, W as useRunners, X as PopoverTrigger, Y as PopoverContent, _t as RUN_CONTROL_NODE_TYPES, a as useAiWorkflowTemplates, b as Badge, bt as isDurableFunctionNodeType, c as useRunsQuota, ct as FluidGridsMark, d as summarizeRunsQuota, dt as CardDescription, ft as CardFooter, gt as DURABLE_FUNCTION_NODE_TYPES, ht as Input, i as enrichDraftNodes, j as DialogTrigger, k as DialogPortal, l as readRunsQuota, lt as Card, mt as CardTitle, n as AI_DRAFT_MAX_PROMPT_LENGTH, o as RunsUsageMeter, pt as CardHeader, r as draftToCanvas, s as RunsUsageMeterView, t as FlowBuilderPage, u as runsQuotaLevel, ut as CardContent, vt as WORKFLOW_TEST_NODE_TYPES, w as DialogContent, x as badgeVariants, xt as isNodeTypeHiddenFromPalette, yt as filterPaletteNodes, z as RunOnSection } from "./flow-builder-khQcrBqv.js";
|
|
7
7
|
import { $ as DismissRunFailureClusterDocument, $n as UnpinNodeDataDocument, $r as WorkflowRunMetadataDocument, $t as RenameWorkflowFolderDocument, A as CreateWorkerTokenDocument, Ai as getFluidGridsClientSafe, An as SetWorkerTokenConnectionAllowlistDocument, Ar as WorkflowDefinitionsTagsDocument, At as NodeManifestsDocument, B as DataTablesTagsDocument, Bn as TagFluidgridsEntityDocument, Br as WorkflowGitRepositoryDocument, Bt as PinNodeDataDocument, C as CodecServerSettingsDocument, Ci as WorkflowVersionsDocument, Cn as RunWorkflowTestsDocument, Cr as WorkflowBatchOperationsDocument, Ct as LinkWorkflowGitRepositoryDocument, D as CreateActivityPauseRuleDocument, Dn as SearchFluidgridsTagsDocument, Dr as WorkflowDefinitionDocument, Dt as NodeEndpointConfigDocument, E as ContinuousOptimisationSettingsFieldsFragmentDoc, Ei as WorkspaceRunsQuotaDocument, En as SaveWorkflowDraftDocument, Er as WorkflowCodeSourceDocument, Et as MoveWorkflowFolderDocument, F as CreateWorkflowSignalTokenDocument, Fi as createFluidGridsTokenRefreshLink, Fn as SnoozeOptimisationSuggestionDocument, Fr as WorkflowGenerationDocument, Ft as OptimisationSuggestionFieldsFragmentDoc, G as DeleteWorkflowDefinitionDocument, Gn as TaskQueuesDocument, Gr as WorkflowProposalDocument, Gt as ProposeWorkflowChangeDocument, H as DeleteActivityPauseRuleDocument, Hi as isForbiddenError, Hn as TaskQueueFieldsFragmentDoc, Hr as WorkflowPinnedDataDocument, Ht as PreviewScheduleDocument, I as CreateWorkflowTestCaseDocument, Ii as FLUIDGRIDS_EVENTS_VERSION, In as StartBatchExportDocument, Ir as WorkflowGenerationTemplatesDocument, It as OptimisationSuggestionsDocument, J as DeleteWorkflowRolloutDocument, Ji as getFluidGridsConfig, Jn as TriggerWorkflowDocument, Jr as WorkflowRunDocument, Jt as RegisterNodeDocument, K as DeleteWorkflowFolderDocument, Ki as config, Kn as TerminateExecutionDocument, Kr as WorkflowRolloutFieldsFragmentDoc, Kt as PushWorkflowToGitDocument, L as CreateWorkflowTestCaseFromRunDocument, Li as FLUIDGRIDS_EVENT_NAMES, Ln as StartBatchOperationDocument, Lr as WorkflowGitCommitsDocument, Lt as PauseActivityDocument, M as CreateWorkflowFolderDocument, Mi as resetFluidGridsClient, Mn as SetWorkflowRunVersioningOverrideDocument, Mr as WorkflowEditLeaseStatusDocument, Mt as NodeSchemaIntrospectionDocument, N as CreateWorkflowProjectDocument, Ni as setFluidGridsClient, Nn as ShareWorkflowDocument, Nr as WorkflowEnvironmentsDocument, Nt as NodeStatesDocument, O as CreateFluidgridsTagDocument, Oi as createFluidGridsClient, On as SetContinuousOptimisationEnabledDocument, Or as WorkflowDefinitionForBuilderDocument, Ot as NodeEndpointConfigsDocument, P as CreateWorkflowSearchAttributeDocument, Pi as waitForFluidGridsClient, Pn as SignalWorkflowRunDocument, Pr as WorkflowFoldersDocument, Pt as NodeUsageStatusDocument, Q as DismissOptimisationSuggestionDocument, Qi as setFluidGridsConfig, Qn as UnpauseWorkflowScheduleDocument, Qr as WorkflowRunHistoryDocument, Qt as RemoveNodeFromWorkflowsDocument, R as CreateWorkflowVersionDocument, Rn as StartBatchTerminateDocument, Rr as WorkflowGitDiffDocument, Rt as PauseExecutionDocument, S as CancelWorkflowProposalDocument, Si as WorkflowVersioningDocument, Sn as RunLogsDocument, Sr as WorkflowBatchOperationUpdatedDocument, St as ImportWorkflowTemplateDocument, T as ContinuousOptimisationSettingsDocument, Ti as WorkspaceAiUsageDocument, Tn as SandboxWorkflowWorkerFieldsFragmentDoc, Tr as WorkflowCodeBundleSdkDocument, Tt as ManagedAiWorkspacePolicyDocument, U as DeleteTaskQueueDocument, Ui as isUnauthenticatedError, Un as TaskQueueKindStatsFieldsFragmentDoc, Ur as WorkflowProjectsDocument, Ut as ProposeOptimisationDocument, V as DeactivateWorkflowDefinitionDocument, Vi as describeOperationError, Vn as TakeOverWorkflowEditLeaseDocument, Vr as WorkflowNotificationSettingsDocument, Vt as PreviewN8nImportDocument, W as DeleteWorkerTokenDocument, Wi as throwIfResultError, Wn as TaskQueueStatsDocument, Wr as WorkflowPromotionRequestsDocument, Wt as ProposeRunFixDocument, X as DeleteWorkflowTestCaseDocument, Xi as resetFluidGridsConfig, Xn as UnlinkWorkflowGitRepositoryDocument, Xr as WorkflowRunHierarchyDocument, Xt as RejectWorkflowProposalDocument, Y as DeleteWorkflowSearchAttributeDocument, Yi as getGraphQLEndpoint, Yn as TriggerWorkflowScheduleDocument, Yr as WorkflowRunEventFieldsFragmentDoc, Yt as RejectWorkflowPromotionDocument, Z as DeployWorkflowVersionToDevDocument, Zi as resetFluidGridsExecutionState, Zn as UnpauseActivityDocument, Zr as WorkflowRunHistoryArchiveDocument, Zt as ReleaseWorkflowEditLeaseDocument, _ as BulkMoveWorkflowsToFolderDocument, _i as WorkflowTestRunFieldsFragmentDoc, _n as RunFailureTriageSettingsDocument, _r as WorkflowActivityPauseRulesDocument, _t as FluidgridsAvailableTagFieldsFragmentDoc, a as ActiveExecutionsDocument, ai as WorkflowScheduleDescribeDocument, an as ResetWorkflowRunToLastCleanTaskDocument, ar as UpdateManagedAiWorkspacePolicyDocument, at as EventRegistrationsDocument, b as CancelWorkflowGenerationDocument, bi as WorkflowVersionDiffDocument, bn as RunLogAppendedDocument, br as WorkflowBatchJobFieldsFragmentDoc, bt as GenerateWorkflowFromPromptDocument, c as AgentTraceDocument, ci as WorkflowSearchAttributeFieldsFragmentDoc, cn as ResumeExecutionDocument, cr as UpdateWorkflowEnvironmentPolicyDocument, ct as ExecutionLogsDocument, d as ArchiveSettingsDocument, di as WorkflowSignalTokenFieldsFragmentDoc, dn as RotateWorkerTokenDocument, dr as UpdateWorkflowTestCaseDocument, dt as ExplainRunDocument, ea as FLUIDGRIDS_THEME_TOKEN_MAP, ei as WorkflowRunPendingDocument, en as RenameWorkflowProjectDocument, er as UntagFluidgridsEntityDocument, et as DuplicateWorkflowDocument, f as AvailableFluidgridsTagsDocument, fi as WorkflowSignalTokensDocument, fn as RunAiUsageDocument, fr as UpsertWorkflowRunSearchAttributesDocument, ft as ExportWorkflowCodeDocument, g as BulkDeleteWorkflowsDocument, gi as WorkflowTestRunDocument, gn as RunFailureClustersDocument, gr as WorkflowActivityPauseRuleFieldsFragmentDoc, gt as FileDownloadUrlDocument, h as BulkAssignWorkflowsToProjectDocument, hi as WorkflowTestCasesDocument, hn as RunEventAppendedDocument, hr as WorkerTokensDocument, ht as FgTriageFailedRunsDocument, i as ActivateWorkflowVersionCheckedDocument, ia as themeToCssVariables, ii as WorkflowRunsDocument, in as ResetWorkflowRunDocument, ir as UpdateDurableHistoryCapsDocument, it as ErrorAnalyticsDocument, j as CreateWorkflowDefinitionDocument, ji as isFluidGridsClientReady, jn as SetWorkflowRolloutDocument, jr as WorkflowEditLeaseDocument, jt as NodePaletteEntriesDocument, k as CreateTaskQueueDocument, ki as getFluidGridsClient, kn as SetRunFailureTriageEnabledDocument, kr as WorkflowDefinitionsDocument, kt as NodeManifestDocument, l as ApplyWorkflowProposalDocument, li as WorkflowSearchAttributesDocument, ln as RetryNodeDocument, lr as UpdateWorkflowNotificationSettingsDocument, lt as ExecutionStatsDocument, m as BuildWorkflowCodeDocument, mi as WorkflowTestCaseResultFieldsFragmentDoc, mn as RunControlFieldsDocument, mr as WebhookTestListenerDocument, mt as FgRunOptimisationScanDocument, n as AcquireWorkflowEditLeaseDocument, na as sanitizeThemeValue, ni as WorkflowRunUpdateDocument, nn as RequestWorkflowPromotionDocument, nr as UpdateArchiveSettingsDocument, nt as DurableParityRunFieldsDocument, o as AgentStepFieldsFragmentDoc, oi as WorkflowScheduleDescriptionFieldsFragmentDoc, on as RestoreWorkflowFromGitDocument, or as UpdateTaskQueueDocument, ot as ExecuteStepDocument, p as BackfillWorkflowScheduleDocument, pi as WorkflowTestCaseFieldsFragmentDoc, pn as RunCodeReplaceFieldsFragmentDoc, pr as UsageTimeSeriesDocument, pt as FailActivityByIdDocument, q as DeleteWorkflowProjectDocument, qn as TerminateWorkflowRunDocument, qr as WorkflowRunDeterminismStatusDocument, qt as QueryWorkflowRunDocument, r as ActivateWorkflowDefinitionDocument, ra as themeKey, ri as WorkflowRunsCountDocument, rn as ResetActivityDocument, rr as UpdateCodecServerSettingsDocument, rt as DurableRunFieldsDocument, s as AgentStepUpdatedDocument, si as WorkflowScheduleTickFieldsFragmentDoc, sn as RestoreWorkflowVersionDocument, sr as UpdateWorkflowDefinitionDocument, st as ExecutionDetailDocument, ta as applyFluidGridsTheme, ti as WorkflowRunStackTraceDocument, tn as ReplaceFluidgridsEntityTagsDocument, tr as UpdateActivityOptionsDocument, tt as DurableHistoryCapsDocument, u as ApproveWorkflowPromotionDocument, ui as WorkflowSharingDocument, un as RevokeWorkflowSignalTokenDocument, ur as UpdateWorkflowRunDocument, ut as ExecutionsListDocument, v as CancelBatchOperationDocument, vi as WorkflowTestRunsDocument, vn as RunFromNodeDocument, vr as WorkflowArchiveSettingsFieldsFragmentDoc, vt as FluidgridsEntityTagsDocument, w as CompleteActivityByIdDocument, wi as WorkflowWorkersDocument, wn as SandboxWorkerTokenFieldsFragmentDoc, wr as WorkflowCallInputsDocument, wt as ListenForWebhookTestEventDocument, x as CancelWorkflowPromotionDocument, xi as WorkflowVersionDrainageDocument, xn as RunLogLineFieldsFragmentDoc, xr as WorkflowBatchOperationDocument, xt as ImportWorkflowDocument, y as CancelExecutionDocument, yi as WorkflowUpdateResultFieldsFragmentDoc, yn as RunFromNodeEligibilityDocument, yr as WorkflowAuthoringDocument, yt as FluidgridsTagAssignmentFieldsFragmentDoc, z as DashboardSummaryDocument, zn as StopWebhookTestListenerDocument, zr as WorkflowGitPushesDocument, zt as PauseWorkflowScheduleDocument } from "./node-endpoint-configs-n4xr62e4.js";
|
|
8
8
|
import { a as notifyFluidGridsAiCreditsUpdated, t as AiCreditBalanceSlot } from "./aiCreditsBridge-BuE92tKo.js";
|
|
9
9
|
import { _ as useWorkflowRuns, a as useDeactivateWorkflow, c as useImportWorkflow, d as useRestoreWorkflowVersion, f as useTriggerWorkflow, g as useWorkflowRun, h as useWorkflowDefinitions, i as useDashboardSummary, l as useLazyWorkflowDefinition, m as useWorkflowDefinition, n as useCreateWorkflow, o as useDeleteWorkflow, p as useUpdateWorkflow, r as useCreateWorkflowVersion, s as useDuplicateWorkflow, t as useActivateWorkflow, u as usePreviewN8nImport, v as useWorkflowVersions } from "./useWorkflows-DTJbPdQM.js";
|
|
@@ -55,7 +55,7 @@ import { z } from "zod";
|
|
|
55
55
|
|
|
56
56
|
// src/components/FluidGridsRoot.tsx
|
|
57
57
|
const WorkflowsList$1 = lazy(() => import("./WorkflowsList-C5NllPOu.js").then((n) => n.n).then((m) => ({ default: m.WorkflowsList })));
|
|
58
|
-
const WorkflowBuilder$2 = lazy(() => import("./WorkflowSearchRedirect-
|
|
58
|
+
const WorkflowBuilder$2 = lazy(() => import("./WorkflowSearchRedirect-_DGtocE_.js").then((n) => n.r).then((m) => ({ default: m.WorkflowBuilder })));
|
|
59
59
|
const ExecutionsListPage$1 = lazy(() => import("./ExecutionDetailPage-bhdyEtzU.js").then((n) => n.b).then((m) => ({ default: m.ExecutionsListPage })));
|
|
60
60
|
const ExecutionDetailPage$1 = lazy(() => import("./ExecutionDetailPage-bhdyEtzU.js").then((n) => n.n).then((m) => ({ default: m.ExecutionDetailPage })));
|
|
61
61
|
const PageLoader = () => /* @__PURE__ */ jsx("div", {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
3
3
|
import { H as useFlowStore, a as changedSourceFiles, c as diagnosticsByPath, d as isEditableSourcePath, f as projectLanguage, h as sourceLanguageOf, l as interfaceFields, o as childRunIdOf, p as readCodeWorkflowState, r as CODE_WORKFLOW_NODE_TYPE, s as defaultSourcePath, u as interfaceHandlers } from "./node-operation-selection--oy-yEq_.js";
|
|
4
4
|
import { $t as useNodeExecution, An as clearCodeWorkflowDefinitionCache, H as nodeSubtitle, Kn as useDurableFunctionNodesEnabled, Mn as useCodeWorkflowInterface, Pn as declaredSignals, U as nodeTitle, Zn as usePhaseCFlags, ar as getNodeDetail, at as latestNodeLog, ct as useGuardedNavigate, on as fieldsFromValue, q as useNodeConfig, rt as FieldTree } from "./FluidGridsProvider-CGu1DfIa.js";
|
|
5
|
-
import { G as NodeParamsForm, I as NodeExecutionActions, R as NodeSettingsPanel, Z as CodeEditorField, at as TabButton, et as ReadOnlyFieldset, h as TableView, m as JsonView, nt as SCHEDULE_NODE_TYPE, q as NDV_Z_INDEX, rt as SchedulePanel } from "./flow-builder-
|
|
5
|
+
import { G as NodeParamsForm, I as NodeExecutionActions, R as NodeSettingsPanel, Z as CodeEditorField, at as TabButton, et as ReadOnlyFieldset, h as TableView, m as JsonView, nt as SCHEDULE_NODE_TYPE, q as NDV_Z_INDEX, rt as SchedulePanel } from "./flow-builder-khQcrBqv.js";
|
|
6
6
|
import { Ai as getFluidGridsClientSafe, Er as WorkflowCodeSourceDocument, Mr as WorkflowEditLeaseStatusDocument, Nt as NodeStatesDocument, Vi as describeOperationError, Wi as throwIfResultError, gt as FileDownloadUrlDocument, ki as getFluidGridsClient, m as BuildWorkflowCodeDocument } from "./node-endpoint-configs-n4xr62e4.js";
|
|
7
7
|
import { $t as useWorkflowPinnedDataQuery, Lt as useUnpinNodeDataMutation, pt as usePinNodeDataMutation } from "./useAgentDefinitions-D8Q-GkM7.js";
|
|
8
8
|
import { hI as FLUIDGRIDS_PERMISSIONS, xI as useFluidGridsPermission } from "./graphql-types-XcDLtFwU.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { A as nodeAccent, H as useFlowStore, j as NodeTypeIcon } from "./node-operation-selection--oy-yEq_.js";
|
|
3
3
|
import { $t as useNodeExecution, H as nodeSubtitle, U as nodeTitle, ar as getNodeDetail, q as useNodeConfig } from "./FluidGridsProvider-CGu1DfIa.js";
|
|
4
|
-
import { I as NodeExecutionActions, L as NodeEditorTabBody, it as NodeEditorTabs, ot as NodeInputFields, tt as useNodeEditorTab } from "./flow-builder-
|
|
4
|
+
import { I as NodeExecutionActions, L as NodeEditorTabBody, it as NodeEditorTabs, ot as NodeInputFields, tt as useNodeEditorTab } from "./flow-builder-khQcrBqv.js";
|
|
5
5
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
6
6
|
import { useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
7
7
|
import { useReactFlow, useStore } from "@xyflow/react";
|
package/dist/templates.js
CHANGED
package/dist/workflow-builder.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as WorkflowBuilder, f as WorkflowBuilderCore, n as WorkflowBuilder$1, t as WorkflowSearchRedirect } from "./WorkflowSearchRedirect-
|
|
2
|
+
import { d as WorkflowBuilder, f as WorkflowBuilderCore, n as WorkflowBuilder$1, t as WorkflowSearchRedirect } from "./WorkflowSearchRedirect-_DGtocE_.js";
|
|
3
3
|
import { H as useFlowStore } from "./node-operation-selection--oy-yEq_.js";
|
|
4
4
|
import { f as refetchStoreNodes } from "./FluidGridsProvider-CGu1DfIa.js";
|
|
5
5
|
|