devrage 0.6.1 → 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 -25
- package/dist/cli.js.map +2 -2
- package/dist/lib/slop/index.d.ts.map +1 -1
- package/dist/lib/slop/index.js +0 -11
- package/dist/lib/slop/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3069,11 +3069,6 @@ var SLOP_SIGNALS = [
|
|
|
3069
3069
|
category: "sycophancy",
|
|
3070
3070
|
pattern: /\b(?:a\s+)?real\s+error\s+in\s+(?:my|the)\s+framing\b/giu
|
|
3071
3071
|
},
|
|
3072
|
-
{
|
|
3073
|
-
tell: "I was wrong",
|
|
3074
|
-
category: "sycophancy",
|
|
3075
|
-
pattern: /\bi\s+was\s+wrong\b/giu
|
|
3076
|
-
},
|
|
3077
3072
|
{
|
|
3078
3073
|
tell: "I overcomplicated it",
|
|
3079
3074
|
category: "sycophancy",
|
|
@@ -3081,7 +3076,6 @@ var SLOP_SIGNALS = [
|
|
|
3081
3076
|
},
|
|
3082
3077
|
// Cross-model corporate/chatbot prose, constrained where a raw word is technical.
|
|
3083
3078
|
{ tell: "delve", category: "stock prose", pattern: /\b(?:delve(?:d|s)?|delving)\b/giu },
|
|
3084
|
-
{ tell: "crucial", category: "stock prose", pattern: /\bcrucial\b/giu },
|
|
3085
3079
|
{ tell: "pivotal", category: "stock prose", pattern: /\bpivotal\b/giu },
|
|
3086
3080
|
{ tell: "tapestry", category: "stock prose", pattern: /\btapestr(?:y|ies)\b/giu },
|
|
3087
3081
|
{
|
|
@@ -3136,11 +3130,6 @@ var SLOP_SIGNALS = [
|
|
|
3136
3130
|
pattern: /\blet(?:['’]s|\s+us)\s+unpack\s+(?:this|that|it)\b/giu
|
|
3137
3131
|
},
|
|
3138
3132
|
{ tell: "at its core", category: "stock prose", pattern: /\bat\s+its\s+core\b/giu },
|
|
3139
|
-
{
|
|
3140
|
-
tell: "successfully implemented",
|
|
3141
|
-
category: "stock prose",
|
|
3142
|
-
pattern: /\bsuccessfully\s+(?:added|completed|created|fixed|implemented|resolved|updated)\b/giu
|
|
3143
|
-
},
|
|
3144
3133
|
{
|
|
3145
3134
|
tell: "Certainly.",
|
|
3146
3135
|
category: "stock prose",
|
|
@@ -3518,7 +3507,6 @@ async function slop(args) {
|
|
|
3518
3507
|
const adapters = options.agent ? [createAdapter(options.agent)] : allAdapters();
|
|
3519
3508
|
const spinner = createSpinner(SLOP_SPINNER_MESSAGES);
|
|
3520
3509
|
const tellTally = {};
|
|
3521
|
-
const categoryTally = {};
|
|
3522
3510
|
const perAgent = {};
|
|
3523
3511
|
let totalMessages = 0;
|
|
3524
3512
|
let totalHits = 0;
|
|
@@ -3546,7 +3534,6 @@ async function slop(args) {
|
|
|
3546
3534
|
agentTainted++;
|
|
3547
3535
|
for (const match of result.matches) {
|
|
3548
3536
|
tellTally[match.tell] = (tellTally[match.tell] ?? 0) + 1;
|
|
3549
|
-
categoryTally[match.category] = (categoryTally[match.category] ?? 0) + 1;
|
|
3550
3537
|
}
|
|
3551
3538
|
}
|
|
3552
3539
|
if (agentMessages > 0) {
|
|
@@ -3579,22 +3566,12 @@ async function slop(args) {
|
|
|
3579
3566
|
([left, leftCount], [right, rightCount]) => rightCount - leftCount || left.localeCompare(right)
|
|
3580
3567
|
);
|
|
3581
3568
|
console.log("");
|
|
3582
|
-
console.log(` ${sectionTitle("top
|
|
3569
|
+
console.log(` ${sectionTitle("top slop")}`);
|
|
3583
3570
|
for (const [tell, count] of tells.slice(0, 15)) {
|
|
3584
3571
|
console.log(
|
|
3585
3572
|
` ${c.yellow}${tell.padEnd(28)}${c.reset} ${c.bold}${String(count).padStart(4)}${c.reset}`
|
|
3586
3573
|
);
|
|
3587
3574
|
}
|
|
3588
|
-
const categories = Object.entries(categoryTally).sort(
|
|
3589
|
-
([left, leftCount], [right, rightCount]) => (rightCount ?? 0) - (leftCount ?? 0) || left.localeCompare(right)
|
|
3590
|
-
);
|
|
3591
|
-
console.log("");
|
|
3592
|
-
console.log(` ${sectionTitle("slop flavors")}`);
|
|
3593
|
-
for (const [category, count] of categories) {
|
|
3594
|
-
console.log(
|
|
3595
|
-
` ${c.cyan}${category.padEnd(28)}${c.reset} ${c.bold}${String(count).padStart(4)}${c.reset}`
|
|
3596
|
-
);
|
|
3597
|
-
}
|
|
3598
3575
|
}
|
|
3599
3576
|
console.log("");
|
|
3600
3577
|
if (totalMessages === 0) {
|
|
@@ -4179,7 +4156,7 @@ async function main() {
|
|
|
4179
4156
|
process.exit(0);
|
|
4180
4157
|
}
|
|
4181
4158
|
if (command === "--version") {
|
|
4182
|
-
console.log("0.6.
|
|
4159
|
+
console.log("0.6.3");
|
|
4183
4160
|
process.exit(0);
|
|
4184
4161
|
}
|
|
4185
4162
|
const parsed = parseCommand(args);
|