@vosjs/cli 0.25.0 → 0.25.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.
@@ -3498,6 +3498,7 @@ import {
3498
3498
  endCardClips,
3499
3499
  migrateMotion,
3500
3500
  ratedSegments as ratedSegments4,
3501
+ sameMedia,
3501
3502
  spanOutputExtent as spanOutputExtent4
3502
3503
  } from "@vosjs/studio-core";
3503
3504
  var SOUND_DESTINATIONS = /* @__PURE__ */ new Set([
@@ -3625,7 +3626,7 @@ function proposeMotion(input, opts) {
3625
3626
  const lastSeg = doc.segments.at(-1);
3626
3627
  if (lastSeg) {
3627
3628
  const own = (doc.freeze ?? []).filter(
3628
- (f) => Math.abs(f.at - lastSeg.out) > 1e-9
3629
+ (f) => Math.abs(f.at - lastSeg.out) > 1e-9 || !sameMedia(f.media, lastSeg.media)
3629
3630
  );
3630
3631
  const taken = new Set(own.map((f) => f.id));
3631
3632
  let n = 0;
@@ -3636,7 +3637,8 @@ function proposeMotion(input, opts) {
3636
3637
  id: `f${n}`,
3637
3638
  at: lastSeg.out,
3638
3639
  seconds: END_CARD_SECONDS,
3639
- from: END_CARD_FROM
3640
+ from: END_CARD_FROM,
3641
+ ...lastSeg.media ? { media: lastSeg.media } : {}
3640
3642
  }
3641
3643
  ].sort((a, b) => a.at - b.at);
3642
3644
  }
@@ -10359,4 +10361,4 @@ export {
10359
10361
  convertAgentBrowser,
10360
10362
  run
10361
10363
  };
10362
- //# sourceMappingURL=chunk-TYTUA5L5.js.map
10364
+ //# sourceMappingURL=chunk-GHJ2BFQG.js.map