baro-ai 0.47.4 → 0.47.5
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 +14 -4
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -44324,8 +44324,17 @@ var SurgeonOpenAI = class extends BaseObserver {
|
|
|
44324
44324
|
|
|
44325
44325
|
// ../baro-orchestrator/src/orchestrate.ts
|
|
44326
44326
|
function storyTimeoutSecs(configured, effort) {
|
|
44327
|
-
|
|
44328
|
-
|
|
44327
|
+
if (typeof configured === "number" && configured > 0) return configured;
|
|
44328
|
+
switch (effort) {
|
|
44329
|
+
case "max":
|
|
44330
|
+
return 1500;
|
|
44331
|
+
case "xhigh":
|
|
44332
|
+
return 1200;
|
|
44333
|
+
case "high":
|
|
44334
|
+
return 900;
|
|
44335
|
+
default:
|
|
44336
|
+
return 600;
|
|
44337
|
+
}
|
|
44329
44338
|
}
|
|
44330
44339
|
async function orchestrate(config) {
|
|
44331
44340
|
const env = new AgenticEnvironment();
|
|
@@ -44581,7 +44590,8 @@ function parseArgs(argv) {
|
|
|
44581
44590
|
prd: "prd.json",
|
|
44582
44591
|
cwd: ".",
|
|
44583
44592
|
parallel: 0,
|
|
44584
|
-
timeout:
|
|
44593
|
+
timeout: 0,
|
|
44594
|
+
// 0 = auto (effort-scaled in storyTimeoutSecs); --timeout N overrides absolutely
|
|
44585
44595
|
noGit: false,
|
|
44586
44596
|
noTuiEvents: false,
|
|
44587
44597
|
withCritic: false,
|
|
@@ -44713,7 +44723,7 @@ function printHelp() {
|
|
|
44713
44723
|
" --prd <path> Path to prd.json (default: ./prd.json)",
|
|
44714
44724
|
" --cwd <path> Working directory (default: .)",
|
|
44715
44725
|
" --parallel <N> Max parallel stories per level (0 = unlimited)",
|
|
44716
|
-
" --timeout <secs> Per-story timeout (default:
|
|
44726
|
+
" --timeout <secs> Per-story timeout (default: auto \u2014 effort-scaled; any value overrides)",
|
|
44717
44727
|
" --model <name> Override model (opus, sonnet, haiku)",
|
|
44718
44728
|
" --no-git Skip git lifecycle (branch / push)",
|
|
44719
44729
|
" --no-tui-events Skip BaroEvent JSON emission",
|