@rely-ai/caliber 1.11.0 → 1.11.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 +3 -3
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -3751,7 +3751,7 @@ var CONTRADICTION_PAIRS = [
|
|
|
3751
3751
|
{ a: /\buse\s+npm\b/i, b: /\buse\s+(?:pnpm|yarn|bun)\b/i },
|
|
3752
3752
|
{ a: /\buse\s+pnpm\b/i, b: /\buse\s+(?:npm|yarn|bun)\b/i },
|
|
3753
3753
|
{ a: /\buse\s+yarn\b/i, b: /\buse\s+(?:npm|pnpm|bun)\b/i },
|
|
3754
|
-
{ a: /\
|
|
3754
|
+
{ a: /\buse\s+tabs\b/i, b: /\buse\s+spaces\b/i },
|
|
3755
3755
|
{ a: /\bsemicolons?\b.*\balways\b/i, b: /\bno\s+semicolons?\b/i }
|
|
3756
3756
|
];
|
|
3757
3757
|
var CURSOR_ONLY_CHECKS = /* @__PURE__ */ new Set([
|
|
@@ -4141,7 +4141,7 @@ function checkQuality(dir) {
|
|
|
4141
4141
|
earnedPoints: bloatPoints,
|
|
4142
4142
|
passed: bloatPoints >= 6,
|
|
4143
4143
|
detail: primaryName ? `${primaryName}: ${lineCount} lines` : "No context files to measure",
|
|
4144
|
-
suggestion: bloatPoints <
|
|
4144
|
+
suggestion: bloatPoints < POINTS_NOT_BLOATED && primaryName ? `${primaryName} is ${lineCount} lines \u2014 must be \u2264120 lines for full points (currently losing ${POINTS_NOT_BLOATED - bloatPoints} pts)` : void 0
|
|
4145
4145
|
});
|
|
4146
4146
|
const vagueMatches = [];
|
|
4147
4147
|
if (combinedContent) {
|
|
@@ -4236,7 +4236,7 @@ function checkQuality(dir) {
|
|
|
4236
4236
|
earnedPoints: hasContradictions ? 0 : POINTS_NO_CONTRADICTIONS,
|
|
4237
4237
|
passed: !hasContradictions,
|
|
4238
4238
|
detail: hasContradictions ? `${contradictions.length} contradiction${contradictions.length === 1 ? "" : "s"} found` : "No conflicting instructions detected",
|
|
4239
|
-
suggestion: hasContradictions ? `Contradiction: ${contradictions[0]}
|
|
4239
|
+
suggestion: hasContradictions ? `Contradiction: ${contradictions[0]}. Remove or rephrase one of the conflicting statements.` : void 0
|
|
4240
4240
|
});
|
|
4241
4241
|
return checks;
|
|
4242
4242
|
}
|
package/package.json
CHANGED