dislop 1.1.0 → 1.1.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": "1.1.0"
9
+ "version": "1.1.1"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "dislop",
14
14
  "source": "./",
15
15
  "description": "Cutting AI slop is real productivity. Pluggable editorial and artifact linter (11 modular Packs across docs, web UI, slides, and Office) via pure-doc Skill, offline CLI, local stdio MCP, and Official Cloud MCP.",
16
- "version": "1.1.0",
16
+ "version": "1.1.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": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Cutting AI slop is real productivity. Pluggable editorial and artifact linter (11 modular Packs across docs, web UI, slides, and Office) via pure-doc Skill, offline CLI, local stdio MCP, and Official Cloud MCP.",
5
5
  "author": {
6
6
  "name": "dislop-ai",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dislop",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Cutting AI slop is real productivity. Pluggable editorial and artifact linter (11 modular Packs across docs, web UI, slides, and Office) via pure-doc Skill, offline CLI, local stdio MCP, and Official Cloud MCP.",
5
5
  "author": {
6
6
  "name": "dislop-ai",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dislop",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Cutting AI slop is real productivity. Pluggable editorial and artifact linter (11 modular Packs across docs, web UI, slides, and Office) via pure-doc Skill, offline CLI, local stdio MCP, and Official Cloud MCP.",
5
5
  "author": {
6
6
  "name": "dislop-ai",
package/action.yml CHANGED
@@ -14,6 +14,14 @@ inputs:
14
14
  description: "Optional comma-separated Pack names or paths (e.g., `en/prose,common/artifact-qa`)."
15
15
  required: false
16
16
  default: ""
17
+ fail-on:
18
+ description: "Minimum Defect severity to fail with Exit 1 (`none`, `error`, `warning`)."
19
+ required: false
20
+ default: "error"
21
+ since:
22
+ description: "Optional Git revision (e.g., `origin/main`) to inspect only changed deliverable files."
23
+ required: false
24
+ default: ""
17
25
  level:
18
26
  description: "Suggestion priority filter (`strong`, `moderate`, `hint`, `all`)."
19
27
  required: false
@@ -44,6 +52,8 @@ runs:
44
52
  env:
45
53
  INPUT_PATHS: ${{ inputs.paths }}
46
54
  INPUT_PACK: ${{ inputs.pack }}
55
+ INPUT_FAIL_ON: ${{ inputs.fail-on }}
56
+ INPUT_SINCE: ${{ inputs.since }}
47
57
  INPUT_LEVEL: ${{ inputs.level }}
48
58
  INPUT_FORMAT: ${{ inputs.format }}
49
59
  INPUT_LANG: ${{ inputs.lang }}
@@ -51,10 +61,13 @@ runs:
51
61
  ACTION_DIR: ${{ github.action_path }}
52
62
  run: |
53
63
  set -euo pipefail
54
- ARGS=("check" "--no-llm" "--level" "${INPUT_LEVEL}" "--format" "${INPUT_FORMAT}" "--lang" "${INPUT_LANG}")
64
+ ARGS=("check" "--no-llm" "--fail-on" "${INPUT_FAIL_ON}" "--level" "${INPUT_LEVEL}" "--format" "${INPUT_FORMAT}" "--lang" "${INPUT_LANG}")
55
65
  if [ -n "${INPUT_PACK}" ]; then
56
66
  ARGS+=("--pack" "${INPUT_PACK}")
57
67
  fi
68
+ if [ -n "${INPUT_SINCE}" ]; then
69
+ ARGS+=("--since" "${INPUT_SINCE}")
70
+ fi
58
71
  NONEMPTY_LINES=()
59
72
  while IFS= read -r line; do
60
73
  trimmed="${line#"${line%%[![:space:]]*}"}"
@@ -67,7 +80,9 @@ runs:
67
80
  done
68
81
  elif [ "${#NONEMPTY_LINES[@]}" -eq 1 ]; then
69
82
  only="${NONEMPTY_LINES[0]}"
70
- if [ -e "${only}" ]; then
83
+ if [ -n "${INPUT_SINCE}" ] && [ "${only}" = "." ]; then
84
+ :
85
+ elif [ -e "${only}" ]; then
71
86
  ARGS+=("${only}")
72
87
  else
73
88
  read -r -a words <<< "${only}"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dislop",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Cutting AI slop is real productivity. Pluggable editorial and artifact linter (11 modular Packs across docs, web UI, slides, and Office) via pure-doc Skill, offline CLI, local stdio MCP, 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": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Pluggable Editorial & Artifact Linter (Node.js Micro-Kernel) — Dual-track Defect & Suggestion engine with local-first 3-Tier LLM routing, Fact Gate, interactive hunk review, and 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": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "description": "Cutting AI slop is real productivity. Pluggable editorial and artifact linter (11 modular Packs across docs, web UI, slides, and Office) via pure-doc Skill, offline CLI, local stdio MCP, 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": "Cutting AI slop is real productivity. Editorial and artifact linter for docs, web UI & slides.",
6
- "version": "1.1.0",
6
+ "version": "1.1.1",
7
7
  "websiteUrl": "https://dislop.com",
8
8
  "icons": [
9
9
  {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: dislop
3
- version: 1.1.0
3
+ version: 1.1.1
4
4
  description: "Use when drafting or revising text or deliverables 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/SVG), or Word and PowerPoint files. Removes AI-sounding phrasing, chatbot leftovers, placeholders, and template layouts without changing facts."
5
5
  ---
6
6
 
@@ -10,7 +10,7 @@ CLI check: `dislop check <dir> --pack web-ui --format agent`
10
10
  3. **Skip secondary fallback templates (`glassmorphism-overuse`, `placeholder-ui-copy`, `synthetic-testimonial-cliche`, `fabricated-stat-tile`, `redundant-feature-card-echo`, `verbose-cta-label`)**: Do not replace neon gradients with stacked `backdrop-blur` translucent cards, placeholder subcopy, fabricated stats, or chatty CTA labels.
11
11
  4. **Use clean structural grammar**: Use `1px` rules, clear type scale, `tabular-nums` for aligned metrics, and restrained radii (`0–6px`). When revising existing UI, fix flagged issues in place without redesigning working layout or wrapping a snippet prompt in a full `<!DOCTYPE html>` shell unless asked.
12
12
  5. **Keep UI copy exact**: State only requested labels, counts, states, and existing routes without inventing headings or file names.
13
- 6. **Respect non-UI graphic deliverables (posters, infographics, flowcharts, diagrams, comics)**: Standalone posters are not slide decks—never recommend moving text to speaker notes; open diagram connectors and feedback loops are structural graph edges, never treat them as nested `box-in-box` UI chrome or delete return arrows; keep explicit warm-paper or dark palettes when chosen intentionally.
13
+ 6. **Respect non-UI graphic deliverables (posters, infographics, architecture diagrams)**: Standalone posters are not slide decks—never recommend moving text to speaker notes; diagram connectors and cycle arrows are structural graph edges, never treat them as nested `box-in-box` UI chrome.
14
14
 
15
15
  ## Contrast
16
16
 
@@ -10,7 +10,7 @@
10
10
  3. **别退回第二代替代模板(`glassmorphism-overuse`、`placeholder-ui-copy`、`synthetic-testimonial-cliche`、`fabricated-stat-tile`、`redundant-card-subcopy`、`verbose-cta-label`)**:不要把紫粉渐变换成满屏半透明毛玻璃卡片、占位假文案、无来源背书数据、同义重复卡片描述或冗长客套按钮文案。
11
11
  4. **用克制的版面结构呈现数据**:用 `1px` 细线、清晰字号层级与 `tabular-nums` 等宽数字对齐指标,保持按钮与面板克制圆角(`0–6px`)。要求输出片段时直接给组件片段,不要擅自套整页 `<!DOCTYPE html>` 壳;改旧页面时保留本来正常的布局,不无故重做。
12
12
  5. **界面文案直说数字和路径**:只写需求给出的文案标签、计数、状态与真实路径,不塞宣传口号,不自己编维护时间或导出文件名。
13
- 6. **区分网页组件与海报/信息图/流程图/条漫**:单张海报或信息图不是演示文稿,不要建议“挪进演讲备注”;流程图里的开放连线和反馈回流箭头是结构关系,不要误判成多层套盒或建议删线;刻意设计的暖宣纸、暗底配色与漫画气泡予以保留。
13
+ 6. **区分网页组件与海报、信息图、架构流程图**:单张海报或信息图不是演示文稿,不要建议“挪进演讲备注”;架构图和流程图里的连线与回路箭头属于结构关系,不要误判成多层套盒边框。
14
14
 
15
15
  ## 三段对照
16
16
 
@@ -4,4 +4,4 @@ const pkg = JSON.parse(
4
4
  fs.readFileSync(new URL("../../package.json", import.meta.url), "utf8"),
5
5
  );
6
6
 
7
- export const DISLOP_VERSION = String(pkg.version || "1.1.0");
7
+ export const DISLOP_VERSION = String(pkg.version || "1.1.1");