dislop 0.9.0 → 0.9.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.
@@ -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.9.0"
9
+ "version": "0.9.1"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "dislop",
14
14
  "source": "./",
15
15
  "description": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, offline CLI, and Official Cloud MCP.",
16
- "version": "0.9.0",
16
+ "version": "0.9.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.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, 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.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, 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.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, offline CLI, and Official Cloud MCP.",
5
5
  "author": {
6
6
  "name": "dislop-ai",
package/PRODUCT.md CHANGED
@@ -10,7 +10,7 @@ All website copy, `README` files, marketplace manifests, visual assets, and outb
10
10
  Cutting AI slop is real productivity.
11
11
 
12
12
  ### Positioning
13
- **Linter for AI Slop.** Helps you (and your agent) catch and fix AI-sounding text and template layouts in docs, web pages, and slides before sending.
13
+ **Linter for AI Slop.** Built to run inside your agent, CLI, and CI, with a browser workbench ready whenever you want to check a draft yourself. Catches AI-sounding text and template layouts in docs, web pages, and slides before sending.
14
14
 
15
15
  ### Global-First Priority & Single-Domain Strategy
16
16
  - **English (Global) first across code, docs, and assets**: Rule precision on native English prose/UI/decks, CLI/MCP/Skill schemas, canonical documentation (`*.md`), and primary visual assets (`og-card.png`, `-en-v2` demos, `@dislop_ai`) always come first. Chinese (`*.zh-CN.md`, `zh-*` rules, `-zh-v2` demos) is maintained in lockstep as a native localized counterpart, never the upstream source for machine translation.
@@ -19,7 +19,10 @@ Cutting AI slop is real productivity.
19
19
  - **Strict language separation**: English and Chinese materials use their own native examples, banners, social cards, and single-language accounts (`@dislop_ai` publishes exclusively in English), never word-for-word translations and never mixed inside one page or post.
20
20
 
21
21
  ### Users
22
- First coding agent users, then office agent users, and finally everyone who delivers work with AI. Their agents are direct users too, and can find and run `dislop` on their own.
22
+ Primary operators are coding agents, office agents, and CI pipelines. Primary customers and decision-makers are the people and teams delivering work with AI: first coding agent users, then office agent users, and finally teams managing shared voice and review gates.
23
+
24
+ ### Design Principle (Internal): Agent-First Interface, Human-Owned Quality
25
+ Every new check, review flow, or verification guard ships first as a deterministic, low-token CLI, MCP, or Skill surface, while the browser workbench and editor extensions expose that same core for human review. Prioritize compact machine output (`--format agent`), exact line spans, low false positives, 2-strike circuit breakers, and fact-preserving verification over decorative dashboards. Ship first where agents look (npm, PyPI, Official MCP Registry, `skills.sh`, editor tool hooks, and CI) before standalone manual paste surfaces. People and teams keep ownership of quality—setting voice bounds, accepting edits, and paying for governance—while public copy avoids the `"Agent-first"` label and names concrete tools and outcomes instead.
23
26
 
24
27
  ### Product Form
25
28
  1. **Skill (open-source, Markdown only)**: Genre-specific writing and UI reference cards with no bundled scripts. Your agent reads the matching card before drafting and can run the CLI afterward to check its work.
@@ -42,7 +45,7 @@ A dedicated linter for AI slop. It brings together vetted community rules and pr
42
45
  去 AI 味才是真正的生产力!
43
46
 
44
47
  ### 定位
45
- **AI 味检查工具。** 帮你(的 Agent)在文档、网页和 PPT 发出前,挑出并改掉里面的 AI 味。
48
+ **AI 味检查工具。** 默认挂进你的 Agent、终端和 CI 自动自检,也提供网页工作台随时手动排查。帮你和你的 Agent 在文档、网页和 PPT 发出前,挑出并改掉里面的 AI 味。
46
49
 
47
50
  ### 全球英文优先与单域名兼容原则
48
51
  - **技术、文档与主物料以英文(全球)为第一基准**:地道英文语料检出精度与零误报边界、CLI/MCP/Skill 协议字段、主干英文文档(`*.md`)及默认视觉物料(`og-card.png`、`-en-v2` 动图、`@dislop_ai`)始终优先建设与验收;中文文档(`*.zh-CN.md`)、`zh-*` 专属规则与中文演示物料面向中文场景原生独立编写,不做英译中或中译英套翻。
@@ -51,7 +54,10 @@ A dedicated linter for AI slop. It brings together vetted community rules and pr
51
54
  - **单页单帖严格不混排**:中英文各自使用独立案例、视觉卡片与单语社交账号(官方号 `@dislop_ai` 固定纯英文发布),同一页面或单条帖子内绝不中英混排。
52
55
 
53
56
  ### 用户
54
- 第一批是 Coding Agent 用户,第二批是办公 Agent 用户,最后是所有用 AI 交付成果的人;他们的 Agent 也是直接使用者,能自己找到并调用。
57
+ 日常高频调用方是 Coding Agent、办公 Agent 与 CI 流水线;真正的服务与买单对象是用 AI 交付成果的人和团队:第一批是 Coding Agent 用户,第二批是办公 Agent 用户,中长期延伸至需要共享文风与交付门禁的团队。
58
+
59
+ ### 内部设计原则:接口按 Agent 优先,质量与买单归属人和团队
60
+ 所有新检查、审校与防改坏能力先交付确定性、低 token 的 CLI、MCP 或 Skill 出口,网页工作台和编辑器扩展复用同一底座供人审阅,不做只能手工点按钮的孤岛功能。优先打磨紧凑输出(`--format agent`)、精确行号定位、低误报边界、2 次阻断熔断与事实保真核验,胜过堆砌展示型仪表盘。分发优先覆盖 npm、PyPI、官方 MCP Registry、`skills.sh`、编辑器内置工具与 CI 门禁,再考虑需人工复制粘贴的入口。声纹边界、改稿拍板和团队治理采购始终由人和团队掌握;对外文案不用 `Agent-first` 这类标签词,直接写具体入口和效果。
55
61
 
56
62
  ### 产品形态
57
63
  1. **Skill(开源,纯文档)**:按文体整理的写作与界面避坑参考卡,不带可执行脚本。Agent 动笔前按需读取,写完后可调用 CLI 自检。
package/README.md CHANGED
@@ -17,7 +17,7 @@
17
17
  <a href="./LICENSE">Apache-2.0</a>
18
18
  </p>
19
19
 
20
- **Cutting AI slop is real productivity.** `dislop` is a linter for AI slop. It catches AI-sounding text and template layouts in docs, web pages, and slides before you send them. Its rules come from vetted community projects and corpus findings, and the repo keeps a list of 90 related tools.
20
+ **Cutting AI slop is real productivity.** `dislop` is a linter for AI slop. Built to run inside your agent, CLI, and CI, with a browser workbench ready whenever you want to check a draft yourself. It catches AI-sounding text and template layouts in docs, web pages, and slides before you send them. Its rules come from vetted community projects and corpus findings, and the repo keeps a list of 90 related tools.
21
21
 
22
22
  It comes in three parts:
23
23
 
package/README.zh-CN.md CHANGED
@@ -17,7 +17,7 @@
17
17
  <a href="./LICENSE">Apache-2.0</a>
18
18
  </p>
19
19
 
20
- **去 AI 味才是真正的生产力!** `dislop` 是专用的 AI 味检查工具。它把社区验证过的去味规则、语料经验与 90 条精选工具收在一起,帮你(的 Agent)在文档、网页和 PPT 发出前,挑出并改掉里面的 AI 味。
20
+ **去 AI 味才是真正的生产力!** `dislop` 是专用的 AI 味检查工具。默认挂进你的 Agent、终端和 CI 自动自检,也提供网页工作台随时手动排查。它把社区验证过的去味规则、语料经验与 90 条精选工具收在一起,帮你和你的 Agent 在文档、网页和 PPT 发出前,挑出并改掉里面的 AI 味。
21
21
 
22
22
  产品分为三层:**纯文档 Skill**(按文体避坑,不含可执行脚本)、**开源本地 CLI 与编辑器插件**(零依赖离线扫出文档、网页、SVG、图片、Word/PPT 与 PDF 里的硬伤与常见套话,开发者也可配置自有密钥做深度审校)、**官方云端 MCP 与网页工作台**(`https://dislop.com/mcp`,免装本地环境,按文体多模型审校并返回结构化问题清单,支持保留原排版的 Word/PPT 处理)。
23
23
 
package/bin/dislop.mjs CHANGED
@@ -2184,11 +2184,18 @@ function runMcpServer(packs, patternByRuleId) {
2184
2184
  }));
