@rely-ai/caliber 1.24.0-dev.1773828333 → 1.24.0-dev.1773828486
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 +5 -17
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -7200,6 +7200,7 @@ var ParallelTaskDisplay = class {
|
|
|
7200
7200
|
cachedCardCols = -1;
|
|
7201
7201
|
cachedConnectors = null;
|
|
7202
7202
|
previewLines = [];
|
|
7203
|
+
previewUpdatedAt = 0;
|
|
7203
7204
|
add(name, options) {
|
|
7204
7205
|
const index = this.tasks.length;
|
|
7205
7206
|
this.tasks.push({
|
|
@@ -7268,6 +7269,7 @@ var ParallelTaskDisplay = class {
|
|
|
7268
7269
|
}
|
|
7269
7270
|
setPreviewContent(lines) {
|
|
7270
7271
|
this.previewLines = lines;
|
|
7272
|
+
if (lines.length > 0) this.previewUpdatedAt = Date.now();
|
|
7271
7273
|
}
|
|
7272
7274
|
stop() {
|
|
7273
7275
|
this.disableWaitingContent();
|
|
@@ -7413,7 +7415,9 @@ var ParallelTaskDisplay = class {
|
|
|
7413
7415
|
lines.push(PREFIX + chalk8.dim("\u2500".repeat(Math.min(cols - PREFIX.length * 2, 55))));
|
|
7414
7416
|
}
|
|
7415
7417
|
lines.push(...taskLines);
|
|
7416
|
-
|
|
7418
|
+
const PREVIEW_STALE_MS = 3e3;
|
|
7419
|
+
const previewFresh = this.previewLines.length > 0 && Date.now() - this.previewUpdatedAt < PREVIEW_STALE_MS;
|
|
7420
|
+
if (previewFresh && stdout.isTTY) {
|
|
7417
7421
|
const cols = stdout.columns || 80;
|
|
7418
7422
|
const maxHeight = Math.min(Math.floor((stdout.rows || 24) / 3), 10);
|
|
7419
7423
|
const visibleLines = this.previewLines.slice(-maxHeight);
|
|
@@ -7722,20 +7726,6 @@ async function refineLoop(currentSetup, sessionHistory, summarizeSetup2, printSu
|
|
|
7722
7726
|
// src/commands/init-display.ts
|
|
7723
7727
|
import chalk12 from "chalk";
|
|
7724
7728
|
import fs27 from "fs";
|
|
7725
|
-
function formatProjectPreview(fingerprint) {
|
|
7726
|
-
const parts = [];
|
|
7727
|
-
if (fingerprint.languages.length > 0 || fingerprint.frameworks.length > 0) {
|
|
7728
|
-
const stack = [...fingerprint.languages, ...fingerprint.frameworks];
|
|
7729
|
-
parts.push(stack.join(" \xB7 "));
|
|
7730
|
-
}
|
|
7731
|
-
const fileCount = fingerprint.fileTree.length;
|
|
7732
|
-
if (fileCount > 0) {
|
|
7733
|
-
parts.push(`${fileCount.toLocaleString()} files`);
|
|
7734
|
-
} else {
|
|
7735
|
-
parts.push("empty project");
|
|
7736
|
-
}
|
|
7737
|
-
return parts.join(" \xB7 ");
|
|
7738
|
-
}
|
|
7739
7729
|
function formatWhatChanged(setup) {
|
|
7740
7730
|
const lines = [];
|
|
7741
7731
|
const claude = setup.claude;
|
|
@@ -8175,8 +8165,6 @@ async function initCommand(options) {
|
|
|
8175
8165
|
display.update(TASK_STACK, "done", stackSummary + largeRepoNote);
|
|
8176
8166
|
trackInitProjectDiscovered(fingerprint.languages.length, fingerprint.frameworks.length, fingerprint.fileTree.length);
|
|
8177
8167
|
log(options.verbose, `Fingerprint: ${fingerprint.languages.length} languages, ${fingerprint.frameworks.length} frameworks, ${fingerprint.fileTree.length} files`);
|
|
8178
|
-
const preview = formatProjectPreview(fingerprint);
|
|
8179
|
-
display.setPreviewContent([` ${chalk14.green("\u2713")} ${preview}`]);
|
|
8180
8168
|
if (report) {
|
|
8181
8169
|
report.addJson("Fingerprint: Git", { remote: fingerprint.gitRemoteUrl, packageName: fingerprint.packageName });
|
|
8182
8170
|
report.addCodeBlock("Fingerprint: File Tree", fingerprint.fileTree.join("\n"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rely-ai/caliber",
|
|
3
|
-
"version": "1.24.0-dev.
|
|
3
|
+
"version": "1.24.0-dev.1773828486",
|
|
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": {
|