@nodaro/shared 3.36.0 → 3.37.0

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.
Files changed (97) hide show
  1. package/dist/{chunk-BSQCKTXH.cjs → chunk-33QG2DOW.cjs} +6 -6
  2. package/dist/{chunk-BSQCKTXH.cjs.map → chunk-33QG2DOW.cjs.map} +1 -1
  3. package/dist/{chunk-FKQJYMCO.js → chunk-4XI6B4RU.js} +25 -13
  4. package/dist/chunk-4XI6B4RU.js.map +1 -0
  5. package/dist/{chunk-NYMOHNYV.js → chunk-5OED47LE.js} +3 -3
  6. package/dist/{chunk-NYMOHNYV.js.map → chunk-5OED47LE.js.map} +1 -1
  7. package/dist/{chunk-GZH2SIOF.cjs → chunk-5PCI6M44.cjs} +18 -6
  8. package/dist/chunk-5PCI6M44.cjs.map +1 -0
  9. package/dist/chunk-6Q4BS6AR.js +158 -0
  10. package/dist/chunk-6Q4BS6AR.js.map +1 -0
  11. package/dist/{chunk-LT5IJO4Y.cjs → chunk-6Y66YM4M.cjs} +10 -10
  12. package/dist/{chunk-LT5IJO4Y.cjs.map → chunk-6Y66YM4M.cjs.map} +1 -1
  13. package/dist/{chunk-YN6AXDN5.cjs → chunk-7Q75OZBL.cjs} +7 -7
  14. package/dist/{chunk-YN6AXDN5.cjs.map → chunk-7Q75OZBL.cjs.map} +1 -1
  15. package/dist/{chunk-AXUW64ZY.js → chunk-7QITUDRT.js} +3 -3
  16. package/dist/{chunk-AXUW64ZY.js.map → chunk-7QITUDRT.js.map} +1 -1
  17. package/dist/{chunk-TCBHVIMD.js → chunk-CQJYKSXF.js} +18 -6
  18. package/dist/chunk-CQJYKSXF.js.map +1 -0
  19. package/dist/chunk-DBD4BCGH.cjs +169 -0
  20. package/dist/chunk-DBD4BCGH.cjs.map +1 -0
  21. package/dist/{chunk-7VQPHLZ5.cjs → chunk-ENFBA33M.cjs} +21 -21
  22. package/dist/{chunk-7VQPHLZ5.cjs.map → chunk-ENFBA33M.cjs.map} +1 -1
  23. package/dist/{chunk-BBLE4UTG.cjs → chunk-GLON7ANZ.cjs} +48 -15
  24. package/dist/chunk-GLON7ANZ.cjs.map +1 -0
  25. package/dist/{chunk-JSGIEF6Z.cjs → chunk-HSJU5KNR.cjs} +6 -3
  26. package/dist/chunk-HSJU5KNR.cjs.map +1 -0
  27. package/dist/{chunk-NITAUX3A.cjs → chunk-JLKZEKQ3.cjs} +45 -28
  28. package/dist/chunk-JLKZEKQ3.cjs.map +1 -0
  29. package/dist/{chunk-2HVFF5SS.js → chunk-L6HS52BV.js} +3 -3
  30. package/dist/{chunk-2HVFF5SS.js.map → chunk-L6HS52BV.js.map} +1 -1
  31. package/dist/{chunk-V3N56Z2S.cjs → chunk-M6JHRWVY.cjs} +27 -12
  32. package/dist/chunk-M6JHRWVY.cjs.map +1 -0
  33. package/dist/{chunk-AWWOQH46.cjs → chunk-NARVPCWW.cjs} +6 -6
  34. package/dist/{chunk-AWWOQH46.cjs.map → chunk-NARVPCWW.cjs.map} +1 -1
  35. package/dist/{chunk-ANOQWAMU.js → chunk-R6B2UDFR.js} +35 -5
  36. package/dist/chunk-R6B2UDFR.js.map +1 -0
  37. package/dist/{chunk-56VQ7V3V.js → chunk-WD6AJ533.js} +3 -3
  38. package/dist/{chunk-56VQ7V3V.js.map → chunk-WD6AJ533.js.map} +1 -1
  39. package/dist/{chunk-XNISPHTZ.js → chunk-WPT5ZTA2.js} +6 -3
  40. package/dist/chunk-WPT5ZTA2.js.map +1 -0
  41. package/dist/{chunk-NTHRTRQK.js → chunk-XA53RUSD.js} +22 -6
  42. package/dist/chunk-XA53RUSD.js.map +1 -0
  43. package/dist/{chunk-7AB3AE5L.js → chunk-YVKUCBY2.js} +3 -3
  44. package/dist/{chunk-7AB3AE5L.js.map → chunk-YVKUCBY2.js.map} +1 -1
  45. package/dist/entries/apps.cjs +38 -38
  46. package/dist/entries/apps.js +3 -3
  47. package/dist/entries/credits.cjs +128 -128
  48. package/dist/entries/credits.js +2 -2
  49. package/dist/entries/llm-models.cjs +60 -48
  50. package/dist/entries/llm-models.d.cts +45 -14
  51. package/dist/entries/llm-models.d.ts +45 -14
  52. package/dist/entries/llm-models.js +1 -1
  53. package/dist/entries/models.cjs +68 -27
  54. package/dist/entries/models.d.cts +57 -1
  55. package/dist/entries/models.d.ts +57 -1
  56. package/dist/entries/models.js +3 -2
  57. package/dist/entries/nodes.cjs +204 -199
  58. package/dist/entries/nodes.d.cts +19 -2
  59. package/dist/entries/nodes.d.ts +19 -2
  60. package/dist/entries/nodes.js +5 -4
  61. package/dist/entries/social.cjs +174 -174
  62. package/dist/entries/social.js +2 -2
  63. package/dist/entries/workflow.cjs +157 -144
  64. package/dist/entries/workflow.d.cts +49 -1
  65. package/dist/entries/workflow.d.ts +49 -1
  66. package/dist/entries/workflow.js +4 -3
  67. package/dist/index.cjs +820 -751
  68. package/dist/index.d.cts +4 -4
  69. package/dist/index.d.ts +4 -4
  70. package/dist/index.js +11 -10
  71. package/package.json +1 -1
  72. package/src/__tests__/llm-models.test.ts +61 -18
  73. package/src/__tests__/node-preset-extract.test.ts +10 -0
  74. package/src/__tests__/node-runtime-keys.test.ts +21 -2
  75. package/src/__tests__/render-output.test.ts +64 -0
  76. package/src/__tests__/schedule-retry.test.ts +35 -0
  77. package/src/__tests__/suno-separate.test.ts +78 -0
  78. package/src/entries/llm-models.ts +3 -0
  79. package/src/entries/models.ts +19 -0
  80. package/src/entries/workflow.ts +6 -0
  81. package/src/generated/unit-contracts.ts +8 -2
  82. package/src/llm-models.ts +63 -23
  83. package/src/node-preset-extract.ts +4 -0
  84. package/src/node-runtime-keys.ts +7 -0
  85. package/src/render-output.ts +36 -1
  86. package/src/schedule-retry.ts +71 -0
  87. package/src/suno-separate.ts +210 -0
  88. package/dist/chunk-ANOQWAMU.js.map +0 -1
  89. package/dist/chunk-BBLE4UTG.cjs.map +0 -1
  90. package/dist/chunk-FKQJYMCO.js.map +0 -1
  91. package/dist/chunk-GZH2SIOF.cjs.map +0 -1
  92. package/dist/chunk-JSGIEF6Z.cjs.map +0 -1
  93. package/dist/chunk-NITAUX3A.cjs.map +0 -1
  94. package/dist/chunk-NTHRTRQK.js.map +0 -1
  95. package/dist/chunk-TCBHVIMD.js.map +0 -1
  96. package/dist/chunk-V3N56Z2S.cjs.map +0 -1
  97. package/dist/chunk-XNISPHTZ.js.map +0 -1