2185
2185
  }
2186
2186
 
2187
+ const OFFLINE_TOOL_ANNOTATIONS = {
2188
+ readOnlyHint: true,
2189
+ idempotentHint: true,
2190
+ destructiveHint: false,
2191
+ openWorldHint: false,
2192
+ };
2187
2193
  const tools = [
2188
2194
  {
2189
2195
  name: "dislop_check",
2190
2196
  description:
2191
2197
  "Check a draft (`text` or workspace-relative `path`) for AI-generation artifacts, clichés, and template slop across Markdown, HTML/CSS/JSX/SVG, PNG/JPEG/WebP, Word (.docx), PowerPoint (.pptx), and PDF. Edit only the flagged spans using `fixStrategy`, then run `dislop_verify`.",
2198
+ annotations: OFFLINE_TOOL_ANNOTATIONS,
2192
2199
  inputSchema: {
2193
2200
  type: "object",
2194
2201
  properties: {
@@ -2210,6 +2217,7 @@ function runMcpServer(packs, patternByRuleId) {
2210
2217
  name: "dislop_verify",
2211
2218
  description:
2212
2219
  "Verify a revised draft against its original text (or Git baseline for workspace `path`): checks numbers/qualifiers, required `keep` terms, newly introduced AI slop, length bounds, and anti-degradation guardrails (author perspective, cadence, info density, modality).",
2220
+ annotations: OFFLINE_TOOL_ANNOTATIONS,
2213
2221
  inputSchema: {
2214
2222
  type: "object",
2215
2223
  properties: {
@@ -2229,21 +2237,22 @@ function runMcpServer(packs, patternByRuleId) {
2229
2237
  {
2230
2238
  name: "dislop_rules",
2231
2239
  description: "Unified rule lookup: pass `ruleId` to explain a rule, filters (`query`/`pack`/`dimension`) to search, or empty object to list all packs.",
2240
+ annotations: OFFLINE_TOOL_ANNOTATIONS,
2232
2241
  inputSchema: {
2233
2242
  type: "object",
2234
2243
  properties: {
2235
2244
  ruleId: { type: "string", description: "Optional rule ID to explain with before/trap/after examples" },
2236
2245
  query: { type: "string", description: "Optional keyword search query" },
2237
- pack: { type: "string" },
2238
- category: { type: "string" },
2239
- dimension: { type: "string" },
2240
- family: { type: "string" },
2241
- modality: { type: "string" },
2242
- severity: { type: "string", enum: ["error", "warning", "info"] },
2243
- tier: { type: "string", enum: ["invariant", "taste"] },
2244
- lang: { type: "string", enum: ["en", "zh"] },
2245
- includeExemplars: { type: "boolean" },
2246
- limit: { type: "integer", minimum: 1, maximum: 100 },
2246
+ pack: { type: "string", description: "Filter rules by style pack ID" },
2247
+ category: { type: "string", description: "Filter rules by category identifier" },
2248
+ dimension: { type: "string", description: "Filter pattern bank rules by writing dimension" },
2249
+ family: { type: "string", description: "Filter pattern bank rules by pattern family" },
2250
+ modality: { type: "string", description: "Filter rules by target content modality (text, web, doc, visual)" },
2251
+ severity: { type: "string", enum: ["error", "warning", "info"], description: "Filter rules by severity level" },
2252
+ tier: { type: "string", enum: ["invariant", "taste"], description: "Filter rules by enforcement tier (invariant or taste)" },
2253
+ lang: { type: "string", enum: ["en", "zh"], description: "Optional single-locale filter for rule descriptions and examples" },
2254
+ includeExemplars: { type: "boolean", description: "Include before/trap/after examples in search results (default false)" },
2255
+ limit: { type: "integer", minimum: 1, maximum: 100, description: "Maximum number of matching rules to return (1..100)" },
2247
2256
  },
2248
2257
  },
2249
2258
  },
@@ -2251,6 +2260,7 @@ function runMcpServer(packs, patternByRuleId) {
2251
2260
  name: "dislop_voice_extract",
2252
2261
  description:
2253
2262
  "Extract a deterministic offline `dislop.voice/1` personal style card from 1-15 clean author samples (0 network calls, 0 uploads).",
2263
+ annotations: OFFLINE_TOOL_ANNOTATIONS,
2254
2264
  inputSchema: {
2255
2265
  type: "object",
2256
2266
  properties: {
@@ -2261,7 +2271,7 @@ function runMcpServer(packs, patternByRuleId) {
2261
2271
  maxItems: 15,
2262
2272
  description: "1 to 15 clean sample passages written by the author",
2263
2273
  },
2264
- lang: { type: "string", enum: ["auto", "en", "zh"] },
2274
+ lang: { type: "string", enum: ["auto", "en", "zh"], description: "Language hint for style extraction (auto, en, or zh)" },
2265
2275
  },
2266
2276
  required: ["samples"],
2267
2277
  },
@@ -2270,6 +2280,7 @@ function runMcpServer(packs, patternByRuleId) {
2270
2280
  name: "dislop_model_score",
2271
2281
  description:
2272
2282
  "Run the bundled zero-dependency 15 KB Pocket ML ensemble (`pocket-slop-v1`) + 5-domain pack router on `text` to detect clean-wordlist stealth AI vapor paragraphs and explain top contributing signals (0 network calls).",
2283
+ annotations: OFFLINE_TOOL_ANNOTATIONS,
2273
2284
  inputSchema: {
2274
2285
  type: "object",
2275
2286
  properties: {
@@ -2283,6 +2294,7 @@ function runMcpServer(packs, patternByRuleId) {
2283
2294
  name: "dislop_model_status",
2284
2295
  description:
2285
2296
  "Inspect bundled models, installed optional model weights, hardware memory budget, and recommended optional local model tier.",
2297
+ annotations: OFFLINE_TOOL_ANNOTATIONS,
2286
2298
  inputSchema: {
2287
2299
  type: "object",
2288
2300
  properties: {},
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dislop",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, 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.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Cutting AI slop is real productivity. Linter for AI Slop in docs, web UI, and slides — Skill, Plugin, CLI & MCP.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://dislop.com",
@@ -86,20 +86,28 @@
86
86
  "keywords": [
87
87
  "anti-slop",
88
88
  "de-slop",
89
+ "deslop",
89
90
  "ai-slop",
91
+ "ai-writing",
90
92
  "humanizer",
91
93
  "linter",
92
94
  "proofreading",
93
95
  "agent-skill",
96
+ "claude",
94
97
  "claude-code",
98
+ "cline",
95
99
  "codex",
96
100
  "cursor",
101
+ "windsurf",
97
102
  "llms-txt",
98
103
  "mcp",
104
+ "mcp-server",
99
105
  "model-context-protocol",
100
106
  "markdown",
101
107
  "docx",
102
108
  "pptx",
109
+ "slides",
110
+ "web-ui",
103
111
  "editorial",
104
112
  "typography",
105
113
  "quality-gate"
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.9.0",
4
+ "version": "0.9.1",
5
5
  "description": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, offline CLI, and Official Cloud MCP.",
6
6
  "author": {
7
7
  "name": "dislop-ai",
package/server.json CHANGED
@@ -3,8 +3,14 @@
3
3
  "name": "io.github.dislop-ai/dislop",
4
4
  "title": "dislop",
5
5
  "description": "Cutting AI slop is real productivity. Linter for AI Slop in docs, web UI & slides (Cloud MCP).",
6
- "version": "0.9.0",
6
+ "version": "0.9.1",
7
7
  "websiteUrl": "https://dislop.com",
8
+ "icons": [
9
+ {
10
+ "src": "https://dislop.com/assets/logo.svg",
11
+ "mimeType": "image/svg+xml"
12
+ }
13
+ ],
8
14
  "repository": {
9
15
  "url": "https://github.com/dislop-ai/dislop",
10
16
  "source": "github"
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: dislop
3
- version: 0.9.0
3
+ version: 0.9.1
4
4
  description: "Use when drafting or revising text a person will read: README, docs, PR descriptions, release notes, RFCs, postmortems, CLI help/errors, emails, essays, web pages and UI copy (HTML/CSS/JSX), or Word and PowerPoint files. Removes AI-sounding phrasing, chatbot leftovers, placeholders, and template layouts without changing facts. Skip code logic, tests, refactors, commit messages, and configs with no reader-facing text."
5
5
  ---
6
6
 
7
7
  # dislop
8
8
 
9
- Pick the single card below matching the **language of the text you are writing or editing**, not the request language (English -> `.md` such as `office.md`, Chinese -> `.zh-CN.md`). Read it before drafting or revising. If `./references/` files are unavailable in your host, fetch the same file from `https://dislop.com/tools/references/<file>` (or follow Sections 2–3 directly if offline).
9
+ Pick the single card below matching the **language of the text you are writing or editing**, not the request language (English -> `.md` such as `office.md`, Chinese -> `.zh-CN.md`). Read it before drafting or revising. If `./references/` files are unavailable in your host, follow Sections 2–3 directly.
10
10
 
11
11
  ## 1. Reference Cards
12
12
 
@@ -45,7 +45,7 @@ Match cleanup strategy to the writing scenario (`--register`):
45
45
  ## 4. Check & Finish
46
46
 
47
47
  Run a check only if a callable tool or shell exists in this session:
48
- 1. Only if `dislop_*` tools appear in your active tool list: call `dislop_check` first, then `dislop_review` if needed, and verify edits with `dislop_verify` (pass `register` to match scenario strategy; setup: `https://dislop.com/tools/mcp-sdk-api.md`).
48
+ 1. Only if `dislop_*` tools appear in your active tool list: call `dislop_check` first, then `dislop_review` if needed, and verify edits with `dislop_verify` (pass `register` to match scenario strategy).
49
49
  2. Only if you have a shell tool: run `dislop check <path> --pack auto --register <scenario> --deep` (or `npx --yes dislop check ...`), run `dislop review` with user config (`~/.config/dislop/config.json` / `voice.json`) when deep review is needed, and finish with `dislop verify --git HEAD <path> --register <scenario>` (or `dislop verify <before> <after> --register <scenario>`) to check facts and anti-degradation guards.
50
50
  3. Otherwise, review your draft against Sections 2–3 and the loaded card checklist.
51
51
 
package/src/core.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Shared identically by Node CLI, Node MCP server, and Browser Workbench (`site/`).
4
4
  */
5
5
 
6
- export const ENGINE_VERSION = "0.9.0";
6
+ export const ENGINE_VERSION = "0.9.1";
7
7
 
8
8
  export const SEVERITY_RANK = {
9
9
  info: 1,