@rely-ai/caliber 1.10.0 → 1.10.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.
- package/dist/bin.js +2 -2
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -2046,7 +2046,7 @@ function isTransientError2(error) {
|
|
|
2046
2046
|
return TRANSIENT_ERRORS.some((e) => msg.includes(e.toLowerCase()));
|
|
2047
2047
|
}
|
|
2048
2048
|
async function generateSetup(fingerprint, targetAgent, prompt, callbacks, failingChecks, currentScore, passingChecks, options) {
|
|
2049
|
-
const isTargetedFix = failingChecks && failingChecks.length > 0 && currentScore !== void 0 && currentScore >= 95;
|
|
2049
|
+
const isTargetedFix = failingChecks && failingChecks.length > 0 && currentScore !== void 0 && currentScore >= 95 || options?.forceTargetedFix;
|
|
2050
2050
|
if (isTargetedFix) {
|
|
2051
2051
|
return generateMonolithic(fingerprint, targetAgent, prompt, callbacks, failingChecks, currentScore, passingChecks);
|
|
2052
2052
|
}
|
|
@@ -6203,7 +6203,7 @@ async function initCommand(options) {
|
|
|
6203
6203
|
polishFailing,
|
|
6204
6204
|
afterScore.score,
|
|
6205
6205
|
polishPassing,
|
|
6206
|
-
{ skipSkills: true }
|
|
6206
|
+
{ skipSkills: true, forceTargetedFix: true }
|
|
6207
6207
|
);
|
|
6208
6208
|
if (polishResult.setup) {
|
|
6209
6209
|
const polishWriteResult = writeSetup(polishResult.setup);
|
package/package.json
CHANGED