@tarcisiopgs/lisa 1.40.0 → 1.40.1

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.
@@ -212,10 +212,12 @@ function parsePrConfig(raw) {
212
212
  if (!raw) return void 0;
213
213
  const reviewers = isStringArray(raw.reviewers) ? raw.reviewers.filter(isValidPrUsername) : void 0;
214
214
  const assignees = isStringArray(raw.assignees) ? raw.assignees.filter(isValidPrUsername) : void 0;
215
- if (!reviewers?.length && !assignees?.length) return void 0;
215
+ const autoMerge = raw.auto_merge === true;
216
+ if (!reviewers?.length && !assignees?.length && !autoMerge) return void 0;
216
217
  return {
217
218
  reviewers: reviewers?.length ? reviewers : void 0,
218
- assignees: assignees?.length ? assignees : void 0
219
+ assignees: assignees?.length ? assignees : void 0,
220
+ auto_merge: autoMerge || void 0
219
221
  };
220
222
  }
221
223
  function loadConfig(cwd = process.cwd()) {
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  runLoop,
15
15
  saveConfig,
16
16
  validateConfig
17
- } from "./chunk-C2Y2NO6I.js";
17
+ } from "./chunk-V65N7YWX.js";
18
18
  import {
19
19
  CliError,
20
20
  buildExecutionWaves,
@@ -1861,7 +1861,7 @@ async function reviewAndCreate(plan2, planPath, opts) {
1861
1861
  log("Run `lisa run` when ready.");
1862
1862
  return;
1863
1863
  }
1864
- const { runLoop: runLoop2 } = await import("./loop-Y6YS76TH.js");
1864
+ const { runLoop: runLoop2 } = await import("./loop-CSJRDKQU.js");
1865
1865
  const waves = buildExecutionWaves(plan2.issues);
1866
1866
  const maxWaveSize = Math.max(...waves.map((w) => w.length));
1867
1867
  await runLoop2(config2, {
@@ -4,7 +4,7 @@ import {
4
4
  cleanupEventListeners,
5
5
  runDemoLoop,
6
6
  runLoop
7
- } from "./chunk-C2Y2NO6I.js";
7
+ } from "./chunk-V65N7YWX.js";
8
8
  import {
9
9
  WATCH_POLL_INTERVAL_MS
10
10
  } from "./chunk-YTUZFCU2.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarcisiopgs/lisa",
3
- "version": "1.40.0",
3
+ "version": "1.40.1",
4
4
  "description": "Autonomous issue resolver",
5
5
  "keywords": [
6
6
  "loop",