baro-ai 0.22.5 → 0.23.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
@@ -7391,6 +7391,9 @@ async function getHeadSha(cwd) {
7391
7391
  }
7392
7392
  }
7393
7393
  async function createOrCheckoutBranch(cwd, branchName, onLog) {
7394
+ while (branchName.startsWith("baro/baro/")) {
7395
+ branchName = branchName.slice("baro/".length);
7396
+ }
7394
7397
  try {
7395
7398
  await exec("git", ["checkout", "-b", branchName], { cwd });
7396
7399
  } catch {
@@ -9861,7 +9864,7 @@ async function orchestrate(config) {
9861
9864
  parallel: config.parallel ?? 0,
9862
9865
  timeoutSecs: config.timeoutSecs ?? 600,
9863
9866
  overrideModel: config.overrideModel ?? void 0,
9864
- defaultModel: config.defaultModel ?? "sonnet",
9867
+ defaultModel: config.defaultModel ?? "opus",
9865
9868
  onRunStart: useGit ? async (prd) => {
9866
9869
  baseSha = await getHeadSha(config.cwd);
9867
9870
  if (prd.branchName) {