baro-ai 0.45.2 → 0.46.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.
@@ -113,6 +113,7 @@ async function runArchitectClaude(opts) {
113
113
  "json",
114
114
  "--model",
115
115
  opts.model ?? "opus",
116
+ ...opts.effort ? ["--effort", opts.effort] : [],
116
117
  "--permission-mode",
117
118
  "bypassPermissions",
118
119
  "--system-prompt",
@@ -10161,6 +10162,7 @@ function parseArgs(argv) {
10161
10162
  let cwd;
10162
10163
  let llm;
10163
10164
  let model;
10165
+ let effort;
10164
10166
  let contextFile;
10165
10167
  for (let i = 0; i < argv.length; i++) {
10166
10168
  const a = argv[i];
@@ -10182,6 +10184,9 @@ function parseArgs(argv) {
10182
10184
  case "--model":
10183
10185
  model = required(argv, ++i, "--model");
10184
10186
  break;
10187
+ case "--effort":
10188
+ effort = required(argv, ++i, "--effort");
10189
+ break;
10185
10190
  case "--context-file":
10186
10191
  contextFile = required(argv, ++i, "--context-file");
10187
10192
  break;
@@ -10192,7 +10197,7 @@ function parseArgs(argv) {
10192
10197
  if (!goal) fatal("--goal is required");
10193
10198
  if (!cwd) fatal("--cwd is required");
10194
10199
  if (!llm) fatal("--llm is required");
10195
- return { goal, cwd, llm, model, contextFile };
10200
+ return { goal, cwd, llm, model, effort, contextFile };
10196
10201
  }
10197
10202
  function required(argv, i, flag) {
10198
10203
  const v = argv[i];
@@ -10246,6 +10251,7 @@ async function main() {
10246
10251
  goal: args.goal,
10247
10252
  cwd: args.cwd,
10248
10253
  model: args.model,
10254
+ effort: args.effort,
10249
10255
  projectContext
10250
10256
  });
10251
10257
  }