storyforge 0.4.9 → 0.4.10

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.
@@ -8,7 +8,7 @@ import { spawn, spawnSync } from "child_process";
8
8
  import * as crypto from "crypto";
9
9
  var HEARTBEAT_INTERVAL_MS = 3e4;
10
10
  var POLL_INTERVAL_MS = 3e3;
11
- var CLI_TIMEOUT_MS = 5 * 60 * 1e3;
11
+ var CLI_TIMEOUT_MS = Number(process.env.SCRIPT_GEN_TIMEOUT_MS) || 20 * 60 * 1e3;
12
12
  var BridgePoller = class {
13
13
  baseUrl;
14
14
  token;
package/dist/index.js CHANGED
@@ -1027,8 +1027,9 @@ async function devCommand(options) {
1027
1027
  try {
1028
1028
  log.info(`[script-gen] Generating via ${cli} CLI \xB7 model=${model}`);
1029
1029
  const args = cli === "codex" ? ["exec", "-", "--model", model] : ["-p", "--model", model, "--no-session-persistence"];
1030
+ const timeoutMs = Number(process.env.SCRIPT_GEN_TIMEOUT_MS) || 12e5;
1030
1031
  const { stdout, code, stderr } = await runCliPipingStdin(cli, args, prompt2, {
1031
- timeoutMs: 3e5,
1032
+ timeoutMs,
1032
1033
  maxBufferMB: 16
1033
1034
  });
1034
1035
  if (code !== 0) {
@@ -1537,7 +1538,7 @@ Return ONLY the complete updated TSX. No markdown fences, no explanation.`;
1537
1538
  return "0.0.0";
1538
1539
  })();
1539
1540
  void (async () => {
1540
- const { BridgePoller } = await import("./bridge-poller-5FFV2LML.js");
1541
+ const { BridgePoller } = await import("./bridge-poller-IRROEZID.js");
1541
1542
  const poller = new BridgePoller({ baseUrl: bridgeUrl, token: bridgeToken, clientVersion: `storyforge ${pkgVersion}` });
1542
1543
  poller.start();
1543
1544
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storyforge",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "StoryForge — local bridge for the Forge video production web app. Zero runtime dependencies.",
5
5
  "type": "module",
6
6
  "bin": {