@burdenoff/fluidgrids-fe-sdk 2026.1110.5 → 2026.1110.7
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-FLLQTJBW.js → ExecutionDetailPage-2QOZ452U.js} +1 -1
- package/dist/{chunk-MOX7UB6C.js → chunk-R4HR4GZK.js} +1 -1
- package/dist/{chunk-ZTE3O5S4.js → chunk-XM3IMHA7.js} +65 -43
- package/dist/executions.js +1 -1
- package/dist/index.js +4 -4
- package/dist/settings.js +1 -1
- package/package.json +1 -1
|
@@ -854,7 +854,7 @@ function RunBudgetPanel({
|
|
|
854
854
|
case "TOKENS":
|
|
855
855
|
return budget.usage.tokens;
|
|
856
856
|
case "COST":
|
|
857
|
-
return budget.usage.costMicroUsd;
|
|
857
|
+
return budget.usage.costMicroUsd ?? (budget.usage.steps === 0 ? 0 : null);
|
|
858
858
|
case "WALL_TIME":
|
|
859
859
|
return budget.usage.activeSeconds;
|
|
860
860
|
}
|
|
@@ -513,44 +513,65 @@ function SettingRow({
|
|
|
513
513
|
/* @__PURE__ */ jsx("div", { className: "shrink-0", children })
|
|
514
514
|
] });
|
|
515
515
|
}
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
516
|
+
function rowCopy(tr, dimension) {
|
|
517
|
+
switch (dimension) {
|
|
518
|
+
case "maxSteps":
|
|
519
|
+
return {
|
|
520
|
+
label: tr(
|
|
521
|
+
"fluidgrids.settings.execution.budget.stepsLabel",
|
|
522
|
+
"Max model calls per run"
|
|
523
|
+
),
|
|
524
|
+
description: tr(
|
|
525
|
+
"fluidgrids.settings.execution.budget.stepsDescription",
|
|
526
|
+
"Every AI Agent turn and every call an AI node, tool or sub-node makes counts, including those of sub-workflows."
|
|
527
|
+
),
|
|
528
|
+
unit: tr("fluidgrids.settings.execution.budget.stepsUnit", "calls"),
|
|
529
|
+
step: "1"
|
|
530
|
+
};
|
|
531
|
+
case "maxTokens":
|
|
532
|
+
return {
|
|
533
|
+
label: tr(
|
|
534
|
+
"fluidgrids.settings.execution.budget.tokensLabel",
|
|
535
|
+
"Max tokens per run"
|
|
536
|
+
),
|
|
537
|
+
description: tr(
|
|
538
|
+
"fluidgrids.settings.execution.budget.tokensDescription",
|
|
539
|
+
"Input plus output tokens of the run's model calls, including those of sub-workflows."
|
|
540
|
+
),
|
|
541
|
+
unit: tr("fluidgrids.settings.execution.budget.tokensUnit", "tokens"),
|
|
542
|
+
step: "1"
|
|
543
|
+
};
|
|
544
|
+
case "maxCostMicroUsd":
|
|
545
|
+
return {
|
|
546
|
+
label: tr(
|
|
547
|
+
"fluidgrids.settings.execution.budget.costLabel",
|
|
548
|
+
"Max AI cost per run"
|
|
549
|
+
),
|
|
550
|
+
description: tr(
|
|
551
|
+
"fluidgrids.settings.execution.budget.costDescription",
|
|
552
|
+
"The estimated cost of the run's model calls, including those of sub-workflows. A call is priced after it returns, so the check can trail by one call."
|
|
553
|
+
),
|
|
554
|
+
unit: tr("fluidgrids.settings.execution.budget.costUnit", "USD"),
|
|
555
|
+
step: "0.01"
|
|
556
|
+
};
|
|
557
|
+
case "maxWallTimeSec":
|
|
558
|
+
return {
|
|
559
|
+
label: tr(
|
|
560
|
+
"fluidgrids.settings.execution.budget.wallTimeLabel",
|
|
561
|
+
"Max AI running time per run"
|
|
562
|
+
),
|
|
563
|
+
description: tr(
|
|
564
|
+
"fluidgrids.settings.execution.budget.wallTimeDescription",
|
|
565
|
+
"Checked before each model call. Time the run spends paused (an approval, a long Wait) does not count."
|
|
566
|
+
),
|
|
567
|
+
unit: tr(
|
|
568
|
+
"fluidgrids.settings.execution.budget.wallTimeUnit",
|
|
569
|
+
"seconds"
|
|
570
|
+
),
|
|
571
|
+
step: "1"
|
|
572
|
+
};
|
|
552
573
|
}
|
|
553
|
-
}
|
|
574
|
+
}
|
|
554
575
|
function RunBudgetSettings({
|
|
555
576
|
budget,
|
|
556
577
|
disabled,
|
|
@@ -558,15 +579,15 @@ function RunBudgetSettings({
|
|
|
558
579
|
}) {
|
|
559
580
|
const tr = useTr();
|
|
560
581
|
return /* @__PURE__ */ jsx(Fragment, { children: BUDGET_DIMENSIONS.map((dimension) => {
|
|
561
|
-
const row =
|
|
582
|
+
const row = rowCopy(tr, dimension);
|
|
562
583
|
const limit = budget?.[dimension];
|
|
563
584
|
const mode = limit?.mode ?? "HARD";
|
|
564
|
-
const label =
|
|
585
|
+
const label = row.label;
|
|
565
586
|
return /* @__PURE__ */ jsx(
|
|
566
587
|
SettingRow,
|
|
567
588
|
{
|
|
568
589
|
label,
|
|
569
|
-
description:
|
|
590
|
+
description: row.description,
|
|
570
591
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
571
592
|
/* @__PURE__ */ jsx(
|
|
572
593
|
Input,
|
|
@@ -587,7 +608,7 @@ function RunBudgetSettings({
|
|
|
587
608
|
className: "w-[110px] text-right"
|
|
588
609
|
}
|
|
589
610
|
),
|
|
590
|
-
/* @__PURE__ */ jsx("span", { className: "w-[52px] text-xs text-text-secondary", children:
|
|
611
|
+
/* @__PURE__ */ jsx("span", { className: "w-[52px] text-xs text-text-secondary", children: row.unit }),
|
|
591
612
|
/* @__PURE__ */ jsxs(
|
|
592
613
|
Select,
|
|
593
614
|
{
|
|
@@ -605,8 +626,9 @@ function RunBudgetSettings({
|
|
|
605
626
|
SelectTrigger,
|
|
606
627
|
{
|
|
607
628
|
"aria-label": tr(
|
|
608
|
-
"fluidgrids.settings.execution.budget.
|
|
609
|
-
"
|
|
629
|
+
"fluidgrids.settings.execution.budget.modeLabelFor",
|
|
630
|
+
"{{limit}}: when reached",
|
|
631
|
+
{ limit: label }
|
|
610
632
|
),
|
|
611
633
|
className: "w-[150px] bg-background-secondary border-border-secondary",
|
|
612
634
|
children: /* @__PURE__ */ jsx(SelectValue, {})
|
package/dist/executions.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './chunk-AD3BXTJS.js';
|
|
2
|
-
export { ExecutionDetailPage } from './chunk-
|
|
2
|
+
export { ExecutionDetailPage } from './chunk-R4HR4GZK.js';
|
|
3
3
|
import './chunk-W5ZTQQUI.js';
|
|
4
4
|
export { ExecutionsListPage } from './chunk-ED3DCUU5.js';
|
|
5
5
|
import './chunk-RVRLVDZA.js';
|
package/dist/index.js
CHANGED
|
@@ -6,8 +6,8 @@ export { FirstWorkflowChecklist, FirstWorkflowChecklistView, WorkflowsList, useC
|
|
|
6
6
|
export { GUIDED_FIRST_WORKFLOW_NAV, GUIDED_FIRST_WORKFLOW_STATE, GUIDED_TOUR_STATE, firstWorkflowProgress, isGuidedTourIntent, pickGuidedTour } from './chunk-NRI7AUBH.js';
|
|
7
7
|
import './chunk-PIKYQE7P.js';
|
|
8
8
|
import './chunk-AD3BXTJS.js';
|
|
9
|
-
import { fetchTaskQueues, fetchWorkflowWorkers, fetchWorkerTokens, fetchTaskQueueStats, usePendingHumanRequests, HumanRequestCard, deleteTaskQueue, rotateWorkerToken, deleteWorkerToken, updateTaskQueue, createTaskQueue, createWorkerToken, setWorkerTokenConnectionAllowlist } from './chunk-
|
|
10
|
-
export { ExecutionDetailPage, HumanRequestCard, RunHumanRequests, usePendingHumanRequests, useRespondToHumanRequest, useRunHumanRequests } from './chunk-
|
|
9
|
+
import { fetchTaskQueues, fetchWorkflowWorkers, fetchWorkerTokens, fetchTaskQueueStats, usePendingHumanRequests, HumanRequestCard, deleteTaskQueue, rotateWorkerToken, deleteWorkerToken, updateTaskQueue, createTaskQueue, createWorkerToken, setWorkerTokenConnectionAllowlist } from './chunk-R4HR4GZK.js';
|
|
10
|
+
export { ExecutionDetailPage, HumanRequestCard, RunHumanRequests, usePendingHumanRequests, useRespondToHumanRequest, useRunHumanRequests } from './chunk-R4HR4GZK.js';
|
|
11
11
|
import './chunk-W5ZTQQUI.js';
|
|
12
12
|
export { ExecutionsListPage } from './chunk-ED3DCUU5.js';
|
|
13
13
|
import { TagFilterSelect } from './chunk-RVRLVDZA.js';
|
|
@@ -17,7 +17,7 @@ export { NodesPage, fetchAllNodesWithManifests, useLazyNodeManifest, useNodeEndp
|
|
|
17
17
|
export { DataSinkDashboardPage, ErrorAnalyticsPage, InsightsPage } from './chunk-SUHVKRZU.js';
|
|
18
18
|
import './chunk-GA3DS2ZJ.js';
|
|
19
19
|
import './chunk-NZAYYUQ4.js';
|
|
20
|
-
export { ManagedAiPolicyAuthorityProvider, SettingsPage } from './chunk-
|
|
20
|
+
export { ManagedAiPolicyAuthorityProvider, SettingsPage } from './chunk-XM3IMHA7.js';
|
|
21
21
|
export { checkCodecServerUrl, decodePayloads, isEncodedPayload } from './chunk-5NZANNKX.js';
|
|
22
22
|
export { useDataSinkData, useDataSinks, useInsightsData, useLogStreamDestinationActions, useLogStreamDestinations, useRunReplayActions } from './chunk-JGHDGMYV.js';
|
|
23
23
|
import './chunk-5ERAJC2I.js';
|
|
@@ -120,7 +120,7 @@ var ExecutionsListPage2 = lazy(
|
|
|
120
120
|
}))
|
|
121
121
|
);
|
|
122
122
|
var ExecutionDetailPage2 = lazy(
|
|
123
|
-
() => import('./ExecutionDetailPage-
|
|
123
|
+
() => import('./ExecutionDetailPage-2QOZ452U.js').then((m) => ({
|
|
124
124
|
default: m.ExecutionDetailPage
|
|
125
125
|
}))
|
|
126
126
|
);
|
package/dist/settings.js
CHANGED