baro-ai 0.96.0 → 0.98.0
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 +9 -2
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -88070,6 +88070,11 @@ function dispatchPlanningCommand(command, ctx) {
|
|
|
88070
88070
|
}
|
|
88071
88071
|
}
|
|
88072
88072
|
|
|
88073
|
+
// ../baro-orchestrator/src/runtime/resume-mode.ts
|
|
88074
|
+
function resumeRunRequested(argv, env) {
|
|
88075
|
+
return argv.includes("--resume") || env.BARO_RESUME === "1";
|
|
88076
|
+
}
|
|
88077
|
+
|
|
88073
88078
|
// ../baro-orchestrator/scripts/cli.ts
|
|
88074
88079
|
var ownershipManifestPath = process.env.BARO_INTERNAL_PROVIDER_OWNERSHIP_MANIFEST;
|
|
88075
88080
|
var ownershipManifestToken = process.env.BARO_INTERNAL_PROVIDER_OWNERSHIP_TOKEN;
|
|
@@ -88387,6 +88392,7 @@ function printHelp() {
|
|
|
88387
88392
|
" 'light=openai:MiniMax-M3,standard=openai:MiniMax-M3,heavy=claude:opus'",
|
|
88388
88393
|
" (also read from BARO_TIER_MAP). Lets one DAG mix claude/openai/codex.",
|
|
88389
88394
|
" Legacy tier spellings haiku/sonnet/opus are accepted as aliases.",
|
|
88395
|
+
" --resume Resume an in-progress run (also via BARO_RESUME=1)",
|
|
88390
88396
|
" --openai-endpoint <name=url> Register a named OpenAI-compatible endpoint (repeatable).",
|
|
88391
88397
|
" Reference it from a route as openai:<model>@<name>, e.g.",
|
|
88392
88398
|
" --openai-endpoint minimax=https://api.minimax.io/v1",
|
|
@@ -88405,7 +88411,8 @@ async function main() {
|
|
|
88405
88411
|
await runProgressivePlannerMcpServer(mcpInvocation);
|
|
88406
88412
|
return;
|
|
88407
88413
|
}
|
|
88408
|
-
const
|
|
88414
|
+
const cliArgv = process.argv.slice(2);
|
|
88415
|
+
const args = parseArgs2(cliArgv);
|
|
88409
88416
|
if (args.help) {
|
|
88410
88417
|
printHelp();
|
|
88411
88418
|
return;
|
|
@@ -88707,7 +88714,7 @@ async function main() {
|
|
|
88707
88714
|
emitTuiEvents: !args.noTuiEvents,
|
|
88708
88715
|
withGit: args.noGit ? false : void 0,
|
|
88709
88716
|
continueRun: args.continueRun || process.env.BARO_CONTINUE === "1",
|
|
88710
|
-
resumeRun:
|
|
88717
|
+
resumeRun: resumeRunRequested(cliArgv, process.env),
|
|
88711
88718
|
auditLogPath: args.auditLog,
|
|
88712
88719
|
withCritic: args.withCritic,
|
|
88713
88720
|
criticModel: args.criticModel,
|