@clipwright/core 0.88.0 → 0.88.1
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.
|
@@ -1625,7 +1625,8 @@ export function compileReferenceRemake(input, capabilities, planSpans = proporti
|
|
|
1625
1625
|
note(0, `your cast (${request.cast.map(person => person.role).join(', ')})`, 'not drawn: the plan has no acting live shot, where the reference presenter gestures or reacts');
|
|
1626
1626
|
}
|
|
1627
1627
|
const sounded = [...new Set(motion.sounded)].map(beat => beat + 1).join(', ');
|
|
1628
|
-
|
|
1628
|
+
const styled = style?.(native), styleSounds = soundsOn && cutToSound() && styled?.input.edit_sounds === true;
|
|
1629
|
+
if ((motion.sounded.length || request.edit_sounds === true) && !native.edit_sounds && !styleSounds) {
|
|
1629
1630
|
note(motion.sounded[0] ?? 0, motion.sounded.length ? `the whoosh and click sounds on beats ${sounded}` : 'edit_sounds, a sound on every cut', !soundsOn ? (request.edit_sounds !== true ? 'none' : longForm ? 'none: edit_sounds is not available on this server' : 'none: edit_sounds needs a long-form run')
|
|
1630
1631
|
: !cutToSound() ? 'none: the plan has no insert, window or framing cut to sound them on'
|
|
1631
1632
|
: 'none unless you ask: compile again with edit_sounds: true for a sound on every cut');
|
|
@@ -1708,7 +1709,6 @@ export function compileReferenceRemake(input, capabilities, planSpans = proporti
|
|
|
1708
1709
|
if (!unmapped)
|
|
1709
1710
|
return { kind: 'invalid', issues: [TOO_MANY_GAPS] };
|
|
1710
1711
|
const firstSentence = parts({ start: 0, end: words.length })[0];
|
|
1711
|
-
const styled = style?.(native);
|
|
1712
1712
|
const document = workflowPlanDocument.safeParse({ v: 1,
|
|
1713
1713
|
method: { method_id: method.id, version: method.version, content_digest: method.content_digest, capability_digest: capabilities.content_digest },
|
|
1714
1714
|
brief: { audience: request.audience ?? 'Viewers of short ads in the style of the reference',
|