supercov 2.0.0 → 2.0.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.
- package/README.md +33 -0
- package/package.json +13 -10
package/README.md
CHANGED
|
@@ -16,6 +16,8 @@ Scoring needs a [TypeSafe AI](https://typesafe.ai) API key, and your coding agen
|
|
|
16
16
|
|
|
17
17
|
Supported languages: [JavaScript](https://supercov.com/docs/javascript) · [TypeScript](https://supercov.com/docs/javascript) · [Rust](https://supercov.com/docs/rust) · [Python](https://supercov.com/docs/python) · [Ruby](https://supercov.com/docs/ruby) · [Go](https://supercov.com/docs/go) · [Java](https://supercov.com/docs/java) · [Kotlin](https://supercov.com/docs/kotlin).
|
|
18
18
|
|
|
19
|
+
In Claude Code, Codex and Gemini CLI you can also [install it as a plugin](#give-supercov-a-job).
|
|
20
|
+
|
|
19
21
|
Supported by [Supercorp](https://supercorp.ai).
|
|
20
22
|
|
|
21
23
|
[Agent workflow](https://supercov.com/docs/agent-loop): ask your coding agent
|
|
@@ -168,6 +170,37 @@ exports the editor schema; `assertions validate --file <path>` checks JSON synta
|
|
|
168
170
|
|
|
169
171
|
Paste one of these prompts into Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, or any coding agent that can run terminal commands.
|
|
170
172
|
|
|
173
|
+
Or install the agent skill, and your agent reaches for Supercov on its own when you ask for tests, coverage, refactoring or a security scan. In Claude Code:
|
|
174
|
+
|
|
175
|
+
```text
|
|
176
|
+
/plugin marketplace add supercorp-ai/supercov
|
|
177
|
+
/plugin install supercov@supercov
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
In Codex:
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
codex plugin marketplace add supercorp-ai/supercov
|
|
184
|
+
codex plugin add supercov@supercov
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
In Gemini CLI:
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
gemini extensions install https://github.com/supercorp-ai/supercov
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
For Cursor, GitHub Copilot and other agents that read skills: `npx skills add supercorp-ai/supercov`.
|
|
194
|
+
|
|
195
|
+
The Claude Code plugin and the Gemini CLI extension also add four commands you can type:
|
|
196
|
+
|
|
197
|
+
| Command | What it does |
|
|
198
|
+
| --- | --- |
|
|
199
|
+
| `/supercov:coverage [test command]` | Writes one test for code no test reaches, and reports coverage before and after |
|
|
200
|
+
| `/supercov:security [patch]` | Scans the repository, or a change, for security vulnerabilities |
|
|
201
|
+
| `/supercov:quality [patch]` | Ranks files by code smells, or checks what a change introduced |
|
|
202
|
+
| `/supercov:review [--base ref]` | Checks a branch or uncommitted change for security and quality problems |
|
|
203
|
+
|
|
171
204
|
### Write the first useful test
|
|
172
205
|
|
|
173
206
|
```text
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supercov",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Coverage, security and code quality for coding agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
"test:html-report": "cargo build -p supercov && node scripts/html-report-integration.mjs",
|
|
68
68
|
"test:engine-contract": "cargo build -p supercov && node scripts/engine-contract.mjs",
|
|
69
69
|
"test:agent": "cargo build -p supercov && node scripts/agent-query-eval.mjs",
|
|
70
|
+
"test:agent-commands": "cargo build -p supercov && node scripts/check-agent-commands.mjs",
|
|
71
|
+
"eval:skill": "claude plugin eval plugins/supercov --scaffold --trust-plugin --no-publish --model claude-sonnet-5 --judge-model claude-haiku-4-5 --threshold 0.66 --tag behavior trigger --allow-tools Bash Edit Write --max-cost-usd 15",
|
|
72
|
+
"eval:skill-triggers": "claude plugin eval plugins/supercov --scaffold --trust-plugin --no-publish --model claude-sonnet-5 --judge-model claude-haiku-4-5 --threshold 0.66 --tag trigger --ablation none --max-cost-usd 5",
|
|
70
73
|
"test:engine": "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings && cargo test --workspace && npm run test:runtime && npm run test:rust-assets && npm run test:engine-integrations",
|
|
71
74
|
"test:engine-integrations": "cargo build -p supercov && node scripts/html-report-integration.mjs && node scripts/rust-process-supervision.mjs && node scripts/rust-direct-node-integration.mjs && node scripts/rust-public-run-integration.mjs && node scripts/rust-embedded-runtime-integration.mjs && node scripts/rust-direct-vitest-integration.mjs && node scripts/rust-direct-jest-integration.mjs && node scripts/rust-direct-playwright-integration.mjs && node scripts/rust-custom-browser-playwright-integration.mjs && node scripts/rust-generic-esbuild-integration.mjs && node scripts/rust-generic-tsc-integration.mjs && node scripts/rust-generic-build-matrix.mjs && node scripts/rust-vite-playwright-integration.mjs",
|
|
72
75
|
"test:platform": "cargo test --workspace && cargo build -p supercov && node scripts/rust-process-supervision.mjs && node scripts/workspace-crash-integration.mjs",
|
|
@@ -81,7 +84,7 @@
|
|
|
81
84
|
"test:test262": "cargo build --release -p supercov && node scripts/test262-equivalence.mjs",
|
|
82
85
|
"benchmark:check": "cargo build --release -p supercov && node scripts/rust-transform-benchmark.mjs",
|
|
83
86
|
"benchmark:python": "cargo build -p supercov && node scripts/python-benchmark.mjs",
|
|
84
|
-
"check": "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings && npm run test && npm run test:release-tooling && npm run test:runtime && npm run test:rust-assets && npm run test:assertion-maps && npm run test:sweep-target && npm run test:skip-guard && npm run test:windows-tls && node scripts/package-preflight.mjs && node scripts/verify-binstall-metadata.mjs --offline",
|
|
87
|
+
"check": "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings && npm run test && npm run test:release-tooling && npm run test:runtime && npm run test:rust-assets && npm run test:agent-commands && npm run test:assertion-maps && npm run test:sweep-target && npm run test:skip-guard && npm run test:windows-tls && node scripts/package-preflight.mjs && node scripts/verify-binstall-metadata.mjs --offline",
|
|
85
88
|
"release:check": "cargo clean && node scripts/sweep-target.mjs && npm run check && npm run test:engine && npm run test:go && npm run test:jvm && npm run test:launcher && npm run test:fixture && npm run test:watchdog && npm run test:engine-contract && npm run test:agent && npm run test:child-attribution && npm run test:host-loader && npm run test:python && npm run test:ruby-coverage && npm run test:rust-public-cargo && npm run test:packed-npx && npm run test:clang-mcdc && npm run benchmark:check",
|
|
86
89
|
"release:bump": "node scripts/bump-version.mjs",
|
|
87
90
|
"sweep": "node scripts/sweep-target.mjs",
|
|
@@ -107,14 +110,14 @@
|
|
|
107
110
|
"test:windows-tls": "node scripts/windows-tls-test.mjs"
|
|
108
111
|
},
|
|
109
112
|
"optionalDependencies": {
|
|
110
|
-
"@supercov/cli-darwin-arm64": "2.0.
|
|
111
|
-
"@supercov/cli-darwin-x64": "2.0.
|
|
112
|
-
"@supercov/cli-linux-arm64-gnu": "2.0.
|
|
113
|
-
"@supercov/cli-linux-arm64-musl": "2.0.
|
|
114
|
-
"@supercov/cli-linux-x64-gnu": "2.0.
|
|
115
|
-
"@supercov/cli-linux-x64-musl": "2.0.
|
|
116
|
-
"@supercov/cli-win32-arm64": "2.0.
|
|
117
|
-
"@supercov/cli-win32-x64": "2.0.
|
|
113
|
+
"@supercov/cli-darwin-arm64": "2.0.1",
|
|
114
|
+
"@supercov/cli-darwin-x64": "2.0.1",
|
|
115
|
+
"@supercov/cli-linux-arm64-gnu": "2.0.1",
|
|
116
|
+
"@supercov/cli-linux-arm64-musl": "2.0.1",
|
|
117
|
+
"@supercov/cli-linux-x64-gnu": "2.0.1",
|
|
118
|
+
"@supercov/cli-linux-x64-musl": "2.0.1",
|
|
119
|
+
"@supercov/cli-win32-arm64": "2.0.1",
|
|
120
|
+
"@supercov/cli-win32-x64": "2.0.1"
|
|
118
121
|
},
|
|
119
122
|
"peerDependencies": {
|
|
120
123
|
"@playwright/test": ">=1.55.0",
|