@rely-ai/caliber 0.4.3 → 0.4.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.
- package/dist/bin.js +16 -2
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -2744,9 +2744,22 @@ function extractNpmDeps(dir) {
|
|
|
2744
2744
|
"rimraf",
|
|
2745
2745
|
"cross-env",
|
|
2746
2746
|
"dotenv",
|
|
2747
|
-
"nodemon"
|
|
2747
|
+
"nodemon",
|
|
2748
|
+
"husky",
|
|
2749
|
+
"lint-staged",
|
|
2750
|
+
"commitlint",
|
|
2751
|
+
"@commitlint/cli",
|
|
2752
|
+
"@commitlint/config-conventional"
|
|
2748
2753
|
]);
|
|
2749
|
-
|
|
2754
|
+
const trivialPatterns = [
|
|
2755
|
+
/^@rely-ai\//,
|
|
2756
|
+
/^@caliber-ai\//,
|
|
2757
|
+
/^eslint-/,
|
|
2758
|
+
/^@eslint\//,
|
|
2759
|
+
/^prettier-/,
|
|
2760
|
+
/^@typescript-eslint\//
|
|
2761
|
+
];
|
|
2762
|
+
return Object.keys(deps).filter((d) => !trivial.has(d) && !d.startsWith("@types/") && !trivialPatterns.some((p) => p.test(d))).slice(0, 30);
|
|
2750
2763
|
}
|
|
2751
2764
|
function extractPythonDeps(dir) {
|
|
2752
2765
|
const reqTxt = readFileOrNull(join(dir, "requirements.txt"));
|
|
@@ -3834,6 +3847,7 @@ async function initCommand(options) {
|
|
|
3834
3847
|
`));
|
|
3835
3848
|
const targetAgent = options.agent || await promptAgent();
|
|
3836
3849
|
const baselineScore = computeLocalScore(process.cwd(), targetAgent);
|
|
3850
|
+
console.log(chalk4.hex("#6366f1").bold(" Current project score\n"));
|
|
3837
3851
|
displayScore(baselineScore);
|
|
3838
3852
|
const hasExistingConfig = !!(fingerprint.existingConfigs.claudeMd || fingerprint.existingConfigs.claudeSettings || fingerprint.existingConfigs.claudeSkills?.length || fingerprint.existingConfigs.cursorrules || fingerprint.existingConfigs.cursorRules?.length);
|
|
3839
3853
|
if (hasExistingConfig && baselineScore.score === 100) {
|
package/package.json
CHANGED