supercov 1.0.0 → 1.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 CHANGED
@@ -4,7 +4,13 @@
4
4
 
5
5
  **Supercov tells your coding agent what to fix and what to test.** It scores your code quality with [Jev](https://typesafe.ai), runs the test command you already use, and turns uncovered paths into small, actionable queries. Your agent picks a target, writes a focused test or a focused refactor, proves what improved, and keeps going.
6
6
 
7
- Coverage needs no account, config file, import, custom reporter, or hosted service. Supercov is local, free, open source, and MIT licensed. Quality uses [Jev](https://typesafe.ai) and needs a key.
7
+ Paste this to your coding agent to start:
8
+
9
+ ```text supercov-prompt
10
+ Measure code quality with npx supercov and show me the weakest files.
11
+ ```
12
+
13
+ Scoring needs a [TypeSafe AI](https://typesafe.ai) API key, and your coding agent will usually ask you for it. It costs about a cent per megabyte of source. Coverage needs no account, config file, import, custom reporter, or hosted service. Supercov is local, free, open source, and MIT licensed.
8
14
 
9
15
  [Website](https://supercov.com) · [Documentation](https://supercov.com/docs) · [npm](https://www.npmjs.com/package/supercov) · [GitHub](https://github.com/supercorp-ai/supercov)
10
16
 
package/docs/cli.md CHANGED
@@ -55,7 +55,7 @@ the exact requests and contacts nothing.
55
55
  `quality diff` reports what declined between two assessments: which files lost
56
56
  health, which properties appeared, and which files entered or left the scope.
57
57
 
58
- Assessing needs a TypeSafe API key in `TYPESAFE_API_KEY`; reading a saved
58
+ Assessing needs a TypeSafe AI API key in `TYPESAFE_API_KEY`; reading a saved
59
59
  assessment does not. The command prints a cost estimate before sending anything
60
60
  and caches answers by content, so a second run pays only for what changed.
61
61
 
@@ -15,9 +15,8 @@ tests; you don't need to do those steps yourself.
15
15
  To score the code itself rather than its tests, set a [Jev](https://typesafe.ai)
16
16
  key and ask:
17
17
 
18
- ```sh supercov-example
19
- export TYPESAFE_API_KEY=...
20
- npx supercov quality
18
+ ```text supercov-prompt
19
+ Measure code quality with npx supercov and show me the weakest files.
21
20
  ```
22
21
 
23
22
  See [Understanding quality](https://supercov.com/docs/quality).
package/docs/quality.md CHANGED
@@ -9,8 +9,10 @@ arithmetic, so every part of a score is a claim you can check against the file.
9
9
 
10
10
  ## Set your key
11
11
 
12
- Assessing needs a TypeSafe API key, read from `TYPESAFE_API_KEY`. Get one at
13
- [typesafe.ai](https://typesafe.ai).
12
+ Assessing needs a TypeSafe AI API key, and your coding agent will usually ask
13
+ you for it. Get one at [typesafe.ai](https://typesafe.ai).
14
+
15
+ Supercov looks for it in `TYPESAFE_API_KEY`:
14
16
 
15
17
  ```bash
16
18
  export TYPESAFE_API_KEY=... # for this shell
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supercov",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Code quality and coverage for coding agents",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -99,14 +99,14 @@
99
99
  "test:launcher": "go vet ./cmd/... && go test ./cmd/..."
100
100
  },
101
101
  "optionalDependencies": {
102
- "@supercov/cli-darwin-arm64": "1.0.0",
103
- "@supercov/cli-darwin-x64": "1.0.0",
104
- "@supercov/cli-linux-arm64-gnu": "1.0.0",
105
- "@supercov/cli-linux-arm64-musl": "1.0.0",
106
- "@supercov/cli-linux-x64-gnu": "1.0.0",
107
- "@supercov/cli-linux-x64-musl": "1.0.0",
108
- "@supercov/cli-win32-arm64": "1.0.0",
109
- "@supercov/cli-win32-x64": "1.0.0"
102
+ "@supercov/cli-darwin-arm64": "1.0.1",
103
+ "@supercov/cli-darwin-x64": "1.0.1",
104
+ "@supercov/cli-linux-arm64-gnu": "1.0.1",
105
+ "@supercov/cli-linux-arm64-musl": "1.0.1",
106
+ "@supercov/cli-linux-x64-gnu": "1.0.1",
107
+ "@supercov/cli-linux-x64-musl": "1.0.1",
108
+ "@supercov/cli-win32-arm64": "1.0.1",
109
+ "@supercov/cli-win32-x64": "1.0.1"
110
110
  },
111
111
  "peerDependencies": {
112
112
  "@playwright/test": ">=1.55.0",