@@ -877,6 +877,50 @@ declare function previewHorizonMs(rules: ReadonlyArray<ScheduleRule>): number;
877
877
  */
878
878
  declare function nextScheduleRuns(spec: ScheduleSpec, from: Date, count: number, horizonMs?: number): Date[];
879
879
 
880
+ /**
881
+ * Schedule Trigger "Retry on failure" — the ONE shape both sides read.
882
+ *
883
+ * A scheduled run nobody watches can fail for a reason that passes
884
+ * (a provider lane down for a while). With a retry policy on the node, the
885
+ * server runs the failed run again after a wait, a bounded number of times;
886
+ * absent, nothing is retried and the schedule behaves exactly as before.
887
+ *
888
+ * - `afterMinutes` — how long after the failure the retry may start.
889
+ * - `maxAttempts` — how many retries one failed scheduled run may get
890
+ * (the original run is not an attempt).
891
+ * - `cheapLanesOnly` — the model calls made by the run (the original
892
+ * scheduled run AND its retries) that honour the flag stay on the
893
+ * aggregator lane: a call that fails there is not re-asked on the vendor's
894
+ * own, pricier API; it fails, and the retry handles it later. Which node
895
+ * types honour it is listed on the Schedule Trigger's docs page
896
+ * (docs/nodes/input/schedule-trigger.md, "Cheap lanes only").
897
+ *
898
+ * The node stores it as `data.retry`, the server projects it onto the
899
+ * trigger row's `config.retry` (lib/workflow-trigger-sync.ts), and the API
900
+ * takes the same object in `config` (POST / PATCH /v1/workflow-triggers).
901
+ */
902
+ interface ScheduleRetry {
903
+ /** 5–1440 (a day). */
904
+ readonly afterMinutes: number;
905
+ /** 1–5. */
906
+ readonly maxAttempts: number;
907
+ readonly cheapLanesOnly: boolean;
908
+ }
909
+ declare const SCHEDULE_RETRY_LIMITS: {
910
+ readonly afterMinutes: readonly [5, 1440];
911
+ readonly maxAttempts: readonly [1, 5];
912
+ };
913
+ declare const SCHEDULE_RETRY_DEFAULTS: ScheduleRetry;
914
+ /**
915
+ * A retry policy as stored on a node or a row → the policy the server runs,
916
+ * or `null` when there is none (absent, `null`, or not an object — the
917
+ * feature off). Out-of-range numbers are clamped, never refused: like a
918
+ * rule, a half-typed value must not silently switch the retry off; the API
919
+ * refuses out-of-range values before they are stored (its Zod), so a stored
920
+ * value reaching the clamp is a node written by hand.
921
+ */
922
+ declare function normalizeScheduleRetry(raw: unknown): ScheduleRetry | null;
923
+
880
924
  /**
881
925
  * Build a label→output map for `{Node Label}` refs inside condition values
882
926
  * on filter-list and router nodes.
@@ -1581,6 +1625,10 @@ declare const EXECUTION_DATA_KEYS: ReadonlySet<string>;
1581
1625
  * warnings, length and Re-render marks (`rerenderPending`: the clips pressed for
1582
1626
  * Re-render that no run has rendered yet — run bookkeeping; the press itself,
1583
1627
  * `rerender`, is a choice).
1628
+ *
1629
+ * Suno Separate: every stem / take URL a run writes and the run's facts (its
1630
+ * engine, a Demucs fallback's refusal and reason, its mode) — not `stemName`,
1631
+ * the node's instrument setting that the run only echoes back.
1584
1632
  */
1585
1633
  declare const NODE_TYPE_EXECUTION_DATA_KEYS: Readonly<Record<string, readonly string[]>>;
1586
1634
  /** Is `key` execution data (run state or a run's result) on a node of `type`: global, or that type's own? */
