@rely-ai/caliber 1.18.0 → 1.18.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 -17
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -6346,23 +6346,8 @@ async function initCommand(options) {
|
|
|
6346
6346
|
}
|
|
6347
6347
|
trackInitProjectDiscovered(fingerprint.languages.length, fingerprint.frameworks.length, fingerprint.fileTree.length);
|
|
6348
6348
|
console.log(chalk8.dim(` Languages: ${fingerprint.languages.join(", ") || "none detected"}`));
|
|
6349
|
-
console.log(chalk8.dim(` Files: ${fingerprint.fileTree.length} found
|
|
6350
|
-
|
|
6351
|
-
const ca = fingerprint.codeAnalysis;
|
|
6352
|
-
const compressionPct = ca.totalProjectTokens > 0 ? Math.round((1 - ca.compressedTokens / ca.totalProjectTokens) * 100) : 0;
|
|
6353
|
-
const parts = [`Context: ~${ca.includedTokens.toLocaleString()} tokens sent`];
|
|
6354
|
-
if (ca.truncated) {
|
|
6355
|
-
parts.push(`(${Math.round(ca.includedTokens / ca.totalProjectTokens * 100)}% of ${ca.totalProjectTokens.toLocaleString()} total)`);
|
|
6356
|
-
}
|
|
6357
|
-
if (compressionPct > 5) {
|
|
6358
|
-
parts.push(`compressed ${compressionPct}%`);
|
|
6359
|
-
}
|
|
6360
|
-
if (ca.duplicateGroups > 0) {
|
|
6361
|
-
parts.push(`${ca.duplicateGroups} duplicate group${ca.duplicateGroups === 1 ? "" : "s"} merged`);
|
|
6362
|
-
}
|
|
6363
|
-
console.log(chalk8.dim(` ${parts.join(" \xB7 ")}`));
|
|
6364
|
-
}
|
|
6365
|
-
console.log("");
|
|
6349
|
+
console.log(chalk8.dim(` Files: ${fingerprint.fileTree.length} found
|
|
6350
|
+
`));
|
|
6366
6351
|
if (report) {
|
|
6367
6352
|
report.markStep("Fingerprint");
|
|
6368
6353
|
report.addJson("Fingerprint: Git", { remote: fingerprint.gitRemoteUrl, packageName: fingerprint.packageName });
|
package/package.json
CHANGED