baro-ai 0.45.3 → 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.
package/dist/cli.mjs CHANGED
@@ -13840,6 +13840,9 @@ var ClaudeCliParticipant = class _ClaudeCliParticipant extends BaseObserver {
13840
13840
  if (this.options.model) {
13841
13841
  args.push("--model", this.options.model);
13842
13842
  }
13843
+ if (this.options.effort) {
13844
+ args.push("--effort", this.options.effort);
13845
+ }
13843
13846
  if (this.options.resumeSessionId) {
13844
13847
  args.push("--resume", this.options.resumeSessionId);
13845
13848
  }
@@ -14089,7 +14092,8 @@ var StoryAgent = class extends BaseObserver {
14089
14092
  this.transition("running", `attempt ${attempt}`);
14090
14093
  const claude = new ClaudeCliParticipant(this.spec.id, {
14091
14094
  cwd: this.spec.cwd,
14092
- model: this.spec.model
14095
+ model: this.spec.model,
14096
+ effort: this.spec.effort
14093
14097
  });
14094
14098
  this.currentClaude = claude;
14095
14099
  claude.join(this.envRef);
@@ -14270,6 +14274,7 @@ var StoryFactory = class extends BaseObserver {
14270
14274
  prompt: req.prompt,
14271
14275
  cwd: this.opts.cwd,
14272
14276
  model: claudeModel,
14277
+ effort: this.opts.effort,
14273
14278
  retries: req.retries,
14274
14279
  timeoutSecs: req.timeoutSecs
14275
14280
  });
@@ -14856,7 +14861,8 @@ async function orchestrate(config) {
14856
14861
  cwd: config.cwd,
14857
14862
  llm: storyLlm,
14858
14863
  openaiModel: config.storyModel ?? "gpt-5.5",
14859
- storyModelOverride: config.storyModel
14864
+ storyModelOverride: config.storyModel,
14865
+ effort: config.effort
14860
14866
  });
14861
14867
  storyFactory.setEnvironment(env);
14862
14868
  storyFactory.join(env);
@@ -15002,6 +15008,9 @@ function parseArgs(argv) {
15002
15008
  case "--story-model":
15003
15009
  args.storyModel = required(argv, ++i, "--story-model");
15004
15010
  break;
15011
+ case "--effort":
15012
+ args.effort = required(argv, ++i, "--effort");
15013
+ break;
15005
15014
  case "--llm": {
15006
15015
  const v = required(argv, ++i, "--llm");
15007
15016
  if (v !== "claude" && v !== "openai" && v !== "codex") {
@@ -15112,7 +15121,8 @@ async function main() {
15112
15121
  storyLlm: args.storyLlm,
15113
15122
  criticLlm: args.criticLlm,
15114
15123
  surgeonLlm: args.surgeonLlm,
15115
- storyModel: args.storyModel
15124
+ storyModel: args.storyModel,
15125
+ effort: args.effort
15116
15126
  };
15117
15127
  if (args.llm === "openai" && !process.env.OPENAI_API_KEY) {
15118
15128
  process.stderr.write(