storyforge 0.7.2 → 0.7.4

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.
@@ -5587,13 +5587,22 @@ var renderGeminiRemotion = async (shot, ctx) => {
5587
5587
  );
5588
5588
  const durationFrames = Math.max(1, Math.round(shot.durationSec * ctx.fps));
5589
5589
  const dims = ASPECT_DIMS[ctx.aspect];
5590
+ const remotion = requireRemotionRoot();
5591
+ const publicRel = path4.posix.join(
5592
+ "clip-render-cache",
5593
+ ctx.chunkId,
5594
+ `${shot.id}${path4.extname(localImage) || ".png"}`
5595
+ );
5596
+ const publicAbs = path4.join(remotion.cwd, "public", publicRel);
5597
+ fs4.mkdirSync(path4.dirname(publicAbs), { recursive: true });
5598
+ fs4.copyFileSync(localImage, publicAbs);
5590
5599
  const propsPath = path4.join(ctx.tmpDir, "remotion", `${shot.id}_gr_props.json`);
5591
5600
  fs4.mkdirSync(path4.dirname(propsPath), { recursive: true });
5592
5601
  fs4.writeFileSync(
5593
5602
  propsPath,
5594
5603
  JSON.stringify(
5595
5604
  {
5596
- imagePath: localImage,
5605
+ imagePath: publicRel,
5597
5606
  overlayText: shot.overlayText ?? "",
5598
5607
  durationInFrames: durationFrames,
5599
5608
  width: dims.width,
@@ -5605,8 +5614,7 @@ var renderGeminiRemotion = async (shot, ctx) => {
5605
5614
  2
5606
5615
  )
5607
5616
  );
5608
- const remotion = requireRemotionRoot();
5609
- const compId = ctx.aspect === "9:16" ? "ForgeVideoVertical" : "ForgeVideo";
5617
+ const compId = ctx.aspect === "9:16" ? "ForgeShotVertical" : "ForgeShot";
5610
5618
  ctx.progress.emit({
5611
5619
  phase: "compositing",
5612
5620
  shotId: shot.id,
package/dist/index.js CHANGED
@@ -1615,7 +1615,7 @@ Return ONLY the complete updated TSX. No markdown fences, no explanation.`;
1615
1615
  return "0.0.0";
1616
1616
  })();
1617
1617
  void (async () => {
1618
- const { BridgePoller } = await import("./bridge-poller-Z74DF5GN.js");
1618
+ const { BridgePoller } = await import("./bridge-poller-AMTSJVFB.js");
1619
1619
  const poller = new BridgePoller({ baseUrl: bridgeUrl, token: bridgeToken, clientVersion: `storyforge ${pkgVersion}` });
1620
1620
  poller.start();
1621
1621
  })();
@@ -1992,7 +1992,7 @@ async function installRenderersCommand(opts = {}) {
1992
1992
  }
1993
1993
 
1994
1994
  // src/index.ts
1995
- var VERSION = "0.7.2";
1995
+ var VERSION = "0.7.4";
1996
1996
  var HELP = `
1997
1997
  storyforge \u2014 local bridge for the Forge video production web app
1998
1998
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storyforge",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
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": {