@rely-ai/caliber 0.4.5 → 0.4.6
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 +6 -5
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -3102,7 +3102,7 @@ function checkQuality(dir) {
|
|
|
3102
3102
|
earnedPoints: hasCommands ? POINTS_HAS_COMMANDS : 0,
|
|
3103
3103
|
passed: hasCommands,
|
|
3104
3104
|
detail: hasCommands ? `Found: ${matchedCommands.slice(0, 3).join(", ")}` : claudeMd ? "No build/test/lint commands detected" : "No CLAUDE.md to check",
|
|
3105
|
-
suggestion: hasCommands ? void 0 : "Add build, test, and lint commands
|
|
3105
|
+
suggestion: hasCommands ? void 0 : "Add build, test, and lint commands to CLAUDE.md"
|
|
3106
3106
|
});
|
|
3107
3107
|
const primaryFile = claudeMd ?? cursorrules;
|
|
3108
3108
|
const primaryName = claudeMd ? "CLAUDE.md" : cursorrules ? ".cursorrules" : null;
|
|
@@ -3170,7 +3170,7 @@ function checkQuality(dir) {
|
|
|
3170
3170
|
earnedPoints: hasLargeTree ? 0 : POINTS_NO_DIR_TREE,
|
|
3171
3171
|
passed: !hasLargeTree,
|
|
3172
3172
|
detail: hasLargeTree ? `${treeLineCount}-line directory tree detected in code block` : "No large directory trees found",
|
|
3173
|
-
suggestion: hasLargeTree ? "Remove directory tree listings \u2014 agents discover project structure by reading code
|
|
3173
|
+
suggestion: hasLargeTree ? "Remove directory tree listings \u2014 agents discover project structure by reading code" : void 0
|
|
3174
3174
|
});
|
|
3175
3175
|
let duplicatePercent = 0;
|
|
3176
3176
|
if (claudeMd && cursorrules) {
|
|
@@ -3253,7 +3253,7 @@ function validateDocumentedCommands(dir) {
|
|
|
3253
3253
|
const scripts = getPackageScripts(dir);
|
|
3254
3254
|
const valid = [];
|
|
3255
3255
|
const invalid = [];
|
|
3256
|
-
const cmdPattern = /(?:npm|yarn|pnpm|bun)\s+(?:run\s+)?(
|
|
3256
|
+
const cmdPattern = /(?:npm|yarn|pnpm|bun)\s+(?:run\s+)?([a-zA-Z0-9_:@./-]+)/g;
|
|
3257
3257
|
const seen = /* @__PURE__ */ new Set();
|
|
3258
3258
|
let match;
|
|
3259
3259
|
while ((match = cmdPattern.exec(claudeMd)) !== null) {
|
|
@@ -3834,7 +3834,8 @@ async function initCommand(options) {
|
|
|
3834
3834
|
}
|
|
3835
3835
|
console.log(chalk4.green(" \u2713 Provider saved. Continuing with init.\n"));
|
|
3836
3836
|
}
|
|
3837
|
-
|
|
3837
|
+
const displayModel = config.model === "default" && config.provider === "claude-cli" ? process.env.ANTHROPIC_MODEL || "default (inherited from Claude Code)" : config.model;
|
|
3838
|
+
console.log(chalk4.dim(` Provider: ${config.provider} | Model: ${displayModel}
|
|
3838
3839
|
`));
|
|
3839
3840
|
console.log(chalk4.hex("#6366f1").bold(" Step 2/4 \u2014 Scan project\n"));
|
|
3840
3841
|
console.log(chalk4.dim(" Detecting languages, dependencies, file structure, and existing configs.\n"));
|
|
@@ -3883,7 +3884,7 @@ async function initCommand(options) {
|
|
|
3883
3884
|
console.log(chalk4.hex("#6366f1").bold(" Step 3/4 \u2014 Generating configs\n"));
|
|
3884
3885
|
console.log(chalk4.dim(" AI is creating agent config files tailored to your project.\n"));
|
|
3885
3886
|
}
|
|
3886
|
-
console.log(chalk4.dim(" This
|
|
3887
|
+
console.log(chalk4.dim(" This can take a couple of minutes depending on your model and provider.\n"));
|
|
3887
3888
|
const genStartTime = Date.now();
|
|
3888
3889
|
const genSpinner = ora("Generating setup...").start();
|
|
3889
3890
|
const genMessages = new SpinnerMessages(genSpinner, GENERATION_MESSAGES, { showElapsedTime: true });
|
package/package.json
CHANGED