chill-agent 1.8.0 → 1.8.2
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/.claude-plugin/plugin.json +40 -40
- package/.codex-plugin/plugin.json +36 -36
- package/.cursor-plugin/plugin.json +35 -35
- package/.devin-plugin/plugin.json +35 -35
- package/.kimi-plugin/plugin.json +17 -17
- package/.qoder-plugin/plugin.json +21 -21
- package/GUIDE.md +116 -47
- package/antislop.md +745 -764
- package/gemini-extension.json +6 -6
- package/package.json +86 -86
- package/plugin.yaml +21 -21
- package/rules/antislop.md +745 -764
- package/rules/antislop.mdc +750 -18
- package/scripts/check-repo.mjs +4 -16
- package/scripts/skill-index.mjs +1 -1
- package/src/cli.js +13 -12
package/scripts/check-repo.mjs
CHANGED
|
@@ -18,7 +18,7 @@ const lines = (p) => read(p).split(/\r?\n/)
|
|
|
18
18
|
|
|
19
19
|
const SKILLS = fs
|
|
20
20
|
.readdirSync(path.join(root, 'skills'), { withFileTypes: true })
|
|
21
|
-
.filter((e) => e.isDirectory())
|
|
21
|
+
.filter((e) => e.isDirectory() && e.name.startsWith('antislop'))
|
|
22
22
|
.map((e) => `skills/${e.name}/SKILL.md`)
|
|
23
23
|
|
|
24
24
|
const MANIFESTS = [
|
|
@@ -123,32 +123,20 @@ function versions() {
|
|
|
123
123
|
return null
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
const want = json('
|
|
127
|
-
if (!want) return ['
|
|
126
|
+
const want = json('package.json')?.version
|
|
127
|
+
if (!want) return ['package.json has no readable version']
|
|
128
128
|
|
|
129
129
|
const found = [
|
|
130
|
-
// The lock file carries the version twice, and npm ci will not correct a stale one.
|
|
131
|
-
['cli/package-lock.json', json('cli/package-lock.json')?.version],
|
|
132
|
-
['cli/package-lock.json (packages "")', json('cli/package-lock.json')?.packages?.['']?.version],
|
|
133
|
-
// The Cline plugin manifest and, from v3.2.17, the Pi package. Same release.
|
|
134
130
|
['package.json', json('package.json')?.version],
|
|
135
131
|
['.claude-plugin/plugin.json', json('.claude-plugin/plugin.json')?.version],
|
|
136
|
-
['.claude-plugin/marketplace.json', json('.claude-plugin/marketplace.json')?.plugins?.[0]?.version],
|
|
137
132
|
['.codex-plugin/plugin.json', json('.codex-plugin/plugin.json')?.version],
|
|
138
133
|
['.cursor-plugin/plugin.json', json('.cursor-plugin/plugin.json')?.version],
|
|
139
|
-
['.omp-plugin/marketplace.json', json('.omp-plugin/marketplace.json')?.plugins?.[0]?.version],
|
|
140
134
|
['.kimi-plugin/plugin.json', json('.kimi-plugin/plugin.json')?.version],
|
|
141
|
-
// Stamped into every install, so a stale one makes the installer misreport what is on disk.
|
|
142
|
-
['skills/antislop/VERSION', read('skills/antislop/VERSION').trim()],
|
|
143
|
-
['cli/lib/banner.mjs', read('cli/lib/banner.mjs').match(/installer v(\d+\.\d+\.\d+)/)?.[1]],
|
|
144
|
-
['skills/antislop-human/contrast-mcp.py', read('skills/antislop-human/contrast-mcp.py').match(/SERVER_VERSION = "(\d+\.\d+\.\d+)"/)?.[1]],
|
|
145
|
-
// The contributors image is cached per URL, so a changed version is what makes it redraw.
|
|
146
|
-
['README.md (contributors image)', read('README.md').match(/contrib\.rocks\/image\?repo=[^"'&\s]+&v=(\d+\.\d+\.\d+)/)?.[1]],
|
|
147
135
|
]
|
|
148
136
|
|
|
149
137
|
return found
|
|
150
138
|
.filter(([, got]) => got !== want)
|
|
151
|
-
.map(([file, got]) => `${file} says ${got ?? 'nothing'},
|
|
139
|
+
.map(([file, got]) => `${file} says ${got ?? 'nothing'}, package.json says ${want}`)
|
|
152
140
|
}
|
|
153
141
|
|
|
154
142
|
/** A manifest that does not parse takes its whole install path down. */
|
package/scripts/skill-index.mjs
CHANGED
|
@@ -42,7 +42,7 @@ const HEAD = '| What it covers | The patterns it names |\n|----------------|----
|
|
|
42
42
|
export function buildIndex() {
|
|
43
43
|
const names = fs
|
|
44
44
|
.readdirSync(path.join(root, 'skills'), { withFileTypes: true })
|
|
45
|
-
.filter((e) => e.isDirectory())
|
|
45
|
+
.filter((e) => e.isDirectory() && e.name.startsWith('antislop'))
|
|
46
46
|
.map((e) => e.name)
|
|
47
47
|
|
|
48
48
|
const unlisted = names.filter((n) => !NOTES[n])
|
package/src/cli.js
CHANGED
|
@@ -13,24 +13,14 @@ export async function runCli() {
|
|
|
13
13
|
const rawArgs = process.argv.slice(2);
|
|
14
14
|
const command = rawArgs[0] || 'wizard';
|
|
15
15
|
|
|
16
|
-
if (command === '
|
|
17
|
-
const modeArgs = command === 'mode' ? rawArgs.slice(1) : rawArgs.slice(rawArgs.indexOf('--mode') + 1);
|
|
18
|
-
try {
|
|
19
|
-
console.log(configureMode(modeArgs));
|
|
20
|
-
} catch (err) {
|
|
21
|
-
console.error(`antislop: ${err.message}`);
|
|
22
|
-
process.exit(1);
|
|
23
|
-
}
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
if (command === 'help' || command === '--help' || command === '-h') {
|
|
16
|
+
if (command === 'help' || rawArgs.includes('--help') || rawArgs.includes('-h')) {
|
|
28
17
|
banner();
|
|
29
18
|
console.log(`
|
|
30
19
|
${c.bold}USAGE:${c.reset}
|
|
31
20
|
npx chill-agent Launch interactive setup wizard
|
|
32
21
|
npx chill-agent install [--all] [--agent <name>] Install anti-slop skills non-interactively
|
|
33
22
|
npx chill-agent audit [dir] [--fix] [--report] [--all-pages] Scan & audit all pages for AI slop
|
|
23
|
+
npx chill-agent mode [during|after|ask] Configure global anti-slop usage mode
|
|
34
24
|
npx chill-agent init-design [preset] Generate a high-craft DESIGN.md specification
|
|
35
25
|
npx chill-agent doctor Inspect detected coding agents and rule health
|
|
36
26
|
npx chill-agent rewind [subcommand] Run deterministic time-travel debugger & proxy
|
|
@@ -45,6 +35,17 @@ ${c.bold}PRESETS FOR init-design:${c.reset}
|
|
|
45
35
|
return;
|
|
46
36
|
}
|
|
47
37
|
|
|
38
|
+
if (command === 'mode' || rawArgs.includes('--mode')) {
|
|
39
|
+
const modeArgs = command === 'mode' ? rawArgs.slice(1) : rawArgs.slice(rawArgs.indexOf('--mode') + 1);
|
|
40
|
+
try {
|
|
41
|
+
console.log(configureMode(modeArgs));
|
|
42
|
+
} catch (err) {
|
|
43
|
+
console.error(`antislop: ${err.message}`);
|
|
44
|
+
process.exit(1);
|
|
45
|
+
}
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
|
|
48
49
|
if (command === 'doctor') {
|
|
49
50
|
banner();
|
|
50
51
|
console.log(`${c.bold}ChillAgent Environment Diagnostics${c.reset}\n`);
|