zero-slop 2.12.25 → 2.12.27

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 CHANGED
@@ -14,7 +14,7 @@ Zero Slop is a free, open-source agent skill that finds and removes AI slop whil
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.25" src="https://img.shields.io/badge/version-2.12.25-72528F?color=C15732">
17
+ <img alt="Version 2.12.27" src="https://img.shields.io/badge/version-2.12.27-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.25 deslop draft.md --genre professional
179
+ npx --yes zero-slop@2.12.27 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.25"
5
+ version: "2.12.27"
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
@@ -3,7 +3,7 @@
3
3
  Use `deslop` for hosted editing with MCP parity. Use `score` for offline checks.
4
4
 
5
5
  ```sh
6
- npm install --global zero-slop@2.12.25
6
+ npm install --global zero-slop@2.12.27
7
7
  zero-slop deslop draft.md --genre professional
8
8
  zero-slop deslop - --genre email < draft.txt
9
9
  zero-slop deslop draft.md --json --require-approved
package/docs/rest-api.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Zero Slop REST API
2
2
 
3
3
  `POST https://mcp.zero-slop.ai/v1/deslop` edits one draft through the same pipeline
4
- as the hosted MCP `deslop` tool. It returns the same 14 fields, including the edit,
5
- writing scores, source-check result, and review status.
4
+ as the hosted MCP `deslop` tool. Both return the edit, writing scores, source-check
5
+ result, review status, and optional editor diagnostics.
6
6
 
7
7
  The [OpenAPI 3.1.2 contract](https://mcp.zero-slop.ai/openapi.json) is generated
8
8
  from the schemas used to validate MCP and REST requests and results. Import it
@@ -91,7 +91,7 @@ every check.
91
91
  | `unchanged_verification_failed` | Keep the original; proposed edits failed source checks |
92
92
  | `unchanged_service_unavailable` | Keep the original; the model did not yield a usable edit |
93
93
 
94
- The successful response contains these 14 fields:
94
+ The successful response retains these 14 required fields:
95
95
 
96
96
  | Field | Meaning |
97
97
  |---|---|
@@ -109,6 +109,23 @@ The successful response contains these 14 fields:
109
109
  | `durationMs` | Server processing time in milliseconds |
110
110
  | `note` | Review guidance, including any limitations |
111
111
 
112
+ The optional `editorDiagnostics` field contains only bounded operational metadata:
113
+
114
+ | Field | Meaning |
115
+ |---|---|
116
+ | `endpointHttpStatus` | Observed HTTP status from the gateway's editor endpoint, from 100 to 599; distinct from this REST response's status |
117
+ | `providerAttempts` | Up to two ordered attempts reported by the endpoint; each has a fixed `provider` and `outcome` |
118
+ | `providerAttempts[].failureStage` | Optional `invoke`, `fetch`, `http`, or `body` stage reported for a failed attempt |
119
+ | `providerAttempts[].httpStatus` | Optional observed provider HTTP status, from 100 to 599, for an `http` or `body` failure |
120
+
121
+ Providers are `workers-ai` or `openrouter`. Outcomes are `success`, `timeout`,
122
+ `cancelled`, `capacity`, `invalid_output`, `configuration`, or `unavailable`.
123
+ Missing metadata remains unknown. Absence does not prove that an editor request or
124
+ provider attempt never started. These fields contain no drafts, response bodies,
125
+ headers, credentials, model names, or arbitrary error messages. They do not alter
126
+ rewrite approval, source checks, model-attempt counts, or retry guidance, and are
127
+ not added to aggregate analytics. Already-clear results omit this field.
128
+
112
129
  `scoreChange` is after minus before, so a negative value means the measured score fell.
113
130
  The writing score is not a probability that AI wrote the draft.
114
131
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zero-slop",
3
- "version": "2.12.25",
3
+ "version": "2.12.27",
4
4
  "description": "Find and fix canned AI writing while preserving the facts, voice, and format.",
5
5
  "mcpServers": {
6
6
  "zero-slop": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zero-slop",
3
- "version": "2.12.25",
3
+ "version": "2.12.27",
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.25",
4
+ "version": "2.12.27",
5
5
  "description": "Find and fix canned AI writing while preserving the facts, voice, and format.",
6
6
  "author": {
7
7
  "name": "Manav Mishra",