@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,11 +1,11 @@
|
|
|
1
|
-
import { useRunStatusCounts, ExecutionStats, ExecutionFilters, ExecutionTable, ExecutionCards, ExecutionTimeline, Pagination, runStatusLabels } from './chunk-
|
|
2
|
-
import { useExecutionsWithStore, useExecutionStats, useExecutionActions, useAutoRefresh, searchFilterConflicts, WORKFLOW_ID_MAX_LENGTH, EMPTY_SEARCH_FILTER, buildSearchAttributeFilter, MAX_SEARCH_CONDITIONS, OPERATORS_BY_TYPE } from './chunk-
|
|
3
|
-
import { useWorkflowDefinitions } from './chunk-
|
|
4
|
-
import { useResource, fetchSearchAttributes, NativeSelect, FieldError, RUN_CONTROL_DIALOG_STYLE, parseJsonInput, JsonField, fetchBatchOperations, StatusPill, fetchBatchOperation, cancelBatchOperation, startBatchTerminate, startBatchExport, startBatchOperation, jsonArg } from './chunk-
|
|
1
|
+
import { useRunStatusCounts, ExecutionStats, ExecutionFilters, ExecutionTable, ExecutionCards, ExecutionTimeline, Pagination, runStatusLabels } from './chunk-PXN3S2YU.js';
|
|
2
|
+
import { useExecutionsWithStore, useExecutionStats, useExecutionActions, useAutoRefresh, searchFilterConflicts, WORKFLOW_ID_MAX_LENGTH, EMPTY_SEARCH_FILTER, buildSearchAttributeFilter, MAX_SEARCH_CONDITIONS, OPERATORS_BY_TYPE } from './chunk-LOU6RJIB.js';
|
|
3
|
+
import { useWorkflowDefinitions } from './chunk-6HXJEIDT.js';
|
|
4
|
+
import { useResource, fetchSearchAttributes, NativeSelect, FieldError, RUN_CONTROL_DIALOG_STYLE, parseJsonInput, JsonField, fetchBatchOperations, StatusPill, fetchBatchOperation, cancelBatchOperation, startBatchTerminate, startBatchExport, startBatchOperation, jsonArg } from './chunk-VXVLQ3LX.js';
|
|
5
5
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
6
6
|
import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS } from './chunk-ERT444RG.js';
|
|
7
|
-
import { useDurableParityEnabled, usePhaseCFlags } from './chunk-
|
|
8
|
-
import { WorkflowBatchOperationUpdatedDocument } from './chunk-
|
|
7
|
+
import { useDurableParityEnabled, usePhaseCFlags } from './chunk-CXBF63PL.js';
|
|
8
|
+
import { WorkflowBatchOperationUpdatedDocument } from './chunk-UDS2FA24.js';
|
|
9
9
|
import { useTr } from './chunk-UULVIT25.js';
|
|
10
10
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
11
11
|
import { describeOperationError } from './chunk-JKLZ6YZ3.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RunFailureClustersDocument, DismissRunFailureClusterDocument, RunFailureTriageSettingsDocument, SetRunFailureTriageEnabledDocument, FgTriageFailedRunsDocument } from './chunk-
|
|
1
|
+
import { RunFailureClustersDocument, DismissRunFailureClusterDocument, RunFailureTriageSettingsDocument, SetRunFailureTriageEnabledDocument, FgTriageFailedRunsDocument } from './chunk-UDS2FA24.js';
|
|
2
2
|
import { useTr } from './chunk-UULVIT25.js';
|
|
3
3
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
4
4
|
import { throwIfResultError } from './chunk-JKLZ6YZ3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { signalPayloadCard, payloadFromCardValues, parseRawSignalPayload } from './chunk-
|
|
2
|
-
import { TerminateWorkflowRunDocument, WorkflowRunHistoryDocument, RunEventAppendedDocument, DurableRunFieldsDocument, WorkflowRunDeterminismStatusDocument, WorkflowRunStackTraceDocument, SignalWorkflowRunDocument } from './chunk-
|
|
1
|
+
import { signalPayloadCard, payloadFromCardValues, parseRawSignalPayload } from './chunk-CXBF63PL.js';
|
|
2
|
+
import { TerminateWorkflowRunDocument, WorkflowRunHistoryDocument, RunEventAppendedDocument, DurableRunFieldsDocument, WorkflowRunDeterminismStatusDocument, WorkflowRunStackTraceDocument, SignalWorkflowRunDocument } from './chunk-UDS2FA24.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient, getFluidGridsClientSafe } from './chunk-PDODDDHY.js';
|
|
5
5
|
import { throwIfResultError, describeOperationError } from './chunk-JKLZ6YZ3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useFluidGridsAnalytics, emitWorkflowLimitHit, emitUpgradeClicked, WORKFLOWS_QUOTA_NAME } from './chunk-
|
|
2
|
-
import { ExportWorkflowCodeDocument, ShareWorkflowDocument, WorkflowSharingDocument } from './chunk-
|
|
1
|
+
import { useFluidGridsAnalytics, emitWorkflowLimitHit, emitUpgradeClicked, WORKFLOWS_QUOTA_NAME } from './chunk-CXBF63PL.js';
|
|
2
|
+
import { ExportWorkflowCodeDocument, ShareWorkflowDocument, WorkflowSharingDocument } 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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { REPLAY_WORKFLOW_RUN, RETRY_WORKFLOW_RUNS } from './chunk-5ERAJC2I.js';
|
|
2
|
-
import { useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt } from './chunk-
|
|
3
|
-
import { ExecutionsListDocument, ExecutionDetailDocument, ExecutionStatsDocument, PauseExecutionDocument, ResumeExecutionDocument, CancelExecutionDocument, RetryNodeDocument, TriggerWorkflowDocument, TerminateExecutionDocument } from './chunk-
|
|
2
|
+
import { useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt } from './chunk-CXBF63PL.js';
|
|
3
|
+
import { ExecutionsListDocument, ExecutionDetailDocument, ExecutionStatsDocument, PauseExecutionDocument, ResumeExecutionDocument, CancelExecutionDocument, RetryNodeDocument, TriggerWorkflowDocument, TerminateExecutionDocument } from './chunk-UDS2FA24.js';
|
|
4
4
|
import { useTr } from './chunk-UULVIT25.js';
|
|
5
5
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
6
6
|
import { throwIfResultError, emitFluidGridsEvent, emitOperationErrorEvent } from './chunk-JKLZ6YZ3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LOG_STREAM_DESTINATIONS, CREATE_LOG_STREAM_DESTINATION, UPDATE_LOG_STREAM_DESTINATION, DELETE_LOG_STREAM_DESTINATION, TEST_LOG_STREAM_DESTINATION, REPLAY_WORKFLOW_RUN, RETRY_WORKFLOW_RUNS, OBSERVABILITY_DASHBOARD_SUMMARY, OBSERVABILITY_FAILED_RUNS, OBSERVABILITY_DATA_SINKS, OBSERVABILITY_DATA_SINK_DATA } from './chunk-5ERAJC2I.js';
|
|
2
|
-
import { useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt, useFluidGridsFlag, FLUIDGRIDS_FLAGS } from './chunk-
|
|
2
|
+
import { useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt, useFluidGridsFlag, FLUIDGRIDS_FLAGS } from './chunk-CXBF63PL.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
5
5
|
import { throwIfResultError, describeOperationError, emitFluidGridsEvent } from './chunk-JKLZ6YZ3.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useNodeSelectedEvent, Card, FluidGridsMark } from './chunk-
|
|
1
|
+
import { useNodeSelectedEvent, Card, FluidGridsMark } from './chunk-SKMWUKT5.js';
|
|
2
2
|
import { Input } from './chunk-IEVSFCFS.js';
|
|
3
|
-
import { useWorkflowDefinition } from './chunk-
|
|
3
|
+
import { useWorkflowDefinition } from './chunk-6HXJEIDT.js';
|
|
4
4
|
import { Button } from './chunk-QJAZXCFQ.js';
|
|
5
|
-
import { FluidGridsProvider } from './chunk-
|
|
5
|
+
import { FluidGridsProvider } from './chunk-CXBF63PL.js';
|
|
6
6
|
import { useFlowStore } from './chunk-K2X63CR2.js';
|
|
7
7
|
import { cn } from './chunk-JL7CASN5.js';
|
|
8
8
|
import { useTr } from './chunk-UULVIT25.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { operatorSpec, normaliseAssertRules, describeAssertRuleProblem } from './chunk-JDLQ6QIB.js';
|
|
2
|
-
import { useEntityTags, useTagEntity, useUntagEntity } from './chunk-
|
|
2
|
+
import { useEntityTags, useTagEntity, useUntagEntity } from './chunk-6NSPCR5C.js';
|
|
3
3
|
import { notifyFluidGridsAiCreditsUpdated } from './chunk-Y53CVZVV.js';
|
|
4
4
|
import { ErrorType } from './chunk-6CPQVLHT.js';
|
|
5
|
-
import { WorkflowProposalDocument, ProposeRunFixDocument, ProposeWorkflowChangeDocument, ApplyWorkflowProposalDocument, RejectWorkflowProposalDocument, CancelWorkflowProposalDocument, WorkflowTestCasesDocument, WorkflowTestRunsDocument, WorkflowTestRunDocument, CreateWorkflowTestCaseDocument, UpdateWorkflowTestCaseDocument, DeleteWorkflowTestCaseDocument, RunWorkflowTestsDocument, CreateWorkflowTestCaseFromRunDocument } from './chunk-
|
|
5
|
+
import { WorkflowProposalDocument, ProposeRunFixDocument, ProposeWorkflowChangeDocument, ApplyWorkflowProposalDocument, RejectWorkflowProposalDocument, CancelWorkflowProposalDocument, WorkflowTestCasesDocument, WorkflowTestRunsDocument, WorkflowTestRunDocument, CreateWorkflowTestCaseDocument, UpdateWorkflowTestCaseDocument, DeleteWorkflowTestCaseDocument, RunWorkflowTestsDocument, CreateWorkflowTestCaseFromRunDocument } from './chunk-UDS2FA24.js';
|
|
6
6
|
import { useTr } from './chunk-UULVIT25.js';
|
|
7
7
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
8
8
|
import { throwIfResultError, isForbiddenError } from './chunk-JKLZ6YZ3.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { validateDateRange, statusCountFilter, STATUS_COUNT_GROUP_BY, statusCountsOf } from './chunk-
|
|
2
|
-
import { useAvailableTags, formatRunVersion, nodeDisplayTitle } from './chunk-
|
|
1
|
+
import { validateDateRange, statusCountFilter, STATUS_COUNT_GROUP_BY, statusCountsOf } from './chunk-LOU6RJIB.js';
|
|
2
|
+
import { useAvailableTags, formatRunVersion, nodeDisplayTitle } from './chunk-6NSPCR5C.js';
|
|
3
3
|
import { executionsControls } from './chunk-FNZZ5JJL.js';
|
|
4
4
|
import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
|
|
5
|
-
import { isAgentNodeType } from './chunk-
|
|
6
|
-
import { useDurableParityEnabled, formatElapsedMs, runDurationMs, nodeStateDurationMs } from './chunk-
|
|
7
|
-
import { SetWorkflowRunVersioningOverrideDocument, WorkflowRunsCountDocument, DurableParityRunFieldsDocument, WorkflowRunPendingDocument, WorkflowRunMetadataDocument } from './chunk-
|
|
5
|
+
import { isAgentNodeType } from './chunk-VXVLQ3LX.js';
|
|
6
|
+
import { useDurableParityEnabled, formatElapsedMs, runDurationMs, nodeStateDurationMs } from './chunk-CXBF63PL.js';
|
|
7
|
+
import { SetWorkflowRunVersioningOverrideDocument, WorkflowRunsCountDocument, DurableParityRunFieldsDocument, WorkflowRunPendingDocument, WorkflowRunMetadataDocument } from './chunk-UDS2FA24.js';
|
|
8
8
|
import { useTr } from './chunk-UULVIT25.js';
|
|
9
9
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
10
10
|
import { throwIfResultError, describeOperationError } from './chunk-JKLZ6YZ3.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { useDurableRunFields, useRunHistory, useDeterminismStatus, useRunStackTrace, RunHistoryView, SignalRunDialog, terminateDurableRun } from './chunk-
|
|
2
|
-
import { useDurableParityRunFields, hasAgentNodeState, agentNodeTraces, orderNodesByExecution, useRunPending, useRunMetadata, ExecutionStatusBadge, NodeTimeline, RunLogViewer, NodeStatusBadge, setRunVersioningOverride } from './chunk-
|
|
3
|
-
import { useExecution, useExecutionActions, useAutoRefresh, runChainLinks, shortRunId, callbackTone, parseMetadataDefinition, overrideRequestOf } from './chunk-
|
|
4
|
-
import { fetchRunFailureClusters, OPEN_STATUSES, dismissRunFailureCluster, BUCKET_LABELS } from './chunk-
|
|
1
|
+
import { useDurableRunFields, useRunHistory, useDeterminismStatus, useRunStackTrace, RunHistoryView, SignalRunDialog, terminateDurableRun } from './chunk-KLR4BZ75.js';
|
|
2
|
+
import { useDurableParityRunFields, hasAgentNodeState, agentNodeTraces, orderNodesByExecution, useRunPending, useRunMetadata, ExecutionStatusBadge, NodeTimeline, RunLogViewer, NodeStatusBadge, setRunVersioningOverride } from './chunk-PXN3S2YU.js';
|
|
3
|
+
import { useExecution, useExecutionActions, useAutoRefresh, runChainLinks, shortRunId, callbackTone, parseMetadataDefinition, overrideRequestOf } from './chunk-LOU6RJIB.js';
|
|
4
|
+
import { fetchRunFailureClusters, OPEN_STATUSES, dismissRunFailureCluster, BUCKET_LABELS } from './chunk-GA3DS2ZJ.js';
|
|
5
5
|
import { aiCost, formatTokens, modelLabel } from './chunk-NZAYYUQ4.js';
|
|
6
|
-
import { useRunPolicyDecisions, RunPolicyDecisions, checkCodecServerUrl, containsEncodedPayload, isEncodedPayload, encodedPayloadBytes, decodePayloads, CodecServerError } from './chunk-
|
|
7
|
-
import { EntityTagPicker, canSaveRunAsTestCase, useWorkflowProposal, WorkflowProposalCard, MAX_CASE_NAME, saveRunAsTestCase } from './chunk-
|
|
8
|
-
import { buildNodeDisplayMap, formatRunVersion, nodeDisplayTitle } from './chunk-
|
|
6
|
+
import { useRunPolicyDecisions, RunPolicyDecisions, checkCodecServerUrl, containsEncodedPayload, formatBudgetUsd, isEncodedPayload, encodedPayloadBytes, decodePayloads, CodecServerError } from './chunk-5NZANNKX.js';
|
|
7
|
+
import { EntityTagPicker, canSaveRunAsTestCase, useWorkflowProposal, WorkflowProposalCard, MAX_CASE_NAME, saveRunAsTestCase } from './chunk-POCNK7FY.js';
|
|
8
|
+
import { buildNodeDisplayMap, formatRunVersion, nodeDisplayTitle } from './chunk-6NSPCR5C.js';
|
|
9
9
|
import { AiCreditBalanceSlot } from './chunk-Y53CVZVV.js';
|
|
10
|
-
import { useWorkflowVersions } from './chunk-
|
|
11
|
-
import { readTyped, writeTyped, useResource, fetchCodecServerSettings, fetchRunControlFields, fetchPauseRules, RUN_CONTROL_DIALOG_STYLE, fetchRunHistoryArchive, parseJsonInput, NativeSelect, JsonField, FieldError, StatusPill, JsonBlock, fetchSignalTokens, parseJsonObjectInput, queryRun, revokeSignalToken, upsertRunSearchAttributes, newRunControlId, fetchRunUpdate, createSignalToken, pauseActivities, unpauseActivities, resetActivities, updateActivityOptions, completeActivityById, failActivityById, sendRunUpdate, resetRunToLastCleanTask, resetRun } from './chunk-
|
|
10
|
+
import { useWorkflowVersions } from './chunk-6HXJEIDT.js';
|
|
11
|
+
import { readTyped, writeTyped, useResource, fetchCodecServerSettings, fetchRunControlFields, fetchPauseRules, RUN_CONTROL_DIALOG_STYLE, fetchRunHistoryArchive, parseJsonInput, NativeSelect, JsonField, FieldError, StatusPill, JsonBlock, fetchSignalTokens, parseJsonObjectInput, queryRun, revokeSignalToken, upsertRunSearchAttributes, newRunControlId, fetchRunUpdate, createSignalToken, pauseActivities, unpauseActivities, resetActivities, updateActivityOptions, completeActivityById, failActivityById, sendRunUpdate, resetRunToLastCleanTask, resetRun } from './chunk-VXVLQ3LX.js';
|
|
12
12
|
import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, SdkPermissionButton } from './chunk-ERT444RG.js';
|
|
13
|
-
import { useDurableFunctionNodesEnabled, useDurableParityEnabled, usePhaseCFlags, runSignalTargets, canSignalRun, formatElapsedMs, runDurationMs, useWorkflowTestsEnabled, durableInterfaceOf } from './chunk-
|
|
14
|
-
import { TaskQueuesDocument, TaskQueueStatsDocument, CreateTaskQueueDocument, UpdateTaskQueueDocument, DeleteTaskQueueDocument, WorkflowWorkersDocument, WorkerTokensDocument, CreateWorkerTokenDocument, RotateWorkerTokenDocument, DeleteWorkerTokenDocument, SetWorkerTokenConnectionAllowlistDocument, RunLogsDocument, RunLogAppendedDocument, ExplainRunDocument, RunAiUsageDocument } from './chunk-
|
|
13
|
+
import { useDurableFunctionNodesEnabled, useDurableParityEnabled, usePhaseCFlags, runSignalTargets, canSignalRun, formatElapsedMs, runDurationMs, useWorkflowTestsEnabled, durableInterfaceOf } from './chunk-CXBF63PL.js';
|
|
14
|
+
import { TaskQueuesDocument, TaskQueueStatsDocument, CreateTaskQueueDocument, UpdateTaskQueueDocument, DeleteTaskQueueDocument, WorkflowWorkersDocument, WorkerTokensDocument, CreateWorkerTokenDocument, RotateWorkerTokenDocument, DeleteWorkerTokenDocument, SetWorkerTokenConnectionAllowlistDocument, RunLogsDocument, RunLogAppendedDocument, ExplainRunDocument, RunAiUsageDocument } from './chunk-UDS2FA24.js';
|
|
15
15
|
import { useTr } from './chunk-UULVIT25.js';
|
|
16
16
|
import { getFluidGridsClient, getFluidGridsClientSafe } from './chunk-PDODDDHY.js';
|
|
17
17
|
import { throwIfResultError, describeOperationError } from './chunk-JKLZ6YZ3.js';
|
|
@@ -813,6 +813,153 @@ function RunQueuedBanner({
|
|
|
813
813
|
}
|
|
814
814
|
);
|
|
815
815
|
}
|
|
816
|
+
var LIMIT_OF = {
|
|
817
|
+
STEPS: "maxSteps",
|
|
818
|
+
TOKENS: "maxTokens",
|
|
819
|
+
COST: "maxCostMicroUsd",
|
|
820
|
+
WALL_TIME: "maxWallTimeSec"
|
|
821
|
+
};
|
|
822
|
+
var ORDER = ["STEPS", "TOKENS", "COST", "WALL_TIME"];
|
|
823
|
+
function RunBudgetPanel({
|
|
824
|
+
budget
|
|
825
|
+
}) {
|
|
826
|
+
const tr = useTr();
|
|
827
|
+
if (!budget) return null;
|
|
828
|
+
const label = (dimension) => {
|
|
829
|
+
switch (dimension) {
|
|
830
|
+
case "STEPS":
|
|
831
|
+
return tr("fluidgrids.executions.budget.steps", "Model calls");
|
|
832
|
+
case "TOKENS":
|
|
833
|
+
return tr("fluidgrids.executions.budget.tokens", "Tokens");
|
|
834
|
+
case "COST":
|
|
835
|
+
return tr("fluidgrids.executions.budget.cost", "AI cost");
|
|
836
|
+
case "WALL_TIME":
|
|
837
|
+
return tr("fluidgrids.executions.budget.wallTime", "Running time");
|
|
838
|
+
}
|
|
839
|
+
};
|
|
840
|
+
const amount = (dimension, value) => {
|
|
841
|
+
switch (dimension) {
|
|
842
|
+
case "COST":
|
|
843
|
+
return `${formatBudgetUsd(value)} USD`;
|
|
844
|
+
case "WALL_TIME":
|
|
845
|
+
return `${Math.floor(value)} s`;
|
|
846
|
+
default:
|
|
847
|
+
return Math.floor(value).toLocaleString();
|
|
848
|
+
}
|
|
849
|
+
};
|
|
850
|
+
const used = (dimension) => {
|
|
851
|
+
switch (dimension) {
|
|
852
|
+
case "STEPS":
|
|
853
|
+
return budget.usage.steps;
|
|
854
|
+
case "TOKENS":
|
|
855
|
+
return budget.usage.tokens;
|
|
856
|
+
case "COST":
|
|
857
|
+
return budget.usage.costMicroUsd;
|
|
858
|
+
case "WALL_TIME":
|
|
859
|
+
return budget.usage.activeSeconds;
|
|
860
|
+
}
|
|
861
|
+
};
|
|
862
|
+
const rows = ORDER.flatMap((dimension) => {
|
|
863
|
+
const limit = budget.limits[LIMIT_OF[dimension]];
|
|
864
|
+
return limit ? [{ dimension, limit }] : [];
|
|
865
|
+
});
|
|
866
|
+
const stopped = budget.exceeded.find((event) => event.mode === "HARD");
|
|
867
|
+
const warned = budget.exceeded.filter((event) => event.mode === "SOFT");
|
|
868
|
+
return /* @__PURE__ */ jsxs(
|
|
869
|
+
"div",
|
|
870
|
+
{
|
|
871
|
+
className: "mb-6 rounded-lg border border-border-secondary bg-background-secondary p-4",
|
|
872
|
+
"data-testid": "run-budget-panel",
|
|
873
|
+
children: [
|
|
874
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-sm font-medium text-text-primary", children: [
|
|
875
|
+
/* @__PURE__ */ jsx(Icon, { icon: "mdi:gauge", width: 18 }),
|
|
876
|
+
tr("fluidgrids.executions.budget.heading", "AI budget")
|
|
877
|
+
] }),
|
|
878
|
+
stopped && /* @__PURE__ */ jsx(
|
|
879
|
+
"p",
|
|
880
|
+
{
|
|
881
|
+
className: "mt-2 rounded-md border border-status-error-border bg-status-error-bg-subtle p-2 text-sm text-status-error-text",
|
|
882
|
+
role: "alert",
|
|
883
|
+
children: tr(
|
|
884
|
+
"fluidgrids.executions.budget.stopped",
|
|
885
|
+
"This run was stopped before its next model call: it reached its {{what}} limit of {{limit}} ({{observed}} used).",
|
|
886
|
+
{
|
|
887
|
+
what: label(stopped.dimension).toLowerCase(),
|
|
888
|
+
limit: amount(stopped.dimension, stopped.limit),
|
|
889
|
+
observed: amount(stopped.dimension, stopped.observed)
|
|
890
|
+
}
|
|
891
|
+
)
|
|
892
|
+
}
|
|
893
|
+
),
|
|
894
|
+
warned.map((event) => /* @__PURE__ */ jsx(
|
|
895
|
+
"p",
|
|
896
|
+
{
|
|
897
|
+
className: "mt-2 rounded-md border border-status-warning-border bg-status-warning-bg-subtle p-2 text-sm text-status-warning-text",
|
|
898
|
+
children: tr(
|
|
899
|
+
"fluidgrids.executions.budget.warned",
|
|
900
|
+
"This run went over its {{what}} limit of {{limit}} ({{observed}} used). The limit only warns, so the run carried on.",
|
|
901
|
+
{
|
|
902
|
+
what: label(event.dimension).toLowerCase(),
|
|
903
|
+
limit: amount(event.dimension, event.limit),
|
|
904
|
+
observed: amount(event.dimension, event.observed)
|
|
905
|
+
}
|
|
906
|
+
)
|
|
907
|
+
},
|
|
908
|
+
event.dimension
|
|
909
|
+
)),
|
|
910
|
+
/* @__PURE__ */ jsx("dl", { className: "mt-3 grid grid-cols-1 gap-3 sm:grid-cols-2", children: rows.map(({ dimension, limit }) => {
|
|
911
|
+
const value = used(dimension);
|
|
912
|
+
const share = value === null || !(limit.limit > 0) ? 0 : Math.min(1, Math.max(0, value / limit.limit));
|
|
913
|
+
const over = budget.exceeded.some((e) => e.dimension === dimension);
|
|
914
|
+
return /* @__PURE__ */ jsxs("div", { "data-testid": `run-budget-${dimension}`, children: [
|
|
915
|
+
/* @__PURE__ */ jsxs("dt", { className: "flex items-center justify-between text-xs text-text-secondary", children: [
|
|
916
|
+
/* @__PURE__ */ jsx("span", { children: label(dimension) }),
|
|
917
|
+
/* @__PURE__ */ jsx("span", { children: limit.mode === "HARD" ? tr(
|
|
918
|
+
"fluidgrids.executions.budget.modeHard",
|
|
919
|
+
"Stops the run"
|
|
920
|
+
) : tr("fluidgrids.executions.budget.modeSoft", "Warns only") })
|
|
921
|
+
] }),
|
|
922
|
+
/* @__PURE__ */ jsxs("dd", { className: "mt-1", children: [
|
|
923
|
+
/* @__PURE__ */ jsxs("div", { className: "text-sm text-text-primary", children: [
|
|
924
|
+
value === null ? tr(
|
|
925
|
+
"fluidgrids.executions.budget.notPriced",
|
|
926
|
+
"Not priced yet"
|
|
927
|
+
) : amount(dimension, value),
|
|
928
|
+
" ",
|
|
929
|
+
/* @__PURE__ */ jsxs("span", { className: "text-text-secondary", children: [
|
|
930
|
+
"/ ",
|
|
931
|
+
amount(dimension, limit.limit)
|
|
932
|
+
] })
|
|
933
|
+
] }),
|
|
934
|
+
/* @__PURE__ */ jsx(
|
|
935
|
+
"div",
|
|
936
|
+
{
|
|
937
|
+
className: "mt-1 h-1.5 w-full overflow-hidden rounded-full bg-background-tertiary",
|
|
938
|
+
role: "progressbar",
|
|
939
|
+
"aria-label": label(dimension),
|
|
940
|
+
"aria-valuemin": 0,
|
|
941
|
+
"aria-valuemax": 100,
|
|
942
|
+
"aria-valuenow": value === null ? void 0 : Math.round(share * 100),
|
|
943
|
+
children: /* @__PURE__ */ jsx(
|
|
944
|
+
"div",
|
|
945
|
+
{
|
|
946
|
+
className: over ? limit.mode === "HARD" ? "h-full bg-status-error" : "h-full bg-status-warning" : "h-full bg-primary",
|
|
947
|
+
style: { width: `${Math.round(share * 100)}%` }
|
|
948
|
+
}
|
|
949
|
+
)
|
|
950
|
+
}
|
|
951
|
+
)
|
|
952
|
+
] })
|
|
953
|
+
] }, dimension);
|
|
954
|
+
}) }),
|
|
955
|
+
rows.length > 0 && /* @__PURE__ */ jsx("p", { className: "mt-3 text-xs text-text-secondary", children: tr(
|
|
956
|
+
"fluidgrids.executions.budget.footnote",
|
|
957
|
+
"Usage is this run's own. Model calls, tokens and cost of sub-workflows also count against the top-level run's limits."
|
|
958
|
+
) })
|
|
959
|
+
]
|
|
960
|
+
}
|
|
961
|
+
);
|
|
962
|
+
}
|
|
816
963
|
function RunAiAssistPanel({
|
|
817
964
|
runId,
|
|
818
965
|
status,
|
|
@@ -5730,6 +5877,7 @@ function ExecutionDetailPage() {
|
|
|
5730
5877
|
),
|
|
5731
5878
|
/* @__PURE__ */ jsx(RunQueuedBanner, { status: execution.status, context: execution.context }),
|
|
5732
5879
|
/* @__PURE__ */ jsx(RunDataPrunedNotice, { dataPrunedAt: execution.dataPrunedAt }),
|
|
5880
|
+
/* @__PURE__ */ jsx(RunBudgetPanel, { budget: execution.budget }),
|
|
5733
5881
|
/* @__PURE__ */ jsx(RunHumanRequests, { requests: humanRequests }),
|
|
5734
5882
|
/* @__PURE__ */ jsx(
|
|
5735
5883
|
RunPolicyDecisions,
|
|
@@ -5815,18 +5963,21 @@ function ExecutionDetailPage() {
|
|
|
5815
5963
|
onViewAgentTrace: (nodeId) => setActiveTab("agent", nodeId)
|
|
5816
5964
|
}
|
|
5817
5965
|
) }),
|
|
5818
|
-
activeTab === "agent" && hasAgent && /* @__PURE__ */
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5966
|
+
activeTab === "agent" && hasAgent && /* @__PURE__ */ jsxs("div", { className: "p-4 sm:p-6", children: [
|
|
5967
|
+
/* @__PURE__ */ jsx(RunBudgetPanel, { budget: execution.budget }),
|
|
5968
|
+
/* @__PURE__ */ jsx(
|
|
5969
|
+
AgentTracePanel,
|
|
5970
|
+
{
|
|
5971
|
+
traces: agentTraces,
|
|
5972
|
+
nodeDisplay,
|
|
5973
|
+
usage: runAiUsage.usage,
|
|
5974
|
+
usageLoading: runAiUsage.loading,
|
|
5975
|
+
usageError: runAiUsage.error,
|
|
5976
|
+
onRefreshUsage: () => void runAiUsage.refetch(),
|
|
5977
|
+
focusNodeId: agentFocusNodeId
|
|
5978
|
+
}
|
|
5979
|
+
)
|
|
5980
|
+
] }),
|
|
5830
5981
|
activeTab === "history" && isDurableRun && /* @__PURE__ */ jsxs("div", { className: "space-y-4 p-4 sm:p-6", children: [
|
|
5831
5982
|
phaseC.runArchival && /* @__PURE__ */ jsx(RunArchivedNotice, { runId: execution.id, enabled: true }),
|
|
5832
5983
|
runCanChange && /* @__PURE__ */ jsx(
|