@kage-core/kage-graph-mcp 2.2.4 → 2.2.5
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/cli.js +12 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -329,11 +329,20 @@ async function main() {
|
|
|
329
329
|
}
|
|
330
330
|
console.log("");
|
|
331
331
|
}
|
|
332
|
-
if (!result.findings.length)
|
|
333
|
-
|
|
332
|
+
if (!result.findings.length) {
|
|
333
|
+
const small = result.totals.files_scanned < 30;
|
|
334
|
+
const noGit = result.warnings.some((warning) => warning.includes("Git history"));
|
|
335
|
+
if (small || noGit) {
|
|
336
|
+
console.log(`Nothing alarming found — though ${small ? "a repo this small" : "a repo without git history"} gives these signals little to work with.`);
|
|
337
|
+
console.log("Where Kage pays off here is the memory loop: what you and your agents learn while building this gets kept, verified, and recalled.\n");
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
console.log("No surprising findings — this repo's knowledge is unusually well distributed.\n");
|
|
341
|
+
}
|
|
342
|
+
}
|
|
334
343
|
if (result.warnings.length)
|
|
335
344
|
console.log(`Warnings:\n${result.warnings.map((warning) => ` - ${warning}`).join("\n")}\n`);
|
|
336
|
-
console.log("Fix the void:");
|
|
345
|
+
console.log(result.findings.length ? "Fix the void:" : "Next:");
|
|
337
346
|
for (const action of result.next_actions)
|
|
338
347
|
console.log(` ${action}`);
|
|
339
348
|
return;
|