@burdenoff/fluidgrids-fe-sdk 2026.1028.5 → 2026.1028.6
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-DHIQNBAZ.js +20 -0
- package/dist/{ExecutionsListPage-XQ5FQJ4M.js → ExecutionsListPage-IMN7OTNZ.js} +7 -7
- package/dist/{WorkflowBuilder-2UHPYNQI.js → WorkflowBuilder-VJAAKETX.js} +10 -9
- package/dist/{WorkflowsList-QBKX733V.js → WorkflowsList-3EWDWWIH.js} +7 -7
- package/dist/chunk-3KNW5QLR.js +328 -0
- package/dist/{chunk-UUUDSVC7.js → chunk-3VJ3AIFS.js} +2 -2
- package/dist/{chunk-JBLYBD2B.js → chunk-6J4RR46J.js} +6 -1
- package/dist/{chunk-CSBKB5EX.js → chunk-A2JSAGNQ.js} +1 -1
- package/dist/{chunk-DB23N7KO.js → chunk-ACUNTZTQ.js} +3 -3
- package/dist/{chunk-5LKZ4PNK.js → chunk-C4AY6JI2.js} +3 -1
- package/dist/{chunk-H7CJXSMI.js → chunk-F6NH55LU.js} +3 -3
- package/dist/{chunk-VUVTOUQ5.js → chunk-FDEZGRRL.js} +1 -1
- package/dist/{chunk-UKTLRE7N.js → chunk-FO22JCOW.js} +5 -5
- package/dist/{chunk-P2NRMJ7Z.js → chunk-HHN2TIK2.js} +1 -1
- package/dist/{chunk-LWF5J43N.js → chunk-I2ZNBBRK.js} +1 -1
- package/dist/{chunk-SSJIK6WS.js → chunk-IQE7ZY6Q.js} +2 -2
- package/dist/chunk-LOZ6XNOX.js +10550 -0
- package/dist/{chunk-QGXA2USP.js → chunk-MKKBEVXO.js} +1 -1
- package/dist/{chunk-SRZITTB2.js → chunk-NAFJQGLV.js} +4 -4
- package/dist/{chunk-Y6YOY33Z.js → chunk-Q22GC7RJ.js} +1 -1
- package/dist/{chunk-AYFKS4MM.js → chunk-QW24ZBSR.js} +1 -1
- package/dist/{chunk-FOEEDKBP.js → chunk-RLA4YUDY.js} +22 -1
- package/dist/{chunk-63BP6O6E.js → chunk-RZQPHWFV.js} +2 -2
- package/dist/{chunk-JH6YDVT5.js → chunk-STPQQDIJ.js} +6 -10554
- package/dist/{chunk-ZF55RVJ3.js → chunk-UWNYWWWG.js} +4 -4
- package/dist/{chunk-S4VYW4BR.js → chunk-VP2RXXRF.js} +120 -6
- package/dist/{chunk-JAKWVVVQ.js → chunk-VQHBQAJY.js} +15 -3
- package/dist/{chunk-WRMIYMXE.js → chunk-XZPXIOGE.js} +4 -4
- package/dist/executions.js +12 -10
- package/dist/history.js +4 -4
- package/dist/index.d.ts +355 -74
- package/dist/index.js +34 -32
- package/dist/nodes.js +2 -2
- package/dist/observability.js +6 -4
- package/dist/settings.js +5 -5
- package/dist/templates.js +9 -8
- package/dist/workflow-builder.js +11 -10
- package/dist/workflows-list.js +7 -7
- package/package.json +1 -1
- package/dist/ExecutionDetailPage-UFB7VMGE.js +0 -18
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useImportWorkflowTemplate, FlowBuilderPage, useWorkflowTemplates, TemplateCard } from './chunk-
|
|
2
|
-
import { QuotaExhaustedDialog } from './chunk-
|
|
3
|
-
import { useWorkflowDefinitions, useDuplicateWorkflow } from './chunk-
|
|
1
|
+
import { useImportWorkflowTemplate, FlowBuilderPage, useWorkflowTemplates, TemplateCard } from './chunk-STPQQDIJ.js';
|
|
2
|
+
import { QuotaExhaustedDialog } from './chunk-HHN2TIK2.js';
|
|
3
|
+
import { useWorkflowDefinitions, useDuplicateWorkflow } from './chunk-RZQPHWFV.js';
|
|
4
4
|
import { templatesControls } from './chunk-D3UWK7GY.js';
|
|
5
5
|
import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
|
|
6
6
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
7
|
-
import { BILLING_PLANS_PATH, useFluidGridsAnalytics, emitTemplateUsed, isQuotaExhaustedFailure } from './chunk-
|
|
7
|
+
import { BILLING_PLANS_PATH, useFluidGridsAnalytics, emitTemplateUsed, isQuotaExhaustedFailure } from './chunk-C4AY6JI2.js';
|
|
8
8
|
import { useTr } from './chunk-UULVIT25.js';
|
|
9
9
|
import { useState, useEffect, useMemo, useCallback } from 'react';
|
|
10
10
|
import { useParams, useNavigate } from 'react-router';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { buildNodeDisplayMap, ExecutionStatusBadge, formatRunVersion, NodeTimeline, RunLogViewer } from './chunk-
|
|
2
|
-
import { useExecution, useExecutionActions, useAutoRefresh } from './chunk-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { buildNodeDisplayMap, ExecutionStatusBadge, formatRunVersion, NodeTimeline, RunLogViewer } from './chunk-IQE7ZY6Q.js';
|
|
2
|
+
import { useExecution, useExecutionActions, useAutoRefresh } from './chunk-3VJ3AIFS.js';
|
|
3
|
+
import { fetchRunFailureClusters, OPEN_STATUSES, dismissRunFailureCluster, BUCKET_LABELS } from './chunk-3KNW5QLR.js';
|
|
4
|
+
import { useRunPolicyDecisions, RunPolicyDecisions } from './chunk-FDEZGRRL.js';
|
|
5
|
+
import { EntityTagPicker, useWorkflowProposal, WorkflowProposalCard } from './chunk-VQHBQAJY.js';
|
|
6
|
+
import { throwIfResultError, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS } from './chunk-C4AY6JI2.js';
|
|
6
7
|
import { getFluidGridsConfig } from './chunk-CY6KX4RG.js';
|
|
7
|
-
import { RunLogsDocument, RunLogAppendedDocument, ExplainRunDocument } from './chunk-
|
|
8
|
+
import { RunLogsDocument, RunLogAppendedDocument, ExplainRunDocument } from './chunk-6J4RR46J.js';
|
|
8
9
|
import { useTr } from './chunk-UULVIT25.js';
|
|
9
10
|
import { getFluidGridsClient, getFluidGridsClientSafe } from './chunk-NTWG3CJX.js';
|
|
10
11
|
import { useState, useRef, useCallback, useEffect, useMemo } from 'react';
|
|
@@ -923,6 +924,108 @@ function RunAiAssistPanel({
|
|
|
923
924
|
}
|
|
924
925
|
);
|
|
925
926
|
}
|
|
927
|
+
function RunFailureClusterCard({
|
|
928
|
+
runId,
|
|
929
|
+
status,
|
|
930
|
+
canApply,
|
|
931
|
+
onOpenWorkflow
|
|
932
|
+
}) {
|
|
933
|
+
const tr = useTr();
|
|
934
|
+
const [cluster, setCluster] = useState(null);
|
|
935
|
+
const proposal = useWorkflowProposal();
|
|
936
|
+
const { open: openProposal } = proposal;
|
|
937
|
+
const failed = status === "FAILED" || status === "TERMINATED";
|
|
938
|
+
useEffect(() => {
|
|
939
|
+
if (!failed) return;
|
|
940
|
+
let active = true;
|
|
941
|
+
fetchRunFailureClusters({
|
|
942
|
+
filter: { runId, status: OPEN_STATUSES },
|
|
943
|
+
limit: 1
|
|
944
|
+
}).then((items) => {
|
|
945
|
+
if (active) setCluster(items[0] ?? null);
|
|
946
|
+
}).catch(() => {
|
|
947
|
+
if (active) setCluster(null);
|
|
948
|
+
});
|
|
949
|
+
return () => {
|
|
950
|
+
active = false;
|
|
951
|
+
};
|
|
952
|
+
}, [failed, runId]);
|
|
953
|
+
const proposalId = cluster?.proposalId ?? null;
|
|
954
|
+
useEffect(() => {
|
|
955
|
+
if (proposalId) void openProposal(proposalId);
|
|
956
|
+
}, [openProposal, proposalId]);
|
|
957
|
+
const dismiss = useCallback(async () => {
|
|
958
|
+
if (!cluster) return;
|
|
959
|
+
try {
|
|
960
|
+
await dismissRunFailureCluster(cluster.id);
|
|
961
|
+
setCluster(null);
|
|
962
|
+
} catch (error) {
|
|
963
|
+
toast.error(error instanceof Error ? error.message : String(error));
|
|
964
|
+
}
|
|
965
|
+
}, [cluster]);
|
|
966
|
+
if (!failed || !cluster) return null;
|
|
967
|
+
const bucket = BUCKET_LABELS[String(cluster.bucket)];
|
|
968
|
+
return /* @__PURE__ */ jsxs(
|
|
969
|
+
"section",
|
|
970
|
+
{
|
|
971
|
+
className: "mb-6 rounded-lg border border-border-secondary bg-background-primary p-4",
|
|
972
|
+
"data-testid": "run-failure-cluster",
|
|
973
|
+
"data-bucket": String(cluster.bucket),
|
|
974
|
+
children: [
|
|
975
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
976
|
+
/* @__PURE__ */ jsx(
|
|
977
|
+
Icon,
|
|
978
|
+
{
|
|
979
|
+
icon: "mdi:stethoscope",
|
|
980
|
+
width: 18,
|
|
981
|
+
className: "text-text-secondary"
|
|
982
|
+
}
|
|
983
|
+
),
|
|
984
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-text-primary", children: tr("fluidgrids.triage.runCardTitle", "Repeated failure") }),
|
|
985
|
+
/* @__PURE__ */ jsxs("span", { className: "inline-flex items-center gap-1 rounded-full bg-background-secondary px-2 py-0.5 text-xs text-text-secondary", children: [
|
|
986
|
+
bucket && /* @__PURE__ */ jsx(Icon, { icon: bucket.icon, width: 14 }),
|
|
987
|
+
tr(
|
|
988
|
+
`fluidgrids.triage.bucket.${String(cluster.bucket)}`,
|
|
989
|
+
bucket?.label ?? String(cluster.bucket)
|
|
990
|
+
)
|
|
991
|
+
] }),
|
|
992
|
+
/* @__PURE__ */ jsx(
|
|
993
|
+
Button$1,
|
|
994
|
+
{
|
|
995
|
+
size: "sm",
|
|
996
|
+
variant: "ghost",
|
|
997
|
+
className: "ml-auto",
|
|
998
|
+
onClick: () => void dismiss(),
|
|
999
|
+
"data-testid": "run-failure-cluster-dismiss",
|
|
1000
|
+
children: tr("fluidgrids.triage.dismiss", "Dismiss")
|
|
1001
|
+
}
|
|
1002
|
+
)
|
|
1003
|
+
] }),
|
|
1004
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-text-primary", children: cluster.advice }),
|
|
1005
|
+
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-text-secondary", children: tr(
|
|
1006
|
+
"fluidgrids.triage.runCardCount",
|
|
1007
|
+
"{{count}} failed run(s) at {{node}} since {{since}}",
|
|
1008
|
+
{
|
|
1009
|
+
count: cluster.runCount,
|
|
1010
|
+
node: cluster.nodeId,
|
|
1011
|
+
since: new Date(String(cluster.firstSeenAt)).toLocaleString()
|
|
1012
|
+
}
|
|
1013
|
+
) }),
|
|
1014
|
+
proposal.proposal && /* @__PURE__ */ jsx("div", { className: "mt-3", children: /* @__PURE__ */ jsx(
|
|
1015
|
+
WorkflowProposalCard,
|
|
1016
|
+
{
|
|
1017
|
+
proposal: proposal.proposal,
|
|
1018
|
+
isDeciding: proposal.isDeciding,
|
|
1019
|
+
onOpenWorkflow,
|
|
1020
|
+
...canApply ? { onApply: () => void proposal.apply() } : {},
|
|
1021
|
+
onReject: () => void proposal.reject(),
|
|
1022
|
+
onCancel: () => void proposal.cancel()
|
|
1023
|
+
}
|
|
1024
|
+
) })
|
|
1025
|
+
]
|
|
1026
|
+
}
|
|
1027
|
+
);
|
|
1028
|
+
}
|
|
926
1029
|
function ExecutionDetailPage() {
|
|
927
1030
|
const tr = useTr();
|
|
928
1031
|
const { runId } = useParams();
|
|
@@ -1538,6 +1641,17 @@ function ExecutionDetailPage() {
|
|
|
1538
1641
|
)
|
|
1539
1642
|
}
|
|
1540
1643
|
),
|
|
1644
|
+
/* @__PURE__ */ jsx(
|
|
1645
|
+
RunFailureClusterCard,
|
|
1646
|
+
{
|
|
1647
|
+
runId: execution.id,
|
|
1648
|
+
status: execution.status,
|
|
1649
|
+
canApply: canApplyFix,
|
|
1650
|
+
onOpenWorkflow: (workflowKey, version) => navigate(
|
|
1651
|
+
`../workflow/${encodeURIComponent(workflowKey)}/${encodeURIComponent(version)}`
|
|
1652
|
+
)
|
|
1653
|
+
}
|
|
1654
|
+
),
|
|
1541
1655
|
/* @__PURE__ */ jsx(RunQueuedBanner, { status: execution.status, context: execution.context }),
|
|
1542
1656
|
/* @__PURE__ */ jsx(RunDataPrunedNotice, { dataPrunedAt: execution.dataPrunedAt }),
|
|
1543
1657
|
/* @__PURE__ */ jsx(RunHumanRequests, { requests: humanRequests }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useEntityTags, useTagEntity, useUntagEntity } from './chunk-
|
|
2
|
-
import { throwIfResultError } from './chunk-
|
|
1
|
+
import { useEntityTags, useTagEntity, useUntagEntity } from './chunk-MKKBEVXO.js';
|
|
2
|
+
import { throwIfResultError } from './chunk-C4AY6JI2.js';
|
|
3
3
|
import { getFluidGridsConfig } from './chunk-CY6KX4RG.js';
|
|
4
|
-
import { WorkflowProposalDocument, ProposeRunFixDocument, ProposeWorkflowChangeDocument, ApplyWorkflowProposalDocument, RejectWorkflowProposalDocument, CancelWorkflowProposalDocument } from './chunk-
|
|
4
|
+
import { WorkflowProposalDocument, ProposeRunFixDocument, ProposeWorkflowChangeDocument, ApplyWorkflowProposalDocument, RejectWorkflowProposalDocument, CancelWorkflowProposalDocument } from './chunk-6J4RR46J.js';
|
|
5
5
|
import { useTr } from './chunk-UULVIT25.js';
|
|
6
6
|
import { getFluidGridsClient } from './chunk-NTWG3CJX.js';
|
|
7
7
|
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
@@ -257,6 +257,17 @@ function useWorkflowProposal() {
|
|
|
257
257
|
},
|
|
258
258
|
[clearTimer, poll]
|
|
259
259
|
);
|
|
260
|
+
const open = useCallback(
|
|
261
|
+
async (id) => {
|
|
262
|
+
const run = ++runRef.current;
|
|
263
|
+
clearTimer();
|
|
264
|
+
setError(null);
|
|
265
|
+
setTimedOut(false);
|
|
266
|
+
setIsWorking(true);
|
|
267
|
+
await poll(run, id, Date.now());
|
|
268
|
+
},
|
|
269
|
+
[clearTimer, poll]
|
|
270
|
+
);
|
|
260
271
|
const decide = useCallback(
|
|
261
272
|
async (action) => {
|
|
262
273
|
const id = proposal?.id;
|
|
@@ -310,6 +321,7 @@ function useWorkflowProposal() {
|
|
|
310
321
|
error,
|
|
311
322
|
timedOut,
|
|
312
323
|
start,
|
|
324
|
+
open,
|
|
313
325
|
apply,
|
|
314
326
|
reject,
|
|
315
327
|
cancel,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ActionPoliciesTab } from './chunk-
|
|
2
|
-
import { useFluidGridsFlag, FLUIDGRIDS_FLAGS, LogStreamingTab } from './chunk-
|
|
1
|
+
import { ActionPoliciesTab } from './chunk-FDEZGRRL.js';
|
|
2
|
+
import { useFluidGridsFlag, FLUIDGRIDS_FLAGS, LogStreamingTab } from './chunk-I2ZNBBRK.js';
|
|
3
3
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
4
|
-
import { useFlowStore, useSaveStatusStore, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, throwIfResultError } from './chunk-
|
|
5
|
-
import { useWorkflowDefinitionQuery, useUpdateWorkflowDefinitionMutation, useWorkflowDefinitionsQuery } from './chunk-
|
|
4
|
+
import { useFlowStore, useSaveStatusStore, useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, throwIfResultError } from './chunk-C4AY6JI2.js';
|
|
5
|
+
import { useWorkflowDefinitionQuery, useUpdateWorkflowDefinitionMutation, useWorkflowDefinitionsQuery } from './chunk-6J4RR46J.js';
|
|
6
6
|
import { useTr } from './chunk-UULVIT25.js';
|
|
7
7
|
import { getFluidGridsClient } from './chunk-NTWG3CJX.js';
|
|
8
8
|
import { useState, useMemo, useEffect, useCallback } from 'react';
|
package/dist/executions.js
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import './chunk-AD3BXTJS.js';
|
|
2
|
-
export { ExecutionsListPage } from './chunk-
|
|
3
|
-
export { ExecutionDetailPage } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
2
|
+
export { ExecutionsListPage } from './chunk-F6NH55LU.js';
|
|
3
|
+
export { ExecutionDetailPage } from './chunk-VP2RXXRF.js';
|
|
4
|
+
import './chunk-IQE7ZY6Q.js';
|
|
5
|
+
import './chunk-3VJ3AIFS.js';
|
|
6
|
+
import './chunk-3KNW5QLR.js';
|
|
7
|
+
import './chunk-FDEZGRRL.js';
|
|
7
8
|
import './chunk-5ERAJC2I.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-VQHBQAJY.js';
|
|
10
|
+
import './chunk-MKKBEVXO.js';
|
|
11
|
+
import './chunk-RZQPHWFV.js';
|
|
11
12
|
import './chunk-D3UWK7GY.js';
|
|
12
13
|
import './chunk-PJAWNFJV.js';
|
|
14
|
+
import './chunk-LOZ6XNOX.js';
|
|
13
15
|
import './chunk-4VJ3MDOV.js';
|
|
14
|
-
import './chunk-
|
|
16
|
+
import './chunk-C4AY6JI2.js';
|
|
15
17
|
import './chunk-JL7CASN5.js';
|
|
16
18
|
import './chunk-PXIFUMLA.js';
|
|
17
19
|
import './chunk-CY6KX4RG.js';
|
|
18
20
|
import './chunk-WBH2XEWO.js';
|
|
19
|
-
import './chunk-
|
|
21
|
+
import './chunk-6J4RR46J.js';
|
|
20
22
|
import './chunk-UULVIT25.js';
|
|
21
23
|
import './chunk-NTWG3CJX.js';
|
|
22
24
|
import './chunk-62GWEYJ5.js';
|
package/dist/history.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { HistoryPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { HistoryPage } from './chunk-Q22GC7RJ.js';
|
|
2
|
+
import './chunk-RZQPHWFV.js';
|
|
3
3
|
import './chunk-D3UWK7GY.js';
|
|
4
4
|
import './chunk-PJAWNFJV.js';
|
|
5
5
|
import './chunk-4VJ3MDOV.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-C4AY6JI2.js';
|
|
7
7
|
import './chunk-JL7CASN5.js';
|
|
8
8
|
import './chunk-PXIFUMLA.js';
|
|
9
9
|
import './chunk-CY6KX4RG.js';
|
|
10
10
|
import './chunk-WBH2XEWO.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-6J4RR46J.js';
|
|
12
12
|
import './chunk-UULVIT25.js';
|
|
13
13
|
import './chunk-NTWG3CJX.js';
|
|
14
14
|
import './chunk-62GWEYJ5.js';
|