@nodaro/shared 2.21.0 → 2.22.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.
- package/dist/index.cjs +13 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/safety-retry-policy.test.ts +15 -0
- package/src/index.ts +1 -0
- package/src/model-catalog.ts +1 -0
- package/src/model-constants.ts +23 -0
- package/src/node-runtime-keys.ts +8 -0
package/dist/index.cjs
CHANGED
|
@@ -409,6 +409,7 @@ var IMAGE_MODELS = {
|
|
|
409
409
|
label: "GPT Image 2 (I2I)",
|
|
410
410
|
series: "GPT Image",
|
|
411
411
|
description: "Image-to-image with GPT Image 2.",
|
|
412
|
+
safetyFilter: { stochastic: true, fallback: "nano-banana-pro" },
|
|
412
413
|
useCases: ["edit", "high-res"],
|
|
413
414
|
features: ["reference-image"],
|
|
414
415
|
aspectRatios: GPT_IMAGE_2_RATIOS,
|
|
@@ -3836,6 +3837,9 @@ var VIDEO_PROVIDERS_REQUIRING_IMAGE = new Set(
|
|
|
3836
3837
|
function videoProviderRequiresImage(provider) {
|
|
3837
3838
|
return !!provider && VIDEO_PROVIDERS_REQUIRING_IMAGE.has(provider);
|
|
3838
3839
|
}
|
|
3840
|
+
function videoProviderFoldsLoneEndFrame(provider) {
|
|
3841
|
+
return isSeedance2Provider(provider) || isMinimaxH3Provider(provider) || isWan3Provider(provider);
|
|
3842
|
+
}
|
|
3839
3843
|
var AUDIO_ADDON_PROVIDERS = /* @__PURE__ */ new Set([
|
|
3840
3844
|
"kling-3.0",
|
|
3841
3845
|
"kling"
|
|
@@ -10151,6 +10155,13 @@ var EXECUTION_DATA_KEYS = /* @__PURE__ */ new Set([
|
|
|
10151
10155
|
// lifecycle as errorMessage: a RESULT the user expects to survive reload,
|
|
10152
10156
|
// never user-edited config.
|
|
10153
10157
|
"errorHint",
|
|
10158
|
+
// A job policy registered by the deployment held this node's result for a
|
|
10159
|
+
// human reviewer (`jobs.status = "pending_review"`). Pure run state, like
|
|
10160
|
+
// executionStatus: the node is still "running" and the flag disappears the
|
|
10161
|
+
// moment the review resolves — so it is ALSO in TRANSIENT_RUNTIME_KEYS
|
|
10162
|
+
// below. Without the transient half, a flip into review marks a passive tab
|
|
10163
|
+
// dirty and a preset captures "awaiting review".
|
|
10164
|
+
"jobAwaitingReview",
|
|
10154
10165
|
"isStreaming",
|
|
10155
10166
|
"generatedImageUrl",
|
|
10156
10167
|
"generatedVideoUrl",
|
|
@@ -10198,6 +10209,7 @@ var TRANSIENT_RUNTIME_KEYS = /* @__PURE__ */ new Set([
|
|
|
10198
10209
|
"executionStatus",
|
|
10199
10210
|
"currentJobId",
|
|
10200
10211
|
"currentJobProgress",
|
|
10212
|
+
"jobAwaitingReview",
|
|
10201
10213
|
"isStreaming",
|
|
10202
10214
|
"subWorkflowProgress",
|
|
10203
10215
|
"__listTotal",
|
|
@@ -15396,6 +15408,7 @@ exports.videoAuditCreditsForBucket = videoAuditCreditsForBucket;
|
|
|
15396
15408
|
exports.videoModelCanSpeakDialogue = videoModelCanSpeakDialogue;
|
|
15397
15409
|
exports.videoModelSupportsAudio = videoModelSupportsAudio;
|
|
15398
15410
|
exports.videoNegativeSuffix = videoNegativeSuffix;
|
|
15411
|
+
exports.videoProviderFoldsLoneEndFrame = videoProviderFoldsLoneEndFrame;
|
|
15399
15412
|
exports.videoProviderRequiresImage = videoProviderRequiresImage;
|
|
15400
15413
|
exports.windowAnalysisSchema = windowAnalysisSchema;
|
|
15401
15414
|
exports.zipMergeLists = zipMergeLists;
|