@rely-ai/caliber 1.31.0-dev.1774711826 → 1.31.0-dev.1774711990
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 +27 -16
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -9159,7 +9159,7 @@ async function initCommand(options) {
|
|
|
9159
9159
|
console.log(chalk14.dim(" 3. Generate Audit existing config or generate from scratch"));
|
|
9160
9160
|
console.log(chalk14.dim(" 4. Finalize Review changes and score your setup\n"));
|
|
9161
9161
|
} else {
|
|
9162
|
-
console.log(brand.bold("\n CALIBER") + chalk14.dim(" \u2014
|
|
9162
|
+
console.log(brand.bold("\n CALIBER") + chalk14.dim(" \u2014 setting up continuous sync\n"));
|
|
9163
9163
|
}
|
|
9164
9164
|
const platforms = detectPlatforms();
|
|
9165
9165
|
if (!platforms.claude && !platforms.cursor && !platforms.codex) {
|
|
@@ -9208,11 +9208,12 @@ async function initCommand(options) {
|
|
|
9208
9208
|
`));
|
|
9209
9209
|
trackInitAgentSelected(targetAgent, agentAutoDetected);
|
|
9210
9210
|
console.log(title.bold(" Step 2/4 \u2014 Setup\n"));
|
|
9211
|
+
console.log(chalk14.dim(" Installing sync infrastructure...\n"));
|
|
9211
9212
|
const hookResult = installPreCommitHook();
|
|
9212
9213
|
if (hookResult.installed) {
|
|
9213
|
-
console.log(` ${chalk14.green("\u2713")} Pre-commit hook \u2014 configs sync on every commit`);
|
|
9214
|
+
console.log(` ${chalk14.green("\u2713")} Pre-commit hook installed \u2014 configs sync on every commit`);
|
|
9214
9215
|
} else if (hookResult.alreadyInstalled) {
|
|
9215
|
-
console.log(` ${chalk14.green("\u2713")} Pre-commit hook \u2014
|
|
9216
|
+
console.log(` ${chalk14.green("\u2713")} Pre-commit hook \u2014 active`);
|
|
9216
9217
|
}
|
|
9217
9218
|
const { ensureBuiltinSkills: ensureBuiltinSkills2 } = await Promise.resolve().then(() => (init_builtin_skills(), builtin_skills_exports));
|
|
9218
9219
|
for (const agent of targetAgent) {
|
|
@@ -9222,7 +9223,9 @@ async function initCommand(options) {
|
|
|
9222
9223
|
}
|
|
9223
9224
|
const skillsWritten = ensureBuiltinSkills2();
|
|
9224
9225
|
if (skillsWritten.length > 0) {
|
|
9225
|
-
console.log(` ${chalk14.green("\u2713")} Agent skills \u2014
|
|
9226
|
+
console.log(` ${chalk14.green("\u2713")} Agent skills installed \u2014 /setup-caliber, /find-skills, /save-learning`);
|
|
9227
|
+
} else {
|
|
9228
|
+
console.log(` ${chalk14.green("\u2713")} Agent skills \u2014 already installed`);
|
|
9226
9229
|
}
|
|
9227
9230
|
console.log("");
|
|
9228
9231
|
let baselineScore = computeLocalScore(process.cwd(), targetAgent);
|
|
@@ -9260,11 +9263,15 @@ async function initCommand(options) {
|
|
|
9260
9263
|
skipGeneration = !options.force;
|
|
9261
9264
|
} else if (hasExistingConfig && !options.force && !options.autoApprove) {
|
|
9262
9265
|
trackInitScoreComputed(baselineScore.score, passingCount, failingCount, false);
|
|
9263
|
-
|
|
9266
|
+
console.log(chalk14.dim("\n Sync infrastructure is ready. Caliber can also audit your existing"));
|
|
9267
|
+
console.log(chalk14.dim(" configs and improve them using AI.\n"));
|
|
9268
|
+
const auditAnswer = await promptInput(" Audit and improve your existing config? (Y/n) ");
|
|
9264
9269
|
skipGeneration = auditAnswer.toLowerCase() === "n";
|
|
9265
9270
|
} else if (!hasExistingConfig && !options.force && !options.autoApprove) {
|
|
9266
9271
|
trackInitScoreComputed(baselineScore.score, passingCount, failingCount, false);
|
|
9267
|
-
|
|
9272
|
+
console.log(chalk14.dim("\n Sync infrastructure is ready. Caliber can also generate tailored"));
|
|
9273
|
+
console.log(chalk14.dim(" CLAUDE.md, Cursor rules, and Codex configs for your project.\n"));
|
|
9274
|
+
const generateAnswer = await promptInput(" Generate agent configs? (Y/n) ");
|
|
9268
9275
|
skipGeneration = generateAnswer.toLowerCase() === "n";
|
|
9269
9276
|
} else {
|
|
9270
9277
|
trackInitScoreComputed(baselineScore.score, passingCount, failingCount, false);
|
|
@@ -9728,23 +9735,27 @@ ${agentRefs.join(" ")}
|
|
|
9728
9735
|
const done = chalk14.green("\u2713");
|
|
9729
9736
|
const skip = chalk14.dim("\u2013");
|
|
9730
9737
|
console.log(chalk14.bold(" What was configured:\n"));
|
|
9731
|
-
console.log(` ${done}
|
|
9732
|
-
console.log(` ${done}
|
|
9738
|
+
console.log(` ${done} Continuous sync ${chalk14.dim("pre-commit hook keeps all agent configs in sync")}`);
|
|
9739
|
+
console.log(` ${done} Config generated ${title(`${bin} score`)} ${chalk14.dim("for full breakdown")}`);
|
|
9740
|
+
console.log(` ${done} Agent skills ${chalk14.dim("/setup-caliber for new team members")}`);
|
|
9733
9741
|
if (hasLearnableAgent) {
|
|
9734
9742
|
if (enableLearn) {
|
|
9735
|
-
console.log(` ${done} Session learning
|
|
9743
|
+
console.log(` ${done} Session learning ${chalk14.dim("agent learns from your feedback")}`);
|
|
9736
9744
|
} else {
|
|
9737
|
-
console.log(` ${skip} Session learning
|
|
9745
|
+
console.log(` ${skip} Session learning ${title(`${bin} learn install`)} ${chalk14.dim("to enable later")}`);
|
|
9738
9746
|
}
|
|
9739
9747
|
}
|
|
9740
9748
|
if (communitySkillsInstalled > 0) {
|
|
9741
|
-
console.log(` ${done} Community skills
|
|
9749
|
+
console.log(` ${done} Community skills ${chalk14.dim(`${communitySkillsInstalled} skill${communitySkillsInstalled > 1 ? "s" : ""} installed for your stack`)}`);
|
|
9742
9750
|
} else if (skillSearchResult.results.length > 0) {
|
|
9743
|
-
console.log(` ${skip} Community skills
|
|
9744
|
-
}
|
|
9745
|
-
console.log(chalk14.bold("\n
|
|
9746
|
-
console.log(
|
|
9747
|
-
console.log(
|
|
9751
|
+
console.log(` ${skip} Community skills ${chalk14.dim("available but skipped")}`);
|
|
9752
|
+
}
|
|
9753
|
+
console.log(chalk14.bold("\n What happens next:\n"));
|
|
9754
|
+
console.log(chalk14.dim(" Every commit will automatically sync your agent configs."));
|
|
9755
|
+
console.log(chalk14.dim(" New team members can run /setup-caliber to get set up instantly.\n"));
|
|
9756
|
+
console.log(chalk14.bold(" Explore:\n"));
|
|
9757
|
+
console.log(` ${title(`${bin} score`)} Full scoring breakdown with improvement tips`);
|
|
9758
|
+
console.log(` ${title(`${bin} skills`)} Find community skills for your stack`);
|
|
9748
9759
|
console.log(` ${title(`${bin} undo`)} Revert all changes from this run`);
|
|
9749
9760
|
console.log("");
|
|
9750
9761
|
if (options.showTokens) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rely-ai/caliber",
|
|
3
|
-
"version": "1.31.0-dev.
|
|
3
|
+
"version": "1.31.0-dev.1774711990",
|
|
4
4
|
"description": "AI context infrastructure for coding agents — keeps CLAUDE.md, Cursor rules, and skills in sync as your codebase evolves",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|