baro-ai 0.47.3 → 0.47.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.
- package/dist/cli.mjs +5 -1
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -44323,6 +44323,10 @@ var SurgeonOpenAI = class extends BaseObserver {
|
|
|
44323
44323
|
};
|
|
44324
44324
|
|
|
44325
44325
|
// ../baro-orchestrator/src/orchestrate.ts
|
|
44326
|
+
function storyTimeoutSecs(configured, effort) {
|
|
44327
|
+
const floor = effort === "max" ? 1500 : effort === "xhigh" ? 1200 : effort === "high" ? 900 : 600;
|
|
44328
|
+
return Math.max(configured ?? 600, floor);
|
|
44329
|
+
}
|
|
44326
44330
|
async function orchestrate(config) {
|
|
44327
44331
|
const env = new AgenticEnvironment();
|
|
44328
44332
|
const emitTui = config.emitTuiEvents ?? true;
|
|
@@ -44444,7 +44448,7 @@ async function orchestrate(config) {
|
|
|
44444
44448
|
prdPath: config.prdPath,
|
|
44445
44449
|
cwd: config.cwd,
|
|
44446
44450
|
parallel: config.parallel ?? 0,
|
|
44447
|
-
timeoutSecs: config.timeoutSecs
|
|
44451
|
+
timeoutSecs: storyTimeoutSecs(config.timeoutSecs, config.effort),
|
|
44448
44452
|
overrideModel: config.overrideModel ?? void 0,
|
|
44449
44453
|
defaultModel: config.defaultModel ?? "opus",
|
|
44450
44454
|
intraLevelDelaySecs: config.intraLevelDelaySecs,
|