storyforge 0.13.1 → 0.14.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.
@@ -5511,10 +5511,22 @@ var renderGeminiManimRemotion = async (shot, ctx) => {
5511
5511
  if (ctx.signal?.aborted) throw new Error("aborted");
5512
5512
  ctx.progress.emit({ phase: "compositing", shotId: shot.id });
5513
5513
  const remotion = requireRemotionRoot();
5514
- const publicRel = path3.posix.join("clip-render-cache", ctx.chunkId, `${shot.id}-manim.mp4`);
5515
- const publicAbs = path3.join(remotion.cwd, "public", publicRel);
5516
- fs3.mkdirSync(path3.dirname(publicAbs), { recursive: true });
5517
- fs3.copyFileSync(manimSceneOut, publicAbs);
5514
+ const imagePublicRel = path3.posix.join(
5515
+ "clip-render-cache",
5516
+ ctx.chunkId,
5517
+ `${shot.id}${path3.extname(localImage) || ".png"}`
5518
+ );
5519
+ const imagePublicAbs = path3.join(remotion.cwd, "public", imagePublicRel);
5520
+ fs3.mkdirSync(path3.dirname(imagePublicAbs), { recursive: true });
5521
+ fs3.copyFileSync(localImage, imagePublicAbs);
5522
+ const manimPublicRel = path3.posix.join(
5523
+ "clip-render-cache",
5524
+ ctx.chunkId,
5525
+ `${shot.id}-manim.mp4`
5526
+ );
5527
+ const manimPublicAbs = path3.join(remotion.cwd, "public", manimPublicRel);
5528
+ fs3.mkdirSync(path3.dirname(manimPublicAbs), { recursive: true });
5529
+ fs3.copyFileSync(manimSceneOut, manimPublicAbs);
5518
5530
  const overlayText = (shot.overlayText ?? "").trim();
5519
5531
  const dims = ctx.aspect === "9:16" ? { width: 1080, height: 1920 } : { width: 1920, height: 1080 };
5520
5532
  const overlays = overlayText ? [
@@ -5536,14 +5548,16 @@ var renderGeminiManimRemotion = async (shot, ctx) => {
5536
5548
  propsPath,
5537
5549
  JSON.stringify(
5538
5550
  {
5539
- videoSrc: publicRel,
5540
- overlays
5551
+ imagePath: imagePublicRel,
5552
+ manimSrc: manimPublicRel,
5553
+ overlayText: shot.overlayText ?? "",
5554
+ intent: shot.intent ?? ""
5541
5555
  },
5542
5556
  null,
5543
5557
  2
5544
5558
  )
5545
5559
  );
5546
- const compId = ctx.aspect === "9:16" ? "ManimOverlayVertical" : "ManimOverlay";
5560
+ const compId = ctx.aspect === "9:16" ? "GeminiManimOverlayVertical" : "GeminiManimOverlay";
5547
5561
  const r = await runCmd(
5548
5562
  "npx",
5549
5563
  [
@@ -5631,7 +5645,9 @@ var renderGeminiRemotion = async (shot, ctx) => {
5631
5645
  width: dims.width,
5632
5646
  height: dims.height,
5633
5647
  fps: ctx.fps,
5634
- intent: shot.intent ?? ""
5648
+ intent: shot.intent ?? "",
5649
+ ...shot.citationUrl ? { citationUrl: shot.citationUrl } : {},
5650
+ ...shot.quotedPhrase ? { quotedPhrase: shot.quotedPhrase } : {}
5635
5651
  },
5636
5652
  null,
5637
5653
  2
package/dist/index.js CHANGED
@@ -1689,7 +1689,7 @@ Return ONLY the complete updated TSX. No markdown fences, no explanation.`;
1689
1689
  return "0.0.0";
1690
1690
  })();
1691
1691
  void (async () => {
1692
- const { BridgePoller } = await import("./bridge-poller-PLJGEDFJ.js");
1692
+ const { BridgePoller } = await import("./bridge-poller-C43Z6K7U.js");
1693
1693
  const poller = new BridgePoller({ baseUrl: bridgeUrl, token: bridgeToken2, clientVersion: `storyforge ${pkgVersion}` });
1694
1694
  poller.start();
1695
1695
  })();
@@ -2512,7 +2512,7 @@ function resolveBridgeToken2(explicit) {
2512
2512
  // package.json
2513
2513
  var package_default = {
2514
2514
  name: "storyforge",
2515
- version: "0.13.1",
2515
+ version: "0.14.1",
2516
2516
  description: "StoryForge \u2014 local bridge for the Forge video production web app. Parallel clip-render orchestrator (Remotion 4 + Manim + HyperFrames + ffmpeg) + final video stitcher + dependency doctor.",
2517
2517
  type: "module",
2518
2518
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storyforge",
3
- "version": "0.13.1",
3
+ "version": "0.14.1",
4
4
  "description": "StoryForge — local bridge for the Forge video production web app. Parallel clip-render orchestrator (Remotion 4 + Manim + HyperFrames + ffmpeg) + final video stitcher + dependency doctor.",
5
5
  "type": "module",
6
6
  "bin": {