@burdenoff/fluidgrids-fe-sdk 2026.1110.2 → 2026.1110.4
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-UXQFBLF3.js → ExecutionDetailPage-2OY2NC3Z.js} +12 -13
- package/dist/{ExecutionsListPage-A4GCUNFR.js → ExecutionsListPage-GTR4XPQN.js} +8 -9
- package/dist/{WorkflowBuilder-ZLVMV2UA.js → WorkflowBuilder-7LPCDDJJ.js} +15 -16
- package/dist/{WorkflowsList-XPNGNR4A.js → WorkflowsList-JJ7UOHTC.js} +6 -6
- package/dist/{agentTools-V26FOMTS.js → agentTools-WHQ7UDDS.js} +3 -3
- package/dist/{chunk-OJHBCOBA.js → chunk-5NZANNKX.js} +40 -1
- package/dist/{chunk-5ZAOXCIQ.js → chunk-5WM655EY.js} +151 -7
- package/dist/{chunk-K22NDWSD.js → chunk-6HXJEIDT.js} +2 -2
- package/dist/{chunk-DIIGFBYT.js → chunk-6NSPCR5C.js} +1 -1
- package/dist/{chunk-ZQTANHKA.js → chunk-7MHCCYDJ.js} +2 -2
- package/dist/{chunk-DDINUPO3.js → chunk-CXBF63PL.js} +1 -1
- package/dist/{chunk-3F4DIVKT.js → chunk-DCMHDOZO.js} +1 -1
- package/dist/chunk-DELQGUVF.js +172 -0
- package/dist/{chunk-XLU63IUB.js → chunk-F7C57RJE.js} +6 -6
- package/dist/{chunk-L5MZ74DA.js → chunk-GA3DS2ZJ.js} +1 -1
- package/dist/{chunk-G7BT24PD.js → chunk-KLR4BZ75.js} +2 -2
- package/dist/{chunk-QGRVYPQC.js → chunk-KQMZ226I.js} +2 -2
- package/dist/{chunk-2DBAQR6F.js → chunk-LOU6RJIB.js} +2 -2
- package/dist/{chunk-Z6D6YL7C.js → chunk-MQ24K2L4.js} +1 -1
- package/dist/{chunk-OVZA4IM7.js → chunk-OIMQHAGU.js} +3 -3
- package/dist/{chunk-2H4XAES7.js → chunk-POCNK7FY.js} +2 -2
- package/dist/{chunk-OZNFRJKC.js → chunk-PXN3S2YU.js} +5 -5
- package/dist/{chunk-WGUHISC2.js → chunk-QOFEQEQL.js} +174 -23
- package/dist/chunk-QUYK5PAZ.js +338 -0
- package/dist/{chunk-5V7PMLQN.js → chunk-QYHRRSEC.js} +1118 -24
- package/dist/{chunk-ZZBZPBO5.js → chunk-S36ZLWDC.js} +2 -2
- package/dist/{chunk-7UFE2CHD.js → chunk-SKMWUKT5.js} +29 -103
- package/dist/{chunk-CBX2CXGH.js → chunk-U5P7E3PA.js} +6 -6
- package/dist/{chunk-A6Q4FWB6.js → chunk-UDS2FA24.js} +1 -1
- package/dist/{chunk-PICOXEUO.js → chunk-UDTAUZ7B.js} +4 -4
- package/dist/{chunk-PI4AW4T2.js → chunk-V6KLU67V.js} +20 -19
- package/dist/{chunk-5TGPH3CX.js → chunk-VRPNGY6W.js} +4 -4
- package/dist/{chunk-D4L5BN64.js → chunk-VXVLQ3LX.js} +94 -2
- package/dist/{chunk-X7XVRJK2.js → chunk-XSTTM74F.js} +1 -1
- package/dist/{chunk-I3DBTNWQ.js → chunk-XYLWH24V.js} +5 -5
- package/dist/executions.js +13 -14
- package/dist/history.js +5 -5
- package/dist/index.d.ts +35 -2
- package/dist/index.js +45 -46
- package/dist/{node-detail-view-2AFXRNX6.js → node-detail-view-JJ2JRFID.js} +8 -9
- package/dist/nodes.js +2 -2
- package/dist/observability.js +5 -5
- package/dist/quick-config-panel-BT2RHMXF.js +411 -0
- package/dist/settings.js +7 -8
- package/dist/templates.js +15 -16
- package/dist/{workflow-builder-DQ2VFyg8.d.ts → workflow-builder-DgZQtyWL.d.ts} +12 -0
- package/dist/workflow-builder.d.ts +1 -1
- package/dist/workflow-builder.js +16 -17
- package/dist/workflows-list.js +6 -6
- package/package.json +1 -1
- package/dist/chunk-3JGAI5YC.js +0 -1437
- package/dist/chunk-HORSE7WX.js +0 -54
- package/dist/chunk-WZ3EJVS6.js +0 -93
- package/dist/quick-config-panel-U4AELSCT.js +0 -363
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { emptyAgentForm, agentToForm, describeRule, formToInput, AgentFormError, DEFAULT_GRANT_DAYS, MAX_GRANT_DAYS, grantDays } from './chunk-
|
|
1
|
+
import { emptyAgentForm, agentToForm, describeRule, formToInput, AgentFormError, DEFAULT_GRANT_DAYS, MAX_GRANT_DAYS, grantDays } from './chunk-VXVLQ3LX.js';
|
|
2
2
|
import { SdkPermissionGate, FLUIDGRIDS_PERMISSIONS } from './chunk-ERT444RG.js';
|
|
3
|
-
import { replaceAdapterConnections, connectionsForAdapter, matchesAdapterProvider, newConnectionProviderKey, isOptionalAdapter } from './chunk-
|
|
3
|
+
import { replaceAdapterConnections, connectionsForAdapter, matchesAdapterProvider, newConnectionProviderKey, isOptionalAdapter } from './chunk-CXBF63PL.js';
|
|
4
4
|
import { useTr } from './chunk-UULVIT25.js';
|
|
5
5
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
6
6
|
import { throwIfResultError, describeOperationError } from './chunk-JKLZ6YZ3.js';
|
|
@@ -4,29 +4,29 @@ import { templatePreview } from './chunk-B6CCE2RW.js';
|
|
|
4
4
|
import { Input } from './chunk-IEVSFCFS.js';
|
|
5
5
|
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter as DialogFooter$1 } from './chunk-YXMFRQYV.js';
|
|
6
6
|
import { Badge as Badge$1 } from './chunk-TFCIZFDM.js';
|
|
7
|
-
import { LogsPanel
|
|
8
|
-
import { NodeInputFields } from './chunk-
|
|
9
|
-
import { useGlobalStoreClient,
|
|
10
|
-
import { useNodeConfig, nodeSubtitle, nodeTitle } from './chunk-
|
|
11
|
-
import { CreateWorkflowRefusalDialog, WorkflowShareDialog, useWorkflowCodeExport, orderedExportFiles, fileBaseName, downloadWorkflowCodeExport, isLosslessReport, sortFidelityItems, isLossyFidelityItem, lineOfNode } from './chunk-
|
|
12
|
-
import { emptyTestCaseDraft, EntityTagPicker, useWorkflowProposal, WorkflowProposalCard, useWorkflowTests, pinnedOutputsFromCanvas, enabledCaseIds, isTestRunOpen, MAX_TEST_CASES, draftFromTestCase, testRunSummaryText, testStatusLabel, TEST_STATUS_TONE_CLASS, testStatusTone, MAX_CASE_NAME, nextSortOrder, draftToInput } from './chunk-
|
|
13
|
-
import { buildNodeDisplayMap } from './chunk-
|
|
7
|
+
import { LogsPanel } from './chunk-QUYK5PAZ.js';
|
|
8
|
+
import { useNodeEditorTab, NodeEditorTabs, NodeInputFields, NodeEditorTabBody } from './chunk-DELQGUVF.js';
|
|
9
|
+
import { useGlobalStoreClient, NodeExecutionActions } from './chunk-QYHRRSEC.js';
|
|
10
|
+
import { useNodeConfig, nodeSubtitle, nodeTitle } from './chunk-V6KLU67V.js';
|
|
11
|
+
import { CreateWorkflowRefusalDialog, WorkflowShareDialog, useWorkflowCodeExport, orderedExportFiles, fileBaseName, downloadWorkflowCodeExport, isLosslessReport, sortFidelityItems, isLossyFidelityItem, lineOfNode } from './chunk-KQMZ226I.js';
|
|
12
|
+
import { emptyTestCaseDraft, EntityTagPicker, useWorkflowProposal, WorkflowProposalCard, useWorkflowTests, pinnedOutputsFromCanvas, enabledCaseIds, isTestRunOpen, MAX_TEST_CASES, draftFromTestCase, testRunSummaryText, testStatusLabel, TEST_STATUS_TONE_CLASS, testStatusTone, MAX_CASE_NAME, nextSortOrder, draftToInput } from './chunk-POCNK7FY.js';
|
|
13
|
+
import { buildNodeDisplayMap } from './chunk-6NSPCR5C.js';
|
|
14
14
|
import { AiCreditBalanceSlot } from './chunk-Y53CVZVV.js';
|
|
15
|
-
import { countLifecycle, VersionLifecycleBar, VersionDiffDialog } from './chunk-
|
|
16
|
-
import { useRestoreWorkflowVersion, useWorkflowVersions, useActivateWorkflow, useDeleteWorkflow, useDeactivateWorkflow } from './chunk-
|
|
15
|
+
import { countLifecycle, VersionLifecycleBar, VersionDiffDialog } from './chunk-XSTTM74F.js';
|
|
16
|
+
import { useRestoreWorkflowVersion, useWorkflowVersions, useActivateWorkflow, useDeleteWorkflow, useDeactivateWorkflow } from './chunk-6HXJEIDT.js';
|
|
17
17
|
import { PublishCustomNodeAction } from './chunk-XRGAH6IQ.js';
|
|
18
18
|
import { Button } from './chunk-QJAZXCFQ.js';
|
|
19
19
|
import { useRequestedProposal } from './chunk-GLYINMOR.js';
|
|
20
|
-
import { useConnections, ConnectionFormDialog } from './chunk-
|
|
20
|
+
import { useConnections, ConnectionFormDialog } from './chunk-S36ZLWDC.js';
|
|
21
21
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
22
22
|
import { SdkPermissionButton, FLUIDGRIDS_PERMISSIONS, useFluidGridsPermission, SdkPermissionGate } from './chunk-ERT444RG.js';
|
|
23
|
-
import { leaseCallQueue, RUNS_QUOTA_NAME, BILLING_PLANS_PATH, emitUpgradeClicked, FluidGridsContext, emitWorkflowCreated, emitTemplateUsed, ensureNodeConfigsLoaded, NODE_CONFIGS, useEditLeaseStore, useEditLeaseLocked, registerWorkflowNodeTypes, emitNodeInstalled, useNodeExecution, usePaletteGates, onNodeTypesUpdate, NODE_TYPES, getNodeMetadata, refetchStoreNodes, AVAILABLE_NODES, EDIT_SESSION_ID, useInsertNode, useSaveStatusStore, useManualSave, useDurableFunctionNodesEnabled, bannerOf, editStateFor, useSaveWorkflow, filterPaletteNodes, useFluidGridsAnalytics, useGuardedNavigate, sessionBeforeReload, forgetSessionForReload, releasesOnClose, touchesSavedFields, isLocked, watchLeavingLosesChanges, workflowFingerprint, savedEverythingBeforeLeaving, refusalOfQuota, buildStickyNode, NODES_METADATA, shouldReleaseForIdle, tickAction, rememberSessionForReload, leavingLosesChanges, buildOperationSeed, useDurableParityEnabled, useWorkflowTestsEnabled, useFluidGridsFlag, FLUIDGRIDS_FLAGS, useFlowValidator, saveIndicatorOf, departingSave, inAppLeaveTarget, isNodeConfigsInitialized, phaseAfterAcquire, rememberOwnStatusChange, useRunGuard, saveFailureActionOf, getNodeDetail, loadDefinitionJson, canAutosave, isNodeTypeHiddenFromPalette,
|
|
23
|
+
import { leaseCallQueue, RUNS_QUOTA_NAME, BILLING_PLANS_PATH, emitUpgradeClicked, FluidGridsContext, emitWorkflowCreated, emitTemplateUsed, ensureNodeConfigsLoaded, NODE_CONFIGS, useEditLeaseStore, useEditLeaseLocked, registerWorkflowNodeTypes, emitNodeInstalled, useNodeExecution, usePaletteGates, onNodeTypesUpdate, NODE_TYPES, getNodeMetadata, refetchStoreNodes, AVAILABLE_NODES, EDIT_SESSION_ID, useInsertNode, useSaveStatusStore, useManualSave, useDurableFunctionNodesEnabled, bannerOf, editStateFor, useSaveWorkflow, filterPaletteNodes, useFluidGridsAnalytics, useGuardedNavigate, sessionBeforeReload, forgetSessionForReload, releasesOnClose, touchesSavedFields, isLocked, watchLeavingLosesChanges, workflowFingerprint, savedEverythingBeforeLeaving, refusalOfQuota, buildStickyNode, NODES_METADATA, shouldReleaseForIdle, tickAction, rememberSessionForReload, leavingLosesChanges, buildOperationSeed, useDurableParityEnabled, useWorkflowTestsEnabled, useFluidGridsFlag, FLUIDGRIDS_FLAGS, useFlowValidator, saveIndicatorOf, departingSave, inAppLeaveTarget, isNodeConfigsInitialized, phaseAfterAcquire, rememberOwnStatusChange, useRunGuard, saveFailureActionOf, getNodeDetail, loadDefinitionJson, canAutosave, isNodeTypeHiddenFromPalette, AUTOSAVE_RETRY_DELAYS_MS, AUTOSAVE_DEBOUNCE_MS, editingLeaseLocked, autosaveAllowedFor, isFlowComplete, rememberRevision, phaseAfterTakeOver } from './chunk-CXBF63PL.js';
|
|
24
24
|
import { BuilderReadOnlyProvider, useBuilderReadOnly } from './chunk-SDZEAIIE.js';
|
|
25
25
|
import { useFlowStore, useIsValidConnection, NODE_TYPE_DRAG_DATA_FORMAT, NODE_OPERATION_DRAG_DATA_FORMAT, CODE_WORKFLOW_NODE_TYPE, STICKY_NOTE_TYPE, NodeTypeIcon, isImageIcon, isTriggerOperation, nodeAccent } from './chunk-K2X63CR2.js';
|
|
26
26
|
import { getGlobalStoreClient } from './chunk-TYI2XOSI.js';
|
|
27
27
|
import { GetMyNodeInstallationsDocument, BrowseWorkflowTemplatesDocument, InstallWorkflowNodeDocument, SubmitWorkflowTemplateDocument, MyWorkflowTemplateSubmissionsDocument, WithdrawWorkflowTemplateSubmissionDocument, InstallPurchasedNodeDocument, BrowseWorkflowNodesDocument, UninstallWorkflowNodeDocument, CreateStoreOrderDocument, GetNodeInstallableVersionsDocument, OrganizationPrivateNodesDocument, InstallOrganizationPrivateNodeDocument, UninstallOrganizationPrivateNodeDocument } from './chunk-G77IGC3Y.js';
|
|
28
28
|
import { cn } from './chunk-JL7CASN5.js';
|
|
29
|
-
import { WorkspaceRunsQuotaDocument, WorkflowGenerationTemplatesDocument, ReleaseWorkflowEditLeaseDocument, NodeSchemaIntrospectionDocument, AcquireWorkflowEditLeaseDocument, WorkflowEnvironmentsDocument, WorkflowPromotionRequestsDocument, DeployWorkflowVersionToDevDocument, RequestWorkflowPromotionDocument, ApproveWorkflowPromotionDocument, RejectWorkflowPromotionDocument, CancelWorkflowPromotionDocument, UpdateWorkflowEnvironmentPolicyDocument, WorkflowGitRepositoryDocument, WorkflowGitPushesDocument, WorkflowGitCommitsDocument, LinkWorkflowGitRepositoryDocument, UnlinkWorkflowGitRepositoryDocument, PushWorkflowToGitDocument, WorkflowGitDiffDocument, RestoreWorkflowFromGitDocument, WorkflowAuthoringDocument, WorkflowEditLeaseDocument, WorkflowVersioningDocument, WorkflowVersionDrainageDocument, ActivateWorkflowVersionCheckedDocument, WorkflowDefinitionDocument, NodeUsageStatusDocument, RemoveNodeFromWorkflowsDocument, SetWorkflowRolloutDocument, DeleteWorkflowRolloutDocument, TakeOverWorkflowEditLeaseDocument } from './chunk-
|
|
29
|
+
import { WorkspaceRunsQuotaDocument, WorkflowGenerationTemplatesDocument, ReleaseWorkflowEditLeaseDocument, NodeSchemaIntrospectionDocument, AcquireWorkflowEditLeaseDocument, WorkflowEnvironmentsDocument, WorkflowPromotionRequestsDocument, DeployWorkflowVersionToDevDocument, RequestWorkflowPromotionDocument, ApproveWorkflowPromotionDocument, RejectWorkflowPromotionDocument, CancelWorkflowPromotionDocument, UpdateWorkflowEnvironmentPolicyDocument, WorkflowGitRepositoryDocument, WorkflowGitPushesDocument, WorkflowGitCommitsDocument, LinkWorkflowGitRepositoryDocument, UnlinkWorkflowGitRepositoryDocument, PushWorkflowToGitDocument, WorkflowGitDiffDocument, RestoreWorkflowFromGitDocument, WorkflowAuthoringDocument, WorkflowEditLeaseDocument, WorkflowVersioningDocument, WorkflowVersionDrainageDocument, ActivateWorkflowVersionCheckedDocument, WorkflowDefinitionDocument, NodeUsageStatusDocument, RemoveNodeFromWorkflowsDocument, SetWorkflowRolloutDocument, DeleteWorkflowRolloutDocument, TakeOverWorkflowEditLeaseDocument } from './chunk-UDS2FA24.js';
|
|
30
30
|
import { useTr } from './chunk-UULVIT25.js';
|
|
31
31
|
import { waitForFluidGridsClient, getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
32
32
|
import { throwIfResultError, describeOperationError, emitFluidGridsEvent } from './chunk-JKLZ6YZ3.js';
|
|
@@ -2312,15 +2312,12 @@ function SidebarNodeEditorInner({
|
|
|
2312
2312
|
const setSelectedNode = useFlowStore(
|
|
2313
2313
|
(s) => s.actions.sidebar.panels.nodeProperties.setSelectedNode
|
|
2314
2314
|
);
|
|
2315
|
-
const {
|
|
2316
|
-
const isSchedule = schedulePolicies && node?.type === SCHEDULE_NODE_TYPE;
|
|
2317
|
-
const [tab, setTab] = useState("parameters");
|
|
2315
|
+
const { tab, setTab, hasSchedule } = useNodeEditorTab(node?.type);
|
|
2318
2316
|
const [showInput, setShowInput] = useState(false);
|
|
2319
2317
|
useEffect(() => {
|
|
2320
2318
|
if (!nodes.some((n) => n.id === nodeId)) setSelectedNode(null);
|
|
2321
2319
|
}, [nodes, nodeId, setSelectedNode]);
|
|
2322
2320
|
if (!node) return null;
|
|
2323
|
-
const activeTab = tab === "schedule" && !isSchedule ? "parameters" : tab;
|
|
2324
2321
|
return /* @__PURE__ */ jsxs(
|
|
2325
2322
|
"div",
|
|
2326
2323
|
{
|
|
@@ -2338,11 +2335,12 @@ function SidebarNodeEditorInner({
|
|
|
2338
2335
|
}
|
|
2339
2336
|
),
|
|
2340
2337
|
/* @__PURE__ */ jsx(
|
|
2341
|
-
|
|
2338
|
+
NodeEditorTabs,
|
|
2342
2339
|
{
|
|
2343
|
-
active:
|
|
2340
|
+
active: tab,
|
|
2344
2341
|
onChange: setTab,
|
|
2345
|
-
|
|
2342
|
+
hasSchedule,
|
|
2343
|
+
testIdPrefix: "sp"
|
|
2346
2344
|
}
|
|
2347
2345
|
),
|
|
2348
2346
|
/* @__PURE__ */ jsxs("div", { className: "min-h-0 flex-1 overflow-auto", children: [
|
|
@@ -2354,7 +2352,15 @@ function SidebarNodeEditorInner({
|
|
|
2354
2352
|
children: /* @__PURE__ */ jsx(NodeInputFields, { config, testIdPrefix: "sp" })
|
|
2355
2353
|
}
|
|
2356
2354
|
),
|
|
2357
|
-
/* @__PURE__ */ jsx(
|
|
2355
|
+
/* @__PURE__ */ jsx(
|
|
2356
|
+
NodeEditorTabBody,
|
|
2357
|
+
{
|
|
2358
|
+
tab,
|
|
2359
|
+
config,
|
|
2360
|
+
nodeId,
|
|
2361
|
+
testIdPrefix: "sp"
|
|
2362
|
+
}
|
|
2363
|
+
)
|
|
2358
2364
|
] }),
|
|
2359
2365
|
/* @__PURE__ */ jsx(EditorRunActions, { nodeId })
|
|
2360
2366
|
]
|
|
@@ -2442,86 +2448,6 @@ function EditorHeader({
|
|
|
2442
2448
|
}
|
|
2443
2449
|
);
|
|
2444
2450
|
}
|
|
2445
|
-
function EditorTabs({
|
|
2446
|
-
active,
|
|
2447
|
-
onChange,
|
|
2448
|
-
isSchedule
|
|
2449
|
-
}) {
|
|
2450
|
-
const tr = useTr();
|
|
2451
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-4 border-b border-border px-3", children: [
|
|
2452
|
-
/* @__PURE__ */ jsx(
|
|
2453
|
-
TabButton,
|
|
2454
|
-
{
|
|
2455
|
-
active: active === "parameters",
|
|
2456
|
-
onClick: () => onChange("parameters"),
|
|
2457
|
-
testId: "sp-tab-parameters",
|
|
2458
|
-
children: tr("fluidgrids.builder.nodeDetailView.tabParameters", "Parameters")
|
|
2459
|
-
}
|
|
2460
|
-
),
|
|
2461
|
-
isSchedule && /* @__PURE__ */ jsx(
|
|
2462
|
-
TabButton,
|
|
2463
|
-
{
|
|
2464
|
-
active: active === "schedule",
|
|
2465
|
-
onClick: () => onChange("schedule"),
|
|
2466
|
-
testId: "sp-tab-schedule",
|
|
2467
|
-
children: tr("fluidgrids.builder.nodeDetailView.tabSchedule", "Schedule")
|
|
2468
|
-
}
|
|
2469
|
-
),
|
|
2470
|
-
/* @__PURE__ */ jsx(
|
|
2471
|
-
TabButton,
|
|
2472
|
-
{
|
|
2473
|
-
active: active === "settings",
|
|
2474
|
-
onClick: () => onChange("settings"),
|
|
2475
|
-
testId: "sp-tab-settings",
|
|
2476
|
-
children: tr("fluidgrids.builder.nodeDetailView.tabSettings", "Settings")
|
|
2477
|
-
}
|
|
2478
|
-
)
|
|
2479
|
-
] });
|
|
2480
|
-
}
|
|
2481
|
-
function EditorBody({
|
|
2482
|
-
tab,
|
|
2483
|
-
config,
|
|
2484
|
-
nodeId
|
|
2485
|
-
}) {
|
|
2486
|
-
if (tab === "schedule") {
|
|
2487
|
-
return /* @__PURE__ */ jsx(EditorSchedule, { config, nodeId });
|
|
2488
|
-
}
|
|
2489
|
-
if (tab === "settings") {
|
|
2490
|
-
return /* @__PURE__ */ jsx("div", { className: "p-3", "data-testid": "sp-settings", children: /* @__PURE__ */ jsx(ReadOnlyFieldset, { children: /* @__PURE__ */ jsx(NodeSettingsPanel, { config }) }) });
|
|
2491
|
-
}
|
|
2492
|
-
return /* @__PURE__ */ jsx("div", { className: "space-y-4 p-3", "data-testid": "sp-params", children: /* @__PURE__ */ jsx(ReadOnlyFieldset, { className: "space-y-4", children: /* @__PURE__ */ jsx(
|
|
2493
|
-
NodeParamsForm,
|
|
2494
|
-
{
|
|
2495
|
-
config,
|
|
2496
|
-
nodeType: config.node?.type,
|
|
2497
|
-
testIdPrefix: "sp"
|
|
2498
|
-
}
|
|
2499
|
-
) }) });
|
|
2500
|
-
}
|
|
2501
|
-
function EditorSchedule({
|
|
2502
|
-
config,
|
|
2503
|
-
nodeId
|
|
2504
|
-
}) {
|
|
2505
|
-
const workflowKey = useFlowStore((s) => s.workflow.workflowKey);
|
|
2506
|
-
const workflowDbId = useFlowStore((s) => s.workflow.dbId);
|
|
2507
|
-
const { allowed: canExecute } = useFluidGridsPermission(
|
|
2508
|
-
FLUIDGRIDS_PERMISSIONS.WORKFLOW_RUN_EXECUTE
|
|
2509
|
-
);
|
|
2510
|
-
const { allowed: canUpdate } = useFluidGridsPermission(
|
|
2511
|
-
FLUIDGRIDS_PERMISSIONS.WORKFLOW_UPDATE
|
|
2512
|
-
);
|
|
2513
|
-
return /* @__PURE__ */ jsx("div", { "data-testid": "sp-schedule", children: /* @__PURE__ */ jsx(
|
|
2514
|
-
SchedulePanel,
|
|
2515
|
-
{
|
|
2516
|
-
state: config.argsState,
|
|
2517
|
-
writeField: config.writeFixed,
|
|
2518
|
-
workflowKey: workflowDbId && workflowKey ? workflowKey : null,
|
|
2519
|
-
triggerNodeId: nodeId,
|
|
2520
|
-
canExecute,
|
|
2521
|
-
canUpdate
|
|
2522
|
-
}
|
|
2523
|
-
) });
|
|
2524
|
-
}
|
|
2525
2451
|
function EditorRunActions({ nodeId }) {
|
|
2526
2452
|
const nodes = useFlowStore((s) => s.workflow.nodes);
|
|
2527
2453
|
const edges = useFlowStore((s) => s.workflow.edges);
|
|
@@ -20526,12 +20452,12 @@ function EditLeaseBanner() {
|
|
|
20526
20452
|
);
|
|
20527
20453
|
}
|
|
20528
20454
|
var LazyNodeDetailView = lazy(
|
|
20529
|
-
() => import('./node-detail-view-
|
|
20455
|
+
() => import('./node-detail-view-JJ2JRFID.js').then((m) => ({
|
|
20530
20456
|
default: m.NodeDetailView
|
|
20531
20457
|
}))
|
|
20532
20458
|
);
|
|
20533
20459
|
var LazyQuickConfigPanel = lazy(
|
|
20534
|
-
() => import('./quick-config-panel-
|
|
20460
|
+
() => import('./quick-config-panel-BT2RHMXF.js').then((m) => ({
|
|
20535
20461
|
default: m.QuickConfigPanel
|
|
20536
20462
|
}))
|
|
20537
20463
|
);
|
|
@@ -20593,7 +20519,7 @@ var FlowBuilder = ({ readOnly = false }) => {
|
|
|
20593
20519
|
);
|
|
20594
20520
|
useEffect(() => {
|
|
20595
20521
|
let cancelled = false;
|
|
20596
|
-
void import('./agentTools-
|
|
20522
|
+
void import('./agentTools-WHQ7UDDS.js').then(({ createBuilderAgentTools }) => {
|
|
20597
20523
|
if (cancelled) return;
|
|
20598
20524
|
setAgentTools(
|
|
20599
20525
|
createBuilderAgentTools({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { isGuidedTourIntent, pickGuidedTour, withoutGuidedTourIntent, isCreateIntent, decideMissingWorkflow } from './chunk-NRI7AUBH.js';
|
|
2
2
|
import { registerLiveCanvasHandler } from './chunk-PIKYQE7P.js';
|
|
3
|
-
import { useWorkflowReloadStore, releaseLeaseKeptForReload, useInstalledNodes, buildNodeCheck, FlowBuilderPage, buildRequiredNodeTypes } from './chunk-
|
|
4
|
-
import { paramsFromOperation } from './chunk-
|
|
5
|
-
import { CreateWorkflowRefusalDialog } from './chunk-
|
|
3
|
+
import { useWorkflowReloadStore, releaseLeaseKeptForReload, useInstalledNodes, buildNodeCheck, FlowBuilderPage, buildRequiredNodeTypes } from './chunk-SKMWUKT5.js';
|
|
4
|
+
import { paramsFromOperation } from './chunk-V6KLU67V.js';
|
|
5
|
+
import { CreateWorkflowRefusalDialog } from './chunk-KQMZ226I.js';
|
|
6
6
|
import { canvasFromDefinition } from './chunk-CKF2FBUP.js';
|
|
7
|
-
import { useLazyWorkflowDefinition, useCreateWorkflow } from './chunk-
|
|
8
|
-
import { refetchStoreNodes, BILLING_PLANS_PATH, ensureNodeConfigsLoaded, codeBuildIdOf, rememberRevision, blankWorkflowCreateInput, classifyCreateRefusal, NODE_CONFIGS, resolveNodeOperation, createConfiguredNode, useSaveStatusStore, workflowFingerprint, registerWorkflowNodeTypes } from './chunk-
|
|
7
|
+
import { useLazyWorkflowDefinition, useCreateWorkflow } from './chunk-6HXJEIDT.js';
|
|
8
|
+
import { refetchStoreNodes, BILLING_PLANS_PATH, ensureNodeConfigsLoaded, codeBuildIdOf, rememberRevision, blankWorkflowCreateInput, classifyCreateRefusal, NODE_CONFIGS, resolveNodeOperation, createConfiguredNode, useSaveStatusStore, workflowFingerprint, registerWorkflowNodeTypes } from './chunk-CXBF63PL.js';
|
|
9
9
|
import { useFlowStore, mergeStickyNotes } from './chunk-K2X63CR2.js';
|
|
10
|
-
import { WorkflowDefinitionDocument } from './chunk-
|
|
10
|
+
import { WorkflowDefinitionDocument } from './chunk-UDS2FA24.js';
|
|
11
11
|
import { useTr } from './chunk-UULVIT25.js';
|
|
12
12
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
13
13
|
import { throwIfResultError } from './chunk-JKLZ6YZ3.js';
|
|
@@ -53,7 +53,7 @@ var UpsertWorkflowRunSearchAttributesDocument = { "kind": "Document", "definitio
|
|
|
53
53
|
var ActiveExecutionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ActiveExecutions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "workflowName" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "activeWorkflows" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "userId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "workflowName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "workflowName" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "runId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowName" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "currentNode" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorMessage" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "executionTimeSeconds" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNodesExecuted" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 400 } };
|
|
54
54
|
var DurableParityRunFieldsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "DurableParityRunFields" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "workflowRun" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "businessId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runAttempt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "firstRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "continuedFromRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "continuedToRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "rootRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "priority" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "summary" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "details" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "currentDetails" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "memo" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "startDelayUntil" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runTimeoutAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "executionTimeoutAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "completionCallback" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "url" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "attempts" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "lastStatusCode" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "lastError" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "lastAttemptAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "deliveredAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nextAttemptAt" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "versioning" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "behavior" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "startBehavior" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "override" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "behavior" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "version" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "servingVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "buildId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "heldFromVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "pendingOverride" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "RunCodeReplaceFields" }, "directives": [] }] } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "RunCodeReplaceFields" }, "variableDefinitions": [], "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WorkflowCodeReplaceResult" } }, "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "kind" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "buildId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "previousBuildId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "targetVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "force" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "verifiedRuns" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "violations" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "runId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "seq" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "message" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 924 } };
|
|
55
55
|
var DurableRunFieldsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "DurableRunFields" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "workflowRun" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "executionKind" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowFn" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "taskQueue" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "buildId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "historyLength" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 159 } };
|
|
56
|
-
var ExecutionDetailDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ExecutionDetail" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "workflowRun" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowKey" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "version" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerNodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerData" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "mode" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "sourceRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "context" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggeredById" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "parentRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "dataPrunedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "duration" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorMessage" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "completedNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "failedNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "skippedNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflow" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "name" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "description" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "definitionJson" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeStates" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "attemptCount" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "inputArgs" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "output" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "error" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "startTime" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "endTime" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "duration" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "resumeTime" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "childRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "instanceKey" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "context" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "usedPinnedData" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "reusedFromRunId" }, "arguments": [], "directives": [] }] } }] } }] } }], "loc": { "start": 0, "end":
|
|
56
|
+
var ExecutionDetailDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ExecutionDetail" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "workflowRun" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowKey" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "version" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerNodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerData" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "mode" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "sourceRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "context" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggeredById" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "parentRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "dataPrunedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "budget" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "limits" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "maxSteps" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "limit" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "mode" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxWallTimeSec" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "limit" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "mode" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxTokens" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "limit" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "mode" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxCostMicroUsd" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "limit" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "mode" }, "arguments": [], "directives": [] }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "usage" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "steps" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "tokens" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "costMicroUsd" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "activeSeconds" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "exceeded" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "dimension" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "mode" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "limit" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "observed" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "at" }, "arguments": [], "directives": [] }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "duration" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorMessage" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "completedNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "failedNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "skippedNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflow" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "name" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "description" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "definitionJson" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeStates" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeVersion" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "attemptCount" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "inputArgs" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "output" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "error" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "startTime" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "endTime" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "duration" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "resumeTime" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "childRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "instanceKey" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "context" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "usedPinnedData" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "reusedFromRunId" }, "arguments": [], "directives": [] }] } }] } }] } }], "loc": { "start": 0, "end": 1355 } };
|
|
57
57
|
var ExecutionLogsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ExecutionLogs" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "runId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, "directives": [] }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "workflowExecutionLogs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "runId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "runId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "level" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "message" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeStateId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "context" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 204 } };
|
|
58
58
|
var ExecutionStatsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ExecutionStats" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "projectId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "dashboardSummary" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "projectId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "projectId" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "runsCountTotal" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsCompletedCount" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsFailedCount" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsRunningCount" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsPendingCount" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsCancelledCount" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsWaitingCount" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsCompletedLast24h" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsFailedLast24h" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsCompletedLast7d" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsFailedLast7d" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsCompletedLast30d" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "runsFailedLast30d" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "avgWorkflowExecutionTimeSeconds" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowSuccessRate" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeUsageStats" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodeType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "totalExecutions" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "successCount" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "failureCount" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "avgExecutionTime" }, "arguments": [], "directives": [] }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "recentRuns" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowKey" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "version" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "duration" }, "arguments": [], "directives": [] }] } }] } }] } }], "loc": { "start": 0, "end": 700 } };
|
|
59
59
|
var ExecutionsListDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ExecutionsList" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ListWorkflowRunsInput" } } }, "directives": [] }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "workflowRuns" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "items" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflowKey" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "version" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerNodeId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerData" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "status" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "context" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "triggeredById" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "parentRunId" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "duration" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorMessage" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "errorType" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "completedNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "failedNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "skippedNodes" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "workflow" }, "arguments": [], "directives": [], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "name" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "description" }, "arguments": [], "directives": [] }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "total" }, "arguments": [], "directives": [] }, { "kind": "Field", "name": { "kind": "Name", "value": "hasMore" }, "arguments": [], "directives": [] }] } }] } }], "loc": { "start": 0, "end": 578 } };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FailureTriagePanel } from './chunk-
|
|
1
|
+
import { FailureTriagePanel } from './chunk-GA3DS2ZJ.js';
|
|
2
2
|
import { aiSpendPeriod, AI_SPEND_RANGE_DAYS, evidenceFacts, monthlySavingLabel, evidenceWindowDays, shortRunId, DISMISS_REASONS, MAX_DISMISS_NOTE_LENGTH, aiCost, formatTokens, runsOfWorkflowPath } from './chunk-NZAYYUQ4.js';
|
|
3
|
-
import { useDataSinks, useDataSinkData, useInsightsData, useRunReplayActions } from './chunk-
|
|
3
|
+
import { useDataSinks, useDataSinkData, useInsightsData, useRunReplayActions } from './chunk-MQ24K2L4.js';
|
|
4
4
|
import { proposalCanvasPath } from './chunk-GLYINMOR.js';
|
|
5
5
|
import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, SdkPermissionButton } from './chunk-ERT444RG.js';
|
|
6
|
-
import { useContinuousOptimisationEnabled } from './chunk-
|
|
7
|
-
import { SetContinuousOptimisationEnabledDocument, FgRunOptimisationScanDocument, ProposeOptimisationDocument, WorkflowProposalDocument, DismissOptimisationSuggestionDocument, SnoozeOptimisationSuggestionDocument, WorkspaceAiUsageDocument, OptimisationSuggestionsDocument, ContinuousOptimisationSettingsDocument } from './chunk-
|
|
6
|
+
import { useContinuousOptimisationEnabled } from './chunk-CXBF63PL.js';
|
|
7
|
+
import { SetContinuousOptimisationEnabledDocument, FgRunOptimisationScanDocument, ProposeOptimisationDocument, WorkflowProposalDocument, DismissOptimisationSuggestionDocument, SnoozeOptimisationSuggestionDocument, WorkspaceAiUsageDocument, OptimisationSuggestionsDocument, ContinuousOptimisationSettingsDocument } from './chunk-UDS2FA24.js';
|
|
8
8
|
import { useTr } from './chunk-UULVIT25.js';
|
|
9
9
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
10
10
|
import { throwIfResultError } from './chunk-JKLZ6YZ3.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { structuredParameterType, parseParameterValue, liveInternalOperations, resolveNodeOperation, readDisplayOptions, getNodeDetail, fieldsFromIO, pathToExpression, NODE_CONFIGS, onNodeTypesUpdate, getNodeRegistryRevision, fieldsFromValue, declaredOutputFields, subscribeWorkflowSaved } from './chunk-
|
|
1
|
+
import { structuredParameterType, parseParameterValue, liveInternalOperations, resolveNodeOperation, readDisplayOptions, getNodeDetail, fieldsFromIO, pathToExpression, NODE_CONFIGS, onNodeTypesUpdate, getNodeRegistryRevision, fieldsFromValue, declaredOutputFields, subscribeWorkflowSaved } from './chunk-CXBF63PL.js';
|
|
2
2
|
import { useBuilderReadOnly } from './chunk-SDZEAIIE.js';
|
|
3
3
|
import { useFlowStore } from './chunk-K2X63CR2.js';
|
|
4
|
-
import { EventRegistrationsDocument } from './chunk-
|
|
4
|
+
import { EventRegistrationsDocument } from './chunk-UDS2FA24.js';
|
|
5
5
|
import { useTr } from './chunk-UULVIT25.js';
|
|
6
6
|
import { getFluidGridsClientSafe } from './chunk-PDODDDHY.js';
|
|
7
7
|
import { useMemo, useState, useEffect, useSyncExternalStore, useRef, useCallback } from 'react';
|
|
@@ -9,23 +9,6 @@ import { Icon } from '@iconify/react';
|
|
|
9
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
10
|
import { cn } from '@burdenoff/fe-libs/utils';
|
|
11
11
|
|
|
12
|
-
// src/builder/lib/mapping-input.ts
|
|
13
|
-
function latestNodeLog(logs, nodeId, runId) {
|
|
14
|
-
return nodeId && runId ? logs.filter((log) => log.nodeId === nodeId && log.runId === runId).at(-1) : void 0;
|
|
15
|
-
}
|
|
16
|
-
function resolveMappingInput({
|
|
17
|
-
source,
|
|
18
|
-
operation,
|
|
19
|
-
runId,
|
|
20
|
-
logs
|
|
21
|
-
}) {
|
|
22
|
-
const sourceLog = latestNodeLog(logs, source?.id, runId);
|
|
23
|
-
const data = sourceLog?.output ?? void 0;
|
|
24
|
-
return {
|
|
25
|
-
data,
|
|
26
|
-
fields: data !== void 0 ? fieldsFromValue(data) : source ? declaredOutputFields(source.type, operation) : []
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
12
|
var FIELD_PATH_MIME = "application/x-fg-field-path";
|
|
30
13
|
var TYPE_ICON = {
|
|
31
14
|
string: "mdi:format-text",
|
|
@@ -117,6 +100,24 @@ function FieldTree({
|
|
|
117
100
|
)) });
|
|
118
101
|
}
|
|
119
102
|
|
|
103
|
+
// src/builder/lib/mapping-input.ts
|
|
104
|
+
function latestNodeLog(logs, nodeId, runId) {
|
|
105
|
+
return nodeId && runId ? logs.filter((log) => log.nodeId === nodeId && log.runId === runId).at(-1) : void 0;
|
|
106
|
+
}
|
|
107
|
+
function resolveMappingInput({
|
|
108
|
+
source,
|
|
109
|
+
operation,
|
|
110
|
+
runId,
|
|
111
|
+
logs
|
|
112
|
+
}) {
|
|
113
|
+
const sourceLog = latestNodeLog(logs, source?.id, runId);
|
|
114
|
+
const data = sourceLog?.output ?? void 0;
|
|
115
|
+
return {
|
|
116
|
+
data,
|
|
117
|
+
fields: data !== void 0 ? fieldsFromValue(data) : source ? declaredOutputFields(source.type, operation) : []
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
120
121
|
// src/modules/ui-blocks/parse.ts
|
|
121
122
|
function isRecord(value) {
|
|
122
123
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TEMPLATE_STORE_CATEGORIES, useImportWorkflowTemplate, FlowBuilderPage, useWorkflowTemplates, TemplateCard, useTemplateSubmissions, usePublishToStore } from './chunk-
|
|
2
|
-
import { QuotaExhaustedDialog } from './chunk-
|
|
1
|
+
import { TEMPLATE_STORE_CATEGORIES, useImportWorkflowTemplate, FlowBuilderPage, useWorkflowTemplates, TemplateCard, useTemplateSubmissions, usePublishToStore } from './chunk-SKMWUKT5.js';
|
|
2
|
+
import { QuotaExhaustedDialog } from './chunk-KQMZ226I.js';
|
|
3
3
|
import { templatesControls } from './chunk-FNZZ5JJL.js';
|
|
4
|
-
import { useWorkflowDefinitions, useDuplicateWorkflow, useLazyWorkflowDefinition } from './chunk-
|
|
4
|
+
import { useWorkflowDefinitions, useDuplicateWorkflow, useLazyWorkflowDefinition } from './chunk-6HXJEIDT.js';
|
|
5
5
|
import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
|
|
6
6
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
7
7
|
import { SdkPermissionButton, FLUIDGRIDS_PERMISSIONS } from './chunk-ERT444RG.js';
|
|
8
|
-
import { BILLING_PLANS_PATH, useFluidGridsAnalytics, emitTemplateUsed, isQuotaExhaustedFailure } from './chunk-
|
|
8
|
+
import { BILLING_PLANS_PATH, useFluidGridsAnalytics, emitTemplateUsed, isQuotaExhaustedFailure } from './chunk-CXBF63PL.js';
|
|
9
9
|
import { useTr } from './chunk-UULVIT25.js';
|
|
10
10
|
import { useState, useEffect, useCallback, useMemo } from 'react';
|
|
11
11
|
import { useParams, useNavigate } from 'react-router';
|
|
@@ -1,10 +1,102 @@
|
|
|
1
|
-
import { RunControlFieldsDocument, WorkflowRunHistoryArchiveDocument, QueryWorkflowRunDocument, UpdateWorkflowRunDocument, WorkflowRunUpdateDocument, PauseActivityDocument, UnpauseActivityDocument, ResetActivityDocument, UpdateActivityOptionsDocument, CompleteActivityByIdDocument, FailActivityByIdDocument, ResetWorkflowRunDocument, ResetWorkflowRunToLastCleanTaskDocument, WorkflowSignalTokensDocument, CreateWorkflowSignalTokenDocument, RevokeWorkflowSignalTokenDocument, WorkflowSearchAttributesDocument, CreateWorkflowSearchAttributeDocument, DeleteWorkflowSearchAttributeDocument, UpsertWorkflowRunSearchAttributesDocument, WorkflowActivityPauseRulesDocument, CreateActivityPauseRuleDocument, DeleteActivityPauseRuleDocument, CodecServerSettingsDocument, UpdateCodecServerSettingsDocument, ArchiveSettingsDocument, UpdateArchiveSettingsDocument, StartBatchOperationDocument, StartBatchTerminateDocument, StartBatchExportDocument, CancelBatchOperationDocument, WorkflowBatchOperationDocument, WorkflowBatchOperationsDocument, WorkflowScheduleDescribeDocument, TriggerWorkflowScheduleDocument, BackfillWorkflowScheduleDocument, PauseWorkflowScheduleDocument, UnpauseWorkflowScheduleDocument, WorkflowCodeBundleSdkDocument } from './chunk-
|
|
1
|
+
import { RunControlFieldsDocument, WorkflowRunHistoryArchiveDocument, QueryWorkflowRunDocument, UpdateWorkflowRunDocument, WorkflowRunUpdateDocument, PauseActivityDocument, UnpauseActivityDocument, ResetActivityDocument, UpdateActivityOptionsDocument, CompleteActivityByIdDocument, FailActivityByIdDocument, ResetWorkflowRunDocument, ResetWorkflowRunToLastCleanTaskDocument, WorkflowSignalTokensDocument, CreateWorkflowSignalTokenDocument, RevokeWorkflowSignalTokenDocument, WorkflowSearchAttributesDocument, CreateWorkflowSearchAttributeDocument, DeleteWorkflowSearchAttributeDocument, UpsertWorkflowRunSearchAttributesDocument, WorkflowActivityPauseRulesDocument, CreateActivityPauseRuleDocument, DeleteActivityPauseRuleDocument, CodecServerSettingsDocument, UpdateCodecServerSettingsDocument, ArchiveSettingsDocument, UpdateArchiveSettingsDocument, StartBatchOperationDocument, StartBatchTerminateDocument, StartBatchExportDocument, CancelBatchOperationDocument, WorkflowBatchOperationDocument, WorkflowBatchOperationsDocument, WorkflowScheduleDescribeDocument, TriggerWorkflowScheduleDocument, BackfillWorkflowScheduleDocument, PauseWorkflowScheduleDocument, UnpauseWorkflowScheduleDocument, WorkflowCodeBundleSdkDocument } from './chunk-UDS2FA24.js';
|
|
2
2
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
3
3
|
import { throwIfResultError, describeOperationError } from './chunk-JKLZ6YZ3.js';
|
|
4
4
|
import { useState, useRef, useCallback, useEffect } from 'react';
|
|
5
5
|
import { Label, Textarea } from '@burdenoff/fe-libs/ui';
|
|
6
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
|
+
// src/modules/agent-definitions/utils/agent-form.ts
|
|
9
|
+
var DEFAULT_GRANT_DAYS = 30;
|
|
10
|
+
var MAX_GRANT_DAYS = 365;
|
|
11
|
+
var MAX_TOOL_RULES = 100;
|
|
12
|
+
var MAX_CONNECTIONS = 100;
|
|
13
|
+
var AgentFormError = class extends Error {
|
|
14
|
+
constructor(message) {
|
|
15
|
+
super(message);
|
|
16
|
+
this.name = "AgentFormError";
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
function emptyAgentForm() {
|
|
20
|
+
return {
|
|
21
|
+
name: "",
|
|
22
|
+
description: "",
|
|
23
|
+
tools: [{ nodeType: "", operations: "" }],
|
|
24
|
+
connectionScope: [],
|
|
25
|
+
requireToolApproval: false,
|
|
26
|
+
status: "ACTIVE"
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function agentToForm(agent) {
|
|
30
|
+
return {
|
|
31
|
+
name: agent.name,
|
|
32
|
+
description: agent.description ?? "",
|
|
33
|
+
tools: agent.toolAllowlist.length > 0 ? agent.toolAllowlist.map((rule) => ({
|
|
34
|
+
nodeType: rule.nodeType,
|
|
35
|
+
operations: rule.operations.join(", ")
|
|
36
|
+
})) : [{ nodeType: "", operations: "" }],
|
|
37
|
+
connectionScope: [...agent.connectionScope],
|
|
38
|
+
requireToolApproval: agent.requireToolApproval,
|
|
39
|
+
status: agent.status
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function splitOperations(value) {
|
|
43
|
+
return [
|
|
44
|
+
...new Set(
|
|
45
|
+
value.split(",").map((operation) => operation.trim()).filter(Boolean)
|
|
46
|
+
)
|
|
47
|
+
];
|
|
48
|
+
}
|
|
49
|
+
function formToInput(form) {
|
|
50
|
+
const name = form.name.trim();
|
|
51
|
+
if (name.length === 0 || name.length > 200) {
|
|
52
|
+
throw new AgentFormError("Give the agent a name of 1 to 200 characters.");
|
|
53
|
+
}
|
|
54
|
+
const description = form.description.trim();
|
|
55
|
+
if (description.length > 2e3) {
|
|
56
|
+
throw new AgentFormError(
|
|
57
|
+
"The description must be at most 2000 characters."
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
const rules = form.tools.map((row) => ({
|
|
61
|
+
nodeType: row.nodeType.trim(),
|
|
62
|
+
operations: splitOperations(row.operations)
|
|
63
|
+
})).filter((rule) => rule.nodeType.length > 0 || rule.operations.length > 0);
|
|
64
|
+
if (rules.some((rule) => rule.nodeType.length === 0)) {
|
|
65
|
+
throw new AgentFormError("Every tool rule needs a node type.");
|
|
66
|
+
}
|
|
67
|
+
if (rules.length > MAX_TOOL_RULES) {
|
|
68
|
+
throw new AgentFormError(`At most ${MAX_TOOL_RULES} tool rules.`);
|
|
69
|
+
}
|
|
70
|
+
const connectionScope = [...new Set(form.connectionScope.filter(Boolean))];
|
|
71
|
+
if (connectionScope.length > MAX_CONNECTIONS) {
|
|
72
|
+
throw new AgentFormError(`At most ${MAX_CONNECTIONS} connections.`);
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
name,
|
|
76
|
+
description: description || null,
|
|
77
|
+
toolAllowlist: rules,
|
|
78
|
+
connectionScope,
|
|
79
|
+
requireToolApproval: form.requireToolApproval,
|
|
80
|
+
status: form.status
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
function grantDays(value) {
|
|
84
|
+
const days = Number(value);
|
|
85
|
+
if (!Number.isInteger(days) || days < 1 || days > MAX_GRANT_DAYS) {
|
|
86
|
+
throw new AgentFormError(
|
|
87
|
+
`A grant lasts between 1 and ${MAX_GRANT_DAYS} days.`
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
return days;
|
|
91
|
+
}
|
|
92
|
+
function describeRule(rule) {
|
|
93
|
+
return rule.operations.length > 0 ? `${rule.nodeType}: ${rule.operations.join(", ")}` : `${rule.nodeType}: any operation`;
|
|
94
|
+
}
|
|
95
|
+
function isAgentNodeType(nodeType) {
|
|
96
|
+
if (!nodeType) return false;
|
|
97
|
+
return nodeType === "store/ai-agent" || nodeType.includes("store/ai-agent");
|
|
98
|
+
}
|
|
99
|
+
|
|
8
100
|
// src/graphql/typed-calls.ts
|
|
9
101
|
async function readTyped(query, variables) {
|
|
10
102
|
const result = await getFluidGridsClient().query({
|
|
@@ -395,4 +487,4 @@ function StatusPill({
|
|
|
395
487
|
);
|
|
396
488
|
}
|
|
397
489
|
|
|
398
|
-
export { FieldError, JsonBlock, JsonField, NativeSelect, RUN_CONTROL_DIALOG_STYLE, StatusPill, backfillSchedule, cancelBatchOperation, clearArchiveSettings, completeActivityById, createPauseRule, createSearchAttribute, createSignalToken, deletePauseRule, deleteSearchAttribute, describeSchedule, failActivityById, fetchArchiveSettings, fetchBatchOperation, fetchBatchOperations, fetchCodeBundleSdk, fetchCodecServerSettings, fetchPauseRules, fetchRunControlFields, fetchRunHistoryArchive, fetchRunUpdate, fetchSearchAttributes, fetchSignalTokens, jsonArg, newRunControlId, parseJsonInput, parseJsonObjectInput, pauseActivities, pauseSchedule, queryRun, readTyped, resetActivities, resetRun, resetRunToLastCleanTask, revokeSignalToken, saveArchiveSettings, saveCodecServerSettings, sendRunUpdate, startBatchExport, startBatchOperation, startBatchTerminate, triggerSchedule, unpauseActivities, unpauseSchedule, updateActivityOptions, upsertRunSearchAttributes, useResource, writeTyped };
|
|
490
|
+
export { AgentFormError, DEFAULT_GRANT_DAYS, FieldError, JsonBlock, JsonField, MAX_GRANT_DAYS, NativeSelect, RUN_CONTROL_DIALOG_STYLE, StatusPill, agentToForm, backfillSchedule, cancelBatchOperation, clearArchiveSettings, completeActivityById, createPauseRule, createSearchAttribute, createSignalToken, deletePauseRule, deleteSearchAttribute, describeRule, describeSchedule, emptyAgentForm, failActivityById, fetchArchiveSettings, fetchBatchOperation, fetchBatchOperations, fetchCodeBundleSdk, fetchCodecServerSettings, fetchPauseRules, fetchRunControlFields, fetchRunHistoryArchive, fetchRunUpdate, fetchSearchAttributes, fetchSignalTokens, formToInput, grantDays, isAgentNodeType, jsonArg, newRunControlId, parseJsonInput, parseJsonObjectInput, pauseActivities, pauseSchedule, queryRun, readTyped, resetActivities, resetRun, resetRunToLastCleanTask, revokeSignalToken, saveArchiveSettings, saveCodecServerSettings, sendRunUpdate, startBatchExport, startBatchOperation, startBatchTerminate, triggerSchedule, unpauseActivities, unpauseSchedule, updateActivityOptions, upsertRunSearchAttributes, useResource, writeTyped };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { canvasFromDefinition } from './chunk-CKF2FBUP.js';
|
|
2
|
-
import { WorkflowDefinitionDocument, WorkflowVersionDiffDocument } from './chunk-
|
|
2
|
+
import { WorkflowDefinitionDocument, WorkflowVersionDiffDocument } from './chunk-UDS2FA24.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
5
5
|
import { describeOperationError, throwIfResultError } from './chunk-JKLZ6YZ3.js';
|