@tarcisiopgs/lisa 1.38.2 → 1.38.4
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.
|
@@ -157,7 +157,7 @@ ${issues.join("\n")}`);
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
var DEFAULT_OVERSEER_CONFIG = {
|
|
160
|
-
enabled:
|
|
160
|
+
enabled: false,
|
|
161
161
|
check_interval: 30,
|
|
162
162
|
stuck_threshold: 300
|
|
163
163
|
};
|
|
@@ -3890,10 +3890,25 @@ async function runBranchSession(config, issue, logFile, session, models, source,
|
|
|
3890
3890
|
await reporter.fail("Implementation failed");
|
|
3891
3891
|
return failureResult(result.providerUsed, result);
|
|
3892
3892
|
}
|
|
3893
|
-
const
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3893
|
+
const manifest = readManifestFile(manifestPath);
|
|
3894
|
+
try {
|
|
3895
|
+
unlinkSync4(manifestPath);
|
|
3896
|
+
} catch {
|
|
3897
|
+
}
|
|
3898
|
+
let prUrl = manifest?.prUrl;
|
|
3899
|
+
if (!prUrl) {
|
|
3900
|
+
const extractedUrl = extractPrUrlFromOutput(result.output);
|
|
3901
|
+
if (extractedUrl) {
|
|
3902
|
+
warn(`Manifest missing prUrl for ${issue.id}, extracted from output: ${extractedUrl}`);
|
|
3903
|
+
prUrl = extractedUrl;
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
if (!prUrl) {
|
|
3907
|
+
const hasChanges = await hasCodeChanges(workspace, config.base_branch);
|
|
3908
|
+
if (!hasChanges) {
|
|
3909
|
+
await reporter.fail("No code changes produced");
|
|
3910
|
+
return emptyCommitFailure(result);
|
|
3911
|
+
}
|
|
3897
3912
|
}
|
|
3898
3913
|
const pow = await runProofOfWork(
|
|
3899
3914
|
config,
|
|
@@ -3937,22 +3952,10 @@ async function runBranchSession(config, issue, logFile, session, models, source,
|
|
|
3937
3952
|
await reporter.fail("Spec compliance failed");
|
|
3938
3953
|
return failureResult(result.providerUsed, result);
|
|
3939
3954
|
}
|
|
3940
|
-
const manifest = readManifestFile(manifestPath);
|
|
3941
|
-
try {
|
|
3942
|
-
unlinkSync4(manifestPath);
|
|
3943
|
-
} catch {
|
|
3944
|
-
}
|
|
3945
|
-
let prUrl = manifest?.prUrl;
|
|
3946
3955
|
if (!prUrl) {
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
prUrl = extractedUrl;
|
|
3951
|
-
} else {
|
|
3952
|
-
error(`Agent did not produce a manifest with prUrl for ${issue.id}.`);
|
|
3953
|
-
await reporter.fail("No PR URL produced");
|
|
3954
|
-
return failureResult(result.providerUsed, result);
|
|
3955
|
-
}
|
|
3956
|
+
error(`Agent did not produce a manifest with prUrl for ${issue.id}.`);
|
|
3957
|
+
await reporter.fail("No PR URL produced");
|
|
3958
|
+
return failureResult(result.providerUsed, result);
|
|
3956
3959
|
}
|
|
3957
3960
|
ok(`PR created by provider: ${prUrl}`);
|
|
3958
3961
|
await appendPlatformAttribution(prUrl, result.providerUsed, config.platform);
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
runLoop,
|
|
15
15
|
saveConfig,
|
|
16
16
|
validateConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UA22HIYE.js";
|
|
18
18
|
import {
|
|
19
19
|
CliError,
|
|
20
20
|
buildExecutionWaves,
|
|
@@ -1850,7 +1850,7 @@ async function reviewAndCreate(plan2, planPath, opts) {
|
|
|
1850
1850
|
log("Run `lisa run` when ready.");
|
|
1851
1851
|
return;
|
|
1852
1852
|
}
|
|
1853
|
-
const { runLoop: runLoop2 } = await import("./loop-
|
|
1853
|
+
const { runLoop: runLoop2 } = await import("./loop-CHG2SZUB.js");
|
|
1854
1854
|
const waves = buildExecutionWaves(plan2.issues);
|
|
1855
1855
|
const maxWaveSize = Math.max(...waves.map((w) => w.length));
|
|
1856
1856
|
await runLoop2(config2, {
|