@cleanslop/cli 0.1.8-beta.64 → 0.2.0
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 +17 -7
- package/dist/args.d.ts +1 -1
- package/dist/args.js +2 -1
- package/dist/args.js.map +1 -1
- package/dist/config.d.ts +2 -2
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -10,6 +10,14 @@ Readiness scans from your coding agent. The CLI starts a [CleanSlop](https://cle
|
|
|
10
10
|
- Agent guide (Markdown): <https://cleanslop.com/agents.md>
|
|
11
11
|
- Prefer MCP? Install the remote server: <https://cleanslop.com/mcp>
|
|
12
12
|
|
|
13
|
+
## New in 0.2.0
|
|
14
|
+
|
|
15
|
+
- **Rescans check only what changed.** `cleanslop scan` builds on the last scan of the same branch, or of the same uploaded folder, and costs only the files changed since. It prints which scan it built on, or why it ran a full scan. `--full` scans everything again; when nothing changed, it asks before doing that.
|
|
16
|
+
- **Credits.** Balances, plans and packs are counted in credits. A scan priced over 4 credits stops before it is charged and asks; after a yes, rerun with `--confirm-credits <credits>`.
|
|
17
|
+
- **The Claude Code plugin moved** to [cleanslop/skills](https://github.com/cleanslop/skills).
|
|
18
|
+
|
|
19
|
+
Everything else is in [CHANGELOG.md](./CHANGELOG.md).
|
|
20
|
+
|
|
13
21
|
## Quick start
|
|
14
22
|
|
|
15
23
|
```bash
|
|
@@ -24,14 +32,14 @@ Requires Node 22 or later (Node 20 is end-of-life; npm warns there). **Zero runt
|
|
|
24
32
|
|
|
25
33
|
| Command | Purpose |
|
|
26
34
|
|---|---|
|
|
27
|
-
| `scan` (default) | Resolve the github.com origin + HEAD
|
|
35
|
+
| `scan` (default) | Resolve the github.com origin + HEAD and start a scan. It builds on the last scan of the branch (or of the uploaded folder) and costs only the files changed since. `--wait` waits for the report; `--full` scans everything again; `--upload` scans the local files instead of the pushed commit (after the human picks it); `--confirm-credits <credits>` approves a price over 4 credits, only after the human says yes; `--force` skips the same-commit dedupe |
|
|
28
36
|
| `login [--link [--agree]] [--no-wait \| --resume]` | RFC 8628 device flow. Prints `verification_uri_complete` and `user_code`. `--no-wait` stores the device code; `--resume` finishes it. `--link` signs up or signs in with Stripe Link through `link-cli` instead of GitHub; pass `--agree` only after the human says yes to the quoted terms question. Never prints the token. |
|
|
29
37
|
| `logout [--all]` | Revoke server-side, delete this origin's credentials, and drop its pending GitHub login and Link payment. `--all` revokes every saved origin's token and deletes all local CleanSlop data (Link's own session and `~/.link-cli` files stay; `link-cli auth logout` clears the session) |
|
|
30
|
-
| `whoami` | Connected `@login
|
|
38
|
+
| `whoami` | Connected `@login`, token last4, plan with its monthly credits, and credits remaining (with what a scan costs). `--json` adds `creditBalance` |
|
|
31
39
|
| `status [id] [--wait]` | Poll scan status |
|
|
32
40
|
| `report [id] [--format md\|json] [--preview]` | Fetch `cleanslop.report.v1` (the whole list: `limit=250`). A final Markdown report with confirmed or needs-input findings is followed on stderr by a `fix_findings` question (Fix them / Show me first / Not now); `scan` does the same. Exit stays 0. |
|
|
33
41
|
| `setup` | Idempotent skill/rules. Never logs in, never writes a token |
|
|
34
|
-
| `redeem <code>` | Redeem a promo (invite) code the human gave you for
|
|
42
|
+
| `redeem <code>` | Redeem a promo (invite) code the human gave you for bonus credits (`POST /api/agent/v1/credits/redeem`). One code per account; `promo_invalid` / `promo_already_redeemed` exit 12 with an `ask_human` block. |
|
|
35
43
|
| `credits buy --link [--pack p5\|p15\|p40] [--no-promo] [--no-wait \| --resume]` | Link account: buys a one-time credit pack from a Link approval (`link-cli spend-request create`), then `POST /api/agent/v1/credits/purchases`. `--pack` is required without a terminal (the human picks); a terminal defaults to `p5`. `--no-promo` skips the promo-code choice. `--no-wait` prints what to approve and exits 10; `--resume` continues it, saved in `pending-spend-request.json`. |
|
|
36
44
|
| `billing` | Link account: `POST /api/agent/v1/billing/sign-in-link` has the server email a sign-in link to the account's Link address, where the human subscribes, buys credits or cancels a plan. Prints the masked address it went to, plus `/signin/email?from=agent` and the masked email to type if it does not arrive. When the server cannot send (email login off, rate limited) or is older (404, read `webBilling` from `GET /me`), it prints only the typed-address page. The CLI never sees the link. Exits 10 with an `ask_human` block; `--json` prints `{sent, expiresAt \| reason, webBilling}`. Prints "Not available for this account" (exit 0) without `webBilling`. |
|
|
37
45
|
| `plan [starter\|pro\|max]` | Link account: starts a monthly plan paid each month from a recurring Link approval (`link-cli spend-request create --recurring-interval month`), then `POST /api/agent/v1/plans/purchases`. Without a plan name an agent gets a `link_plan` question (Starter, Pro, Max with monthly prices, Not now). Same `--no-wait` / `--resume` flow as `credits buy --link`, saved in its own `pending-plan-request.json`. When CleanSlop offers no Link plans it does what `billing` does. Prints "Started the CleanSlop … plan" (exit 0). Change or cancel the plan with `billing`. |
|
|
@@ -56,7 +64,7 @@ Default is **user scope**:
|
|
|
56
64
|
|
|
57
65
|
`--project` writes `.cursor/rules/cleanslop.mdc` and an `AGENTS.md` marker in the current repo. `--dry-run` / non-TTY without `--yes` only print the plan. `--uninstall` removes the marker blocks / owned files.
|
|
58
66
|
|
|
59
|
-
Skill / Cursor rules / AGENTS snippet are generated from [`assets/skill-core.md`](./assets/skill-core.md)
|
|
67
|
+
Skill / Cursor rules / AGENTS snippet are generated from [`assets/skill-core.md`](./assets/skill-core.md). The Claude Code plugin's `SKILL.md` in [cleanslop/skills](https://github.com/cleanslop/skills) is rendered from the same file. Remote MCP is a separate install: see <https://cleanslop.com/mcp>.
|
|
60
68
|
|
|
61
69
|
## Credentials
|
|
62
70
|
|
|
@@ -73,7 +81,7 @@ Skill / Cursor rules / AGENTS snippet are generated from [`assets/skill-core.md`
|
|
|
73
81
|
| 0 | Done |
|
|
74
82
|
| 1 | Unexpected error |
|
|
75
83
|
| 2 | Usage or config |
|
|
76
|
-
| 10 | Human action (approve, install, reauth) |
|
|
84
|
+
| 10 | Human action (approve, install, reauth, or a question such as a scan price to confirm) |
|
|
77
85
|
| 11 | Payment (402) |
|
|
78
86
|
| 12 | Policy (waitlisted, beta, cap) |
|
|
79
87
|
| 13 | Source unavailable (dirty, unpushed, not github.com) |
|
|
@@ -84,13 +92,15 @@ Skill / Cursor rules / AGENTS snippet are generated from [`assets/skill-core.md`
|
|
|
84
92
|
|
|
85
93
|
## Claude Code plugin
|
|
86
94
|
|
|
87
|
-
|
|
95
|
+
The plugin, which bundles the skill and the remote MCP server, lives in [cleanslop/skills](https://github.com/cleanslop/skills):
|
|
88
96
|
|
|
89
97
|
```text
|
|
90
|
-
/plugin marketplace add cleanslop/
|
|
98
|
+
/plugin marketplace add cleanslop/skills
|
|
91
99
|
/plugin install cleanslop@cleanslop
|
|
92
100
|
```
|
|
93
101
|
|
|
102
|
+
The `cleanslop` marketplace in this repository still works; it now installs the plugin from cleanslop/skills.
|
|
103
|
+
|
|
94
104
|
## Development
|
|
95
105
|
|
|
96
106
|
```bash
|
package/dist/args.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import type { ParsedArgs } from "./types.js";
|
|
|
2
2
|
export declare const FEEDBACK_KINDS: readonly ["bug", "confusing", "false_positive", "idea", "other"];
|
|
3
3
|
export declare function parseWaitMs(raw: string, fallback?: number): number;
|
|
4
4
|
export declare function parseArgs(argv: string[], defaultWaitMs?: number): ParsedArgs;
|
|
5
|
-
export declare const HELP_TEXT = "cleanslop \u2014 CleanSlop agent CLI\n\nUsage:\n cleanslop [scan] [--wait [duration]] [--json] [--force] [--preview] [--upload]\n cleanslop login [--link] [--agree] [--no-wait | --resume]\n cleanslop link-identity [--no-wait | --resume]\n cleanslop credits buy --link [--pack p5] [--no-promo] [--no-wait | --resume]\n cleanslop redeem <code>\n cleanslop billing\n cleanslop plan [starter|pro|max] [--no-wait | --resume]\n cleanslop logout [--all]\n cleanslop whoami\n cleanslop status [id] [--wait [duration]]\n cleanslop report [id] [--format md|json] [--preview]\n cleanslop email <id> --consent \"<exact question>\" [--reply \"<human reply>\"]\n cleanslop setup [--dry-run] [--uninstall] [--project] [--yes]\n cleanslop feedback \"<message>\" [--kind bug|confusing|false_positive|idea|other]\n [--scan <id>] [--finding <fp1_\u2026>] [--new]\n cleanslop feedback --replies\n\nscan is the default command. GitHub App repos, or a packed upload when /me\nreports uploads:true (Link). With uploadFallback:true (GitHub), a folder not\non GitHub asks whether to upload its files, and a dirty or unpushed checkout\nasks whether to upload them or push first. --dry-run on scan lists the upload pack.\n\nbilling (Link accounts): prints where the human manages the plan and credits\non the web and the masked email to enter there, then exits 10 to relay it.\n\nfeedback: sends the human's words to the CleanSlop team (ask first; no code,\nfile contents, secrets or paths). --replies shows answers from the team.\n\nplan (Link accounts): starts a monthly plan paid each month from a recurring\nLink approval. Without a plan name it asks which one. When CleanSlop offers no\nLink plans, it does what billing does.\n\nWait:\n --wait poll until final or the budget (default 8 minutes)\n --wait 75m Claude Code background budget (hours/minutes/seconds: 1h, 75m, 30s)\n At the deadline: exit 75 and print a resume command. The scan keeps running.\n\nFlags:\n --json one JSON document on stdout\n --force skip same-commit dedupe (sends Idempotency-Key)\n --full scan: rescan everything instead of only what changed since the last scan\n --preview first-pass report before judgment is final\n --upload scan: upload the local files instead of the pushed commit (after the human picks it)\n --confirm-credits scan: the price the human approved for a scan over 4 credits (only after they say yes)\n --no-wait login / link-identity / credits buy / plan: print what to approve and exit 10\n --resume login / link-identity / credits buy / plan: continue a pending --no-wait approval\n --link login: Stripe Link sign-up / sign-in (requires link-cli)\n --agree login --link: pass only after the human answers yes to the quoted terms question\n (--accept-terms --yes-share-email together still work)\n --pack credits buy: p5, p15, or p40. Required without a terminal (the human picks); a terminal defaults to p5. Price and network id come from CleanSlop.\n --no-promo credits buy: skip the promo-code choice (the human already chose to buy)\n --all logout: revoke every saved token and delete all local CleanSlop data\n (without it, logout signs out of this origin and drops its pending login and Link payment)\n --dry-run setup: print the plan. scan (upload): list the pack, upload nothing\n --uninstall setup: remove marker blocks / skill files\n --project setup: project files instead of user scope\n --yes setup: write in a non-TTY (otherwise non-TTY is a plan only)\n --consent email: the exact masked-recipient question you asked\n --reply email: optional verbatim human reply\n --kind feedback: what it is about (default other)\n --scan feedback: the scan it is about\n --finding feedback: a finding id from that scan's report (false_positive)\n --new feedback: start a new conversation instead of adding to the last\n --replies feedback: show replies from the CleanSlop team\n\nEnv:\n CLEANSLOP_ORIGIN API origin (default https://cleanslop.com)\n CLEANSLOP_TOKEN bearer token override (never printed)\n CLEANSLOP_LINK_CLI path to link-cli 1.2.0+ (default: link-cli on PATH if 1.2.0+,\n else npx @stripe/link-cli@1.3.0)\n\nCredentials: $XDG_CONFIG_HOME/cleanslop/credentials.json or ~/.config/cleanslop/\nDirectory 0700, file 0600. Never stored inside the git worktree.\n\nExit codes: 0 ok \u00B7 1 unexpected \u00B7 2 usage \u00B7 10 human action \u00B7 11 payment\n 12 policy \u00B7 13 source \u00B7 20 scan failed \u00B7 75 still running\n\nNever open, approve, or pay yourself. Relay CLEANSLOP_ACTION_REQUIRED blocks.\nAsk a CLEANSLOP_QUESTION with your multiple-choice question tool when you have\none (never ask the human to type \"Done\"), using exactly its options. Never\nanswer for the human.\n";
|
|
5
|
+
export declare const HELP_TEXT = "cleanslop \u2014 CleanSlop agent CLI\n\nUsage:\n cleanslop [scan] [--wait [duration]] [--json] [--full] [--force] [--preview] [--upload]\n [--confirm-credits <credits>]\n cleanslop login [--link] [--agree] [--no-wait | --resume]\n cleanslop link-identity [--no-wait | --resume]\n cleanslop credits buy --link [--pack p5] [--no-promo] [--no-wait | --resume]\n cleanslop redeem <code>\n cleanslop billing\n cleanslop plan [starter|pro|max] [--no-wait | --resume]\n cleanslop logout [--all]\n cleanslop whoami\n cleanslop status [id] [--wait [duration]]\n cleanslop report [id] [--format md|json] [--preview]\n cleanslop email <id> --consent \"<exact question>\" [--reply \"<human reply>\"]\n cleanslop setup [--dry-run] [--uninstall] [--project] [--yes]\n cleanslop feedback \"<message>\" [--kind bug|confusing|false_positive|idea|other]\n [--scan <id>] [--finding <fp1_\u2026>] [--new]\n cleanslop feedback --replies\n\nscan is the default command. GitHub App repos, or a packed upload when /me\nreports uploads:true (Link). With uploadFallback:true (GitHub), a folder not\non GitHub asks whether to upload its files, and a dirty or unpushed checkout\nasks whether to upload them or push first. --dry-run on scan lists the upload pack.\n\nbilling (Link accounts): prints where the human manages the plan and credits\non the web and the masked email to enter there, then exits 10 to relay it.\n\nfeedback: sends the human's words to the CleanSlop team (ask first; no code,\nfile contents, secrets or paths). --replies shows answers from the team.\n\nplan (Link accounts): starts a monthly plan paid each month from a recurring\nLink approval. Without a plan name it asks which one. When CleanSlop offers no\nLink plans, it does what billing does.\n\nWait:\n --wait poll until final or the budget (default 8 minutes)\n --wait 75m Claude Code background budget (hours/minutes/seconds: 1h, 75m, 30s)\n At the deadline: exit 75 and print a resume command. The scan keeps running.\n\nFlags:\n --json one JSON document on stdout\n --force skip same-commit dedupe (sends Idempotency-Key)\n --full scan: rescan everything instead of only what changed since the last scan\n --preview first-pass report before judgment is final\n --upload scan: upload the local files instead of the pushed commit (after the human picks it)\n --confirm-credits scan: the price the human approved for a scan over 4 credits (only after they say yes)\n --no-wait login / link-identity / credits buy / plan: print what to approve and exit 10\n --resume login / link-identity / credits buy / plan: continue a pending --no-wait approval\n --link login: Stripe Link sign-up / sign-in (requires link-cli)\n --agree login --link: pass only after the human answers yes to the quoted terms question\n (--accept-terms --yes-share-email together still work)\n --pack credits buy: p5, p15, or p40. Required without a terminal (the human picks); a terminal defaults to p5. Price and network id come from CleanSlop.\n --no-promo credits buy: skip the promo-code choice (the human already chose to buy)\n --all logout: revoke every saved token and delete all local CleanSlop data\n (without it, logout signs out of this origin and drops its pending login and Link payment)\n --dry-run setup: print the plan. scan (upload): list the pack, upload nothing\n --uninstall setup: remove marker blocks / skill files\n --project setup: project files instead of user scope\n --yes setup: write in a non-TTY (otherwise non-TTY is a plan only)\n --consent email: the exact masked-recipient question you asked\n --reply email: optional verbatim human reply\n --kind feedback: what it is about (default other)\n --scan feedback: the scan it is about\n --finding feedback: a finding id from that scan's report (false_positive)\n --new feedback: start a new conversation instead of adding to the last\n --replies feedback: show replies from the CleanSlop team\n\nEnv:\n CLEANSLOP_ORIGIN API origin (default https://cleanslop.com)\n CLEANSLOP_TOKEN bearer token override (never printed)\n CLEANSLOP_LINK_CLI path to link-cli 1.2.0+ (default: link-cli on PATH if 1.2.0+,\n else npx @stripe/link-cli@1.3.0)\n\nCredentials: $XDG_CONFIG_HOME/cleanslop/credentials.json or ~/.config/cleanslop/\nDirectory 0700, file 0600. Never stored inside the git worktree.\n\nExit codes: 0 ok \u00B7 1 unexpected \u00B7 2 usage \u00B7 10 human action \u00B7 11 payment\n 12 policy \u00B7 13 source \u00B7 20 scan failed \u00B7 75 still running\n\nNever open, approve, or pay yourself. Relay CLEANSLOP_ACTION_REQUIRED blocks.\nAsk a CLEANSLOP_QUESTION with your multiple-choice question tool when you have\none (never ask the human to type \"Done\"), using exactly its options. Never\nanswer for the human.\n";
|
package/dist/args.js
CHANGED
|
@@ -257,7 +257,8 @@ export function parseArgs(argv, defaultWaitMs = DEFAULT_WAIT_MS) {
|
|
|
257
257
|
export const HELP_TEXT = `cleanslop — CleanSlop agent CLI
|
|
258
258
|
|
|
259
259
|
Usage:
|
|
260
|
-
cleanslop [scan] [--wait [duration]] [--json] [--force] [--preview] [--upload]
|
|
260
|
+
cleanslop [scan] [--wait [duration]] [--json] [--full] [--force] [--preview] [--upload]
|
|
261
|
+
[--confirm-credits <credits>]
|
|
261
262
|
cleanslop login [--link] [--agree] [--no-wait | --resume]
|
|
262
263
|
cleanslop link-identity [--no-wait | --resume]
|
|
263
264
|
cleanslop credits buy --link [--pack p5] [--no-promo] [--no-wait | --resume]
|
package/dist/args.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"args.js","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAGvC,MAAM,QAAQ,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GAAG,CAAC,EAAE,GAAG,KAAK,CAAC;gBACf,MAAM;QACV,CAAC;IACH,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFxB,CAAC"}
|
package/dist/config.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const PACKAGE_NAME = "@cleanslop/cli";
|
|
2
|
-
export declare const PACKAGE_VERSION = "0.
|
|
2
|
+
export declare const PACKAGE_VERSION = "0.2.0";
|
|
3
3
|
export declare const CLIENT_ID = "cleanslop-cli";
|
|
4
4
|
export declare const DEFAULT_ORIGIN = "https://cleanslop.com";
|
|
5
5
|
export declare const DEFAULT_WAIT_MS: number;
|
|
6
6
|
export declare const MIN_POLL_MS = 3000;
|
|
7
7
|
export declare const LONGPOLL_MAX_SEC = 45;
|
|
8
8
|
export declare const DEVICE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";
|
|
9
|
-
export declare const USER_AGENT = "cleanslop-cli/0.
|
|
9
|
+
export declare const USER_AGENT = "cleanslop-cli/0.2.0";
|
|
10
10
|
/** What this CLI supports, sent on every request (`confirm-credits`: it can confirm scan prices). */
|
|
11
11
|
export declare const CLI_FEATURES = "confirm-credits";
|
|
12
12
|
export declare const CREDENTIALS_FILE = "credentials.json";
|
package/dist/config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const PACKAGE_NAME = "@cleanslop/cli";
|
|
2
|
-
export const PACKAGE_VERSION = "0.
|
|
2
|
+
export const PACKAGE_VERSION = "0.2.0";
|
|
3
3
|
export const CLIENT_ID = "cleanslop-cli";
|
|
4
4
|
export const DEFAULT_ORIGIN = "https://cleanslop.com";
|
|
5
5
|
export const DEFAULT_WAIT_MS = 8 * 60 * 1000;
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAC7C,MAAM,CAAC,MAAM,eAAe,GAAG,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAC7C,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC;AACvC,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAC;AACzC,MAAM,CAAC,MAAM,cAAc,GAAG,uBAAuB,CAAC;AACtD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;AAC7C,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC;AAChC,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,CAAC;AACnC,MAAM,CAAC,MAAM,iBAAiB,GAC5B,8CAA8C,CAAC;AACjD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,SAAS,IAAI,eAAe,EAAE,CAAC;AAC5D,qGAAqG;AACrG,MAAM,CAAC,MAAM,YAAY,GAAG,iBAAiB,CAAC;AAC9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AACnD,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AACvD,MAAM,CAAC,MAAM,kBAAkB,GAAG,4BAA4B,CAAC;AAC/D,MAAM,CAAC,MAAM,iBAAiB,GAAG,2BAA2B,CAAC;AAC7D,MAAM,CAAC,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG,wBAAwB,CAAC;AACzD,MAAM,CAAC,MAAM,QAAQ,GAAG,qCAAqC,CAAC;AAC9D,qDAAqD;AACrD,MAAM,CAAC,MAAM,gBAAg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C;IACxC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleanslop/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "CleanSlop CLI — readiness scans from your coding agent",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code-review",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsc -p tsconfig.json",
|
|
41
41
|
"test": "c8 --config c8.config.json node --import tsx --test --test-reporter spec 'test/**/*.test.ts'",
|
|
42
|
-
"plugin:skill": "tsx scripts/render-plugin-skill.ts",
|
|
43
42
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
44
43
|
},
|
|
45
44
|
"license": "MIT",
|