devrage 0.6.2 → 0.6.3
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 +2 -14
- package/dist/cli.js.map +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3507,7 +3507,6 @@ async function slop(args) {
|
|
|
3507
3507
|
const adapters = options.agent ? [createAdapter(options.agent)] : allAdapters();
|
|
3508
3508
|
const spinner = createSpinner(SLOP_SPINNER_MESSAGES);
|
|
3509
3509
|
const tellTally = {};
|
|
3510
|
-
const categoryTally = {};
|
|
3511
3510
|
const perAgent = {};
|
|
3512
3511
|
let totalMessages = 0;
|
|
3513
3512
|
let totalHits = 0;
|
|
@@ -3535,7 +3534,6 @@ async function slop(args) {
|
|
|
3535
3534
|
agentTainted++;
|
|
3536
3535
|
for (const match of result.matches) {
|
|
3537
3536
|
tellTally[match.tell] = (tellTally[match.tell] ?? 0) + 1;
|
|
3538
|
-
categoryTally[match.category] = (categoryTally[match.category] ?? 0) + 1;
|
|
3539
3537
|
}
|
|
3540
3538
|
}
|
|
3541
3539
|
if (agentMessages > 0) {
|
|
@@ -3568,22 +3566,12 @@ async function slop(args) {
|
|
|
3568
3566
|
([left, leftCount], [right, rightCount]) => rightCount - leftCount || left.localeCompare(right)
|
|
3569
3567
|
);
|
|
3570
3568
|
console.log("");
|
|
3571
|
-
console.log(` ${sectionTitle("top
|
|
3569
|
+
console.log(` ${sectionTitle("top slop")}`);
|
|
3572
3570
|
for (const [tell, count] of tells.slice(0, 15)) {
|
|
3573
3571
|
console.log(
|
|
3574
3572
|
` ${c.yellow}${tell.padEnd(28)}${c.reset} ${c.bold}${String(count).padStart(4)}${c.reset}`
|
|
3575
3573
|
);
|
|
3576
3574
|
}
|
|
3577
|
-
const categories = Object.entries(categoryTally).sort(
|
|
3578
|
-
([left, leftCount], [right, rightCount]) => (rightCount ?? 0) - (leftCount ?? 0) || left.localeCompare(right)
|
|
3579
|
-
);
|
|
3580
|
-
console.log("");
|
|
3581
|
-
console.log(` ${sectionTitle("slop flavors")}`);
|
|
3582
|
-
for (const [category, count] of categories) {
|
|
3583
|
-
console.log(
|
|
3584
|
-
` ${c.cyan}${category.padEnd(28)}${c.reset} ${c.bold}${String(count).padStart(4)}${c.reset}`
|
|
3585
|
-
);
|
|
3586
|
-
}
|
|
3587
3575
|
}
|
|
3588
3576
|
console.log("");
|
|
3589
3577
|
if (totalMessages === 0) {
|
|
@@ -4168,7 +4156,7 @@ async function main() {
|
|
|
4168
4156
|
process.exit(0);
|
|
4169
4157
|
}
|
|
4170
4158
|
if (command === "--version") {
|
|
4171
|
-
console.log("0.6.
|
|
4159
|
+
console.log("0.6.3");
|
|
4172
4160
|
process.exit(0);
|
|
4173
4161
|
}
|
|
4174
4162
|
const parsed = parseCommand(args);
|