chill-agent 1.7.0 → 1.8.1
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/auditor.js +557 -116
- package/src/cli.js +44 -18
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])
|