@burdenoff/fluidgrids-fe-sdk 2026.1110.5 → 2026.1110.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -513,44 +513,65 @@ function SettingRow({
513
513
  /* @__PURE__ */ jsx("div", { className: "shrink-0", children })
514
514
  ] });
515
515
  }
516
- var ROWS = {
517
- maxSteps: {
518
- labelKey: "fluidgrids.settings.execution.budget.stepsLabel",
519
- label: "Max model calls per run",
520
- descriptionKey: "fluidgrids.settings.execution.budget.stepsDescription",
521
- description: "Every AI Agent turn and every call an AI node, tool or sub-node makes counts, including those of sub-workflows.",
522
- unitKey: "fluidgrids.settings.execution.budget.stepsUnit",
523
- unit: "calls",
524
- step: "1"
525
- },
526
- maxTokens: {
527
- labelKey: "fluidgrids.settings.execution.budget.tokensLabel",
528
- label: "Max tokens per run",
529
- descriptionKey: "fluidgrids.settings.execution.budget.tokensDescription",
530
- description: "Input plus output tokens of the run's model calls, including those of sub-workflows.",
531
- unitKey: "fluidgrids.settings.execution.budget.tokensUnit",
532
- unit: "tokens",
533
- step: "1"
534
- },
535
- maxCostMicroUsd: {
536
- labelKey: "fluidgrids.settings.execution.budget.costLabel",
537
- label: "Max AI cost per run",
538
- descriptionKey: "fluidgrids.settings.execution.budget.costDescription",
539
- description: "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.",
540
- unitKey: "fluidgrids.settings.execution.budget.costUnit",
541
- unit: "USD",
542
- step: "0.01"
543
- },
544
- maxWallTimeSec: {
545
- labelKey: "fluidgrids.settings.execution.budget.wallTimeLabel",
546
- label: "Max AI running time per run",
547
- descriptionKey: "fluidgrids.settings.execution.budget.wallTimeDescription",
548
- description: "Checked before each model call. Time the run spends paused (an approval, a long Wait) does not count.",
549
- unitKey: "fluidgrids.settings.execution.budget.wallTimeUnit",
550
- unit: "seconds",
551
- step: "1"
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 = ROWS[dimension];
582
+ const row = rowCopy(tr, dimension);
562
583
  const limit = budget?.[dimension];
563
584
  const mode = limit?.mode ?? "HARD";
564
- const label = tr(row.labelKey, row.label);
585
+ const label = row.label;
565
586
  return /* @__PURE__ */ jsx(
566
587
  SettingRow,
567
588
  {
568
589
  label,
569
- description: tr(row.descriptionKey, row.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: tr(row.unitKey, row.unit) }),
611
+ /* @__PURE__ */ jsx("span", { className: "w-[52px] text-xs text-text-secondary", children: row.unit }),
591
612
  /* @__PURE__ */ jsxs(
592
613
  Select,
593
614
  {
package/dist/index.js CHANGED
@@ -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-ZTE3O5S4.js';
20
+ export { ManagedAiPolicyAuthorityProvider, SettingsPage } from './chunk-3Z566C7Q.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';
package/dist/settings.js CHANGED
@@ -1,4 +1,4 @@
1
- export { ManagedAiPolicyAuthorityProvider, SettingsPage } from './chunk-ZTE3O5S4.js';
1
+ export { ManagedAiPolicyAuthorityProvider, SettingsPage } from './chunk-3Z566C7Q.js';
2
2
  import './chunk-5NZANNKX.js';
3
3
  import './chunk-JGHDGMYV.js';
4
4
  import './chunk-5ERAJC2I.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fluidgrids-fe-sdk",
3
- "version": "2026.1110.5",
3
+ "version": "2026.1110.6",
4
4
  "description": "FluidGrids Workflow Builder SDK - Embeddable visual workflow automation",
5
5
  "type": "module",
6
6
  "imports": {