@melius-ai/cli 0.47.0 → 0.49.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/bin/mel.js +1 -1
- package/dist/{chunk-D3PTVBQC.js → chunk-HFHIKBTR.js} +255 -46
- package/dist/src/index.js +1 -1
- package/package.json +1 -1
package/dist/bin/mel.js
CHANGED
|
@@ -7490,7 +7490,7 @@ function inferDirectFileNodeMediaTypeFromContentType(contentType) {
|
|
|
7490
7490
|
return null;
|
|
7491
7491
|
}
|
|
7492
7492
|
var SERVER_PLACED_NODE_REFUSALS = {
|
|
7493
|
-
"img-angle": "Angle
|
|
7493
|
+
"img-angle": "A Camera Angle node is made from a source image, not created directly",
|
|
7494
7494
|
element: "An element node is placed from the element library, not created directly",
|
|
7495
7495
|
linked_output: "A linked output node is placed by the feature whose output it shows, not created directly"
|
|
7496
7496
|
};
|
|
@@ -9757,6 +9757,7 @@ function planAutoformatRequest(nodes, edges, request, savedLayout) {
|
|
|
9757
9757
|
}
|
|
9758
9758
|
|
|
9759
9759
|
// ../canvas-domain/src/video-replacement.ts
|
|
9760
|
+
var VIDEO_REPLACEMENT_MAX_DURATION_SECONDS = 30;
|
|
9760
9761
|
var VideoReplacementCapabilitySchema = external_exports.object({
|
|
9761
9762
|
fullOutputMaxDurationSeconds: external_exports.number().positive(),
|
|
9762
9763
|
maxReferenceImages: external_exports.number().int().positive(),
|
|
@@ -10538,6 +10539,8 @@ var UPLOAD_PURPOSES = [
|
|
|
10538
10539
|
"brand-kit-guidelines"
|
|
10539
10540
|
];
|
|
10540
10541
|
var UPLOAD_PROXY_VIDEO_PURPOSES = [
|
|
10542
|
+
"ditto-source",
|
|
10543
|
+
// Upload commands issued before the Ditto rename still send this.
|
|
10541
10544
|
"cast-replacement-source",
|
|
10542
10545
|
"canvas-video"
|
|
10543
10546
|
];
|
|
@@ -11005,14 +11008,29 @@ var IMAGE_ANGLE_ROTATION_MAX_DEG = 180;
|
|
|
11005
11008
|
var IMAGE_ANGLE_TILT_MIN_DEG = -30;
|
|
11006
11009
|
var IMAGE_ANGLE_TILT_MAX_DEG = 90;
|
|
11007
11010
|
var IMAGE_ANGLE_MAX_BATCH_SIZE = 5;
|
|
11011
|
+
var IMAGE_ANGLE_ZOOMS = ["wide", "medium", "close"];
|
|
11012
|
+
var ImageAngleZoomSchema = external_exports.enum(IMAGE_ANGLE_ZOOMS);
|
|
11013
|
+
var DEFAULT_IMAGE_ANGLE_ZOOM = "medium";
|
|
11008
11014
|
var imageAngleFields = {
|
|
11009
11015
|
rotationDeg: external_exports.number().finite().int().min(IMAGE_ANGLE_ROTATION_MIN_DEG).max(IMAGE_ANGLE_ROTATION_MAX_DEG),
|
|
11010
|
-
tiltDeg: external_exports.number().finite().int().min(IMAGE_ANGLE_TILT_MIN_DEG).max(IMAGE_ANGLE_TILT_MAX_DEG)
|
|
11016
|
+
tiltDeg: external_exports.number().finite().int().min(IMAGE_ANGLE_TILT_MIN_DEG).max(IMAGE_ANGLE_TILT_MAX_DEG),
|
|
11017
|
+
zoom: ImageAngleZoomSchema.optional().describe(
|
|
11018
|
+
"Camera distance: wide is farther away, medium (the default) is normal, close is nearer"
|
|
11019
|
+
)
|
|
11011
11020
|
};
|
|
11021
|
+
var StoredImageAngleSchema = external_exports.object({
|
|
11022
|
+
rotationDeg: imageAngleFields.rotationDeg,
|
|
11023
|
+
tiltDeg: imageAngleFields.tiltDeg,
|
|
11024
|
+
zoom: ImageAngleZoomSchema.exclude([
|
|
11025
|
+
DEFAULT_IMAGE_ANGLE_ZOOM
|
|
11026
|
+
]).optional()
|
|
11027
|
+
}).strict();
|
|
11012
11028
|
function canonicalImageAngle(angle) {
|
|
11029
|
+
const { zoom } = angle;
|
|
11013
11030
|
return {
|
|
11014
11031
|
rotationDeg: angle.rotationDeg === IMAGE_ANGLE_ROTATION_MIN_DEG ? IMAGE_ANGLE_ROTATION_MAX_DEG : angle.rotationDeg === 0 ? 0 : angle.rotationDeg,
|
|
11015
|
-
tiltDeg: angle.tiltDeg === 0 ? 0 : angle.tiltDeg
|
|
11032
|
+
tiltDeg: angle.tiltDeg === 0 ? 0 : angle.tiltDeg,
|
|
11033
|
+
...zoom && zoom !== DEFAULT_IMAGE_ANGLE_ZOOM && { zoom }
|
|
11016
11034
|
};
|
|
11017
11035
|
}
|
|
11018
11036
|
var ImageAngleInputSchema = external_exports.object(imageAngleFields).strict().transform(canonicalImageAngle);
|
|
@@ -11035,7 +11053,7 @@ var CreateImageAngleBodySchema = external_exports.object({
|
|
|
11035
11053
|
angles: external_exports.array(ImageAngleInputSchema).min(1).max(IMAGE_ANGLE_MAX_BATCH_SIZE).superRefine((angles, context2) => {
|
|
11036
11054
|
const seen = /* @__PURE__ */ new Set();
|
|
11037
11055
|
for (const [index, angle] of angles.entries()) {
|
|
11038
|
-
const key2 = `${angle.rotationDeg}:${angle.tiltDeg}`;
|
|
11056
|
+
const key2 = `${angle.rotationDeg}:${angle.tiltDeg}:${angle.zoom ?? DEFAULT_IMAGE_ANGLE_ZOOM}`;
|
|
11039
11057
|
if (seen.has(key2)) {
|
|
11040
11058
|
context2.addIssue({
|
|
11041
11059
|
code: external_exports.ZodIssueCode.custom,
|
|
@@ -11219,7 +11237,7 @@ var ModelConfigSchema = external_exports.object({
|
|
|
11219
11237
|
// Drop unreadable collaborative settings so one node cannot fail the response.
|
|
11220
11238
|
imageAngle: ImageAngleInputSchema.pipe(
|
|
11221
11239
|
// OpenAPI needs the output shape of the canonicalizing transform.
|
|
11222
|
-
|
|
11240
|
+
StoredImageAngleSchema
|
|
11223
11241
|
).optional().catch(void 0),
|
|
11224
11242
|
videoEditMode: external_exports.literal("replacement").optional(),
|
|
11225
11243
|
model: external_exports.string(),
|
|
@@ -12575,7 +12593,14 @@ var BulkRunCreditShortfallModeSchema = external_exports.enum([
|
|
|
12575
12593
|
]);
|
|
12576
12594
|
var BulkNodeRunStartResponseSchema = BulkNodeRunResponseSchema.extend({
|
|
12577
12595
|
/** Nodes left unrun because the team's credits covered only part of the run. */
|
|
12578
|
-
creditSkippedNodeIds: external_exports.array(external_exports.string().uuid()).optional()
|
|
12596
|
+
creditSkippedNodeIds: external_exports.array(external_exports.string().uuid()).optional(),
|
|
12597
|
+
/**
|
|
12598
|
+
* Nodes whose failure hands their input on instead of failing what they
|
|
12599
|
+
* feed (a Cast setting picture, a long video's look), so the run still
|
|
12600
|
+
* delivers. Empty when the run has none; absent from servers that
|
|
12601
|
+
* predate it.
|
|
12602
|
+
*/
|
|
12603
|
+
fallbackNodeIds: external_exports.array(external_exports.string().uuid()).optional()
|
|
12579
12604
|
});
|
|
12580
12605
|
|
|
12581
12606
|
// ../api-contract/src/canvas/schema/direct-mutation.ts
|
|
@@ -13177,6 +13202,12 @@ var MAX_CAST_PRONUNCIATIONS = 50;
|
|
|
13177
13202
|
var CastCreationSettingsSchema = external_exports.object({
|
|
13178
13203
|
videoStyle: CastVideoStyleSchema,
|
|
13179
13204
|
speech: external_exports.enum(["on-screen", "narration"]),
|
|
13205
|
+
visuals: external_exports.enum(["auto", "on", "off"]).optional().describe(
|
|
13206
|
+
"Auto chooses useful supporting visuals from the script, actions and props across video styles, and may keep generated footage alone. Off skips added visuals. On remains accepted for compatibility. Subtitles are separate; generation eligibility still applies."
|
|
13207
|
+
),
|
|
13208
|
+
visualsBrief: external_exports.string().trim().min(1).max(1e3).optional().describe(
|
|
13209
|
+
"The member's direction for every added visual, in their words: look, colors, type, motion, mood and how many. Never filmed; it asks for added visuals, so Visuals must not be Off."
|
|
13210
|
+
),
|
|
13180
13211
|
pronunciations: external_exports.array(CastPronunciationSchema).max(MAX_CAST_PRONUNCIATIONS).optional().describe(
|
|
13181
13212
|
'Confirmed spoken spellings, e.g. [{"word":"Emmaus","pronunciation":"ee-may-us"}]. Applied to speech only; keep the original spelling in the script and visual directions.'
|
|
13182
13213
|
)
|
|
@@ -13226,7 +13257,13 @@ var CastAuthoredSectionSchema = external_exports.object({
|
|
|
13226
13257
|
* ("Close-up in front of a whiteboard"), held on its first line. It can
|
|
13227
13258
|
* name avatars and props the way an action does.
|
|
13228
13259
|
*/
|
|
13229
|
-
scene: external_exports.string().optional()
|
|
13260
|
+
scene: external_exports.string().optional(),
|
|
13261
|
+
/**
|
|
13262
|
+
* What the member wants added on screen while this line is spoken, in
|
|
13263
|
+
* their words ("STOP slams in word by word"). Never filmed: the visuals
|
|
13264
|
+
* pass answers it over the finished clip.
|
|
13265
|
+
*/
|
|
13266
|
+
onScreen: external_exports.string().optional()
|
|
13230
13267
|
});
|
|
13231
13268
|
function dropShotFieldsFromSpokenSections(sections) {
|
|
13232
13269
|
return sections.map((section) => {
|
|
@@ -13750,8 +13787,9 @@ var PrepareCastScriptBodySchema = external_exports.object({
|
|
|
13750
13787
|
longVideo: external_exports.boolean(),
|
|
13751
13788
|
readPacing: external_exports.boolean()
|
|
13752
13789
|
});
|
|
13790
|
+
var MAX_PREPARED_CAST_SCRIPT_SECTIONS = 100;
|
|
13753
13791
|
var PrepareCastScriptResponseSchema = external_exports.object({
|
|
13754
|
-
sections: external_exports.array(CastScriptSectionSchema).min(1).max(
|
|
13792
|
+
sections: external_exports.array(CastScriptSectionSchema).min(1).max(MAX_PREPARED_CAST_SCRIPT_SECTIONS),
|
|
13755
13793
|
requestedSeconds: external_exports.number().positive().nullable(),
|
|
13756
13794
|
estimatedSeconds: external_exports.number().nonnegative()
|
|
13757
13795
|
});
|
|
@@ -13781,7 +13819,7 @@ var CastLocationRequestSchema = external_exports.object({
|
|
|
13781
13819
|
cutaway: CastAuthoredSectionSchema.shape.cutaway
|
|
13782
13820
|
})
|
|
13783
13821
|
).min(1).max(100)
|
|
13784
|
-
).min(
|
|
13822
|
+
).min(1).max(100),
|
|
13785
13823
|
/**
|
|
13786
13824
|
* Also read who else is in each setting (`cast-background-extras`).
|
|
13787
13825
|
* Absent, the read is as it was and no setting names any people.
|
|
@@ -13803,7 +13841,7 @@ var CAST_OUTFIT_KINDS = [
|
|
|
13803
13841
|
"accessory"
|
|
13804
13842
|
];
|
|
13805
13843
|
var CastLocationResponseSchema = external_exports.object({
|
|
13806
|
-
speech: external_exports.array(external_exports.array(CastCreationSettingsSchema.shape.speech).min(1).max(100)).min(
|
|
13844
|
+
speech: external_exports.array(external_exports.array(CastCreationSettingsSchema.shape.speech).min(1).max(100)).min(1).max(100),
|
|
13807
13845
|
locations: external_exports.array(
|
|
13808
13846
|
external_exports.object({
|
|
13809
13847
|
name: external_exports.string().trim().min(1).max(80).regex(/^[^[\]{}\n\r]+$/),
|
|
@@ -14118,12 +14156,13 @@ var CastVideoInputSchema = external_exports.object({
|
|
|
14118
14156
|
CastAuthoredSectionSchema.omit({
|
|
14119
14157
|
id: true,
|
|
14120
14158
|
continues: true,
|
|
14121
|
-
inShot: true
|
|
14122
|
-
scene: true
|
|
14159
|
+
inShot: true
|
|
14123
14160
|
}).extend({
|
|
14124
14161
|
title: external_exports.string().max(200).optional(),
|
|
14125
14162
|
text: external_exports.string().max(5e3),
|
|
14126
14163
|
action: external_exports.string().max(2e3).optional(),
|
|
14164
|
+
scene: external_exports.string().max(2e3).optional(),
|
|
14165
|
+
onScreen: external_exports.string().trim().min(1).max(500).optional(),
|
|
14127
14166
|
/** The id of the avatar who says it; absent is `avatar`. */
|
|
14128
14167
|
speakerId: external_exports.string().max(200).optional()
|
|
14129
14168
|
}).strict().superRefine(refuseShotFieldsOffShots)
|
|
@@ -14141,6 +14180,7 @@ var CastVideoInputSchema = external_exports.object({
|
|
|
14141
14180
|
workId: external_exports.string().uuid().optional()
|
|
14142
14181
|
}).strict();
|
|
14143
14182
|
var CastVideoRequestSchema = CastVideoInputSchema.extend({
|
|
14183
|
+
useFreeGeneration: external_exports.boolean().optional(),
|
|
14144
14184
|
voice: CastVideoVoiceSchema.optional(),
|
|
14145
14185
|
avatar: external_exports.union([
|
|
14146
14186
|
CastVideoAvatarSchema,
|
|
@@ -14161,6 +14201,8 @@ var CastVideoReviewSchema = external_exports.object({
|
|
|
14161
14201
|
resolution: OutputResolutionSchema.optional(),
|
|
14162
14202
|
subtitles: external_exports.string(),
|
|
14163
14203
|
template: external_exports.string(),
|
|
14204
|
+
/** Auto, Off or Unavailable, for a member who can have added visuals; absent otherwise. */
|
|
14205
|
+
visuals: external_exports.string().optional(),
|
|
14164
14206
|
/** What preparation changed from the request, said where the member reviews it. */
|
|
14165
14207
|
notice: external_exports.string().optional(),
|
|
14166
14208
|
/** Everyone the video casts, `avatar` first, where it casts several. */
|
|
@@ -14174,11 +14216,13 @@ var CastVideoReviewSchema = external_exports.object({
|
|
|
14174
14216
|
});
|
|
14175
14217
|
var preparation = external_exports.object({
|
|
14176
14218
|
attemptId: external_exports.string().uuid(),
|
|
14219
|
+
preparationToken: external_exports.string().uuid().optional(),
|
|
14177
14220
|
input: CastVideoInputSchema,
|
|
14178
14221
|
review: CastVideoReviewSchema,
|
|
14179
14222
|
scriptSeconds: external_exports.number().nonnegative(),
|
|
14180
14223
|
aspectRatios: external_exports.array(OutputAspectRatioSchema),
|
|
14181
|
-
estimatedWait: external_exports.string().optional()
|
|
14224
|
+
estimatedWait: external_exports.string().optional(),
|
|
14225
|
+
visualsUnavailableReason: external_exports.string().optional()
|
|
14182
14226
|
});
|
|
14183
14227
|
var PrepareCastVideoResponseSchema = external_exports.discriminatedUnion("status", [
|
|
14184
14228
|
preparation.extend({
|
|
@@ -14197,10 +14241,15 @@ var PrepareCastVideoResponseSchema = external_exports.discriminatedUnion("status
|
|
|
14197
14241
|
]);
|
|
14198
14242
|
var RunCastVideoBodySchema = external_exports.object({
|
|
14199
14243
|
attemptId: external_exports.string().uuid(),
|
|
14244
|
+
preparationToken: external_exports.string().uuid().optional(),
|
|
14245
|
+
expectedEstimatedCredits: external_exports.number().finite().nonnegative().optional(),
|
|
14200
14246
|
input: CastVideoInputSchema,
|
|
14201
14247
|
/** Spend a free generation instead of credits; refused, never billed, when none covers the video. */
|
|
14202
14248
|
useFreeGeneration: external_exports.boolean().optional()
|
|
14203
14249
|
}).strict();
|
|
14250
|
+
var CastPreparedVideoQuoteSchema = external_exports.object({
|
|
14251
|
+
estimatedCredits: external_exports.number().finite().nonnegative()
|
|
14252
|
+
});
|
|
14204
14253
|
var videoReference = external_exports.object({
|
|
14205
14254
|
generationId: external_exports.string().uuid(),
|
|
14206
14255
|
canvasId: external_exports.string().uuid(),
|
|
@@ -14799,8 +14848,16 @@ var API_ERROR_CODE = {
|
|
|
14799
14848
|
dittoBetaRequired: "DITTO_BETA_REQUIRED",
|
|
14800
14849
|
/** The Ditto template was retired or deleted; the client asks for another video. */
|
|
14801
14850
|
dittoTemplateNotFound: "DITTO_TEMPLATE_NOT_FOUND",
|
|
14851
|
+
/** The Ditto template changed since the draft took it; the client drops its source. */
|
|
14852
|
+
dittoTemplateChanged: "DITTO_TEMPLATE_CHANGED",
|
|
14853
|
+
/** A Ditto request's source video is gone; the client drops it and asks for a video. */
|
|
14854
|
+
dittoSourceNotFound: "DITTO_SOURCE_NOT_FOUND",
|
|
14855
|
+
/** A Ditto request's image (`assetId`) is gone; the client drops it from the edit. */
|
|
14856
|
+
dittoReferenceNotFound: "DITTO_REFERENCE_NOT_FOUND",
|
|
14802
14857
|
/** The request asked for a free generation and none covers it; refused, never billed. */
|
|
14803
|
-
freeGenerationUnavailable: FREE_GENERATION_UNAVAILABLE_ERROR_CODE
|
|
14858
|
+
freeGenerationUnavailable: FREE_GENERATION_UNAVAILABLE_ERROR_CODE,
|
|
14859
|
+
/** Someone saved the subtitles since this edit started; the client reloads them. */
|
|
14860
|
+
videoSubtitlesRevisionStale: "VIDEO_SUBTITLES_REVISION_STALE"
|
|
14804
14861
|
};
|
|
14805
14862
|
var TEAM_SEAT_LIMIT_REACHED_MESSAGE = `Team supports up to ${TEAM_SEAT_PLAN.maxSeats} seats. We've notified our team and will reach out over email about a larger plan.`;
|
|
14806
14863
|
|
|
@@ -15036,9 +15093,13 @@ var EnterpriseStripeBillingAuditEntrySchema = external_exports.object({
|
|
|
15036
15093
|
notes: external_exports.string().optional()
|
|
15037
15094
|
});
|
|
15038
15095
|
var EnterpriseOrderSchema = EnterpriseOrderDetailsSchema.extend({
|
|
15096
|
+
/** Members plus pending invites. Null means unlimited; omission preserves the saved limit. */
|
|
15097
|
+
seatLimit: external_exports.number().int().positive().max(Number.MAX_SAFE_INTEGER).nullable().optional(),
|
|
15039
15098
|
stripeBilling: EnterpriseStripeBillingInputSchema.optional()
|
|
15040
15099
|
});
|
|
15041
|
-
var CustomerEnterpriseOrderSchema = EnterpriseOrderSchema.
|
|
15100
|
+
var CustomerEnterpriseOrderSchema = EnterpriseOrderSchema.omit({
|
|
15101
|
+
seatLimit: true
|
|
15102
|
+
}).extend({
|
|
15042
15103
|
stripeBilling: CustomerEnterpriseStripeBillingSchema.optional()
|
|
15043
15104
|
});
|
|
15044
15105
|
var CustomPlanCreditGrantScheduleSchema = external_exports.object({
|
|
@@ -15384,7 +15445,7 @@ var CastUpscaleOptionSchema = external_exports.object({
|
|
|
15384
15445
|
resolution: CastUpscaleResolutionSchema,
|
|
15385
15446
|
/**
|
|
15386
15447
|
* What upscaling the take to this size charges, priced the way the
|
|
15387
|
-
*
|
|
15448
|
+
* active upscaler prices the prepared parts. Every size can be
|
|
15388
15449
|
* chosen again, each time as a new take at this price.
|
|
15389
15450
|
*/
|
|
15390
15451
|
creditCost: external_exports.number().int().nonnegative(),
|
|
@@ -15404,7 +15465,7 @@ var CastUpscaleOptionSchema = external_exports.object({
|
|
|
15404
15465
|
generationId: external_exports.string().uuid().nullable().optional()
|
|
15405
15466
|
});
|
|
15406
15467
|
var CastUpscaleSchema = external_exports.object({
|
|
15407
|
-
/** The upscaler's registry id
|
|
15468
|
+
/** The upscaler's registry id. */
|
|
15408
15469
|
model: external_exports.string(),
|
|
15409
15470
|
/** The upscaler's name, as the canvas names it. */
|
|
15410
15471
|
modelName: external_exports.string(),
|
|
@@ -15419,7 +15480,7 @@ var CastUpscaleSchema = external_exports.object({
|
|
|
15419
15480
|
var CastUpscaledFromSchema = external_exports.object({
|
|
15420
15481
|
generationId: external_exports.string().uuid(),
|
|
15421
15482
|
resolution: CastUpscaleResolutionSchema,
|
|
15422
|
-
/** The upscaler's registry id
|
|
15483
|
+
/** The upscaler's registry id. */
|
|
15423
15484
|
model: external_exports.string(),
|
|
15424
15485
|
/** The upscaler's name, as the canvas names it. */
|
|
15425
15486
|
modelName: external_exports.string()
|
|
@@ -15467,6 +15528,7 @@ var CAST_ENTRY_POINTS = [
|
|
|
15467
15528
|
"example_link",
|
|
15468
15529
|
"canvas",
|
|
15469
15530
|
"guest_draft",
|
|
15531
|
+
"offers_menu",
|
|
15470
15532
|
"direct"
|
|
15471
15533
|
];
|
|
15472
15534
|
var CastEntryPointSchema = external_exports.enum(CAST_ENTRY_POINTS);
|
|
@@ -15959,6 +16021,8 @@ var ModelVariantResponseSchema = external_exports.object({
|
|
|
15959
16021
|
defaultResolution: OutputResolutionSchema.nullable().optional(),
|
|
15960
16022
|
featuredDescription: external_exports.string().nullable(),
|
|
15961
16023
|
cost: ModelCostSchema.optional(),
|
|
16024
|
+
/** `cost` before the team's model discount; set only when the team has one. */
|
|
16025
|
+
listCost: ModelCostSchema.optional(),
|
|
15962
16026
|
/** Selectable voices for audio variants, or null when none apply. */
|
|
15963
16027
|
voices: VoiceCapabilitySchema.nullable().optional(),
|
|
15964
16028
|
/**
|
|
@@ -15987,6 +16051,8 @@ var ModelResponseSchema = external_exports.object({
|
|
|
15987
16051
|
estimatedLatencySeconds: external_exports.number().nullable().optional(),
|
|
15988
16052
|
featuredDescription: external_exports.string().nullable().optional(),
|
|
15989
16053
|
cost: ModelCostSchema,
|
|
16054
|
+
/** `cost` before the team's model discount; set only when the team has one. */
|
|
16055
|
+
listCost: ModelCostSchema.optional(),
|
|
15990
16056
|
deprecated: external_exports.boolean().optional(),
|
|
15991
16057
|
hiddenFromAgent: external_exports.boolean().optional(),
|
|
15992
16058
|
/** Set on image models. Optional only so a client can read a server that predates it. */
|
|
@@ -16304,7 +16370,8 @@ var DittoModelOptionSchema = DittoModelSchema.extend({
|
|
|
16304
16370
|
});
|
|
16305
16371
|
var ListDittoModelsResponseSchema = external_exports.object({
|
|
16306
16372
|
models: external_exports.array(DittoModelOptionSchema),
|
|
16307
|
-
styleTransferModels: external_exports.array(DittoModelOptionSchema).optional()
|
|
16373
|
+
styleTransferModels: external_exports.array(DittoModelOptionSchema).optional(),
|
|
16374
|
+
sourceClipPreparation: external_exports.boolean().optional()
|
|
16308
16375
|
});
|
|
16309
16376
|
var DittoQuoteSchema = external_exports.object({
|
|
16310
16377
|
id: external_exports.string(),
|
|
@@ -18424,7 +18491,6 @@ var SharedGenerationOutputSchema = external_exports.object({
|
|
|
18424
18491
|
var SharedCreatorSchema = external_exports.object({
|
|
18425
18492
|
id: external_exports.string().uuid(),
|
|
18426
18493
|
name: external_exports.string(),
|
|
18427
|
-
email: external_exports.string(),
|
|
18428
18494
|
avatarUrl: external_exports.string().nullable()
|
|
18429
18495
|
});
|
|
18430
18496
|
var SharedGenerationResponseSchema = external_exports.object({
|
|
@@ -19121,6 +19187,43 @@ var JoinPublicDittoWaitlistBodySchema = external_exports.object({
|
|
|
19121
19187
|
email: external_exports.string().trim().min(3).max(254).email()
|
|
19122
19188
|
});
|
|
19123
19189
|
|
|
19190
|
+
// ../api-contract/src/ditto/source-clips.ts
|
|
19191
|
+
var CancelDittoSourceClipBodySchema = external_exports.object({
|
|
19192
|
+
sessionId: external_exports.string().uuid(),
|
|
19193
|
+
revision: external_exports.number().int().positive().safe()
|
|
19194
|
+
});
|
|
19195
|
+
var PrepareDittoSourceClipBodySchema = CancelDittoSourceClipBodySchema.extend({
|
|
19196
|
+
sourceAssetId: external_exports.string().uuid(),
|
|
19197
|
+
sourceRange: DittoSettingsSchema.shape.sourceRange.unwrap().refine(
|
|
19198
|
+
(range) => range.endMs - range.startMs <= VIDEO_REPLACEMENT_MAX_DURATION_SECONDS * 1e3,
|
|
19199
|
+
"Choose a shorter clip"
|
|
19200
|
+
)
|
|
19201
|
+
});
|
|
19202
|
+
var PrepareDittoSourceClipResponseSchema = external_exports.discriminatedUnion(
|
|
19203
|
+
"status",
|
|
19204
|
+
[
|
|
19205
|
+
PrepareDittoSourceClipBodySchema.extend({
|
|
19206
|
+
status: external_exports.literal("preparing")
|
|
19207
|
+
}),
|
|
19208
|
+
PrepareDittoSourceClipBodySchema.extend({
|
|
19209
|
+
status: external_exports.literal("ready"),
|
|
19210
|
+
asset: external_exports.object({
|
|
19211
|
+
assetId: external_exports.string().uuid(),
|
|
19212
|
+
url: external_exports.string(),
|
|
19213
|
+
durationMs: external_exports.number().finite().positive(),
|
|
19214
|
+
previewUrl: external_exports.string().optional()
|
|
19215
|
+
})
|
|
19216
|
+
}),
|
|
19217
|
+
PrepareDittoSourceClipBodySchema.extend({
|
|
19218
|
+
status: external_exports.literal("failed"),
|
|
19219
|
+
message: external_exports.string()
|
|
19220
|
+
}),
|
|
19221
|
+
PrepareDittoSourceClipBodySchema.extend({
|
|
19222
|
+
status: external_exports.literal("cancelled")
|
|
19223
|
+
})
|
|
19224
|
+
]
|
|
19225
|
+
);
|
|
19226
|
+
|
|
19124
19227
|
// ../api-contract/src/ditto/templates.ts
|
|
19125
19228
|
var DittoTemplateCategorySchema = external_exports.enum([
|
|
19126
19229
|
"dances",
|
|
@@ -19218,6 +19321,17 @@ var SearchDittoTemplatesBodySchema = createCursorPaginationRequestSchema({ defau
|
|
|
19218
19321
|
*/
|
|
19219
19322
|
sort: DittoTemplateSearchSortSchema.optional()
|
|
19220
19323
|
});
|
|
19324
|
+
var DittoTemplateShelfCategorySchema = external_exports.string().trim().min(1).max(64).optional();
|
|
19325
|
+
var SearchPublicDittoTemplatesBodySchema = SearchDittoTemplatesBodySchema.extend({
|
|
19326
|
+
category: DittoTemplateShelfCategorySchema,
|
|
19327
|
+
/**
|
|
19328
|
+
* Every published template in a random order that each new search
|
|
19329
|
+
* picks, as a member's `shuffle` does; the cursor keeps that order.
|
|
19330
|
+
* `query` and `category` take precedence when set, and it takes
|
|
19331
|
+
* precedence over `sort`.
|
|
19332
|
+
*/
|
|
19333
|
+
shuffle: external_exports.boolean().optional()
|
|
19334
|
+
});
|
|
19221
19335
|
var SearchMemberDittoTemplatesBodySchema = SearchDittoTemplatesBodySchema.extend({
|
|
19222
19336
|
/**
|
|
19223
19337
|
* Only the templates a new member starts their first video from:
|
|
@@ -19233,14 +19347,8 @@ var SearchMemberDittoTemplatesBodySchema = SearchDittoTemplatesBodySchema.extend
|
|
|
19233
19347
|
* `starters` takes precedence when both are set.
|
|
19234
19348
|
*/
|
|
19235
19349
|
popular: external_exports.boolean().optional(),
|
|
19236
|
-
/**
|
|
19237
|
-
|
|
19238
|
-
* order on every request, so a Home shelf shows different templates
|
|
19239
|
-
* first each visit. At most `pageSize` of them; one page with no
|
|
19240
|
-
* cursor, and a cursor is refused. `starters` and `popular` take
|
|
19241
|
-
* precedence when set. A category the server doesn't know lists none.
|
|
19242
|
-
*/
|
|
19243
|
-
category: external_exports.string().trim().min(1).max(64).optional(),
|
|
19350
|
+
/** `starters` and `popular` take precedence when set. */
|
|
19351
|
+
category: DittoTemplateShelfCategorySchema,
|
|
19244
19352
|
/**
|
|
19245
19353
|
* Every published template in a random order that each new search
|
|
19246
19354
|
* picks, in place of the staff order. The cursor keeps that order, so
|
|
@@ -21155,7 +21263,7 @@ var canvasContract = c5.router({
|
|
|
21155
21263
|
}
|
|
21156
21264
|
},
|
|
21157
21265
|
createImageAngle: {
|
|
21158
|
-
summary: "Generate
|
|
21266
|
+
summary: "Generate Camera Angle images",
|
|
21159
21267
|
method: "POST",
|
|
21160
21268
|
path: "/canvases/:canvasId/angles",
|
|
21161
21269
|
pathParams: external_exports.object({ canvasId: external_exports.string().uuid() }),
|
|
@@ -21600,7 +21708,7 @@ var canvasContract = c5.router({
|
|
|
21600
21708
|
...BulkRunFreeGenerationFields
|
|
21601
21709
|
}),
|
|
21602
21710
|
responses: {
|
|
21603
|
-
201:
|
|
21711
|
+
201: BulkNodeRunStartResponseSchema,
|
|
21604
21712
|
202: external_exports.object({ approvalId: external_exports.string().uuid() }),
|
|
21605
21713
|
400: MessageResponseSchema
|
|
21606
21714
|
}
|
|
@@ -22147,6 +22255,29 @@ var customFontContract = c6.router({
|
|
|
22147
22255
|
// ../api-contract/src/ditto/routes.ts
|
|
22148
22256
|
var c7 = initContract();
|
|
22149
22257
|
var dittoContract = c7.router({
|
|
22258
|
+
prepareSourceClip: {
|
|
22259
|
+
method: "POST",
|
|
22260
|
+
path: "/ditto/source-clips",
|
|
22261
|
+
body: PrepareDittoSourceClipBodySchema,
|
|
22262
|
+
responses: {
|
|
22263
|
+
200: PrepareDittoSourceClipResponseSchema,
|
|
22264
|
+
400: ApiErrorResponseSchema,
|
|
22265
|
+
403: ApiErrorResponseSchema,
|
|
22266
|
+
404: ApiErrorResponseSchema,
|
|
22267
|
+
410: ApiErrorResponseSchema
|
|
22268
|
+
}
|
|
22269
|
+
},
|
|
22270
|
+
cancelSourceClip: {
|
|
22271
|
+
method: "POST",
|
|
22272
|
+
path: "/ditto/source-clips/cancel",
|
|
22273
|
+
body: CancelDittoSourceClipBodySchema,
|
|
22274
|
+
responses: {
|
|
22275
|
+
200: external_exports.object({ success: external_exports.literal(true) }),
|
|
22276
|
+
400: ApiErrorResponseSchema,
|
|
22277
|
+
403: ApiErrorResponseSchema,
|
|
22278
|
+
410: ApiErrorResponseSchema
|
|
22279
|
+
}
|
|
22280
|
+
},
|
|
22150
22281
|
searchTemplates: {
|
|
22151
22282
|
method: "POST",
|
|
22152
22283
|
path: "/ditto/templates/search",
|
|
@@ -22179,13 +22310,21 @@ var dittoContract = c7.router({
|
|
|
22179
22310
|
searchPublicTemplates: {
|
|
22180
22311
|
method: "POST",
|
|
22181
22312
|
path: "/ditto/public/templates/search",
|
|
22182
|
-
body:
|
|
22313
|
+
body: SearchPublicDittoTemplatesBodySchema,
|
|
22183
22314
|
responses: {
|
|
22184
22315
|
200: SearchDittoTemplatesResponseSchema,
|
|
22185
22316
|
400: MessageResponseSchema
|
|
22186
22317
|
},
|
|
22187
22318
|
summary: "Published Ditto templates, readable without signing in"
|
|
22188
22319
|
},
|
|
22320
|
+
listPublicTemplateShelves: {
|
|
22321
|
+
method: "GET",
|
|
22322
|
+
path: "/ditto/public/templates/shelves",
|
|
22323
|
+
responses: {
|
|
22324
|
+
200: ListDittoTemplateShelvesResponseSchema
|
|
22325
|
+
},
|
|
22326
|
+
summary: "Home's template shelves in order, each searched with searchPublicTemplates' category, readable without signing in"
|
|
22327
|
+
},
|
|
22189
22328
|
getPublicTemplate: {
|
|
22190
22329
|
method: "GET",
|
|
22191
22330
|
path: "/ditto/public/templates/:id",
|
|
@@ -24628,6 +24767,29 @@ var CastCameraReadSchema = external_exports.object({
|
|
|
24628
24767
|
)
|
|
24629
24768
|
});
|
|
24630
24769
|
|
|
24770
|
+
// ../api-contract/src/cast/video-style-read.ts
|
|
24771
|
+
var CAST_VIDEO_STYLE_READ_MAX_SECTIONS = 30;
|
|
24772
|
+
var CAST_VIDEO_STYLE_READ_MAX_PART_LENGTH = 4e3;
|
|
24773
|
+
var SectionPartSchema = external_exports.string().max(CAST_VIDEO_STYLE_READ_MAX_PART_LENGTH);
|
|
24774
|
+
var CastVideoStyleReadBodySchema = external_exports.object({
|
|
24775
|
+
/** The script as it will be filmed: each section's words and directions. */
|
|
24776
|
+
sections: external_exports.array(
|
|
24777
|
+
external_exports.object({
|
|
24778
|
+
text: SectionPartSchema,
|
|
24779
|
+
action: SectionPartSchema.optional(),
|
|
24780
|
+
scene: SectionPartSchema.optional()
|
|
24781
|
+
}).strict()
|
|
24782
|
+
).min(1).max(CAST_VIDEO_STYLE_READ_MAX_SECTIONS)
|
|
24783
|
+
}).strict();
|
|
24784
|
+
var CastVideoStyleReadSchema = external_exports.object({
|
|
24785
|
+
/**
|
|
24786
|
+
* The style Auto films the script in. Absent when the read could not run
|
|
24787
|
+
* or the team does not have `cast-auto-video-style`: Auto then renders as
|
|
24788
|
+
* its own Self-filmed base.
|
|
24789
|
+
*/
|
|
24790
|
+
videoStyle: CastVideoStyleIdSchema.exclude(["auto"]).optional()
|
|
24791
|
+
});
|
|
24792
|
+
|
|
24631
24793
|
// ../api-contract/src/cast/choreography.ts
|
|
24632
24794
|
var CAST_CHOREOGRAPHY_MAX_SECTIONS = 30;
|
|
24633
24795
|
var SectionTextSchema = external_exports.string().max(4e3);
|
|
@@ -24736,6 +24898,17 @@ var castContract = c18.router({
|
|
|
24736
24898
|
},
|
|
24737
24899
|
summary: "Resolve saved video inputs and estimate credits without starting a generation"
|
|
24738
24900
|
},
|
|
24901
|
+
readCastPreparedVideoQuote: {
|
|
24902
|
+
method: "POST",
|
|
24903
|
+
path: "/cast/videos/prepared-quote",
|
|
24904
|
+
body: RunCastVideoBodySchema.omit({ expectedEstimatedCredits: true }),
|
|
24905
|
+
responses: {
|
|
24906
|
+
200: CastPreparedVideoQuoteSchema,
|
|
24907
|
+
400: MessageResponseSchema,
|
|
24908
|
+
403: MessageResponseSchema
|
|
24909
|
+
},
|
|
24910
|
+
summary: "Read the bound estimate for an existing prepared video"
|
|
24911
|
+
},
|
|
24739
24912
|
runCastVideo: {
|
|
24740
24913
|
method: "POST",
|
|
24741
24914
|
headers: IdempotencyRequestHeadersSchema,
|
|
@@ -24863,6 +25036,17 @@ var castContract = c18.router({
|
|
|
24863
25036
|
},
|
|
24864
25037
|
summary: "Read which parts of the camera each Cast section's action or scene names"
|
|
24865
25038
|
},
|
|
25039
|
+
readCastVideoStyle: {
|
|
25040
|
+
method: "POST",
|
|
25041
|
+
path: "/cast/video-style-read",
|
|
25042
|
+
body: CastVideoStyleReadBodySchema,
|
|
25043
|
+
responses: {
|
|
25044
|
+
200: CastVideoStyleReadSchema,
|
|
25045
|
+
400: MessageResponseSchema,
|
|
25046
|
+
403: MessageResponseSchema
|
|
25047
|
+
},
|
|
25048
|
+
summary: "Read which video style a Cast script reads as, for the Auto style"
|
|
25049
|
+
},
|
|
24866
25050
|
readCastChoreography: {
|
|
24867
25051
|
method: "POST",
|
|
24868
25052
|
path: "/cast/choreography",
|
|
@@ -25094,6 +25278,7 @@ var publicContract = c19.router(
|
|
|
25094
25278
|
options: castContract.getCastOptions,
|
|
25095
25279
|
library: castContract.searchCastLibrary,
|
|
25096
25280
|
prepare: castContract.prepareCastVideo,
|
|
25281
|
+
preparedQuote: castContract.readCastPreparedVideoQuote,
|
|
25097
25282
|
run: castContract.runCastVideo,
|
|
25098
25283
|
get: castContract.getCastVideo,
|
|
25099
25284
|
download: castContract.downloadCastVideo,
|
|
@@ -26153,7 +26338,7 @@ function isMajorUpgrade(current, latest) {
|
|
|
26153
26338
|
return l[0] > c20[0];
|
|
26154
26339
|
}
|
|
26155
26340
|
function shouldShowUpgradeNotice(ctx = {}) {
|
|
26156
|
-
const current = ctx.current ?? "0.
|
|
26341
|
+
const current = ctx.current ?? "0.49.0";
|
|
26157
26342
|
const latest = ctx.latest ?? serverLatestVersion;
|
|
26158
26343
|
const env = ctx.env ?? process.env;
|
|
26159
26344
|
const isTty = ctx.isTty ?? Boolean(process.stderr.isTTY);
|
|
@@ -26174,7 +26359,7 @@ Upgrade: npm install -g @melius-ai/cli@latest (or: brew update && brew upgrade
|
|
|
26174
26359
|
function printUpgradeNoticeIfNeeded(ctx = {}) {
|
|
26175
26360
|
try {
|
|
26176
26361
|
if (!shouldShowUpgradeNotice(ctx)) return;
|
|
26177
|
-
const current = ctx.current ?? "0.
|
|
26362
|
+
const current = ctx.current ?? "0.49.0";
|
|
26178
26363
|
const latest = ctx.latest ?? serverLatestVersion;
|
|
26179
26364
|
process.stderr.write(formatUpgradeNotice(current, latest));
|
|
26180
26365
|
} catch {
|
|
@@ -26281,7 +26466,7 @@ function createClient(config) {
|
|
|
26281
26466
|
"Bypass-Tunnel-Reminder": "true",
|
|
26282
26467
|
[CUSTOM_REQUEST_HEADERS.meliusClient]: buildMeliusClientHeader({
|
|
26283
26468
|
surface: "cli",
|
|
26284
|
-
version: "0.
|
|
26469
|
+
version: "0.49.0"
|
|
26285
26470
|
})
|
|
26286
26471
|
};
|
|
26287
26472
|
if (config.teamId) {
|
|
@@ -26597,7 +26782,9 @@ function readCastRequest(path5) {
|
|
|
26597
26782
|
}
|
|
26598
26783
|
function readCastSubmission(path5) {
|
|
26599
26784
|
const prepared = parseCastValue(
|
|
26600
|
-
PrepareCastVideoResponseSchema
|
|
26785
|
+
PrepareCastVideoResponseSchema.and(
|
|
26786
|
+
CastVideoRequestSchema.pick({ useFreeGeneration: true }).strip()
|
|
26787
|
+
),
|
|
26601
26788
|
readCastJson(path5),
|
|
26602
26789
|
"Use the complete response from mel cast prepare. Run: mel cast run --help"
|
|
26603
26790
|
);
|
|
@@ -26613,7 +26800,16 @@ function readCastSubmission(path5) {
|
|
|
26613
26800
|
EXIT_USAGE_ERROR
|
|
26614
26801
|
);
|
|
26615
26802
|
}
|
|
26616
|
-
return {
|
|
26803
|
+
return {
|
|
26804
|
+
attemptId: prepared.attemptId,
|
|
26805
|
+
input: prepared.input,
|
|
26806
|
+
...prepared.preparationToken && {
|
|
26807
|
+
preparationToken: prepared.preparationToken
|
|
26808
|
+
},
|
|
26809
|
+
...prepared.useFreeGeneration !== void 0 && {
|
|
26810
|
+
useFreeGeneration: prepared.useFreeGeneration
|
|
26811
|
+
}
|
|
26812
|
+
};
|
|
26617
26813
|
}
|
|
26618
26814
|
var CAMERA_MOVE_OPTION_DESCRIPTION = `Camera move for a variant with supportsCameraMove: true in mel model list (requires --model and --variant): a preset (${CAMERA_PRESETS.join(", ")}) or a keyframed path as JSON {"type":"path","keyframes":[{"time":0-1,"azimuth":degrees,"elevation":-90-90,"distance":>0}, ...2-12]}. Omit to let the prompt direct the camera`;
|
|
26619
26815
|
function parseCameraMove(value, source) {
|
|
@@ -26773,6 +26969,7 @@ function output(result, getOutputOpts) {
|
|
|
26773
26969
|
}
|
|
26774
26970
|
var angleHelp = `
|
|
26775
26971
|
Rotation: integer -180..180; tilt: integer -30..90 (positive is above).
|
|
26972
|
+
Optional zoom: wide (camera farther away), medium (default) or close (closer).
|
|
26776
26973
|
Requires the angles-node feature and editor access. Source must be a completed image.
|
|
26777
26974
|
Returns: creditCost for quotes; nodeId, nodeRunId, creditCost and optional batch results for generation; approvalId when member approval is required.
|
|
26778
26975
|
Use mel run wait <nodeRunId> to await completion, and mel canvas content <canvasId> --include-all-versions to inspect saved versions.
|
|
@@ -26796,7 +26993,7 @@ function registerAngleCommands(program2, getOutputOpts) {
|
|
|
26796
26993
|
"Completed image node ID from mel canvas content"
|
|
26797
26994
|
).requiredOption(
|
|
26798
26995
|
"--angles <json>",
|
|
26799
|
-
"Array of one to five distinct {rotationDeg, tiltDeg}
|
|
26996
|
+
"Array of one to five distinct {rotationDeg, tiltDeg, zoom?} views"
|
|
26800
26997
|
);
|
|
26801
26998
|
if (action === "create")
|
|
26802
26999
|
command.requiredOption(
|
|
@@ -26808,6 +27005,7 @@ function registerAngleCommands(program2, getOutputOpts) {
|
|
|
26808
27005
|
angleHelp + `Examples:
|
|
26809
27006
|
mel ${parent.name()} ${name} <canvasId> <sourceNodeId> --angles '[{"rotationDeg":37,"tiltDeg":12}]'${action === "create" ? " --request-key <key>" : ""}
|
|
26810
27007
|
mel ${parent.name()} ${name} <canvasId> <sourceNodeId> --angles '[{"rotationDeg":-45,"tiltDeg":0},{"rotationDeg":45,"tiltDeg":0}]'${action === "create" ? " --request-key <key>" : ""}
|
|
27008
|
+
mel ${parent.name()} ${name} <canvasId> <sourceNodeId> --angles '[{"rotationDeg":45,"tiltDeg":0,"zoom":"close"}]'${action === "create" ? " --request-key <key>" : ""}
|
|
26811
27009
|
`
|
|
26812
27010
|
).action(
|
|
26813
27011
|
async (canvasId, sourceNodeId, options) => {
|
|
@@ -26854,7 +27052,10 @@ function registerAngleCommands(program2, getOutputOpts) {
|
|
|
26854
27052
|
}
|
|
26855
27053
|
angle.command("regenerate").description(
|
|
26856
27054
|
"Generate a new version of an existing Angle and return run IDs"
|
|
26857
|
-
).argument("<canvasId>", "Canvas ID from mel canvas list").argument("<nodeId>", "Angle node ID from mel canvas content").requiredOption(
|
|
27055
|
+
).argument("<canvasId>", "Canvas ID from mel canvas list").argument("<nodeId>", "Angle node ID from mel canvas content").requiredOption(
|
|
27056
|
+
"--angle <json>",
|
|
27057
|
+
"One {rotationDeg, tiltDeg, zoom?} view"
|
|
27058
|
+
).requiredOption(
|
|
26858
27059
|
"--request-key <key>",
|
|
26859
27060
|
"Stable idempotency key for this submission"
|
|
26860
27061
|
).addHelpText(
|
|
@@ -28480,15 +28681,23 @@ Examples:
|
|
|
28480
28681
|
$ mel cast prepare --input-file <template-request.json>`
|
|
28481
28682
|
).action(async (options) => {
|
|
28482
28683
|
const body = readCastRequest(options.inputFile);
|
|
28684
|
+
const useFreeGeneration = body.useFreeGeneration ?? false;
|
|
28483
28685
|
const client = getClient();
|
|
28686
|
+
const prepared = await castRequest(
|
|
28687
|
+
(signal) => client.cast.prepare({
|
|
28688
|
+
body: { ...body, useFreeGeneration },
|
|
28689
|
+
fetchOptions: { signal }
|
|
28690
|
+
}),
|
|
28691
|
+
{
|
|
28692
|
+
label: "Cast preparation",
|
|
28693
|
+
suggestion: "Run: mel cast prepare --help"
|
|
28694
|
+
}
|
|
28695
|
+
);
|
|
28484
28696
|
writeJson(
|
|
28485
|
-
|
|
28486
|
-
|
|
28487
|
-
|
|
28488
|
-
|
|
28489
|
-
suggestion: "Run: mel cast prepare --help"
|
|
28490
|
-
}
|
|
28491
|
-
),
|
|
28697
|
+
{
|
|
28698
|
+
...prepared,
|
|
28699
|
+
useFreeGeneration
|
|
28700
|
+
},
|
|
28492
28701
|
getOutputOpts()
|
|
28493
28702
|
);
|
|
28494
28703
|
});
|
|
@@ -33486,7 +33695,7 @@ function withDefaultHelp(args) {
|
|
|
33486
33695
|
}
|
|
33487
33696
|
function createProgram() {
|
|
33488
33697
|
const program2 = new Command();
|
|
33489
|
-
program2.name("mel").description("Mel \u2014 Melius agent CLI").version("0.
|
|
33698
|
+
program2.name("mel").description("Mel \u2014 Melius agent CLI").version("0.49.0").showSuggestionAfterError(true).option("--json", "Force JSON output (default)").option("--text", "Human-readable output").option(
|
|
33490
33699
|
"--fields <fields>",
|
|
33491
33700
|
"Select specific output fields (comma-separated)"
|
|
33492
33701
|
).option("--quiet", "Suppress output, exit code only").option("--verbose", "Log request/response metadata to stderr").addHelpText(
|
package/dist/src/index.js
CHANGED