zero-slop 2.12.33 → 2.12.35
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/README.md +2 -2
- package/SKILL.md +1 -1
- package/docs/cli.md +1 -1
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/scripts/rescue.py +10 -0
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ It finds AI slop and workslop, guides the edit, and checks that the key details
|
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
16
16
|
<a href="https://github.com/manavmishra/ZeroSlop/actions/workflows/validate.yml"><img alt="Validate" src="https://github.com/manavmishra/ZeroSlop/actions/workflows/validate.yml/badge.svg"></a>
|
|
17
|
-
<img alt="Version 2.12.
|
|
17
|
+
<img alt="Version 2.12.35" src="https://img.shields.io/badge/version-2.12.35-72528F?color=C15732">
|
|
18
18
|
<a href="https://www.npmjs.com/package/zero-slop"><img alt="npm version" src="https://img.shields.io/npm/v/zero-slop?color=C15732"></a>
|
|
19
19
|
<a href="https://www.npmjs.com/package/zero-slop"><img alt="npm downloads" src="https://img.shields.io/npm/dm/zero-slop?color=17634F"></a>
|
|
20
20
|
<a href="https://github.com/manavmishra/ZeroSlop/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/manavmishra/ZeroSlop?style=flat&color=C15732"></a>
|
|
@@ -176,7 +176,7 @@ python3 scripts/slopscore.py --batch drafts/ --gate 25
|
|
|
176
176
|
The CLI sends a file to the hosted editor without changing the file on disk:
|
|
177
177
|
|
|
178
178
|
```sh
|
|
179
|
-
npx --yes zero-slop@2.12.
|
|
179
|
+
npx --yes zero-slop@2.12.35 deslop draft.md --genre professional
|
|
180
180
|
```
|
|
181
181
|
|
|
182
182
|
Use `-` for stdin and `--json` for structured output. `--require-approved` prints the result but exits nonzero when review is needed. Requires Node.js 22+; offline `score` also needs Python 3. [CLI options and privacy](docs/cli.md).
|
package/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: zero-slop
|
|
3
3
|
license: MIT
|
|
4
4
|
metadata:
|
|
5
|
-
version: "2.12.
|
|
5
|
+
version: "2.12.35"
|
|
6
6
|
author: manavmishra
|
|
7
7
|
description: Edit drafts into natural prose, inspect AI-sounding patterns, or review how a specified audience might respond passage by passage. Zero Slop runs inside the user's existing AI assistant with local tools that protect source details. Use for humanizing or de-slopping writing, polishing outward-facing prose, social drafts, final editorial checks, or an explicit simulated reader review. Preserve facts, voice and format; reader simulations are hypotheses, not human feedback.
|
|
8
8
|
---
|
package/docs/cli.md
CHANGED
|
@@ -19,7 +19,7 @@ are not authentication or provenance evidence.
|
|
|
19
19
|
Use `deslop` for hosted editing with MCP parity. Use `score` for offline checks.
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
|
-
npm install --global zero-slop@2.12.
|
|
22
|
+
npm install --global zero-slop@2.12.35
|
|
23
23
|
zero-slop deslop draft.md --genre professional
|
|
24
24
|
zero-slop deslop - --genre email < draft.txt
|
|
25
25
|
zero-slop deslop draft.md --json --require-approved
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zero-slop",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.35",
|
|
4
4
|
"description": "An editing skill, offline writing checks, and a CLI for the hosted Zero Slop MCP pipeline. Find stock AI phrasing, rewrite, and check source details.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"zero-slop": "bin/zero-slop.mjs"
|
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": "zero-slop",
|
|
4
|
-
"version": "2.12.
|
|
4
|
+
"version": "2.12.35",
|
|
5
5
|
"description": "Find and fix canned AI writing while preserving the facts, voice, and format.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Manav Mishra",
|
package/scripts/rescue.py
CHANGED
|
@@ -147,6 +147,16 @@ def rescue_text(text: str) -> str:
|
|
|
147
147
|
r"thrilled to announce a game[-\u2011]changing update\b",
|
|
148
148
|
lambda m: m.group(1) + m.group(2) + m.group(3) + " thrilled to announce an update", out,
|
|
149
149
|
)
|
|
150
|
+
# Recast a versioned release opener without changing the authored feeling
|
|
151
|
+
# or product. Drop the stock modifier in a complete update appositive.
|
|
152
|
+
out = re.sub(
|
|
153
|
+
r"(^|[.!?][ \t\r\n]+|\r?\n[ \t]*\r?\n[ \t]*)([Ww]e(?:['’]re| are) incredibly excited) "
|
|
154
|
+
r"to announce([ \t]+[A-Z][A-Za-z0-9_-]*(?:[ \t]+[A-Z][A-Za-z0-9_-]*){0,3}"
|
|
155
|
+
r"[ \t]+v?[0-9]+(?:\.[0-9]+){1,3})(?=[,.!?](?![0-9])|$)"
|
|
156
|
+
r"(?:(,[ \t]+)a game[-\u2011]changing update(?=[.!?]|$))?",
|
|
157
|
+
lambda m: m[1] + m[2] + " about announcing" + m[3] + (m[4] + "an update" if m[4] else ""),
|
|
158
|
+
out,
|
|
159
|
+
)
|
|
150
160
|
rules: list[tuple[str, str | object]] = [
|
|
151
161
|
(
|
|
152
162
|
r"\bwe are thrilled to unveil ([^,\n]+),\s+a transformative release that "
|