@burdenoff/fluidgrids-fe-sdk 2026.1112.9 → 2026.1112.11
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/{AiStudioPage-DfoV1Olc.js → AiStudioPage-Q3455WO6.js} +4 -4
- package/dist/{DataSinkDashboardPage-Dt3xTBb8.js → DataSinkDashboardPage-B5bqPnUn.js} +28 -11
- package/dist/{ExecutionDetailPage-CcUxFexZ.js → ExecutionDetailPage-UyXErYuS.js} +5 -5
- package/dist/{ExecutionsListPage-JpByw6nA.js → ExecutionsListPage-CUJQA0Vk.js} +4 -4
- package/dist/{FluidGridsProvider-TQ-aDPtn.js → FluidGridsProvider-CGi9a1So.js} +35 -3
- package/dist/{HistoryPage-s9pl5gyl.js → HistoryPage-DLqmeQ12.js} +1 -1
- package/dist/{InsightsPage-CtjJCky-.js → InsightsPage-CqtPCpj7.js} +301 -207
- package/dist/{MissingNodesInstallModal-olEc52p2.js → MissingNodesInstallModal-Df4fEAnr.js} +1 -1
- package/dist/{NodesPage-BSNpOUMX.js → NodesPage-YQ-hP60x.js} +210 -254
- package/dist/{OpenTemplateAsCodeButton-Dh3ee2OR.js → OpenTemplateAsCodeButton-BmuHhDRr.js} +1 -1
- package/dist/{PaidTemplateConfirm-DjmVi_m-.js → PaidTemplateConfirm-BTrK35af.js} +1 -1
- package/dist/{SettingsPage-ywyjIAL8.js → SettingsPage-CVvaQ_g9.js} +2 -2
- package/dist/{TemplateCard--WYJZlA_.js → TemplateCard-DFbYdC2c.js} +3 -3
- package/dist/{TemplateConfigurationModal-cd0-QVMZ.js → TemplateConfigurationModal-Dw2UgWYF.js} +2 -2
- package/dist/{TemplateDetailPanel-C-2JuXg6.js → TemplateDetailPanel-DDySr7_1.js} +1 -1
- package/dist/{TemplatePreview-BCnGjMuN.js → TemplatePreview-D8zWdTGv.js} +6 -6
- package/dist/{TemplatesPage-u7bXJYfv.js → TemplatesPage-XCwxJjN6.js} +5 -5
- package/dist/VariablesPage-DpiLh99E.js +1006 -0
- package/dist/{WorkflowBuilder-BWxBmBoP.js → WorkflowBuilder-BaNAX7Nk.js} +3 -3
- package/dist/{WorkflowBuilder-DxAAPHsn.js → WorkflowBuilder-CXqwzR7a.js} +7 -7
- package/dist/{WorkflowSearchRedirect-BGKduhfZ.js → WorkflowSearchRedirect-DsQ71VcC.js} +1 -1
- package/dist/{WorkflowsList-Bocag4TX.js → WorkflowsList-DQW-WLl5.js} +8 -284
- package/dist/{agentTools-JHtYGgd7.js → agentTools-edsllozS.js} +3 -3
- package/dist/{canvasNoteTools-B2ouyIbj.js → canvasNoteTools-DzNTcQGo.js} +2 -2
- package/dist/{code-editor-field-CWGZyNGM.js → code-editor-field-B2l-B8in.js} +1 -1
- package/dist/executions.js +2 -2
- package/dist/{flow-builder-DzKPrW2r.js → flow-builder-B2JGvYeK.js} +12 -12
- package/dist/history.js +1 -1
- package/dist/{index-CGCAcRKo.d.ts → index-ChYBGz_a.d.ts} +44 -16
- package/dist/index.d.ts +1 -1
- package/dist/index.js +243 -29
- package/dist/{node-detail-view-DNilUGcx.js → node-detail-view-BDXhEGVD.js} +5 -5
- package/dist/{node-editor-tab-body-XBedxkpN.js → node-editor-tab-body-DBnsqYUK.js} +2 -2
- package/dist/nodes.js +1 -1
- package/dist/observability.d.ts +1 -1
- package/dist/observability.js +2 -2
- package/dist/{operations-HU-xb78H.js → operations-D7o-gUzy.js} +56 -17
- package/dist/{popover-BC4r84K0.js → popover-Cl7_tXph.js} +1 -1
- package/dist/{quick-config-panel-BPmrhIOb.js → quick-config-panel-C_Z0RXEG.js} +3 -3
- package/dist/{schedule-panel-DJN1TDQH.js → schedule-panel-CFAKmrBH.js} +4 -4
- package/dist/settings.js +1 -1
- package/dist/{sidebar-node-editor-DKdfcd2r.js → sidebar-node-editor-DZZlDElK.js} +3 -3
- package/dist/templates.js +2 -2
- package/dist/{useDurableParity-B3h8jqP0.js → useDurableParity-jtqJF547.js} +1 -1
- package/dist/{useExecutions-BbkBSYpS.js → useExecutions-D2iKpt1Z.js} +2 -2
- package/dist/{useObservability-BASo2sA3.js → useObservability-DIhzs9F-.js} +40 -10
- package/dist/{useRunHistory-C3Pv_SJW.js → useRunHistory-BhVY82Pg.js} +1 -1
- package/dist/{useVariables-cI8uLwye.js → useVariables-2ddyJX4a.js} +6 -4
- package/dist/{useWorkflowCodeExport-k5Emm4ZS.js → useWorkflowCodeExport-BXy4NPsE.js} +1 -1
- package/dist/useWorkflowOrganization-C4y6BOnN.js +282 -0
- package/dist/{useWorkflows-CRUlQBd3.js → useWorkflows-Clsu0o8t.js} +1 -1
- package/dist/{utils-uaL5UVxb.js → utils-C0dtnN4R.js} +31 -1
- package/dist/workflow-builder.js +4 -4
- package/dist/{workflow-code-transfer-Cshsgf2H.js → workflow-code-transfer-DemcCpOv.js} +1 -1
- package/dist/workflow-pages.d.ts +1 -1
- package/dist/workflow-pages.js +15 -15
- package/dist/workflows-list.js +1 -1
- package/package.json +1 -1
- package/dist/VariablesPage-CPL34WBc.js +0 -593
- package/dist/node-endpoint-configs-BI7zc8eM.js +0 -37
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
3
|
import { t as ThemeProvider } from "./theme-provider-B3mIuz2d.js";
|
|
4
|
-
import { a as useAiWorkflowTemplates, i as enrichDraftNodes, n as AI_DRAFT_MAX_PROMPT_LENGTH, r as draftToCanvas, t as FlowBuilderPage } from "./flow-builder-
|
|
5
|
-
import {
|
|
4
|
+
import { a as useAiWorkflowTemplates, i as enrichDraftNodes, n as AI_DRAFT_MAX_PROMPT_LENGTH, r as draftToCanvas, t as FlowBuilderPage } from "./flow-builder-B2JGvYeK.js";
|
|
5
|
+
import { At as classifyCreateRefusal, B as buildOperationSeed, kt as builderPathOf, u as ensureNodeTypesLoaded } from "./FluidGridsProvider-CGi9a1So.js";
|
|
6
6
|
import { _ as throwIfResultError, n as getFluidGridsClient } from "./client-C9XSzSXr.js";
|
|
7
7
|
import { a as notifyFluidGridsAiCreditsUpdated, t as AiCreditBalanceSlot } from "./aiCreditsBridge-BuE92tKo.js";
|
|
8
8
|
import { Ir as WorkflowGenerationDocument, x as CancelWorkflowGenerationDocument, xt as GenerateWorkflowFromPromptDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
9
|
-
import { n as useCreateWorkflow } from "./useWorkflows-
|
|
9
|
+
import { n as useCreateWorkflow } from "./useWorkflows-Clsu0o8t.js";
|
|
10
10
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
11
11
|
import { t as BILLING_PLANS_PATH } from "./quota-Cdt8yz7N.js";
|
|
12
|
-
import { c as CreateWorkflowRefusalDialog } from "./useWorkflowCodeExport-
|
|
12
|
+
import { c as CreateWorkflowRefusalDialog } from "./useWorkflowCodeExport-BXy4NPsE.js";
|
|
13
13
|
import { s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
14
14
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
15
15
|
import { useNavigate } from "react-router";
|
|
@@ -1,14 +1,29 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
3
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
4
|
+
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
5
|
+
import { n as useDataSinks, t as useDataSinkData } from "./useObservability-DIhzs9F-.js";
|
|
6
|
+
import { c as prettyJson, r as formatTimestamp, t as formatBytes } from "./utils-C0dtnN4R.js";
|
|
6
7
|
import { useEffect, useMemo, useState } from "react";
|
|
7
8
|
import { Icon } from "@iconify/react";
|
|
8
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { Input } from "@burdenoff/fe-libs/ui";
|
|
10
11
|
import { Button as Button$1 } from "@burdenoff/fe-libs/button";
|
|
11
12
|
|
|
13
|
+
// src/modules/observability/hooks/useDebouncedValue.ts
|
|
14
|
+
/**
|
|
15
|
+
* `value`, once it has stopped changing for `delayMs`. Used for the Data sinks
|
|
16
|
+
* search so each keystroke does not send its own server query (BOFF-11851).
|
|
17
|
+
*/
|
|
18
|
+
function useDebouncedValue(value, delayMs) {
|
|
19
|
+
const [settled, setSettled] = useState(value);
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
const timer = setTimeout(() => setSettled(value), delayMs);
|
|
22
|
+
return () => clearTimeout(timer);
|
|
23
|
+
}, [value, delayMs]);
|
|
24
|
+
return settled;
|
|
25
|
+
}
|
|
26
|
+
|
|
12
27
|
// src/modules/observability/pages/DataSinkDashboardPage.tsx
|
|
13
28
|
var DataSinkDashboardPage_exports = /* @__PURE__ */ __exportAll({ DataSinkDashboardPage: () => DataSinkDashboardPage });
|
|
14
29
|
function valueLabel(value) {
|
|
@@ -88,9 +103,11 @@ function SinkCard({ sink, selected, onSelect }) {
|
|
|
88
103
|
}
|
|
89
104
|
function DataSinkDashboardPage() {
|
|
90
105
|
const tr = useTr();
|
|
106
|
+
const v2 = useNavigationV2();
|
|
91
107
|
const [search, setSearch] = useState("");
|
|
108
|
+
const settledSearch = useDebouncedValue(search, 300);
|
|
92
109
|
const [selectedId, setSelectedId] = useState(null);
|
|
93
|
-
const { sinks, totalCount, loading, error, refetch } = useDataSinks(
|
|
110
|
+
const { sinks, totalCount, activeCount, loading, error, refetch } = useDataSinks(settledSearch, { includeInactive: v2 });
|
|
94
111
|
const selectedSink = useMemo(() => sinks.find((sink) => sink.id === selectedId) ?? sinks[0] ?? null, [selectedId, sinks]);
|
|
95
112
|
const { sinkData, loading: dataLoading, error: dataError, refetch: refetchData } = useDataSinkData(selectedSink);
|
|
96
113
|
useEffect(() => {
|
|
@@ -98,6 +115,7 @@ function DataSinkDashboardPage() {
|
|
|
98
115
|
}, [selectedId, selectedSink]);
|
|
99
116
|
const payload = sinkData?.extracted ?? sinkData?.raw;
|
|
100
117
|
const totalBytes = sinks.reduce((total, sink) => total + sink.sizeBytes, 0);
|
|
118
|
+
const selectedUpdatedAt = formatTimestamp(selectedSink?.lastRefreshedAt);
|
|
101
119
|
return /* @__PURE__ */ jsxs("div", {
|
|
102
120
|
className: "min-h-screen bg-background-primary p-4 sm:p-6",
|
|
103
121
|
children: [
|
|
@@ -149,7 +167,7 @@ function DataSinkDashboardPage() {
|
|
|
149
167
|
children: tr("fluidgrids.dataSinks.activeSinks", "Active sinks")
|
|
150
168
|
}), /* @__PURE__ */ jsx("p", {
|
|
151
169
|
className: "mt-2 text-2xl font-semibold text-status-success-text",
|
|
152
|
-
children:
|
|
170
|
+
children: activeCount
|
|
153
171
|
})]
|
|
154
172
|
}),
|
|
155
173
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -187,7 +205,7 @@ function DataSinkDashboardPage() {
|
|
|
187
205
|
}),
|
|
188
206
|
!loading && sinks.length === 0 && /* @__PURE__ */ jsx("div", {
|
|
189
207
|
className: "rounded-lg border border-dashed border-border-secondary p-6 text-center text-sm text-text-secondary",
|
|
190
|
-
children: tr("fluidgrids.dataSinks.empty", "No active DataSinks found.")
|
|
208
|
+
children: v2 ? tr("fluidgrids.dataSinks.emptyAll", "No data sinks found.") : tr("fluidgrids.dataSinks.empty", "No active DataSinks found.")
|
|
191
209
|
}),
|
|
192
210
|
sinks.map((sink) => /* @__PURE__ */ jsx(SinkCard, {
|
|
193
211
|
sink,
|
|
@@ -225,14 +243,13 @@ function DataSinkDashboardPage() {
|
|
|
225
243
|
children: selectedSink.name || selectedSink.key
|
|
226
244
|
}), /* @__PURE__ */ jsxs("p", {
|
|
227
245
|
className: "mt-1 font-mono text-xs text-text-secondary",
|
|
228
|
-
children: [
|
|
229
|
-
selectedSink.key,
|
|
230
|
-
" ·",
|
|
246
|
+
children: [selectedSink.key, selectedUpdatedAt && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
231
247
|
" ",
|
|
248
|
+
"· ",
|
|
232
249
|
tr("fluidgrids.dataSinks.updated", "Updated"),
|
|
233
250
|
" ",
|
|
234
|
-
|
|
235
|
-
]
|
|
251
|
+
selectedUpdatedAt
|
|
252
|
+
] })]
|
|
236
253
|
})]
|
|
237
254
|
}), /* @__PURE__ */ jsxs(Button$1, {
|
|
238
255
|
variant: "outline",
|
|
@@ -257,7 +274,7 @@ function DataSinkDashboardPage() {
|
|
|
257
274
|
children: [
|
|
258
275
|
/* @__PURE__ */ jsx("span", { children: sinkData.cached ? tr("fluidgrids.dataSinks.cached", "Cached") : tr("fluidgrids.dataSinks.fresh", "Fresh") }),
|
|
259
276
|
/* @__PURE__ */ jsxs("span", { children: ["v", sinkData.version] }),
|
|
260
|
-
sinkData.totalCount !== null && sinkData.totalCount !== void 0 && /* @__PURE__ */
|
|
277
|
+
sinkData.totalCount !== null && sinkData.totalCount !== void 0 && /* @__PURE__ */ jsx("span", { children: tr("fluidgrids.dataSinks.rowCount", "{{count}} rows", { count: sinkData.totalCount }) })
|
|
261
278
|
]
|
|
262
279
|
}), /* @__PURE__ */ jsx(DataPreview, { value: payload })] })
|
|
263
280
|
] })]
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
|
-
import { c as errorAdvice, d as NodeStatusBadge, i as useRunPending, l as needsReconnect, n as useDurableParityRunFields, o as ConfirmStopRunDialog, r as useRunMetadata, t as setRunVersioningOverride, u as ExecutionStatusBadge } from "./useDurableParity-
|
|
3
|
+
import { c as errorAdvice, d as NodeStatusBadge, i as useRunPending, l as needsReconnect, n as useDurableParityRunFields, o as ConfirmStopRunDialog, r as useRunMetadata, t as setRunVersioningOverride, u as ExecutionStatusBadge } from "./useDurableParity-jtqJF547.js";
|
|
4
4
|
import { n as formatRunVersion, r as nodeDisplayTitle, t as buildNodeDisplayMap } from "./run-display-BycKYSU0.js";
|
|
5
5
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
6
6
|
import { s as isAgentNodeType } from "./agent-form-Bfvm32j1.js";
|
|
7
|
-
import {
|
|
7
|
+
import { En as canSignalRun, L as describeRunError, On as durableInterfaceOf, R as describeRunStep, dn as nodeStateDurationMs, fn as runDurationMs, jn as runSignalTargets, un as formatElapsedMs } from "./FluidGridsProvider-CGi9a1So.js";
|
|
8
8
|
import { n as useFgAskable, r as useFgAskableSelection } from "./askAboutBridge-BV8m95kk.js";
|
|
9
9
|
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
10
10
|
import { t as TechnicalDetails } from "./TechnicalDetails-D4xGy201.js";
|
|
11
|
-
import { _ as shortRunId, g as runChainLinks, h as parseMetadataDefinition, m as overrideRequestOf, n as useExecution, p as callbackTone, r as useExecutionActions, s as buildRetryTriggerInput, t as useAutoRefresh } from "./useExecutions-
|
|
11
|
+
import { _ as shortRunId, g as runChainLinks, h as parseMetadataDefinition, m as overrideRequestOf, n as useExecution, p as callbackTone, r as useExecutionActions, s as buildRetryTriggerInput, t as useAutoRefresh } from "./useExecutions-D2iKpt1Z.js";
|
|
12
12
|
import { t as RunActionsMenu } from "./RunActionsMenu-BE_1r3bF.js";
|
|
13
13
|
import { _ as throwIfResultError, m as describeOperationError, n as getFluidGridsClient, r as getFluidGridsClientSafe, x as getFluidGridsConfig } from "./client-C9XSzSXr.js";
|
|
14
14
|
import { Cn as RunLogsDocument, Qr as WorkflowRunHierarchyDocument, ft as ExplainRunDocument, o as AgentStepUpdatedDocument, pn as RunAiUsageDocument, s as AgentTraceDocument, xn as RunLogAppendedDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
@@ -20,14 +20,14 @@ import { a as encodedPayloadBytes, f as EffectBadge, h as useRunPolicyDecisions,
|
|
|
20
20
|
import { n as useWorkflowProposal, o as canSaveRunAsTestCase, r as saveRunAsTestCase, t as WorkflowProposalCard } from "./WorkflowProposalCard-BvmJ5ea8.js";
|
|
21
21
|
import { t as AiCreditBalanceSlot } from "./aiCreditsBridge-BuE92tKo.js";
|
|
22
22
|
import { a as fetchRunFailureClusters, i as dismissRunFailureCluster, r as OPEN_STATUSES, t as BUCKET_LABELS } from "./FailureTriagePanel-BjatYyAa.js";
|
|
23
|
-
import { a as useDurableRunFields, i as useDeterminismStatus, n as SignalRunDialog, o as useRunStackTrace, r as terminateDurableRun, s as RunHistoryView, t as useRunHistory } from "./useRunHistory-
|
|
23
|
+
import { a as useDurableRunFields, i as useDeterminismStatus, n as SignalRunDialog, o as useRunStackTrace, r as terminateDurableRun, s as RunHistoryView, t as useRunHistory } from "./useRunHistory-BhVY82Pg.js";
|
|
24
24
|
import { $P as VersioningBehavior, FI as WorkflowUpdateWaitFor, L as AgentStepKind, _I as WorkflowQueryRejectCondition, jd as ErrorType } from "./graphql-types-v6CTGwA0.js";
|
|
25
25
|
import { a as formatTokens, d as formatMicroUsd, o as modelLabel, r as aiCost } from "./ai-usage-bmUn-gJP.js";
|
|
26
26
|
import { _ as useWorkflowTestsEnabled, l as useDurableFunctionNodesEnabled, m as usePhaseCFlags, u as useDurableParityEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
27
27
|
import { A as revokeSignalToken, B as updateActivityOptions, D as resetActivities, E as queryRun, N as sendRunUpdate, O as resetRun, R as unpauseActivities, S as fetchSignalTokens, V as upsertRunSearchAttributes, _ as fetchPauseRules, b as fetchRunUpdate, d as failActivityById, g as fetchCodecServerSettings, i as completeActivityById, k as resetRunToLastCleanTask, s as createSignalToken, v as fetchRunControlFields, w as pauseActivities, y as fetchRunHistoryArchive } from "./api-m8hX_l2k.js";
|
|
28
28
|
import { a as fetchTaskQueueStats } from "./api-Dw8nfVRD.js";
|
|
29
29
|
import { a as RUN_CONTROL_DIALOG_STYLE, c as parseJsonInput, i as NativeSelect, l as parseJsonObjectInput, n as JsonBlock, o as StatusPill, r as JsonField, s as newRunControlId, t as FieldError, u as useResource } from "./shared-CMfn30xT.js";
|
|
30
|
-
import { v as useWorkflowVersions } from "./useWorkflows-
|
|
30
|
+
import { v as useWorkflowVersions } from "./useWorkflows-Clsu0o8t.js";
|
|
31
31
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
32
32
|
import { Link, useNavigate, useParams, useSearchParams } from "react-router";
|
|
33
33
|
import { Icon } from "@iconify/react";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
3
|
import { M as DEFAULT_EXECUTIONS_FILTER, N as useExecutionsStore, m as describeOperationError, n as getFluidGridsClient } from "./client-C9XSzSXr.js";
|
|
4
|
-
import { b as validateDateRange, c as EMPTY_SEARCH_FILTER, d as searchFilterConflicts, i as useExecutionStats, l as OPERATORS_BY_TYPE, o as useExecutionsWithStore, r as useExecutionActions, t as useAutoRefresh, u as buildSearchAttributeFilter } from "./useExecutions-
|
|
4
|
+
import { b as validateDateRange, c as EMPTY_SEARCH_FILTER, d as searchFilterConflicts, i as useExecutionStats, l as OPERATORS_BY_TYPE, o as useExecutionsWithStore, r as useExecutionActions, t as useAutoRefresh, u as buildSearchAttributeFilter } from "./useExecutions-D2iKpt1Z.js";
|
|
5
5
|
import { m as usePhaseCFlags, u as useDurableParityEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
6
6
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
7
7
|
import { n as useFluidGridsPageControls } from "./pageControlsBridge-0pX9s-3k.js";
|
|
8
8
|
import { t as executionsControls } from "./pageControlSpecs-DZJ9K37m.js";
|
|
9
9
|
import { t as TagFilterSelect } from "./TagFilterSelect-DcusTt1p.js";
|
|
10
10
|
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
11
|
-
import { a as useRunStatusCounts, c as errorAdvice, f as runStatusLabels, o as ConfirmStopRunDialog, p as RUN_STATUS_CONFIG, s as ADVICE_ERROR_TYPES, u as ExecutionStatusBadge } from "./useDurableParity-
|
|
11
|
+
import { a as useRunStatusCounts, c as errorAdvice, f as runStatusLabels, o as ConfirmStopRunDialog, p as RUN_STATUS_CONFIG, s as ADVICE_ERROR_TYPES, u as ExecutionStatusBadge } from "./useDurableParity-jtqJF547.js";
|
|
12
12
|
import { t as Disclosure } from "./Disclosure-DQiUKrqd.js";
|
|
13
13
|
import { n as formatRunVersion } from "./run-display-BycKYSU0.js";
|
|
14
|
-
import {
|
|
14
|
+
import { fn as runDurationMs, un as formatElapsedMs } from "./FluidGridsProvider-CGi9a1So.js";
|
|
15
15
|
import { r as useRunHumanRequests } from "./useHumanRequests-ZiR0sSzS.js";
|
|
16
16
|
import { n as runListLinkKey, t as runListFilterFromSearch } from "./run-list-links-eUhZB1ju.js";
|
|
17
17
|
import { t as TechnicalDetails } from "./TechnicalDetails-D4xGy201.js";
|
|
18
18
|
import { t as RunActionsMenu } from "./RunActionsMenu-BE_1r3bF.js";
|
|
19
|
-
import { h as useWorkflowDefinitions } from "./useWorkflows-
|
|
19
|
+
import { h as useWorkflowDefinitions } from "./useWorkflows-Clsu0o8t.js";
|
|
20
20
|
import { t as FluidGridsDocsLink } from "./FluidGridsDocsLink-JxkBpOeb.js";
|
|
21
21
|
import { s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
22
22
|
import { C as jsonArg, F as startBatchOperation, I as startBatchTerminate, P as startBatchExport, m as fetchBatchOperations, n as cancelBatchOperation, p as fetchBatchOperation, x as fetchSearchAttributes } from "./api-m8hX_l2k.js";
|
|
@@ -5,11 +5,10 @@ import { i as getGlobalStoreClient, o as resetGlobalStoreClient, r as createGlob
|
|
|
5
5
|
import { A as nodeAccent, C as nodeAdaptersOf, D as NodeCard, E as resolveOutputHandles, H as useFlowStore, I as partitionStickyNotes, L as resolveStickyColor, N as DEFAULT_STICKY_COLOR, O as NodeCardBody, P as STICKY_COLORS, R as stickySurfaceStyle, T as resolveInputHandles, V as STICKY_NOTE_TYPE, W as isNodeTrigger, _ as LogicNodeCard, b as alignPlainOutputEdges, i as WAIT_FOR_SIGNAL_NODE_TYPE, j as NodeTypeIcon, k as NodeCardHeader, l as interfaceFields, m as readSignalName, n as synchronizeOperationUpdate, p as readCodeWorkflowState, r as CODE_WORKFLOW_NODE_TYPE, t as resolveOperationName, u as interfaceHandlers, v as InputHandles, w as outputHandlesSpacerHeight, x as hasNodeManifest, y as OutputHandles } from "./node-operation-selection-DAbS6jSY.js";
|
|
6
6
|
import { n as FluidGridsTranslationProvider, r as useTr, t as ENGLISH_FALLBACK_TRANSLATOR } from "./TranslationBridge-Da-TPgQm.js";
|
|
7
7
|
import { l as useDurableFunctionNodesEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
8
|
-
import { Dn as SaveWorkflowDraftDocument, M as CreateWorkflowDefinitionDocument, Mt as NodePaletteEntriesDocument, Or as WorkflowDefinitionDocument, Yn as TriggerWorkflowDocument, ct as ExecutionDetailDocument, h as BuilderRunStatusDocument, jt as NodeManifestsDocument, m as BuilderRunNodeDetailsDocument, ot as EventRegistrationsDocument, st as ExecuteStepDocument, yn as RunFromNodeDocument, z as CreateWorkflowVersionDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
8
|
+
import { Dn as SaveWorkflowDraftDocument, M as CreateWorkflowDefinitionDocument, Mt as NodePaletteEntriesDocument, Or as WorkflowDefinitionDocument, Yn as TriggerWorkflowDocument, ct as ExecutionDetailDocument, h as BuilderRunStatusDocument, jt as NodeManifestsDocument, kt as NodeEndpointConfigsDocument, m as BuilderRunNodeDetailsDocument, ot as EventRegistrationsDocument, st as ExecuteStepDocument, yn as RunFromNodeDocument, z as CreateWorkflowVersionDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
9
9
|
import { a as collectExtensions, n as QUOTA_EXHAUSTED_CODE, o as errorCodesOf, r as RUNS_QUOTA_NAME, s as findQuotaRefusal } from "./quota-Cdt8yz7N.js";
|
|
10
10
|
import { i as emitRunStarted, n as emitRunFailed, r as emitRunLimitHit, s as emitWorkflowCreated } from "./fluidgridsEvents-Dm5CaHtr.js";
|
|
11
11
|
import { n as useFgAskable } from "./askAboutBridge-BV8m95kk.js";
|
|
12
|
-
import { t as fetchAllNodeEndpointConfigs } from "./node-endpoint-configs-BI7zc8eM.js";
|
|
13
12
|
import { createContext, memo, useCallback, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
14
13
|
import { useNavigate, useParams } from "react-router";
|
|
15
14
|
import { ApolloProvider } from "@apollo/client/react";
|
|
@@ -6917,6 +6916,39 @@ const getNodeMetadata = (value) => {
|
|
|
6917
6916
|
};
|
|
6918
6917
|
};
|
|
6919
6918
|
|
|
6919
|
+
// src/utils/node-endpoint-configs.ts
|
|
6920
|
+
const NODE_CONFIG_PAGE_SIZE = 500;
|
|
6921
|
+
/** Stops a server that keeps answering `hasMore: true` from looping forever. */
|
|
6922
|
+
const NODE_CONFIG_MAX_PAGES = 20;
|
|
6923
|
+
/**
|
|
6924
|
+
* `query` is any `nodeEndpointConfigs` document with the same variables: the builder
|
|
6925
|
+
* palette uses a listing without the operations JSON (BOFF-10387).
|
|
6926
|
+
*/
|
|
6927
|
+
async function fetchAllNodeEndpointConfigs(client, filters = {}, fetchPolicy = "network-only", query = NodeEndpointConfigsDocument) {
|
|
6928
|
+
const byId = /* @__PURE__ */ new Map();
|
|
6929
|
+
let offset = 0;
|
|
6930
|
+
for (let page = 0; page < 20; page++) {
|
|
6931
|
+
const { data } = await client.query({
|
|
6932
|
+
query,
|
|
6933
|
+
variables: {
|
|
6934
|
+
...filters,
|
|
6935
|
+
pagination: {
|
|
6936
|
+
limit: 500,
|
|
6937
|
+
offset
|
|
6938
|
+
}
|
|
6939
|
+
},
|
|
6940
|
+
fetchPolicy
|
|
6941
|
+
});
|
|
6942
|
+
const result = data?.nodeEndpointConfigs;
|
|
6943
|
+
const configs = result?.configs ?? [];
|
|
6944
|
+
for (const config of configs) if (config?.id && !byId.has(config.id)) byId.set(config.id, config);
|
|
6945
|
+
if (!result?.pagination?.hasMore || configs.length === 0) return [...byId.values()];
|
|
6946
|
+
offset += configs.length;
|
|
6947
|
+
}
|
|
6948
|
+
console.warn(`[Workflows] Stopped loading node configs after ${20} pages; the catalog may be incomplete.`);
|
|
6949
|
+
return [...byId.values()];
|
|
6950
|
+
}
|
|
6951
|
+
|
|
6920
6952
|
// src/generated/global-operation-types.ts
|
|
6921
6953
|
const CreateStoreOrderDocument = {
|
|
6922
6954
|
"kind": "Document",
|
|
@@ -10938,4 +10970,4 @@ function useFluidGridsContext() {
|
|
|
10938
10970
|
return context;
|
|
10939
10971
|
}
|
|
10940
10972
|
|
|
10941
|
-
export {
|
|
10973
|
+
export { selectedOperationOf as $, revisionOf as $t, StoreNodeProductsByTypeDocument as A, payloadFromCardValues as An, classifyCreateRefusal as At, buildOperationSeed as B, loadMarkdown as Bn, leaseCallQueue as Bt, GetMyNodeInstallationsDocument as C, clearCodeWorkflowDefinitionCache as Cn, touchesSavedFields as Ct, InstallWorkflowNodeDocument as D, declaredSignals as Dn, useSaveWorkflow as Dt, InstallPurchasedNodeDocument as E, canSignalRun as En, useFlowValidator as Et, fetchAllNodeEndpointConfigs as F, matchesAdapterProvider as Fn, workflowSaveQueue as Ft, workflowParameterIssues as G, shouldReleaseForIdle as Gt, useInsertNode as H, BuilderReadOnlyProvider as Hn, phaseAfterAcquire as Ht, getNodeMetadata as I, newConnectionProviderKey as In, useEditLeaseLocked as It, fixedParameterState as J, forgetSessionForReload as Jt, asRecord as K, tickAction as Kt, describeRunError as L, replaceAdapterConnections as Ln, useEditLeaseStore as Lt, UninstallOrganizationPrivateNodeDocument as M, signalPayloadCard as Mn, refusalOfQuota as Mt, UninstallWorkflowNodeDocument as N, connectionsForAdapter as Nn, saveIndicatorOf as Nt, MyWorkflowTemplateSubmissionsDocument as O, durableInterfaceOf as On, blankWorkflowCreateInput as Ot, WithdrawWorkflowTemplateSubmissionDocument as P, isOptionalAdapter as Pn, useSaveStatusStore as Pt, paramsFromOperation as Q, rememberRevision as Qt, describeRunStep as R, getNodeDetail as Rn, bannerOf as Rt, CreateStoreOrderDocument as S, useNodeRegistryRevision as Sn, savedEverythingBeforeLeaving as St, InstallOrganizationPrivateNodeDocument as T, useCodeWorkflowInterface as Tn, isFlowComplete as Tt, MissingParametersDialog as U, useBuilderReadOnly as Un, phaseAfterTakeOver as Ut, createConfiguredNode as V, useMarkdownRenderer as Vn, leaseCallSequence as Vt, useRunGuard as W, releasesOnClose as Wt, nodeTitle as X, sessionBeforeReload as Xt, nodeSubtitle as Y, rememberSessionForReload as Yt, optionText as Z, rememberOwnStatusChange as Zt, registryNodeData as _, resolveNodeOperation as _n, autosaveAllowedFor as _t, NODES_METADATA as a, inAppLeaveTarget as an, optionListValues as at, BrowseWorkflowNodesDocument as b, openRunQuotaUpgradePrompt as bn, editingLeaseLocked as bt, ensureInstalledNodeTypesLoaded as c, workflowFingerprint as cn, SwitchRulesEditor as ct, ensureRegistryNodeTypesLoaded as d, nodeStateDurationMs as dn, parseMappingValue as dt, AUTOSAVE_DEBOUNCE_MS as en, useNodeConfig as et, isNodeConfigsInitialized as f, runDurationMs as fn, latestNodeLog as ft, registerWorkflowNodeTypes as g, fieldsFromValue as gn, useManualSave as gt, registerNodeManifests as h, structuredParameterType as hn, useGuardedNavigate as ht, AVAILABLE_NODES as i, findSaveConflict as in, optionListText as it, SubmitWorkflowTemplateDocument as j, runSignalTargets as jn, createThenOpen as jt, OrganizationPrivateNodesDocument as k, parseRawSignalPayload as kn, builderPathOf as kt, ensureNodeConfigsLoaded as l, useNodeExecution as ln, casesFromRules as lt, refetchStoreNodes as m, parseParameterValue as mn, missingRequiredParameters as mt, FluidGridsProvider as n, canAutosave as nn, stripSubmitActions as nt, NODE_CONFIGS as o, resettledBaseline as on, resolveLoadOptionsSpec as ot, onNodeTypesUpdate as p, formatParameterValue as pn, boundFieldsOf as pt, coerceNumber as q, EDIT_SESSION_ID as qt, useFluidGridsContext as r, codeBuildIdOf as rn, isStringOptionList as rt, NODE_TYPES as s, saveFailureActionOf as sn, ConditionTreeBuilder as st, FluidGridsContext as t, AUTOSAVE_RETRY_DELAYS_MS as tn, resolveUiSpec as tt, ensureNodeTypesLoaded as u, formatElapsedMs as un, FieldTree as ut, scheduleNodePaletteLoad as v, isParamVisible as vn, departingSave as vt, GetNodeInstallableVersionsDocument as w, loadDefinitionJson as wn, watchLeavingLosesChanges as wt, BrowseWorkflowTemplatesDocument as x, useCanvasEdges as xn, leavingLosesChanges as xt, global_operations_exports as y, useFluidGridsAnalytics as yn, editStateFor as yt, SENSITIVE_PARAM as z, buildStickyNode as zn, isLocked as zt };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
|
-
import { d as useRestoreWorkflowVersion, h as useWorkflowDefinitions } from "./useWorkflows-
|
|
3
|
+
import { d as useRestoreWorkflowVersion, h as useWorkflowDefinitions } from "./useWorkflows-Clsu0o8t.js";
|
|
4
4
|
import { i as versionsOfWorkflow, t as VersionDiffDialog } from "./VersionDiffDialog-c27yet_-.js";
|
|
5
5
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
6
6
|
import { x as getFluidGridsConfig } from "./client-C9XSzSXr.js";
|