@rely-ai/caliber 1.20.0-dev.1773696270 → 1.20.0-dev.1773696964
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 +31 -6
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -7476,12 +7476,14 @@ ${agentRefs.join(" ")}
|
|
|
7476
7476
|
log(options.verbose, ` Still failing: ${c.name} (${c.earnedPoints}/${c.maxPoints})${c.suggestion ? ` \u2014 ${c.suggestion}` : ""}`);
|
|
7477
7477
|
}
|
|
7478
7478
|
}
|
|
7479
|
+
let communitySkillsInstalled = 0;
|
|
7479
7480
|
if (skillSearchResult.results.length > 0 && !options.autoApprove) {
|
|
7480
7481
|
console.log(chalk11.dim(" Community skills matched to your project:\n"));
|
|
7481
7482
|
const selected = await interactiveSelect(skillSearchResult.results);
|
|
7482
7483
|
if (selected?.length) {
|
|
7483
7484
|
await installSkills(selected, targetAgent, skillSearchResult.contentMap);
|
|
7484
7485
|
trackInitSkillsSearch(true, selected.length);
|
|
7486
|
+
communitySkillsInstalled = selected.length;
|
|
7485
7487
|
}
|
|
7486
7488
|
}
|
|
7487
7489
|
console.log("");
|
|
@@ -7517,9 +7519,10 @@ ${agentRefs.join(" ")}
|
|
|
7517
7519
|
console.log(chalk11.dim(" Skipped auto-sync hooks. Run ") + chalk11.hex("#83D1EB")("caliber hooks --install") + chalk11.dim(" later to enable."));
|
|
7518
7520
|
}
|
|
7519
7521
|
const hasLearnableAgent = targetAgent.includes("claude") || targetAgent.includes("cursor");
|
|
7522
|
+
let enableLearn = false;
|
|
7520
7523
|
if (hasLearnableAgent) {
|
|
7521
7524
|
if (!options.autoApprove) {
|
|
7522
|
-
|
|
7525
|
+
enableLearn = await promptLearnInstall(targetAgent);
|
|
7523
7526
|
trackInitLearnEnabled(enableLearn);
|
|
7524
7527
|
if (enableLearn) {
|
|
7525
7528
|
if (targetAgent.includes("claude")) {
|
|
@@ -7537,6 +7540,7 @@ ${agentRefs.join(" ")}
|
|
|
7537
7540
|
console.log(chalk11.dim(" Skipped. Run ") + chalk11.hex("#83D1EB")("caliber learn install") + chalk11.dim(" later to enable."));
|
|
7538
7541
|
}
|
|
7539
7542
|
} else {
|
|
7543
|
+
enableLearn = true;
|
|
7540
7544
|
if (targetAgent.includes("claude")) installLearningHooks();
|
|
7541
7545
|
if (targetAgent.includes("cursor")) installCursorLearningHooks();
|
|
7542
7546
|
}
|
|
@@ -7544,11 +7548,32 @@ ${agentRefs.join(" ")}
|
|
|
7544
7548
|
console.log(chalk11.bold.green("\n Setup complete!"));
|
|
7545
7549
|
console.log(chalk11.dim(" Your AI agents now understand your project's architecture, build commands,"));
|
|
7546
7550
|
console.log(chalk11.dim(" testing patterns, and conventions. All changes are backed up automatically.\n"));
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
console.log(
|
|
7550
|
-
console.log(` ${title("caliber
|
|
7551
|
-
|
|
7551
|
+
const done = chalk11.green("\u2713");
|
|
7552
|
+
const skip = chalk11.dim("\u2013");
|
|
7553
|
+
console.log(chalk11.bold(" What was set up:\n"));
|
|
7554
|
+
console.log(` ${done} Config generated ${title("caliber score")} for full breakdown`);
|
|
7555
|
+
const hooksInstalled = hookChoice !== "skip";
|
|
7556
|
+
if (hooksInstalled) {
|
|
7557
|
+
const hookLabel = hookChoice === "both" ? "pre-commit + Claude Code" : hookChoice === "precommit" ? "pre-commit" : "Claude Code";
|
|
7558
|
+
console.log(` ${done} Auto-sync hooks ${chalk11.dim(hookLabel + " \u2014 docs stay fresh automatically")}`);
|
|
7559
|
+
} else {
|
|
7560
|
+
console.log(` ${skip} Auto-sync hooks ${title("caliber hooks --install")} to enable later`);
|
|
7561
|
+
}
|
|
7562
|
+
if (hasLearnableAgent) {
|
|
7563
|
+
if (enableLearn) {
|
|
7564
|
+
console.log(` ${done} Session learning ${chalk11.dim("agent learns from your feedback")}`);
|
|
7565
|
+
} else {
|
|
7566
|
+
console.log(` ${skip} Session learning ${title("caliber learn install")} to enable later`);
|
|
7567
|
+
}
|
|
7568
|
+
}
|
|
7569
|
+
if (communitySkillsInstalled > 0) {
|
|
7570
|
+
console.log(` ${done} Community skills ${chalk11.dim(`${communitySkillsInstalled} skill${communitySkillsInstalled > 1 ? "s" : ""} installed for your stack`)}`);
|
|
7571
|
+
} else if (skillSearchResult.results.length > 0) {
|
|
7572
|
+
console.log(` ${skip} Community skills ${chalk11.dim("available but skipped")}`);
|
|
7573
|
+
}
|
|
7574
|
+
console.log(chalk11.bold("\n Explore next:\n"));
|
|
7575
|
+
console.log(` ${title("caliber skills")} Find more community skills as your codebase evolves`);
|
|
7576
|
+
console.log(` ${title("caliber score")} See the full scoring breakdown with improvement tips`);
|
|
7552
7577
|
console.log(` ${title("caliber undo")} Revert all changes from this run`);
|
|
7553
7578
|
console.log("");
|
|
7554
7579
|
if (options.showTokens) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rely-ai/caliber",
|
|
3
|
-
"version": "1.20.0-dev.
|
|
3
|
+
"version": "1.20.0-dev.1773696964",
|
|
4
4
|
"description": "Analyze your codebase and generate optimized AI agent configs (CLAUDE.md, .cursorrules, skills) — no API key needed",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|