@@ -1729,4 +1777,4 @@ declare function countEmptyInputSkips(nodeStates: Readonly<Record<string, SkipSt
1729
1777
  */
1730
1778
  declare function executionOutcome(status: unknown, nodeStates: Readonly<Record<string, SkipStateLike>> | null | undefined): ExecutionOutcome | undefined;
1731
1779
 
1732
- export { AGGREGATEABLE_TYPES, type AggregateableType, type AggregationBuckets, CATEGORY_DURATION_DEFAULTS, COLLECT_IN_HANDLE, EXECUTION_DATA_KEYS, type EvaluateConditionOptions, type ExecutionOutcome, FRAME_TARGET_HANDLES, type FanOutCandidate, type FanOutPlan, type FeedEdge, type FeedMaps, type FeedNode, type FieldEdgeSource, type FilterListCondition, type FilterListOperator, type FilterOperator, type FullSelectorMode, GENERATE_TEXT_DELIMITER, GROUP_HANDLE_PREFIX, type HeldRowPick, ITER_CLONE_PATTERN, type JsonEvalResult, type JsonFilter, type ListFanOut, type LocalTime, type Member, type MinimalEdge, type MinimalNode, NODE_REF_PATTERN, NODE_TYPE_EXECUTION_DATA_KEYS, NON_PROMPT_TEXT_LANES, NO_SPLIT_DELIMITER, type NodeExecutionStateWire, type NodeExecutionStatus, type NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, type OutputMode, PROJECTED_TRIGGER_NODE_TYPES, PROVIDER_PLACEHOLDER_PREFIX, type ProgressSegment, REDUCE_STRATEGIES, REDUCE_STRATEGY_IDS, REFERENCE_HANDLE_MAP, REF_HANDLE_CATEGORY, REF_TOKEN_NAMESPACE_PREFIXES, REPEATABLE_NODE_TYPES, REPEAT_PLACEHOLDER, RESERVED_TEMPLATE_VARS, type ReduceMeta, type ReduceStrategy, type ReduceStrategyId, type RefCandidate, type RefModalityEdge, type RefTokenKind, type ReferenceModality, type ResolveSeparatorOptions, type RouterConditionGroup, SCHEDULE_EVERY_LIMITS, SCHEDULE_RULE_KINDS, SCHEDULE_TRIGGER_NODE_TYPE, SEPARATOR_DISPLAY, SEPARATOR_PRESETS, type ScheduleRule, type ScheduleRuleKind, type ScheduleSpec, type SelectorConfig, type SelectorFields, type SelectorMode, type SelectorPredicateOp, type SelectorResult, type SeparatorPreset, type SortDirection, type SortListOptions, type SortType, TELEGRAM_ACCOUNT_TRIGGER_NODE_TYPE, TELEGRAM_TRIGGER_NODE_TYPE, TRANSIENT_RUNTIME_KEYS, VARIABLES_HANDLE_ID, WEBHOOK_TRIGGER_NODE_TYPE, type WorkflowAssetKind, type WorkflowExport, type WorkflowExportCharacter, type WorkflowExportCreature, type WorkflowExportLocation, type WorkflowExportObject, type WorkflowImportReport, type WorkflowImportSkippedAsset, type WorkflowMediaRef, type WorkflowPortability, aggregateByType, alignedFieldList, applyRange, applyRangeIndices, buildChildrenByParent, buildConditionVariables, buildExpressionFromVisual, buildFeedMaps, buildProgressSegments, buildRangeLabel, calculateCombinedProgress, calculateProgress, canonicalVarName, classifyRefToken, combineSameLabelRefs, compactWithRows, computeAggregateLanes, countEmptyInputSkips, countRefModalityEdges, decodeProviderItem, describeEdgeBehavior, encodeProviderItem, evaluateCondition, evaluateConditionGroup, evaluateJsonExpression, evaluateJsonPath, executionDataKeysOf, executionOutcome, expandItemsWithRepeat, extractAllGeneratedResults, extractGeneratedJsonAsList, extractReferencedLabels, fanOutTextFeedsPrompt, fanOutUrlItemIsText, filterCloneNodes, getEffectiveRepeatCount, getRouteReachableNodeIds, getStrategy, groupHandleId, isAggregateableType, isCollectInEdge, isCronExpression, isDefaultSelectorConfig, isExecutionDataKey, isExpandedClone, isFanOutUrlItem, isLocalOrPrivateHostname, isPrivateOrReservedIP, isProjectedTriggerNodeType, isValidTimezone, jsonResultToList, legacyScheduleToRules, liveRowColumn, localMinuteKey, localTimeIn, matchesCron, matchesCronField, migrateEdgeOutputMode, nextScheduleRuns, nodeFeedsAnything, nodeStateMayCarryOutput, normalizeScheduleRule, normalizeScheduleRules, parseGroupHandle, parseListExpression, parseNodeRef, pickHeldRow, planFanOut, presentTypes, previewHorizonMs, refHandleCategory, referenceModalityForHandle, resolveConditionValue, resolveFieldMappings, resolveIndex, resolveListExpression, resolveListFanOut, resolveLocationFields, resolveNodeRefs, resolveRelativeWindowToken, resolveSelectorRefs, resolveSeparator, resolveSourceThroughConnectedList, ruleMatches, runSelector, scheduleMatchesAt, scheduleOccurrences, selectByModulo, selectByNamedKey, selectByPredicate, selectListItems, selectRandom, settledWithLimit, sortListItems, spliceDelimitedRows, splitByLoopDelimiter, splitGeneratedItems, spreadJsonArrayIfSingleton, stringifyPathResults, stripExportContent, stripTransientRuntimeData, stripUnownedRefs, timezoneOffsetMinutes, tryParseJson, unresolvedRefTokens, validateSubWorkflowRoutes, variantJobId, zipMergeLists };
1780
+ export { AGGREGATEABLE_TYPES, type AggregateableType, type AggregationBuckets, CATEGORY_DURATION_DEFAULTS, COLLECT_IN_HANDLE, EXECUTION_DATA_KEYS, type EvaluateConditionOptions, type ExecutionOutcome, FRAME_TARGET_HANDLES, type FanOutCandidate, type FanOutPlan, type FeedEdge, type FeedMaps, type FeedNode, type FieldEdgeSource, type FilterListCondition, type FilterListOperator, type FilterOperator, type FullSelectorMode, GENERATE_TEXT_DELIMITER, GROUP_HANDLE_PREFIX, type HeldRowPick, ITER_CLONE_PATTERN, type JsonEvalResult, type JsonFilter, type ListFanOut, type LocalTime, type Member, type MinimalEdge, type MinimalNode, NODE_REF_PATTERN, NODE_TYPE_EXECUTION_DATA_KEYS, NON_PROMPT_TEXT_LANES, NO_SPLIT_DELIMITER, type NodeExecutionStateWire, type NodeExecutionStatus, type NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, type OutputMode, PROJECTED_TRIGGER_NODE_TYPES, PROVIDER_PLACEHOLDER_PREFIX, type ProgressSegment, REDUCE_STRATEGIES, REDUCE_STRATEGY_IDS, REFERENCE_HANDLE_MAP, REF_HANDLE_CATEGORY, REF_TOKEN_NAMESPACE_PREFIXES, REPEATABLE_NODE_TYPES, REPEAT_PLACEHOLDER, RESERVED_TEMPLATE_VARS, type ReduceMeta, type ReduceStrategy, type ReduceStrategyId, type RefCandidate, type RefModalityEdge, type RefTokenKind, type ReferenceModality, type ResolveSeparatorOptions, type RouterConditionGroup, SCHEDULE_EVERY_LIMITS, SCHEDULE_RETRY_DEFAULTS, SCHEDULE_RETRY_LIMITS, SCHEDULE_RULE_KINDS, SCHEDULE_TRIGGER_NODE_TYPE, SEPARATOR_DISPLAY, SEPARATOR_PRESETS, type ScheduleRetry, type ScheduleRule, type ScheduleRuleKind, type ScheduleSpec, type SelectorConfig, type SelectorFields, type SelectorMode, type SelectorPredicateOp, type SelectorResult, type SeparatorPreset, type SortDirection, type SortListOptions, type SortType, TELEGRAM_ACCOUNT_TRIGGER_NODE_TYPE, TELEGRAM_TRIGGER_NODE_TYPE, TRANSIENT_RUNTIME_KEYS, VARIABLES_HANDLE_ID, WEBHOOK_TRIGGER_NODE_TYPE, type WorkflowAssetKind, type WorkflowExport, type WorkflowExportCharacter, type WorkflowExportCreature, type WorkflowExportLocation, type WorkflowExportObject, type WorkflowImportReport, type WorkflowImportSkippedAsset, type WorkflowMediaRef, type WorkflowPortability, aggregateByType, alignedFieldList, applyRange, applyRangeIndices, buildChildrenByParent, buildConditionVariables, buildExpressionFromVisual, buildFeedMaps, buildProgressSegments, buildRangeLabel, calculateCombinedProgress, calculateProgress, canonicalVarName, classifyRefToken, combineSameLabelRefs, compactWithRows, computeAggregateLanes, countEmptyInputSkips, countRefModalityEdges, decodeProviderItem, describeEdgeBehavior, encodeProviderItem, evaluateCondition, evaluateConditionGroup, evaluateJsonExpression, evaluateJsonPath, executionDataKeysOf, executionOutcome, expandItemsWithRepeat, extractAllGeneratedResults, extractGeneratedJsonAsList, extractReferencedLabels, fanOutTextFeedsPrompt, fanOutUrlItemIsText, filterCloneNodes, getEffectiveRepeatCount, getRouteReachableNodeIds, getStrategy, groupHandleId, isAggregateableType, isCollectInEdge, isCronExpression, isDefaultSelectorConfig, isExecutionDataKey, isExpandedClone, isFanOutUrlItem, isLocalOrPrivateHostname, isPrivateOrReservedIP, isProjectedTriggerNodeType, isValidTimezone, jsonResultToList, legacyScheduleToRules, liveRowColumn, localMinuteKey, localTimeIn, matchesCron, matchesCronField, migrateEdgeOutputMode, nextScheduleRuns, nodeFeedsAnything, nodeStateMayCarryOutput, normalizeScheduleRetry, normalizeScheduleRule, normalizeScheduleRules, parseGroupHandle, parseListExpression, parseNodeRef, pickHeldRow, planFanOut, presentTypes, previewHorizonMs, refHandleCategory, referenceModalityForHandle, resolveConditionValue, resolveFieldMappings, resolveIndex, resolveListExpression, resolveListFanOut, resolveLocationFields, resolveNodeRefs, resolveRelativeWindowToken, resolveSelectorRefs, resolveSeparator, resolveSourceThroughConnectedList, ruleMatches, runSelector, scheduleMatchesAt, scheduleOccurrences, selectByModulo, selectByNamedKey, selectByPredicate, selectListItems, selectRandom, settledWithLimit, sortListItems, spliceDelimitedRows, splitByLoopDelimiter, splitGeneratedItems, spreadJsonArrayIfSingleton, stringifyPathResults, stripExportContent, stripTransientRuntimeData, stripUnownedRefs, timezoneOffsetMinutes, tryParseJson, unresolvedRefTokens, validateSubWorkflowRoutes, variantJobId, zipMergeLists };
@@ -877,6 +877,50 @@ declare function previewHorizonMs(rules: ReadonlyArray<ScheduleRule>): number;
877
877
  */
878
878
  declare function nextScheduleRuns(spec: ScheduleSpec, from: Date, count: number, horizonMs?: number): Date[];
879
879
 
880
+ /**
881
+ * Schedule Trigger "Retry on failure" — the ONE shape both sides read.
882
+ *
883
+ * A scheduled run nobody watches can fail for a reason that passes
884
+ * (a provider lane down for a while). With a retry policy on the node, the
885
+ * server runs the failed run again after a wait, a bounded number of times;
886
+ * absent, nothing is retried and the schedule behaves exactly as before.
887
+ *
888
+ * - `afterMinutes` — how long after the failure the retry may start.
889
+ * - `maxAttempts` — how many retries one failed scheduled run may get
890
+ * (the original run is not an attempt).
891
+ * - `cheapLanesOnly` — the model calls made by the run (the original
892
+ * scheduled run AND its retries) that honour the flag stay on the
893
+ * aggregator lane: a call that fails there is not re-asked on the vendor's
894
+ * own, pricier API; it fails, and the retry handles it later. Which node
895
+ * types honour it is listed on the Schedule Trigger's docs page
896
+ * (docs/nodes/input/schedule-trigger.md, "Cheap lanes only").
897
+ *
898
+ * The node stores it as `data.retry`, the server projects it onto the
899
+ * trigger row's `config.retry` (lib/workflow-trigger-sync.ts), and the API
900
+ * takes the same object in `config` (POST / PATCH /v1/workflow-triggers).
901
+ */
902
+ interface ScheduleRetry {
903
+ /** 5–1440 (a day). */
904
+ readonly afterMinutes: number;
905
+ /** 1–5. */
906
+ readonly maxAttempts: number;
907
+ readonly cheapLanesOnly: boolean;
908
+ }
909
+ declare const SCHEDULE_RETRY_LIMITS: {
910
+ readonly afterMinutes: readonly [5, 1440];
911
+ readonly maxAttempts: readonly [1, 5];
912
+ };
913
+ declare const SCHEDULE_RETRY_DEFAULTS: ScheduleRetry;
914
+ /**
915
+ * A retry policy as stored on a node or a row → the policy the server runs,
916
+ * or `null` when there is none (absent, `null`, or not an object — the
917
+ * feature off). Out-of-range numbers are clamped, never refused: like a
918
+ * rule, a half-typed value must not silently switch the retry off; the API
919
+ * refuses out-of-range values before they are stored (its Zod), so a stored
920
+ * value reaching the clamp is a node written by hand.
921
+ */
922
+ declare function normalizeScheduleRetry(raw: unknown): ScheduleRetry | null;
923
+
880
924
  /**
881
925
  * Build a label→output map for `{Node Label}` refs inside condition values
882
926
  * on filter-list and router nodes.
@@ -1581,6 +1625,10 @@ declare const EXECUTION_DATA_KEYS: ReadonlySet<string>;
1581
1625
  * warnings, length and Re-render marks (`rerenderPending`: the clips pressed for
1582
1626
  * Re-render that no run has rendered yet — run bookkeeping; the press itself,
1583
1627
  * `rerender`, is a choice).
1628
+ *
1629
+ * Suno Separate: every stem / take URL a run writes and the run's facts (its
1630
+ * engine, a Demucs fallback's refusal and reason, its mode) — not `stemName`,
1631
+ * the node's instrument setting that the run only echoes back.
1584
1632
  */
1585
1633
  declare const NODE_TYPE_EXECUTION_DATA_KEYS: Readonly<Record<string, readonly string[]>>;
1586
1634
  /** Is `key` execution data (run state or a run's result) on a node of `type`: global, or that type's own? */
@@ -1729,4 +1777,4 @@ declare function countEmptyInputSkips(nodeStates: Readonly<Record<string, SkipSt
1729
1777
  */
1730
1778
  declare function executionOutcome(status: unknown, nodeStates: Readonly<Record<string, SkipStateLike>> | null | undefined): ExecutionOutcome | undefined;
1731
1779
 
1732
- export { AGGREGATEABLE_TYPES, type AggregateableType, type AggregationBuckets, CATEGORY_DURATION_DEFAULTS, COLLECT_IN_HANDLE, EXECUTION_DATA_KEYS, type EvaluateConditionOptions, type ExecutionOutcome, FRAME_TARGET_HANDLES, type FanOutCandidate, type FanOutPlan, type FeedEdge, type FeedMaps, type FeedNode, type FieldEdgeSource, type FilterListCondition, type FilterListOperator, type FilterOperator, type FullSelectorMode, GENERATE_TEXT_DELIMITER, GROUP_HANDLE_PREFIX, type HeldRowPick, ITER_CLONE_PATTERN, type JsonEvalResult, type JsonFilter, type ListFanOut, type LocalTime, type Member, type MinimalEdge, type MinimalNode, NODE_REF_PATTERN, NODE_TYPE_EXECUTION_DATA_KEYS, NON_PROMPT_TEXT_LANES, NO_SPLIT_DELIMITER, type NodeExecutionStateWire, type NodeExecutionStatus, type NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, type OutputMode, PROJECTED_TRIGGER_NODE_TYPES, PROVIDER_PLACEHOLDER_PREFIX, type ProgressSegment, REDUCE_STRATEGIES, REDUCE_STRATEGY_IDS, REFERENCE_HANDLE_MAP, REF_HANDLE_CATEGORY, REF_TOKEN_NAMESPACE_PREFIXES, REPEATABLE_NODE_TYPES, REPEAT_PLACEHOLDER, RESERVED_TEMPLATE_VARS, type ReduceMeta, type ReduceStrategy, type ReduceStrategyId, type RefCandidate, type RefModalityEdge, type RefTokenKind, type ReferenceModality, type ResolveSeparatorOptions, type RouterConditionGroup, SCHEDULE_EVERY_LIMITS, SCHEDULE_RULE_KINDS, SCHEDULE_TRIGGER_NODE_TYPE, SEPARATOR_DISPLAY, SEPARATOR_PRESETS, type ScheduleRule, type ScheduleRuleKind, type ScheduleSpec, type SelectorConfig, type SelectorFields, type SelectorMode, type SelectorPredicateOp, type SelectorResult, type SeparatorPreset, type SortDirection, type SortListOptions, type SortType, TELEGRAM_ACCOUNT_TRIGGER_NODE_TYPE, TELEGRAM_TRIGGER_NODE_TYPE, TRANSIENT_RUNTIME_KEYS, VARIABLES_HANDLE_ID, WEBHOOK_TRIGGER_NODE_TYPE, type WorkflowAssetKind, type WorkflowExport, type WorkflowExportCharacter, type WorkflowExportCreature, type WorkflowExportLocation, type WorkflowExportObject, type WorkflowImportReport, type WorkflowImportSkippedAsset, type WorkflowMediaRef, type WorkflowPortability, aggregateByType, alignedFieldList, applyRange, applyRangeIndices, buildChildrenByParent, buildConditionVariables, buildExpressionFromVisual, buildFeedMaps, buildProgressSegments, buildRangeLabel, calculateCombinedProgress, calculateProgress, canonicalVarName, classifyRefToken, combineSameLabelRefs, compactWithRows, computeAggregateLanes, countEmptyInputSkips, countRefModalityEdges, decodeProviderItem, describeEdgeBehavior, encodeProviderItem, evaluateCondition, evaluateConditionGroup, evaluateJsonExpression, evaluateJsonPath, executionDataKeysOf, executionOutcome, expandItemsWithRepeat, extractAllGeneratedResults, extractGeneratedJsonAsList, extractReferencedLabels, fanOutTextFeedsPrompt, fanOutUrlItemIsText, filterCloneNodes, getEffectiveRepeatCount, getRouteReachableNodeIds, getStrategy, groupHandleId, isAggregateableType, isCollectInEdge, isCronExpression, isDefaultSelectorConfig, isExecutionDataKey, isExpandedClone, isFanOutUrlItem, isLocalOrPrivateHostname, isPrivateOrReservedIP, isProjectedTriggerNodeType, isValidTimezone, jsonResultToList, legacyScheduleToRules, liveRowColumn, localMinuteKey, localTimeIn, matchesCron, matchesCronField, migrateEdgeOutputMode, nextScheduleRuns, nodeFeedsAnything, nodeStateMayCarryOutput, normalizeScheduleRule, normalizeScheduleRules, parseGroupHandle, parseListExpression, parseNodeRef, pickHeldRow, planFanOut, presentTypes, previewHorizonMs, refHandleCategory, referenceModalityForHandle, resolveConditionValue, resolveFieldMappings, resolveIndex, resolveListExpression, resolveListFanOut, resolveLocationFields, resolveNodeRefs, resolveRelativeWindowToken, resolveSelectorRefs, resolveSeparator, resolveSourceThroughConnectedList, ruleMatches, runSelector, scheduleMatchesAt, scheduleOccurrences, selectByModulo, selectByNamedKey, selectByPredicate, selectListItems, selectRandom, settledWithLimit, sortListItems, spliceDelimitedRows, splitByLoopDelimiter, splitGeneratedItems, spreadJsonArrayIfSingleton, stringifyPathResults, stripExportContent, stripTransientRuntimeData, stripUnownedRefs, timezoneOffsetMinutes, tryParseJson, unresolvedRefTokens, validateSubWorkflowRoutes, variantJobId, zipMergeLists };
1780
+ export { AGGREGATEABLE_TYPES, type AggregateableType, type AggregationBuckets, CATEGORY_DURATION_DEFAULTS, COLLECT_IN_HANDLE, EXECUTION_DATA_KEYS, type EvaluateConditionOptions, type ExecutionOutcome, FRAME_TARGET_HANDLES, type FanOutCandidate, type FanOutPlan, type FeedEdge, type FeedMaps, type FeedNode, type FieldEdgeSource, type FilterListCondition, type FilterListOperator, type FilterOperator, type FullSelectorMode, GENERATE_TEXT_DELIMITER, GROUP_HANDLE_PREFIX, type HeldRowPick, ITER_CLONE_PATTERN, type JsonEvalResult, type JsonFilter, type ListFanOut, type LocalTime, type Member, type MinimalEdge, type MinimalNode, NODE_REF_PATTERN, NODE_TYPE_EXECUTION_DATA_KEYS, NON_PROMPT_TEXT_LANES, NO_SPLIT_DELIMITER, type NodeExecutionStateWire, type NodeExecutionStatus, type NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, type OutputMode, PROJECTED_TRIGGER_NODE_TYPES, PROVIDER_PLACEHOLDER_PREFIX, type ProgressSegment, REDUCE_STRATEGIES, REDUCE_STRATEGY_IDS, REFERENCE_HANDLE_MAP, REF_HANDLE_CATEGORY, REF_TOKEN_NAMESPACE_PREFIXES, REPEATABLE_NODE_TYPES, REPEAT_PLACEHOLDER, RESERVED_TEMPLATE_VARS, type ReduceMeta, type ReduceStrategy, type ReduceStrategyId, type RefCandidate, type RefModalityEdge, type RefTokenKind, type ReferenceModality, type ResolveSeparatorOptions, type RouterConditionGroup, SCHEDULE_EVERY_LIMITS, SCHEDULE_RETRY_DEFAULTS, SCHEDULE_RETRY_LIMITS, SCHEDULE_RULE_KINDS, SCHEDULE_TRIGGER_NODE_TYPE, SEPARATOR_DISPLAY, SEPARATOR_PRESETS, type ScheduleRetry, type ScheduleRule, type ScheduleRuleKind, type ScheduleSpec, type SelectorConfig, type SelectorFields, type SelectorMode, type SelectorPredicateOp, type SelectorResult, type SeparatorPreset, type SortDirection, type SortListOptions, type SortType, TELEGRAM_ACCOUNT_TRIGGER_NODE_TYPE, TELEGRAM_TRIGGER_NODE_TYPE, TRANSIENT_RUNTIME_KEYS, VARIABLES_HANDLE_ID, WEBHOOK_TRIGGER_NODE_TYPE, type WorkflowAssetKind, type WorkflowExport, type WorkflowExportCharacter, type WorkflowExportCreature, type WorkflowExportLocation, type WorkflowExportObject, type WorkflowImportReport, type WorkflowImportSkippedAsset, type WorkflowMediaRef, type WorkflowPortability, aggregateByType, alignedFieldList, applyRange, applyRangeIndices, buildChildrenByParent, buildConditionVariables, buildExpressionFromVisual, buildFeedMaps, buildProgressSegments, buildRangeLabel, calculateCombinedProgress, calculateProgress, canonicalVarName, classifyRefToken, combineSameLabelRefs, compactWithRows, computeAggregateLanes, countEmptyInputSkips, countRefModalityEdges, decodeProviderItem, describeEdgeBehavior, encodeProviderItem, evaluateCondition, evaluateConditionGroup, evaluateJsonExpression, evaluateJsonPath, executionDataKeysOf, executionOutcome, expandItemsWithRepeat, extractAllGeneratedResults, extractGeneratedJsonAsList, extractReferencedLabels, fanOutTextFeedsPrompt, fanOutUrlItemIsText, filterCloneNodes, getEffectiveRepeatCount, getRouteReachableNodeIds, getStrategy, groupHandleId, isAggregateableType, isCollectInEdge, isCronExpression, isDefaultSelectorConfig, isExecutionDataKey, isExpandedClone, isFanOutUrlItem, isLocalOrPrivateHostname, isPrivateOrReservedIP, isProjectedTriggerNodeType, isValidTimezone, jsonResultToList, legacyScheduleToRules, liveRowColumn, localMinuteKey, localTimeIn, matchesCron, matchesCronField, migrateEdgeOutputMode, nextScheduleRuns, nodeFeedsAnything, nodeStateMayCarryOutput, normalizeScheduleRetry, normalizeScheduleRule, normalizeScheduleRules, parseGroupHandle, parseListExpression, parseNodeRef, pickHeldRow, planFanOut, presentTypes, previewHorizonMs, refHandleCategory, referenceModalityForHandle, resolveConditionValue, resolveFieldMappings, resolveIndex, resolveListExpression, resolveListFanOut, resolveLocationFields, resolveNodeRefs, resolveRelativeWindowToken, resolveSelectorRefs, resolveSeparator, resolveSourceThroughConnectedList, ruleMatches, runSelector, scheduleMatchesAt, scheduleOccurrences, selectByModulo, selectByNamedKey, selectByPredicate, selectListItems, selectRandom, settledWithLimit, sortListItems, spliceDelimitedRows, splitByLoopDelimiter, splitGeneratedItems, spreadJsonArrayIfSingleton, stringifyPathResults, stripExportContent, stripTransientRuntimeData, stripUnownedRefs, timezoneOffsetMinutes, tryParseJson, unresolvedRefTokens, validateSubWorkflowRoutes, variantJobId, zipMergeLists };
@@ -1,6 +1,7 @@
1
- export { AGGREGATEABLE_TYPES, CATEGORY_DURATION_DEFAULTS, COLLECT_IN_HANDLE, GENERATE_TEXT_DELIMITER, GROUP_HANDLE_PREFIX, ITER_CLONE_PATTERN, NON_PROMPT_TEXT_LANES, NO_SPLIT_DELIMITER, OUTPUT_BEARING_NODE_STATUSES, PROJECTED_TRIGGER_NODE_TYPES, PROVIDER_PLACEHOLDER_PREFIX, REDUCE_STRATEGIES, REDUCE_STRATEGY_IDS, REPEATABLE_NODE_TYPES, REPEAT_PLACEHOLDER, SCHEDULE_EVERY_LIMITS, SCHEDULE_RULE_KINDS, SCHEDULE_TRIGGER_NODE_TYPE, SEPARATOR_DISPLAY, SEPARATOR_PRESETS, TELEGRAM_ACCOUNT_TRIGGER_NODE_TYPE, TELEGRAM_TRIGGER_NODE_TYPE, VARIABLES_HANDLE_ID, WEBHOOK_TRIGGER_NODE_TYPE, aggregateByType, alignedFieldList, buildChildrenByParent, buildConditionVariables, buildExpressionFromVisual, buildProgressSegments, calculateCombinedProgress, calculateProgress, compactWithRows, computeAggregateLanes, countEmptyInputSkips, decodeProviderItem, encodeProviderItem, evaluateJsonExpression, executionOutcome, expandItemsWithRepeat, extractAllGeneratedResults, extractGeneratedJsonAsList, fanOutTextFeedsPrompt, fanOutUrlItemIsText, filterCloneNodes, getEffectiveRepeatCount, getRouteReachableNodeIds, getStrategy, groupHandleId, isAggregateableType, isCollectInEdge, isCronExpression, isExpandedClone, isFanOutUrlItem, isLocalOrPrivateHostname, isPrivateOrReservedIP, isProjectedTriggerNodeType, isValidTimezone, jsonResultToList, legacyScheduleToRules, liveRowColumn, localMinuteKey, localTimeIn, matchesCron, matchesCronField, nextScheduleRuns, nodeStateMayCarryOutput, normalizeScheduleRule, normalizeScheduleRules, parseGroupHandle, pickHeldRow, planFanOut, presentTypes, previewHorizonMs, resolveFieldMappings, resolveListFanOut, resolveLocationFields, resolveSeparator, resolveSourceThroughConnectedList, ruleMatches, scheduleMatchesAt, scheduleOccurrences, settledWithLimit, sortListItems, spliceDelimitedRows, splitByLoopDelimiter, splitGeneratedItems, spreadJsonArrayIfSingleton, stripExportContent, stripUnownedRefs, timezoneOffsetMinutes, validateSubWorkflowRoutes, variantJobId, zipMergeLists } from '../chunk-ANOQWAMU.js';
2
- export { EXECUTION_DATA_KEYS, FRAME_TARGET_HANDLES, NODE_REF_PATTERN, NODE_TYPE_EXECUTION_DATA_KEYS, REFERENCE_HANDLE_MAP, REF_HANDLE_CATEGORY, REF_TOKEN_NAMESPACE_PREFIXES, RESERVED_TEMPLATE_VARS, TRANSIENT_RUNTIME_KEYS, applyRange, applyRangeIndices, buildFeedMaps, buildRangeLabel, canonicalVarName, classifyRefToken, combineSameLabelRefs, countRefModalityEdges, describeEdgeBehavior, evaluateCondition, evaluateConditionGroup, evaluateJsonPath, executionDataKeysOf, extractReferencedLabels, isDefaultSelectorConfig, isExecutionDataKey, migrateEdgeOutputMode, nodeFeedsAnything, parseListExpression, parseNodeRef, refHandleCategory, referenceModalityForHandle, resolveConditionValue, resolveIndex, resolveListExpression, resolveNodeRefs, resolveRelativeWindowToken, resolveSelectorRefs, runSelector, selectByModulo, selectByNamedKey, selectByPredicate, selectListItems, selectRandom, stringifyPathResults, stripTransientRuntimeData, tryParseJson, unresolvedRefTokens } from '../chunk-XNISPHTZ.js';
1
+ export { AGGREGATEABLE_TYPES, CATEGORY_DURATION_DEFAULTS, COLLECT_IN_HANDLE, GENERATE_TEXT_DELIMITER, GROUP_HANDLE_PREFIX, ITER_CLONE_PATTERN, NON_PROMPT_TEXT_LANES, NO_SPLIT_DELIMITER, OUTPUT_BEARING_NODE_STATUSES, PROJECTED_TRIGGER_NODE_TYPES, PROVIDER_PLACEHOLDER_PREFIX, REDUCE_STRATEGIES, REDUCE_STRATEGY_IDS, REPEATABLE_NODE_TYPES, REPEAT_PLACEHOLDER, SCHEDULE_EVERY_LIMITS, SCHEDULE_RETRY_DEFAULTS, SCHEDULE_RETRY_LIMITS, SCHEDULE_RULE_KINDS, SCHEDULE_TRIGGER_NODE_TYPE, SEPARATOR_DISPLAY, SEPARATOR_PRESETS, TELEGRAM_ACCOUNT_TRIGGER_NODE_TYPE, TELEGRAM_TRIGGER_NODE_TYPE, VARIABLES_HANDLE_ID, WEBHOOK_TRIGGER_NODE_TYPE, aggregateByType, alignedFieldList, buildChildrenByParent, buildConditionVariables, buildExpressionFromVisual, buildProgressSegments, calculateCombinedProgress, calculateProgress, compactWithRows, computeAggregateLanes, countEmptyInputSkips, decodeProviderItem, encodeProviderItem, evaluateJsonExpression, executionOutcome, expandItemsWithRepeat, extractAllGeneratedResults, extractGeneratedJsonAsList, fanOutTextFeedsPrompt, fanOutUrlItemIsText, filterCloneNodes, getEffectiveRepeatCount, getRouteReachableNodeIds, getStrategy, groupHandleId, isAggregateableType, isCollectInEdge, isCronExpression, isExpandedClone, isFanOutUrlItem, isLocalOrPrivateHostname, isPrivateOrReservedIP, isProjectedTriggerNodeType, isValidTimezone, jsonResultToList, legacyScheduleToRules, liveRowColumn, localMinuteKey, localTimeIn, matchesCron, matchesCronField, nextScheduleRuns, nodeStateMayCarryOutput, normalizeScheduleRetry, normalizeScheduleRule, normalizeScheduleRules, parseGroupHandle, pickHeldRow, planFanOut, presentTypes, previewHorizonMs, resolveFieldMappings, resolveListFanOut, resolveLocationFields, resolveSeparator, resolveSourceThroughConnectedList, ruleMatches, scheduleMatchesAt, scheduleOccurrences, settledWithLimit, sortListItems, spliceDelimitedRows, splitByLoopDelimiter, splitGeneratedItems, spreadJsonArrayIfSingleton, stripExportContent, stripUnownedRefs, timezoneOffsetMinutes, validateSubWorkflowRoutes, variantJobId, zipMergeLists } from '../chunk-R6B2UDFR.js';
2
+ export { EXECUTION_DATA_KEYS, FRAME_TARGET_HANDLES, NODE_REF_PATTERN, NODE_TYPE_EXECUTION_DATA_KEYS, REFERENCE_HANDLE_MAP, REF_HANDLE_CATEGORY, REF_TOKEN_NAMESPACE_PREFIXES, RESERVED_TEMPLATE_VARS, TRANSIENT_RUNTIME_KEYS, applyRange, applyRangeIndices, buildFeedMaps, buildRangeLabel, canonicalVarName, classifyRefToken, combineSameLabelRefs, countRefModalityEdges, describeEdgeBehavior, evaluateCondition, evaluateConditionGroup, evaluateJsonPath, executionDataKeysOf, extractReferencedLabels, isDefaultSelectorConfig, isExecutionDataKey, migrateEdgeOutputMode, nodeFeedsAnything, parseListExpression, parseNodeRef, refHandleCategory, referenceModalityForHandle, resolveConditionValue, resolveIndex, resolveListExpression, resolveNodeRefs, resolveRelativeWindowToken, resolveSelectorRefs, runSelector, selectByModulo, selectByNamedKey, selectByPredicate, selectListItems, selectRandom, stringifyPathResults, stripTransientRuntimeData, tryParseJson, unresolvedRefTokens } from '../chunk-WPT5ZTA2.js';
3
3
  import '../chunk-G6IIVKMO.js';
4
- import '../chunk-TCBHVIMD.js';
4
+ import '../chunk-6Q4BS6AR.js';
5
+ import '../chunk-CQJYKSXF.js';
5
6
  //# sourceMappingURL=workflow.js.map
6
7
  //# sourceMappingURL=workflow.js.map