dislop 0.7.0 → 0.7.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/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/server.json +1 -1
- package/skills/dislop/SKILL.md +1 -1
- package/src/core.mjs +1 -1
- package/patterns/README.md +0 -39
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Official dislop plugin marketplace: pure-doc Agent Skill and Official Cloud MCP.",
|
|
9
|
-
"version": "0.7.
|
|
9
|
+
"version": "0.7.1"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "dislop",
|
|
14
14
|
"source": "./",
|
|
15
15
|
"description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
|
|
16
|
-
"version": "0.7.
|
|
16
|
+
"version": "0.7.1",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "dislop-ai",
|
|
19
19
|
"url": "https://dislop.com"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "dislop-ai",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "dislop-ai",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "dislop-ai",
|
package/gemini-extension.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
|
|
5
5
|
"mcpServers": {
|
|
6
6
|
"dislop": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Linter for AI Slop — helps you (and your agent) catch and fix AI-sounding text and layouts in docs, web UI, and slides. Skill, Plugin, CLI & MCP.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://dislop.com",
|
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "dislop",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "dislop-ai",
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.dislop-ai/dislop",
|
|
4
4
|
"title": "dislop",
|
|
5
5
|
"description": "Linter for AI Slop in docs, web UI, and slides — Official Cloud MCP.",
|
|
6
|
-
"version": "0.7.
|
|
6
|
+
"version": "0.7.1",
|
|
7
7
|
"websiteUrl": "https://dislop.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/dislop-ai/dislop",
|
package/skills/dislop/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dislop
|
|
3
|
-
version: 0.7.
|
|
3
|
+
version: 0.7.1
|
|
4
4
|
description: Linter for AI Slop. Helps coding and office agents catch and fix AI-sounding text and template layouts in docs, web UI, and slides using pure-Markdown references, local offline CLI, or Official Cloud MCP.
|
|
5
5
|
---
|
|
6
6
|
|
package/src/core.mjs
CHANGED
package/patterns/README.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# AI-Slop Pattern Library (`patterns/`)
|
|
2
|
-
|
|
3
|
-
`patterns/` stores `dislop`'s versioned catalog of observable AI-writing, cadence, discourse, Web UI, and slide deck patterns as plain JSON assets.
|
|
4
|
-
|
|
5
|
-
## Directory Layout
|
|
6
|
-
|
|
7
|
-
- `patterns/taxonomy.json`: canonical 6 dimensions (`artifacts`, `lexical`, `syntactic`, `rhythm`, `discourse`, `visual-and-deck`), 7 detection angles, and 3 evidence levels.
|
|
8
|
-
- `patterns/dimensions/*.json`: 53 cataloged patterns linking all 42 active rules in `packs/*/pack.json` plus 11 extended pattern-bank rules in `patterns/banks/*.json`. Every entry records its mechanism, tags, false-positive guards, model tendencies, and a `bad -> trap -> good` example.
|
|
9
|
-
- `patterns/banks/*.json`: declarative signal lists and calibrated thresholds executed directly by `src/pattern-engine.mjs` (Node/Browser) and `src/dislop/pattern_engine.py` (Python) with 100% parity:
|
|
10
|
-
- `discourse-rhythm.json`: repetitive sentence openers, inline bold saturation, paragraph-length uniformity, and mechanical discourse signposts.
|
|
11
|
-
- `lexical-signals.json`: weighted translation-calque clusters and empirically over-represented phrase clusters.
|
|
12
|
-
- `syntactic-frames.json`: balanced concession frames and pull-quote closers (with quotation guard).
|
|
13
|
-
- `visual-deck.json`: Web UI glassmorphism overuse and thick left accent-stripe card stacks (`>= 4px`).
|
|
14
|
-
- `composite-fusion.json`: cross-dimension stealth-slop co-occurrence rules damped by concrete fact density (numbers with units, timestamps, code spans, filenames).
|
|
15
|
-
|
|
16
|
-
## Common Commands
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
# Search the catalog across packs/ and patterns/
|
|
20
|
-
node bin/dislop.mjs catalog --dimension rhythm --lang en
|
|
21
|
-
PYTHONPATH=src python3 -m dislop.cli catalog --query "slogan" --json
|
|
22
|
-
|
|
23
|
-
# Run the multi-angle Pattern Library scanner on a file or stdin
|
|
24
|
-
node bin/dislop.mjs patterns README.md --lang en
|
|
25
|
-
node bin/dislop.mjs check README.md --patterns --lang en
|
|
26
|
-
printf "Furthermore, this initiative plays a pivotal role in delivering transformative value across teams." | node bin/dislop.mjs patterns - --stdin-filename draft.md --json
|
|
27
|
-
|
|
28
|
-
# Validate asset schemas, run multi-angle ablation, and enforce benchmark gates
|
|
29
|
-
node scripts/pattern_lab.mjs verify
|
|
30
|
-
node scripts/pattern_lab.mjs ablation
|
|
31
|
-
node scripts/pattern_lab.mjs assert
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Adding a New Pattern
|
|
35
|
-
|
|
36
|
-
1. Add the pattern entry to the matching file under `patterns/dimensions/` with bilingual `name`, `mechanism`, `tags`, `falsePositiveGuards`, and an original `exemplar`.
|
|
37
|
-
2. Add any new lexical signals, regex frames, or thresholds to `patterns/banks/*.json` so both JS and Python engines pick them up automatically.
|
|
38
|
-
3. Add at least one positive sample and one adversarial clean near-miss sample to `benchmarks/datasets/pattern-challenge-v2.json` or `benchmarks/datasets/holdout-v2.json`.
|
|
39
|
-
4. Run `node scripts/pattern_lab.mjs verify`, `node scripts/pattern_lab.mjs assert`, and `PYTHONPATH=src python3 -m unittest tests/test_pattern_library.py`.
|