storyforge 0.4.11 → 0.4.12

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.
@@ -134,7 +134,14 @@ var BridgePoller = class {
134
134
  let lastErr = "";
135
135
  for (const m of candidates) {
136
136
  try {
137
- const args = cli === "codex" ? ["exec", "-", "--model", m] : ["-p", "--model", m, "--no-session-persistence"];
137
+ const args = cli === "codex" ? ["exec", "-", "--model", m, "--search"] : [
138
+ "-p",
139
+ "--model",
140
+ m,
141
+ "--no-session-persistence",
142
+ "--allowedTools",
143
+ "WebSearch,WebFetch"
144
+ ];
138
145
  const text = await runSpawn(cli, args, prompt, CLI_TIMEOUT_MS);
139
146
  if (text.trim()) return { text, modelUsed: `${cli}:${m}` };
140
147
  lastErr = `${cli}/${m} returned empty stdout`;
package/dist/index.js CHANGED
@@ -1065,7 +1065,14 @@ async function devCommand(options) {
1065
1065
  }
1066
1066
  try {
1067
1067
  log.info(`[script-gen] Generating via ${cli} CLI \xB7 model=${model}`);
1068
- const args = cli === "codex" ? ["exec", "-", "--model", model] : ["-p", "--model", model, "--no-session-persistence"];
1068
+ const args = cli === "codex" ? ["exec", "-", "--model", model, "--search"] : [
1069
+ "-p",
1070
+ "--model",
1071
+ model,
1072
+ "--no-session-persistence",
1073
+ "--allowedTools",
1074
+ "WebSearch,WebFetch"
1075
+ ];
1069
1076
  const timeoutMs = Number(process.env.SCRIPT_GEN_TIMEOUT_MS) || 12e5;
1070
1077
  const { stdout, code, stderr } = await runCliPipingStdin(cli, args, prompt2, {
1071
1078
  timeoutMs,
@@ -1577,7 +1584,7 @@ Return ONLY the complete updated TSX. No markdown fences, no explanation.`;
1577
1584
  return "0.0.0";
1578
1585
  })();
1579
1586
  void (async () => {
1580
- const { BridgePoller } = await import("./bridge-poller-IRROEZID.js");
1587
+ const { BridgePoller } = await import("./bridge-poller-YWYLEYOD.js");
1581
1588
  const poller = new BridgePoller({ baseUrl: bridgeUrl, token: bridgeToken, clientVersion: `storyforge ${pkgVersion}` });
1582
1589
  poller.start();
1583
1590
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storyforge",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "description": "StoryForge — local bridge for the Forge video production web app. Zero runtime dependencies.",
5
5
  "type": "module",
6
6
  "bin": {